Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AddServerPublicIPRequest
- func (o *AddServerPublicIPRequest) GetSecurityGroup() string
- func (o *AddServerPublicIPRequest) GetSecurityGroupOk() (*string, bool)
- func (o *AddServerPublicIPRequest) GetSecurityGroups() []string
- func (o *AddServerPublicIPRequest) GetSecurityGroupsOk() ([]string, bool)
- func (o *AddServerPublicIPRequest) HasSecurityGroup() bool
- func (o *AddServerPublicIPRequest) HasSecurityGroups() bool
- func (o AddServerPublicIPRequest) MarshalJSON() ([]byte, error)
- func (o *AddServerPublicIPRequest) SetSecurityGroup(v string)
- func (o *AddServerPublicIPRequest) SetSecurityGroups(v []string)
- func (o AddServerPublicIPRequest) ToMap() (map[string]interface{}, error)
- type AllocationPool
- func (o *AllocationPool) GetEnd() string
- func (o *AllocationPool) GetEndOk() (*string, bool)
- func (o *AllocationPool) GetStart() string
- func (o *AllocationPool) GetStartOk() (*string, bool)
- func (o *AllocationPool) HasEnd() bool
- func (o *AllocationPool) HasStart() bool
- func (o AllocationPool) MarshalJSON() ([]byte, error)
- func (o *AllocationPool) SetEnd(v string)
- func (o *AllocationPool) SetStart(v string)
- func (o AllocationPool) ToMap() (map[string]interface{}, error)
- type AttachPortSecurityRequest
- func (o *AttachPortSecurityRequest) GetSecurityGroupId() string
- func (o *AttachPortSecurityRequest) GetSecurityGroupIdOk() (*string, bool)
- func (o *AttachPortSecurityRequest) HasSecurityGroupId() bool
- func (o AttachPortSecurityRequest) MarshalJSON() ([]byte, error)
- func (o *AttachPortSecurityRequest) SetSecurityGroupId(v string)
- func (o AttachPortSecurityRequest) ToMap() (map[string]interface{}, error)
- type AttachServerRootVolumeRequest
- func (o *AttachServerRootVolumeRequest) GetVolumeId() string
- func (o *AttachServerRootVolumeRequest) GetVolumeIdOk() (*string, bool)
- func (o *AttachServerRootVolumeRequest) HasVolumeId() bool
- func (o AttachServerRootVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *AttachServerRootVolumeRequest) SetVolumeId(v string)
- func (o AttachServerRootVolumeRequest) ToMap() (map[string]interface{}, error)
- type AttachServerToNetworkRequest
- func (o *AttachServerToNetworkRequest) GetEnablePortSecurity() bool
- func (o *AttachServerToNetworkRequest) GetEnablePortSecurityOk() (*bool, bool)
- func (o *AttachServerToNetworkRequest) GetIp() string
- func (o *AttachServerToNetworkRequest) GetIpOk() (*string, bool)
- func (o *AttachServerToNetworkRequest) GetServerId() string
- func (o *AttachServerToNetworkRequest) GetServerIdOk() (*string, bool)
- func (o *AttachServerToNetworkRequest) GetSubnetId() string
- func (o *AttachServerToNetworkRequest) GetSubnetIdOk() (*string, bool)
- func (o *AttachServerToNetworkRequest) HasEnablePortSecurity() bool
- func (o *AttachServerToNetworkRequest) HasIp() bool
- func (o *AttachServerToNetworkRequest) HasServerId() bool
- func (o *AttachServerToNetworkRequest) HasSubnetId() bool
- func (o AttachServerToNetworkRequest) MarshalJSON() ([]byte, error)
- func (o *AttachServerToNetworkRequest) SetEnablePortSecurity(v bool)
- func (o *AttachServerToNetworkRequest) SetIp(v string)
- func (o *AttachServerToNetworkRequest) SetServerId(v string)
- func (o *AttachServerToNetworkRequest) SetSubnetId(v string)
- func (o AttachServerToNetworkRequest) ToMap() (map[string]interface{}, error)
- type AttachServerToSecurityGroupRequest
- func (o *AttachServerToSecurityGroupRequest) GetSecurityGroupId() string
- func (o *AttachServerToSecurityGroupRequest) GetSecurityGroupIdOk() (*string, bool)
- func (o *AttachServerToSecurityGroupRequest) HasSecurityGroupId() bool
- func (o AttachServerToSecurityGroupRequest) MarshalJSON() ([]byte, error)
- func (o *AttachServerToSecurityGroupRequest) SetSecurityGroupId(v string)
- func (o AttachServerToSecurityGroupRequest) ToMap() (map[string]interface{}, error)
- type AttachTagRequest
- func (o *AttachTagRequest) GetInstanceId() string
- func (o *AttachTagRequest) GetInstanceIdOk() (*string, bool)
- func (o *AttachTagRequest) GetInstanceType() string
- func (o *AttachTagRequest) GetInstanceTypeOk() (*string, bool)
- func (o *AttachTagRequest) HasInstanceId() bool
- func (o *AttachTagRequest) HasInstanceType() bool
- func (o AttachTagRequest) MarshalJSON() ([]byte, error)
- func (o *AttachTagRequest) SetInstanceId(v string)
- func (o *AttachTagRequest) SetInstanceType(v string)
- func (o AttachTagRequest) ToMap() (map[string]interface{}, error)
- type Attachment
- func (o *Attachment) GetAttachedAt() string
- func (o *Attachment) GetAttachedAtOk() (*string, bool)
- func (o *Attachment) GetAttachmentId() string
- func (o *Attachment) GetAttachmentIdOk() (*string, bool)
- func (o *Attachment) GetDevice() string
- func (o *Attachment) GetDeviceOk() (*string, bool)
- func (o *Attachment) GetHostName() string
- func (o *Attachment) GetHostNameOk() (*string, bool)
- func (o *Attachment) GetId() string
- func (o *Attachment) GetIdOk() (*string, bool)
- func (o *Attachment) GetServerId() string
- func (o *Attachment) GetServerIdOk() (*string, bool)
- func (o *Attachment) GetServerName() string
- func (o *Attachment) GetServerNameOk() (*string, bool)
- func (o *Attachment) GetVolumeId() string
- func (o *Attachment) GetVolumeIdOk() (*string, bool)
- func (o *Attachment) HasAttachedAt() bool
- func (o *Attachment) HasAttachmentId() bool
- func (o *Attachment) HasDevice() bool
- func (o *Attachment) HasHostName() bool
- func (o *Attachment) HasId() bool
- func (o *Attachment) HasServerId() bool
- func (o *Attachment) HasServerName() bool
- func (o *Attachment) HasVolumeId() bool
- func (o Attachment) MarshalJSON() ([]byte, error)
- func (o *Attachment) SetAttachedAt(v string)
- func (o *Attachment) SetAttachmentId(v string)
- func (o *Attachment) SetDevice(v string)
- func (o *Attachment) SetHostName(v string)
- func (o *Attachment) SetId(v string)
- func (o *Attachment) SetServerId(v string)
- func (o *Attachment) SetServerName(v string)
- func (o *Attachment) SetVolumeId(v string)
- func (o Attachment) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type BatchTagRequest
- func (o *BatchTagRequest) GetInstanceList() []string
- func (o *BatchTagRequest) GetInstanceListOk() ([]string, bool)
- func (o *BatchTagRequest) GetInstanceType() string
- func (o *BatchTagRequest) GetInstanceTypeOk() (*string, bool)
- func (o *BatchTagRequest) GetTagList() []string
- func (o *BatchTagRequest) GetTagListOk() ([]string, bool)
- func (o *BatchTagRequest) HasInstanceList() bool
- func (o *BatchTagRequest) HasInstanceType() bool
- func (o *BatchTagRequest) HasTagList() bool
- func (o BatchTagRequest) MarshalJSON() ([]byte, error)
- func (o *BatchTagRequest) SetInstanceList(v []string)
- func (o *BatchTagRequest) SetInstanceType(v string)
- func (o *BatchTagRequest) SetTagList(v []string)
- func (o BatchTagRequest) ToMap() (map[string]interface{}, error)
- type Chart
- func (o *Chart) GetCategories() []string
- func (o *Chart) GetCategoriesOk() ([]string, bool)
- func (o *Chart) GetSeries() []ChartDataset
- func (o *Chart) GetSeriesOk() ([]ChartDataset, bool)
- func (o *Chart) GetTitle() string
- func (o *Chart) GetTitleOk() (*string, bool)
- func (o *Chart) HasCategories() bool
- func (o *Chart) HasSeries() bool
- func (o *Chart) HasTitle() bool
- func (o Chart) MarshalJSON() ([]byte, error)
- func (o *Chart) SetCategories(v []string)
- func (o *Chart) SetSeries(v []ChartDataset)
- func (o *Chart) SetTitle(v string)
- func (o Chart) ToMap() (map[string]interface{}, error)
- type ChartCollection
- func (o *ChartCollection) GetCpu() Chart
- func (o *ChartCollection) GetCpuOk() (*Chart, bool)
- func (o *ChartCollection) GetDisk() Chart
- func (o *ChartCollection) GetDiskOk() (*Chart, bool)
- func (o *ChartCollection) GetNetwork() Chart
- func (o *ChartCollection) GetNetworkOk() (*Chart, bool)
- func (o *ChartCollection) GetRam() Chart
- func (o *ChartCollection) GetRamOk() (*Chart, bool)
- func (o *ChartCollection) GetStatistics() []string
- func (o *ChartCollection) GetStatisticsOk() ([]string, bool)
- func (o *ChartCollection) HasCpu() bool
- func (o *ChartCollection) HasDisk() bool
- func (o *ChartCollection) HasNetwork() bool
- func (o *ChartCollection) HasRam() bool
- func (o *ChartCollection) HasStatistics() bool
- func (o ChartCollection) MarshalJSON() ([]byte, error)
- func (o *ChartCollection) SetCpu(v Chart)
- func (o *ChartCollection) SetDisk(v Chart)
- func (o *ChartCollection) SetNetwork(v Chart)
- func (o *ChartCollection) SetRam(v Chart)
- func (o *ChartCollection) SetStatistics(v []string)
- func (o ChartCollection) ToMap() (map[string]interface{}, error)
- type ChartDataset
- func (o *ChartDataset) GetData() []float64
- func (o *ChartDataset) GetDataOk() ([]float64, bool)
- func (o *ChartDataset) GetName() string
- func (o *ChartDataset) GetNameOk() (*string, bool)
- func (o *ChartDataset) HasData() bool
- func (o *ChartDataset) HasName() bool
- func (o ChartDataset) MarshalJSON() ([]byte, error)
- func (o *ChartDataset) SetData(v []float64)
- func (o *ChartDataset) SetName(v string)
- func (o ChartDataset) ToMap() (map[string]interface{}, error)
- type Configuration
- type CreateFloatIPRequest
- func (o *CreateFloatIPRequest) GetDescription() string
- func (o *CreateFloatIPRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateFloatIPRequest) HasDescription() bool
- func (o CreateFloatIPRequest) MarshalJSON() ([]byte, error)
- func (o *CreateFloatIPRequest) SetDescription(v string)
- func (o CreateFloatIPRequest) ToMap() (map[string]interface{}, error)
- type CreateImageFromSnapshotRequest
- func (o *CreateImageFromSnapshotRequest) GetName() string
- func (o *CreateImageFromSnapshotRequest) GetNameOk() (*string, bool)
- func (o *CreateImageFromSnapshotRequest) HasName() bool
- func (o CreateImageFromSnapshotRequest) MarshalJSON() ([]byte, error)
- func (o *CreateImageFromSnapshotRequest) SetName(v string)
- func (o CreateImageFromSnapshotRequest) ToMap() (map[string]interface{}, error)
- type CreatePTRRequest
- func (o *CreatePTRRequest) GetDomain() string
- func (o *CreatePTRRequest) GetDomainOk() (*string, bool)
- func (o *CreatePTRRequest) GetIp() string
- func (o *CreatePTRRequest) GetIpOk() (*string, bool)
- func (o *CreatePTRRequest) HasDomain() bool
- func (o *CreatePTRRequest) HasIp() bool
- func (o CreatePTRRequest) MarshalJSON() ([]byte, error)
- func (o *CreatePTRRequest) SetDomain(v string)
- func (o *CreatePTRRequest) SetIp(v string)
- func (o CreatePTRRequest) ToMap() (map[string]interface{}, error)
- type CreatePrivateNetworkRequest
- func (o *CreatePrivateNetworkRequest) GetDescription() string
- func (o *CreatePrivateNetworkRequest) GetDescriptionOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetDhcp() string
- func (o *CreatePrivateNetworkRequest) GetDhcpOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetDnsServers() string
- func (o *CreatePrivateNetworkRequest) GetDnsServersOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetEnableDhcp() bool
- func (o *CreatePrivateNetworkRequest) GetEnableDhcpOk() (*bool, bool)
- func (o *CreatePrivateNetworkRequest) GetEnableGateway() bool
- func (o *CreatePrivateNetworkRequest) GetEnableGatewayOk() (*bool, bool)
- func (o *CreatePrivateNetworkRequest) GetName() string
- func (o *CreatePrivateNetworkRequest) GetNameOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetNetworkId() string
- func (o *CreatePrivateNetworkRequest) GetNetworkIdOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetSubnetGateway() string
- func (o *CreatePrivateNetworkRequest) GetSubnetGatewayOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetSubnetId() string
- func (o *CreatePrivateNetworkRequest) GetSubnetIdOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) GetSubnetIp() string
- func (o *CreatePrivateNetworkRequest) GetSubnetIpOk() (*string, bool)
- func (o *CreatePrivateNetworkRequest) HasDescription() bool
- func (o *CreatePrivateNetworkRequest) HasDhcp() bool
- func (o *CreatePrivateNetworkRequest) HasDnsServers() bool
- func (o *CreatePrivateNetworkRequest) HasEnableDhcp() bool
- func (o *CreatePrivateNetworkRequest) HasEnableGateway() bool
- func (o *CreatePrivateNetworkRequest) HasName() bool
- func (o *CreatePrivateNetworkRequest) HasNetworkId() bool
- func (o *CreatePrivateNetworkRequest) HasSubnetGateway() bool
- func (o *CreatePrivateNetworkRequest) HasSubnetId() bool
- func (o *CreatePrivateNetworkRequest) HasSubnetIp() bool
- func (o CreatePrivateNetworkRequest) MarshalJSON() ([]byte, error)
- func (o *CreatePrivateNetworkRequest) SetDescription(v string)
- func (o *CreatePrivateNetworkRequest) SetDhcp(v string)
- func (o *CreatePrivateNetworkRequest) SetDnsServers(v string)
- func (o *CreatePrivateNetworkRequest) SetEnableDhcp(v bool)
- func (o *CreatePrivateNetworkRequest) SetEnableGateway(v bool)
- func (o *CreatePrivateNetworkRequest) SetName(v string)
- func (o *CreatePrivateNetworkRequest) SetNetworkId(v string)
- func (o *CreatePrivateNetworkRequest) SetSubnetGateway(v string)
- func (o *CreatePrivateNetworkRequest) SetSubnetId(v string)
- func (o *CreatePrivateNetworkRequest) SetSubnetIp(v string)
- func (o CreatePrivateNetworkRequest) ToMap() (map[string]interface{}, error)
- type CreateSSHKeyRequest
- func (o *CreateSSHKeyRequest) GetName() string
- func (o *CreateSSHKeyRequest) GetNameOk() (*string, bool)
- func (o *CreateSSHKeyRequest) GetPublicKey() string
- func (o *CreateSSHKeyRequest) GetPublicKeyOk() (*string, bool)
- func (o *CreateSSHKeyRequest) HasName() bool
- func (o *CreateSSHKeyRequest) HasPublicKey() bool
- func (o CreateSSHKeyRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSSHKeyRequest) SetName(v string)
- func (o *CreateSSHKeyRequest) SetPublicKey(v string)
- func (o CreateSSHKeyRequest) ToMap() (map[string]interface{}, error)
- type CreateSecurityGroupRequest
- func (o *CreateSecurityGroupRequest) GetDescription() string
- func (o *CreateSecurityGroupRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateSecurityGroupRequest) GetName() string
- func (o *CreateSecurityGroupRequest) GetNameOk() (*string, bool)
- func (o *CreateSecurityGroupRequest) HasDescription() bool
- func (o *CreateSecurityGroupRequest) HasName() bool
- func (o CreateSecurityGroupRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSecurityGroupRequest) SetDescription(v string)
- func (o *CreateSecurityGroupRequest) SetName(v string)
- func (o CreateSecurityGroupRequest) ToMap() (map[string]interface{}, error)
- type CreateSecurityGroupRuleRequest
- func (o *CreateSecurityGroupRuleRequest) GetDescription() string
- func (o *CreateSecurityGroupRuleRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateSecurityGroupRuleRequest) GetDirection() string
- func (o *CreateSecurityGroupRuleRequest) GetDirectionOk() (*string, bool)
- func (o *CreateSecurityGroupRuleRequest) GetIps() []string
- func (o *CreateSecurityGroupRuleRequest) GetIpsOk() ([]string, bool)
- func (o *CreateSecurityGroupRuleRequest) GetPortFrom() map[string]interface{}
- func (o *CreateSecurityGroupRuleRequest) GetPortFromOk() (map[string]interface{}, bool)
- func (o *CreateSecurityGroupRuleRequest) GetPortTo() map[string]interface{}
- func (o *CreateSecurityGroupRuleRequest) GetPortToOk() (map[string]interface{}, bool)
- func (o *CreateSecurityGroupRuleRequest) GetProtocol() string
- func (o *CreateSecurityGroupRuleRequest) GetProtocolOk() (*string, bool)
- func (o *CreateSecurityGroupRuleRequest) HasDescription() bool
- func (o *CreateSecurityGroupRuleRequest) HasDirection() bool
- func (o *CreateSecurityGroupRuleRequest) HasIps() bool
- func (o *CreateSecurityGroupRuleRequest) HasPortFrom() bool
- func (o *CreateSecurityGroupRuleRequest) HasPortTo() bool
- func (o *CreateSecurityGroupRuleRequest) HasProtocol() bool
- func (o CreateSecurityGroupRuleRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSecurityGroupRuleRequest) SetDescription(v string)
- func (o *CreateSecurityGroupRuleRequest) SetDirection(v string)
- func (o *CreateSecurityGroupRuleRequest) SetIps(v []string)
- func (o *CreateSecurityGroupRuleRequest) SetPortFrom(v map[string]interface{})
- func (o *CreateSecurityGroupRuleRequest) SetPortTo(v map[string]interface{})
- func (o *CreateSecurityGroupRuleRequest) SetProtocol(v string)
- func (o CreateSecurityGroupRuleRequest) ToMap() (map[string]interface{}, error)
- type CreateServerRequest
- func (o *CreateServerRequest) GetBackupId() string
- func (o *CreateServerRequest) GetBackupIdOk() (*string, bool)
- func (o *CreateServerRequest) GetCount() int64
- func (o *CreateServerRequest) GetCountOk() (*int64, bool)
- func (o *CreateServerRequest) GetCreateType() string
- func (o *CreateServerRequest) GetCreateTypeOk() (*string, bool)
- func (o *CreateServerRequest) GetDiskSize() int64
- func (o *CreateServerRequest) GetDiskSizeOk() (*int64, bool)
- func (o *CreateServerRequest) GetFlavorId() string
- func (o *CreateServerRequest) GetFlavorIdOk() (*string, bool)
- func (o *CreateServerRequest) GetHaEnabled() bool
- func (o *CreateServerRequest) GetHaEnabledOk() (*bool, bool)
- func (o *CreateServerRequest) GetImageId() string
- func (o *CreateServerRequest) GetImageIdOk() (*string, bool)
- func (o *CreateServerRequest) GetInitScript() string
- func (o *CreateServerRequest) GetInitScriptOk() (*string, bool)
- func (o *CreateServerRequest) GetIsSandbox() bool
- func (o *CreateServerRequest) GetIsSandboxOk() (*bool, bool)
- func (o *CreateServerRequest) GetKeyName() map[string]interface{}
- func (o *CreateServerRequest) GetKeyNameOk() (map[string]interface{}, bool)
- func (o *CreateServerRequest) GetName() string
- func (o *CreateServerRequest) GetNameOk() (*string, bool)
- func (o *CreateServerRequest) GetNetworkId() string
- func (o *CreateServerRequest) GetNetworkIdOk() (*string, bool)
- func (o *CreateServerRequest) GetNetworkIds() []string
- func (o *CreateServerRequest) GetNetworkIdsOk() ([]string, bool)
- func (o *CreateServerRequest) GetOsVolumeId() string
- func (o *CreateServerRequest) GetOsVolumeIdOk() (*string, bool)
- func (o *CreateServerRequest) GetSecurityGroups() []SecurityGroupName
- func (o *CreateServerRequest) GetSecurityGroupsOk() ([]SecurityGroupName, bool)
- func (o *CreateServerRequest) GetServerVolumes() []ServerVolume
- func (o *CreateServerRequest) GetServerVolumesOk() ([]ServerVolume, bool)
- func (o *CreateServerRequest) GetSshKey() bool
- func (o *CreateServerRequest) GetSshKeyOk() (*bool, bool)
- func (o *CreateServerRequest) HasBackupId() bool
- func (o *CreateServerRequest) HasCount() bool
- func (o *CreateServerRequest) HasCreateType() bool
- func (o *CreateServerRequest) HasDiskSize() bool
- func (o *CreateServerRequest) HasFlavorId() bool
- func (o *CreateServerRequest) HasHaEnabled() bool
- func (o *CreateServerRequest) HasImageId() bool
- func (o *CreateServerRequest) HasInitScript() bool
- func (o *CreateServerRequest) HasIsSandbox() bool
- func (o *CreateServerRequest) HasKeyName() bool
- func (o *CreateServerRequest) HasName() bool
- func (o *CreateServerRequest) HasNetworkId() bool
- func (o *CreateServerRequest) HasNetworkIds() bool
- func (o *CreateServerRequest) HasOsVolumeId() bool
- func (o *CreateServerRequest) HasSecurityGroups() bool
- func (o *CreateServerRequest) HasServerVolumes() bool
- func (o *CreateServerRequest) HasSshKey() bool
- func (o CreateServerRequest) MarshalJSON() ([]byte, error)
- func (o *CreateServerRequest) SetBackupId(v string)
- func (o *CreateServerRequest) SetCount(v int64)
- func (o *CreateServerRequest) SetCreateType(v string)
- func (o *CreateServerRequest) SetDiskSize(v int64)
- func (o *CreateServerRequest) SetFlavorId(v string)
- func (o *CreateServerRequest) SetHaEnabled(v bool)
- func (o *CreateServerRequest) SetImageId(v string)
- func (o *CreateServerRequest) SetInitScript(v string)
- func (o *CreateServerRequest) SetIsSandbox(v bool)
- func (o *CreateServerRequest) SetKeyName(v map[string]interface{})
- func (o *CreateServerRequest) SetName(v string)
- func (o *CreateServerRequest) SetNetworkId(v string)
- func (o *CreateServerRequest) SetNetworkIds(v []string)
- func (o *CreateServerRequest) SetOsVolumeId(v string)
- func (o *CreateServerRequest) SetSecurityGroups(v []SecurityGroupName)
- func (o *CreateServerRequest) SetServerVolumes(v []ServerVolume)
- func (o *CreateServerRequest) SetSshKey(v bool)
- func (o CreateServerRequest) ToMap() (map[string]interface{}, error)
- type CreateSnapshotFromVolumeRequest
- func (o *CreateSnapshotFromVolumeRequest) GetDescription() string
- func (o *CreateSnapshotFromVolumeRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateSnapshotFromVolumeRequest) GetName() string
- func (o *CreateSnapshotFromVolumeRequest) GetNameOk() (*string, bool)
- func (o *CreateSnapshotFromVolumeRequest) HasDescription() bool
- func (o *CreateSnapshotFromVolumeRequest) HasName() bool
- func (o CreateSnapshotFromVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSnapshotFromVolumeRequest) SetDescription(v string)
- func (o *CreateSnapshotFromVolumeRequest) SetName(v string)
- func (o CreateSnapshotFromVolumeRequest) ToMap() (map[string]interface{}, error)
- type CreateTagRequest
- func (o *CreateTagRequest) GetTagName() string
- func (o *CreateTagRequest) GetTagNameOk() (*string, bool)
- func (o *CreateTagRequest) HasTagName() bool
- func (o CreateTagRequest) MarshalJSON() ([]byte, error)
- func (o *CreateTagRequest) SetTagName(v string)
- func (o CreateTagRequest) ToMap() (map[string]interface{}, error)
- type CreateVolumeFromSnapshotRequest
- func (o *CreateVolumeFromSnapshotRequest) GetDescription() string
- func (o *CreateVolumeFromSnapshotRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateVolumeFromSnapshotRequest) GetName() string
- func (o *CreateVolumeFromSnapshotRequest) GetNameOk() (*string, bool)
- func (o *CreateVolumeFromSnapshotRequest) HasDescription() bool
- func (o *CreateVolumeFromSnapshotRequest) HasName() bool
- func (o CreateVolumeFromSnapshotRequest) MarshalJSON() ([]byte, error)
- func (o *CreateVolumeFromSnapshotRequest) SetDescription(v string)
- func (o *CreateVolumeFromSnapshotRequest) SetName(v string)
- func (o CreateVolumeFromSnapshotRequest) ToMap() (map[string]interface{}, error)
- type CreateVolumeRequest
- func (o *CreateVolumeRequest) GetDescription() string
- func (o *CreateVolumeRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateVolumeRequest) GetName() string
- func (o *CreateVolumeRequest) GetNameOk() (*string, bool)
- func (o *CreateVolumeRequest) GetSize() int32
- func (o *CreateVolumeRequest) GetSizeOk() (*int32, bool)
- func (o *CreateVolumeRequest) HasDescription() bool
- func (o *CreateVolumeRequest) HasName() bool
- func (o *CreateVolumeRequest) HasSize() bool
- func (o CreateVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *CreateVolumeRequest) SetDescription(v string)
- func (o *CreateVolumeRequest) SetName(v string)
- func (o *CreateVolumeRequest) SetSize(v int32)
- func (o CreateVolumeRequest) ToMap() (map[string]interface{}, error)
- type DeleteServerReasonAnswer
- func (o *DeleteServerReasonAnswer) GetAnswer() string
- func (o *DeleteServerReasonAnswer) GetAnswerOk() (*string, bool)
- func (o *DeleteServerReasonAnswer) GetId() string
- func (o *DeleteServerReasonAnswer) GetIdOk() (*string, bool)
- func (o *DeleteServerReasonAnswer) HasAnswer() bool
- func (o *DeleteServerReasonAnswer) HasId() bool
- func (o DeleteServerReasonAnswer) MarshalJSON() ([]byte, error)
- func (o *DeleteServerReasonAnswer) SetAnswer(v string)
- func (o *DeleteServerReasonAnswer) SetId(v string)
- func (o DeleteServerReasonAnswer) ToMap() (map[string]interface{}, error)
- type DeleteServerReasons
- func (o *DeleteServerReasons) GetReasons() []DeleteServerReasonAnswer
- func (o *DeleteServerReasons) GetReasonsOk() ([]DeleteServerReasonAnswer, bool)
- func (o *DeleteServerReasons) HasReasons() bool
- func (o DeleteServerReasons) MarshalJSON() ([]byte, error)
- func (o *DeleteServerReasons) SetReasons(v []DeleteServerReasonAnswer)
- func (o DeleteServerReasons) ToMap() (map[string]interface{}, error)
- type DetachFloatIPRequest
- func (o *DetachFloatIPRequest) GetPortId() string
- func (o *DetachFloatIPRequest) GetPortIdOk() (*string, bool)
- func (o *DetachFloatIPRequest) HasPortId() bool
- func (o DetachFloatIPRequest) MarshalJSON() ([]byte, error)
- func (o *DetachFloatIPRequest) SetPortId(v string)
- func (o DetachFloatIPRequest) ToMap() (map[string]interface{}, error)
- type DetachNetworkFromServerRequest
- func (o *DetachNetworkFromServerRequest) GetServerId() string
- func (o *DetachNetworkFromServerRequest) GetServerIdOk() (*string, bool)
- func (o *DetachNetworkFromServerRequest) HasServerId() bool
- func (o DetachNetworkFromServerRequest) MarshalJSON() ([]byte, error)
- func (o *DetachNetworkFromServerRequest) SetServerId(v string)
- func (o DetachNetworkFromServerRequest) ToMap() (map[string]interface{}, error)
- type DetachPortSecurityRequest
- func (o *DetachPortSecurityRequest) GetSecurityGroupId() string
- func (o *DetachPortSecurityRequest) GetSecurityGroupIdOk() (*string, bool)
- func (o *DetachPortSecurityRequest) HasSecurityGroupId() bool
- func (o DetachPortSecurityRequest) MarshalJSON() ([]byte, error)
- func (o *DetachPortSecurityRequest) SetSecurityGroupId(v string)
- func (o DetachPortSecurityRequest) ToMap() (map[string]interface{}, error)
- type DetachTagRequest
- func (o *DetachTagRequest) GetInstanceId() string
- func (o *DetachTagRequest) GetInstanceIdOk() (*string, bool)
- func (o *DetachTagRequest) GetInstanceType() string
- func (o *DetachTagRequest) GetInstanceTypeOk() (*string, bool)
- func (o *DetachTagRequest) HasInstanceId() bool
- func (o *DetachTagRequest) HasInstanceType() bool
- func (o DetachTagRequest) MarshalJSON() ([]byte, error)
- func (o *DetachTagRequest) SetInstanceId(v string)
- func (o *DetachTagRequest) SetInstanceType(v string)
- func (o DetachTagRequest) ToMap() (map[string]interface{}, error)
- type ErrorResponse
- func (o *ErrorResponse) GetErrors() []string
- func (o *ErrorResponse) GetErrorsOk() ([]string, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) HasErrors() bool
- func (o *ErrorResponse) HasMessage() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetErrors(v []string)
- func (o *ErrorResponse) SetMessage(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type FloatIP
- func (o *FloatIP) GetCreatedAt() string
- func (o *FloatIP) GetCreatedAtOk() (*string, bool)
- func (o *FloatIP) GetDescription() string
- func (o *FloatIP) GetDescriptionOk() (*string, bool)
- func (o *FloatIP) GetFixedIpAddress() string
- func (o *FloatIP) GetFixedIpAddressOk() (*string, bool)
- func (o *FloatIP) GetFloatingIpAddress() string
- func (o *FloatIP) GetFloatingIpAddressOk() (*string, bool)
- func (o *FloatIP) GetFloatingNetworkId() string
- func (o *FloatIP) GetFloatingNetworkIdOk() (*string, bool)
- func (o *FloatIP) GetId() string
- func (o *FloatIP) GetIdOk() (*string, bool)
- func (o *FloatIP) GetPortId() string
- func (o *FloatIP) GetPortIdOk() (*string, bool)
- func (o *FloatIP) GetRevisionNumber() string
- func (o *FloatIP) GetRevisionNumberOk() (*string, bool)
- func (o *FloatIP) GetRouterId() string
- func (o *FloatIP) GetRouterIdOk() (*string, bool)
- func (o *FloatIP) GetServer() ServerDetail
- func (o *FloatIP) GetServerOk() (*ServerDetail, bool)
- func (o *FloatIP) GetStatus() string
- func (o *FloatIP) GetStatusOk() (*string, bool)
- func (o *FloatIP) GetTags() []string
- func (o *FloatIP) GetTagsOk() ([]string, bool)
- func (o *FloatIP) GetUpdatedAt() string
- func (o *FloatIP) GetUpdatedAtOk() (*string, bool)
- func (o *FloatIP) HasCreatedAt() bool
- func (o *FloatIP) HasDescription() bool
- func (o *FloatIP) HasFixedIpAddress() bool
- func (o *FloatIP) HasFloatingIpAddress() bool
- func (o *FloatIP) HasFloatingNetworkId() bool
- func (o *FloatIP) HasId() bool
- func (o *FloatIP) HasPortId() bool
- func (o *FloatIP) HasRevisionNumber() bool
- func (o *FloatIP) HasRouterId() bool
- func (o *FloatIP) HasServer() bool
- func (o *FloatIP) HasStatus() bool
- func (o *FloatIP) HasTags() bool
- func (o *FloatIP) HasUpdatedAt() bool
- func (o FloatIP) MarshalJSON() ([]byte, error)
- func (o *FloatIP) SetCreatedAt(v string)
- func (o *FloatIP) SetDescription(v string)
- func (o *FloatIP) SetFixedIpAddress(v string)
- func (o *FloatIP) SetFloatingIpAddress(v string)
- func (o *FloatIP) SetFloatingNetworkId(v string)
- func (o *FloatIP) SetId(v string)
- func (o *FloatIP) SetPortId(v string)
- func (o *FloatIP) SetRevisionNumber(v string)
- func (o *FloatIP) SetRouterId(v string)
- func (o *FloatIP) SetServer(v ServerDetail)
- func (o *FloatIP) SetStatus(v string)
- func (o *FloatIP) SetTags(v []string)
- func (o *FloatIP) SetUpdatedAt(v string)
- func (o FloatIP) ToMap() (map[string]interface{}, error)
- type FloatIPAttachRequest
- func (o *FloatIPAttachRequest) GetPortId() string
- func (o *FloatIPAttachRequest) GetPortIdOk() (*string, bool)
- func (o *FloatIPAttachRequest) GetServerId() string
- func (o *FloatIPAttachRequest) GetServerIdOk() (*string, bool)
- func (o *FloatIPAttachRequest) GetSubnetId() string
- func (o *FloatIPAttachRequest) GetSubnetIdOk() (*string, bool)
- func (o *FloatIPAttachRequest) HasPortId() bool
- func (o *FloatIPAttachRequest) HasServerId() bool
- func (o *FloatIPAttachRequest) HasSubnetId() bool
- func (o FloatIPAttachRequest) MarshalJSON() ([]byte, error)
- func (o *FloatIPAttachRequest) SetPortId(v string)
- func (o *FloatIPAttachRequest) SetServerId(v string)
- func (o *FloatIPAttachRequest) SetSubnetId(v string)
- func (o FloatIPAttachRequest) ToMap() (map[string]interface{}, error)
- type FloatingIPsAPIAttachFloatIPToServerRequest
- type FloatingIPsAPICreateFloatingIPRequest
- type FloatingIPsAPIDeleteFloatingIPRequest
- type FloatingIPsAPIDetachFloatIPFromServerRequest
- type FloatingIPsAPIGetAllFloatingIPsRequest
- type FloatingIPsAPIGetFloatingIPInternalIPsRequest
- type FloatingIPsAPIService
- func (a *FloatingIPsAPIService) AttachFloatIPToServer(ctx context.Context, region string, id string) FloatingIPsAPIAttachFloatIPToServerRequest
- func (a *FloatingIPsAPIService) AttachFloatIPToServerExecute(r FloatingIPsAPIAttachFloatIPToServerRequest) (*MessageResponse, *http.Response, error)
- func (a *FloatingIPsAPIService) CreateFloatingIP(ctx context.Context, region string) FloatingIPsAPICreateFloatingIPRequest
- func (a *FloatingIPsAPIService) CreateFloatingIPExecute(r FloatingIPsAPICreateFloatingIPRequest) (*FloatIP, *http.Response, error)
- func (a *FloatingIPsAPIService) DeleteFloatingIP(ctx context.Context, region string) FloatingIPsAPIDeleteFloatingIPRequest
- func (a *FloatingIPsAPIService) DeleteFloatingIPExecute(r FloatingIPsAPIDeleteFloatingIPRequest) (*MessageResponse, *http.Response, error)
- func (a *FloatingIPsAPIService) DetachFloatIPFromServer(ctx context.Context, region string) FloatingIPsAPIDetachFloatIPFromServerRequest
- func (a *FloatingIPsAPIService) DetachFloatIPFromServerExecute(r FloatingIPsAPIDetachFloatIPFromServerRequest) (*MessageResponse, *http.Response, error)
- func (a *FloatingIPsAPIService) GetAllFloatingIPs(ctx context.Context, region string) FloatingIPsAPIGetAllFloatingIPsRequest
- func (a *FloatingIPsAPIService) GetAllFloatingIPsExecute(r FloatingIPsAPIGetAllFloatingIPsRequest) (*FloatIP, *http.Response, error)
- func (a *FloatingIPsAPIService) GetFloatingIPInternalIPs(ctx context.Context, region string) FloatingIPsAPIGetFloatingIPInternalIPsRequest
- func (a *FloatingIPsAPIService) GetFloatingIPInternalIPsExecute(r FloatingIPsAPIGetFloatingIPInternalIPsRequest) (*ServerIPInfo, *http.Response, error)
- type FullIP
- func (o *FullIP) GetFloatIp() map[string]interface{}
- func (o *FullIP) GetFloatIpOk() (map[string]interface{}, bool)
- func (o *FullIP) GetIp() string
- func (o *FullIP) GetIpOk() (*string, bool)
- func (o *FullIP) GetMacAddress() string
- func (o *FullIP) GetMacAddressOk() (*string, bool)
- func (o *FullIP) GetPortId() string
- func (o *FullIP) GetPortIdOk() (*string, bool)
- func (o *FullIP) GetPortSecurityEnabled() bool
- func (o *FullIP) GetPortSecurityEnabledOk() (*bool, bool)
- func (o *FullIP) GetPtr() map[string]interface{}
- func (o *FullIP) GetPtrOk() (map[string]interface{}, bool)
- func (o *FullIP) GetPublic() bool
- func (o *FullIP) GetPublicOk() (*bool, bool)
- func (o *FullIP) GetSecurityGroups() []PortSecGroupData
- func (o *FullIP) GetSecurityGroupsOk() ([]PortSecGroupData, bool)
- func (o *FullIP) GetSubnetId() string
- func (o *FullIP) GetSubnetIdOk() (*string, bool)
- func (o *FullIP) GetSubnetName() string
- func (o *FullIP) GetSubnetNameOk() (*string, bool)
- func (o *FullIP) GetVersion() string
- func (o *FullIP) GetVersionOk() (*string, bool)
- func (o *FullIP) HasFloatIp() bool
- func (o *FullIP) HasIp() bool
- func (o *FullIP) HasMacAddress() bool
- func (o *FullIP) HasPortId() bool
- func (o *FullIP) HasPortSecurityEnabled() bool
- func (o *FullIP) HasPtr() bool
- func (o *FullIP) HasPublic() bool
- func (o *FullIP) HasSecurityGroups() bool
- func (o *FullIP) HasSubnetId() bool
- func (o *FullIP) HasSubnetName() bool
- func (o *FullIP) HasVersion() bool
- func (o FullIP) MarshalJSON() ([]byte, error)
- func (o *FullIP) SetFloatIp(v map[string]interface{})
- func (o *FullIP) SetIp(v string)
- func (o *FullIP) SetMacAddress(v string)
- func (o *FullIP) SetPortId(v string)
- func (o *FullIP) SetPortSecurityEnabled(v bool)
- func (o *FullIP) SetPtr(v map[string]interface{})
- func (o *FullIP) SetPublic(v bool)
- func (o *FullIP) SetSecurityGroups(v []PortSecGroupData)
- func (o *FullIP) SetSubnetId(v string)
- func (o *FullIP) SetSubnetName(v string)
- func (o *FullIP) SetVersion(v string)
- func (o FullIP) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type GetServerActionsResponse
- func (o *GetServerActionsResponse) GetAction() string
- func (o *GetServerActionsResponse) GetActionOk() (*string, bool)
- func (o *GetServerActionsResponse) GetMessage() string
- func (o *GetServerActionsResponse) GetMessageOk() (*string, bool)
- func (o *GetServerActionsResponse) GetStartTime() string
- func (o *GetServerActionsResponse) GetStartTimeOk() (*string, bool)
- func (o *GetServerActionsResponse) HasAction() bool
- func (o *GetServerActionsResponse) HasMessage() bool
- func (o *GetServerActionsResponse) HasStartTime() bool
- func (o GetServerActionsResponse) MarshalJSON() ([]byte, error)
- func (o *GetServerActionsResponse) SetAction(v string)
- func (o *GetServerActionsResponse) SetMessage(v string)
- func (o *GetServerActionsResponse) SetStartTime(v string)
- func (o GetServerActionsResponse) ToMap() (map[string]interface{}, error)
- type GetServerVNCRequest
- func (o *GetServerVNCRequest) GetUrl() string
- func (o *GetServerVNCRequest) GetUrlOk() (*string, bool)
- func (o *GetServerVNCRequest) HasUrl() bool
- func (o GetServerVNCRequest) MarshalJSON() ([]byte, error)
- func (o *GetServerVNCRequest) SetUrl(v string)
- func (o GetServerVNCRequest) ToMap() (map[string]interface{}, error)
- type GroupInstance
- func (o *GroupInstance) GetId() string
- func (o *GroupInstance) GetIdOk() (*string, bool)
- func (o *GroupInstance) GetIps() []string
- func (o *GroupInstance) GetIpsOk() ([]string, bool)
- func (o *GroupInstance) GetName() string
- func (o *GroupInstance) GetNameOk() (*string, bool)
- func (o *GroupInstance) HasId() bool
- func (o *GroupInstance) HasIps() bool
- func (o *GroupInstance) HasName() bool
- func (o GroupInstance) MarshalJSON() ([]byte, error)
- func (o *GroupInstance) SetId(v string)
- func (o *GroupInstance) SetIps(v []string)
- func (o *GroupInstance) SetName(v string)
- func (o GroupInstance) ToMap() (map[string]interface{}, error)
- type HostRoute
- func (o *HostRoute) GetDestination() string
- func (o *HostRoute) GetDestinationOk() (*string, bool)
- func (o *HostRoute) GetNexthop() string
- func (o *HostRoute) GetNexthopOk() (*string, bool)
- func (o *HostRoute) HasDestination() bool
- func (o *HostRoute) HasNexthop() bool
- func (o HostRoute) MarshalJSON() ([]byte, error)
- func (o *HostRoute) SetDestination(v string)
- func (o *HostRoute) SetNexthop(v string)
- func (o HostRoute) ToMap() (map[string]interface{}, error)
- type IOPSAndThroughput
- func (o *IOPSAndThroughput) GetHdd() int64
- func (o *IOPSAndThroughput) GetHddOk() (*int64, bool)
- func (o *IOPSAndThroughput) GetSsd() int64
- func (o *IOPSAndThroughput) GetSsdOk() (*int64, bool)
- func (o *IOPSAndThroughput) HasHdd() bool
- func (o *IOPSAndThroughput) HasSsd() bool
- func (o IOPSAndThroughput) MarshalJSON() ([]byte, error)
- func (o *IOPSAndThroughput) SetHdd(v int64)
- func (o *IOPSAndThroughput) SetSsd(v int64)
- func (o IOPSAndThroughput) ToMap() (map[string]interface{}, error)
- type IPInfo
- func (o *IPInfo) GetAddress() string
- func (o *IPInfo) GetAddressOk() (*string, bool)
- func (o *IPInfo) GetGatewayAddress() string
- func (o *IPInfo) GetGatewayAddressOk() (*string, bool)
- func (o *IPInfo) GetPortId() string
- func (o *IPInfo) GetPortIdOk() (*string, bool)
- func (o *IPInfo) GetSubnetId() string
- func (o *IPInfo) GetSubnetIdOk() (*string, bool)
- func (o *IPInfo) GetType() string
- func (o *IPInfo) GetTypeOk() (*string, bool)
- func (o *IPInfo) HasAddress() bool
- func (o *IPInfo) HasGatewayAddress() bool
- func (o *IPInfo) HasPortId() bool
- func (o *IPInfo) HasSubnetId() bool
- func (o *IPInfo) HasType() bool
- func (o IPInfo) MarshalJSON() ([]byte, error)
- func (o *IPInfo) SetAddress(v string)
- func (o *IPInfo) SetGatewayAddress(v string)
- func (o *IPInfo) SetPortId(v string)
- func (o *IPInfo) SetSubnetId(v string)
- func (o *IPInfo) SetType(v string)
- func (o IPInfo) ToMap() (map[string]interface{}, error)
- type ImageList
- func (o *ImageList) GetDisplay() bool
- func (o *ImageList) GetDisplayOk() (*bool, bool)
- func (o *ImageList) GetImages() []ImgDistributionItem
- func (o *ImageList) GetImagesOk() ([]ImgDistributionItem, bool)
- func (o *ImageList) GetName() string
- func (o *ImageList) GetNameOk() (*string, bool)
- func (o *ImageList) HasDisplay() bool
- func (o *ImageList) HasImages() bool
- func (o *ImageList) HasName() bool
- func (o ImageList) MarshalJSON() ([]byte, error)
- func (o *ImageList) SetDisplay(v bool)
- func (o *ImageList) SetImages(v []ImgDistributionItem)
- func (o *ImageList) SetName(v string)
- func (o ImageList) ToMap() (map[string]interface{}, error)
- type ImagesAPIAppendDataToImageRequest
- type ImagesAPIDeleteImageRequest
- type ImagesAPIGetImagesRequest
- type ImagesAPIImportImageFromURLRequest
- type ImagesAPIService
- func (a *ImagesAPIService) AppendDataToImage(ctx context.Context, region string) ImagesAPIAppendDataToImageRequest
- func (a *ImagesAPIService) AppendDataToImageExecute(r ImagesAPIAppendDataToImageRequest) (*MessageResponse, *http.Response, error)
- func (a *ImagesAPIService) DeleteImage(ctx context.Context, region string, id string) ImagesAPIDeleteImageRequest
- func (a *ImagesAPIService) DeleteImageExecute(r ImagesAPIDeleteImageRequest) (*MessageResponse, *http.Response, error)
- func (a *ImagesAPIService) GetImages(ctx context.Context, region string) ImagesAPIGetImagesRequest
- func (a *ImagesAPIService) GetImagesExecute(r ImagesAPIGetImagesRequest) (*ImageList, *http.Response, error)
- func (a *ImagesAPIService) ImportImageFromURL(ctx context.Context, region string) ImagesAPIImportImageFromURLRequest
- func (a *ImagesAPIService) ImportImageFromURLExecute(r ImagesAPIImportImageFromURLRequest) (*MessageResponse, *http.Response, error)
- func (a *ImagesAPIService) UploadImage(ctx context.Context, region string) ImagesAPIUploadImageRequest
- func (a *ImagesAPIService) UploadImageExecute(r ImagesAPIUploadImageRequest) (*MessageResponse, *http.Response, error)
- type ImagesAPIUploadImageRequest
- func (r ImagesAPIUploadImageRequest) Execute() (*MessageResponse, *http.Response, error)
- func (r ImagesAPIUploadImageRequest) TusResumable(tusResumable string) ImagesAPIUploadImageRequest
- func (r ImagesAPIUploadImageRequest) UploadLength(uploadLength int32) ImagesAPIUploadImageRequest
- func (r ImagesAPIUploadImageRequest) UploadMetadata(uploadMetadata string) ImagesAPIUploadImageRequest
- type ImgDistributionItem
- func (o *ImgDistributionItem) GetDisk() int64
- func (o *ImgDistributionItem) GetDiskOk() (*int64, bool)
- func (o *ImgDistributionItem) GetDistributionName() string
- func (o *ImgDistributionItem) GetDistributionNameOk() (*string, bool)
- func (o *ImgDistributionItem) GetId() string
- func (o *ImgDistributionItem) GetIdOk() (*string, bool)
- func (o *ImgDistributionItem) GetName() string
- func (o *ImgDistributionItem) GetNameOk() (*string, bool)
- func (o *ImgDistributionItem) GetOsDescription() string
- func (o *ImgDistributionItem) GetOsDescriptionOk() (*string, bool)
- func (o *ImgDistributionItem) GetRam() int64
- func (o *ImgDistributionItem) GetRamOk() (*int64, bool)
- func (o *ImgDistributionItem) GetSshKey() bool
- func (o *ImgDistributionItem) GetSshKeyOk() (*bool, bool)
- func (o *ImgDistributionItem) GetSshPassword() bool
- func (o *ImgDistributionItem) GetSshPasswordOk() (*bool, bool)
- func (o *ImgDistributionItem) HasDisk() bool
- func (o *ImgDistributionItem) HasDistributionName() bool
- func (o *ImgDistributionItem) HasId() bool
- func (o *ImgDistributionItem) HasName() bool
- func (o *ImgDistributionItem) HasOsDescription() bool
- func (o *ImgDistributionItem) HasRam() bool
- func (o *ImgDistributionItem) HasSshKey() bool
- func (o *ImgDistributionItem) HasSshPassword() bool
- func (o ImgDistributionItem) MarshalJSON() ([]byte, error)
- func (o *ImgDistributionItem) SetDisk(v int64)
- func (o *ImgDistributionItem) SetDistributionName(v string)
- func (o *ImgDistributionItem) SetId(v string)
- func (o *ImgDistributionItem) SetName(v string)
- func (o *ImgDistributionItem) SetOsDescription(v string)
- func (o *ImgDistributionItem) SetRam(v int64)
- func (o *ImgDistributionItem) SetSshKey(v bool)
- func (o *ImgDistributionItem) SetSshPassword(v bool)
- func (o ImgDistributionItem) ToMap() (map[string]interface{}, error)
- type ImgDoc
- func (o *ImgDoc) GetLink() string
- func (o *ImgDoc) GetLinkOk() (*string, bool)
- func (o *ImgDoc) GetName() string
- func (o *ImgDoc) GetNameOk() (*string, bool)
- func (o *ImgDoc) HasLink() bool
- func (o *ImgDoc) HasName() bool
- func (o ImgDoc) MarshalJSON() ([]byte, error)
- func (o *ImgDoc) SetLink(v string)
- func (o *ImgDoc) SetName(v string)
- func (o ImgDoc) ToMap() (map[string]interface{}, error)
- type ImportImageRequest
- func (o *ImportImageRequest) GetMinDisk() int64
- func (o *ImportImageRequest) GetMinDiskOk() (*int64, bool)
- func (o *ImportImageRequest) GetMinRam() int64
- func (o *ImportImageRequest) GetMinRamOk() (*int64, bool)
- func (o *ImportImageRequest) GetName() string
- func (o *ImportImageRequest) GetNameOk() (*string, bool)
- func (o *ImportImageRequest) GetUrl() string
- func (o *ImportImageRequest) GetUrlOk() (*string, bool)
- func (o *ImportImageRequest) HasMinDisk() bool
- func (o *ImportImageRequest) HasMinRam() bool
- func (o *ImportImageRequest) HasName() bool
- func (o *ImportImageRequest) HasUrl() bool
- func (o ImportImageRequest) MarshalJSON() ([]byte, error)
- func (o *ImportImageRequest) SetMinDisk(v int64)
- func (o *ImportImageRequest) SetMinRam(v int64)
- func (o *ImportImageRequest) SetName(v string)
- func (o *ImportImageRequest) SetUrl(v string)
- func (o ImportImageRequest) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type MaxIOPSAndThroughput
- func (o *MaxIOPSAndThroughput) GetHdd() string
- func (o *MaxIOPSAndThroughput) GetHddOk() (*string, bool)
- func (o *MaxIOPSAndThroughput) GetSsd() string
- func (o *MaxIOPSAndThroughput) GetSsdOk() (*string, bool)
- func (o *MaxIOPSAndThroughput) HasHdd() bool
- func (o *MaxIOPSAndThroughput) HasSsd() bool
- func (o MaxIOPSAndThroughput) MarshalJSON() ([]byte, error)
- func (o *MaxIOPSAndThroughput) SetHdd(v string)
- func (o *MaxIOPSAndThroughput) SetSsd(v string)
- func (o MaxIOPSAndThroughput) ToMap() (map[string]interface{}, error)
- type MessageResponse
- func (o *MessageResponse) GetMessage() string
- func (o *MessageResponse) GetMessageOk() (*string, bool)
- func (o *MessageResponse) HasMessage() bool
- func (o MessageResponse) MarshalJSON() ([]byte, error)
- func (o *MessageResponse) SetMessage(v string)
- func (o MessageResponse) ToMap() (map[string]interface{}, error)
- type Network
- func (o *Network) GetAdminStateUp() bool
- func (o *Network) GetAdminStateUpOk() (*bool, bool)
- func (o *Network) GetAvailabilityZoneHints() []string
- func (o *Network) GetAvailabilityZoneHintsOk() ([]string, bool)
- func (o *Network) GetAvailabilityZones() []string
- func (o *Network) GetAvailabilityZonesOk() ([]string, bool)
- func (o *Network) GetCreatedAt() string
- func (o *Network) GetCreatedAtOk() (*string, bool)
- func (o *Network) GetDescription() string
- func (o *Network) GetDescriptionOk() (*string, bool)
- func (o *Network) GetDhcpIp() string
- func (o *Network) GetDhcpIpOk() (*string, bool)
- func (o *Network) GetId() string
- func (o *Network) GetIdOk() (*string, bool)
- func (o *Network) GetIpv4AddressScope() string
- func (o *Network) GetIpv4AddressScopeOk() (*string, bool)
- func (o *Network) GetIpv6AddressScope() string
- func (o *Network) GetIpv6AddressScopeOk() (*string, bool)
- func (o *Network) GetMtu() int64
- func (o *Network) GetMtuOk() (*int64, bool)
- func (o *Network) GetName() string
- func (o *Network) GetNameOk() (*string, bool)
- func (o *Network) GetPortSecurityEnabled() bool
- func (o *Network) GetPortSecurityEnabledOk() (*bool, bool)
- func (o *Network) GetQosPolicyId() string
- func (o *Network) GetQosPolicyIdOk() (*string, bool)
- func (o *Network) GetRevisionNumber() int64
- func (o *Network) GetRevisionNumberOk() (*int64, bool)
- func (o *Network) GetRouterexternal() bool
- func (o *Network) GetRouterexternalOk() (*bool, bool)
- func (o *Network) GetShared() bool
- func (o *Network) GetSharedOk() (*bool, bool)
- func (o *Network) GetStatus() string
- func (o *Network) GetStatusOk() (*string, bool)
- func (o *Network) GetSubnets() []Subnet
- func (o *Network) GetSubnetsOk() ([]Subnet, bool)
- func (o *Network) GetTags() []string
- func (o *Network) GetTagsOk() ([]string, bool)
- func (o *Network) GetTenantId() string
- func (o *Network) GetTenantIdOk() (*string, bool)
- func (o *Network) GetUpdatedAt() string
- func (o *Network) GetUpdatedAtOk() (*string, bool)
- func (o *Network) HasAdminStateUp() bool
- func (o *Network) HasAvailabilityZoneHints() bool
- func (o *Network) HasAvailabilityZones() bool
- func (o *Network) HasCreatedAt() bool
- func (o *Network) HasDescription() bool
- func (o *Network) HasDhcpIp() bool
- func (o *Network) HasId() bool
- func (o *Network) HasIpv4AddressScope() bool
- func (o *Network) HasIpv6AddressScope() bool
- func (o *Network) HasMtu() bool
- func (o *Network) HasName() bool
- func (o *Network) HasPortSecurityEnabled() bool
- func (o *Network) HasQosPolicyId() bool
- func (o *Network) HasRevisionNumber() bool
- func (o *Network) HasRouterexternal() bool
- func (o *Network) HasShared() bool
- func (o *Network) HasStatus() bool
- func (o *Network) HasSubnets() bool
- func (o *Network) HasTags() bool
- func (o *Network) HasTenantId() bool
- func (o *Network) HasUpdatedAt() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetAdminStateUp(v bool)
- func (o *Network) SetAvailabilityZoneHints(v []string)
- func (o *Network) SetAvailabilityZones(v []string)
- func (o *Network) SetCreatedAt(v string)
- func (o *Network) SetDescription(v string)
- func (o *Network) SetDhcpIp(v string)
- func (o *Network) SetId(v string)
- func (o *Network) SetIpv4AddressScope(v string)
- func (o *Network) SetIpv6AddressScope(v string)
- func (o *Network) SetMtu(v int64)
- func (o *Network) SetName(v string)
- func (o *Network) SetPortSecurityEnabled(v bool)
- func (o *Network) SetQosPolicyId(v string)
- func (o *Network) SetRevisionNumber(v int64)
- func (o *Network) SetRouterexternal(v bool)
- func (o *Network) SetShared(v bool)
- func (o *Network) SetStatus(v string)
- func (o *Network) SetSubnets(v []Subnet)
- func (o *Network) SetTags(v []string)
- func (o *Network) SetTenantId(v string)
- func (o *Network) SetUpdatedAt(v string)
- func (o Network) ToMap() (map[string]interface{}, error)
- type NetworkServer
- func (o *NetworkServer) GetAddresses() map[string][]ServerAddress
- func (o *NetworkServer) GetAddressesOk() (*map[string][]ServerAddress, bool)
- func (o *NetworkServer) GetId() string
- func (o *NetworkServer) GetIdOk() (*string, bool)
- func (o *NetworkServer) GetIps() []FullIP
- func (o *NetworkServer) GetIpsOk() ([]FullIP, bool)
- func (o *NetworkServer) GetName() string
- func (o *NetworkServer) GetNameOk() (*string, bool)
- func (o *NetworkServer) GetPublicIp() []PublicIP
- func (o *NetworkServer) GetPublicIpOk() ([]PublicIP, bool)
- func (o *NetworkServer) GetSecurityGroups() []string
- func (o *NetworkServer) GetSecurityGroupsOk() ([]string, bool)
- func (o *NetworkServer) HasAddresses() bool
- func (o *NetworkServer) HasId() bool
- func (o *NetworkServer) HasIps() bool
- func (o *NetworkServer) HasName() bool
- func (o *NetworkServer) HasPublicIp() bool
- func (o *NetworkServer) HasSecurityGroups() bool
- func (o NetworkServer) MarshalJSON() ([]byte, error)
- func (o *NetworkServer) SetAddresses(v map[string][]ServerAddress)
- func (o *NetworkServer) SetId(v string)
- func (o *NetworkServer) SetIps(v []FullIP)
- func (o *NetworkServer) SetName(v string)
- func (o *NetworkServer) SetPublicIp(v []PublicIP)
- func (o *NetworkServer) SetSecurityGroups(v []string)
- func (o NetworkServer) ToMap() (map[string]interface{}, error)
- type NetworksAPIAttachNetworkToServerRequest
- type NetworksAPIDetachNetworkFromServerRequest
- type NetworksAPIGetAllNetworksRequest
- type NetworksAPIService
- func (a *NetworksAPIService) AttachNetworkToServer(ctx context.Context, region string, id string) NetworksAPIAttachNetworkToServerRequest
- func (a *NetworksAPIService) AttachNetworkToServerExecute(r NetworksAPIAttachNetworkToServerRequest) (*MessageResponse, *http.Response, error)
- func (a *NetworksAPIService) DetachNetworkFromServer(ctx context.Context, region string, id string) NetworksAPIDetachNetworkFromServerRequest
- func (a *NetworksAPIService) DetachNetworkFromServerExecute(r NetworksAPIDetachNetworkFromServerRequest) (*MessageResponse, *http.Response, error)
- func (a *NetworksAPIService) GetAllNetworks(ctx context.Context, region string) NetworksAPIGetAllNetworksRequest
- func (a *NetworksAPIService) GetAllNetworksExecute(r NetworksAPIGetAllNetworksRequest) (*Network, *http.Response, error)
- type NullableAddServerPublicIPRequest
- func (v NullableAddServerPublicIPRequest) Get() *AddServerPublicIPRequest
- func (v NullableAddServerPublicIPRequest) IsSet() bool
- func (v NullableAddServerPublicIPRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAddServerPublicIPRequest) Set(val *AddServerPublicIPRequest)
- func (v *NullableAddServerPublicIPRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAddServerPublicIPRequest) Unset()
- type NullableAllocationPool
- func (v NullableAllocationPool) Get() *AllocationPool
- func (v NullableAllocationPool) IsSet() bool
- func (v NullableAllocationPool) MarshalJSON() ([]byte, error)
- func (v *NullableAllocationPool) Set(val *AllocationPool)
- func (v *NullableAllocationPool) UnmarshalJSON(src []byte) error
- func (v *NullableAllocationPool) Unset()
- type NullableAttachPortSecurityRequest
- func (v NullableAttachPortSecurityRequest) Get() *AttachPortSecurityRequest
- func (v NullableAttachPortSecurityRequest) IsSet() bool
- func (v NullableAttachPortSecurityRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAttachPortSecurityRequest) Set(val *AttachPortSecurityRequest)
- func (v *NullableAttachPortSecurityRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAttachPortSecurityRequest) Unset()
- type NullableAttachServerRootVolumeRequest
- func (v NullableAttachServerRootVolumeRequest) Get() *AttachServerRootVolumeRequest
- func (v NullableAttachServerRootVolumeRequest) IsSet() bool
- func (v NullableAttachServerRootVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAttachServerRootVolumeRequest) Set(val *AttachServerRootVolumeRequest)
- func (v *NullableAttachServerRootVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAttachServerRootVolumeRequest) Unset()
- type NullableAttachServerToNetworkRequest
- func (v NullableAttachServerToNetworkRequest) Get() *AttachServerToNetworkRequest
- func (v NullableAttachServerToNetworkRequest) IsSet() bool
- func (v NullableAttachServerToNetworkRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAttachServerToNetworkRequest) Set(val *AttachServerToNetworkRequest)
- func (v *NullableAttachServerToNetworkRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAttachServerToNetworkRequest) Unset()
- type NullableAttachServerToSecurityGroupRequest
- func (v NullableAttachServerToSecurityGroupRequest) Get() *AttachServerToSecurityGroupRequest
- func (v NullableAttachServerToSecurityGroupRequest) IsSet() bool
- func (v NullableAttachServerToSecurityGroupRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAttachServerToSecurityGroupRequest) Set(val *AttachServerToSecurityGroupRequest)
- func (v *NullableAttachServerToSecurityGroupRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAttachServerToSecurityGroupRequest) Unset()
- type NullableAttachTagRequest
- func (v NullableAttachTagRequest) Get() *AttachTagRequest
- func (v NullableAttachTagRequest) IsSet() bool
- func (v NullableAttachTagRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAttachTagRequest) Set(val *AttachTagRequest)
- func (v *NullableAttachTagRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAttachTagRequest) Unset()
- type NullableAttachment
- type NullableBatchTagRequest
- func (v NullableBatchTagRequest) Get() *BatchTagRequest
- func (v NullableBatchTagRequest) IsSet() bool
- func (v NullableBatchTagRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBatchTagRequest) Set(val *BatchTagRequest)
- func (v *NullableBatchTagRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBatchTagRequest) Unset()
- type NullableBool
- type NullableChart
- type NullableChartCollection
- func (v NullableChartCollection) Get() *ChartCollection
- func (v NullableChartCollection) IsSet() bool
- func (v NullableChartCollection) MarshalJSON() ([]byte, error)
- func (v *NullableChartCollection) Set(val *ChartCollection)
- func (v *NullableChartCollection) UnmarshalJSON(src []byte) error
- func (v *NullableChartCollection) Unset()
- type NullableChartDataset
- func (v NullableChartDataset) Get() *ChartDataset
- func (v NullableChartDataset) IsSet() bool
- func (v NullableChartDataset) MarshalJSON() ([]byte, error)
- func (v *NullableChartDataset) Set(val *ChartDataset)
- func (v *NullableChartDataset) UnmarshalJSON(src []byte) error
- func (v *NullableChartDataset) Unset()
- type NullableCreateFloatIPRequest
- func (v NullableCreateFloatIPRequest) Get() *CreateFloatIPRequest
- func (v NullableCreateFloatIPRequest) IsSet() bool
- func (v NullableCreateFloatIPRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFloatIPRequest) Set(val *CreateFloatIPRequest)
- func (v *NullableCreateFloatIPRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFloatIPRequest) Unset()
- type NullableCreateImageFromSnapshotRequest
- func (v NullableCreateImageFromSnapshotRequest) Get() *CreateImageFromSnapshotRequest
- func (v NullableCreateImageFromSnapshotRequest) IsSet() bool
- func (v NullableCreateImageFromSnapshotRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateImageFromSnapshotRequest) Set(val *CreateImageFromSnapshotRequest)
- func (v *NullableCreateImageFromSnapshotRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateImageFromSnapshotRequest) Unset()
- type NullableCreatePTRRequest
- func (v NullableCreatePTRRequest) Get() *CreatePTRRequest
- func (v NullableCreatePTRRequest) IsSet() bool
- func (v NullableCreatePTRRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePTRRequest) Set(val *CreatePTRRequest)
- func (v *NullableCreatePTRRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePTRRequest) Unset()
- type NullableCreatePrivateNetworkRequest
- func (v NullableCreatePrivateNetworkRequest) Get() *CreatePrivateNetworkRequest
- func (v NullableCreatePrivateNetworkRequest) IsSet() bool
- func (v NullableCreatePrivateNetworkRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePrivateNetworkRequest) Set(val *CreatePrivateNetworkRequest)
- func (v *NullableCreatePrivateNetworkRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePrivateNetworkRequest) Unset()
- type NullableCreateSSHKeyRequest
- func (v NullableCreateSSHKeyRequest) Get() *CreateSSHKeyRequest
- func (v NullableCreateSSHKeyRequest) IsSet() bool
- func (v NullableCreateSSHKeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSSHKeyRequest) Set(val *CreateSSHKeyRequest)
- func (v *NullableCreateSSHKeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSSHKeyRequest) Unset()
- type NullableCreateSecurityGroupRequest
- func (v NullableCreateSecurityGroupRequest) Get() *CreateSecurityGroupRequest
- func (v NullableCreateSecurityGroupRequest) IsSet() bool
- func (v NullableCreateSecurityGroupRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSecurityGroupRequest) Set(val *CreateSecurityGroupRequest)
- func (v *NullableCreateSecurityGroupRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSecurityGroupRequest) Unset()
- type NullableCreateSecurityGroupRuleRequest
- func (v NullableCreateSecurityGroupRuleRequest) Get() *CreateSecurityGroupRuleRequest
- func (v NullableCreateSecurityGroupRuleRequest) IsSet() bool
- func (v NullableCreateSecurityGroupRuleRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSecurityGroupRuleRequest) Set(val *CreateSecurityGroupRuleRequest)
- func (v *NullableCreateSecurityGroupRuleRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSecurityGroupRuleRequest) Unset()
- type NullableCreateServerRequest
- func (v NullableCreateServerRequest) Get() *CreateServerRequest
- func (v NullableCreateServerRequest) IsSet() bool
- func (v NullableCreateServerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerRequest) Set(val *CreateServerRequest)
- func (v *NullableCreateServerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerRequest) Unset()
- type NullableCreateSnapshotFromVolumeRequest
- func (v NullableCreateSnapshotFromVolumeRequest) Get() *CreateSnapshotFromVolumeRequest
- func (v NullableCreateSnapshotFromVolumeRequest) IsSet() bool
- func (v NullableCreateSnapshotFromVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSnapshotFromVolumeRequest) Set(val *CreateSnapshotFromVolumeRequest)
- func (v *NullableCreateSnapshotFromVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSnapshotFromVolumeRequest) Unset()
- type NullableCreateTagRequest
- func (v NullableCreateTagRequest) Get() *CreateTagRequest
- func (v NullableCreateTagRequest) IsSet() bool
- func (v NullableCreateTagRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTagRequest) Set(val *CreateTagRequest)
- func (v *NullableCreateTagRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTagRequest) Unset()
- type NullableCreateVolumeFromSnapshotRequest
- func (v NullableCreateVolumeFromSnapshotRequest) Get() *CreateVolumeFromSnapshotRequest
- func (v NullableCreateVolumeFromSnapshotRequest) IsSet() bool
- func (v NullableCreateVolumeFromSnapshotRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVolumeFromSnapshotRequest) Set(val *CreateVolumeFromSnapshotRequest)
- func (v *NullableCreateVolumeFromSnapshotRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVolumeFromSnapshotRequest) Unset()
- type NullableCreateVolumeRequest
- func (v NullableCreateVolumeRequest) Get() *CreateVolumeRequest
- func (v NullableCreateVolumeRequest) IsSet() bool
- func (v NullableCreateVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVolumeRequest) Set(val *CreateVolumeRequest)
- func (v *NullableCreateVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVolumeRequest) Unset()
- type NullableDeleteServerReasonAnswer
- func (v NullableDeleteServerReasonAnswer) Get() *DeleteServerReasonAnswer
- func (v NullableDeleteServerReasonAnswer) IsSet() bool
- func (v NullableDeleteServerReasonAnswer) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteServerReasonAnswer) Set(val *DeleteServerReasonAnswer)
- func (v *NullableDeleteServerReasonAnswer) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteServerReasonAnswer) Unset()
- type NullableDeleteServerReasons
- func (v NullableDeleteServerReasons) Get() *DeleteServerReasons
- func (v NullableDeleteServerReasons) IsSet() bool
- func (v NullableDeleteServerReasons) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteServerReasons) Set(val *DeleteServerReasons)
- func (v *NullableDeleteServerReasons) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteServerReasons) Unset()
- type NullableDetachFloatIPRequest
- func (v NullableDetachFloatIPRequest) Get() *DetachFloatIPRequest
- func (v NullableDetachFloatIPRequest) IsSet() bool
- func (v NullableDetachFloatIPRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDetachFloatIPRequest) Set(val *DetachFloatIPRequest)
- func (v *NullableDetachFloatIPRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDetachFloatIPRequest) Unset()
- type NullableDetachNetworkFromServerRequest
- func (v NullableDetachNetworkFromServerRequest) Get() *DetachNetworkFromServerRequest
- func (v NullableDetachNetworkFromServerRequest) IsSet() bool
- func (v NullableDetachNetworkFromServerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDetachNetworkFromServerRequest) Set(val *DetachNetworkFromServerRequest)
- func (v *NullableDetachNetworkFromServerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDetachNetworkFromServerRequest) Unset()
- type NullableDetachPortSecurityRequest
- func (v NullableDetachPortSecurityRequest) Get() *DetachPortSecurityRequest
- func (v NullableDetachPortSecurityRequest) IsSet() bool
- func (v NullableDetachPortSecurityRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDetachPortSecurityRequest) Set(val *DetachPortSecurityRequest)
- func (v *NullableDetachPortSecurityRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDetachPortSecurityRequest) Unset()
- type NullableDetachTagRequest
- func (v NullableDetachTagRequest) Get() *DetachTagRequest
- func (v NullableDetachTagRequest) IsSet() bool
- func (v NullableDetachTagRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDetachTagRequest) Set(val *DetachTagRequest)
- func (v *NullableDetachTagRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDetachTagRequest) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableFloatIP
- type NullableFloatIPAttachRequest
- func (v NullableFloatIPAttachRequest) Get() *FloatIPAttachRequest
- func (v NullableFloatIPAttachRequest) IsSet() bool
- func (v NullableFloatIPAttachRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFloatIPAttachRequest) Set(val *FloatIPAttachRequest)
- func (v *NullableFloatIPAttachRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFloatIPAttachRequest) Unset()
- type NullableFullIP
- type NullableGetServerActionsResponse
- func (v NullableGetServerActionsResponse) Get() *GetServerActionsResponse
- func (v NullableGetServerActionsResponse) IsSet() bool
- func (v NullableGetServerActionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetServerActionsResponse) Set(val *GetServerActionsResponse)
- func (v *NullableGetServerActionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetServerActionsResponse) Unset()
- type NullableGetServerVNCRequest
- func (v NullableGetServerVNCRequest) Get() *GetServerVNCRequest
- func (v NullableGetServerVNCRequest) IsSet() bool
- func (v NullableGetServerVNCRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetServerVNCRequest) Set(val *GetServerVNCRequest)
- func (v *NullableGetServerVNCRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetServerVNCRequest) Unset()
- type NullableGroupInstance
- func (v NullableGroupInstance) Get() *GroupInstance
- func (v NullableGroupInstance) IsSet() bool
- func (v NullableGroupInstance) MarshalJSON() ([]byte, error)
- func (v *NullableGroupInstance) Set(val *GroupInstance)
- func (v *NullableGroupInstance) UnmarshalJSON(src []byte) error
- func (v *NullableGroupInstance) Unset()
- type NullableHostRoute
- type NullableIOPSAndThroughput
- func (v NullableIOPSAndThroughput) Get() *IOPSAndThroughput
- func (v NullableIOPSAndThroughput) IsSet() bool
- func (v NullableIOPSAndThroughput) MarshalJSON() ([]byte, error)
- func (v *NullableIOPSAndThroughput) Set(val *IOPSAndThroughput)
- func (v *NullableIOPSAndThroughput) UnmarshalJSON(src []byte) error
- func (v *NullableIOPSAndThroughput) Unset()
- type NullableIPInfo
- type NullableImageList
- type NullableImgDistributionItem
- func (v NullableImgDistributionItem) Get() *ImgDistributionItem
- func (v NullableImgDistributionItem) IsSet() bool
- func (v NullableImgDistributionItem) MarshalJSON() ([]byte, error)
- func (v *NullableImgDistributionItem) Set(val *ImgDistributionItem)
- func (v *NullableImgDistributionItem) UnmarshalJSON(src []byte) error
- func (v *NullableImgDistributionItem) Unset()
- type NullableImgDoc
- type NullableImportImageRequest
- func (v NullableImportImageRequest) Get() *ImportImageRequest
- func (v NullableImportImageRequest) IsSet() bool
- func (v NullableImportImageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableImportImageRequest) Set(val *ImportImageRequest)
- func (v *NullableImportImageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableImportImageRequest) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMaxIOPSAndThroughput
- func (v NullableMaxIOPSAndThroughput) Get() *MaxIOPSAndThroughput
- func (v NullableMaxIOPSAndThroughput) IsSet() bool
- func (v NullableMaxIOPSAndThroughput) MarshalJSON() ([]byte, error)
- func (v *NullableMaxIOPSAndThroughput) Set(val *MaxIOPSAndThroughput)
- func (v *NullableMaxIOPSAndThroughput) UnmarshalJSON(src []byte) error
- func (v *NullableMaxIOPSAndThroughput) Unset()
- type NullableMessageResponse
- func (v NullableMessageResponse) Get() *MessageResponse
- func (v NullableMessageResponse) IsSet() bool
- func (v NullableMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMessageResponse) Set(val *MessageResponse)
- func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMessageResponse) Unset()
- type NullableNetwork
- type NullableNetworkServer
- func (v NullableNetworkServer) Get() *NetworkServer
- func (v NullableNetworkServer) IsSet() bool
- func (v NullableNetworkServer) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkServer) Set(val *NetworkServer)
- func (v *NullableNetworkServer) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkServer) Unset()
- type NullablePlan
- type NullablePortSecGroupData
- func (v NullablePortSecGroupData) Get() *PortSecGroupData
- func (v NullablePortSecGroupData) IsSet() bool
- func (v NullablePortSecGroupData) MarshalJSON() ([]byte, error)
- func (v *NullablePortSecGroupData) Set(val *PortSecGroupData)
- func (v *NullablePortSecGroupData) UnmarshalJSON(src []byte) error
- func (v *NullablePortSecGroupData) Unset()
- type NullablePublicIP
- type NullableQuota
- type NullableQuotaValue
- type NullableRebuildImageRequest
- func (v NullableRebuildImageRequest) Get() *RebuildImageRequest
- func (v NullableRebuildImageRequest) IsSet() bool
- func (v NullableRebuildImageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRebuildImageRequest) Set(val *RebuildImageRequest)
- func (v *NullableRebuildImageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRebuildImageRequest) Unset()
- type NullableRegion
- type NullableRegionServerCreateOptions
- func (v NullableRegionServerCreateOptions) Get() *RegionServerCreateOptions
- func (v NullableRegionServerCreateOptions) IsSet() bool
- func (v NullableRegionServerCreateOptions) MarshalJSON() ([]byte, error)
- func (v *NullableRegionServerCreateOptions) Set(val *RegionServerCreateOptions)
- func (v *NullableRegionServerCreateOptions) UnmarshalJSON(src []byte) error
- func (v *NullableRegionServerCreateOptions) Unset()
- type NullableRenameServerRequest
- func (v NullableRenameServerRequest) Get() *RenameServerRequest
- func (v NullableRenameServerRequest) IsSet() bool
- func (v NullableRenameServerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRenameServerRequest) Set(val *RenameServerRequest)
- func (v *NullableRenameServerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRenameServerRequest) Unset()
- type NullableRescueServerRequest
- func (v NullableRescueServerRequest) Get() *RescueServerRequest
- func (v NullableRescueServerRequest) IsSet() bool
- func (v NullableRescueServerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRescueServerRequest) Set(val *RescueServerRequest)
- func (v *NullableRescueServerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRescueServerRequest) Unset()
- type NullableResizeRootVolumeRequest
- func (v NullableResizeRootVolumeRequest) Get() *ResizeRootVolumeRequest
- func (v NullableResizeRootVolumeRequest) IsSet() bool
- func (v NullableResizeRootVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableResizeRootVolumeRequest) Set(val *ResizeRootVolumeRequest)
- func (v *NullableResizeRootVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableResizeRootVolumeRequest) Unset()
- type NullableResizeServerRequest
- func (v NullableResizeServerRequest) Get() *ResizeServerRequest
- func (v NullableResizeServerRequest) IsSet() bool
- func (v NullableResizeServerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableResizeServerRequest) Set(val *ResizeServerRequest)
- func (v *NullableResizeServerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableResizeServerRequest) Unset()
- type NullableRevertSnapshotRequest
- func (v NullableRevertSnapshotRequest) Get() *RevertSnapshotRequest
- func (v NullableRevertSnapshotRequest) IsSet() bool
- func (v NullableRevertSnapshotRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRevertSnapshotRequest) Set(val *RevertSnapshotRequest)
- func (v *NullableRevertSnapshotRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRevertSnapshotRequest) Unset()
- type NullableRule
- type NullableSSHKey
- type NullableSecurityGroup
- func (v NullableSecurityGroup) Get() *SecurityGroup
- func (v NullableSecurityGroup) IsSet() bool
- func (v NullableSecurityGroup) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroup) Set(val *SecurityGroup)
- func (v *NullableSecurityGroup) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroup) Unset()
- type NullableSecurityGroupName
- func (v NullableSecurityGroupName) Get() *SecurityGroupName
- func (v NullableSecurityGroupName) IsSet() bool
- func (v NullableSecurityGroupName) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroupName) Set(val *SecurityGroupName)
- func (v *NullableSecurityGroupName) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroupName) Unset()
- type NullableSecurityGroupRule
- func (v NullableSecurityGroupRule) Get() *SecurityGroupRule
- func (v NullableSecurityGroupRule) IsSet() bool
- func (v NullableSecurityGroupRule) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroupRule) Set(val *SecurityGroupRule)
- func (v *NullableSecurityGroupRule) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroupRule) Unset()
- type NullableServerAddress
- func (v NullableServerAddress) Get() *ServerAddress
- func (v NullableServerAddress) IsSet() bool
- func (v NullableServerAddress) MarshalJSON() ([]byte, error)
- func (v *NullableServerAddress) Set(val *ServerAddress)
- func (v *NullableServerAddress) UnmarshalJSON(src []byte) error
- func (v *NullableServerAddress) Unset()
- type NullableServerDetail
- func (v NullableServerDetail) Get() *ServerDetail
- func (v NullableServerDetail) IsSet() bool
- func (v NullableServerDetail) MarshalJSON() ([]byte, error)
- func (v *NullableServerDetail) Set(val *ServerDetail)
- func (v *NullableServerDetail) UnmarshalJSON(src []byte) error
- func (v *NullableServerDetail) Unset()
- type NullableServerFlavor
- func (v NullableServerFlavor) Get() *ServerFlavor
- func (v NullableServerFlavor) IsSet() bool
- func (v NullableServerFlavor) MarshalJSON() ([]byte, error)
- func (v *NullableServerFlavor) Set(val *ServerFlavor)
- func (v *NullableServerFlavor) UnmarshalJSON(src []byte) error
- func (v *NullableServerFlavor) Unset()
- type NullableServerIPInfo
- func (v NullableServerIPInfo) Get() *ServerIPInfo
- func (v NullableServerIPInfo) IsSet() bool
- func (v NullableServerIPInfo) MarshalJSON() ([]byte, error)
- func (v *NullableServerIPInfo) Set(val *ServerIPInfo)
- func (v *NullableServerIPInfo) UnmarshalJSON(src []byte) error
- func (v *NullableServerIPInfo) Unset()
- type NullableServerImage
- func (v NullableServerImage) Get() *ServerImage
- func (v NullableServerImage) IsSet() bool
- func (v NullableServerImage) MarshalJSON() ([]byte, error)
- func (v *NullableServerImage) Set(val *ServerImage)
- func (v *NullableServerImage) UnmarshalJSON(src []byte) error
- func (v *NullableServerImage) Unset()
- type NullableServerReports
- func (v NullableServerReports) Get() *ServerReports
- func (v NullableServerReports) IsSet() bool
- func (v NullableServerReports) MarshalJSON() ([]byte, error)
- func (v *NullableServerReports) Set(val *ServerReports)
- func (v *NullableServerReports) UnmarshalJSON(src []byte) error
- func (v *NullableServerReports) Unset()
- type NullableServerVolume
- func (v NullableServerVolume) Get() *ServerVolume
- func (v NullableServerVolume) IsSet() bool
- func (v NullableServerVolume) MarshalJSON() ([]byte, error)
- func (v *NullableServerVolume) Set(val *ServerVolume)
- func (v *NullableServerVolume) UnmarshalJSON(src []byte) error
- func (v *NullableServerVolume) Unset()
- type NullableSinglePlan
- type NullableSnapshotCreateRequest
- func (v NullableSnapshotCreateRequest) Get() *SnapshotCreateRequest
- func (v NullableSnapshotCreateRequest) IsSet() bool
- func (v NullableSnapshotCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotCreateRequest) Set(val *SnapshotCreateRequest)
- func (v *NullableSnapshotCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotCreateRequest) Unset()
- type NullableString
- type NullableSubnet
- type NullableTag
- type NullableTime
- type NullableUpdateTagRequest
- func (v NullableUpdateTagRequest) Get() *UpdateTagRequest
- func (v NullableUpdateTagRequest) IsSet() bool
- func (v NullableUpdateTagRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateTagRequest) Set(val *UpdateTagRequest)
- func (v *NullableUpdateTagRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateTagRequest) Unset()
- type NullableUpdateVolumeRequest
- func (v NullableUpdateVolumeRequest) Get() *UpdateVolumeRequest
- func (v NullableUpdateVolumeRequest) IsSet() bool
- func (v NullableUpdateVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVolumeRequest) Set(val *UpdateVolumeRequest)
- func (v *NullableUpdateVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVolumeRequest) Unset()
- type NullableUpdateVolumeSnapshotRequest
- func (v NullableUpdateVolumeSnapshotRequest) Get() *UpdateVolumeSnapshotRequest
- func (v NullableUpdateVolumeSnapshotRequest) IsSet() bool
- func (v NullableUpdateVolumeSnapshotRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVolumeSnapshotRequest) Set(val *UpdateVolumeSnapshotRequest)
- func (v *NullableUpdateVolumeSnapshotRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVolumeSnapshotRequest) Unset()
- type NullableVolume
- type NullableVolumeAttachDetachRequest
- func (v NullableVolumeAttachDetachRequest) Get() *VolumeAttachDetachRequest
- func (v NullableVolumeAttachDetachRequest) IsSet() bool
- func (v NullableVolumeAttachDetachRequest) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeAttachDetachRequest) Set(val *VolumeAttachDetachRequest)
- func (v *NullableVolumeAttachDetachRequest) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeAttachDetachRequest) Unset()
- type NullableVolumeLimits
- func (v NullableVolumeLimits) Get() *VolumeLimits
- func (v NullableVolumeLimits) IsSet() bool
- func (v NullableVolumeLimits) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeLimits) Set(val *VolumeLimits)
- func (v *NullableVolumeLimits) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeLimits) Unset()
- type NullableVolumeOptions
- func (v NullableVolumeOptions) Get() *VolumeOptions
- func (v NullableVolumeOptions) IsSet() bool
- func (v NullableVolumeOptions) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeOptions) Set(val *VolumeOptions)
- func (v *NullableVolumeOptions) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeOptions) Unset()
- type NullableVolumeSnapshot
- func (v NullableVolumeSnapshot) Get() *VolumeSnapshot
- func (v NullableVolumeSnapshot) IsSet() bool
- func (v NullableVolumeSnapshot) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeSnapshot) Set(val *VolumeSnapshot)
- func (v *NullableVolumeSnapshot) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeSnapshot) Unset()
- type PTRAPICreatePTRRequest
- type PTRAPIDeletePTRRequest
- type PTRAPIService
- func (a *PTRAPIService) CreatePTR(ctx context.Context, region string) PTRAPICreatePTRRequest
- func (a *PTRAPIService) CreatePTRExecute(r PTRAPICreatePTRRequest) (*MessageResponse, *http.Response, error)
- func (a *PTRAPIService) DeletePTR(ctx context.Context, region string, ip string) PTRAPIDeletePTRRequest
- func (a *PTRAPIService) DeletePTRExecute(r PTRAPIDeletePTRRequest) (*MessageResponse, *http.Response, error)
- type Plan
- func (o *Plan) GetBandwidthInBytes() int64
- func (o *Plan) GetBandwidthInBytesOk() (*int64, bool)
- func (o *Plan) GetBasePackage() string
- func (o *Plan) GetBasePackageOk() (*string, bool)
- func (o *Plan) GetCanary() bool
- func (o *Plan) GetCanaryOk() (*bool, bool)
- func (o *Plan) GetCpuCount() int64
- func (o *Plan) GetCpuCountOk() (*int64, bool)
- func (o *Plan) GetCpuShare() string
- func (o *Plan) GetCpuShareOk() (*string, bool)
- func (o *Plan) GetCreateType() string
- func (o *Plan) GetCreateTypeOk() (*string, bool)
- func (o *Plan) GetDisk() int64
- func (o *Plan) GetDiskInBytes() int64
- func (o *Plan) GetDiskInBytesOk() (*int64, bool)
- func (o *Plan) GetDiskOk() (*int64, bool)
- func (o *Plan) GetGeneration() string
- func (o *Plan) GetGenerationOk() (*string, bool)
- func (o *Plan) GetId() string
- func (o *Plan) GetIdOk() (*string, bool)
- func (o *Plan) GetIopsMaxHdd() int64
- func (o *Plan) GetIopsMaxHddOk() (*int64, bool)
- func (o *Plan) GetIopsMaxSsd() int64
- func (o *Plan) GetIopsMaxSsdOk() (*int64, bool)
- func (o *Plan) GetMemory() float64
- func (o *Plan) GetMemoryInBytes() int64
- func (o *Plan) GetMemoryInBytesOk() (*int64, bool)
- func (o *Plan) GetMemoryOk() (*float64, bool)
- func (o *Plan) GetName() string
- func (o *Plan) GetNameOk() (*string, bool)
- func (o *Plan) GetOff() string
- func (o *Plan) GetOffOk() (*string, bool)
- func (o *Plan) GetOffPercent() string
- func (o *Plan) GetOffPercentOk() (*string, bool)
- func (o *Plan) GetOrder() string
- func (o *Plan) GetOrderOk() (*string, bool)
- func (o *Plan) GetOutbound() int64
- func (o *Plan) GetOutboundOk() (*int64, bool)
- func (o *Plan) GetPortSpeed() float64
- func (o *Plan) GetPortSpeedOk() (*float64, bool)
- func (o *Plan) GetPps() []int64
- func (o *Plan) GetPpsOk() ([]int64, bool)
- func (o *Plan) GetPricePerHour() int64
- func (o *Plan) GetPricePerHourOk() (*int64, bool)
- func (o *Plan) GetPricePerMonth() int64
- func (o *Plan) GetPricePerMonthOk() (*int64, bool)
- func (o *Plan) GetSubtype() string
- func (o *Plan) GetSubtypeOk() (*string, bool)
- func (o *Plan) GetThroughput() int64
- func (o *Plan) GetThroughputOk() (*int64, bool)
- func (o *Plan) GetType() string
- func (o *Plan) GetTypeOk() (*string, bool)
- func (o *Plan) HasBandwidthInBytes() bool
- func (o *Plan) HasBasePackage() bool
- func (o *Plan) HasCanary() bool
- func (o *Plan) HasCpuCount() bool
- func (o *Plan) HasCpuShare() bool
- func (o *Plan) HasCreateType() bool
- func (o *Plan) HasDisk() bool
- func (o *Plan) HasDiskInBytes() bool
- func (o *Plan) HasGeneration() bool
- func (o *Plan) HasId() bool
- func (o *Plan) HasIopsMaxHdd() bool
- func (o *Plan) HasIopsMaxSsd() bool
- func (o *Plan) HasMemory() bool
- func (o *Plan) HasMemoryInBytes() bool
- func (o *Plan) HasName() bool
- func (o *Plan) HasOff() bool
- func (o *Plan) HasOffPercent() bool
- func (o *Plan) HasOrder() bool
- func (o *Plan) HasOutbound() bool
- func (o *Plan) HasPortSpeed() bool
- func (o *Plan) HasPps() bool
- func (o *Plan) HasPricePerHour() bool
- func (o *Plan) HasPricePerMonth() bool
- func (o *Plan) HasSubtype() bool
- func (o *Plan) HasThroughput() bool
- func (o *Plan) HasType() bool
- func (o Plan) MarshalJSON() ([]byte, error)
- func (o *Plan) SetBandwidthInBytes(v int64)
- func (o *Plan) SetBasePackage(v string)
- func (o *Plan) SetCanary(v bool)
- func (o *Plan) SetCpuCount(v int64)
- func (o *Plan) SetCpuShare(v string)
- func (o *Plan) SetCreateType(v string)
- func (o *Plan) SetDisk(v int64)
- func (o *Plan) SetDiskInBytes(v int64)
- func (o *Plan) SetGeneration(v string)
- func (o *Plan) SetId(v string)
- func (o *Plan) SetIopsMaxHdd(v int64)
- func (o *Plan) SetIopsMaxSsd(v int64)
- func (o *Plan) SetMemory(v float64)
- func (o *Plan) SetMemoryInBytes(v int64)
- func (o *Plan) SetName(v string)
- func (o *Plan) SetOff(v string)
- func (o *Plan) SetOffPercent(v string)
- func (o *Plan) SetOrder(v string)
- func (o *Plan) SetOutbound(v int64)
- func (o *Plan) SetPortSpeed(v float64)
- func (o *Plan) SetPps(v []int64)
- func (o *Plan) SetPricePerHour(v int64)
- func (o *Plan) SetPricePerMonth(v int64)
- func (o *Plan) SetSubtype(v string)
- func (o *Plan) SetThroughput(v int64)
- func (o *Plan) SetType(v string)
- func (o Plan) ToMap() (map[string]interface{}, error)
- type PlansAPIGetAllRegionPlansRequest
- func (r PlansAPIGetAllRegionPlansRequest) Cpu(cpu string) PlansAPIGetAllRegionPlansRequest
- func (r PlansAPIGetAllRegionPlansRequest) Disk(disk string) PlansAPIGetAllRegionPlansRequest
- func (r PlansAPIGetAllRegionPlansRequest) Execute() (*Plan, *http.Response, error)
- func (r PlansAPIGetAllRegionPlansRequest) Ram(ram string) PlansAPIGetAllRegionPlansRequest
- type PlansAPIGetPlanByIDRequest
- type PlansAPIService
- func (a *PlansAPIService) GetAllRegionPlans(ctx context.Context, region string) PlansAPIGetAllRegionPlansRequest
- func (a *PlansAPIService) GetAllRegionPlansExecute(r PlansAPIGetAllRegionPlansRequest) (*Plan, *http.Response, error)
- func (a *PlansAPIService) GetPlanByID(ctx context.Context, region string, id string) PlansAPIGetPlanByIDRequest
- func (a *PlansAPIService) GetPlanByIDExecute(r PlansAPIGetPlanByIDRequest) (*SinglePlan, *http.Response, error)
- type PortSecGroupData
- func (o *PortSecGroupData) GetId() string
- func (o *PortSecGroupData) GetIdOk() (*string, bool)
- func (o *PortSecGroupData) GetName() string
- func (o *PortSecGroupData) GetNameOk() (*string, bool)
- func (o *PortSecGroupData) HasId() bool
- func (o *PortSecGroupData) HasName() bool
- func (o PortSecGroupData) MarshalJSON() ([]byte, error)
- func (o *PortSecGroupData) SetId(v string)
- func (o *PortSecGroupData) SetName(v string)
- func (o PortSecGroupData) ToMap() (map[string]interface{}, error)
- type PortsAPIDisablePortRequest
- type PortsAPIDisablePortSecurityRequest
- type PortsAPIEnablePortRequest
- type PortsAPIEnablePortSecurityRequest
- type PortsAPIService
- func (a *PortsAPIService) DisablePort(ctx context.Context, region string, id string) PortsAPIDisablePortRequest
- func (a *PortsAPIService) DisablePortExecute(r PortsAPIDisablePortRequest) (*MessageResponse, *http.Response, error)
- func (a *PortsAPIService) DisablePortSecurity(ctx context.Context, region string, id string) PortsAPIDisablePortSecurityRequest
- func (a *PortsAPIService) DisablePortSecurityExecute(r PortsAPIDisablePortSecurityRequest) (*MessageResponse, *http.Response, error)
- func (a *PortsAPIService) EnablePort(ctx context.Context, region string, id string) PortsAPIEnablePortRequest
- func (a *PortsAPIService) EnablePortExecute(r PortsAPIEnablePortRequest) (*MessageResponse, *http.Response, error)
- func (a *PortsAPIService) EnablePortSecurity(ctx context.Context, region string, id string) PortsAPIEnablePortSecurityRequest
- func (a *PortsAPIService) EnablePortSecurityExecute(r PortsAPIEnablePortSecurityRequest) (*MessageResponse, *http.Response, error)
- type PublicIP
- func (o *PublicIP) GetIpAddress() string
- func (o *PublicIP) GetIpAddressOk() (*string, bool)
- func (o *PublicIP) GetSubnetId() string
- func (o *PublicIP) GetSubnetIdOk() (*string, bool)
- func (o *PublicIP) HasIpAddress() bool
- func (o *PublicIP) HasSubnetId() bool
- func (o PublicIP) MarshalJSON() ([]byte, error)
- func (o *PublicIP) SetIpAddress(v string)
- func (o *PublicIP) SetSubnetId(v string)
- func (o PublicIP) ToMap() (map[string]interface{}, error)
- type Quota
- func (o *Quota) GetMaxImageMeta() QuotaValue
- func (o *Quota) GetMaxImageMetaOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxPersonality() QuotaValue
- func (o *Quota) GetMaxPersonalityOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxPersonalitySize() QuotaValue
- func (o *Quota) GetMaxPersonalitySizeOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxSecurityGroupRules() QuotaValue
- func (o *Quota) GetMaxSecurityGroupRulesOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxSecurityGroups() QuotaValue
- func (o *Quota) GetMaxSecurityGroupsOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxServerGroupMembers() QuotaValue
- func (o *Quota) GetMaxServerGroupMembersOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxServerGroups() QuotaValue
- func (o *Quota) GetMaxServerGroupsOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxServerMeta() QuotaValue
- func (o *Quota) GetMaxServerMetaOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxTotalCores() QuotaValue
- func (o *Quota) GetMaxTotalCoresOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxTotalFloatingIps() QuotaValue
- func (o *Quota) GetMaxTotalFloatingIpsOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxTotalInstances() QuotaValue
- func (o *Quota) GetMaxTotalInstancesOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxTotalKeypairs() QuotaValue
- func (o *Quota) GetMaxTotalKeypairsOk() (*QuotaValue, bool)
- func (o *Quota) GetMaxTotalRamSize() QuotaValue
- func (o *Quota) GetMaxTotalRamSizeOk() (*QuotaValue, bool)
- func (o *Quota) GetTotalCoresUsed() int64
- func (o *Quota) GetTotalCoresUsedOk() (*int64, bool)
- func (o *Quota) GetTotalFloatingIpsUsed() int64
- func (o *Quota) GetTotalFloatingIpsUsedOk() (*int64, bool)
- func (o *Quota) GetTotalInstancesUsed() int64
- func (o *Quota) GetTotalInstancesUsedOk() (*int64, bool)
- func (o *Quota) GetTotalRamUsed() int64
- func (o *Quota) GetTotalRamUsedOk() (*int64, bool)
- func (o *Quota) GetTotalSecurityGroupsUsed() int64
- func (o *Quota) GetTotalSecurityGroupsUsedOk() (*int64, bool)
- func (o *Quota) GetTotalServerGroupsUsed() int64
- func (o *Quota) GetTotalServerGroupsUsedOk() (*int64, bool)
- func (o *Quota) HasMaxImageMeta() bool
- func (o *Quota) HasMaxPersonality() bool
- func (o *Quota) HasMaxPersonalitySize() bool
- func (o *Quota) HasMaxSecurityGroupRules() bool
- func (o *Quota) HasMaxSecurityGroups() bool
- func (o *Quota) HasMaxServerGroupMembers() bool
- func (o *Quota) HasMaxServerGroups() bool
- func (o *Quota) HasMaxServerMeta() bool
- func (o *Quota) HasMaxTotalCores() bool
- func (o *Quota) HasMaxTotalFloatingIps() bool
- func (o *Quota) HasMaxTotalInstances() bool
- func (o *Quota) HasMaxTotalKeypairs() bool
- func (o *Quota) HasMaxTotalRamSize() bool
- func (o *Quota) HasTotalCoresUsed() bool
- func (o *Quota) HasTotalFloatingIpsUsed() bool
- func (o *Quota) HasTotalInstancesUsed() bool
- func (o *Quota) HasTotalRamUsed() bool
- func (o *Quota) HasTotalSecurityGroupsUsed() bool
- func (o *Quota) HasTotalServerGroupsUsed() bool
- func (o Quota) MarshalJSON() ([]byte, error)
- func (o *Quota) SetMaxImageMeta(v QuotaValue)
- func (o *Quota) SetMaxPersonality(v QuotaValue)
- func (o *Quota) SetMaxPersonalitySize(v QuotaValue)
- func (o *Quota) SetMaxSecurityGroupRules(v QuotaValue)
- func (o *Quota) SetMaxSecurityGroups(v QuotaValue)
- func (o *Quota) SetMaxServerGroupMembers(v QuotaValue)
- func (o *Quota) SetMaxServerGroups(v QuotaValue)
- func (o *Quota) SetMaxServerMeta(v QuotaValue)
- func (o *Quota) SetMaxTotalCores(v QuotaValue)
- func (o *Quota) SetMaxTotalFloatingIps(v QuotaValue)
- func (o *Quota) SetMaxTotalInstances(v QuotaValue)
- func (o *Quota) SetMaxTotalKeypairs(v QuotaValue)
- func (o *Quota) SetMaxTotalRamSize(v QuotaValue)
- func (o *Quota) SetTotalCoresUsed(v int64)
- func (o *Quota) SetTotalFloatingIpsUsed(v int64)
- func (o *Quota) SetTotalInstancesUsed(v int64)
- func (o *Quota) SetTotalRamUsed(v int64)
- func (o *Quota) SetTotalSecurityGroupsUsed(v int64)
- func (o *Quota) SetTotalServerGroupsUsed(v int64)
- func (o Quota) ToMap() (map[string]interface{}, error)
- type QuotaAPIGetUserLimitsRequest
- type QuotaAPIService
- type QuotaValue
- func (o *QuotaValue) GetUnlimited() bool
- func (o *QuotaValue) GetUnlimitedOk() (*bool, bool)
- func (o *QuotaValue) GetValue() int64
- func (o *QuotaValue) GetValueOk() (*int64, bool)
- func (o *QuotaValue) HasUnlimited() bool
- func (o *QuotaValue) HasValue() bool
- func (o QuotaValue) MarshalJSON() ([]byte, error)
- func (o *QuotaValue) SetUnlimited(v bool)
- func (o *QuotaValue) SetValue(v int64)
- func (o QuotaValue) ToMap() (map[string]interface{}, error)
- type RebuildImageRequest
- func (o *RebuildImageRequest) GetImageId() string
- func (o *RebuildImageRequest) GetImageIdOk() (*string, bool)
- func (o *RebuildImageRequest) HasImageId() bool
- func (o RebuildImageRequest) MarshalJSON() ([]byte, error)
- func (o *RebuildImageRequest) SetImageId(v string)
- func (o RebuildImageRequest) ToMap() (map[string]interface{}, error)
- type Region
- func (o *Region) GetBeta() bool
- func (o *Region) GetBetaOk() (*bool, bool)
- func (o *Region) GetCity() string
- func (o *Region) GetCityCode() string
- func (o *Region) GetCityCodeOk() (*string, bool)
- func (o *Region) GetCityOk() (*string, bool)
- func (o *Region) GetCode() string
- func (o *Region) GetCodeOk() (*string, bool)
- func (o *Region) GetCountry() string
- func (o *Region) GetCountryOk() (*string, bool)
- func (o *Region) GetCreate() bool
- func (o *Region) GetCreateOk() (*bool, bool)
- func (o *Region) GetDc() string
- func (o *Region) GetDcCode() string
- func (o *Region) GetDcCodeOk() (*string, bool)
- func (o *Region) GetDcOk() (*string, bool)
- func (o *Region) GetDefault() bool
- func (o *Region) GetDefaultOk() (*bool, bool)
- func (o *Region) GetFlag() string
- func (o *Region) GetFlagOk() (*string, bool)
- func (o *Region) GetNew() bool
- func (o *Region) GetNewOk() (*bool, bool)
- func (o *Region) GetRegion() string
- func (o *Region) GetRegionOk() (*string, bool)
- func (o *Region) GetSoon() bool
- func (o *Region) GetSoonOk() (*bool, bool)
- func (o *Region) GetVisible() bool
- func (o *Region) GetVisibleOk() (*bool, bool)
- func (o *Region) GetVolumeBacked() bool
- func (o *Region) GetVolumeBackedOk() (*bool, bool)
- func (o *Region) HasBeta() bool
- func (o *Region) HasCity() bool
- func (o *Region) HasCityCode() bool
- func (o *Region) HasCode() bool
- func (o *Region) HasCountry() bool
- func (o *Region) HasCreate() bool
- func (o *Region) HasDc() bool
- func (o *Region) HasDcCode() bool
- func (o *Region) HasDefault() bool
- func (o *Region) HasFlag() bool
- func (o *Region) HasNew() bool
- func (o *Region) HasRegion() bool
- func (o *Region) HasSoon() bool
- func (o *Region) HasVisible() bool
- func (o *Region) HasVolumeBacked() bool
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetBeta(v bool)
- func (o *Region) SetCity(v string)
- func (o *Region) SetCityCode(v string)
- func (o *Region) SetCode(v string)
- func (o *Region) SetCountry(v string)
- func (o *Region) SetCreate(v bool)
- func (o *Region) SetDc(v string)
- func (o *Region) SetDcCode(v string)
- func (o *Region) SetDefault(v bool)
- func (o *Region) SetFlag(v string)
- func (o *Region) SetNew(v bool)
- func (o *Region) SetRegion(v string)
- func (o *Region) SetSoon(v bool)
- func (o *Region) SetVisible(v bool)
- func (o *Region) SetVolumeBacked(v bool)
- func (o Region) ToMap() (map[string]interface{}, error)
- type RegionServerCreateOptions
- func (o *RegionServerCreateOptions) GetCurrency() string
- func (o *RegionServerCreateOptions) GetCurrencyOk() (*string, bool)
- func (o *RegionServerCreateOptions) GetDropletCount() int64
- func (o *RegionServerCreateOptions) GetDropletCountOk() (*int64, bool)
- func (o *RegionServerCreateOptions) GetDropletLimit() int64
- func (o *RegionServerCreateOptions) GetDropletLimitOk() (*int64, bool)
- func (o *RegionServerCreateOptions) GetImageName() string
- func (o *RegionServerCreateOptions) GetImageNameOk() (*string, bool)
- func (o *RegionServerCreateOptions) GetImageVersion() string
- func (o *RegionServerCreateOptions) GetImageVersionOk() (*string, bool)
- func (o *RegionServerCreateOptions) GetNetworkId() string
- func (o *RegionServerCreateOptions) GetNetworkIdOk() (*string, bool)
- func (o *RegionServerCreateOptions) GetRegionId() int64
- func (o *RegionServerCreateOptions) GetRegionIdOk() (*int64, bool)
- func (o *RegionServerCreateOptions) GetRequiresPaymentMethod() bool
- func (o *RegionServerCreateOptions) GetRequiresPaymentMethodOk() (*bool, bool)
- func (o *RegionServerCreateOptions) HasCurrency() bool
- func (o *RegionServerCreateOptions) HasDropletCount() bool
- func (o *RegionServerCreateOptions) HasDropletLimit() bool
- func (o *RegionServerCreateOptions) HasImageName() bool
- func (o *RegionServerCreateOptions) HasImageVersion() bool
- func (o *RegionServerCreateOptions) HasNetworkId() bool
- func (o *RegionServerCreateOptions) HasRegionId() bool
- func (o *RegionServerCreateOptions) HasRequiresPaymentMethod() bool
- func (o RegionServerCreateOptions) MarshalJSON() ([]byte, error)
- func (o *RegionServerCreateOptions) SetCurrency(v string)
- func (o *RegionServerCreateOptions) SetDropletCount(v int64)
- func (o *RegionServerCreateOptions) SetDropletLimit(v int64)
- func (o *RegionServerCreateOptions) SetImageName(v string)
- func (o *RegionServerCreateOptions) SetImageVersion(v string)
- func (o *RegionServerCreateOptions) SetNetworkId(v string)
- func (o *RegionServerCreateOptions) SetRegionId(v int64)
- func (o *RegionServerCreateOptions) SetRequiresPaymentMethod(v bool)
- func (o RegionServerCreateOptions) ToMap() (map[string]interface{}, error)
- type RenameServerRequest
- func (o *RenameServerRequest) GetName() string
- func (o *RenameServerRequest) GetNameOk() (*string, bool)
- func (o *RenameServerRequest) HasName() bool
- func (o RenameServerRequest) MarshalJSON() ([]byte, error)
- func (o *RenameServerRequest) SetName(v string)
- func (o RenameServerRequest) ToMap() (map[string]interface{}, error)
- type ReportsAPIGetReportMetricRequest
- type ReportsAPIGetServerReportsRequest
- type ReportsAPIService
- func (a *ReportsAPIService) GetReportMetric(ctx context.Context, region string, id string, metric string) ReportsAPIGetReportMetricRequest
- func (a *ReportsAPIService) GetReportMetricExecute(r ReportsAPIGetReportMetricRequest) (*ServerReports, *http.Response, error)
- func (a *ReportsAPIService) GetServerReports(ctx context.Context, region string, id string, period string) ReportsAPIGetServerReportsRequest
- func (a *ReportsAPIService) GetServerReportsExecute(r ReportsAPIGetServerReportsRequest) (*ServerReports, *http.Response, error)
- type RescueServerRequest
- func (o *RescueServerRequest) GetName() string
- func (o *RescueServerRequest) GetNameOk() (*string, bool)
- func (o *RescueServerRequest) HasName() bool
- func (o RescueServerRequest) MarshalJSON() ([]byte, error)
- func (o *RescueServerRequest) SetName(v string)
- func (o RescueServerRequest) ToMap() (map[string]interface{}, error)
- type ResizeRootVolumeRequest
- func (o *ResizeRootVolumeRequest) GetNewSize() int64
- func (o *ResizeRootVolumeRequest) GetNewSizeOk() (*int64, bool)
- func (o *ResizeRootVolumeRequest) HasNewSize() bool
- func (o ResizeRootVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *ResizeRootVolumeRequest) SetNewSize(v int64)
- func (o ResizeRootVolumeRequest) ToMap() (map[string]interface{}, error)
- type ResizeServerRequest
- func (o *ResizeServerRequest) GetFlavorId() string
- func (o *ResizeServerRequest) GetFlavorIdOk() (*string, bool)
- func (o *ResizeServerRequest) HasFlavorId() bool
- func (o ResizeServerRequest) MarshalJSON() ([]byte, error)
- func (o *ResizeServerRequest) SetFlavorId(v string)
- func (o ResizeServerRequest) ToMap() (map[string]interface{}, error)
- type RevertSnapshotRequest
- func (o *RevertSnapshotRequest) GetSnapshotId() string
- func (o *RevertSnapshotRequest) GetSnapshotIdOk() (*string, bool)
- func (o *RevertSnapshotRequest) HasSnapshotId() bool
- func (o RevertSnapshotRequest) MarshalJSON() ([]byte, error)
- func (o *RevertSnapshotRequest) SetSnapshotId(v string)
- func (o RevertSnapshotRequest) ToMap() (map[string]interface{}, error)
- type Rule
- func (o *Rule) GetCreatedAt() string
- func (o *Rule) GetCreatedAtOk() (*string, bool)
- func (o *Rule) GetDescription() string
- func (o *Rule) GetDescriptionOk() (*string, bool)
- func (o *Rule) GetDirection() string
- func (o *Rule) GetDirectionOk() (*string, bool)
- func (o *Rule) GetEtherType() string
- func (o *Rule) GetEtherTypeOk() (*string, bool)
- func (o *Rule) GetGroupId() string
- func (o *Rule) GetGroupIdOk() (*string, bool)
- func (o *Rule) GetId() string
- func (o *Rule) GetIdOk() (*string, bool)
- func (o *Rule) GetIp() string
- func (o *Rule) GetIpOk() (*string, bool)
- func (o *Rule) GetPortEnd() int32
- func (o *Rule) GetPortEndOk() (*int32, bool)
- func (o *Rule) GetPortStart() int32
- func (o *Rule) GetPortStartOk() (*int32, bool)
- func (o *Rule) GetProtocol() string
- func (o *Rule) GetProtocolOk() (*string, bool)
- func (o *Rule) GetUpdatedAt() string
- func (o *Rule) GetUpdatedAtOk() (*string, bool)
- func (o *Rule) HasCreatedAt() bool
- func (o *Rule) HasDescription() bool
- func (o *Rule) HasDirection() bool
- func (o *Rule) HasEtherType() bool
- func (o *Rule) HasGroupId() bool
- func (o *Rule) HasId() bool
- func (o *Rule) HasIp() bool
- func (o *Rule) HasPortEnd() bool
- func (o *Rule) HasPortStart() bool
- func (o *Rule) HasProtocol() bool
- func (o *Rule) HasUpdatedAt() bool
- func (o Rule) MarshalJSON() ([]byte, error)
- func (o *Rule) SetCreatedAt(v string)
- func (o *Rule) SetDescription(v string)
- func (o *Rule) SetDirection(v string)
- func (o *Rule) SetEtherType(v string)
- func (o *Rule) SetGroupId(v string)
- func (o *Rule) SetId(v string)
- func (o *Rule) SetIp(v string)
- func (o *Rule) SetPortEnd(v int32)
- func (o *Rule) SetPortStart(v int32)
- func (o *Rule) SetProtocol(v string)
- func (o *Rule) SetUpdatedAt(v string)
- func (o Rule) ToMap() (map[string]interface{}, error)
- type SSHKey
- func (o *SSHKey) GetCreatedAt() string
- func (o *SSHKey) GetCreatedAtOk() (*string, bool)
- func (o *SSHKey) GetFingerprint() string
- func (o *SSHKey) GetFingerprintOk() (*string, bool)
- func (o *SSHKey) GetName() string
- func (o *SSHKey) GetNameOk() (*string, bool)
- func (o *SSHKey) GetPublicKey() string
- func (o *SSHKey) GetPublicKeyOk() (*string, bool)
- func (o *SSHKey) HasCreatedAt() bool
- func (o *SSHKey) HasFingerprint() bool
- func (o *SSHKey) HasName() bool
- func (o *SSHKey) HasPublicKey() bool
- func (o SSHKey) MarshalJSON() ([]byte, error)
- func (o *SSHKey) SetCreatedAt(v string)
- func (o *SSHKey) SetFingerprint(v string)
- func (o *SSHKey) SetName(v string)
- func (o *SSHKey) SetPublicKey(v string)
- func (o SSHKey) ToMap() (map[string]interface{}, error)
- type SSHKeysAPICreateSSHKeyRequest
- type SSHKeysAPIDeleteSSHKeyRequest
- type SSHKeysAPIGetAllSSHKeysRequest
- type SSHKeysAPIGetSSHKeyRequest
- type SSHKeysAPIService
- func (a *SSHKeysAPIService) CreateSSHKey(ctx context.Context, region string) SSHKeysAPICreateSSHKeyRequest
- func (a *SSHKeysAPIService) CreateSSHKeyExecute(r SSHKeysAPICreateSSHKeyRequest) (*MessageResponse, *http.Response, error)
- func (a *SSHKeysAPIService) DeleteSSHKey(ctx context.Context, region string, name string) SSHKeysAPIDeleteSSHKeyRequest
- func (a *SSHKeysAPIService) DeleteSSHKeyExecute(r SSHKeysAPIDeleteSSHKeyRequest) (*MessageResponse, *http.Response, error)
- func (a *SSHKeysAPIService) GetAllSSHKeys(ctx context.Context, region string) SSHKeysAPIGetAllSSHKeysRequest
- func (a *SSHKeysAPIService) GetAllSSHKeysExecute(r SSHKeysAPIGetAllSSHKeysRequest) (*SSHKey, *http.Response, error)
- func (a *SSHKeysAPIService) GetSSHKey(ctx context.Context, region string, name string) SSHKeysAPIGetSSHKeyRequest
- func (a *SSHKeysAPIService) GetSSHKeyExecute(r SSHKeysAPIGetSSHKeyRequest) (*SSHKey, *http.Response, error)
- type SecurityGroup
- func (o *SecurityGroup) GetDefault() bool
- func (o *SecurityGroup) GetDefaultOk() (*bool, bool)
- func (o *SecurityGroup) GetDescription() string
- func (o *SecurityGroup) GetDescriptionOk() (*string, bool)
- func (o *SecurityGroup) GetId() string
- func (o *SecurityGroup) GetIdOk() (*string, bool)
- func (o *SecurityGroup) GetIpAddresses() []string
- func (o *SecurityGroup) GetIpAddressesOk() ([]string, bool)
- func (o *SecurityGroup) GetName() string
- func (o *SecurityGroup) GetNameOk() (*string, bool)
- func (o *SecurityGroup) GetReadonly() string
- func (o *SecurityGroup) GetReadonlyOk() (*string, bool)
- func (o *SecurityGroup) GetRealName() string
- func (o *SecurityGroup) GetRealNameOk() (*string, bool)
- func (o *SecurityGroup) GetRules() []Rule
- func (o *SecurityGroup) GetRulesOk() ([]Rule, bool)
- func (o *SecurityGroup) HasDefault() bool
- func (o *SecurityGroup) HasDescription() bool
- func (o *SecurityGroup) HasId() bool
- func (o *SecurityGroup) HasIpAddresses() bool
- func (o *SecurityGroup) HasName() bool
- func (o *SecurityGroup) HasReadonly() bool
- func (o *SecurityGroup) HasRealName() bool
- func (o *SecurityGroup) HasRules() bool
- func (o SecurityGroup) MarshalJSON() ([]byte, error)
- func (o *SecurityGroup) SetDefault(v bool)
- func (o *SecurityGroup) SetDescription(v string)
- func (o *SecurityGroup) SetId(v string)
- func (o *SecurityGroup) SetIpAddresses(v []string)
- func (o *SecurityGroup) SetName(v string)
- func (o *SecurityGroup) SetReadonly(v string)
- func (o *SecurityGroup) SetRealName(v string)
- func (o *SecurityGroup) SetRules(v []Rule)
- func (o SecurityGroup) ToMap() (map[string]interface{}, error)
- type SecurityGroupName
- func (o *SecurityGroupName) GetName() string
- func (o *SecurityGroupName) GetNameOk() (*string, bool)
- func (o *SecurityGroupName) HasName() bool
- func (o SecurityGroupName) MarshalJSON() ([]byte, error)
- func (o *SecurityGroupName) SetName(v string)
- func (o SecurityGroupName) ToMap() (map[string]interface{}, error)
- type SecurityGroupRule
- func (o *SecurityGroupRule) GetCreatedAt() string
- func (o *SecurityGroupRule) GetCreatedAtOk() (*string, bool)
- func (o *SecurityGroupRule) GetDescription() string
- func (o *SecurityGroupRule) GetDescriptionOk() (*string, bool)
- func (o *SecurityGroupRule) GetDirection() string
- func (o *SecurityGroupRule) GetDirectionOk() (*string, bool)
- func (o *SecurityGroupRule) GetEtherType() string
- func (o *SecurityGroupRule) GetEtherTypeOk() (*string, bool)
- func (o *SecurityGroupRule) GetGroupId() string
- func (o *SecurityGroupRule) GetGroupIdOk() (*string, bool)
- func (o *SecurityGroupRule) GetId() string
- func (o *SecurityGroupRule) GetIdOk() (*string, bool)
- func (o *SecurityGroupRule) GetIp() string
- func (o *SecurityGroupRule) GetIpOk() (*string, bool)
- func (o *SecurityGroupRule) GetPortEnd() int64
- func (o *SecurityGroupRule) GetPortEndOk() (*int64, bool)
- func (o *SecurityGroupRule) GetPortStart() int64
- func (o *SecurityGroupRule) GetPortStartOk() (*int64, bool)
- func (o *SecurityGroupRule) GetProtocol() string
- func (o *SecurityGroupRule) GetProtocolOk() (*string, bool)
- func (o *SecurityGroupRule) GetUpdatedAt() string
- func (o *SecurityGroupRule) GetUpdatedAtOk() (*string, bool)
- func (o *SecurityGroupRule) HasCreatedAt() bool
- func (o *SecurityGroupRule) HasDescription() bool
- func (o *SecurityGroupRule) HasDirection() bool
- func (o *SecurityGroupRule) HasEtherType() bool
- func (o *SecurityGroupRule) HasGroupId() bool
- func (o *SecurityGroupRule) HasId() bool
- func (o *SecurityGroupRule) HasIp() bool
- func (o *SecurityGroupRule) HasPortEnd() bool
- func (o *SecurityGroupRule) HasPortStart() bool
- func (o *SecurityGroupRule) HasProtocol() bool
- func (o *SecurityGroupRule) HasUpdatedAt() bool
- func (o SecurityGroupRule) MarshalJSON() ([]byte, error)
- func (o *SecurityGroupRule) SetCreatedAt(v string)
- func (o *SecurityGroupRule) SetDescription(v string)
- func (o *SecurityGroupRule) SetDirection(v string)
- func (o *SecurityGroupRule) SetEtherType(v string)
- func (o *SecurityGroupRule) SetGroupId(v string)
- func (o *SecurityGroupRule) SetId(v string)
- func (o *SecurityGroupRule) SetIp(v string)
- func (o *SecurityGroupRule) SetPortEnd(v int64)
- func (o *SecurityGroupRule) SetPortStart(v int64)
- func (o *SecurityGroupRule) SetProtocol(v string)
- func (o *SecurityGroupRule) SetUpdatedAt(v string)
- func (o SecurityGroupRule) ToMap() (map[string]interface{}, error)
- type SecurityGroupsAPICreateSecurityGroupRequest
- type SecurityGroupsAPICreateSecurityGroupRuleRequest
- func (r SecurityGroupsAPICreateSecurityGroupRuleRequest) CreateSecurityGroupRuleRequest(createSecurityGroupRuleRequest CreateSecurityGroupRuleRequest) SecurityGroupsAPICreateSecurityGroupRuleRequest
- func (r SecurityGroupsAPICreateSecurityGroupRuleRequest) Execute() (*MessageResponse, *http.Response, error)
- type SecurityGroupsAPIDeleteSecurityGroupRequest
- type SecurityGroupsAPIDeleteSecurityGroupRuleRequest
- type SecurityGroupsAPIGetAllSecurityGroupsRequest
- type SecurityGroupsAPIGetSecurityGroupRulesRequest
- type SecurityGroupsAPIImportCDNSecurityGroupRequest
- type SecurityGroupsAPIService
- func (a *SecurityGroupsAPIService) CreateSecurityGroup(ctx context.Context, region string) SecurityGroupsAPICreateSecurityGroupRequest
- func (a *SecurityGroupsAPIService) CreateSecurityGroupExecute(r SecurityGroupsAPICreateSecurityGroupRequest) (*SecurityGroup, *http.Response, error)
- func (a *SecurityGroupsAPIService) CreateSecurityGroupRule(ctx context.Context, region string, id string) SecurityGroupsAPICreateSecurityGroupRuleRequest
- func (a *SecurityGroupsAPIService) CreateSecurityGroupRuleExecute(r SecurityGroupsAPICreateSecurityGroupRuleRequest) (*MessageResponse, *http.Response, error)
- func (a *SecurityGroupsAPIService) DeleteSecurityGroup(ctx context.Context, region string) SecurityGroupsAPIDeleteSecurityGroupRequest
- func (a *SecurityGroupsAPIService) DeleteSecurityGroupExecute(r SecurityGroupsAPIDeleteSecurityGroupRequest) (*MessageResponse, *http.Response, error)
- func (a *SecurityGroupsAPIService) DeleteSecurityGroupRule(ctx context.Context, region string) SecurityGroupsAPIDeleteSecurityGroupRuleRequest
- func (a *SecurityGroupsAPIService) DeleteSecurityGroupRuleExecute(r SecurityGroupsAPIDeleteSecurityGroupRuleRequest) (*SecurityGroup, *http.Response, error)
- func (a *SecurityGroupsAPIService) GetAllSecurityGroups(ctx context.Context, region string) SecurityGroupsAPIGetAllSecurityGroupsRequest
- func (a *SecurityGroupsAPIService) GetAllSecurityGroupsExecute(r SecurityGroupsAPIGetAllSecurityGroupsRequest) (*SecurityGroup, *http.Response, error)
- func (a *SecurityGroupsAPIService) GetSecurityGroupRules(ctx context.Context, region string) SecurityGroupsAPIGetSecurityGroupRulesRequest
- func (a *SecurityGroupsAPIService) GetSecurityGroupRulesExecute(r SecurityGroupsAPIGetSecurityGroupRulesRequest) (*SecurityGroup, *http.Response, error)
- func (a *SecurityGroupsAPIService) ImportCDNSecurityGroup(ctx context.Context, region string) SecurityGroupsAPIImportCDNSecurityGroupRequest
- func (a *SecurityGroupsAPIService) ImportCDNSecurityGroupExecute(r SecurityGroupsAPIImportCDNSecurityGroupRequest) (*MessageResponse, *http.Response, error)
- type ServerAddress
- func (o *ServerAddress) GetAddr() string
- func (o *ServerAddress) GetAddrOk() (*string, bool)
- func (o *ServerAddress) GetIsPublic() bool
- func (o *ServerAddress) GetIsPublicOk() (*bool, bool)
- func (o *ServerAddress) GetMacAddr() string
- func (o *ServerAddress) GetMacAddrOk() (*string, bool)
- func (o *ServerAddress) GetType() string
- func (o *ServerAddress) GetTypeOk() (*string, bool)
- func (o *ServerAddress) GetVersion() string
- func (o *ServerAddress) GetVersionOk() (*string, bool)
- func (o *ServerAddress) HasAddr() bool
- func (o *ServerAddress) HasIsPublic() bool
- func (o *ServerAddress) HasMacAddr() bool
- func (o *ServerAddress) HasType() bool
- func (o *ServerAddress) HasVersion() bool
- func (o ServerAddress) MarshalJSON() ([]byte, error)
- func (o *ServerAddress) SetAddr(v string)
- func (o *ServerAddress) SetIsPublic(v bool)
- func (o *ServerAddress) SetMacAddr(v string)
- func (o *ServerAddress) SetType(v string)
- func (o *ServerAddress) SetVersion(v string)
- func (o ServerAddress) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerDetail
- func (o *ServerDetail) GetAddresses() map[string][]ServerAddress
- func (o *ServerDetail) GetAddressesOk() (*map[string][]ServerAddress, bool)
- func (o *ServerDetail) GetArNext() string
- func (o *ServerDetail) GetArNextOk() (*string, bool)
- func (o *ServerDetail) GetCreated() string
- func (o *ServerDetail) GetCreatedOk() (*string, bool)
- func (o *ServerDetail) GetFlavor() ServerFlavor
- func (o *ServerDetail) GetFlavorOk() (*ServerFlavor, bool)
- func (o *ServerDetail) GetHaEnabled() bool
- func (o *ServerDetail) GetHaEnabledOk() (*bool, bool)
- func (o *ServerDetail) GetId() string
- func (o *ServerDetail) GetIdOk() (*string, bool)
- func (o *ServerDetail) GetImage() ServerImage
- func (o *ServerDetail) GetImageOk() (*ServerImage, bool)
- func (o *ServerDetail) GetKeyName() string
- func (o *ServerDetail) GetKeyNameOk() (*string, bool)
- func (o *ServerDetail) GetName() string
- func (o *ServerDetail) GetNameOk() (*string, bool)
- func (o *ServerDetail) GetPassword() string
- func (o *ServerDetail) GetPasswordOk() (*string, bool)
- func (o *ServerDetail) GetSecurityGroups() []SecurityGroup
- func (o *ServerDetail) GetSecurityGroupsOk() ([]SecurityGroup, bool)
- func (o *ServerDetail) GetStatus() string
- func (o *ServerDetail) GetStatusOk() (*string, bool)
- func (o *ServerDetail) GetTags() []Tag
- func (o *ServerDetail) GetTagsOk() ([]Tag, bool)
- func (o *ServerDetail) GetTaskState() string
- func (o *ServerDetail) GetTaskStateOk() (*string, bool)
- func (o *ServerDetail) HasAddresses() bool
- func (o *ServerDetail) HasArNext() bool
- func (o *ServerDetail) HasCreated() bool
- func (o *ServerDetail) HasFlavor() bool
- func (o *ServerDetail) HasHaEnabled() bool
- func (o *ServerDetail) HasId() bool
- func (o *ServerDetail) HasImage() bool
- func (o *ServerDetail) HasKeyName() bool
- func (o *ServerDetail) HasName() bool
- func (o *ServerDetail) HasPassword() bool
- func (o *ServerDetail) HasSecurityGroups() bool
- func (o *ServerDetail) HasStatus() bool
- func (o *ServerDetail) HasTags() bool
- func (o *ServerDetail) HasTaskState() bool
- func (o ServerDetail) MarshalJSON() ([]byte, error)
- func (o *ServerDetail) SetAddresses(v map[string][]ServerAddress)
- func (o *ServerDetail) SetArNext(v string)
- func (o *ServerDetail) SetCreated(v string)
- func (o *ServerDetail) SetFlavor(v ServerFlavor)
- func (o *ServerDetail) SetHaEnabled(v bool)
- func (o *ServerDetail) SetId(v string)
- func (o *ServerDetail) SetImage(v ServerImage)
- func (o *ServerDetail) SetKeyName(v string)
- func (o *ServerDetail) SetName(v string)
- func (o *ServerDetail) SetPassword(v string)
- func (o *ServerDetail) SetSecurityGroups(v []SecurityGroup)
- func (o *ServerDetail) SetStatus(v string)
- func (o *ServerDetail) SetTags(v []Tag)
- func (o *ServerDetail) SetTaskState(v string)
- func (o ServerDetail) ToMap() (map[string]interface{}, error)
- type ServerFlavor
- func (o *ServerFlavor) GetDisk() int32
- func (o *ServerFlavor) GetDiskOk() (*int32, bool)
- func (o *ServerFlavor) GetId() string
- func (o *ServerFlavor) GetIdOk() (*string, bool)
- func (o *ServerFlavor) GetName() string
- func (o *ServerFlavor) GetNameOk() (*string, bool)
- func (o *ServerFlavor) GetRam() float64
- func (o *ServerFlavor) GetRamOk() (*float64, bool)
- func (o *ServerFlavor) GetSwap() string
- func (o *ServerFlavor) GetSwapOk() (*string, bool)
- func (o *ServerFlavor) GetVcpus() int32
- func (o *ServerFlavor) GetVcpusOk() (*int32, bool)
- func (o *ServerFlavor) HasDisk() bool
- func (o *ServerFlavor) HasId() bool
- func (o *ServerFlavor) HasName() bool
- func (o *ServerFlavor) HasRam() bool
- func (o *ServerFlavor) HasSwap() bool
- func (o *ServerFlavor) HasVcpus() bool
- func (o ServerFlavor) MarshalJSON() ([]byte, error)
- func (o *ServerFlavor) SetDisk(v int32)
- func (o *ServerFlavor) SetId(v string)
- func (o *ServerFlavor) SetName(v string)
- func (o *ServerFlavor) SetRam(v float64)
- func (o *ServerFlavor) SetSwap(v string)
- func (o *ServerFlavor) SetVcpus(v int32)
- func (o ServerFlavor) ToMap() (map[string]interface{}, error)
- type ServerIPInfo
- func (o *ServerIPInfo) GetCreationDate() string
- func (o *ServerIPInfo) GetCreationDateOk() (*string, bool)
- func (o *ServerIPInfo) GetHasPublicIp() bool
- func (o *ServerIPInfo) GetHasPublicIpOk() (*bool, bool)
- func (o *ServerIPInfo) GetId() string
- func (o *ServerIPInfo) GetIdOk() (*string, bool)
- func (o *ServerIPInfo) GetIpData() []IPInfo
- func (o *ServerIPInfo) GetIpDataOk() ([]IPInfo, bool)
- func (o *ServerIPInfo) GetName() string
- func (o *ServerIPInfo) GetNameOk() (*string, bool)
- func (o *ServerIPInfo) GetStatus() string
- func (o *ServerIPInfo) GetStatusOk() (*string, bool)
- func (o *ServerIPInfo) HasCreationDate() bool
- func (o *ServerIPInfo) HasHasPublicIp() bool
- func (o *ServerIPInfo) HasId() bool
- func (o *ServerIPInfo) HasIpData() bool
- func (o *ServerIPInfo) HasName() bool
- func (o *ServerIPInfo) HasStatus() bool
- func (o ServerIPInfo) MarshalJSON() ([]byte, error)
- func (o *ServerIPInfo) SetCreationDate(v string)
- func (o *ServerIPInfo) SetHasPublicIp(v bool)
- func (o *ServerIPInfo) SetId(v string)
- func (o *ServerIPInfo) SetIpData(v []IPInfo)
- func (o *ServerIPInfo) SetName(v string)
- func (o *ServerIPInfo) SetStatus(v string)
- func (o ServerIPInfo) ToMap() (map[string]interface{}, error)
- type ServerImage
- func (o *ServerImage) GetCreated() string
- func (o *ServerImage) GetCreatedOk() (*string, bool)
- func (o *ServerImage) GetDocuments() []ImgDoc
- func (o *ServerImage) GetDocumentsOk() ([]ImgDoc, bool)
- func (o *ServerImage) GetId() string
- func (o *ServerImage) GetIdOk() (*string, bool)
- func (o *ServerImage) GetMetadata() map[string]string
- func (o *ServerImage) GetMetadataOk() (*map[string]string, bool)
- func (o *ServerImage) GetMinDisk() int32
- func (o *ServerImage) GetMinDiskOk() (*int32, bool)
- func (o *ServerImage) GetMinRam() int32
- func (o *ServerImage) GetMinRamOk() (*int32, bool)
- func (o *ServerImage) GetName() string
- func (o *ServerImage) GetNameOk() (*string, bool)
- func (o *ServerImage) GetOs() string
- func (o *ServerImage) GetOsOk() (*string, bool)
- func (o *ServerImage) GetOsVersion() string
- func (o *ServerImage) GetOsVersionOk() (*string, bool)
- func (o *ServerImage) GetProgress() int32
- func (o *ServerImage) GetProgressOk() (*int32, bool)
- func (o *ServerImage) GetSize() int64
- func (o *ServerImage) GetSizeOk() (*int64, bool)
- func (o *ServerImage) GetStatus() string
- func (o *ServerImage) GetStatusOk() (*string, bool)
- func (o *ServerImage) GetUsername() string
- func (o *ServerImage) GetUsernameOk() (*string, bool)
- func (o *ServerImage) HasCreated() bool
- func (o *ServerImage) HasDocuments() bool
- func (o *ServerImage) HasId() bool
- func (o *ServerImage) HasMetadata() bool
- func (o *ServerImage) HasMinDisk() bool
- func (o *ServerImage) HasMinRam() bool
- func (o *ServerImage) HasName() bool
- func (o *ServerImage) HasOs() bool
- func (o *ServerImage) HasOsVersion() bool
- func (o *ServerImage) HasProgress() bool
- func (o *ServerImage) HasSize() bool
- func (o *ServerImage) HasStatus() bool
- func (o *ServerImage) HasUsername() bool
- func (o ServerImage) MarshalJSON() ([]byte, error)
- func (o *ServerImage) SetCreated(v string)
- func (o *ServerImage) SetDocuments(v []ImgDoc)
- func (o *ServerImage) SetId(v string)
- func (o *ServerImage) SetMetadata(v map[string]string)
- func (o *ServerImage) SetMinDisk(v int32)
- func (o *ServerImage) SetMinRam(v int32)
- func (o *ServerImage) SetName(v string)
- func (o *ServerImage) SetOs(v string)
- func (o *ServerImage) SetOsVersion(v string)
- func (o *ServerImage) SetProgress(v int32)
- func (o *ServerImage) SetSize(v int64)
- func (o *ServerImage) SetStatus(v string)
- func (o *ServerImage) SetUsername(v string)
- func (o ServerImage) ToMap() (map[string]interface{}, error)
- type ServerReports
- func (o *ServerReports) GetCharts() ChartCollection
- func (o *ServerReports) GetChartsOk() (*ChartCollection, bool)
- func (o *ServerReports) HasCharts() bool
- func (o ServerReports) MarshalJSON() ([]byte, error)
- func (o *ServerReports) SetCharts(v ChartCollection)
- func (o ServerReports) ToMap() (map[string]interface{}, error)
- type ServerVariable
- type ServerVolume
- func (o *ServerVolume) GetDescription() string
- func (o *ServerVolume) GetDescriptionOk() (*string, bool)
- func (o *ServerVolume) GetName() string
- func (o *ServerVolume) GetNameOk() (*string, bool)
- func (o *ServerVolume) GetSize() int32
- func (o *ServerVolume) GetSizeOk() (*int32, bool)
- func (o *ServerVolume) HasDescription() bool
- func (o *ServerVolume) HasName() bool
- func (o *ServerVolume) HasSize() bool
- func (o ServerVolume) MarshalJSON() ([]byte, error)
- func (o *ServerVolume) SetDescription(v string)
- func (o *ServerVolume) SetName(v string)
- func (o *ServerVolume) SetSize(v int32)
- func (o ServerVolume) ToMap() (map[string]interface{}, error)
- type ServersAPIAddServerPublicIPRequest
- type ServersAPIAttachServerRootVolumeRequest
- type ServersAPIAttachServerToSecurityGroupRequest
- func (r ServersAPIAttachServerToSecurityGroupRequest) AttachServerToSecurityGroupRequest(attachServerToSecurityGroupRequest AttachServerToSecurityGroupRequest) ServersAPIAttachServerToSecurityGroupRequest
- func (r ServersAPIAttachServerToSecurityGroupRequest) Execute() (*MessageResponse, *http.Response, error)
- type ServersAPICreateServerRequest
- type ServersAPIDeleteServerRequest
- func (r ServersAPIDeleteServerRequest) DeleteServerReasons(deleteServerReasons map[string]interface{}) ServersAPIDeleteServerRequest
- func (r ServersAPIDeleteServerRequest) Execute() (*MessageResponse, *http.Response, error)
- func (r ServersAPIDeleteServerRequest) ForceDelete(forceDelete bool) ServersAPIDeleteServerRequest
- type ServersAPIDetachServerFromSecurityGroupRequest
- func (r ServersAPIDetachServerFromSecurityGroupRequest) AttachServerToSecurityGroupRequest(attachServerToSecurityGroupRequest AttachServerToSecurityGroupRequest) ServersAPIDetachServerFromSecurityGroupRequest
- func (r ServersAPIDetachServerFromSecurityGroupRequest) Execute() (*MessageResponse, *http.Response, error)
- type ServersAPIDetachServerRootVolumeRequest
- type ServersAPIGetAllServersRequest
- type ServersAPIGetDeleteReasonsRequest
- type ServersAPIGetRegionServerCreationOptionsRequest
- type ServersAPIGetServerAvailableActionsRequest
- type ServersAPIGetServerDetailsRequest
- type ServersAPIGetServerVNCRequest
- type ServersAPIHardRebootServerRequest
- type ServersAPIPowerOffServerRequest
- type ServersAPIPowerOnServerRequest
- type ServersAPIRebootServerRequest
- type ServersAPIRebuildServerRequest
- type ServersAPIRenameServerRequest
- type ServersAPIRescueServerRequest
- type ServersAPIResetRootPasswordRequest
- type ServersAPIResizeServerRequest
- type ServersAPIResizeServerRootVolumeRequest
- type ServersAPIService
- func (a *ServersAPIService) AddServerPublicIP(ctx context.Context, region string, id string) ServersAPIAddServerPublicIPRequest
- func (a *ServersAPIService) AddServerPublicIPExecute(r ServersAPIAddServerPublicIPRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) AttachServerRootVolume(ctx context.Context, region string, id string) ServersAPIAttachServerRootVolumeRequest
- func (a *ServersAPIService) AttachServerRootVolumeExecute(r ServersAPIAttachServerRootVolumeRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) AttachServerToSecurityGroup(ctx context.Context, region string, id string) ServersAPIAttachServerToSecurityGroupRequest
- func (a *ServersAPIService) AttachServerToSecurityGroupExecute(r ServersAPIAttachServerToSecurityGroupRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) CreateServer(ctx context.Context, region string) ServersAPICreateServerRequest
- func (a *ServersAPIService) CreateServerExecute(r ServersAPICreateServerRequest) (*ServerDetail, *http.Response, error)
- func (a *ServersAPIService) DeleteServer(ctx context.Context, region string, id string) ServersAPIDeleteServerRequest
- func (a *ServersAPIService) DeleteServerExecute(r ServersAPIDeleteServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) DetachServerFromSecurityGroup(ctx context.Context, region string, id string) ServersAPIDetachServerFromSecurityGroupRequest
- func (a *ServersAPIService) DetachServerFromSecurityGroupExecute(r ServersAPIDetachServerFromSecurityGroupRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) DetachServerRootVolume(ctx context.Context, region string, id string) ServersAPIDetachServerRootVolumeRequest
- func (a *ServersAPIService) DetachServerRootVolumeExecute(r ServersAPIDetachServerRootVolumeRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) GetAllServers(ctx context.Context, region string) ServersAPIGetAllServersRequest
- func (a *ServersAPIService) GetAllServersExecute(r ServersAPIGetAllServersRequest) (*ServerDetail, *http.Response, error)
- func (a *ServersAPIService) GetDeleteReasons(ctx context.Context, region string) ServersAPIGetDeleteReasonsRequest
- func (a *ServersAPIService) GetDeleteReasonsExecute(r ServersAPIGetDeleteReasonsRequest) (*DeleteServerReasons, *http.Response, error)
- func (a *ServersAPIService) GetRegionServerCreationOptions(ctx context.Context, region string) ServersAPIGetRegionServerCreationOptionsRequest
- func (a *ServersAPIService) GetRegionServerCreationOptionsExecute(r ServersAPIGetRegionServerCreationOptionsRequest) (*RegionServerCreateOptions, *http.Response, error)
- func (a *ServersAPIService) GetServerAvailableActions(ctx context.Context, region string, id string) ServersAPIGetServerAvailableActionsRequest
- func (a *ServersAPIService) GetServerAvailableActionsExecute(r ServersAPIGetServerAvailableActionsRequest) (*GetServerActionsResponse, *http.Response, error)
- func (a *ServersAPIService) GetServerDetails(ctx context.Context, region string, id string) ServersAPIGetServerDetailsRequest
- func (a *ServersAPIService) GetServerDetailsExecute(r ServersAPIGetServerDetailsRequest) (*ServerDetail, *http.Response, error)
- func (a *ServersAPIService) GetServerVNC(ctx context.Context, region string, id string) ServersAPIGetServerVNCRequest
- func (a *ServersAPIService) GetServerVNCExecute(r ServersAPIGetServerVNCRequest) (*GetServerVNCRequest, *http.Response, error)
- func (a *ServersAPIService) HardRebootServer(ctx context.Context, region string, id string) ServersAPIHardRebootServerRequest
- func (a *ServersAPIService) HardRebootServerExecute(r ServersAPIHardRebootServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) PowerOffServer(ctx context.Context, region string, id string) ServersAPIPowerOffServerRequest
- func (a *ServersAPIService) PowerOffServerExecute(r ServersAPIPowerOffServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) PowerOnServer(ctx context.Context, region string, id string) ServersAPIPowerOnServerRequest
- func (a *ServersAPIService) PowerOnServerExecute(r ServersAPIPowerOnServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) RebootServer(ctx context.Context, region string, id string) ServersAPIRebootServerRequest
- func (a *ServersAPIService) RebootServerExecute(r ServersAPIRebootServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) RebuildServer(ctx context.Context, region string, id string) ServersAPIRebuildServerRequest
- func (a *ServersAPIService) RebuildServerExecute(r ServersAPIRebuildServerRequest) (*ServerDetail, *http.Response, error)
- func (a *ServersAPIService) RenameServer(ctx context.Context, region string, id string) ServersAPIRenameServerRequest
- func (a *ServersAPIService) RenameServerExecute(r ServersAPIRenameServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) RescueServer(ctx context.Context, region string, id string) ServersAPIRescueServerRequest
- func (a *ServersAPIService) RescueServerExecute(r ServersAPIRescueServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) ResetRootPassword(ctx context.Context, region string, id string) ServersAPIResetRootPasswordRequest
- func (a *ServersAPIService) ResetRootPasswordExecute(r ServersAPIResetRootPasswordRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) ResizeServer(ctx context.Context, region string, id string) ServersAPIResizeServerRequest
- func (a *ServersAPIService) ResizeServerExecute(r ServersAPIResizeServerRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) ResizeServerRootVolume(ctx context.Context, region string, id string) ServersAPIResizeServerRootVolumeRequest
- func (a *ServersAPIService) ResizeServerRootVolumeExecute(r ServersAPIResizeServerRootVolumeRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) TakeServerSnapshot(ctx context.Context, region string, id string) ServersAPITakeServerSnapshotRequest
- func (a *ServersAPIService) TakeServerSnapshotExecute(r ServersAPITakeServerSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) ToggleInstanceHA(ctx context.Context, region string, id string, action string) ServersAPIToggleInstanceHARequest
- func (a *ServersAPIService) ToggleInstanceHAExecute(r ServersAPIToggleInstanceHARequest) (*MessageResponse, *http.Response, error)
- func (a *ServersAPIService) UnrescueServer(ctx context.Context, region string, id string) ServersAPIUnrescueServerRequest
- func (a *ServersAPIService) UnrescueServerExecute(r ServersAPIUnrescueServerRequest) (*MessageResponse, *http.Response, error)
- type ServersAPITakeServerSnapshotRequest
- type ServersAPIToggleInstanceHARequest
- type ServersAPIUnrescueServerRequest
- type SinglePlan
- func (o *SinglePlan) GetBandwidthInBytes() int64
- func (o *SinglePlan) GetBandwidthInBytesOk() (*int64, bool)
- func (o *SinglePlan) GetBasePackage() string
- func (o *SinglePlan) GetBasePackageOk() (*string, bool)
- func (o *SinglePlan) GetCpuCount() int64
- func (o *SinglePlan) GetCpuCountOk() (*int64, bool)
- func (o *SinglePlan) GetCpuShare() string
- func (o *SinglePlan) GetCpuShareOk() (*string, bool)
- func (o *SinglePlan) GetCreateType() string
- func (o *SinglePlan) GetCreateTypeOk() (*string, bool)
- func (o *SinglePlan) GetDisk() int64
- func (o *SinglePlan) GetDiskOk() (*int64, bool)
- func (o *SinglePlan) GetId() string
- func (o *SinglePlan) GetIdOk() (*string, bool)
- func (o *SinglePlan) GetIopsMaxHdd() int64
- func (o *SinglePlan) GetIopsMaxHddOk() (*int64, bool)
- func (o *SinglePlan) GetIopsMaxSsd() int64
- func (o *SinglePlan) GetIopsMaxSsdOk() (*int64, bool)
- func (o *SinglePlan) GetMemory() float64
- func (o *SinglePlan) GetMemoryOk() (*float64, bool)
- func (o *SinglePlan) GetName() string
- func (o *SinglePlan) GetNameOk() (*string, bool)
- func (o *SinglePlan) GetOff() string
- func (o *SinglePlan) GetOffOk() (*string, bool)
- func (o *SinglePlan) GetOffPercent() string
- func (o *SinglePlan) GetOffPercentOk() (*string, bool)
- func (o *SinglePlan) GetPortSpeed() float64
- func (o *SinglePlan) GetPortSpeedOk() (*float64, bool)
- func (o *SinglePlan) GetPps() []int64
- func (o *SinglePlan) GetPpsOk() ([]int64, bool)
- func (o *SinglePlan) GetPricePerHour() int64
- func (o *SinglePlan) GetPricePerHourOk() (*int64, bool)
- func (o *SinglePlan) GetPricePerMonth() int64
- func (o *SinglePlan) GetPricePerMonthOk() (*int64, bool)
- func (o *SinglePlan) GetSubtype() string
- func (o *SinglePlan) GetSubtypeOk() (*string, bool)
- func (o *SinglePlan) GetSwap() string
- func (o *SinglePlan) GetSwapOk() (*string, bool)
- func (o *SinglePlan) GetThroughput() int64
- func (o *SinglePlan) GetThroughputOk() (*int64, bool)
- func (o *SinglePlan) GetType() string
- func (o *SinglePlan) GetTypeOk() (*string, bool)
- func (o *SinglePlan) HasBandwidthInBytes() bool
- func (o *SinglePlan) HasBasePackage() bool
- func (o *SinglePlan) HasCpuCount() bool
- func (o *SinglePlan) HasCpuShare() bool
- func (o *SinglePlan) HasCreateType() bool
- func (o *SinglePlan) HasDisk() bool
- func (o *SinglePlan) HasId() bool
- func (o *SinglePlan) HasIopsMaxHdd() bool
- func (o *SinglePlan) HasIopsMaxSsd() bool
- func (o *SinglePlan) HasMemory() bool
- func (o *SinglePlan) HasName() bool
- func (o *SinglePlan) HasOff() bool
- func (o *SinglePlan) HasOffPercent() bool
- func (o *SinglePlan) HasPortSpeed() bool
- func (o *SinglePlan) HasPps() bool
- func (o *SinglePlan) HasPricePerHour() bool
- func (o *SinglePlan) HasPricePerMonth() bool
- func (o *SinglePlan) HasSubtype() bool
- func (o *SinglePlan) HasSwap() bool
- func (o *SinglePlan) HasThroughput() bool
- func (o *SinglePlan) HasType() bool
- func (o SinglePlan) MarshalJSON() ([]byte, error)
- func (o *SinglePlan) SetBandwidthInBytes(v int64)
- func (o *SinglePlan) SetBasePackage(v string)
- func (o *SinglePlan) SetCpuCount(v int64)
- func (o *SinglePlan) SetCpuShare(v string)
- func (o *SinglePlan) SetCreateType(v string)
- func (o *SinglePlan) SetDisk(v int64)
- func (o *SinglePlan) SetId(v string)
- func (o *SinglePlan) SetIopsMaxHdd(v int64)
- func (o *SinglePlan) SetIopsMaxSsd(v int64)
- func (o *SinglePlan) SetMemory(v float64)
- func (o *SinglePlan) SetName(v string)
- func (o *SinglePlan) SetOff(v string)
- func (o *SinglePlan) SetOffPercent(v string)
- func (o *SinglePlan) SetPortSpeed(v float64)
- func (o *SinglePlan) SetPps(v []int64)
- func (o *SinglePlan) SetPricePerHour(v int64)
- func (o *SinglePlan) SetPricePerMonth(v int64)
- func (o *SinglePlan) SetSubtype(v string)
- func (o *SinglePlan) SetSwap(v string)
- func (o *SinglePlan) SetThroughput(v int64)
- func (o *SinglePlan) SetType(v string)
- func (o SinglePlan) ToMap() (map[string]interface{}, error)
- type SnapshotCreateRequest
- func (o *SnapshotCreateRequest) GetName() string
- func (o *SnapshotCreateRequest) GetNameOk() (*string, bool)
- func (o *SnapshotCreateRequest) HasName() bool
- func (o SnapshotCreateRequest) MarshalJSON() ([]byte, error)
- func (o *SnapshotCreateRequest) SetName(v string)
- func (o SnapshotCreateRequest) ToMap() (map[string]interface{}, error)
- type SnapshotsAPICreateImageFromSnapshotRequest
- type SnapshotsAPICreateSnapshotFromServerRequest
- type SnapshotsAPICreateSnapshotFromVolumeRequest
- type SnapshotsAPICreateVolumeFromSnapshotRequest
- type SnapshotsAPIDeleteSnapshotRequest
- type SnapshotsAPIGetAllSnapshotsRequest
- type SnapshotsAPIRevertSnapshotRequest
- type SnapshotsAPIService
- func (a *SnapshotsAPIService) CreateImageFromSnapshot(ctx context.Context, region string, id string) SnapshotsAPICreateImageFromSnapshotRequest
- func (a *SnapshotsAPIService) CreateImageFromSnapshotExecute(r SnapshotsAPICreateImageFromSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *SnapshotsAPIService) CreateSnapshotFromServer(ctx context.Context, region string, id string) SnapshotsAPICreateSnapshotFromServerRequest
- func (a *SnapshotsAPIService) CreateSnapshotFromServerExecute(r SnapshotsAPICreateSnapshotFromServerRequest) (*MessageResponse, *http.Response, error)
- func (a *SnapshotsAPIService) CreateSnapshotFromVolume(ctx context.Context, region string, id string) SnapshotsAPICreateSnapshotFromVolumeRequest
- func (a *SnapshotsAPIService) CreateSnapshotFromVolumeExecute(r SnapshotsAPICreateSnapshotFromVolumeRequest) (*MessageResponse, *http.Response, error)
- func (a *SnapshotsAPIService) CreateVolumeFromSnapshot(ctx context.Context, region string, id string) SnapshotsAPICreateVolumeFromSnapshotRequest
- func (a *SnapshotsAPIService) CreateVolumeFromSnapshotExecute(r SnapshotsAPICreateVolumeFromSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *SnapshotsAPIService) DeleteSnapshot(ctx context.Context, region string, id string) SnapshotsAPIDeleteSnapshotRequest
- func (a *SnapshotsAPIService) DeleteSnapshotExecute(r SnapshotsAPIDeleteSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *SnapshotsAPIService) GetAllSnapshots(ctx context.Context, region string) SnapshotsAPIGetAllSnapshotsRequest
- func (a *SnapshotsAPIService) GetAllSnapshotsExecute(r SnapshotsAPIGetAllSnapshotsRequest) (*VolumeSnapshot, *http.Response, error)
- func (a *SnapshotsAPIService) RevertSnapshot(ctx context.Context, region string, id string) SnapshotsAPIRevertSnapshotRequest
- func (a *SnapshotsAPIService) RevertSnapshotExecute(r SnapshotsAPIRevertSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *SnapshotsAPIService) UpdateSnapshot(ctx context.Context, region string, id string) SnapshotsAPIUpdateSnapshotRequest
- func (a *SnapshotsAPIService) UpdateSnapshotExecute(r SnapshotsAPIUpdateSnapshotRequest) (*MessageResponse, *http.Response, error)
- type SnapshotsAPIUpdateSnapshotRequest
- type Subnet
- func (o *Subnet) GetAllocationPools() []AllocationPool
- func (o *Subnet) GetAllocationPoolsOk() ([]AllocationPool, bool)
- func (o *Subnet) GetCidr() string
- func (o *Subnet) GetCidrOk() (*string, bool)
- func (o *Subnet) GetDescription() string
- func (o *Subnet) GetDescriptionOk() (*string, bool)
- func (o *Subnet) GetDnsNameservers() []string
- func (o *Subnet) GetDnsNameserversOk() ([]string, bool)
- func (o *Subnet) GetEnableDhcp() bool
- func (o *Subnet) GetEnableDhcpOk() (*bool, bool)
- func (o *Subnet) GetGatewayIp() string
- func (o *Subnet) GetGatewayIpOk() (*string, bool)
- func (o *Subnet) GetHostRoutes() []HostRoute
- func (o *Subnet) GetHostRoutesOk() ([]HostRoute, bool)
- func (o *Subnet) GetId() string
- func (o *Subnet) GetIdOk() (*string, bool)
- func (o *Subnet) GetIpVersion() string
- func (o *Subnet) GetIpVersionOk() (*string, bool)
- func (o *Subnet) GetIpv6AddressMode() string
- func (o *Subnet) GetIpv6AddressModeOk() (*string, bool)
- func (o *Subnet) GetIpv6RaMode() string
- func (o *Subnet) GetIpv6RaModeOk() (*string, bool)
- func (o *Subnet) GetName() string
- func (o *Subnet) GetNameOk() (*string, bool)
- func (o *Subnet) GetNetworkId() string
- func (o *Subnet) GetNetworkIdOk() (*string, bool)
- func (o *Subnet) GetProjectId() string
- func (o *Subnet) GetProjectIdOk() (*string, bool)
- func (o *Subnet) GetRevisionNumber() int64
- func (o *Subnet) GetRevisionNumberOk() (*int64, bool)
- func (o *Subnet) GetServers() []NetworkServer
- func (o *Subnet) GetServersOk() ([]NetworkServer, bool)
- func (o *Subnet) GetServiceTypes() []string
- func (o *Subnet) GetServiceTypesOk() ([]string, bool)
- func (o *Subnet) GetSubnetpoolId() string
- func (o *Subnet) GetSubnetpoolIdOk() (*string, bool)
- func (o *Subnet) GetTags() []string
- func (o *Subnet) GetTagsOk() ([]string, bool)
- func (o *Subnet) GetTenantId() string
- func (o *Subnet) GetTenantIdOk() (*string, bool)
- func (o *Subnet) HasAllocationPools() bool
- func (o *Subnet) HasCidr() bool
- func (o *Subnet) HasDescription() bool
- func (o *Subnet) HasDnsNameservers() bool
- func (o *Subnet) HasEnableDhcp() bool
- func (o *Subnet) HasGatewayIp() bool
- func (o *Subnet) HasHostRoutes() bool
- func (o *Subnet) HasId() bool
- func (o *Subnet) HasIpVersion() bool
- func (o *Subnet) HasIpv6AddressMode() bool
- func (o *Subnet) HasIpv6RaMode() bool
- func (o *Subnet) HasName() bool
- func (o *Subnet) HasNetworkId() bool
- func (o *Subnet) HasProjectId() bool
- func (o *Subnet) HasRevisionNumber() bool
- func (o *Subnet) HasServers() bool
- func (o *Subnet) HasServiceTypes() bool
- func (o *Subnet) HasSubnetpoolId() bool
- func (o *Subnet) HasTags() bool
- func (o *Subnet) HasTenantId() bool
- func (o Subnet) MarshalJSON() ([]byte, error)
- func (o *Subnet) SetAllocationPools(v []AllocationPool)
- func (o *Subnet) SetCidr(v string)
- func (o *Subnet) SetDescription(v string)
- func (o *Subnet) SetDnsNameservers(v []string)
- func (o *Subnet) SetEnableDhcp(v bool)
- func (o *Subnet) SetGatewayIp(v string)
- func (o *Subnet) SetHostRoutes(v []HostRoute)
- func (o *Subnet) SetId(v string)
- func (o *Subnet) SetIpVersion(v string)
- func (o *Subnet) SetIpv6AddressMode(v string)
- func (o *Subnet) SetIpv6RaMode(v string)
- func (o *Subnet) SetName(v string)
- func (o *Subnet) SetNetworkId(v string)
- func (o *Subnet) SetProjectId(v string)
- func (o *Subnet) SetRevisionNumber(v int64)
- func (o *Subnet) SetServers(v []NetworkServer)
- func (o *Subnet) SetServiceTypes(v []string)
- func (o *Subnet) SetSubnetpoolId(v string)
- func (o *Subnet) SetTags(v []string)
- func (o *Subnet) SetTenantId(v string)
- func (o Subnet) ToMap() (map[string]interface{}, error)
- type SubnetsAPICreatePrivateNetworkRequest
- type SubnetsAPIDeletePrivateNetworkRequest
- type SubnetsAPIGetPrivateNetworkRequest
- type SubnetsAPIService
- func (a *SubnetsAPIService) CreatePrivateNetwork(ctx context.Context, region string) SubnetsAPICreatePrivateNetworkRequest
- func (a *SubnetsAPIService) CreatePrivateNetworkExecute(r SubnetsAPICreatePrivateNetworkRequest) (*MessageResponse, *http.Response, error)
- func (a *SubnetsAPIService) DeletePrivateNetwork(ctx context.Context, region string, id string) SubnetsAPIDeletePrivateNetworkRequest
- func (a *SubnetsAPIService) DeletePrivateNetworkExecute(r SubnetsAPIDeletePrivateNetworkRequest) (*MessageResponse, *http.Response, error)
- func (a *SubnetsAPIService) GetPrivateNetwork(ctx context.Context, region string, id string) SubnetsAPIGetPrivateNetworkRequest
- func (a *SubnetsAPIService) GetPrivateNetworkExecute(r SubnetsAPIGetPrivateNetworkRequest) (*MessageResponse, *http.Response, error)
- func (a *SubnetsAPIService) UpdatePrivateNetwork(ctx context.Context, region string) SubnetsAPIUpdatePrivateNetworkRequest
- func (a *SubnetsAPIService) UpdatePrivateNetworkExecute(r SubnetsAPIUpdatePrivateNetworkRequest) (*MessageResponse, *http.Response, error)
- type SubnetsAPIUpdatePrivateNetworkRequest
- type Tag
- func (o *Tag) GetId() string
- func (o *Tag) GetIdOk() (*string, bool)
- func (o *Tag) GetName() string
- func (o *Tag) GetNameOk() (*string, bool)
- func (o *Tag) HasId() bool
- func (o *Tag) HasName() bool
- func (o Tag) MarshalJSON() ([]byte, error)
- func (o *Tag) SetId(v string)
- func (o *Tag) SetName(v string)
- func (o Tag) ToMap() (map[string]interface{}, error)
- type TagsAPIAttachTagRequest
- type TagsAPICreateTagRequest
- type TagsAPIDeleteTagRequest
- type TagsAPIDetachTagRequest
- type TagsAPIGetAllUserTagsRequest
- type TagsAPIService
- func (a *TagsAPIService) AttachTag(ctx context.Context, region string, id string) TagsAPIAttachTagRequest
- func (a *TagsAPIService) AttachTagExecute(r TagsAPIAttachTagRequest) (*MessageResponse, *http.Response, error)
- func (a *TagsAPIService) CreateTag(ctx context.Context, region string) TagsAPICreateTagRequest
- func (a *TagsAPIService) CreateTagExecute(r TagsAPICreateTagRequest) (*MessageResponse, *http.Response, error)
- func (a *TagsAPIService) DeleteTag(ctx context.Context, region string, id string) TagsAPIDeleteTagRequest
- func (a *TagsAPIService) DeleteTagExecute(r TagsAPIDeleteTagRequest) (*MessageResponse, *http.Response, error)
- func (a *TagsAPIService) DetachTag(ctx context.Context, region string, id string) TagsAPIDetachTagRequest
- func (a *TagsAPIService) DetachTagExecute(r TagsAPIDetachTagRequest) (*MessageResponse, *http.Response, error)
- func (a *TagsAPIService) GetAllUserTags(ctx context.Context, region string) TagsAPIGetAllUserTagsRequest
- func (a *TagsAPIService) GetAllUserTagsExecute(r TagsAPIGetAllUserTagsRequest) (*Tag, *http.Response, error)
- func (a *TagsAPIService) TagMultipleInstances(ctx context.Context, region string) TagsAPITagMultipleInstancesRequest
- func (a *TagsAPIService) TagMultipleInstancesExecute(r TagsAPITagMultipleInstancesRequest) (*MessageResponse, *http.Response, error)
- func (a *TagsAPIService) UpdateTag(ctx context.Context, region string, id string) TagsAPIUpdateTagRequest
- func (a *TagsAPIService) UpdateTagExecute(r TagsAPIUpdateTagRequest) (*MessageResponse, *http.Response, error)
- type TagsAPITagMultipleInstancesRequest
- type TagsAPIUpdateTagRequest
- type UpdateTagRequest
- func (o *UpdateTagRequest) GetTagName() string
- func (o *UpdateTagRequest) GetTagNameOk() (*string, bool)
- func (o *UpdateTagRequest) HasTagName() bool
- func (o UpdateTagRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateTagRequest) SetTagName(v string)
- func (o UpdateTagRequest) ToMap() (map[string]interface{}, error)
- type UpdateVolumeRequest
- func (o *UpdateVolumeRequest) GetDescription() string
- func (o *UpdateVolumeRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateVolumeRequest) GetName() string
- func (o *UpdateVolumeRequest) GetNameOk() (*string, bool)
- func (o *UpdateVolumeRequest) HasDescription() bool
- func (o *UpdateVolumeRequest) HasName() bool
- func (o UpdateVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateVolumeRequest) SetDescription(v string)
- func (o *UpdateVolumeRequest) SetName(v string)
- func (o UpdateVolumeRequest) ToMap() (map[string]interface{}, error)
- type UpdateVolumeSnapshotRequest
- func (o *UpdateVolumeSnapshotRequest) GetDescription() string
- func (o *UpdateVolumeSnapshotRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateVolumeSnapshotRequest) GetInstanceName() string
- func (o *UpdateVolumeSnapshotRequest) GetInstanceNameOk() (*string, bool)
- func (o *UpdateVolumeSnapshotRequest) GetName() string
- func (o *UpdateVolumeSnapshotRequest) GetNameOk() (*string, bool)
- func (o *UpdateVolumeSnapshotRequest) GetVolumeName() string
- func (o *UpdateVolumeSnapshotRequest) GetVolumeNameOk() (*string, bool)
- func (o *UpdateVolumeSnapshotRequest) HasDescription() bool
- func (o *UpdateVolumeSnapshotRequest) HasInstanceName() bool
- func (o *UpdateVolumeSnapshotRequest) HasName() bool
- func (o *UpdateVolumeSnapshotRequest) HasVolumeName() bool
- func (o UpdateVolumeSnapshotRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateVolumeSnapshotRequest) SetDescription(v string)
- func (o *UpdateVolumeSnapshotRequest) SetInstanceName(v string)
- func (o *UpdateVolumeSnapshotRequest) SetName(v string)
- func (o *UpdateVolumeSnapshotRequest) SetVolumeName(v string)
- func (o UpdateVolumeSnapshotRequest) ToMap() (map[string]interface{}, error)
- type Volume
- func (o *Volume) GetAttachments() []Attachment
- func (o *Volume) GetAttachmentsOk() ([]Attachment, bool)
- func (o *Volume) GetBootable() string
- func (o *Volume) GetBootableOk() (*string, bool)
- func (o *Volume) GetCreatedAt() string
- func (o *Volume) GetCreatedAtOk() (*string, bool)
- func (o *Volume) GetDescription() string
- func (o *Volume) GetDescriptionOk() (*string, bool)
- func (o *Volume) GetId() string
- func (o *Volume) GetIdOk() (*string, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetSize() int32
- func (o *Volume) GetSizeOk() (*int32, bool)
- func (o *Volume) GetSnapshotId() string
- func (o *Volume) GetSnapshotIdOk() (*string, bool)
- func (o *Volume) GetSourceVolumeId() string
- func (o *Volume) GetSourceVolumeIdOk() (*string, bool)
- func (o *Volume) GetStatus() string
- func (o *Volume) GetStatusOk() (*string, bool)
- func (o *Volume) GetVolumeTypeName() string
- func (o *Volume) GetVolumeTypeNameOk() (*string, bool)
- func (o *Volume) HasAttachments() bool
- func (o *Volume) HasBootable() bool
- func (o *Volume) HasCreatedAt() bool
- func (o *Volume) HasDescription() bool
- func (o *Volume) HasId() bool
- func (o *Volume) HasName() bool
- func (o *Volume) HasSize() bool
- func (o *Volume) HasSnapshotId() bool
- func (o *Volume) HasSourceVolumeId() bool
- func (o *Volume) HasStatus() bool
- func (o *Volume) HasVolumeTypeName() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetAttachments(v []Attachment)
- func (o *Volume) SetBootable(v string)
- func (o *Volume) SetCreatedAt(v string)
- func (o *Volume) SetDescription(v string)
- func (o *Volume) SetId(v string)
- func (o *Volume) SetName(v string)
- func (o *Volume) SetSize(v int32)
- func (o *Volume) SetSnapshotId(v string)
- func (o *Volume) SetSourceVolumeId(v string)
- func (o *Volume) SetStatus(v string)
- func (o *Volume) SetVolumeTypeName(v string)
- func (o Volume) ToMap() (map[string]interface{}, error)
- type VolumeAttachDetachRequest
- func (o *VolumeAttachDetachRequest) GetServerId() string
- func (o *VolumeAttachDetachRequest) GetServerIdOk() (*string, bool)
- func (o *VolumeAttachDetachRequest) GetVolumeId() string
- func (o *VolumeAttachDetachRequest) GetVolumeIdOk() (*string, bool)
- func (o *VolumeAttachDetachRequest) HasServerId() bool
- func (o *VolumeAttachDetachRequest) HasVolumeId() bool
- func (o VolumeAttachDetachRequest) MarshalJSON() ([]byte, error)
- func (o *VolumeAttachDetachRequest) SetServerId(v string)
- func (o *VolumeAttachDetachRequest) SetVolumeId(v string)
- func (o VolumeAttachDetachRequest) ToMap() (map[string]interface{}, error)
- type VolumeLimits
- func (o *VolumeLimits) GetMaxTotalBackupGigabytes() int32
- func (o *VolumeLimits) GetMaxTotalBackupGigabytesOk() (*int32, bool)
- func (o *VolumeLimits) GetMaxTotalBackups() int32
- func (o *VolumeLimits) GetMaxTotalBackupsOk() (*int32, bool)
- func (o *VolumeLimits) GetMaxTotalSnapshots() int32
- func (o *VolumeLimits) GetMaxTotalSnapshotsOk() (*int32, bool)
- func (o *VolumeLimits) GetMaxTotalVolumeGigabytes() int32
- func (o *VolumeLimits) GetMaxTotalVolumeGigabytesOk() (*int32, bool)
- func (o *VolumeLimits) GetMaxTotalVolumes() int32
- func (o *VolumeLimits) GetMaxTotalVolumesOk() (*int32, bool)
- func (o *VolumeLimits) GetTotalBackupGigabytesUsed() int32
- func (o *VolumeLimits) GetTotalBackupGigabytesUsedOk() (*int32, bool)
- func (o *VolumeLimits) GetTotalBackupsUsed() int32
- func (o *VolumeLimits) GetTotalBackupsUsedOk() (*int32, bool)
- func (o *VolumeLimits) GetTotalGigabytesUsed() int32
- func (o *VolumeLimits) GetTotalGigabytesUsedOk() (*int32, bool)
- func (o *VolumeLimits) GetTotalSnapshotsUsed() int32
- func (o *VolumeLimits) GetTotalSnapshotsUsedOk() (*int32, bool)
- func (o *VolumeLimits) GetTotalVolumesUsed() int32
- func (o *VolumeLimits) GetTotalVolumesUsedOk() (*int32, bool)
- func (o *VolumeLimits) HasMaxTotalBackupGigabytes() bool
- func (o *VolumeLimits) HasMaxTotalBackups() bool
- func (o *VolumeLimits) HasMaxTotalSnapshots() bool
- func (o *VolumeLimits) HasMaxTotalVolumeGigabytes() bool
- func (o *VolumeLimits) HasMaxTotalVolumes() bool
- func (o *VolumeLimits) HasTotalBackupGigabytesUsed() bool
- func (o *VolumeLimits) HasTotalBackupsUsed() bool
- func (o *VolumeLimits) HasTotalGigabytesUsed() bool
- func (o *VolumeLimits) HasTotalSnapshotsUsed() bool
- func (o *VolumeLimits) HasTotalVolumesUsed() bool
- func (o VolumeLimits) MarshalJSON() ([]byte, error)
- func (o *VolumeLimits) SetMaxTotalBackupGigabytes(v int32)
- func (o *VolumeLimits) SetMaxTotalBackups(v int32)
- func (o *VolumeLimits) SetMaxTotalSnapshots(v int32)
- func (o *VolumeLimits) SetMaxTotalVolumeGigabytes(v int32)
- func (o *VolumeLimits) SetMaxTotalVolumes(v int32)
- func (o *VolumeLimits) SetTotalBackupGigabytesUsed(v int32)
- func (o *VolumeLimits) SetTotalBackupsUsed(v int32)
- func (o *VolumeLimits) SetTotalGigabytesUsed(v int32)
- func (o *VolumeLimits) SetTotalSnapshotsUsed(v int32)
- func (o *VolumeLimits) SetTotalVolumesUsed(v int32)
- func (o VolumeLimits) ToMap() (map[string]interface{}, error)
- type VolumeOptions
- func (o *VolumeOptions) GetIopsPerGig() IOPSAndThroughput
- func (o *VolumeOptions) GetIopsPerGigOk() (*IOPSAndThroughput, bool)
- func (o *VolumeOptions) GetIopsSecMax() MaxIOPSAndThroughput
- func (o *VolumeOptions) GetIopsSecMaxOk() (*MaxIOPSAndThroughput, bool)
- func (o *VolumeOptions) GetThroughputKbPerGig() IOPSAndThroughput
- func (o *VolumeOptions) GetThroughputKbPerGigOk() (*IOPSAndThroughput, bool)
- func (o *VolumeOptions) GetThroughputSecMax() MaxIOPSAndThroughput
- func (o *VolumeOptions) GetThroughputSecMaxOk() (*MaxIOPSAndThroughput, bool)
- func (o *VolumeOptions) GetThroughputSecMin() IOPSAndThroughput
- func (o *VolumeOptions) GetThroughputSecMinOk() (*IOPSAndThroughput, bool)
- func (o *VolumeOptions) HasIopsPerGig() bool
- func (o *VolumeOptions) HasIopsSecMax() bool
- func (o *VolumeOptions) HasThroughputKbPerGig() bool
- func (o *VolumeOptions) HasThroughputSecMax() bool
- func (o *VolumeOptions) HasThroughputSecMin() bool
- func (o VolumeOptions) MarshalJSON() ([]byte, error)
- func (o *VolumeOptions) SetIopsPerGig(v IOPSAndThroughput)
- func (o *VolumeOptions) SetIopsSecMax(v MaxIOPSAndThroughput)
- func (o *VolumeOptions) SetThroughputKbPerGig(v IOPSAndThroughput)
- func (o *VolumeOptions) SetThroughputSecMax(v MaxIOPSAndThroughput)
- func (o *VolumeOptions) SetThroughputSecMin(v IOPSAndThroughput)
- func (o VolumeOptions) ToMap() (map[string]interface{}, error)
- type VolumeSnapshot
- func (o *VolumeSnapshot) GetCreatedAt() string
- func (o *VolumeSnapshot) GetCreatedAtOk() (*string, bool)
- func (o *VolumeSnapshot) GetDescription() string
- func (o *VolumeSnapshot) GetDescriptionOk() (*string, bool)
- func (o *VolumeSnapshot) GetId() string
- func (o *VolumeSnapshot) GetIdOk() (*string, bool)
- func (o *VolumeSnapshot) GetImageId() string
- func (o *VolumeSnapshot) GetImageIdOk() (*string, bool)
- func (o *VolumeSnapshot) GetName() string
- func (o *VolumeSnapshot) GetNameOk() (*string, bool)
- func (o *VolumeSnapshot) GetRealSize() int64
- func (o *VolumeSnapshot) GetRealSizeOk() (*int64, bool)
- func (o *VolumeSnapshot) GetRealSizeStatus() bool
- func (o *VolumeSnapshot) GetRealSizeStatusOk() (*bool, bool)
- func (o *VolumeSnapshot) GetRevertedOn() string
- func (o *VolumeSnapshot) GetRevertedOnOk() (*string, bool)
- func (o *VolumeSnapshot) GetServerId() string
- func (o *VolumeSnapshot) GetServerIdOk() (*string, bool)
- func (o *VolumeSnapshot) GetServerName() string
- func (o *VolumeSnapshot) GetServerNameOk() (*string, bool)
- func (o *VolumeSnapshot) GetSize() int32
- func (o *VolumeSnapshot) GetSizeOk() (*int32, bool)
- func (o *VolumeSnapshot) GetStatus() string
- func (o *VolumeSnapshot) GetStatusOk() (*string, bool)
- func (o *VolumeSnapshot) GetType() string
- func (o *VolumeSnapshot) GetTypeOk() (*string, bool)
- func (o *VolumeSnapshot) GetVolumeId() string
- func (o *VolumeSnapshot) GetVolumeIdOk() (*string, bool)
- func (o *VolumeSnapshot) GetVolumeName() string
- func (o *VolumeSnapshot) GetVolumeNameOk() (*string, bool)
- func (o *VolumeSnapshot) HasCreatedAt() bool
- func (o *VolumeSnapshot) HasDescription() bool
- func (o *VolumeSnapshot) HasId() bool
- func (o *VolumeSnapshot) HasImageId() bool
- func (o *VolumeSnapshot) HasName() bool
- func (o *VolumeSnapshot) HasRealSize() bool
- func (o *VolumeSnapshot) HasRealSizeStatus() bool
- func (o *VolumeSnapshot) HasRevertedOn() bool
- func (o *VolumeSnapshot) HasServerId() bool
- func (o *VolumeSnapshot) HasServerName() bool
- func (o *VolumeSnapshot) HasSize() bool
- func (o *VolumeSnapshot) HasStatus() bool
- func (o *VolumeSnapshot) HasType() bool
- func (o *VolumeSnapshot) HasVolumeId() bool
- func (o *VolumeSnapshot) HasVolumeName() bool
- func (o VolumeSnapshot) MarshalJSON() ([]byte, error)
- func (o *VolumeSnapshot) SetCreatedAt(v string)
- func (o *VolumeSnapshot) SetDescription(v string)
- func (o *VolumeSnapshot) SetId(v string)
- func (o *VolumeSnapshot) SetImageId(v string)
- func (o *VolumeSnapshot) SetName(v string)
- func (o *VolumeSnapshot) SetRealSize(v int64)
- func (o *VolumeSnapshot) SetRealSizeStatus(v bool)
- func (o *VolumeSnapshot) SetRevertedOn(v string)
- func (o *VolumeSnapshot) SetServerId(v string)
- func (o *VolumeSnapshot) SetServerName(v string)
- func (o *VolumeSnapshot) SetSize(v int32)
- func (o *VolumeSnapshot) SetStatus(v string)
- func (o *VolumeSnapshot) SetType(v string)
- func (o *VolumeSnapshot) SetVolumeId(v string)
- func (o *VolumeSnapshot) SetVolumeName(v string)
- func (o VolumeSnapshot) ToMap() (map[string]interface{}, error)
- type VolumesAPIAttachVolumeToServerRequest
- type VolumesAPICreateOSVolumeFromSnapshotRequest
- type VolumesAPICreateVolumeFromSnapshotRequest
- type VolumesAPICreateVolumeRequest
- type VolumesAPIDeleteVolumeRequest
- type VolumesAPIDeleteVolumeSnapshotRequest
- type VolumesAPIDetachVolumeFromServerRequest
- type VolumesAPIGetAllOSVolumesRequest
- type VolumesAPIGetAllVolumesRequest
- type VolumesAPIGetVolumeLimitsRequest
- type VolumesAPIGetVolumeOptionsRequest
- type VolumesAPIGetVolumeSnapshotsRequest
- type VolumesAPIRevertVolumeSnapshotRequest
- type VolumesAPIService
- func (a *VolumesAPIService) AttachVolumeToServer(ctx context.Context, region string) VolumesAPIAttachVolumeToServerRequest
- func (a *VolumesAPIService) AttachVolumeToServerExecute(r VolumesAPIAttachVolumeToServerRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) CreateOSVolumeFromSnapshot(ctx context.Context, region string, id string) VolumesAPICreateOSVolumeFromSnapshotRequest
- func (a *VolumesAPIService) CreateOSVolumeFromSnapshotExecute(r VolumesAPICreateOSVolumeFromSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) CreateVolume(ctx context.Context, region string, id string) VolumesAPICreateVolumeRequest
- func (a *VolumesAPIService) CreateVolumeExecute(r VolumesAPICreateVolumeRequest) (*Volume, *http.Response, error)
- func (a *VolumesAPIService) CreateVolumeFromSnapshot(ctx context.Context, region string, id string) VolumesAPICreateVolumeFromSnapshotRequest
- func (a *VolumesAPIService) CreateVolumeFromSnapshotExecute(r VolumesAPICreateVolumeFromSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) DeleteVolume(ctx context.Context, region string, id string) VolumesAPIDeleteVolumeRequest
- func (a *VolumesAPIService) DeleteVolumeExecute(r VolumesAPIDeleteVolumeRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) DeleteVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIDeleteVolumeSnapshotRequest
- func (a *VolumesAPIService) DeleteVolumeSnapshotExecute(r VolumesAPIDeleteVolumeSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) DetachVolumeFromServer(ctx context.Context, region string) VolumesAPIDetachVolumeFromServerRequest
- func (a *VolumesAPIService) DetachVolumeFromServerExecute(r VolumesAPIDetachVolumeFromServerRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) GetAllOSVolumes(ctx context.Context, region string) VolumesAPIGetAllOSVolumesRequest
- func (a *VolumesAPIService) GetAllOSVolumesExecute(r VolumesAPIGetAllOSVolumesRequest) (*Volume, *http.Response, error)
- func (a *VolumesAPIService) GetAllVolumes(ctx context.Context, region string) VolumesAPIGetAllVolumesRequest
- func (a *VolumesAPIService) GetAllVolumesExecute(r VolumesAPIGetAllVolumesRequest) (*Volume, *http.Response, error)
- func (a *VolumesAPIService) GetVolumeLimits(ctx context.Context, region string) VolumesAPIGetVolumeLimitsRequest
- func (a *VolumesAPIService) GetVolumeLimitsExecute(r VolumesAPIGetVolumeLimitsRequest) (*VolumeLimits, *http.Response, error)
- func (a *VolumesAPIService) GetVolumeOptions(ctx context.Context, region string) VolumesAPIGetVolumeOptionsRequest
- func (a *VolumesAPIService) GetVolumeOptionsExecute(r VolumesAPIGetVolumeOptionsRequest) (*VolumeOptions, *http.Response, error)
- func (a *VolumesAPIService) GetVolumeSnapshots(ctx context.Context, region string) VolumesAPIGetVolumeSnapshotsRequest
- func (a *VolumesAPIService) GetVolumeSnapshotsExecute(r VolumesAPIGetVolumeSnapshotsRequest) (*http.Response, error)
- func (a *VolumesAPIService) RevertVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIRevertVolumeSnapshotRequest
- func (a *VolumesAPIService) RevertVolumeSnapshotExecute(r VolumesAPIRevertVolumeSnapshotRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) UpdateVolume(ctx context.Context, region string, id string) VolumesAPIUpdateVolumeRequest
- func (a *VolumesAPIService) UpdateVolumeExecute(r VolumesAPIUpdateVolumeRequest) (*MessageResponse, *http.Response, error)
- func (a *VolumesAPIService) UpdateVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIUpdateVolumeSnapshotRequest
- func (a *VolumesAPIService) UpdateVolumeSnapshotExecute(r VolumesAPIUpdateVolumeSnapshotRequest) (*MessageResponse, *http.Response, error)
- type VolumesAPIUpdateVolumeRequest
- type VolumesAPIUpdateVolumeSnapshotRequest
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { FloatingIPsAPI *FloatingIPsAPIService ImagesAPI *ImagesAPIService NetworksAPI *NetworksAPIService PTRAPI *PTRAPIService PlansAPI *PlansAPIService PortsAPI *PortsAPIService QuotaAPI *QuotaAPIService ReportsAPI *ReportsAPIService SSHKeysAPI *SSHKeysAPIService SecurityGroupsAPI *SecurityGroupsAPIService ServersAPI *ServersAPIService SnapshotsAPI *SnapshotsAPIService SubnetsAPI *SubnetsAPIService TagsAPI *TagsAPIService VolumesAPI *VolumesAPIService // contains filtered or unexported fields }
APIClient manages communication with the API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AddServerPublicIPRequest ¶
type AddServerPublicIPRequest struct { SecurityGroup *string `json:"security_group,omitempty"` SecurityGroups []string `json:"security_groups,omitempty"` }
AddServerPublicIPRequest struct for AddServerPublicIPRequest
func NewAddServerPublicIPRequest ¶
func NewAddServerPublicIPRequest() *AddServerPublicIPRequest
NewAddServerPublicIPRequest instantiates a new AddServerPublicIPRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddServerPublicIPRequestWithDefaults ¶
func NewAddServerPublicIPRequestWithDefaults() *AddServerPublicIPRequest
NewAddServerPublicIPRequestWithDefaults instantiates a new AddServerPublicIPRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddServerPublicIPRequest) GetSecurityGroup ¶
func (o *AddServerPublicIPRequest) GetSecurityGroup() string
GetSecurityGroup returns the SecurityGroup field value if set, zero value otherwise.
func (*AddServerPublicIPRequest) GetSecurityGroupOk ¶
func (o *AddServerPublicIPRequest) GetSecurityGroupOk() (*string, bool)
GetSecurityGroupOk returns a tuple with the SecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddServerPublicIPRequest) GetSecurityGroups ¶
func (o *AddServerPublicIPRequest) GetSecurityGroups() []string
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*AddServerPublicIPRequest) GetSecurityGroupsOk ¶
func (o *AddServerPublicIPRequest) GetSecurityGroupsOk() ([]string, bool)
GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddServerPublicIPRequest) HasSecurityGroup ¶
func (o *AddServerPublicIPRequest) HasSecurityGroup() bool
HasSecurityGroup returns a boolean if a field has been set.
func (*AddServerPublicIPRequest) HasSecurityGroups ¶
func (o *AddServerPublicIPRequest) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (AddServerPublicIPRequest) MarshalJSON ¶
func (o AddServerPublicIPRequest) MarshalJSON() ([]byte, error)
func (*AddServerPublicIPRequest) SetSecurityGroup ¶
func (o *AddServerPublicIPRequest) SetSecurityGroup(v string)
SetSecurityGroup gets a reference to the given string and assigns it to the SecurityGroup field.
func (*AddServerPublicIPRequest) SetSecurityGroups ¶
func (o *AddServerPublicIPRequest) SetSecurityGroups(v []string)
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (AddServerPublicIPRequest) ToMap ¶
func (o AddServerPublicIPRequest) ToMap() (map[string]interface{}, error)
type AllocationPool ¶
type AllocationPool struct { End *string `json:"end,omitempty"` Start *string `json:"start,omitempty"` }
AllocationPool struct for AllocationPool
func NewAllocationPool ¶
func NewAllocationPool() *AllocationPool
NewAllocationPool instantiates a new AllocationPool object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocationPoolWithDefaults ¶
func NewAllocationPoolWithDefaults() *AllocationPool
NewAllocationPoolWithDefaults instantiates a new AllocationPool object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocationPool) GetEnd ¶
func (o *AllocationPool) GetEnd() string
GetEnd returns the End field value if set, zero value otherwise.
func (*AllocationPool) GetEndOk ¶
func (o *AllocationPool) GetEndOk() (*string, bool)
GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationPool) GetStart ¶
func (o *AllocationPool) GetStart() string
GetStart returns the Start field value if set, zero value otherwise.
func (*AllocationPool) GetStartOk ¶
func (o *AllocationPool) GetStartOk() (*string, bool)
GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationPool) HasEnd ¶
func (o *AllocationPool) HasEnd() bool
HasEnd returns a boolean if a field has been set.
func (*AllocationPool) HasStart ¶
func (o *AllocationPool) HasStart() bool
HasStart returns a boolean if a field has been set.
func (AllocationPool) MarshalJSON ¶
func (o AllocationPool) MarshalJSON() ([]byte, error)
func (*AllocationPool) SetEnd ¶
func (o *AllocationPool) SetEnd(v string)
SetEnd gets a reference to the given string and assigns it to the End field.
func (*AllocationPool) SetStart ¶
func (o *AllocationPool) SetStart(v string)
SetStart gets a reference to the given string and assigns it to the Start field.
func (AllocationPool) ToMap ¶
func (o AllocationPool) ToMap() (map[string]interface{}, error)
type AttachPortSecurityRequest ¶
type AttachPortSecurityRequest struct {
SecurityGroupId *string `json:"security_group_id,omitempty"`
}
AttachPortSecurityRequest struct for AttachPortSecurityRequest
func NewAttachPortSecurityRequest ¶
func NewAttachPortSecurityRequest() *AttachPortSecurityRequest
NewAttachPortSecurityRequest instantiates a new AttachPortSecurityRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttachPortSecurityRequestWithDefaults ¶
func NewAttachPortSecurityRequestWithDefaults() *AttachPortSecurityRequest
NewAttachPortSecurityRequestWithDefaults instantiates a new AttachPortSecurityRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AttachPortSecurityRequest) GetSecurityGroupId ¶
func (o *AttachPortSecurityRequest) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*AttachPortSecurityRequest) GetSecurityGroupIdOk ¶
func (o *AttachPortSecurityRequest) GetSecurityGroupIdOk() (*string, bool)
GetSecurityGroupIdOk returns a tuple with the SecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachPortSecurityRequest) HasSecurityGroupId ¶
func (o *AttachPortSecurityRequest) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (AttachPortSecurityRequest) MarshalJSON ¶
func (o AttachPortSecurityRequest) MarshalJSON() ([]byte, error)
func (*AttachPortSecurityRequest) SetSecurityGroupId ¶
func (o *AttachPortSecurityRequest) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (AttachPortSecurityRequest) ToMap ¶
func (o AttachPortSecurityRequest) ToMap() (map[string]interface{}, error)
type AttachServerRootVolumeRequest ¶
type AttachServerRootVolumeRequest struct {
VolumeId *string `json:"volume_id,omitempty"`
}
AttachServerRootVolumeRequest struct for AttachServerRootVolumeRequest
func NewAttachServerRootVolumeRequest ¶
func NewAttachServerRootVolumeRequest() *AttachServerRootVolumeRequest
NewAttachServerRootVolumeRequest instantiates a new AttachServerRootVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttachServerRootVolumeRequestWithDefaults ¶
func NewAttachServerRootVolumeRequestWithDefaults() *AttachServerRootVolumeRequest
NewAttachServerRootVolumeRequestWithDefaults instantiates a new AttachServerRootVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AttachServerRootVolumeRequest) GetVolumeId ¶
func (o *AttachServerRootVolumeRequest) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*AttachServerRootVolumeRequest) GetVolumeIdOk ¶
func (o *AttachServerRootVolumeRequest) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachServerRootVolumeRequest) HasVolumeId ¶
func (o *AttachServerRootVolumeRequest) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (AttachServerRootVolumeRequest) MarshalJSON ¶
func (o AttachServerRootVolumeRequest) MarshalJSON() ([]byte, error)
func (*AttachServerRootVolumeRequest) SetVolumeId ¶
func (o *AttachServerRootVolumeRequest) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (AttachServerRootVolumeRequest) ToMap ¶
func (o AttachServerRootVolumeRequest) ToMap() (map[string]interface{}, error)
type AttachServerToNetworkRequest ¶
type AttachServerToNetworkRequest struct { EnablePortSecurity *bool `json:"enablePortSecurity,omitempty"` Ip *string `json:"ip,omitempty"` ServerId *string `json:"server_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` }
AttachServerToNetworkRequest struct for AttachServerToNetworkRequest
func NewAttachServerToNetworkRequest ¶
func NewAttachServerToNetworkRequest() *AttachServerToNetworkRequest
NewAttachServerToNetworkRequest instantiates a new AttachServerToNetworkRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttachServerToNetworkRequestWithDefaults ¶
func NewAttachServerToNetworkRequestWithDefaults() *AttachServerToNetworkRequest
NewAttachServerToNetworkRequestWithDefaults instantiates a new AttachServerToNetworkRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AttachServerToNetworkRequest) GetEnablePortSecurity ¶
func (o *AttachServerToNetworkRequest) GetEnablePortSecurity() bool
GetEnablePortSecurity returns the EnablePortSecurity field value if set, zero value otherwise.
func (*AttachServerToNetworkRequest) GetEnablePortSecurityOk ¶
func (o *AttachServerToNetworkRequest) GetEnablePortSecurityOk() (*bool, bool)
GetEnablePortSecurityOk returns a tuple with the EnablePortSecurity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachServerToNetworkRequest) GetIp ¶
func (o *AttachServerToNetworkRequest) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*AttachServerToNetworkRequest) GetIpOk ¶
func (o *AttachServerToNetworkRequest) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachServerToNetworkRequest) GetServerId ¶
func (o *AttachServerToNetworkRequest) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*AttachServerToNetworkRequest) GetServerIdOk ¶
func (o *AttachServerToNetworkRequest) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachServerToNetworkRequest) GetSubnetId ¶
func (o *AttachServerToNetworkRequest) GetSubnetId() string
GetSubnetId returns the SubnetId field value if set, zero value otherwise.
func (*AttachServerToNetworkRequest) GetSubnetIdOk ¶
func (o *AttachServerToNetworkRequest) GetSubnetIdOk() (*string, bool)
GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachServerToNetworkRequest) HasEnablePortSecurity ¶
func (o *AttachServerToNetworkRequest) HasEnablePortSecurity() bool
HasEnablePortSecurity returns a boolean if a field has been set.
func (*AttachServerToNetworkRequest) HasIp ¶
func (o *AttachServerToNetworkRequest) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*AttachServerToNetworkRequest) HasServerId ¶
func (o *AttachServerToNetworkRequest) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*AttachServerToNetworkRequest) HasSubnetId ¶
func (o *AttachServerToNetworkRequest) HasSubnetId() bool
HasSubnetId returns a boolean if a field has been set.
func (AttachServerToNetworkRequest) MarshalJSON ¶
func (o AttachServerToNetworkRequest) MarshalJSON() ([]byte, error)
func (*AttachServerToNetworkRequest) SetEnablePortSecurity ¶
func (o *AttachServerToNetworkRequest) SetEnablePortSecurity(v bool)
SetEnablePortSecurity gets a reference to the given bool and assigns it to the EnablePortSecurity field.
func (*AttachServerToNetworkRequest) SetIp ¶
func (o *AttachServerToNetworkRequest) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*AttachServerToNetworkRequest) SetServerId ¶
func (o *AttachServerToNetworkRequest) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*AttachServerToNetworkRequest) SetSubnetId ¶
func (o *AttachServerToNetworkRequest) SetSubnetId(v string)
SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.
func (AttachServerToNetworkRequest) ToMap ¶
func (o AttachServerToNetworkRequest) ToMap() (map[string]interface{}, error)
type AttachServerToSecurityGroupRequest ¶
type AttachServerToSecurityGroupRequest struct {
SecurityGroupId *string `json:"security_group_id,omitempty"`
}
AttachServerToSecurityGroupRequest struct for AttachServerToSecurityGroupRequest
func NewAttachServerToSecurityGroupRequest ¶
func NewAttachServerToSecurityGroupRequest() *AttachServerToSecurityGroupRequest
NewAttachServerToSecurityGroupRequest instantiates a new AttachServerToSecurityGroupRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttachServerToSecurityGroupRequestWithDefaults ¶
func NewAttachServerToSecurityGroupRequestWithDefaults() *AttachServerToSecurityGroupRequest
NewAttachServerToSecurityGroupRequestWithDefaults instantiates a new AttachServerToSecurityGroupRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AttachServerToSecurityGroupRequest) GetSecurityGroupId ¶
func (o *AttachServerToSecurityGroupRequest) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*AttachServerToSecurityGroupRequest) GetSecurityGroupIdOk ¶
func (o *AttachServerToSecurityGroupRequest) GetSecurityGroupIdOk() (*string, bool)
GetSecurityGroupIdOk returns a tuple with the SecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachServerToSecurityGroupRequest) HasSecurityGroupId ¶
func (o *AttachServerToSecurityGroupRequest) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (AttachServerToSecurityGroupRequest) MarshalJSON ¶
func (o AttachServerToSecurityGroupRequest) MarshalJSON() ([]byte, error)
func (*AttachServerToSecurityGroupRequest) SetSecurityGroupId ¶
func (o *AttachServerToSecurityGroupRequest) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (AttachServerToSecurityGroupRequest) ToMap ¶
func (o AttachServerToSecurityGroupRequest) ToMap() (map[string]interface{}, error)
type AttachTagRequest ¶
type AttachTagRequest struct { InstanceId *string `json:"instance_id,omitempty"` // describes the type of resource, values: `server`, `network`, `image`, `volume`, `float_ip`, `security_group` InstanceType *string `json:"instance_type,omitempty"` }
AttachTagRequest struct for AttachTagRequest
func NewAttachTagRequest ¶
func NewAttachTagRequest() *AttachTagRequest
NewAttachTagRequest instantiates a new AttachTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttachTagRequestWithDefaults ¶
func NewAttachTagRequestWithDefaults() *AttachTagRequest
NewAttachTagRequestWithDefaults instantiates a new AttachTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AttachTagRequest) GetInstanceId ¶
func (o *AttachTagRequest) GetInstanceId() string
GetInstanceId returns the InstanceId field value if set, zero value otherwise.
func (*AttachTagRequest) GetInstanceIdOk ¶
func (o *AttachTagRequest) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachTagRequest) GetInstanceType ¶
func (o *AttachTagRequest) GetInstanceType() string
GetInstanceType returns the InstanceType field value if set, zero value otherwise.
func (*AttachTagRequest) GetInstanceTypeOk ¶
func (o *AttachTagRequest) GetInstanceTypeOk() (*string, bool)
GetInstanceTypeOk returns a tuple with the InstanceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AttachTagRequest) HasInstanceId ¶
func (o *AttachTagRequest) HasInstanceId() bool
HasInstanceId returns a boolean if a field has been set.
func (*AttachTagRequest) HasInstanceType ¶
func (o *AttachTagRequest) HasInstanceType() bool
HasInstanceType returns a boolean if a field has been set.
func (AttachTagRequest) MarshalJSON ¶
func (o AttachTagRequest) MarshalJSON() ([]byte, error)
func (*AttachTagRequest) SetInstanceId ¶
func (o *AttachTagRequest) SetInstanceId(v string)
SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.
func (*AttachTagRequest) SetInstanceType ¶
func (o *AttachTagRequest) SetInstanceType(v string)
SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.
func (AttachTagRequest) ToMap ¶
func (o AttachTagRequest) ToMap() (map[string]interface{}, error)
type Attachment ¶
type Attachment struct { AttachedAt *string `json:"attached_at,omitempty"` AttachmentId *string `json:"attachment_id,omitempty"` Device *string `json:"device,omitempty"` HostName *string `json:"host_name,omitempty"` Id *string `json:"id,omitempty"` ServerId *string `json:"server_id,omitempty"` ServerName *string `json:"server_name,omitempty"` VolumeId *string `json:"volume_id,omitempty"` }
Attachment struct for Attachment
func NewAttachment ¶
func NewAttachment() *Attachment
NewAttachment instantiates a new Attachment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttachmentWithDefaults ¶
func NewAttachmentWithDefaults() *Attachment
NewAttachmentWithDefaults instantiates a new Attachment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Attachment) GetAttachedAt ¶
func (o *Attachment) GetAttachedAt() string
GetAttachedAt returns the AttachedAt field value if set, zero value otherwise.
func (*Attachment) GetAttachedAtOk ¶
func (o *Attachment) GetAttachedAtOk() (*string, bool)
GetAttachedAtOk returns a tuple with the AttachedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetAttachmentId ¶
func (o *Attachment) GetAttachmentId() string
GetAttachmentId returns the AttachmentId field value if set, zero value otherwise.
func (*Attachment) GetAttachmentIdOk ¶
func (o *Attachment) GetAttachmentIdOk() (*string, bool)
GetAttachmentIdOk returns a tuple with the AttachmentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetDevice ¶
func (o *Attachment) GetDevice() string
GetDevice returns the Device field value if set, zero value otherwise.
func (*Attachment) GetDeviceOk ¶
func (o *Attachment) GetDeviceOk() (*string, bool)
GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetHostName ¶
func (o *Attachment) GetHostName() string
GetHostName returns the HostName field value if set, zero value otherwise.
func (*Attachment) GetHostNameOk ¶
func (o *Attachment) GetHostNameOk() (*string, bool)
GetHostNameOk returns a tuple with the HostName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetId ¶
func (o *Attachment) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*Attachment) GetIdOk ¶
func (o *Attachment) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetServerId ¶
func (o *Attachment) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*Attachment) GetServerIdOk ¶
func (o *Attachment) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetServerName ¶
func (o *Attachment) GetServerName() string
GetServerName returns the ServerName field value if set, zero value otherwise.
func (*Attachment) GetServerNameOk ¶
func (o *Attachment) GetServerNameOk() (*string, bool)
GetServerNameOk returns a tuple with the ServerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) GetVolumeId ¶
func (o *Attachment) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*Attachment) GetVolumeIdOk ¶
func (o *Attachment) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attachment) HasAttachedAt ¶
func (o *Attachment) HasAttachedAt() bool
HasAttachedAt returns a boolean if a field has been set.
func (*Attachment) HasAttachmentId ¶
func (o *Attachment) HasAttachmentId() bool
HasAttachmentId returns a boolean if a field has been set.
func (*Attachment) HasDevice ¶
func (o *Attachment) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*Attachment) HasHostName ¶
func (o *Attachment) HasHostName() bool
HasHostName returns a boolean if a field has been set.
func (*Attachment) HasId ¶
func (o *Attachment) HasId() bool
HasId returns a boolean if a field has been set.
func (*Attachment) HasServerId ¶
func (o *Attachment) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*Attachment) HasServerName ¶
func (o *Attachment) HasServerName() bool
HasServerName returns a boolean if a field has been set.
func (*Attachment) HasVolumeId ¶
func (o *Attachment) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (Attachment) MarshalJSON ¶
func (o Attachment) MarshalJSON() ([]byte, error)
func (*Attachment) SetAttachedAt ¶
func (o *Attachment) SetAttachedAt(v string)
SetAttachedAt gets a reference to the given string and assigns it to the AttachedAt field.
func (*Attachment) SetAttachmentId ¶
func (o *Attachment) SetAttachmentId(v string)
SetAttachmentId gets a reference to the given string and assigns it to the AttachmentId field.
func (*Attachment) SetDevice ¶
func (o *Attachment) SetDevice(v string)
SetDevice gets a reference to the given string and assigns it to the Device field.
func (*Attachment) SetHostName ¶
func (o *Attachment) SetHostName(v string)
SetHostName gets a reference to the given string and assigns it to the HostName field.
func (*Attachment) SetId ¶
func (o *Attachment) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Attachment) SetServerId ¶
func (o *Attachment) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*Attachment) SetServerName ¶
func (o *Attachment) SetServerName(v string)
SetServerName gets a reference to the given string and assigns it to the ServerName field.
func (*Attachment) SetVolumeId ¶
func (o *Attachment) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (Attachment) ToMap ¶
func (o Attachment) ToMap() (map[string]interface{}, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BatchTagRequest ¶
type BatchTagRequest struct { InstanceList []string `json:"instance_list,omitempty"` InstanceType *string `json:"instance_type,omitempty"` TagList []string `json:"tag_list,omitempty"` }
BatchTagRequest struct for BatchTagRequest
func NewBatchTagRequest ¶
func NewBatchTagRequest() *BatchTagRequest
NewBatchTagRequest instantiates a new BatchTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBatchTagRequestWithDefaults ¶
func NewBatchTagRequestWithDefaults() *BatchTagRequest
NewBatchTagRequestWithDefaults instantiates a new BatchTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BatchTagRequest) GetInstanceList ¶
func (o *BatchTagRequest) GetInstanceList() []string
GetInstanceList returns the InstanceList field value if set, zero value otherwise.
func (*BatchTagRequest) GetInstanceListOk ¶
func (o *BatchTagRequest) GetInstanceListOk() ([]string, bool)
GetInstanceListOk returns a tuple with the InstanceList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchTagRequest) GetInstanceType ¶
func (o *BatchTagRequest) GetInstanceType() string
GetInstanceType returns the InstanceType field value if set, zero value otherwise.
func (*BatchTagRequest) GetInstanceTypeOk ¶
func (o *BatchTagRequest) GetInstanceTypeOk() (*string, bool)
GetInstanceTypeOk returns a tuple with the InstanceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchTagRequest) GetTagList ¶
func (o *BatchTagRequest) GetTagList() []string
GetTagList returns the TagList field value if set, zero value otherwise.
func (*BatchTagRequest) GetTagListOk ¶
func (o *BatchTagRequest) GetTagListOk() ([]string, bool)
GetTagListOk returns a tuple with the TagList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchTagRequest) HasInstanceList ¶
func (o *BatchTagRequest) HasInstanceList() bool
HasInstanceList returns a boolean if a field has been set.
func (*BatchTagRequest) HasInstanceType ¶
func (o *BatchTagRequest) HasInstanceType() bool
HasInstanceType returns a boolean if a field has been set.
func (*BatchTagRequest) HasTagList ¶
func (o *BatchTagRequest) HasTagList() bool
HasTagList returns a boolean if a field has been set.
func (BatchTagRequest) MarshalJSON ¶
func (o BatchTagRequest) MarshalJSON() ([]byte, error)
func (*BatchTagRequest) SetInstanceList ¶
func (o *BatchTagRequest) SetInstanceList(v []string)
SetInstanceList gets a reference to the given []string and assigns it to the InstanceList field.
func (*BatchTagRequest) SetInstanceType ¶
func (o *BatchTagRequest) SetInstanceType(v string)
SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.
func (*BatchTagRequest) SetTagList ¶
func (o *BatchTagRequest) SetTagList(v []string)
SetTagList gets a reference to the given []string and assigns it to the TagList field.
func (BatchTagRequest) ToMap ¶
func (o BatchTagRequest) ToMap() (map[string]interface{}, error)
type Chart ¶
type Chart struct { Categories []string `json:"categories,omitempty"` Series []ChartDataset `json:"series,omitempty"` Title *string `json:"title,omitempty"` }
Chart struct for Chart
func NewChart ¶
func NewChart() *Chart
NewChart instantiates a new Chart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChartWithDefaults ¶
func NewChartWithDefaults() *Chart
NewChartWithDefaults instantiates a new Chart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Chart) GetCategories ¶
GetCategories returns the Categories field value if set, zero value otherwise.
func (*Chart) GetCategoriesOk ¶
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chart) GetSeries ¶
func (o *Chart) GetSeries() []ChartDataset
GetSeries returns the Series field value if set, zero value otherwise.
func (*Chart) GetSeriesOk ¶
func (o *Chart) GetSeriesOk() ([]ChartDataset, bool)
GetSeriesOk returns a tuple with the Series field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chart) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chart) HasCategories ¶
HasCategories returns a boolean if a field has been set.
func (Chart) MarshalJSON ¶
func (*Chart) SetCategories ¶
SetCategories gets a reference to the given []string and assigns it to the Categories field.
func (*Chart) SetSeries ¶
func (o *Chart) SetSeries(v []ChartDataset)
SetSeries gets a reference to the given []ChartDataset and assigns it to the Series field.
type ChartCollection ¶
type ChartCollection struct { Cpu *Chart `json:"cpu,omitempty"` Disk *Chart `json:"disk,omitempty"` Network *Chart `json:"network,omitempty"` Ram *Chart `json:"ram,omitempty"` Statistics []string `json:"statistics,omitempty"` }
ChartCollection struct for ChartCollection
func NewChartCollection ¶
func NewChartCollection() *ChartCollection
NewChartCollection instantiates a new ChartCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChartCollectionWithDefaults ¶
func NewChartCollectionWithDefaults() *ChartCollection
NewChartCollectionWithDefaults instantiates a new ChartCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChartCollection) GetCpu ¶
func (o *ChartCollection) GetCpu() Chart
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*ChartCollection) GetCpuOk ¶
func (o *ChartCollection) GetCpuOk() (*Chart, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartCollection) GetDisk ¶
func (o *ChartCollection) GetDisk() Chart
GetDisk returns the Disk field value if set, zero value otherwise.
func (*ChartCollection) GetDiskOk ¶
func (o *ChartCollection) GetDiskOk() (*Chart, bool)
GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartCollection) GetNetwork ¶
func (o *ChartCollection) GetNetwork() Chart
GetNetwork returns the Network field value if set, zero value otherwise.
func (*ChartCollection) GetNetworkOk ¶
func (o *ChartCollection) GetNetworkOk() (*Chart, bool)
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartCollection) GetRam ¶
func (o *ChartCollection) GetRam() Chart
GetRam returns the Ram field value if set, zero value otherwise.
func (*ChartCollection) GetRamOk ¶
func (o *ChartCollection) GetRamOk() (*Chart, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartCollection) GetStatistics ¶
func (o *ChartCollection) GetStatistics() []string
GetStatistics returns the Statistics field value if set, zero value otherwise.
func (*ChartCollection) GetStatisticsOk ¶
func (o *ChartCollection) GetStatisticsOk() ([]string, bool)
GetStatisticsOk returns a tuple with the Statistics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartCollection) HasCpu ¶
func (o *ChartCollection) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*ChartCollection) HasDisk ¶
func (o *ChartCollection) HasDisk() bool
HasDisk returns a boolean if a field has been set.
func (*ChartCollection) HasNetwork ¶
func (o *ChartCollection) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*ChartCollection) HasRam ¶
func (o *ChartCollection) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*ChartCollection) HasStatistics ¶
func (o *ChartCollection) HasStatistics() bool
HasStatistics returns a boolean if a field has been set.
func (ChartCollection) MarshalJSON ¶
func (o ChartCollection) MarshalJSON() ([]byte, error)
func (*ChartCollection) SetCpu ¶
func (o *ChartCollection) SetCpu(v Chart)
SetCpu gets a reference to the given Chart and assigns it to the Cpu field.
func (*ChartCollection) SetDisk ¶
func (o *ChartCollection) SetDisk(v Chart)
SetDisk gets a reference to the given Chart and assigns it to the Disk field.
func (*ChartCollection) SetNetwork ¶
func (o *ChartCollection) SetNetwork(v Chart)
SetNetwork gets a reference to the given Chart and assigns it to the Network field.
func (*ChartCollection) SetRam ¶
func (o *ChartCollection) SetRam(v Chart)
SetRam gets a reference to the given Chart and assigns it to the Ram field.
func (*ChartCollection) SetStatistics ¶
func (o *ChartCollection) SetStatistics(v []string)
SetStatistics gets a reference to the given []string and assigns it to the Statistics field.
func (ChartCollection) ToMap ¶
func (o ChartCollection) ToMap() (map[string]interface{}, error)
type ChartDataset ¶
type ChartDataset struct { Data []float64 `json:"data,omitempty"` Name *string `json:"name,omitempty"` }
ChartDataset struct for ChartDataset
func NewChartDataset ¶
func NewChartDataset() *ChartDataset
NewChartDataset instantiates a new ChartDataset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChartDatasetWithDefaults ¶
func NewChartDatasetWithDefaults() *ChartDataset
NewChartDatasetWithDefaults instantiates a new ChartDataset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChartDataset) GetData ¶
func (o *ChartDataset) GetData() []float64
GetData returns the Data field value if set, zero value otherwise.
func (*ChartDataset) GetDataOk ¶
func (o *ChartDataset) GetDataOk() ([]float64, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartDataset) GetName ¶
func (o *ChartDataset) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ChartDataset) GetNameOk ¶
func (o *ChartDataset) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChartDataset) HasData ¶
func (o *ChartDataset) HasData() bool
HasData returns a boolean if a field has been set.
func (*ChartDataset) HasName ¶
func (o *ChartDataset) HasName() bool
HasName returns a boolean if a field has been set.
func (ChartDataset) MarshalJSON ¶
func (o ChartDataset) MarshalJSON() ([]byte, error)
func (*ChartDataset) SetData ¶
func (o *ChartDataset) SetData(v []float64)
SetData gets a reference to the given []float64 and assigns it to the Data field.
func (*ChartDataset) SetName ¶
func (o *ChartDataset) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ChartDataset) ToMap ¶
func (o ChartDataset) ToMap() (map[string]interface{}, error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateFloatIPRequest ¶
type CreateFloatIPRequest struct {
Description *string `json:"description,omitempty"`
}
CreateFloatIPRequest struct for CreateFloatIPRequest
func NewCreateFloatIPRequest ¶
func NewCreateFloatIPRequest() *CreateFloatIPRequest
NewCreateFloatIPRequest instantiates a new CreateFloatIPRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFloatIPRequestWithDefaults ¶
func NewCreateFloatIPRequestWithDefaults() *CreateFloatIPRequest
NewCreateFloatIPRequestWithDefaults instantiates a new CreateFloatIPRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFloatIPRequest) GetDescription ¶
func (o *CreateFloatIPRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateFloatIPRequest) GetDescriptionOk ¶
func (o *CreateFloatIPRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFloatIPRequest) HasDescription ¶
func (o *CreateFloatIPRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CreateFloatIPRequest) MarshalJSON ¶
func (o CreateFloatIPRequest) MarshalJSON() ([]byte, error)
func (*CreateFloatIPRequest) SetDescription ¶
func (o *CreateFloatIPRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (CreateFloatIPRequest) ToMap ¶
func (o CreateFloatIPRequest) ToMap() (map[string]interface{}, error)
type CreateImageFromSnapshotRequest ¶
type CreateImageFromSnapshotRequest struct {
Name *string `json:"name,omitempty"`
}
CreateImageFromSnapshotRequest struct for CreateImageFromSnapshotRequest
func NewCreateImageFromSnapshotRequest ¶
func NewCreateImageFromSnapshotRequest() *CreateImageFromSnapshotRequest
NewCreateImageFromSnapshotRequest instantiates a new CreateImageFromSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateImageFromSnapshotRequestWithDefaults ¶
func NewCreateImageFromSnapshotRequestWithDefaults() *CreateImageFromSnapshotRequest
NewCreateImageFromSnapshotRequestWithDefaults instantiates a new CreateImageFromSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateImageFromSnapshotRequest) GetName ¶
func (o *CreateImageFromSnapshotRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateImageFromSnapshotRequest) GetNameOk ¶
func (o *CreateImageFromSnapshotRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImageFromSnapshotRequest) HasName ¶
func (o *CreateImageFromSnapshotRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateImageFromSnapshotRequest) MarshalJSON ¶
func (o CreateImageFromSnapshotRequest) MarshalJSON() ([]byte, error)
func (*CreateImageFromSnapshotRequest) SetName ¶
func (o *CreateImageFromSnapshotRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateImageFromSnapshotRequest) ToMap ¶
func (o CreateImageFromSnapshotRequest) ToMap() (map[string]interface{}, error)
type CreatePTRRequest ¶
type CreatePTRRequest struct { Domain *string `json:"domain,omitempty"` Ip *string `json:"ip,omitempty"` }
CreatePTRRequest struct for CreatePTRRequest
func NewCreatePTRRequest ¶
func NewCreatePTRRequest() *CreatePTRRequest
NewCreatePTRRequest instantiates a new CreatePTRRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreatePTRRequestWithDefaults ¶
func NewCreatePTRRequestWithDefaults() *CreatePTRRequest
NewCreatePTRRequestWithDefaults instantiates a new CreatePTRRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreatePTRRequest) GetDomain ¶
func (o *CreatePTRRequest) GetDomain() string
GetDomain returns the Domain field value if set, zero value otherwise.
func (*CreatePTRRequest) GetDomainOk ¶
func (o *CreatePTRRequest) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePTRRequest) GetIp ¶
func (o *CreatePTRRequest) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*CreatePTRRequest) GetIpOk ¶
func (o *CreatePTRRequest) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePTRRequest) HasDomain ¶
func (o *CreatePTRRequest) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (*CreatePTRRequest) HasIp ¶
func (o *CreatePTRRequest) HasIp() bool
HasIp returns a boolean if a field has been set.
func (CreatePTRRequest) MarshalJSON ¶
func (o CreatePTRRequest) MarshalJSON() ([]byte, error)
func (*CreatePTRRequest) SetDomain ¶
func (o *CreatePTRRequest) SetDomain(v string)
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*CreatePTRRequest) SetIp ¶
func (o *CreatePTRRequest) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (CreatePTRRequest) ToMap ¶
func (o CreatePTRRequest) ToMap() (map[string]interface{}, error)
type CreatePrivateNetworkRequest ¶
type CreatePrivateNetworkRequest struct { Description *string `json:"description,omitempty"` Dhcp *string `json:"dhcp,omitempty"` DnsServers *string `json:"dns_servers,omitempty"` EnableDhcp *bool `json:"enable_dhcp,omitempty"` EnableGateway *bool `json:"enable_gateway,omitempty"` Name *string `json:"name,omitempty"` NetworkId *string `json:"network_id,omitempty"` SubnetGateway *string `json:"subnet_gateway,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` SubnetIp *string `json:"subnet_ip,omitempty"` }
CreatePrivateNetworkRequest struct for CreatePrivateNetworkRequest
func NewCreatePrivateNetworkRequest ¶
func NewCreatePrivateNetworkRequest() *CreatePrivateNetworkRequest
NewCreatePrivateNetworkRequest instantiates a new CreatePrivateNetworkRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreatePrivateNetworkRequestWithDefaults ¶
func NewCreatePrivateNetworkRequestWithDefaults() *CreatePrivateNetworkRequest
NewCreatePrivateNetworkRequestWithDefaults instantiates a new CreatePrivateNetworkRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreatePrivateNetworkRequest) GetDescription ¶
func (o *CreatePrivateNetworkRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetDescriptionOk ¶
func (o *CreatePrivateNetworkRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetDhcp ¶
func (o *CreatePrivateNetworkRequest) GetDhcp() string
GetDhcp returns the Dhcp field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetDhcpOk ¶
func (o *CreatePrivateNetworkRequest) GetDhcpOk() (*string, bool)
GetDhcpOk returns a tuple with the Dhcp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetDnsServers ¶
func (o *CreatePrivateNetworkRequest) GetDnsServers() string
GetDnsServers returns the DnsServers field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetDnsServersOk ¶
func (o *CreatePrivateNetworkRequest) GetDnsServersOk() (*string, bool)
GetDnsServersOk returns a tuple with the DnsServers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetEnableDhcp ¶
func (o *CreatePrivateNetworkRequest) GetEnableDhcp() bool
GetEnableDhcp returns the EnableDhcp field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetEnableDhcpOk ¶
func (o *CreatePrivateNetworkRequest) GetEnableDhcpOk() (*bool, bool)
GetEnableDhcpOk returns a tuple with the EnableDhcp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetEnableGateway ¶
func (o *CreatePrivateNetworkRequest) GetEnableGateway() bool
GetEnableGateway returns the EnableGateway field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetEnableGatewayOk ¶
func (o *CreatePrivateNetworkRequest) GetEnableGatewayOk() (*bool, bool)
GetEnableGatewayOk returns a tuple with the EnableGateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetName ¶
func (o *CreatePrivateNetworkRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetNameOk ¶
func (o *CreatePrivateNetworkRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetNetworkId ¶
func (o *CreatePrivateNetworkRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetNetworkIdOk ¶
func (o *CreatePrivateNetworkRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetSubnetGateway ¶
func (o *CreatePrivateNetworkRequest) GetSubnetGateway() string
GetSubnetGateway returns the SubnetGateway field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetSubnetGatewayOk ¶
func (o *CreatePrivateNetworkRequest) GetSubnetGatewayOk() (*string, bool)
GetSubnetGatewayOk returns a tuple with the SubnetGateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetSubnetId ¶
func (o *CreatePrivateNetworkRequest) GetSubnetId() string
GetSubnetId returns the SubnetId field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetSubnetIdOk ¶
func (o *CreatePrivateNetworkRequest) GetSubnetIdOk() (*string, bool)
GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) GetSubnetIp ¶
func (o *CreatePrivateNetworkRequest) GetSubnetIp() string
GetSubnetIp returns the SubnetIp field value if set, zero value otherwise.
func (*CreatePrivateNetworkRequest) GetSubnetIpOk ¶
func (o *CreatePrivateNetworkRequest) GetSubnetIpOk() (*string, bool)
GetSubnetIpOk returns a tuple with the SubnetIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePrivateNetworkRequest) HasDescription ¶
func (o *CreatePrivateNetworkRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasDhcp ¶
func (o *CreatePrivateNetworkRequest) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasDnsServers ¶
func (o *CreatePrivateNetworkRequest) HasDnsServers() bool
HasDnsServers returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasEnableDhcp ¶
func (o *CreatePrivateNetworkRequest) HasEnableDhcp() bool
HasEnableDhcp returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasEnableGateway ¶
func (o *CreatePrivateNetworkRequest) HasEnableGateway() bool
HasEnableGateway returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasName ¶
func (o *CreatePrivateNetworkRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasNetworkId ¶
func (o *CreatePrivateNetworkRequest) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasSubnetGateway ¶
func (o *CreatePrivateNetworkRequest) HasSubnetGateway() bool
HasSubnetGateway returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasSubnetId ¶
func (o *CreatePrivateNetworkRequest) HasSubnetId() bool
HasSubnetId returns a boolean if a field has been set.
func (*CreatePrivateNetworkRequest) HasSubnetIp ¶
func (o *CreatePrivateNetworkRequest) HasSubnetIp() bool
HasSubnetIp returns a boolean if a field has been set.
func (CreatePrivateNetworkRequest) MarshalJSON ¶
func (o CreatePrivateNetworkRequest) MarshalJSON() ([]byte, error)
func (*CreatePrivateNetworkRequest) SetDescription ¶
func (o *CreatePrivateNetworkRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreatePrivateNetworkRequest) SetDhcp ¶
func (o *CreatePrivateNetworkRequest) SetDhcp(v string)
SetDhcp gets a reference to the given string and assigns it to the Dhcp field.
func (*CreatePrivateNetworkRequest) SetDnsServers ¶
func (o *CreatePrivateNetworkRequest) SetDnsServers(v string)
SetDnsServers gets a reference to the given string and assigns it to the DnsServers field.
func (*CreatePrivateNetworkRequest) SetEnableDhcp ¶
func (o *CreatePrivateNetworkRequest) SetEnableDhcp(v bool)
SetEnableDhcp gets a reference to the given bool and assigns it to the EnableDhcp field.
func (*CreatePrivateNetworkRequest) SetEnableGateway ¶
func (o *CreatePrivateNetworkRequest) SetEnableGateway(v bool)
SetEnableGateway gets a reference to the given bool and assigns it to the EnableGateway field.
func (*CreatePrivateNetworkRequest) SetName ¶
func (o *CreatePrivateNetworkRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreatePrivateNetworkRequest) SetNetworkId ¶
func (o *CreatePrivateNetworkRequest) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*CreatePrivateNetworkRequest) SetSubnetGateway ¶
func (o *CreatePrivateNetworkRequest) SetSubnetGateway(v string)
SetSubnetGateway gets a reference to the given string and assigns it to the SubnetGateway field.
func (*CreatePrivateNetworkRequest) SetSubnetId ¶
func (o *CreatePrivateNetworkRequest) SetSubnetId(v string)
SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.
func (*CreatePrivateNetworkRequest) SetSubnetIp ¶
func (o *CreatePrivateNetworkRequest) SetSubnetIp(v string)
SetSubnetIp gets a reference to the given string and assigns it to the SubnetIp field.
func (CreatePrivateNetworkRequest) ToMap ¶
func (o CreatePrivateNetworkRequest) ToMap() (map[string]interface{}, error)
type CreateSSHKeyRequest ¶
type CreateSSHKeyRequest struct { Name *string `json:"name,omitempty"` PublicKey *string `json:"public_key,omitempty"` }
CreateSSHKeyRequest struct for CreateSSHKeyRequest
func NewCreateSSHKeyRequest ¶
func NewCreateSSHKeyRequest() *CreateSSHKeyRequest
NewCreateSSHKeyRequest instantiates a new CreateSSHKeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSSHKeyRequestWithDefaults ¶
func NewCreateSSHKeyRequestWithDefaults() *CreateSSHKeyRequest
NewCreateSSHKeyRequestWithDefaults instantiates a new CreateSSHKeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSSHKeyRequest) GetName ¶
func (o *CreateSSHKeyRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateSSHKeyRequest) GetNameOk ¶
func (o *CreateSSHKeyRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSSHKeyRequest) GetPublicKey ¶
func (o *CreateSSHKeyRequest) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*CreateSSHKeyRequest) GetPublicKeyOk ¶
func (o *CreateSSHKeyRequest) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSSHKeyRequest) HasName ¶
func (o *CreateSSHKeyRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateSSHKeyRequest) HasPublicKey ¶
func (o *CreateSSHKeyRequest) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (CreateSSHKeyRequest) MarshalJSON ¶
func (o CreateSSHKeyRequest) MarshalJSON() ([]byte, error)
func (*CreateSSHKeyRequest) SetName ¶
func (o *CreateSSHKeyRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateSSHKeyRequest) SetPublicKey ¶
func (o *CreateSSHKeyRequest) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (CreateSSHKeyRequest) ToMap ¶
func (o CreateSSHKeyRequest) ToMap() (map[string]interface{}, error)
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
CreateSecurityGroupRequest struct for CreateSecurityGroupRequest
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest() *CreateSecurityGroupRequest
NewCreateSecurityGroupRequest instantiates a new CreateSecurityGroupRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSecurityGroupRequestWithDefaults ¶
func NewCreateSecurityGroupRequestWithDefaults() *CreateSecurityGroupRequest
NewCreateSecurityGroupRequestWithDefaults instantiates a new CreateSecurityGroupRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSecurityGroupRequest) GetDescription ¶
func (o *CreateSecurityGroupRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateSecurityGroupRequest) GetDescriptionOk ¶
func (o *CreateSecurityGroupRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRequest) GetName ¶
func (o *CreateSecurityGroupRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateSecurityGroupRequest) GetNameOk ¶
func (o *CreateSecurityGroupRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRequest) HasDescription ¶
func (o *CreateSecurityGroupRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateSecurityGroupRequest) HasName ¶
func (o *CreateSecurityGroupRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateSecurityGroupRequest) MarshalJSON ¶
func (o CreateSecurityGroupRequest) MarshalJSON() ([]byte, error)
func (*CreateSecurityGroupRequest) SetDescription ¶
func (o *CreateSecurityGroupRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateSecurityGroupRequest) SetName ¶
func (o *CreateSecurityGroupRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateSecurityGroupRequest) ToMap ¶
func (o CreateSecurityGroupRequest) ToMap() (map[string]interface{}, error)
type CreateSecurityGroupRuleRequest ¶
type CreateSecurityGroupRuleRequest struct { Description *string `json:"description,omitempty"` // connection direction, either `ingress` or `egress` Direction *string `json:"direction,omitempty"` Ips []string `json:"ips,omitempty"` // starting port, ex. 443 PortFrom map[string]interface{} `json:"port_from,omitempty"` // ending port, ex. 8080 PortTo map[string]interface{} `json:"port_to,omitempty"` // `udp` or `tcp` Protocol *string `json:"protocol,omitempty"` }
CreateSecurityGroupRuleRequest struct for CreateSecurityGroupRuleRequest
func NewCreateSecurityGroupRuleRequest ¶
func NewCreateSecurityGroupRuleRequest() *CreateSecurityGroupRuleRequest
NewCreateSecurityGroupRuleRequest instantiates a new CreateSecurityGroupRuleRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSecurityGroupRuleRequestWithDefaults ¶
func NewCreateSecurityGroupRuleRequestWithDefaults() *CreateSecurityGroupRuleRequest
NewCreateSecurityGroupRuleRequestWithDefaults instantiates a new CreateSecurityGroupRuleRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSecurityGroupRuleRequest) GetDescription ¶
func (o *CreateSecurityGroupRuleRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleRequest) GetDescriptionOk ¶
func (o *CreateSecurityGroupRuleRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRuleRequest) GetDirection ¶
func (o *CreateSecurityGroupRuleRequest) GetDirection() string
GetDirection returns the Direction field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleRequest) GetDirectionOk ¶
func (o *CreateSecurityGroupRuleRequest) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRuleRequest) GetIps ¶
func (o *CreateSecurityGroupRuleRequest) GetIps() []string
GetIps returns the Ips field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleRequest) GetIpsOk ¶
func (o *CreateSecurityGroupRuleRequest) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRuleRequest) GetPortFrom ¶
func (o *CreateSecurityGroupRuleRequest) GetPortFrom() map[string]interface{}
GetPortFrom returns the PortFrom field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleRequest) GetPortFromOk ¶
func (o *CreateSecurityGroupRuleRequest) GetPortFromOk() (map[string]interface{}, bool)
GetPortFromOk returns a tuple with the PortFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRuleRequest) GetPortTo ¶
func (o *CreateSecurityGroupRuleRequest) GetPortTo() map[string]interface{}
GetPortTo returns the PortTo field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleRequest) GetPortToOk ¶
func (o *CreateSecurityGroupRuleRequest) GetPortToOk() (map[string]interface{}, bool)
GetPortToOk returns a tuple with the PortTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRuleRequest) GetProtocol ¶
func (o *CreateSecurityGroupRuleRequest) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleRequest) GetProtocolOk ¶
func (o *CreateSecurityGroupRuleRequest) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRuleRequest) HasDescription ¶
func (o *CreateSecurityGroupRuleRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateSecurityGroupRuleRequest) HasDirection ¶
func (o *CreateSecurityGroupRuleRequest) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*CreateSecurityGroupRuleRequest) HasIps ¶
func (o *CreateSecurityGroupRuleRequest) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*CreateSecurityGroupRuleRequest) HasPortFrom ¶
func (o *CreateSecurityGroupRuleRequest) HasPortFrom() bool
HasPortFrom returns a boolean if a field has been set.
func (*CreateSecurityGroupRuleRequest) HasPortTo ¶
func (o *CreateSecurityGroupRuleRequest) HasPortTo() bool
HasPortTo returns a boolean if a field has been set.
func (*CreateSecurityGroupRuleRequest) HasProtocol ¶
func (o *CreateSecurityGroupRuleRequest) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (CreateSecurityGroupRuleRequest) MarshalJSON ¶
func (o CreateSecurityGroupRuleRequest) MarshalJSON() ([]byte, error)
func (*CreateSecurityGroupRuleRequest) SetDescription ¶
func (o *CreateSecurityGroupRuleRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateSecurityGroupRuleRequest) SetDirection ¶
func (o *CreateSecurityGroupRuleRequest) SetDirection(v string)
SetDirection gets a reference to the given string and assigns it to the Direction field.
func (*CreateSecurityGroupRuleRequest) SetIps ¶
func (o *CreateSecurityGroupRuleRequest) SetIps(v []string)
SetIps gets a reference to the given []string and assigns it to the Ips field.
func (*CreateSecurityGroupRuleRequest) SetPortFrom ¶
func (o *CreateSecurityGroupRuleRequest) SetPortFrom(v map[string]interface{})
SetPortFrom gets a reference to the given map[string]interface{} and assigns it to the PortFrom field.
func (*CreateSecurityGroupRuleRequest) SetPortTo ¶
func (o *CreateSecurityGroupRuleRequest) SetPortTo(v map[string]interface{})
SetPortTo gets a reference to the given map[string]interface{} and assigns it to the PortTo field.
func (*CreateSecurityGroupRuleRequest) SetProtocol ¶
func (o *CreateSecurityGroupRuleRequest) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (CreateSecurityGroupRuleRequest) ToMap ¶
func (o CreateSecurityGroupRuleRequest) ToMap() (map[string]interface{}, error)
type CreateServerRequest ¶
type CreateServerRequest struct { BackupId *string `json:"backup_id,omitempty"` Count *int64 `json:"count,omitempty"` CreateType *string `json:"create_type,omitempty"` DiskSize *int64 `json:"disk_size,omitempty"` FlavorId *string `json:"flavor_id,omitempty"` HaEnabled *bool `json:"ha_enabled,omitempty"` ImageId *string `json:"image_id,omitempty"` InitScript *string `json:"init_script,omitempty"` IsSandbox *bool `json:"is_sandbox,omitempty"` KeyName map[string]interface{} `json:"key_name,omitempty"` Name *string `json:"name,omitempty"` NetworkId *string `json:"network_id,omitempty"` NetworkIds []string `json:"network_ids,omitempty"` OsVolumeId *string `json:"os_volume_id,omitempty"` SecurityGroups []SecurityGroupName `json:"security_groups,omitempty"` ServerVolumes []ServerVolume `json:"server_volumes,omitempty"` SshKey *bool `json:"ssh_key,omitempty"` }
CreateServerRequest struct for CreateServerRequest
func NewCreateServerRequest ¶
func NewCreateServerRequest() *CreateServerRequest
NewCreateServerRequest instantiates a new CreateServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServerRequestWithDefaults ¶
func NewCreateServerRequestWithDefaults() *CreateServerRequest
NewCreateServerRequestWithDefaults instantiates a new CreateServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServerRequest) GetBackupId ¶
func (o *CreateServerRequest) GetBackupId() string
GetBackupId returns the BackupId field value if set, zero value otherwise.
func (*CreateServerRequest) GetBackupIdOk ¶
func (o *CreateServerRequest) GetBackupIdOk() (*string, bool)
GetBackupIdOk returns a tuple with the BackupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetCount ¶
func (o *CreateServerRequest) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*CreateServerRequest) GetCountOk ¶
func (o *CreateServerRequest) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetCreateType ¶
func (o *CreateServerRequest) GetCreateType() string
GetCreateType returns the CreateType field value if set, zero value otherwise.
func (*CreateServerRequest) GetCreateTypeOk ¶
func (o *CreateServerRequest) GetCreateTypeOk() (*string, bool)
GetCreateTypeOk returns a tuple with the CreateType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetDiskSize ¶
func (o *CreateServerRequest) GetDiskSize() int64
GetDiskSize returns the DiskSize field value if set, zero value otherwise.
func (*CreateServerRequest) GetDiskSizeOk ¶
func (o *CreateServerRequest) GetDiskSizeOk() (*int64, bool)
GetDiskSizeOk returns a tuple with the DiskSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetFlavorId ¶
func (o *CreateServerRequest) GetFlavorId() string
GetFlavorId returns the FlavorId field value if set, zero value otherwise.
func (*CreateServerRequest) GetFlavorIdOk ¶
func (o *CreateServerRequest) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetHaEnabled ¶
func (o *CreateServerRequest) GetHaEnabled() bool
GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.
func (*CreateServerRequest) GetHaEnabledOk ¶
func (o *CreateServerRequest) GetHaEnabledOk() (*bool, bool)
GetHaEnabledOk returns a tuple with the HaEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetImageId ¶
func (o *CreateServerRequest) GetImageId() string
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*CreateServerRequest) GetImageIdOk ¶
func (o *CreateServerRequest) GetImageIdOk() (*string, bool)
GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetInitScript ¶
func (o *CreateServerRequest) GetInitScript() string
GetInitScript returns the InitScript field value if set, zero value otherwise.
func (*CreateServerRequest) GetInitScriptOk ¶
func (o *CreateServerRequest) GetInitScriptOk() (*string, bool)
GetInitScriptOk returns a tuple with the InitScript field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetIsSandbox ¶
func (o *CreateServerRequest) GetIsSandbox() bool
GetIsSandbox returns the IsSandbox field value if set, zero value otherwise.
func (*CreateServerRequest) GetIsSandboxOk ¶
func (o *CreateServerRequest) GetIsSandboxOk() (*bool, bool)
GetIsSandboxOk returns a tuple with the IsSandbox field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetKeyName ¶
func (o *CreateServerRequest) GetKeyName() map[string]interface{}
GetKeyName returns the KeyName field value if set, zero value otherwise.
func (*CreateServerRequest) GetKeyNameOk ¶
func (o *CreateServerRequest) GetKeyNameOk() (map[string]interface{}, bool)
GetKeyNameOk returns a tuple with the KeyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetName ¶
func (o *CreateServerRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateServerRequest) GetNameOk ¶
func (o *CreateServerRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetNetworkId ¶
func (o *CreateServerRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*CreateServerRequest) GetNetworkIdOk ¶
func (o *CreateServerRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetNetworkIds ¶
func (o *CreateServerRequest) GetNetworkIds() []string
GetNetworkIds returns the NetworkIds field value if set, zero value otherwise.
func (*CreateServerRequest) GetNetworkIdsOk ¶
func (o *CreateServerRequest) GetNetworkIdsOk() ([]string, bool)
GetNetworkIdsOk returns a tuple with the NetworkIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetOsVolumeId ¶
func (o *CreateServerRequest) GetOsVolumeId() string
GetOsVolumeId returns the OsVolumeId field value if set, zero value otherwise.
func (*CreateServerRequest) GetOsVolumeIdOk ¶
func (o *CreateServerRequest) GetOsVolumeIdOk() (*string, bool)
GetOsVolumeIdOk returns a tuple with the OsVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetSecurityGroups ¶
func (o *CreateServerRequest) GetSecurityGroups() []SecurityGroupName
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*CreateServerRequest) GetSecurityGroupsOk ¶
func (o *CreateServerRequest) GetSecurityGroupsOk() ([]SecurityGroupName, bool)
GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetServerVolumes ¶
func (o *CreateServerRequest) GetServerVolumes() []ServerVolume
GetServerVolumes returns the ServerVolumes field value if set, zero value otherwise.
func (*CreateServerRequest) GetServerVolumesOk ¶
func (o *CreateServerRequest) GetServerVolumesOk() ([]ServerVolume, bool)
GetServerVolumesOk returns a tuple with the ServerVolumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) GetSshKey ¶
func (o *CreateServerRequest) GetSshKey() bool
GetSshKey returns the SshKey field value if set, zero value otherwise.
func (*CreateServerRequest) GetSshKeyOk ¶
func (o *CreateServerRequest) GetSshKeyOk() (*bool, bool)
GetSshKeyOk returns a tuple with the SshKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerRequest) HasBackupId ¶
func (o *CreateServerRequest) HasBackupId() bool
HasBackupId returns a boolean if a field has been set.
func (*CreateServerRequest) HasCount ¶
func (o *CreateServerRequest) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*CreateServerRequest) HasCreateType ¶
func (o *CreateServerRequest) HasCreateType() bool
HasCreateType returns a boolean if a field has been set.
func (*CreateServerRequest) HasDiskSize ¶
func (o *CreateServerRequest) HasDiskSize() bool
HasDiskSize returns a boolean if a field has been set.
func (*CreateServerRequest) HasFlavorId ¶
func (o *CreateServerRequest) HasFlavorId() bool
HasFlavorId returns a boolean if a field has been set.
func (*CreateServerRequest) HasHaEnabled ¶
func (o *CreateServerRequest) HasHaEnabled() bool
HasHaEnabled returns a boolean if a field has been set.
func (*CreateServerRequest) HasImageId ¶
func (o *CreateServerRequest) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*CreateServerRequest) HasInitScript ¶
func (o *CreateServerRequest) HasInitScript() bool
HasInitScript returns a boolean if a field has been set.
func (*CreateServerRequest) HasIsSandbox ¶
func (o *CreateServerRequest) HasIsSandbox() bool
HasIsSandbox returns a boolean if a field has been set.
func (*CreateServerRequest) HasKeyName ¶
func (o *CreateServerRequest) HasKeyName() bool
HasKeyName returns a boolean if a field has been set.
func (*CreateServerRequest) HasName ¶
func (o *CreateServerRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateServerRequest) HasNetworkId ¶
func (o *CreateServerRequest) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (*CreateServerRequest) HasNetworkIds ¶
func (o *CreateServerRequest) HasNetworkIds() bool
HasNetworkIds returns a boolean if a field has been set.
func (*CreateServerRequest) HasOsVolumeId ¶
func (o *CreateServerRequest) HasOsVolumeId() bool
HasOsVolumeId returns a boolean if a field has been set.
func (*CreateServerRequest) HasSecurityGroups ¶
func (o *CreateServerRequest) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (*CreateServerRequest) HasServerVolumes ¶
func (o *CreateServerRequest) HasServerVolumes() bool
HasServerVolumes returns a boolean if a field has been set.
func (*CreateServerRequest) HasSshKey ¶
func (o *CreateServerRequest) HasSshKey() bool
HasSshKey returns a boolean if a field has been set.
func (CreateServerRequest) MarshalJSON ¶
func (o CreateServerRequest) MarshalJSON() ([]byte, error)
func (*CreateServerRequest) SetBackupId ¶
func (o *CreateServerRequest) SetBackupId(v string)
SetBackupId gets a reference to the given string and assigns it to the BackupId field.
func (*CreateServerRequest) SetCount ¶
func (o *CreateServerRequest) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*CreateServerRequest) SetCreateType ¶
func (o *CreateServerRequest) SetCreateType(v string)
SetCreateType gets a reference to the given string and assigns it to the CreateType field.
func (*CreateServerRequest) SetDiskSize ¶
func (o *CreateServerRequest) SetDiskSize(v int64)
SetDiskSize gets a reference to the given int64 and assigns it to the DiskSize field.
func (*CreateServerRequest) SetFlavorId ¶
func (o *CreateServerRequest) SetFlavorId(v string)
SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.
func (*CreateServerRequest) SetHaEnabled ¶
func (o *CreateServerRequest) SetHaEnabled(v bool)
SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.
func (*CreateServerRequest) SetImageId ¶
func (o *CreateServerRequest) SetImageId(v string)
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*CreateServerRequest) SetInitScript ¶
func (o *CreateServerRequest) SetInitScript(v string)
SetInitScript gets a reference to the given string and assigns it to the InitScript field.
func (*CreateServerRequest) SetIsSandbox ¶
func (o *CreateServerRequest) SetIsSandbox(v bool)
SetIsSandbox gets a reference to the given bool and assigns it to the IsSandbox field.
func (*CreateServerRequest) SetKeyName ¶
func (o *CreateServerRequest) SetKeyName(v map[string]interface{})
SetKeyName gets a reference to the given map[string]interface{} and assigns it to the KeyName field.
func (*CreateServerRequest) SetName ¶
func (o *CreateServerRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateServerRequest) SetNetworkId ¶
func (o *CreateServerRequest) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*CreateServerRequest) SetNetworkIds ¶
func (o *CreateServerRequest) SetNetworkIds(v []string)
SetNetworkIds gets a reference to the given []string and assigns it to the NetworkIds field.
func (*CreateServerRequest) SetOsVolumeId ¶
func (o *CreateServerRequest) SetOsVolumeId(v string)
SetOsVolumeId gets a reference to the given string and assigns it to the OsVolumeId field.
func (*CreateServerRequest) SetSecurityGroups ¶
func (o *CreateServerRequest) SetSecurityGroups(v []SecurityGroupName)
SetSecurityGroups gets a reference to the given []SecurityGroupName and assigns it to the SecurityGroups field.
func (*CreateServerRequest) SetServerVolumes ¶
func (o *CreateServerRequest) SetServerVolumes(v []ServerVolume)
SetServerVolumes gets a reference to the given []ServerVolume and assigns it to the ServerVolumes field.
func (*CreateServerRequest) SetSshKey ¶
func (o *CreateServerRequest) SetSshKey(v bool)
SetSshKey gets a reference to the given bool and assigns it to the SshKey field.
func (CreateServerRequest) ToMap ¶
func (o CreateServerRequest) ToMap() (map[string]interface{}, error)
type CreateSnapshotFromVolumeRequest ¶
type CreateSnapshotFromVolumeRequest struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
CreateSnapshotFromVolumeRequest struct for CreateSnapshotFromVolumeRequest
func NewCreateSnapshotFromVolumeRequest ¶
func NewCreateSnapshotFromVolumeRequest() *CreateSnapshotFromVolumeRequest
NewCreateSnapshotFromVolumeRequest instantiates a new CreateSnapshotFromVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSnapshotFromVolumeRequestWithDefaults ¶
func NewCreateSnapshotFromVolumeRequestWithDefaults() *CreateSnapshotFromVolumeRequest
NewCreateSnapshotFromVolumeRequestWithDefaults instantiates a new CreateSnapshotFromVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSnapshotFromVolumeRequest) GetDescription ¶
func (o *CreateSnapshotFromVolumeRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateSnapshotFromVolumeRequest) GetDescriptionOk ¶
func (o *CreateSnapshotFromVolumeRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSnapshotFromVolumeRequest) GetName ¶
func (o *CreateSnapshotFromVolumeRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateSnapshotFromVolumeRequest) GetNameOk ¶
func (o *CreateSnapshotFromVolumeRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSnapshotFromVolumeRequest) HasDescription ¶
func (o *CreateSnapshotFromVolumeRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateSnapshotFromVolumeRequest) HasName ¶
func (o *CreateSnapshotFromVolumeRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateSnapshotFromVolumeRequest) MarshalJSON ¶
func (o CreateSnapshotFromVolumeRequest) MarshalJSON() ([]byte, error)
func (*CreateSnapshotFromVolumeRequest) SetDescription ¶
func (o *CreateSnapshotFromVolumeRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateSnapshotFromVolumeRequest) SetName ¶
func (o *CreateSnapshotFromVolumeRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateSnapshotFromVolumeRequest) ToMap ¶
func (o CreateSnapshotFromVolumeRequest) ToMap() (map[string]interface{}, error)
type CreateTagRequest ¶
type CreateTagRequest struct {
TagName *string `json:"tag_name,omitempty"`
}
CreateTagRequest struct for CreateTagRequest
func NewCreateTagRequest ¶
func NewCreateTagRequest() *CreateTagRequest
NewCreateTagRequest instantiates a new CreateTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateTagRequestWithDefaults ¶
func NewCreateTagRequestWithDefaults() *CreateTagRequest
NewCreateTagRequestWithDefaults instantiates a new CreateTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateTagRequest) GetTagName ¶
func (o *CreateTagRequest) GetTagName() string
GetTagName returns the TagName field value if set, zero value otherwise.
func (*CreateTagRequest) GetTagNameOk ¶
func (o *CreateTagRequest) GetTagNameOk() (*string, bool)
GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTagRequest) HasTagName ¶
func (o *CreateTagRequest) HasTagName() bool
HasTagName returns a boolean if a field has been set.
func (CreateTagRequest) MarshalJSON ¶
func (o CreateTagRequest) MarshalJSON() ([]byte, error)
func (*CreateTagRequest) SetTagName ¶
func (o *CreateTagRequest) SetTagName(v string)
SetTagName gets a reference to the given string and assigns it to the TagName field.
func (CreateTagRequest) ToMap ¶
func (o CreateTagRequest) ToMap() (map[string]interface{}, error)
type CreateVolumeFromSnapshotRequest ¶
type CreateVolumeFromSnapshotRequest struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
CreateVolumeFromSnapshotRequest struct for CreateVolumeFromSnapshotRequest
func NewCreateVolumeFromSnapshotRequest ¶
func NewCreateVolumeFromSnapshotRequest() *CreateVolumeFromSnapshotRequest
NewCreateVolumeFromSnapshotRequest instantiates a new CreateVolumeFromSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateVolumeFromSnapshotRequestWithDefaults ¶
func NewCreateVolumeFromSnapshotRequestWithDefaults() *CreateVolumeFromSnapshotRequest
NewCreateVolumeFromSnapshotRequestWithDefaults instantiates a new CreateVolumeFromSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateVolumeFromSnapshotRequest) GetDescription ¶
func (o *CreateVolumeFromSnapshotRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateVolumeFromSnapshotRequest) GetDescriptionOk ¶
func (o *CreateVolumeFromSnapshotRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeFromSnapshotRequest) GetName ¶
func (o *CreateVolumeFromSnapshotRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateVolumeFromSnapshotRequest) GetNameOk ¶
func (o *CreateVolumeFromSnapshotRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeFromSnapshotRequest) HasDescription ¶
func (o *CreateVolumeFromSnapshotRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateVolumeFromSnapshotRequest) HasName ¶
func (o *CreateVolumeFromSnapshotRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateVolumeFromSnapshotRequest) MarshalJSON ¶
func (o CreateVolumeFromSnapshotRequest) MarshalJSON() ([]byte, error)
func (*CreateVolumeFromSnapshotRequest) SetDescription ¶
func (o *CreateVolumeFromSnapshotRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateVolumeFromSnapshotRequest) SetName ¶
func (o *CreateVolumeFromSnapshotRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (CreateVolumeFromSnapshotRequest) ToMap ¶
func (o CreateVolumeFromSnapshotRequest) ToMap() (map[string]interface{}, error)
type CreateVolumeRequest ¶
type CreateVolumeRequest struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` // size of the disk in GB Size *int32 `json:"size,omitempty"` }
CreateVolumeRequest struct for CreateVolumeRequest
func NewCreateVolumeRequest ¶
func NewCreateVolumeRequest() *CreateVolumeRequest
NewCreateVolumeRequest instantiates a new CreateVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateVolumeRequestWithDefaults ¶
func NewCreateVolumeRequestWithDefaults() *CreateVolumeRequest
NewCreateVolumeRequestWithDefaults instantiates a new CreateVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateVolumeRequest) GetDescription ¶
func (o *CreateVolumeRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetDescriptionOk ¶
func (o *CreateVolumeRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetName ¶
func (o *CreateVolumeRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetNameOk ¶
func (o *CreateVolumeRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetSize ¶
func (o *CreateVolumeRequest) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetSizeOk ¶
func (o *CreateVolumeRequest) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) HasDescription ¶
func (o *CreateVolumeRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasName ¶
func (o *CreateVolumeRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasSize ¶
func (o *CreateVolumeRequest) HasSize() bool
HasSize returns a boolean if a field has been set.
func (CreateVolumeRequest) MarshalJSON ¶
func (o CreateVolumeRequest) MarshalJSON() ([]byte, error)
func (*CreateVolumeRequest) SetDescription ¶
func (o *CreateVolumeRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateVolumeRequest) SetName ¶
func (o *CreateVolumeRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateVolumeRequest) SetSize ¶
func (o *CreateVolumeRequest) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (CreateVolumeRequest) ToMap ¶
func (o CreateVolumeRequest) ToMap() (map[string]interface{}, error)
type DeleteServerReasonAnswer ¶
type DeleteServerReasonAnswer struct { Answer *string `json:"answer,omitempty"` Id *string `json:"id,omitempty"` }
DeleteServerReasonAnswer struct for DeleteServerReasonAnswer
func NewDeleteServerReasonAnswer ¶
func NewDeleteServerReasonAnswer() *DeleteServerReasonAnswer
NewDeleteServerReasonAnswer instantiates a new DeleteServerReasonAnswer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteServerReasonAnswerWithDefaults ¶
func NewDeleteServerReasonAnswerWithDefaults() *DeleteServerReasonAnswer
NewDeleteServerReasonAnswerWithDefaults instantiates a new DeleteServerReasonAnswer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteServerReasonAnswer) GetAnswer ¶
func (o *DeleteServerReasonAnswer) GetAnswer() string
GetAnswer returns the Answer field value if set, zero value otherwise.
func (*DeleteServerReasonAnswer) GetAnswerOk ¶
func (o *DeleteServerReasonAnswer) GetAnswerOk() (*string, bool)
GetAnswerOk returns a tuple with the Answer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteServerReasonAnswer) GetId ¶
func (o *DeleteServerReasonAnswer) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DeleteServerReasonAnswer) GetIdOk ¶
func (o *DeleteServerReasonAnswer) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteServerReasonAnswer) HasAnswer ¶
func (o *DeleteServerReasonAnswer) HasAnswer() bool
HasAnswer returns a boolean if a field has been set.
func (*DeleteServerReasonAnswer) HasId ¶
func (o *DeleteServerReasonAnswer) HasId() bool
HasId returns a boolean if a field has been set.
func (DeleteServerReasonAnswer) MarshalJSON ¶
func (o DeleteServerReasonAnswer) MarshalJSON() ([]byte, error)
func (*DeleteServerReasonAnswer) SetAnswer ¶
func (o *DeleteServerReasonAnswer) SetAnswer(v string)
SetAnswer gets a reference to the given string and assigns it to the Answer field.
func (*DeleteServerReasonAnswer) SetId ¶
func (o *DeleteServerReasonAnswer) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (DeleteServerReasonAnswer) ToMap ¶
func (o DeleteServerReasonAnswer) ToMap() (map[string]interface{}, error)
type DeleteServerReasons ¶
type DeleteServerReasons struct {
Reasons []DeleteServerReasonAnswer `json:"reasons,omitempty"`
}
DeleteServerReasons struct for DeleteServerReasons
func NewDeleteServerReasons ¶
func NewDeleteServerReasons() *DeleteServerReasons
NewDeleteServerReasons instantiates a new DeleteServerReasons object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteServerReasonsWithDefaults ¶
func NewDeleteServerReasonsWithDefaults() *DeleteServerReasons
NewDeleteServerReasonsWithDefaults instantiates a new DeleteServerReasons object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteServerReasons) GetReasons ¶
func (o *DeleteServerReasons) GetReasons() []DeleteServerReasonAnswer
GetReasons returns the Reasons field value if set, zero value otherwise.
func (*DeleteServerReasons) GetReasonsOk ¶
func (o *DeleteServerReasons) GetReasonsOk() ([]DeleteServerReasonAnswer, bool)
GetReasonsOk returns a tuple with the Reasons field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteServerReasons) HasReasons ¶
func (o *DeleteServerReasons) HasReasons() bool
HasReasons returns a boolean if a field has been set.
func (DeleteServerReasons) MarshalJSON ¶
func (o DeleteServerReasons) MarshalJSON() ([]byte, error)
func (*DeleteServerReasons) SetReasons ¶
func (o *DeleteServerReasons) SetReasons(v []DeleteServerReasonAnswer)
SetReasons gets a reference to the given []DeleteServerReasonAnswer and assigns it to the Reasons field.
func (DeleteServerReasons) ToMap ¶
func (o DeleteServerReasons) ToMap() (map[string]interface{}, error)
type DetachFloatIPRequest ¶
type DetachFloatIPRequest struct {
PortId *string `json:"port_id,omitempty"`
}
DetachFloatIPRequest struct for DetachFloatIPRequest
func NewDetachFloatIPRequest ¶
func NewDetachFloatIPRequest() *DetachFloatIPRequest
NewDetachFloatIPRequest instantiates a new DetachFloatIPRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetachFloatIPRequestWithDefaults ¶
func NewDetachFloatIPRequestWithDefaults() *DetachFloatIPRequest
NewDetachFloatIPRequestWithDefaults instantiates a new DetachFloatIPRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetachFloatIPRequest) GetPortId ¶
func (o *DetachFloatIPRequest) GetPortId() string
GetPortId returns the PortId field value if set, zero value otherwise.
func (*DetachFloatIPRequest) GetPortIdOk ¶
func (o *DetachFloatIPRequest) GetPortIdOk() (*string, bool)
GetPortIdOk returns a tuple with the PortId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetachFloatIPRequest) HasPortId ¶
func (o *DetachFloatIPRequest) HasPortId() bool
HasPortId returns a boolean if a field has been set.
func (DetachFloatIPRequest) MarshalJSON ¶
func (o DetachFloatIPRequest) MarshalJSON() ([]byte, error)
func (*DetachFloatIPRequest) SetPortId ¶
func (o *DetachFloatIPRequest) SetPortId(v string)
SetPortId gets a reference to the given string and assigns it to the PortId field.
func (DetachFloatIPRequest) ToMap ¶
func (o DetachFloatIPRequest) ToMap() (map[string]interface{}, error)
type DetachNetworkFromServerRequest ¶
type DetachNetworkFromServerRequest struct {
ServerId *string `json:"server_id,omitempty"`
}
DetachNetworkFromServerRequest struct for DetachNetworkFromServerRequest
func NewDetachNetworkFromServerRequest ¶
func NewDetachNetworkFromServerRequest() *DetachNetworkFromServerRequest
NewDetachNetworkFromServerRequest instantiates a new DetachNetworkFromServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetachNetworkFromServerRequestWithDefaults ¶
func NewDetachNetworkFromServerRequestWithDefaults() *DetachNetworkFromServerRequest
NewDetachNetworkFromServerRequestWithDefaults instantiates a new DetachNetworkFromServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetachNetworkFromServerRequest) GetServerId ¶
func (o *DetachNetworkFromServerRequest) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*DetachNetworkFromServerRequest) GetServerIdOk ¶
func (o *DetachNetworkFromServerRequest) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetachNetworkFromServerRequest) HasServerId ¶
func (o *DetachNetworkFromServerRequest) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (DetachNetworkFromServerRequest) MarshalJSON ¶
func (o DetachNetworkFromServerRequest) MarshalJSON() ([]byte, error)
func (*DetachNetworkFromServerRequest) SetServerId ¶
func (o *DetachNetworkFromServerRequest) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (DetachNetworkFromServerRequest) ToMap ¶
func (o DetachNetworkFromServerRequest) ToMap() (map[string]interface{}, error)
type DetachPortSecurityRequest ¶
type DetachPortSecurityRequest struct {
SecurityGroupId *string `json:"security_group_id,omitempty"`
}
DetachPortSecurityRequest struct for DetachPortSecurityRequest
func NewDetachPortSecurityRequest ¶
func NewDetachPortSecurityRequest() *DetachPortSecurityRequest
NewDetachPortSecurityRequest instantiates a new DetachPortSecurityRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetachPortSecurityRequestWithDefaults ¶
func NewDetachPortSecurityRequestWithDefaults() *DetachPortSecurityRequest
NewDetachPortSecurityRequestWithDefaults instantiates a new DetachPortSecurityRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetachPortSecurityRequest) GetSecurityGroupId ¶
func (o *DetachPortSecurityRequest) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*DetachPortSecurityRequest) GetSecurityGroupIdOk ¶
func (o *DetachPortSecurityRequest) GetSecurityGroupIdOk() (*string, bool)
GetSecurityGroupIdOk returns a tuple with the SecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetachPortSecurityRequest) HasSecurityGroupId ¶
func (o *DetachPortSecurityRequest) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (DetachPortSecurityRequest) MarshalJSON ¶
func (o DetachPortSecurityRequest) MarshalJSON() ([]byte, error)
func (*DetachPortSecurityRequest) SetSecurityGroupId ¶
func (o *DetachPortSecurityRequest) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (DetachPortSecurityRequest) ToMap ¶
func (o DetachPortSecurityRequest) ToMap() (map[string]interface{}, error)
type DetachTagRequest ¶
type DetachTagRequest struct { InstanceId *string `json:"instance_id,omitempty"` // describes the type of resource, values: `server`, `network`, `image`, `volume`, `float_ip`, `security_group` InstanceType *string `json:"instance_type,omitempty"` }
DetachTagRequest struct for DetachTagRequest
func NewDetachTagRequest ¶
func NewDetachTagRequest() *DetachTagRequest
NewDetachTagRequest instantiates a new DetachTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetachTagRequestWithDefaults ¶
func NewDetachTagRequestWithDefaults() *DetachTagRequest
NewDetachTagRequestWithDefaults instantiates a new DetachTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetachTagRequest) GetInstanceId ¶
func (o *DetachTagRequest) GetInstanceId() string
GetInstanceId returns the InstanceId field value if set, zero value otherwise.
func (*DetachTagRequest) GetInstanceIdOk ¶
func (o *DetachTagRequest) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetachTagRequest) GetInstanceType ¶
func (o *DetachTagRequest) GetInstanceType() string
GetInstanceType returns the InstanceType field value if set, zero value otherwise.
func (*DetachTagRequest) GetInstanceTypeOk ¶
func (o *DetachTagRequest) GetInstanceTypeOk() (*string, bool)
GetInstanceTypeOk returns a tuple with the InstanceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetachTagRequest) HasInstanceId ¶
func (o *DetachTagRequest) HasInstanceId() bool
HasInstanceId returns a boolean if a field has been set.
func (*DetachTagRequest) HasInstanceType ¶
func (o *DetachTagRequest) HasInstanceType() bool
HasInstanceType returns a boolean if a field has been set.
func (DetachTagRequest) MarshalJSON ¶
func (o DetachTagRequest) MarshalJSON() ([]byte, error)
func (*DetachTagRequest) SetInstanceId ¶
func (o *DetachTagRequest) SetInstanceId(v string)
SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.
func (*DetachTagRequest) SetInstanceType ¶
func (o *DetachTagRequest) SetInstanceType(v string)
SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.
func (DetachTagRequest) ToMap ¶
func (o DetachTagRequest) ToMap() (map[string]interface{}, error)
type ErrorResponse ¶
type ErrorResponse struct { Errors []string `json:"errors,omitempty"` Message *string `json:"message,omitempty"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetErrors ¶
func (o *ErrorResponse) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ErrorResponse) GetErrorsOk ¶
func (o *ErrorResponse) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasErrors ¶
func (o *ErrorResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*ErrorResponse) HasMessage ¶
func (o *ErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetErrors ¶
func (o *ErrorResponse) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type FloatIP ¶
type FloatIP struct { CreatedAt *string `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` FixedIpAddress *string `json:"fixed_ip_address,omitempty"` FloatingIpAddress *string `json:"floating_ip_address,omitempty"` FloatingNetworkId *string `json:"floating_network_id,omitempty"` Id *string `json:"id,omitempty"` PortId *string `json:"port_id,omitempty"` RevisionNumber *string `json:"revision_number,omitempty"` RouterId *string `json:"router_id,omitempty"` Server *ServerDetail `json:"server,omitempty"` Status *string `json:"status,omitempty"` Tags []string `json:"tags,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
FloatIP struct for FloatIP
func NewFloatIP ¶
func NewFloatIP() *FloatIP
NewFloatIP instantiates a new FloatIP object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFloatIPWithDefaults ¶
func NewFloatIPWithDefaults() *FloatIP
NewFloatIPWithDefaults instantiates a new FloatIP object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FloatIP) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*FloatIP) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*FloatIP) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetFixedIpAddress ¶
GetFixedIpAddress returns the FixedIpAddress field value if set, zero value otherwise.
func (*FloatIP) GetFixedIpAddressOk ¶
GetFixedIpAddressOk returns a tuple with the FixedIpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetFloatingIpAddress ¶
GetFloatingIpAddress returns the FloatingIpAddress field value if set, zero value otherwise.
func (*FloatIP) GetFloatingIpAddressOk ¶
GetFloatingIpAddressOk returns a tuple with the FloatingIpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetFloatingNetworkId ¶
GetFloatingNetworkId returns the FloatingNetworkId field value if set, zero value otherwise.
func (*FloatIP) GetFloatingNetworkIdOk ¶
GetFloatingNetworkIdOk returns a tuple with the FloatingNetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetPortIdOk ¶
GetPortIdOk returns a tuple with the PortId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetRevisionNumber ¶
GetRevisionNumber returns the RevisionNumber field value if set, zero value otherwise.
func (*FloatIP) GetRevisionNumberOk ¶
GetRevisionNumberOk returns a tuple with the RevisionNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetRouterId ¶
GetRouterId returns the RouterId field value if set, zero value otherwise.
func (*FloatIP) GetRouterIdOk ¶
GetRouterIdOk returns a tuple with the RouterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetServer ¶
func (o *FloatIP) GetServer() ServerDetail
GetServer returns the Server field value if set, zero value otherwise.
func (*FloatIP) GetServerOk ¶
func (o *FloatIP) GetServerOk() (*ServerDetail, bool)
GetServerOk returns a tuple with the Server field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*FloatIP) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIP) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*FloatIP) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*FloatIP) HasFixedIpAddress ¶
HasFixedIpAddress returns a boolean if a field has been set.
func (*FloatIP) HasFloatingIpAddress ¶
HasFloatingIpAddress returns a boolean if a field has been set.
func (*FloatIP) HasFloatingNetworkId ¶
HasFloatingNetworkId returns a boolean if a field has been set.
func (*FloatIP) HasRevisionNumber ¶
HasRevisionNumber returns a boolean if a field has been set.
func (*FloatIP) HasRouterId ¶
HasRouterId returns a boolean if a field has been set.
func (*FloatIP) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (FloatIP) MarshalJSON ¶
func (*FloatIP) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*FloatIP) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*FloatIP) SetFixedIpAddress ¶
SetFixedIpAddress gets a reference to the given string and assigns it to the FixedIpAddress field.
func (*FloatIP) SetFloatingIpAddress ¶
SetFloatingIpAddress gets a reference to the given string and assigns it to the FloatingIpAddress field.
func (*FloatIP) SetFloatingNetworkId ¶
SetFloatingNetworkId gets a reference to the given string and assigns it to the FloatingNetworkId field.
func (*FloatIP) SetPortId ¶
SetPortId gets a reference to the given string and assigns it to the PortId field.
func (*FloatIP) SetRevisionNumber ¶
SetRevisionNumber gets a reference to the given string and assigns it to the RevisionNumber field.
func (*FloatIP) SetRouterId ¶
SetRouterId gets a reference to the given string and assigns it to the RouterId field.
func (*FloatIP) SetServer ¶
func (o *FloatIP) SetServer(v ServerDetail)
SetServer gets a reference to the given ServerDetail and assigns it to the Server field.
func (*FloatIP) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*FloatIP) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*FloatIP) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type FloatIPAttachRequest ¶
type FloatIPAttachRequest struct { PortId *string `json:"port_id,omitempty"` ServerId *string `json:"server_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` }
FloatIPAttachRequest struct for FloatIPAttachRequest
func NewFloatIPAttachRequest ¶
func NewFloatIPAttachRequest() *FloatIPAttachRequest
NewFloatIPAttachRequest instantiates a new FloatIPAttachRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFloatIPAttachRequestWithDefaults ¶
func NewFloatIPAttachRequestWithDefaults() *FloatIPAttachRequest
NewFloatIPAttachRequestWithDefaults instantiates a new FloatIPAttachRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FloatIPAttachRequest) GetPortId ¶
func (o *FloatIPAttachRequest) GetPortId() string
GetPortId returns the PortId field value if set, zero value otherwise.
func (*FloatIPAttachRequest) GetPortIdOk ¶
func (o *FloatIPAttachRequest) GetPortIdOk() (*string, bool)
GetPortIdOk returns a tuple with the PortId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIPAttachRequest) GetServerId ¶
func (o *FloatIPAttachRequest) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*FloatIPAttachRequest) GetServerIdOk ¶
func (o *FloatIPAttachRequest) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIPAttachRequest) GetSubnetId ¶
func (o *FloatIPAttachRequest) GetSubnetId() string
GetSubnetId returns the SubnetId field value if set, zero value otherwise.
func (*FloatIPAttachRequest) GetSubnetIdOk ¶
func (o *FloatIPAttachRequest) GetSubnetIdOk() (*string, bool)
GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FloatIPAttachRequest) HasPortId ¶
func (o *FloatIPAttachRequest) HasPortId() bool
HasPortId returns a boolean if a field has been set.
func (*FloatIPAttachRequest) HasServerId ¶
func (o *FloatIPAttachRequest) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*FloatIPAttachRequest) HasSubnetId ¶
func (o *FloatIPAttachRequest) HasSubnetId() bool
HasSubnetId returns a boolean if a field has been set.
func (FloatIPAttachRequest) MarshalJSON ¶
func (o FloatIPAttachRequest) MarshalJSON() ([]byte, error)
func (*FloatIPAttachRequest) SetPortId ¶
func (o *FloatIPAttachRequest) SetPortId(v string)
SetPortId gets a reference to the given string and assigns it to the PortId field.
func (*FloatIPAttachRequest) SetServerId ¶
func (o *FloatIPAttachRequest) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*FloatIPAttachRequest) SetSubnetId ¶
func (o *FloatIPAttachRequest) SetSubnetId(v string)
SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.
func (FloatIPAttachRequest) ToMap ¶
func (o FloatIPAttachRequest) ToMap() (map[string]interface{}, error)
type FloatingIPsAPIAttachFloatIPToServerRequest ¶
type FloatingIPsAPIAttachFloatIPToServerRequest struct { ApiService *FloatingIPsAPIService // contains filtered or unexported fields }
func (FloatingIPsAPIAttachFloatIPToServerRequest) Execute ¶
func (r FloatingIPsAPIAttachFloatIPToServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (FloatingIPsAPIAttachFloatIPToServerRequest) FloatIPAttachRequest ¶
func (r FloatingIPsAPIAttachFloatIPToServerRequest) FloatIPAttachRequest(floatIPAttachRequest FloatIPAttachRequest) FloatingIPsAPIAttachFloatIPToServerRequest
Floating-ip attachment info
type FloatingIPsAPICreateFloatingIPRequest ¶
type FloatingIPsAPICreateFloatingIPRequest struct { ApiService *FloatingIPsAPIService // contains filtered or unexported fields }
func (FloatingIPsAPICreateFloatingIPRequest) CreateFloatIPRequest ¶
func (r FloatingIPsAPICreateFloatingIPRequest) CreateFloatIPRequest(createFloatIPRequest CreateFloatIPRequest) FloatingIPsAPICreateFloatingIPRequest
Info about the new float-ip to be created
type FloatingIPsAPIDeleteFloatingIPRequest ¶
type FloatingIPsAPIDeleteFloatingIPRequest struct { ApiService *FloatingIPsAPIService // contains filtered or unexported fields }
func (FloatingIPsAPIDeleteFloatingIPRequest) Execute ¶
func (r FloatingIPsAPIDeleteFloatingIPRequest) Execute() (*MessageResponse, *http.Response, error)
type FloatingIPsAPIDetachFloatIPFromServerRequest ¶
type FloatingIPsAPIDetachFloatIPFromServerRequest struct { ApiService *FloatingIPsAPIService // contains filtered or unexported fields }
func (FloatingIPsAPIDetachFloatIPFromServerRequest) DetachFloatIPRequest ¶
func (r FloatingIPsAPIDetachFloatIPFromServerRequest) DetachFloatIPRequest(detachFloatIPRequest DetachFloatIPRequest) FloatingIPsAPIDetachFloatIPFromServerRequest
Floating-ip attachment info
func (FloatingIPsAPIDetachFloatIPFromServerRequest) Execute ¶
func (r FloatingIPsAPIDetachFloatIPFromServerRequest) Execute() (*MessageResponse, *http.Response, error)
type FloatingIPsAPIGetAllFloatingIPsRequest ¶
type FloatingIPsAPIGetAllFloatingIPsRequest struct { ApiService *FloatingIPsAPIService // contains filtered or unexported fields }
type FloatingIPsAPIGetFloatingIPInternalIPsRequest ¶
type FloatingIPsAPIGetFloatingIPInternalIPsRequest struct { ApiService *FloatingIPsAPIService // contains filtered or unexported fields }
func (FloatingIPsAPIGetFloatingIPInternalIPsRequest) Execute ¶
func (r FloatingIPsAPIGetFloatingIPInternalIPsRequest) Execute() (*ServerIPInfo, *http.Response, error)
type FloatingIPsAPIService ¶
type FloatingIPsAPIService service
FloatingIPsAPIService FloatingIPsAPI service
func (*FloatingIPsAPIService) AttachFloatIPToServer ¶
func (a *FloatingIPsAPIService) AttachFloatIPToServer(ctx context.Context, region string, id string) FloatingIPsAPIAttachFloatIPToServerRequest
AttachFloatIPToServer Method for AttachFloatIPToServer
Attaches a floating-ip to a server port
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id float-ip id @return FloatingIPsAPIAttachFloatIPToServerRequest
func (*FloatingIPsAPIService) AttachFloatIPToServerExecute ¶
func (a *FloatingIPsAPIService) AttachFloatIPToServerExecute(r FloatingIPsAPIAttachFloatIPToServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*FloatingIPsAPIService) CreateFloatingIP ¶
func (a *FloatingIPsAPIService) CreateFloatingIP(ctx context.Context, region string) FloatingIPsAPICreateFloatingIPRequest
CreateFloatingIP Method for CreateFloatingIP
Creates a new floating-ip
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return FloatingIPsAPICreateFloatingIPRequest
func (*FloatingIPsAPIService) CreateFloatingIPExecute ¶
func (a *FloatingIPsAPIService) CreateFloatingIPExecute(r FloatingIPsAPICreateFloatingIPRequest) (*FloatIP, *http.Response, error)
Execute executes the request
@return FloatIP
func (*FloatingIPsAPIService) DeleteFloatingIP ¶
func (a *FloatingIPsAPIService) DeleteFloatingIP(ctx context.Context, region string) FloatingIPsAPIDeleteFloatingIPRequest
DeleteFloatingIP Method for DeleteFloatingIP
Deletes a floating-ip
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return FloatingIPsAPIDeleteFloatingIPRequest
func (*FloatingIPsAPIService) DeleteFloatingIPExecute ¶
func (a *FloatingIPsAPIService) DeleteFloatingIPExecute(r FloatingIPsAPIDeleteFloatingIPRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*FloatingIPsAPIService) DetachFloatIPFromServer ¶
func (a *FloatingIPsAPIService) DetachFloatIPFromServer(ctx context.Context, region string) FloatingIPsAPIDetachFloatIPFromServerRequest
DetachFloatIPFromServer Method for DetachFloatIPFromServer
Detaches a floating-ip from a server port
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return FloatingIPsAPIDetachFloatIPFromServerRequest
func (*FloatingIPsAPIService) DetachFloatIPFromServerExecute ¶
func (a *FloatingIPsAPIService) DetachFloatIPFromServerExecute(r FloatingIPsAPIDetachFloatIPFromServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*FloatingIPsAPIService) GetAllFloatingIPs ¶
func (a *FloatingIPsAPIService) GetAllFloatingIPs(ctx context.Context, region string) FloatingIPsAPIGetAllFloatingIPsRequest
GetAllFloatingIPs Method for GetAllFloatingIPs
Returns all floating-ips
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return FloatingIPsAPIGetAllFloatingIPsRequest
func (*FloatingIPsAPIService) GetAllFloatingIPsExecute ¶
func (a *FloatingIPsAPIService) GetAllFloatingIPsExecute(r FloatingIPsAPIGetAllFloatingIPsRequest) (*FloatIP, *http.Response, error)
Execute executes the request
@return FloatIP
func (*FloatingIPsAPIService) GetFloatingIPInternalIPs ¶
func (a *FloatingIPsAPIService) GetFloatingIPInternalIPs(ctx context.Context, region string) FloatingIPsAPIGetFloatingIPInternalIPsRequest
GetFloatingIPInternalIPs Method for GetFloatingIPInternalIPs
Returns info about the IPs of the attachments to server ports
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return FloatingIPsAPIGetFloatingIPInternalIPsRequest
func (*FloatingIPsAPIService) GetFloatingIPInternalIPsExecute ¶
func (a *FloatingIPsAPIService) GetFloatingIPInternalIPsExecute(r FloatingIPsAPIGetFloatingIPInternalIPsRequest) (*ServerIPInfo, *http.Response, error)
Execute executes the request
@return ServerIPInfo
type FullIP ¶
type FullIP struct { FloatIp map[string]interface{} `json:"float_ip,omitempty"` Ip *string `json:"ip,omitempty"` MacAddress *string `json:"mac_address,omitempty"` PortId *string `json:"port_id,omitempty"` PortSecurityEnabled *bool `json:"port_security_enabled,omitempty"` Ptr map[string]interface{} `json:"ptr,omitempty"` Public *bool `json:"public,omitempty"` SecurityGroups []PortSecGroupData `json:"security_groups,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` SubnetName *string `json:"subnet_name,omitempty"` Version *string `json:"version,omitempty"` }
FullIP struct for FullIP
func NewFullIP ¶
func NewFullIP() *FullIP
NewFullIP instantiates a new FullIP object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFullIPWithDefaults ¶
func NewFullIPWithDefaults() *FullIP
NewFullIPWithDefaults instantiates a new FullIP object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FullIP) GetFloatIp ¶
GetFloatIp returns the FloatIp field value if set, zero value otherwise.
func (*FullIP) GetFloatIpOk ¶
GetFloatIpOk returns a tuple with the FloatIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetMacAddress ¶
GetMacAddress returns the MacAddress field value if set, zero value otherwise.
func (*FullIP) GetMacAddressOk ¶
GetMacAddressOk returns a tuple with the MacAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetPortIdOk ¶
GetPortIdOk returns a tuple with the PortId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetPortSecurityEnabled ¶
GetPortSecurityEnabled returns the PortSecurityEnabled field value if set, zero value otherwise.
func (*FullIP) GetPortSecurityEnabledOk ¶
GetPortSecurityEnabledOk returns a tuple with the PortSecurityEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetPtrOk ¶
GetPtrOk returns a tuple with the Ptr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetPublicOk ¶
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetSecurityGroups ¶
func (o *FullIP) GetSecurityGroups() []PortSecGroupData
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*FullIP) GetSecurityGroupsOk ¶
func (o *FullIP) GetSecurityGroupsOk() ([]PortSecGroupData, bool)
GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetSubnetId ¶
GetSubnetId returns the SubnetId field value if set, zero value otherwise.
func (*FullIP) GetSubnetIdOk ¶
GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetSubnetName ¶
GetSubnetName returns the SubnetName field value if set, zero value otherwise.
func (*FullIP) GetSubnetNameOk ¶
GetSubnetNameOk returns a tuple with the SubnetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*FullIP) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullIP) HasFloatIp ¶
HasFloatIp returns a boolean if a field has been set.
func (*FullIP) HasMacAddress ¶
HasMacAddress returns a boolean if a field has been set.
func (*FullIP) HasPortSecurityEnabled ¶
HasPortSecurityEnabled returns a boolean if a field has been set.
func (*FullIP) HasSecurityGroups ¶
HasSecurityGroups returns a boolean if a field has been set.
func (*FullIP) HasSubnetId ¶
HasSubnetId returns a boolean if a field has been set.
func (*FullIP) HasSubnetName ¶
HasSubnetName returns a boolean if a field has been set.
func (*FullIP) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (FullIP) MarshalJSON ¶
func (*FullIP) SetFloatIp ¶
SetFloatIp gets a reference to the given map[string]interface{} and assigns it to the FloatIp field.
func (*FullIP) SetMacAddress ¶
SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.
func (*FullIP) SetPortId ¶
SetPortId gets a reference to the given string and assigns it to the PortId field.
func (*FullIP) SetPortSecurityEnabled ¶
SetPortSecurityEnabled gets a reference to the given bool and assigns it to the PortSecurityEnabled field.
func (*FullIP) SetPtr ¶
SetPtr gets a reference to the given map[string]interface{} and assigns it to the Ptr field.
func (*FullIP) SetPublic ¶
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*FullIP) SetSecurityGroups ¶
func (o *FullIP) SetSecurityGroups(v []PortSecGroupData)
SetSecurityGroups gets a reference to the given []PortSecGroupData and assigns it to the SecurityGroups field.
func (*FullIP) SetSubnetId ¶
SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.
func (*FullIP) SetSubnetName ¶
SetSubnetName gets a reference to the given string and assigns it to the SubnetName field.
func (*FullIP) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetServerActionsResponse ¶
type GetServerActionsResponse struct { Action *string `json:"action,omitempty"` Message *string `json:"message,omitempty"` StartTime *string `json:"start_time,omitempty"` }
GetServerActionsResponse struct for GetServerActionsResponse
func NewGetServerActionsResponse ¶
func NewGetServerActionsResponse() *GetServerActionsResponse
NewGetServerActionsResponse instantiates a new GetServerActionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetServerActionsResponseWithDefaults ¶
func NewGetServerActionsResponseWithDefaults() *GetServerActionsResponse
NewGetServerActionsResponseWithDefaults instantiates a new GetServerActionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetServerActionsResponse) GetAction ¶
func (o *GetServerActionsResponse) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*GetServerActionsResponse) GetActionOk ¶
func (o *GetServerActionsResponse) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServerActionsResponse) GetMessage ¶
func (o *GetServerActionsResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetServerActionsResponse) GetMessageOk ¶
func (o *GetServerActionsResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServerActionsResponse) GetStartTime ¶
func (o *GetServerActionsResponse) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*GetServerActionsResponse) GetStartTimeOk ¶
func (o *GetServerActionsResponse) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServerActionsResponse) HasAction ¶
func (o *GetServerActionsResponse) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*GetServerActionsResponse) HasMessage ¶
func (o *GetServerActionsResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetServerActionsResponse) HasStartTime ¶
func (o *GetServerActionsResponse) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (GetServerActionsResponse) MarshalJSON ¶
func (o GetServerActionsResponse) MarshalJSON() ([]byte, error)
func (*GetServerActionsResponse) SetAction ¶
func (o *GetServerActionsResponse) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*GetServerActionsResponse) SetMessage ¶
func (o *GetServerActionsResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetServerActionsResponse) SetStartTime ¶
func (o *GetServerActionsResponse) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (GetServerActionsResponse) ToMap ¶
func (o GetServerActionsResponse) ToMap() (map[string]interface{}, error)
type GetServerVNCRequest ¶
type GetServerVNCRequest struct {
Url *string `json:"url,omitempty"`
}
GetServerVNCRequest struct for GetServerVNCRequest
func NewGetServerVNCRequest ¶
func NewGetServerVNCRequest() *GetServerVNCRequest
NewGetServerVNCRequest instantiates a new GetServerVNCRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetServerVNCRequestWithDefaults ¶
func NewGetServerVNCRequestWithDefaults() *GetServerVNCRequest
NewGetServerVNCRequestWithDefaults instantiates a new GetServerVNCRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetServerVNCRequest) GetUrl ¶
func (o *GetServerVNCRequest) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*GetServerVNCRequest) GetUrlOk ¶
func (o *GetServerVNCRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServerVNCRequest) HasUrl ¶
func (o *GetServerVNCRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (GetServerVNCRequest) MarshalJSON ¶
func (o GetServerVNCRequest) MarshalJSON() ([]byte, error)
func (*GetServerVNCRequest) SetUrl ¶
func (o *GetServerVNCRequest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (GetServerVNCRequest) ToMap ¶
func (o GetServerVNCRequest) ToMap() (map[string]interface{}, error)
type GroupInstance ¶
type GroupInstance struct { Id *string `json:"id,omitempty"` Ips []string `json:"ips,omitempty"` Name *string `json:"name,omitempty"` }
GroupInstance struct for GroupInstance
func NewGroupInstance ¶
func NewGroupInstance() *GroupInstance
NewGroupInstance instantiates a new GroupInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupInstanceWithDefaults ¶
func NewGroupInstanceWithDefaults() *GroupInstance
NewGroupInstanceWithDefaults instantiates a new GroupInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupInstance) GetId ¶
func (o *GroupInstance) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GroupInstance) GetIdOk ¶
func (o *GroupInstance) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupInstance) GetIps ¶
func (o *GroupInstance) GetIps() []string
GetIps returns the Ips field value if set, zero value otherwise.
func (*GroupInstance) GetIpsOk ¶
func (o *GroupInstance) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupInstance) GetName ¶
func (o *GroupInstance) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GroupInstance) GetNameOk ¶
func (o *GroupInstance) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupInstance) HasId ¶
func (o *GroupInstance) HasId() bool
HasId returns a boolean if a field has been set.
func (*GroupInstance) HasIps ¶
func (o *GroupInstance) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*GroupInstance) HasName ¶
func (o *GroupInstance) HasName() bool
HasName returns a boolean if a field has been set.
func (GroupInstance) MarshalJSON ¶
func (o GroupInstance) MarshalJSON() ([]byte, error)
func (*GroupInstance) SetId ¶
func (o *GroupInstance) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GroupInstance) SetIps ¶
func (o *GroupInstance) SetIps(v []string)
SetIps gets a reference to the given []string and assigns it to the Ips field.
func (*GroupInstance) SetName ¶
func (o *GroupInstance) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (GroupInstance) ToMap ¶
func (o GroupInstance) ToMap() (map[string]interface{}, error)
type HostRoute ¶
type HostRoute struct { Destination *string `json:"destination,omitempty"` Nexthop *string `json:"nexthop,omitempty"` }
HostRoute struct for HostRoute
func NewHostRoute ¶
func NewHostRoute() *HostRoute
NewHostRoute instantiates a new HostRoute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHostRouteWithDefaults ¶
func NewHostRouteWithDefaults() *HostRoute
NewHostRouteWithDefaults instantiates a new HostRoute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HostRoute) GetDestination ¶
GetDestination returns the Destination field value if set, zero value otherwise.
func (*HostRoute) GetDestinationOk ¶
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HostRoute) GetNexthop ¶
GetNexthop returns the Nexthop field value if set, zero value otherwise.
func (*HostRoute) GetNexthopOk ¶
GetNexthopOk returns a tuple with the Nexthop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HostRoute) HasDestination ¶
HasDestination returns a boolean if a field has been set.
func (*HostRoute) HasNexthop ¶
HasNexthop returns a boolean if a field has been set.
func (HostRoute) MarshalJSON ¶
func (*HostRoute) SetDestination ¶
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*HostRoute) SetNexthop ¶
SetNexthop gets a reference to the given string and assigns it to the Nexthop field.
type IOPSAndThroughput ¶
type IOPSAndThroughput struct { Hdd *int64 `json:"hdd,omitempty"` Ssd *int64 `json:"ssd,omitempty"` }
IOPSAndThroughput struct for IOPSAndThroughput
func NewIOPSAndThroughput ¶
func NewIOPSAndThroughput() *IOPSAndThroughput
NewIOPSAndThroughput instantiates a new IOPSAndThroughput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIOPSAndThroughputWithDefaults ¶
func NewIOPSAndThroughputWithDefaults() *IOPSAndThroughput
NewIOPSAndThroughputWithDefaults instantiates a new IOPSAndThroughput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IOPSAndThroughput) GetHdd ¶
func (o *IOPSAndThroughput) GetHdd() int64
GetHdd returns the Hdd field value if set, zero value otherwise.
func (*IOPSAndThroughput) GetHddOk ¶
func (o *IOPSAndThroughput) GetHddOk() (*int64, bool)
GetHddOk returns a tuple with the Hdd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IOPSAndThroughput) GetSsd ¶
func (o *IOPSAndThroughput) GetSsd() int64
GetSsd returns the Ssd field value if set, zero value otherwise.
func (*IOPSAndThroughput) GetSsdOk ¶
func (o *IOPSAndThroughput) GetSsdOk() (*int64, bool)
GetSsdOk returns a tuple with the Ssd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IOPSAndThroughput) HasHdd ¶
func (o *IOPSAndThroughput) HasHdd() bool
HasHdd returns a boolean if a field has been set.
func (*IOPSAndThroughput) HasSsd ¶
func (o *IOPSAndThroughput) HasSsd() bool
HasSsd returns a boolean if a field has been set.
func (IOPSAndThroughput) MarshalJSON ¶
func (o IOPSAndThroughput) MarshalJSON() ([]byte, error)
func (*IOPSAndThroughput) SetHdd ¶
func (o *IOPSAndThroughput) SetHdd(v int64)
SetHdd gets a reference to the given int64 and assigns it to the Hdd field.
func (*IOPSAndThroughput) SetSsd ¶
func (o *IOPSAndThroughput) SetSsd(v int64)
SetSsd gets a reference to the given int64 and assigns it to the Ssd field.
func (IOPSAndThroughput) ToMap ¶
func (o IOPSAndThroughput) ToMap() (map[string]interface{}, error)
type IPInfo ¶
type IPInfo struct { Address *string `json:"address,omitempty"` GatewayAddress *string `json:"gateway_address,omitempty"` PortId *string `json:"port_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` Type *string `json:"type,omitempty"` }
IPInfo struct for IPInfo
func NewIPInfo ¶
func NewIPInfo() *IPInfo
NewIPInfo instantiates a new IPInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIPInfoWithDefaults ¶
func NewIPInfoWithDefaults() *IPInfo
NewIPInfoWithDefaults instantiates a new IPInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IPInfo) GetAddress ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*IPInfo) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPInfo) GetGatewayAddress ¶
GetGatewayAddress returns the GatewayAddress field value if set, zero value otherwise.
func (*IPInfo) GetGatewayAddressOk ¶
GetGatewayAddressOk returns a tuple with the GatewayAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPInfo) GetPortIdOk ¶
GetPortIdOk returns a tuple with the PortId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPInfo) GetSubnetId ¶
GetSubnetId returns the SubnetId field value if set, zero value otherwise.
func (*IPInfo) GetSubnetIdOk ¶
GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPInfo) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IPInfo) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (*IPInfo) HasGatewayAddress ¶
HasGatewayAddress returns a boolean if a field has been set.
func (*IPInfo) HasSubnetId ¶
HasSubnetId returns a boolean if a field has been set.
func (IPInfo) MarshalJSON ¶
func (*IPInfo) SetAddress ¶
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*IPInfo) SetGatewayAddress ¶
SetGatewayAddress gets a reference to the given string and assigns it to the GatewayAddress field.
func (*IPInfo) SetPortId ¶
SetPortId gets a reference to the given string and assigns it to the PortId field.
func (*IPInfo) SetSubnetId ¶
SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.
type ImageList ¶
type ImageList struct { Display *bool `json:"display,omitempty"` Images []ImgDistributionItem `json:"images,omitempty"` Name *string `json:"name,omitempty"` }
ImageList struct for ImageList
func NewImageList ¶
func NewImageList() *ImageList
NewImageList instantiates a new ImageList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImageListWithDefaults ¶
func NewImageListWithDefaults() *ImageList
NewImageListWithDefaults instantiates a new ImageList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImageList) GetDisplay ¶
GetDisplay returns the Display field value if set, zero value otherwise.
func (*ImageList) GetDisplayOk ¶
GetDisplayOk returns a tuple with the Display field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageList) GetImages ¶
func (o *ImageList) GetImages() []ImgDistributionItem
GetImages returns the Images field value if set, zero value otherwise.
func (*ImageList) GetImagesOk ¶
func (o *ImageList) GetImagesOk() ([]ImgDistributionItem, bool)
GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageList) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageList) HasDisplay ¶
HasDisplay returns a boolean if a field has been set.
func (ImageList) MarshalJSON ¶
func (*ImageList) SetDisplay ¶
SetDisplay gets a reference to the given bool and assigns it to the Display field.
func (*ImageList) SetImages ¶
func (o *ImageList) SetImages(v []ImgDistributionItem)
SetImages gets a reference to the given []ImgDistributionItem and assigns it to the Images field.
type ImagesAPIAppendDataToImageRequest ¶
type ImagesAPIAppendDataToImageRequest struct { ApiService *ImagesAPIService // contains filtered or unexported fields }
func (ImagesAPIAppendDataToImageRequest) Execute ¶
func (r ImagesAPIAppendDataToImageRequest) Execute() (*MessageResponse, *http.Response, error)
type ImagesAPIDeleteImageRequest ¶
type ImagesAPIDeleteImageRequest struct { ApiService *ImagesAPIService // contains filtered or unexported fields }
func (ImagesAPIDeleteImageRequest) Execute ¶
func (r ImagesAPIDeleteImageRequest) Execute() (*MessageResponse, *http.Response, error)
type ImagesAPIGetImagesRequest ¶
type ImagesAPIGetImagesRequest struct { ApiService *ImagesAPIService // contains filtered or unexported fields }
func (ImagesAPIGetImagesRequest) Execute ¶
func (r ImagesAPIGetImagesRequest) Execute() (*ImageList, *http.Response, error)
func (ImagesAPIGetImagesRequest) Type_ ¶
func (r ImagesAPIGetImagesRequest) Type_(type_ string) ImagesAPIGetImagesRequest
`private`, `arvan`, `distro`, `migrate`, `distributions`
type ImagesAPIImportImageFromURLRequest ¶
type ImagesAPIImportImageFromURLRequest struct { ApiService *ImagesAPIService // contains filtered or unexported fields }
func (ImagesAPIImportImageFromURLRequest) Execute ¶
func (r ImagesAPIImportImageFromURLRequest) Execute() (*MessageResponse, *http.Response, error)
func (ImagesAPIImportImageFromURLRequest) ImportImageRequest ¶
func (r ImagesAPIImportImageFromURLRequest) ImportImageRequest(importImageRequest ImportImageRequest) ImagesAPIImportImageFromURLRequest
type ImagesAPIService ¶
type ImagesAPIService service
ImagesAPIService ImagesAPI service
func (*ImagesAPIService) AppendDataToImage ¶
func (a *ImagesAPIService) AppendDataToImage(ctx context.Context, region string) ImagesAPIAppendDataToImageRequest
AppendDataToImage Method for AppendDataToImage
Append bytes to existing image, this is done by TUS. See https://tus.io
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ImagesAPIAppendDataToImageRequest
func (*ImagesAPIService) AppendDataToImageExecute ¶
func (a *ImagesAPIService) AppendDataToImageExecute(r ImagesAPIAppendDataToImageRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ImagesAPIService) DeleteImage ¶
func (a *ImagesAPIService) DeleteImage(ctx context.Context, region string, id string) ImagesAPIDeleteImageRequest
DeleteImage Method for DeleteImage
Delete user's image
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id id of the image to be deleted @return ImagesAPIDeleteImageRequest
func (*ImagesAPIService) DeleteImageExecute ¶
func (a *ImagesAPIService) DeleteImageExecute(r ImagesAPIDeleteImageRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ImagesAPIService) GetImages ¶
func (a *ImagesAPIService) GetImages(ctx context.Context, region string) ImagesAPIGetImagesRequest
GetImages Method for GetImages
Returns all user's images
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ImagesAPIGetImagesRequest
func (*ImagesAPIService) GetImagesExecute ¶
func (a *ImagesAPIService) GetImagesExecute(r ImagesAPIGetImagesRequest) (*ImageList, *http.Response, error)
Execute executes the request
@return ImageList
func (*ImagesAPIService) ImportImageFromURL ¶
func (a *ImagesAPIService) ImportImageFromURL(ctx context.Context, region string) ImagesAPIImportImageFromURLRequest
ImportImageFromURL Method for ImportImageFromURL
Download image from given URL
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ImagesAPIImportImageFromURLRequest
func (*ImagesAPIService) ImportImageFromURLExecute ¶
func (a *ImagesAPIService) ImportImageFromURLExecute(r ImagesAPIImportImageFromURLRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ImagesAPIService) UploadImage ¶
func (a *ImagesAPIService) UploadImage(ctx context.Context, region string) ImagesAPIUploadImageRequest
UploadImage Method for UploadImage
Upload an image to user's personal images. Currently only supporting TUS. See https://tus.io
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ImagesAPIUploadImageRequest
func (*ImagesAPIService) UploadImageExecute ¶
func (a *ImagesAPIService) UploadImageExecute(r ImagesAPIUploadImageRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type ImagesAPIUploadImageRequest ¶
type ImagesAPIUploadImageRequest struct { ApiService *ImagesAPIService // contains filtered or unexported fields }
func (ImagesAPIUploadImageRequest) Execute ¶
func (r ImagesAPIUploadImageRequest) Execute() (*MessageResponse, *http.Response, error)
func (ImagesAPIUploadImageRequest) TusResumable ¶
func (r ImagesAPIUploadImageRequest) TusResumable(tusResumable string) ImagesAPIUploadImageRequest
version of TUS that is used
func (ImagesAPIUploadImageRequest) UploadLength ¶
func (r ImagesAPIUploadImageRequest) UploadLength(uploadLength int32) ImagesAPIUploadImageRequest
The size of entire file in bytes
func (ImagesAPIUploadImageRequest) UploadMetadata ¶
func (r ImagesAPIUploadImageRequest) UploadMetadata(uploadMetadata string) ImagesAPIUploadImageRequest
Additional file metadata, containing `filename`, `filetype`, `data`
type ImgDistributionItem ¶
type ImgDistributionItem struct { Disk *int64 `json:"disk,omitempty"` DistributionName *string `json:"distribution_name,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` OsDescription *string `json:"os_description,omitempty"` Ram *int64 `json:"ram,omitempty"` SshKey *bool `json:"ssh_key,omitempty"` SshPassword *bool `json:"ssh_password,omitempty"` }
ImgDistributionItem struct for ImgDistributionItem
func NewImgDistributionItem ¶
func NewImgDistributionItem() *ImgDistributionItem
NewImgDistributionItem instantiates a new ImgDistributionItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImgDistributionItemWithDefaults ¶
func NewImgDistributionItemWithDefaults() *ImgDistributionItem
NewImgDistributionItemWithDefaults instantiates a new ImgDistributionItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImgDistributionItem) GetDisk ¶
func (o *ImgDistributionItem) GetDisk() int64
GetDisk returns the Disk field value if set, zero value otherwise.
func (*ImgDistributionItem) GetDiskOk ¶
func (o *ImgDistributionItem) GetDiskOk() (*int64, bool)
GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetDistributionName ¶
func (o *ImgDistributionItem) GetDistributionName() string
GetDistributionName returns the DistributionName field value if set, zero value otherwise.
func (*ImgDistributionItem) GetDistributionNameOk ¶
func (o *ImgDistributionItem) GetDistributionNameOk() (*string, bool)
GetDistributionNameOk returns a tuple with the DistributionName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetId ¶
func (o *ImgDistributionItem) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ImgDistributionItem) GetIdOk ¶
func (o *ImgDistributionItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetName ¶
func (o *ImgDistributionItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ImgDistributionItem) GetNameOk ¶
func (o *ImgDistributionItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetOsDescription ¶
func (o *ImgDistributionItem) GetOsDescription() string
GetOsDescription returns the OsDescription field value if set, zero value otherwise.
func (*ImgDistributionItem) GetOsDescriptionOk ¶
func (o *ImgDistributionItem) GetOsDescriptionOk() (*string, bool)
GetOsDescriptionOk returns a tuple with the OsDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetRam ¶
func (o *ImgDistributionItem) GetRam() int64
GetRam returns the Ram field value if set, zero value otherwise.
func (*ImgDistributionItem) GetRamOk ¶
func (o *ImgDistributionItem) GetRamOk() (*int64, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetSshKey ¶
func (o *ImgDistributionItem) GetSshKey() bool
GetSshKey returns the SshKey field value if set, zero value otherwise.
func (*ImgDistributionItem) GetSshKeyOk ¶
func (o *ImgDistributionItem) GetSshKeyOk() (*bool, bool)
GetSshKeyOk returns a tuple with the SshKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) GetSshPassword ¶
func (o *ImgDistributionItem) GetSshPassword() bool
GetSshPassword returns the SshPassword field value if set, zero value otherwise.
func (*ImgDistributionItem) GetSshPasswordOk ¶
func (o *ImgDistributionItem) GetSshPasswordOk() (*bool, bool)
GetSshPasswordOk returns a tuple with the SshPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDistributionItem) HasDisk ¶
func (o *ImgDistributionItem) HasDisk() bool
HasDisk returns a boolean if a field has been set.
func (*ImgDistributionItem) HasDistributionName ¶
func (o *ImgDistributionItem) HasDistributionName() bool
HasDistributionName returns a boolean if a field has been set.
func (*ImgDistributionItem) HasId ¶
func (o *ImgDistributionItem) HasId() bool
HasId returns a boolean if a field has been set.
func (*ImgDistributionItem) HasName ¶
func (o *ImgDistributionItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*ImgDistributionItem) HasOsDescription ¶
func (o *ImgDistributionItem) HasOsDescription() bool
HasOsDescription returns a boolean if a field has been set.
func (*ImgDistributionItem) HasRam ¶
func (o *ImgDistributionItem) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*ImgDistributionItem) HasSshKey ¶
func (o *ImgDistributionItem) HasSshKey() bool
HasSshKey returns a boolean if a field has been set.
func (*ImgDistributionItem) HasSshPassword ¶
func (o *ImgDistributionItem) HasSshPassword() bool
HasSshPassword returns a boolean if a field has been set.
func (ImgDistributionItem) MarshalJSON ¶
func (o ImgDistributionItem) MarshalJSON() ([]byte, error)
func (*ImgDistributionItem) SetDisk ¶
func (o *ImgDistributionItem) SetDisk(v int64)
SetDisk gets a reference to the given int64 and assigns it to the Disk field.
func (*ImgDistributionItem) SetDistributionName ¶
func (o *ImgDistributionItem) SetDistributionName(v string)
SetDistributionName gets a reference to the given string and assigns it to the DistributionName field.
func (*ImgDistributionItem) SetId ¶
func (o *ImgDistributionItem) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ImgDistributionItem) SetName ¶
func (o *ImgDistributionItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ImgDistributionItem) SetOsDescription ¶
func (o *ImgDistributionItem) SetOsDescription(v string)
SetOsDescription gets a reference to the given string and assigns it to the OsDescription field.
func (*ImgDistributionItem) SetRam ¶
func (o *ImgDistributionItem) SetRam(v int64)
SetRam gets a reference to the given int64 and assigns it to the Ram field.
func (*ImgDistributionItem) SetSshKey ¶
func (o *ImgDistributionItem) SetSshKey(v bool)
SetSshKey gets a reference to the given bool and assigns it to the SshKey field.
func (*ImgDistributionItem) SetSshPassword ¶
func (o *ImgDistributionItem) SetSshPassword(v bool)
SetSshPassword gets a reference to the given bool and assigns it to the SshPassword field.
func (ImgDistributionItem) ToMap ¶
func (o ImgDistributionItem) ToMap() (map[string]interface{}, error)
type ImgDoc ¶
ImgDoc struct for ImgDoc
func NewImgDoc ¶
func NewImgDoc() *ImgDoc
NewImgDoc instantiates a new ImgDoc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImgDocWithDefaults ¶
func NewImgDocWithDefaults() *ImgDoc
NewImgDocWithDefaults instantiates a new ImgDoc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImgDoc) GetLinkOk ¶
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImgDoc) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (ImgDoc) MarshalJSON ¶
func (*ImgDoc) SetLink ¶
SetLink gets a reference to the given string and assigns it to the Link field.
type ImportImageRequest ¶
type ImportImageRequest struct { MinDisk *int64 `json:"minDisk,omitempty"` MinRam *int64 `json:"minRam,omitempty"` Name *string `json:"name,omitempty"` Url *string `json:"url,omitempty"` }
ImportImageRequest struct for ImportImageRequest
func NewImportImageRequest ¶
func NewImportImageRequest() *ImportImageRequest
NewImportImageRequest instantiates a new ImportImageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImportImageRequestWithDefaults ¶
func NewImportImageRequestWithDefaults() *ImportImageRequest
NewImportImageRequestWithDefaults instantiates a new ImportImageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImportImageRequest) GetMinDisk ¶
func (o *ImportImageRequest) GetMinDisk() int64
GetMinDisk returns the MinDisk field value if set, zero value otherwise.
func (*ImportImageRequest) GetMinDiskOk ¶
func (o *ImportImageRequest) GetMinDiskOk() (*int64, bool)
GetMinDiskOk returns a tuple with the MinDisk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportImageRequest) GetMinRam ¶
func (o *ImportImageRequest) GetMinRam() int64
GetMinRam returns the MinRam field value if set, zero value otherwise.
func (*ImportImageRequest) GetMinRamOk ¶
func (o *ImportImageRequest) GetMinRamOk() (*int64, bool)
GetMinRamOk returns a tuple with the MinRam field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportImageRequest) GetName ¶
func (o *ImportImageRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ImportImageRequest) GetNameOk ¶
func (o *ImportImageRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportImageRequest) GetUrl ¶
func (o *ImportImageRequest) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ImportImageRequest) GetUrlOk ¶
func (o *ImportImageRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportImageRequest) HasMinDisk ¶
func (o *ImportImageRequest) HasMinDisk() bool
HasMinDisk returns a boolean if a field has been set.
func (*ImportImageRequest) HasMinRam ¶
func (o *ImportImageRequest) HasMinRam() bool
HasMinRam returns a boolean if a field has been set.
func (*ImportImageRequest) HasName ¶
func (o *ImportImageRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*ImportImageRequest) HasUrl ¶
func (o *ImportImageRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ImportImageRequest) MarshalJSON ¶
func (o ImportImageRequest) MarshalJSON() ([]byte, error)
func (*ImportImageRequest) SetMinDisk ¶
func (o *ImportImageRequest) SetMinDisk(v int64)
SetMinDisk gets a reference to the given int64 and assigns it to the MinDisk field.
func (*ImportImageRequest) SetMinRam ¶
func (o *ImportImageRequest) SetMinRam(v int64)
SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.
func (*ImportImageRequest) SetName ¶
func (o *ImportImageRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ImportImageRequest) SetUrl ¶
func (o *ImportImageRequest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (ImportImageRequest) ToMap ¶
func (o ImportImageRequest) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type MaxIOPSAndThroughput ¶
type MaxIOPSAndThroughput struct { Hdd *string `json:"hdd,omitempty"` Ssd *string `json:"ssd,omitempty"` }
MaxIOPSAndThroughput struct for MaxIOPSAndThroughput
func NewMaxIOPSAndThroughput ¶
func NewMaxIOPSAndThroughput() *MaxIOPSAndThroughput
NewMaxIOPSAndThroughput instantiates a new MaxIOPSAndThroughput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMaxIOPSAndThroughputWithDefaults ¶
func NewMaxIOPSAndThroughputWithDefaults() *MaxIOPSAndThroughput
NewMaxIOPSAndThroughputWithDefaults instantiates a new MaxIOPSAndThroughput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MaxIOPSAndThroughput) GetHdd ¶
func (o *MaxIOPSAndThroughput) GetHdd() string
GetHdd returns the Hdd field value if set, zero value otherwise.
func (*MaxIOPSAndThroughput) GetHddOk ¶
func (o *MaxIOPSAndThroughput) GetHddOk() (*string, bool)
GetHddOk returns a tuple with the Hdd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MaxIOPSAndThroughput) GetSsd ¶
func (o *MaxIOPSAndThroughput) GetSsd() string
GetSsd returns the Ssd field value if set, zero value otherwise.
func (*MaxIOPSAndThroughput) GetSsdOk ¶
func (o *MaxIOPSAndThroughput) GetSsdOk() (*string, bool)
GetSsdOk returns a tuple with the Ssd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MaxIOPSAndThroughput) HasHdd ¶
func (o *MaxIOPSAndThroughput) HasHdd() bool
HasHdd returns a boolean if a field has been set.
func (*MaxIOPSAndThroughput) HasSsd ¶
func (o *MaxIOPSAndThroughput) HasSsd() bool
HasSsd returns a boolean if a field has been set.
func (MaxIOPSAndThroughput) MarshalJSON ¶
func (o MaxIOPSAndThroughput) MarshalJSON() ([]byte, error)
func (*MaxIOPSAndThroughput) SetHdd ¶
func (o *MaxIOPSAndThroughput) SetHdd(v string)
SetHdd gets a reference to the given string and assigns it to the Hdd field.
func (*MaxIOPSAndThroughput) SetSsd ¶
func (o *MaxIOPSAndThroughput) SetSsd(v string)
SetSsd gets a reference to the given string and assigns it to the Ssd field.
func (MaxIOPSAndThroughput) ToMap ¶
func (o MaxIOPSAndThroughput) ToMap() (map[string]interface{}, error)
type MessageResponse ¶
type MessageResponse struct {
Message *string `json:"message,omitempty"`
}
MessageResponse struct for MessageResponse
func NewMessageResponse ¶
func NewMessageResponse() *MessageResponse
NewMessageResponse instantiates a new MessageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMessageResponseWithDefaults ¶
func NewMessageResponseWithDefaults() *MessageResponse
NewMessageResponseWithDefaults instantiates a new MessageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MessageResponse) GetMessage ¶
func (o *MessageResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*MessageResponse) GetMessageOk ¶
func (o *MessageResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageResponse) HasMessage ¶
func (o *MessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (MessageResponse) MarshalJSON ¶
func (o MessageResponse) MarshalJSON() ([]byte, error)
func (*MessageResponse) SetMessage ¶
func (o *MessageResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (MessageResponse) ToMap ¶
func (o MessageResponse) ToMap() (map[string]interface{}, error)
type Network ¶
type Network struct { AdminStateUp *bool `json:"admin_state_up,omitempty"` AvailabilityZoneHints []string `json:"availability_zone_hints,omitempty"` AvailabilityZones []string `json:"availability_zones,omitempty"` CreatedAt *string `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` DhcpIp *string `json:"dhcp_ip,omitempty"` Id *string `json:"id,omitempty"` Ipv4AddressScope *string `json:"ipv4_address_scope,omitempty"` Ipv6AddressScope *string `json:"ipv6_address_scope,omitempty"` Mtu *int64 `json:"mtu,omitempty"` Name *string `json:"name,omitempty"` PortSecurityEnabled *bool `json:"port_security_enabled,omitempty"` QosPolicyId *string `json:"qos_policy_id,omitempty"` RevisionNumber *int64 `json:"revision_number,omitempty"` Routerexternal *bool `json:"router:external,omitempty"` Status *string `json:"status,omitempty"` Subnets []Subnet `json:"subnets,omitempty"` Tags []string `json:"tags,omitempty"` TenantId *string `json:"tenant_id,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
Network struct for Network
func NewNetwork ¶
func NewNetwork() *Network
NewNetwork instantiates a new Network object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkWithDefaults ¶
func NewNetworkWithDefaults() *Network
NewNetworkWithDefaults instantiates a new Network object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Network) GetAdminStateUp ¶
GetAdminStateUp returns the AdminStateUp field value if set, zero value otherwise.
func (*Network) GetAdminStateUpOk ¶
GetAdminStateUpOk returns a tuple with the AdminStateUp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetAvailabilityZoneHints ¶
GetAvailabilityZoneHints returns the AvailabilityZoneHints field value if set, zero value otherwise.
func (*Network) GetAvailabilityZoneHintsOk ¶
GetAvailabilityZoneHintsOk returns a tuple with the AvailabilityZoneHints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetAvailabilityZones ¶
GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.
func (*Network) GetAvailabilityZonesOk ¶
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Network) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Network) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetDhcpIpOk ¶
GetDhcpIpOk returns a tuple with the DhcpIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetIpv4AddressScope ¶
GetIpv4AddressScope returns the Ipv4AddressScope field value if set, zero value otherwise.
func (*Network) GetIpv4AddressScopeOk ¶
GetIpv4AddressScopeOk returns a tuple with the Ipv4AddressScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetIpv6AddressScope ¶
GetIpv6AddressScope returns the Ipv6AddressScope field value if set, zero value otherwise.
func (*Network) GetIpv6AddressScopeOk ¶
GetIpv6AddressScopeOk returns a tuple with the Ipv6AddressScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetMtuOk ¶
GetMtuOk returns a tuple with the Mtu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetPortSecurityEnabled ¶
GetPortSecurityEnabled returns the PortSecurityEnabled field value if set, zero value otherwise.
func (*Network) GetPortSecurityEnabledOk ¶
GetPortSecurityEnabledOk returns a tuple with the PortSecurityEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetQosPolicyId ¶
GetQosPolicyId returns the QosPolicyId field value if set, zero value otherwise.
func (*Network) GetQosPolicyIdOk ¶
GetQosPolicyIdOk returns a tuple with the QosPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetRevisionNumber ¶
GetRevisionNumber returns the RevisionNumber field value if set, zero value otherwise.
func (*Network) GetRevisionNumberOk ¶
GetRevisionNumberOk returns a tuple with the RevisionNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetRouterexternal ¶
GetRouterexternal returns the Routerexternal field value if set, zero value otherwise.
func (*Network) GetRouterexternalOk ¶
GetRouterexternalOk returns a tuple with the Routerexternal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetSharedOk ¶
GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetSubnets ¶
GetSubnets returns the Subnets field value if set, zero value otherwise.
func (*Network) GetSubnetsOk ¶
GetSubnetsOk returns a tuple with the Subnets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetTenantId ¶
GetTenantId returns the TenantId field value if set, zero value otherwise.
func (*Network) GetTenantIdOk ¶
GetTenantIdOk returns a tuple with the TenantId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Network) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) HasAdminStateUp ¶
HasAdminStateUp returns a boolean if a field has been set.
func (*Network) HasAvailabilityZoneHints ¶
HasAvailabilityZoneHints returns a boolean if a field has been set.
func (*Network) HasAvailabilityZones ¶
HasAvailabilityZones returns a boolean if a field has been set.
func (*Network) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Network) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Network) HasIpv4AddressScope ¶
HasIpv4AddressScope returns a boolean if a field has been set.
func (*Network) HasIpv6AddressScope ¶
HasIpv6AddressScope returns a boolean if a field has been set.
func (*Network) HasPortSecurityEnabled ¶
HasPortSecurityEnabled returns a boolean if a field has been set.
func (*Network) HasQosPolicyId ¶
HasQosPolicyId returns a boolean if a field has been set.
func (*Network) HasRevisionNumber ¶
HasRevisionNumber returns a boolean if a field has been set.
func (*Network) HasRouterexternal ¶
HasRouterexternal returns a boolean if a field has been set.
func (*Network) HasSubnets ¶
HasSubnets returns a boolean if a field has been set.
func (*Network) HasTenantId ¶
HasTenantId returns a boolean if a field has been set.
func (*Network) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Network) MarshalJSON ¶
func (*Network) SetAdminStateUp ¶
SetAdminStateUp gets a reference to the given bool and assigns it to the AdminStateUp field.
func (*Network) SetAvailabilityZoneHints ¶
SetAvailabilityZoneHints gets a reference to the given []string and assigns it to the AvailabilityZoneHints field.
func (*Network) SetAvailabilityZones ¶
SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.
func (*Network) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Network) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Network) SetDhcpIp ¶
SetDhcpIp gets a reference to the given string and assigns it to the DhcpIp field.
func (*Network) SetIpv4AddressScope ¶
SetIpv4AddressScope gets a reference to the given string and assigns it to the Ipv4AddressScope field.
func (*Network) SetIpv6AddressScope ¶
SetIpv6AddressScope gets a reference to the given string and assigns it to the Ipv6AddressScope field.
func (*Network) SetMtu ¶
SetMtu gets a reference to the given int64 and assigns it to the Mtu field.
func (*Network) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Network) SetPortSecurityEnabled ¶
SetPortSecurityEnabled gets a reference to the given bool and assigns it to the PortSecurityEnabled field.
func (*Network) SetQosPolicyId ¶
SetQosPolicyId gets a reference to the given string and assigns it to the QosPolicyId field.
func (*Network) SetRevisionNumber ¶
SetRevisionNumber gets a reference to the given int64 and assigns it to the RevisionNumber field.
func (*Network) SetRouterexternal ¶
SetRouterexternal gets a reference to the given bool and assigns it to the Routerexternal field.
func (*Network) SetShared ¶
SetShared gets a reference to the given bool and assigns it to the Shared field.
func (*Network) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Network) SetSubnets ¶
SetSubnets gets a reference to the given []Subnet and assigns it to the Subnets field.
func (*Network) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Network) SetTenantId ¶
SetTenantId gets a reference to the given string and assigns it to the TenantId field.
func (*Network) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type NetworkServer ¶
type NetworkServer struct { Addresses *map[string][]ServerAddress `json:"addresses,omitempty"` Id *string `json:"id,omitempty"` Ips []FullIP `json:"ips,omitempty"` Name *string `json:"name,omitempty"` PublicIp []PublicIP `json:"public_ip,omitempty"` SecurityGroups []string `json:"security_groups,omitempty"` }
NetworkServer struct for NetworkServer
func NewNetworkServer ¶
func NewNetworkServer() *NetworkServer
NewNetworkServer instantiates a new NetworkServer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkServerWithDefaults ¶
func NewNetworkServerWithDefaults() *NetworkServer
NewNetworkServerWithDefaults instantiates a new NetworkServer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkServer) GetAddresses ¶
func (o *NetworkServer) GetAddresses() map[string][]ServerAddress
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*NetworkServer) GetAddressesOk ¶
func (o *NetworkServer) GetAddressesOk() (*map[string][]ServerAddress, bool)
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkServer) GetId ¶
func (o *NetworkServer) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*NetworkServer) GetIdOk ¶
func (o *NetworkServer) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkServer) GetIps ¶
func (o *NetworkServer) GetIps() []FullIP
GetIps returns the Ips field value if set, zero value otherwise.
func (*NetworkServer) GetIpsOk ¶
func (o *NetworkServer) GetIpsOk() ([]FullIP, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkServer) GetName ¶
func (o *NetworkServer) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*NetworkServer) GetNameOk ¶
func (o *NetworkServer) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkServer) GetPublicIp ¶
func (o *NetworkServer) GetPublicIp() []PublicIP
GetPublicIp returns the PublicIp field value if set, zero value otherwise.
func (*NetworkServer) GetPublicIpOk ¶
func (o *NetworkServer) GetPublicIpOk() ([]PublicIP, bool)
GetPublicIpOk returns a tuple with the PublicIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkServer) GetSecurityGroups ¶
func (o *NetworkServer) GetSecurityGroups() []string
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*NetworkServer) GetSecurityGroupsOk ¶
func (o *NetworkServer) GetSecurityGroupsOk() ([]string, bool)
GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkServer) HasAddresses ¶
func (o *NetworkServer) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (*NetworkServer) HasId ¶
func (o *NetworkServer) HasId() bool
HasId returns a boolean if a field has been set.
func (*NetworkServer) HasIps ¶
func (o *NetworkServer) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*NetworkServer) HasName ¶
func (o *NetworkServer) HasName() bool
HasName returns a boolean if a field has been set.
func (*NetworkServer) HasPublicIp ¶
func (o *NetworkServer) HasPublicIp() bool
HasPublicIp returns a boolean if a field has been set.
func (*NetworkServer) HasSecurityGroups ¶
func (o *NetworkServer) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (NetworkServer) MarshalJSON ¶
func (o NetworkServer) MarshalJSON() ([]byte, error)
func (*NetworkServer) SetAddresses ¶
func (o *NetworkServer) SetAddresses(v map[string][]ServerAddress)
SetAddresses gets a reference to the given map[string][]ServerAddress and assigns it to the Addresses field.
func (*NetworkServer) SetId ¶
func (o *NetworkServer) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*NetworkServer) SetIps ¶
func (o *NetworkServer) SetIps(v []FullIP)
SetIps gets a reference to the given []FullIP and assigns it to the Ips field.
func (*NetworkServer) SetName ¶
func (o *NetworkServer) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*NetworkServer) SetPublicIp ¶
func (o *NetworkServer) SetPublicIp(v []PublicIP)
SetPublicIp gets a reference to the given []PublicIP and assigns it to the PublicIp field.
func (*NetworkServer) SetSecurityGroups ¶
func (o *NetworkServer) SetSecurityGroups(v []string)
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (NetworkServer) ToMap ¶
func (o NetworkServer) ToMap() (map[string]interface{}, error)
type NetworksAPIAttachNetworkToServerRequest ¶
type NetworksAPIAttachNetworkToServerRequest struct { ApiService *NetworksAPIService // contains filtered or unexported fields }
func (NetworksAPIAttachNetworkToServerRequest) AttachServerToNetworkRequest ¶
func (r NetworksAPIAttachNetworkToServerRequest) AttachServerToNetworkRequest(attachServerToNetworkRequest AttachServerToNetworkRequest) NetworksAPIAttachNetworkToServerRequest
id of the server which needs to be detached
func (NetworksAPIAttachNetworkToServerRequest) Execute ¶
func (r NetworksAPIAttachNetworkToServerRequest) Execute() (*MessageResponse, *http.Response, error)
type NetworksAPIDetachNetworkFromServerRequest ¶
type NetworksAPIDetachNetworkFromServerRequest struct { ApiService *NetworksAPIService // contains filtered or unexported fields }
func (NetworksAPIDetachNetworkFromServerRequest) DetachNetworkFromServerRequest ¶
func (r NetworksAPIDetachNetworkFromServerRequest) DetachNetworkFromServerRequest(detachNetworkFromServerRequest DetachNetworkFromServerRequest) NetworksAPIDetachNetworkFromServerRequest
id of the server which needs to be detached
func (NetworksAPIDetachNetworkFromServerRequest) Execute ¶
func (r NetworksAPIDetachNetworkFromServerRequest) Execute() (*MessageResponse, *http.Response, error)
type NetworksAPIGetAllNetworksRequest ¶
type NetworksAPIGetAllNetworksRequest struct { ApiService *NetworksAPIService // contains filtered or unexported fields }
type NetworksAPIService ¶
type NetworksAPIService service
NetworksAPIService NetworksAPI service
func (*NetworksAPIService) AttachNetworkToServer ¶
func (a *NetworksAPIService) AttachNetworkToServer(ctx context.Context, region string, id string) NetworksAPIAttachNetworkToServerRequest
AttachNetworkToServer Method for AttachNetworkToServer
Attach specified network to a server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id network id @return NetworksAPIAttachNetworkToServerRequest
func (*NetworksAPIService) AttachNetworkToServerExecute ¶
func (a *NetworksAPIService) AttachNetworkToServerExecute(r NetworksAPIAttachNetworkToServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*NetworksAPIService) DetachNetworkFromServer ¶
func (a *NetworksAPIService) DetachNetworkFromServer(ctx context.Context, region string, id string) NetworksAPIDetachNetworkFromServerRequest
DetachNetworkFromServer Method for DetachNetworkFromServer
Detach a network from server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id network id @return NetworksAPIDetachNetworkFromServerRequest
func (*NetworksAPIService) DetachNetworkFromServerExecute ¶
func (a *NetworksAPIService) DetachNetworkFromServerExecute(r NetworksAPIDetachNetworkFromServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*NetworksAPIService) GetAllNetworks ¶
func (a *NetworksAPIService) GetAllNetworks(ctx context.Context, region string) NetworksAPIGetAllNetworksRequest
GetAllNetworks Method for GetAllNetworks
Get all user's networks
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return NetworksAPIGetAllNetworksRequest
func (*NetworksAPIService) GetAllNetworksExecute ¶
func (a *NetworksAPIService) GetAllNetworksExecute(r NetworksAPIGetAllNetworksRequest) (*Network, *http.Response, error)
Execute executes the request
@return Network
type NullableAddServerPublicIPRequest ¶
type NullableAddServerPublicIPRequest struct {
// contains filtered or unexported fields
}
func NewNullableAddServerPublicIPRequest ¶
func NewNullableAddServerPublicIPRequest(val *AddServerPublicIPRequest) *NullableAddServerPublicIPRequest
func (NullableAddServerPublicIPRequest) Get ¶
func (v NullableAddServerPublicIPRequest) Get() *AddServerPublicIPRequest
func (NullableAddServerPublicIPRequest) IsSet ¶
func (v NullableAddServerPublicIPRequest) IsSet() bool
func (NullableAddServerPublicIPRequest) MarshalJSON ¶
func (v NullableAddServerPublicIPRequest) MarshalJSON() ([]byte, error)
func (*NullableAddServerPublicIPRequest) Set ¶
func (v *NullableAddServerPublicIPRequest) Set(val *AddServerPublicIPRequest)
func (*NullableAddServerPublicIPRequest) UnmarshalJSON ¶
func (v *NullableAddServerPublicIPRequest) UnmarshalJSON(src []byte) error
func (*NullableAddServerPublicIPRequest) Unset ¶
func (v *NullableAddServerPublicIPRequest) Unset()
type NullableAllocationPool ¶
type NullableAllocationPool struct {
// contains filtered or unexported fields
}
func NewNullableAllocationPool ¶
func NewNullableAllocationPool(val *AllocationPool) *NullableAllocationPool
func (NullableAllocationPool) Get ¶
func (v NullableAllocationPool) Get() *AllocationPool
func (NullableAllocationPool) IsSet ¶
func (v NullableAllocationPool) IsSet() bool
func (NullableAllocationPool) MarshalJSON ¶
func (v NullableAllocationPool) MarshalJSON() ([]byte, error)
func (*NullableAllocationPool) Set ¶
func (v *NullableAllocationPool) Set(val *AllocationPool)
func (*NullableAllocationPool) UnmarshalJSON ¶
func (v *NullableAllocationPool) UnmarshalJSON(src []byte) error
func (*NullableAllocationPool) Unset ¶
func (v *NullableAllocationPool) Unset()
type NullableAttachPortSecurityRequest ¶
type NullableAttachPortSecurityRequest struct {
// contains filtered or unexported fields
}
func NewNullableAttachPortSecurityRequest ¶
func NewNullableAttachPortSecurityRequest(val *AttachPortSecurityRequest) *NullableAttachPortSecurityRequest
func (NullableAttachPortSecurityRequest) Get ¶
func (v NullableAttachPortSecurityRequest) Get() *AttachPortSecurityRequest
func (NullableAttachPortSecurityRequest) IsSet ¶
func (v NullableAttachPortSecurityRequest) IsSet() bool
func (NullableAttachPortSecurityRequest) MarshalJSON ¶
func (v NullableAttachPortSecurityRequest) MarshalJSON() ([]byte, error)
func (*NullableAttachPortSecurityRequest) Set ¶
func (v *NullableAttachPortSecurityRequest) Set(val *AttachPortSecurityRequest)
func (*NullableAttachPortSecurityRequest) UnmarshalJSON ¶
func (v *NullableAttachPortSecurityRequest) UnmarshalJSON(src []byte) error
func (*NullableAttachPortSecurityRequest) Unset ¶
func (v *NullableAttachPortSecurityRequest) Unset()
type NullableAttachServerRootVolumeRequest ¶
type NullableAttachServerRootVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableAttachServerRootVolumeRequest ¶
func NewNullableAttachServerRootVolumeRequest(val *AttachServerRootVolumeRequest) *NullableAttachServerRootVolumeRequest
func (NullableAttachServerRootVolumeRequest) Get ¶
func (v NullableAttachServerRootVolumeRequest) Get() *AttachServerRootVolumeRequest
func (NullableAttachServerRootVolumeRequest) IsSet ¶
func (v NullableAttachServerRootVolumeRequest) IsSet() bool
func (NullableAttachServerRootVolumeRequest) MarshalJSON ¶
func (v NullableAttachServerRootVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableAttachServerRootVolumeRequest) Set ¶
func (v *NullableAttachServerRootVolumeRequest) Set(val *AttachServerRootVolumeRequest)
func (*NullableAttachServerRootVolumeRequest) UnmarshalJSON ¶
func (v *NullableAttachServerRootVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableAttachServerRootVolumeRequest) Unset ¶
func (v *NullableAttachServerRootVolumeRequest) Unset()
type NullableAttachServerToNetworkRequest ¶
type NullableAttachServerToNetworkRequest struct {
// contains filtered or unexported fields
}
func NewNullableAttachServerToNetworkRequest ¶
func NewNullableAttachServerToNetworkRequest(val *AttachServerToNetworkRequest) *NullableAttachServerToNetworkRequest
func (NullableAttachServerToNetworkRequest) Get ¶
func (v NullableAttachServerToNetworkRequest) Get() *AttachServerToNetworkRequest
func (NullableAttachServerToNetworkRequest) IsSet ¶
func (v NullableAttachServerToNetworkRequest) IsSet() bool
func (NullableAttachServerToNetworkRequest) MarshalJSON ¶
func (v NullableAttachServerToNetworkRequest) MarshalJSON() ([]byte, error)
func (*NullableAttachServerToNetworkRequest) Set ¶
func (v *NullableAttachServerToNetworkRequest) Set(val *AttachServerToNetworkRequest)
func (*NullableAttachServerToNetworkRequest) UnmarshalJSON ¶
func (v *NullableAttachServerToNetworkRequest) UnmarshalJSON(src []byte) error
func (*NullableAttachServerToNetworkRequest) Unset ¶
func (v *NullableAttachServerToNetworkRequest) Unset()
type NullableAttachServerToSecurityGroupRequest ¶
type NullableAttachServerToSecurityGroupRequest struct {
// contains filtered or unexported fields
}
func NewNullableAttachServerToSecurityGroupRequest ¶
func NewNullableAttachServerToSecurityGroupRequest(val *AttachServerToSecurityGroupRequest) *NullableAttachServerToSecurityGroupRequest
func (NullableAttachServerToSecurityGroupRequest) IsSet ¶
func (v NullableAttachServerToSecurityGroupRequest) IsSet() bool
func (NullableAttachServerToSecurityGroupRequest) MarshalJSON ¶
func (v NullableAttachServerToSecurityGroupRequest) MarshalJSON() ([]byte, error)
func (*NullableAttachServerToSecurityGroupRequest) Set ¶
func (v *NullableAttachServerToSecurityGroupRequest) Set(val *AttachServerToSecurityGroupRequest)
func (*NullableAttachServerToSecurityGroupRequest) UnmarshalJSON ¶
func (v *NullableAttachServerToSecurityGroupRequest) UnmarshalJSON(src []byte) error
func (*NullableAttachServerToSecurityGroupRequest) Unset ¶
func (v *NullableAttachServerToSecurityGroupRequest) Unset()
type NullableAttachTagRequest ¶
type NullableAttachTagRequest struct {
// contains filtered or unexported fields
}
func NewNullableAttachTagRequest ¶
func NewNullableAttachTagRequest(val *AttachTagRequest) *NullableAttachTagRequest
func (NullableAttachTagRequest) Get ¶
func (v NullableAttachTagRequest) Get() *AttachTagRequest
func (NullableAttachTagRequest) IsSet ¶
func (v NullableAttachTagRequest) IsSet() bool
func (NullableAttachTagRequest) MarshalJSON ¶
func (v NullableAttachTagRequest) MarshalJSON() ([]byte, error)
func (*NullableAttachTagRequest) Set ¶
func (v *NullableAttachTagRequest) Set(val *AttachTagRequest)
func (*NullableAttachTagRequest) UnmarshalJSON ¶
func (v *NullableAttachTagRequest) UnmarshalJSON(src []byte) error
func (*NullableAttachTagRequest) Unset ¶
func (v *NullableAttachTagRequest) Unset()
type NullableAttachment ¶
type NullableAttachment struct {
// contains filtered or unexported fields
}
func NewNullableAttachment ¶
func NewNullableAttachment(val *Attachment) *NullableAttachment
func (NullableAttachment) Get ¶
func (v NullableAttachment) Get() *Attachment
func (NullableAttachment) IsSet ¶
func (v NullableAttachment) IsSet() bool
func (NullableAttachment) MarshalJSON ¶
func (v NullableAttachment) MarshalJSON() ([]byte, error)
func (*NullableAttachment) Set ¶
func (v *NullableAttachment) Set(val *Attachment)
func (*NullableAttachment) UnmarshalJSON ¶
func (v *NullableAttachment) UnmarshalJSON(src []byte) error
func (*NullableAttachment) Unset ¶
func (v *NullableAttachment) Unset()
type NullableBatchTagRequest ¶
type NullableBatchTagRequest struct {
// contains filtered or unexported fields
}
func NewNullableBatchTagRequest ¶
func NewNullableBatchTagRequest(val *BatchTagRequest) *NullableBatchTagRequest
func (NullableBatchTagRequest) Get ¶
func (v NullableBatchTagRequest) Get() *BatchTagRequest
func (NullableBatchTagRequest) IsSet ¶
func (v NullableBatchTagRequest) IsSet() bool
func (NullableBatchTagRequest) MarshalJSON ¶
func (v NullableBatchTagRequest) MarshalJSON() ([]byte, error)
func (*NullableBatchTagRequest) Set ¶
func (v *NullableBatchTagRequest) Set(val *BatchTagRequest)
func (*NullableBatchTagRequest) UnmarshalJSON ¶
func (v *NullableBatchTagRequest) UnmarshalJSON(src []byte) error
func (*NullableBatchTagRequest) Unset ¶
func (v *NullableBatchTagRequest) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableChart ¶
type NullableChart struct {
// contains filtered or unexported fields
}
func NewNullableChart ¶
func NewNullableChart(val *Chart) *NullableChart
func (NullableChart) Get ¶
func (v NullableChart) Get() *Chart
func (NullableChart) IsSet ¶
func (v NullableChart) IsSet() bool
func (NullableChart) MarshalJSON ¶
func (v NullableChart) MarshalJSON() ([]byte, error)
func (*NullableChart) Set ¶
func (v *NullableChart) Set(val *Chart)
func (*NullableChart) UnmarshalJSON ¶
func (v *NullableChart) UnmarshalJSON(src []byte) error
func (*NullableChart) Unset ¶
func (v *NullableChart) Unset()
type NullableChartCollection ¶
type NullableChartCollection struct {
// contains filtered or unexported fields
}
func NewNullableChartCollection ¶
func NewNullableChartCollection(val *ChartCollection) *NullableChartCollection
func (NullableChartCollection) Get ¶
func (v NullableChartCollection) Get() *ChartCollection
func (NullableChartCollection) IsSet ¶
func (v NullableChartCollection) IsSet() bool
func (NullableChartCollection) MarshalJSON ¶
func (v NullableChartCollection) MarshalJSON() ([]byte, error)
func (*NullableChartCollection) Set ¶
func (v *NullableChartCollection) Set(val *ChartCollection)
func (*NullableChartCollection) UnmarshalJSON ¶
func (v *NullableChartCollection) UnmarshalJSON(src []byte) error
func (*NullableChartCollection) Unset ¶
func (v *NullableChartCollection) Unset()
type NullableChartDataset ¶
type NullableChartDataset struct {
// contains filtered or unexported fields
}
func NewNullableChartDataset ¶
func NewNullableChartDataset(val *ChartDataset) *NullableChartDataset
func (NullableChartDataset) Get ¶
func (v NullableChartDataset) Get() *ChartDataset
func (NullableChartDataset) IsSet ¶
func (v NullableChartDataset) IsSet() bool
func (NullableChartDataset) MarshalJSON ¶
func (v NullableChartDataset) MarshalJSON() ([]byte, error)
func (*NullableChartDataset) Set ¶
func (v *NullableChartDataset) Set(val *ChartDataset)
func (*NullableChartDataset) UnmarshalJSON ¶
func (v *NullableChartDataset) UnmarshalJSON(src []byte) error
func (*NullableChartDataset) Unset ¶
func (v *NullableChartDataset) Unset()
type NullableCreateFloatIPRequest ¶
type NullableCreateFloatIPRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateFloatIPRequest ¶
func NewNullableCreateFloatIPRequest(val *CreateFloatIPRequest) *NullableCreateFloatIPRequest
func (NullableCreateFloatIPRequest) Get ¶
func (v NullableCreateFloatIPRequest) Get() *CreateFloatIPRequest
func (NullableCreateFloatIPRequest) IsSet ¶
func (v NullableCreateFloatIPRequest) IsSet() bool
func (NullableCreateFloatIPRequest) MarshalJSON ¶
func (v NullableCreateFloatIPRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateFloatIPRequest) Set ¶
func (v *NullableCreateFloatIPRequest) Set(val *CreateFloatIPRequest)
func (*NullableCreateFloatIPRequest) UnmarshalJSON ¶
func (v *NullableCreateFloatIPRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateFloatIPRequest) Unset ¶
func (v *NullableCreateFloatIPRequest) Unset()
type NullableCreateImageFromSnapshotRequest ¶
type NullableCreateImageFromSnapshotRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateImageFromSnapshotRequest ¶
func NewNullableCreateImageFromSnapshotRequest(val *CreateImageFromSnapshotRequest) *NullableCreateImageFromSnapshotRequest
func (NullableCreateImageFromSnapshotRequest) Get ¶
func (v NullableCreateImageFromSnapshotRequest) Get() *CreateImageFromSnapshotRequest
func (NullableCreateImageFromSnapshotRequest) IsSet ¶
func (v NullableCreateImageFromSnapshotRequest) IsSet() bool
func (NullableCreateImageFromSnapshotRequest) MarshalJSON ¶
func (v NullableCreateImageFromSnapshotRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateImageFromSnapshotRequest) Set ¶
func (v *NullableCreateImageFromSnapshotRequest) Set(val *CreateImageFromSnapshotRequest)
func (*NullableCreateImageFromSnapshotRequest) UnmarshalJSON ¶
func (v *NullableCreateImageFromSnapshotRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateImageFromSnapshotRequest) Unset ¶
func (v *NullableCreateImageFromSnapshotRequest) Unset()
type NullableCreatePTRRequest ¶
type NullableCreatePTRRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreatePTRRequest ¶
func NewNullableCreatePTRRequest(val *CreatePTRRequest) *NullableCreatePTRRequest
func (NullableCreatePTRRequest) Get ¶
func (v NullableCreatePTRRequest) Get() *CreatePTRRequest
func (NullableCreatePTRRequest) IsSet ¶
func (v NullableCreatePTRRequest) IsSet() bool
func (NullableCreatePTRRequest) MarshalJSON ¶
func (v NullableCreatePTRRequest) MarshalJSON() ([]byte, error)
func (*NullableCreatePTRRequest) Set ¶
func (v *NullableCreatePTRRequest) Set(val *CreatePTRRequest)
func (*NullableCreatePTRRequest) UnmarshalJSON ¶
func (v *NullableCreatePTRRequest) UnmarshalJSON(src []byte) error
func (*NullableCreatePTRRequest) Unset ¶
func (v *NullableCreatePTRRequest) Unset()
type NullableCreatePrivateNetworkRequest ¶
type NullableCreatePrivateNetworkRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreatePrivateNetworkRequest ¶
func NewNullableCreatePrivateNetworkRequest(val *CreatePrivateNetworkRequest) *NullableCreatePrivateNetworkRequest
func (NullableCreatePrivateNetworkRequest) Get ¶
func (v NullableCreatePrivateNetworkRequest) Get() *CreatePrivateNetworkRequest
func (NullableCreatePrivateNetworkRequest) IsSet ¶
func (v NullableCreatePrivateNetworkRequest) IsSet() bool
func (NullableCreatePrivateNetworkRequest) MarshalJSON ¶
func (v NullableCreatePrivateNetworkRequest) MarshalJSON() ([]byte, error)
func (*NullableCreatePrivateNetworkRequest) Set ¶
func (v *NullableCreatePrivateNetworkRequest) Set(val *CreatePrivateNetworkRequest)
func (*NullableCreatePrivateNetworkRequest) UnmarshalJSON ¶
func (v *NullableCreatePrivateNetworkRequest) UnmarshalJSON(src []byte) error
func (*NullableCreatePrivateNetworkRequest) Unset ¶
func (v *NullableCreatePrivateNetworkRequest) Unset()
type NullableCreateSSHKeyRequest ¶
type NullableCreateSSHKeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSSHKeyRequest ¶
func NewNullableCreateSSHKeyRequest(val *CreateSSHKeyRequest) *NullableCreateSSHKeyRequest
func (NullableCreateSSHKeyRequest) Get ¶
func (v NullableCreateSSHKeyRequest) Get() *CreateSSHKeyRequest
func (NullableCreateSSHKeyRequest) IsSet ¶
func (v NullableCreateSSHKeyRequest) IsSet() bool
func (NullableCreateSSHKeyRequest) MarshalJSON ¶
func (v NullableCreateSSHKeyRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSSHKeyRequest) Set ¶
func (v *NullableCreateSSHKeyRequest) Set(val *CreateSSHKeyRequest)
func (*NullableCreateSSHKeyRequest) UnmarshalJSON ¶
func (v *NullableCreateSSHKeyRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSSHKeyRequest) Unset ¶
func (v *NullableCreateSSHKeyRequest) Unset()
type NullableCreateSecurityGroupRequest ¶
type NullableCreateSecurityGroupRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSecurityGroupRequest ¶
func NewNullableCreateSecurityGroupRequest(val *CreateSecurityGroupRequest) *NullableCreateSecurityGroupRequest
func (NullableCreateSecurityGroupRequest) Get ¶
func (v NullableCreateSecurityGroupRequest) Get() *CreateSecurityGroupRequest
func (NullableCreateSecurityGroupRequest) IsSet ¶
func (v NullableCreateSecurityGroupRequest) IsSet() bool
func (NullableCreateSecurityGroupRequest) MarshalJSON ¶
func (v NullableCreateSecurityGroupRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSecurityGroupRequest) Set ¶
func (v *NullableCreateSecurityGroupRequest) Set(val *CreateSecurityGroupRequest)
func (*NullableCreateSecurityGroupRequest) UnmarshalJSON ¶
func (v *NullableCreateSecurityGroupRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSecurityGroupRequest) Unset ¶
func (v *NullableCreateSecurityGroupRequest) Unset()
type NullableCreateSecurityGroupRuleRequest ¶
type NullableCreateSecurityGroupRuleRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSecurityGroupRuleRequest ¶
func NewNullableCreateSecurityGroupRuleRequest(val *CreateSecurityGroupRuleRequest) *NullableCreateSecurityGroupRuleRequest
func (NullableCreateSecurityGroupRuleRequest) Get ¶
func (v NullableCreateSecurityGroupRuleRequest) Get() *CreateSecurityGroupRuleRequest
func (NullableCreateSecurityGroupRuleRequest) IsSet ¶
func (v NullableCreateSecurityGroupRuleRequest) IsSet() bool
func (NullableCreateSecurityGroupRuleRequest) MarshalJSON ¶
func (v NullableCreateSecurityGroupRuleRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSecurityGroupRuleRequest) Set ¶
func (v *NullableCreateSecurityGroupRuleRequest) Set(val *CreateSecurityGroupRuleRequest)
func (*NullableCreateSecurityGroupRuleRequest) UnmarshalJSON ¶
func (v *NullableCreateSecurityGroupRuleRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSecurityGroupRuleRequest) Unset ¶
func (v *NullableCreateSecurityGroupRuleRequest) Unset()
type NullableCreateServerRequest ¶
type NullableCreateServerRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerRequest ¶
func NewNullableCreateServerRequest(val *CreateServerRequest) *NullableCreateServerRequest
func (NullableCreateServerRequest) Get ¶
func (v NullableCreateServerRequest) Get() *CreateServerRequest
func (NullableCreateServerRequest) IsSet ¶
func (v NullableCreateServerRequest) IsSet() bool
func (NullableCreateServerRequest) MarshalJSON ¶
func (v NullableCreateServerRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateServerRequest) Set ¶
func (v *NullableCreateServerRequest) Set(val *CreateServerRequest)
func (*NullableCreateServerRequest) UnmarshalJSON ¶
func (v *NullableCreateServerRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateServerRequest) Unset ¶
func (v *NullableCreateServerRequest) Unset()
type NullableCreateSnapshotFromVolumeRequest ¶
type NullableCreateSnapshotFromVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSnapshotFromVolumeRequest ¶
func NewNullableCreateSnapshotFromVolumeRequest(val *CreateSnapshotFromVolumeRequest) *NullableCreateSnapshotFromVolumeRequest
func (NullableCreateSnapshotFromVolumeRequest) IsSet ¶
func (v NullableCreateSnapshotFromVolumeRequest) IsSet() bool
func (NullableCreateSnapshotFromVolumeRequest) MarshalJSON ¶
func (v NullableCreateSnapshotFromVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSnapshotFromVolumeRequest) Set ¶
func (v *NullableCreateSnapshotFromVolumeRequest) Set(val *CreateSnapshotFromVolumeRequest)
func (*NullableCreateSnapshotFromVolumeRequest) UnmarshalJSON ¶
func (v *NullableCreateSnapshotFromVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSnapshotFromVolumeRequest) Unset ¶
func (v *NullableCreateSnapshotFromVolumeRequest) Unset()
type NullableCreateTagRequest ¶
type NullableCreateTagRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateTagRequest ¶
func NewNullableCreateTagRequest(val *CreateTagRequest) *NullableCreateTagRequest
func (NullableCreateTagRequest) Get ¶
func (v NullableCreateTagRequest) Get() *CreateTagRequest
func (NullableCreateTagRequest) IsSet ¶
func (v NullableCreateTagRequest) IsSet() bool
func (NullableCreateTagRequest) MarshalJSON ¶
func (v NullableCreateTagRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateTagRequest) Set ¶
func (v *NullableCreateTagRequest) Set(val *CreateTagRequest)
func (*NullableCreateTagRequest) UnmarshalJSON ¶
func (v *NullableCreateTagRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateTagRequest) Unset ¶
func (v *NullableCreateTagRequest) Unset()
type NullableCreateVolumeFromSnapshotRequest ¶
type NullableCreateVolumeFromSnapshotRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateVolumeFromSnapshotRequest ¶
func NewNullableCreateVolumeFromSnapshotRequest(val *CreateVolumeFromSnapshotRequest) *NullableCreateVolumeFromSnapshotRequest
func (NullableCreateVolumeFromSnapshotRequest) IsSet ¶
func (v NullableCreateVolumeFromSnapshotRequest) IsSet() bool
func (NullableCreateVolumeFromSnapshotRequest) MarshalJSON ¶
func (v NullableCreateVolumeFromSnapshotRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateVolumeFromSnapshotRequest) Set ¶
func (v *NullableCreateVolumeFromSnapshotRequest) Set(val *CreateVolumeFromSnapshotRequest)
func (*NullableCreateVolumeFromSnapshotRequest) UnmarshalJSON ¶
func (v *NullableCreateVolumeFromSnapshotRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateVolumeFromSnapshotRequest) Unset ¶
func (v *NullableCreateVolumeFromSnapshotRequest) Unset()
type NullableCreateVolumeRequest ¶
type NullableCreateVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateVolumeRequest ¶
func NewNullableCreateVolumeRequest(val *CreateVolumeRequest) *NullableCreateVolumeRequest
func (NullableCreateVolumeRequest) Get ¶
func (v NullableCreateVolumeRequest) Get() *CreateVolumeRequest
func (NullableCreateVolumeRequest) IsSet ¶
func (v NullableCreateVolumeRequest) IsSet() bool
func (NullableCreateVolumeRequest) MarshalJSON ¶
func (v NullableCreateVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateVolumeRequest) Set ¶
func (v *NullableCreateVolumeRequest) Set(val *CreateVolumeRequest)
func (*NullableCreateVolumeRequest) UnmarshalJSON ¶
func (v *NullableCreateVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateVolumeRequest) Unset ¶
func (v *NullableCreateVolumeRequest) Unset()
type NullableDeleteServerReasonAnswer ¶
type NullableDeleteServerReasonAnswer struct {
// contains filtered or unexported fields
}
func NewNullableDeleteServerReasonAnswer ¶
func NewNullableDeleteServerReasonAnswer(val *DeleteServerReasonAnswer) *NullableDeleteServerReasonAnswer
func (NullableDeleteServerReasonAnswer) Get ¶
func (v NullableDeleteServerReasonAnswer) Get() *DeleteServerReasonAnswer
func (NullableDeleteServerReasonAnswer) IsSet ¶
func (v NullableDeleteServerReasonAnswer) IsSet() bool
func (NullableDeleteServerReasonAnswer) MarshalJSON ¶
func (v NullableDeleteServerReasonAnswer) MarshalJSON() ([]byte, error)
func (*NullableDeleteServerReasonAnswer) Set ¶
func (v *NullableDeleteServerReasonAnswer) Set(val *DeleteServerReasonAnswer)
func (*NullableDeleteServerReasonAnswer) UnmarshalJSON ¶
func (v *NullableDeleteServerReasonAnswer) UnmarshalJSON(src []byte) error
func (*NullableDeleteServerReasonAnswer) Unset ¶
func (v *NullableDeleteServerReasonAnswer) Unset()
type NullableDeleteServerReasons ¶
type NullableDeleteServerReasons struct {
// contains filtered or unexported fields
}
func NewNullableDeleteServerReasons ¶
func NewNullableDeleteServerReasons(val *DeleteServerReasons) *NullableDeleteServerReasons
func (NullableDeleteServerReasons) Get ¶
func (v NullableDeleteServerReasons) Get() *DeleteServerReasons
func (NullableDeleteServerReasons) IsSet ¶
func (v NullableDeleteServerReasons) IsSet() bool
func (NullableDeleteServerReasons) MarshalJSON ¶
func (v NullableDeleteServerReasons) MarshalJSON() ([]byte, error)
func (*NullableDeleteServerReasons) Set ¶
func (v *NullableDeleteServerReasons) Set(val *DeleteServerReasons)
func (*NullableDeleteServerReasons) UnmarshalJSON ¶
func (v *NullableDeleteServerReasons) UnmarshalJSON(src []byte) error
func (*NullableDeleteServerReasons) Unset ¶
func (v *NullableDeleteServerReasons) Unset()
type NullableDetachFloatIPRequest ¶
type NullableDetachFloatIPRequest struct {
// contains filtered or unexported fields
}
func NewNullableDetachFloatIPRequest ¶
func NewNullableDetachFloatIPRequest(val *DetachFloatIPRequest) *NullableDetachFloatIPRequest
func (NullableDetachFloatIPRequest) Get ¶
func (v NullableDetachFloatIPRequest) Get() *DetachFloatIPRequest
func (NullableDetachFloatIPRequest) IsSet ¶
func (v NullableDetachFloatIPRequest) IsSet() bool
func (NullableDetachFloatIPRequest) MarshalJSON ¶
func (v NullableDetachFloatIPRequest) MarshalJSON() ([]byte, error)
func (*NullableDetachFloatIPRequest) Set ¶
func (v *NullableDetachFloatIPRequest) Set(val *DetachFloatIPRequest)
func (*NullableDetachFloatIPRequest) UnmarshalJSON ¶
func (v *NullableDetachFloatIPRequest) UnmarshalJSON(src []byte) error
func (*NullableDetachFloatIPRequest) Unset ¶
func (v *NullableDetachFloatIPRequest) Unset()
type NullableDetachNetworkFromServerRequest ¶
type NullableDetachNetworkFromServerRequest struct {
// contains filtered or unexported fields
}
func NewNullableDetachNetworkFromServerRequest ¶
func NewNullableDetachNetworkFromServerRequest(val *DetachNetworkFromServerRequest) *NullableDetachNetworkFromServerRequest
func (NullableDetachNetworkFromServerRequest) Get ¶
func (v NullableDetachNetworkFromServerRequest) Get() *DetachNetworkFromServerRequest
func (NullableDetachNetworkFromServerRequest) IsSet ¶
func (v NullableDetachNetworkFromServerRequest) IsSet() bool
func (NullableDetachNetworkFromServerRequest) MarshalJSON ¶
func (v NullableDetachNetworkFromServerRequest) MarshalJSON() ([]byte, error)
func (*NullableDetachNetworkFromServerRequest) Set ¶
func (v *NullableDetachNetworkFromServerRequest) Set(val *DetachNetworkFromServerRequest)
func (*NullableDetachNetworkFromServerRequest) UnmarshalJSON ¶
func (v *NullableDetachNetworkFromServerRequest) UnmarshalJSON(src []byte) error
func (*NullableDetachNetworkFromServerRequest) Unset ¶
func (v *NullableDetachNetworkFromServerRequest) Unset()
type NullableDetachPortSecurityRequest ¶
type NullableDetachPortSecurityRequest struct {
// contains filtered or unexported fields
}
func NewNullableDetachPortSecurityRequest ¶
func NewNullableDetachPortSecurityRequest(val *DetachPortSecurityRequest) *NullableDetachPortSecurityRequest
func (NullableDetachPortSecurityRequest) Get ¶
func (v NullableDetachPortSecurityRequest) Get() *DetachPortSecurityRequest
func (NullableDetachPortSecurityRequest) IsSet ¶
func (v NullableDetachPortSecurityRequest) IsSet() bool
func (NullableDetachPortSecurityRequest) MarshalJSON ¶
func (v NullableDetachPortSecurityRequest) MarshalJSON() ([]byte, error)
func (*NullableDetachPortSecurityRequest) Set ¶
func (v *NullableDetachPortSecurityRequest) Set(val *DetachPortSecurityRequest)
func (*NullableDetachPortSecurityRequest) UnmarshalJSON ¶
func (v *NullableDetachPortSecurityRequest) UnmarshalJSON(src []byte) error
func (*NullableDetachPortSecurityRequest) Unset ¶
func (v *NullableDetachPortSecurityRequest) Unset()
type NullableDetachTagRequest ¶
type NullableDetachTagRequest struct {
// contains filtered or unexported fields
}
func NewNullableDetachTagRequest ¶
func NewNullableDetachTagRequest(val *DetachTagRequest) *NullableDetachTagRequest
func (NullableDetachTagRequest) Get ¶
func (v NullableDetachTagRequest) Get() *DetachTagRequest
func (NullableDetachTagRequest) IsSet ¶
func (v NullableDetachTagRequest) IsSet() bool
func (NullableDetachTagRequest) MarshalJSON ¶
func (v NullableDetachTagRequest) MarshalJSON() ([]byte, error)
func (*NullableDetachTagRequest) Set ¶
func (v *NullableDetachTagRequest) Set(val *DetachTagRequest)
func (*NullableDetachTagRequest) UnmarshalJSON ¶
func (v *NullableDetachTagRequest) UnmarshalJSON(src []byte) error
func (*NullableDetachTagRequest) Unset ¶
func (v *NullableDetachTagRequest) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableFloatIP ¶
type NullableFloatIP struct {
// contains filtered or unexported fields
}
func NewNullableFloatIP ¶
func NewNullableFloatIP(val *FloatIP) *NullableFloatIP
func (NullableFloatIP) Get ¶
func (v NullableFloatIP) Get() *FloatIP
func (NullableFloatIP) IsSet ¶
func (v NullableFloatIP) IsSet() bool
func (NullableFloatIP) MarshalJSON ¶
func (v NullableFloatIP) MarshalJSON() ([]byte, error)
func (*NullableFloatIP) Set ¶
func (v *NullableFloatIP) Set(val *FloatIP)
func (*NullableFloatIP) UnmarshalJSON ¶
func (v *NullableFloatIP) UnmarshalJSON(src []byte) error
func (*NullableFloatIP) Unset ¶
func (v *NullableFloatIP) Unset()
type NullableFloatIPAttachRequest ¶
type NullableFloatIPAttachRequest struct {
// contains filtered or unexported fields
}
func NewNullableFloatIPAttachRequest ¶
func NewNullableFloatIPAttachRequest(val *FloatIPAttachRequest) *NullableFloatIPAttachRequest
func (NullableFloatIPAttachRequest) Get ¶
func (v NullableFloatIPAttachRequest) Get() *FloatIPAttachRequest
func (NullableFloatIPAttachRequest) IsSet ¶
func (v NullableFloatIPAttachRequest) IsSet() bool
func (NullableFloatIPAttachRequest) MarshalJSON ¶
func (v NullableFloatIPAttachRequest) MarshalJSON() ([]byte, error)
func (*NullableFloatIPAttachRequest) Set ¶
func (v *NullableFloatIPAttachRequest) Set(val *FloatIPAttachRequest)
func (*NullableFloatIPAttachRequest) UnmarshalJSON ¶
func (v *NullableFloatIPAttachRequest) UnmarshalJSON(src []byte) error
func (*NullableFloatIPAttachRequest) Unset ¶
func (v *NullableFloatIPAttachRequest) Unset()
type NullableFullIP ¶
type NullableFullIP struct {
// contains filtered or unexported fields
}
func NewNullableFullIP ¶
func NewNullableFullIP(val *FullIP) *NullableFullIP
func (NullableFullIP) Get ¶
func (v NullableFullIP) Get() *FullIP
func (NullableFullIP) IsSet ¶
func (v NullableFullIP) IsSet() bool
func (NullableFullIP) MarshalJSON ¶
func (v NullableFullIP) MarshalJSON() ([]byte, error)
func (*NullableFullIP) Set ¶
func (v *NullableFullIP) Set(val *FullIP)
func (*NullableFullIP) UnmarshalJSON ¶
func (v *NullableFullIP) UnmarshalJSON(src []byte) error
func (*NullableFullIP) Unset ¶
func (v *NullableFullIP) Unset()
type NullableGetServerActionsResponse ¶
type NullableGetServerActionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetServerActionsResponse ¶
func NewNullableGetServerActionsResponse(val *GetServerActionsResponse) *NullableGetServerActionsResponse
func (NullableGetServerActionsResponse) Get ¶
func (v NullableGetServerActionsResponse) Get() *GetServerActionsResponse
func (NullableGetServerActionsResponse) IsSet ¶
func (v NullableGetServerActionsResponse) IsSet() bool
func (NullableGetServerActionsResponse) MarshalJSON ¶
func (v NullableGetServerActionsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetServerActionsResponse) Set ¶
func (v *NullableGetServerActionsResponse) Set(val *GetServerActionsResponse)
func (*NullableGetServerActionsResponse) UnmarshalJSON ¶
func (v *NullableGetServerActionsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetServerActionsResponse) Unset ¶
func (v *NullableGetServerActionsResponse) Unset()
type NullableGetServerVNCRequest ¶
type NullableGetServerVNCRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetServerVNCRequest ¶
func NewNullableGetServerVNCRequest(val *GetServerVNCRequest) *NullableGetServerVNCRequest
func (NullableGetServerVNCRequest) Get ¶
func (v NullableGetServerVNCRequest) Get() *GetServerVNCRequest
func (NullableGetServerVNCRequest) IsSet ¶
func (v NullableGetServerVNCRequest) IsSet() bool
func (NullableGetServerVNCRequest) MarshalJSON ¶
func (v NullableGetServerVNCRequest) MarshalJSON() ([]byte, error)
func (*NullableGetServerVNCRequest) Set ¶
func (v *NullableGetServerVNCRequest) Set(val *GetServerVNCRequest)
func (*NullableGetServerVNCRequest) UnmarshalJSON ¶
func (v *NullableGetServerVNCRequest) UnmarshalJSON(src []byte) error
func (*NullableGetServerVNCRequest) Unset ¶
func (v *NullableGetServerVNCRequest) Unset()
type NullableGroupInstance ¶
type NullableGroupInstance struct {
// contains filtered or unexported fields
}
func NewNullableGroupInstance ¶
func NewNullableGroupInstance(val *GroupInstance) *NullableGroupInstance
func (NullableGroupInstance) Get ¶
func (v NullableGroupInstance) Get() *GroupInstance
func (NullableGroupInstance) IsSet ¶
func (v NullableGroupInstance) IsSet() bool
func (NullableGroupInstance) MarshalJSON ¶
func (v NullableGroupInstance) MarshalJSON() ([]byte, error)
func (*NullableGroupInstance) Set ¶
func (v *NullableGroupInstance) Set(val *GroupInstance)
func (*NullableGroupInstance) UnmarshalJSON ¶
func (v *NullableGroupInstance) UnmarshalJSON(src []byte) error
func (*NullableGroupInstance) Unset ¶
func (v *NullableGroupInstance) Unset()
type NullableHostRoute ¶
type NullableHostRoute struct {
// contains filtered or unexported fields
}
func NewNullableHostRoute ¶
func NewNullableHostRoute(val *HostRoute) *NullableHostRoute
func (NullableHostRoute) Get ¶
func (v NullableHostRoute) Get() *HostRoute
func (NullableHostRoute) IsSet ¶
func (v NullableHostRoute) IsSet() bool
func (NullableHostRoute) MarshalJSON ¶
func (v NullableHostRoute) MarshalJSON() ([]byte, error)
func (*NullableHostRoute) Set ¶
func (v *NullableHostRoute) Set(val *HostRoute)
func (*NullableHostRoute) UnmarshalJSON ¶
func (v *NullableHostRoute) UnmarshalJSON(src []byte) error
func (*NullableHostRoute) Unset ¶
func (v *NullableHostRoute) Unset()
type NullableIOPSAndThroughput ¶
type NullableIOPSAndThroughput struct {
// contains filtered or unexported fields
}
func NewNullableIOPSAndThroughput ¶
func NewNullableIOPSAndThroughput(val *IOPSAndThroughput) *NullableIOPSAndThroughput
func (NullableIOPSAndThroughput) Get ¶
func (v NullableIOPSAndThroughput) Get() *IOPSAndThroughput
func (NullableIOPSAndThroughput) IsSet ¶
func (v NullableIOPSAndThroughput) IsSet() bool
func (NullableIOPSAndThroughput) MarshalJSON ¶
func (v NullableIOPSAndThroughput) MarshalJSON() ([]byte, error)
func (*NullableIOPSAndThroughput) Set ¶
func (v *NullableIOPSAndThroughput) Set(val *IOPSAndThroughput)
func (*NullableIOPSAndThroughput) UnmarshalJSON ¶
func (v *NullableIOPSAndThroughput) UnmarshalJSON(src []byte) error
func (*NullableIOPSAndThroughput) Unset ¶
func (v *NullableIOPSAndThroughput) Unset()
type NullableIPInfo ¶
type NullableIPInfo struct {
// contains filtered or unexported fields
}
func NewNullableIPInfo ¶
func NewNullableIPInfo(val *IPInfo) *NullableIPInfo
func (NullableIPInfo) Get ¶
func (v NullableIPInfo) Get() *IPInfo
func (NullableIPInfo) IsSet ¶
func (v NullableIPInfo) IsSet() bool
func (NullableIPInfo) MarshalJSON ¶
func (v NullableIPInfo) MarshalJSON() ([]byte, error)
func (*NullableIPInfo) Set ¶
func (v *NullableIPInfo) Set(val *IPInfo)
func (*NullableIPInfo) UnmarshalJSON ¶
func (v *NullableIPInfo) UnmarshalJSON(src []byte) error
func (*NullableIPInfo) Unset ¶
func (v *NullableIPInfo) Unset()
type NullableImageList ¶
type NullableImageList struct {
// contains filtered or unexported fields
}
func NewNullableImageList ¶
func NewNullableImageList(val *ImageList) *NullableImageList
func (NullableImageList) Get ¶
func (v NullableImageList) Get() *ImageList
func (NullableImageList) IsSet ¶
func (v NullableImageList) IsSet() bool
func (NullableImageList) MarshalJSON ¶
func (v NullableImageList) MarshalJSON() ([]byte, error)
func (*NullableImageList) Set ¶
func (v *NullableImageList) Set(val *ImageList)
func (*NullableImageList) UnmarshalJSON ¶
func (v *NullableImageList) UnmarshalJSON(src []byte) error
func (*NullableImageList) Unset ¶
func (v *NullableImageList) Unset()
type NullableImgDistributionItem ¶
type NullableImgDistributionItem struct {
// contains filtered or unexported fields
}
func NewNullableImgDistributionItem ¶
func NewNullableImgDistributionItem(val *ImgDistributionItem) *NullableImgDistributionItem
func (NullableImgDistributionItem) Get ¶
func (v NullableImgDistributionItem) Get() *ImgDistributionItem
func (NullableImgDistributionItem) IsSet ¶
func (v NullableImgDistributionItem) IsSet() bool
func (NullableImgDistributionItem) MarshalJSON ¶
func (v NullableImgDistributionItem) MarshalJSON() ([]byte, error)
func (*NullableImgDistributionItem) Set ¶
func (v *NullableImgDistributionItem) Set(val *ImgDistributionItem)
func (*NullableImgDistributionItem) UnmarshalJSON ¶
func (v *NullableImgDistributionItem) UnmarshalJSON(src []byte) error
func (*NullableImgDistributionItem) Unset ¶
func (v *NullableImgDistributionItem) Unset()
type NullableImgDoc ¶
type NullableImgDoc struct {
// contains filtered or unexported fields
}
func NewNullableImgDoc ¶
func NewNullableImgDoc(val *ImgDoc) *NullableImgDoc
func (NullableImgDoc) Get ¶
func (v NullableImgDoc) Get() *ImgDoc
func (NullableImgDoc) IsSet ¶
func (v NullableImgDoc) IsSet() bool
func (NullableImgDoc) MarshalJSON ¶
func (v NullableImgDoc) MarshalJSON() ([]byte, error)
func (*NullableImgDoc) Set ¶
func (v *NullableImgDoc) Set(val *ImgDoc)
func (*NullableImgDoc) UnmarshalJSON ¶
func (v *NullableImgDoc) UnmarshalJSON(src []byte) error
func (*NullableImgDoc) Unset ¶
func (v *NullableImgDoc) Unset()
type NullableImportImageRequest ¶
type NullableImportImageRequest struct {
// contains filtered or unexported fields
}
func NewNullableImportImageRequest ¶
func NewNullableImportImageRequest(val *ImportImageRequest) *NullableImportImageRequest
func (NullableImportImageRequest) Get ¶
func (v NullableImportImageRequest) Get() *ImportImageRequest
func (NullableImportImageRequest) IsSet ¶
func (v NullableImportImageRequest) IsSet() bool
func (NullableImportImageRequest) MarshalJSON ¶
func (v NullableImportImageRequest) MarshalJSON() ([]byte, error)
func (*NullableImportImageRequest) Set ¶
func (v *NullableImportImageRequest) Set(val *ImportImageRequest)
func (*NullableImportImageRequest) UnmarshalJSON ¶
func (v *NullableImportImageRequest) UnmarshalJSON(src []byte) error
func (*NullableImportImageRequest) Unset ¶
func (v *NullableImportImageRequest) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableMaxIOPSAndThroughput ¶
type NullableMaxIOPSAndThroughput struct {
// contains filtered or unexported fields
}
func NewNullableMaxIOPSAndThroughput ¶
func NewNullableMaxIOPSAndThroughput(val *MaxIOPSAndThroughput) *NullableMaxIOPSAndThroughput
func (NullableMaxIOPSAndThroughput) Get ¶
func (v NullableMaxIOPSAndThroughput) Get() *MaxIOPSAndThroughput
func (NullableMaxIOPSAndThroughput) IsSet ¶
func (v NullableMaxIOPSAndThroughput) IsSet() bool
func (NullableMaxIOPSAndThroughput) MarshalJSON ¶
func (v NullableMaxIOPSAndThroughput) MarshalJSON() ([]byte, error)
func (*NullableMaxIOPSAndThroughput) Set ¶
func (v *NullableMaxIOPSAndThroughput) Set(val *MaxIOPSAndThroughput)
func (*NullableMaxIOPSAndThroughput) UnmarshalJSON ¶
func (v *NullableMaxIOPSAndThroughput) UnmarshalJSON(src []byte) error
func (*NullableMaxIOPSAndThroughput) Unset ¶
func (v *NullableMaxIOPSAndThroughput) Unset()
type NullableMessageResponse ¶
type NullableMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableMessageResponse ¶
func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse
func (NullableMessageResponse) Get ¶
func (v NullableMessageResponse) Get() *MessageResponse
func (NullableMessageResponse) IsSet ¶
func (v NullableMessageResponse) IsSet() bool
func (NullableMessageResponse) MarshalJSON ¶
func (v NullableMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableMessageResponse) Set ¶
func (v *NullableMessageResponse) Set(val *MessageResponse)
func (*NullableMessageResponse) UnmarshalJSON ¶
func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableMessageResponse) Unset ¶
func (v *NullableMessageResponse) Unset()
type NullableNetwork ¶
type NullableNetwork struct {
// contains filtered or unexported fields
}
func NewNullableNetwork ¶
func NewNullableNetwork(val *Network) *NullableNetwork
func (NullableNetwork) Get ¶
func (v NullableNetwork) Get() *Network
func (NullableNetwork) IsSet ¶
func (v NullableNetwork) IsSet() bool
func (NullableNetwork) MarshalJSON ¶
func (v NullableNetwork) MarshalJSON() ([]byte, error)
func (*NullableNetwork) Set ¶
func (v *NullableNetwork) Set(val *Network)
func (*NullableNetwork) UnmarshalJSON ¶
func (v *NullableNetwork) UnmarshalJSON(src []byte) error
func (*NullableNetwork) Unset ¶
func (v *NullableNetwork) Unset()
type NullableNetworkServer ¶
type NullableNetworkServer struct {
// contains filtered or unexported fields
}
func NewNullableNetworkServer ¶
func NewNullableNetworkServer(val *NetworkServer) *NullableNetworkServer
func (NullableNetworkServer) Get ¶
func (v NullableNetworkServer) Get() *NetworkServer
func (NullableNetworkServer) IsSet ¶
func (v NullableNetworkServer) IsSet() bool
func (NullableNetworkServer) MarshalJSON ¶
func (v NullableNetworkServer) MarshalJSON() ([]byte, error)
func (*NullableNetworkServer) Set ¶
func (v *NullableNetworkServer) Set(val *NetworkServer)
func (*NullableNetworkServer) UnmarshalJSON ¶
func (v *NullableNetworkServer) UnmarshalJSON(src []byte) error
func (*NullableNetworkServer) Unset ¶
func (v *NullableNetworkServer) Unset()
type NullablePlan ¶
type NullablePlan struct {
// contains filtered or unexported fields
}
func NewNullablePlan ¶
func NewNullablePlan(val *Plan) *NullablePlan
func (NullablePlan) Get ¶
func (v NullablePlan) Get() *Plan
func (NullablePlan) IsSet ¶
func (v NullablePlan) IsSet() bool
func (NullablePlan) MarshalJSON ¶
func (v NullablePlan) MarshalJSON() ([]byte, error)
func (*NullablePlan) Set ¶
func (v *NullablePlan) Set(val *Plan)
func (*NullablePlan) UnmarshalJSON ¶
func (v *NullablePlan) UnmarshalJSON(src []byte) error
func (*NullablePlan) Unset ¶
func (v *NullablePlan) Unset()
type NullablePortSecGroupData ¶
type NullablePortSecGroupData struct {
// contains filtered or unexported fields
}
func NewNullablePortSecGroupData ¶
func NewNullablePortSecGroupData(val *PortSecGroupData) *NullablePortSecGroupData
func (NullablePortSecGroupData) Get ¶
func (v NullablePortSecGroupData) Get() *PortSecGroupData
func (NullablePortSecGroupData) IsSet ¶
func (v NullablePortSecGroupData) IsSet() bool
func (NullablePortSecGroupData) MarshalJSON ¶
func (v NullablePortSecGroupData) MarshalJSON() ([]byte, error)
func (*NullablePortSecGroupData) Set ¶
func (v *NullablePortSecGroupData) Set(val *PortSecGroupData)
func (*NullablePortSecGroupData) UnmarshalJSON ¶
func (v *NullablePortSecGroupData) UnmarshalJSON(src []byte) error
func (*NullablePortSecGroupData) Unset ¶
func (v *NullablePortSecGroupData) Unset()
type NullablePublicIP ¶
type NullablePublicIP struct {
// contains filtered or unexported fields
}
func NewNullablePublicIP ¶
func NewNullablePublicIP(val *PublicIP) *NullablePublicIP
func (NullablePublicIP) Get ¶
func (v NullablePublicIP) Get() *PublicIP
func (NullablePublicIP) IsSet ¶
func (v NullablePublicIP) IsSet() bool
func (NullablePublicIP) MarshalJSON ¶
func (v NullablePublicIP) MarshalJSON() ([]byte, error)
func (*NullablePublicIP) Set ¶
func (v *NullablePublicIP) Set(val *PublicIP)
func (*NullablePublicIP) UnmarshalJSON ¶
func (v *NullablePublicIP) UnmarshalJSON(src []byte) error
func (*NullablePublicIP) Unset ¶
func (v *NullablePublicIP) Unset()
type NullableQuota ¶
type NullableQuota struct {
// contains filtered or unexported fields
}
func NewNullableQuota ¶
func NewNullableQuota(val *Quota) *NullableQuota
func (NullableQuota) Get ¶
func (v NullableQuota) Get() *Quota
func (NullableQuota) IsSet ¶
func (v NullableQuota) IsSet() bool
func (NullableQuota) MarshalJSON ¶
func (v NullableQuota) MarshalJSON() ([]byte, error)
func (*NullableQuota) Set ¶
func (v *NullableQuota) Set(val *Quota)
func (*NullableQuota) UnmarshalJSON ¶
func (v *NullableQuota) UnmarshalJSON(src []byte) error
func (*NullableQuota) Unset ¶
func (v *NullableQuota) Unset()
type NullableQuotaValue ¶
type NullableQuotaValue struct {
// contains filtered or unexported fields
}
func NewNullableQuotaValue ¶
func NewNullableQuotaValue(val *QuotaValue) *NullableQuotaValue
func (NullableQuotaValue) Get ¶
func (v NullableQuotaValue) Get() *QuotaValue
func (NullableQuotaValue) IsSet ¶
func (v NullableQuotaValue) IsSet() bool
func (NullableQuotaValue) MarshalJSON ¶
func (v NullableQuotaValue) MarshalJSON() ([]byte, error)
func (*NullableQuotaValue) Set ¶
func (v *NullableQuotaValue) Set(val *QuotaValue)
func (*NullableQuotaValue) UnmarshalJSON ¶
func (v *NullableQuotaValue) UnmarshalJSON(src []byte) error
func (*NullableQuotaValue) Unset ¶
func (v *NullableQuotaValue) Unset()
type NullableRebuildImageRequest ¶
type NullableRebuildImageRequest struct {
// contains filtered or unexported fields
}
func NewNullableRebuildImageRequest ¶
func NewNullableRebuildImageRequest(val *RebuildImageRequest) *NullableRebuildImageRequest
func (NullableRebuildImageRequest) Get ¶
func (v NullableRebuildImageRequest) Get() *RebuildImageRequest
func (NullableRebuildImageRequest) IsSet ¶
func (v NullableRebuildImageRequest) IsSet() bool
func (NullableRebuildImageRequest) MarshalJSON ¶
func (v NullableRebuildImageRequest) MarshalJSON() ([]byte, error)
func (*NullableRebuildImageRequest) Set ¶
func (v *NullableRebuildImageRequest) Set(val *RebuildImageRequest)
func (*NullableRebuildImageRequest) UnmarshalJSON ¶
func (v *NullableRebuildImageRequest) UnmarshalJSON(src []byte) error
func (*NullableRebuildImageRequest) Unset ¶
func (v *NullableRebuildImageRequest) Unset()
type NullableRegion ¶
type NullableRegion struct {
// contains filtered or unexported fields
}
func NewNullableRegion ¶
func NewNullableRegion(val *Region) *NullableRegion
func (NullableRegion) Get ¶
func (v NullableRegion) Get() *Region
func (NullableRegion) IsSet ¶
func (v NullableRegion) IsSet() bool
func (NullableRegion) MarshalJSON ¶
func (v NullableRegion) MarshalJSON() ([]byte, error)
func (*NullableRegion) Set ¶
func (v *NullableRegion) Set(val *Region)
func (*NullableRegion) UnmarshalJSON ¶
func (v *NullableRegion) UnmarshalJSON(src []byte) error
func (*NullableRegion) Unset ¶
func (v *NullableRegion) Unset()
type NullableRegionServerCreateOptions ¶
type NullableRegionServerCreateOptions struct {
// contains filtered or unexported fields
}
func NewNullableRegionServerCreateOptions ¶
func NewNullableRegionServerCreateOptions(val *RegionServerCreateOptions) *NullableRegionServerCreateOptions
func (NullableRegionServerCreateOptions) Get ¶
func (v NullableRegionServerCreateOptions) Get() *RegionServerCreateOptions
func (NullableRegionServerCreateOptions) IsSet ¶
func (v NullableRegionServerCreateOptions) IsSet() bool
func (NullableRegionServerCreateOptions) MarshalJSON ¶
func (v NullableRegionServerCreateOptions) MarshalJSON() ([]byte, error)
func (*NullableRegionServerCreateOptions) Set ¶
func (v *NullableRegionServerCreateOptions) Set(val *RegionServerCreateOptions)
func (*NullableRegionServerCreateOptions) UnmarshalJSON ¶
func (v *NullableRegionServerCreateOptions) UnmarshalJSON(src []byte) error
func (*NullableRegionServerCreateOptions) Unset ¶
func (v *NullableRegionServerCreateOptions) Unset()
type NullableRenameServerRequest ¶
type NullableRenameServerRequest struct {
// contains filtered or unexported fields
}
func NewNullableRenameServerRequest ¶
func NewNullableRenameServerRequest(val *RenameServerRequest) *NullableRenameServerRequest
func (NullableRenameServerRequest) Get ¶
func (v NullableRenameServerRequest) Get() *RenameServerRequest
func (NullableRenameServerRequest) IsSet ¶
func (v NullableRenameServerRequest) IsSet() bool
func (NullableRenameServerRequest) MarshalJSON ¶
func (v NullableRenameServerRequest) MarshalJSON() ([]byte, error)
func (*NullableRenameServerRequest) Set ¶
func (v *NullableRenameServerRequest) Set(val *RenameServerRequest)
func (*NullableRenameServerRequest) UnmarshalJSON ¶
func (v *NullableRenameServerRequest) UnmarshalJSON(src []byte) error
func (*NullableRenameServerRequest) Unset ¶
func (v *NullableRenameServerRequest) Unset()
type NullableRescueServerRequest ¶
type NullableRescueServerRequest struct {
// contains filtered or unexported fields
}
func NewNullableRescueServerRequest ¶
func NewNullableRescueServerRequest(val *RescueServerRequest) *NullableRescueServerRequest
func (NullableRescueServerRequest) Get ¶
func (v NullableRescueServerRequest) Get() *RescueServerRequest
func (NullableRescueServerRequest) IsSet ¶
func (v NullableRescueServerRequest) IsSet() bool
func (NullableRescueServerRequest) MarshalJSON ¶
func (v NullableRescueServerRequest) MarshalJSON() ([]byte, error)
func (*NullableRescueServerRequest) Set ¶
func (v *NullableRescueServerRequest) Set(val *RescueServerRequest)
func (*NullableRescueServerRequest) UnmarshalJSON ¶
func (v *NullableRescueServerRequest) UnmarshalJSON(src []byte) error
func (*NullableRescueServerRequest) Unset ¶
func (v *NullableRescueServerRequest) Unset()
type NullableResizeRootVolumeRequest ¶
type NullableResizeRootVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableResizeRootVolumeRequest ¶
func NewNullableResizeRootVolumeRequest(val *ResizeRootVolumeRequest) *NullableResizeRootVolumeRequest
func (NullableResizeRootVolumeRequest) Get ¶
func (v NullableResizeRootVolumeRequest) Get() *ResizeRootVolumeRequest
func (NullableResizeRootVolumeRequest) IsSet ¶
func (v NullableResizeRootVolumeRequest) IsSet() bool
func (NullableResizeRootVolumeRequest) MarshalJSON ¶
func (v NullableResizeRootVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableResizeRootVolumeRequest) Set ¶
func (v *NullableResizeRootVolumeRequest) Set(val *ResizeRootVolumeRequest)
func (*NullableResizeRootVolumeRequest) UnmarshalJSON ¶
func (v *NullableResizeRootVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableResizeRootVolumeRequest) Unset ¶
func (v *NullableResizeRootVolumeRequest) Unset()
type NullableResizeServerRequest ¶
type NullableResizeServerRequest struct {
// contains filtered or unexported fields
}
func NewNullableResizeServerRequest ¶
func NewNullableResizeServerRequest(val *ResizeServerRequest) *NullableResizeServerRequest
func (NullableResizeServerRequest) Get ¶
func (v NullableResizeServerRequest) Get() *ResizeServerRequest
func (NullableResizeServerRequest) IsSet ¶
func (v NullableResizeServerRequest) IsSet() bool
func (NullableResizeServerRequest) MarshalJSON ¶
func (v NullableResizeServerRequest) MarshalJSON() ([]byte, error)
func (*NullableResizeServerRequest) Set ¶
func (v *NullableResizeServerRequest) Set(val *ResizeServerRequest)
func (*NullableResizeServerRequest) UnmarshalJSON ¶
func (v *NullableResizeServerRequest) UnmarshalJSON(src []byte) error
func (*NullableResizeServerRequest) Unset ¶
func (v *NullableResizeServerRequest) Unset()
type NullableRevertSnapshotRequest ¶
type NullableRevertSnapshotRequest struct {
// contains filtered or unexported fields
}
func NewNullableRevertSnapshotRequest ¶
func NewNullableRevertSnapshotRequest(val *RevertSnapshotRequest) *NullableRevertSnapshotRequest
func (NullableRevertSnapshotRequest) Get ¶
func (v NullableRevertSnapshotRequest) Get() *RevertSnapshotRequest
func (NullableRevertSnapshotRequest) IsSet ¶
func (v NullableRevertSnapshotRequest) IsSet() bool
func (NullableRevertSnapshotRequest) MarshalJSON ¶
func (v NullableRevertSnapshotRequest) MarshalJSON() ([]byte, error)
func (*NullableRevertSnapshotRequest) Set ¶
func (v *NullableRevertSnapshotRequest) Set(val *RevertSnapshotRequest)
func (*NullableRevertSnapshotRequest) UnmarshalJSON ¶
func (v *NullableRevertSnapshotRequest) UnmarshalJSON(src []byte) error
func (*NullableRevertSnapshotRequest) Unset ¶
func (v *NullableRevertSnapshotRequest) Unset()
type NullableRule ¶
type NullableRule struct {
// contains filtered or unexported fields
}
func NewNullableRule ¶
func NewNullableRule(val *Rule) *NullableRule
func (NullableRule) Get ¶
func (v NullableRule) Get() *Rule
func (NullableRule) IsSet ¶
func (v NullableRule) IsSet() bool
func (NullableRule) MarshalJSON ¶
func (v NullableRule) MarshalJSON() ([]byte, error)
func (*NullableRule) Set ¶
func (v *NullableRule) Set(val *Rule)
func (*NullableRule) UnmarshalJSON ¶
func (v *NullableRule) UnmarshalJSON(src []byte) error
func (*NullableRule) Unset ¶
func (v *NullableRule) Unset()
type NullableSSHKey ¶
type NullableSSHKey struct {
// contains filtered or unexported fields
}
func NewNullableSSHKey ¶
func NewNullableSSHKey(val *SSHKey) *NullableSSHKey
func (NullableSSHKey) Get ¶
func (v NullableSSHKey) Get() *SSHKey
func (NullableSSHKey) IsSet ¶
func (v NullableSSHKey) IsSet() bool
func (NullableSSHKey) MarshalJSON ¶
func (v NullableSSHKey) MarshalJSON() ([]byte, error)
func (*NullableSSHKey) Set ¶
func (v *NullableSSHKey) Set(val *SSHKey)
func (*NullableSSHKey) UnmarshalJSON ¶
func (v *NullableSSHKey) UnmarshalJSON(src []byte) error
func (*NullableSSHKey) Unset ¶
func (v *NullableSSHKey) Unset()
type NullableSecurityGroup ¶
type NullableSecurityGroup struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroup ¶
func NewNullableSecurityGroup(val *SecurityGroup) *NullableSecurityGroup
func (NullableSecurityGroup) Get ¶
func (v NullableSecurityGroup) Get() *SecurityGroup
func (NullableSecurityGroup) IsSet ¶
func (v NullableSecurityGroup) IsSet() bool
func (NullableSecurityGroup) MarshalJSON ¶
func (v NullableSecurityGroup) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroup) Set ¶
func (v *NullableSecurityGroup) Set(val *SecurityGroup)
func (*NullableSecurityGroup) UnmarshalJSON ¶
func (v *NullableSecurityGroup) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroup) Unset ¶
func (v *NullableSecurityGroup) Unset()
type NullableSecurityGroupName ¶
type NullableSecurityGroupName struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroupName ¶
func NewNullableSecurityGroupName(val *SecurityGroupName) *NullableSecurityGroupName
func (NullableSecurityGroupName) Get ¶
func (v NullableSecurityGroupName) Get() *SecurityGroupName
func (NullableSecurityGroupName) IsSet ¶
func (v NullableSecurityGroupName) IsSet() bool
func (NullableSecurityGroupName) MarshalJSON ¶
func (v NullableSecurityGroupName) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroupName) Set ¶
func (v *NullableSecurityGroupName) Set(val *SecurityGroupName)
func (*NullableSecurityGroupName) UnmarshalJSON ¶
func (v *NullableSecurityGroupName) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroupName) Unset ¶
func (v *NullableSecurityGroupName) Unset()
type NullableSecurityGroupRule ¶
type NullableSecurityGroupRule struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroupRule ¶
func NewNullableSecurityGroupRule(val *SecurityGroupRule) *NullableSecurityGroupRule
func (NullableSecurityGroupRule) Get ¶
func (v NullableSecurityGroupRule) Get() *SecurityGroupRule
func (NullableSecurityGroupRule) IsSet ¶
func (v NullableSecurityGroupRule) IsSet() bool
func (NullableSecurityGroupRule) MarshalJSON ¶
func (v NullableSecurityGroupRule) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroupRule) Set ¶
func (v *NullableSecurityGroupRule) Set(val *SecurityGroupRule)
func (*NullableSecurityGroupRule) UnmarshalJSON ¶
func (v *NullableSecurityGroupRule) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroupRule) Unset ¶
func (v *NullableSecurityGroupRule) Unset()
type NullableServerAddress ¶
type NullableServerAddress struct {
// contains filtered or unexported fields
}
func NewNullableServerAddress ¶
func NewNullableServerAddress(val *ServerAddress) *NullableServerAddress
func (NullableServerAddress) Get ¶
func (v NullableServerAddress) Get() *ServerAddress
func (NullableServerAddress) IsSet ¶
func (v NullableServerAddress) IsSet() bool
func (NullableServerAddress) MarshalJSON ¶
func (v NullableServerAddress) MarshalJSON() ([]byte, error)
func (*NullableServerAddress) Set ¶
func (v *NullableServerAddress) Set(val *ServerAddress)
func (*NullableServerAddress) UnmarshalJSON ¶
func (v *NullableServerAddress) UnmarshalJSON(src []byte) error
func (*NullableServerAddress) Unset ¶
func (v *NullableServerAddress) Unset()
type NullableServerDetail ¶
type NullableServerDetail struct {
// contains filtered or unexported fields
}
func NewNullableServerDetail ¶
func NewNullableServerDetail(val *ServerDetail) *NullableServerDetail
func (NullableServerDetail) Get ¶
func (v NullableServerDetail) Get() *ServerDetail
func (NullableServerDetail) IsSet ¶
func (v NullableServerDetail) IsSet() bool
func (NullableServerDetail) MarshalJSON ¶
func (v NullableServerDetail) MarshalJSON() ([]byte, error)
func (*NullableServerDetail) Set ¶
func (v *NullableServerDetail) Set(val *ServerDetail)
func (*NullableServerDetail) UnmarshalJSON ¶
func (v *NullableServerDetail) UnmarshalJSON(src []byte) error
func (*NullableServerDetail) Unset ¶
func (v *NullableServerDetail) Unset()
type NullableServerFlavor ¶
type NullableServerFlavor struct {
// contains filtered or unexported fields
}
func NewNullableServerFlavor ¶
func NewNullableServerFlavor(val *ServerFlavor) *NullableServerFlavor
func (NullableServerFlavor) Get ¶
func (v NullableServerFlavor) Get() *ServerFlavor
func (NullableServerFlavor) IsSet ¶
func (v NullableServerFlavor) IsSet() bool
func (NullableServerFlavor) MarshalJSON ¶
func (v NullableServerFlavor) MarshalJSON() ([]byte, error)
func (*NullableServerFlavor) Set ¶
func (v *NullableServerFlavor) Set(val *ServerFlavor)
func (*NullableServerFlavor) UnmarshalJSON ¶
func (v *NullableServerFlavor) UnmarshalJSON(src []byte) error
func (*NullableServerFlavor) Unset ¶
func (v *NullableServerFlavor) Unset()
type NullableServerIPInfo ¶
type NullableServerIPInfo struct {
// contains filtered or unexported fields
}
func NewNullableServerIPInfo ¶
func NewNullableServerIPInfo(val *ServerIPInfo) *NullableServerIPInfo
func (NullableServerIPInfo) Get ¶
func (v NullableServerIPInfo) Get() *ServerIPInfo
func (NullableServerIPInfo) IsSet ¶
func (v NullableServerIPInfo) IsSet() bool
func (NullableServerIPInfo) MarshalJSON ¶
func (v NullableServerIPInfo) MarshalJSON() ([]byte, error)
func (*NullableServerIPInfo) Set ¶
func (v *NullableServerIPInfo) Set(val *ServerIPInfo)
func (*NullableServerIPInfo) UnmarshalJSON ¶
func (v *NullableServerIPInfo) UnmarshalJSON(src []byte) error
func (*NullableServerIPInfo) Unset ¶
func (v *NullableServerIPInfo) Unset()
type NullableServerImage ¶
type NullableServerImage struct {
// contains filtered or unexported fields
}
func NewNullableServerImage ¶
func NewNullableServerImage(val *ServerImage) *NullableServerImage
func (NullableServerImage) Get ¶
func (v NullableServerImage) Get() *ServerImage
func (NullableServerImage) IsSet ¶
func (v NullableServerImage) IsSet() bool
func (NullableServerImage) MarshalJSON ¶
func (v NullableServerImage) MarshalJSON() ([]byte, error)
func (*NullableServerImage) Set ¶
func (v *NullableServerImage) Set(val *ServerImage)
func (*NullableServerImage) UnmarshalJSON ¶
func (v *NullableServerImage) UnmarshalJSON(src []byte) error
func (*NullableServerImage) Unset ¶
func (v *NullableServerImage) Unset()
type NullableServerReports ¶
type NullableServerReports struct {
// contains filtered or unexported fields
}
func NewNullableServerReports ¶
func NewNullableServerReports(val *ServerReports) *NullableServerReports
func (NullableServerReports) Get ¶
func (v NullableServerReports) Get() *ServerReports
func (NullableServerReports) IsSet ¶
func (v NullableServerReports) IsSet() bool
func (NullableServerReports) MarshalJSON ¶
func (v NullableServerReports) MarshalJSON() ([]byte, error)
func (*NullableServerReports) Set ¶
func (v *NullableServerReports) Set(val *ServerReports)
func (*NullableServerReports) UnmarshalJSON ¶
func (v *NullableServerReports) UnmarshalJSON(src []byte) error
func (*NullableServerReports) Unset ¶
func (v *NullableServerReports) Unset()
type NullableServerVolume ¶
type NullableServerVolume struct {
// contains filtered or unexported fields
}
func NewNullableServerVolume ¶
func NewNullableServerVolume(val *ServerVolume) *NullableServerVolume
func (NullableServerVolume) Get ¶
func (v NullableServerVolume) Get() *ServerVolume
func (NullableServerVolume) IsSet ¶
func (v NullableServerVolume) IsSet() bool
func (NullableServerVolume) MarshalJSON ¶
func (v NullableServerVolume) MarshalJSON() ([]byte, error)
func (*NullableServerVolume) Set ¶
func (v *NullableServerVolume) Set(val *ServerVolume)
func (*NullableServerVolume) UnmarshalJSON ¶
func (v *NullableServerVolume) UnmarshalJSON(src []byte) error
func (*NullableServerVolume) Unset ¶
func (v *NullableServerVolume) Unset()
type NullableSinglePlan ¶
type NullableSinglePlan struct {
// contains filtered or unexported fields
}
func NewNullableSinglePlan ¶
func NewNullableSinglePlan(val *SinglePlan) *NullableSinglePlan
func (NullableSinglePlan) Get ¶
func (v NullableSinglePlan) Get() *SinglePlan
func (NullableSinglePlan) IsSet ¶
func (v NullableSinglePlan) IsSet() bool
func (NullableSinglePlan) MarshalJSON ¶
func (v NullableSinglePlan) MarshalJSON() ([]byte, error)
func (*NullableSinglePlan) Set ¶
func (v *NullableSinglePlan) Set(val *SinglePlan)
func (*NullableSinglePlan) UnmarshalJSON ¶
func (v *NullableSinglePlan) UnmarshalJSON(src []byte) error
func (*NullableSinglePlan) Unset ¶
func (v *NullableSinglePlan) Unset()
type NullableSnapshotCreateRequest ¶
type NullableSnapshotCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotCreateRequest ¶
func NewNullableSnapshotCreateRequest(val *SnapshotCreateRequest) *NullableSnapshotCreateRequest
func (NullableSnapshotCreateRequest) Get ¶
func (v NullableSnapshotCreateRequest) Get() *SnapshotCreateRequest
func (NullableSnapshotCreateRequest) IsSet ¶
func (v NullableSnapshotCreateRequest) IsSet() bool
func (NullableSnapshotCreateRequest) MarshalJSON ¶
func (v NullableSnapshotCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableSnapshotCreateRequest) Set ¶
func (v *NullableSnapshotCreateRequest) Set(val *SnapshotCreateRequest)
func (*NullableSnapshotCreateRequest) UnmarshalJSON ¶
func (v *NullableSnapshotCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableSnapshotCreateRequest) Unset ¶
func (v *NullableSnapshotCreateRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSubnet ¶
type NullableSubnet struct {
// contains filtered or unexported fields
}
func NewNullableSubnet ¶
func NewNullableSubnet(val *Subnet) *NullableSubnet
func (NullableSubnet) Get ¶
func (v NullableSubnet) Get() *Subnet
func (NullableSubnet) IsSet ¶
func (v NullableSubnet) IsSet() bool
func (NullableSubnet) MarshalJSON ¶
func (v NullableSubnet) MarshalJSON() ([]byte, error)
func (*NullableSubnet) Set ¶
func (v *NullableSubnet) Set(val *Subnet)
func (*NullableSubnet) UnmarshalJSON ¶
func (v *NullableSubnet) UnmarshalJSON(src []byte) error
func (*NullableSubnet) Unset ¶
func (v *NullableSubnet) Unset()
type NullableTag ¶
type NullableTag struct {
// contains filtered or unexported fields
}
func NewNullableTag ¶
func NewNullableTag(val *Tag) *NullableTag
func (NullableTag) Get ¶
func (v NullableTag) Get() *Tag
func (NullableTag) IsSet ¶
func (v NullableTag) IsSet() bool
func (NullableTag) MarshalJSON ¶
func (v NullableTag) MarshalJSON() ([]byte, error)
func (*NullableTag) Set ¶
func (v *NullableTag) Set(val *Tag)
func (*NullableTag) UnmarshalJSON ¶
func (v *NullableTag) UnmarshalJSON(src []byte) error
func (*NullableTag) Unset ¶
func (v *NullableTag) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateTagRequest ¶
type NullableUpdateTagRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateTagRequest ¶
func NewNullableUpdateTagRequest(val *UpdateTagRequest) *NullableUpdateTagRequest
func (NullableUpdateTagRequest) Get ¶
func (v NullableUpdateTagRequest) Get() *UpdateTagRequest
func (NullableUpdateTagRequest) IsSet ¶
func (v NullableUpdateTagRequest) IsSet() bool
func (NullableUpdateTagRequest) MarshalJSON ¶
func (v NullableUpdateTagRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateTagRequest) Set ¶
func (v *NullableUpdateTagRequest) Set(val *UpdateTagRequest)
func (*NullableUpdateTagRequest) UnmarshalJSON ¶
func (v *NullableUpdateTagRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateTagRequest) Unset ¶
func (v *NullableUpdateTagRequest) Unset()
type NullableUpdateVolumeRequest ¶
type NullableUpdateVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVolumeRequest ¶
func NewNullableUpdateVolumeRequest(val *UpdateVolumeRequest) *NullableUpdateVolumeRequest
func (NullableUpdateVolumeRequest) Get ¶
func (v NullableUpdateVolumeRequest) Get() *UpdateVolumeRequest
func (NullableUpdateVolumeRequest) IsSet ¶
func (v NullableUpdateVolumeRequest) IsSet() bool
func (NullableUpdateVolumeRequest) MarshalJSON ¶
func (v NullableUpdateVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateVolumeRequest) Set ¶
func (v *NullableUpdateVolumeRequest) Set(val *UpdateVolumeRequest)
func (*NullableUpdateVolumeRequest) UnmarshalJSON ¶
func (v *NullableUpdateVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateVolumeRequest) Unset ¶
func (v *NullableUpdateVolumeRequest) Unset()
type NullableUpdateVolumeSnapshotRequest ¶
type NullableUpdateVolumeSnapshotRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVolumeSnapshotRequest ¶
func NewNullableUpdateVolumeSnapshotRequest(val *UpdateVolumeSnapshotRequest) *NullableUpdateVolumeSnapshotRequest
func (NullableUpdateVolumeSnapshotRequest) Get ¶
func (v NullableUpdateVolumeSnapshotRequest) Get() *UpdateVolumeSnapshotRequest
func (NullableUpdateVolumeSnapshotRequest) IsSet ¶
func (v NullableUpdateVolumeSnapshotRequest) IsSet() bool
func (NullableUpdateVolumeSnapshotRequest) MarshalJSON ¶
func (v NullableUpdateVolumeSnapshotRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateVolumeSnapshotRequest) Set ¶
func (v *NullableUpdateVolumeSnapshotRequest) Set(val *UpdateVolumeSnapshotRequest)
func (*NullableUpdateVolumeSnapshotRequest) UnmarshalJSON ¶
func (v *NullableUpdateVolumeSnapshotRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateVolumeSnapshotRequest) Unset ¶
func (v *NullableUpdateVolumeSnapshotRequest) Unset()
type NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type NullableVolumeAttachDetachRequest ¶
type NullableVolumeAttachDetachRequest struct {
// contains filtered or unexported fields
}
func NewNullableVolumeAttachDetachRequest ¶
func NewNullableVolumeAttachDetachRequest(val *VolumeAttachDetachRequest) *NullableVolumeAttachDetachRequest
func (NullableVolumeAttachDetachRequest) Get ¶
func (v NullableVolumeAttachDetachRequest) Get() *VolumeAttachDetachRequest
func (NullableVolumeAttachDetachRequest) IsSet ¶
func (v NullableVolumeAttachDetachRequest) IsSet() bool
func (NullableVolumeAttachDetachRequest) MarshalJSON ¶
func (v NullableVolumeAttachDetachRequest) MarshalJSON() ([]byte, error)
func (*NullableVolumeAttachDetachRequest) Set ¶
func (v *NullableVolumeAttachDetachRequest) Set(val *VolumeAttachDetachRequest)
func (*NullableVolumeAttachDetachRequest) UnmarshalJSON ¶
func (v *NullableVolumeAttachDetachRequest) UnmarshalJSON(src []byte) error
func (*NullableVolumeAttachDetachRequest) Unset ¶
func (v *NullableVolumeAttachDetachRequest) Unset()
type NullableVolumeLimits ¶
type NullableVolumeLimits struct {
// contains filtered or unexported fields
}
func NewNullableVolumeLimits ¶
func NewNullableVolumeLimits(val *VolumeLimits) *NullableVolumeLimits
func (NullableVolumeLimits) Get ¶
func (v NullableVolumeLimits) Get() *VolumeLimits
func (NullableVolumeLimits) IsSet ¶
func (v NullableVolumeLimits) IsSet() bool
func (NullableVolumeLimits) MarshalJSON ¶
func (v NullableVolumeLimits) MarshalJSON() ([]byte, error)
func (*NullableVolumeLimits) Set ¶
func (v *NullableVolumeLimits) Set(val *VolumeLimits)
func (*NullableVolumeLimits) UnmarshalJSON ¶
func (v *NullableVolumeLimits) UnmarshalJSON(src []byte) error
func (*NullableVolumeLimits) Unset ¶
func (v *NullableVolumeLimits) Unset()
type NullableVolumeOptions ¶
type NullableVolumeOptions struct {
// contains filtered or unexported fields
}
func NewNullableVolumeOptions ¶
func NewNullableVolumeOptions(val *VolumeOptions) *NullableVolumeOptions
func (NullableVolumeOptions) Get ¶
func (v NullableVolumeOptions) Get() *VolumeOptions
func (NullableVolumeOptions) IsSet ¶
func (v NullableVolumeOptions) IsSet() bool
func (NullableVolumeOptions) MarshalJSON ¶
func (v NullableVolumeOptions) MarshalJSON() ([]byte, error)
func (*NullableVolumeOptions) Set ¶
func (v *NullableVolumeOptions) Set(val *VolumeOptions)
func (*NullableVolumeOptions) UnmarshalJSON ¶
func (v *NullableVolumeOptions) UnmarshalJSON(src []byte) error
func (*NullableVolumeOptions) Unset ¶
func (v *NullableVolumeOptions) Unset()
type NullableVolumeSnapshot ¶
type NullableVolumeSnapshot struct {
// contains filtered or unexported fields
}
func NewNullableVolumeSnapshot ¶
func NewNullableVolumeSnapshot(val *VolumeSnapshot) *NullableVolumeSnapshot
func (NullableVolumeSnapshot) Get ¶
func (v NullableVolumeSnapshot) Get() *VolumeSnapshot
func (NullableVolumeSnapshot) IsSet ¶
func (v NullableVolumeSnapshot) IsSet() bool
func (NullableVolumeSnapshot) MarshalJSON ¶
func (v NullableVolumeSnapshot) MarshalJSON() ([]byte, error)
func (*NullableVolumeSnapshot) Set ¶
func (v *NullableVolumeSnapshot) Set(val *VolumeSnapshot)
func (*NullableVolumeSnapshot) UnmarshalJSON ¶
func (v *NullableVolumeSnapshot) UnmarshalJSON(src []byte) error
func (*NullableVolumeSnapshot) Unset ¶
func (v *NullableVolumeSnapshot) Unset()
type PTRAPICreatePTRRequest ¶
type PTRAPICreatePTRRequest struct { ApiService *PTRAPIService // contains filtered or unexported fields }
func (PTRAPICreatePTRRequest) CreatePTRRequest ¶
func (r PTRAPICreatePTRRequest) CreatePTRRequest(createPTRRequest CreatePTRRequest) PTRAPICreatePTRRequest
IP and domain info of the PTR record
func (PTRAPICreatePTRRequest) Execute ¶
func (r PTRAPICreatePTRRequest) Execute() (*MessageResponse, *http.Response, error)
type PTRAPIDeletePTRRequest ¶
type PTRAPIDeletePTRRequest struct { ApiService *PTRAPIService // contains filtered or unexported fields }
func (PTRAPIDeletePTRRequest) Execute ¶
func (r PTRAPIDeletePTRRequest) Execute() (*MessageResponse, *http.Response, error)
type PTRAPIService ¶
type PTRAPIService service
PTRAPIService PTRAPI service
func (*PTRAPIService) CreatePTR ¶
func (a *PTRAPIService) CreatePTR(ctx context.Context, region string) PTRAPICreatePTRRequest
CreatePTR Method for CreatePTR
Creates a PTR record on an IP
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return PTRAPICreatePTRRequest
func (*PTRAPIService) CreatePTRExecute ¶
func (a *PTRAPIService) CreatePTRExecute(r PTRAPICreatePTRRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*PTRAPIService) DeletePTR ¶
func (a *PTRAPIService) DeletePTR(ctx context.Context, region string, ip string) PTRAPIDeletePTRRequest
DeletePTR Method for DeletePTR
Deletes a PTR record pointing to the specified ip address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param ip the IP which PTR record points to @return PTRAPIDeletePTRRequest
func (*PTRAPIService) DeletePTRExecute ¶
func (a *PTRAPIService) DeletePTRExecute(r PTRAPIDeletePTRRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type Plan ¶
type Plan struct { BandwidthInBytes *int64 `json:"bandwidth_in_bytes,omitempty"` BasePackage *string `json:"base_package,omitempty"` Canary *bool `json:"canary,omitempty"` CpuCount *int64 `json:"cpu_count,omitempty"` CreateType *string `json:"create_type,omitempty"` Disk *int64 `json:"disk,omitempty"` DiskInBytes *int64 `json:"disk_in_bytes,omitempty"` Generation *string `json:"generation,omitempty"` Id *string `json:"id,omitempty"` IopsMaxHdd *int64 `json:"iops_max_hdd,omitempty"` IopsMaxSsd *int64 `json:"iops_max_ssd,omitempty"` Memory *float64 `json:"memory,omitempty"` MemoryInBytes *int64 `json:"memory_in_bytes,omitempty"` Name *string `json:"name,omitempty"` Off *string `json:"off,omitempty"` OffPercent *string `json:"off_percent,omitempty"` Order *string `json:"order,omitempty"` Outbound *int64 `json:"outbound,omitempty"` PortSpeed *float64 `json:"port_speed,omitempty"` Pps []int64 `json:"pps,omitempty"` PricePerHour *int64 `json:"price_per_hour,omitempty"` PricePerMonth *int64 `json:"price_per_month,omitempty"` Subtype *string `json:"subtype,omitempty"` Throughput *int64 `json:"throughput,omitempty"` Type *string `json:"type,omitempty"` }
Plan struct for Plan
func NewPlan ¶
func NewPlan() *Plan
NewPlan instantiates a new Plan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanWithDefaults ¶
func NewPlanWithDefaults() *Plan
NewPlanWithDefaults instantiates a new Plan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Plan) GetBandwidthInBytes ¶
GetBandwidthInBytes returns the BandwidthInBytes field value if set, zero value otherwise.
func (*Plan) GetBandwidthInBytesOk ¶
GetBandwidthInBytesOk returns a tuple with the BandwidthInBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetBasePackage ¶
GetBasePackage returns the BasePackage field value if set, zero value otherwise.
func (*Plan) GetBasePackageOk ¶
GetBasePackageOk returns a tuple with the BasePackage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetCanaryOk ¶
GetCanaryOk returns a tuple with the Canary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetCpuCount ¶
GetCpuCount returns the CpuCount field value if set, zero value otherwise.
func (*Plan) GetCpuCountOk ¶
GetCpuCountOk returns a tuple with the CpuCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetCpuShare ¶
GetCpuShare returns the CpuShare field value if set, zero value otherwise.
func (*Plan) GetCpuShareOk ¶
GetCpuShareOk returns a tuple with the CpuShare field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetCreateType ¶
GetCreateType returns the CreateType field value if set, zero value otherwise.
func (*Plan) GetCreateTypeOk ¶
GetCreateTypeOk returns a tuple with the CreateType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetDiskInBytes ¶
GetDiskInBytes returns the DiskInBytes field value if set, zero value otherwise.
func (*Plan) GetDiskInBytesOk ¶
GetDiskInBytesOk returns a tuple with the DiskInBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetDiskOk ¶
GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetGeneration ¶
GetGeneration returns the Generation field value if set, zero value otherwise.
func (*Plan) GetGenerationOk ¶
GetGenerationOk returns a tuple with the Generation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetIopsMaxHdd ¶
GetIopsMaxHdd returns the IopsMaxHdd field value if set, zero value otherwise.
func (*Plan) GetIopsMaxHddOk ¶
GetIopsMaxHddOk returns a tuple with the IopsMaxHdd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetIopsMaxSsd ¶
GetIopsMaxSsd returns the IopsMaxSsd field value if set, zero value otherwise.
func (*Plan) GetIopsMaxSsdOk ¶
GetIopsMaxSsdOk returns a tuple with the IopsMaxSsd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetMemoryInBytes ¶
GetMemoryInBytes returns the MemoryInBytes field value if set, zero value otherwise.
func (*Plan) GetMemoryInBytesOk ¶
GetMemoryInBytesOk returns a tuple with the MemoryInBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetOffOk ¶
GetOffOk returns a tuple with the Off field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetOffPercent ¶
GetOffPercent returns the OffPercent field value if set, zero value otherwise.
func (*Plan) GetOffPercentOk ¶
GetOffPercentOk returns a tuple with the OffPercent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetOrderOk ¶
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetOutbound ¶
GetOutbound returns the Outbound field value if set, zero value otherwise.
func (*Plan) GetOutboundOk ¶
GetOutboundOk returns a tuple with the Outbound field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetPortSpeed ¶
GetPortSpeed returns the PortSpeed field value if set, zero value otherwise.
func (*Plan) GetPortSpeedOk ¶
GetPortSpeedOk returns a tuple with the PortSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetPpsOk ¶
GetPpsOk returns a tuple with the Pps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetPricePerHour ¶
GetPricePerHour returns the PricePerHour field value if set, zero value otherwise.
func (*Plan) GetPricePerHourOk ¶
GetPricePerHourOk returns a tuple with the PricePerHour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetPricePerMonth ¶
GetPricePerMonth returns the PricePerMonth field value if set, zero value otherwise.
func (*Plan) GetPricePerMonthOk ¶
GetPricePerMonthOk returns a tuple with the PricePerMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetSubtype ¶
GetSubtype returns the Subtype field value if set, zero value otherwise.
func (*Plan) GetSubtypeOk ¶
GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetThroughput ¶
GetThroughput returns the Throughput field value if set, zero value otherwise.
func (*Plan) GetThroughputOk ¶
GetThroughputOk returns a tuple with the Throughput field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) HasBandwidthInBytes ¶
HasBandwidthInBytes returns a boolean if a field has been set.
func (*Plan) HasBasePackage ¶
HasBasePackage returns a boolean if a field has been set.
func (*Plan) HasCpuCount ¶
HasCpuCount returns a boolean if a field has been set.
func (*Plan) HasCpuShare ¶
HasCpuShare returns a boolean if a field has been set.
func (*Plan) HasCreateType ¶
HasCreateType returns a boolean if a field has been set.
func (*Plan) HasDiskInBytes ¶
HasDiskInBytes returns a boolean if a field has been set.
func (*Plan) HasGeneration ¶
HasGeneration returns a boolean if a field has been set.
func (*Plan) HasIopsMaxHdd ¶
HasIopsMaxHdd returns a boolean if a field has been set.
func (*Plan) HasIopsMaxSsd ¶
HasIopsMaxSsd returns a boolean if a field has been set.
func (*Plan) HasMemoryInBytes ¶
HasMemoryInBytes returns a boolean if a field has been set.
func (*Plan) HasOffPercent ¶
HasOffPercent returns a boolean if a field has been set.
func (*Plan) HasOutbound ¶
HasOutbound returns a boolean if a field has been set.
func (*Plan) HasPortSpeed ¶
HasPortSpeed returns a boolean if a field has been set.
func (*Plan) HasPricePerHour ¶
HasPricePerHour returns a boolean if a field has been set.
func (*Plan) HasPricePerMonth ¶
HasPricePerMonth returns a boolean if a field has been set.
func (*Plan) HasSubtype ¶
HasSubtype returns a boolean if a field has been set.
func (*Plan) HasThroughput ¶
HasThroughput returns a boolean if a field has been set.
func (Plan) MarshalJSON ¶
func (*Plan) SetBandwidthInBytes ¶
SetBandwidthInBytes gets a reference to the given int64 and assigns it to the BandwidthInBytes field.
func (*Plan) SetBasePackage ¶
SetBasePackage gets a reference to the given string and assigns it to the BasePackage field.
func (*Plan) SetCanary ¶
SetCanary gets a reference to the given bool and assigns it to the Canary field.
func (*Plan) SetCpuCount ¶
SetCpuCount gets a reference to the given int64 and assigns it to the CpuCount field.
func (*Plan) SetCpuShare ¶
SetCpuShare gets a reference to the given string and assigns it to the CpuShare field.
func (*Plan) SetCreateType ¶
SetCreateType gets a reference to the given string and assigns it to the CreateType field.
func (*Plan) SetDisk ¶
SetDisk gets a reference to the given int64 and assigns it to the Disk field.
func (*Plan) SetDiskInBytes ¶
SetDiskInBytes gets a reference to the given int64 and assigns it to the DiskInBytes field.
func (*Plan) SetGeneration ¶
SetGeneration gets a reference to the given string and assigns it to the Generation field.
func (*Plan) SetIopsMaxHdd ¶
SetIopsMaxHdd gets a reference to the given int64 and assigns it to the IopsMaxHdd field.
func (*Plan) SetIopsMaxSsd ¶
SetIopsMaxSsd gets a reference to the given int64 and assigns it to the IopsMaxSsd field.
func (*Plan) SetMemory ¶
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*Plan) SetMemoryInBytes ¶
SetMemoryInBytes gets a reference to the given int64 and assigns it to the MemoryInBytes field.
func (*Plan) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Plan) SetOffPercent ¶
SetOffPercent gets a reference to the given string and assigns it to the OffPercent field.
func (*Plan) SetOrder ¶
SetOrder gets a reference to the given string and assigns it to the Order field.
func (*Plan) SetOutbound ¶
SetOutbound gets a reference to the given int64 and assigns it to the Outbound field.
func (*Plan) SetPortSpeed ¶
SetPortSpeed gets a reference to the given float64 and assigns it to the PortSpeed field.
func (*Plan) SetPricePerHour ¶
SetPricePerHour gets a reference to the given int64 and assigns it to the PricePerHour field.
func (*Plan) SetPricePerMonth ¶
SetPricePerMonth gets a reference to the given int64 and assigns it to the PricePerMonth field.
func (*Plan) SetSubtype ¶
SetSubtype gets a reference to the given string and assigns it to the Subtype field.
func (*Plan) SetThroughput ¶
SetThroughput gets a reference to the given int64 and assigns it to the Throughput field.
type PlansAPIGetAllRegionPlansRequest ¶
type PlansAPIGetAllRegionPlansRequest struct { ApiService *PlansAPIService // contains filtered or unexported fields }
func (PlansAPIGetAllRegionPlansRequest) Cpu ¶
func (r PlansAPIGetAllRegionPlansRequest) Cpu(cpu string) PlansAPIGetAllRegionPlansRequest
filters based on cpu core count if exists
func (PlansAPIGetAllRegionPlansRequest) Disk ¶
func (r PlansAPIGetAllRegionPlansRequest) Disk(disk string) PlansAPIGetAllRegionPlansRequest
filters based on disk GB if exists
func (PlansAPIGetAllRegionPlansRequest) Execute ¶
func (r PlansAPIGetAllRegionPlansRequest) Execute() (*Plan, *http.Response, error)
func (PlansAPIGetAllRegionPlansRequest) Ram ¶
func (r PlansAPIGetAllRegionPlansRequest) Ram(ram string) PlansAPIGetAllRegionPlansRequest
filters based on RAM MB if exists
type PlansAPIGetPlanByIDRequest ¶
type PlansAPIGetPlanByIDRequest struct { ApiService *PlansAPIService // contains filtered or unexported fields }
func (PlansAPIGetPlanByIDRequest) Execute ¶
func (r PlansAPIGetPlanByIDRequest) Execute() (*SinglePlan, *http.Response, error)
type PlansAPIService ¶
type PlansAPIService service
PlansAPIService PlansAPI service
func (*PlansAPIService) GetAllRegionPlans ¶
func (a *PlansAPIService) GetAllRegionPlans(ctx context.Context, region string) PlansAPIGetAllRegionPlansRequest
GetAllRegionPlans Method for GetAllRegionPlans
Returns info about a region's available plans
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return PlansAPIGetAllRegionPlansRequest
func (*PlansAPIService) GetAllRegionPlansExecute ¶
func (a *PlansAPIService) GetAllRegionPlansExecute(r PlansAPIGetAllRegionPlansRequest) (*Plan, *http.Response, error)
Execute executes the request
@return Plan
func (*PlansAPIService) GetPlanByID ¶
func (a *PlansAPIService) GetPlanByID(ctx context.Context, region string, id string) PlansAPIGetPlanByIDRequest
GetPlanByID Method for GetPlanByID
Returns a specific plan based on its code
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id plan id @return PlansAPIGetPlanByIDRequest
func (*PlansAPIService) GetPlanByIDExecute ¶
func (a *PlansAPIService) GetPlanByIDExecute(r PlansAPIGetPlanByIDRequest) (*SinglePlan, *http.Response, error)
Execute executes the request
@return SinglePlan
type PortSecGroupData ¶
type PortSecGroupData struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
PortSecGroupData struct for PortSecGroupData
func NewPortSecGroupData ¶
func NewPortSecGroupData() *PortSecGroupData
NewPortSecGroupData instantiates a new PortSecGroupData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPortSecGroupDataWithDefaults ¶
func NewPortSecGroupDataWithDefaults() *PortSecGroupData
NewPortSecGroupDataWithDefaults instantiates a new PortSecGroupData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PortSecGroupData) GetId ¶
func (o *PortSecGroupData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*PortSecGroupData) GetIdOk ¶
func (o *PortSecGroupData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortSecGroupData) GetName ¶
func (o *PortSecGroupData) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PortSecGroupData) GetNameOk ¶
func (o *PortSecGroupData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortSecGroupData) HasId ¶
func (o *PortSecGroupData) HasId() bool
HasId returns a boolean if a field has been set.
func (*PortSecGroupData) HasName ¶
func (o *PortSecGroupData) HasName() bool
HasName returns a boolean if a field has been set.
func (PortSecGroupData) MarshalJSON ¶
func (o PortSecGroupData) MarshalJSON() ([]byte, error)
func (*PortSecGroupData) SetId ¶
func (o *PortSecGroupData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*PortSecGroupData) SetName ¶
func (o *PortSecGroupData) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PortSecGroupData) ToMap ¶
func (o PortSecGroupData) ToMap() (map[string]interface{}, error)
type PortsAPIDisablePortRequest ¶
type PortsAPIDisablePortRequest struct { ApiService *PortsAPIService // contains filtered or unexported fields }
func (PortsAPIDisablePortRequest) Execute ¶
func (r PortsAPIDisablePortRequest) Execute() (*MessageResponse, *http.Response, error)
type PortsAPIDisablePortSecurityRequest ¶
type PortsAPIDisablePortSecurityRequest struct { ApiService *PortsAPIService // contains filtered or unexported fields }
func (PortsAPIDisablePortSecurityRequest) Execute ¶
func (r PortsAPIDisablePortSecurityRequest) Execute() (*MessageResponse, *http.Response, error)
type PortsAPIEnablePortRequest ¶
type PortsAPIEnablePortRequest struct { ApiService *PortsAPIService // contains filtered or unexported fields }
func (PortsAPIEnablePortRequest) Execute ¶
func (r PortsAPIEnablePortRequest) Execute() (*MessageResponse, *http.Response, error)
type PortsAPIEnablePortSecurityRequest ¶
type PortsAPIEnablePortSecurityRequest struct { ApiService *PortsAPIService // contains filtered or unexported fields }
func (PortsAPIEnablePortSecurityRequest) Execute ¶
func (r PortsAPIEnablePortSecurityRequest) Execute() (*MessageResponse, *http.Response, error)
type PortsAPIService ¶
type PortsAPIService service
PortsAPIService PortsAPI service
func (*PortsAPIService) DisablePort ¶
func (a *PortsAPIService) DisablePort(ctx context.Context, region string, id string) PortsAPIDisablePortRequest
DisablePort Method for DisablePort
Disable a port, which disables its interface in the attached server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id port id @return PortsAPIDisablePortRequest
func (*PortsAPIService) DisablePortExecute ¶
func (a *PortsAPIService) DisablePortExecute(r PortsAPIDisablePortRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*PortsAPIService) DisablePortSecurity ¶
func (a *PortsAPIService) DisablePortSecurity(ctx context.Context, region string, id string) PortsAPIDisablePortSecurityRequest
DisablePortSecurity Method for DisablePortSecurity
Disable port security on given port. If disabled, security groups can't be assigned to this port
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id port id @return PortsAPIDisablePortSecurityRequest
func (*PortsAPIService) DisablePortSecurityExecute ¶
func (a *PortsAPIService) DisablePortSecurityExecute(r PortsAPIDisablePortSecurityRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*PortsAPIService) EnablePort ¶
func (a *PortsAPIService) EnablePort(ctx context.Context, region string, id string) PortsAPIEnablePortRequest
EnablePort Method for EnablePort
Enable a port, this enables its interface in the attached server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id port id @return PortsAPIEnablePortRequest
func (*PortsAPIService) EnablePortExecute ¶
func (a *PortsAPIService) EnablePortExecute(r PortsAPIEnablePortRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*PortsAPIService) EnablePortSecurity ¶
func (a *PortsAPIService) EnablePortSecurity(ctx context.Context, region string, id string) PortsAPIEnablePortSecurityRequest
EnablePortSecurity Method for EnablePortSecurity
Enables port security on a port
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id port id @return PortsAPIEnablePortSecurityRequest
func (*PortsAPIService) EnablePortSecurityExecute ¶
func (a *PortsAPIService) EnablePortSecurityExecute(r PortsAPIEnablePortSecurityRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type PublicIP ¶
type PublicIP struct { IpAddress *string `json:"ip_address,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` }
PublicIP struct for PublicIP
func NewPublicIP ¶
func NewPublicIP() *PublicIP
NewPublicIP instantiates a new PublicIP object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPublicIPWithDefaults ¶
func NewPublicIPWithDefaults() *PublicIP
NewPublicIPWithDefaults instantiates a new PublicIP object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PublicIP) GetIpAddress ¶
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*PublicIP) GetIpAddressOk ¶
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicIP) GetSubnetId ¶
GetSubnetId returns the SubnetId field value if set, zero value otherwise.
func (*PublicIP) GetSubnetIdOk ¶
GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicIP) HasIpAddress ¶
HasIpAddress returns a boolean if a field has been set.
func (*PublicIP) HasSubnetId ¶
HasSubnetId returns a boolean if a field has been set.
func (PublicIP) MarshalJSON ¶
func (*PublicIP) SetIpAddress ¶
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*PublicIP) SetSubnetId ¶
SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.
type Quota ¶
type Quota struct { MaxImageMeta *QuotaValue `json:"max_image_meta,omitempty"` MaxPersonality *QuotaValue `json:"max_personality,omitempty"` MaxPersonalitySize *QuotaValue `json:"max_personality_size,omitempty"` MaxSecurityGroupRules *QuotaValue `json:"max_security_group_rules,omitempty"` MaxSecurityGroups *QuotaValue `json:"max_security_groups,omitempty"` MaxServerGroupMembers *QuotaValue `json:"max_server_group_members,omitempty"` MaxServerGroups *QuotaValue `json:"max_server_groups,omitempty"` MaxServerMeta *QuotaValue `json:"max_server_meta,omitempty"` MaxTotalCores *QuotaValue `json:"max_total_cores,omitempty"` MaxTotalFloatingIps *QuotaValue `json:"max_total_floating_ips,omitempty"` MaxTotalInstances *QuotaValue `json:"max_total_instances,omitempty"` MaxTotalKeypairs *QuotaValue `json:"max_total_keypairs,omitempty"` MaxTotalRamSize *QuotaValue `json:"max_total_ram_size,omitempty"` TotalCoresUsed *int64 `json:"total_cores_used,omitempty"` TotalFloatingIpsUsed *int64 `json:"total_floating_ips_used,omitempty"` TotalInstancesUsed *int64 `json:"total_instances_used,omitempty"` TotalRamUsed *int64 `json:"total_ram_used,omitempty"` TotalSecurityGroupsUsed *int64 `json:"total_security_groups_used,omitempty"` TotalServerGroupsUsed *int64 `json:"total_server_groups_used,omitempty"` }
Quota struct for Quota
func NewQuota ¶
func NewQuota() *Quota
NewQuota instantiates a new Quota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuotaWithDefaults ¶
func NewQuotaWithDefaults() *Quota
NewQuotaWithDefaults instantiates a new Quota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Quota) GetMaxImageMeta ¶
func (o *Quota) GetMaxImageMeta() QuotaValue
GetMaxImageMeta returns the MaxImageMeta field value if set, zero value otherwise.
func (*Quota) GetMaxImageMetaOk ¶
func (o *Quota) GetMaxImageMetaOk() (*QuotaValue, bool)
GetMaxImageMetaOk returns a tuple with the MaxImageMeta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxPersonality ¶
func (o *Quota) GetMaxPersonality() QuotaValue
GetMaxPersonality returns the MaxPersonality field value if set, zero value otherwise.
func (*Quota) GetMaxPersonalityOk ¶
func (o *Quota) GetMaxPersonalityOk() (*QuotaValue, bool)
GetMaxPersonalityOk returns a tuple with the MaxPersonality field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxPersonalitySize ¶
func (o *Quota) GetMaxPersonalitySize() QuotaValue
GetMaxPersonalitySize returns the MaxPersonalitySize field value if set, zero value otherwise.
func (*Quota) GetMaxPersonalitySizeOk ¶
func (o *Quota) GetMaxPersonalitySizeOk() (*QuotaValue, bool)
GetMaxPersonalitySizeOk returns a tuple with the MaxPersonalitySize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxSecurityGroupRules ¶
func (o *Quota) GetMaxSecurityGroupRules() QuotaValue
GetMaxSecurityGroupRules returns the MaxSecurityGroupRules field value if set, zero value otherwise.
func (*Quota) GetMaxSecurityGroupRulesOk ¶
func (o *Quota) GetMaxSecurityGroupRulesOk() (*QuotaValue, bool)
GetMaxSecurityGroupRulesOk returns a tuple with the MaxSecurityGroupRules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxSecurityGroups ¶
func (o *Quota) GetMaxSecurityGroups() QuotaValue
GetMaxSecurityGroups returns the MaxSecurityGroups field value if set, zero value otherwise.
func (*Quota) GetMaxSecurityGroupsOk ¶
func (o *Quota) GetMaxSecurityGroupsOk() (*QuotaValue, bool)
GetMaxSecurityGroupsOk returns a tuple with the MaxSecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxServerGroupMembers ¶
func (o *Quota) GetMaxServerGroupMembers() QuotaValue
GetMaxServerGroupMembers returns the MaxServerGroupMembers field value if set, zero value otherwise.
func (*Quota) GetMaxServerGroupMembersOk ¶
func (o *Quota) GetMaxServerGroupMembersOk() (*QuotaValue, bool)
GetMaxServerGroupMembersOk returns a tuple with the MaxServerGroupMembers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxServerGroups ¶
func (o *Quota) GetMaxServerGroups() QuotaValue
GetMaxServerGroups returns the MaxServerGroups field value if set, zero value otherwise.
func (*Quota) GetMaxServerGroupsOk ¶
func (o *Quota) GetMaxServerGroupsOk() (*QuotaValue, bool)
GetMaxServerGroupsOk returns a tuple with the MaxServerGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxServerMeta ¶
func (o *Quota) GetMaxServerMeta() QuotaValue
GetMaxServerMeta returns the MaxServerMeta field value if set, zero value otherwise.
func (*Quota) GetMaxServerMetaOk ¶
func (o *Quota) GetMaxServerMetaOk() (*QuotaValue, bool)
GetMaxServerMetaOk returns a tuple with the MaxServerMeta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxTotalCores ¶
func (o *Quota) GetMaxTotalCores() QuotaValue
GetMaxTotalCores returns the MaxTotalCores field value if set, zero value otherwise.
func (*Quota) GetMaxTotalCoresOk ¶
func (o *Quota) GetMaxTotalCoresOk() (*QuotaValue, bool)
GetMaxTotalCoresOk returns a tuple with the MaxTotalCores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxTotalFloatingIps ¶
func (o *Quota) GetMaxTotalFloatingIps() QuotaValue
GetMaxTotalFloatingIps returns the MaxTotalFloatingIps field value if set, zero value otherwise.
func (*Quota) GetMaxTotalFloatingIpsOk ¶
func (o *Quota) GetMaxTotalFloatingIpsOk() (*QuotaValue, bool)
GetMaxTotalFloatingIpsOk returns a tuple with the MaxTotalFloatingIps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxTotalInstances ¶
func (o *Quota) GetMaxTotalInstances() QuotaValue
GetMaxTotalInstances returns the MaxTotalInstances field value if set, zero value otherwise.
func (*Quota) GetMaxTotalInstancesOk ¶
func (o *Quota) GetMaxTotalInstancesOk() (*QuotaValue, bool)
GetMaxTotalInstancesOk returns a tuple with the MaxTotalInstances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxTotalKeypairs ¶
func (o *Quota) GetMaxTotalKeypairs() QuotaValue
GetMaxTotalKeypairs returns the MaxTotalKeypairs field value if set, zero value otherwise.
func (*Quota) GetMaxTotalKeypairsOk ¶
func (o *Quota) GetMaxTotalKeypairsOk() (*QuotaValue, bool)
GetMaxTotalKeypairsOk returns a tuple with the MaxTotalKeypairs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetMaxTotalRamSize ¶
func (o *Quota) GetMaxTotalRamSize() QuotaValue
GetMaxTotalRamSize returns the MaxTotalRamSize field value if set, zero value otherwise.
func (*Quota) GetMaxTotalRamSizeOk ¶
func (o *Quota) GetMaxTotalRamSizeOk() (*QuotaValue, bool)
GetMaxTotalRamSizeOk returns a tuple with the MaxTotalRamSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetTotalCoresUsed ¶
GetTotalCoresUsed returns the TotalCoresUsed field value if set, zero value otherwise.
func (*Quota) GetTotalCoresUsedOk ¶
GetTotalCoresUsedOk returns a tuple with the TotalCoresUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetTotalFloatingIpsUsed ¶
GetTotalFloatingIpsUsed returns the TotalFloatingIpsUsed field value if set, zero value otherwise.
func (*Quota) GetTotalFloatingIpsUsedOk ¶
GetTotalFloatingIpsUsedOk returns a tuple with the TotalFloatingIpsUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetTotalInstancesUsed ¶
GetTotalInstancesUsed returns the TotalInstancesUsed field value if set, zero value otherwise.
func (*Quota) GetTotalInstancesUsedOk ¶
GetTotalInstancesUsedOk returns a tuple with the TotalInstancesUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetTotalRamUsed ¶
GetTotalRamUsed returns the TotalRamUsed field value if set, zero value otherwise.
func (*Quota) GetTotalRamUsedOk ¶
GetTotalRamUsedOk returns a tuple with the TotalRamUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetTotalSecurityGroupsUsed ¶
GetTotalSecurityGroupsUsed returns the TotalSecurityGroupsUsed field value if set, zero value otherwise.
func (*Quota) GetTotalSecurityGroupsUsedOk ¶
GetTotalSecurityGroupsUsedOk returns a tuple with the TotalSecurityGroupsUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) GetTotalServerGroupsUsed ¶
GetTotalServerGroupsUsed returns the TotalServerGroupsUsed field value if set, zero value otherwise.
func (*Quota) GetTotalServerGroupsUsedOk ¶
GetTotalServerGroupsUsedOk returns a tuple with the TotalServerGroupsUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quota) HasMaxImageMeta ¶
HasMaxImageMeta returns a boolean if a field has been set.
func (*Quota) HasMaxPersonality ¶
HasMaxPersonality returns a boolean if a field has been set.
func (*Quota) HasMaxPersonalitySize ¶
HasMaxPersonalitySize returns a boolean if a field has been set.
func (*Quota) HasMaxSecurityGroupRules ¶
HasMaxSecurityGroupRules returns a boolean if a field has been set.
func (*Quota) HasMaxSecurityGroups ¶
HasMaxSecurityGroups returns a boolean if a field has been set.
func (*Quota) HasMaxServerGroupMembers ¶
HasMaxServerGroupMembers returns a boolean if a field has been set.
func (*Quota) HasMaxServerGroups ¶
HasMaxServerGroups returns a boolean if a field has been set.
func (*Quota) HasMaxServerMeta ¶
HasMaxServerMeta returns a boolean if a field has been set.
func (*Quota) HasMaxTotalCores ¶
HasMaxTotalCores returns a boolean if a field has been set.
func (*Quota) HasMaxTotalFloatingIps ¶
HasMaxTotalFloatingIps returns a boolean if a field has been set.
func (*Quota) HasMaxTotalInstances ¶
HasMaxTotalInstances returns a boolean if a field has been set.
func (*Quota) HasMaxTotalKeypairs ¶
HasMaxTotalKeypairs returns a boolean if a field has been set.
func (*Quota) HasMaxTotalRamSize ¶
HasMaxTotalRamSize returns a boolean if a field has been set.
func (*Quota) HasTotalCoresUsed ¶
HasTotalCoresUsed returns a boolean if a field has been set.
func (*Quota) HasTotalFloatingIpsUsed ¶
HasTotalFloatingIpsUsed returns a boolean if a field has been set.
func (*Quota) HasTotalInstancesUsed ¶
HasTotalInstancesUsed returns a boolean if a field has been set.
func (*Quota) HasTotalRamUsed ¶
HasTotalRamUsed returns a boolean if a field has been set.
func (*Quota) HasTotalSecurityGroupsUsed ¶
HasTotalSecurityGroupsUsed returns a boolean if a field has been set.
func (*Quota) HasTotalServerGroupsUsed ¶
HasTotalServerGroupsUsed returns a boolean if a field has been set.
func (Quota) MarshalJSON ¶
func (*Quota) SetMaxImageMeta ¶
func (o *Quota) SetMaxImageMeta(v QuotaValue)
SetMaxImageMeta gets a reference to the given QuotaValue and assigns it to the MaxImageMeta field.
func (*Quota) SetMaxPersonality ¶
func (o *Quota) SetMaxPersonality(v QuotaValue)
SetMaxPersonality gets a reference to the given QuotaValue and assigns it to the MaxPersonality field.
func (*Quota) SetMaxPersonalitySize ¶
func (o *Quota) SetMaxPersonalitySize(v QuotaValue)
SetMaxPersonalitySize gets a reference to the given QuotaValue and assigns it to the MaxPersonalitySize field.
func (*Quota) SetMaxSecurityGroupRules ¶
func (o *Quota) SetMaxSecurityGroupRules(v QuotaValue)
SetMaxSecurityGroupRules gets a reference to the given QuotaValue and assigns it to the MaxSecurityGroupRules field.
func (*Quota) SetMaxSecurityGroups ¶
func (o *Quota) SetMaxSecurityGroups(v QuotaValue)
SetMaxSecurityGroups gets a reference to the given QuotaValue and assigns it to the MaxSecurityGroups field.
func (*Quota) SetMaxServerGroupMembers ¶
func (o *Quota) SetMaxServerGroupMembers(v QuotaValue)
SetMaxServerGroupMembers gets a reference to the given QuotaValue and assigns it to the MaxServerGroupMembers field.
func (*Quota) SetMaxServerGroups ¶
func (o *Quota) SetMaxServerGroups(v QuotaValue)
SetMaxServerGroups gets a reference to the given QuotaValue and assigns it to the MaxServerGroups field.
func (*Quota) SetMaxServerMeta ¶
func (o *Quota) SetMaxServerMeta(v QuotaValue)
SetMaxServerMeta gets a reference to the given QuotaValue and assigns it to the MaxServerMeta field.
func (*Quota) SetMaxTotalCores ¶
func (o *Quota) SetMaxTotalCores(v QuotaValue)
SetMaxTotalCores gets a reference to the given QuotaValue and assigns it to the MaxTotalCores field.
func (*Quota) SetMaxTotalFloatingIps ¶
func (o *Quota) SetMaxTotalFloatingIps(v QuotaValue)
SetMaxTotalFloatingIps gets a reference to the given QuotaValue and assigns it to the MaxTotalFloatingIps field.
func (*Quota) SetMaxTotalInstances ¶
func (o *Quota) SetMaxTotalInstances(v QuotaValue)
SetMaxTotalInstances gets a reference to the given QuotaValue and assigns it to the MaxTotalInstances field.
func (*Quota) SetMaxTotalKeypairs ¶
func (o *Quota) SetMaxTotalKeypairs(v QuotaValue)
SetMaxTotalKeypairs gets a reference to the given QuotaValue and assigns it to the MaxTotalKeypairs field.
func (*Quota) SetMaxTotalRamSize ¶
func (o *Quota) SetMaxTotalRamSize(v QuotaValue)
SetMaxTotalRamSize gets a reference to the given QuotaValue and assigns it to the MaxTotalRamSize field.
func (*Quota) SetTotalCoresUsed ¶
SetTotalCoresUsed gets a reference to the given int64 and assigns it to the TotalCoresUsed field.
func (*Quota) SetTotalFloatingIpsUsed ¶
SetTotalFloatingIpsUsed gets a reference to the given int64 and assigns it to the TotalFloatingIpsUsed field.
func (*Quota) SetTotalInstancesUsed ¶
SetTotalInstancesUsed gets a reference to the given int64 and assigns it to the TotalInstancesUsed field.
func (*Quota) SetTotalRamUsed ¶
SetTotalRamUsed gets a reference to the given int64 and assigns it to the TotalRamUsed field.
func (*Quota) SetTotalSecurityGroupsUsed ¶
SetTotalSecurityGroupsUsed gets a reference to the given int64 and assigns it to the TotalSecurityGroupsUsed field.
func (*Quota) SetTotalServerGroupsUsed ¶
SetTotalServerGroupsUsed gets a reference to the given int64 and assigns it to the TotalServerGroupsUsed field.
type QuotaAPIGetUserLimitsRequest ¶
type QuotaAPIGetUserLimitsRequest struct { ApiService *QuotaAPIService // contains filtered or unexported fields }
type QuotaAPIService ¶
type QuotaAPIService service
QuotaAPIService QuotaAPI service
func (*QuotaAPIService) GetUserLimits ¶
func (a *QuotaAPIService) GetUserLimits(ctx context.Context, region string) QuotaAPIGetUserLimitsRequest
GetUserLimits Method for GetUserLimits
Returns the limit of resources the user can allocate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return QuotaAPIGetUserLimitsRequest
func (*QuotaAPIService) GetUserLimitsExecute ¶
func (a *QuotaAPIService) GetUserLimitsExecute(r QuotaAPIGetUserLimitsRequest) (*Quota, *http.Response, error)
Execute executes the request
@return Quota
type QuotaValue ¶
type QuotaValue struct { Unlimited *bool `json:"unlimited,omitempty"` Value *int64 `json:"value,omitempty"` }
QuotaValue struct for QuotaValue
func NewQuotaValue ¶
func NewQuotaValue() *QuotaValue
NewQuotaValue instantiates a new QuotaValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuotaValueWithDefaults ¶
func NewQuotaValueWithDefaults() *QuotaValue
NewQuotaValueWithDefaults instantiates a new QuotaValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuotaValue) GetUnlimited ¶
func (o *QuotaValue) GetUnlimited() bool
GetUnlimited returns the Unlimited field value if set, zero value otherwise.
func (*QuotaValue) GetUnlimitedOk ¶
func (o *QuotaValue) GetUnlimitedOk() (*bool, bool)
GetUnlimitedOk returns a tuple with the Unlimited field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuotaValue) GetValue ¶
func (o *QuotaValue) GetValue() int64
GetValue returns the Value field value if set, zero value otherwise.
func (*QuotaValue) GetValueOk ¶
func (o *QuotaValue) GetValueOk() (*int64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QuotaValue) HasUnlimited ¶
func (o *QuotaValue) HasUnlimited() bool
HasUnlimited returns a boolean if a field has been set.
func (*QuotaValue) HasValue ¶
func (o *QuotaValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (QuotaValue) MarshalJSON ¶
func (o QuotaValue) MarshalJSON() ([]byte, error)
func (*QuotaValue) SetUnlimited ¶
func (o *QuotaValue) SetUnlimited(v bool)
SetUnlimited gets a reference to the given bool and assigns it to the Unlimited field.
func (*QuotaValue) SetValue ¶
func (o *QuotaValue) SetValue(v int64)
SetValue gets a reference to the given int64 and assigns it to the Value field.
func (QuotaValue) ToMap ¶
func (o QuotaValue) ToMap() (map[string]interface{}, error)
type RebuildImageRequest ¶
type RebuildImageRequest struct {
ImageId *string `json:"image_id,omitempty"`
}
RebuildImageRequest struct for RebuildImageRequest
func NewRebuildImageRequest ¶
func NewRebuildImageRequest() *RebuildImageRequest
NewRebuildImageRequest instantiates a new RebuildImageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRebuildImageRequestWithDefaults ¶
func NewRebuildImageRequestWithDefaults() *RebuildImageRequest
NewRebuildImageRequestWithDefaults instantiates a new RebuildImageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RebuildImageRequest) GetImageId ¶
func (o *RebuildImageRequest) GetImageId() string
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*RebuildImageRequest) GetImageIdOk ¶
func (o *RebuildImageRequest) GetImageIdOk() (*string, bool)
GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RebuildImageRequest) HasImageId ¶
func (o *RebuildImageRequest) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (RebuildImageRequest) MarshalJSON ¶
func (o RebuildImageRequest) MarshalJSON() ([]byte, error)
func (*RebuildImageRequest) SetImageId ¶
func (o *RebuildImageRequest) SetImageId(v string)
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (RebuildImageRequest) ToMap ¶
func (o RebuildImageRequest) ToMap() (map[string]interface{}, error)
type Region ¶
type Region struct { Beta *bool `json:"beta,omitempty"` City *string `json:"city,omitempty"` CityCode *string `json:"city_code,omitempty"` Code *string `json:"code,omitempty"` Country *string `json:"country,omitempty"` Create *bool `json:"create,omitempty"` Dc *string `json:"dc,omitempty"` DcCode *string `json:"dc_code,omitempty"` Default *bool `json:"default,omitempty"` Flag *string `json:"flag,omitempty"` New *bool `json:"new,omitempty"` Region *string `json:"region,omitempty"` Soon *bool `json:"soon,omitempty"` Visible *bool `json:"visible,omitempty"` VolumeBacked *bool `json:"volume_backed,omitempty"` }
Region struct for Region
func NewRegion ¶
func NewRegion() *Region
NewRegion instantiates a new Region object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Region) GetBetaOk ¶
GetBetaOk returns a tuple with the Beta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetCityCode ¶
GetCityCode returns the CityCode field value if set, zero value otherwise.
func (*Region) GetCityCodeOk ¶
GetCityCodeOk returns a tuple with the CityCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetCityOk ¶
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetCountry ¶
GetCountry returns the Country field value if set, zero value otherwise.
func (*Region) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetCreateOk ¶
GetCreateOk returns a tuple with the Create field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetDcCodeOk ¶
GetDcCodeOk returns a tuple with the DcCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetDcOk ¶
GetDcOk returns a tuple with the Dc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetDefault ¶
GetDefault returns the Default field value if set, zero value otherwise.
func (*Region) GetDefaultOk ¶
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetFlagOk ¶
GetFlagOk returns a tuple with the Flag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetNewOk ¶
GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetSoonOk ¶
GetSoonOk returns a tuple with the Soon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetVisible ¶
GetVisible returns the Visible field value if set, zero value otherwise.
func (*Region) GetVisibleOk ¶
GetVisibleOk returns a tuple with the Visible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) GetVolumeBacked ¶
GetVolumeBacked returns the VolumeBacked field value if set, zero value otherwise.
func (*Region) GetVolumeBackedOk ¶
GetVolumeBackedOk returns a tuple with the VolumeBacked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Region) HasCityCode ¶
HasCityCode returns a boolean if a field has been set.
func (*Region) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (*Region) HasDefault ¶
HasDefault returns a boolean if a field has been set.
func (*Region) HasVisible ¶
HasVisible returns a boolean if a field has been set.
func (*Region) HasVolumeBacked ¶
HasVolumeBacked returns a boolean if a field has been set.
func (Region) MarshalJSON ¶
func (*Region) SetBeta ¶
SetBeta gets a reference to the given bool and assigns it to the Beta field.
func (*Region) SetCity ¶
SetCity gets a reference to the given string and assigns it to the City field.
func (*Region) SetCityCode ¶
SetCityCode gets a reference to the given string and assigns it to the CityCode field.
func (*Region) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Region) SetCountry ¶
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*Region) SetCreate ¶
SetCreate gets a reference to the given bool and assigns it to the Create field.
func (*Region) SetDcCode ¶
SetDcCode gets a reference to the given string and assigns it to the DcCode field.
func (*Region) SetDefault ¶
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*Region) SetFlag ¶
SetFlag gets a reference to the given string and assigns it to the Flag field.
func (*Region) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*Region) SetSoon ¶
SetSoon gets a reference to the given bool and assigns it to the Soon field.
func (*Region) SetVisible ¶
SetVisible gets a reference to the given bool and assigns it to the Visible field.
func (*Region) SetVolumeBacked ¶
SetVolumeBacked gets a reference to the given bool and assigns it to the VolumeBacked field.
type RegionServerCreateOptions ¶
type RegionServerCreateOptions struct { Currency *string `json:"currency,omitempty"` DropletCount *int64 `json:"droplet_count,omitempty"` DropletLimit *int64 `json:"droplet_limit,omitempty"` ImageName *string `json:"image_name,omitempty"` ImageVersion *string `json:"image_version,omitempty"` NetworkId *string `json:"network_id,omitempty"` RegionId *int64 `json:"region_id,omitempty"` RequiresPaymentMethod *bool `json:"requires_payment_method,omitempty"` }
RegionServerCreateOptions struct for RegionServerCreateOptions
func NewRegionServerCreateOptions ¶
func NewRegionServerCreateOptions() *RegionServerCreateOptions
NewRegionServerCreateOptions instantiates a new RegionServerCreateOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegionServerCreateOptionsWithDefaults ¶
func NewRegionServerCreateOptionsWithDefaults() *RegionServerCreateOptions
NewRegionServerCreateOptionsWithDefaults instantiates a new RegionServerCreateOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegionServerCreateOptions) GetCurrency ¶
func (o *RegionServerCreateOptions) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetCurrencyOk ¶
func (o *RegionServerCreateOptions) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetDropletCount ¶
func (o *RegionServerCreateOptions) GetDropletCount() int64
GetDropletCount returns the DropletCount field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetDropletCountOk ¶
func (o *RegionServerCreateOptions) GetDropletCountOk() (*int64, bool)
GetDropletCountOk returns a tuple with the DropletCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetDropletLimit ¶
func (o *RegionServerCreateOptions) GetDropletLimit() int64
GetDropletLimit returns the DropletLimit field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetDropletLimitOk ¶
func (o *RegionServerCreateOptions) GetDropletLimitOk() (*int64, bool)
GetDropletLimitOk returns a tuple with the DropletLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetImageName ¶
func (o *RegionServerCreateOptions) GetImageName() string
GetImageName returns the ImageName field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetImageNameOk ¶
func (o *RegionServerCreateOptions) GetImageNameOk() (*string, bool)
GetImageNameOk returns a tuple with the ImageName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetImageVersion ¶
func (o *RegionServerCreateOptions) GetImageVersion() string
GetImageVersion returns the ImageVersion field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetImageVersionOk ¶
func (o *RegionServerCreateOptions) GetImageVersionOk() (*string, bool)
GetImageVersionOk returns a tuple with the ImageVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetNetworkId ¶
func (o *RegionServerCreateOptions) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetNetworkIdOk ¶
func (o *RegionServerCreateOptions) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetRegionId ¶
func (o *RegionServerCreateOptions) GetRegionId() int64
GetRegionId returns the RegionId field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetRegionIdOk ¶
func (o *RegionServerCreateOptions) GetRegionIdOk() (*int64, bool)
GetRegionIdOk returns a tuple with the RegionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) GetRequiresPaymentMethod ¶
func (o *RegionServerCreateOptions) GetRequiresPaymentMethod() bool
GetRequiresPaymentMethod returns the RequiresPaymentMethod field value if set, zero value otherwise.
func (*RegionServerCreateOptions) GetRequiresPaymentMethodOk ¶
func (o *RegionServerCreateOptions) GetRequiresPaymentMethodOk() (*bool, bool)
GetRequiresPaymentMethodOk returns a tuple with the RequiresPaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionServerCreateOptions) HasCurrency ¶
func (o *RegionServerCreateOptions) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasDropletCount ¶
func (o *RegionServerCreateOptions) HasDropletCount() bool
HasDropletCount returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasDropletLimit ¶
func (o *RegionServerCreateOptions) HasDropletLimit() bool
HasDropletLimit returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasImageName ¶
func (o *RegionServerCreateOptions) HasImageName() bool
HasImageName returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasImageVersion ¶
func (o *RegionServerCreateOptions) HasImageVersion() bool
HasImageVersion returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasNetworkId ¶
func (o *RegionServerCreateOptions) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasRegionId ¶
func (o *RegionServerCreateOptions) HasRegionId() bool
HasRegionId returns a boolean if a field has been set.
func (*RegionServerCreateOptions) HasRequiresPaymentMethod ¶
func (o *RegionServerCreateOptions) HasRequiresPaymentMethod() bool
HasRequiresPaymentMethod returns a boolean if a field has been set.
func (RegionServerCreateOptions) MarshalJSON ¶
func (o RegionServerCreateOptions) MarshalJSON() ([]byte, error)
func (*RegionServerCreateOptions) SetCurrency ¶
func (o *RegionServerCreateOptions) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*RegionServerCreateOptions) SetDropletCount ¶
func (o *RegionServerCreateOptions) SetDropletCount(v int64)
SetDropletCount gets a reference to the given int64 and assigns it to the DropletCount field.
func (*RegionServerCreateOptions) SetDropletLimit ¶
func (o *RegionServerCreateOptions) SetDropletLimit(v int64)
SetDropletLimit gets a reference to the given int64 and assigns it to the DropletLimit field.
func (*RegionServerCreateOptions) SetImageName ¶
func (o *RegionServerCreateOptions) SetImageName(v string)
SetImageName gets a reference to the given string and assigns it to the ImageName field.
func (*RegionServerCreateOptions) SetImageVersion ¶
func (o *RegionServerCreateOptions) SetImageVersion(v string)
SetImageVersion gets a reference to the given string and assigns it to the ImageVersion field.
func (*RegionServerCreateOptions) SetNetworkId ¶
func (o *RegionServerCreateOptions) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*RegionServerCreateOptions) SetRegionId ¶
func (o *RegionServerCreateOptions) SetRegionId(v int64)
SetRegionId gets a reference to the given int64 and assigns it to the RegionId field.
func (*RegionServerCreateOptions) SetRequiresPaymentMethod ¶
func (o *RegionServerCreateOptions) SetRequiresPaymentMethod(v bool)
SetRequiresPaymentMethod gets a reference to the given bool and assigns it to the RequiresPaymentMethod field.
func (RegionServerCreateOptions) ToMap ¶
func (o RegionServerCreateOptions) ToMap() (map[string]interface{}, error)
type RenameServerRequest ¶
type RenameServerRequest struct {
Name *string `json:"name,omitempty"`
}
RenameServerRequest struct for RenameServerRequest
func NewRenameServerRequest ¶
func NewRenameServerRequest() *RenameServerRequest
NewRenameServerRequest instantiates a new RenameServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRenameServerRequestWithDefaults ¶
func NewRenameServerRequestWithDefaults() *RenameServerRequest
NewRenameServerRequestWithDefaults instantiates a new RenameServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RenameServerRequest) GetName ¶
func (o *RenameServerRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RenameServerRequest) GetNameOk ¶
func (o *RenameServerRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RenameServerRequest) HasName ¶
func (o *RenameServerRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (RenameServerRequest) MarshalJSON ¶
func (o RenameServerRequest) MarshalJSON() ([]byte, error)
func (*RenameServerRequest) SetName ¶
func (o *RenameServerRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (RenameServerRequest) ToMap ¶
func (o RenameServerRequest) ToMap() (map[string]interface{}, error)
type ReportsAPIGetReportMetricRequest ¶
type ReportsAPIGetReportMetricRequest struct { ApiService *ReportsAPIService // contains filtered or unexported fields }
func (ReportsAPIGetReportMetricRequest) Execute ¶
func (r ReportsAPIGetReportMetricRequest) Execute() (*ServerReports, *http.Response, error)
type ReportsAPIGetServerReportsRequest ¶
type ReportsAPIGetServerReportsRequest struct { ApiService *ReportsAPIService // contains filtered or unexported fields }
func (ReportsAPIGetServerReportsRequest) Execute ¶
func (r ReportsAPIGetServerReportsRequest) Execute() (*ServerReports, *http.Response, error)
type ReportsAPIService ¶
type ReportsAPIService service
ReportsAPIService ReportsAPI service
func (*ReportsAPIService) GetReportMetric ¶
func (a *ReportsAPIService) GetReportMetric(ctx context.Context, region string, id string, metric string) ReportsAPIGetReportMetricRequest
GetReportMetric Method for GetReportMetric
Returns metrics for a report
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @param metric the metric name to be returned @return ReportsAPIGetReportMetricRequest
func (*ReportsAPIService) GetReportMetricExecute ¶
func (a *ReportsAPIService) GetReportMetricExecute(r ReportsAPIGetReportMetricRequest) (*ServerReports, *http.Response, error)
Execute executes the request
@return ServerReports
func (*ReportsAPIService) GetServerReports ¶
func (a *ReportsAPIService) GetServerReports(ctx context.Context, region string, id string, period string) ReportsAPIGetServerReportsRequest
GetServerReports Method for GetServerReports
Returns usage reports of a specific server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @param period period of the reports, ex. `1m`, `1h`, `1d` @return ReportsAPIGetServerReportsRequest
func (*ReportsAPIService) GetServerReportsExecute ¶
func (a *ReportsAPIService) GetServerReportsExecute(r ReportsAPIGetServerReportsRequest) (*ServerReports, *http.Response, error)
Execute executes the request
@return ServerReports
type RescueServerRequest ¶
type RescueServerRequest struct { // The name of the rescue image Name *string `json:"name,omitempty"` }
RescueServerRequest struct for RescueServerRequest
func NewRescueServerRequest ¶
func NewRescueServerRequest() *RescueServerRequest
NewRescueServerRequest instantiates a new RescueServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRescueServerRequestWithDefaults ¶
func NewRescueServerRequestWithDefaults() *RescueServerRequest
NewRescueServerRequestWithDefaults instantiates a new RescueServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RescueServerRequest) GetName ¶
func (o *RescueServerRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RescueServerRequest) GetNameOk ¶
func (o *RescueServerRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RescueServerRequest) HasName ¶
func (o *RescueServerRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (RescueServerRequest) MarshalJSON ¶
func (o RescueServerRequest) MarshalJSON() ([]byte, error)
func (*RescueServerRequest) SetName ¶
func (o *RescueServerRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (RescueServerRequest) ToMap ¶
func (o RescueServerRequest) ToMap() (map[string]interface{}, error)
type ResizeRootVolumeRequest ¶
type ResizeRootVolumeRequest struct {
NewSize *int64 `json:"new_size,omitempty"`
}
ResizeRootVolumeRequest struct for ResizeRootVolumeRequest
func NewResizeRootVolumeRequest ¶
func NewResizeRootVolumeRequest() *ResizeRootVolumeRequest
NewResizeRootVolumeRequest instantiates a new ResizeRootVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResizeRootVolumeRequestWithDefaults ¶
func NewResizeRootVolumeRequestWithDefaults() *ResizeRootVolumeRequest
NewResizeRootVolumeRequestWithDefaults instantiates a new ResizeRootVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResizeRootVolumeRequest) GetNewSize ¶
func (o *ResizeRootVolumeRequest) GetNewSize() int64
GetNewSize returns the NewSize field value if set, zero value otherwise.
func (*ResizeRootVolumeRequest) GetNewSizeOk ¶
func (o *ResizeRootVolumeRequest) GetNewSizeOk() (*int64, bool)
GetNewSizeOk returns a tuple with the NewSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResizeRootVolumeRequest) HasNewSize ¶
func (o *ResizeRootVolumeRequest) HasNewSize() bool
HasNewSize returns a boolean if a field has been set.
func (ResizeRootVolumeRequest) MarshalJSON ¶
func (o ResizeRootVolumeRequest) MarshalJSON() ([]byte, error)
func (*ResizeRootVolumeRequest) SetNewSize ¶
func (o *ResizeRootVolumeRequest) SetNewSize(v int64)
SetNewSize gets a reference to the given int64 and assigns it to the NewSize field.
func (ResizeRootVolumeRequest) ToMap ¶
func (o ResizeRootVolumeRequest) ToMap() (map[string]interface{}, error)
type ResizeServerRequest ¶
type ResizeServerRequest struct {
FlavorId *string `json:"flavor_id,omitempty"`
}
ResizeServerRequest struct for ResizeServerRequest
func NewResizeServerRequest ¶
func NewResizeServerRequest() *ResizeServerRequest
NewResizeServerRequest instantiates a new ResizeServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResizeServerRequestWithDefaults ¶
func NewResizeServerRequestWithDefaults() *ResizeServerRequest
NewResizeServerRequestWithDefaults instantiates a new ResizeServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResizeServerRequest) GetFlavorId ¶
func (o *ResizeServerRequest) GetFlavorId() string
GetFlavorId returns the FlavorId field value if set, zero value otherwise.
func (*ResizeServerRequest) GetFlavorIdOk ¶
func (o *ResizeServerRequest) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResizeServerRequest) HasFlavorId ¶
func (o *ResizeServerRequest) HasFlavorId() bool
HasFlavorId returns a boolean if a field has been set.
func (ResizeServerRequest) MarshalJSON ¶
func (o ResizeServerRequest) MarshalJSON() ([]byte, error)
func (*ResizeServerRequest) SetFlavorId ¶
func (o *ResizeServerRequest) SetFlavorId(v string)
SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.
func (ResizeServerRequest) ToMap ¶
func (o ResizeServerRequest) ToMap() (map[string]interface{}, error)
type RevertSnapshotRequest ¶
type RevertSnapshotRequest struct {
SnapshotId *string `json:"snapshot_id,omitempty"`
}
RevertSnapshotRequest struct for RevertSnapshotRequest
func NewRevertSnapshotRequest ¶
func NewRevertSnapshotRequest() *RevertSnapshotRequest
NewRevertSnapshotRequest instantiates a new RevertSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRevertSnapshotRequestWithDefaults ¶
func NewRevertSnapshotRequestWithDefaults() *RevertSnapshotRequest
NewRevertSnapshotRequestWithDefaults instantiates a new RevertSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RevertSnapshotRequest) GetSnapshotId ¶
func (o *RevertSnapshotRequest) GetSnapshotId() string
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*RevertSnapshotRequest) GetSnapshotIdOk ¶
func (o *RevertSnapshotRequest) GetSnapshotIdOk() (*string, bool)
GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RevertSnapshotRequest) HasSnapshotId ¶
func (o *RevertSnapshotRequest) HasSnapshotId() bool
HasSnapshotId returns a boolean if a field has been set.
func (RevertSnapshotRequest) MarshalJSON ¶
func (o RevertSnapshotRequest) MarshalJSON() ([]byte, error)
func (*RevertSnapshotRequest) SetSnapshotId ¶
func (o *RevertSnapshotRequest) SetSnapshotId(v string)
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (RevertSnapshotRequest) ToMap ¶
func (o RevertSnapshotRequest) ToMap() (map[string]interface{}, error)
type Rule ¶
type Rule struct { CreatedAt *string `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` Direction *string `json:"direction,omitempty"` EtherType *string `json:"ether_type,omitempty"` GroupId *string `json:"group_id,omitempty"` Id *string `json:"id,omitempty"` Ip *string `json:"ip,omitempty"` PortEnd *int32 `json:"port_end,omitempty"` PortStart *int32 `json:"port_start,omitempty"` Protocol *string `json:"protocol,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
Rule struct for Rule
func NewRule ¶
func NewRule() *Rule
NewRule instantiates a new Rule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuleWithDefaults ¶
func NewRuleWithDefaults() *Rule
NewRuleWithDefaults instantiates a new Rule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Rule) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Rule) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Rule) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetDirection ¶
GetDirection returns the Direction field value if set, zero value otherwise.
func (*Rule) GetDirectionOk ¶
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetEtherType ¶
GetEtherType returns the EtherType field value if set, zero value otherwise.
func (*Rule) GetEtherTypeOk ¶
GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetGroupId ¶
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*Rule) GetGroupIdOk ¶
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetPortEnd ¶
GetPortEnd returns the PortEnd field value if set, zero value otherwise.
func (*Rule) GetPortEndOk ¶
GetPortEndOk returns a tuple with the PortEnd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetPortStart ¶
GetPortStart returns the PortStart field value if set, zero value otherwise.
func (*Rule) GetPortStartOk ¶
GetPortStartOk returns a tuple with the PortStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetProtocol ¶
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*Rule) GetProtocolOk ¶
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Rule) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Rule) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Rule) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Rule) HasDirection ¶
HasDirection returns a boolean if a field has been set.
func (*Rule) HasEtherType ¶
HasEtherType returns a boolean if a field has been set.
func (*Rule) HasGroupId ¶
HasGroupId returns a boolean if a field has been set.
func (*Rule) HasPortEnd ¶
HasPortEnd returns a boolean if a field has been set.
func (*Rule) HasPortStart ¶
HasPortStart returns a boolean if a field has been set.
func (*Rule) HasProtocol ¶
HasProtocol returns a boolean if a field has been set.
func (*Rule) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Rule) MarshalJSON ¶
func (*Rule) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Rule) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Rule) SetDirection ¶
SetDirection gets a reference to the given string and assigns it to the Direction field.
func (*Rule) SetEtherType ¶
SetEtherType gets a reference to the given string and assigns it to the EtherType field.
func (*Rule) SetGroupId ¶
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*Rule) SetPortEnd ¶
SetPortEnd gets a reference to the given int32 and assigns it to the PortEnd field.
func (*Rule) SetPortStart ¶
SetPortStart gets a reference to the given int32 and assigns it to the PortStart field.
func (*Rule) SetProtocol ¶
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*Rule) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type SSHKey ¶
type SSHKey struct { CreatedAt *string `json:"created_at,omitempty"` Fingerprint *string `json:"fingerprint,omitempty"` Name *string `json:"name,omitempty"` PublicKey *string `json:"public_key,omitempty"` }
SSHKey struct for SSHKey
func NewSSHKey ¶
func NewSSHKey() *SSHKey
NewSSHKey instantiates a new SSHKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSSHKeyWithDefaults ¶
func NewSSHKeyWithDefaults() *SSHKey
NewSSHKeyWithDefaults instantiates a new SSHKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SSHKey) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SSHKey) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHKey) GetFingerprint ¶
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*SSHKey) GetFingerprintOk ¶
GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHKey) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHKey) GetPublicKey ¶
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*SSHKey) GetPublicKeyOk ¶
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SSHKey) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*SSHKey) HasFingerprint ¶
HasFingerprint returns a boolean if a field has been set.
func (*SSHKey) HasPublicKey ¶
HasPublicKey returns a boolean if a field has been set.
func (SSHKey) MarshalJSON ¶
func (*SSHKey) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*SSHKey) SetFingerprint ¶
SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.
func (*SSHKey) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*SSHKey) SetPublicKey ¶
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
type SSHKeysAPICreateSSHKeyRequest ¶
type SSHKeysAPICreateSSHKeyRequest struct { ApiService *SSHKeysAPIService // contains filtered or unexported fields }
func (SSHKeysAPICreateSSHKeyRequest) CreateSSHKeyRequest ¶
func (r SSHKeysAPICreateSSHKeyRequest) CreateSSHKeyRequest(createSSHKeyRequest CreateSSHKeyRequest) SSHKeysAPICreateSSHKeyRequest
info about the new SSH key to be created
func (SSHKeysAPICreateSSHKeyRequest) Execute ¶
func (r SSHKeysAPICreateSSHKeyRequest) Execute() (*MessageResponse, *http.Response, error)
type SSHKeysAPIDeleteSSHKeyRequest ¶
type SSHKeysAPIDeleteSSHKeyRequest struct { ApiService *SSHKeysAPIService // contains filtered or unexported fields }
func (SSHKeysAPIDeleteSSHKeyRequest) Execute ¶
func (r SSHKeysAPIDeleteSSHKeyRequest) Execute() (*MessageResponse, *http.Response, error)
type SSHKeysAPIGetAllSSHKeysRequest ¶
type SSHKeysAPIGetAllSSHKeysRequest struct { ApiService *SSHKeysAPIService // contains filtered or unexported fields }
type SSHKeysAPIGetSSHKeyRequest ¶
type SSHKeysAPIGetSSHKeyRequest struct { ApiService *SSHKeysAPIService // contains filtered or unexported fields }
type SSHKeysAPIService ¶
type SSHKeysAPIService service
SSHKeysAPIService SSHKeysAPI service
func (*SSHKeysAPIService) CreateSSHKey ¶
func (a *SSHKeysAPIService) CreateSSHKey(ctx context.Context, region string) SSHKeysAPICreateSSHKeyRequest
CreateSSHKey Method for CreateSSHKey
Creates a SSH key on the specified region
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SSHKeysAPICreateSSHKeyRequest
func (*SSHKeysAPIService) CreateSSHKeyExecute ¶
func (a *SSHKeysAPIService) CreateSSHKeyExecute(r SSHKeysAPICreateSSHKeyRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SSHKeysAPIService) DeleteSSHKey ¶
func (a *SSHKeysAPIService) DeleteSSHKey(ctx context.Context, region string, name string) SSHKeysAPIDeleteSSHKeyRequest
DeleteSSHKey Method for DeleteSSHKey
Deletes a SSH key based on its name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param name SSH key name @return SSHKeysAPIDeleteSSHKeyRequest
func (*SSHKeysAPIService) DeleteSSHKeyExecute ¶
func (a *SSHKeysAPIService) DeleteSSHKeyExecute(r SSHKeysAPIDeleteSSHKeyRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SSHKeysAPIService) GetAllSSHKeys ¶
func (a *SSHKeysAPIService) GetAllSSHKeys(ctx context.Context, region string) SSHKeysAPIGetAllSSHKeysRequest
GetAllSSHKeys Method for GetAllSSHKeys
Reverts a volume or server to its snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SSHKeysAPIGetAllSSHKeysRequest
func (*SSHKeysAPIService) GetAllSSHKeysExecute ¶
func (a *SSHKeysAPIService) GetAllSSHKeysExecute(r SSHKeysAPIGetAllSSHKeysRequest) (*SSHKey, *http.Response, error)
Execute executes the request
@return SSHKey
func (*SSHKeysAPIService) GetSSHKey ¶
func (a *SSHKeysAPIService) GetSSHKey(ctx context.Context, region string, name string) SSHKeysAPIGetSSHKeyRequest
GetSSHKey Method for GetSSHKey
Returns a SSH key based on its name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param name SSH key name @return SSHKeysAPIGetSSHKeyRequest
func (*SSHKeysAPIService) GetSSHKeyExecute ¶
func (a *SSHKeysAPIService) GetSSHKeyExecute(r SSHKeysAPIGetSSHKeyRequest) (*SSHKey, *http.Response, error)
Execute executes the request
@return SSHKey
type SecurityGroup ¶
type SecurityGroup struct { Default *bool `json:"default,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` IpAddresses []string `json:"ip_addresses,omitempty"` Name *string `json:"name,omitempty"` Readonly *string `json:"readonly,omitempty"` RealName *string `json:"real_name,omitempty"` Rules []Rule `json:"rules,omitempty"` }
SecurityGroup struct for SecurityGroup
func NewSecurityGroup ¶
func NewSecurityGroup() *SecurityGroup
NewSecurityGroup instantiates a new SecurityGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecurityGroupWithDefaults ¶
func NewSecurityGroupWithDefaults() *SecurityGroup
NewSecurityGroupWithDefaults instantiates a new SecurityGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecurityGroup) GetDefault ¶
func (o *SecurityGroup) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*SecurityGroup) GetDefaultOk ¶
func (o *SecurityGroup) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetDescription ¶
func (o *SecurityGroup) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SecurityGroup) GetDescriptionOk ¶
func (o *SecurityGroup) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetId ¶
func (o *SecurityGroup) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SecurityGroup) GetIdOk ¶
func (o *SecurityGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetIpAddresses ¶
func (o *SecurityGroup) GetIpAddresses() []string
GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.
func (*SecurityGroup) GetIpAddressesOk ¶
func (o *SecurityGroup) GetIpAddressesOk() ([]string, bool)
GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetName ¶
func (o *SecurityGroup) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityGroup) GetNameOk ¶
func (o *SecurityGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetReadonly ¶
func (o *SecurityGroup) GetReadonly() string
GetReadonly returns the Readonly field value if set, zero value otherwise.
func (*SecurityGroup) GetReadonlyOk ¶
func (o *SecurityGroup) GetReadonlyOk() (*string, bool)
GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetRealName ¶
func (o *SecurityGroup) GetRealName() string
GetRealName returns the RealName field value if set, zero value otherwise.
func (*SecurityGroup) GetRealNameOk ¶
func (o *SecurityGroup) GetRealNameOk() (*string, bool)
GetRealNameOk returns a tuple with the RealName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetRules ¶
func (o *SecurityGroup) GetRules() []Rule
GetRules returns the Rules field value if set, zero value otherwise.
func (*SecurityGroup) GetRulesOk ¶
func (o *SecurityGroup) GetRulesOk() ([]Rule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) HasDefault ¶
func (o *SecurityGroup) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*SecurityGroup) HasDescription ¶
func (o *SecurityGroup) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SecurityGroup) HasId ¶
func (o *SecurityGroup) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityGroup) HasIpAddresses ¶
func (o *SecurityGroup) HasIpAddresses() bool
HasIpAddresses returns a boolean if a field has been set.
func (*SecurityGroup) HasName ¶
func (o *SecurityGroup) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityGroup) HasReadonly ¶
func (o *SecurityGroup) HasReadonly() bool
HasReadonly returns a boolean if a field has been set.
func (*SecurityGroup) HasRealName ¶
func (o *SecurityGroup) HasRealName() bool
HasRealName returns a boolean if a field has been set.
func (*SecurityGroup) HasRules ¶
func (o *SecurityGroup) HasRules() bool
HasRules returns a boolean if a field has been set.
func (SecurityGroup) MarshalJSON ¶
func (o SecurityGroup) MarshalJSON() ([]byte, error)
func (*SecurityGroup) SetDefault ¶
func (o *SecurityGroup) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*SecurityGroup) SetDescription ¶
func (o *SecurityGroup) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SecurityGroup) SetId ¶
func (o *SecurityGroup) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SecurityGroup) SetIpAddresses ¶
func (o *SecurityGroup) SetIpAddresses(v []string)
SetIpAddresses gets a reference to the given []string and assigns it to the IpAddresses field.
func (*SecurityGroup) SetName ¶
func (o *SecurityGroup) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityGroup) SetReadonly ¶
func (o *SecurityGroup) SetReadonly(v string)
SetReadonly gets a reference to the given string and assigns it to the Readonly field.
func (*SecurityGroup) SetRealName ¶
func (o *SecurityGroup) SetRealName(v string)
SetRealName gets a reference to the given string and assigns it to the RealName field.
func (*SecurityGroup) SetRules ¶
func (o *SecurityGroup) SetRules(v []Rule)
SetRules gets a reference to the given []Rule and assigns it to the Rules field.
func (SecurityGroup) ToMap ¶
func (o SecurityGroup) ToMap() (map[string]interface{}, error)
type SecurityGroupName ¶
type SecurityGroupName struct {
Name *string `json:"name,omitempty"`
}
SecurityGroupName struct for SecurityGroupName
func NewSecurityGroupName ¶
func NewSecurityGroupName() *SecurityGroupName
NewSecurityGroupName instantiates a new SecurityGroupName object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecurityGroupNameWithDefaults ¶
func NewSecurityGroupNameWithDefaults() *SecurityGroupName
NewSecurityGroupNameWithDefaults instantiates a new SecurityGroupName object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecurityGroupName) GetName ¶
func (o *SecurityGroupName) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityGroupName) GetNameOk ¶
func (o *SecurityGroupName) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupName) HasName ¶
func (o *SecurityGroupName) HasName() bool
HasName returns a boolean if a field has been set.
func (SecurityGroupName) MarshalJSON ¶
func (o SecurityGroupName) MarshalJSON() ([]byte, error)
func (*SecurityGroupName) SetName ¶
func (o *SecurityGroupName) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (SecurityGroupName) ToMap ¶
func (o SecurityGroupName) ToMap() (map[string]interface{}, error)
type SecurityGroupRule ¶
type SecurityGroupRule struct { CreatedAt *string `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` Direction *string `json:"direction,omitempty"` EtherType *string `json:"ether_type,omitempty"` GroupId *string `json:"group_id,omitempty"` Id *string `json:"id,omitempty"` Ip *string `json:"ip,omitempty"` PortEnd *int64 `json:"port_end,omitempty"` PortStart *int64 `json:"port_start,omitempty"` Protocol *string `json:"protocol,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
SecurityGroupRule struct for SecurityGroupRule
func NewSecurityGroupRule ¶
func NewSecurityGroupRule() *SecurityGroupRule
NewSecurityGroupRule instantiates a new SecurityGroupRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecurityGroupRuleWithDefaults ¶
func NewSecurityGroupRuleWithDefaults() *SecurityGroupRule
NewSecurityGroupRuleWithDefaults instantiates a new SecurityGroupRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecurityGroupRule) GetCreatedAt ¶
func (o *SecurityGroupRule) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SecurityGroupRule) GetCreatedAtOk ¶
func (o *SecurityGroupRule) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetDescription ¶
func (o *SecurityGroupRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SecurityGroupRule) GetDescriptionOk ¶
func (o *SecurityGroupRule) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetDirection ¶
func (o *SecurityGroupRule) GetDirection() string
GetDirection returns the Direction field value if set, zero value otherwise.
func (*SecurityGroupRule) GetDirectionOk ¶
func (o *SecurityGroupRule) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetEtherType ¶
func (o *SecurityGroupRule) GetEtherType() string
GetEtherType returns the EtherType field value if set, zero value otherwise.
func (*SecurityGroupRule) GetEtherTypeOk ¶
func (o *SecurityGroupRule) GetEtherTypeOk() (*string, bool)
GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetGroupId ¶
func (o *SecurityGroupRule) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*SecurityGroupRule) GetGroupIdOk ¶
func (o *SecurityGroupRule) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetId ¶
func (o *SecurityGroupRule) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SecurityGroupRule) GetIdOk ¶
func (o *SecurityGroupRule) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetIp ¶
func (o *SecurityGroupRule) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*SecurityGroupRule) GetIpOk ¶
func (o *SecurityGroupRule) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetPortEnd ¶
func (o *SecurityGroupRule) GetPortEnd() int64
GetPortEnd returns the PortEnd field value if set, zero value otherwise.
func (*SecurityGroupRule) GetPortEndOk ¶
func (o *SecurityGroupRule) GetPortEndOk() (*int64, bool)
GetPortEndOk returns a tuple with the PortEnd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetPortStart ¶
func (o *SecurityGroupRule) GetPortStart() int64
GetPortStart returns the PortStart field value if set, zero value otherwise.
func (*SecurityGroupRule) GetPortStartOk ¶
func (o *SecurityGroupRule) GetPortStartOk() (*int64, bool)
GetPortStartOk returns a tuple with the PortStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetProtocol ¶
func (o *SecurityGroupRule) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*SecurityGroupRule) GetProtocolOk ¶
func (o *SecurityGroupRule) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetUpdatedAt ¶
func (o *SecurityGroupRule) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*SecurityGroupRule) GetUpdatedAtOk ¶
func (o *SecurityGroupRule) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) HasCreatedAt ¶
func (o *SecurityGroupRule) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*SecurityGroupRule) HasDescription ¶
func (o *SecurityGroupRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SecurityGroupRule) HasDirection ¶
func (o *SecurityGroupRule) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*SecurityGroupRule) HasEtherType ¶
func (o *SecurityGroupRule) HasEtherType() bool
HasEtherType returns a boolean if a field has been set.
func (*SecurityGroupRule) HasGroupId ¶
func (o *SecurityGroupRule) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (*SecurityGroupRule) HasId ¶
func (o *SecurityGroupRule) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityGroupRule) HasIp ¶
func (o *SecurityGroupRule) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*SecurityGroupRule) HasPortEnd ¶
func (o *SecurityGroupRule) HasPortEnd() bool
HasPortEnd returns a boolean if a field has been set.
func (*SecurityGroupRule) HasPortStart ¶
func (o *SecurityGroupRule) HasPortStart() bool
HasPortStart returns a boolean if a field has been set.
func (*SecurityGroupRule) HasProtocol ¶
func (o *SecurityGroupRule) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*SecurityGroupRule) HasUpdatedAt ¶
func (o *SecurityGroupRule) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (SecurityGroupRule) MarshalJSON ¶
func (o SecurityGroupRule) MarshalJSON() ([]byte, error)
func (*SecurityGroupRule) SetCreatedAt ¶
func (o *SecurityGroupRule) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*SecurityGroupRule) SetDescription ¶
func (o *SecurityGroupRule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SecurityGroupRule) SetDirection ¶
func (o *SecurityGroupRule) SetDirection(v string)
SetDirection gets a reference to the given string and assigns it to the Direction field.
func (*SecurityGroupRule) SetEtherType ¶
func (o *SecurityGroupRule) SetEtherType(v string)
SetEtherType gets a reference to the given string and assigns it to the EtherType field.
func (*SecurityGroupRule) SetGroupId ¶
func (o *SecurityGroupRule) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*SecurityGroupRule) SetId ¶
func (o *SecurityGroupRule) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SecurityGroupRule) SetIp ¶
func (o *SecurityGroupRule) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*SecurityGroupRule) SetPortEnd ¶
func (o *SecurityGroupRule) SetPortEnd(v int64)
SetPortEnd gets a reference to the given int64 and assigns it to the PortEnd field.
func (*SecurityGroupRule) SetPortStart ¶
func (o *SecurityGroupRule) SetPortStart(v int64)
SetPortStart gets a reference to the given int64 and assigns it to the PortStart field.
func (*SecurityGroupRule) SetProtocol ¶
func (o *SecurityGroupRule) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*SecurityGroupRule) SetUpdatedAt ¶
func (o *SecurityGroupRule) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (SecurityGroupRule) ToMap ¶
func (o SecurityGroupRule) ToMap() (map[string]interface{}, error)
type SecurityGroupsAPICreateSecurityGroupRequest ¶
type SecurityGroupsAPICreateSecurityGroupRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPICreateSecurityGroupRequest) CreateSecurityGroupRequest ¶
func (r SecurityGroupsAPICreateSecurityGroupRequest) CreateSecurityGroupRequest(createSecurityGroupRequest CreateSecurityGroupRequest) SecurityGroupsAPICreateSecurityGroupRequest
Info about the security group to be created
func (SecurityGroupsAPICreateSecurityGroupRequest) Execute ¶
func (r SecurityGroupsAPICreateSecurityGroupRequest) Execute() (*SecurityGroup, *http.Response, error)
type SecurityGroupsAPICreateSecurityGroupRuleRequest ¶
type SecurityGroupsAPICreateSecurityGroupRuleRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPICreateSecurityGroupRuleRequest) CreateSecurityGroupRuleRequest ¶
func (r SecurityGroupsAPICreateSecurityGroupRuleRequest) CreateSecurityGroupRuleRequest(createSecurityGroupRuleRequest CreateSecurityGroupRuleRequest) SecurityGroupsAPICreateSecurityGroupRuleRequest
Security group rule info
func (SecurityGroupsAPICreateSecurityGroupRuleRequest) Execute ¶
func (r SecurityGroupsAPICreateSecurityGroupRuleRequest) Execute() (*MessageResponse, *http.Response, error)
type SecurityGroupsAPIDeleteSecurityGroupRequest ¶
type SecurityGroupsAPIDeleteSecurityGroupRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPIDeleteSecurityGroupRequest) Execute ¶
func (r SecurityGroupsAPIDeleteSecurityGroupRequest) Execute() (*MessageResponse, *http.Response, error)
type SecurityGroupsAPIDeleteSecurityGroupRuleRequest ¶
type SecurityGroupsAPIDeleteSecurityGroupRuleRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPIDeleteSecurityGroupRuleRequest) Execute ¶
func (r SecurityGroupsAPIDeleteSecurityGroupRuleRequest) Execute() (*SecurityGroup, *http.Response, error)
type SecurityGroupsAPIGetAllSecurityGroupsRequest ¶
type SecurityGroupsAPIGetAllSecurityGroupsRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPIGetAllSecurityGroupsRequest) Execute ¶
func (r SecurityGroupsAPIGetAllSecurityGroupsRequest) Execute() (*SecurityGroup, *http.Response, error)
type SecurityGroupsAPIGetSecurityGroupRulesRequest ¶
type SecurityGroupsAPIGetSecurityGroupRulesRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPIGetSecurityGroupRulesRequest) Execute ¶
func (r SecurityGroupsAPIGetSecurityGroupRulesRequest) Execute() (*SecurityGroup, *http.Response, error)
type SecurityGroupsAPIImportCDNSecurityGroupRequest ¶
type SecurityGroupsAPIImportCDNSecurityGroupRequest struct { ApiService *SecurityGroupsAPIService // contains filtered or unexported fields }
func (SecurityGroupsAPIImportCDNSecurityGroupRequest) Execute ¶
func (r SecurityGroupsAPIImportCDNSecurityGroupRequest) Execute() (*MessageResponse, *http.Response, error)
type SecurityGroupsAPIService ¶
type SecurityGroupsAPIService service
SecurityGroupsAPIService SecurityGroupsAPI service
func (*SecurityGroupsAPIService) CreateSecurityGroup ¶
func (a *SecurityGroupsAPIService) CreateSecurityGroup(ctx context.Context, region string) SecurityGroupsAPICreateSecurityGroupRequest
CreateSecurityGroup Method for CreateSecurityGroup
Creates a security group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SecurityGroupsAPICreateSecurityGroupRequest
func (*SecurityGroupsAPIService) CreateSecurityGroupExecute ¶
func (a *SecurityGroupsAPIService) CreateSecurityGroupExecute(r SecurityGroupsAPICreateSecurityGroupRequest) (*SecurityGroup, *http.Response, error)
Execute executes the request
@return SecurityGroup
func (*SecurityGroupsAPIService) CreateSecurityGroupRule ¶
func (a *SecurityGroupsAPIService) CreateSecurityGroupRule(ctx context.Context, region string, id string) SecurityGroupsAPICreateSecurityGroupRuleRequest
CreateSecurityGroupRule Method for CreateSecurityGroupRule
Creates a rule for the specified security group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id Security group id @return SecurityGroupsAPICreateSecurityGroupRuleRequest
func (*SecurityGroupsAPIService) CreateSecurityGroupRuleExecute ¶
func (a *SecurityGroupsAPIService) CreateSecurityGroupRuleExecute(r SecurityGroupsAPICreateSecurityGroupRuleRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SecurityGroupsAPIService) DeleteSecurityGroup ¶
func (a *SecurityGroupsAPIService) DeleteSecurityGroup(ctx context.Context, region string) SecurityGroupsAPIDeleteSecurityGroupRequest
DeleteSecurityGroup Method for DeleteSecurityGroup
Deletes a security group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SecurityGroupsAPIDeleteSecurityGroupRequest
func (*SecurityGroupsAPIService) DeleteSecurityGroupExecute ¶
func (a *SecurityGroupsAPIService) DeleteSecurityGroupExecute(r SecurityGroupsAPIDeleteSecurityGroupRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SecurityGroupsAPIService) DeleteSecurityGroupRule ¶
func (a *SecurityGroupsAPIService) DeleteSecurityGroupRule(ctx context.Context, region string) SecurityGroupsAPIDeleteSecurityGroupRuleRequest
DeleteSecurityGroupRule Method for DeleteSecurityGroupRule
Deletes a security group rule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SecurityGroupsAPIDeleteSecurityGroupRuleRequest
func (*SecurityGroupsAPIService) DeleteSecurityGroupRuleExecute ¶
func (a *SecurityGroupsAPIService) DeleteSecurityGroupRuleExecute(r SecurityGroupsAPIDeleteSecurityGroupRuleRequest) (*SecurityGroup, *http.Response, error)
Execute executes the request
@return SecurityGroup
func (*SecurityGroupsAPIService) GetAllSecurityGroups ¶
func (a *SecurityGroupsAPIService) GetAllSecurityGroups(ctx context.Context, region string) SecurityGroupsAPIGetAllSecurityGroupsRequest
GetAllSecurityGroups Method for GetAllSecurityGroups
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SecurityGroupsAPIGetAllSecurityGroupsRequest
func (*SecurityGroupsAPIService) GetAllSecurityGroupsExecute ¶
func (a *SecurityGroupsAPIService) GetAllSecurityGroupsExecute(r SecurityGroupsAPIGetAllSecurityGroupsRequest) (*SecurityGroup, *http.Response, error)
Execute executes the request
@return SecurityGroup
func (*SecurityGroupsAPIService) GetSecurityGroupRules ¶
func (a *SecurityGroupsAPIService) GetSecurityGroupRules(ctx context.Context, region string) SecurityGroupsAPIGetSecurityGroupRulesRequest
GetSecurityGroupRules Method for GetSecurityGroupRules
Returns rules for a security group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SecurityGroupsAPIGetSecurityGroupRulesRequest
func (*SecurityGroupsAPIService) GetSecurityGroupRulesExecute ¶
func (a *SecurityGroupsAPIService) GetSecurityGroupRulesExecute(r SecurityGroupsAPIGetSecurityGroupRulesRequest) (*SecurityGroup, *http.Response, error)
Execute executes the request
@return SecurityGroup
func (*SecurityGroupsAPIService) ImportCDNSecurityGroup ¶
func (a *SecurityGroupsAPIService) ImportCDNSecurityGroup(ctx context.Context, region string) SecurityGroupsAPIImportCDNSecurityGroupRequest
ImportCDNSecurityGroup Method for ImportCDNSecurityGroup
Creates a security group based on Arvan CDN. This allows CDN IPs in security rules of newly created group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SecurityGroupsAPIImportCDNSecurityGroupRequest
func (*SecurityGroupsAPIService) ImportCDNSecurityGroupExecute ¶
func (a *SecurityGroupsAPIService) ImportCDNSecurityGroupExecute(r SecurityGroupsAPIImportCDNSecurityGroupRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type ServerAddress ¶
type ServerAddress struct { Addr *string `json:"addr,omitempty"` IsPublic *bool `json:"is_public,omitempty"` MacAddr *string `json:"mac_addr,omitempty"` Type *string `json:"type,omitempty"` Version *string `json:"version,omitempty"` }
ServerAddress struct for ServerAddress
func NewServerAddress ¶
func NewServerAddress() *ServerAddress
NewServerAddress instantiates a new ServerAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerAddressWithDefaults ¶
func NewServerAddressWithDefaults() *ServerAddress
NewServerAddressWithDefaults instantiates a new ServerAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerAddress) GetAddr ¶
func (o *ServerAddress) GetAddr() string
GetAddr returns the Addr field value if set, zero value otherwise.
func (*ServerAddress) GetAddrOk ¶
func (o *ServerAddress) GetAddrOk() (*string, bool)
GetAddrOk returns a tuple with the Addr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerAddress) GetIsPublic ¶
func (o *ServerAddress) GetIsPublic() bool
GetIsPublic returns the IsPublic field value if set, zero value otherwise.
func (*ServerAddress) GetIsPublicOk ¶
func (o *ServerAddress) GetIsPublicOk() (*bool, bool)
GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerAddress) GetMacAddr ¶
func (o *ServerAddress) GetMacAddr() string
GetMacAddr returns the MacAddr field value if set, zero value otherwise.
func (*ServerAddress) GetMacAddrOk ¶
func (o *ServerAddress) GetMacAddrOk() (*string, bool)
GetMacAddrOk returns a tuple with the MacAddr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerAddress) GetType ¶
func (o *ServerAddress) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ServerAddress) GetTypeOk ¶
func (o *ServerAddress) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerAddress) GetVersion ¶
func (o *ServerAddress) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServerAddress) GetVersionOk ¶
func (o *ServerAddress) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerAddress) HasAddr ¶
func (o *ServerAddress) HasAddr() bool
HasAddr returns a boolean if a field has been set.
func (*ServerAddress) HasIsPublic ¶
func (o *ServerAddress) HasIsPublic() bool
HasIsPublic returns a boolean if a field has been set.
func (*ServerAddress) HasMacAddr ¶
func (o *ServerAddress) HasMacAddr() bool
HasMacAddr returns a boolean if a field has been set.
func (*ServerAddress) HasType ¶
func (o *ServerAddress) HasType() bool
HasType returns a boolean if a field has been set.
func (*ServerAddress) HasVersion ¶
func (o *ServerAddress) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServerAddress) MarshalJSON ¶
func (o ServerAddress) MarshalJSON() ([]byte, error)
func (*ServerAddress) SetAddr ¶
func (o *ServerAddress) SetAddr(v string)
SetAddr gets a reference to the given string and assigns it to the Addr field.
func (*ServerAddress) SetIsPublic ¶
func (o *ServerAddress) SetIsPublic(v bool)
SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.
func (*ServerAddress) SetMacAddr ¶
func (o *ServerAddress) SetMacAddr(v string)
SetMacAddr gets a reference to the given string and assigns it to the MacAddr field.
func (*ServerAddress) SetType ¶
func (o *ServerAddress) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ServerAddress) SetVersion ¶
func (o *ServerAddress) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (ServerAddress) ToMap ¶
func (o ServerAddress) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerDetail ¶
type ServerDetail struct { Addresses *map[string][]ServerAddress `json:"addresses,omitempty"` ArNext *string `json:"ar_next,omitempty"` Created *string `json:"created,omitempty"` Flavor *ServerFlavor `json:"flavor,omitempty"` HaEnabled *bool `json:"ha_enabled,omitempty"` Id *string `json:"id,omitempty"` Image *ServerImage `json:"image,omitempty"` KeyName *string `json:"key_name,omitempty"` Name *string `json:"name,omitempty"` Password *string `json:"password,omitempty"` SecurityGroups []SecurityGroup `json:"security_groups,omitempty"` Status *string `json:"status,omitempty"` Tags []Tag `json:"tags,omitempty"` TaskState *string `json:"task_state,omitempty"` }
ServerDetail struct for ServerDetail
func NewServerDetail ¶
func NewServerDetail() *ServerDetail
NewServerDetail instantiates a new ServerDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerDetailWithDefaults ¶
func NewServerDetailWithDefaults() *ServerDetail
NewServerDetailWithDefaults instantiates a new ServerDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerDetail) GetAddresses ¶
func (o *ServerDetail) GetAddresses() map[string][]ServerAddress
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*ServerDetail) GetAddressesOk ¶
func (o *ServerDetail) GetAddressesOk() (*map[string][]ServerAddress, bool)
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetArNext ¶
func (o *ServerDetail) GetArNext() string
GetArNext returns the ArNext field value if set, zero value otherwise.
func (*ServerDetail) GetArNextOk ¶
func (o *ServerDetail) GetArNextOk() (*string, bool)
GetArNextOk returns a tuple with the ArNext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetCreated ¶
func (o *ServerDetail) GetCreated() string
GetCreated returns the Created field value if set, zero value otherwise.
func (*ServerDetail) GetCreatedOk ¶
func (o *ServerDetail) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetFlavor ¶
func (o *ServerDetail) GetFlavor() ServerFlavor
GetFlavor returns the Flavor field value if set, zero value otherwise.
func (*ServerDetail) GetFlavorOk ¶
func (o *ServerDetail) GetFlavorOk() (*ServerFlavor, bool)
GetFlavorOk returns a tuple with the Flavor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetHaEnabled ¶
func (o *ServerDetail) GetHaEnabled() bool
GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.
func (*ServerDetail) GetHaEnabledOk ¶
func (o *ServerDetail) GetHaEnabledOk() (*bool, bool)
GetHaEnabledOk returns a tuple with the HaEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetId ¶
func (o *ServerDetail) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServerDetail) GetIdOk ¶
func (o *ServerDetail) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetImage ¶
func (o *ServerDetail) GetImage() ServerImage
GetImage returns the Image field value if set, zero value otherwise.
func (*ServerDetail) GetImageOk ¶
func (o *ServerDetail) GetImageOk() (*ServerImage, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetKeyName ¶
func (o *ServerDetail) GetKeyName() string
GetKeyName returns the KeyName field value if set, zero value otherwise.
func (*ServerDetail) GetKeyNameOk ¶
func (o *ServerDetail) GetKeyNameOk() (*string, bool)
GetKeyNameOk returns a tuple with the KeyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetName ¶
func (o *ServerDetail) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServerDetail) GetNameOk ¶
func (o *ServerDetail) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetPassword ¶
func (o *ServerDetail) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*ServerDetail) GetPasswordOk ¶
func (o *ServerDetail) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetSecurityGroups ¶
func (o *ServerDetail) GetSecurityGroups() []SecurityGroup
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*ServerDetail) GetSecurityGroupsOk ¶
func (o *ServerDetail) GetSecurityGroupsOk() ([]SecurityGroup, bool)
GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetStatus ¶
func (o *ServerDetail) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ServerDetail) GetStatusOk ¶
func (o *ServerDetail) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetTags ¶
func (o *ServerDetail) GetTags() []Tag
GetTags returns the Tags field value if set, zero value otherwise.
func (*ServerDetail) GetTagsOk ¶
func (o *ServerDetail) GetTagsOk() ([]Tag, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) GetTaskState ¶
func (o *ServerDetail) GetTaskState() string
GetTaskState returns the TaskState field value if set, zero value otherwise.
func (*ServerDetail) GetTaskStateOk ¶
func (o *ServerDetail) GetTaskStateOk() (*string, bool)
GetTaskStateOk returns a tuple with the TaskState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerDetail) HasAddresses ¶
func (o *ServerDetail) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (*ServerDetail) HasArNext ¶
func (o *ServerDetail) HasArNext() bool
HasArNext returns a boolean if a field has been set.
func (*ServerDetail) HasCreated ¶
func (o *ServerDetail) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*ServerDetail) HasFlavor ¶
func (o *ServerDetail) HasFlavor() bool
HasFlavor returns a boolean if a field has been set.
func (*ServerDetail) HasHaEnabled ¶
func (o *ServerDetail) HasHaEnabled() bool
HasHaEnabled returns a boolean if a field has been set.
func (*ServerDetail) HasId ¶
func (o *ServerDetail) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServerDetail) HasImage ¶
func (o *ServerDetail) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*ServerDetail) HasKeyName ¶
func (o *ServerDetail) HasKeyName() bool
HasKeyName returns a boolean if a field has been set.
func (*ServerDetail) HasName ¶
func (o *ServerDetail) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServerDetail) HasPassword ¶
func (o *ServerDetail) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*ServerDetail) HasSecurityGroups ¶
func (o *ServerDetail) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (*ServerDetail) HasStatus ¶
func (o *ServerDetail) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ServerDetail) HasTags ¶
func (o *ServerDetail) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*ServerDetail) HasTaskState ¶
func (o *ServerDetail) HasTaskState() bool
HasTaskState returns a boolean if a field has been set.
func (ServerDetail) MarshalJSON ¶
func (o ServerDetail) MarshalJSON() ([]byte, error)
func (*ServerDetail) SetAddresses ¶
func (o *ServerDetail) SetAddresses(v map[string][]ServerAddress)
SetAddresses gets a reference to the given map[string][]ServerAddress and assigns it to the Addresses field.
func (*ServerDetail) SetArNext ¶
func (o *ServerDetail) SetArNext(v string)
SetArNext gets a reference to the given string and assigns it to the ArNext field.
func (*ServerDetail) SetCreated ¶
func (o *ServerDetail) SetCreated(v string)
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*ServerDetail) SetFlavor ¶
func (o *ServerDetail) SetFlavor(v ServerFlavor)
SetFlavor gets a reference to the given ServerFlavor and assigns it to the Flavor field.
func (*ServerDetail) SetHaEnabled ¶
func (o *ServerDetail) SetHaEnabled(v bool)
SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.
func (*ServerDetail) SetId ¶
func (o *ServerDetail) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServerDetail) SetImage ¶
func (o *ServerDetail) SetImage(v ServerImage)
SetImage gets a reference to the given ServerImage and assigns it to the Image field.
func (*ServerDetail) SetKeyName ¶
func (o *ServerDetail) SetKeyName(v string)
SetKeyName gets a reference to the given string and assigns it to the KeyName field.
func (*ServerDetail) SetName ¶
func (o *ServerDetail) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServerDetail) SetPassword ¶
func (o *ServerDetail) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*ServerDetail) SetSecurityGroups ¶
func (o *ServerDetail) SetSecurityGroups(v []SecurityGroup)
SetSecurityGroups gets a reference to the given []SecurityGroup and assigns it to the SecurityGroups field.
func (*ServerDetail) SetStatus ¶
func (o *ServerDetail) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*ServerDetail) SetTags ¶
func (o *ServerDetail) SetTags(v []Tag)
SetTags gets a reference to the given []Tag and assigns it to the Tags field.
func (*ServerDetail) SetTaskState ¶
func (o *ServerDetail) SetTaskState(v string)
SetTaskState gets a reference to the given string and assigns it to the TaskState field.
func (ServerDetail) ToMap ¶
func (o ServerDetail) ToMap() (map[string]interface{}, error)
type ServerFlavor ¶
type ServerFlavor struct { Disk *int32 `json:"disk,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Ram *float64 `json:"ram,omitempty"` Swap *string `json:"swap,omitempty"` Vcpus *int32 `json:"vcpus,omitempty"` }
ServerFlavor struct for ServerFlavor
func NewServerFlavor ¶
func NewServerFlavor() *ServerFlavor
NewServerFlavor instantiates a new ServerFlavor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerFlavorWithDefaults ¶
func NewServerFlavorWithDefaults() *ServerFlavor
NewServerFlavorWithDefaults instantiates a new ServerFlavor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerFlavor) GetDisk ¶
func (o *ServerFlavor) GetDisk() int32
GetDisk returns the Disk field value if set, zero value otherwise.
func (*ServerFlavor) GetDiskOk ¶
func (o *ServerFlavor) GetDiskOk() (*int32, bool)
GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerFlavor) GetId ¶
func (o *ServerFlavor) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServerFlavor) GetIdOk ¶
func (o *ServerFlavor) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerFlavor) GetName ¶
func (o *ServerFlavor) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServerFlavor) GetNameOk ¶
func (o *ServerFlavor) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerFlavor) GetRam ¶
func (o *ServerFlavor) GetRam() float64
GetRam returns the Ram field value if set, zero value otherwise.
func (*ServerFlavor) GetRamOk ¶
func (o *ServerFlavor) GetRamOk() (*float64, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerFlavor) GetSwap ¶
func (o *ServerFlavor) GetSwap() string
GetSwap returns the Swap field value if set, zero value otherwise.
func (*ServerFlavor) GetSwapOk ¶
func (o *ServerFlavor) GetSwapOk() (*string, bool)
GetSwapOk returns a tuple with the Swap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerFlavor) GetVcpus ¶
func (o *ServerFlavor) GetVcpus() int32
GetVcpus returns the Vcpus field value if set, zero value otherwise.
func (*ServerFlavor) GetVcpusOk ¶
func (o *ServerFlavor) GetVcpusOk() (*int32, bool)
GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerFlavor) HasDisk ¶
func (o *ServerFlavor) HasDisk() bool
HasDisk returns a boolean if a field has been set.
func (*ServerFlavor) HasId ¶
func (o *ServerFlavor) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServerFlavor) HasName ¶
func (o *ServerFlavor) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServerFlavor) HasRam ¶
func (o *ServerFlavor) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*ServerFlavor) HasSwap ¶
func (o *ServerFlavor) HasSwap() bool
HasSwap returns a boolean if a field has been set.
func (*ServerFlavor) HasVcpus ¶
func (o *ServerFlavor) HasVcpus() bool
HasVcpus returns a boolean if a field has been set.
func (ServerFlavor) MarshalJSON ¶
func (o ServerFlavor) MarshalJSON() ([]byte, error)
func (*ServerFlavor) SetDisk ¶
func (o *ServerFlavor) SetDisk(v int32)
SetDisk gets a reference to the given int32 and assigns it to the Disk field.
func (*ServerFlavor) SetId ¶
func (o *ServerFlavor) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServerFlavor) SetName ¶
func (o *ServerFlavor) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServerFlavor) SetRam ¶
func (o *ServerFlavor) SetRam(v float64)
SetRam gets a reference to the given float64 and assigns it to the Ram field.
func (*ServerFlavor) SetSwap ¶
func (o *ServerFlavor) SetSwap(v string)
SetSwap gets a reference to the given string and assigns it to the Swap field.
func (*ServerFlavor) SetVcpus ¶
func (o *ServerFlavor) SetVcpus(v int32)
SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.
func (ServerFlavor) ToMap ¶
func (o ServerFlavor) ToMap() (map[string]interface{}, error)
type ServerIPInfo ¶
type ServerIPInfo struct { CreationDate *string `json:"creation_date,omitempty"` HasPublicIp *bool `json:"has_public_ip,omitempty"` Id *string `json:"id,omitempty"` IpData []IPInfo `json:"ip_data,omitempty"` Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` }
ServerIPInfo struct for ServerIPInfo
func NewServerIPInfo ¶
func NewServerIPInfo() *ServerIPInfo
NewServerIPInfo instantiates a new ServerIPInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerIPInfoWithDefaults ¶
func NewServerIPInfoWithDefaults() *ServerIPInfo
NewServerIPInfoWithDefaults instantiates a new ServerIPInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerIPInfo) GetCreationDate ¶
func (o *ServerIPInfo) GetCreationDate() string
GetCreationDate returns the CreationDate field value if set, zero value otherwise.
func (*ServerIPInfo) GetCreationDateOk ¶
func (o *ServerIPInfo) GetCreationDateOk() (*string, bool)
GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIPInfo) GetHasPublicIp ¶
func (o *ServerIPInfo) GetHasPublicIp() bool
GetHasPublicIp returns the HasPublicIp field value if set, zero value otherwise.
func (*ServerIPInfo) GetHasPublicIpOk ¶
func (o *ServerIPInfo) GetHasPublicIpOk() (*bool, bool)
GetHasPublicIpOk returns a tuple with the HasPublicIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIPInfo) GetId ¶
func (o *ServerIPInfo) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServerIPInfo) GetIdOk ¶
func (o *ServerIPInfo) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIPInfo) GetIpData ¶
func (o *ServerIPInfo) GetIpData() []IPInfo
GetIpData returns the IpData field value if set, zero value otherwise.
func (*ServerIPInfo) GetIpDataOk ¶
func (o *ServerIPInfo) GetIpDataOk() ([]IPInfo, bool)
GetIpDataOk returns a tuple with the IpData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIPInfo) GetName ¶
func (o *ServerIPInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServerIPInfo) GetNameOk ¶
func (o *ServerIPInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIPInfo) GetStatus ¶
func (o *ServerIPInfo) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ServerIPInfo) GetStatusOk ¶
func (o *ServerIPInfo) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIPInfo) HasCreationDate ¶
func (o *ServerIPInfo) HasCreationDate() bool
HasCreationDate returns a boolean if a field has been set.
func (*ServerIPInfo) HasHasPublicIp ¶
func (o *ServerIPInfo) HasHasPublicIp() bool
HasHasPublicIp returns a boolean if a field has been set.
func (*ServerIPInfo) HasId ¶
func (o *ServerIPInfo) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServerIPInfo) HasIpData ¶
func (o *ServerIPInfo) HasIpData() bool
HasIpData returns a boolean if a field has been set.
func (*ServerIPInfo) HasName ¶
func (o *ServerIPInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServerIPInfo) HasStatus ¶
func (o *ServerIPInfo) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ServerIPInfo) MarshalJSON ¶
func (o ServerIPInfo) MarshalJSON() ([]byte, error)
func (*ServerIPInfo) SetCreationDate ¶
func (o *ServerIPInfo) SetCreationDate(v string)
SetCreationDate gets a reference to the given string and assigns it to the CreationDate field.
func (*ServerIPInfo) SetHasPublicIp ¶
func (o *ServerIPInfo) SetHasPublicIp(v bool)
SetHasPublicIp gets a reference to the given bool and assigns it to the HasPublicIp field.
func (*ServerIPInfo) SetId ¶
func (o *ServerIPInfo) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServerIPInfo) SetIpData ¶
func (o *ServerIPInfo) SetIpData(v []IPInfo)
SetIpData gets a reference to the given []IPInfo and assigns it to the IpData field.
func (*ServerIPInfo) SetName ¶
func (o *ServerIPInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServerIPInfo) SetStatus ¶
func (o *ServerIPInfo) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (ServerIPInfo) ToMap ¶
func (o ServerIPInfo) ToMap() (map[string]interface{}, error)
type ServerImage ¶
type ServerImage struct { Created *string `json:"created,omitempty"` Documents []ImgDoc `json:"documents,omitempty"` Id *string `json:"id,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` MinDisk *int32 `json:"min_disk,omitempty"` MinRam *int32 `json:"min_ram,omitempty"` Name *string `json:"name,omitempty"` Os *string `json:"os,omitempty"` OsVersion *string `json:"os_version,omitempty"` Progress *int32 `json:"progress,omitempty"` Size *int64 `json:"size,omitempty"` Status *string `json:"status,omitempty"` Username *string `json:"username,omitempty"` }
ServerImage struct for ServerImage
func NewServerImage ¶
func NewServerImage() *ServerImage
NewServerImage instantiates a new ServerImage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerImageWithDefaults ¶
func NewServerImageWithDefaults() *ServerImage
NewServerImageWithDefaults instantiates a new ServerImage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerImage) GetCreated ¶
func (o *ServerImage) GetCreated() string
GetCreated returns the Created field value if set, zero value otherwise.
func (*ServerImage) GetCreatedOk ¶
func (o *ServerImage) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetDocuments ¶
func (o *ServerImage) GetDocuments() []ImgDoc
GetDocuments returns the Documents field value if set, zero value otherwise.
func (*ServerImage) GetDocumentsOk ¶
func (o *ServerImage) GetDocumentsOk() ([]ImgDoc, bool)
GetDocumentsOk returns a tuple with the Documents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetId ¶
func (o *ServerImage) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServerImage) GetIdOk ¶
func (o *ServerImage) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetMetadata ¶
func (o *ServerImage) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ServerImage) GetMetadataOk ¶
func (o *ServerImage) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetMinDisk ¶
func (o *ServerImage) GetMinDisk() int32
GetMinDisk returns the MinDisk field value if set, zero value otherwise.
func (*ServerImage) GetMinDiskOk ¶
func (o *ServerImage) GetMinDiskOk() (*int32, bool)
GetMinDiskOk returns a tuple with the MinDisk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetMinRam ¶
func (o *ServerImage) GetMinRam() int32
GetMinRam returns the MinRam field value if set, zero value otherwise.
func (*ServerImage) GetMinRamOk ¶
func (o *ServerImage) GetMinRamOk() (*int32, bool)
GetMinRamOk returns a tuple with the MinRam field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetName ¶
func (o *ServerImage) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServerImage) GetNameOk ¶
func (o *ServerImage) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetOs ¶
func (o *ServerImage) GetOs() string
GetOs returns the Os field value if set, zero value otherwise.
func (*ServerImage) GetOsOk ¶
func (o *ServerImage) GetOsOk() (*string, bool)
GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetOsVersion ¶
func (o *ServerImage) GetOsVersion() string
GetOsVersion returns the OsVersion field value if set, zero value otherwise.
func (*ServerImage) GetOsVersionOk ¶
func (o *ServerImage) GetOsVersionOk() (*string, bool)
GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetProgress ¶
func (o *ServerImage) GetProgress() int32
GetProgress returns the Progress field value if set, zero value otherwise.
func (*ServerImage) GetProgressOk ¶
func (o *ServerImage) GetProgressOk() (*int32, bool)
GetProgressOk returns a tuple with the Progress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetSize ¶
func (o *ServerImage) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*ServerImage) GetSizeOk ¶
func (o *ServerImage) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetStatus ¶
func (o *ServerImage) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ServerImage) GetStatusOk ¶
func (o *ServerImage) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) GetUsername ¶
func (o *ServerImage) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*ServerImage) GetUsernameOk ¶
func (o *ServerImage) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerImage) HasCreated ¶
func (o *ServerImage) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*ServerImage) HasDocuments ¶
func (o *ServerImage) HasDocuments() bool
HasDocuments returns a boolean if a field has been set.
func (*ServerImage) HasId ¶
func (o *ServerImage) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServerImage) HasMetadata ¶
func (o *ServerImage) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ServerImage) HasMinDisk ¶
func (o *ServerImage) HasMinDisk() bool
HasMinDisk returns a boolean if a field has been set.
func (*ServerImage) HasMinRam ¶
func (o *ServerImage) HasMinRam() bool
HasMinRam returns a boolean if a field has been set.
func (*ServerImage) HasName ¶
func (o *ServerImage) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServerImage) HasOs ¶
func (o *ServerImage) HasOs() bool
HasOs returns a boolean if a field has been set.
func (*ServerImage) HasOsVersion ¶
func (o *ServerImage) HasOsVersion() bool
HasOsVersion returns a boolean if a field has been set.
func (*ServerImage) HasProgress ¶
func (o *ServerImage) HasProgress() bool
HasProgress returns a boolean if a field has been set.
func (*ServerImage) HasSize ¶
func (o *ServerImage) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*ServerImage) HasStatus ¶
func (o *ServerImage) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ServerImage) HasUsername ¶
func (o *ServerImage) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (ServerImage) MarshalJSON ¶
func (o ServerImage) MarshalJSON() ([]byte, error)
func (*ServerImage) SetCreated ¶
func (o *ServerImage) SetCreated(v string)
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*ServerImage) SetDocuments ¶
func (o *ServerImage) SetDocuments(v []ImgDoc)
SetDocuments gets a reference to the given []ImgDoc and assigns it to the Documents field.
func (*ServerImage) SetId ¶
func (o *ServerImage) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServerImage) SetMetadata ¶
func (o *ServerImage) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*ServerImage) SetMinDisk ¶
func (o *ServerImage) SetMinDisk(v int32)
SetMinDisk gets a reference to the given int32 and assigns it to the MinDisk field.
func (*ServerImage) SetMinRam ¶
func (o *ServerImage) SetMinRam(v int32)
SetMinRam gets a reference to the given int32 and assigns it to the MinRam field.
func (*ServerImage) SetName ¶
func (o *ServerImage) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServerImage) SetOs ¶
func (o *ServerImage) SetOs(v string)
SetOs gets a reference to the given string and assigns it to the Os field.
func (*ServerImage) SetOsVersion ¶
func (o *ServerImage) SetOsVersion(v string)
SetOsVersion gets a reference to the given string and assigns it to the OsVersion field.
func (*ServerImage) SetProgress ¶
func (o *ServerImage) SetProgress(v int32)
SetProgress gets a reference to the given int32 and assigns it to the Progress field.
func (*ServerImage) SetSize ¶
func (o *ServerImage) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*ServerImage) SetStatus ¶
func (o *ServerImage) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*ServerImage) SetUsername ¶
func (o *ServerImage) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (ServerImage) ToMap ¶
func (o ServerImage) ToMap() (map[string]interface{}, error)
type ServerReports ¶
type ServerReports struct {
Charts *ChartCollection `json:"charts,omitempty"`
}
ServerReports struct for ServerReports
func NewServerReports ¶
func NewServerReports() *ServerReports
NewServerReports instantiates a new ServerReports object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerReportsWithDefaults ¶
func NewServerReportsWithDefaults() *ServerReports
NewServerReportsWithDefaults instantiates a new ServerReports object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerReports) GetCharts ¶
func (o *ServerReports) GetCharts() ChartCollection
GetCharts returns the Charts field value if set, zero value otherwise.
func (*ServerReports) GetChartsOk ¶
func (o *ServerReports) GetChartsOk() (*ChartCollection, bool)
GetChartsOk returns a tuple with the Charts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerReports) HasCharts ¶
func (o *ServerReports) HasCharts() bool
HasCharts returns a boolean if a field has been set.
func (ServerReports) MarshalJSON ¶
func (o ServerReports) MarshalJSON() ([]byte, error)
func (*ServerReports) SetCharts ¶
func (o *ServerReports) SetCharts(v ChartCollection)
SetCharts gets a reference to the given ChartCollection and assigns it to the Charts field.
func (ServerReports) ToMap ¶
func (o ServerReports) ToMap() (map[string]interface{}, error)
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServerVolume ¶
type ServerVolume struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` Size *int32 `json:"size,omitempty"` }
ServerVolume struct for ServerVolume
func NewServerVolume ¶
func NewServerVolume() *ServerVolume
NewServerVolume instantiates a new ServerVolume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerVolumeWithDefaults ¶
func NewServerVolumeWithDefaults() *ServerVolume
NewServerVolumeWithDefaults instantiates a new ServerVolume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerVolume) GetDescription ¶
func (o *ServerVolume) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ServerVolume) GetDescriptionOk ¶
func (o *ServerVolume) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerVolume) GetName ¶
func (o *ServerVolume) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServerVolume) GetNameOk ¶
func (o *ServerVolume) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerVolume) GetSize ¶
func (o *ServerVolume) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*ServerVolume) GetSizeOk ¶
func (o *ServerVolume) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerVolume) HasDescription ¶
func (o *ServerVolume) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ServerVolume) HasName ¶
func (o *ServerVolume) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServerVolume) HasSize ¶
func (o *ServerVolume) HasSize() bool
HasSize returns a boolean if a field has been set.
func (ServerVolume) MarshalJSON ¶
func (o ServerVolume) MarshalJSON() ([]byte, error)
func (*ServerVolume) SetDescription ¶
func (o *ServerVolume) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ServerVolume) SetName ¶
func (o *ServerVolume) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServerVolume) SetSize ¶
func (o *ServerVolume) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (ServerVolume) ToMap ¶
func (o ServerVolume) ToMap() (map[string]interface{}, error)
type ServersAPIAddServerPublicIPRequest ¶
type ServersAPIAddServerPublicIPRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIAddServerPublicIPRequest) AddServerPublicIPRequest ¶
func (r ServersAPIAddServerPublicIPRequest) AddServerPublicIPRequest(addServerPublicIPRequest AddServerPublicIPRequest) ServersAPIAddServerPublicIPRequest
security groups to be applied to newly added public ip
func (ServersAPIAddServerPublicIPRequest) Execute ¶
func (r ServersAPIAddServerPublicIPRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIAttachServerRootVolumeRequest ¶
type ServersAPIAttachServerRootVolumeRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIAttachServerRootVolumeRequest) AttachServerRootVolumeRequest ¶
func (r ServersAPIAttachServerRootVolumeRequest) AttachServerRootVolumeRequest(attachServerRootVolumeRequest AttachServerRootVolumeRequest) ServersAPIAttachServerRootVolumeRequest
volume id to be attached as root
func (ServersAPIAttachServerRootVolumeRequest) Execute ¶
func (r ServersAPIAttachServerRootVolumeRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIAttachServerToSecurityGroupRequest ¶
type ServersAPIAttachServerToSecurityGroupRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIAttachServerToSecurityGroupRequest) AttachServerToSecurityGroupRequest ¶
func (r ServersAPIAttachServerToSecurityGroupRequest) AttachServerToSecurityGroupRequest(attachServerToSecurityGroupRequest AttachServerToSecurityGroupRequest) ServersAPIAttachServerToSecurityGroupRequest
security group info
func (ServersAPIAttachServerToSecurityGroupRequest) Execute ¶
func (r ServersAPIAttachServerToSecurityGroupRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPICreateServerRequest ¶
type ServersAPICreateServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPICreateServerRequest) CreateServerRequest ¶
func (r ServersAPICreateServerRequest) CreateServerRequest(createServerRequest CreateServerRequest) ServersAPICreateServerRequest
func (ServersAPICreateServerRequest) Execute ¶
func (r ServersAPICreateServerRequest) Execute() (*ServerDetail, *http.Response, error)
type ServersAPIDeleteServerRequest ¶
type ServersAPIDeleteServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIDeleteServerRequest) DeleteServerReasons ¶
func (r ServersAPIDeleteServerRequest) DeleteServerReasons(deleteServerReasons map[string]interface{}) ServersAPIDeleteServerRequest
The reason why this server is being deleted
func (ServersAPIDeleteServerRequest) Execute ¶
func (r ServersAPIDeleteServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (ServersAPIDeleteServerRequest) ForceDelete ¶
func (r ServersAPIDeleteServerRequest) ForceDelete(forceDelete bool) ServersAPIDeleteServerRequest
Force delete server. If true, the server will be forcibly deleted
type ServersAPIDetachServerFromSecurityGroupRequest ¶
type ServersAPIDetachServerFromSecurityGroupRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIDetachServerFromSecurityGroupRequest) AttachServerToSecurityGroupRequest ¶
func (r ServersAPIDetachServerFromSecurityGroupRequest) AttachServerToSecurityGroupRequest(attachServerToSecurityGroupRequest AttachServerToSecurityGroupRequest) ServersAPIDetachServerFromSecurityGroupRequest
security group info
func (ServersAPIDetachServerFromSecurityGroupRequest) Execute ¶
func (r ServersAPIDetachServerFromSecurityGroupRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIDetachServerRootVolumeRequest ¶
type ServersAPIDetachServerRootVolumeRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIDetachServerRootVolumeRequest) Execute ¶
func (r ServersAPIDetachServerRootVolumeRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIGetAllServersRequest ¶
type ServersAPIGetAllServersRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIGetAllServersRequest) Execute ¶
func (r ServersAPIGetAllServersRequest) Execute() (*ServerDetail, *http.Response, error)
type ServersAPIGetDeleteReasonsRequest ¶
type ServersAPIGetDeleteReasonsRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIGetDeleteReasonsRequest) Execute ¶
func (r ServersAPIGetDeleteReasonsRequest) Execute() (*DeleteServerReasons, *http.Response, error)
type ServersAPIGetRegionServerCreationOptionsRequest ¶
type ServersAPIGetRegionServerCreationOptionsRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIGetRegionServerCreationOptionsRequest) Execute ¶
func (r ServersAPIGetRegionServerCreationOptionsRequest) Execute() (*RegionServerCreateOptions, *http.Response, error)
type ServersAPIGetServerAvailableActionsRequest ¶
type ServersAPIGetServerAvailableActionsRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIGetServerAvailableActionsRequest) Execute ¶
func (r ServersAPIGetServerAvailableActionsRequest) Execute() (*GetServerActionsResponse, *http.Response, error)
type ServersAPIGetServerDetailsRequest ¶
type ServersAPIGetServerDetailsRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIGetServerDetailsRequest) Execute ¶
func (r ServersAPIGetServerDetailsRequest) Execute() (*ServerDetail, *http.Response, error)
type ServersAPIGetServerVNCRequest ¶
type ServersAPIGetServerVNCRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIGetServerVNCRequest) Execute ¶
func (r ServersAPIGetServerVNCRequest) Execute() (*GetServerVNCRequest, *http.Response, error)
type ServersAPIHardRebootServerRequest ¶
type ServersAPIHardRebootServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIHardRebootServerRequest) Execute ¶
func (r ServersAPIHardRebootServerRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIPowerOffServerRequest ¶
type ServersAPIPowerOffServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIPowerOffServerRequest) Execute ¶
func (r ServersAPIPowerOffServerRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIPowerOnServerRequest ¶
type ServersAPIPowerOnServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIPowerOnServerRequest) Execute ¶
func (r ServersAPIPowerOnServerRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIRebootServerRequest ¶
type ServersAPIRebootServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIRebootServerRequest) Execute ¶
func (r ServersAPIRebootServerRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIRebuildServerRequest ¶
type ServersAPIRebuildServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIRebuildServerRequest) Execute ¶
func (r ServersAPIRebuildServerRequest) Execute() (*ServerDetail, *http.Response, error)
func (ServersAPIRebuildServerRequest) RebuildImageRequest ¶
func (r ServersAPIRebuildServerRequest) RebuildImageRequest(rebuildImageRequest RebuildImageRequest) ServersAPIRebuildServerRequest
image info for the newly built server
type ServersAPIRenameServerRequest ¶
type ServersAPIRenameServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIRenameServerRequest) Execute ¶
func (r ServersAPIRenameServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (ServersAPIRenameServerRequest) RenameServerRequest ¶
func (r ServersAPIRenameServerRequest) RenameServerRequest(renameServerRequest RenameServerRequest) ServersAPIRenameServerRequest
server's new name
type ServersAPIRescueServerRequest ¶
type ServersAPIRescueServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIRescueServerRequest) Execute ¶
func (r ServersAPIRescueServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (ServersAPIRescueServerRequest) RescueServerRequest ¶
func (r ServersAPIRescueServerRequest) RescueServerRequest(rescueServerRequest RescueServerRequest) ServersAPIRescueServerRequest
rescue image info
type ServersAPIResetRootPasswordRequest ¶
type ServersAPIResetRootPasswordRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIResetRootPasswordRequest) Execute ¶
func (r ServersAPIResetRootPasswordRequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIResizeServerRequest ¶
type ServersAPIResizeServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIResizeServerRequest) Execute ¶
func (r ServersAPIResizeServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (ServersAPIResizeServerRequest) ResizeServerRequest ¶
func (r ServersAPIResizeServerRequest) ResizeServerRequest(resizeServerRequest ResizeServerRequest) ServersAPIResizeServerRequest
new flavor info
type ServersAPIResizeServerRootVolumeRequest ¶
type ServersAPIResizeServerRootVolumeRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIResizeServerRootVolumeRequest) Execute ¶
func (r ServersAPIResizeServerRootVolumeRequest) Execute() (*MessageResponse, *http.Response, error)
func (ServersAPIResizeServerRootVolumeRequest) ResizeRootVolumeRequest ¶
func (r ServersAPIResizeServerRootVolumeRequest) ResizeRootVolumeRequest(resizeRootVolumeRequest ResizeRootVolumeRequest) ServersAPIResizeServerRootVolumeRequest
New root volume size
type ServersAPIService ¶
type ServersAPIService service
ServersAPIService ServersAPI service
func (*ServersAPIService) AddServerPublicIP ¶
func (a *ServersAPIService) AddServerPublicIP(ctx context.Context, region string, id string) ServersAPIAddServerPublicIPRequest
AddServerPublicIP Method for AddServerPublicIP
Add a new public ip to the server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIAddServerPublicIPRequest
func (*ServersAPIService) AddServerPublicIPExecute ¶
func (a *ServersAPIService) AddServerPublicIPExecute(r ServersAPIAddServerPublicIPRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) AttachServerRootVolume ¶
func (a *ServersAPIService) AttachServerRootVolume(ctx context.Context, region string, id string) ServersAPIAttachServerRootVolumeRequest
AttachServerRootVolume Method for AttachServerRootVolume
Attaches a volume to a server as its root volume. In order to do this, the volume MUST be bootable and detached
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIAttachServerRootVolumeRequest
func (*ServersAPIService) AttachServerRootVolumeExecute ¶
func (a *ServersAPIService) AttachServerRootVolumeExecute(r ServersAPIAttachServerRootVolumeRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) AttachServerToSecurityGroup ¶
func (a *ServersAPIService) AttachServerToSecurityGroup(ctx context.Context, region string, id string) ServersAPIAttachServerToSecurityGroupRequest
AttachServerToSecurityGroup Method for AttachServerToSecurityGroup
Attach a security group(firewall) to the server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIAttachServerToSecurityGroupRequest
func (*ServersAPIService) AttachServerToSecurityGroupExecute ¶
func (a *ServersAPIService) AttachServerToSecurityGroupExecute(r ServersAPIAttachServerToSecurityGroupRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) CreateServer ¶
func (a *ServersAPIService) CreateServer(ctx context.Context, region string) ServersAPICreateServerRequest
CreateServer Method for CreateServer
Creates a server in specified region
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ServersAPICreateServerRequest
func (*ServersAPIService) CreateServerExecute ¶
func (a *ServersAPIService) CreateServerExecute(r ServersAPICreateServerRequest) (*ServerDetail, *http.Response, error)
Execute executes the request
@return ServerDetail
func (*ServersAPIService) DeleteServer ¶
func (a *ServersAPIService) DeleteServer(ctx context.Context, region string, id string) ServersAPIDeleteServerRequest
DeleteServer Method for DeleteServer
Delete a server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIDeleteServerRequest
func (*ServersAPIService) DeleteServerExecute ¶
func (a *ServersAPIService) DeleteServerExecute(r ServersAPIDeleteServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) DetachServerFromSecurityGroup ¶
func (a *ServersAPIService) DetachServerFromSecurityGroup(ctx context.Context, region string, id string) ServersAPIDetachServerFromSecurityGroupRequest
DetachServerFromSecurityGroup Method for DetachServerFromSecurityGroup
Detaches a server from its security group(firewall)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIDetachServerFromSecurityGroupRequest
func (*ServersAPIService) DetachServerFromSecurityGroupExecute ¶
func (a *ServersAPIService) DetachServerFromSecurityGroupExecute(r ServersAPIDetachServerFromSecurityGroupRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) DetachServerRootVolume ¶
func (a *ServersAPIService) DetachServerRootVolume(ctx context.Context, region string, id string) ServersAPIDetachServerRootVolumeRequest
DetachServerRootVolume Method for DetachServerRootVolume
Detaches server root volume. The server MUST be turned off in order to be detached from its root volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIDetachServerRootVolumeRequest
func (*ServersAPIService) DetachServerRootVolumeExecute ¶
func (a *ServersAPIService) DetachServerRootVolumeExecute(r ServersAPIDetachServerRootVolumeRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) GetAllServers ¶
func (a *ServersAPIService) GetAllServers(ctx context.Context, region string) ServersAPIGetAllServersRequest
GetAllServers Method for GetAllServers
Lists all user's servers in specified region
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ServersAPIGetAllServersRequest
func (*ServersAPIService) GetAllServersExecute ¶
func (a *ServersAPIService) GetAllServersExecute(r ServersAPIGetAllServersRequest) (*ServerDetail, *http.Response, error)
Execute executes the request
@return ServerDetail
func (*ServersAPIService) GetDeleteReasons ¶
func (a *ServersAPIService) GetDeleteReasons(ctx context.Context, region string) ServersAPIGetDeleteReasonsRequest
GetDeleteReasons Method for GetDeleteReasons
Get all delete reasons for server deletion. The response ids will be used in server deletion API endpoint
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ServersAPIGetDeleteReasonsRequest
func (*ServersAPIService) GetDeleteReasonsExecute ¶
func (a *ServersAPIService) GetDeleteReasonsExecute(r ServersAPIGetDeleteReasonsRequest) (*DeleteServerReasons, *http.Response, error)
Execute executes the request
@return DeleteServerReasons
func (*ServersAPIService) GetRegionServerCreationOptions ¶
func (a *ServersAPIService) GetRegionServerCreationOptions(ctx context.Context, region string) ServersAPIGetRegionServerCreationOptionsRequest
GetRegionServerCreationOptions Method for GetRegionServerCreationOptions
Returns info about the server creation options in the specified region
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return ServersAPIGetRegionServerCreationOptionsRequest
func (*ServersAPIService) GetRegionServerCreationOptionsExecute ¶
func (a *ServersAPIService) GetRegionServerCreationOptionsExecute(r ServersAPIGetRegionServerCreationOptionsRequest) (*RegionServerCreateOptions, *http.Response, error)
Execute executes the request
@return RegionServerCreateOptions
func (*ServersAPIService) GetServerAvailableActions ¶
func (a *ServersAPIService) GetServerAvailableActions(ctx context.Context, region string, id string) ServersAPIGetServerAvailableActionsRequest
GetServerAvailableActions Method for GetServerAvailableActions
Returns a list of actions which are permitted to be applied on the server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIGetServerAvailableActionsRequest
func (*ServersAPIService) GetServerAvailableActionsExecute ¶
func (a *ServersAPIService) GetServerAvailableActionsExecute(r ServersAPIGetServerAvailableActionsRequest) (*GetServerActionsResponse, *http.Response, error)
Execute executes the request
@return GetServerActionsResponse
func (*ServersAPIService) GetServerDetails ¶
func (a *ServersAPIService) GetServerDetails(ctx context.Context, region string, id string) ServersAPIGetServerDetailsRequest
GetServerDetails Method for GetServerDetails
Get a server details by its ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIGetServerDetailsRequest
func (*ServersAPIService) GetServerDetailsExecute ¶
func (a *ServersAPIService) GetServerDetailsExecute(r ServersAPIGetServerDetailsRequest) (*ServerDetail, *http.Response, error)
Execute executes the request
@return ServerDetail
func (*ServersAPIService) GetServerVNC ¶
func (a *ServersAPIService) GetServerVNC(ctx context.Context, region string, id string) ServersAPIGetServerVNCRequest
GetServerVNC Method for GetServerVNC
Returns a noVNC url which can be used to interact with server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIGetServerVNCRequest
func (*ServersAPIService) GetServerVNCExecute ¶
func (a *ServersAPIService) GetServerVNCExecute(r ServersAPIGetServerVNCRequest) (*GetServerVNCRequest, *http.Response, error)
Execute executes the request
@return GetServerVNCRequest
func (*ServersAPIService) HardRebootServer ¶
func (a *ServersAPIService) HardRebootServer(ctx context.Context, region string, id string) ServersAPIHardRebootServerRequest
HardRebootServer Method for HardRebootServer
Restart server, this operation might cause data loss
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIHardRebootServerRequest
func (*ServersAPIService) HardRebootServerExecute ¶
func (a *ServersAPIService) HardRebootServerExecute(r ServersAPIHardRebootServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) PowerOffServer ¶
func (a *ServersAPIService) PowerOffServer(ctx context.Context, region string, id string) ServersAPIPowerOffServerRequest
PowerOffServer Method for PowerOffServer
Power-Off the specified server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIPowerOffServerRequest
func (*ServersAPIService) PowerOffServerExecute ¶
func (a *ServersAPIService) PowerOffServerExecute(r ServersAPIPowerOffServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) PowerOnServer ¶
func (a *ServersAPIService) PowerOnServer(ctx context.Context, region string, id string) ServersAPIPowerOnServerRequest
PowerOnServer Method for PowerOnServer
Turns on the specified server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIPowerOnServerRequest
func (*ServersAPIService) PowerOnServerExecute ¶
func (a *ServersAPIService) PowerOnServerExecute(r ServersAPIPowerOnServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) RebootServer ¶
func (a *ServersAPIService) RebootServer(ctx context.Context, region string, id string) ServersAPIRebootServerRequest
RebootServer Method for RebootServer
Reboot server gracefully
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIRebootServerRequest
func (*ServersAPIService) RebootServerExecute ¶
func (a *ServersAPIService) RebootServerExecute(r ServersAPIRebootServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) RebuildServer ¶
func (a *ServersAPIService) RebuildServer(ctx context.Context, region string, id string) ServersAPIRebuildServerRequest
RebuildServer Method for RebuildServer
Rebuild server based on a new image
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIRebuildServerRequest
func (*ServersAPIService) RebuildServerExecute ¶
func (a *ServersAPIService) RebuildServerExecute(r ServersAPIRebuildServerRequest) (*ServerDetail, *http.Response, error)
Execute executes the request
@return ServerDetail
func (*ServersAPIService) RenameServer ¶
func (a *ServersAPIService) RenameServer(ctx context.Context, region string, id string) ServersAPIRenameServerRequest
RenameServer Method for RenameServer
Change server's display name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIRenameServerRequest
func (*ServersAPIService) RenameServerExecute ¶
func (a *ServersAPIService) RenameServerExecute(r ServersAPIRenameServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) RescueServer ¶
func (a *ServersAPIService) RescueServer(ctx context.Context, region string, id string) ServersAPIRescueServerRequest
RescueServer Method for RescueServer
Restart server and boot into rescue mode
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIRescueServerRequest
func (*ServersAPIService) RescueServerExecute ¶
func (a *ServersAPIService) RescueServerExecute(r ServersAPIRescueServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) ResetRootPassword ¶
func (a *ServersAPIService) ResetRootPassword(ctx context.Context, region string, id string) ServersAPIResetRootPasswordRequest
ResetRootPassword Method for ResetRootPassword
Reset linux based server's root password
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIResetRootPasswordRequest
func (*ServersAPIService) ResetRootPasswordExecute ¶
func (a *ServersAPIService) ResetRootPasswordExecute(r ServersAPIResetRootPasswordRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) ResizeServer ¶
func (a *ServersAPIService) ResizeServer(ctx context.Context, region string, id string) ServersAPIResizeServerRequest
ResizeServer Method for ResizeServer
Change server's flavor
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIResizeServerRequest
func (*ServersAPIService) ResizeServerExecute ¶
func (a *ServersAPIService) ResizeServerExecute(r ServersAPIResizeServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) ResizeServerRootVolume ¶
func (a *ServersAPIService) ResizeServerRootVolume(ctx context.Context, region string, id string) ServersAPIResizeServerRootVolumeRequest
ResizeServerRootVolume Method for ResizeServerRootVolume
Resizes server root volume without changing its flavor
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIResizeServerRootVolumeRequest
func (*ServersAPIService) ResizeServerRootVolumeExecute ¶
func (a *ServersAPIService) ResizeServerRootVolumeExecute(r ServersAPIResizeServerRootVolumeRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) TakeServerSnapshot ¶
func (a *ServersAPIService) TakeServerSnapshot(ctx context.Context, region string, id string) ServersAPITakeServerSnapshotRequest
TakeServerSnapshot Method for TakeServerSnapshot
Makes a snapshot from server's root volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPITakeServerSnapshotRequest
func (*ServersAPIService) TakeServerSnapshotExecute ¶
func (a *ServersAPIService) TakeServerSnapshotExecute(r ServersAPITakeServerSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) ToggleInstanceHA ¶
func (a *ServersAPIService) ToggleInstanceHA(ctx context.Context, region string, id string, action string) ServersAPIToggleInstanceHARequest
ToggleInstanceHA Method for ToggleInstanceHA
Enables HA(Esfandiar eyes) Feature on server. This makes sure that servers are not affected from compute failures
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @param action action on the feature, either `enable` or `disable` @return ServersAPIToggleInstanceHARequest
func (*ServersAPIService) ToggleInstanceHAExecute ¶
func (a *ServersAPIService) ToggleInstanceHAExecute(r ServersAPIToggleInstanceHARequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*ServersAPIService) UnrescueServer ¶
func (a *ServersAPIService) UnrescueServer(ctx context.Context, region string, id string) ServersAPIUnrescueServerRequest
UnrescueServer Method for UnrescueServer
Restart server from rescue mode into normal mode
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server id @return ServersAPIUnrescueServerRequest
func (*ServersAPIService) UnrescueServerExecute ¶
func (a *ServersAPIService) UnrescueServerExecute(r ServersAPIUnrescueServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type ServersAPITakeServerSnapshotRequest ¶
type ServersAPITakeServerSnapshotRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPITakeServerSnapshotRequest) Execute ¶
func (r ServersAPITakeServerSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
func (ServersAPITakeServerSnapshotRequest) Payload ¶
func (r ServersAPITakeServerSnapshotRequest) Payload(payload SnapshotCreateRequest) ServersAPITakeServerSnapshotRequest
snapshot info
type ServersAPIToggleInstanceHARequest ¶
type ServersAPIToggleInstanceHARequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIToggleInstanceHARequest) Execute ¶
func (r ServersAPIToggleInstanceHARequest) Execute() (*MessageResponse, *http.Response, error)
type ServersAPIUnrescueServerRequest ¶
type ServersAPIUnrescueServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ServersAPIUnrescueServerRequest) Execute ¶
func (r ServersAPIUnrescueServerRequest) Execute() (*MessageResponse, *http.Response, error)
type SinglePlan ¶
type SinglePlan struct { BandwidthInBytes *int64 `json:"bandwidth_in_bytes,omitempty"` BasePackage *string `json:"base_package,omitempty"` CpuCount *int64 `json:"cpu_count,omitempty"` CreateType *string `json:"create_type,omitempty"` Disk *int64 `json:"disk,omitempty"` Id *string `json:"id,omitempty"` IopsMaxHdd *int64 `json:"iops_max_hdd,omitempty"` IopsMaxSsd *int64 `json:"iops_max_ssd,omitempty"` Memory *float64 `json:"memory,omitempty"` Name *string `json:"name,omitempty"` Off *string `json:"off,omitempty"` OffPercent *string `json:"off_percent,omitempty"` PortSpeed *float64 `json:"port_speed,omitempty"` Pps []int64 `json:"pps,omitempty"` PricePerHour *int64 `json:"price_per_hour,omitempty"` PricePerMonth *int64 `json:"price_per_month,omitempty"` Subtype *string `json:"subtype,omitempty"` Swap *string `json:"swap,omitempty"` Throughput *int64 `json:"throughput,omitempty"` Type *string `json:"type,omitempty"` }
SinglePlan struct for SinglePlan
func NewSinglePlan ¶
func NewSinglePlan() *SinglePlan
NewSinglePlan instantiates a new SinglePlan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSinglePlanWithDefaults ¶
func NewSinglePlanWithDefaults() *SinglePlan
NewSinglePlanWithDefaults instantiates a new SinglePlan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SinglePlan) GetBandwidthInBytes ¶
func (o *SinglePlan) GetBandwidthInBytes() int64
GetBandwidthInBytes returns the BandwidthInBytes field value if set, zero value otherwise.
func (*SinglePlan) GetBandwidthInBytesOk ¶
func (o *SinglePlan) GetBandwidthInBytesOk() (*int64, bool)
GetBandwidthInBytesOk returns a tuple with the BandwidthInBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetBasePackage ¶
func (o *SinglePlan) GetBasePackage() string
GetBasePackage returns the BasePackage field value if set, zero value otherwise.
func (*SinglePlan) GetBasePackageOk ¶
func (o *SinglePlan) GetBasePackageOk() (*string, bool)
GetBasePackageOk returns a tuple with the BasePackage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetCpuCount ¶
func (o *SinglePlan) GetCpuCount() int64
GetCpuCount returns the CpuCount field value if set, zero value otherwise.
func (*SinglePlan) GetCpuCountOk ¶
func (o *SinglePlan) GetCpuCountOk() (*int64, bool)
GetCpuCountOk returns a tuple with the CpuCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetCpuShare ¶
func (o *SinglePlan) GetCpuShare() string
GetCpuShare returns the CpuShare field value if set, zero value otherwise.
func (*SinglePlan) GetCpuShareOk ¶
func (o *SinglePlan) GetCpuShareOk() (*string, bool)
GetCpuShareOk returns a tuple with the CpuShare field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetCreateType ¶
func (o *SinglePlan) GetCreateType() string
GetCreateType returns the CreateType field value if set, zero value otherwise.
func (*SinglePlan) GetCreateTypeOk ¶
func (o *SinglePlan) GetCreateTypeOk() (*string, bool)
GetCreateTypeOk returns a tuple with the CreateType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetDisk ¶
func (o *SinglePlan) GetDisk() int64
GetDisk returns the Disk field value if set, zero value otherwise.
func (*SinglePlan) GetDiskOk ¶
func (o *SinglePlan) GetDiskOk() (*int64, bool)
GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetId ¶
func (o *SinglePlan) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SinglePlan) GetIdOk ¶
func (o *SinglePlan) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetIopsMaxHdd ¶
func (o *SinglePlan) GetIopsMaxHdd() int64
GetIopsMaxHdd returns the IopsMaxHdd field value if set, zero value otherwise.
func (*SinglePlan) GetIopsMaxHddOk ¶
func (o *SinglePlan) GetIopsMaxHddOk() (*int64, bool)
GetIopsMaxHddOk returns a tuple with the IopsMaxHdd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetIopsMaxSsd ¶
func (o *SinglePlan) GetIopsMaxSsd() int64
GetIopsMaxSsd returns the IopsMaxSsd field value if set, zero value otherwise.
func (*SinglePlan) GetIopsMaxSsdOk ¶
func (o *SinglePlan) GetIopsMaxSsdOk() (*int64, bool)
GetIopsMaxSsdOk returns a tuple with the IopsMaxSsd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetMemory ¶
func (o *SinglePlan) GetMemory() float64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*SinglePlan) GetMemoryOk ¶
func (o *SinglePlan) GetMemoryOk() (*float64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetName ¶
func (o *SinglePlan) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SinglePlan) GetNameOk ¶
func (o *SinglePlan) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetOff ¶
func (o *SinglePlan) GetOff() string
GetOff returns the Off field value if set, zero value otherwise.
func (*SinglePlan) GetOffOk ¶
func (o *SinglePlan) GetOffOk() (*string, bool)
GetOffOk returns a tuple with the Off field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetOffPercent ¶
func (o *SinglePlan) GetOffPercent() string
GetOffPercent returns the OffPercent field value if set, zero value otherwise.
func (*SinglePlan) GetOffPercentOk ¶
func (o *SinglePlan) GetOffPercentOk() (*string, bool)
GetOffPercentOk returns a tuple with the OffPercent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetPortSpeed ¶
func (o *SinglePlan) GetPortSpeed() float64
GetPortSpeed returns the PortSpeed field value if set, zero value otherwise.
func (*SinglePlan) GetPortSpeedOk ¶
func (o *SinglePlan) GetPortSpeedOk() (*float64, bool)
GetPortSpeedOk returns a tuple with the PortSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetPps ¶
func (o *SinglePlan) GetPps() []int64
GetPps returns the Pps field value if set, zero value otherwise.
func (*SinglePlan) GetPpsOk ¶
func (o *SinglePlan) GetPpsOk() ([]int64, bool)
GetPpsOk returns a tuple with the Pps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetPricePerHour ¶
func (o *SinglePlan) GetPricePerHour() int64
GetPricePerHour returns the PricePerHour field value if set, zero value otherwise.
func (*SinglePlan) GetPricePerHourOk ¶
func (o *SinglePlan) GetPricePerHourOk() (*int64, bool)
GetPricePerHourOk returns a tuple with the PricePerHour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetPricePerMonth ¶
func (o *SinglePlan) GetPricePerMonth() int64
GetPricePerMonth returns the PricePerMonth field value if set, zero value otherwise.
func (*SinglePlan) GetPricePerMonthOk ¶
func (o *SinglePlan) GetPricePerMonthOk() (*int64, bool)
GetPricePerMonthOk returns a tuple with the PricePerMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetSubtype ¶
func (o *SinglePlan) GetSubtype() string
GetSubtype returns the Subtype field value if set, zero value otherwise.
func (*SinglePlan) GetSubtypeOk ¶
func (o *SinglePlan) GetSubtypeOk() (*string, bool)
GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetSwap ¶
func (o *SinglePlan) GetSwap() string
GetSwap returns the Swap field value if set, zero value otherwise.
func (*SinglePlan) GetSwapOk ¶
func (o *SinglePlan) GetSwapOk() (*string, bool)
GetSwapOk returns a tuple with the Swap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetThroughput ¶
func (o *SinglePlan) GetThroughput() int64
GetThroughput returns the Throughput field value if set, zero value otherwise.
func (*SinglePlan) GetThroughputOk ¶
func (o *SinglePlan) GetThroughputOk() (*int64, bool)
GetThroughputOk returns a tuple with the Throughput field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) GetType ¶
func (o *SinglePlan) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SinglePlan) GetTypeOk ¶
func (o *SinglePlan) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SinglePlan) HasBandwidthInBytes ¶
func (o *SinglePlan) HasBandwidthInBytes() bool
HasBandwidthInBytes returns a boolean if a field has been set.
func (*SinglePlan) HasBasePackage ¶
func (o *SinglePlan) HasBasePackage() bool
HasBasePackage returns a boolean if a field has been set.
func (*SinglePlan) HasCpuCount ¶
func (o *SinglePlan) HasCpuCount() bool
HasCpuCount returns a boolean if a field has been set.
func (*SinglePlan) HasCpuShare ¶
func (o *SinglePlan) HasCpuShare() bool
HasCpuShare returns a boolean if a field has been set.
func (*SinglePlan) HasCreateType ¶
func (o *SinglePlan) HasCreateType() bool
HasCreateType returns a boolean if a field has been set.
func (*SinglePlan) HasDisk ¶
func (o *SinglePlan) HasDisk() bool
HasDisk returns a boolean if a field has been set.
func (*SinglePlan) HasId ¶
func (o *SinglePlan) HasId() bool
HasId returns a boolean if a field has been set.
func (*SinglePlan) HasIopsMaxHdd ¶
func (o *SinglePlan) HasIopsMaxHdd() bool
HasIopsMaxHdd returns a boolean if a field has been set.
func (*SinglePlan) HasIopsMaxSsd ¶
func (o *SinglePlan) HasIopsMaxSsd() bool
HasIopsMaxSsd returns a boolean if a field has been set.
func (*SinglePlan) HasMemory ¶
func (o *SinglePlan) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*SinglePlan) HasName ¶
func (o *SinglePlan) HasName() bool
HasName returns a boolean if a field has been set.
func (*SinglePlan) HasOff ¶
func (o *SinglePlan) HasOff() bool
HasOff returns a boolean if a field has been set.
func (*SinglePlan) HasOffPercent ¶
func (o *SinglePlan) HasOffPercent() bool
HasOffPercent returns a boolean if a field has been set.
func (*SinglePlan) HasPortSpeed ¶
func (o *SinglePlan) HasPortSpeed() bool
HasPortSpeed returns a boolean if a field has been set.
func (*SinglePlan) HasPps ¶
func (o *SinglePlan) HasPps() bool
HasPps returns a boolean if a field has been set.
func (*SinglePlan) HasPricePerHour ¶
func (o *SinglePlan) HasPricePerHour() bool
HasPricePerHour returns a boolean if a field has been set.
func (*SinglePlan) HasPricePerMonth ¶
func (o *SinglePlan) HasPricePerMonth() bool
HasPricePerMonth returns a boolean if a field has been set.
func (*SinglePlan) HasSubtype ¶
func (o *SinglePlan) HasSubtype() bool
HasSubtype returns a boolean if a field has been set.
func (*SinglePlan) HasSwap ¶
func (o *SinglePlan) HasSwap() bool
HasSwap returns a boolean if a field has been set.
func (*SinglePlan) HasThroughput ¶
func (o *SinglePlan) HasThroughput() bool
HasThroughput returns a boolean if a field has been set.
func (*SinglePlan) HasType ¶
func (o *SinglePlan) HasType() bool
HasType returns a boolean if a field has been set.
func (SinglePlan) MarshalJSON ¶
func (o SinglePlan) MarshalJSON() ([]byte, error)
func (*SinglePlan) SetBandwidthInBytes ¶
func (o *SinglePlan) SetBandwidthInBytes(v int64)
SetBandwidthInBytes gets a reference to the given int64 and assigns it to the BandwidthInBytes field.
func (*SinglePlan) SetBasePackage ¶
func (o *SinglePlan) SetBasePackage(v string)
SetBasePackage gets a reference to the given string and assigns it to the BasePackage field.
func (*SinglePlan) SetCpuCount ¶
func (o *SinglePlan) SetCpuCount(v int64)
SetCpuCount gets a reference to the given int64 and assigns it to the CpuCount field.
func (*SinglePlan) SetCpuShare ¶
func (o *SinglePlan) SetCpuShare(v string)
SetCpuShare gets a reference to the given string and assigns it to the CpuShare field.
func (*SinglePlan) SetCreateType ¶
func (o *SinglePlan) SetCreateType(v string)
SetCreateType gets a reference to the given string and assigns it to the CreateType field.
func (*SinglePlan) SetDisk ¶
func (o *SinglePlan) SetDisk(v int64)
SetDisk gets a reference to the given int64 and assigns it to the Disk field.
func (*SinglePlan) SetId ¶
func (o *SinglePlan) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SinglePlan) SetIopsMaxHdd ¶
func (o *SinglePlan) SetIopsMaxHdd(v int64)
SetIopsMaxHdd gets a reference to the given int64 and assigns it to the IopsMaxHdd field.
func (*SinglePlan) SetIopsMaxSsd ¶
func (o *SinglePlan) SetIopsMaxSsd(v int64)
SetIopsMaxSsd gets a reference to the given int64 and assigns it to the IopsMaxSsd field.
func (*SinglePlan) SetMemory ¶
func (o *SinglePlan) SetMemory(v float64)
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*SinglePlan) SetName ¶
func (o *SinglePlan) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SinglePlan) SetOff ¶
func (o *SinglePlan) SetOff(v string)
SetOff gets a reference to the given string and assigns it to the Off field.
func (*SinglePlan) SetOffPercent ¶
func (o *SinglePlan) SetOffPercent(v string)
SetOffPercent gets a reference to the given string and assigns it to the OffPercent field.
func (*SinglePlan) SetPortSpeed ¶
func (o *SinglePlan) SetPortSpeed(v float64)
SetPortSpeed gets a reference to the given float64 and assigns it to the PortSpeed field.
func (*SinglePlan) SetPps ¶
func (o *SinglePlan) SetPps(v []int64)
SetPps gets a reference to the given []int64 and assigns it to the Pps field.
func (*SinglePlan) SetPricePerHour ¶
func (o *SinglePlan) SetPricePerHour(v int64)
SetPricePerHour gets a reference to the given int64 and assigns it to the PricePerHour field.
func (*SinglePlan) SetPricePerMonth ¶
func (o *SinglePlan) SetPricePerMonth(v int64)
SetPricePerMonth gets a reference to the given int64 and assigns it to the PricePerMonth field.
func (*SinglePlan) SetSubtype ¶
func (o *SinglePlan) SetSubtype(v string)
SetSubtype gets a reference to the given string and assigns it to the Subtype field.
func (*SinglePlan) SetSwap ¶
func (o *SinglePlan) SetSwap(v string)
SetSwap gets a reference to the given string and assigns it to the Swap field.
func (*SinglePlan) SetThroughput ¶
func (o *SinglePlan) SetThroughput(v int64)
SetThroughput gets a reference to the given int64 and assigns it to the Throughput field.
func (*SinglePlan) SetType ¶
func (o *SinglePlan) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (SinglePlan) ToMap ¶
func (o SinglePlan) ToMap() (map[string]interface{}, error)
type SnapshotCreateRequest ¶
type SnapshotCreateRequest struct {
Name *string `json:"name,omitempty"`
}
SnapshotCreateRequest struct for SnapshotCreateRequest
func NewSnapshotCreateRequest ¶
func NewSnapshotCreateRequest() *SnapshotCreateRequest
NewSnapshotCreateRequest instantiates a new SnapshotCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSnapshotCreateRequestWithDefaults ¶
func NewSnapshotCreateRequestWithDefaults() *SnapshotCreateRequest
NewSnapshotCreateRequestWithDefaults instantiates a new SnapshotCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SnapshotCreateRequest) GetName ¶
func (o *SnapshotCreateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SnapshotCreateRequest) GetNameOk ¶
func (o *SnapshotCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotCreateRequest) HasName ¶
func (o *SnapshotCreateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (SnapshotCreateRequest) MarshalJSON ¶
func (o SnapshotCreateRequest) MarshalJSON() ([]byte, error)
func (*SnapshotCreateRequest) SetName ¶
func (o *SnapshotCreateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (SnapshotCreateRequest) ToMap ¶
func (o SnapshotCreateRequest) ToMap() (map[string]interface{}, error)
type SnapshotsAPICreateImageFromSnapshotRequest ¶
type SnapshotsAPICreateImageFromSnapshotRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPICreateImageFromSnapshotRequest) CreateVolumeFromSnapshotRequest ¶
func (r SnapshotsAPICreateImageFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) SnapshotsAPICreateImageFromSnapshotRequest
snapshot info to be reverted
func (SnapshotsAPICreateImageFromSnapshotRequest) Execute ¶
func (r SnapshotsAPICreateImageFromSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
type SnapshotsAPICreateSnapshotFromServerRequest ¶
type SnapshotsAPICreateSnapshotFromServerRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPICreateSnapshotFromServerRequest) CreateSnapshotFromVolumeRequest ¶
func (r SnapshotsAPICreateSnapshotFromServerRequest) CreateSnapshotFromVolumeRequest(createSnapshotFromVolumeRequest CreateSnapshotFromVolumeRequest) SnapshotsAPICreateSnapshotFromServerRequest
info about the snapshot to be created
func (SnapshotsAPICreateSnapshotFromServerRequest) Execute ¶
func (r SnapshotsAPICreateSnapshotFromServerRequest) Execute() (*MessageResponse, *http.Response, error)
type SnapshotsAPICreateSnapshotFromVolumeRequest ¶
type SnapshotsAPICreateSnapshotFromVolumeRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPICreateSnapshotFromVolumeRequest) CreateSnapshotFromVolumeRequest ¶
func (r SnapshotsAPICreateSnapshotFromVolumeRequest) CreateSnapshotFromVolumeRequest(createSnapshotFromVolumeRequest CreateSnapshotFromVolumeRequest) SnapshotsAPICreateSnapshotFromVolumeRequest
info about the snapshot to be created
func (SnapshotsAPICreateSnapshotFromVolumeRequest) Execute ¶
func (r SnapshotsAPICreateSnapshotFromVolumeRequest) Execute() (*MessageResponse, *http.Response, error)
type SnapshotsAPICreateVolumeFromSnapshotRequest ¶
type SnapshotsAPICreateVolumeFromSnapshotRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest ¶
func (r SnapshotsAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) SnapshotsAPICreateVolumeFromSnapshotRequest
snapshot info to be reverted
func (SnapshotsAPICreateVolumeFromSnapshotRequest) Execute ¶
func (r SnapshotsAPICreateVolumeFromSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
type SnapshotsAPIDeleteSnapshotRequest ¶
type SnapshotsAPIDeleteSnapshotRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPIDeleteSnapshotRequest) Execute ¶
func (r SnapshotsAPIDeleteSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
type SnapshotsAPIGetAllSnapshotsRequest ¶
type SnapshotsAPIGetAllSnapshotsRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPIGetAllSnapshotsRequest) Execute ¶
func (r SnapshotsAPIGetAllSnapshotsRequest) Execute() (*VolumeSnapshot, *http.Response, error)
type SnapshotsAPIRevertSnapshotRequest ¶
type SnapshotsAPIRevertSnapshotRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPIRevertSnapshotRequest) Execute ¶
func (r SnapshotsAPIRevertSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
func (SnapshotsAPIRevertSnapshotRequest) RevertSnapshotRequest ¶
func (r SnapshotsAPIRevertSnapshotRequest) RevertSnapshotRequest(revertSnapshotRequest RevertSnapshotRequest) SnapshotsAPIRevertSnapshotRequest
snapshot info to be reverted
type SnapshotsAPIService ¶
type SnapshotsAPIService service
SnapshotsAPIService SnapshotsAPI service
func (*SnapshotsAPIService) CreateImageFromSnapshot ¶
func (a *SnapshotsAPIService) CreateImageFromSnapshot(ctx context.Context, region string, id string) SnapshotsAPICreateImageFromSnapshotRequest
CreateImageFromSnapshot Method for CreateImageFromSnapshot
Creates an image as a `Personal OS` from snapshot. Note this method is deprecated, use `Volumes/CreateOSVolumeFromSnapshot`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return SnapshotsAPICreateImageFromSnapshotRequest
func (*SnapshotsAPIService) CreateImageFromSnapshotExecute ¶
func (a *SnapshotsAPIService) CreateImageFromSnapshotExecute(r SnapshotsAPICreateImageFromSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SnapshotsAPIService) CreateSnapshotFromServer ¶
func (a *SnapshotsAPIService) CreateSnapshotFromServer(ctx context.Context, region string, id string) SnapshotsAPICreateSnapshotFromServerRequest
CreateSnapshotFromServer Method for CreateSnapshotFromServer
Creates a snapshot from server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id volume id @return SnapshotsAPICreateSnapshotFromServerRequest
func (*SnapshotsAPIService) CreateSnapshotFromServerExecute ¶
func (a *SnapshotsAPIService) CreateSnapshotFromServerExecute(r SnapshotsAPICreateSnapshotFromServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SnapshotsAPIService) CreateSnapshotFromVolume ¶
func (a *SnapshotsAPIService) CreateSnapshotFromVolume(ctx context.Context, region string, id string) SnapshotsAPICreateSnapshotFromVolumeRequest
CreateSnapshotFromVolume Method for CreateSnapshotFromVolume
Creates a snapshot from volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id volume id @return SnapshotsAPICreateSnapshotFromVolumeRequest
func (*SnapshotsAPIService) CreateSnapshotFromVolumeExecute ¶
func (a *SnapshotsAPIService) CreateSnapshotFromVolumeExecute(r SnapshotsAPICreateSnapshotFromVolumeRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SnapshotsAPIService) CreateVolumeFromSnapshot ¶
func (a *SnapshotsAPIService) CreateVolumeFromSnapshot(ctx context.Context, region string, id string) SnapshotsAPICreateVolumeFromSnapshotRequest
CreateVolumeFromSnapshot Method for CreateVolumeFromSnapshot
Creates a volume from snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return SnapshotsAPICreateVolumeFromSnapshotRequest
func (*SnapshotsAPIService) CreateVolumeFromSnapshotExecute ¶
func (a *SnapshotsAPIService) CreateVolumeFromSnapshotExecute(r SnapshotsAPICreateVolumeFromSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SnapshotsAPIService) DeleteSnapshot ¶
func (a *SnapshotsAPIService) DeleteSnapshot(ctx context.Context, region string, id string) SnapshotsAPIDeleteSnapshotRequest
DeleteSnapshot Method for DeleteSnapshot
Deletes a snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return SnapshotsAPIDeleteSnapshotRequest
func (*SnapshotsAPIService) DeleteSnapshotExecute ¶
func (a *SnapshotsAPIService) DeleteSnapshotExecute(r SnapshotsAPIDeleteSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SnapshotsAPIService) GetAllSnapshots ¶
func (a *SnapshotsAPIService) GetAllSnapshots(ctx context.Context, region string) SnapshotsAPIGetAllSnapshotsRequest
GetAllSnapshots Method for GetAllSnapshots
Returns all user's snapshots
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SnapshotsAPIGetAllSnapshotsRequest
func (*SnapshotsAPIService) GetAllSnapshotsExecute ¶
func (a *SnapshotsAPIService) GetAllSnapshotsExecute(r SnapshotsAPIGetAllSnapshotsRequest) (*VolumeSnapshot, *http.Response, error)
Execute executes the request
@return VolumeSnapshot
func (*SnapshotsAPIService) RevertSnapshot ¶
func (a *SnapshotsAPIService) RevertSnapshot(ctx context.Context, region string, id string) SnapshotsAPIRevertSnapshotRequest
RevertSnapshot Method for RevertSnapshot
Reverts a volume or server to its snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id server or volume id which the snapshot belongs to @return SnapshotsAPIRevertSnapshotRequest
func (*SnapshotsAPIService) RevertSnapshotExecute ¶
func (a *SnapshotsAPIService) RevertSnapshotExecute(r SnapshotsAPIRevertSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SnapshotsAPIService) UpdateSnapshot ¶
func (a *SnapshotsAPIService) UpdateSnapshot(ctx context.Context, region string, id string) SnapshotsAPIUpdateSnapshotRequest
UpdateSnapshot Method for UpdateSnapshot
Updates snapshot info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return SnapshotsAPIUpdateSnapshotRequest
func (*SnapshotsAPIService) UpdateSnapshotExecute ¶
func (a *SnapshotsAPIService) UpdateSnapshotExecute(r SnapshotsAPIUpdateSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type SnapshotsAPIUpdateSnapshotRequest ¶
type SnapshotsAPIUpdateSnapshotRequest struct { ApiService *SnapshotsAPIService // contains filtered or unexported fields }
func (SnapshotsAPIUpdateSnapshotRequest) Execute ¶
func (r SnapshotsAPIUpdateSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
func (SnapshotsAPIUpdateSnapshotRequest) UpdateVolumeSnapshotRequest ¶
func (r SnapshotsAPIUpdateSnapshotRequest) UpdateVolumeSnapshotRequest(updateVolumeSnapshotRequest UpdateVolumeSnapshotRequest) SnapshotsAPIUpdateSnapshotRequest
new info for volume snapshot
type Subnet ¶
type Subnet struct { // Sub-ranges of CIDR available for dynamic allocation to ports. See AllocationPool. AllocationPools []AllocationPool `json:"allocation_pools,omitempty"` // CIDR representing IP range for this subnet, based on IP version. Cidr *string `json:"cidr,omitempty"` // Description for the subnet. Description *string `json:"description,omitempty"` // DNS name servers used by hosts in this subnet. DnsNameservers []string `json:"dns_nameservers,omitempty"` // Specifies whether DHCP is enabled for this subnet or not. EnableDhcp *bool `json:"enable_dhcp,omitempty"` // Default gateway used by devices in this subnet. GatewayIp *string `json:"gateway_ip,omitempty"` // Routes that should be used by devices with IPs from this subnet (not including local subnet route). HostRoutes []HostRoute `json:"host_routes,omitempty"` Id *string `json:"id,omitempty"` // IP version, either `4' or `6'. IpVersion *string `json:"ip_version,omitempty"` // The IPv6 address modes specifies mechanisms for assigning IPv6 IP addresses. Ipv6AddressMode *string `json:"ipv6_address_mode,omitempty"` // The IPv6 router advertisement specifies whether the networking service should transmit ICMPv6 packets. Ipv6RaMode *string `json:"ipv6_ra_mode,omitempty"` // Human-readable name for the subnet. Might not be unique. Name *string `json:"name,omitempty"` // UUID of the parent network. NetworkId *string `json:"network_id,omitempty"` // ProjectID is the project owner of the subnet. ProjectId *string `json:"project_id,omitempty"` RevisionNumber *int64 `json:"revision_number,omitempty"` Servers []NetworkServer `json:"servers,omitempty"` ServiceTypes []string `json:"service_types,omitempty"` // SubnetPoolID is the id of the subnet pool associated with the subnet. SubnetpoolId *string `json:"subnetpool_id,omitempty"` Tags []string `json:"tags,omitempty"` // TenantID is the project owner of the subnet. TenantId *string `json:"tenant_id,omitempty"` }
Subnet struct for Subnet
func NewSubnet ¶
func NewSubnet() *Subnet
NewSubnet instantiates a new Subnet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubnetWithDefaults ¶
func NewSubnetWithDefaults() *Subnet
NewSubnetWithDefaults instantiates a new Subnet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Subnet) GetAllocationPools ¶
func (o *Subnet) GetAllocationPools() []AllocationPool
GetAllocationPools returns the AllocationPools field value if set, zero value otherwise.
func (*Subnet) GetAllocationPoolsOk ¶
func (o *Subnet) GetAllocationPoolsOk() ([]AllocationPool, bool)
GetAllocationPoolsOk returns a tuple with the AllocationPools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetCidrOk ¶
GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Subnet) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetDnsNameservers ¶
GetDnsNameservers returns the DnsNameservers field value if set, zero value otherwise.
func (*Subnet) GetDnsNameserversOk ¶
GetDnsNameserversOk returns a tuple with the DnsNameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetEnableDhcp ¶
GetEnableDhcp returns the EnableDhcp field value if set, zero value otherwise.
func (*Subnet) GetEnableDhcpOk ¶
GetEnableDhcpOk returns a tuple with the EnableDhcp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetGatewayIp ¶
GetGatewayIp returns the GatewayIp field value if set, zero value otherwise.
func (*Subnet) GetGatewayIpOk ¶
GetGatewayIpOk returns a tuple with the GatewayIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetHostRoutes ¶
GetHostRoutes returns the HostRoutes field value if set, zero value otherwise.
func (*Subnet) GetHostRoutesOk ¶
GetHostRoutesOk returns a tuple with the HostRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetIpVersion ¶
GetIpVersion returns the IpVersion field value if set, zero value otherwise.
func (*Subnet) GetIpVersionOk ¶
GetIpVersionOk returns a tuple with the IpVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetIpv6AddressMode ¶
GetIpv6AddressMode returns the Ipv6AddressMode field value if set, zero value otherwise.
func (*Subnet) GetIpv6AddressModeOk ¶
GetIpv6AddressModeOk returns a tuple with the Ipv6AddressMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetIpv6RaMode ¶
GetIpv6RaMode returns the Ipv6RaMode field value if set, zero value otherwise.
func (*Subnet) GetIpv6RaModeOk ¶
GetIpv6RaModeOk returns a tuple with the Ipv6RaMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetNetworkId ¶
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*Subnet) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetProjectId ¶
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*Subnet) GetProjectIdOk ¶
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetRevisionNumber ¶
GetRevisionNumber returns the RevisionNumber field value if set, zero value otherwise.
func (*Subnet) GetRevisionNumberOk ¶
GetRevisionNumberOk returns a tuple with the RevisionNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetServers ¶
func (o *Subnet) GetServers() []NetworkServer
GetServers returns the Servers field value if set, zero value otherwise.
func (*Subnet) GetServersOk ¶
func (o *Subnet) GetServersOk() ([]NetworkServer, bool)
GetServersOk returns a tuple with the Servers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetServiceTypes ¶
GetServiceTypes returns the ServiceTypes field value if set, zero value otherwise.
func (*Subnet) GetServiceTypesOk ¶
GetServiceTypesOk returns a tuple with the ServiceTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetSubnetpoolId ¶
GetSubnetpoolId returns the SubnetpoolId field value if set, zero value otherwise.
func (*Subnet) GetSubnetpoolIdOk ¶
GetSubnetpoolIdOk returns a tuple with the SubnetpoolId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) GetTenantId ¶
GetTenantId returns the TenantId field value if set, zero value otherwise.
func (*Subnet) GetTenantIdOk ¶
GetTenantIdOk returns a tuple with the TenantId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Subnet) HasAllocationPools ¶
HasAllocationPools returns a boolean if a field has been set.
func (*Subnet) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Subnet) HasDnsNameservers ¶
HasDnsNameservers returns a boolean if a field has been set.
func (*Subnet) HasEnableDhcp ¶
HasEnableDhcp returns a boolean if a field has been set.
func (*Subnet) HasGatewayIp ¶
HasGatewayIp returns a boolean if a field has been set.
func (*Subnet) HasHostRoutes ¶
HasHostRoutes returns a boolean if a field has been set.
func (*Subnet) HasIpVersion ¶
HasIpVersion returns a boolean if a field has been set.
func (*Subnet) HasIpv6AddressMode ¶
HasIpv6AddressMode returns a boolean if a field has been set.
func (*Subnet) HasIpv6RaMode ¶
HasIpv6RaMode returns a boolean if a field has been set.
func (*Subnet) HasNetworkId ¶
HasNetworkId returns a boolean if a field has been set.
func (*Subnet) HasProjectId ¶
HasProjectId returns a boolean if a field has been set.
func (*Subnet) HasRevisionNumber ¶
HasRevisionNumber returns a boolean if a field has been set.
func (*Subnet) HasServers ¶
HasServers returns a boolean if a field has been set.
func (*Subnet) HasServiceTypes ¶
HasServiceTypes returns a boolean if a field has been set.
func (*Subnet) HasSubnetpoolId ¶
HasSubnetpoolId returns a boolean if a field has been set.
func (*Subnet) HasTenantId ¶
HasTenantId returns a boolean if a field has been set.
func (Subnet) MarshalJSON ¶
func (*Subnet) SetAllocationPools ¶
func (o *Subnet) SetAllocationPools(v []AllocationPool)
SetAllocationPools gets a reference to the given []AllocationPool and assigns it to the AllocationPools field.
func (*Subnet) SetCidr ¶
SetCidr gets a reference to the given string and assigns it to the Cidr field.
func (*Subnet) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Subnet) SetDnsNameservers ¶
SetDnsNameservers gets a reference to the given []string and assigns it to the DnsNameservers field.
func (*Subnet) SetEnableDhcp ¶
SetEnableDhcp gets a reference to the given bool and assigns it to the EnableDhcp field.
func (*Subnet) SetGatewayIp ¶
SetGatewayIp gets a reference to the given string and assigns it to the GatewayIp field.
func (*Subnet) SetHostRoutes ¶
SetHostRoutes gets a reference to the given []HostRoute and assigns it to the HostRoutes field.
func (*Subnet) SetIpVersion ¶
SetIpVersion gets a reference to the given string and assigns it to the IpVersion field.
func (*Subnet) SetIpv6AddressMode ¶
SetIpv6AddressMode gets a reference to the given string and assigns it to the Ipv6AddressMode field.
func (*Subnet) SetIpv6RaMode ¶
SetIpv6RaMode gets a reference to the given string and assigns it to the Ipv6RaMode field.
func (*Subnet) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Subnet) SetNetworkId ¶
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*Subnet) SetProjectId ¶
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*Subnet) SetRevisionNumber ¶
SetRevisionNumber gets a reference to the given int64 and assigns it to the RevisionNumber field.
func (*Subnet) SetServers ¶
func (o *Subnet) SetServers(v []NetworkServer)
SetServers gets a reference to the given []NetworkServer and assigns it to the Servers field.
func (*Subnet) SetServiceTypes ¶
SetServiceTypes gets a reference to the given []string and assigns it to the ServiceTypes field.
func (*Subnet) SetSubnetpoolId ¶
SetSubnetpoolId gets a reference to the given string and assigns it to the SubnetpoolId field.
func (*Subnet) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Subnet) SetTenantId ¶
SetTenantId gets a reference to the given string and assigns it to the TenantId field.
type SubnetsAPICreatePrivateNetworkRequest ¶
type SubnetsAPICreatePrivateNetworkRequest struct { ApiService *SubnetsAPIService // contains filtered or unexported fields }
func (SubnetsAPICreatePrivateNetworkRequest) CreatePrivateNetworkRequest ¶
func (r SubnetsAPICreatePrivateNetworkRequest) CreatePrivateNetworkRequest(createPrivateNetworkRequest CreatePrivateNetworkRequest) SubnetsAPICreatePrivateNetworkRequest
info about new private network to be created
func (SubnetsAPICreatePrivateNetworkRequest) Execute ¶
func (r SubnetsAPICreatePrivateNetworkRequest) Execute() (*MessageResponse, *http.Response, error)
type SubnetsAPIDeletePrivateNetworkRequest ¶
type SubnetsAPIDeletePrivateNetworkRequest struct { ApiService *SubnetsAPIService // contains filtered or unexported fields }
func (SubnetsAPIDeletePrivateNetworkRequest) Execute ¶
func (r SubnetsAPIDeletePrivateNetworkRequest) Execute() (*MessageResponse, *http.Response, error)
type SubnetsAPIGetPrivateNetworkRequest ¶
type SubnetsAPIGetPrivateNetworkRequest struct { ApiService *SubnetsAPIService // contains filtered or unexported fields }
func (SubnetsAPIGetPrivateNetworkRequest) Execute ¶
func (r SubnetsAPIGetPrivateNetworkRequest) Execute() (*MessageResponse, *http.Response, error)
type SubnetsAPIService ¶
type SubnetsAPIService service
SubnetsAPIService SubnetsAPI service
func (*SubnetsAPIService) CreatePrivateNetwork ¶
func (a *SubnetsAPIService) CreatePrivateNetwork(ctx context.Context, region string) SubnetsAPICreatePrivateNetworkRequest
CreatePrivateNetwork Method for CreatePrivateNetwork
Creates a private network
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SubnetsAPICreatePrivateNetworkRequest
func (*SubnetsAPIService) CreatePrivateNetworkExecute ¶
func (a *SubnetsAPIService) CreatePrivateNetworkExecute(r SubnetsAPICreatePrivateNetworkRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SubnetsAPIService) DeletePrivateNetwork ¶
func (a *SubnetsAPIService) DeletePrivateNetwork(ctx context.Context, region string, id string) SubnetsAPIDeletePrivateNetworkRequest
DeletePrivateNetwork Method for DeletePrivateNetwork
Deletes a private network
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id private network id @return SubnetsAPIDeletePrivateNetworkRequest
func (*SubnetsAPIService) DeletePrivateNetworkExecute ¶
func (a *SubnetsAPIService) DeletePrivateNetworkExecute(r SubnetsAPIDeletePrivateNetworkRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SubnetsAPIService) GetPrivateNetwork ¶
func (a *SubnetsAPIService) GetPrivateNetwork(ctx context.Context, region string, id string) SubnetsAPIGetPrivateNetworkRequest
GetPrivateNetwork Method for GetPrivateNetwork
Deletes a private network
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id private network id @return SubnetsAPIGetPrivateNetworkRequest
func (*SubnetsAPIService) GetPrivateNetworkExecute ¶
func (a *SubnetsAPIService) GetPrivateNetworkExecute(r SubnetsAPIGetPrivateNetworkRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*SubnetsAPIService) UpdatePrivateNetwork ¶
func (a *SubnetsAPIService) UpdatePrivateNetwork(ctx context.Context, region string) SubnetsAPIUpdatePrivateNetworkRequest
UpdatePrivateNetwork Method for UpdatePrivateNetwork
Updates a private network info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return SubnetsAPIUpdatePrivateNetworkRequest
func (*SubnetsAPIService) UpdatePrivateNetworkExecute ¶
func (a *SubnetsAPIService) UpdatePrivateNetworkExecute(r SubnetsAPIUpdatePrivateNetworkRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type SubnetsAPIUpdatePrivateNetworkRequest ¶
type SubnetsAPIUpdatePrivateNetworkRequest struct { ApiService *SubnetsAPIService // contains filtered or unexported fields }
func (SubnetsAPIUpdatePrivateNetworkRequest) CreatePrivateNetworkRequest ¶
func (r SubnetsAPIUpdatePrivateNetworkRequest) CreatePrivateNetworkRequest(createPrivateNetworkRequest CreatePrivateNetworkRequest) SubnetsAPIUpdatePrivateNetworkRequest
id and info of the private network to be updated
func (SubnetsAPIUpdatePrivateNetworkRequest) Execute ¶
func (r SubnetsAPIUpdatePrivateNetworkRequest) Execute() (*MessageResponse, *http.Response, error)
type Tag ¶
Tag struct for Tag
func NewTag ¶
func NewTag() *Tag
NewTag instantiates a new Tag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTagWithDefaults ¶
func NewTagWithDefaults() *Tag
NewTagWithDefaults instantiates a new Tag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Tag) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tag) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (Tag) MarshalJSON ¶
type TagsAPIAttachTagRequest ¶
type TagsAPIAttachTagRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (TagsAPIAttachTagRequest) AttachTagRequest ¶
func (r TagsAPIAttachTagRequest) AttachTagRequest(attachTagRequest AttachTagRequest) TagsAPIAttachTagRequest
instance info
func (TagsAPIAttachTagRequest) Execute ¶
func (r TagsAPIAttachTagRequest) Execute() (*MessageResponse, *http.Response, error)
type TagsAPICreateTagRequest ¶
type TagsAPICreateTagRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (TagsAPICreateTagRequest) CreateTagRequest ¶
func (r TagsAPICreateTagRequest) CreateTagRequest(createTagRequest CreateTagRequest) TagsAPICreateTagRequest
tag name
func (TagsAPICreateTagRequest) Execute ¶
func (r TagsAPICreateTagRequest) Execute() (*MessageResponse, *http.Response, error)
type TagsAPIDeleteTagRequest ¶
type TagsAPIDeleteTagRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (TagsAPIDeleteTagRequest) Execute ¶
func (r TagsAPIDeleteTagRequest) Execute() (*MessageResponse, *http.Response, error)
type TagsAPIDetachTagRequest ¶
type TagsAPIDetachTagRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (TagsAPIDetachTagRequest) DetachTagRequest ¶
func (r TagsAPIDetachTagRequest) DetachTagRequest(detachTagRequest DetachTagRequest) TagsAPIDetachTagRequest
instance info
func (TagsAPIDetachTagRequest) Execute ¶
func (r TagsAPIDetachTagRequest) Execute() (*MessageResponse, *http.Response, error)
type TagsAPIGetAllUserTagsRequest ¶
type TagsAPIGetAllUserTagsRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
type TagsAPIService ¶
type TagsAPIService service
TagsAPIService TagsAPI service
func (*TagsAPIService) AttachTag ¶
func (a *TagsAPIService) AttachTag(ctx context.Context, region string, id string) TagsAPIAttachTagRequest
AttachTag Method for AttachTag
Attach tag to an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id tag id @return TagsAPIAttachTagRequest
func (*TagsAPIService) AttachTagExecute ¶
func (a *TagsAPIService) AttachTagExecute(r TagsAPIAttachTagRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*TagsAPIService) CreateTag ¶
func (a *TagsAPIService) CreateTag(ctx context.Context, region string) TagsAPICreateTagRequest
CreateTag Method for CreateTag
Add a new tag
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return TagsAPICreateTagRequest
func (*TagsAPIService) CreateTagExecute ¶
func (a *TagsAPIService) CreateTagExecute(r TagsAPICreateTagRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*TagsAPIService) DeleteTag ¶
func (a *TagsAPIService) DeleteTag(ctx context.Context, region string, id string) TagsAPIDeleteTagRequest
DeleteTag Method for DeleteTag
Delete a tag
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id tag id @return TagsAPIDeleteTagRequest
func (*TagsAPIService) DeleteTagExecute ¶
func (a *TagsAPIService) DeleteTagExecute(r TagsAPIDeleteTagRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*TagsAPIService) DetachTag ¶
func (a *TagsAPIService) DetachTag(ctx context.Context, region string, id string) TagsAPIDetachTagRequest
DetachTag Method for DetachTag
Detaches a tag from its attached instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id tag id @return TagsAPIDetachTagRequest
func (*TagsAPIService) DetachTagExecute ¶
func (a *TagsAPIService) DetachTagExecute(r TagsAPIDetachTagRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*TagsAPIService) GetAllUserTags ¶
func (a *TagsAPIService) GetAllUserTags(ctx context.Context, region string) TagsAPIGetAllUserTagsRequest
GetAllUserTags Method for GetAllUserTags
Returns all user's tags
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return TagsAPIGetAllUserTagsRequest
func (*TagsAPIService) GetAllUserTagsExecute ¶
func (a *TagsAPIService) GetAllUserTagsExecute(r TagsAPIGetAllUserTagsRequest) (*Tag, *http.Response, error)
Execute executes the request
@return Tag
func (*TagsAPIService) TagMultipleInstances ¶
func (a *TagsAPIService) TagMultipleInstances(ctx context.Context, region string) TagsAPITagMultipleInstancesRequest
TagMultipleInstances Method for TagMultipleInstances
Tags multiple instances in batch mode
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return TagsAPITagMultipleInstancesRequest
func (*TagsAPIService) TagMultipleInstancesExecute ¶
func (a *TagsAPIService) TagMultipleInstancesExecute(r TagsAPITagMultipleInstancesRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*TagsAPIService) UpdateTag ¶
func (a *TagsAPIService) UpdateTag(ctx context.Context, region string, id string) TagsAPIUpdateTagRequest
UpdateTag Method for UpdateTag
Update a tag
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id tag id @return TagsAPIUpdateTagRequest
func (*TagsAPIService) UpdateTagExecute ¶
func (a *TagsAPIService) UpdateTagExecute(r TagsAPIUpdateTagRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type TagsAPITagMultipleInstancesRequest ¶
type TagsAPITagMultipleInstancesRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (TagsAPITagMultipleInstancesRequest) BatchTagRequest ¶
func (r TagsAPITagMultipleInstancesRequest) BatchTagRequest(batchTagRequest BatchTagRequest) TagsAPITagMultipleInstancesRequest
tag name
func (TagsAPITagMultipleInstancesRequest) Execute ¶
func (r TagsAPITagMultipleInstancesRequest) Execute() (*MessageResponse, *http.Response, error)
type TagsAPIUpdateTagRequest ¶
type TagsAPIUpdateTagRequest struct { ApiService *TagsAPIService // contains filtered or unexported fields }
func (TagsAPIUpdateTagRequest) Execute ¶
func (r TagsAPIUpdateTagRequest) Execute() (*MessageResponse, *http.Response, error)
func (TagsAPIUpdateTagRequest) UpdateTagRequest ¶
func (r TagsAPIUpdateTagRequest) UpdateTagRequest(updateTagRequest UpdateTagRequest) TagsAPIUpdateTagRequest
tag update info
type UpdateTagRequest ¶
type UpdateTagRequest struct {
TagName *string `json:"tag_name,omitempty"`
}
UpdateTagRequest struct for UpdateTagRequest
func NewUpdateTagRequest ¶
func NewUpdateTagRequest() *UpdateTagRequest
NewUpdateTagRequest instantiates a new UpdateTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateTagRequestWithDefaults ¶
func NewUpdateTagRequestWithDefaults() *UpdateTagRequest
NewUpdateTagRequestWithDefaults instantiates a new UpdateTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateTagRequest) GetTagName ¶
func (o *UpdateTagRequest) GetTagName() string
GetTagName returns the TagName field value if set, zero value otherwise.
func (*UpdateTagRequest) GetTagNameOk ¶
func (o *UpdateTagRequest) GetTagNameOk() (*string, bool)
GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateTagRequest) HasTagName ¶
func (o *UpdateTagRequest) HasTagName() bool
HasTagName returns a boolean if a field has been set.
func (UpdateTagRequest) MarshalJSON ¶
func (o UpdateTagRequest) MarshalJSON() ([]byte, error)
func (*UpdateTagRequest) SetTagName ¶
func (o *UpdateTagRequest) SetTagName(v string)
SetTagName gets a reference to the given string and assigns it to the TagName field.
func (UpdateTagRequest) ToMap ¶
func (o UpdateTagRequest) ToMap() (map[string]interface{}, error)
type UpdateVolumeRequest ¶
type UpdateVolumeRequest struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
UpdateVolumeRequest struct for UpdateVolumeRequest
func NewUpdateVolumeRequest ¶
func NewUpdateVolumeRequest() *UpdateVolumeRequest
NewUpdateVolumeRequest instantiates a new UpdateVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateVolumeRequestWithDefaults ¶
func NewUpdateVolumeRequestWithDefaults() *UpdateVolumeRequest
NewUpdateVolumeRequestWithDefaults instantiates a new UpdateVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateVolumeRequest) GetDescription ¶
func (o *UpdateVolumeRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateVolumeRequest) GetDescriptionOk ¶
func (o *UpdateVolumeRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeRequest) GetName ¶
func (o *UpdateVolumeRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateVolumeRequest) GetNameOk ¶
func (o *UpdateVolumeRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeRequest) HasDescription ¶
func (o *UpdateVolumeRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateVolumeRequest) HasName ¶
func (o *UpdateVolumeRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateVolumeRequest) MarshalJSON ¶
func (o UpdateVolumeRequest) MarshalJSON() ([]byte, error)
func (*UpdateVolumeRequest) SetDescription ¶
func (o *UpdateVolumeRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateVolumeRequest) SetName ¶
func (o *UpdateVolumeRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateVolumeRequest) ToMap ¶
func (o UpdateVolumeRequest) ToMap() (map[string]interface{}, error)
type UpdateVolumeSnapshotRequest ¶
type UpdateVolumeSnapshotRequest struct { Description *string `json:"description,omitempty"` InstanceName *string `json:"instance_name,omitempty"` Name *string `json:"name,omitempty"` VolumeName *string `json:"volume_name,omitempty"` }
UpdateVolumeSnapshotRequest struct for UpdateVolumeSnapshotRequest
func NewUpdateVolumeSnapshotRequest ¶
func NewUpdateVolumeSnapshotRequest() *UpdateVolumeSnapshotRequest
NewUpdateVolumeSnapshotRequest instantiates a new UpdateVolumeSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateVolumeSnapshotRequestWithDefaults ¶
func NewUpdateVolumeSnapshotRequestWithDefaults() *UpdateVolumeSnapshotRequest
NewUpdateVolumeSnapshotRequestWithDefaults instantiates a new UpdateVolumeSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateVolumeSnapshotRequest) GetDescription ¶
func (o *UpdateVolumeSnapshotRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateVolumeSnapshotRequest) GetDescriptionOk ¶
func (o *UpdateVolumeSnapshotRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeSnapshotRequest) GetInstanceName ¶
func (o *UpdateVolumeSnapshotRequest) GetInstanceName() string
GetInstanceName returns the InstanceName field value if set, zero value otherwise.
func (*UpdateVolumeSnapshotRequest) GetInstanceNameOk ¶
func (o *UpdateVolumeSnapshotRequest) GetInstanceNameOk() (*string, bool)
GetInstanceNameOk returns a tuple with the InstanceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeSnapshotRequest) GetName ¶
func (o *UpdateVolumeSnapshotRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateVolumeSnapshotRequest) GetNameOk ¶
func (o *UpdateVolumeSnapshotRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeSnapshotRequest) GetVolumeName ¶
func (o *UpdateVolumeSnapshotRequest) GetVolumeName() string
GetVolumeName returns the VolumeName field value if set, zero value otherwise.
func (*UpdateVolumeSnapshotRequest) GetVolumeNameOk ¶
func (o *UpdateVolumeSnapshotRequest) GetVolumeNameOk() (*string, bool)
GetVolumeNameOk returns a tuple with the VolumeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeSnapshotRequest) HasDescription ¶
func (o *UpdateVolumeSnapshotRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateVolumeSnapshotRequest) HasInstanceName ¶
func (o *UpdateVolumeSnapshotRequest) HasInstanceName() bool
HasInstanceName returns a boolean if a field has been set.
func (*UpdateVolumeSnapshotRequest) HasName ¶
func (o *UpdateVolumeSnapshotRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateVolumeSnapshotRequest) HasVolumeName ¶
func (o *UpdateVolumeSnapshotRequest) HasVolumeName() bool
HasVolumeName returns a boolean if a field has been set.
func (UpdateVolumeSnapshotRequest) MarshalJSON ¶
func (o UpdateVolumeSnapshotRequest) MarshalJSON() ([]byte, error)
func (*UpdateVolumeSnapshotRequest) SetDescription ¶
func (o *UpdateVolumeSnapshotRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateVolumeSnapshotRequest) SetInstanceName ¶
func (o *UpdateVolumeSnapshotRequest) SetInstanceName(v string)
SetInstanceName gets a reference to the given string and assigns it to the InstanceName field.
func (*UpdateVolumeSnapshotRequest) SetName ¶
func (o *UpdateVolumeSnapshotRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateVolumeSnapshotRequest) SetVolumeName ¶
func (o *UpdateVolumeSnapshotRequest) SetVolumeName(v string)
SetVolumeName gets a reference to the given string and assigns it to the VolumeName field.
func (UpdateVolumeSnapshotRequest) ToMap ¶
func (o UpdateVolumeSnapshotRequest) ToMap() (map[string]interface{}, error)
type Volume ¶
type Volume struct { Attachments []Attachment `json:"attachments,omitempty"` Bootable *string `json:"bootable,omitempty"` CreatedAt *string `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Size *int32 `json:"size,omitempty"` SnapshotId *string `json:"snapshot_id,omitempty"` SourceVolumeId *string `json:"source_volume_id,omitempty"` Status *string `json:"status,omitempty"` VolumeTypeName *string `json:"volume_type_name,omitempty"` }
Volume struct for Volume
func NewVolume ¶
func NewVolume() *Volume
NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Volume) GetAttachments ¶
func (o *Volume) GetAttachments() []Attachment
GetAttachments returns the Attachments field value if set, zero value otherwise.
func (*Volume) GetAttachmentsOk ¶
func (o *Volume) GetAttachmentsOk() ([]Attachment, bool)
GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBootable ¶
GetBootable returns the Bootable field value if set, zero value otherwise.
func (*Volume) GetBootableOk ¶
GetBootableOk returns a tuple with the Bootable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Volume) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Volume) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetSnapshotId ¶
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*Volume) GetSnapshotIdOk ¶
GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetSourceVolumeId ¶
GetSourceVolumeId returns the SourceVolumeId field value if set, zero value otherwise.
func (*Volume) GetSourceVolumeIdOk ¶
GetSourceVolumeIdOk returns a tuple with the SourceVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetVolumeTypeName ¶
GetVolumeTypeName returns the VolumeTypeName field value if set, zero value otherwise.
func (*Volume) GetVolumeTypeNameOk ¶
GetVolumeTypeNameOk returns a tuple with the VolumeTypeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) HasAttachments ¶
HasAttachments returns a boolean if a field has been set.
func (*Volume) HasBootable ¶
HasBootable returns a boolean if a field has been set.
func (*Volume) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Volume) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Volume) HasSnapshotId ¶
HasSnapshotId returns a boolean if a field has been set.
func (*Volume) HasSourceVolumeId ¶
HasSourceVolumeId returns a boolean if a field has been set.
func (*Volume) HasVolumeTypeName ¶
HasVolumeTypeName returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetAttachments ¶
func (o *Volume) SetAttachments(v []Attachment)
SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.
func (*Volume) SetBootable ¶
SetBootable gets a reference to the given string and assigns it to the Bootable field.
func (*Volume) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Volume) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Volume) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Volume) SetSize ¶
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*Volume) SetSnapshotId ¶
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (*Volume) SetSourceVolumeId ¶
SetSourceVolumeId gets a reference to the given string and assigns it to the SourceVolumeId field.
func (*Volume) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Volume) SetVolumeTypeName ¶
SetVolumeTypeName gets a reference to the given string and assigns it to the VolumeTypeName field.
type VolumeAttachDetachRequest ¶
type VolumeAttachDetachRequest struct { ServerId *string `json:"server_id,omitempty"` VolumeId *string `json:"volume_id,omitempty"` }
VolumeAttachDetachRequest struct for VolumeAttachDetachRequest
func NewVolumeAttachDetachRequest ¶
func NewVolumeAttachDetachRequest() *VolumeAttachDetachRequest
NewVolumeAttachDetachRequest instantiates a new VolumeAttachDetachRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeAttachDetachRequestWithDefaults ¶
func NewVolumeAttachDetachRequestWithDefaults() *VolumeAttachDetachRequest
NewVolumeAttachDetachRequestWithDefaults instantiates a new VolumeAttachDetachRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeAttachDetachRequest) GetServerId ¶
func (o *VolumeAttachDetachRequest) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*VolumeAttachDetachRequest) GetServerIdOk ¶
func (o *VolumeAttachDetachRequest) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeAttachDetachRequest) GetVolumeId ¶
func (o *VolumeAttachDetachRequest) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*VolumeAttachDetachRequest) GetVolumeIdOk ¶
func (o *VolumeAttachDetachRequest) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeAttachDetachRequest) HasServerId ¶
func (o *VolumeAttachDetachRequest) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*VolumeAttachDetachRequest) HasVolumeId ¶
func (o *VolumeAttachDetachRequest) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (VolumeAttachDetachRequest) MarshalJSON ¶
func (o VolumeAttachDetachRequest) MarshalJSON() ([]byte, error)
func (*VolumeAttachDetachRequest) SetServerId ¶
func (o *VolumeAttachDetachRequest) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*VolumeAttachDetachRequest) SetVolumeId ¶
func (o *VolumeAttachDetachRequest) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (VolumeAttachDetachRequest) ToMap ¶
func (o VolumeAttachDetachRequest) ToMap() (map[string]interface{}, error)
type VolumeLimits ¶
type VolumeLimits struct { MaxTotalBackupGigabytes *int32 `json:"max_total_backup_gigabytes,omitempty"` MaxTotalBackups *int32 `json:"max_total_backups,omitempty"` MaxTotalSnapshots *int32 `json:"max_total_snapshots,omitempty"` MaxTotalVolumeGigabytes *int32 `json:"max_total_volume_gigabytes,omitempty"` MaxTotalVolumes *int32 `json:"max_total_volumes,omitempty"` TotalBackupGigabytesUsed *int32 `json:"total_backup_gigabytes_used,omitempty"` TotalBackupsUsed *int32 `json:"total_backups_used,omitempty"` TotalGigabytesUsed *int32 `json:"total_gigabytes_used,omitempty"` TotalSnapshotsUsed *int32 `json:"total_snapshots_used,omitempty"` TotalVolumesUsed *int32 `json:"total_volumes_used,omitempty"` }
VolumeLimits struct for VolumeLimits
func NewVolumeLimits ¶
func NewVolumeLimits() *VolumeLimits
NewVolumeLimits instantiates a new VolumeLimits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeLimitsWithDefaults ¶
func NewVolumeLimitsWithDefaults() *VolumeLimits
NewVolumeLimitsWithDefaults instantiates a new VolumeLimits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeLimits) GetMaxTotalBackupGigabytes ¶
func (o *VolumeLimits) GetMaxTotalBackupGigabytes() int32
GetMaxTotalBackupGigabytes returns the MaxTotalBackupGigabytes field value if set, zero value otherwise.
func (*VolumeLimits) GetMaxTotalBackupGigabytesOk ¶
func (o *VolumeLimits) GetMaxTotalBackupGigabytesOk() (*int32, bool)
GetMaxTotalBackupGigabytesOk returns a tuple with the MaxTotalBackupGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetMaxTotalBackups ¶
func (o *VolumeLimits) GetMaxTotalBackups() int32
GetMaxTotalBackups returns the MaxTotalBackups field value if set, zero value otherwise.
func (*VolumeLimits) GetMaxTotalBackupsOk ¶
func (o *VolumeLimits) GetMaxTotalBackupsOk() (*int32, bool)
GetMaxTotalBackupsOk returns a tuple with the MaxTotalBackups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetMaxTotalSnapshots ¶
func (o *VolumeLimits) GetMaxTotalSnapshots() int32
GetMaxTotalSnapshots returns the MaxTotalSnapshots field value if set, zero value otherwise.
func (*VolumeLimits) GetMaxTotalSnapshotsOk ¶
func (o *VolumeLimits) GetMaxTotalSnapshotsOk() (*int32, bool)
GetMaxTotalSnapshotsOk returns a tuple with the MaxTotalSnapshots field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetMaxTotalVolumeGigabytes ¶
func (o *VolumeLimits) GetMaxTotalVolumeGigabytes() int32
GetMaxTotalVolumeGigabytes returns the MaxTotalVolumeGigabytes field value if set, zero value otherwise.
func (*VolumeLimits) GetMaxTotalVolumeGigabytesOk ¶
func (o *VolumeLimits) GetMaxTotalVolumeGigabytesOk() (*int32, bool)
GetMaxTotalVolumeGigabytesOk returns a tuple with the MaxTotalVolumeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetMaxTotalVolumes ¶
func (o *VolumeLimits) GetMaxTotalVolumes() int32
GetMaxTotalVolumes returns the MaxTotalVolumes field value if set, zero value otherwise.
func (*VolumeLimits) GetMaxTotalVolumesOk ¶
func (o *VolumeLimits) GetMaxTotalVolumesOk() (*int32, bool)
GetMaxTotalVolumesOk returns a tuple with the MaxTotalVolumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetTotalBackupGigabytesUsed ¶
func (o *VolumeLimits) GetTotalBackupGigabytesUsed() int32
GetTotalBackupGigabytesUsed returns the TotalBackupGigabytesUsed field value if set, zero value otherwise.
func (*VolumeLimits) GetTotalBackupGigabytesUsedOk ¶
func (o *VolumeLimits) GetTotalBackupGigabytesUsedOk() (*int32, bool)
GetTotalBackupGigabytesUsedOk returns a tuple with the TotalBackupGigabytesUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetTotalBackupsUsed ¶
func (o *VolumeLimits) GetTotalBackupsUsed() int32
GetTotalBackupsUsed returns the TotalBackupsUsed field value if set, zero value otherwise.
func (*VolumeLimits) GetTotalBackupsUsedOk ¶
func (o *VolumeLimits) GetTotalBackupsUsedOk() (*int32, bool)
GetTotalBackupsUsedOk returns a tuple with the TotalBackupsUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetTotalGigabytesUsed ¶
func (o *VolumeLimits) GetTotalGigabytesUsed() int32
GetTotalGigabytesUsed returns the TotalGigabytesUsed field value if set, zero value otherwise.
func (*VolumeLimits) GetTotalGigabytesUsedOk ¶
func (o *VolumeLimits) GetTotalGigabytesUsedOk() (*int32, bool)
GetTotalGigabytesUsedOk returns a tuple with the TotalGigabytesUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetTotalSnapshotsUsed ¶
func (o *VolumeLimits) GetTotalSnapshotsUsed() int32
GetTotalSnapshotsUsed returns the TotalSnapshotsUsed field value if set, zero value otherwise.
func (*VolumeLimits) GetTotalSnapshotsUsedOk ¶
func (o *VolumeLimits) GetTotalSnapshotsUsedOk() (*int32, bool)
GetTotalSnapshotsUsedOk returns a tuple with the TotalSnapshotsUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) GetTotalVolumesUsed ¶
func (o *VolumeLimits) GetTotalVolumesUsed() int32
GetTotalVolumesUsed returns the TotalVolumesUsed field value if set, zero value otherwise.
func (*VolumeLimits) GetTotalVolumesUsedOk ¶
func (o *VolumeLimits) GetTotalVolumesUsedOk() (*int32, bool)
GetTotalVolumesUsedOk returns a tuple with the TotalVolumesUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeLimits) HasMaxTotalBackupGigabytes ¶
func (o *VolumeLimits) HasMaxTotalBackupGigabytes() bool
HasMaxTotalBackupGigabytes returns a boolean if a field has been set.
func (*VolumeLimits) HasMaxTotalBackups ¶
func (o *VolumeLimits) HasMaxTotalBackups() bool
HasMaxTotalBackups returns a boolean if a field has been set.
func (*VolumeLimits) HasMaxTotalSnapshots ¶
func (o *VolumeLimits) HasMaxTotalSnapshots() bool
HasMaxTotalSnapshots returns a boolean if a field has been set.
func (*VolumeLimits) HasMaxTotalVolumeGigabytes ¶
func (o *VolumeLimits) HasMaxTotalVolumeGigabytes() bool
HasMaxTotalVolumeGigabytes returns a boolean if a field has been set.
func (*VolumeLimits) HasMaxTotalVolumes ¶
func (o *VolumeLimits) HasMaxTotalVolumes() bool
HasMaxTotalVolumes returns a boolean if a field has been set.
func (*VolumeLimits) HasTotalBackupGigabytesUsed ¶
func (o *VolumeLimits) HasTotalBackupGigabytesUsed() bool
HasTotalBackupGigabytesUsed returns a boolean if a field has been set.
func (*VolumeLimits) HasTotalBackupsUsed ¶
func (o *VolumeLimits) HasTotalBackupsUsed() bool
HasTotalBackupsUsed returns a boolean if a field has been set.
func (*VolumeLimits) HasTotalGigabytesUsed ¶
func (o *VolumeLimits) HasTotalGigabytesUsed() bool
HasTotalGigabytesUsed returns a boolean if a field has been set.
func (*VolumeLimits) HasTotalSnapshotsUsed ¶
func (o *VolumeLimits) HasTotalSnapshotsUsed() bool
HasTotalSnapshotsUsed returns a boolean if a field has been set.
func (*VolumeLimits) HasTotalVolumesUsed ¶
func (o *VolumeLimits) HasTotalVolumesUsed() bool
HasTotalVolumesUsed returns a boolean if a field has been set.
func (VolumeLimits) MarshalJSON ¶
func (o VolumeLimits) MarshalJSON() ([]byte, error)
func (*VolumeLimits) SetMaxTotalBackupGigabytes ¶
func (o *VolumeLimits) SetMaxTotalBackupGigabytes(v int32)
SetMaxTotalBackupGigabytes gets a reference to the given int32 and assigns it to the MaxTotalBackupGigabytes field.
func (*VolumeLimits) SetMaxTotalBackups ¶
func (o *VolumeLimits) SetMaxTotalBackups(v int32)
SetMaxTotalBackups gets a reference to the given int32 and assigns it to the MaxTotalBackups field.
func (*VolumeLimits) SetMaxTotalSnapshots ¶
func (o *VolumeLimits) SetMaxTotalSnapshots(v int32)
SetMaxTotalSnapshots gets a reference to the given int32 and assigns it to the MaxTotalSnapshots field.
func (*VolumeLimits) SetMaxTotalVolumeGigabytes ¶
func (o *VolumeLimits) SetMaxTotalVolumeGigabytes(v int32)
SetMaxTotalVolumeGigabytes gets a reference to the given int32 and assigns it to the MaxTotalVolumeGigabytes field.
func (*VolumeLimits) SetMaxTotalVolumes ¶
func (o *VolumeLimits) SetMaxTotalVolumes(v int32)
SetMaxTotalVolumes gets a reference to the given int32 and assigns it to the MaxTotalVolumes field.
func (*VolumeLimits) SetTotalBackupGigabytesUsed ¶
func (o *VolumeLimits) SetTotalBackupGigabytesUsed(v int32)
SetTotalBackupGigabytesUsed gets a reference to the given int32 and assigns it to the TotalBackupGigabytesUsed field.
func (*VolumeLimits) SetTotalBackupsUsed ¶
func (o *VolumeLimits) SetTotalBackupsUsed(v int32)
SetTotalBackupsUsed gets a reference to the given int32 and assigns it to the TotalBackupsUsed field.
func (*VolumeLimits) SetTotalGigabytesUsed ¶
func (o *VolumeLimits) SetTotalGigabytesUsed(v int32)
SetTotalGigabytesUsed gets a reference to the given int32 and assigns it to the TotalGigabytesUsed field.
func (*VolumeLimits) SetTotalSnapshotsUsed ¶
func (o *VolumeLimits) SetTotalSnapshotsUsed(v int32)
SetTotalSnapshotsUsed gets a reference to the given int32 and assigns it to the TotalSnapshotsUsed field.
func (*VolumeLimits) SetTotalVolumesUsed ¶
func (o *VolumeLimits) SetTotalVolumesUsed(v int32)
SetTotalVolumesUsed gets a reference to the given int32 and assigns it to the TotalVolumesUsed field.
func (VolumeLimits) ToMap ¶
func (o VolumeLimits) ToMap() (map[string]interface{}, error)
type VolumeOptions ¶
type VolumeOptions struct { IopsPerGig *IOPSAndThroughput `json:"iops_per_gig,omitempty"` IopsSecMax *MaxIOPSAndThroughput `json:"iops_sec_max,omitempty"` ThroughputKbPerGig *IOPSAndThroughput `json:"throughput_kb_per_gig,omitempty"` ThroughputSecMax *MaxIOPSAndThroughput `json:"throughput_sec_max,omitempty"` ThroughputSecMin *IOPSAndThroughput `json:"throughput_sec_min,omitempty"` }
VolumeOptions struct for VolumeOptions
func NewVolumeOptions ¶
func NewVolumeOptions() *VolumeOptions
NewVolumeOptions instantiates a new VolumeOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeOptionsWithDefaults ¶
func NewVolumeOptionsWithDefaults() *VolumeOptions
NewVolumeOptionsWithDefaults instantiates a new VolumeOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeOptions) GetIopsPerGig ¶
func (o *VolumeOptions) GetIopsPerGig() IOPSAndThroughput
GetIopsPerGig returns the IopsPerGig field value if set, zero value otherwise.
func (*VolumeOptions) GetIopsPerGigOk ¶
func (o *VolumeOptions) GetIopsPerGigOk() (*IOPSAndThroughput, bool)
GetIopsPerGigOk returns a tuple with the IopsPerGig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeOptions) GetIopsSecMax ¶
func (o *VolumeOptions) GetIopsSecMax() MaxIOPSAndThroughput
GetIopsSecMax returns the IopsSecMax field value if set, zero value otherwise.
func (*VolumeOptions) GetIopsSecMaxOk ¶
func (o *VolumeOptions) GetIopsSecMaxOk() (*MaxIOPSAndThroughput, bool)
GetIopsSecMaxOk returns a tuple with the IopsSecMax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeOptions) GetThroughputKbPerGig ¶
func (o *VolumeOptions) GetThroughputKbPerGig() IOPSAndThroughput
GetThroughputKbPerGig returns the ThroughputKbPerGig field value if set, zero value otherwise.
func (*VolumeOptions) GetThroughputKbPerGigOk ¶
func (o *VolumeOptions) GetThroughputKbPerGigOk() (*IOPSAndThroughput, bool)
GetThroughputKbPerGigOk returns a tuple with the ThroughputKbPerGig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeOptions) GetThroughputSecMax ¶
func (o *VolumeOptions) GetThroughputSecMax() MaxIOPSAndThroughput
GetThroughputSecMax returns the ThroughputSecMax field value if set, zero value otherwise.
func (*VolumeOptions) GetThroughputSecMaxOk ¶
func (o *VolumeOptions) GetThroughputSecMaxOk() (*MaxIOPSAndThroughput, bool)
GetThroughputSecMaxOk returns a tuple with the ThroughputSecMax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeOptions) GetThroughputSecMin ¶
func (o *VolumeOptions) GetThroughputSecMin() IOPSAndThroughput
GetThroughputSecMin returns the ThroughputSecMin field value if set, zero value otherwise.
func (*VolumeOptions) GetThroughputSecMinOk ¶
func (o *VolumeOptions) GetThroughputSecMinOk() (*IOPSAndThroughput, bool)
GetThroughputSecMinOk returns a tuple with the ThroughputSecMin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeOptions) HasIopsPerGig ¶
func (o *VolumeOptions) HasIopsPerGig() bool
HasIopsPerGig returns a boolean if a field has been set.
func (*VolumeOptions) HasIopsSecMax ¶
func (o *VolumeOptions) HasIopsSecMax() bool
HasIopsSecMax returns a boolean if a field has been set.
func (*VolumeOptions) HasThroughputKbPerGig ¶
func (o *VolumeOptions) HasThroughputKbPerGig() bool
HasThroughputKbPerGig returns a boolean if a field has been set.
func (*VolumeOptions) HasThroughputSecMax ¶
func (o *VolumeOptions) HasThroughputSecMax() bool
HasThroughputSecMax returns a boolean if a field has been set.
func (*VolumeOptions) HasThroughputSecMin ¶
func (o *VolumeOptions) HasThroughputSecMin() bool
HasThroughputSecMin returns a boolean if a field has been set.
func (VolumeOptions) MarshalJSON ¶
func (o VolumeOptions) MarshalJSON() ([]byte, error)
func (*VolumeOptions) SetIopsPerGig ¶
func (o *VolumeOptions) SetIopsPerGig(v IOPSAndThroughput)
SetIopsPerGig gets a reference to the given IOPSAndThroughput and assigns it to the IopsPerGig field.
func (*VolumeOptions) SetIopsSecMax ¶
func (o *VolumeOptions) SetIopsSecMax(v MaxIOPSAndThroughput)
SetIopsSecMax gets a reference to the given MaxIOPSAndThroughput and assigns it to the IopsSecMax field.
func (*VolumeOptions) SetThroughputKbPerGig ¶
func (o *VolumeOptions) SetThroughputKbPerGig(v IOPSAndThroughput)
SetThroughputKbPerGig gets a reference to the given IOPSAndThroughput and assigns it to the ThroughputKbPerGig field.
func (*VolumeOptions) SetThroughputSecMax ¶
func (o *VolumeOptions) SetThroughputSecMax(v MaxIOPSAndThroughput)
SetThroughputSecMax gets a reference to the given MaxIOPSAndThroughput and assigns it to the ThroughputSecMax field.
func (*VolumeOptions) SetThroughputSecMin ¶
func (o *VolumeOptions) SetThroughputSecMin(v IOPSAndThroughput)
SetThroughputSecMin gets a reference to the given IOPSAndThroughput and assigns it to the ThroughputSecMin field.
func (VolumeOptions) ToMap ¶
func (o VolumeOptions) ToMap() (map[string]interface{}, error)
type VolumeSnapshot ¶
type VolumeSnapshot struct { CreatedAt *string `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` ImageId *string `json:"image_id,omitempty"` Name *string `json:"name,omitempty"` RealSize *int64 `json:"real_size,omitempty"` RealSizeStatus *bool `json:"real_size_status,omitempty"` RevertedOn *string `json:"reverted_on,omitempty"` ServerId *string `json:"server_id,omitempty"` ServerName *string `json:"server_name,omitempty"` Size *int32 `json:"size,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` VolumeId *string `json:"volume_id,omitempty"` VolumeName *string `json:"volume_name,omitempty"` }
VolumeSnapshot struct for VolumeSnapshot
func NewVolumeSnapshot ¶
func NewVolumeSnapshot() *VolumeSnapshot
NewVolumeSnapshot instantiates a new VolumeSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeSnapshotWithDefaults ¶
func NewVolumeSnapshotWithDefaults() *VolumeSnapshot
NewVolumeSnapshotWithDefaults instantiates a new VolumeSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeSnapshot) GetCreatedAt ¶
func (o *VolumeSnapshot) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*VolumeSnapshot) GetCreatedAtOk ¶
func (o *VolumeSnapshot) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetDescription ¶
func (o *VolumeSnapshot) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VolumeSnapshot) GetDescriptionOk ¶
func (o *VolumeSnapshot) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetId ¶
func (o *VolumeSnapshot) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VolumeSnapshot) GetIdOk ¶
func (o *VolumeSnapshot) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetImageId ¶
func (o *VolumeSnapshot) GetImageId() string
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*VolumeSnapshot) GetImageIdOk ¶
func (o *VolumeSnapshot) GetImageIdOk() (*string, bool)
GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetName ¶
func (o *VolumeSnapshot) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VolumeSnapshot) GetNameOk ¶
func (o *VolumeSnapshot) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetRealSize ¶
func (o *VolumeSnapshot) GetRealSize() int64
GetRealSize returns the RealSize field value if set, zero value otherwise.
func (*VolumeSnapshot) GetRealSizeOk ¶
func (o *VolumeSnapshot) GetRealSizeOk() (*int64, bool)
GetRealSizeOk returns a tuple with the RealSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetRealSizeStatus ¶
func (o *VolumeSnapshot) GetRealSizeStatus() bool
GetRealSizeStatus returns the RealSizeStatus field value if set, zero value otherwise.
func (*VolumeSnapshot) GetRealSizeStatusOk ¶
func (o *VolumeSnapshot) GetRealSizeStatusOk() (*bool, bool)
GetRealSizeStatusOk returns a tuple with the RealSizeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetRevertedOn ¶
func (o *VolumeSnapshot) GetRevertedOn() string
GetRevertedOn returns the RevertedOn field value if set, zero value otherwise.
func (*VolumeSnapshot) GetRevertedOnOk ¶
func (o *VolumeSnapshot) GetRevertedOnOk() (*string, bool)
GetRevertedOnOk returns a tuple with the RevertedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetServerId ¶
func (o *VolumeSnapshot) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*VolumeSnapshot) GetServerIdOk ¶
func (o *VolumeSnapshot) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetServerName ¶
func (o *VolumeSnapshot) GetServerName() string
GetServerName returns the ServerName field value if set, zero value otherwise.
func (*VolumeSnapshot) GetServerNameOk ¶
func (o *VolumeSnapshot) GetServerNameOk() (*string, bool)
GetServerNameOk returns a tuple with the ServerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetSize ¶
func (o *VolumeSnapshot) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*VolumeSnapshot) GetSizeOk ¶
func (o *VolumeSnapshot) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetStatus ¶
func (o *VolumeSnapshot) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*VolumeSnapshot) GetStatusOk ¶
func (o *VolumeSnapshot) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetType ¶
func (o *VolumeSnapshot) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*VolumeSnapshot) GetTypeOk ¶
func (o *VolumeSnapshot) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetVolumeId ¶
func (o *VolumeSnapshot) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*VolumeSnapshot) GetVolumeIdOk ¶
func (o *VolumeSnapshot) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetVolumeName ¶
func (o *VolumeSnapshot) GetVolumeName() string
GetVolumeName returns the VolumeName field value if set, zero value otherwise.
func (*VolumeSnapshot) GetVolumeNameOk ¶
func (o *VolumeSnapshot) GetVolumeNameOk() (*string, bool)
GetVolumeNameOk returns a tuple with the VolumeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) HasCreatedAt ¶
func (o *VolumeSnapshot) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*VolumeSnapshot) HasDescription ¶
func (o *VolumeSnapshot) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VolumeSnapshot) HasId ¶
func (o *VolumeSnapshot) HasId() bool
HasId returns a boolean if a field has been set.
func (*VolumeSnapshot) HasImageId ¶
func (o *VolumeSnapshot) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*VolumeSnapshot) HasName ¶
func (o *VolumeSnapshot) HasName() bool
HasName returns a boolean if a field has been set.
func (*VolumeSnapshot) HasRealSize ¶
func (o *VolumeSnapshot) HasRealSize() bool
HasRealSize returns a boolean if a field has been set.
func (*VolumeSnapshot) HasRealSizeStatus ¶
func (o *VolumeSnapshot) HasRealSizeStatus() bool
HasRealSizeStatus returns a boolean if a field has been set.
func (*VolumeSnapshot) HasRevertedOn ¶
func (o *VolumeSnapshot) HasRevertedOn() bool
HasRevertedOn returns a boolean if a field has been set.
func (*VolumeSnapshot) HasServerId ¶
func (o *VolumeSnapshot) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*VolumeSnapshot) HasServerName ¶
func (o *VolumeSnapshot) HasServerName() bool
HasServerName returns a boolean if a field has been set.
func (*VolumeSnapshot) HasSize ¶
func (o *VolumeSnapshot) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*VolumeSnapshot) HasStatus ¶
func (o *VolumeSnapshot) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*VolumeSnapshot) HasType ¶
func (o *VolumeSnapshot) HasType() bool
HasType returns a boolean if a field has been set.
func (*VolumeSnapshot) HasVolumeId ¶
func (o *VolumeSnapshot) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (*VolumeSnapshot) HasVolumeName ¶
func (o *VolumeSnapshot) HasVolumeName() bool
HasVolumeName returns a boolean if a field has been set.
func (VolumeSnapshot) MarshalJSON ¶
func (o VolumeSnapshot) MarshalJSON() ([]byte, error)
func (*VolumeSnapshot) SetCreatedAt ¶
func (o *VolumeSnapshot) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*VolumeSnapshot) SetDescription ¶
func (o *VolumeSnapshot) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VolumeSnapshot) SetId ¶
func (o *VolumeSnapshot) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*VolumeSnapshot) SetImageId ¶
func (o *VolumeSnapshot) SetImageId(v string)
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*VolumeSnapshot) SetName ¶
func (o *VolumeSnapshot) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VolumeSnapshot) SetRealSize ¶
func (o *VolumeSnapshot) SetRealSize(v int64)
SetRealSize gets a reference to the given int64 and assigns it to the RealSize field.
func (*VolumeSnapshot) SetRealSizeStatus ¶
func (o *VolumeSnapshot) SetRealSizeStatus(v bool)
SetRealSizeStatus gets a reference to the given bool and assigns it to the RealSizeStatus field.
func (*VolumeSnapshot) SetRevertedOn ¶
func (o *VolumeSnapshot) SetRevertedOn(v string)
SetRevertedOn gets a reference to the given string and assigns it to the RevertedOn field.
func (*VolumeSnapshot) SetServerId ¶
func (o *VolumeSnapshot) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*VolumeSnapshot) SetServerName ¶
func (o *VolumeSnapshot) SetServerName(v string)
SetServerName gets a reference to the given string and assigns it to the ServerName field.
func (*VolumeSnapshot) SetSize ¶
func (o *VolumeSnapshot) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*VolumeSnapshot) SetStatus ¶
func (o *VolumeSnapshot) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*VolumeSnapshot) SetType ¶
func (o *VolumeSnapshot) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*VolumeSnapshot) SetVolumeId ¶
func (o *VolumeSnapshot) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (*VolumeSnapshot) SetVolumeName ¶
func (o *VolumeSnapshot) SetVolumeName(v string)
SetVolumeName gets a reference to the given string and assigns it to the VolumeName field.
func (VolumeSnapshot) ToMap ¶
func (o VolumeSnapshot) ToMap() (map[string]interface{}, error)
type VolumesAPIAttachVolumeToServerRequest ¶
type VolumesAPIAttachVolumeToServerRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIAttachVolumeToServerRequest) Execute ¶
func (r VolumesAPIAttachVolumeToServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (VolumesAPIAttachVolumeToServerRequest) VolumeAttachDetachRequest ¶
func (r VolumesAPIAttachVolumeToServerRequest) VolumeAttachDetachRequest(volumeAttachDetachRequest VolumeAttachDetachRequest) VolumesAPIAttachVolumeToServerRequest
volume and instance id for attachment
type VolumesAPICreateOSVolumeFromSnapshotRequest ¶
type VolumesAPICreateOSVolumeFromSnapshotRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPICreateOSVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest ¶
func (r VolumesAPICreateOSVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) VolumesAPICreateOSVolumeFromSnapshotRequest
new volume info
func (VolumesAPICreateOSVolumeFromSnapshotRequest) Execute ¶
func (r VolumesAPICreateOSVolumeFromSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
type VolumesAPICreateVolumeFromSnapshotRequest ¶
type VolumesAPICreateVolumeFromSnapshotRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest ¶
func (r VolumesAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) VolumesAPICreateVolumeFromSnapshotRequest
new volume info
func (VolumesAPICreateVolumeFromSnapshotRequest) Execute ¶
func (r VolumesAPICreateVolumeFromSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
type VolumesAPICreateVolumeRequest ¶
type VolumesAPICreateVolumeRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPICreateVolumeRequest) CreateVolumeRequest ¶
func (r VolumesAPICreateVolumeRequest) CreateVolumeRequest(createVolumeRequest CreateVolumeRequest) VolumesAPICreateVolumeRequest
info about new volume to be created
type VolumesAPIDeleteVolumeRequest ¶
type VolumesAPIDeleteVolumeRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIDeleteVolumeRequest) Execute ¶
func (r VolumesAPIDeleteVolumeRequest) Execute() (*MessageResponse, *http.Response, error)
type VolumesAPIDeleteVolumeSnapshotRequest ¶
type VolumesAPIDeleteVolumeSnapshotRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIDeleteVolumeSnapshotRequest) Execute ¶
func (r VolumesAPIDeleteVolumeSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
type VolumesAPIDetachVolumeFromServerRequest ¶
type VolumesAPIDetachVolumeFromServerRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIDetachVolumeFromServerRequest) Execute ¶
func (r VolumesAPIDetachVolumeFromServerRequest) Execute() (*MessageResponse, *http.Response, error)
func (VolumesAPIDetachVolumeFromServerRequest) VolumeAttachDetachRequest ¶
func (r VolumesAPIDetachVolumeFromServerRequest) VolumeAttachDetachRequest(volumeAttachDetachRequest VolumeAttachDetachRequest) VolumesAPIDetachVolumeFromServerRequest
volume and instance id for attachment
type VolumesAPIGetAllOSVolumesRequest ¶
type VolumesAPIGetAllOSVolumesRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
type VolumesAPIGetAllVolumesRequest ¶
type VolumesAPIGetAllVolumesRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
type VolumesAPIGetVolumeLimitsRequest ¶
type VolumesAPIGetVolumeLimitsRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIGetVolumeLimitsRequest) Execute ¶
func (r VolumesAPIGetVolumeLimitsRequest) Execute() (*VolumeLimits, *http.Response, error)
type VolumesAPIGetVolumeOptionsRequest ¶
type VolumesAPIGetVolumeOptionsRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIGetVolumeOptionsRequest) Execute ¶
func (r VolumesAPIGetVolumeOptionsRequest) Execute() (*VolumeOptions, *http.Response, error)
type VolumesAPIGetVolumeSnapshotsRequest ¶
type VolumesAPIGetVolumeSnapshotsRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
type VolumesAPIRevertVolumeSnapshotRequest ¶
type VolumesAPIRevertVolumeSnapshotRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIRevertVolumeSnapshotRequest) Execute ¶
func (r VolumesAPIRevertVolumeSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
func (VolumesAPIRevertVolumeSnapshotRequest) RevertSnapshotRequest ¶
func (r VolumesAPIRevertVolumeSnapshotRequest) RevertSnapshotRequest(revertSnapshotRequest RevertSnapshotRequest) VolumesAPIRevertVolumeSnapshotRequest
new volume info
type VolumesAPIService ¶
type VolumesAPIService service
VolumesAPIService VolumesAPI service
func (*VolumesAPIService) AttachVolumeToServer ¶
func (a *VolumesAPIService) AttachVolumeToServer(ctx context.Context, region string) VolumesAPIAttachVolumeToServerRequest
AttachVolumeToServer Method for AttachVolumeToServer
Attach a volume to an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIAttachVolumeToServerRequest
func (*VolumesAPIService) AttachVolumeToServerExecute ¶
func (a *VolumesAPIService) AttachVolumeToServerExecute(r VolumesAPIAttachVolumeToServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) CreateOSVolumeFromSnapshot ¶
func (a *VolumesAPIService) CreateOSVolumeFromSnapshot(ctx context.Context, region string, id string) VolumesAPICreateOSVolumeFromSnapshotRequest
CreateOSVolumeFromSnapshot Method for CreateOSVolumeFromSnapshot
Creates an OS Volume from snapshot, which can later be used to boot up a new instance from that volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return VolumesAPICreateOSVolumeFromSnapshotRequest
func (*VolumesAPIService) CreateOSVolumeFromSnapshotExecute ¶
func (a *VolumesAPIService) CreateOSVolumeFromSnapshotExecute(r VolumesAPICreateOSVolumeFromSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) CreateVolume ¶
func (a *VolumesAPIService) CreateVolume(ctx context.Context, region string, id string) VolumesAPICreateVolumeRequest
CreateVolume Method for CreateVolume
Creates a volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id tag id @return VolumesAPICreateVolumeRequest
func (*VolumesAPIService) CreateVolumeExecute ¶
func (a *VolumesAPIService) CreateVolumeExecute(r VolumesAPICreateVolumeRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumesAPIService) CreateVolumeFromSnapshot ¶
func (a *VolumesAPIService) CreateVolumeFromSnapshot(ctx context.Context, region string, id string) VolumesAPICreateVolumeFromSnapshotRequest
CreateVolumeFromSnapshot Method for CreateVolumeFromSnapshot
Create a volume from specified snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return VolumesAPICreateVolumeFromSnapshotRequest
func (*VolumesAPIService) CreateVolumeFromSnapshotExecute ¶
func (a *VolumesAPIService) CreateVolumeFromSnapshotExecute(r VolumesAPICreateVolumeFromSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) DeleteVolume ¶
func (a *VolumesAPIService) DeleteVolume(ctx context.Context, region string, id string) VolumesAPIDeleteVolumeRequest
DeleteVolume Method for DeleteVolume
Deletes a specified volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id volume id @return VolumesAPIDeleteVolumeRequest
func (*VolumesAPIService) DeleteVolumeExecute ¶
func (a *VolumesAPIService) DeleteVolumeExecute(r VolumesAPIDeleteVolumeRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) DeleteVolumeSnapshot ¶
func (a *VolumesAPIService) DeleteVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIDeleteVolumeSnapshotRequest
DeleteVolumeSnapshot Method for DeleteVolumeSnapshot
Delete volume snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return VolumesAPIDeleteVolumeSnapshotRequest
func (*VolumesAPIService) DeleteVolumeSnapshotExecute ¶
func (a *VolumesAPIService) DeleteVolumeSnapshotExecute(r VolumesAPIDeleteVolumeSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) DetachVolumeFromServer ¶
func (a *VolumesAPIService) DetachVolumeFromServer(ctx context.Context, region string) VolumesAPIDetachVolumeFromServerRequest
DetachVolumeFromServer Method for DetachVolumeFromServer
Attach a volume to an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIDetachVolumeFromServerRequest
func (*VolumesAPIService) DetachVolumeFromServerExecute ¶
func (a *VolumesAPIService) DetachVolumeFromServerExecute(r VolumesAPIDetachVolumeFromServerRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) GetAllOSVolumes ¶
func (a *VolumesAPIService) GetAllOSVolumes(ctx context.Context, region string) VolumesAPIGetAllOSVolumesRequest
GetAllOSVolumes Method for GetAllOSVolumes
Lists all OS Volumes, These volumes are bootable volumes which can be used to create an instance from a snapshot
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIGetAllOSVolumesRequest
func (*VolumesAPIService) GetAllOSVolumesExecute ¶
func (a *VolumesAPIService) GetAllOSVolumesExecute(r VolumesAPIGetAllOSVolumesRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumesAPIService) GetAllVolumes ¶
func (a *VolumesAPIService) GetAllVolumes(ctx context.Context, region string) VolumesAPIGetAllVolumesRequest
GetAllVolumes Method for GetAllVolumes
Lists all volumes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIGetAllVolumesRequest
func (*VolumesAPIService) GetAllVolumesExecute ¶
func (a *VolumesAPIService) GetAllVolumesExecute(r VolumesAPIGetAllVolumesRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumesAPIService) GetVolumeLimits ¶
func (a *VolumesAPIService) GetVolumeLimits(ctx context.Context, region string) VolumesAPIGetVolumeLimitsRequest
GetVolumeLimits Method for GetVolumeLimits
Attach a volume to an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIGetVolumeLimitsRequest
func (*VolumesAPIService) GetVolumeLimitsExecute ¶
func (a *VolumesAPIService) GetVolumeLimitsExecute(r VolumesAPIGetVolumeLimitsRequest) (*VolumeLimits, *http.Response, error)
Execute executes the request
@return VolumeLimits
func (*VolumesAPIService) GetVolumeOptions ¶
func (a *VolumesAPIService) GetVolumeOptions(ctx context.Context, region string) VolumesAPIGetVolumeOptionsRequest
GetVolumeOptions Method for GetVolumeOptions
Returns available options for a volume
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIGetVolumeOptionsRequest
func (*VolumesAPIService) GetVolumeOptionsExecute ¶
func (a *VolumesAPIService) GetVolumeOptionsExecute(r VolumesAPIGetVolumeOptionsRequest) (*VolumeOptions, *http.Response, error)
Execute executes the request
@return VolumeOptions
func (*VolumesAPIService) GetVolumeSnapshots ¶
func (a *VolumesAPIService) GetVolumeSnapshots(ctx context.Context, region string) VolumesAPIGetVolumeSnapshotsRequest
GetVolumeSnapshots Method for GetVolumeSnapshots
Returns snapshots taken from user's volumes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @return VolumesAPIGetVolumeSnapshotsRequest
func (*VolumesAPIService) GetVolumeSnapshotsExecute ¶
func (a *VolumesAPIService) GetVolumeSnapshotsExecute(r VolumesAPIGetVolumeSnapshotsRequest) (*http.Response, error)
Execute executes the request
func (*VolumesAPIService) RevertVolumeSnapshot ¶
func (a *VolumesAPIService) RevertVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIRevertVolumeSnapshotRequest
RevertVolumeSnapshot Method for RevertVolumeSnapshot
Reverts snapshot to a volume NOTE: currently snapshot revert is not possible for volumes, this feature will be added soon until then, you can create a new volume from snapshot and use it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id volume id @return VolumesAPIRevertVolumeSnapshotRequest
func (*VolumesAPIService) RevertVolumeSnapshotExecute ¶
func (a *VolumesAPIService) RevertVolumeSnapshotExecute(r VolumesAPIRevertVolumeSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) UpdateVolume ¶
func (a *VolumesAPIService) UpdateVolume(ctx context.Context, region string, id string) VolumesAPIUpdateVolumeRequest
UpdateVolume Method for UpdateVolume
Updates volume info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id volume id @return VolumesAPIUpdateVolumeRequest
func (*VolumesAPIService) UpdateVolumeExecute ¶
func (a *VolumesAPIService) UpdateVolumeExecute(r VolumesAPIUpdateVolumeRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
func (*VolumesAPIService) UpdateVolumeSnapshot ¶
func (a *VolumesAPIService) UpdateVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIUpdateVolumeSnapshotRequest
UpdateVolumeSnapshot Method for UpdateVolumeSnapshot
Update a volume snapshot info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region region code @param id snapshot id @return VolumesAPIUpdateVolumeSnapshotRequest
func (*VolumesAPIService) UpdateVolumeSnapshotExecute ¶
func (a *VolumesAPIService) UpdateVolumeSnapshotExecute(r VolumesAPIUpdateVolumeSnapshotRequest) (*MessageResponse, *http.Response, error)
Execute executes the request
@return MessageResponse
type VolumesAPIUpdateVolumeRequest ¶
type VolumesAPIUpdateVolumeRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIUpdateVolumeRequest) Execute ¶
func (r VolumesAPIUpdateVolumeRequest) Execute() (*MessageResponse, *http.Response, error)
func (VolumesAPIUpdateVolumeRequest) UpdateVolumeRequest ¶
func (r VolumesAPIUpdateVolumeRequest) UpdateVolumeRequest(updateVolumeRequest UpdateVolumeRequest) VolumesAPIUpdateVolumeRequest
new volume info
type VolumesAPIUpdateVolumeSnapshotRequest ¶
type VolumesAPIUpdateVolumeSnapshotRequest struct { ApiService *VolumesAPIService // contains filtered or unexported fields }
func (VolumesAPIUpdateVolumeSnapshotRequest) Execute ¶
func (r VolumesAPIUpdateVolumeSnapshotRequest) Execute() (*MessageResponse, *http.Response, error)
func (VolumesAPIUpdateVolumeSnapshotRequest) UpdateVolumeSnapshotRequest ¶
func (r VolumesAPIUpdateVolumeSnapshotRequest) UpdateVolumeSnapshotRequest(updateVolumeSnapshotRequest UpdateVolumeSnapshotRequest) VolumesAPIUpdateVolumeSnapshotRequest
new info for snapshot
Source Files ¶
- api_floating_ips.go
- api_images.go
- api_networks.go
- api_plans.go
- api_ports.go
- api_ptr.go
- api_quota.go
- api_reports.go
- api_security_groups.go
- api_servers.go
- api_snapshots.go
- api_ssh_keys.go
- api_subnets.go
- api_tags.go
- api_volumes.go
- client.go
- configuration.go
- model_add_server_public_ip_request.go
- model_allocation_pool.go
- model_attach_port_security_request.go
- model_attach_server_root_volume_request.go
- model_attach_server_to_network_request.go
- model_attach_server_to_security_group_request.go
- model_attach_tag_request.go
- model_attachment.go
- model_batch_tag_request.go
- model_chart.go
- model_chart_collection.go
- model_chart_dataset.go
- model_create_float_ip_request.go
- model_create_image_from_snapshot_request.go
- model_create_private_network_request.go
- model_create_ptr_request.go
- model_create_security_group_request.go
- model_create_security_group_rule_request.go
- model_create_server_request.go
- model_create_snapshot_from_volume_request.go
- model_create_ssh_key_request.go
- model_create_tag_request.go
- model_create_volume_from_snapshot_request.go
- model_create_volume_request.go
- model_delete_server_reason_answer.go
- model_delete_server_reasons.go
- model_detach_float_ip_request.go
- model_detach_network_from_server_request.go
- model_detach_port_security_request.go
- model_detach_tag_request.go
- model_error_response.go
- model_float_ip.go
- model_float_ip_attach_request.go
- model_full_ip.go
- model_get_server_actions_response.go
- model_get_server_vnc_request.go
- model_group_instance.go
- model_host_route.go
- model_i_ops_and_throughput.go
- model_image_list.go
- model_img_distribution_item.go
- model_img_doc.go
- model_import_image_request.go
- model_ip_info.go
- model_max_iops_and_throughput.go
- model_message_response.go
- model_network.go
- model_network_server.go
- model_plan.go
- model_port_sec_group_data.go
- model_public_ip.go
- model_quota.go
- model_quota_value.go
- model_rebuild_image_request.go
- model_region.go
- model_region_server_create_options.go
- model_rename_server_request.go
- model_rescue_server_request.go
- model_resize_root_volume_request.go
- model_resize_server_request.go
- model_revert_snapshot_request.go
- model_rule.go
- model_security_group.go
- model_security_group_name.go
- model_security_group_rule.go
- model_server_address.go
- model_server_detail.go
- model_server_flavor.go
- model_server_image.go
- model_server_ip_info.go
- model_server_reports.go
- model_server_volume.go
- model_single_plan.go
- model_snapshot_create_request.go
- model_ssh_key.go
- model_subnet.go
- model_tag.go
- model_update_tag_request.go
- model_update_volume_request.go
- model_update_volume_snapshot_request.go
- model_volume.go
- model_volume_attach_detach_request.go
- model_volume_limits.go
- model_volume_options.go
- model_volume_snapshot.go
- response.go
- utils.go