Skip to content

Commit 8b90dd7

Browse files
Merge pull request #175 from softlayer/v1_1_0
v1.1.0 and support for SL_USERAGENT
2 parents 50603c0 + 4b65769 commit 8b90dd7

36 files changed

+2192
-2261
lines changed

.github/workflows/generator.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- name: Generate SoftLayer classes
1616
run: |
1717
make generate
18+
make fmt
1819
- name: Commit files
1920
run: |
2021
git config --local user.email "[email protected]"

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
go-version: [1.13.x, 1.14.x, 1.17.x]
13+
go-version: [1.19.x]
1414
platform: [ubuntu-latest]
1515
runs-on: ${{ matrix.platform }}
1616
steps:
@@ -31,7 +31,7 @@ jobs:
3131
if: success()
3232
uses: actions/setup-go@v1
3333
with:
34-
go-version: 1.17.x
34+
go-version: 1.19.x
3535
- name: Checkout code
3636
uses: actions/checkout@v1
3737
- name: Calc coverage
@@ -57,10 +57,10 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959

60-
- name: Set up Go 1.17
60+
- name: Set up Go 1.19
6161
uses: actions/setup-go@v1
6262
with:
63-
go-version: 1.17
63+
go-version: 1.19
6464
id: go
6565

6666
- name: Check out code into the Go module directory

datatypes/account.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2566,11 +2566,6 @@ type Account_ProofOfConcept_Funding_Type struct {
25662566
KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"`
25672567
}
25682568

2569-
//
2570-
//
2571-
//
2572-
//
2573-
//
25742569
type Account_Regional_Registry_Detail struct {
25752570
Entity
25762571

datatypes/billing.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,6 @@ type Billing_Item_Network_Storage_Hub_Bandwidth struct {
15541554
// * sov_sec_ip_addresses_priv (sov_sec_ip_addresses private only)
15551555
// * sec_ip_addresses (old style, secondary ip addresses)
15561556
//
1557-
//
15581557
// These item categories denote that the billing item has subnet information attached.
15591558
type Billing_Item_Network_Subnet struct {
15601559
Billing_Item
@@ -1573,7 +1572,6 @@ type Billing_Item_Network_Subnet struct {
15731572
// * global_ipv4
15741573
// * global_ipv6
15751574
//
1576-
//
15771575
// These item categories denote that the billing item has subnet information attached.
15781576
type Billing_Item_Network_Subnet_IpAddress_Global struct {
15791577
Billing_Item_Network_Subnet
@@ -1590,7 +1588,6 @@ type Billing_Item_Network_Tunnel struct {
15901588
// 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:
15911589
// * network_vlan
15921590
//
1593-
//
15941591
// These item categories denote that the billing item has network vlan information attached.
15951592
type Billing_Item_Network_Vlan struct {
15961593
Billing_Item

datatypes/configuration.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,6 @@ type Configuration_Template_Section_Attribute struct {
347347
// Configuration definition gives you details of the value that you're setting.
348348
//
349349
// If value type is defined as "Resource Specific Values", you will have to make an additional API call to retrieve your system specific values.
350-
//
351-
//
352350
type Configuration_Template_Section_Definition struct {
353351
Entity
354352

@@ -445,8 +443,6 @@ type Configuration_Template_Section_Definition_Attribute_Type struct {
445443
}
446444

447445
// Configuration definition group gives you details of the definition and allows extra functionality.
448-
//
449-
//
450446
type Configuration_Template_Section_Definition_Group struct {
451447
Entity
452448

datatypes/container.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3198,8 +3198,6 @@ type Container_Network_Storage_DuplicateConversionStatusInformation struct {
31983198
// SoftLayer's StorageLayer Evault services provides details regarding the the purchased vault.
31993199
//
32003200
// 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.
3201-
//
3202-
//
32033201
type Container_Network_Storage_Evault_Vault_Task struct {
32043202
Entity
32053203

@@ -4550,9 +4548,9 @@ type Container_Product_Order_Network_Storage_MassDataMigration_Request struct {
45504548
State *string `json:"state,omitempty" xmlrpc:"state,omitempty"`
45514549
}
45524550

4553-
// 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.
4551+
// 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.
45544552
//
4555-
// 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.
4553+
// 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.
45564554
//
45574555
// 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.
45584556
type Container_Product_Order_Network_Storage_Modification struct {

0 commit comments

Comments
 (0)