Skip to content

Commit

Permalink
Updated generated classes on Tue Dec 1 00:29:28 UTC 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 1, 2020
1 parent b7257b3 commit 2856cb6
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 114 deletions.
49 changes: 30 additions & 19 deletions datatypes/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,34 @@ type Container_Hardware_Server_Request struct {
SuccessFlag *bool `json:"successFlag,omitempty" xmlrpc:"successFlag,omitempty"`
}

// no documentation yet
type Container_Image_StorageGroupDetails struct {
Entity

// no documentation yet
Drives []Container_Image_StorageGroupDetails_Drives `json:"drives,omitempty" xmlrpc:"drives,omitempty"`

// no documentation yet
StorageGroupName *string `json:"storageGroupName,omitempty" xmlrpc:"storageGroupName,omitempty"`

// no documentation yet
StorageGroupType *string `json:"storageGroupType,omitempty" xmlrpc:"storageGroupType,omitempty"`
}

// no documentation yet
type Container_Image_StorageGroupDetails_Drives struct {
Entity

// no documentation yet
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`

// no documentation yet
DiskSpace *string `json:"diskSpace,omitempty" xmlrpc:"diskSpace,omitempty"`

// no documentation yet
Units *string `json:"units,omitempty" xmlrpc:"units,omitempty"`
}

// SoftLayer_Container_KnowledgeLayer_QuestionAnswer models a single question and answer pair from SoftLayer's KnowledgeLayer knowledge base. SoftLayer's backend network interfaces with the KnowledgeLayer to recommend helpful articles when support tickets are created.
type Container_KnowledgeLayer_QuestionAnswer struct {
Entity
Expand Down Expand Up @@ -2125,7 +2153,7 @@ type Container_Monitoring_Alarm_History struct {
// Account ID that this alarm belongs to
AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"`

// ID of the monitoring agent that triggered this alarm
// DEPRECATED. ID of the monitoring agent that triggered this alarm
AgentId *int `json:"agentId,omitempty" xmlrpc:"agentId,omitempty"`

// Alarm ID
Expand All @@ -2140,30 +2168,13 @@ type Container_Monitoring_Alarm_History struct {
// Alarm message
Message *string `json:"message,omitempty" xmlrpc:"message,omitempty"`

// Robot ID
// DEPRECATED. Robot ID
RobotId *int `json:"robotId,omitempty" xmlrpc:"robotId,omitempty"`

// Severity of an alarm
Severity *string `json:"severity,omitempty" xmlrpc:"severity,omitempty"`
}

// SoftLayer_Container_Monitoring_Graph_Outputs models a single outbound object for a graph of given data sets.
type Container_Monitoring_Graph_Outputs struct {
Entity

// The maximum date included in this graph.
EndDate *Time `json:"endDate,omitempty" xmlrpc:"endDate,omitempty"`

// Error message encountered during graphing
GraphError *string `json:"graphError,omitempty" xmlrpc:"graphError,omitempty"`

// The raw PNG binary data to be displayed once the graph is drawn.
GraphImage *[]byte `json:"graphImage,omitempty" xmlrpc:"graphImage,omitempty"`

// The minimum date included in this graph.
StartDate *Time `json:"startDate,omitempty" xmlrpc:"startDate,omitempty"`
}

// This object holds authentication data to a server.
type Container_Network_Authentication_Data struct {
Entity
Expand Down
4 changes: 2 additions & 2 deletions datatypes/hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,13 @@ type Hardware struct {
// no documentation yet
Modules []Hardware_Component `json:"modules,omitempty" xmlrpc:"modules,omitempty"`

// Information regarding the hardware's monitoring robot.
// no documentation yet
MonitoringRobot *Monitoring_Robot `json:"monitoringRobot,omitempty" xmlrpc:"monitoringRobot,omitempty"`

// Information regarding a piece of hardware's network monitoring services.
MonitoringServiceComponent *Network_Monitor_Version1_Query_Host_Stratum `json:"monitoringServiceComponent,omitempty" xmlrpc:"monitoringServiceComponent,omitempty"`

// The monitoring service flag eligibility status for a piece of hardware.
// no documentation yet
MonitoringServiceEligibilityFlag *bool `json:"monitoringServiceEligibilityFlag,omitempty" xmlrpc:"monitoringServiceEligibilityFlag,omitempty"`

// Information regarding a piece of hardware's motherboard.
Expand Down
27 changes: 9 additions & 18 deletions datatypes/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,46 +20,37 @@

package datatypes

// The SoftLayer_Monitoring_Robot data type contains general information relating to a monitoring robot.
// DEPRECATED. The SoftLayer_Monitoring_Robot data type contains general information relating to a monitoring robot.
type Monitoring_Robot struct {
Entity

// The account associated with the corresponding robot.
Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"`

// Internal identifier of a SoftLayer account that this robot belongs to
// DEPRECATED. Internal identifier of a SoftLayer account that this robot belongs to
AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"`

// Internal identifier of a monitoring robot
// DEPRECATED. Internal identifier of a monitoring robot
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`

// Robot name
// DEPRECATED. Robot name
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`

// The current status of the robot.
RobotStatus *Monitoring_Robot_Status `json:"robotStatus,omitempty" xmlrpc:"robotStatus,omitempty"`

// The SoftLayer_Software_Component that corresponds to the robot installation on the server.
SoftwareComponent *Software_Component `json:"softwareComponent,omitempty" xmlrpc:"softwareComponent,omitempty"`

// Internal identifier of a monitoring robot status
// DEPRECATED. Internal identifier of a monitoring robot status
StatusId *int `json:"statusId,omitempty" xmlrpc:"statusId,omitempty"`
}

// Your monitoring robot will be in "Active" status under normal circumstances. If you perform an OS reload, your robot will be in "Reclaim" status until it's reloaded on your server or virtual server.
// DEPRECATED. Your monitoring robot will be in "Active" status under normal circumstances. If you perform an OS reload, your robot will be in "Reclaim" status until it's reloaded on your server or virtual server.
//
// Advanced monitoring system requires "Nimsoft Monitoring (Advanced)" service running and TCP ports 48000 - 48020 to be open on your server or virtual server. Monitoring agents cannot be managed nor can the usage data be updated if these ports are closed. Your monitoring robot will be in "Limited Connectivity" status if our monitoring management system cannot communicate with your system.
//
// See [[SoftLayer_Monitoring_Robot::resetStatus|resetStatus]] service for more details.
type Monitoring_Robot_Status struct {
Entity

// Monitoring robot status description
// DEPRECATED. Monitoring robot status description
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`

// Internal identifier of a monitoring robot status
// DEPRECATED. Internal identifier of a monitoring robot status
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`

// Monitoring robot status name
// DEPRECATED. Monitoring robot status name
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
}
36 changes: 0 additions & 36 deletions datatypes/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -3725,31 +3725,6 @@ type Network_Service_Resource_Hub_Swift struct {
Network_Service_Resource_Hub
}

// no documentation yet
type Network_Service_Resource_MonitoringHub struct {
Network_Service_Resource

// no documentation yet
AdnServicesIp *string `json:"adnServicesIp,omitempty" xmlrpc:"adnServicesIp,omitempty"`

// no documentation yet
HubAddress *string `json:"hubAddress,omitempty" xmlrpc:"hubAddress,omitempty"`

// no documentation yet
HubConnectionTimeout *string `json:"hubConnectionTimeout,omitempty" xmlrpc:"hubConnectionTimeout,omitempty"`

// no documentation yet
RobotsCount *string `json:"robotsCount,omitempty" xmlrpc:"robotsCount,omitempty"`

// no documentation yet
RobotsMax *string `json:"robotsMax,omitempty" xmlrpc:"robotsMax,omitempty"`
}

// no documentation yet
type Network_Service_Resource_NimsoftLandingHub struct {
Network_Service_Resource_MonitoringHub
}

// no documentation yet
type Network_Service_Resource_Type struct {
Entity
Expand Down Expand Up @@ -4889,17 +4864,6 @@ type Network_Storage_Nas struct {
RecentBytesUsed *Network_Storage_Daily_Usage `json:"recentBytesUsed,omitempty" xmlrpc:"recentBytesUsed,omitempty"`
}

// The SoftLayer_Network_Storage_OpenStack_Object data type models OpenStack specific object storage objects. These storages authenticate through Keystone to access Swift.
type Network_Storage_OpenStack_Object struct {
Network_Storage

// A count of the billing item tied to an OpenStack Object Storage's bandwidth service.
BandwidthBillingItemCount *uint `json:"bandwidthBillingItemCount,omitempty" xmlrpc:"bandwidthBillingItemCount,omitempty"`

// The billing item tied to an OpenStack Object Storage's bandwidth service.
BandwidthBillingItems []Billing_Item `json:"bandwidthBillingItems,omitempty" xmlrpc:"bandwidthBillingItems,omitempty"`
}

// A network storage partnership is used to link multiple volumes to each other. These partnerships describe replication hierarchies or link volume snapshots to their associated storage volume.
type Network_Storage_Partnership struct {
Entity
Expand Down
5 changes: 0 additions & 5 deletions datatypes/provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,3 @@ type Provisioning_Version1_Transaction_Status struct {
// no documentation yet
NonCompletedTransactions []Provisioning_Version1_Transaction `json:"nonCompletedTransactions,omitempty" xmlrpc:"nonCompletedTransactions,omitempty"`
}

// no documentation yet
type Provisioning_Version1_Transaction_SubnetMigration struct {
Provisioning_Version1_Transaction
}
2 changes: 1 addition & 1 deletion datatypes/virtual.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ type Virtual_Disk_Image struct {
StorageGroupCount *uint `json:"storageGroupCount,omitempty" xmlrpc:"storageGroupCount,omitempty"`

// Return storage group details for symantec disk
StorageGroupDetails *string `json:"storageGroupDetails,omitempty" xmlrpc:"storageGroupDetails,omitempty"`
StorageGroupDetails *Container_Image_StorageGroupDetails `json:"storageGroupDetails,omitempty" xmlrpc:"storageGroupDetails,omitempty"`

// The storage group for a virtual disk image.
StorageGroups []Configuration_Storage_Group `json:"storageGroups,omitempty" xmlrpc:"storageGroups,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions services/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (r Account) DisableEuSupport() (err error) {
return
}

// This method will edit the account's information. Pass in a SoftLayer_Account template with the fields to be modified. Certain changes to the account will automatically create a ticket for manual review. This will be returned with the SoftLayer_Container_Account_Update_Response.<br> <br> The following fields are editable:<br> <br> <ul> <li>companyName</li> <li>firstName</li> <li>lastName</li> <li>address1</li> <li>address2</li> <li>city</li> <li>state</li> <li>country</li> <li>email</li> <li>officePhone</li> <li>alternatePhone</li> <li>faxPhone</li> <li>abuseEmails.email</li> <li>billingInfo.vatId</li> </ul>
// This method will edit the account's information. Pass in a SoftLayer_Account template with the fields to be modified. Certain changes to the account will automatically create a ticket for manual review. This will be returned with the SoftLayer_Container_Account_Update_Response.<br> <br> The following fields are editable:<br> <br> <ul> <li>companyName</li> <li>firstName</li> <li>lastName</li> <li>address1</li> <li>address2</li> <li>city</li> <li>state</li> <li>country</li> <li>postalCode</li> <li>email</li> <li>officePhone</li> <li>alternatePhone</li> <li>faxPhone</li> <li>abuseEmails.email</li> <li>billingInfo.vatId</li> </ul>
func (r Account) EditAccount(modifiedAccountInformation *datatypes.Account) (resp datatypes.Container_Account_Update_Response, err error) {
params := []interface{}{
modifiedAccountInformation,
Expand Down Expand Up @@ -2227,7 +2227,7 @@ func (r Account) UpdateVpnUsersForResource(objectId *int, objectType *string) (r
return
}

// This method will validate the following account fields. Included are the allowed characters for each field.<br> <strong>Company Name (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, backward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parenthesis, exclamation point. (Note: may not contain an email address)<br> <strong>First Name (required):</strong> alphabet, space, period, dash, comma, apostrophe.<br> <strong>Last Name (required):</strong> alphabet, space, period, dash, comma, apostrophe.<br> <strong>Email (required):</strong> Validates e-mail addresses against the syntax in RFC 822.<br> <strong>Address 1 (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, backward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parentheses.<br> <strong>Address 2 (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, backward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parentheses.<br> <strong>City (required):</strong> alphabet, space, period, dash, apostrophe, forward slash.<br> <strong>State (required):</strong> Required if country is US, Brazil, Canada or India. Must be valid Alpha-2 ISO 3166-1 state code for that country.<br> <strong>Postal Code (required):</strong> alphabet, numbers, dash, space.<br> <strong>Country (required):</strong> alphabet, numbers. Must be valid Alpha-2 ISO 3166-1 country code.<br> <strong>Office Phone (required):</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign.<br> <strong>Alternate Phone:</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign.<br> <strong>Fax Phone:</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign.<br>
// This method will validate the following account fields. Included are the allowed characters for each field.<br> <strong>Company Name (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parenthesis, exclamation point. (Note: may not contain an email address)<br> <strong>First Name (required):</strong> alphabet, space, period, dash, comma, apostrophe.<br> <strong>Last Name (required):</strong> alphabet, space, period, dash, comma, apostrophe.<br> <strong>Email (required):</strong> Validates e-mail addresses against the syntax in RFC 822.<br> <strong>Address 1 (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parentheses. (Note: may not contain an email address)<br> <strong>Address 2 (required):</strong> alphabet, numbers, space, period, dash, octothorpe, forward slash, comma, colon, at sign, ampersand, underscore, apostrophe, parentheses. (Note: may not contain an email address)<br> <strong>City (required):</strong> alphabet, numbers, space, period, dash, apostrophe, forward slash, comma.<br> <strong>State (required):</strong> Required if country is US, Brazil, Canada or India. Must be valid Alpha-2 ISO 3166-1 state code for that country.<br> <strong>Postal Code (required):</strong> alphabet, numbers, dash, space.<br> <strong>Country (required):</strong> alphabet, numbers. Must be valid Alpha-2 ISO 3166-1 country code.<br> <strong>Office Phone (required):</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign.<br> <strong>Alternate Phone:</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign.<br> <strong>Fax Phone:</strong> alphabet, numbers, space, period, dash, parenthesis, plus sign.<br>
func (r Account) Validate(account *datatypes.Account) (resp []string, err error) {
params := []interface{}{
account,
Expand Down
20 changes: 10 additions & 10 deletions services/hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ func (r Hardware) GetModules() (resp []datatypes.Hardware_Component, err error)
return
}

// Retrieve Information regarding the hardware's monitoring robot.
// Retrieve
func (r Hardware) GetMonitoringRobot() (resp datatypes.Monitoring_Robot, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware", "getMonitoringRobot", nil, &r.Options, &resp)
return
Expand All @@ -935,7 +935,7 @@ func (r Hardware) GetMonitoringServiceComponent() (resp datatypes.Network_Monito
return
}

// Retrieve The monitoring service flag eligibility status for a piece of hardware.
// Retrieve
func (r Hardware) GetMonitoringServiceEligibilityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware", "getMonitoringServiceEligibilityFlag", nil, &r.Options, &resp)
return
Expand Down Expand Up @@ -2910,7 +2910,7 @@ func (r Hardware_Router) GetModules() (resp []datatypes.Hardware_Component, err
return
}

// Retrieve Information regarding the hardware's monitoring robot.
// Retrieve
func (r Hardware_Router) GetMonitoringRobot() (resp datatypes.Monitoring_Robot, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_Router", "getMonitoringRobot", nil, &r.Options, &resp)
return
Expand All @@ -2922,7 +2922,7 @@ func (r Hardware_Router) GetMonitoringServiceComponent() (resp datatypes.Network
return
}

// Retrieve The monitoring service flag eligibility status for a piece of hardware.
// Retrieve
func (r Hardware_Router) GetMonitoringServiceEligibilityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_Router", "getMonitoringServiceEligibilityFlag", nil, &r.Options, &resp)
return
Expand Down Expand Up @@ -4788,7 +4788,7 @@ func (r Hardware_SecurityModule) GetModules() (resp []datatypes.Hardware_Compone
return
}

// Retrieve Information regarding the hardware's monitoring robot.
// Retrieve
func (r Hardware_SecurityModule) GetMonitoringRobot() (resp datatypes.Monitoring_Robot, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_SecurityModule", "getMonitoringRobot", nil, &r.Options, &resp)
return
Expand All @@ -4800,7 +4800,7 @@ func (r Hardware_SecurityModule) GetMonitoringServiceComponent() (resp datatypes
return
}

// Retrieve The monitoring service flag eligibility status for a piece of hardware.
// Retrieve
func (r Hardware_SecurityModule) GetMonitoringServiceEligibilityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_SecurityModule", "getMonitoringServiceEligibilityFlag", nil, &r.Options, &resp)
return
Expand Down Expand Up @@ -7152,7 +7152,7 @@ func (r Hardware_SecurityModule750) GetModules() (resp []datatypes.Hardware_Comp
return
}

// Retrieve Information regarding the hardware's monitoring robot.
// Retrieve
func (r Hardware_SecurityModule750) GetMonitoringRobot() (resp datatypes.Monitoring_Robot, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_SecurityModule750", "getMonitoringRobot", nil, &r.Options, &resp)
return
Expand All @@ -7164,7 +7164,7 @@ func (r Hardware_SecurityModule750) GetMonitoringServiceComponent() (resp dataty
return
}

// Retrieve The monitoring service flag eligibility status for a piece of hardware.
// Retrieve
func (r Hardware_SecurityModule750) GetMonitoringServiceEligibilityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_SecurityModule750", "getMonitoringServiceEligibilityFlag", nil, &r.Options, &resp)
return
Expand Down Expand Up @@ -9516,7 +9516,7 @@ func (r Hardware_Server) GetModules() (resp []datatypes.Hardware_Component, err
return
}

// Retrieve Information regarding the hardware's monitoring robot.
// Retrieve
func (r Hardware_Server) GetMonitoringRobot() (resp datatypes.Monitoring_Robot, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_Server", "getMonitoringRobot", nil, &r.Options, &resp)
return
Expand All @@ -9528,7 +9528,7 @@ func (r Hardware_Server) GetMonitoringServiceComponent() (resp datatypes.Network
return
}

// Retrieve The monitoring service flag eligibility status for a piece of hardware.
// Retrieve
func (r Hardware_Server) GetMonitoringServiceEligibilityFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_Server", "getMonitoringServiceEligibilityFlag", nil, &r.Options, &resp)
return
Expand Down
Loading

0 comments on commit 2856cb6

Please sign in to comment.