Skip to content

Commit

Permalink
Updated generated classes on Sun Nov 1 00:23:46 UTC 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 1, 2020
1 parent 191ada1 commit b7257b3
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 724 deletions.
2 changes: 1 addition & 1 deletion datatypes/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Configuration_Storage_Group struct {
ArrayType *Configuration_Storage_Group_Array_Type `json:"arrayType,omitempty" xmlrpc:"arrayType,omitempty"`

// Determine if the storage group is able to be image captured. If unable to image capture the reasons will be provided.
CaptureEnabledFlag *string `json:"captureEnabledFlag,omitempty" xmlrpc:"captureEnabledFlag,omitempty"`
CaptureEnabledFlag *Container_Hardware_CaptureEnabled `json:"captureEnabledFlag,omitempty" xmlrpc:"captureEnabledFlag,omitempty"`

// no documentation yet
CreateEmployee *User_Employee `json:"createEmployee,omitempty" xmlrpc:"createEmployee,omitempty"`
Expand Down
25 changes: 15 additions & 10 deletions datatypes/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,6 @@ type Container_Account_Historical_Summary_Detail_Uptime struct {
// The hardware for uptime details.
CloudComputingInstance *Virtual_Guest `json:"cloudComputingInstance,omitempty" xmlrpc:"cloudComputingInstance,omitempty"`

// The configuration value for the detail's resource.
ConfigurationValue *Monitoring_Agent_Configuration_Value `json:"configurationValue,omitempty" xmlrpc:"configurationValue,omitempty"`

// The data associated with a host uptime details.
Data []Metric_Tracking_Object_Data `json:"data,omitempty" xmlrpc:"data,omitempty"`

Expand Down Expand Up @@ -1733,6 +1730,17 @@ type Container_Graph_Plot_Coordinate struct {
ZValue *Float64 `json:"zValue,omitempty" xmlrpc:"zValue,omitempty"`
}

// no documentation yet
type Container_Hardware_CaptureEnabled struct {
Entity

// no documentation yet
Enabled *bool `json:"enabled,omitempty" xmlrpc:"enabled,omitempty"`

// no documentation yet
Reasons []string `json:"reasons,omitempty" xmlrpc:"reasons,omitempty"`
}

// The hardware configuration container is used to provide configuration options for servers.
//
// Each configuration option will include both an <code>itemPrice</code> and a <code>template</code>.
Expand Down Expand Up @@ -4000,7 +4008,7 @@ type Container_Product_Order_Hardware_Server struct {
// Array of disk drive slot categories to destroy on reclaim. For example: ['disk0', 'disk1', 'disk2']. One drive_destruction price must be included for each slot provided. Note that once the initial order or upgrade order are approved, the destruction property <strong>is not removable</strong> and the drives will be destroyed at the end of the server's lifecycle. Not all drive slots are required, but all can be provided.
DriveDestructionDisks []string `json:"driveDestructionDisks,omitempty" xmlrpc:"driveDestructionDisks,omitempty"`

// Id of the [[SoftLayer_Monitoring_Agent_Configuration_Template_Group]] to be used with the monitoring package
// Id used with the monitoring package. (Deprecated)
MonitoringAgentConfigurationTemplateGroupId *int `json:"monitoringAgentConfigurationTemplateGroupId,omitempty" xmlrpc:"monitoringAgentConfigurationTemplateGroupId,omitempty"`

// When ordering Virtual Server (Private Node), this variable specifies the role of the server configuration. (Deprecated)
Expand Down Expand Up @@ -4063,13 +4071,10 @@ type Container_Product_Order_Hardware_Server_Vpc struct {
Zone *string `json:"zone,omitempty" xmlrpc:"zone,omitempty"`
}

// This is the datatype that needs to be populated and sent to SoftLayer_Product_Order::placeOrder. This datatype has everything required to place a Monitoring Package order with SoftLayer.
// This is the datatype that needs to be populated and sent to SoftLayer_Product_Order::placeOrder. This datatype has everything required to place a Monitoring Package order with SoftLayer. This class is no longer available.
type Container_Product_Order_Monitoring_Package struct {
Container_Product_Order

// no documentation yet
ConfigurationTemplateGroups []Monitoring_Agent_Configuration_Template_Group `json:"configurationTemplateGroups,omitempty" xmlrpc:"configurationTemplateGroups,omitempty"`

// no documentation yet
ServerType *string `json:"serverType,omitempty" xmlrpc:"serverType,omitempty"`
}
Expand Down Expand Up @@ -4638,7 +4643,7 @@ type Container_Product_Order_Security_Certificate struct {
// Indicates if it is an renewal order of an existing SSL certificate.
RenewalFlag *bool `json:"renewalFlag,omitempty" xmlrpc:"renewalFlag,omitempty"`

// The number of servers.
// (DEPRECATED) Do not set this property, as it will always be set to 1.
ServerCount *int `json:"serverCount,omitempty" xmlrpc:"serverCount,omitempty"`

// The server type. This is the name from a [[SoftLayer_Security_Certificate_Request_ServerType]] object.
Expand All @@ -4647,7 +4652,7 @@ type Container_Product_Order_Security_Certificate struct {
// The technical contact associated with a SSL certificate. If the address is not provided the organization information address will be used.
TechnicalContact *Container_Product_Order_Attribute_Contact `json:"technicalContact,omitempty" xmlrpc:"technicalContact,omitempty"`

// The period that a SSL certificate is valid for. For example, 12, 24, 36
// (DEPRECATED) The period that a SSL certificate is valid for. For example, 12, 24, 36. This property will be set automatically based on the certificate product ordered when verifying or placing orders.
ValidityMonths *int `json:"validityMonths,omitempty" xmlrpc:"validityMonths,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion datatypes/hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@ type Hardware_Server struct {
BiosPasswordNullFlag *bool `json:"biosPasswordNullFlag,omitempty" xmlrpc:"biosPasswordNullFlag,omitempty"`

// Determine if the server is able to be image captured. If unable to image capture a reason will be provided.
CaptureEnabledFlag *string `json:"captureEnabledFlag,omitempty" xmlrpc:"captureEnabledFlag,omitempty"`
CaptureEnabledFlag *Container_Hardware_CaptureEnabled `json:"captureEnabledFlag,omitempty" xmlrpc:"captureEnabledFlag,omitempty"`

// no documentation yet
ContainsSolidStateDrivesFlag *bool `json:"containsSolidStateDrivesFlag,omitempty" xmlrpc:"containsSolidStateDrivesFlag,omitempty"`
Expand Down
165 changes: 0 additions & 165 deletions datatypes/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,171 +20,6 @@

package datatypes

// A monitoring agent object contains information describing the agent.
type Monitoring_Agent struct {
Entity

// The current status of the corresponding agent
AgentStatus *Monitoring_Agent_Status `json:"agentStatus,omitempty" xmlrpc:"agentStatus,omitempty"`

// A count of all custom configuration profiles associated with the corresponding agent
ConfigurationProfileCount *uint `json:"configurationProfileCount,omitempty" xmlrpc:"configurationProfileCount,omitempty"`

// All custom configuration profiles associated with the corresponding agent
ConfigurationProfiles []Configuration_Template_Section_Profile `json:"configurationProfiles,omitempty" xmlrpc:"configurationProfiles,omitempty"`

// A template of an agent's current configuration which contains information about the structure of the configuration values.
ConfigurationTemplate *Configuration_Template `json:"configurationTemplate,omitempty" xmlrpc:"configurationTemplate,omitempty"`

// Internal identifier of a configuration template that is used to configure this agent
ConfigurationTemplateId *int `json:"configurationTemplateId,omitempty" xmlrpc:"configurationTemplateId,omitempty"`

// A count of the values associated with the corresponding Agent configuration.
ConfigurationValueCount *uint `json:"configurationValueCount,omitempty" xmlrpc:"configurationValueCount,omitempty"`

// The values associated with the corresponding Agent configuration.
ConfigurationValues []Monitoring_Agent_Configuration_Value `json:"configurationValues,omitempty" xmlrpc:"configurationValues,omitempty"`

// Created date
CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"`

// SoftLayer hardware related to the agent.
Hardware *Hardware `json:"hardware,omitempty" xmlrpc:"hardware,omitempty"`

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

// Last modified date
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`

// Monitoring agent name
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`

// Contains general information relating to a single SoftLayer product.
ProductItem *Product_Item `json:"productItem,omitempty" xmlrpc:"productItem,omitempty"`

// Indicates if this monitoring agent resides on your local box or on a SoftLayer monitoring cluster.
RemoteMonitoringAgentFlag *bool `json:"remoteMonitoringAgentFlag,omitempty" xmlrpc:"remoteMonitoringAgentFlag,omitempty"`

// Internal identifier of a monitoring robot that this agent belongs to
RobotId *int `json:"robotId,omitempty" xmlrpc:"robotId,omitempty"`

// A description for a specific installation of a Software Component
SoftwareDescription *Software_Description `json:"softwareDescription,omitempty" xmlrpc:"softwareDescription,omitempty"`

// Internal identifier of a monitoring agent status
StatusId *int `json:"statusId,omitempty" xmlrpc:"statusId,omitempty"`

// Monitoring agent status name.
StatusName *string `json:"statusName,omitempty" xmlrpc:"statusName,omitempty"`

// Softlayer_Virtual_Guest object related to the monitoring agent, which this virtual guest object and hardware is on the server of the running agent.
VirtualGuest *Virtual_Guest `json:"virtualGuest,omitempty" xmlrpc:"virtualGuest,omitempty"`
}

// The SoftLayer_Monitoring_Agent_Configuration_Template_Group class is consisted of configuration templates for agents in a monitoring package.
type Monitoring_Agent_Configuration_Template_Group struct {
Entity

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

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

// Created date
CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"`

// Description of a monitoring agent configuration group
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`

// Internal identifier of a monitoring agent configuration group
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`

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

// Internal identifier of a configuration template type
ItemId *int `json:"itemId,omitempty" xmlrpc:"itemId,omitempty"`

// Last modified date
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`

// Name of a monitoring agent configuration group
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
}

// SoftLayer_Monitoring_Agent_Configuration_Template_Group_Reference class holds the reference information, essentially a SQL join, between a monitoring configuration group and agent configuration templates.
type Monitoring_Agent_Configuration_Template_Group_Reference struct {
Entity

// no documentation yet
ConfigurationTemplate *Configuration_Template `json:"configurationTemplate,omitempty" xmlrpc:"configurationTemplate,omitempty"`

// Internal identifier of a configuration template
ConfigurationTemplateId *int `json:"configurationTemplateId,omitempty" xmlrpc:"configurationTemplateId,omitempty"`

// Internal identifier of a configuration group reference record
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`

// no documentation yet
TemplateGroup *Monitoring_Agent_Configuration_Template_Group `json:"templateGroup,omitempty" xmlrpc:"templateGroup,omitempty"`

// Internal identifier of a monitoring agent configuration group
TemplateGroupId *int `json:"templateGroupId,omitempty" xmlrpc:"templateGroupId,omitempty"`
}

// Monitoring agent configuration value
type Monitoring_Agent_Configuration_Value struct {
Entity

// Internal identifier of a monitoring Agent that this configuration value
AgentId *int `json:"agentId,omitempty" xmlrpc:"agentId,omitempty"`

// Internal identifier of a monitoring configuration definition by which
ConfigurationDefinitionId *int `json:"configurationDefinitionId,omitempty" xmlrpc:"configurationDefinitionId,omitempty"`

// no documentation yet
Definition *Configuration_Template_Section_Definition `json:"definition,omitempty" xmlrpc:"definition,omitempty"`

// User-friendly description of a configuration value.
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`

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

// The metric data type used to retrieve metric data currently being tracked.
MetricDataType *Container_Metric_Data_Type `json:"metricDataType,omitempty" xmlrpc:"metricDataType,omitempty"`

// no documentation yet
MonitoringAgent *Monitoring_Agent `json:"monitoringAgent,omitempty" xmlrpc:"monitoringAgent,omitempty"`

// no documentation yet
Profile *Configuration_Template_Section_Profile `json:"profile,omitempty" xmlrpc:"profile,omitempty"`

// Internal identifier of a configuration profile. Configuration profile is associated with a configuration section type of "Template section".
//
// A "Template section" defines skeleton configuration definitions. For instance, if you want to monitor additional hard disks with "CPU/Memory/Disk Monitoring Agent", you will have to add a new configuration profiles.
ProfileId *int `json:"profileId,omitempty" xmlrpc:"profileId,omitempty"`

// Configuration value
Value *string `json:"value,omitempty" xmlrpc:"value,omitempty"`
}

// Monitoring agent status
type Monitoring_Agent_Status struct {
Entity

// Description of a monitoring agent status
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`

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

// Monitoring agent status name
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
}

// The SoftLayer_Monitoring_Robot data type contains general information relating to a monitoring robot.
type Monitoring_Robot struct {
Entity
Expand Down
2 changes: 1 addition & 1 deletion datatypes/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ type Security_Certificate_Entry struct {
ValidityEnd *Time `json:"validityEnd,omitempty" xmlrpc:"validityEnd,omitempty"`
}

// SoftLayer_Security_Certificate_Request data type is used to harness your SSL certificate order to a Certificate Authority. This contains data that is required by a Certificate Authority to place an SSL certificate order.
// The SoftLayer_Security_Certificate_Request data type is used to view details about your SSL certificate order. This contains data that is required by a Certificate Authority to place an SSL certificate order.
type Security_Certificate_Request struct {
Entity

Expand Down
3 changes: 3 additions & 0 deletions datatypes/virtual.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ type Virtual_Disk_Image struct {
// A disk image's unique md5 checksum.
Checksum *string `json:"checksum,omitempty" xmlrpc:"checksum,omitempty"`

// A column to save the Algorithm being used to store the checksum.
ChecksumAlgorithm *string `json:"checksumAlgorithm,omitempty" xmlrpc:"checksumAlgorithm,omitempty"`

// Check if cloud-init is enabled.
CloudInitFlag *bool `json:"cloudInitFlag,omitempty" xmlrpc:"cloudInitFlag,omitempty"`

Expand Down
6 changes: 3 additions & 3 deletions services/hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -4298,7 +4298,7 @@ func (r Hardware_SecurityModule) GetBusinessContinuanceInsuranceFlag() (resp boo
}

// Retrieve Determine if the server is able to be image captured. If unable to image capture a reason will be provided.
func (r Hardware_SecurityModule) GetCaptureEnabledFlag() (resp string, err error) {
func (r Hardware_SecurityModule) GetCaptureEnabledFlag() (resp datatypes.Container_Hardware_CaptureEnabled, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_SecurityModule", "getCaptureEnabledFlag", nil, &r.Options, &resp)
return
}
Expand Down Expand Up @@ -6662,7 +6662,7 @@ func (r Hardware_SecurityModule750) GetBusinessContinuanceInsuranceFlag() (resp
}

// Retrieve Determine if the server is able to be image captured. If unable to image capture a reason will be provided.
func (r Hardware_SecurityModule750) GetCaptureEnabledFlag() (resp string, err error) {
func (r Hardware_SecurityModule750) GetCaptureEnabledFlag() (resp datatypes.Container_Hardware_CaptureEnabled, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_SecurityModule750", "getCaptureEnabledFlag", nil, &r.Options, &resp)
return
}
Expand Down Expand Up @@ -9026,7 +9026,7 @@ func (r Hardware_Server) GetBusinessContinuanceInsuranceFlag() (resp bool, err e
}

// Retrieve Determine if the server is able to be image captured. If unable to image capture a reason will be provided.
func (r Hardware_Server) GetCaptureEnabledFlag() (resp string, err error) {
func (r Hardware_Server) GetCaptureEnabledFlag() (resp datatypes.Container_Hardware_CaptureEnabled, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_Server", "getCaptureEnabledFlag", nil, &r.Options, &resp)
return
}
Expand Down
Loading

0 comments on commit b7257b3

Please sign in to comment.