Skip to content

Commit

Permalink
Merge pull request #175 from softlayer/v1_1_0
Browse files Browse the repository at this point in the history
v1.1.0  and support for SL_USERAGENT
  • Loading branch information
allmightyspiff authored Jan 4, 2023
2 parents 50603c0 + 4b65769 commit 8b90dd7
Show file tree
Hide file tree
Showing 36 changed files with 2,192 additions and 2,261 deletions.
1 change: 1 addition & 0 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- name: Generate SoftLayer classes
run: |
make generate
make fmt
- name: Commit files
run: |
git config --local user.email "[email protected]"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.17.x]
go-version: [1.19.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
if: success()
uses: actions/setup-go@v1
with:
go-version: 1.17.x
go-version: 1.19.x
- name: Checkout code
uses: actions/checkout@v1
- name: Calc coverage
Expand All @@ -57,10 +57,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.17
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.17
go-version: 1.19
id: go

- name: Check out code into the Go module directory
Expand Down
5 changes: 0 additions & 5 deletions datatypes/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -2566,11 +2566,6 @@ type Account_ProofOfConcept_Funding_Type struct {
KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"`
}

//
//
//
//
//
type Account_Regional_Registry_Detail struct {
Entity

Expand Down
3 changes: 0 additions & 3 deletions datatypes/billing.go
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,6 @@ type Billing_Item_Network_Storage_Hub_Bandwidth struct {
// * sov_sec_ip_addresses_priv (sov_sec_ip_addresses private only)
// * sec_ip_addresses (old style, secondary ip addresses)
//
//
// These item categories denote that the billing item has subnet information attached.
type Billing_Item_Network_Subnet struct {
Billing_Item
Expand All @@ -1573,7 +1572,6 @@ type Billing_Item_Network_Subnet struct {
// * global_ipv4
// * global_ipv6
//
//
// These item categories denote that the billing item has subnet information attached.
type Billing_Item_Network_Subnet_IpAddress_Global struct {
Billing_Item_Network_Subnet
Expand All @@ -1590,7 +1588,6 @@ type Billing_Item_Network_Tunnel struct {
// The SoftLayer_Billing_Item_Network_Vlan data type contains general information relating to a single SoftLayer billing item whose item category code is one of the following:
// * network_vlan
//
//
// These item categories denote that the billing item has network vlan information attached.
type Billing_Item_Network_Vlan struct {
Billing_Item
Expand Down
4 changes: 0 additions & 4 deletions datatypes/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@ type Configuration_Template_Section_Attribute struct {
// Configuration definition gives you details of the value that you're setting.
//
// If value type is defined as "Resource Specific Values", you will have to make an additional API call to retrieve your system specific values.
//
//
type Configuration_Template_Section_Definition struct {
Entity

Expand Down Expand Up @@ -445,8 +443,6 @@ type Configuration_Template_Section_Definition_Attribute_Type struct {
}

// Configuration definition group gives you details of the definition and allows extra functionality.
//
//
type Configuration_Template_Section_Definition_Group struct {
Entity

Expand Down
6 changes: 2 additions & 4 deletions datatypes/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -3198,8 +3198,6 @@ type Container_Network_Storage_DuplicateConversionStatusInformation struct {
// SoftLayer's StorageLayer Evault services provides details regarding the the purchased vault.
//
// When a job is created using the Webcc Console, the job created is identified as a task on the vault. Using this service, information regarding the task can be retrieved.
//
//
type Container_Network_Storage_Evault_Vault_Task struct {
Entity

Expand Down Expand Up @@ -4550,9 +4548,9 @@ type Container_Product_Order_Network_Storage_MassDataMigration_Request struct {
State *string `json:"state,omitempty" xmlrpc:"state,omitempty"`
}

// The SoftLayer_Container_Product_Order_Network_Storage_Modification datatype has everything required to place a modification to an existing StorageLayer account with SoftLayer. Modifications, at present time, include upgrade and downgrades only. The ''volumeId'' property must be set to the network storage volume id to be upgraded. Once populated send this container to the [[SoftLayer_Product_Order::placeOrder]] method.
// The SoftLayer_Container_Product_Order_Network_Storage_Modification datatype has everything required to place a modification to an existing StorageLayer account with SoftLayer. Modifications, at present time, include upgrade and downgrades only. The volumeId property must be set to the network storage volume id to be upgraded. Once populated send this container to the [[SoftLayer_Product_Order::placeOrder]] method.
//
// The ''packageId'' property passed in for CloudLayer storage accounts must be set to 0 (zero) and the ''quantity'' property must be set to 1. The location does not have to be set. Please use the [[SoftLayer_Product_Package]] service to retrieve a list of CloudLayer items.
// The packageId property passed in for CloudLayer storage accounts must be set to 0 (zero) and the quantity property must be set to 1. The location does not have to be set. Please use the [[SoftLayer_Product_Package]] service to retrieve a list of CloudLayer items.
//
// NOTE: When upgrading CloudLayer storage service from a metered plan (pay as you go) to a non-metered plan, make sure the chosen plan's storage allotment has enough space to cover the current usage. If the chosen plan's usage allotment is less than the CloudLayer storage's usage the order will be rejected.
type Container_Product_Order_Network_Storage_Modification struct {
Expand Down
Loading

0 comments on commit 8b90dd7

Please sign in to comment.