Skip to content

Commit

Permalink
Updated generated classes on Fri Jan 1 00:45:04 UTC 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 1, 2021
1 parent 2856cb6 commit 7c86d42
Show file tree
Hide file tree
Showing 12 changed files with 218 additions and 66 deletions.
5 changes: 0 additions & 5 deletions datatypes/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -2088,11 +2088,6 @@ type Account_Link_OpenStack_ProjectDetails struct {
ProjectName *string `json:"projectName,omitempty" xmlrpc:"projectName,omitempty"`
}

// no documentation yet
type Account_Link_ThePlanet struct {
Account_Link
}

// no documentation yet
type Account_Link_Vendor struct {
Entity
Expand Down
11 changes: 0 additions & 11 deletions datatypes/billing.go
Original file line number Diff line number Diff line change
Expand Up @@ -1338,17 +1338,6 @@ type Billing_Item_Hardware_Server struct {
Billing_Item_Hardware
}

// no documentation yet
type Billing_Item_Link_ThePlanet struct {
Entity

// no documentation yet
BillingItem *Billing_Item `json:"billingItem,omitempty" xmlrpc:"billingItem,omitempty"`

// no documentation yet
ServiceProvider *Service_Provider `json:"serviceProvider,omitempty" xmlrpc:"serviceProvider,omitempty"`
}

// The SoftLayer_Billing_Item_Network_Application_Delivery_Controller data type describes the billing item related to a NetScaler VPX
type Billing_Item_Network_Application_Delivery_Controller struct {
Billing_Item
Expand Down
21 changes: 21 additions & 0 deletions datatypes/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -1846,6 +1846,17 @@ type Container_Hardware_Configuration_Option struct {
Template *Hardware `json:"template,omitempty" xmlrpc:"template,omitempty"`
}

// no documentation yet
type Container_Hardware_DiskImageDeployMap struct {
Entity

// no documentation yet
SourceSerialNumber *string `json:"sourceSerialNumber,omitempty" xmlrpc:"sourceSerialNumber,omitempty"`

// no documentation yet
TargetSerialNumber *string `json:"targetSerialNumber,omitempty" xmlrpc:"targetSerialNumber,omitempty"`
}

// no documentation yet
type Container_Hardware_MassUpdate struct {
Entity
Expand Down Expand Up @@ -3938,6 +3949,16 @@ type Container_Product_Order_Billing_Information struct {
// If true, order is being placed by a business.
IsBusinessFlag *bool `json:"isBusinessFlag,omitempty" xmlrpc:"isBusinessFlag,omitempty"`

// The purpose of this property is to allow enablement of 3D Secure (3DS). This is the Reference ID that corresponds to the device data for Payer Authentication. In order to properly enable 3DS, this will require implementation of Cardinal Cruise Hybrid.
//
// Please refer to https://cardinaldocs.atlassian.net/wiki/spaces/CC/pages/360668/Cardinal+Cruise+Hybrid and view section under "DFReferenceId / ReferenceId" to populate this property accordingly.
PayerAuthenticationEnrollmentReferenceId *string `json:"payerAuthenticationEnrollmentReferenceId,omitempty" xmlrpc:"payerAuthenticationEnrollmentReferenceId,omitempty"`

// "Continue with Consumer Authentication" decoded response JWT (JSON Web Token) after successful authentication. The response is part of the implementation of Cardinal Cruise Hybrid.
//
// Please refer to https://cardinaldocs.atlassian.net/wiki/spaces/CC/pages/360668/Cardinal+Cruise+Hybrid and view section under "Continue with Consumer Authentication" to populate this property accordingly based on the CCA response.
PayerAuthenticationWebToken *string `json:"payerAuthenticationWebToken,omitempty" xmlrpc:"payerAuthenticationWebToken,omitempty"`

// Tax exempt status. 1 = exempt (not taxable), 0 = not exempt (taxable)
TaxExempt *int `json:"taxExempt,omitempty" xmlrpc:"taxExempt,omitempty"`

Expand Down
11 changes: 0 additions & 11 deletions datatypes/product.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,17 +540,6 @@ type Product_Item_Category_Question_Xref struct {
Required *bool `json:"required,omitempty" xmlrpc:"required,omitempty"`
}

// no documentation yet
type Product_Item_Link_ThePlanet struct {
Entity

// no documentation yet
Item *Product_Item `json:"item,omitempty" xmlrpc:"item,omitempty"`

// no documentation yet
ServiceProvider *Service_Provider `json:"serviceProvider,omitempty" xmlrpc:"serviceProvider,omitempty"`
}

// no documentation yet
type Product_Item_Overage_Price struct {
Entity
Expand Down
3 changes: 3 additions & 0 deletions datatypes/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ type Ticket struct {
// The first update made to a ticket. This is typically the contents of a ticket when it's created.
FirstUpdate *Ticket_Update `json:"firstUpdate,omitempty" xmlrpc:"firstUpdate,omitempty"`

// A ticket's associated FSBOA compliant record
FsboaSupportedFlag *bool `json:"fsboaSupportedFlag,omitempty" xmlrpc:"fsboaSupportedFlag,omitempty"`

// The SoftLayer department that a ticket is assigned to.
Group *Ticket_Group `json:"group,omitempty" xmlrpc:"group,omitempty"`

Expand Down
27 changes: 16 additions & 11 deletions datatypes/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,11 +725,6 @@ type User_Customer_Link struct {
UserId *int `json:"userId,omitempty" xmlrpc:"userId,omitempty"`
}

// no documentation yet
type User_Customer_Link_ThePlanet struct {
User_Customer_Link
}

// no documentation yet
type User_Customer_Link_VerifiedIamIdLinkCollection struct {
Entity
Expand Down Expand Up @@ -1264,7 +1259,9 @@ type User_Interface struct {
Entity
}

// no documentation yet
// The SoftLayer_User_Permission_Action data type contains local attributes to identify and describe the valid actions a customer user can perform within IMS. This includes a name, key name, and description. This data can not be modified by users of IMS.
//
// It also contains relational attributes that indicate which SoftLayer_User_Permission_Group's include the action.
type User_Permission_Action struct {
Entity

Expand All @@ -1290,7 +1287,9 @@ type User_Permission_Action struct {
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
}

// no documentation yet
// The SoftLayer_User_Permission_Group data type contains local attributes to identify and describe the permission groups that have been created within IMS. These includes a name, description, and account id. Permission groups are defined specifically for a single [[SoftLayer_Account]].
//
// It also contains relational attributes that indicate what SoftLayer_User_Permission_Action objects belong to a particular group, and what SoftLayer_User_Permission_Role objects the group is linked.
type User_Permission_Group struct {
Entity

Expand All @@ -1312,7 +1311,7 @@ type User_Permission_Group struct {
// The description of the permission group.
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`

// The date the temporary group will be destroyed.
// The date the group will be destroyed.
ExpirationDate *Time `json:"expirationDate,omitempty" xmlrpc:"expirationDate,omitempty"`

// A permission groups internal identifying number.
Expand All @@ -1337,7 +1336,11 @@ type User_Permission_Group struct {
TypeId *int `json:"typeId,omitempty" xmlrpc:"typeId,omitempty"`
}

// no documentation yet
// The SoftLayer_User_Permission_Group_Type class is one of several classes that make up the customer permission system. This class defines the valid group types. The SYSTEM group type is reserved for internal use.
//
// It is a role-based system that includes defined actions which can be "grouped" together using a SoftLayer_User_Permission_Group class. These groups of actions are then used to define roles, and the roles are assigned to users.
//
// When a [[SoftLayer_User_Customer]] is created, a SoftLayer_User_Permission_Group and SoftLayer_User_Permission_Role is created specifically for the user with a group type of SYSTEM. When the UI is used to alter the permissions of a customer user, the actions are added or removed from this group. The api can not be used to alter the permissions in this group. If an account wants to create their own unique permission groups and roles, the UI can not be used to manage them.
type User_Permission_Group_Type struct {
Entity

Expand All @@ -1357,14 +1360,16 @@ type User_Permission_Group_Type struct {
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
}

// no documentation yet
// The SoftLayer_User_Permission_Role data type contains local attributes to identify and describe the permission roles that have been created within IMS. These includes a name, description, and account id. Permission groups are defined specifically for a single [[SoftLayer_Account]].
//
// It also contains relational attributes that indicate what SoftLayer_User_Permission_Group objects are linked to a particular role, and the SoftLayer_User_Customer objects assigned to the role.
type User_Permission_Role struct {
Entity

// no documentation yet
Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"`

// A permission roles associated [[SoftLayer_Account|customer account]] id.
// Id of a [[SoftLayer_Account]] to which this role belongs.
AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"`

// A count of
Expand Down
102 changes: 101 additions & 1 deletion datatypes/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ type Workload_Citrix_Workspace_Order_Container struct {
// The active directory safe mode password
ActiveDirectorySafeModePassword *string `json:"activeDirectorySafeModePassword,omitempty" xmlrpc:"activeDirectorySafeModePassword,omitempty"`

// The active directory topology
ActiveDirectoryTopology *string `json:"activeDirectoryTopology,omitempty" xmlrpc:"activeDirectoryTopology,omitempty"`

// The Citrix API Client Id
CitrixAPIClientId *string `json:"citrixAPIClientId,omitempty" xmlrpc:"citrixAPIClientId,omitempty"`

Expand All @@ -105,8 +108,83 @@ type Workload_Citrix_Workspace_Order_Container struct {
// The specific [[SoftLayer_Location_Datacenter]] id where the order should be provisioned.
Location *string `json:"location,omitempty" xmlrpc:"location,omitempty"`

// There should be one child orderContainer for each component ordered. The containerIdentifier should be set on each and have these exact values: proxy server bare metal server with hypervisor dhcp server citrix connector servers active directory server vlan subnet storage
// There should be one child orderContainer for each component ordered. The containerIdentifier should be set on each and have these exact values: proxy server, bare metal server with hypervisor, dhcp server, citrix connector servers, active directory server, vlan, subnet, storage
OrderContainers []Container_Product_Order `json:"orderContainers,omitempty" xmlrpc:"orderContainers,omitempty"`

// Set this value to order IBM Cloud for VMware Solutions servers as part of your Citrix Virtual Apps and Desktops order
VmwareContainer *Workload_Citrix_Workspace_Order_VMwareContainer `json:"vmwareContainer,omitempty" xmlrpc:"vmwareContainer,omitempty"`
}

// This is the datatype that can be populated by the customer to provide license key information for VMware orders.
type Workload_Citrix_Workspace_Order_LicenseKey struct {
Entity

// The license key
Key *string `json:"key,omitempty" xmlrpc:"key,omitempty"`

// The name of the product (e.g. vcenter, nsx, vsphere, vsan)
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`

// The license type
Type *string `json:"type,omitempty" xmlrpc:"type,omitempty"`
}

// This is the datatype that can be populated by the customer to provide NFS shared storage information for VMware orders.
type Workload_Citrix_Workspace_Order_SharedStorage struct {
Entity

// Which storage tier: e.g. READHEAVY_TIER
Iops *string `json:"iops,omitempty" xmlrpc:"iops,omitempty"`

// The number of shared storages to order
Quantity *int `json:"quantity,omitempty" xmlrpc:"quantity,omitempty"`

// The size of the storage (e.g. STORAGE_SPACE_FOR_2_IOPS_PER_GB)
Size *string `json:"size,omitempty" xmlrpc:"size,omitempty"`

// The volume
Volume *int `json:"volume,omitempty" xmlrpc:"volume,omitempty"`
}

// This is the datatype that needs to be populated and sent to SoftLayer_Workload_Citrix_Workspace_Order::placeWorkspaceOrder to order and provision one or more VMware server instances to be used with Citrix Virtual Apps and Desktops.
type Workload_Citrix_Workspace_Order_VMwareContainer struct {
Entity

// The bare metal disks
Disks []string `json:"disks,omitempty" xmlrpc:"disks,omitempty"`

// The domain for the ordered hosts (e.g. example.org)
Domain *string `json:"domain,omitempty" xmlrpc:"domain,omitempty"`

// Customer provided license keys (optional)
LicenseKeys []Workload_Citrix_Workspace_Order_LicenseKey `json:"licenseKeys,omitempty" xmlrpc:"licenseKeys,omitempty"`

// The datacenter location
Location *string `json:"location,omitempty" xmlrpc:"location,omitempty"`

// The name associated with the order
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`

// The nickname for the vSRX service
Nickname *string `json:"nickname,omitempty" xmlrpc:"nickname,omitempty"`

// The number of instances to order
Quantity *int `json:"quantity,omitempty" xmlrpc:"quantity,omitempty"`

// The bare metal ram type
Ram *string `json:"ram,omitempty" xmlrpc:"ram,omitempty"`

// The bare metal server type
Server *string `json:"server,omitempty" xmlrpc:"server,omitempty"`

// The bare metal shared nfs storage (optional)
SharedStorage []Workload_Citrix_Workspace_Order_SharedStorage `json:"sharedStorage,omitempty" xmlrpc:"sharedStorage,omitempty"`

// The subdomain for the ordered hosts (e.g. corp)
Subdomain *string `json:"subdomain,omitempty" xmlrpc:"subdomain,omitempty"`

// The bare metal vsan cache disks (optional)
VsanCacheDisks []string `json:"vsanCacheDisks,omitempty" xmlrpc:"vsanCacheDisks,omitempty"`
}

// no documentation yet
Expand All @@ -122,3 +200,25 @@ type Workload_Citrix_Workspace_Response struct {
// status message
StatusMessage *string `json:"statusMessage,omitempty" xmlrpc:"statusMessage,omitempty"`
}

// no documentation yet
type Workload_Citrix_Workspace_Response_Item struct {
Workload_Citrix_Workspace_Response

// the id of the resource (HARDWARE, GUEST, VLAN, SUBNET, VMWARE)
Id *string `json:"id,omitempty" xmlrpc:"id,omitempty"`

// the name associated with the resource (e.g. name, hostname)
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`

// the type of resource (HARDWARE, GUEST, NETWORK_VLAN, SUBNET)
TypeName *string `json:"typeName,omitempty" xmlrpc:"typeName,omitempty"`
}

// no documentation yet
type Workload_Citrix_Workspace_Response_Result struct {
Workload_Citrix_Workspace_Response

// identification and operation result for each item
Items []Workload_Citrix_Workspace_Response `json:"items,omitempty" xmlrpc:"items,omitempty"`
}
6 changes: 6 additions & 0 deletions services/locale.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ func (r Locale_Country) GetObject() (resp datatypes.Locale_Country, err error) {
return
}

// This method will return an array of country codes that require postal code
func (r Locale_Country) GetPostalCodeRequiredCountryCodes() (resp []string, err error) {
err = r.Session.DoRequest("SoftLayer_Locale_Country", "getPostalCodeRequiredCountryCodes", nil, &r.Options, &resp)
return
}

// Retrieve States that belong to this country.
func (r Locale_Country) GetStates() (resp []datatypes.Locale_StateProvince, err error) {
err = r.Session.DoRequest("SoftLayer_Locale_Country", "getStates", nil, &r.Options, &resp)
Expand Down
6 changes: 4 additions & 2 deletions services/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -13757,9 +13757,11 @@ func (r Network_Subnet) CreateReverseDomainRecords() (resp datatypes.Dns_Domain_
return
}

// This function is used to create a new transaction to modify a subnet route. Routes are updated in one to two minutes depending on the number of transactions that are pending for a router.
//
// Usage of this function is restricted and may only be called from authorized accounts. It is not available for general API users without justification and consent from a SoftLayer representative.
// ***DEPRECATED***
// This endpoint is deprecated in favor of the more expressive and capable SoftLayer_Network_Subnet::route, to which this endpoint now proxies. Refer to it for more information.
//
// Similarly, unroute requests are proxied to SoftLayer_Network_Subnet::clearRoute.
func (r Network_Subnet) CreateSubnetRouteUpdateTransaction(newEndPointIpAddress *string) (resp bool, err error) {
params := []interface{}{
newEndPointIpAddress,
Expand Down
6 changes: 6 additions & 0 deletions services/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,12 @@ func (r Ticket) GetFirstUpdate() (resp datatypes.Ticket_Update, err error) {
return
}

// Retrieve A ticket's associated FSBOA compliant record
func (r Ticket) GetFsboaSupportedFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getFsboaSupportedFlag", nil, &r.Options, &resp)
return
}

// Retrieve The SoftLayer department that a ticket is assigned to.
func (r Ticket) GetGroup() (resp datatypes.Ticket_Group, err error) {
err = r.Session.DoRequest("SoftLayer_Ticket", "getGroup", nil, &r.Options, &resp)
Expand Down
Loading

0 comments on commit 7c86d42

Please sign in to comment.