Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- 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 APIResponse
- type AddVolumeToServerPayload
- func (o *AddVolumeToServerPayload) GetDeleteOnTermination() bool
- func (o *AddVolumeToServerPayload) GetDeleteOnTerminationOk() (*bool, bool)
- func (o *AddVolumeToServerPayload) GetServerId() string
- func (o *AddVolumeToServerPayload) GetServerIdOk() (*string, bool)
- func (o *AddVolumeToServerPayload) GetVolumeId() string
- func (o *AddVolumeToServerPayload) GetVolumeIdOk() (*string, bool)
- func (o *AddVolumeToServerPayload) HasDeleteOnTermination() bool
- func (o *AddVolumeToServerPayload) HasServerId() bool
- func (o *AddVolumeToServerPayload) HasVolumeId() bool
- func (o AddVolumeToServerPayload) MarshalJSON() ([]byte, error)
- func (o *AddVolumeToServerPayload) SetDeleteOnTermination(v bool)
- func (o *AddVolumeToServerPayload) SetServerId(v string)
- func (o *AddVolumeToServerPayload) SetVolumeId(v string)
- func (o AddVolumeToServerPayload) ToMap() (map[string]interface{}, error)
- type AffinityGroup
- func (o *AffinityGroup) GetId() string
- func (o *AffinityGroup) GetIdOk() (*string, bool)
- func (o *AffinityGroup) GetMembers() []string
- func (o *AffinityGroup) GetMembersOk() ([]string, bool)
- func (o *AffinityGroup) GetName() string
- func (o *AffinityGroup) GetNameOk() (*string, bool)
- func (o *AffinityGroup) GetPolicy() string
- func (o *AffinityGroup) GetPolicyOk() (*string, bool)
- func (o *AffinityGroup) HasId() bool
- func (o *AffinityGroup) HasMembers() bool
- func (o AffinityGroup) MarshalJSON() ([]byte, error)
- func (o *AffinityGroup) SetId(v string)
- func (o *AffinityGroup) SetMembers(v []string)
- func (o *AffinityGroup) SetName(v string)
- func (o *AffinityGroup) SetPolicy(v string)
- func (o AffinityGroup) ToMap() (map[string]interface{}, error)
- func (o *AffinityGroup) UnmarshalJSON(data []byte) (err error)
- type AffinityGroupListResponse
- func (o *AffinityGroupListResponse) GetItems() []AffinityGroup
- func (o *AffinityGroupListResponse) GetItemsOk() ([]AffinityGroup, bool)
- func (o AffinityGroupListResponse) MarshalJSON() ([]byte, error)
- func (o *AffinityGroupListResponse) SetItems(v []AffinityGroup)
- func (o AffinityGroupListResponse) ToMap() (map[string]interface{}, error)
- func (o *AffinityGroupListResponse) UnmarshalJSON(data []byte) (err error)
- type AllowedAddressesInner
- type ApiAddNetworkToServerRequest
- type ApiAddNicToServerRequest
- type ApiAddPublicIpToServerRequest
- type ApiAddSecurityGroupToServerRequest
- type ApiAddServiceAccountToServerRequest
- type ApiAddVolumeToServerRequest
- type ApiCreateAffinityGroupRequest
- type ApiCreateBackupRequest
- type ApiCreateImageRequest
- type ApiCreateKeyPairRequest
- type ApiCreateNetworkAreaRangeRequest
- type ApiCreateNetworkAreaRequest
- type ApiCreateNetworkAreaRouteRequest
- type ApiCreateNetworkRequest
- type ApiCreateNicRequest
- type ApiCreatePublicIPRequest
- type ApiCreateSecurityGroupRequest
- type ApiCreateSecurityGroupRuleRequest
- type ApiCreateServerRequest
- type ApiCreateSnapshotRequest
- type ApiCreateVolumeRequest
- type ApiDeallocateServerRequest
- type ApiDeleteAffinityGroupRequest
- type ApiDeleteBackupRequest
- type ApiDeleteImageRequest
- type ApiDeleteImageShareConsumerRequest
- type ApiDeleteImageShareRequest
- type ApiDeleteKeyPairRequest
- type ApiDeleteNetworkAreaRangeRequest
- type ApiDeleteNetworkAreaRequest
- type ApiDeleteNetworkAreaRouteRequest
- type ApiDeleteNetworkRequest
- type ApiDeleteNicRequest
- type ApiDeletePublicIPRequest
- type ApiDeleteSecurityGroupRequest
- type ApiDeleteSecurityGroupRuleRequest
- type ApiDeleteServerRequest
- type ApiDeleteSnapshotRequest
- type ApiDeleteVolumeRequest
- type ApiGetAffinityGroupRequest
- type ApiGetAttachedVolumeRequest
- type ApiGetBackupRequest
- type ApiGetImageRequest
- type ApiGetImageShareConsumerRequest
- type ApiGetImageShareRequest
- type ApiGetKeyPairRequest
- type ApiGetMachineTypeRequest
- type ApiGetNetworkAreaRangeRequest
- type ApiGetNetworkAreaRequest
- type ApiGetNetworkAreaRouteRequest
- type ApiGetNetworkRequest
- type ApiGetNicRequest
- type ApiGetOrganizationRequestRequest
- type ApiGetProjectDetailsRequest
- type ApiGetProjectNICRequest
- type ApiGetProjectRequestRequest
- type ApiGetPublicIPRequest
- type ApiGetSecurityGroupRequest
- type ApiGetSecurityGroupRuleRequest
- type ApiGetServerConsoleRequest
- type ApiGetServerLogRequest
- type ApiGetServerRequest
- type ApiGetSnapshotRequest
- type ApiGetVolumePerformanceClassRequest
- type ApiGetVolumeRequest
- type ApiListAffinityGroupsRequest
- type ApiListAttachedVolumesRequest
- type ApiListAvailabilityZonesRequest
- type ApiListBackupsRequest
- type ApiListImagesRequest
- type ApiListKeyPairsRequest
- type ApiListMachineTypesRequest
- type ApiListNetworkAreaProjectsRequest
- type ApiListNetworkAreaRangesRequest
- type ApiListNetworkAreaRoutesRequest
- type ApiListNetworkAreasRequest
- type ApiListNetworksRequest
- type ApiListNicsRequest
- type ApiListProjectNICsRequest
- type ApiListPublicIPRangesRequest
- type ApiListPublicIPsRequest
- type ApiListQuotasRequest
- type ApiListSecurityGroupRulesRequest
- type ApiListSecurityGroupsRequest
- type ApiListServerNicsRequest
- type ApiListServerServiceAccountsRequest
- type ApiListServersRequest
- type ApiListSnapshotsRequest
- type ApiListVolumePerformanceClassesRequest
- type ApiListVolumesRequest
- type ApiPartialUpdateNetworkAreaRequest
- type ApiPartialUpdateNetworkRequest
- type ApiRebootServerRequest
- type ApiRemoveNetworkFromServerRequest
- type ApiRemoveNicFromServerRequest
- type ApiRemovePublicIpFromServerRequest
- type ApiRemoveSecurityGroupFromServerRequest
- type ApiRemoveServiceAccountFromServerRequest
- type ApiRemoveVolumeFromServerRequest
- type ApiRescueServerRequest
- type ApiResizeServerRequest
- type ApiResizeVolumeRequest
- type ApiRestoreBackupRequest
- type ApiSetImageShareRequest
- type ApiStartServerRequest
- type ApiStopServerRequest
- type ApiUnrescueServerRequest
- type ApiUpdateAttachedVolumeRequest
- type ApiUpdateBackupRequest
- type ApiUpdateImageRequest
- type ApiUpdateImageScopeLocalRequest
- type ApiUpdateImageScopePublicRequest
- type ApiUpdateImageShareRequest
- type ApiUpdateKeyPairRequest
- type ApiUpdateNetworkAreaRouteRequest
- type ApiUpdateNicRequest
- type ApiUpdatePublicIPRequest
- type ApiUpdateSecurityGroupRequest
- type ApiUpdateServerRequest
- type ApiUpdateSnapshotRequest
- type ApiUpdateVolumeRequest
- type Area
- func (o *Area) GetDefaultNameservers() []string
- func (o *Area) GetDefaultNameserversOk() ([]string, bool)
- func (o *Area) GetNetworkRanges() []NetworkRange
- func (o *Area) GetNetworkRangesOk() ([]NetworkRange, bool)
- func (o *Area) GetRoutes() []Route
- func (o *Area) GetRoutesOk() ([]Route, bool)
- func (o *Area) GetTransferNetwork() string
- func (o *Area) GetTransferNetworkOk() (*string, bool)
- func (o *Area) HasDefaultNameservers() bool
- func (o *Area) HasNetworkRanges() bool
- func (o *Area) HasRoutes() bool
- func (o *Area) HasTransferNetwork() bool
- func (o Area) MarshalJSON() ([]byte, error)
- func (o *Area) SetDefaultNameservers(v []string)
- func (o *Area) SetNetworkRanges(v []NetworkRange)
- func (o *Area) SetRoutes(v []Route)
- func (o *Area) SetTransferNetwork(v string)
- func (o Area) ToMap() (map[string]interface{}, error)
- type AreaConfig
- func (o *AreaConfig) GetDefaultNameservers() []string
- func (o *AreaConfig) GetDefaultNameserversOk() ([]string, bool)
- func (o *AreaConfig) GetNetworkRanges() []NetworkRange
- func (o *AreaConfig) GetNetworkRangesOk() ([]NetworkRange, bool)
- func (o *AreaConfig) GetRoutes() []Route
- func (o *AreaConfig) GetRoutesOk() ([]Route, bool)
- func (o *AreaConfig) GetTransferNetwork() string
- func (o *AreaConfig) GetTransferNetworkOk() (*string, bool)
- func (o *AreaConfig) HasDefaultNameservers() bool
- func (o *AreaConfig) HasRoutes() bool
- func (o AreaConfig) MarshalJSON() ([]byte, error)
- func (o *AreaConfig) SetDefaultNameservers(v []string)
- func (o *AreaConfig) SetNetworkRanges(v []NetworkRange)
- func (o *AreaConfig) SetRoutes(v []Route)
- func (o *AreaConfig) SetTransferNetwork(v string)
- func (o AreaConfig) ToMap() (map[string]interface{}, error)
- func (o *AreaConfig) UnmarshalJSON(data []byte) (err error)
- type AreaId
- type AreaPrefixConfigIPv4
- func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLen() int32
- func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLenOk() (*int32, bool)
- func (o *AreaPrefixConfigIPv4) GetMaxPrefixLen() int32
- func (o *AreaPrefixConfigIPv4) GetMaxPrefixLenOk() (*int32, bool)
- func (o *AreaPrefixConfigIPv4) GetMinPrefixLen() int32
- func (o *AreaPrefixConfigIPv4) GetMinPrefixLenOk() (*int32, bool)
- func (o *AreaPrefixConfigIPv4) HasDefaultPrefixLen() bool
- func (o *AreaPrefixConfigIPv4) HasMaxPrefixLen() bool
- func (o *AreaPrefixConfigIPv4) HasMinPrefixLen() bool
- func (o AreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)
- func (o *AreaPrefixConfigIPv4) SetDefaultPrefixLen(v int32)
- func (o *AreaPrefixConfigIPv4) SetMaxPrefixLen(v int32)
- func (o *AreaPrefixConfigIPv4) SetMinPrefixLen(v int32)
- func (o AreaPrefixConfigIPv4) ToMap() (map[string]interface{}, error)
- type AvailabilityZoneListResponse
- func (o *AvailabilityZoneListResponse) GetItems() []string
- func (o *AvailabilityZoneListResponse) GetItemsOk() ([]string, bool)
- func (o AvailabilityZoneListResponse) MarshalJSON() ([]byte, error)
- func (o *AvailabilityZoneListResponse) SetItems(v []string)
- func (o AvailabilityZoneListResponse) ToMap() (map[string]interface{}, error)
- func (o *AvailabilityZoneListResponse) UnmarshalJSON(data []byte) (err error)
- type Backup
- func (o *Backup) GetAvailabilityZone() string
- func (o *Backup) GetAvailabilityZoneOk() (*string, bool)
- func (o *Backup) GetCreatedAt() time.Time
- func (o *Backup) GetCreatedAtOk() (*time.Time, bool)
- func (o *Backup) GetEncrypted() bool
- func (o *Backup) GetEncryptedOk() (*bool, bool)
- func (o *Backup) GetId() string
- func (o *Backup) GetIdOk() (*string, bool)
- func (o *Backup) GetLabels() map[string]interface{}
- func (o *Backup) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Backup) GetName() string
- func (o *Backup) GetNameOk() (*string, bool)
- func (o *Backup) GetSize() int64
- func (o *Backup) GetSizeOk() (*int64, bool)
- func (o *Backup) GetSnapshotId() string
- func (o *Backup) GetSnapshotIdOk() (*string, bool)
- func (o *Backup) GetStatus() string
- func (o *Backup) GetStatusOk() (*string, bool)
- func (o *Backup) GetUpdatedAt() time.Time
- func (o *Backup) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Backup) GetVolumeId() string
- func (o *Backup) GetVolumeIdOk() (*string, bool)
- func (o *Backup) HasAvailabilityZone() bool
- func (o *Backup) HasCreatedAt() bool
- func (o *Backup) HasEncrypted() bool
- func (o *Backup) HasId() bool
- func (o *Backup) HasLabels() bool
- func (o *Backup) HasName() bool
- func (o *Backup) HasSize() bool
- func (o *Backup) HasSnapshotId() bool
- func (o *Backup) HasStatus() bool
- func (o *Backup) HasUpdatedAt() bool
- func (o *Backup) HasVolumeId() bool
- func (o Backup) MarshalJSON() ([]byte, error)
- func (o *Backup) SetAvailabilityZone(v string)
- func (o *Backup) SetCreatedAt(v time.Time)
- func (o *Backup) SetEncrypted(v bool)
- func (o *Backup) SetId(v string)
- func (o *Backup) SetLabels(v map[string]interface{})
- func (o *Backup) SetName(v string)
- func (o *Backup) SetSize(v int64)
- func (o *Backup) SetSnapshotId(v string)
- func (o *Backup) SetStatus(v string)
- func (o *Backup) SetUpdatedAt(v time.Time)
- func (o *Backup) SetVolumeId(v string)
- func (o Backup) ToMap() (map[string]interface{}, error)
- type BackupListResponse
- func (o *BackupListResponse) GetItems() []Backup
- func (o *BackupListResponse) GetItemsOk() ([]Backup, bool)
- func (o BackupListResponse) MarshalJSON() ([]byte, error)
- func (o *BackupListResponse) SetItems(v []Backup)
- func (o BackupListResponse) ToMap() (map[string]interface{}, error)
- func (o *BackupListResponse) UnmarshalJSON(data []byte) (err error)
- type BackupSource
- func (o *BackupSource) GetId() string
- func (o *BackupSource) GetIdOk() (*string, bool)
- func (o *BackupSource) GetType() string
- func (o *BackupSource) GetTypeOk() (*string, bool)
- func (o BackupSource) MarshalJSON() ([]byte, error)
- func (o *BackupSource) SetId(v string)
- func (o *BackupSource) SetType(v string)
- func (o BackupSource) ToMap() (map[string]interface{}, error)
- func (o *BackupSource) UnmarshalJSON(data []byte) (err error)
- type BaseSecurityGroupRule
- func (o *BaseSecurityGroupRule) GetCreatedAt() time.Time
- func (o *BaseSecurityGroupRule) GetCreatedAtOk() (*time.Time, bool)
- func (o *BaseSecurityGroupRule) GetDescription() string
- func (o *BaseSecurityGroupRule) GetDescriptionOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetDirection() string
- func (o *BaseSecurityGroupRule) GetDirectionOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetEthertype() string
- func (o *BaseSecurityGroupRule) GetEthertypeOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetIcmpParameters() ICMPParameters
- func (o *BaseSecurityGroupRule) GetIcmpParametersOk() (*ICMPParameters, bool)
- func (o *BaseSecurityGroupRule) GetId() string
- func (o *BaseSecurityGroupRule) GetIdOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetIpRange() string
- func (o *BaseSecurityGroupRule) GetIpRangeOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetPortRange() PortRange
- func (o *BaseSecurityGroupRule) GetPortRangeOk() (*PortRange, bool)
- func (o *BaseSecurityGroupRule) GetRemoteSecurityGroupId() string
- func (o *BaseSecurityGroupRule) GetRemoteSecurityGroupIdOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetSecurityGroupId() string
- func (o *BaseSecurityGroupRule) GetSecurityGroupIdOk() (*string, bool)
- func (o *BaseSecurityGroupRule) GetUpdatedAt() time.Time
- func (o *BaseSecurityGroupRule) GetUpdatedAtOk() (*time.Time, bool)
- func (o *BaseSecurityGroupRule) HasCreatedAt() bool
- func (o *BaseSecurityGroupRule) HasDescription() bool
- func (o *BaseSecurityGroupRule) HasEthertype() bool
- func (o *BaseSecurityGroupRule) HasIcmpParameters() bool
- func (o *BaseSecurityGroupRule) HasId() bool
- func (o *BaseSecurityGroupRule) HasIpRange() bool
- func (o *BaseSecurityGroupRule) HasPortRange() bool
- func (o *BaseSecurityGroupRule) HasRemoteSecurityGroupId() bool
- func (o *BaseSecurityGroupRule) HasSecurityGroupId() bool
- func (o *BaseSecurityGroupRule) HasUpdatedAt() bool
- func (o BaseSecurityGroupRule) MarshalJSON() ([]byte, error)
- func (o *BaseSecurityGroupRule) SetCreatedAt(v time.Time)
- func (o *BaseSecurityGroupRule) SetDescription(v string)
- func (o *BaseSecurityGroupRule) SetDirection(v string)
- func (o *BaseSecurityGroupRule) SetEthertype(v string)
- func (o *BaseSecurityGroupRule) SetIcmpParameters(v ICMPParameters)
- func (o *BaseSecurityGroupRule) SetId(v string)
- func (o *BaseSecurityGroupRule) SetIpRange(v string)
- func (o *BaseSecurityGroupRule) SetPortRange(v PortRange)
- func (o *BaseSecurityGroupRule) SetRemoteSecurityGroupId(v string)
- func (o *BaseSecurityGroupRule) SetSecurityGroupId(v string)
- func (o *BaseSecurityGroupRule) SetUpdatedAt(v time.Time)
- func (o BaseSecurityGroupRule) ToMap() (map[string]interface{}, error)
- func (o *BaseSecurityGroupRule) UnmarshalJSON(data []byte) (err error)
- type BootVolume
- func (o *BootVolume) GetDeleteOnTermination() bool
- func (o *BootVolume) GetDeleteOnTerminationOk() (*bool, bool)
- func (o *BootVolume) GetId() string
- func (o *BootVolume) GetIdOk() (*string, bool)
- func (o *BootVolume) GetPerformanceClass() string
- func (o *BootVolume) GetPerformanceClassOk() (*string, bool)
- func (o *BootVolume) GetSize() int64
- func (o *BootVolume) GetSizeOk() (*int64, bool)
- func (o *BootVolume) GetSource() BootVolumeSource
- func (o *BootVolume) GetSourceOk() (*BootVolumeSource, bool)
- func (o *BootVolume) HasDeleteOnTermination() bool
- func (o *BootVolume) HasId() bool
- func (o *BootVolume) HasPerformanceClass() bool
- func (o *BootVolume) HasSize() bool
- func (o *BootVolume) HasSource() bool
- func (o BootVolume) MarshalJSON() ([]byte, error)
- func (o *BootVolume) SetDeleteOnTermination(v bool)
- func (o *BootVolume) SetId(v string)
- func (o *BootVolume) SetPerformanceClass(v string)
- func (o *BootVolume) SetSize(v int64)
- func (o *BootVolume) SetSource(v BootVolumeSource)
- func (o BootVolume) ToMap() (map[string]interface{}, error)
- type BootVolumeSource
- func (o *BootVolumeSource) GetId() string
- func (o *BootVolumeSource) GetIdOk() (*string, bool)
- func (o *BootVolumeSource) GetType() string
- func (o *BootVolumeSource) GetTypeOk() (*string, bool)
- func (o BootVolumeSource) MarshalJSON() ([]byte, error)
- func (o *BootVolumeSource) SetId(v string)
- func (o *BootVolumeSource) SetType(v string)
- func (o BootVolumeSource) ToMap() (map[string]interface{}, error)
- func (o *BootVolumeSource) UnmarshalJSON(data []byte) (err error)
- type CreateAffinityGroupPayload
- func (o *CreateAffinityGroupPayload) GetId() string
- func (o *CreateAffinityGroupPayload) GetIdOk() (*string, bool)
- func (o *CreateAffinityGroupPayload) GetMembers() []string
- func (o *CreateAffinityGroupPayload) GetMembersOk() ([]string, bool)
- func (o *CreateAffinityGroupPayload) GetName() string
- func (o *CreateAffinityGroupPayload) GetNameOk() (*string, bool)
- func (o *CreateAffinityGroupPayload) GetPolicy() string
- func (o *CreateAffinityGroupPayload) GetPolicyOk() (*string, bool)
- func (o *CreateAffinityGroupPayload) HasId() bool
- func (o *CreateAffinityGroupPayload) HasMembers() bool
- func (o CreateAffinityGroupPayload) MarshalJSON() ([]byte, error)
- func (o *CreateAffinityGroupPayload) SetId(v string)
- func (o *CreateAffinityGroupPayload) SetMembers(v []string)
- func (o *CreateAffinityGroupPayload) SetName(v string)
- func (o *CreateAffinityGroupPayload) SetPolicy(v string)
- func (o CreateAffinityGroupPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateAffinityGroupPayload) UnmarshalJSON(data []byte) (err error)
- type CreateAreaAddressFamily
- func (o *CreateAreaAddressFamily) GetIpv4() CreateAreaIPv4
- func (o *CreateAreaAddressFamily) GetIpv4Ok() (*CreateAreaIPv4, bool)
- func (o *CreateAreaAddressFamily) HasIpv4() bool
- func (o CreateAreaAddressFamily) MarshalJSON() ([]byte, error)
- func (o *CreateAreaAddressFamily) SetIpv4(v CreateAreaIPv4)
- func (o CreateAreaAddressFamily) ToMap() (map[string]interface{}, error)
- type CreateAreaIPv4
- func (o *CreateAreaIPv4) GetDefaultNameservers() []string
- func (o *CreateAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
- func (o *CreateAreaIPv4) GetDefaultPrefixLen() int32
- func (o *CreateAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)
- func (o *CreateAreaIPv4) GetMaxPrefixLen() int32
- func (o *CreateAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)
- func (o *CreateAreaIPv4) GetMinPrefixLen() int32
- func (o *CreateAreaIPv4) GetMinPrefixLenOk() (*int32, bool)
- func (o *CreateAreaIPv4) GetNetworkRanges() []NetworkRange
- func (o *CreateAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)
- func (o *CreateAreaIPv4) GetRoutes() []Route
- func (o *CreateAreaIPv4) GetRoutesOk() ([]Route, bool)
- func (o *CreateAreaIPv4) GetTransferNetwork() string
- func (o *CreateAreaIPv4) GetTransferNetworkOk() (*string, bool)
- func (o *CreateAreaIPv4) HasDefaultNameservers() bool
- func (o *CreateAreaIPv4) HasDefaultPrefixLen() bool
- func (o *CreateAreaIPv4) HasMaxPrefixLen() bool
- func (o *CreateAreaIPv4) HasMinPrefixLen() bool
- func (o *CreateAreaIPv4) HasRoutes() bool
- func (o CreateAreaIPv4) MarshalJSON() ([]byte, error)
- func (o *CreateAreaIPv4) SetDefaultNameservers(v []string)
- func (o *CreateAreaIPv4) SetDefaultPrefixLen(v int32)
- func (o *CreateAreaIPv4) SetMaxPrefixLen(v int32)
- func (o *CreateAreaIPv4) SetMinPrefixLen(v int32)
- func (o *CreateAreaIPv4) SetNetworkRanges(v []NetworkRange)
- func (o *CreateAreaIPv4) SetRoutes(v []Route)
- func (o *CreateAreaIPv4) SetTransferNetwork(v string)
- func (o CreateAreaIPv4) ToMap() (map[string]interface{}, error)
- func (o *CreateAreaIPv4) UnmarshalJSON(data []byte) (err error)
- type CreateBackupPayload
- func (o *CreateBackupPayload) GetLabels() map[string]interface{}
- func (o *CreateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateBackupPayload) GetName() string
- func (o *CreateBackupPayload) GetNameOk() (*string, bool)
- func (o *CreateBackupPayload) GetSource() BackupSource
- func (o *CreateBackupPayload) GetSourceOk() (*BackupSource, bool)
- func (o *CreateBackupPayload) HasLabels() bool
- func (o *CreateBackupPayload) HasName() bool
- func (o CreateBackupPayload) MarshalJSON() ([]byte, error)
- func (o *CreateBackupPayload) SetLabels(v map[string]interface{})
- func (o *CreateBackupPayload) SetName(v string)
- func (o *CreateBackupPayload) SetSource(v BackupSource)
- func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateBackupPayload) UnmarshalJSON(data []byte) (err error)
- type CreateImagePayload
- func (o *CreateImagePayload) GetAgent() ImageAgent
- func (o *CreateImagePayload) GetAgentOk() (*ImageAgent, bool)
- func (o *CreateImagePayload) GetChecksum() ImageChecksum
- func (o *CreateImagePayload) GetChecksumOk() (*ImageChecksum, bool)
- func (o *CreateImagePayload) GetConfig() ImageConfig
- func (o *CreateImagePayload) GetConfigOk() (*ImageConfig, bool)
- func (o *CreateImagePayload) GetCreatedAt() time.Time
- func (o *CreateImagePayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateImagePayload) GetDiskFormat() string
- func (o *CreateImagePayload) GetDiskFormatOk() (*string, bool)
- func (o *CreateImagePayload) GetId() string
- func (o *CreateImagePayload) GetIdOk() (*string, bool)
- func (o *CreateImagePayload) GetImportProgress() int64
- func (o *CreateImagePayload) GetImportProgressOk() (*int64, bool)
- func (o *CreateImagePayload) GetLabels() map[string]interface{}
- func (o *CreateImagePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateImagePayload) GetMinDiskSize() int64
- func (o *CreateImagePayload) GetMinDiskSizeOk() (*int64, bool)
- func (o *CreateImagePayload) GetMinRam() int64
- func (o *CreateImagePayload) GetMinRamOk() (*int64, bool)
- func (o *CreateImagePayload) GetName() string
- func (o *CreateImagePayload) GetNameOk() (*string, bool)
- func (o *CreateImagePayload) GetOwner() string
- func (o *CreateImagePayload) GetOwnerOk() (*string, bool)
- func (o *CreateImagePayload) GetProtected() bool
- func (o *CreateImagePayload) GetProtectedOk() (*bool, bool)
- func (o *CreateImagePayload) GetScope() string
- func (o *CreateImagePayload) GetScopeOk() (*string, bool)
- func (o *CreateImagePayload) GetSize() int64
- func (o *CreateImagePayload) GetSizeOk() (*int64, bool)
- func (o *CreateImagePayload) GetStatus() string
- func (o *CreateImagePayload) GetStatusOk() (*string, bool)
- func (o *CreateImagePayload) GetUpdatedAt() time.Time
- func (o *CreateImagePayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateImagePayload) HasAgent() bool
- func (o *CreateImagePayload) HasChecksum() bool
- func (o *CreateImagePayload) HasConfig() bool
- func (o *CreateImagePayload) HasCreatedAt() bool
- func (o *CreateImagePayload) HasId() bool
- func (o *CreateImagePayload) HasImportProgress() bool
- func (o *CreateImagePayload) HasLabels() bool
- func (o *CreateImagePayload) HasMinDiskSize() bool
- func (o *CreateImagePayload) HasMinRam() bool
- func (o *CreateImagePayload) HasOwner() bool
- func (o *CreateImagePayload) HasProtected() bool
- func (o *CreateImagePayload) HasScope() bool
- func (o *CreateImagePayload) HasSize() bool
- func (o *CreateImagePayload) HasStatus() bool
- func (o *CreateImagePayload) HasUpdatedAt() bool
- func (o CreateImagePayload) MarshalJSON() ([]byte, error)
- func (o *CreateImagePayload) SetAgent(v ImageAgent)
- func (o *CreateImagePayload) SetChecksum(v ImageChecksum)
- func (o *CreateImagePayload) SetConfig(v ImageConfig)
- func (o *CreateImagePayload) SetCreatedAt(v time.Time)
- func (o *CreateImagePayload) SetDiskFormat(v string)
- func (o *CreateImagePayload) SetId(v string)
- func (o *CreateImagePayload) SetImportProgress(v int64)
- func (o *CreateImagePayload) SetLabels(v map[string]interface{})
- func (o *CreateImagePayload) SetMinDiskSize(v int64)
- func (o *CreateImagePayload) SetMinRam(v int64)
- func (o *CreateImagePayload) SetName(v string)
- func (o *CreateImagePayload) SetOwner(v string)
- func (o *CreateImagePayload) SetProtected(v bool)
- func (o *CreateImagePayload) SetScope(v string)
- func (o *CreateImagePayload) SetSize(v int64)
- func (o *CreateImagePayload) SetStatus(v string)
- func (o *CreateImagePayload) SetUpdatedAt(v time.Time)
- func (o CreateImagePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateImagePayload) UnmarshalJSON(data []byte) (err error)
- type CreateKeyPairPayload
- func (o *CreateKeyPairPayload) GetCreatedAt() time.Time
- func (o *CreateKeyPairPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateKeyPairPayload) GetFingerprint() string
- func (o *CreateKeyPairPayload) GetFingerprintOk() (*string, bool)
- func (o *CreateKeyPairPayload) GetLabels() map[string]interface{}
- func (o *CreateKeyPairPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateKeyPairPayload) GetName() string
- func (o *CreateKeyPairPayload) GetNameOk() (*string, bool)
- func (o *CreateKeyPairPayload) GetPublicKey() string
- func (o *CreateKeyPairPayload) GetPublicKeyOk() (*string, bool)
- func (o *CreateKeyPairPayload) GetUpdatedAt() time.Time
- func (o *CreateKeyPairPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateKeyPairPayload) HasCreatedAt() bool
- func (o *CreateKeyPairPayload) HasFingerprint() bool
- func (o *CreateKeyPairPayload) HasLabels() bool
- func (o *CreateKeyPairPayload) HasName() bool
- func (o *CreateKeyPairPayload) HasUpdatedAt() bool
- func (o CreateKeyPairPayload) MarshalJSON() ([]byte, error)
- func (o *CreateKeyPairPayload) SetCreatedAt(v time.Time)
- func (o *CreateKeyPairPayload) SetFingerprint(v string)
- func (o *CreateKeyPairPayload) SetLabels(v map[string]interface{})
- func (o *CreateKeyPairPayload) SetName(v string)
- func (o *CreateKeyPairPayload) SetPublicKey(v string)
- func (o *CreateKeyPairPayload) SetUpdatedAt(v time.Time)
- func (o CreateKeyPairPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateKeyPairPayload) UnmarshalJSON(data []byte) (err error)
- type CreateNetworkAddressFamily
- func (o *CreateNetworkAddressFamily) GetIpv4() CreateNetworkIPv4Body
- func (o *CreateNetworkAddressFamily) GetIpv4Ok() (*CreateNetworkIPv4Body, bool)
- func (o *CreateNetworkAddressFamily) GetIpv6() CreateNetworkIPv6Body
- func (o *CreateNetworkAddressFamily) GetIpv6Ok() (*CreateNetworkIPv6Body, bool)
- func (o *CreateNetworkAddressFamily) HasIpv4() bool
- func (o *CreateNetworkAddressFamily) HasIpv6() bool
- func (o CreateNetworkAddressFamily) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkAddressFamily) SetIpv4(v CreateNetworkIPv4Body)
- func (o *CreateNetworkAddressFamily) SetIpv6(v CreateNetworkIPv6Body)
- func (o CreateNetworkAddressFamily) ToMap() (map[string]interface{}, error)
- type CreateNetworkAreaPayload
- func (o *CreateNetworkAreaPayload) GetAddressFamily() CreateAreaAddressFamily
- func (o *CreateNetworkAreaPayload) GetAddressFamilyOk() (*CreateAreaAddressFamily, bool)
- func (o *CreateNetworkAreaPayload) GetLabels() map[string]interface{}
- func (o *CreateNetworkAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateNetworkAreaPayload) GetName() string
- func (o *CreateNetworkAreaPayload) GetNameOk() (*string, bool)
- func (o *CreateNetworkAreaPayload) HasLabels() bool
- func (o CreateNetworkAreaPayload) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkAreaPayload) SetAddressFamily(v CreateAreaAddressFamily)
- func (o *CreateNetworkAreaPayload) SetLabels(v map[string]interface{})
- func (o *CreateNetworkAreaPayload) SetName(v string)
- func (o CreateNetworkAreaPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkAreaPayload) UnmarshalJSON(data []byte) (err error)
- type CreateNetworkAreaRangePayload
- func (o *CreateNetworkAreaRangePayload) GetIpv4() []NetworkRange
- func (o *CreateNetworkAreaRangePayload) GetIpv4Ok() ([]NetworkRange, bool)
- func (o *CreateNetworkAreaRangePayload) HasIpv4() bool
- func (o CreateNetworkAreaRangePayload) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkAreaRangePayload) SetIpv4(v []NetworkRange)
- func (o CreateNetworkAreaRangePayload) ToMap() (map[string]interface{}, error)
- type CreateNetworkAreaRoutePayload
- func (o *CreateNetworkAreaRoutePayload) GetIpv4() []Route
- func (o *CreateNetworkAreaRoutePayload) GetIpv4Ok() ([]Route, bool)
- func (o *CreateNetworkAreaRoutePayload) HasIpv4() bool
- func (o CreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkAreaRoutePayload) SetIpv4(v []Route)
- func (o CreateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)
- type CreateNetworkIPv4Body
- func (o *CreateNetworkIPv4Body) GetGateway() string
- func (o *CreateNetworkIPv4Body) GetGatewayOk() (*string, bool)
- func (o *CreateNetworkIPv4Body) GetNameservers() []string
- func (o *CreateNetworkIPv4Body) GetNameserversOk() ([]string, bool)
- func (o *CreateNetworkIPv4Body) GetPrefix() string
- func (o *CreateNetworkIPv4Body) GetPrefixLength() int32
- func (o *CreateNetworkIPv4Body) GetPrefixLengthOk() (*int32, bool)
- func (o *CreateNetworkIPv4Body) GetPrefixOk() (*string, bool)
- func (o *CreateNetworkIPv4Body) HasGateway() bool
- func (o *CreateNetworkIPv4Body) HasNameservers() bool
- func (o *CreateNetworkIPv4Body) HasPrefix() bool
- func (o *CreateNetworkIPv4Body) HasPrefixLength() bool
- func (o CreateNetworkIPv4Body) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkIPv4Body) SetGateway(v string)
- func (o *CreateNetworkIPv4Body) SetGatewayNil()
- func (o *CreateNetworkIPv4Body) SetNameservers(v []string)
- func (o *CreateNetworkIPv4Body) SetPrefix(v string)
- func (o *CreateNetworkIPv4Body) SetPrefixLength(v int32)
- func (o CreateNetworkIPv4Body) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkIPv4Body) UnsetGateway()
- type CreateNetworkIPv6Body
- func (o *CreateNetworkIPv6Body) GetGateway() string
- func (o *CreateNetworkIPv6Body) GetGatewayOk() (*string, bool)
- func (o *CreateNetworkIPv6Body) GetNameservers() []string
- func (o *CreateNetworkIPv6Body) GetNameserversOk() ([]string, bool)
- func (o *CreateNetworkIPv6Body) GetPrefix() string
- func (o *CreateNetworkIPv6Body) GetPrefixLength() int32
- func (o *CreateNetworkIPv6Body) GetPrefixLengthOk() (*int32, bool)
- func (o *CreateNetworkIPv6Body) GetPrefixOk() (*string, bool)
- func (o *CreateNetworkIPv6Body) HasGateway() bool
- func (o *CreateNetworkIPv6Body) HasNameservers() bool
- func (o *CreateNetworkIPv6Body) HasPrefix() bool
- func (o *CreateNetworkIPv6Body) HasPrefixLength() bool
- func (o CreateNetworkIPv6Body) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkIPv6Body) SetGateway(v string)
- func (o *CreateNetworkIPv6Body) SetGatewayNil()
- func (o *CreateNetworkIPv6Body) SetNameservers(v []string)
- func (o *CreateNetworkIPv6Body) SetPrefix(v string)
- func (o *CreateNetworkIPv6Body) SetPrefixLength(v int32)
- func (o CreateNetworkIPv6Body) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkIPv6Body) UnsetGateway()
- type CreateNetworkPayload
- func (o *CreateNetworkPayload) GetAddressFamily() CreateNetworkAddressFamily
- func (o *CreateNetworkPayload) GetAddressFamilyOk() (*CreateNetworkAddressFamily, bool)
- func (o *CreateNetworkPayload) GetDhcp() bool
- func (o *CreateNetworkPayload) GetDhcpOk() (*bool, bool)
- func (o *CreateNetworkPayload) GetLabels() map[string]interface{}
- func (o *CreateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateNetworkPayload) GetName() string
- func (o *CreateNetworkPayload) GetNameOk() (*string, bool)
- func (o *CreateNetworkPayload) GetRouted() bool
- func (o *CreateNetworkPayload) GetRoutedOk() (*bool, bool)
- func (o *CreateNetworkPayload) HasAddressFamily() bool
- func (o *CreateNetworkPayload) HasDhcp() bool
- func (o *CreateNetworkPayload) HasLabels() bool
- func (o *CreateNetworkPayload) HasRouted() bool
- func (o CreateNetworkPayload) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkPayload) SetAddressFamily(v CreateNetworkAddressFamily)
- func (o *CreateNetworkPayload) SetDhcp(v bool)
- func (o *CreateNetworkPayload) SetLabels(v map[string]interface{})
- func (o *CreateNetworkPayload) SetName(v string)
- func (o *CreateNetworkPayload) SetRouted(v bool)
- func (o CreateNetworkPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkPayload) UnmarshalJSON(data []byte) (err error)
- type CreateNicPayload
- func (o *CreateNicPayload) GetAllowedAddresses() []AllowedAddressesInner
- func (o *CreateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
- func (o *CreateNicPayload) GetDescription() string
- func (o *CreateNicPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateNicPayload) GetDevice() string
- func (o *CreateNicPayload) GetDeviceOk() (*string, bool)
- func (o *CreateNicPayload) GetId() string
- func (o *CreateNicPayload) GetIdOk() (*string, bool)
- func (o *CreateNicPayload) GetIpv4() string
- func (o *CreateNicPayload) GetIpv4Ok() (*string, bool)
- func (o *CreateNicPayload) GetIpv6() string
- func (o *CreateNicPayload) GetIpv6Ok() (*string, bool)
- func (o *CreateNicPayload) GetLabels() map[string]interface{}
- func (o *CreateNicPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateNicPayload) GetMac() string
- func (o *CreateNicPayload) GetMacOk() (*string, bool)
- func (o *CreateNicPayload) GetName() string
- func (o *CreateNicPayload) GetNameOk() (*string, bool)
- func (o *CreateNicPayload) GetNetworkId() string
- func (o *CreateNicPayload) GetNetworkIdOk() (*string, bool)
- func (o *CreateNicPayload) GetNicSecurity() bool
- func (o *CreateNicPayload) GetNicSecurityOk() (*bool, bool)
- func (o *CreateNicPayload) GetSecurityGroups() []string
- func (o *CreateNicPayload) GetSecurityGroupsOk() ([]string, bool)
- func (o *CreateNicPayload) GetStatus() string
- func (o *CreateNicPayload) GetStatusOk() (*string, bool)
- func (o *CreateNicPayload) GetType() string
- func (o *CreateNicPayload) GetTypeOk() (*string, bool)
- func (o *CreateNicPayload) HasAllowedAddresses() bool
- func (o *CreateNicPayload) HasDescription() bool
- func (o *CreateNicPayload) HasDevice() bool
- func (o *CreateNicPayload) HasId() bool
- func (o *CreateNicPayload) HasIpv4() bool
- func (o *CreateNicPayload) HasIpv6() bool
- func (o *CreateNicPayload) HasLabels() bool
- func (o *CreateNicPayload) HasMac() bool
- func (o *CreateNicPayload) HasName() bool
- func (o *CreateNicPayload) HasNetworkId() bool
- func (o *CreateNicPayload) HasNicSecurity() bool
- func (o *CreateNicPayload) HasSecurityGroups() bool
- func (o *CreateNicPayload) HasStatus() bool
- func (o *CreateNicPayload) HasType() bool
- func (o CreateNicPayload) MarshalJSON() ([]byte, error)
- func (o *CreateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)
- func (o *CreateNicPayload) SetDescription(v string)
- func (o *CreateNicPayload) SetDevice(v string)
- func (o *CreateNicPayload) SetId(v string)
- func (o *CreateNicPayload) SetIpv4(v string)
- func (o *CreateNicPayload) SetIpv6(v string)
- func (o *CreateNicPayload) SetLabels(v map[string]interface{})
- func (o *CreateNicPayload) SetMac(v string)
- func (o *CreateNicPayload) SetName(v string)
- func (o *CreateNicPayload) SetNetworkId(v string)
- func (o *CreateNicPayload) SetNicSecurity(v bool)
- func (o *CreateNicPayload) SetSecurityGroups(v []string)
- func (o *CreateNicPayload) SetStatus(v string)
- func (o *CreateNicPayload) SetType(v string)
- func (o CreateNicPayload) ToMap() (map[string]interface{}, error)
- type CreateProtocol
- type CreatePublicIPPayload
- func (o *CreatePublicIPPayload) GetId() string
- func (o *CreatePublicIPPayload) GetIdOk() (*string, bool)
- func (o *CreatePublicIPPayload) GetIp() string
- func (o *CreatePublicIPPayload) GetIpOk() (*string, bool)
- func (o *CreatePublicIPPayload) GetLabels() map[string]interface{}
- func (o *CreatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreatePublicIPPayload) GetNetworkInterface() string
- func (o *CreatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)
- func (o *CreatePublicIPPayload) HasId() bool
- func (o *CreatePublicIPPayload) HasIp() bool
- func (o *CreatePublicIPPayload) HasLabels() bool
- func (o *CreatePublicIPPayload) HasNetworkInterface() bool
- func (o CreatePublicIPPayload) MarshalJSON() ([]byte, error)
- func (o *CreatePublicIPPayload) SetId(v string)
- func (o *CreatePublicIPPayload) SetIp(v string)
- func (o *CreatePublicIPPayload) SetLabels(v map[string]interface{})
- func (o *CreatePublicIPPayload) SetNetworkInterface(v string)
- func (o *CreatePublicIPPayload) SetNetworkInterfaceNil()
- func (o CreatePublicIPPayload) ToMap() (map[string]interface{}, error)
- func (o *CreatePublicIPPayload) UnsetNetworkInterface()
- type CreateSecurityGroupPayload
- func (o *CreateSecurityGroupPayload) GetCreatedAt() time.Time
- func (o *CreateSecurityGroupPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateSecurityGroupPayload) GetDescription() string
- func (o *CreateSecurityGroupPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateSecurityGroupPayload) GetId() string
- func (o *CreateSecurityGroupPayload) GetIdOk() (*string, bool)
- func (o *CreateSecurityGroupPayload) GetLabels() map[string]interface{}
- func (o *CreateSecurityGroupPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateSecurityGroupPayload) GetName() string
- func (o *CreateSecurityGroupPayload) GetNameOk() (*string, bool)
- func (o *CreateSecurityGroupPayload) GetRules() []SecurityGroupRule
- func (o *CreateSecurityGroupPayload) GetRulesOk() ([]SecurityGroupRule, bool)
- func (o *CreateSecurityGroupPayload) GetStateful() bool
- func (o *CreateSecurityGroupPayload) GetStatefulOk() (*bool, bool)
- func (o *CreateSecurityGroupPayload) GetUpdatedAt() time.Time
- func (o *CreateSecurityGroupPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateSecurityGroupPayload) HasCreatedAt() bool
- func (o *CreateSecurityGroupPayload) HasDescription() bool
- func (o *CreateSecurityGroupPayload) HasId() bool
- func (o *CreateSecurityGroupPayload) HasLabels() bool
- func (o *CreateSecurityGroupPayload) HasRules() bool
- func (o *CreateSecurityGroupPayload) HasStateful() bool
- func (o *CreateSecurityGroupPayload) HasUpdatedAt() bool
- func (o CreateSecurityGroupPayload) MarshalJSON() ([]byte, error)
- func (o *CreateSecurityGroupPayload) SetCreatedAt(v time.Time)
- func (o *CreateSecurityGroupPayload) SetDescription(v string)
- func (o *CreateSecurityGroupPayload) SetId(v string)
- func (o *CreateSecurityGroupPayload) SetLabels(v map[string]interface{})
- func (o *CreateSecurityGroupPayload) SetName(v string)
- func (o *CreateSecurityGroupPayload) SetRules(v []SecurityGroupRule)
- func (o *CreateSecurityGroupPayload) SetStateful(v bool)
- func (o *CreateSecurityGroupPayload) SetUpdatedAt(v time.Time)
- func (o CreateSecurityGroupPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateSecurityGroupPayload) UnmarshalJSON(data []byte) (err error)
- type CreateSecurityGroupRulePayload
- func (o *CreateSecurityGroupRulePayload) GetCreatedAt() time.Time
- func (o *CreateSecurityGroupRulePayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateSecurityGroupRulePayload) GetDescription() string
- func (o *CreateSecurityGroupRulePayload) GetDescriptionOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetDirection() string
- func (o *CreateSecurityGroupRulePayload) GetDirectionOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetEthertype() string
- func (o *CreateSecurityGroupRulePayload) GetEthertypeOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetIcmpParameters() ICMPParameters
- func (o *CreateSecurityGroupRulePayload) GetIcmpParametersOk() (*ICMPParameters, bool)
- func (o *CreateSecurityGroupRulePayload) GetId() string
- func (o *CreateSecurityGroupRulePayload) GetIdOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetIpRange() string
- func (o *CreateSecurityGroupRulePayload) GetIpRangeOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetPortRange() PortRange
- func (o *CreateSecurityGroupRulePayload) GetPortRangeOk() (*PortRange, bool)
- func (o *CreateSecurityGroupRulePayload) GetProtocol() CreateProtocol
- func (o *CreateSecurityGroupRulePayload) GetProtocolOk() (*CreateProtocol, bool)
- func (o *CreateSecurityGroupRulePayload) GetRemoteSecurityGroupId() string
- func (o *CreateSecurityGroupRulePayload) GetRemoteSecurityGroupIdOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetSecurityGroupId() string
- func (o *CreateSecurityGroupRulePayload) GetSecurityGroupIdOk() (*string, bool)
- func (o *CreateSecurityGroupRulePayload) GetUpdatedAt() time.Time
- func (o *CreateSecurityGroupRulePayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateSecurityGroupRulePayload) HasCreatedAt() bool
- func (o *CreateSecurityGroupRulePayload) HasDescription() bool
- func (o *CreateSecurityGroupRulePayload) HasEthertype() bool
- func (o *CreateSecurityGroupRulePayload) HasIcmpParameters() bool
- func (o *CreateSecurityGroupRulePayload) HasId() bool
- func (o *CreateSecurityGroupRulePayload) HasIpRange() bool
- func (o *CreateSecurityGroupRulePayload) HasPortRange() bool
- func (o *CreateSecurityGroupRulePayload) HasProtocol() bool
- func (o *CreateSecurityGroupRulePayload) HasRemoteSecurityGroupId() bool
- func (o *CreateSecurityGroupRulePayload) HasSecurityGroupId() bool
- func (o *CreateSecurityGroupRulePayload) HasUpdatedAt() bool
- func (o CreateSecurityGroupRulePayload) MarshalJSON() ([]byte, error)
- func (o *CreateSecurityGroupRulePayload) SetCreatedAt(v time.Time)
- func (o *CreateSecurityGroupRulePayload) SetDescription(v string)
- func (o *CreateSecurityGroupRulePayload) SetDirection(v string)
- func (o *CreateSecurityGroupRulePayload) SetEthertype(v string)
- func (o *CreateSecurityGroupRulePayload) SetIcmpParameters(v ICMPParameters)
- func (o *CreateSecurityGroupRulePayload) SetId(v string)
- func (o *CreateSecurityGroupRulePayload) SetIpRange(v string)
- func (o *CreateSecurityGroupRulePayload) SetPortRange(v PortRange)
- func (o *CreateSecurityGroupRulePayload) SetProtocol(v CreateProtocol)
- func (o *CreateSecurityGroupRulePayload) SetRemoteSecurityGroupId(v string)
- func (o *CreateSecurityGroupRulePayload) SetSecurityGroupId(v string)
- func (o *CreateSecurityGroupRulePayload) SetUpdatedAt(v time.Time)
- func (o CreateSecurityGroupRulePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateSecurityGroupRulePayload) UnmarshalJSON(data []byte) (err error)
- type CreateSecurityGroupRuleProtocol
- func (o *CreateSecurityGroupRuleProtocol) GetProtocol() CreateProtocol
- func (o *CreateSecurityGroupRuleProtocol) GetProtocolOk() (*CreateProtocol, bool)
- func (o *CreateSecurityGroupRuleProtocol) HasProtocol() bool
- func (o CreateSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
- func (o *CreateSecurityGroupRuleProtocol) SetProtocol(v CreateProtocol)
- func (o CreateSecurityGroupRuleProtocol) ToMap() (map[string]interface{}, error)
- type CreateServerNetworking
- func (o *CreateServerNetworking) GetNetworkId() string
- func (o *CreateServerNetworking) GetNetworkIdOk() (*string, bool)
- func (o *CreateServerNetworking) HasNetworkId() bool
- func (o CreateServerNetworking) MarshalJSON() ([]byte, error)
- func (o *CreateServerNetworking) SetNetworkId(v string)
- func (o CreateServerNetworking) ToMap() (map[string]interface{}, error)
- type CreateServerNetworkingWithNics
- func (o *CreateServerNetworkingWithNics) GetNicIds() []string
- func (o *CreateServerNetworkingWithNics) GetNicIdsOk() ([]string, bool)
- func (o *CreateServerNetworkingWithNics) HasNicIds() bool
- func (o CreateServerNetworkingWithNics) MarshalJSON() ([]byte, error)
- func (o *CreateServerNetworkingWithNics) SetNicIds(v []string)
- func (o CreateServerNetworkingWithNics) ToMap() (map[string]interface{}, error)
- type CreateServerPayload
- func (o *CreateServerPayload) GetAffinityGroup() string
- func (o *CreateServerPayload) GetAffinityGroupOk() (*string, bool)
- func (o *CreateServerPayload) GetAgent() ServerAgent
- func (o *CreateServerPayload) GetAgentOk() (*ServerAgent, bool)
- func (o *CreateServerPayload) GetAvailabilityZone() string
- func (o *CreateServerPayload) GetAvailabilityZoneOk() (*string, bool)
- func (o *CreateServerPayload) GetBootVolume() BootVolume
- func (o *CreateServerPayload) GetBootVolumeOk() (*BootVolume, bool)
- func (o *CreateServerPayload) GetCreatedAt() time.Time
- func (o *CreateServerPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateServerPayload) GetErrorMessage() string
- func (o *CreateServerPayload) GetErrorMessageOk() (*string, bool)
- func (o *CreateServerPayload) GetId() string
- func (o *CreateServerPayload) GetIdOk() (*string, bool)
- func (o *CreateServerPayload) GetImageId() string
- func (o *CreateServerPayload) GetImageIdOk() (*string, bool)
- func (o *CreateServerPayload) GetKeypairName() string
- func (o *CreateServerPayload) GetKeypairNameOk() (*string, bool)
- func (o *CreateServerPayload) GetLabels() map[string]interface{}
- func (o *CreateServerPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateServerPayload) GetLaunchedAt() time.Time
- func (o *CreateServerPayload) GetLaunchedAtOk() (*time.Time, bool)
- func (o *CreateServerPayload) GetMachineType() string
- func (o *CreateServerPayload) GetMachineTypeOk() (*string, bool)
- func (o *CreateServerPayload) GetMaintenanceWindow() ServerMaintenance
- func (o *CreateServerPayload) GetMaintenanceWindowOk() (*ServerMaintenance, bool)
- func (o *CreateServerPayload) GetMetadata() map[string]interface{}
- func (o *CreateServerPayload) GetMetadataOk() (map[string]interface{}, bool)
- func (o *CreateServerPayload) GetName() string
- func (o *CreateServerPayload) GetNameOk() (*string, bool)
- func (o *CreateServerPayload) GetNetworking() CreateServerPayloadNetworking
- func (o *CreateServerPayload) GetNetworkingOk() (*CreateServerPayloadNetworking, bool)
- func (o *CreateServerPayload) GetNics() []ServerNetwork
- func (o *CreateServerPayload) GetNicsOk() ([]ServerNetwork, bool)
- func (o *CreateServerPayload) GetPowerStatus() string
- func (o *CreateServerPayload) GetPowerStatusOk() (*string, bool)
- func (o *CreateServerPayload) GetSecurityGroups() []string
- func (o *CreateServerPayload) GetSecurityGroupsOk() ([]string, bool)
- func (o *CreateServerPayload) GetServiceAccountMails() []string
- func (o *CreateServerPayload) GetServiceAccountMailsOk() ([]string, bool)
- func (o *CreateServerPayload) GetStatus() string
- func (o *CreateServerPayload) GetStatusOk() (*string, bool)
- func (o *CreateServerPayload) GetUpdatedAt() time.Time
- func (o *CreateServerPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateServerPayload) GetUserData() string
- func (o *CreateServerPayload) GetUserDataOk() (*string, bool)
- func (o *CreateServerPayload) GetVolumes() []string
- func (o *CreateServerPayload) GetVolumesOk() ([]string, bool)
- func (o *CreateServerPayload) HasAffinityGroup() bool
- func (o *CreateServerPayload) HasAgent() bool
- func (o *CreateServerPayload) HasAvailabilityZone() bool
- func (o *CreateServerPayload) HasBootVolume() bool
- func (o *CreateServerPayload) HasCreatedAt() bool
- func (o *CreateServerPayload) HasErrorMessage() bool
- func (o *CreateServerPayload) HasId() bool
- func (o *CreateServerPayload) HasImageId() bool
- func (o *CreateServerPayload) HasKeypairName() bool
- func (o *CreateServerPayload) HasLabels() bool
- func (o *CreateServerPayload) HasLaunchedAt() bool
- func (o *CreateServerPayload) HasMaintenanceWindow() bool
- func (o *CreateServerPayload) HasMetadata() bool
- func (o *CreateServerPayload) HasNetworking() bool
- func (o *CreateServerPayload) HasNics() bool
- func (o *CreateServerPayload) HasPowerStatus() bool
- func (o *CreateServerPayload) HasSecurityGroups() bool
- func (o *CreateServerPayload) HasServiceAccountMails() bool
- func (o *CreateServerPayload) HasStatus() bool
- func (o *CreateServerPayload) HasUpdatedAt() bool
- func (o *CreateServerPayload) HasUserData() bool
- func (o *CreateServerPayload) HasVolumes() bool
- func (o CreateServerPayload) MarshalJSON() ([]byte, error)
- func (o *CreateServerPayload) SetAffinityGroup(v string)
- func (o *CreateServerPayload) SetAgent(v ServerAgent)
- func (o *CreateServerPayload) SetAvailabilityZone(v string)
- func (o *CreateServerPayload) SetBootVolume(v BootVolume)
- func (o *CreateServerPayload) SetCreatedAt(v time.Time)
- func (o *CreateServerPayload) SetErrorMessage(v string)
- func (o *CreateServerPayload) SetId(v string)
- func (o *CreateServerPayload) SetImageId(v string)
- func (o *CreateServerPayload) SetKeypairName(v string)
- func (o *CreateServerPayload) SetLabels(v map[string]interface{})
- func (o *CreateServerPayload) SetLaunchedAt(v time.Time)
- func (o *CreateServerPayload) SetMachineType(v string)
- func (o *CreateServerPayload) SetMaintenanceWindow(v ServerMaintenance)
- func (o *CreateServerPayload) SetMetadata(v map[string]interface{})
- func (o *CreateServerPayload) SetName(v string)
- func (o *CreateServerPayload) SetNetworking(v CreateServerPayloadNetworking)
- func (o *CreateServerPayload) SetNics(v []ServerNetwork)
- func (o *CreateServerPayload) SetPowerStatus(v string)
- func (o *CreateServerPayload) SetSecurityGroups(v []string)
- func (o *CreateServerPayload) SetServiceAccountMails(v []string)
- func (o *CreateServerPayload) SetStatus(v string)
- func (o *CreateServerPayload) SetUpdatedAt(v time.Time)
- func (o *CreateServerPayload) SetUserData(v string)
- func (o *CreateServerPayload) SetVolumes(v []string)
- func (o CreateServerPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateServerPayload) UnmarshalJSON(data []byte) (err error)
- type CreateServerPayloadNetworking
- type CreateSnapshotPayload
- func (o *CreateSnapshotPayload) GetCreatedAt() time.Time
- func (o *CreateSnapshotPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateSnapshotPayload) GetId() string
- func (o *CreateSnapshotPayload) GetIdOk() (*string, bool)
- func (o *CreateSnapshotPayload) GetLabels() map[string]interface{}
- func (o *CreateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateSnapshotPayload) GetName() string
- func (o *CreateSnapshotPayload) GetNameOk() (*string, bool)
- func (o *CreateSnapshotPayload) GetSize() int64
- func (o *CreateSnapshotPayload) GetSizeOk() (*int64, bool)
- func (o *CreateSnapshotPayload) GetStatus() string
- func (o *CreateSnapshotPayload) GetStatusOk() (*string, bool)
- func (o *CreateSnapshotPayload) GetUpdatedAt() time.Time
- func (o *CreateSnapshotPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateSnapshotPayload) GetVolumeId() string
- func (o *CreateSnapshotPayload) GetVolumeIdOk() (*string, bool)
- func (o *CreateSnapshotPayload) HasCreatedAt() bool
- func (o *CreateSnapshotPayload) HasId() bool
- func (o *CreateSnapshotPayload) HasLabels() bool
- func (o *CreateSnapshotPayload) HasName() bool
- func (o *CreateSnapshotPayload) HasSize() bool
- func (o *CreateSnapshotPayload) HasStatus() bool
- func (o *CreateSnapshotPayload) HasUpdatedAt() bool
- func (o CreateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (o *CreateSnapshotPayload) SetCreatedAt(v time.Time)
- func (o *CreateSnapshotPayload) SetId(v string)
- func (o *CreateSnapshotPayload) SetLabels(v map[string]interface{})
- func (o *CreateSnapshotPayload) SetName(v string)
- func (o *CreateSnapshotPayload) SetSize(v int64)
- func (o *CreateSnapshotPayload) SetStatus(v string)
- func (o *CreateSnapshotPayload) SetUpdatedAt(v time.Time)
- func (o *CreateSnapshotPayload) SetVolumeId(v string)
- func (o CreateSnapshotPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateSnapshotPayload) UnmarshalJSON(data []byte) (err error)
- type CreateVolumePayload
- func (o *CreateVolumePayload) GetAvailabilityZone() string
- func (o *CreateVolumePayload) GetAvailabilityZoneOk() (*string, bool)
- func (o *CreateVolumePayload) GetBootable() bool
- func (o *CreateVolumePayload) GetBootableOk() (*bool, bool)
- func (o *CreateVolumePayload) GetCreatedAt() time.Time
- func (o *CreateVolumePayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateVolumePayload) GetDescription() string
- func (o *CreateVolumePayload) GetDescriptionOk() (*string, bool)
- func (o *CreateVolumePayload) GetEncrypted() bool
- func (o *CreateVolumePayload) GetEncryptedOk() (*bool, bool)
- func (o *CreateVolumePayload) GetEncryptionParameters() VolumeEncryptionParameter
- func (o *CreateVolumePayload) GetEncryptionParametersOk() (*VolumeEncryptionParameter, bool)
- func (o *CreateVolumePayload) GetId() string
- func (o *CreateVolumePayload) GetIdOk() (*string, bool)
- func (o *CreateVolumePayload) GetImageConfig() ImageConfig
- func (o *CreateVolumePayload) GetImageConfigOk() (*ImageConfig, bool)
- func (o *CreateVolumePayload) GetLabels() map[string]interface{}
- func (o *CreateVolumePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateVolumePayload) GetName() string
- func (o *CreateVolumePayload) GetNameOk() (*string, bool)
- func (o *CreateVolumePayload) GetPerformanceClass() string
- func (o *CreateVolumePayload) GetPerformanceClassOk() (*string, bool)
- func (o *CreateVolumePayload) GetServerId() string
- func (o *CreateVolumePayload) GetServerIdOk() (*string, bool)
- func (o *CreateVolumePayload) GetSize() int64
- func (o *CreateVolumePayload) GetSizeOk() (*int64, bool)
- func (o *CreateVolumePayload) GetSource() VolumeSource
- func (o *CreateVolumePayload) GetSourceOk() (*VolumeSource, bool)
- func (o *CreateVolumePayload) GetStatus() string
- func (o *CreateVolumePayload) GetStatusOk() (*string, bool)
- func (o *CreateVolumePayload) GetUpdatedAt() time.Time
- func (o *CreateVolumePayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateVolumePayload) HasBootable() bool
- func (o *CreateVolumePayload) HasCreatedAt() bool
- func (o *CreateVolumePayload) HasDescription() bool
- func (o *CreateVolumePayload) HasEncrypted() bool
- func (o *CreateVolumePayload) HasEncryptionParameters() bool
- func (o *CreateVolumePayload) HasId() bool
- func (o *CreateVolumePayload) HasImageConfig() bool
- func (o *CreateVolumePayload) HasLabels() bool
- func (o *CreateVolumePayload) HasName() bool
- func (o *CreateVolumePayload) HasPerformanceClass() bool
- func (o *CreateVolumePayload) HasServerId() bool
- func (o *CreateVolumePayload) HasSize() bool
- func (o *CreateVolumePayload) HasSource() bool
- func (o *CreateVolumePayload) HasStatus() bool
- func (o *CreateVolumePayload) HasUpdatedAt() bool
- func (o CreateVolumePayload) MarshalJSON() ([]byte, error)
- func (o *CreateVolumePayload) SetAvailabilityZone(v string)
- func (o *CreateVolumePayload) SetBootable(v bool)
- func (o *CreateVolumePayload) SetCreatedAt(v time.Time)
- func (o *CreateVolumePayload) SetDescription(v string)
- func (o *CreateVolumePayload) SetEncrypted(v bool)
- func (o *CreateVolumePayload) SetEncryptionParameters(v VolumeEncryptionParameter)
- func (o *CreateVolumePayload) SetId(v string)
- func (o *CreateVolumePayload) SetImageConfig(v ImageConfig)
- func (o *CreateVolumePayload) SetLabels(v map[string]interface{})
- func (o *CreateVolumePayload) SetName(v string)
- func (o *CreateVolumePayload) SetPerformanceClass(v string)
- func (o *CreateVolumePayload) SetServerId(v string)
- func (o *CreateVolumePayload) SetSize(v int64)
- func (o *CreateVolumePayload) SetSource(v VolumeSource)
- func (o *CreateVolumePayload) SetStatus(v string)
- func (o *CreateVolumePayload) SetUpdatedAt(v time.Time)
- func (o CreateVolumePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateVolumePayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest
- func (a *DefaultAPIService) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
- func (a *DefaultAPIService) AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest
- func (a *DefaultAPIService) AddNicToServerExecute(r ApiAddNicToServerRequest) error
- func (a *DefaultAPIService) AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
- func (a *DefaultAPIService) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
- func (a *DefaultAPIService) AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
- func (a *DefaultAPIService) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
- func (a *DefaultAPIService) AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, ...) ApiAddServiceAccountToServerRequest
- func (a *DefaultAPIService) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
- func (a *DefaultAPIService) AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest
- func (a *DefaultAPIService) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
- func (a *DefaultAPIService) CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest
- func (a *DefaultAPIService) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
- func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest
- func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest
- func (a *DefaultAPIService) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
- func (a *DefaultAPIService) CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
- func (a *DefaultAPIService) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
- func (a *DefaultAPIService) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest
- func (a *DefaultAPIService) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
- func (a *DefaultAPIService) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
- func (a *DefaultAPIService) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest
- func (a *DefaultAPIService) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
- func (a *DefaultAPIService) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest
- func (a *DefaultAPIService) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
- func (a *DefaultAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
- func (a *DefaultAPIService) CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest
- func (a *DefaultAPIService) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
- func (a *DefaultAPIService) CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest
- func (a *DefaultAPIService) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
- func (a *DefaultAPIService) CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest
- func (a *DefaultAPIService) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
- func (a *DefaultAPIService) CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
- func (a *DefaultAPIService) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
- func (a *DefaultAPIService) CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest
- func (a *DefaultAPIService) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
- func (a *DefaultAPIService) CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest
- func (a *DefaultAPIService) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)
- func (a *DefaultAPIService) CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest
- func (a *DefaultAPIService) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
- func (a *DefaultAPIService) DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest
- func (a *DefaultAPIService) DeallocateServerExecute(r ApiDeallocateServerRequest) error
- func (a *DefaultAPIService) DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest
- func (a *DefaultAPIService) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
- func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest
- func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error
- func (a *DefaultAPIService) DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest
- func (a *DefaultAPIService) DeleteImageExecute(r ApiDeleteImageRequest) error
- func (a *DefaultAPIService) DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest
- func (a *DefaultAPIService) DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, ...) ApiDeleteImageShareConsumerRequest
- func (a *DefaultAPIService) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
- func (a *DefaultAPIService) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
- func (a *DefaultAPIService) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
- func (a *DefaultAPIService) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
- func (a *DefaultAPIService) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest
- func (a *DefaultAPIService) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
- func (a *DefaultAPIService) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
- func (a *DefaultAPIService) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, ...) ApiDeleteNetworkAreaRangeRequest
- func (a *DefaultAPIService) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
- func (a *DefaultAPIService) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest
- func (a *DefaultAPIService) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
- func (a *DefaultAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
- func (a *DefaultAPIService) DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest
- func (a *DefaultAPIService) DeleteNicExecute(r ApiDeleteNicRequest) error
- func (a *DefaultAPIService) DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest
- func (a *DefaultAPIService) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
- func (a *DefaultAPIService) DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest
- func (a *DefaultAPIService) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
- func (a *DefaultAPIService) DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, ...) ApiDeleteSecurityGroupRuleRequest
- func (a *DefaultAPIService) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
- func (a *DefaultAPIService) DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest
- func (a *DefaultAPIService) DeleteServerExecute(r ApiDeleteServerRequest) error
- func (a *DefaultAPIService) DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest
- func (a *DefaultAPIService) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error
- func (a *DefaultAPIService) DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest
- func (a *DefaultAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
- func (a *DefaultAPIService) GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest
- func (a *DefaultAPIService) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
- func (a *DefaultAPIService) GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
- func (a *DefaultAPIService) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
- func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest
- func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest
- func (a *DefaultAPIService) GetImageExecute(r ApiGetImageRequest) (*Image, error)
- func (a *DefaultAPIService) GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest
- func (a *DefaultAPIService) GetImageShareConsumer(ctx context.Context, projectId string, imageId string, ...) ApiGetImageShareConsumerRequest
- func (a *DefaultAPIService) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
- func (a *DefaultAPIService) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
- func (a *DefaultAPIService) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
- func (a *DefaultAPIService) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
- func (a *DefaultAPIService) GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest
- func (a *DefaultAPIService) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
- func (a *DefaultAPIService) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest
- func (a *DefaultAPIService) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
- func (a *DefaultAPIService) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
- func (a *DefaultAPIService) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, ...) ApiGetNetworkAreaRangeRequest
- func (a *DefaultAPIService) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
- func (a *DefaultAPIService) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest
- func (a *DefaultAPIService) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
- func (a *DefaultAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
- func (a *DefaultAPIService) GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest
- func (a *DefaultAPIService) GetNicExecute(r ApiGetNicRequest) (*NIC, error)
- func (a *DefaultAPIService) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
- func (a *DefaultAPIService) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
- func (a *DefaultAPIService) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
- func (a *DefaultAPIService) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
- func (a *DefaultAPIService) GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest
- func (a *DefaultAPIService) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
- func (a *DefaultAPIService) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest
- func (a *DefaultAPIService) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
- func (a *DefaultAPIService) GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest
- func (a *DefaultAPIService) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
- func (a *DefaultAPIService) GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest
- func (a *DefaultAPIService) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
- func (a *DefaultAPIService) GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, ...) ApiGetSecurityGroupRuleRequest
- func (a *DefaultAPIService) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
- func (a *DefaultAPIService) GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest
- func (a *DefaultAPIService) GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest
- func (a *DefaultAPIService) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
- func (a *DefaultAPIService) GetServerExecute(r ApiGetServerRequest) (*Server, error)
- func (a *DefaultAPIService) GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest
- func (a *DefaultAPIService) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
- func (a *DefaultAPIService) GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest
- func (a *DefaultAPIService) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)
- func (a *DefaultAPIService) GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest
- func (a *DefaultAPIService) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
- func (a *DefaultAPIService) GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
- func (a *DefaultAPIService) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
- func (a *DefaultAPIService) ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest
- func (a *DefaultAPIService) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
- func (a *DefaultAPIService) ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest
- func (a *DefaultAPIService) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
- func (a *DefaultAPIService) ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest
- func (a *DefaultAPIService) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
- func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
- func (a *DefaultAPIService) ListImages(ctx context.Context, projectId string) ApiListImagesRequest
- func (a *DefaultAPIService) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
- func (a *DefaultAPIService) ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
- func (a *DefaultAPIService) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
- func (a *DefaultAPIService) ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest
- func (a *DefaultAPIService) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
- func (a *DefaultAPIService) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
- func (a *DefaultAPIService) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
- func (a *DefaultAPIService) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest
- func (a *DefaultAPIService) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
- func (a *DefaultAPIService) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest
- func (a *DefaultAPIService) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
- func (a *DefaultAPIService) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
- func (a *DefaultAPIService) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
- func (a *DefaultAPIService) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest
- func (a *DefaultAPIService) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
- func (a *DefaultAPIService) ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest
- func (a *DefaultAPIService) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
- func (a *DefaultAPIService) ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest
- func (a *DefaultAPIService) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
- func (a *DefaultAPIService) ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
- func (a *DefaultAPIService) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
- func (a *DefaultAPIService) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest
- func (a *DefaultAPIService) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
- func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest
- func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a *DefaultAPIService) ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest
- func (a *DefaultAPIService) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
- func (a *DefaultAPIService) ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest
- func (a *DefaultAPIService) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
- func (a *DefaultAPIService) ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest
- func (a *DefaultAPIService) ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)
- func (a *DefaultAPIService) ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest
- func (a *DefaultAPIService) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
- func (a *DefaultAPIService) ListServers(ctx context.Context, projectId string) ApiListServersRequest
- func (a *DefaultAPIService) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
- func (a *DefaultAPIService) ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest
- func (a *DefaultAPIService) ListSnapshotsExecute(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)
- func (a *DefaultAPIService) ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest
- func (a *DefaultAPIService) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
- func (a *DefaultAPIService) ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest
- func (a *DefaultAPIService) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
- func (a *DefaultAPIService) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest
- func (a *DefaultAPIService) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
- func (a *DefaultAPIService) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
- func (a *DefaultAPIService) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
- func (a *DefaultAPIService) RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest
- func (a *DefaultAPIService) RebootServerExecute(r ApiRebootServerRequest) error
- func (a *DefaultAPIService) RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
- func (a *DefaultAPIService) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
- func (a *DefaultAPIService) RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest
- func (a *DefaultAPIService) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
- func (a *DefaultAPIService) RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
- func (a *DefaultAPIService) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
- func (a *DefaultAPIService) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
- func (a *DefaultAPIService) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
- func (a *DefaultAPIService) RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, ...) ApiRemoveServiceAccountFromServerRequest
- func (a *DefaultAPIService) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
- func (a *DefaultAPIService) RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
- func (a *DefaultAPIService) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
- func (a *DefaultAPIService) RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest
- func (a *DefaultAPIService) RescueServerExecute(r ApiRescueServerRequest) error
- func (a *DefaultAPIService) ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest
- func (a *DefaultAPIService) ResizeServerExecute(r ApiResizeServerRequest) error
- func (a *DefaultAPIService) ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest
- func (a *DefaultAPIService) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
- func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest
- func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error
- func (a *DefaultAPIService) SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest
- func (a *DefaultAPIService) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
- func (a *DefaultAPIService) StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest
- func (a *DefaultAPIService) StartServerExecute(r ApiStartServerRequest) error
- func (a *DefaultAPIService) StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest
- func (a *DefaultAPIService) StopServerExecute(r ApiStopServerRequest) error
- func (a *DefaultAPIService) UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest
- func (a *DefaultAPIService) UnrescueServerExecute(r ApiUnrescueServerRequest) error
- func (a *DefaultAPIService) UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
- func (a *DefaultAPIService) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
- func (a *DefaultAPIService) UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest
- func (a *DefaultAPIService) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest
- func (a *DefaultAPIService) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
- func (a *DefaultAPIService) UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest
- func (a *DefaultAPIService) UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)
- func (a *DefaultAPIService) UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest
- func (a *DefaultAPIService) UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)
- func (a *DefaultAPIService) UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest
- func (a *DefaultAPIService) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
- func (a *DefaultAPIService) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
- func (a *DefaultAPIService) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
- func (a *DefaultAPIService) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest
- func (a *DefaultAPIService) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
- func (a *DefaultAPIService) UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest
- func (a *DefaultAPIService) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
- func (a *DefaultAPIService) UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest
- func (a *DefaultAPIService) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
- func (a *DefaultAPIService) UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest
- func (a *DefaultAPIService) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
- func (a *DefaultAPIService) UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest
- func (a *DefaultAPIService) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
- func (a *DefaultAPIService) UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest
- func (a *DefaultAPIService) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)
- func (a *DefaultAPIService) UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest
- func (a *DefaultAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest
- func (a DefaultAPIServiceMock) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest
- func (a DefaultAPIServiceMock) AddNicToServerExecute(r ApiAddNicToServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
- func (a DefaultAPIServiceMock) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
- func (a DefaultAPIServiceMock) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, ...) ApiAddServiceAccountToServerRequest
- func (a DefaultAPIServiceMock) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)deprecated
- func (a DefaultAPIServiceMock) AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest
- func (a DefaultAPIServiceMock) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)deprecated
- func (a DefaultAPIServiceMock) CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest
- func (a DefaultAPIServiceMock) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)deprecated
- func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest
- func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)deprecated
- func (a DefaultAPIServiceMock) CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest
- func (a DefaultAPIServiceMock) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)deprecated
- func (a DefaultAPIServiceMock) CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
- func (a DefaultAPIServiceMock) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)deprecated
- func (a DefaultAPIServiceMock) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest
- func (a DefaultAPIServiceMock) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
- func (a DefaultAPIServiceMock) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)deprecated
- func (a DefaultAPIServiceMock) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest
- func (a DefaultAPIServiceMock) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)deprecated
- func (a DefaultAPIServiceMock) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)deprecated
- func (a DefaultAPIServiceMock) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)deprecated
- func (a DefaultAPIServiceMock) CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest
- func (a DefaultAPIServiceMock) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)deprecated
- func (a DefaultAPIServiceMock) CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest
- func (a DefaultAPIServiceMock) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)deprecated
- func (a DefaultAPIServiceMock) CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest
- func (a DefaultAPIServiceMock) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)deprecated
- func (a DefaultAPIServiceMock) CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
- func (a DefaultAPIServiceMock) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)deprecated
- func (a DefaultAPIServiceMock) CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest
- func (a DefaultAPIServiceMock) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)deprecated
- func (a DefaultAPIServiceMock) CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest
- func (a DefaultAPIServiceMock) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)deprecated
- func (a DefaultAPIServiceMock) CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest
- func (a DefaultAPIServiceMock) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)deprecated
- func (a DefaultAPIServiceMock) DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest
- func (a DefaultAPIServiceMock) DeallocateServerExecute(r ApiDeallocateServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest
- func (a DefaultAPIServiceMock) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest
- func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest
- func (a DefaultAPIServiceMock) DeleteImageExecute(r ApiDeleteImageRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest
- func (a DefaultAPIServiceMock) DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, ...) ApiDeleteImageShareConsumerRequest
- func (a DefaultAPIServiceMock) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteImageShareExecute(r ApiDeleteImageShareRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
- func (a DefaultAPIServiceMock) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest
- func (a DefaultAPIServiceMock) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
- func (a DefaultAPIServiceMock) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, ...) ApiDeleteNetworkAreaRangeRequest
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteNetworkExecute(r ApiDeleteNetworkRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest
- func (a DefaultAPIServiceMock) DeleteNicExecute(r ApiDeleteNicRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest
- func (a DefaultAPIServiceMock) DeletePublicIPExecute(r ApiDeletePublicIPRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest
- func (a DefaultAPIServiceMock) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, ...) ApiDeleteSecurityGroupRuleRequest
- func (a DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest
- func (a DefaultAPIServiceMock) DeleteServerExecute(r ApiDeleteServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest
- func (a DefaultAPIServiceMock) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) errordeprecated
- func (a DefaultAPIServiceMock) DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest
- func (a DefaultAPIServiceMock) DeleteVolumeExecute(r ApiDeleteVolumeRequest) errordeprecated
- func (a DefaultAPIServiceMock) GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest
- func (a DefaultAPIServiceMock) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)deprecated
- func (a DefaultAPIServiceMock) GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
- func (a DefaultAPIServiceMock) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)deprecated
- func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest
- func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)deprecated
- func (a DefaultAPIServiceMock) GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest
- func (a DefaultAPIServiceMock) GetImageExecute(r ApiGetImageRequest) (*Image, error)deprecated
- func (a DefaultAPIServiceMock) GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest
- func (a DefaultAPIServiceMock) GetImageShareConsumer(ctx context.Context, projectId string, imageId string, ...) ApiGetImageShareConsumerRequest
- func (a DefaultAPIServiceMock) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)deprecated
- func (a DefaultAPIServiceMock) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)deprecated
- func (a DefaultAPIServiceMock) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
- func (a DefaultAPIServiceMock) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)deprecated
- func (a DefaultAPIServiceMock) GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest
- func (a DefaultAPIServiceMock) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)deprecated
- func (a DefaultAPIServiceMock) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest
- func (a DefaultAPIServiceMock) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
- func (a DefaultAPIServiceMock) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)deprecated
- func (a DefaultAPIServiceMock) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, ...) ApiGetNetworkAreaRangeRequest
- func (a DefaultAPIServiceMock) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)deprecated
- func (a DefaultAPIServiceMock) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)deprecated
- func (a DefaultAPIServiceMock) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)deprecated
- func (a DefaultAPIServiceMock) GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest
- func (a DefaultAPIServiceMock) GetNicExecute(r ApiGetNicRequest) (*NIC, error)deprecated
- func (a DefaultAPIServiceMock) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
- func (a DefaultAPIServiceMock) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)deprecated
- func (a DefaultAPIServiceMock) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
- func (a DefaultAPIServiceMock) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)deprecated
- func (a DefaultAPIServiceMock) GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest
- func (a DefaultAPIServiceMock) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)deprecated
- func (a DefaultAPIServiceMock) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest
- func (a DefaultAPIServiceMock) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)deprecated
- func (a DefaultAPIServiceMock) GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest
- func (a DefaultAPIServiceMock) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)deprecated
- func (a DefaultAPIServiceMock) GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest
- func (a DefaultAPIServiceMock) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)deprecated
- func (a DefaultAPIServiceMock) GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, ...) ApiGetSecurityGroupRuleRequest
- func (a DefaultAPIServiceMock) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)deprecated
- func (a DefaultAPIServiceMock) GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest
- func (a DefaultAPIServiceMock) GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest
- func (a DefaultAPIServiceMock) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)deprecated
- func (a DefaultAPIServiceMock) GetServerExecute(r ApiGetServerRequest) (*Server, error)deprecated
- func (a DefaultAPIServiceMock) GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest
- func (a DefaultAPIServiceMock) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)deprecated
- func (a DefaultAPIServiceMock) GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest
- func (a DefaultAPIServiceMock) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)deprecated
- func (a DefaultAPIServiceMock) GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest
- func (a DefaultAPIServiceMock) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)deprecated
- func (a DefaultAPIServiceMock) GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
- func (a DefaultAPIServiceMock) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)deprecated
- func (a DefaultAPIServiceMock) ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest
- func (a DefaultAPIServiceMock) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest
- func (a DefaultAPIServiceMock) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest
- func (a DefaultAPIServiceMock) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListImages(ctx context.Context, projectId string) ApiListImagesRequest
- func (a DefaultAPIServiceMock) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
- func (a DefaultAPIServiceMock) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest
- func (a DefaultAPIServiceMock) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
- func (a DefaultAPIServiceMock) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest
- func (a DefaultAPIServiceMock) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest
- func (a DefaultAPIServiceMock) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
- func (a DefaultAPIServiceMock) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest
- func (a DefaultAPIServiceMock) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest
- func (a DefaultAPIServiceMock) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest
- func (a DefaultAPIServiceMock) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
- func (a DefaultAPIServiceMock) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest
- func (a DefaultAPIServiceMock) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest
- func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest
- func (a DefaultAPIServiceMock) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest
- func (a DefaultAPIServiceMock) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest
- func (a DefaultAPIServiceMock) ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest
- func (a DefaultAPIServiceMock) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListServers(ctx context.Context, projectId string) ApiListServersRequest
- func (a DefaultAPIServiceMock) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest
- func (a DefaultAPIServiceMock) ListSnapshotsExecute(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest
- func (a DefaultAPIServiceMock) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest
- func (a DefaultAPIServiceMock) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)deprecated
- func (a DefaultAPIServiceMock) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest
- func (a DefaultAPIServiceMock) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
- func (a DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)deprecated
- func (a DefaultAPIServiceMock) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) errordeprecated
- func (a DefaultAPIServiceMock) RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest
- func (a DefaultAPIServiceMock) RebootServerExecute(r ApiRebootServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
- func (a DefaultAPIServiceMock) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest
- func (a DefaultAPIServiceMock) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
- func (a DefaultAPIServiceMock) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
- func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, ...) ApiRemoveServiceAccountFromServerRequest
- func (a DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)deprecated
- func (a DefaultAPIServiceMock) RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
- func (a DefaultAPIServiceMock) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest
- func (a DefaultAPIServiceMock) RescueServerExecute(r ApiRescueServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest
- func (a DefaultAPIServiceMock) ResizeServerExecute(r ApiResizeServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest
- func (a DefaultAPIServiceMock) ResizeVolumeExecute(r ApiResizeVolumeRequest) errordeprecated
- func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest
- func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) errordeprecated
- func (a DefaultAPIServiceMock) SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest
- func (a DefaultAPIServiceMock) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)deprecated
- func (a DefaultAPIServiceMock) StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest
- func (a DefaultAPIServiceMock) StartServerExecute(r ApiStartServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest
- func (a DefaultAPIServiceMock) StopServerExecute(r ApiStopServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest
- func (a DefaultAPIServiceMock) UnrescueServerExecute(r ApiUnrescueServerRequest) errordeprecated
- func (a DefaultAPIServiceMock) UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
- func (a DefaultAPIServiceMock) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)deprecated
- func (a DefaultAPIServiceMock) UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest
- func (a DefaultAPIServiceMock) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)deprecated
- func (a DefaultAPIServiceMock) UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest
- func (a DefaultAPIServiceMock) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)deprecated
- func (a DefaultAPIServiceMock) UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest
- func (a DefaultAPIServiceMock) UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)deprecated
- func (a DefaultAPIServiceMock) UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest
- func (a DefaultAPIServiceMock) UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)deprecated
- func (a DefaultAPIServiceMock) UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest
- func (a DefaultAPIServiceMock) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)deprecated
- func (a DefaultAPIServiceMock) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
- func (a DefaultAPIServiceMock) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)deprecated
- func (a DefaultAPIServiceMock) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)deprecated
- func (a DefaultAPIServiceMock) UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest
- func (a DefaultAPIServiceMock) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)deprecated
- func (a DefaultAPIServiceMock) UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest
- func (a DefaultAPIServiceMock) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)deprecated
- func (a DefaultAPIServiceMock) UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest
- func (a DefaultAPIServiceMock) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)deprecated
- func (a DefaultAPIServiceMock) UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest
- func (a DefaultAPIServiceMock) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)deprecated
- func (a DefaultAPIServiceMock) UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest
- func (a DefaultAPIServiceMock) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)deprecated
- func (a DefaultAPIServiceMock) UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest
- func (a DefaultAPIServiceMock) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)deprecated
- type Error
- func (o *Error) GetCode() int64
- func (o *Error) GetCodeOk() (*int64, bool)
- func (o *Error) GetMsg() string
- func (o *Error) GetMsgOk() (*string, bool)
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v int64)
- func (o *Error) SetMsg(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type GetServerLog200Response
- func (o *GetServerLog200Response) GetOutput() string
- func (o *GetServerLog200Response) GetOutputOk() (*string, bool)
- func (o *GetServerLog200Response) HasOutput() bool
- func (o GetServerLog200Response) MarshalJSON() ([]byte, error)
- func (o *GetServerLog200Response) SetOutput(v string)
- func (o GetServerLog200Response) ToMap() (map[string]interface{}, error)
- type ICMPParameters
- func (o *ICMPParameters) GetCode() int64
- func (o *ICMPParameters) GetCodeOk() (*int64, bool)
- func (o *ICMPParameters) GetType() int64
- func (o *ICMPParameters) GetTypeOk() (*int64, bool)
- func (o ICMPParameters) MarshalJSON() ([]byte, error)
- func (o *ICMPParameters) SetCode(v int64)
- func (o *ICMPParameters) SetType(v int64)
- func (o ICMPParameters) ToMap() (map[string]interface{}, error)
- func (o *ICMPParameters) UnmarshalJSON(data []byte) (err error)
- type Image
- func (o *Image) GetAgent() ImageAgent
- func (o *Image) GetAgentOk() (*ImageAgent, bool)
- func (o *Image) GetChecksum() ImageChecksum
- func (o *Image) GetChecksumOk() (*ImageChecksum, bool)
- func (o *Image) GetConfig() ImageConfig
- func (o *Image) GetConfigOk() (*ImageConfig, bool)
- func (o *Image) GetCreatedAt() time.Time
- func (o *Image) GetCreatedAtOk() (*time.Time, bool)
- func (o *Image) GetDiskFormat() string
- func (o *Image) GetDiskFormatOk() (*string, bool)
- func (o *Image) GetId() string
- func (o *Image) GetIdOk() (*string, bool)
- func (o *Image) GetImportProgress() int64
- func (o *Image) GetImportProgressOk() (*int64, bool)
- func (o *Image) GetLabels() map[string]interface{}
- func (o *Image) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Image) GetMinDiskSize() int64
- func (o *Image) GetMinDiskSizeOk() (*int64, bool)
- func (o *Image) GetMinRam() int64
- func (o *Image) GetMinRamOk() (*int64, bool)
- func (o *Image) GetName() string
- func (o *Image) GetNameOk() (*string, bool)
- func (o *Image) GetOwner() string
- func (o *Image) GetOwnerOk() (*string, bool)
- func (o *Image) GetProtected() bool
- func (o *Image) GetProtectedOk() (*bool, bool)
- func (o *Image) GetScope() string
- func (o *Image) GetScopeOk() (*string, bool)
- func (o *Image) GetSize() int64
- func (o *Image) GetSizeOk() (*int64, bool)
- func (o *Image) GetStatus() string
- func (o *Image) GetStatusOk() (*string, bool)
- func (o *Image) GetUpdatedAt() time.Time
- func (o *Image) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Image) HasAgent() bool
- func (o *Image) HasChecksum() bool
- func (o *Image) HasConfig() bool
- func (o *Image) HasCreatedAt() bool
- func (o *Image) HasId() bool
- func (o *Image) HasImportProgress() bool
- func (o *Image) HasLabels() bool
- func (o *Image) HasMinDiskSize() bool
- func (o *Image) HasMinRam() bool
- func (o *Image) HasOwner() bool
- func (o *Image) HasProtected() bool
- func (o *Image) HasScope() bool
- func (o *Image) HasSize() bool
- func (o *Image) HasStatus() bool
- func (o *Image) HasUpdatedAt() bool
- func (o Image) MarshalJSON() ([]byte, error)
- func (o *Image) SetAgent(v ImageAgent)
- func (o *Image) SetChecksum(v ImageChecksum)
- func (o *Image) SetConfig(v ImageConfig)
- func (o *Image) SetCreatedAt(v time.Time)
- func (o *Image) SetDiskFormat(v string)
- func (o *Image) SetId(v string)
- func (o *Image) SetImportProgress(v int64)
- func (o *Image) SetLabels(v map[string]interface{})
- func (o *Image) SetMinDiskSize(v int64)
- func (o *Image) SetMinRam(v int64)
- func (o *Image) SetName(v string)
- func (o *Image) SetOwner(v string)
- func (o *Image) SetProtected(v bool)
- func (o *Image) SetScope(v string)
- func (o *Image) SetSize(v int64)
- func (o *Image) SetStatus(v string)
- func (o *Image) SetUpdatedAt(v time.Time)
- func (o Image) ToMap() (map[string]interface{}, error)
- func (o *Image) UnmarshalJSON(data []byte) (err error)
- type ImageAgent
- func (o *ImageAgent) GetProvisionByDefault() bool
- func (o *ImageAgent) GetProvisionByDefaultOk() (*bool, bool)
- func (o *ImageAgent) GetSupported() bool
- func (o *ImageAgent) GetSupportedOk() (*bool, bool)
- func (o *ImageAgent) HasProvisionByDefault() bool
- func (o *ImageAgent) HasSupported() bool
- func (o ImageAgent) MarshalJSON() ([]byte, error)
- func (o *ImageAgent) SetProvisionByDefault(v bool)
- func (o *ImageAgent) SetSupported(v bool)
- func (o ImageAgent) ToMap() (map[string]interface{}, error)
- type ImageChecksum
- func (o *ImageChecksum) GetAlgorithm() string
- func (o *ImageChecksum) GetAlgorithmOk() (*string, bool)
- func (o *ImageChecksum) GetDigest() string
- func (o *ImageChecksum) GetDigestOk() (*string, bool)
- func (o ImageChecksum) MarshalJSON() ([]byte, error)
- func (o *ImageChecksum) SetAlgorithm(v string)
- func (o *ImageChecksum) SetDigest(v string)
- func (o ImageChecksum) ToMap() (map[string]interface{}, error)
- func (o *ImageChecksum) UnmarshalJSON(data []byte) (err error)
- type ImageConfig
- func (o *ImageConfig) GetArchitecture() string
- func (o *ImageConfig) GetArchitectureOk() (*string, bool)
- func (o *ImageConfig) GetBootMenu() bool
- func (o *ImageConfig) GetBootMenuOk() (*bool, bool)
- func (o *ImageConfig) GetCdromBus() string
- func (o *ImageConfig) GetCdromBusOk() (*string, bool)
- func (o *ImageConfig) GetDiskBus() string
- func (o *ImageConfig) GetDiskBusOk() (*string, bool)
- func (o *ImageConfig) GetNicModel() string
- func (o *ImageConfig) GetNicModelOk() (*string, bool)
- func (o *ImageConfig) GetOperatingSystem() string
- func (o *ImageConfig) GetOperatingSystemDistro() string
- func (o *ImageConfig) GetOperatingSystemDistroOk() (*string, bool)
- func (o *ImageConfig) GetOperatingSystemOk() (*string, bool)
- func (o *ImageConfig) GetOperatingSystemVersion() string
- func (o *ImageConfig) GetOperatingSystemVersionOk() (*string, bool)
- func (o *ImageConfig) GetRescueBus() string
- func (o *ImageConfig) GetRescueBusOk() (*string, bool)
- func (o *ImageConfig) GetRescueDevice() string
- func (o *ImageConfig) GetRescueDeviceOk() (*string, bool)
- func (o *ImageConfig) GetSecureBoot() bool
- func (o *ImageConfig) GetSecureBootOk() (*bool, bool)
- func (o *ImageConfig) GetUefi() bool
- func (o *ImageConfig) GetUefiOk() (*bool, bool)
- func (o *ImageConfig) GetVideoModel() string
- func (o *ImageConfig) GetVideoModelOk() (*string, bool)
- func (o *ImageConfig) GetVirtioScsi() bool
- func (o *ImageConfig) GetVirtioScsiOk() (*bool, bool)
- func (o *ImageConfig) HasArchitecture() bool
- func (o *ImageConfig) HasBootMenu() bool
- func (o *ImageConfig) HasCdromBus() bool
- func (o *ImageConfig) HasDiskBus() bool
- func (o *ImageConfig) HasNicModel() bool
- func (o *ImageConfig) HasOperatingSystem() bool
- func (o *ImageConfig) HasOperatingSystemDistro() bool
- func (o *ImageConfig) HasOperatingSystemVersion() bool
- func (o *ImageConfig) HasRescueBus() bool
- func (o *ImageConfig) HasRescueDevice() bool
- func (o *ImageConfig) HasSecureBoot() bool
- func (o *ImageConfig) HasUefi() bool
- func (o *ImageConfig) HasVideoModel() bool
- func (o *ImageConfig) HasVirtioScsi() bool
- func (o ImageConfig) MarshalJSON() ([]byte, error)
- func (o *ImageConfig) SetArchitecture(v string)
- func (o *ImageConfig) SetBootMenu(v bool)
- func (o *ImageConfig) SetCdromBus(v string)
- func (o *ImageConfig) SetCdromBusNil()
- func (o *ImageConfig) SetDiskBus(v string)
- func (o *ImageConfig) SetDiskBusNil()
- func (o *ImageConfig) SetNicModel(v string)
- func (o *ImageConfig) SetNicModelNil()
- func (o *ImageConfig) SetOperatingSystem(v string)
- func (o *ImageConfig) SetOperatingSystemDistro(v string)
- func (o *ImageConfig) SetOperatingSystemDistroNil()
- func (o *ImageConfig) SetOperatingSystemVersion(v string)
- func (o *ImageConfig) SetOperatingSystemVersionNil()
- func (o *ImageConfig) SetRescueBus(v string)
- func (o *ImageConfig) SetRescueBusNil()
- func (o *ImageConfig) SetRescueDevice(v string)
- func (o *ImageConfig) SetRescueDeviceNil()
- func (o *ImageConfig) SetSecureBoot(v bool)
- func (o *ImageConfig) SetUefi(v bool)
- func (o *ImageConfig) SetVideoModel(v string)
- func (o *ImageConfig) SetVideoModelNil()
- func (o *ImageConfig) SetVirtioScsi(v bool)
- func (o ImageConfig) ToMap() (map[string]interface{}, error)
- func (o *ImageConfig) UnsetCdromBus()
- func (o *ImageConfig) UnsetDiskBus()
- func (o *ImageConfig) UnsetNicModel()
- func (o *ImageConfig) UnsetOperatingSystemDistro()
- func (o *ImageConfig) UnsetOperatingSystemVersion()
- func (o *ImageConfig) UnsetRescueBus()
- func (o *ImageConfig) UnsetRescueDevice()
- func (o *ImageConfig) UnsetVideoModel()
- type ImageCreateResponse
- func (o *ImageCreateResponse) GetId() string
- func (o *ImageCreateResponse) GetIdOk() (*string, bool)
- func (o *ImageCreateResponse) GetUploadUrl() string
- func (o *ImageCreateResponse) GetUploadUrlOk() (*string, bool)
- func (o ImageCreateResponse) MarshalJSON() ([]byte, error)
- func (o *ImageCreateResponse) SetId(v string)
- func (o *ImageCreateResponse) SetUploadUrl(v string)
- func (o ImageCreateResponse) ToMap() (map[string]interface{}, error)
- func (o *ImageCreateResponse) UnmarshalJSON(data []byte) (err error)
- type ImageListResponse
- func (o *ImageListResponse) GetItems() []Image
- func (o *ImageListResponse) GetItemsOk() ([]Image, bool)
- func (o ImageListResponse) MarshalJSON() ([]byte, error)
- func (o *ImageListResponse) SetItems(v []Image)
- func (o ImageListResponse) ToMap() (map[string]interface{}, error)
- func (o *ImageListResponse) UnmarshalJSON(data []byte) (err error)
- type ImageShare
- func (o *ImageShare) GetParentOrganization() bool
- func (o *ImageShare) GetParentOrganizationOk() (*bool, bool)
- func (o *ImageShare) GetProjects() []string
- func (o *ImageShare) GetProjectsOk() ([]string, bool)
- func (o *ImageShare) HasParentOrganization() bool
- func (o *ImageShare) HasProjects() bool
- func (o ImageShare) MarshalJSON() ([]byte, error)
- func (o *ImageShare) SetParentOrganization(v bool)
- func (o *ImageShare) SetProjects(v []string)
- func (o ImageShare) ToMap() (map[string]interface{}, error)
- type ImageShareConsumer
- func (o *ImageShareConsumer) GetConsumerProjectId() string
- func (o *ImageShareConsumer) GetConsumerProjectIdOk() (*string, bool)
- func (o *ImageShareConsumer) GetCreatedAt() time.Time
- func (o *ImageShareConsumer) GetCreatedAtOk() (*time.Time, bool)
- func (o *ImageShareConsumer) GetImageId() string
- func (o *ImageShareConsumer) GetImageIdOk() (*string, bool)
- func (o *ImageShareConsumer) GetUpdatedAt() time.Time
- func (o *ImageShareConsumer) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ImageShareConsumer) HasConsumerProjectId() bool
- func (o *ImageShareConsumer) HasCreatedAt() bool
- func (o *ImageShareConsumer) HasImageId() bool
- func (o *ImageShareConsumer) HasUpdatedAt() bool
- func (o ImageShareConsumer) MarshalJSON() ([]byte, error)
- func (o *ImageShareConsumer) SetConsumerProjectId(v string)
- func (o *ImageShareConsumer) SetCreatedAt(v time.Time)
- func (o *ImageShareConsumer) SetImageId(v string)
- func (o *ImageShareConsumer) SetUpdatedAt(v time.Time)
- func (o ImageShareConsumer) ToMap() (map[string]interface{}, error)
- type KeyPairListResponse
- func (o *KeyPairListResponse) GetItems() []Keypair
- func (o *KeyPairListResponse) GetItemsOk() ([]Keypair, bool)
- func (o KeyPairListResponse) MarshalJSON() ([]byte, error)
- func (o *KeyPairListResponse) SetItems(v []Keypair)
- func (o KeyPairListResponse) ToMap() (map[string]interface{}, error)
- func (o *KeyPairListResponse) UnmarshalJSON(data []byte) (err error)
- type Keypair
- func (o *Keypair) GetCreatedAt() time.Time
- func (o *Keypair) GetCreatedAtOk() (*time.Time, bool)
- func (o *Keypair) GetFingerprint() string
- func (o *Keypair) GetFingerprintOk() (*string, bool)
- func (o *Keypair) GetLabels() map[string]interface{}
- func (o *Keypair) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Keypair) GetName() string
- func (o *Keypair) GetNameOk() (*string, bool)
- func (o *Keypair) GetPublicKey() string
- func (o *Keypair) GetPublicKeyOk() (*string, bool)
- func (o *Keypair) GetUpdatedAt() time.Time
- func (o *Keypair) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Keypair) HasCreatedAt() bool
- func (o *Keypair) HasFingerprint() bool
- func (o *Keypair) HasLabels() bool
- func (o *Keypair) HasName() bool
- func (o *Keypair) HasUpdatedAt() bool
- func (o Keypair) MarshalJSON() ([]byte, error)
- func (o *Keypair) SetCreatedAt(v time.Time)
- func (o *Keypair) SetFingerprint(v string)
- func (o *Keypair) SetLabels(v map[string]interface{})
- func (o *Keypair) SetName(v string)
- func (o *Keypair) SetPublicKey(v string)
- func (o *Keypair) SetUpdatedAt(v time.Time)
- func (o Keypair) ToMap() (map[string]interface{}, error)
- func (o *Keypair) UnmarshalJSON(data []byte) (err error)
- type MachineType
- func (o *MachineType) GetDescription() string
- func (o *MachineType) GetDescriptionOk() (*string, bool)
- func (o *MachineType) GetDisk() int64
- func (o *MachineType) GetDiskOk() (*int64, bool)
- func (o *MachineType) GetExtraSpecs() map[string]interface{}
- func (o *MachineType) GetExtraSpecsOk() (map[string]interface{}, bool)
- func (o *MachineType) GetName() string
- func (o *MachineType) GetNameOk() (*string, bool)
- func (o *MachineType) GetRam() int64
- func (o *MachineType) GetRamOk() (*int64, bool)
- func (o *MachineType) GetVcpus() int64
- func (o *MachineType) GetVcpusOk() (*int64, bool)
- func (o *MachineType) HasDescription() bool
- func (o *MachineType) HasExtraSpecs() bool
- func (o MachineType) MarshalJSON() ([]byte, error)
- func (o *MachineType) SetDescription(v string)
- func (o *MachineType) SetDisk(v int64)
- func (o *MachineType) SetExtraSpecs(v map[string]interface{})
- func (o *MachineType) SetName(v string)
- func (o *MachineType) SetRam(v int64)
- func (o *MachineType) SetVcpus(v int64)
- func (o MachineType) ToMap() (map[string]interface{}, error)
- func (o *MachineType) UnmarshalJSON(data []byte) (err error)
- type MachineTypeListResponse
- func (o *MachineTypeListResponse) GetItems() []MachineType
- func (o *MachineTypeListResponse) GetItemsOk() ([]MachineType, bool)
- func (o MachineTypeListResponse) MarshalJSON() ([]byte, error)
- func (o *MachineTypeListResponse) SetItems(v []MachineType)
- func (o MachineTypeListResponse) ToMap() (map[string]interface{}, error)
- func (o *MachineTypeListResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NIC
- func (o *NIC) GetAllowedAddresses() []AllowedAddressesInner
- func (o *NIC) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
- func (o *NIC) GetDescription() string
- func (o *NIC) GetDescriptionOk() (*string, bool)
- func (o *NIC) GetDevice() string
- func (o *NIC) GetDeviceOk() (*string, bool)
- func (o *NIC) GetId() string
- func (o *NIC) GetIdOk() (*string, bool)
- func (o *NIC) GetIpv4() string
- func (o *NIC) GetIpv4Ok() (*string, bool)
- func (o *NIC) GetIpv6() string
- func (o *NIC) GetIpv6Ok() (*string, bool)
- func (o *NIC) GetLabels() map[string]interface{}
- func (o *NIC) GetLabelsOk() (map[string]interface{}, bool)
- func (o *NIC) GetMac() string
- func (o *NIC) GetMacOk() (*string, bool)
- func (o *NIC) GetName() string
- func (o *NIC) GetNameOk() (*string, bool)
- func (o *NIC) GetNetworkId() string
- func (o *NIC) GetNetworkIdOk() (*string, bool)
- func (o *NIC) GetNicSecurity() bool
- func (o *NIC) GetNicSecurityOk() (*bool, bool)
- func (o *NIC) GetSecurityGroups() []string
- func (o *NIC) GetSecurityGroupsOk() ([]string, bool)
- func (o *NIC) GetStatus() string
- func (o *NIC) GetStatusOk() (*string, bool)
- func (o *NIC) GetType() string
- func (o *NIC) GetTypeOk() (*string, bool)
- func (o *NIC) HasAllowedAddresses() bool
- func (o *NIC) HasDescription() bool
- func (o *NIC) HasDevice() bool
- func (o *NIC) HasId() bool
- func (o *NIC) HasIpv4() bool
- func (o *NIC) HasIpv6() bool
- func (o *NIC) HasLabels() bool
- func (o *NIC) HasMac() bool
- func (o *NIC) HasName() bool
- func (o *NIC) HasNetworkId() bool
- func (o *NIC) HasNicSecurity() bool
- func (o *NIC) HasSecurityGroups() bool
- func (o *NIC) HasStatus() bool
- func (o *NIC) HasType() bool
- func (o NIC) MarshalJSON() ([]byte, error)
- func (o *NIC) SetAllowedAddresses(v []AllowedAddressesInner)
- func (o *NIC) SetDescription(v string)
- func (o *NIC) SetDevice(v string)
- func (o *NIC) SetId(v string)
- func (o *NIC) SetIpv4(v string)
- func (o *NIC) SetIpv6(v string)
- func (o *NIC) SetLabels(v map[string]interface{})
- func (o *NIC) SetMac(v string)
- func (o *NIC) SetName(v string)
- func (o *NIC) SetNetworkId(v string)
- func (o *NIC) SetNicSecurity(v bool)
- func (o *NIC) SetSecurityGroups(v []string)
- func (o *NIC) SetStatus(v string)
- func (o *NIC) SetType(v string)
- func (o NIC) ToMap() (map[string]interface{}, error)
- type NICListResponse
- func (o *NICListResponse) GetItems() []NIC
- func (o *NICListResponse) GetItemsOk() ([]NIC, bool)
- func (o NICListResponse) MarshalJSON() ([]byte, error)
- func (o *NICListResponse) SetItems(v []NIC)
- func (o NICListResponse) ToMap() (map[string]interface{}, error)
- func (o *NICListResponse) UnmarshalJSON(data []byte) (err error)
- type Network
- func (o *Network) GetCreatedAt() time.Time
- func (o *Network) GetCreatedAtOk() (*time.Time, bool)
- func (o *Network) GetDhcp() bool
- func (o *Network) GetDhcpOk() (*bool, bool)
- func (o *Network) GetGateway() string
- func (o *Network) GetGatewayOk() (*string, bool)
- func (o *Network) GetGatewayv6() string
- func (o *Network) GetGatewayv6Ok() (*string, bool)
- func (o *Network) GetLabels() map[string]interface{}
- func (o *Network) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Network) GetName() string
- func (o *Network) GetNameOk() (*string, bool)
- func (o *Network) GetNameservers() []string
- func (o *Network) GetNameserversOk() ([]string, bool)
- func (o *Network) GetNameserversV6() []string
- func (o *Network) GetNameserversV6Ok() ([]string, bool)
- func (o *Network) GetNetworkId() string
- func (o *Network) GetNetworkIdOk() (*string, bool)
- func (o *Network) GetPrefixes() []string
- func (o *Network) GetPrefixesOk() ([]string, bool)
- func (o *Network) GetPrefixesV6() []string
- func (o *Network) GetPrefixesV6Ok() ([]string, bool)
- func (o *Network) GetPublicIp() string
- func (o *Network) GetPublicIpOk() (*string, bool)
- func (o *Network) GetRouted() bool
- func (o *Network) GetRoutedOk() (*bool, bool)
- func (o *Network) GetState() string
- func (o *Network) GetStateOk() (*string, bool)
- func (o *Network) GetUpdatedAt() time.Time
- func (o *Network) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Network) HasCreatedAt() bool
- func (o *Network) HasDhcp() bool
- func (o *Network) HasGateway() bool
- func (o *Network) HasGatewayv6() bool
- func (o *Network) HasLabels() bool
- func (o *Network) HasNameservers() bool
- func (o *Network) HasNameserversV6() bool
- func (o *Network) HasPrefixes() bool
- func (o *Network) HasPrefixesV6() bool
- func (o *Network) HasPublicIp() bool
- func (o *Network) HasRouted() bool
- func (o *Network) HasUpdatedAt() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetCreatedAt(v time.Time)
- func (o *Network) SetDhcp(v bool)
- func (o *Network) SetGateway(v string)
- func (o *Network) SetGatewayNil()
- func (o *Network) SetGatewayv6(v string)
- func (o *Network) SetGatewayv6Nil()
- func (o *Network) SetLabels(v map[string]interface{})
- func (o *Network) SetName(v string)
- func (o *Network) SetNameservers(v []string)
- func (o *Network) SetNameserversV6(v []string)
- func (o *Network) SetNetworkId(v string)
- func (o *Network) SetPrefixes(v []string)
- func (o *Network) SetPrefixesV6(v []string)
- func (o *Network) SetPublicIp(v string)
- func (o *Network) SetRouted(v bool)
- func (o *Network) SetState(v string)
- func (o *Network) SetUpdatedAt(v time.Time)
- func (o Network) ToMap() (map[string]interface{}, error)
- func (o *Network) UnmarshalJSON(data []byte) (err error)
- func (o *Network) UnsetGateway()
- func (o *Network) UnsetGatewayv6()
- type NetworkArea
- func (o *NetworkArea) GetAreaId() string
- func (o *NetworkArea) GetAreaIdOk() (*string, bool)
- func (o *NetworkArea) GetCreatedAt() time.Time
- func (o *NetworkArea) GetCreatedAtOk() (*time.Time, bool)
- func (o *NetworkArea) GetIpv4() NetworkAreaIPv4
- func (o *NetworkArea) GetIpv4Ok() (*NetworkAreaIPv4, bool)
- func (o *NetworkArea) GetLabels() map[string]interface{}
- func (o *NetworkArea) GetLabelsOk() (map[string]interface{}, bool)
- func (o *NetworkArea) GetName() string
- func (o *NetworkArea) GetNameOk() (*string, bool)
- func (o *NetworkArea) GetProjectCount() int64
- func (o *NetworkArea) GetProjectCountOk() (*int64, bool)
- func (o *NetworkArea) GetState() string
- func (o *NetworkArea) GetStateOk() (*string, bool)
- func (o *NetworkArea) GetUpdatedAt() time.Time
- func (o *NetworkArea) GetUpdatedAtOk() (*time.Time, bool)
- func (o *NetworkArea) HasCreatedAt() bool
- func (o *NetworkArea) HasIpv4() bool
- func (o *NetworkArea) HasLabels() bool
- func (o *NetworkArea) HasUpdatedAt() bool
- func (o NetworkArea) MarshalJSON() ([]byte, error)
- func (o *NetworkArea) SetAreaId(v string)
- func (o *NetworkArea) SetCreatedAt(v time.Time)
- func (o *NetworkArea) SetIpv4(v NetworkAreaIPv4)
- func (o *NetworkArea) SetLabels(v map[string]interface{})
- func (o *NetworkArea) SetName(v string)
- func (o *NetworkArea) SetProjectCount(v int64)
- func (o *NetworkArea) SetState(v string)
- func (o *NetworkArea) SetUpdatedAt(v time.Time)
- func (o NetworkArea) ToMap() (map[string]interface{}, error)
- func (o *NetworkArea) UnmarshalJSON(data []byte) (err error)
- type NetworkAreaIPv4
- func (o *NetworkAreaIPv4) GetDefaultNameservers() []string
- func (o *NetworkAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
- func (o *NetworkAreaIPv4) GetDefaultPrefixLen() int32
- func (o *NetworkAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)
- func (o *NetworkAreaIPv4) GetMaxPrefixLen() int32
- func (o *NetworkAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)
- func (o *NetworkAreaIPv4) GetMinPrefixLen() int32
- func (o *NetworkAreaIPv4) GetMinPrefixLenOk() (*int32, bool)
- func (o *NetworkAreaIPv4) GetNetworkRanges() []NetworkRange
- func (o *NetworkAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)
- func (o *NetworkAreaIPv4) GetRoutes() []Route
- func (o *NetworkAreaIPv4) GetRoutesOk() ([]Route, bool)
- func (o *NetworkAreaIPv4) GetTransferNetwork() string
- func (o *NetworkAreaIPv4) GetTransferNetworkOk() (*string, bool)
- func (o *NetworkAreaIPv4) HasDefaultNameservers() bool
- func (o *NetworkAreaIPv4) HasDefaultPrefixLen() bool
- func (o *NetworkAreaIPv4) HasMaxPrefixLen() bool
- func (o *NetworkAreaIPv4) HasMinPrefixLen() bool
- func (o *NetworkAreaIPv4) HasNetworkRanges() bool
- func (o *NetworkAreaIPv4) HasRoutes() bool
- func (o *NetworkAreaIPv4) HasTransferNetwork() bool
- func (o NetworkAreaIPv4) MarshalJSON() ([]byte, error)
- func (o *NetworkAreaIPv4) SetDefaultNameservers(v []string)
- func (o *NetworkAreaIPv4) SetDefaultPrefixLen(v int32)
- func (o *NetworkAreaIPv4) SetMaxPrefixLen(v int32)
- func (o *NetworkAreaIPv4) SetMinPrefixLen(v int32)
- func (o *NetworkAreaIPv4) SetNetworkRanges(v []NetworkRange)
- func (o *NetworkAreaIPv4) SetRoutes(v []Route)
- func (o *NetworkAreaIPv4) SetTransferNetwork(v string)
- func (o NetworkAreaIPv4) ToMap() (map[string]interface{}, error)
- type NetworkAreaListResponse
- func (o *NetworkAreaListResponse) GetItems() []NetworkArea
- func (o *NetworkAreaListResponse) GetItemsOk() ([]NetworkArea, bool)
- func (o NetworkAreaListResponse) MarshalJSON() ([]byte, error)
- func (o *NetworkAreaListResponse) SetItems(v []NetworkArea)
- func (o NetworkAreaListResponse) ToMap() (map[string]interface{}, error)
- func (o *NetworkAreaListResponse) UnmarshalJSON(data []byte) (err error)
- type NetworkListResponse
- func (o *NetworkListResponse) GetItems() []Network
- func (o *NetworkListResponse) GetItemsOk() ([]Network, bool)
- func (o NetworkListResponse) MarshalJSON() ([]byte, error)
- func (o *NetworkListResponse) SetItems(v []Network)
- func (o NetworkListResponse) ToMap() (map[string]interface{}, error)
- func (o *NetworkListResponse) UnmarshalJSON(data []byte) (err error)
- type NetworkRange
- func (o *NetworkRange) GetCreatedAt() time.Time
- func (o *NetworkRange) GetCreatedAtOk() (*time.Time, bool)
- func (o *NetworkRange) GetNetworkRangeId() string
- func (o *NetworkRange) GetNetworkRangeIdOk() (*string, bool)
- func (o *NetworkRange) GetPrefix() string
- func (o *NetworkRange) GetPrefixOk() (*string, bool)
- func (o *NetworkRange) GetUpdatedAt() time.Time
- func (o *NetworkRange) GetUpdatedAtOk() (*time.Time, bool)
- func (o *NetworkRange) HasCreatedAt() bool
- func (o *NetworkRange) HasNetworkRangeId() bool
- func (o *NetworkRange) HasUpdatedAt() bool
- func (o NetworkRange) MarshalJSON() ([]byte, error)
- func (o *NetworkRange) SetCreatedAt(v time.Time)
- func (o *NetworkRange) SetNetworkRangeId(v string)
- func (o *NetworkRange) SetPrefix(v string)
- func (o *NetworkRange) SetUpdatedAt(v time.Time)
- func (o NetworkRange) ToMap() (map[string]interface{}, error)
- func (o *NetworkRange) UnmarshalJSON(data []byte) (err error)
- type NetworkRangeListResponse
- func (o *NetworkRangeListResponse) GetItems() []NetworkRange
- func (o *NetworkRangeListResponse) GetItemsOk() ([]NetworkRange, bool)
- func (o NetworkRangeListResponse) MarshalJSON() ([]byte, error)
- func (o *NetworkRangeListResponse) SetItems(v []NetworkRange)
- func (o NetworkRangeListResponse) ToMap() (map[string]interface{}, error)
- func (o *NetworkRangeListResponse) UnmarshalJSON(data []byte) (err error)
- type NullableAddVolumeToServerPayload
- func (v NullableAddVolumeToServerPayload) Get() *AddVolumeToServerPayload
- func (v NullableAddVolumeToServerPayload) IsSet() bool
- func (v NullableAddVolumeToServerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddVolumeToServerPayload) Set(val *AddVolumeToServerPayload)
- func (v *NullableAddVolumeToServerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddVolumeToServerPayload) Unset()
- type NullableAffinityGroup
- func (v NullableAffinityGroup) Get() *AffinityGroup
- func (v NullableAffinityGroup) IsSet() bool
- func (v NullableAffinityGroup) MarshalJSON() ([]byte, error)
- func (v *NullableAffinityGroup) Set(val *AffinityGroup)
- func (v *NullableAffinityGroup) UnmarshalJSON(src []byte) error
- func (v *NullableAffinityGroup) Unset()
- type NullableAffinityGroupListResponse
- func (v NullableAffinityGroupListResponse) Get() *AffinityGroupListResponse
- func (v NullableAffinityGroupListResponse) IsSet() bool
- func (v NullableAffinityGroupListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAffinityGroupListResponse) Set(val *AffinityGroupListResponse)
- func (v *NullableAffinityGroupListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAffinityGroupListResponse) Unset()
- type NullableAllowedAddressesInner
- func (v NullableAllowedAddressesInner) Get() *AllowedAddressesInner
- func (v NullableAllowedAddressesInner) IsSet() bool
- func (v NullableAllowedAddressesInner) MarshalJSON() ([]byte, error)
- func (v *NullableAllowedAddressesInner) Set(val *AllowedAddressesInner)
- func (v *NullableAllowedAddressesInner) UnmarshalJSON(src []byte) error
- func (v *NullableAllowedAddressesInner) Unset()
- type NullableArea
- type NullableAreaConfig
- type NullableAreaId
- type NullableAreaPrefixConfigIPv4
- func (v NullableAreaPrefixConfigIPv4) Get() *AreaPrefixConfigIPv4
- func (v NullableAreaPrefixConfigIPv4) IsSet() bool
- func (v NullableAreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableAreaPrefixConfigIPv4) Set(val *AreaPrefixConfigIPv4)
- func (v *NullableAreaPrefixConfigIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableAreaPrefixConfigIPv4) Unset()
- type NullableAvailabilityZoneListResponse
- func (v NullableAvailabilityZoneListResponse) Get() *AvailabilityZoneListResponse
- func (v NullableAvailabilityZoneListResponse) IsSet() bool
- func (v NullableAvailabilityZoneListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAvailabilityZoneListResponse) Set(val *AvailabilityZoneListResponse)
- func (v *NullableAvailabilityZoneListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAvailabilityZoneListResponse) Unset()
- type NullableBackup
- type NullableBackupListResponse
- func (v NullableBackupListResponse) Get() *BackupListResponse
- func (v NullableBackupListResponse) IsSet() bool
- func (v NullableBackupListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBackupListResponse) Set(val *BackupListResponse)
- func (v *NullableBackupListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBackupListResponse) Unset()
- type NullableBackupSource
- func (v NullableBackupSource) Get() *BackupSource
- func (v NullableBackupSource) IsSet() bool
- func (v NullableBackupSource) MarshalJSON() ([]byte, error)
- func (v *NullableBackupSource) Set(val *BackupSource)
- func (v *NullableBackupSource) UnmarshalJSON(src []byte) error
- func (v *NullableBackupSource) Unset()
- type NullableBaseSecurityGroupRule
- func (v NullableBaseSecurityGroupRule) Get() *BaseSecurityGroupRule
- func (v NullableBaseSecurityGroupRule) IsSet() bool
- func (v NullableBaseSecurityGroupRule) MarshalJSON() ([]byte, error)
- func (v *NullableBaseSecurityGroupRule) Set(val *BaseSecurityGroupRule)
- func (v *NullableBaseSecurityGroupRule) UnmarshalJSON(src []byte) error
- func (v *NullableBaseSecurityGroupRule) Unset()
- type NullableBool
- type NullableBootVolume
- type NullableBootVolumeSource
- func (v NullableBootVolumeSource) Get() *BootVolumeSource
- func (v NullableBootVolumeSource) IsSet() bool
- func (v NullableBootVolumeSource) MarshalJSON() ([]byte, error)
- func (v *NullableBootVolumeSource) Set(val *BootVolumeSource)
- func (v *NullableBootVolumeSource) UnmarshalJSON(src []byte) error
- func (v *NullableBootVolumeSource) Unset()
- type NullableCreateAffinityGroupPayload
- func (v NullableCreateAffinityGroupPayload) Get() *CreateAffinityGroupPayload
- func (v NullableCreateAffinityGroupPayload) IsSet() bool
- func (v NullableCreateAffinityGroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAffinityGroupPayload) Set(val *CreateAffinityGroupPayload)
- func (v *NullableCreateAffinityGroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAffinityGroupPayload) Unset()
- type NullableCreateAreaAddressFamily
- func (v NullableCreateAreaAddressFamily) Get() *CreateAreaAddressFamily
- func (v NullableCreateAreaAddressFamily) IsSet() bool
- func (v NullableCreateAreaAddressFamily) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAreaAddressFamily) Set(val *CreateAreaAddressFamily)
- func (v *NullableCreateAreaAddressFamily) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAreaAddressFamily) Unset()
- type NullableCreateAreaIPv4
- func (v NullableCreateAreaIPv4) Get() *CreateAreaIPv4
- func (v NullableCreateAreaIPv4) IsSet() bool
- func (v NullableCreateAreaIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAreaIPv4) Set(val *CreateAreaIPv4)
- func (v *NullableCreateAreaIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAreaIPv4) Unset()
- type NullableCreateBackupPayload
- func (v NullableCreateBackupPayload) Get() *CreateBackupPayload
- func (v NullableCreateBackupPayload) IsSet() bool
- func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateBackupPayload) Set(val *CreateBackupPayload)
- func (v *NullableCreateBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateBackupPayload) Unset()
- type NullableCreateImagePayload
- func (v NullableCreateImagePayload) Get() *CreateImagePayload
- func (v NullableCreateImagePayload) IsSet() bool
- func (v NullableCreateImagePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateImagePayload) Set(val *CreateImagePayload)
- func (v *NullableCreateImagePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateImagePayload) Unset()
- type NullableCreateKeyPairPayload
- func (v NullableCreateKeyPairPayload) Get() *CreateKeyPairPayload
- func (v NullableCreateKeyPairPayload) IsSet() bool
- func (v NullableCreateKeyPairPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateKeyPairPayload) Set(val *CreateKeyPairPayload)
- func (v *NullableCreateKeyPairPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateKeyPairPayload) Unset()
- type NullableCreateNetworkAddressFamily
- func (v NullableCreateNetworkAddressFamily) Get() *CreateNetworkAddressFamily
- func (v NullableCreateNetworkAddressFamily) IsSet() bool
- func (v NullableCreateNetworkAddressFamily) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkAddressFamily) Set(val *CreateNetworkAddressFamily)
- func (v *NullableCreateNetworkAddressFamily) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkAddressFamily) Unset()
- type NullableCreateNetworkAreaPayload
- func (v NullableCreateNetworkAreaPayload) Get() *CreateNetworkAreaPayload
- func (v NullableCreateNetworkAreaPayload) IsSet() bool
- func (v NullableCreateNetworkAreaPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkAreaPayload) Set(val *CreateNetworkAreaPayload)
- func (v *NullableCreateNetworkAreaPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkAreaPayload) Unset()
- type NullableCreateNetworkAreaRangePayload
- func (v NullableCreateNetworkAreaRangePayload) Get() *CreateNetworkAreaRangePayload
- func (v NullableCreateNetworkAreaRangePayload) IsSet() bool
- func (v NullableCreateNetworkAreaRangePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkAreaRangePayload) Set(val *CreateNetworkAreaRangePayload)
- func (v *NullableCreateNetworkAreaRangePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkAreaRangePayload) Unset()
- type NullableCreateNetworkAreaRoutePayload
- func (v NullableCreateNetworkAreaRoutePayload) Get() *CreateNetworkAreaRoutePayload
- func (v NullableCreateNetworkAreaRoutePayload) IsSet() bool
- func (v NullableCreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkAreaRoutePayload) Set(val *CreateNetworkAreaRoutePayload)
- func (v *NullableCreateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkAreaRoutePayload) Unset()
- type NullableCreateNetworkIPv4Body
- func (v NullableCreateNetworkIPv4Body) Get() *CreateNetworkIPv4Body
- func (v NullableCreateNetworkIPv4Body) IsSet() bool
- func (v NullableCreateNetworkIPv4Body) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv4Body) Set(val *CreateNetworkIPv4Body)
- func (v *NullableCreateNetworkIPv4Body) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv4Body) Unset()
- type NullableCreateNetworkIPv6Body
- func (v NullableCreateNetworkIPv6Body) Get() *CreateNetworkIPv6Body
- func (v NullableCreateNetworkIPv6Body) IsSet() bool
- func (v NullableCreateNetworkIPv6Body) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv6Body) Set(val *CreateNetworkIPv6Body)
- func (v *NullableCreateNetworkIPv6Body) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv6Body) Unset()
- type NullableCreateNetworkPayload
- func (v NullableCreateNetworkPayload) Get() *CreateNetworkPayload
- func (v NullableCreateNetworkPayload) IsSet() bool
- func (v NullableCreateNetworkPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkPayload) Set(val *CreateNetworkPayload)
- func (v *NullableCreateNetworkPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkPayload) Unset()
- type NullableCreateNicPayload
- func (v NullableCreateNicPayload) Get() *CreateNicPayload
- func (v NullableCreateNicPayload) IsSet() bool
- func (v NullableCreateNicPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNicPayload) Set(val *CreateNicPayload)
- func (v *NullableCreateNicPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNicPayload) Unset()
- type NullableCreateProtocol
- func (v NullableCreateProtocol) Get() *CreateProtocol
- func (v NullableCreateProtocol) IsSet() bool
- func (v NullableCreateProtocol) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProtocol) Set(val *CreateProtocol)
- func (v *NullableCreateProtocol) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProtocol) Unset()
- type NullableCreatePublicIPPayload
- func (v NullableCreatePublicIPPayload) Get() *CreatePublicIPPayload
- func (v NullableCreatePublicIPPayload) IsSet() bool
- func (v NullableCreatePublicIPPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePublicIPPayload) Set(val *CreatePublicIPPayload)
- func (v *NullableCreatePublicIPPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePublicIPPayload) Unset()
- type NullableCreateSecurityGroupPayload
- func (v NullableCreateSecurityGroupPayload) Get() *CreateSecurityGroupPayload
- func (v NullableCreateSecurityGroupPayload) IsSet() bool
- func (v NullableCreateSecurityGroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSecurityGroupPayload) Set(val *CreateSecurityGroupPayload)
- func (v *NullableCreateSecurityGroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSecurityGroupPayload) Unset()
- type NullableCreateSecurityGroupRulePayload
- func (v NullableCreateSecurityGroupRulePayload) Get() *CreateSecurityGroupRulePayload
- func (v NullableCreateSecurityGroupRulePayload) IsSet() bool
- func (v NullableCreateSecurityGroupRulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSecurityGroupRulePayload) Set(val *CreateSecurityGroupRulePayload)
- func (v *NullableCreateSecurityGroupRulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSecurityGroupRulePayload) Unset()
- type NullableCreateSecurityGroupRuleProtocol
- func (v NullableCreateSecurityGroupRuleProtocol) Get() *CreateSecurityGroupRuleProtocol
- func (v NullableCreateSecurityGroupRuleProtocol) IsSet() bool
- func (v NullableCreateSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSecurityGroupRuleProtocol) Set(val *CreateSecurityGroupRuleProtocol)
- func (v *NullableCreateSecurityGroupRuleProtocol) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSecurityGroupRuleProtocol) Unset()
- type NullableCreateServerNetworking
- func (v NullableCreateServerNetworking) Get() *CreateServerNetworking
- func (v NullableCreateServerNetworking) IsSet() bool
- func (v NullableCreateServerNetworking) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerNetworking) Set(val *CreateServerNetworking)
- func (v *NullableCreateServerNetworking) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerNetworking) Unset()
- type NullableCreateServerNetworkingWithNics
- func (v NullableCreateServerNetworkingWithNics) Get() *CreateServerNetworkingWithNics
- func (v NullableCreateServerNetworkingWithNics) IsSet() bool
- func (v NullableCreateServerNetworkingWithNics) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerNetworkingWithNics) Set(val *CreateServerNetworkingWithNics)
- func (v *NullableCreateServerNetworkingWithNics) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerNetworkingWithNics) Unset()
- type NullableCreateServerPayload
- func (v NullableCreateServerPayload) Get() *CreateServerPayload
- func (v NullableCreateServerPayload) IsSet() bool
- func (v NullableCreateServerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerPayload) Set(val *CreateServerPayload)
- func (v *NullableCreateServerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerPayload) Unset()
- type NullableCreateServerPayloadNetworking
- func (v NullableCreateServerPayloadNetworking) Get() *CreateServerPayloadNetworking
- func (v NullableCreateServerPayloadNetworking) IsSet() bool
- func (v NullableCreateServerPayloadNetworking) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerPayloadNetworking) Set(val *CreateServerPayloadNetworking)
- func (v *NullableCreateServerPayloadNetworking) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerPayloadNetworking) Unset()
- type NullableCreateSnapshotPayload
- func (v NullableCreateSnapshotPayload) Get() *CreateSnapshotPayload
- func (v NullableCreateSnapshotPayload) IsSet() bool
- func (v NullableCreateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSnapshotPayload) Set(val *CreateSnapshotPayload)
- func (v *NullableCreateSnapshotPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSnapshotPayload) Unset()
- type NullableCreateVolumePayload
- func (v NullableCreateVolumePayload) Get() *CreateVolumePayload
- func (v NullableCreateVolumePayload) IsSet() bool
- func (v NullableCreateVolumePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVolumePayload) Set(val *CreateVolumePayload)
- func (v *NullableCreateVolumePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVolumePayload) Unset()
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableGetServerLog200Response
- func (v NullableGetServerLog200Response) Get() *GetServerLog200Response
- func (v NullableGetServerLog200Response) IsSet() bool
- func (v NullableGetServerLog200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetServerLog200Response) Set(val *GetServerLog200Response)
- func (v *NullableGetServerLog200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetServerLog200Response) Unset()
- type NullableICMPParameters
- func (v NullableICMPParameters) Get() *ICMPParameters
- func (v NullableICMPParameters) IsSet() bool
- func (v NullableICMPParameters) MarshalJSON() ([]byte, error)
- func (v *NullableICMPParameters) Set(val *ICMPParameters)
- func (v *NullableICMPParameters) UnmarshalJSON(src []byte) error
- func (v *NullableICMPParameters) Unset()
- type NullableImage
- type NullableImageAgent
- type NullableImageChecksum
- func (v NullableImageChecksum) Get() *ImageChecksum
- func (v NullableImageChecksum) IsSet() bool
- func (v NullableImageChecksum) MarshalJSON() ([]byte, error)
- func (v *NullableImageChecksum) Set(val *ImageChecksum)
- func (v *NullableImageChecksum) UnmarshalJSON(src []byte) error
- func (v *NullableImageChecksum) Unset()
- type NullableImageConfig
- func (v NullableImageConfig) Get() *ImageConfig
- func (v NullableImageConfig) IsSet() bool
- func (v NullableImageConfig) MarshalJSON() ([]byte, error)
- func (v *NullableImageConfig) Set(val *ImageConfig)
- func (v *NullableImageConfig) UnmarshalJSON(src []byte) error
- func (v *NullableImageConfig) Unset()
- type NullableImageCreateResponse
- func (v NullableImageCreateResponse) Get() *ImageCreateResponse
- func (v NullableImageCreateResponse) IsSet() bool
- func (v NullableImageCreateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableImageCreateResponse) Set(val *ImageCreateResponse)
- func (v *NullableImageCreateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableImageCreateResponse) Unset()
- type NullableImageListResponse
- func (v NullableImageListResponse) Get() *ImageListResponse
- func (v NullableImageListResponse) IsSet() bool
- func (v NullableImageListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableImageListResponse) Set(val *ImageListResponse)
- func (v *NullableImageListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableImageListResponse) Unset()
- type NullableImageShare
- type NullableImageShareConsumer
- func (v NullableImageShareConsumer) Get() *ImageShareConsumer
- func (v NullableImageShareConsumer) IsSet() bool
- func (v NullableImageShareConsumer) MarshalJSON() ([]byte, error)
- func (v *NullableImageShareConsumer) Set(val *ImageShareConsumer)
- func (v *NullableImageShareConsumer) UnmarshalJSON(src []byte) error
- func (v *NullableImageShareConsumer) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKeyPairListResponse
- func (v NullableKeyPairListResponse) Get() *KeyPairListResponse
- func (v NullableKeyPairListResponse) IsSet() bool
- func (v NullableKeyPairListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKeyPairListResponse) Set(val *KeyPairListResponse)
- func (v *NullableKeyPairListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKeyPairListResponse) Unset()
- type NullableKeypair
- type NullableMachineType
- func (v NullableMachineType) Get() *MachineType
- func (v NullableMachineType) IsSet() bool
- func (v NullableMachineType) MarshalJSON() ([]byte, error)
- func (v *NullableMachineType) Set(val *MachineType)
- func (v *NullableMachineType) UnmarshalJSON(src []byte) error
- func (v *NullableMachineType) Unset()
- type NullableMachineTypeListResponse
- func (v NullableMachineTypeListResponse) Get() *MachineTypeListResponse
- func (v NullableMachineTypeListResponse) IsSet() bool
- func (v NullableMachineTypeListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMachineTypeListResponse) Set(val *MachineTypeListResponse)
- func (v *NullableMachineTypeListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMachineTypeListResponse) Unset()
- type NullableNIC
- type NullableNICListResponse
- func (v NullableNICListResponse) Get() *NICListResponse
- func (v NullableNICListResponse) IsSet() bool
- func (v NullableNICListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableNICListResponse) Set(val *NICListResponse)
- func (v *NullableNICListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNICListResponse) Unset()
- type NullableNetwork
- type NullableNetworkArea
- func (v NullableNetworkArea) Get() *NetworkArea
- func (v NullableNetworkArea) IsSet() bool
- func (v NullableNetworkArea) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkArea) Set(val *NetworkArea)
- func (v *NullableNetworkArea) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkArea) Unset()
- type NullableNetworkAreaIPv4
- func (v NullableNetworkAreaIPv4) Get() *NetworkAreaIPv4
- func (v NullableNetworkAreaIPv4) IsSet() bool
- func (v NullableNetworkAreaIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkAreaIPv4) Set(val *NetworkAreaIPv4)
- func (v *NullableNetworkAreaIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkAreaIPv4) Unset()
- type NullableNetworkAreaListResponse
- func (v NullableNetworkAreaListResponse) Get() *NetworkAreaListResponse
- func (v NullableNetworkAreaListResponse) IsSet() bool
- func (v NullableNetworkAreaListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkAreaListResponse) Set(val *NetworkAreaListResponse)
- func (v *NullableNetworkAreaListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkAreaListResponse) Unset()
- type NullableNetworkListResponse
- func (v NullableNetworkListResponse) Get() *NetworkListResponse
- func (v NullableNetworkListResponse) IsSet() bool
- func (v NullableNetworkListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkListResponse) Set(val *NetworkListResponse)
- func (v *NullableNetworkListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkListResponse) Unset()
- type NullableNetworkRange
- func (v NullableNetworkRange) Get() *NetworkRange
- func (v NullableNetworkRange) IsSet() bool
- func (v NullableNetworkRange) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkRange) Set(val *NetworkRange)
- func (v *NullableNetworkRange) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkRange) Unset()
- type NullableNetworkRangeListResponse
- func (v NullableNetworkRangeListResponse) Get() *NetworkRangeListResponse
- func (v NullableNetworkRangeListResponse) IsSet() bool
- func (v NullableNetworkRangeListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkRangeListResponse) Set(val *NetworkRangeListResponse)
- func (v *NullableNetworkRangeListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkRangeListResponse) Unset()
- type NullablePartialUpdateNetworkAreaPayload
- func (v NullablePartialUpdateNetworkAreaPayload) Get() *PartialUpdateNetworkAreaPayload
- func (v NullablePartialUpdateNetworkAreaPayload) IsSet() bool
- func (v NullablePartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateNetworkAreaPayload) Set(val *PartialUpdateNetworkAreaPayload)
- func (v *NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateNetworkAreaPayload) Unset()
- type NullablePartialUpdateNetworkPayload
- func (v NullablePartialUpdateNetworkPayload) Get() *PartialUpdateNetworkPayload
- func (v NullablePartialUpdateNetworkPayload) IsSet() bool
- func (v NullablePartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateNetworkPayload) Set(val *PartialUpdateNetworkPayload)
- func (v *NullablePartialUpdateNetworkPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateNetworkPayload) Unset()
- type NullablePortRange
- type NullableProject
- type NullableProjectListResponse
- func (v NullableProjectListResponse) Get() *ProjectListResponse
- func (v NullableProjectListResponse) IsSet() bool
- func (v NullableProjectListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProjectListResponse) Set(val *ProjectListResponse)
- func (v *NullableProjectListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProjectListResponse) Unset()
- type NullableProtocol
- type NullablePublicIp
- type NullablePublicIpListResponse
- func (v NullablePublicIpListResponse) Get() *PublicIpListResponse
- func (v NullablePublicIpListResponse) IsSet() bool
- func (v NullablePublicIpListResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePublicIpListResponse) Set(val *PublicIpListResponse)
- func (v *NullablePublicIpListResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePublicIpListResponse) Unset()
- type NullablePublicNetwork
- func (v NullablePublicNetwork) Get() *PublicNetwork
- func (v NullablePublicNetwork) IsSet() bool
- func (v NullablePublicNetwork) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetwork) Set(val *PublicNetwork)
- func (v *NullablePublicNetwork) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetwork) Unset()
- type NullablePublicNetworkListResponse
- func (v NullablePublicNetworkListResponse) Get() *PublicNetworkListResponse
- func (v NullablePublicNetworkListResponse) IsSet() bool
- func (v NullablePublicNetworkListResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetworkListResponse) Set(val *PublicNetworkListResponse)
- func (v *NullablePublicNetworkListResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetworkListResponse) Unset()
- type NullableQuota
- type NullableQuotaList
- type NullableQuotaListResponse
- func (v NullableQuotaListResponse) Get() *QuotaListResponse
- func (v NullableQuotaListResponse) IsSet() bool
- func (v NullableQuotaListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableQuotaListResponse) Set(val *QuotaListResponse)
- func (v *NullableQuotaListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQuotaListResponse) Unset()
- type NullableRequest
- type NullableRequestResource
- func (v NullableRequestResource) Get() *RequestResource
- func (v NullableRequestResource) IsSet() bool
- func (v NullableRequestResource) MarshalJSON() ([]byte, error)
- func (v *NullableRequestResource) Set(val *RequestResource)
- func (v *NullableRequestResource) UnmarshalJSON(src []byte) error
- func (v *NullableRequestResource) Unset()
- type NullableRescueServerPayload
- func (v NullableRescueServerPayload) Get() *RescueServerPayload
- func (v NullableRescueServerPayload) IsSet() bool
- func (v NullableRescueServerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRescueServerPayload) Set(val *RescueServerPayload)
- func (v *NullableRescueServerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRescueServerPayload) Unset()
- type NullableResizeServerPayload
- func (v NullableResizeServerPayload) Get() *ResizeServerPayload
- func (v NullableResizeServerPayload) IsSet() bool
- func (v NullableResizeServerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableResizeServerPayload) Set(val *ResizeServerPayload)
- func (v *NullableResizeServerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableResizeServerPayload) Unset()
- type NullableResizeVolumePayload
- func (v NullableResizeVolumePayload) Get() *ResizeVolumePayload
- func (v NullableResizeVolumePayload) IsSet() bool
- func (v NullableResizeVolumePayload) MarshalJSON() ([]byte, error)
- func (v *NullableResizeVolumePayload) Set(val *ResizeVolumePayload)
- func (v *NullableResizeVolumePayload) UnmarshalJSON(src []byte) error
- func (v *NullableResizeVolumePayload) Unset()
- type NullableRoute
- type NullableRouteListResponse
- func (v NullableRouteListResponse) Get() *RouteListResponse
- func (v NullableRouteListResponse) IsSet() bool
- func (v NullableRouteListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRouteListResponse) Set(val *RouteListResponse)
- func (v *NullableRouteListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRouteListResponse) Unset()
- 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 NullableSecurityGroupListResponse
- func (v NullableSecurityGroupListResponse) Get() *SecurityGroupListResponse
- func (v NullableSecurityGroupListResponse) IsSet() bool
- func (v NullableSecurityGroupListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroupListResponse) Set(val *SecurityGroupListResponse)
- func (v *NullableSecurityGroupListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroupListResponse) 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 NullableSecurityGroupRuleListResponse
- func (v NullableSecurityGroupRuleListResponse) Get() *SecurityGroupRuleListResponse
- func (v NullableSecurityGroupRuleListResponse) IsSet() bool
- func (v NullableSecurityGroupRuleListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroupRuleListResponse) Set(val *SecurityGroupRuleListResponse)
- func (v *NullableSecurityGroupRuleListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroupRuleListResponse) Unset()
- type NullableSecurityGroupRuleProtocol
- func (v NullableSecurityGroupRuleProtocol) Get() *SecurityGroupRuleProtocol
- func (v NullableSecurityGroupRuleProtocol) IsSet() bool
- func (v NullableSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityGroupRuleProtocol) Set(val *SecurityGroupRuleProtocol)
- func (v *NullableSecurityGroupRuleProtocol) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityGroupRuleProtocol) Unset()
- type NullableServer
- type NullableServerAgent
- func (v NullableServerAgent) Get() *ServerAgent
- func (v NullableServerAgent) IsSet() bool
- func (v NullableServerAgent) MarshalJSON() ([]byte, error)
- func (v *NullableServerAgent) Set(val *ServerAgent)
- func (v *NullableServerAgent) UnmarshalJSON(src []byte) error
- func (v *NullableServerAgent) Unset()
- type NullableServerConsoleUrl
- func (v NullableServerConsoleUrl) Get() *ServerConsoleUrl
- func (v NullableServerConsoleUrl) IsSet() bool
- func (v NullableServerConsoleUrl) MarshalJSON() ([]byte, error)
- func (v *NullableServerConsoleUrl) Set(val *ServerConsoleUrl)
- func (v *NullableServerConsoleUrl) UnmarshalJSON(src []byte) error
- func (v *NullableServerConsoleUrl) Unset()
- type NullableServerListResponse
- func (v NullableServerListResponse) Get() *ServerListResponse
- func (v NullableServerListResponse) IsSet() bool
- func (v NullableServerListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServerListResponse) Set(val *ServerListResponse)
- func (v *NullableServerListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServerListResponse) Unset()
- type NullableServerMaintenance
- func (v NullableServerMaintenance) Get() *ServerMaintenance
- func (v NullableServerMaintenance) IsSet() bool
- func (v NullableServerMaintenance) MarshalJSON() ([]byte, error)
- func (v *NullableServerMaintenance) Set(val *ServerMaintenance)
- func (v *NullableServerMaintenance) UnmarshalJSON(src []byte) error
- func (v *NullableServerMaintenance) Unset()
- type NullableServerNetwork
- func (v NullableServerNetwork) Get() *ServerNetwork
- func (v NullableServerNetwork) IsSet() bool
- func (v NullableServerNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableServerNetwork) Set(val *ServerNetwork)
- func (v *NullableServerNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableServerNetwork) Unset()
- type NullableServerNetworking
- func (v NullableServerNetworking) Get() *ServerNetworking
- func (v NullableServerNetworking) IsSet() bool
- func (v NullableServerNetworking) MarshalJSON() ([]byte, error)
- func (v *NullableServerNetworking) Set(val *ServerNetworking)
- func (v *NullableServerNetworking) UnmarshalJSON(src []byte) error
- func (v *NullableServerNetworking) Unset()
- type NullableServiceAccountMailListResponse
- func (v NullableServiceAccountMailListResponse) Get() *ServiceAccountMailListResponse
- func (v NullableServiceAccountMailListResponse) IsSet() bool
- func (v NullableServiceAccountMailListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServiceAccountMailListResponse) Set(val *ServiceAccountMailListResponse)
- func (v *NullableServiceAccountMailListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServiceAccountMailListResponse) Unset()
- type NullableSetImageSharePayload
- func (v NullableSetImageSharePayload) Get() *SetImageSharePayload
- func (v NullableSetImageSharePayload) IsSet() bool
- func (v NullableSetImageSharePayload) MarshalJSON() ([]byte, error)
- func (v *NullableSetImageSharePayload) Set(val *SetImageSharePayload)
- func (v *NullableSetImageSharePayload) UnmarshalJSON(src []byte) error
- func (v *NullableSetImageSharePayload) Unset()
- type NullableSnapshot
- type NullableSnapshotListResponse
- func (v NullableSnapshotListResponse) Get() *SnapshotListResponse
- func (v NullableSnapshotListResponse) IsSet() bool
- func (v NullableSnapshotListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotListResponse) Set(val *SnapshotListResponse)
- func (v *NullableSnapshotListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotListResponse) Unset()
- type NullableStaticAreaID
- func (v NullableStaticAreaID) Get() *StaticAreaID
- func (v NullableStaticAreaID) IsSet() bool
- func (v NullableStaticAreaID) MarshalJSON() ([]byte, error)
- func (v *NullableStaticAreaID) Set(val *StaticAreaID)
- func (v *NullableStaticAreaID) UnmarshalJSON(src []byte) error
- func (v *NullableStaticAreaID) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateAreaAddressFamily
- func (v NullableUpdateAreaAddressFamily) Get() *UpdateAreaAddressFamily
- func (v NullableUpdateAreaAddressFamily) IsSet() bool
- func (v NullableUpdateAreaAddressFamily) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateAreaAddressFamily) Set(val *UpdateAreaAddressFamily)
- func (v *NullableUpdateAreaAddressFamily) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateAreaAddressFamily) Unset()
- type NullableUpdateAreaIPv4
- func (v NullableUpdateAreaIPv4) Get() *UpdateAreaIPv4
- func (v NullableUpdateAreaIPv4) IsSet() bool
- func (v NullableUpdateAreaIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateAreaIPv4) Set(val *UpdateAreaIPv4)
- func (v *NullableUpdateAreaIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateAreaIPv4) Unset()
- type NullableUpdateAttachedVolumePayload
- func (v NullableUpdateAttachedVolumePayload) Get() *UpdateAttachedVolumePayload
- func (v NullableUpdateAttachedVolumePayload) IsSet() bool
- func (v NullableUpdateAttachedVolumePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateAttachedVolumePayload) Set(val *UpdateAttachedVolumePayload)
- func (v *NullableUpdateAttachedVolumePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateAttachedVolumePayload) Unset()
- type NullableUpdateBackupPayload
- func (v NullableUpdateBackupPayload) Get() *UpdateBackupPayload
- func (v NullableUpdateBackupPayload) IsSet() bool
- func (v NullableUpdateBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateBackupPayload) Set(val *UpdateBackupPayload)
- func (v *NullableUpdateBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateBackupPayload) Unset()
- type NullableUpdateImagePayload
- func (v NullableUpdateImagePayload) Get() *UpdateImagePayload
- func (v NullableUpdateImagePayload) IsSet() bool
- func (v NullableUpdateImagePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateImagePayload) Set(val *UpdateImagePayload)
- func (v *NullableUpdateImagePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateImagePayload) Unset()
- type NullableUpdateImageSharePayload
- func (v NullableUpdateImageSharePayload) Get() *UpdateImageSharePayload
- func (v NullableUpdateImageSharePayload) IsSet() bool
- func (v NullableUpdateImageSharePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateImageSharePayload) Set(val *UpdateImageSharePayload)
- func (v *NullableUpdateImageSharePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateImageSharePayload) Unset()
- type NullableUpdateKeyPairPayload
- func (v NullableUpdateKeyPairPayload) Get() *UpdateKeyPairPayload
- func (v NullableUpdateKeyPairPayload) IsSet() bool
- func (v NullableUpdateKeyPairPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateKeyPairPayload) Set(val *UpdateKeyPairPayload)
- func (v *NullableUpdateKeyPairPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateKeyPairPayload) Unset()
- type NullableUpdateNetworkAddressFamily
- func (v NullableUpdateNetworkAddressFamily) Get() *UpdateNetworkAddressFamily
- func (v NullableUpdateNetworkAddressFamily) IsSet() bool
- func (v NullableUpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNetworkAddressFamily) Set(val *UpdateNetworkAddressFamily)
- func (v *NullableUpdateNetworkAddressFamily) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNetworkAddressFamily) Unset()
- type NullableUpdateNetworkAreaRoutePayload
- func (v NullableUpdateNetworkAreaRoutePayload) Get() *UpdateNetworkAreaRoutePayload
- func (v NullableUpdateNetworkAreaRoutePayload) IsSet() bool
- func (v NullableUpdateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNetworkAreaRoutePayload) Set(val *UpdateNetworkAreaRoutePayload)
- func (v *NullableUpdateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNetworkAreaRoutePayload) Unset()
- type NullableUpdateNetworkIPv4Body
- func (v NullableUpdateNetworkIPv4Body) Get() *UpdateNetworkIPv4Body
- func (v NullableUpdateNetworkIPv4Body) IsSet() bool
- func (v NullableUpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNetworkIPv4Body) Set(val *UpdateNetworkIPv4Body)
- func (v *NullableUpdateNetworkIPv4Body) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNetworkIPv4Body) Unset()
- type NullableUpdateNetworkIPv6Body
- func (v NullableUpdateNetworkIPv6Body) Get() *UpdateNetworkIPv6Body
- func (v NullableUpdateNetworkIPv6Body) IsSet() bool
- func (v NullableUpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNetworkIPv6Body) Set(val *UpdateNetworkIPv6Body)
- func (v *NullableUpdateNetworkIPv6Body) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNetworkIPv6Body) Unset()
- type NullableUpdateNicPayload
- func (v NullableUpdateNicPayload) Get() *UpdateNicPayload
- func (v NullableUpdateNicPayload) IsSet() bool
- func (v NullableUpdateNicPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNicPayload) Set(val *UpdateNicPayload)
- func (v *NullableUpdateNicPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNicPayload) Unset()
- type NullableUpdatePublicIPPayload
- func (v NullableUpdatePublicIPPayload) Get() *UpdatePublicIPPayload
- func (v NullableUpdatePublicIPPayload) IsSet() bool
- func (v NullableUpdatePublicIPPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePublicIPPayload) Set(val *UpdatePublicIPPayload)
- func (v *NullableUpdatePublicIPPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePublicIPPayload) Unset()
- type NullableUpdateSecurityGroupPayload
- func (v NullableUpdateSecurityGroupPayload) Get() *UpdateSecurityGroupPayload
- func (v NullableUpdateSecurityGroupPayload) IsSet() bool
- func (v NullableUpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSecurityGroupPayload) Set(val *UpdateSecurityGroupPayload)
- func (v *NullableUpdateSecurityGroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSecurityGroupPayload) Unset()
- type NullableUpdateServerPayload
- func (v NullableUpdateServerPayload) Get() *UpdateServerPayload
- func (v NullableUpdateServerPayload) IsSet() bool
- func (v NullableUpdateServerPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateServerPayload) Set(val *UpdateServerPayload)
- func (v *NullableUpdateServerPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateServerPayload) Unset()
- type NullableUpdateSnapshotPayload
- func (v NullableUpdateSnapshotPayload) Get() *UpdateSnapshotPayload
- func (v NullableUpdateSnapshotPayload) IsSet() bool
- func (v NullableUpdateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSnapshotPayload) Set(val *UpdateSnapshotPayload)
- func (v *NullableUpdateSnapshotPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSnapshotPayload) Unset()
- type NullableUpdateVolumePayload
- func (v NullableUpdateVolumePayload) Get() *UpdateVolumePayload
- func (v NullableUpdateVolumePayload) IsSet() bool
- func (v NullableUpdateVolumePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVolumePayload) Set(val *UpdateVolumePayload)
- func (v *NullableUpdateVolumePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVolumePayload) Unset()
- type NullableVolume
- type NullableVolumeAttachment
- func (v NullableVolumeAttachment) Get() *VolumeAttachment
- func (v NullableVolumeAttachment) IsSet() bool
- func (v NullableVolumeAttachment) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeAttachment) Set(val *VolumeAttachment)
- func (v *NullableVolumeAttachment) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeAttachment) Unset()
- type NullableVolumeAttachmentListResponse
- func (v NullableVolumeAttachmentListResponse) Get() *VolumeAttachmentListResponse
- func (v NullableVolumeAttachmentListResponse) IsSet() bool
- func (v NullableVolumeAttachmentListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeAttachmentListResponse) Set(val *VolumeAttachmentListResponse)
- func (v *NullableVolumeAttachmentListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeAttachmentListResponse) Unset()
- type NullableVolumeEncryptionParameter
- func (v NullableVolumeEncryptionParameter) Get() *VolumeEncryptionParameter
- func (v NullableVolumeEncryptionParameter) IsSet() bool
- func (v NullableVolumeEncryptionParameter) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeEncryptionParameter) Set(val *VolumeEncryptionParameter)
- func (v *NullableVolumeEncryptionParameter) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeEncryptionParameter) Unset()
- type NullableVolumeListResponse
- func (v NullableVolumeListResponse) Get() *VolumeListResponse
- func (v NullableVolumeListResponse) IsSet() bool
- func (v NullableVolumeListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeListResponse) Set(val *VolumeListResponse)
- func (v *NullableVolumeListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeListResponse) Unset()
- type NullableVolumePerformanceClass
- func (v NullableVolumePerformanceClass) Get() *VolumePerformanceClass
- func (v NullableVolumePerformanceClass) IsSet() bool
- func (v NullableVolumePerformanceClass) MarshalJSON() ([]byte, error)
- func (v *NullableVolumePerformanceClass) Set(val *VolumePerformanceClass)
- func (v *NullableVolumePerformanceClass) UnmarshalJSON(src []byte) error
- func (v *NullableVolumePerformanceClass) Unset()
- type NullableVolumePerformanceClassListResponse
- func (v NullableVolumePerformanceClassListResponse) Get() *VolumePerformanceClassListResponse
- func (v NullableVolumePerformanceClassListResponse) IsSet() bool
- func (v NullableVolumePerformanceClassListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVolumePerformanceClassListResponse) Set(val *VolumePerformanceClassListResponse)
- func (v *NullableVolumePerformanceClassListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVolumePerformanceClassListResponse) Unset()
- type NullableVolumeSource
- func (v NullableVolumeSource) Get() *VolumeSource
- func (v NullableVolumeSource) IsSet() bool
- func (v NullableVolumeSource) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeSource) Set(val *VolumeSource)
- func (v *NullableVolumeSource) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeSource) Unset()
- type PartialUpdateNetworkAreaPayload
- func (o *PartialUpdateNetworkAreaPayload) GetAddressFamily() UpdateAreaAddressFamily
- func (o *PartialUpdateNetworkAreaPayload) GetAddressFamilyOk() (*UpdateAreaAddressFamily, bool)
- func (o *PartialUpdateNetworkAreaPayload) GetLabels() map[string]interface{}
- func (o *PartialUpdateNetworkAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *PartialUpdateNetworkAreaPayload) GetName() string
- func (o *PartialUpdateNetworkAreaPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateNetworkAreaPayload) HasAddressFamily() bool
- func (o *PartialUpdateNetworkAreaPayload) HasLabels() bool
- func (o *PartialUpdateNetworkAreaPayload) HasName() bool
- func (o PartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateNetworkAreaPayload) SetAddressFamily(v UpdateAreaAddressFamily)
- func (o *PartialUpdateNetworkAreaPayload) SetLabels(v map[string]interface{})
- func (o *PartialUpdateNetworkAreaPayload) SetName(v string)
- func (o PartialUpdateNetworkAreaPayload) ToMap() (map[string]interface{}, error)
- type PartialUpdateNetworkPayload
- func (o *PartialUpdateNetworkPayload) GetAddressFamily() UpdateNetworkAddressFamily
- func (o *PartialUpdateNetworkPayload) GetAddressFamilyOk() (*UpdateNetworkAddressFamily, bool)
- func (o *PartialUpdateNetworkPayload) GetDhcp() bool
- func (o *PartialUpdateNetworkPayload) GetDhcpOk() (*bool, bool)
- func (o *PartialUpdateNetworkPayload) GetLabels() map[string]interface{}
- func (o *PartialUpdateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *PartialUpdateNetworkPayload) GetName() string
- func (o *PartialUpdateNetworkPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateNetworkPayload) GetRouted() bool
- func (o *PartialUpdateNetworkPayload) GetRoutedOk() (*bool, bool)
- func (o *PartialUpdateNetworkPayload) HasAddressFamily() bool
- func (o *PartialUpdateNetworkPayload) HasDhcp() bool
- func (o *PartialUpdateNetworkPayload) HasLabels() bool
- func (o *PartialUpdateNetworkPayload) HasName() bool
- func (o *PartialUpdateNetworkPayload) HasRouted() bool
- func (o PartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateNetworkPayload) SetAddressFamily(v UpdateNetworkAddressFamily)
- func (o *PartialUpdateNetworkPayload) SetDhcp(v bool)
- func (o *PartialUpdateNetworkPayload) SetLabels(v map[string]interface{})
- func (o *PartialUpdateNetworkPayload) SetName(v string)
- func (o *PartialUpdateNetworkPayload) SetRouted(v bool)
- func (o PartialUpdateNetworkPayload) ToMap() (map[string]interface{}, error)
- type PortRange
- func (o *PortRange) GetMax() int64
- func (o *PortRange) GetMaxOk() (*int64, bool)
- func (o *PortRange) GetMin() int64
- func (o *PortRange) GetMinOk() (*int64, bool)
- func (o PortRange) MarshalJSON() ([]byte, error)
- func (o *PortRange) SetMax(v int64)
- func (o *PortRange) SetMin(v int64)
- func (o PortRange) ToMap() (map[string]interface{}, error)
- func (o *PortRange) UnmarshalJSON(data []byte) (err error)
- type Project
- func (o *Project) GetAreaId() AreaId
- func (o *Project) GetAreaIdOk() (*AreaId, bool)
- func (o *Project) GetCreatedAt() time.Time
- func (o *Project) GetCreatedAtOk() (*time.Time, bool)
- func (o *Project) GetInternetAccess() bool
- func (o *Project) GetInternetAccessOk() (*bool, bool)
- func (o *Project) GetOpenstackProjectId() string
- func (o *Project) GetOpenstackProjectIdOk() (*string, bool)
- func (o *Project) GetProjectId() string
- func (o *Project) GetProjectIdOk() (*string, bool)
- func (o *Project) GetState() string
- func (o *Project) GetStateOk() (*string, bool)
- func (o *Project) GetUpdatedAt() time.Time
- func (o *Project) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Project) HasCreatedAt() bool
- func (o *Project) HasInternetAccess() bool
- func (o *Project) HasOpenstackProjectId() bool
- func (o *Project) HasUpdatedAt() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetAreaId(v AreaId)
- func (o *Project) SetCreatedAt(v time.Time)
- func (o *Project) SetInternetAccess(v bool)
- func (o *Project) SetOpenstackProjectId(v string)
- func (o *Project) SetProjectId(v string)
- func (o *Project) SetState(v string)
- func (o *Project) SetUpdatedAt(v time.Time)
- func (o Project) ToMap() (map[string]interface{}, error)
- func (o *Project) UnmarshalJSON(data []byte) (err error)
- type ProjectListResponse
- func (o *ProjectListResponse) GetItems() []string
- func (o *ProjectListResponse) GetItemsOk() ([]string, bool)
- func (o ProjectListResponse) MarshalJSON() ([]byte, error)
- func (o *ProjectListResponse) SetItems(v []string)
- func (o ProjectListResponse) ToMap() (map[string]interface{}, error)
- func (o *ProjectListResponse) UnmarshalJSON(data []byte) (err error)
- type Protocol
- func (o *Protocol) GetName() string
- func (o *Protocol) GetNameOk() (*string, bool)
- func (o *Protocol) GetNumber() int64
- func (o *Protocol) GetNumberOk() (*int64, bool)
- func (o *Protocol) HasName() bool
- func (o *Protocol) HasNumber() bool
- func (o Protocol) MarshalJSON() ([]byte, error)
- func (o *Protocol) SetName(v string)
- func (o *Protocol) SetNumber(v int64)
- func (o Protocol) ToMap() (map[string]interface{}, error)
- type PublicIp
- func (o *PublicIp) GetId() string
- func (o *PublicIp) GetIdOk() (*string, bool)
- func (o *PublicIp) GetIp() string
- func (o *PublicIp) GetIpOk() (*string, bool)
- func (o *PublicIp) GetLabels() map[string]interface{}
- func (o *PublicIp) GetLabelsOk() (map[string]interface{}, bool)
- func (o *PublicIp) GetNetworkInterface() string
- func (o *PublicIp) GetNetworkInterfaceOk() (*string, bool)
- func (o *PublicIp) HasId() bool
- func (o *PublicIp) HasIp() bool
- func (o *PublicIp) HasLabels() bool
- func (o *PublicIp) HasNetworkInterface() bool
- func (o PublicIp) MarshalJSON() ([]byte, error)
- func (o *PublicIp) SetId(v string)
- func (o *PublicIp) SetIp(v string)
- func (o *PublicIp) SetLabels(v map[string]interface{})
- func (o *PublicIp) SetNetworkInterface(v string)
- func (o *PublicIp) SetNetworkInterfaceNil()
- func (o PublicIp) ToMap() (map[string]interface{}, error)
- func (o *PublicIp) UnsetNetworkInterface()
- type PublicIpListResponse
- func (o *PublicIpListResponse) GetItems() []PublicIp
- func (o *PublicIpListResponse) GetItemsOk() ([]PublicIp, bool)
- func (o PublicIpListResponse) MarshalJSON() ([]byte, error)
- func (o *PublicIpListResponse) SetItems(v []PublicIp)
- func (o PublicIpListResponse) ToMap() (map[string]interface{}, error)
- func (o *PublicIpListResponse) UnmarshalJSON(data []byte) (err error)
- type PublicNetwork
- func (o *PublicNetwork) GetCidr() string
- func (o *PublicNetwork) GetCidrOk() (*string, bool)
- func (o PublicNetwork) MarshalJSON() ([]byte, error)
- func (o *PublicNetwork) SetCidr(v string)
- func (o PublicNetwork) ToMap() (map[string]interface{}, error)
- func (o *PublicNetwork) UnmarshalJSON(data []byte) (err error)
- type PublicNetworkListResponse
- func (o *PublicNetworkListResponse) GetItems() []PublicNetwork
- func (o *PublicNetworkListResponse) GetItemsOk() ([]PublicNetwork, bool)
- func (o PublicNetworkListResponse) MarshalJSON() ([]byte, error)
- func (o *PublicNetworkListResponse) SetItems(v []PublicNetwork)
- func (o PublicNetworkListResponse) ToMap() (map[string]interface{}, error)
- func (o *PublicNetworkListResponse) UnmarshalJSON(data []byte) (err error)
- type Quota
- func (o *Quota) GetLimit() int64
- func (o *Quota) GetLimitOk() (*int64, bool)
- func (o *Quota) GetUsage() int64
- func (o *Quota) GetUsageOk() (*int64, bool)
- func (o Quota) MarshalJSON() ([]byte, error)
- func (o *Quota) SetLimit(v int64)
- func (o *Quota) SetUsage(v int64)
- func (o Quota) ToMap() (map[string]interface{}, error)
- func (o *Quota) UnmarshalJSON(data []byte) (err error)
- type QuotaList
- func (o *QuotaList) GetBackupGigabytes() Quota
- func (o *QuotaList) GetBackupGigabytesOk() (*Quota, bool)
- func (o *QuotaList) GetBackups() Quota
- func (o *QuotaList) GetBackupsOk() (*Quota, bool)
- func (o *QuotaList) GetGigabytes() Quota
- func (o *QuotaList) GetGigabytesOk() (*Quota, bool)
- func (o *QuotaList) GetNetworks() Quota
- func (o *QuotaList) GetNetworksOk() (*Quota, bool)
- func (o *QuotaList) GetNics() Quota
- func (o *QuotaList) GetNicsOk() (*Quota, bool)
- func (o *QuotaList) GetPublicIps() Quota
- func (o *QuotaList) GetPublicIpsOk() (*Quota, bool)
- func (o *QuotaList) GetRam() Quota
- func (o *QuotaList) GetRamOk() (*Quota, bool)
- func (o *QuotaList) GetSecurityGroupRules() Quota
- func (o *QuotaList) GetSecurityGroupRulesOk() (*Quota, bool)
- func (o *QuotaList) GetSecurityGroups() Quota
- func (o *QuotaList) GetSecurityGroupsOk() (*Quota, bool)
- func (o *QuotaList) GetSnapshots() Quota
- func (o *QuotaList) GetSnapshotsOk() (*Quota, bool)
- func (o *QuotaList) GetVcpu() Quota
- func (o *QuotaList) GetVcpuOk() (*Quota, bool)
- func (o *QuotaList) GetVolumes() Quota
- func (o *QuotaList) GetVolumesOk() (*Quota, bool)
- func (o QuotaList) MarshalJSON() ([]byte, error)
- func (o *QuotaList) SetBackupGigabytes(v Quota)
- func (o *QuotaList) SetBackups(v Quota)
- func (o *QuotaList) SetGigabytes(v Quota)
- func (o *QuotaList) SetNetworks(v Quota)
- func (o *QuotaList) SetNics(v Quota)
- func (o *QuotaList) SetPublicIps(v Quota)
- func (o *QuotaList) SetRam(v Quota)
- func (o *QuotaList) SetSecurityGroupRules(v Quota)
- func (o *QuotaList) SetSecurityGroups(v Quota)
- func (o *QuotaList) SetSnapshots(v Quota)
- func (o *QuotaList) SetVcpu(v Quota)
- func (o *QuotaList) SetVolumes(v Quota)
- func (o QuotaList) ToMap() (map[string]interface{}, error)
- func (o *QuotaList) UnmarshalJSON(data []byte) (err error)
- type QuotaListResponse
- func (o *QuotaListResponse) GetQuotas() QuotaList
- func (o *QuotaListResponse) GetQuotasOk() (*QuotaList, bool)
- func (o QuotaListResponse) MarshalJSON() ([]byte, error)
- func (o *QuotaListResponse) SetQuotas(v QuotaList)
- func (o QuotaListResponse) ToMap() (map[string]interface{}, error)
- func (o *QuotaListResponse) UnmarshalJSON(data []byte) (err error)
- type Request
- func (o *Request) GetDetails() string
- func (o *Request) GetDetailsOk() (*string, bool)
- func (o *Request) GetRequestAction() string
- func (o *Request) GetRequestActionOk() (*string, bool)
- func (o *Request) GetRequestId() string
- func (o *Request) GetRequestIdOk() (*string, bool)
- func (o *Request) GetRequestType() string
- func (o *Request) GetRequestTypeOk() (*string, bool)
- func (o *Request) GetResources() []RequestResource
- func (o *Request) GetResourcesOk() ([]RequestResource, bool)
- func (o *Request) GetStatus() string
- func (o *Request) GetStatusOk() (*string, bool)
- func (o *Request) HasDetails() bool
- func (o Request) MarshalJSON() ([]byte, error)
- func (o *Request) SetDetails(v string)
- func (o *Request) SetRequestAction(v string)
- func (o *Request) SetRequestId(v string)
- func (o *Request) SetRequestType(v string)
- func (o *Request) SetResources(v []RequestResource)
- func (o *Request) SetStatus(v string)
- func (o Request) ToMap() (map[string]interface{}, error)
- func (o *Request) UnmarshalJSON(data []byte) (err error)
- type RequestResource
- func (o *RequestResource) GetId() string
- func (o *RequestResource) GetIdOk() (*string, bool)
- func (o *RequestResource) GetStatus() string
- func (o *RequestResource) GetStatusOk() (*string, bool)
- func (o *RequestResource) GetType() string
- func (o *RequestResource) GetTypeOk() (*string, bool)
- func (o RequestResource) MarshalJSON() ([]byte, error)
- func (o *RequestResource) SetId(v string)
- func (o *RequestResource) SetStatus(v string)
- func (o *RequestResource) SetType(v string)
- func (o RequestResource) ToMap() (map[string]interface{}, error)
- func (o *RequestResource) UnmarshalJSON(data []byte) (err error)
- type RescueServerPayload
- func (o *RescueServerPayload) GetImage() string
- func (o *RescueServerPayload) GetImageOk() (*string, bool)
- func (o RescueServerPayload) MarshalJSON() ([]byte, error)
- func (o *RescueServerPayload) SetImage(v string)
- func (o RescueServerPayload) ToMap() (map[string]interface{}, error)
- func (o *RescueServerPayload) UnmarshalJSON(data []byte) (err error)
- type ResizeServerPayload
- func (o *ResizeServerPayload) GetMachineType() string
- func (o *ResizeServerPayload) GetMachineTypeOk() (*string, bool)
- func (o ResizeServerPayload) MarshalJSON() ([]byte, error)
- func (o *ResizeServerPayload) SetMachineType(v string)
- func (o ResizeServerPayload) ToMap() (map[string]interface{}, error)
- func (o *ResizeServerPayload) UnmarshalJSON(data []byte) (err error)
- type ResizeVolumePayload
- func (o *ResizeVolumePayload) GetSize() int64
- func (o *ResizeVolumePayload) GetSizeOk() (*int64, bool)
- func (o ResizeVolumePayload) MarshalJSON() ([]byte, error)
- func (o *ResizeVolumePayload) SetSize(v int64)
- func (o ResizeVolumePayload) ToMap() (map[string]interface{}, error)
- func (o *ResizeVolumePayload) UnmarshalJSON(data []byte) (err error)
- type Route
- func (o *Route) GetCreatedAt() time.Time
- func (o *Route) GetCreatedAtOk() (*time.Time, bool)
- func (o *Route) GetLabels() map[string]interface{}
- func (o *Route) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Route) GetNexthop() string
- func (o *Route) GetNexthopOk() (*string, bool)
- func (o *Route) GetPrefix() string
- func (o *Route) GetPrefixOk() (*string, bool)
- func (o *Route) GetRouteId() string
- func (o *Route) GetRouteIdOk() (*string, bool)
- func (o *Route) GetUpdatedAt() time.Time
- func (o *Route) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Route) HasCreatedAt() bool
- func (o *Route) HasLabels() bool
- func (o *Route) HasRouteId() bool
- func (o *Route) HasUpdatedAt() bool
- func (o Route) MarshalJSON() ([]byte, error)
- func (o *Route) SetCreatedAt(v time.Time)
- func (o *Route) SetLabels(v map[string]interface{})
- func (o *Route) SetNexthop(v string)
- func (o *Route) SetPrefix(v string)
- func (o *Route) SetRouteId(v string)
- func (o *Route) SetUpdatedAt(v time.Time)
- func (o Route) ToMap() (map[string]interface{}, error)
- func (o *Route) UnmarshalJSON(data []byte) (err error)
- type RouteListResponse
- func (o *RouteListResponse) GetItems() []Route
- func (o *RouteListResponse) GetItemsOk() ([]Route, bool)
- func (o RouteListResponse) MarshalJSON() ([]byte, error)
- func (o *RouteListResponse) SetItems(v []Route)
- func (o RouteListResponse) ToMap() (map[string]interface{}, error)
- func (o *RouteListResponse) UnmarshalJSON(data []byte) (err error)
- type SecurityGroup
- func (o *SecurityGroup) GetCreatedAt() time.Time
- func (o *SecurityGroup) GetCreatedAtOk() (*time.Time, 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) GetLabels() map[string]interface{}
- func (o *SecurityGroup) GetLabelsOk() (map[string]interface{}, bool)
- func (o *SecurityGroup) GetName() string
- func (o *SecurityGroup) GetNameOk() (*string, bool)
- func (o *SecurityGroup) GetRules() []SecurityGroupRule
- func (o *SecurityGroup) GetRulesOk() ([]SecurityGroupRule, bool)
- func (o *SecurityGroup) GetStateful() bool
- func (o *SecurityGroup) GetStatefulOk() (*bool, bool)
- func (o *SecurityGroup) GetUpdatedAt() time.Time
- func (o *SecurityGroup) GetUpdatedAtOk() (*time.Time, bool)
- func (o *SecurityGroup) HasCreatedAt() bool
- func (o *SecurityGroup) HasDescription() bool
- func (o *SecurityGroup) HasId() bool
- func (o *SecurityGroup) HasLabels() bool
- func (o *SecurityGroup) HasRules() bool
- func (o *SecurityGroup) HasStateful() bool
- func (o *SecurityGroup) HasUpdatedAt() bool
- func (o SecurityGroup) MarshalJSON() ([]byte, error)
- func (o *SecurityGroup) SetCreatedAt(v time.Time)
- func (o *SecurityGroup) SetDescription(v string)
- func (o *SecurityGroup) SetId(v string)
- func (o *SecurityGroup) SetLabels(v map[string]interface{})
- func (o *SecurityGroup) SetName(v string)
- func (o *SecurityGroup) SetRules(v []SecurityGroupRule)
- func (o *SecurityGroup) SetStateful(v bool)
- func (o *SecurityGroup) SetUpdatedAt(v time.Time)
- func (o SecurityGroup) ToMap() (map[string]interface{}, error)
- func (o *SecurityGroup) UnmarshalJSON(data []byte) (err error)
- type SecurityGroupListResponse
- func (o *SecurityGroupListResponse) GetItems() []SecurityGroup
- func (o *SecurityGroupListResponse) GetItemsOk() ([]SecurityGroup, bool)
- func (o SecurityGroupListResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityGroupListResponse) SetItems(v []SecurityGroup)
- func (o SecurityGroupListResponse) ToMap() (map[string]interface{}, error)
- func (o *SecurityGroupListResponse) UnmarshalJSON(data []byte) (err error)
- type SecurityGroupRule
- func (o *SecurityGroupRule) GetCreatedAt() time.Time
- func (o *SecurityGroupRule) GetCreatedAtOk() (*time.Time, 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) GetIcmpParameters() ICMPParameters
- func (o *SecurityGroupRule) GetIcmpParametersOk() (*ICMPParameters, bool)
- func (o *SecurityGroupRule) GetId() string
- func (o *SecurityGroupRule) GetIdOk() (*string, bool)
- func (o *SecurityGroupRule) GetIpRange() string
- func (o *SecurityGroupRule) GetIpRangeOk() (*string, bool)
- func (o *SecurityGroupRule) GetPortRange() PortRange
- func (o *SecurityGroupRule) GetPortRangeOk() (*PortRange, bool)
- func (o *SecurityGroupRule) GetProtocol() Protocol
- func (o *SecurityGroupRule) GetProtocolOk() (*Protocol, bool)
- func (o *SecurityGroupRule) GetRemoteSecurityGroupId() string
- func (o *SecurityGroupRule) GetRemoteSecurityGroupIdOk() (*string, bool)
- func (o *SecurityGroupRule) GetSecurityGroupId() string
- func (o *SecurityGroupRule) GetSecurityGroupIdOk() (*string, bool)
- func (o *SecurityGroupRule) GetUpdatedAt() time.Time
- func (o *SecurityGroupRule) GetUpdatedAtOk() (*time.Time, bool)
- func (o *SecurityGroupRule) HasCreatedAt() bool
- func (o *SecurityGroupRule) HasDescription() bool
- func (o *SecurityGroupRule) HasEthertype() bool
- func (o *SecurityGroupRule) HasIcmpParameters() bool
- func (o *SecurityGroupRule) HasId() bool
- func (o *SecurityGroupRule) HasIpRange() bool
- func (o *SecurityGroupRule) HasPortRange() bool
- func (o *SecurityGroupRule) HasProtocol() bool
- func (o *SecurityGroupRule) HasRemoteSecurityGroupId() bool
- func (o *SecurityGroupRule) HasSecurityGroupId() bool
- func (o *SecurityGroupRule) HasUpdatedAt() bool
- func (o SecurityGroupRule) MarshalJSON() ([]byte, error)
- func (o *SecurityGroupRule) SetCreatedAt(v time.Time)
- func (o *SecurityGroupRule) SetDescription(v string)
- func (o *SecurityGroupRule) SetDirection(v string)
- func (o *SecurityGroupRule) SetEthertype(v string)
- func (o *SecurityGroupRule) SetIcmpParameters(v ICMPParameters)
- func (o *SecurityGroupRule) SetId(v string)
- func (o *SecurityGroupRule) SetIpRange(v string)
- func (o *SecurityGroupRule) SetPortRange(v PortRange)
- func (o *SecurityGroupRule) SetProtocol(v Protocol)
- func (o *SecurityGroupRule) SetRemoteSecurityGroupId(v string)
- func (o *SecurityGroupRule) SetSecurityGroupId(v string)
- func (o *SecurityGroupRule) SetUpdatedAt(v time.Time)
- func (o SecurityGroupRule) ToMap() (map[string]interface{}, error)
- func (o *SecurityGroupRule) UnmarshalJSON(data []byte) (err error)
- type SecurityGroupRuleListResponse
- func (o *SecurityGroupRuleListResponse) GetItems() []SecurityGroupRule
- func (o *SecurityGroupRuleListResponse) GetItemsOk() ([]SecurityGroupRule, bool)
- func (o SecurityGroupRuleListResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityGroupRuleListResponse) SetItems(v []SecurityGroupRule)
- func (o SecurityGroupRuleListResponse) ToMap() (map[string]interface{}, error)
- func (o *SecurityGroupRuleListResponse) UnmarshalJSON(data []byte) (err error)
- type SecurityGroupRuleProtocol
- func (o *SecurityGroupRuleProtocol) GetProtocol() Protocol
- func (o *SecurityGroupRuleProtocol) GetProtocolOk() (*Protocol, bool)
- func (o *SecurityGroupRuleProtocol) HasProtocol() bool
- func (o SecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
- func (o *SecurityGroupRuleProtocol) SetProtocol(v Protocol)
- func (o SecurityGroupRuleProtocol) ToMap() (map[string]interface{}, error)
- type Server
- func (o *Server) GetAffinityGroup() string
- func (o *Server) GetAffinityGroupOk() (*string, bool)
- func (o *Server) GetAgent() ServerAgent
- func (o *Server) GetAgentOk() (*ServerAgent, bool)
- func (o *Server) GetAvailabilityZone() string
- func (o *Server) GetAvailabilityZoneOk() (*string, bool)
- func (o *Server) GetBootVolume() BootVolume
- func (o *Server) GetBootVolumeOk() (*BootVolume, bool)
- func (o *Server) GetCreatedAt() time.Time
- func (o *Server) GetCreatedAtOk() (*time.Time, bool)
- func (o *Server) GetErrorMessage() string
- func (o *Server) GetErrorMessageOk() (*string, bool)
- func (o *Server) GetId() string
- func (o *Server) GetIdOk() (*string, bool)
- func (o *Server) GetImageId() string
- func (o *Server) GetImageIdOk() (*string, bool)
- func (o *Server) GetKeypairName() string
- func (o *Server) GetKeypairNameOk() (*string, bool)
- func (o *Server) GetLabels() map[string]interface{}
- func (o *Server) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Server) GetLaunchedAt() time.Time
- func (o *Server) GetLaunchedAtOk() (*time.Time, bool)
- func (o *Server) GetMachineType() string
- func (o *Server) GetMachineTypeOk() (*string, bool)
- func (o *Server) GetMaintenanceWindow() ServerMaintenance
- func (o *Server) GetMaintenanceWindowOk() (*ServerMaintenance, bool)
- func (o *Server) GetMetadata() map[string]interface{}
- func (o *Server) GetMetadataOk() (map[string]interface{}, bool)
- func (o *Server) GetName() string
- func (o *Server) GetNameOk() (*string, bool)
- func (o *Server) GetNetworking() ServerNetworking
- func (o *Server) GetNetworkingOk() (*ServerNetworking, bool)
- func (o *Server) GetNics() []ServerNetwork
- func (o *Server) GetNicsOk() ([]ServerNetwork, bool)
- func (o *Server) GetPowerStatus() string
- func (o *Server) GetPowerStatusOk() (*string, bool)
- func (o *Server) GetSecurityGroups() []string
- func (o *Server) GetSecurityGroupsOk() ([]string, bool)
- func (o *Server) GetServiceAccountMails() []string
- func (o *Server) GetServiceAccountMailsOk() ([]string, bool)
- func (o *Server) GetStatus() string
- func (o *Server) GetStatusOk() (*string, bool)
- func (o *Server) GetUpdatedAt() time.Time
- func (o *Server) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Server) GetUserData() string
- func (o *Server) GetUserDataOk() (*string, bool)
- func (o *Server) GetVolumes() []string
- func (o *Server) GetVolumesOk() ([]string, bool)
- func (o *Server) HasAffinityGroup() bool
- func (o *Server) HasAgent() bool
- func (o *Server) HasAvailabilityZone() bool
- func (o *Server) HasBootVolume() bool
- func (o *Server) HasCreatedAt() bool
- func (o *Server) HasErrorMessage() bool
- func (o *Server) HasId() bool
- func (o *Server) HasImageId() bool
- func (o *Server) HasKeypairName() bool
- func (o *Server) HasLabels() bool
- func (o *Server) HasLaunchedAt() bool
- func (o *Server) HasMaintenanceWindow() bool
- func (o *Server) HasMetadata() bool
- func (o *Server) HasNetworking() bool
- func (o *Server) HasNics() bool
- func (o *Server) HasPowerStatus() bool
- func (o *Server) HasSecurityGroups() bool
- func (o *Server) HasServiceAccountMails() bool
- func (o *Server) HasStatus() bool
- func (o *Server) HasUpdatedAt() bool
- func (o *Server) HasUserData() bool
- func (o *Server) HasVolumes() bool
- func (o Server) MarshalJSON() ([]byte, error)
- func (o *Server) SetAffinityGroup(v string)
- func (o *Server) SetAgent(v ServerAgent)
- func (o *Server) SetAvailabilityZone(v string)
- func (o *Server) SetBootVolume(v BootVolume)
- func (o *Server) SetCreatedAt(v time.Time)
- func (o *Server) SetErrorMessage(v string)
- func (o *Server) SetId(v string)
- func (o *Server) SetImageId(v string)
- func (o *Server) SetKeypairName(v string)
- func (o *Server) SetLabels(v map[string]interface{})
- func (o *Server) SetLaunchedAt(v time.Time)
- func (o *Server) SetMachineType(v string)
- func (o *Server) SetMaintenanceWindow(v ServerMaintenance)
- func (o *Server) SetMetadata(v map[string]interface{})
- func (o *Server) SetName(v string)
- func (o *Server) SetNetworking(v ServerNetworking)
- func (o *Server) SetNics(v []ServerNetwork)
- func (o *Server) SetPowerStatus(v string)
- func (o *Server) SetSecurityGroups(v []string)
- func (o *Server) SetServiceAccountMails(v []string)
- func (o *Server) SetStatus(v string)
- func (o *Server) SetUpdatedAt(v time.Time)
- func (o *Server) SetUserData(v string)
- func (o *Server) SetVolumes(v []string)
- func (o Server) ToMap() (map[string]interface{}, error)
- func (o *Server) UnmarshalJSON(data []byte) (err error)
- type ServerAgent
- type ServerConsoleUrl
- func (o *ServerConsoleUrl) GetUrl() string
- func (o *ServerConsoleUrl) GetUrlOk() (*string, bool)
- func (o ServerConsoleUrl) MarshalJSON() ([]byte, error)
- func (o *ServerConsoleUrl) SetUrl(v string)
- func (o ServerConsoleUrl) ToMap() (map[string]interface{}, error)
- func (o *ServerConsoleUrl) UnmarshalJSON(data []byte) (err error)
- type ServerListResponse
- func (o *ServerListResponse) GetItems() []Server
- func (o *ServerListResponse) GetItemsOk() ([]Server, bool)
- func (o ServerListResponse) MarshalJSON() ([]byte, error)
- func (o *ServerListResponse) SetItems(v []Server)
- func (o ServerListResponse) ToMap() (map[string]interface{}, error)
- func (o *ServerListResponse) UnmarshalJSON(data []byte) (err error)
- type ServerMaintenance
- func (o *ServerMaintenance) GetDetails() string
- func (o *ServerMaintenance) GetDetailsOk() (*string, bool)
- func (o *ServerMaintenance) GetEndsAt() time.Time
- func (o *ServerMaintenance) GetEndsAtOk() (*time.Time, bool)
- func (o *ServerMaintenance) GetStartsAt() time.Time
- func (o *ServerMaintenance) GetStartsAtOk() (*time.Time, bool)
- func (o *ServerMaintenance) GetStatus() string
- func (o *ServerMaintenance) GetStatusOk() (*string, bool)
- func (o *ServerMaintenance) HasDetails() bool
- func (o ServerMaintenance) MarshalJSON() ([]byte, error)
- func (o *ServerMaintenance) SetDetails(v string)
- func (o *ServerMaintenance) SetEndsAt(v time.Time)
- func (o *ServerMaintenance) SetStartsAt(v time.Time)
- func (o *ServerMaintenance) SetStatus(v string)
- func (o ServerMaintenance) ToMap() (map[string]interface{}, error)
- func (o *ServerMaintenance) UnmarshalJSON(data []byte) (err error)
- type ServerNetwork
- func (o *ServerNetwork) GetAllowedAddresses() []AllowedAddressesInner
- func (o *ServerNetwork) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
- func (o *ServerNetwork) GetIpv4() string
- func (o *ServerNetwork) GetIpv4Ok() (*string, bool)
- func (o *ServerNetwork) GetIpv6() string
- func (o *ServerNetwork) GetIpv6Ok() (*string, bool)
- func (o *ServerNetwork) GetMac() string
- func (o *ServerNetwork) GetMacOk() (*string, bool)
- func (o *ServerNetwork) GetNetworkId() string
- func (o *ServerNetwork) GetNetworkIdOk() (*string, bool)
- func (o *ServerNetwork) GetNetworkName() string
- func (o *ServerNetwork) GetNetworkNameOk() (*string, bool)
- func (o *ServerNetwork) GetNicId() string
- func (o *ServerNetwork) GetNicIdOk() (*string, bool)
- func (o *ServerNetwork) GetNicSecurity() bool
- func (o *ServerNetwork) GetNicSecurityOk() (*bool, bool)
- func (o *ServerNetwork) GetPublicIp() string
- func (o *ServerNetwork) GetPublicIpOk() (*string, bool)
- func (o *ServerNetwork) GetSecurityGroups() []string
- func (o *ServerNetwork) GetSecurityGroupsOk() ([]string, bool)
- func (o *ServerNetwork) HasAllowedAddresses() bool
- func (o *ServerNetwork) HasIpv4() bool
- func (o *ServerNetwork) HasIpv6() bool
- func (o *ServerNetwork) HasPublicIp() bool
- func (o *ServerNetwork) HasSecurityGroups() bool
- func (o ServerNetwork) MarshalJSON() ([]byte, error)
- func (o *ServerNetwork) SetAllowedAddresses(v []AllowedAddressesInner)
- func (o *ServerNetwork) SetIpv4(v string)
- func (o *ServerNetwork) SetIpv6(v string)
- func (o *ServerNetwork) SetMac(v string)
- func (o *ServerNetwork) SetNetworkId(v string)
- func (o *ServerNetwork) SetNetworkName(v string)
- func (o *ServerNetwork) SetNicId(v string)
- func (o *ServerNetwork) SetNicSecurity(v bool)
- func (o *ServerNetwork) SetPublicIp(v string)
- func (o *ServerNetwork) SetSecurityGroups(v []string)
- func (o ServerNetwork) ToMap() (map[string]interface{}, error)
- func (o *ServerNetwork) UnmarshalJSON(data []byte) (err error)
- type ServerNetworking
- type ServiceAccountMailListResponse
- func (o *ServiceAccountMailListResponse) GetItems() []string
- func (o *ServiceAccountMailListResponse) GetItemsOk() ([]string, bool)
- func (o ServiceAccountMailListResponse) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountMailListResponse) SetItems(v []string)
- func (o ServiceAccountMailListResponse) ToMap() (map[string]interface{}, error)
- func (o *ServiceAccountMailListResponse) UnmarshalJSON(data []byte) (err error)
- type SetImageSharePayload
- func (o *SetImageSharePayload) GetParentOrganization() bool
- func (o *SetImageSharePayload) GetParentOrganizationOk() (*bool, bool)
- func (o *SetImageSharePayload) GetProjects() []string
- func (o *SetImageSharePayload) GetProjectsOk() ([]string, bool)
- func (o *SetImageSharePayload) HasParentOrganization() bool
- func (o *SetImageSharePayload) HasProjects() bool
- func (o SetImageSharePayload) MarshalJSON() ([]byte, error)
- func (o *SetImageSharePayload) SetParentOrganization(v bool)
- func (o *SetImageSharePayload) SetProjects(v []string)
- func (o SetImageSharePayload) ToMap() (map[string]interface{}, error)
- type Snapshot
- func (o *Snapshot) GetCreatedAt() time.Time
- func (o *Snapshot) GetCreatedAtOk() (*time.Time, bool)
- func (o *Snapshot) GetId() string
- func (o *Snapshot) GetIdOk() (*string, bool)
- func (o *Snapshot) GetLabels() map[string]interface{}
- func (o *Snapshot) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Snapshot) GetName() string
- func (o *Snapshot) GetNameOk() (*string, bool)
- func (o *Snapshot) GetSize() int64
- func (o *Snapshot) GetSizeOk() (*int64, bool)
- func (o *Snapshot) GetStatus() string
- func (o *Snapshot) GetStatusOk() (*string, bool)
- func (o *Snapshot) GetUpdatedAt() time.Time
- func (o *Snapshot) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Snapshot) GetVolumeId() string
- func (o *Snapshot) GetVolumeIdOk() (*string, bool)
- func (o *Snapshot) HasCreatedAt() bool
- func (o *Snapshot) HasId() bool
- func (o *Snapshot) HasLabels() bool
- func (o *Snapshot) HasName() bool
- func (o *Snapshot) HasSize() bool
- func (o *Snapshot) HasStatus() bool
- func (o *Snapshot) HasUpdatedAt() bool
- func (o Snapshot) MarshalJSON() ([]byte, error)
- func (o *Snapshot) SetCreatedAt(v time.Time)
- func (o *Snapshot) SetId(v string)
- func (o *Snapshot) SetLabels(v map[string]interface{})
- func (o *Snapshot) SetName(v string)
- func (o *Snapshot) SetSize(v int64)
- func (o *Snapshot) SetStatus(v string)
- func (o *Snapshot) SetUpdatedAt(v time.Time)
- func (o *Snapshot) SetVolumeId(v string)
- func (o Snapshot) ToMap() (map[string]interface{}, error)
- func (o *Snapshot) UnmarshalJSON(data []byte) (err error)
- type SnapshotListResponse
- func (o *SnapshotListResponse) GetItems() []Snapshot
- func (o *SnapshotListResponse) GetItemsOk() ([]Snapshot, bool)
- func (o SnapshotListResponse) MarshalJSON() ([]byte, error)
- func (o *SnapshotListResponse) SetItems(v []Snapshot)
- func (o SnapshotListResponse) ToMap() (map[string]interface{}, error)
- func (o *SnapshotListResponse) UnmarshalJSON(data []byte) (err error)
- type StaticAreaID
- type UpdateAreaAddressFamily
- func (o *UpdateAreaAddressFamily) GetIpv4() UpdateAreaIPv4
- func (o *UpdateAreaAddressFamily) GetIpv4Ok() (*UpdateAreaIPv4, bool)
- func (o *UpdateAreaAddressFamily) HasIpv4() bool
- func (o UpdateAreaAddressFamily) MarshalJSON() ([]byte, error)
- func (o *UpdateAreaAddressFamily) SetIpv4(v UpdateAreaIPv4)
- func (o UpdateAreaAddressFamily) ToMap() (map[string]interface{}, error)
- type UpdateAreaIPv4
- func (o *UpdateAreaIPv4) GetDefaultNameservers() []string
- func (o *UpdateAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
- func (o *UpdateAreaIPv4) GetDefaultPrefixLen() int32
- func (o *UpdateAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)
- func (o *UpdateAreaIPv4) GetMaxPrefixLen() int32
- func (o *UpdateAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)
- func (o *UpdateAreaIPv4) GetMinPrefixLen() int32
- func (o *UpdateAreaIPv4) GetMinPrefixLenOk() (*int32, bool)
- func (o *UpdateAreaIPv4) HasDefaultNameservers() bool
- func (o *UpdateAreaIPv4) HasDefaultPrefixLen() bool
- func (o *UpdateAreaIPv4) HasMaxPrefixLen() bool
- func (o *UpdateAreaIPv4) HasMinPrefixLen() bool
- func (o UpdateAreaIPv4) MarshalJSON() ([]byte, error)
- func (o *UpdateAreaIPv4) SetDefaultNameservers(v []string)
- func (o *UpdateAreaIPv4) SetDefaultPrefixLen(v int32)
- func (o *UpdateAreaIPv4) SetMaxPrefixLen(v int32)
- func (o *UpdateAreaIPv4) SetMinPrefixLen(v int32)
- func (o UpdateAreaIPv4) ToMap() (map[string]interface{}, error)
- type UpdateAttachedVolumePayload
- func (o *UpdateAttachedVolumePayload) GetDeleteOnTermination() bool
- func (o *UpdateAttachedVolumePayload) GetDeleteOnTerminationOk() (*bool, bool)
- func (o *UpdateAttachedVolumePayload) GetServerId() string
- func (o *UpdateAttachedVolumePayload) GetServerIdOk() (*string, bool)
- func (o *UpdateAttachedVolumePayload) GetVolumeId() string
- func (o *UpdateAttachedVolumePayload) GetVolumeIdOk() (*string, bool)
- func (o *UpdateAttachedVolumePayload) HasDeleteOnTermination() bool
- func (o *UpdateAttachedVolumePayload) HasServerId() bool
- func (o *UpdateAttachedVolumePayload) HasVolumeId() bool
- func (o UpdateAttachedVolumePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateAttachedVolumePayload) SetDeleteOnTermination(v bool)
- func (o *UpdateAttachedVolumePayload) SetServerId(v string)
- func (o *UpdateAttachedVolumePayload) SetVolumeId(v string)
- func (o UpdateAttachedVolumePayload) ToMap() (map[string]interface{}, error)
- type UpdateBackupPayload
- func (o *UpdateBackupPayload) GetAvailabilityZone() string
- func (o *UpdateBackupPayload) GetAvailabilityZoneOk() (*string, bool)
- func (o *UpdateBackupPayload) GetCreatedAt() time.Time
- func (o *UpdateBackupPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *UpdateBackupPayload) GetEncrypted() bool
- func (o *UpdateBackupPayload) GetEncryptedOk() (*bool, bool)
- func (o *UpdateBackupPayload) GetId() string
- func (o *UpdateBackupPayload) GetIdOk() (*string, bool)
- func (o *UpdateBackupPayload) GetLabels() map[string]interface{}
- func (o *UpdateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateBackupPayload) GetName() string
- func (o *UpdateBackupPayload) GetNameOk() (*string, bool)
- func (o *UpdateBackupPayload) GetSize() int64
- func (o *UpdateBackupPayload) GetSizeOk() (*int64, bool)
- func (o *UpdateBackupPayload) GetSnapshotId() string
- func (o *UpdateBackupPayload) GetSnapshotIdOk() (*string, bool)
- func (o *UpdateBackupPayload) GetStatus() string
- func (o *UpdateBackupPayload) GetStatusOk() (*string, bool)
- func (o *UpdateBackupPayload) GetUpdatedAt() time.Time
- func (o *UpdateBackupPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *UpdateBackupPayload) GetVolumeId() string
- func (o *UpdateBackupPayload) GetVolumeIdOk() (*string, bool)
- func (o *UpdateBackupPayload) HasAvailabilityZone() bool
- func (o *UpdateBackupPayload) HasCreatedAt() bool
- func (o *UpdateBackupPayload) HasEncrypted() bool
- func (o *UpdateBackupPayload) HasId() bool
- func (o *UpdateBackupPayload) HasLabels() bool
- func (o *UpdateBackupPayload) HasName() bool
- func (o *UpdateBackupPayload) HasSize() bool
- func (o *UpdateBackupPayload) HasSnapshotId() bool
- func (o *UpdateBackupPayload) HasStatus() bool
- func (o *UpdateBackupPayload) HasUpdatedAt() bool
- func (o *UpdateBackupPayload) HasVolumeId() bool
- func (o UpdateBackupPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateBackupPayload) SetAvailabilityZone(v string)
- func (o *UpdateBackupPayload) SetCreatedAt(v time.Time)
- func (o *UpdateBackupPayload) SetEncrypted(v bool)
- func (o *UpdateBackupPayload) SetId(v string)
- func (o *UpdateBackupPayload) SetLabels(v map[string]interface{})
- func (o *UpdateBackupPayload) SetName(v string)
- func (o *UpdateBackupPayload) SetSize(v int64)
- func (o *UpdateBackupPayload) SetSnapshotId(v string)
- func (o *UpdateBackupPayload) SetStatus(v string)
- func (o *UpdateBackupPayload) SetUpdatedAt(v time.Time)
- func (o *UpdateBackupPayload) SetVolumeId(v string)
- func (o UpdateBackupPayload) ToMap() (map[string]interface{}, error)
- type UpdateImagePayload
- func (o *UpdateImagePayload) GetAgent() ImageAgent
- func (o *UpdateImagePayload) GetAgentOk() (*ImageAgent, bool)
- func (o *UpdateImagePayload) GetConfig() ImageConfig
- func (o *UpdateImagePayload) GetConfigOk() (*ImageConfig, bool)
- func (o *UpdateImagePayload) GetDiskFormat() string
- func (o *UpdateImagePayload) GetDiskFormatOk() (*string, bool)
- func (o *UpdateImagePayload) GetLabels() map[string]interface{}
- func (o *UpdateImagePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateImagePayload) GetMinDiskSize() int64
- func (o *UpdateImagePayload) GetMinDiskSizeOk() (*int64, bool)
- func (o *UpdateImagePayload) GetMinRam() int64
- func (o *UpdateImagePayload) GetMinRamOk() (*int64, bool)
- func (o *UpdateImagePayload) GetName() string
- func (o *UpdateImagePayload) GetNameOk() (*string, bool)
- func (o *UpdateImagePayload) GetProtected() bool
- func (o *UpdateImagePayload) GetProtectedOk() (*bool, bool)
- func (o *UpdateImagePayload) HasAgent() bool
- func (o *UpdateImagePayload) HasConfig() bool
- func (o *UpdateImagePayload) HasDiskFormat() bool
- func (o *UpdateImagePayload) HasLabels() bool
- func (o *UpdateImagePayload) HasMinDiskSize() bool
- func (o *UpdateImagePayload) HasMinRam() bool
- func (o *UpdateImagePayload) HasName() bool
- func (o *UpdateImagePayload) HasProtected() bool
- func (o UpdateImagePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateImagePayload) SetAgent(v ImageAgent)
- func (o *UpdateImagePayload) SetConfig(v ImageConfig)
- func (o *UpdateImagePayload) SetDiskFormat(v string)
- func (o *UpdateImagePayload) SetLabels(v map[string]interface{})
- func (o *UpdateImagePayload) SetMinDiskSize(v int64)
- func (o *UpdateImagePayload) SetMinRam(v int64)
- func (o *UpdateImagePayload) SetName(v string)
- func (o *UpdateImagePayload) SetProtected(v bool)
- func (o UpdateImagePayload) ToMap() (map[string]interface{}, error)
- type UpdateImageSharePayload
- func (o *UpdateImageSharePayload) GetParentOrganization() bool
- func (o *UpdateImageSharePayload) GetParentOrganizationOk() (*bool, bool)
- func (o *UpdateImageSharePayload) GetProjects() []string
- func (o *UpdateImageSharePayload) GetProjectsOk() ([]string, bool)
- func (o *UpdateImageSharePayload) HasParentOrganization() bool
- func (o *UpdateImageSharePayload) HasProjects() bool
- func (o UpdateImageSharePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateImageSharePayload) SetParentOrganization(v bool)
- func (o *UpdateImageSharePayload) SetProjects(v []string)
- func (o UpdateImageSharePayload) ToMap() (map[string]interface{}, error)
- type UpdateKeyPairPayload
- func (o *UpdateKeyPairPayload) GetLabels() map[string]interface{}
- func (o *UpdateKeyPairPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateKeyPairPayload) HasLabels() bool
- func (o UpdateKeyPairPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateKeyPairPayload) SetLabels(v map[string]interface{})
- func (o UpdateKeyPairPayload) ToMap() (map[string]interface{}, error)
- type UpdateNetworkAddressFamily
- func (o *UpdateNetworkAddressFamily) GetIpv4() UpdateNetworkIPv4Body
- func (o *UpdateNetworkAddressFamily) GetIpv4Ok() (*UpdateNetworkIPv4Body, bool)
- func (o *UpdateNetworkAddressFamily) GetIpv6() UpdateNetworkIPv6Body
- func (o *UpdateNetworkAddressFamily) GetIpv6Ok() (*UpdateNetworkIPv6Body, bool)
- func (o *UpdateNetworkAddressFamily) HasIpv4() bool
- func (o *UpdateNetworkAddressFamily) HasIpv6() bool
- func (o UpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)
- func (o *UpdateNetworkAddressFamily) SetIpv4(v UpdateNetworkIPv4Body)
- func (o *UpdateNetworkAddressFamily) SetIpv6(v UpdateNetworkIPv6Body)
- func (o UpdateNetworkAddressFamily) ToMap() (map[string]interface{}, error)
- type UpdateNetworkAreaRoutePayload
- func (o *UpdateNetworkAreaRoutePayload) GetLabels() map[string]interface{}
- func (o *UpdateNetworkAreaRoutePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateNetworkAreaRoutePayload) HasLabels() bool
- func (o UpdateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateNetworkAreaRoutePayload) SetLabels(v map[string]interface{})
- func (o UpdateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)
- type UpdateNetworkIPv4Body
- func (o *UpdateNetworkIPv4Body) GetGateway() string
- func (o *UpdateNetworkIPv4Body) GetGatewayOk() (*string, bool)
- func (o *UpdateNetworkIPv4Body) GetNameservers() []string
- func (o *UpdateNetworkIPv4Body) GetNameserversOk() ([]string, bool)
- func (o *UpdateNetworkIPv4Body) HasGateway() bool
- func (o *UpdateNetworkIPv4Body) HasNameservers() bool
- func (o UpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)
- func (o *UpdateNetworkIPv4Body) SetGateway(v string)
- func (o *UpdateNetworkIPv4Body) SetGatewayNil()
- func (o *UpdateNetworkIPv4Body) SetNameservers(v []string)
- func (o UpdateNetworkIPv4Body) ToMap() (map[string]interface{}, error)
- func (o *UpdateNetworkIPv4Body) UnsetGateway()
- type UpdateNetworkIPv6Body
- func (o *UpdateNetworkIPv6Body) GetGateway() string
- func (o *UpdateNetworkIPv6Body) GetGatewayOk() (*string, bool)
- func (o *UpdateNetworkIPv6Body) GetNameservers() []string
- func (o *UpdateNetworkIPv6Body) GetNameserversOk() ([]string, bool)
- func (o *UpdateNetworkIPv6Body) HasGateway() bool
- func (o *UpdateNetworkIPv6Body) HasNameservers() bool
- func (o UpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)
- func (o *UpdateNetworkIPv6Body) SetGateway(v string)
- func (o *UpdateNetworkIPv6Body) SetGatewayNil()
- func (o *UpdateNetworkIPv6Body) SetNameservers(v []string)
- func (o UpdateNetworkIPv6Body) ToMap() (map[string]interface{}, error)
- func (o *UpdateNetworkIPv6Body) UnsetGateway()
- type UpdateNicPayload
- func (o *UpdateNicPayload) GetAllowedAddresses() []AllowedAddressesInner
- func (o *UpdateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
- func (o *UpdateNicPayload) GetDescription() string
- func (o *UpdateNicPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateNicPayload) GetLabels() map[string]interface{}
- func (o *UpdateNicPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateNicPayload) GetName() string
- func (o *UpdateNicPayload) GetNameOk() (*string, bool)
- func (o *UpdateNicPayload) GetNicSecurity() bool
- func (o *UpdateNicPayload) GetNicSecurityOk() (*bool, bool)
- func (o *UpdateNicPayload) GetSecurityGroups() []string
- func (o *UpdateNicPayload) GetSecurityGroupsOk() ([]string, bool)
- func (o *UpdateNicPayload) HasAllowedAddresses() bool
- func (o *UpdateNicPayload) HasDescription() bool
- func (o *UpdateNicPayload) HasLabels() bool
- func (o *UpdateNicPayload) HasName() bool
- func (o *UpdateNicPayload) HasNicSecurity() bool
- func (o *UpdateNicPayload) HasSecurityGroups() bool
- func (o UpdateNicPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)
- func (o *UpdateNicPayload) SetDescription(v string)
- func (o *UpdateNicPayload) SetLabels(v map[string]interface{})
- func (o *UpdateNicPayload) SetName(v string)
- func (o *UpdateNicPayload) SetNicSecurity(v bool)
- func (o *UpdateNicPayload) SetSecurityGroups(v []string)
- func (o UpdateNicPayload) ToMap() (map[string]interface{}, error)
- type UpdatePublicIPPayload
- func (o *UpdatePublicIPPayload) GetId() string
- func (o *UpdatePublicIPPayload) GetIdOk() (*string, bool)
- func (o *UpdatePublicIPPayload) GetIp() string
- func (o *UpdatePublicIPPayload) GetIpOk() (*string, bool)
- func (o *UpdatePublicIPPayload) GetLabels() map[string]interface{}
- func (o *UpdatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdatePublicIPPayload) GetNetworkInterface() string
- func (o *UpdatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)
- func (o *UpdatePublicIPPayload) HasId() bool
- func (o *UpdatePublicIPPayload) HasIp() bool
- func (o *UpdatePublicIPPayload) HasLabels() bool
- func (o *UpdatePublicIPPayload) HasNetworkInterface() bool
- func (o UpdatePublicIPPayload) MarshalJSON() ([]byte, error)
- func (o *UpdatePublicIPPayload) SetId(v string)
- func (o *UpdatePublicIPPayload) SetIp(v string)
- func (o *UpdatePublicIPPayload) SetLabels(v map[string]interface{})
- func (o *UpdatePublicIPPayload) SetNetworkInterface(v string)
- func (o *UpdatePublicIPPayload) SetNetworkInterfaceNil()
- func (o UpdatePublicIPPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdatePublicIPPayload) UnsetNetworkInterface()
- type UpdateSecurityGroupPayload
- func (o *UpdateSecurityGroupPayload) GetDescription() string
- func (o *UpdateSecurityGroupPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateSecurityGroupPayload) GetLabels() map[string]interface{}
- func (o *UpdateSecurityGroupPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateSecurityGroupPayload) GetName() string
- func (o *UpdateSecurityGroupPayload) GetNameOk() (*string, bool)
- func (o *UpdateSecurityGroupPayload) HasDescription() bool
- func (o *UpdateSecurityGroupPayload) HasLabels() bool
- func (o *UpdateSecurityGroupPayload) HasName() bool
- func (o UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateSecurityGroupPayload) SetDescription(v string)
- func (o *UpdateSecurityGroupPayload) SetLabels(v map[string]interface{})
- func (o *UpdateSecurityGroupPayload) SetName(v string)
- func (o UpdateSecurityGroupPayload) ToMap() (map[string]interface{}, error)
- type UpdateServerPayload
- func (o *UpdateServerPayload) GetLabels() map[string]interface{}
- func (o *UpdateServerPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateServerPayload) GetMetadata() map[string]interface{}
- func (o *UpdateServerPayload) GetMetadataOk() (map[string]interface{}, bool)
- func (o *UpdateServerPayload) GetName() string
- func (o *UpdateServerPayload) GetNameOk() (*string, bool)
- func (o *UpdateServerPayload) HasLabels() bool
- func (o *UpdateServerPayload) HasMetadata() bool
- func (o *UpdateServerPayload) HasName() bool
- func (o UpdateServerPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateServerPayload) SetLabels(v map[string]interface{})
- func (o *UpdateServerPayload) SetMetadata(v map[string]interface{})
- func (o *UpdateServerPayload) SetName(v string)
- func (o UpdateServerPayload) ToMap() (map[string]interface{}, error)
- type UpdateSnapshotPayload
- func (o *UpdateSnapshotPayload) GetLabels() map[string]interface{}
- func (o *UpdateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateSnapshotPayload) GetName() string
- func (o *UpdateSnapshotPayload) GetNameOk() (*string, bool)
- func (o *UpdateSnapshotPayload) HasLabels() bool
- func (o *UpdateSnapshotPayload) HasName() bool
- func (o UpdateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateSnapshotPayload) SetLabels(v map[string]interface{})
- func (o *UpdateSnapshotPayload) SetName(v string)
- func (o UpdateSnapshotPayload) ToMap() (map[string]interface{}, error)
- type UpdateVolumePayload
- func (o *UpdateVolumePayload) GetBootable() bool
- func (o *UpdateVolumePayload) GetBootableOk() (*bool, bool)
- func (o *UpdateVolumePayload) GetDescription() string
- func (o *UpdateVolumePayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateVolumePayload) GetImageConfig() ImageConfig
- func (o *UpdateVolumePayload) GetImageConfigOk() (*ImageConfig, bool)
- func (o *UpdateVolumePayload) GetLabels() map[string]interface{}
- func (o *UpdateVolumePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateVolumePayload) GetName() string
- func (o *UpdateVolumePayload) GetNameOk() (*string, bool)
- func (o *UpdateVolumePayload) HasBootable() bool
- func (o *UpdateVolumePayload) HasDescription() bool
- func (o *UpdateVolumePayload) HasImageConfig() bool
- func (o *UpdateVolumePayload) HasLabels() bool
- func (o *UpdateVolumePayload) HasName() bool
- func (o UpdateVolumePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateVolumePayload) SetBootable(v bool)
- func (o *UpdateVolumePayload) SetDescription(v string)
- func (o *UpdateVolumePayload) SetImageConfig(v ImageConfig)
- func (o *UpdateVolumePayload) SetLabels(v map[string]interface{})
- func (o *UpdateVolumePayload) SetName(v string)
- func (o UpdateVolumePayload) ToMap() (map[string]interface{}, error)
- type Volume
- func (o *Volume) GetAvailabilityZone() string
- func (o *Volume) GetAvailabilityZoneOk() (*string, bool)
- func (o *Volume) GetBootable() bool
- func (o *Volume) GetBootableOk() (*bool, bool)
- func (o *Volume) GetCreatedAt() time.Time
- func (o *Volume) GetCreatedAtOk() (*time.Time, bool)
- func (o *Volume) GetDescription() string
- func (o *Volume) GetDescriptionOk() (*string, bool)
- func (o *Volume) GetEncrypted() bool
- func (o *Volume) GetEncryptedOk() (*bool, bool)
- func (o *Volume) GetEncryptionParameters() VolumeEncryptionParameter
- func (o *Volume) GetEncryptionParametersOk() (*VolumeEncryptionParameter, bool)
- func (o *Volume) GetId() string
- func (o *Volume) GetIdOk() (*string, bool)
- func (o *Volume) GetImageConfig() ImageConfig
- func (o *Volume) GetImageConfigOk() (*ImageConfig, bool)
- func (o *Volume) GetLabels() map[string]interface{}
- func (o *Volume) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetPerformanceClass() string
- func (o *Volume) GetPerformanceClassOk() (*string, bool)
- func (o *Volume) GetServerId() string
- func (o *Volume) GetServerIdOk() (*string, bool)
- func (o *Volume) GetSize() int64
- func (o *Volume) GetSizeOk() (*int64, bool)
- func (o *Volume) GetSource() VolumeSource
- func (o *Volume) GetSourceOk() (*VolumeSource, bool)
- func (o *Volume) GetStatus() string
- func (o *Volume) GetStatusOk() (*string, bool)
- func (o *Volume) GetUpdatedAt() time.Time
- func (o *Volume) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Volume) HasBootable() bool
- func (o *Volume) HasCreatedAt() bool
- func (o *Volume) HasDescription() bool
- func (o *Volume) HasEncrypted() bool
- func (o *Volume) HasEncryptionParameters() bool
- func (o *Volume) HasId() bool
- func (o *Volume) HasImageConfig() bool
- func (o *Volume) HasLabels() bool
- func (o *Volume) HasName() bool
- func (o *Volume) HasPerformanceClass() bool
- func (o *Volume) HasServerId() bool
- func (o *Volume) HasSize() bool
- func (o *Volume) HasSource() bool
- func (o *Volume) HasStatus() bool
- func (o *Volume) HasUpdatedAt() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetAvailabilityZone(v string)
- func (o *Volume) SetBootable(v bool)
- func (o *Volume) SetCreatedAt(v time.Time)
- func (o *Volume) SetDescription(v string)
- func (o *Volume) SetEncrypted(v bool)
- func (o *Volume) SetEncryptionParameters(v VolumeEncryptionParameter)
- func (o *Volume) SetId(v string)
- func (o *Volume) SetImageConfig(v ImageConfig)
- func (o *Volume) SetLabels(v map[string]interface{})
- func (o *Volume) SetName(v string)
- func (o *Volume) SetPerformanceClass(v string)
- func (o *Volume) SetServerId(v string)
- func (o *Volume) SetSize(v int64)
- func (o *Volume) SetSource(v VolumeSource)
- func (o *Volume) SetStatus(v string)
- func (o *Volume) SetUpdatedAt(v time.Time)
- func (o Volume) ToMap() (map[string]interface{}, error)
- func (o *Volume) UnmarshalJSON(data []byte) (err error)
- type VolumeAttachment
- func (o *VolumeAttachment) GetDeleteOnTermination() bool
- func (o *VolumeAttachment) GetDeleteOnTerminationOk() (*bool, bool)
- func (o *VolumeAttachment) GetServerId() string
- func (o *VolumeAttachment) GetServerIdOk() (*string, bool)
- func (o *VolumeAttachment) GetVolumeId() string
- func (o *VolumeAttachment) GetVolumeIdOk() (*string, bool)
- func (o *VolumeAttachment) HasDeleteOnTermination() bool
- func (o *VolumeAttachment) HasServerId() bool
- func (o *VolumeAttachment) HasVolumeId() bool
- func (o VolumeAttachment) MarshalJSON() ([]byte, error)
- func (o *VolumeAttachment) SetDeleteOnTermination(v bool)
- func (o *VolumeAttachment) SetServerId(v string)
- func (o *VolumeAttachment) SetVolumeId(v string)
- func (o VolumeAttachment) ToMap() (map[string]interface{}, error)
- type VolumeAttachmentListResponse
- func (o *VolumeAttachmentListResponse) GetItems() []VolumeAttachment
- func (o *VolumeAttachmentListResponse) GetItemsOk() ([]VolumeAttachment, bool)
- func (o VolumeAttachmentListResponse) MarshalJSON() ([]byte, error)
- func (o *VolumeAttachmentListResponse) SetItems(v []VolumeAttachment)
- func (o VolumeAttachmentListResponse) ToMap() (map[string]interface{}, error)
- func (o *VolumeAttachmentListResponse) UnmarshalJSON(data []byte) (err error)
- type VolumeEncryptionParameter
- func (o *VolumeEncryptionParameter) GetKekKeyId() string
- func (o *VolumeEncryptionParameter) GetKekKeyIdOk() (*string, bool)
- func (o *VolumeEncryptionParameter) GetKekKeyVersion() int64
- func (o *VolumeEncryptionParameter) GetKekKeyVersionOk() (*int64, bool)
- func (o *VolumeEncryptionParameter) GetKekKeyringId() string
- func (o *VolumeEncryptionParameter) GetKekKeyringIdOk() (*string, bool)
- func (o *VolumeEncryptionParameter) GetKekProjectId() string
- func (o *VolumeEncryptionParameter) GetKekProjectIdOk() (*string, bool)
- func (o *VolumeEncryptionParameter) GetKeyPayload() string
- func (o *VolumeEncryptionParameter) GetKeyPayloadOk() (*string, bool)
- func (o *VolumeEncryptionParameter) GetServiceAccount() string
- func (o *VolumeEncryptionParameter) GetServiceAccountOk() (*string, bool)
- func (o *VolumeEncryptionParameter) HasKekProjectId() bool
- func (o *VolumeEncryptionParameter) HasKeyPayload() bool
- func (o VolumeEncryptionParameter) MarshalJSON() ([]byte, error)
- func (o *VolumeEncryptionParameter) SetKekKeyId(v string)
- func (o *VolumeEncryptionParameter) SetKekKeyVersion(v int64)
- func (o *VolumeEncryptionParameter) SetKekKeyringId(v string)
- func (o *VolumeEncryptionParameter) SetKekProjectId(v string)
- func (o *VolumeEncryptionParameter) SetKeyPayload(v string)
- func (o *VolumeEncryptionParameter) SetServiceAccount(v string)
- func (o VolumeEncryptionParameter) ToMap() (map[string]interface{}, error)
- func (o *VolumeEncryptionParameter) UnmarshalJSON(data []byte) (err error)
- type VolumeListResponse
- func (o *VolumeListResponse) GetItems() []Volume
- func (o *VolumeListResponse) GetItemsOk() ([]Volume, bool)
- func (o VolumeListResponse) MarshalJSON() ([]byte, error)
- func (o *VolumeListResponse) SetItems(v []Volume)
- func (o VolumeListResponse) ToMap() (map[string]interface{}, error)
- func (o *VolumeListResponse) UnmarshalJSON(data []byte) (err error)
- type VolumePerformanceClass
- func (o *VolumePerformanceClass) GetDescription() string
- func (o *VolumePerformanceClass) GetDescriptionOk() (*string, bool)
- func (o *VolumePerformanceClass) GetIops() int64
- func (o *VolumePerformanceClass) GetIopsOk() (*int64, bool)
- func (o *VolumePerformanceClass) GetLabels() map[string]interface{}
- func (o *VolumePerformanceClass) GetLabelsOk() (map[string]interface{}, bool)
- func (o *VolumePerformanceClass) GetName() string
- func (o *VolumePerformanceClass) GetNameOk() (*string, bool)
- func (o *VolumePerformanceClass) GetThroughput() int64
- func (o *VolumePerformanceClass) GetThroughputOk() (*int64, bool)
- func (o *VolumePerformanceClass) HasDescription() bool
- func (o *VolumePerformanceClass) HasIops() bool
- func (o *VolumePerformanceClass) HasLabels() bool
- func (o *VolumePerformanceClass) HasThroughput() bool
- func (o VolumePerformanceClass) MarshalJSON() ([]byte, error)
- func (o *VolumePerformanceClass) SetDescription(v string)
- func (o *VolumePerformanceClass) SetIops(v int64)
- func (o *VolumePerformanceClass) SetLabels(v map[string]interface{})
- func (o *VolumePerformanceClass) SetName(v string)
- func (o *VolumePerformanceClass) SetThroughput(v int64)
- func (o VolumePerformanceClass) ToMap() (map[string]interface{}, error)
- func (o *VolumePerformanceClass) UnmarshalJSON(data []byte) (err error)
- type VolumePerformanceClassListResponse
- func (o *VolumePerformanceClassListResponse) GetItems() []VolumePerformanceClass
- func (o *VolumePerformanceClassListResponse) GetItemsOk() ([]VolumePerformanceClass, bool)
- func (o VolumePerformanceClassListResponse) MarshalJSON() ([]byte, error)
- func (o *VolumePerformanceClassListResponse) SetItems(v []VolumePerformanceClass)
- func (o VolumePerformanceClassListResponse) ToMap() (map[string]interface{}, error)
- func (o *VolumePerformanceClassListResponse) UnmarshalJSON(data []byte) (err error)
- type VolumeSource
- func (o *VolumeSource) GetId() string
- func (o *VolumeSource) GetIdOk() (*string, bool)
- func (o *VolumeSource) GetType() string
- func (o *VolumeSource) GetTypeOk() (*string, bool)
- func (o VolumeSource) MarshalJSON() ([]byte, error)
- func (o *VolumeSource) SetId(v string)
- func (o *VolumeSource) SetType(v string)
- func (o VolumeSource) ToMap() (map[string]interface{}, error)
- func (o *VolumeSource) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedStaticAreaIDEnumValues = []StaticAreaID{
"PUBLIC",
"SCHWARZ",
}
All allowed values of StaticAreaID enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
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 {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT IaaS API API v1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
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() *config.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 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 AddVolumeToServerPayload ¶
type AddVolumeToServerPayload struct {
// Delete the volume during the termination of the server. Defaults to false.
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
// Universally Unique Identifier (UUID).
ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
AddVolumeToServerPayload Object that represents a Volume attachment to a server.
func NewAddVolumeToServerPayload ¶
func NewAddVolumeToServerPayload() *AddVolumeToServerPayload
NewAddVolumeToServerPayload instantiates a new AddVolumeToServerPayload 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 NewAddVolumeToServerPayloadWithDefaults ¶
func NewAddVolumeToServerPayloadWithDefaults() *AddVolumeToServerPayload
NewAddVolumeToServerPayloadWithDefaults instantiates a new AddVolumeToServerPayload 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 (*AddVolumeToServerPayload) GetDeleteOnTermination ¶
func (o *AddVolumeToServerPayload) GetDeleteOnTermination() bool
GetDeleteOnTermination returns the DeleteOnTermination field value if set, zero value otherwise.
func (*AddVolumeToServerPayload) GetDeleteOnTerminationOk ¶
func (o *AddVolumeToServerPayload) GetDeleteOnTerminationOk() (*bool, bool)
GetDeleteOnTerminationOk returns a tuple with the DeleteOnTermination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddVolumeToServerPayload) GetServerId ¶
func (o *AddVolumeToServerPayload) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*AddVolumeToServerPayload) GetServerIdOk ¶
func (o *AddVolumeToServerPayload) 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 (*AddVolumeToServerPayload) GetVolumeId ¶
func (o *AddVolumeToServerPayload) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*AddVolumeToServerPayload) GetVolumeIdOk ¶
func (o *AddVolumeToServerPayload) 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 (*AddVolumeToServerPayload) HasDeleteOnTermination ¶
func (o *AddVolumeToServerPayload) HasDeleteOnTermination() bool
HasDeleteOnTermination returns a boolean if a field has been set.
func (*AddVolumeToServerPayload) HasServerId ¶
func (o *AddVolumeToServerPayload) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*AddVolumeToServerPayload) HasVolumeId ¶
func (o *AddVolumeToServerPayload) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (AddVolumeToServerPayload) MarshalJSON ¶
func (o AddVolumeToServerPayload) MarshalJSON() ([]byte, error)
func (*AddVolumeToServerPayload) SetDeleteOnTermination ¶
func (o *AddVolumeToServerPayload) SetDeleteOnTermination(v bool)
SetDeleteOnTermination gets a reference to the given bool and assigns it to the DeleteOnTermination field.
func (*AddVolumeToServerPayload) SetServerId ¶
func (o *AddVolumeToServerPayload) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*AddVolumeToServerPayload) SetVolumeId ¶
func (o *AddVolumeToServerPayload) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (AddVolumeToServerPayload) ToMap ¶
func (o AddVolumeToServerPayload) ToMap() (map[string]interface{}, error)
type AffinityGroup ¶
type AffinityGroup struct {
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The servers that are part of the affinity group.
Members []string `json:"members,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// The affinity group policy. `hard-affinity`: All servers in this group will be hosted on the same compute node. `soft-affinity`: All servers in this group will be hosted on as few compute nodes as possible. `hard-anti-affinity`: All servers in this group will be hosted on different compute nodes. `soft-anti-affinity`: All servers in this group will be hosted on as many compute nodes as possible. Possible values: `hard-anti-affinity`, `hard-affinity`, `soft-anti-affinity`, `soft-affinity`.
Policy string `json:"policy"`
}
AffinityGroup Definition of an affinity group.
func NewAffinityGroup ¶
func NewAffinityGroup(name string, policy string) *AffinityGroup
NewAffinityGroup instantiates a new AffinityGroup 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 NewAffinityGroupWithDefaults ¶
func NewAffinityGroupWithDefaults() *AffinityGroup
NewAffinityGroupWithDefaults instantiates a new AffinityGroup 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 (*AffinityGroup) GetId ¶
func (o *AffinityGroup) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AffinityGroup) GetIdOk ¶
func (o *AffinityGroup) 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 (*AffinityGroup) GetMembers ¶
func (o *AffinityGroup) GetMembers() []string
GetMembers returns the Members field value if set, zero value otherwise.
func (*AffinityGroup) GetMembersOk ¶
func (o *AffinityGroup) GetMembersOk() ([]string, bool)
GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AffinityGroup) GetName ¶
func (o *AffinityGroup) GetName() string
GetName returns the Name field value
func (*AffinityGroup) GetNameOk ¶
func (o *AffinityGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AffinityGroup) GetPolicy ¶
func (o *AffinityGroup) GetPolicy() string
GetPolicy returns the Policy field value
func (*AffinityGroup) GetPolicyOk ¶
func (o *AffinityGroup) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.
func (*AffinityGroup) HasId ¶
func (o *AffinityGroup) HasId() bool
HasId returns a boolean if a field has been set.
func (*AffinityGroup) HasMembers ¶
func (o *AffinityGroup) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (AffinityGroup) MarshalJSON ¶
func (o AffinityGroup) MarshalJSON() ([]byte, error)
func (*AffinityGroup) SetId ¶
func (o *AffinityGroup) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AffinityGroup) SetMembers ¶
func (o *AffinityGroup) SetMembers(v []string)
SetMembers gets a reference to the given []string and assigns it to the Members field.
func (*AffinityGroup) SetPolicy ¶
func (o *AffinityGroup) SetPolicy(v string)
SetPolicy sets field value
func (AffinityGroup) ToMap ¶
func (o AffinityGroup) ToMap() (map[string]interface{}, error)
func (*AffinityGroup) UnmarshalJSON ¶
func (o *AffinityGroup) UnmarshalJSON(data []byte) (err error)
type AffinityGroupListResponse ¶
type AffinityGroupListResponse struct {
// A list of affinity groups.
Items []AffinityGroup `json:"items"`
}
AffinityGroupListResponse Response object for affinity group list request.
func NewAffinityGroupListResponse ¶
func NewAffinityGroupListResponse(items []AffinityGroup) *AffinityGroupListResponse
NewAffinityGroupListResponse instantiates a new AffinityGroupListResponse 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 NewAffinityGroupListResponseWithDefaults ¶
func NewAffinityGroupListResponseWithDefaults() *AffinityGroupListResponse
NewAffinityGroupListResponseWithDefaults instantiates a new AffinityGroupListResponse 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 (*AffinityGroupListResponse) GetItems ¶
func (o *AffinityGroupListResponse) GetItems() []AffinityGroup
GetItems returns the Items field value
func (*AffinityGroupListResponse) GetItemsOk ¶
func (o *AffinityGroupListResponse) GetItemsOk() ([]AffinityGroup, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (AffinityGroupListResponse) MarshalJSON ¶
func (o AffinityGroupListResponse) MarshalJSON() ([]byte, error)
func (*AffinityGroupListResponse) SetItems ¶
func (o *AffinityGroupListResponse) SetItems(v []AffinityGroup)
SetItems sets field value
func (AffinityGroupListResponse) ToMap ¶
func (o AffinityGroupListResponse) ToMap() (map[string]interface{}, error)
func (*AffinityGroupListResponse) UnmarshalJSON ¶
func (o *AffinityGroupListResponse) UnmarshalJSON(data []byte) (err error)
type AllowedAddressesInner ¶
type AllowedAddressesInner struct {
String *string
}
AllowedAddressesInner - struct for AllowedAddressesInner
func StringAsAllowedAddressesInner ¶
func StringAsAllowedAddressesInner(v *string) AllowedAddressesInner
stringAsAllowedAddressesInner is a convenience function that returns string wrapped in AllowedAddressesInner
func (*AllowedAddressesInner) GetActualInstance ¶
func (obj *AllowedAddressesInner) GetActualInstance() interface{}
Get the actual instance
func (AllowedAddressesInner) GetActualInstanceValue ¶
func (obj AllowedAddressesInner) GetActualInstanceValue() interface{}
Get the actual instance value
func (AllowedAddressesInner) MarshalJSON ¶
func (src AllowedAddressesInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AllowedAddressesInner) UnmarshalJSON ¶
func (dst *AllowedAddressesInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ApiAddNetworkToServerRequest ¶
type ApiAddNetworkToServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddNetworkToServerRequest) Execute ¶
func (r ApiAddNetworkToServerRequest) Execute() error
type ApiAddNicToServerRequest ¶
type ApiAddNicToServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddNicToServerRequest) Execute ¶
func (r ApiAddNicToServerRequest) Execute() error
type ApiAddPublicIpToServerRequest ¶
type ApiAddPublicIpToServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddPublicIpToServerRequest) Execute ¶
func (r ApiAddPublicIpToServerRequest) Execute() error
type ApiAddSecurityGroupToServerRequest ¶
type ApiAddSecurityGroupToServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddSecurityGroupToServerRequest) Execute ¶
func (r ApiAddSecurityGroupToServerRequest) Execute() error
type ApiAddServiceAccountToServerRequest ¶
type ApiAddServiceAccountToServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddServiceAccountToServerRequest) Execute ¶
func (r ApiAddServiceAccountToServerRequest) Execute() (*ServiceAccountMailListResponse, error)
type ApiAddVolumeToServerRequest ¶
type ApiAddVolumeToServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddVolumeToServerRequest) AddVolumeToServerPayload ¶
func (r ApiAddVolumeToServerRequest) AddVolumeToServerPayload(addVolumeToServerPayload AddVolumeToServerPayload) ApiAddVolumeToServerRequest
Request a volume attachment creation.
func (ApiAddVolumeToServerRequest) Execute ¶
func (r ApiAddVolumeToServerRequest) Execute() (*VolumeAttachment, error)
type ApiCreateAffinityGroupRequest ¶
type ApiCreateAffinityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateAffinityGroupRequest) CreateAffinityGroupPayload ¶
func (r ApiCreateAffinityGroupRequest) CreateAffinityGroupPayload(createAffinityGroupPayload CreateAffinityGroupPayload) ApiCreateAffinityGroupRequest
Request a affinity group creation.
func (ApiCreateAffinityGroupRequest) Execute ¶
func (r ApiCreateAffinityGroupRequest) Execute() (*AffinityGroup, error)
type ApiCreateBackupRequest ¶
type ApiCreateBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateBackupRequest) CreateBackupPayload ¶
func (r ApiCreateBackupRequest) CreateBackupPayload(createBackupPayload CreateBackupPayload) ApiCreateBackupRequest
Request a backup creation.
func (ApiCreateBackupRequest) Execute ¶
func (r ApiCreateBackupRequest) Execute() (*Backup, error)
type ApiCreateImageRequest ¶
type ApiCreateImageRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateImageRequest) CreateImagePayload ¶
func (r ApiCreateImageRequest) CreateImagePayload(createImagePayload CreateImagePayload) ApiCreateImageRequest
Request an image creation.
func (ApiCreateImageRequest) Execute ¶
func (r ApiCreateImageRequest) Execute() (*ImageCreateResponse, error)
type ApiCreateKeyPairRequest ¶
type ApiCreateKeyPairRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateKeyPairRequest) CreateKeyPairPayload ¶
func (r ApiCreateKeyPairRequest) CreateKeyPairPayload(createKeyPairPayload CreateKeyPairPayload) ApiCreateKeyPairRequest
Request a public key import.
func (ApiCreateKeyPairRequest) Execute ¶
func (r ApiCreateKeyPairRequest) Execute() (*Keypair, error)
type ApiCreateNetworkAreaRangeRequest ¶
type ApiCreateNetworkAreaRangeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateNetworkAreaRangeRequest) CreateNetworkAreaRangePayload ¶
func (r ApiCreateNetworkAreaRangeRequest) CreateNetworkAreaRangePayload(createNetworkAreaRangePayload CreateNetworkAreaRangePayload) ApiCreateNetworkAreaRangeRequest
Request an addition of network ranges to an area.
func (ApiCreateNetworkAreaRangeRequest) Execute ¶
func (r ApiCreateNetworkAreaRangeRequest) Execute() (*NetworkRangeListResponse, error)
type ApiCreateNetworkAreaRequest ¶
type ApiCreateNetworkAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateNetworkAreaRequest) CreateNetworkAreaPayload ¶
func (r ApiCreateNetworkAreaRequest) CreateNetworkAreaPayload(createNetworkAreaPayload CreateNetworkAreaPayload) ApiCreateNetworkAreaRequest
Request an area creation.
func (ApiCreateNetworkAreaRequest) Execute ¶
func (r ApiCreateNetworkAreaRequest) Execute() (*NetworkArea, error)
type ApiCreateNetworkAreaRouteRequest ¶
type ApiCreateNetworkAreaRouteRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateNetworkAreaRouteRequest) CreateNetworkAreaRoutePayload ¶
func (r ApiCreateNetworkAreaRouteRequest) CreateNetworkAreaRoutePayload(createNetworkAreaRoutePayload CreateNetworkAreaRoutePayload) ApiCreateNetworkAreaRouteRequest
Request an addition of routes to an area.
func (ApiCreateNetworkAreaRouteRequest) Execute ¶
func (r ApiCreateNetworkAreaRouteRequest) Execute() (*RouteListResponse, error)
type ApiCreateNetworkRequest ¶
type ApiCreateNetworkRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateNetworkRequest) CreateNetworkPayload ¶
func (r ApiCreateNetworkRequest) CreateNetworkPayload(createNetworkPayload CreateNetworkPayload) ApiCreateNetworkRequest
Request a network creation.
func (ApiCreateNetworkRequest) Execute ¶
func (r ApiCreateNetworkRequest) Execute() (*Network, error)
type ApiCreateNicRequest ¶
type ApiCreateNicRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateNicRequest) CreateNicPayload ¶
func (r ApiCreateNicRequest) CreateNicPayload(createNicPayload CreateNicPayload) ApiCreateNicRequest
Request a network interface creation.
func (ApiCreateNicRequest) Execute ¶
func (r ApiCreateNicRequest) Execute() (*NIC, error)
type ApiCreatePublicIPRequest ¶
type ApiCreatePublicIPRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreatePublicIPRequest) CreatePublicIPPayload ¶
func (r ApiCreatePublicIPRequest) CreatePublicIPPayload(createPublicIPPayload CreatePublicIPPayload) ApiCreatePublicIPRequest
Request a public IP creation.
func (ApiCreatePublicIPRequest) Execute ¶
func (r ApiCreatePublicIPRequest) Execute() (*PublicIp, error)
type ApiCreateSecurityGroupRequest ¶
type ApiCreateSecurityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateSecurityGroupRequest) CreateSecurityGroupPayload ¶
func (r ApiCreateSecurityGroupRequest) CreateSecurityGroupPayload(createSecurityGroupPayload CreateSecurityGroupPayload) ApiCreateSecurityGroupRequest
Request a security group creation.
func (ApiCreateSecurityGroupRequest) Execute ¶
func (r ApiCreateSecurityGroupRequest) Execute() (*SecurityGroup, error)
type ApiCreateSecurityGroupRuleRequest ¶
type ApiCreateSecurityGroupRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateSecurityGroupRuleRequest) CreateSecurityGroupRulePayload ¶
func (r ApiCreateSecurityGroupRuleRequest) CreateSecurityGroupRulePayload(createSecurityGroupRulePayload CreateSecurityGroupRulePayload) ApiCreateSecurityGroupRuleRequest
Request for a security group rule creation.
func (ApiCreateSecurityGroupRuleRequest) Execute ¶
func (r ApiCreateSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error)
type ApiCreateServerRequest ¶
type ApiCreateServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateServerRequest) CreateServerPayload ¶
func (r ApiCreateServerRequest) CreateServerPayload(createServerPayload CreateServerPayload) ApiCreateServerRequest
Request a server creation.
func (ApiCreateServerRequest) Execute ¶
func (r ApiCreateServerRequest) Execute() (*Server, error)
type ApiCreateSnapshotRequest ¶
type ApiCreateSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateSnapshotRequest) CreateSnapshotPayload ¶
func (r ApiCreateSnapshotRequest) CreateSnapshotPayload(createSnapshotPayload CreateSnapshotPayload) ApiCreateSnapshotRequest
Request a snapshot creation.
func (ApiCreateSnapshotRequest) Execute ¶
func (r ApiCreateSnapshotRequest) Execute() (*Snapshot, error)
type ApiCreateVolumeRequest ¶
type ApiCreateVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateVolumeRequest) CreateVolumePayload ¶
func (r ApiCreateVolumeRequest) CreateVolumePayload(createVolumePayload CreateVolumePayload) ApiCreateVolumeRequest
Request a volume creation.
func (ApiCreateVolumeRequest) Execute ¶
func (r ApiCreateVolumeRequest) Execute() (*Volume, error)
type ApiDeallocateServerRequest ¶
type ApiDeallocateServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeallocateServerRequest) Execute ¶
func (r ApiDeallocateServerRequest) Execute() error
type ApiDeleteAffinityGroupRequest ¶
type ApiDeleteAffinityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteAffinityGroupRequest) Execute ¶
func (r ApiDeleteAffinityGroupRequest) Execute() error
type ApiDeleteBackupRequest ¶
type ApiDeleteBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteBackupRequest) Execute ¶
func (r ApiDeleteBackupRequest) Execute() error
func (ApiDeleteBackupRequest) Force ¶
func (r ApiDeleteBackupRequest) Force(force bool) ApiDeleteBackupRequest
Force action.
type ApiDeleteImageRequest ¶
type ApiDeleteImageRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteImageRequest) Execute ¶
func (r ApiDeleteImageRequest) Execute() error
type ApiDeleteImageShareConsumerRequest ¶
type ApiDeleteImageShareConsumerRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteImageShareConsumerRequest) Execute ¶
func (r ApiDeleteImageShareConsumerRequest) Execute() error
type ApiDeleteImageShareRequest ¶
type ApiDeleteImageShareRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteImageShareRequest) Execute ¶
func (r ApiDeleteImageShareRequest) Execute() error
type ApiDeleteKeyPairRequest ¶
type ApiDeleteKeyPairRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteKeyPairRequest) Execute ¶
func (r ApiDeleteKeyPairRequest) Execute() error
type ApiDeleteNetworkAreaRangeRequest ¶
type ApiDeleteNetworkAreaRangeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteNetworkAreaRangeRequest) Execute ¶
func (r ApiDeleteNetworkAreaRangeRequest) Execute() error
type ApiDeleteNetworkAreaRequest ¶
type ApiDeleteNetworkAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteNetworkAreaRequest) Execute ¶
func (r ApiDeleteNetworkAreaRequest) Execute() error
type ApiDeleteNetworkAreaRouteRequest ¶
type ApiDeleteNetworkAreaRouteRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteNetworkAreaRouteRequest) Execute ¶
func (r ApiDeleteNetworkAreaRouteRequest) Execute() error
type ApiDeleteNetworkRequest ¶
type ApiDeleteNetworkRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteNetworkRequest) Execute ¶
func (r ApiDeleteNetworkRequest) Execute() error
type ApiDeleteNicRequest ¶
type ApiDeleteNicRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteNicRequest) Execute ¶
func (r ApiDeleteNicRequest) Execute() error
type ApiDeletePublicIPRequest ¶
type ApiDeletePublicIPRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeletePublicIPRequest) Execute ¶
func (r ApiDeletePublicIPRequest) Execute() error
type ApiDeleteSecurityGroupRequest ¶
type ApiDeleteSecurityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteSecurityGroupRequest) Execute ¶
func (r ApiDeleteSecurityGroupRequest) Execute() error
type ApiDeleteSecurityGroupRuleRequest ¶
type ApiDeleteSecurityGroupRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteSecurityGroupRuleRequest) Execute ¶
func (r ApiDeleteSecurityGroupRuleRequest) Execute() error
type ApiDeleteServerRequest ¶
type ApiDeleteServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteServerRequest) Execute ¶
func (r ApiDeleteServerRequest) Execute() error
type ApiDeleteSnapshotRequest ¶
type ApiDeleteSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteSnapshotRequest) Execute ¶
func (r ApiDeleteSnapshotRequest) Execute() error
type ApiDeleteVolumeRequest ¶
type ApiDeleteVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteVolumeRequest) Execute ¶
func (r ApiDeleteVolumeRequest) Execute() error
type ApiGetAffinityGroupRequest ¶
type ApiGetAffinityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetAffinityGroupRequest) Execute ¶
func (r ApiGetAffinityGroupRequest) Execute() (*AffinityGroup, error)
type ApiGetAttachedVolumeRequest ¶
type ApiGetAttachedVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetAttachedVolumeRequest) Execute ¶
func (r ApiGetAttachedVolumeRequest) Execute() (*VolumeAttachment, error)
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*Backup, error)
type ApiGetImageRequest ¶
type ApiGetImageRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetImageRequest) Execute ¶
func (r ApiGetImageRequest) Execute() (*Image, error)
type ApiGetImageShareConsumerRequest ¶
type ApiGetImageShareConsumerRequest struct {
// contains filtered or unexported fields
}
func (ApiGetImageShareConsumerRequest) Execute ¶
func (r ApiGetImageShareConsumerRequest) Execute() (*ImageShareConsumer, error)
type ApiGetImageShareRequest ¶
type ApiGetImageShareRequest struct {
// contains filtered or unexported fields
}
func (ApiGetImageShareRequest) Execute ¶
func (r ApiGetImageShareRequest) Execute() (*ImageShare, error)
type ApiGetKeyPairRequest ¶
type ApiGetKeyPairRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetKeyPairRequest) Execute ¶
func (r ApiGetKeyPairRequest) Execute() (*Keypair, error)
type ApiGetMachineTypeRequest ¶
type ApiGetMachineTypeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetMachineTypeRequest) Execute ¶
func (r ApiGetMachineTypeRequest) Execute() (*MachineType, error)
type ApiGetNetworkAreaRangeRequest ¶
type ApiGetNetworkAreaRangeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetNetworkAreaRangeRequest) Execute ¶
func (r ApiGetNetworkAreaRangeRequest) Execute() (*NetworkRange, error)
type ApiGetNetworkAreaRequest ¶
type ApiGetNetworkAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetNetworkAreaRequest) Execute ¶
func (r ApiGetNetworkAreaRequest) Execute() (*NetworkArea, error)
type ApiGetNetworkAreaRouteRequest ¶
type ApiGetNetworkAreaRouteRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetNetworkAreaRouteRequest) Execute ¶
func (r ApiGetNetworkAreaRouteRequest) Execute() (*Route, error)
type ApiGetNetworkRequest ¶
type ApiGetNetworkRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetNetworkRequest) Execute ¶
func (r ApiGetNetworkRequest) Execute() (*Network, error)
type ApiGetNicRequest ¶
type ApiGetNicRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetNicRequest) Execute ¶
func (r ApiGetNicRequest) Execute() (*NIC, error)
type ApiGetOrganizationRequestRequest ¶
type ApiGetOrganizationRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetOrganizationRequestRequest) Execute ¶
func (r ApiGetOrganizationRequestRequest) Execute() (*Request, error)
type ApiGetProjectDetailsRequest ¶
type ApiGetProjectDetailsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetProjectDetailsRequest) Execute ¶
func (r ApiGetProjectDetailsRequest) Execute() (*Project, error)
type ApiGetProjectNICRequest ¶
type ApiGetProjectNICRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetProjectNICRequest) Execute ¶
func (r ApiGetProjectNICRequest) Execute() (*NIC, error)
type ApiGetProjectRequestRequest ¶
type ApiGetProjectRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetProjectRequestRequest) Execute ¶
func (r ApiGetProjectRequestRequest) Execute() (*Request, error)
type ApiGetPublicIPRequest ¶
type ApiGetPublicIPRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetPublicIPRequest) Execute ¶
func (r ApiGetPublicIPRequest) Execute() (*PublicIp, error)
type ApiGetSecurityGroupRequest ¶
type ApiGetSecurityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetSecurityGroupRequest) Execute ¶
func (r ApiGetSecurityGroupRequest) Execute() (*SecurityGroup, error)
type ApiGetSecurityGroupRuleRequest ¶
type ApiGetSecurityGroupRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetSecurityGroupRuleRequest) Execute ¶
func (r ApiGetSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error)
type ApiGetServerConsoleRequest ¶
type ApiGetServerConsoleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServerConsoleRequest) Execute ¶
func (r ApiGetServerConsoleRequest) Execute() (*ServerConsoleUrl, error)
type ApiGetServerLogRequest ¶
type ApiGetServerLogRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServerLogRequest) Execute ¶
func (r ApiGetServerLogRequest) Execute() (*GetServerLog200Response, error)
func (ApiGetServerLogRequest) Length ¶
func (r ApiGetServerLogRequest) Length(length int64) ApiGetServerLogRequest
Request the server log. By default the length is limited to 2000 lines. Set to 0 to retrieve the complete log.
type ApiGetServerRequest ¶
type ApiGetServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServerRequest) Details ¶
func (r ApiGetServerRequest) Details(details bool) ApiGetServerRequest
Show detailed information about server.
func (ApiGetServerRequest) Execute ¶
func (r ApiGetServerRequest) Execute() (*Server, error)
type ApiGetSnapshotRequest ¶
type ApiGetSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetSnapshotRequest) Execute ¶
func (r ApiGetSnapshotRequest) Execute() (*Snapshot, error)
type ApiGetVolumePerformanceClassRequest ¶
type ApiGetVolumePerformanceClassRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVolumePerformanceClassRequest) Execute ¶
func (r ApiGetVolumePerformanceClassRequest) Execute() (*VolumePerformanceClass, error)
type ApiGetVolumeRequest ¶
type ApiGetVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVolumeRequest) Execute ¶
func (r ApiGetVolumeRequest) Execute() (*Volume, error)
type ApiListAffinityGroupsRequest ¶
type ApiListAffinityGroupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListAffinityGroupsRequest) Execute ¶
func (r ApiListAffinityGroupsRequest) Execute() (*AffinityGroupListResponse, error)
type ApiListAttachedVolumesRequest ¶
type ApiListAttachedVolumesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListAttachedVolumesRequest) Execute ¶
func (r ApiListAttachedVolumesRequest) Execute() (*VolumeAttachmentListResponse, error)
type ApiListAvailabilityZonesRequest ¶
type ApiListAvailabilityZonesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListAvailabilityZonesRequest) Execute ¶
func (r ApiListAvailabilityZonesRequest) Execute() (*AvailabilityZoneListResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*BackupListResponse, error)
func (ApiListBackupsRequest) LabelSelector ¶
func (r ApiListBackupsRequest) LabelSelector(labelSelector string) ApiListBackupsRequest
Filter resources by labels.
type ApiListImagesRequest ¶
type ApiListImagesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListImagesRequest) All ¶
func (r ApiListImagesRequest) All(all bool) ApiListImagesRequest
List all Images.
func (ApiListImagesRequest) Execute ¶
func (r ApiListImagesRequest) Execute() (*ImageListResponse, error)
func (ApiListImagesRequest) LabelSelector ¶
func (r ApiListImagesRequest) LabelSelector(labelSelector string) ApiListImagesRequest
Filter resources by labels.
type ApiListKeyPairsRequest ¶
type ApiListKeyPairsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListKeyPairsRequest) Execute ¶
func (r ApiListKeyPairsRequest) Execute() (*KeyPairListResponse, error)
func (ApiListKeyPairsRequest) LabelSelector ¶
func (r ApiListKeyPairsRequest) LabelSelector(labelSelector string) ApiListKeyPairsRequest
Filter resources by labels.
type ApiListMachineTypesRequest ¶
type ApiListMachineTypesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListMachineTypesRequest) Execute ¶
func (r ApiListMachineTypesRequest) Execute() (*MachineTypeListResponse, error)
func (ApiListMachineTypesRequest) Filter ¶
func (r ApiListMachineTypesRequest) Filter(filter string) ApiListMachineTypesRequest
Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details.
type ApiListNetworkAreaProjectsRequest ¶
type ApiListNetworkAreaProjectsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListNetworkAreaProjectsRequest) Execute ¶
func (r ApiListNetworkAreaProjectsRequest) Execute() (*ProjectListResponse, error)
type ApiListNetworkAreaRangesRequest ¶
type ApiListNetworkAreaRangesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListNetworkAreaRangesRequest) Execute ¶
func (r ApiListNetworkAreaRangesRequest) Execute() (*NetworkRangeListResponse, error)
type ApiListNetworkAreaRoutesRequest ¶
type ApiListNetworkAreaRoutesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListNetworkAreaRoutesRequest) Execute ¶
func (r ApiListNetworkAreaRoutesRequest) Execute() (*RouteListResponse, error)
func (ApiListNetworkAreaRoutesRequest) LabelSelector ¶
func (r ApiListNetworkAreaRoutesRequest) LabelSelector(labelSelector string) ApiListNetworkAreaRoutesRequest
Filter resources by labels.
type ApiListNetworkAreasRequest ¶
type ApiListNetworkAreasRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListNetworkAreasRequest) Execute ¶
func (r ApiListNetworkAreasRequest) Execute() (*NetworkAreaListResponse, error)
func (ApiListNetworkAreasRequest) LabelSelector ¶
func (r ApiListNetworkAreasRequest) LabelSelector(labelSelector string) ApiListNetworkAreasRequest
Filter resources by labels.
type ApiListNetworksRequest ¶
type ApiListNetworksRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListNetworksRequest) Execute ¶
func (r ApiListNetworksRequest) Execute() (*NetworkListResponse, error)
func (ApiListNetworksRequest) LabelSelector ¶
func (r ApiListNetworksRequest) LabelSelector(labelSelector string) ApiListNetworksRequest
Filter resources by labels.
type ApiListNicsRequest ¶
type ApiListNicsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListNicsRequest) Execute ¶
func (r ApiListNicsRequest) Execute() (*NICListResponse, error)
func (ApiListNicsRequest) LabelSelector ¶
func (r ApiListNicsRequest) LabelSelector(labelSelector string) ApiListNicsRequest
Filter resources by labels.
type ApiListProjectNICsRequest ¶
type ApiListProjectNICsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListProjectNICsRequest) Execute ¶
func (r ApiListProjectNICsRequest) Execute() (*NICListResponse, error)
func (ApiListProjectNICsRequest) LabelSelector ¶
func (r ApiListProjectNICsRequest) LabelSelector(labelSelector string) ApiListProjectNICsRequest
Filter resources by labels.
type ApiListPublicIPRangesRequest ¶
type ApiListPublicIPRangesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPublicIPRangesRequest) Execute ¶
func (r ApiListPublicIPRangesRequest) Execute() (*PublicNetworkListResponse, error)
type ApiListPublicIPsRequest ¶
type ApiListPublicIPsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPublicIPsRequest) Execute ¶
func (r ApiListPublicIPsRequest) Execute() (*PublicIpListResponse, error)
func (ApiListPublicIPsRequest) LabelSelector ¶
func (r ApiListPublicIPsRequest) LabelSelector(labelSelector string) ApiListPublicIPsRequest
Filter resources by labels.
type ApiListQuotasRequest ¶
type ApiListQuotasRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListQuotasRequest) Execute ¶
func (r ApiListQuotasRequest) Execute() (*QuotaListResponse, error)
type ApiListSecurityGroupRulesRequest ¶
type ApiListSecurityGroupRulesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListSecurityGroupRulesRequest) Execute ¶
func (r ApiListSecurityGroupRulesRequest) Execute() (*SecurityGroupRuleListResponse, error)
type ApiListSecurityGroupsRequest ¶
type ApiListSecurityGroupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListSecurityGroupsRequest) Execute ¶
func (r ApiListSecurityGroupsRequest) Execute() (*SecurityGroupListResponse, error)
func (ApiListSecurityGroupsRequest) LabelSelector ¶
func (r ApiListSecurityGroupsRequest) LabelSelector(labelSelector string) ApiListSecurityGroupsRequest
Filter resources by labels.
type ApiListServerNicsRequest ¶
type ApiListServerNicsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListServerNicsRequest) Execute ¶
func (r ApiListServerNicsRequest) Execute() (*NICListResponse, error)
type ApiListServerServiceAccountsRequest ¶
type ApiListServerServiceAccountsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListServerServiceAccountsRequest) Execute ¶
func (r ApiListServerServiceAccountsRequest) Execute() (*ServiceAccountMailListResponse, error)
type ApiListServersRequest ¶
type ApiListServersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListServersRequest) Details ¶
func (r ApiListServersRequest) Details(details bool) ApiListServersRequest
Show detailed information about server.
func (ApiListServersRequest) Execute ¶
func (r ApiListServersRequest) Execute() (*ServerListResponse, error)
func (ApiListServersRequest) LabelSelector ¶
func (r ApiListServersRequest) LabelSelector(labelSelector string) ApiListServersRequest
Filter resources by labels.
type ApiListSnapshotsRequest ¶
type ApiListSnapshotsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListSnapshotsRequest) Execute ¶
func (r ApiListSnapshotsRequest) Execute() (*SnapshotListResponse, error)
func (ApiListSnapshotsRequest) LabelSelector ¶
func (r ApiListSnapshotsRequest) LabelSelector(labelSelector string) ApiListSnapshotsRequest
Filter resources by labels.
type ApiListVolumePerformanceClassesRequest ¶
type ApiListVolumePerformanceClassesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListVolumePerformanceClassesRequest) Execute ¶
func (r ApiListVolumePerformanceClassesRequest) Execute() (*VolumePerformanceClassListResponse, error)
func (ApiListVolumePerformanceClassesRequest) LabelSelector ¶
func (r ApiListVolumePerformanceClassesRequest) LabelSelector(labelSelector string) ApiListVolumePerformanceClassesRequest
Filter resources by labels.
type ApiListVolumesRequest ¶
type ApiListVolumesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListVolumesRequest) Execute ¶
func (r ApiListVolumesRequest) Execute() (*VolumeListResponse, error)
func (ApiListVolumesRequest) LabelSelector ¶
func (r ApiListVolumesRequest) LabelSelector(labelSelector string) ApiListVolumesRequest
Filter resources by labels.
type ApiPartialUpdateNetworkAreaRequest ¶
type ApiPartialUpdateNetworkAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateNetworkAreaRequest) Execute ¶
func (r ApiPartialUpdateNetworkAreaRequest) Execute() (*NetworkArea, error)
func (ApiPartialUpdateNetworkAreaRequest) PartialUpdateNetworkAreaPayload ¶
func (r ApiPartialUpdateNetworkAreaRequest) PartialUpdateNetworkAreaPayload(partialUpdateNetworkAreaPayload PartialUpdateNetworkAreaPayload) ApiPartialUpdateNetworkAreaRequest
Request to update an area.
type ApiPartialUpdateNetworkRequest ¶
type ApiPartialUpdateNetworkRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateNetworkRequest) Execute ¶
func (r ApiPartialUpdateNetworkRequest) Execute() error
func (ApiPartialUpdateNetworkRequest) PartialUpdateNetworkPayload ¶
func (r ApiPartialUpdateNetworkRequest) PartialUpdateNetworkPayload(partialUpdateNetworkPayload PartialUpdateNetworkPayload) ApiPartialUpdateNetworkRequest
Request an update of a network.
type ApiRebootServerRequest ¶
type ApiRebootServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRebootServerRequest) Action ¶
func (r ApiRebootServerRequest) Action(action string) ApiRebootServerRequest
Defines if it is a soft or a hard reboot.
func (ApiRebootServerRequest) Execute ¶
func (r ApiRebootServerRequest) Execute() error
type ApiRemoveNetworkFromServerRequest ¶
type ApiRemoveNetworkFromServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveNetworkFromServerRequest) Execute ¶
func (r ApiRemoveNetworkFromServerRequest) Execute() error
type ApiRemoveNicFromServerRequest ¶
type ApiRemoveNicFromServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveNicFromServerRequest) Execute ¶
func (r ApiRemoveNicFromServerRequest) Execute() error
type ApiRemovePublicIpFromServerRequest ¶
type ApiRemovePublicIpFromServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemovePublicIpFromServerRequest) Execute ¶
func (r ApiRemovePublicIpFromServerRequest) Execute() error
type ApiRemoveSecurityGroupFromServerRequest ¶
type ApiRemoveSecurityGroupFromServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveSecurityGroupFromServerRequest) Execute ¶
func (r ApiRemoveSecurityGroupFromServerRequest) Execute() error
type ApiRemoveServiceAccountFromServerRequest ¶
type ApiRemoveServiceAccountFromServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveServiceAccountFromServerRequest) Execute ¶
func (r ApiRemoveServiceAccountFromServerRequest) Execute() (*ServiceAccountMailListResponse, error)
type ApiRemoveVolumeFromServerRequest ¶
type ApiRemoveVolumeFromServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveVolumeFromServerRequest) Execute ¶
func (r ApiRemoveVolumeFromServerRequest) Execute() error
type ApiRescueServerRequest ¶
type ApiRescueServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRescueServerRequest) Execute ¶
func (r ApiRescueServerRequest) Execute() error
func (ApiRescueServerRequest) RescueServerPayload ¶
func (r ApiRescueServerRequest) RescueServerPayload(rescueServerPayload RescueServerPayload) ApiRescueServerRequest
Request a server rescue.
type ApiResizeServerRequest ¶
type ApiResizeServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiResizeServerRequest) Execute ¶
func (r ApiResizeServerRequest) Execute() error
func (ApiResizeServerRequest) ResizeServerPayload ¶
func (r ApiResizeServerRequest) ResizeServerPayload(resizeServerPayload ResizeServerPayload) ApiResizeServerRequest
Request a resize of a server.
type ApiResizeVolumeRequest ¶
type ApiResizeVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiResizeVolumeRequest) Execute ¶
func (r ApiResizeVolumeRequest) Execute() error
func (ApiResizeVolumeRequest) ResizeVolumePayload ¶
func (r ApiResizeVolumeRequest) ResizeVolumePayload(resizeVolumePayload ResizeVolumePayload) ApiResizeVolumeRequest
Request a volume resize.
type ApiRestoreBackupRequest ¶
type ApiRestoreBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRestoreBackupRequest) Execute ¶
func (r ApiRestoreBackupRequest) Execute() error
type ApiSetImageShareRequest ¶
type ApiSetImageShareRequest struct {
// contains filtered or unexported fields
}
func (ApiSetImageShareRequest) Execute ¶
func (r ApiSetImageShareRequest) Execute() (*ImageShare, error)
func (ApiSetImageShareRequest) SetImageSharePayload ¶
func (r ApiSetImageShareRequest) SetImageSharePayload(setImageSharePayload SetImageSharePayload) ApiSetImageShareRequest
Settings for an Image Share.
type ApiStartServerRequest ¶
type ApiStartServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiStartServerRequest) Execute ¶
func (r ApiStartServerRequest) Execute() error
type ApiStopServerRequest ¶
type ApiStopServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiStopServerRequest) Execute ¶
func (r ApiStopServerRequest) Execute() error
type ApiUnrescueServerRequest ¶
type ApiUnrescueServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUnrescueServerRequest) Execute ¶
func (r ApiUnrescueServerRequest) Execute() error
type ApiUpdateAttachedVolumeRequest ¶
type ApiUpdateAttachedVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateAttachedVolumeRequest) Execute ¶
func (r ApiUpdateAttachedVolumeRequest) Execute() (*VolumeAttachment, error)
func (ApiUpdateAttachedVolumeRequest) UpdateAttachedVolumePayload ¶
func (r ApiUpdateAttachedVolumeRequest) UpdateAttachedVolumePayload(updateAttachedVolumePayload UpdateAttachedVolumePayload) ApiUpdateAttachedVolumeRequest
Request a volume attachment update.
type ApiUpdateBackupRequest ¶
type ApiUpdateBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateBackupRequest) Execute ¶
func (r ApiUpdateBackupRequest) Execute() (*Backup, error)
func (ApiUpdateBackupRequest) UpdateBackupPayload ¶
func (r ApiUpdateBackupRequest) UpdateBackupPayload(updateBackupPayload UpdateBackupPayload) ApiUpdateBackupRequest
Request an update of a backup.
type ApiUpdateImageRequest ¶
type ApiUpdateImageRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateImageRequest) Execute ¶
func (r ApiUpdateImageRequest) Execute() (*Image, error)
func (ApiUpdateImageRequest) UpdateImagePayload ¶
func (r ApiUpdateImageRequest) UpdateImagePayload(updateImagePayload UpdateImagePayload) ApiUpdateImageRequest
Request an update of an Image.
type ApiUpdateImageScopeLocalRequest ¶
type ApiUpdateImageScopeLocalRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateImageScopeLocalRequest) Execute ¶
func (r ApiUpdateImageScopeLocalRequest) Execute() (*Image, error)
type ApiUpdateImageScopePublicRequest ¶
type ApiUpdateImageScopePublicRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateImageScopePublicRequest) Execute ¶
func (r ApiUpdateImageScopePublicRequest) Execute() (*Image, error)
type ApiUpdateImageShareRequest ¶
type ApiUpdateImageShareRequest struct {
// contains filtered or unexported fields
}
func (ApiUpdateImageShareRequest) Execute ¶
func (r ApiUpdateImageShareRequest) Execute() (*ImageShare, error)
func (ApiUpdateImageShareRequest) UpdateImageSharePayload ¶
func (r ApiUpdateImageShareRequest) UpdateImageSharePayload(updateImageSharePayload UpdateImageSharePayload) ApiUpdateImageShareRequest
Update an Image Share.
type ApiUpdateKeyPairRequest ¶
type ApiUpdateKeyPairRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateKeyPairRequest) Execute ¶
func (r ApiUpdateKeyPairRequest) Execute() (*Keypair, error)
func (ApiUpdateKeyPairRequest) UpdateKeyPairPayload ¶
func (r ApiUpdateKeyPairRequest) UpdateKeyPairPayload(updateKeyPairPayload UpdateKeyPairPayload) ApiUpdateKeyPairRequest
Request an update of an SSH keypair.
type ApiUpdateNetworkAreaRouteRequest ¶
type ApiUpdateNetworkAreaRouteRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateNetworkAreaRouteRequest) Execute ¶
func (r ApiUpdateNetworkAreaRouteRequest) Execute() (*Route, error)
func (ApiUpdateNetworkAreaRouteRequest) UpdateNetworkAreaRoutePayload ¶
func (r ApiUpdateNetworkAreaRouteRequest) UpdateNetworkAreaRoutePayload(updateNetworkAreaRoutePayload UpdateNetworkAreaRoutePayload) ApiUpdateNetworkAreaRouteRequest
Request an update of a network route.
type ApiUpdateNicRequest ¶
type ApiUpdateNicRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateNicRequest) Execute ¶
func (r ApiUpdateNicRequest) Execute() (*NIC, error)
func (ApiUpdateNicRequest) UpdateNicPayload ¶
func (r ApiUpdateNicRequest) UpdateNicPayload(updateNicPayload UpdateNicPayload) ApiUpdateNicRequest
Request an update of a network interface.
type ApiUpdatePublicIPRequest ¶
type ApiUpdatePublicIPRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdatePublicIPRequest) Execute ¶
func (r ApiUpdatePublicIPRequest) Execute() (*PublicIp, error)
func (ApiUpdatePublicIPRequest) UpdatePublicIPPayload ¶
func (r ApiUpdatePublicIPRequest) UpdatePublicIPPayload(updatePublicIPPayload UpdatePublicIPPayload) ApiUpdatePublicIPRequest
Request an update of a public IP.
type ApiUpdateSecurityGroupRequest ¶
type ApiUpdateSecurityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateSecurityGroupRequest) Execute ¶
func (r ApiUpdateSecurityGroupRequest) Execute() (*SecurityGroup, error)
func (ApiUpdateSecurityGroupRequest) UpdateSecurityGroupPayload ¶
func (r ApiUpdateSecurityGroupRequest) UpdateSecurityGroupPayload(updateSecurityGroupPayload UpdateSecurityGroupPayload) ApiUpdateSecurityGroupRequest
Request an update of a security group.
type ApiUpdateServerRequest ¶
type ApiUpdateServerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateServerRequest) Execute ¶
func (r ApiUpdateServerRequest) Execute() (*Server, error)
func (ApiUpdateServerRequest) UpdateServerPayload ¶
func (r ApiUpdateServerRequest) UpdateServerPayload(updateServerPayload UpdateServerPayload) ApiUpdateServerRequest
Request an update of a server.
type ApiUpdateSnapshotRequest ¶
type ApiUpdateSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateSnapshotRequest) Execute ¶
func (r ApiUpdateSnapshotRequest) Execute() (*Snapshot, error)
func (ApiUpdateSnapshotRequest) UpdateSnapshotPayload ¶
func (r ApiUpdateSnapshotRequest) UpdateSnapshotPayload(updateSnapshotPayload UpdateSnapshotPayload) ApiUpdateSnapshotRequest
Request an update of a snapshot.
type ApiUpdateVolumeRequest ¶
type ApiUpdateVolumeRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateVolumeRequest) Execute ¶
func (r ApiUpdateVolumeRequest) Execute() (*Volume, error)
func (ApiUpdateVolumeRequest) UpdateVolumePayload ¶
func (r ApiUpdateVolumeRequest) UpdateVolumePayload(updateVolumePayload UpdateVolumePayload) ApiUpdateVolumeRequest
Request an update of a volume.
type Area ¶
type Area struct {
// A list containing DNS Servers/Nameservers for IPv4.
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// A list of network ranges.
NetworkRanges []NetworkRange `json:"networkRanges,omitempty"`
// A list of routes.
Routes []Route `json:"routes,omitempty"`
// Classless Inter-Domain Routing (CIDR).
TransferNetwork *string `` /* 887-byte string literal not displayed */
}
Area The basic properties of a network area.
func NewArea ¶
func NewArea() *Area
NewArea instantiates a new Area 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 NewAreaWithDefaults ¶
func NewAreaWithDefaults() *Area
NewAreaWithDefaults instantiates a new Area 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 (*Area) GetDefaultNameservers ¶
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*Area) GetDefaultNameserversOk ¶
GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Area) GetNetworkRanges ¶
func (o *Area) GetNetworkRanges() []NetworkRange
GetNetworkRanges returns the NetworkRanges field value if set, zero value otherwise.
func (*Area) GetNetworkRangesOk ¶
func (o *Area) GetNetworkRangesOk() ([]NetworkRange, bool)
GetNetworkRangesOk returns a tuple with the NetworkRanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Area) GetRoutesOk ¶
GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Area) GetTransferNetwork ¶
GetTransferNetwork returns the TransferNetwork field value if set, zero value otherwise.
func (*Area) GetTransferNetworkOk ¶
GetTransferNetworkOk returns a tuple with the TransferNetwork field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Area) HasDefaultNameservers ¶
HasDefaultNameservers returns a boolean if a field has been set.
func (*Area) HasNetworkRanges ¶
HasNetworkRanges returns a boolean if a field has been set.
func (*Area) HasTransferNetwork ¶
HasTransferNetwork returns a boolean if a field has been set.
func (Area) MarshalJSON ¶
func (*Area) SetDefaultNameservers ¶
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*Area) SetNetworkRanges ¶
func (o *Area) SetNetworkRanges(v []NetworkRange)
SetNetworkRanges gets a reference to the given []NetworkRange and assigns it to the NetworkRanges field.
func (*Area) SetRoutes ¶
SetRoutes gets a reference to the given []Route and assigns it to the Routes field.
func (*Area) SetTransferNetwork ¶
SetTransferNetwork gets a reference to the given string and assigns it to the TransferNetwork field.
type AreaConfig ¶
type AreaConfig struct {
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// A list of network ranges.
NetworkRanges []NetworkRange `json:"networkRanges"`
// A list of routes.
Routes []Route `json:"routes,omitempty"`
// Classless Inter-Domain Routing (CIDR).
TransferNetwork string `` /* 877-byte string literal not displayed */
}
AreaConfig The basic network area object.
func NewAreaConfig ¶
func NewAreaConfig(networkRanges []NetworkRange, transferNetwork string) *AreaConfig
NewAreaConfig instantiates a new AreaConfig 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 NewAreaConfigWithDefaults ¶
func NewAreaConfigWithDefaults() *AreaConfig
NewAreaConfigWithDefaults instantiates a new AreaConfig 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 (*AreaConfig) GetDefaultNameservers ¶
func (o *AreaConfig) GetDefaultNameservers() []string
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*AreaConfig) GetDefaultNameserversOk ¶
func (o *AreaConfig) GetDefaultNameserversOk() ([]string, bool)
GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AreaConfig) GetNetworkRanges ¶
func (o *AreaConfig) GetNetworkRanges() []NetworkRange
GetNetworkRanges returns the NetworkRanges field value
func (*AreaConfig) GetNetworkRangesOk ¶
func (o *AreaConfig) GetNetworkRangesOk() ([]NetworkRange, bool)
GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.
func (*AreaConfig) GetRoutes ¶
func (o *AreaConfig) GetRoutes() []Route
GetRoutes returns the Routes field value if set, zero value otherwise.
func (*AreaConfig) GetRoutesOk ¶
func (o *AreaConfig) GetRoutesOk() ([]Route, bool)
GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AreaConfig) GetTransferNetwork ¶
func (o *AreaConfig) GetTransferNetwork() string
GetTransferNetwork returns the TransferNetwork field value
func (*AreaConfig) GetTransferNetworkOk ¶
func (o *AreaConfig) GetTransferNetworkOk() (*string, bool)
GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.
func (*AreaConfig) HasDefaultNameservers ¶
func (o *AreaConfig) HasDefaultNameservers() bool
HasDefaultNameservers returns a boolean if a field has been set.
func (*AreaConfig) HasRoutes ¶
func (o *AreaConfig) HasRoutes() bool
HasRoutes returns a boolean if a field has been set.
func (AreaConfig) MarshalJSON ¶
func (o AreaConfig) MarshalJSON() ([]byte, error)
func (*AreaConfig) SetDefaultNameservers ¶
func (o *AreaConfig) SetDefaultNameservers(v []string)
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*AreaConfig) SetNetworkRanges ¶
func (o *AreaConfig) SetNetworkRanges(v []NetworkRange)
SetNetworkRanges sets field value
func (*AreaConfig) SetRoutes ¶
func (o *AreaConfig) SetRoutes(v []Route)
SetRoutes gets a reference to the given []Route and assigns it to the Routes field.
func (*AreaConfig) SetTransferNetwork ¶
func (o *AreaConfig) SetTransferNetwork(v string)
SetTransferNetwork sets field value
func (AreaConfig) ToMap ¶
func (o AreaConfig) ToMap() (map[string]interface{}, error)
func (*AreaConfig) UnmarshalJSON ¶
func (o *AreaConfig) UnmarshalJSON(data []byte) (err error)
type AreaId ¶
type AreaId struct {
StaticAreaID *StaticAreaID
String *string
}
AreaId - The identifier (ID) of an area.
func StaticAreaIDAsAreaId ¶
func StaticAreaIDAsAreaId(v *StaticAreaID) AreaId
StaticAreaIDAsAreaId is a convenience function that returns StaticAreaID wrapped in AreaId
func StringAsAreaId ¶
stringAsAreaId is a convenience function that returns string wrapped in AreaId
func (*AreaId) GetActualInstance ¶
func (obj *AreaId) GetActualInstance() interface{}
Get the actual instance
func (AreaId) GetActualInstanceValue ¶
func (obj AreaId) GetActualInstanceValue() interface{}
Get the actual instance value
func (AreaId) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*AreaId) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type AreaPrefixConfigIPv4 ¶
type AreaPrefixConfigIPv4 struct {
// The default prefix length for networks in the network area.
DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
// The maximal prefix length for networks in the network area.
MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
// The minimal prefix length for networks in the network area.
MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}
AreaPrefixConfigIPv4 The IPv4 prefix config for a network area.
func NewAreaPrefixConfigIPv4 ¶
func NewAreaPrefixConfigIPv4() *AreaPrefixConfigIPv4
NewAreaPrefixConfigIPv4 instantiates a new AreaPrefixConfigIPv4 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 NewAreaPrefixConfigIPv4WithDefaults ¶
func NewAreaPrefixConfigIPv4WithDefaults() *AreaPrefixConfigIPv4
NewAreaPrefixConfigIPv4WithDefaults instantiates a new AreaPrefixConfigIPv4 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 (*AreaPrefixConfigIPv4) GetDefaultPrefixLen ¶
func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLen() int32
GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.
func (*AreaPrefixConfigIPv4) GetDefaultPrefixLenOk ¶
func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLenOk() (*int32, bool)
GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AreaPrefixConfigIPv4) GetMaxPrefixLen ¶
func (o *AreaPrefixConfigIPv4) GetMaxPrefixLen() int32
GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.
func (*AreaPrefixConfigIPv4) GetMaxPrefixLenOk ¶
func (o *AreaPrefixConfigIPv4) GetMaxPrefixLenOk() (*int32, bool)
GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AreaPrefixConfigIPv4) GetMinPrefixLen ¶
func (o *AreaPrefixConfigIPv4) GetMinPrefixLen() int32
GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.
func (*AreaPrefixConfigIPv4) GetMinPrefixLenOk ¶
func (o *AreaPrefixConfigIPv4) GetMinPrefixLenOk() (*int32, bool)
GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AreaPrefixConfigIPv4) HasDefaultPrefixLen ¶
func (o *AreaPrefixConfigIPv4) HasDefaultPrefixLen() bool
HasDefaultPrefixLen returns a boolean if a field has been set.
func (*AreaPrefixConfigIPv4) HasMaxPrefixLen ¶
func (o *AreaPrefixConfigIPv4) HasMaxPrefixLen() bool
HasMaxPrefixLen returns a boolean if a field has been set.
func (*AreaPrefixConfigIPv4) HasMinPrefixLen ¶
func (o *AreaPrefixConfigIPv4) HasMinPrefixLen() bool
HasMinPrefixLen returns a boolean if a field has been set.
func (AreaPrefixConfigIPv4) MarshalJSON ¶
func (o AreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)
func (*AreaPrefixConfigIPv4) SetDefaultPrefixLen ¶
func (o *AreaPrefixConfigIPv4) SetDefaultPrefixLen(v int32)
SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.
func (*AreaPrefixConfigIPv4) SetMaxPrefixLen ¶
func (o *AreaPrefixConfigIPv4) SetMaxPrefixLen(v int32)
SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.
func (*AreaPrefixConfigIPv4) SetMinPrefixLen ¶
func (o *AreaPrefixConfigIPv4) SetMinPrefixLen(v int32)
SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.
func (AreaPrefixConfigIPv4) ToMap ¶
func (o AreaPrefixConfigIPv4) ToMap() (map[string]interface{}, error)
type AvailabilityZoneListResponse ¶
type AvailabilityZoneListResponse struct {
// A list of availability zones.
Items []string `json:"items"`
}
AvailabilityZoneListResponse Availability Zone list response.
func NewAvailabilityZoneListResponse ¶
func NewAvailabilityZoneListResponse(items []string) *AvailabilityZoneListResponse
NewAvailabilityZoneListResponse instantiates a new AvailabilityZoneListResponse 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 NewAvailabilityZoneListResponseWithDefaults ¶
func NewAvailabilityZoneListResponseWithDefaults() *AvailabilityZoneListResponse
NewAvailabilityZoneListResponseWithDefaults instantiates a new AvailabilityZoneListResponse 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 (*AvailabilityZoneListResponse) GetItems ¶
func (o *AvailabilityZoneListResponse) GetItems() []string
GetItems returns the Items field value
func (*AvailabilityZoneListResponse) GetItemsOk ¶
func (o *AvailabilityZoneListResponse) GetItemsOk() ([]string, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (AvailabilityZoneListResponse) MarshalJSON ¶
func (o AvailabilityZoneListResponse) MarshalJSON() ([]byte, error)
func (*AvailabilityZoneListResponse) SetItems ¶
func (o *AvailabilityZoneListResponse) SetItems(v []string)
SetItems sets field value
func (AvailabilityZoneListResponse) ToMap ¶
func (o AvailabilityZoneListResponse) ToMap() (map[string]interface{}, error)
func (*AvailabilityZoneListResponse) UnmarshalJSON ¶
func (o *AvailabilityZoneListResponse) UnmarshalJSON(data []byte) (err error)
type Backup ¶
type Backup struct {
// Object that represents an availability zone.
AvailabilityZone *string `json:"availabilityZone,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Indicates if a volume is encrypted.
Encrypted *bool `json:"encrypted,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
// Universally Unique Identifier (UUID).
SnapshotId *string `json:"snapshotId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The status of a backup object. Possible values: `AVAILABLE`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Universally Unique Identifier (UUID).
VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
Backup Object that represents a backup.
func NewBackup ¶
func NewBackup() *Backup
NewBackup instantiates a new Backup 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 NewBackupWithDefaults ¶
func NewBackupWithDefaults() *Backup
NewBackupWithDefaults instantiates a new Backup 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 (*Backup) GetAvailabilityZone ¶
GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.
func (*Backup) GetAvailabilityZoneOk ¶
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Backup) 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 (*Backup) GetEncrypted ¶
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*Backup) GetEncryptedOk ¶
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) 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 (*Backup) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) 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 (*Backup) 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 (*Backup) GetSnapshotId ¶
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*Backup) 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 (*Backup) 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 (*Backup) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Backup) 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 (*Backup) GetVolumeId ¶
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*Backup) GetVolumeIdOk ¶
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 (*Backup) HasAvailabilityZone ¶
HasAvailabilityZone returns a boolean if a field has been set.
func (*Backup) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Backup) HasEncrypted ¶
HasEncrypted returns a boolean if a field has been set.
func (*Backup) HasSnapshotId ¶
HasSnapshotId returns a boolean if a field has been set.
func (*Backup) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Backup) HasVolumeId ¶
HasVolumeId returns a boolean if a field has been set.
func (Backup) MarshalJSON ¶
func (*Backup) SetAvailabilityZone ¶
SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.
func (*Backup) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Backup) SetEncrypted ¶
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*Backup) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Backup) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Backup) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Backup) SetSnapshotId ¶
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (*Backup) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Backup) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Backup) SetVolumeId ¶
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
type BackupListResponse ¶
type BackupListResponse struct {
// A list containing backup objects.
Items []Backup `json:"items"`
}
BackupListResponse Backup list response.
func NewBackupListResponse ¶
func NewBackupListResponse(items []Backup) *BackupListResponse
NewBackupListResponse instantiates a new BackupListResponse 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 NewBackupListResponseWithDefaults ¶
func NewBackupListResponseWithDefaults() *BackupListResponse
NewBackupListResponseWithDefaults instantiates a new BackupListResponse 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 (*BackupListResponse) GetItems ¶
func (o *BackupListResponse) GetItems() []Backup
GetItems returns the Items field value
func (*BackupListResponse) GetItemsOk ¶
func (o *BackupListResponse) GetItemsOk() ([]Backup, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (BackupListResponse) MarshalJSON ¶
func (o BackupListResponse) MarshalJSON() ([]byte, error)
func (*BackupListResponse) SetItems ¶
func (o *BackupListResponse) SetItems(v []Backup)
SetItems sets field value
func (BackupListResponse) ToMap ¶
func (o BackupListResponse) ToMap() (map[string]interface{}, error)
func (*BackupListResponse) UnmarshalJSON ¶
func (o *BackupListResponse) UnmarshalJSON(data []byte) (err error)
type BackupSource ¶
type BackupSource struct {
// Universally Unique Identifier (UUID).
Id string `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The source types of a backup. Possible values: `volume`, `snapshot`.
Type string `json:"type"`
}
BackupSource The source object of a backup.
func NewBackupSource ¶
func NewBackupSource(id string, types string) *BackupSource
NewBackupSource instantiates a new BackupSource 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 NewBackupSourceWithDefaults ¶
func NewBackupSourceWithDefaults() *BackupSource
NewBackupSourceWithDefaults instantiates a new BackupSource 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 (*BackupSource) GetIdOk ¶
func (o *BackupSource) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BackupSource) GetType ¶
func (o *BackupSource) GetType() string
GetType returns the Type field value
func (*BackupSource) GetTypeOk ¶
func (o *BackupSource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (BackupSource) MarshalJSON ¶
func (o BackupSource) MarshalJSON() ([]byte, error)
func (BackupSource) ToMap ¶
func (o BackupSource) ToMap() (map[string]interface{}, error)
func (*BackupSource) UnmarshalJSON ¶
func (o *BackupSource) UnmarshalJSON(data []byte) (err error)
type BaseSecurityGroupRule ¶
type BaseSecurityGroupRule struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// The direction of the traffic which the rule should match. Possible values: `ingress`, `egress`.
Direction string `json:"direction"`
// The ethertype which the rule should match. Possible values: `IPv4`, `IPv6`.
Ethertype *string `json:"ethertype,omitempty"`
IcmpParameters *ICMPParameters `json:"icmpParameters,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The remote IP range which the rule should match.
IpRange *string `` /* 879-byte string literal not displayed */
PortRange *PortRange `json:"portRange,omitempty"`
// The remote security group which the rule should match.
RemoteSecurityGroupId *string `json:"remoteSecurityGroupId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
SecurityGroupId *string `json:"securityGroupId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
BaseSecurityGroupRule The base schema for a security group rule.
func NewBaseSecurityGroupRule ¶
func NewBaseSecurityGroupRule(direction string) *BaseSecurityGroupRule
NewBaseSecurityGroupRule instantiates a new BaseSecurityGroupRule 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 NewBaseSecurityGroupRuleWithDefaults ¶
func NewBaseSecurityGroupRuleWithDefaults() *BaseSecurityGroupRule
NewBaseSecurityGroupRuleWithDefaults instantiates a new BaseSecurityGroupRule 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 (*BaseSecurityGroupRule) GetCreatedAt ¶
func (o *BaseSecurityGroupRule) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetCreatedAtOk ¶
func (o *BaseSecurityGroupRule) GetCreatedAtOk() (*time.Time, 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 (*BaseSecurityGroupRule) GetDescription ¶
func (o *BaseSecurityGroupRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetDescriptionOk ¶
func (o *BaseSecurityGroupRule) 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 (*BaseSecurityGroupRule) GetDirection ¶
func (o *BaseSecurityGroupRule) GetDirection() string
GetDirection returns the Direction field value
func (*BaseSecurityGroupRule) GetDirectionOk ¶
func (o *BaseSecurityGroupRule) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value and a boolean to check if the value has been set.
func (*BaseSecurityGroupRule) GetEthertype ¶
func (o *BaseSecurityGroupRule) GetEthertype() string
GetEthertype returns the Ethertype field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetEthertypeOk ¶
func (o *BaseSecurityGroupRule) 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 (*BaseSecurityGroupRule) GetIcmpParameters ¶
func (o *BaseSecurityGroupRule) GetIcmpParameters() ICMPParameters
GetIcmpParameters returns the IcmpParameters field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetIcmpParametersOk ¶
func (o *BaseSecurityGroupRule) GetIcmpParametersOk() (*ICMPParameters, bool)
GetIcmpParametersOk returns a tuple with the IcmpParameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseSecurityGroupRule) GetId ¶
func (o *BaseSecurityGroupRule) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetIdOk ¶
func (o *BaseSecurityGroupRule) 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 (*BaseSecurityGroupRule) GetIpRange ¶
func (o *BaseSecurityGroupRule) GetIpRange() string
GetIpRange returns the IpRange field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetIpRangeOk ¶
func (o *BaseSecurityGroupRule) GetIpRangeOk() (*string, bool)
GetIpRangeOk returns a tuple with the IpRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseSecurityGroupRule) GetPortRange ¶
func (o *BaseSecurityGroupRule) GetPortRange() PortRange
GetPortRange returns the PortRange field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetPortRangeOk ¶
func (o *BaseSecurityGroupRule) GetPortRangeOk() (*PortRange, bool)
GetPortRangeOk returns a tuple with the PortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseSecurityGroupRule) GetRemoteSecurityGroupId ¶
func (o *BaseSecurityGroupRule) GetRemoteSecurityGroupId() string
GetRemoteSecurityGroupId returns the RemoteSecurityGroupId field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetRemoteSecurityGroupIdOk ¶
func (o *BaseSecurityGroupRule) GetRemoteSecurityGroupIdOk() (*string, bool)
GetRemoteSecurityGroupIdOk returns a tuple with the RemoteSecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseSecurityGroupRule) GetSecurityGroupId ¶
func (o *BaseSecurityGroupRule) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetSecurityGroupIdOk ¶
func (o *BaseSecurityGroupRule) 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 (*BaseSecurityGroupRule) GetUpdatedAt ¶
func (o *BaseSecurityGroupRule) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*BaseSecurityGroupRule) GetUpdatedAtOk ¶
func (o *BaseSecurityGroupRule) GetUpdatedAtOk() (*time.Time, 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 (*BaseSecurityGroupRule) HasCreatedAt ¶
func (o *BaseSecurityGroupRule) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasDescription ¶
func (o *BaseSecurityGroupRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasEthertype ¶
func (o *BaseSecurityGroupRule) HasEthertype() bool
HasEthertype returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasIcmpParameters ¶
func (o *BaseSecurityGroupRule) HasIcmpParameters() bool
HasIcmpParameters returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasId ¶
func (o *BaseSecurityGroupRule) HasId() bool
HasId returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasIpRange ¶
func (o *BaseSecurityGroupRule) HasIpRange() bool
HasIpRange returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasPortRange ¶
func (o *BaseSecurityGroupRule) HasPortRange() bool
HasPortRange returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasRemoteSecurityGroupId ¶
func (o *BaseSecurityGroupRule) HasRemoteSecurityGroupId() bool
HasRemoteSecurityGroupId returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasSecurityGroupId ¶
func (o *BaseSecurityGroupRule) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (*BaseSecurityGroupRule) HasUpdatedAt ¶
func (o *BaseSecurityGroupRule) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (BaseSecurityGroupRule) MarshalJSON ¶
func (o BaseSecurityGroupRule) MarshalJSON() ([]byte, error)
func (*BaseSecurityGroupRule) SetCreatedAt ¶
func (o *BaseSecurityGroupRule) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*BaseSecurityGroupRule) SetDescription ¶
func (o *BaseSecurityGroupRule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*BaseSecurityGroupRule) SetDirection ¶
func (o *BaseSecurityGroupRule) SetDirection(v string)
SetDirection sets field value
func (*BaseSecurityGroupRule) SetEthertype ¶
func (o *BaseSecurityGroupRule) SetEthertype(v string)
SetEthertype gets a reference to the given string and assigns it to the Ethertype field.
func (*BaseSecurityGroupRule) SetIcmpParameters ¶
func (o *BaseSecurityGroupRule) SetIcmpParameters(v ICMPParameters)
SetIcmpParameters gets a reference to the given ICMPParameters and assigns it to the IcmpParameters field.
func (*BaseSecurityGroupRule) SetId ¶
func (o *BaseSecurityGroupRule) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BaseSecurityGroupRule) SetIpRange ¶
func (o *BaseSecurityGroupRule) SetIpRange(v string)
SetIpRange gets a reference to the given string and assigns it to the IpRange field.
func (*BaseSecurityGroupRule) SetPortRange ¶
func (o *BaseSecurityGroupRule) SetPortRange(v PortRange)
SetPortRange gets a reference to the given PortRange and assigns it to the PortRange field.
func (*BaseSecurityGroupRule) SetRemoteSecurityGroupId ¶
func (o *BaseSecurityGroupRule) SetRemoteSecurityGroupId(v string)
SetRemoteSecurityGroupId gets a reference to the given string and assigns it to the RemoteSecurityGroupId field.
func (*BaseSecurityGroupRule) SetSecurityGroupId ¶
func (o *BaseSecurityGroupRule) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (*BaseSecurityGroupRule) SetUpdatedAt ¶
func (o *BaseSecurityGroupRule) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (BaseSecurityGroupRule) ToMap ¶
func (o BaseSecurityGroupRule) ToMap() (map[string]interface{}, error)
func (*BaseSecurityGroupRule) UnmarshalJSON ¶
func (o *BaseSecurityGroupRule) UnmarshalJSON(data []byte) (err error)
type BootVolume ¶
type BootVolume struct {
// Delete the volume during the termination of the server. Defaults to false.
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The name for a General Object. Matches Names and also UUIDs.
PerformanceClass *string `json:"performanceClass,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
Source *BootVolumeSource `json:"source,omitempty"`
}
BootVolume The boot device for the server.
func NewBootVolume ¶
func NewBootVolume() *BootVolume
NewBootVolume instantiates a new BootVolume 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 NewBootVolumeWithDefaults ¶
func NewBootVolumeWithDefaults() *BootVolume
NewBootVolumeWithDefaults instantiates a new BootVolume 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 (*BootVolume) GetDeleteOnTermination ¶
func (o *BootVolume) GetDeleteOnTermination() bool
GetDeleteOnTermination returns the DeleteOnTermination field value if set, zero value otherwise.
func (*BootVolume) GetDeleteOnTerminationOk ¶
func (o *BootVolume) GetDeleteOnTerminationOk() (*bool, bool)
GetDeleteOnTerminationOk returns a tuple with the DeleteOnTermination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BootVolume) GetId ¶
func (o *BootVolume) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BootVolume) GetIdOk ¶
func (o *BootVolume) 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 (*BootVolume) GetPerformanceClass ¶
func (o *BootVolume) GetPerformanceClass() string
GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.
func (*BootVolume) GetPerformanceClassOk ¶
func (o *BootVolume) GetPerformanceClassOk() (*string, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BootVolume) GetSize ¶
func (o *BootVolume) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*BootVolume) GetSizeOk ¶
func (o *BootVolume) 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 (*BootVolume) GetSource ¶
func (o *BootVolume) GetSource() BootVolumeSource
GetSource returns the Source field value if set, zero value otherwise.
func (*BootVolume) GetSourceOk ¶
func (o *BootVolume) GetSourceOk() (*BootVolumeSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BootVolume) HasDeleteOnTermination ¶
func (o *BootVolume) HasDeleteOnTermination() bool
HasDeleteOnTermination returns a boolean if a field has been set.
func (*BootVolume) HasId ¶
func (o *BootVolume) HasId() bool
HasId returns a boolean if a field has been set.
func (*BootVolume) HasPerformanceClass ¶
func (o *BootVolume) HasPerformanceClass() bool
HasPerformanceClass returns a boolean if a field has been set.
func (*BootVolume) HasSize ¶
func (o *BootVolume) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*BootVolume) HasSource ¶
func (o *BootVolume) HasSource() bool
HasSource returns a boolean if a field has been set.
func (BootVolume) MarshalJSON ¶
func (o BootVolume) MarshalJSON() ([]byte, error)
func (*BootVolume) SetDeleteOnTermination ¶
func (o *BootVolume) SetDeleteOnTermination(v bool)
SetDeleteOnTermination gets a reference to the given bool and assigns it to the DeleteOnTermination field.
func (*BootVolume) SetId ¶
func (o *BootVolume) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BootVolume) SetPerformanceClass ¶
func (o *BootVolume) SetPerformanceClass(v string)
SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.
func (*BootVolume) SetSize ¶
func (o *BootVolume) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*BootVolume) SetSource ¶
func (o *BootVolume) SetSource(v BootVolumeSource)
SetSource gets a reference to the given BootVolumeSource and assigns it to the Source field.
func (BootVolume) ToMap ¶
func (o BootVolume) ToMap() (map[string]interface{}, error)
type BootVolumeSource ¶
type BootVolumeSource struct {
// Universally Unique Identifier (UUID).
Id string `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The source types of a boot volume. Possible values: `image`, `volume`.
Type string `json:"type"`
}
BootVolumeSource The source object of a boot volume.
func NewBootVolumeSource ¶
func NewBootVolumeSource(id string, types string) *BootVolumeSource
NewBootVolumeSource instantiates a new BootVolumeSource 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 NewBootVolumeSourceWithDefaults ¶
func NewBootVolumeSourceWithDefaults() *BootVolumeSource
NewBootVolumeSourceWithDefaults instantiates a new BootVolumeSource 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 (*BootVolumeSource) GetId ¶
func (o *BootVolumeSource) GetId() string
GetId returns the Id field value
func (*BootVolumeSource) GetIdOk ¶
func (o *BootVolumeSource) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BootVolumeSource) GetType ¶
func (o *BootVolumeSource) GetType() string
GetType returns the Type field value
func (*BootVolumeSource) GetTypeOk ¶
func (o *BootVolumeSource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (BootVolumeSource) MarshalJSON ¶
func (o BootVolumeSource) MarshalJSON() ([]byte, error)
func (*BootVolumeSource) SetType ¶
func (o *BootVolumeSource) SetType(v string)
SetType sets field value
func (BootVolumeSource) ToMap ¶
func (o BootVolumeSource) ToMap() (map[string]interface{}, error)
func (*BootVolumeSource) UnmarshalJSON ¶
func (o *BootVolumeSource) UnmarshalJSON(data []byte) (err error)
type CreateAffinityGroupPayload ¶
type CreateAffinityGroupPayload struct {
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The servers that are part of the affinity group.
Members []string `json:"members,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// The affinity group policy. `hard-affinity`: All servers in this group will be hosted on the same compute node. `soft-affinity`: All servers in this group will be hosted on as few compute nodes as possible. `hard-anti-affinity`: All servers in this group will be hosted on different compute nodes. `soft-anti-affinity`: All servers in this group will be hosted on as many compute nodes as possible. Possible values: `hard-anti-affinity`, `hard-affinity`, `soft-anti-affinity`, `soft-affinity`.
Policy string `json:"policy"`
}
CreateAffinityGroupPayload Definition of an affinity group.
func NewCreateAffinityGroupPayload ¶
func NewCreateAffinityGroupPayload(name string, policy string) *CreateAffinityGroupPayload
NewCreateAffinityGroupPayload instantiates a new CreateAffinityGroupPayload 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 NewCreateAffinityGroupPayloadWithDefaults ¶
func NewCreateAffinityGroupPayloadWithDefaults() *CreateAffinityGroupPayload
NewCreateAffinityGroupPayloadWithDefaults instantiates a new CreateAffinityGroupPayload 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 (*CreateAffinityGroupPayload) GetId ¶
func (o *CreateAffinityGroupPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateAffinityGroupPayload) GetIdOk ¶
func (o *CreateAffinityGroupPayload) 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 (*CreateAffinityGroupPayload) GetMembers ¶
func (o *CreateAffinityGroupPayload) GetMembers() []string
GetMembers returns the Members field value if set, zero value otherwise.
func (*CreateAffinityGroupPayload) GetMembersOk ¶
func (o *CreateAffinityGroupPayload) GetMembersOk() ([]string, bool)
GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAffinityGroupPayload) GetName ¶
func (o *CreateAffinityGroupPayload) GetName() string
GetName returns the Name field value
func (*CreateAffinityGroupPayload) GetNameOk ¶
func (o *CreateAffinityGroupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateAffinityGroupPayload) GetPolicy ¶
func (o *CreateAffinityGroupPayload) GetPolicy() string
GetPolicy returns the Policy field value
func (*CreateAffinityGroupPayload) GetPolicyOk ¶
func (o *CreateAffinityGroupPayload) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.
func (*CreateAffinityGroupPayload) HasId ¶
func (o *CreateAffinityGroupPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateAffinityGroupPayload) HasMembers ¶
func (o *CreateAffinityGroupPayload) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (CreateAffinityGroupPayload) MarshalJSON ¶
func (o CreateAffinityGroupPayload) MarshalJSON() ([]byte, error)
func (*CreateAffinityGroupPayload) SetId ¶
func (o *CreateAffinityGroupPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateAffinityGroupPayload) SetMembers ¶
func (o *CreateAffinityGroupPayload) SetMembers(v []string)
SetMembers gets a reference to the given []string and assigns it to the Members field.
func (*CreateAffinityGroupPayload) SetName ¶
func (o *CreateAffinityGroupPayload) SetName(v string)
SetName sets field value
func (*CreateAffinityGroupPayload) SetPolicy ¶
func (o *CreateAffinityGroupPayload) SetPolicy(v string)
SetPolicy sets field value
func (CreateAffinityGroupPayload) ToMap ¶
func (o CreateAffinityGroupPayload) ToMap() (map[string]interface{}, error)
func (*CreateAffinityGroupPayload) UnmarshalJSON ¶
func (o *CreateAffinityGroupPayload) UnmarshalJSON(data []byte) (err error)
type CreateAreaAddressFamily ¶
type CreateAreaAddressFamily struct {
Ipv4 *CreateAreaIPv4 `json:"ipv4,omitempty"`
}
CreateAreaAddressFamily The addressFamily object for a area create request.
func NewCreateAreaAddressFamily ¶
func NewCreateAreaAddressFamily() *CreateAreaAddressFamily
NewCreateAreaAddressFamily instantiates a new CreateAreaAddressFamily 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 NewCreateAreaAddressFamilyWithDefaults ¶
func NewCreateAreaAddressFamilyWithDefaults() *CreateAreaAddressFamily
NewCreateAreaAddressFamilyWithDefaults instantiates a new CreateAreaAddressFamily 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 (*CreateAreaAddressFamily) GetIpv4 ¶
func (o *CreateAreaAddressFamily) GetIpv4() CreateAreaIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateAreaAddressFamily) GetIpv4Ok ¶
func (o *CreateAreaAddressFamily) GetIpv4Ok() (*CreateAreaIPv4, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAreaAddressFamily) HasIpv4 ¶
func (o *CreateAreaAddressFamily) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (CreateAreaAddressFamily) MarshalJSON ¶
func (o CreateAreaAddressFamily) MarshalJSON() ([]byte, error)
func (*CreateAreaAddressFamily) SetIpv4 ¶
func (o *CreateAreaAddressFamily) SetIpv4(v CreateAreaIPv4)
SetIpv4 gets a reference to the given CreateAreaIPv4 and assigns it to the Ipv4 field.
func (CreateAreaAddressFamily) ToMap ¶
func (o CreateAreaAddressFamily) ToMap() (map[string]interface{}, error)
type CreateAreaIPv4 ¶
type CreateAreaIPv4 struct {
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// A list of network ranges.
NetworkRanges []NetworkRange `json:"networkRanges"`
// A list of routes.
Routes []Route `json:"routes,omitempty"`
// Classless Inter-Domain Routing (CIDR).
TransferNetwork string `` /* 877-byte string literal not displayed */
// The default prefix length for networks in the network area.
DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
// The maximal prefix length for networks in the network area.
MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
// The minimal prefix length for networks in the network area.
MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}
CreateAreaIPv4 The config object for a IPv4 network area.
func NewCreateAreaIPv4 ¶
func NewCreateAreaIPv4(networkRanges []NetworkRange, transferNetwork string) *CreateAreaIPv4
NewCreateAreaIPv4 instantiates a new CreateAreaIPv4 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 NewCreateAreaIPv4WithDefaults ¶
func NewCreateAreaIPv4WithDefaults() *CreateAreaIPv4
NewCreateAreaIPv4WithDefaults instantiates a new CreateAreaIPv4 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 (*CreateAreaIPv4) GetDefaultNameservers ¶
func (o *CreateAreaIPv4) GetDefaultNameservers() []string
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*CreateAreaIPv4) GetDefaultNameserversOk ¶
func (o *CreateAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAreaIPv4) GetDefaultPrefixLen ¶
func (o *CreateAreaIPv4) GetDefaultPrefixLen() int32
GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.
func (*CreateAreaIPv4) GetDefaultPrefixLenOk ¶
func (o *CreateAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)
GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAreaIPv4) GetMaxPrefixLen ¶
func (o *CreateAreaIPv4) GetMaxPrefixLen() int32
GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.
func (*CreateAreaIPv4) GetMaxPrefixLenOk ¶
func (o *CreateAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)
GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAreaIPv4) GetMinPrefixLen ¶
func (o *CreateAreaIPv4) GetMinPrefixLen() int32
GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.
func (*CreateAreaIPv4) GetMinPrefixLenOk ¶
func (o *CreateAreaIPv4) GetMinPrefixLenOk() (*int32, bool)
GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAreaIPv4) GetNetworkRanges ¶
func (o *CreateAreaIPv4) GetNetworkRanges() []NetworkRange
GetNetworkRanges returns the NetworkRanges field value
func (*CreateAreaIPv4) GetNetworkRangesOk ¶
func (o *CreateAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)
GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.
func (*CreateAreaIPv4) GetRoutes ¶
func (o *CreateAreaIPv4) GetRoutes() []Route
GetRoutes returns the Routes field value if set, zero value otherwise.
func (*CreateAreaIPv4) GetRoutesOk ¶
func (o *CreateAreaIPv4) GetRoutesOk() ([]Route, bool)
GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAreaIPv4) GetTransferNetwork ¶
func (o *CreateAreaIPv4) GetTransferNetwork() string
GetTransferNetwork returns the TransferNetwork field value
func (*CreateAreaIPv4) GetTransferNetworkOk ¶
func (o *CreateAreaIPv4) GetTransferNetworkOk() (*string, bool)
GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.
func (*CreateAreaIPv4) HasDefaultNameservers ¶
func (o *CreateAreaIPv4) HasDefaultNameservers() bool
HasDefaultNameservers returns a boolean if a field has been set.
func (*CreateAreaIPv4) HasDefaultPrefixLen ¶
func (o *CreateAreaIPv4) HasDefaultPrefixLen() bool
HasDefaultPrefixLen returns a boolean if a field has been set.
func (*CreateAreaIPv4) HasMaxPrefixLen ¶
func (o *CreateAreaIPv4) HasMaxPrefixLen() bool
HasMaxPrefixLen returns a boolean if a field has been set.
func (*CreateAreaIPv4) HasMinPrefixLen ¶
func (o *CreateAreaIPv4) HasMinPrefixLen() bool
HasMinPrefixLen returns a boolean if a field has been set.
func (*CreateAreaIPv4) HasRoutes ¶
func (o *CreateAreaIPv4) HasRoutes() bool
HasRoutes returns a boolean if a field has been set.
func (CreateAreaIPv4) MarshalJSON ¶
func (o CreateAreaIPv4) MarshalJSON() ([]byte, error)
func (*CreateAreaIPv4) SetDefaultNameservers ¶
func (o *CreateAreaIPv4) SetDefaultNameservers(v []string)
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*CreateAreaIPv4) SetDefaultPrefixLen ¶
func (o *CreateAreaIPv4) SetDefaultPrefixLen(v int32)
SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.
func (*CreateAreaIPv4) SetMaxPrefixLen ¶
func (o *CreateAreaIPv4) SetMaxPrefixLen(v int32)
SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.
func (*CreateAreaIPv4) SetMinPrefixLen ¶
func (o *CreateAreaIPv4) SetMinPrefixLen(v int32)
SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.
func (*CreateAreaIPv4) SetNetworkRanges ¶
func (o *CreateAreaIPv4) SetNetworkRanges(v []NetworkRange)
SetNetworkRanges sets field value
func (*CreateAreaIPv4) SetRoutes ¶
func (o *CreateAreaIPv4) SetRoutes(v []Route)
SetRoutes gets a reference to the given []Route and assigns it to the Routes field.
func (*CreateAreaIPv4) SetTransferNetwork ¶
func (o *CreateAreaIPv4) SetTransferNetwork(v string)
SetTransferNetwork sets field value
func (CreateAreaIPv4) ToMap ¶
func (o CreateAreaIPv4) ToMap() (map[string]interface{}, error)
func (*CreateAreaIPv4) UnmarshalJSON ¶
func (o *CreateAreaIPv4) UnmarshalJSON(data []byte) (err error)
type CreateBackupPayload ¶
type CreateBackupPayload struct {
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
Source BackupSource `json:"source"`
}
CreateBackupPayload Object that represents a backup create request body.
func NewCreateBackupPayload ¶
func NewCreateBackupPayload(source BackupSource) *CreateBackupPayload
NewCreateBackupPayload instantiates a new CreateBackupPayload 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 NewCreateBackupPayloadWithDefaults ¶
func NewCreateBackupPayloadWithDefaults() *CreateBackupPayload
NewCreateBackupPayloadWithDefaults instantiates a new CreateBackupPayload 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 (*CreateBackupPayload) GetLabels ¶
func (o *CreateBackupPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateBackupPayload) GetLabelsOk ¶
func (o *CreateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateBackupPayload) GetName ¶
func (o *CreateBackupPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateBackupPayload) GetNameOk ¶
func (o *CreateBackupPayload) 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 (*CreateBackupPayload) GetSource ¶
func (o *CreateBackupPayload) GetSource() BackupSource
GetSource returns the Source field value
func (*CreateBackupPayload) GetSourceOk ¶
func (o *CreateBackupPayload) GetSourceOk() (*BackupSource, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*CreateBackupPayload) HasLabels ¶
func (o *CreateBackupPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateBackupPayload) HasName ¶
func (o *CreateBackupPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateBackupPayload) MarshalJSON ¶
func (o CreateBackupPayload) MarshalJSON() ([]byte, error)
func (*CreateBackupPayload) SetLabels ¶
func (o *CreateBackupPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateBackupPayload) SetName ¶
func (o *CreateBackupPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateBackupPayload) SetSource ¶
func (o *CreateBackupPayload) SetSource(v BackupSource)
SetSource sets field value
func (CreateBackupPayload) ToMap ¶
func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)
func (*CreateBackupPayload) UnmarshalJSON ¶
func (o *CreateBackupPayload) UnmarshalJSON(data []byte) (err error)
type CreateImagePayload ¶
type CreateImagePayload struct {
Agent *ImageAgent `json:"agent,omitempty"`
Checksum *ImageChecksum `json:"checksum,omitempty"`
Config *ImageConfig `json:"config,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`.
DiskFormat string `json:"diskFormat"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Indicates Image Import Progress in percent.
ImportProgress *int64 `json:"importProgress,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Size in Gigabyte.
MinDiskSize *int64 `json:"minDiskSize,omitempty"`
// Size in Megabyte.
MinRam *int64 `json:"minRam,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
Owner *string `json:"owner,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// When true the image is prevented from being deleted.
Protected *bool `json:"protected,omitempty"`
// Scope of an Image. Possible values: `public`, `local`, `projects`, `organization`.
Scope *string `json:"scope,omitempty"`
// Size in bytes.
Size *int64 `json:"size,omitempty"`
// The status of an image object. Possible values: `AVAILABLE`, `CREATING`, `DEACTIVATED`, `DELETED`, `DELETING`, `ERROR`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
CreateImagePayload Object that represents an Image and its parameters. Used for Creating and returning (get/list).
func NewCreateImagePayload ¶
func NewCreateImagePayload(diskFormat string, name string) *CreateImagePayload
NewCreateImagePayload instantiates a new CreateImagePayload 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 NewCreateImagePayloadWithDefaults ¶
func NewCreateImagePayloadWithDefaults() *CreateImagePayload
NewCreateImagePayloadWithDefaults instantiates a new CreateImagePayload 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 (*CreateImagePayload) GetAgent ¶
func (o *CreateImagePayload) GetAgent() ImageAgent
GetAgent returns the Agent field value if set, zero value otherwise.
func (*CreateImagePayload) GetAgentOk ¶
func (o *CreateImagePayload) GetAgentOk() (*ImageAgent, bool)
GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetChecksum ¶
func (o *CreateImagePayload) GetChecksum() ImageChecksum
GetChecksum returns the Checksum field value if set, zero value otherwise.
func (*CreateImagePayload) GetChecksumOk ¶
func (o *CreateImagePayload) GetChecksumOk() (*ImageChecksum, bool)
GetChecksumOk returns a tuple with the Checksum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetConfig ¶
func (o *CreateImagePayload) GetConfig() ImageConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*CreateImagePayload) GetConfigOk ¶
func (o *CreateImagePayload) GetConfigOk() (*ImageConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetCreatedAt ¶
func (o *CreateImagePayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateImagePayload) GetCreatedAtOk ¶
func (o *CreateImagePayload) GetCreatedAtOk() (*time.Time, 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 (*CreateImagePayload) GetDiskFormat ¶
func (o *CreateImagePayload) GetDiskFormat() string
GetDiskFormat returns the DiskFormat field value
func (*CreateImagePayload) GetDiskFormatOk ¶
func (o *CreateImagePayload) GetDiskFormatOk() (*string, bool)
GetDiskFormatOk returns a tuple with the DiskFormat field value and a boolean to check if the value has been set.
func (*CreateImagePayload) GetId ¶
func (o *CreateImagePayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateImagePayload) GetIdOk ¶
func (o *CreateImagePayload) 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 (*CreateImagePayload) GetImportProgress ¶
func (o *CreateImagePayload) GetImportProgress() int64
GetImportProgress returns the ImportProgress field value if set, zero value otherwise.
func (*CreateImagePayload) GetImportProgressOk ¶
func (o *CreateImagePayload) GetImportProgressOk() (*int64, bool)
GetImportProgressOk returns a tuple with the ImportProgress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetLabels ¶
func (o *CreateImagePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateImagePayload) GetLabelsOk ¶
func (o *CreateImagePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetMinDiskSize ¶
func (o *CreateImagePayload) GetMinDiskSize() int64
GetMinDiskSize returns the MinDiskSize field value if set, zero value otherwise.
func (*CreateImagePayload) GetMinDiskSizeOk ¶
func (o *CreateImagePayload) GetMinDiskSizeOk() (*int64, bool)
GetMinDiskSizeOk returns a tuple with the MinDiskSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetMinRam ¶
func (o *CreateImagePayload) GetMinRam() int64
GetMinRam returns the MinRam field value if set, zero value otherwise.
func (*CreateImagePayload) GetMinRamOk ¶
func (o *CreateImagePayload) 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 (*CreateImagePayload) GetName ¶
func (o *CreateImagePayload) GetName() string
GetName returns the Name field value
func (*CreateImagePayload) GetNameOk ¶
func (o *CreateImagePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateImagePayload) GetOwner ¶
func (o *CreateImagePayload) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*CreateImagePayload) GetOwnerOk ¶
func (o *CreateImagePayload) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetProtected ¶
func (o *CreateImagePayload) GetProtected() bool
GetProtected returns the Protected field value if set, zero value otherwise.
func (*CreateImagePayload) GetProtectedOk ¶
func (o *CreateImagePayload) GetProtectedOk() (*bool, bool)
GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetScope ¶
func (o *CreateImagePayload) GetScope() string
GetScope returns the Scope field value if set, zero value otherwise.
func (*CreateImagePayload) GetScopeOk ¶
func (o *CreateImagePayload) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateImagePayload) GetSize ¶
func (o *CreateImagePayload) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*CreateImagePayload) GetSizeOk ¶
func (o *CreateImagePayload) 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 (*CreateImagePayload) GetStatus ¶
func (o *CreateImagePayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateImagePayload) GetStatusOk ¶
func (o *CreateImagePayload) 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 (*CreateImagePayload) GetUpdatedAt ¶
func (o *CreateImagePayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateImagePayload) GetUpdatedAtOk ¶
func (o *CreateImagePayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateImagePayload) HasAgent ¶
func (o *CreateImagePayload) HasAgent() bool
HasAgent returns a boolean if a field has been set.
func (*CreateImagePayload) HasChecksum ¶
func (o *CreateImagePayload) HasChecksum() bool
HasChecksum returns a boolean if a field has been set.
func (*CreateImagePayload) HasConfig ¶
func (o *CreateImagePayload) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*CreateImagePayload) HasCreatedAt ¶
func (o *CreateImagePayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateImagePayload) HasId ¶
func (o *CreateImagePayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateImagePayload) HasImportProgress ¶
func (o *CreateImagePayload) HasImportProgress() bool
HasImportProgress returns a boolean if a field has been set.
func (*CreateImagePayload) HasLabels ¶
func (o *CreateImagePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateImagePayload) HasMinDiskSize ¶
func (o *CreateImagePayload) HasMinDiskSize() bool
HasMinDiskSize returns a boolean if a field has been set.
func (*CreateImagePayload) HasMinRam ¶
func (o *CreateImagePayload) HasMinRam() bool
HasMinRam returns a boolean if a field has been set.
func (*CreateImagePayload) HasOwner ¶
func (o *CreateImagePayload) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (*CreateImagePayload) HasProtected ¶
func (o *CreateImagePayload) HasProtected() bool
HasProtected returns a boolean if a field has been set.
func (*CreateImagePayload) HasScope ¶
func (o *CreateImagePayload) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*CreateImagePayload) HasSize ¶
func (o *CreateImagePayload) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*CreateImagePayload) HasStatus ¶
func (o *CreateImagePayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CreateImagePayload) HasUpdatedAt ¶
func (o *CreateImagePayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CreateImagePayload) MarshalJSON ¶
func (o CreateImagePayload) MarshalJSON() ([]byte, error)
func (*CreateImagePayload) SetAgent ¶
func (o *CreateImagePayload) SetAgent(v ImageAgent)
SetAgent gets a reference to the given ImageAgent and assigns it to the Agent field.
func (*CreateImagePayload) SetChecksum ¶
func (o *CreateImagePayload) SetChecksum(v ImageChecksum)
SetChecksum gets a reference to the given ImageChecksum and assigns it to the Checksum field.
func (*CreateImagePayload) SetConfig ¶
func (o *CreateImagePayload) SetConfig(v ImageConfig)
SetConfig gets a reference to the given ImageConfig and assigns it to the Config field.
func (*CreateImagePayload) SetCreatedAt ¶
func (o *CreateImagePayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateImagePayload) SetDiskFormat ¶
func (o *CreateImagePayload) SetDiskFormat(v string)
SetDiskFormat sets field value
func (*CreateImagePayload) SetId ¶
func (o *CreateImagePayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateImagePayload) SetImportProgress ¶
func (o *CreateImagePayload) SetImportProgress(v int64)
SetImportProgress gets a reference to the given int64 and assigns it to the ImportProgress field.
func (*CreateImagePayload) SetLabels ¶
func (o *CreateImagePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateImagePayload) SetMinDiskSize ¶
func (o *CreateImagePayload) SetMinDiskSize(v int64)
SetMinDiskSize gets a reference to the given int64 and assigns it to the MinDiskSize field.
func (*CreateImagePayload) SetMinRam ¶
func (o *CreateImagePayload) SetMinRam(v int64)
SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.
func (*CreateImagePayload) SetName ¶
func (o *CreateImagePayload) SetName(v string)
SetName sets field value
func (*CreateImagePayload) SetOwner ¶
func (o *CreateImagePayload) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*CreateImagePayload) SetProtected ¶
func (o *CreateImagePayload) SetProtected(v bool)
SetProtected gets a reference to the given bool and assigns it to the Protected field.
func (*CreateImagePayload) SetScope ¶
func (o *CreateImagePayload) SetScope(v string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*CreateImagePayload) SetSize ¶
func (o *CreateImagePayload) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*CreateImagePayload) SetStatus ¶
func (o *CreateImagePayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CreateImagePayload) SetUpdatedAt ¶
func (o *CreateImagePayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (CreateImagePayload) ToMap ¶
func (o CreateImagePayload) ToMap() (map[string]interface{}, error)
func (*CreateImagePayload) UnmarshalJSON ¶
func (o *CreateImagePayload) UnmarshalJSON(data []byte) (err error)
type CreateKeyPairPayload ¶
type CreateKeyPairPayload struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Object that represents an SSH keypair MD5 fingerprint.
Fingerprint *string `json:"fingerprint,omitempty" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){15}([0-9A-Fa-f]{2})$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name of an SSH keypair. Allowed characters are letters [a-zA-Z], digits [0-9] and the following special characters: [@._-].
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9@._-]*$"`
// Object that represents a public SSH key.
PublicKey string `` /* 135-byte string literal not displayed */
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
CreateKeyPairPayload Object that represents the public key of an SSH keypair and its name.
func NewCreateKeyPairPayload ¶
func NewCreateKeyPairPayload(publicKey string) *CreateKeyPairPayload
NewCreateKeyPairPayload instantiates a new CreateKeyPairPayload 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 NewCreateKeyPairPayloadWithDefaults ¶
func NewCreateKeyPairPayloadWithDefaults() *CreateKeyPairPayload
NewCreateKeyPairPayloadWithDefaults instantiates a new CreateKeyPairPayload 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 (*CreateKeyPairPayload) GetCreatedAt ¶
func (o *CreateKeyPairPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateKeyPairPayload) GetCreatedAtOk ¶
func (o *CreateKeyPairPayload) GetCreatedAtOk() (*time.Time, 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 (*CreateKeyPairPayload) GetFingerprint ¶
func (o *CreateKeyPairPayload) GetFingerprint() string
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*CreateKeyPairPayload) GetFingerprintOk ¶
func (o *CreateKeyPairPayload) GetFingerprintOk() (*string, bool)
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 (*CreateKeyPairPayload) GetLabels ¶
func (o *CreateKeyPairPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateKeyPairPayload) GetLabelsOk ¶
func (o *CreateKeyPairPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKeyPairPayload) GetName ¶
func (o *CreateKeyPairPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateKeyPairPayload) GetNameOk ¶
func (o *CreateKeyPairPayload) 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 (*CreateKeyPairPayload) GetPublicKey ¶
func (o *CreateKeyPairPayload) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*CreateKeyPairPayload) GetPublicKeyOk ¶
func (o *CreateKeyPairPayload) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*CreateKeyPairPayload) GetUpdatedAt ¶
func (o *CreateKeyPairPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateKeyPairPayload) GetUpdatedAtOk ¶
func (o *CreateKeyPairPayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateKeyPairPayload) HasCreatedAt ¶
func (o *CreateKeyPairPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateKeyPairPayload) HasFingerprint ¶
func (o *CreateKeyPairPayload) HasFingerprint() bool
HasFingerprint returns a boolean if a field has been set.
func (*CreateKeyPairPayload) HasLabels ¶
func (o *CreateKeyPairPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateKeyPairPayload) HasName ¶
func (o *CreateKeyPairPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateKeyPairPayload) HasUpdatedAt ¶
func (o *CreateKeyPairPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CreateKeyPairPayload) MarshalJSON ¶
func (o CreateKeyPairPayload) MarshalJSON() ([]byte, error)
func (*CreateKeyPairPayload) SetCreatedAt ¶
func (o *CreateKeyPairPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateKeyPairPayload) SetFingerprint ¶
func (o *CreateKeyPairPayload) SetFingerprint(v string)
SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.
func (*CreateKeyPairPayload) SetLabels ¶
func (o *CreateKeyPairPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateKeyPairPayload) SetName ¶
func (o *CreateKeyPairPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateKeyPairPayload) SetPublicKey ¶
func (o *CreateKeyPairPayload) SetPublicKey(v string)
SetPublicKey sets field value
func (*CreateKeyPairPayload) SetUpdatedAt ¶
func (o *CreateKeyPairPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (CreateKeyPairPayload) ToMap ¶
func (o CreateKeyPairPayload) ToMap() (map[string]interface{}, error)
func (*CreateKeyPairPayload) UnmarshalJSON ¶
func (o *CreateKeyPairPayload) UnmarshalJSON(data []byte) (err error)
type CreateNetworkAddressFamily ¶
type CreateNetworkAddressFamily struct {
Ipv4 *CreateNetworkIPv4Body `json:"ipv4,omitempty"`
Ipv6 *CreateNetworkIPv6Body `json:"ipv6,omitempty"`
}
CreateNetworkAddressFamily The addressFamily object for a network create request.
func NewCreateNetworkAddressFamily ¶
func NewCreateNetworkAddressFamily() *CreateNetworkAddressFamily
NewCreateNetworkAddressFamily instantiates a new CreateNetworkAddressFamily 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 NewCreateNetworkAddressFamilyWithDefaults ¶
func NewCreateNetworkAddressFamilyWithDefaults() *CreateNetworkAddressFamily
NewCreateNetworkAddressFamilyWithDefaults instantiates a new CreateNetworkAddressFamily 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 (*CreateNetworkAddressFamily) GetIpv4 ¶
func (o *CreateNetworkAddressFamily) GetIpv4() CreateNetworkIPv4Body
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateNetworkAddressFamily) GetIpv4Ok ¶
func (o *CreateNetworkAddressFamily) GetIpv4Ok() (*CreateNetworkIPv4Body, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkAddressFamily) GetIpv6 ¶
func (o *CreateNetworkAddressFamily) GetIpv6() CreateNetworkIPv6Body
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*CreateNetworkAddressFamily) GetIpv6Ok ¶
func (o *CreateNetworkAddressFamily) GetIpv6Ok() (*CreateNetworkIPv6Body, bool)
GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkAddressFamily) HasIpv4 ¶
func (o *CreateNetworkAddressFamily) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*CreateNetworkAddressFamily) HasIpv6 ¶
func (o *CreateNetworkAddressFamily) HasIpv6() bool
HasIpv6 returns a boolean if a field has been set.
func (CreateNetworkAddressFamily) MarshalJSON ¶
func (o CreateNetworkAddressFamily) MarshalJSON() ([]byte, error)
func (*CreateNetworkAddressFamily) SetIpv4 ¶
func (o *CreateNetworkAddressFamily) SetIpv4(v CreateNetworkIPv4Body)
SetIpv4 gets a reference to the given CreateNetworkIPv4Body and assigns it to the Ipv4 field.
func (*CreateNetworkAddressFamily) SetIpv6 ¶
func (o *CreateNetworkAddressFamily) SetIpv6(v CreateNetworkIPv6Body)
SetIpv6 gets a reference to the given CreateNetworkIPv6Body and assigns it to the Ipv6 field.
func (CreateNetworkAddressFamily) ToMap ¶
func (o CreateNetworkAddressFamily) ToMap() (map[string]interface{}, error)
type CreateNetworkAreaPayload ¶
type CreateNetworkAreaPayload struct {
AddressFamily CreateAreaAddressFamily `json:"addressFamily"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}
CreateNetworkAreaPayload struct for CreateNetworkAreaPayload
func NewCreateNetworkAreaPayload ¶
func NewCreateNetworkAreaPayload(addressFamily CreateAreaAddressFamily, name string) *CreateNetworkAreaPayload
NewCreateNetworkAreaPayload instantiates a new CreateNetworkAreaPayload 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 NewCreateNetworkAreaPayloadWithDefaults ¶
func NewCreateNetworkAreaPayloadWithDefaults() *CreateNetworkAreaPayload
NewCreateNetworkAreaPayloadWithDefaults instantiates a new CreateNetworkAreaPayload 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 (*CreateNetworkAreaPayload) GetAddressFamily ¶
func (o *CreateNetworkAreaPayload) GetAddressFamily() CreateAreaAddressFamily
GetAddressFamily returns the AddressFamily field value
func (*CreateNetworkAreaPayload) GetAddressFamilyOk ¶
func (o *CreateNetworkAreaPayload) GetAddressFamilyOk() (*CreateAreaAddressFamily, bool)
GetAddressFamilyOk returns a tuple with the AddressFamily field value and a boolean to check if the value has been set.
func (*CreateNetworkAreaPayload) GetLabels ¶
func (o *CreateNetworkAreaPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateNetworkAreaPayload) GetLabelsOk ¶
func (o *CreateNetworkAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkAreaPayload) GetName ¶
func (o *CreateNetworkAreaPayload) GetName() string
GetName returns the Name field value
func (*CreateNetworkAreaPayload) GetNameOk ¶
func (o *CreateNetworkAreaPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateNetworkAreaPayload) HasLabels ¶
func (o *CreateNetworkAreaPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateNetworkAreaPayload) MarshalJSON ¶
func (o CreateNetworkAreaPayload) MarshalJSON() ([]byte, error)
func (*CreateNetworkAreaPayload) SetAddressFamily ¶
func (o *CreateNetworkAreaPayload) SetAddressFamily(v CreateAreaAddressFamily)
SetAddressFamily sets field value
func (*CreateNetworkAreaPayload) SetLabels ¶
func (o *CreateNetworkAreaPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateNetworkAreaPayload) SetName ¶
func (o *CreateNetworkAreaPayload) SetName(v string)
SetName sets field value
func (CreateNetworkAreaPayload) ToMap ¶
func (o CreateNetworkAreaPayload) ToMap() (map[string]interface{}, error)
func (*CreateNetworkAreaPayload) UnmarshalJSON ¶
func (o *CreateNetworkAreaPayload) UnmarshalJSON(data []byte) (err error)
type CreateNetworkAreaRangePayload ¶
type CreateNetworkAreaRangePayload struct {
// A list of network ranges.
Ipv4 []NetworkRange `json:"ipv4,omitempty"`
}
CreateNetworkAreaRangePayload struct for CreateNetworkAreaRangePayload
func NewCreateNetworkAreaRangePayload ¶
func NewCreateNetworkAreaRangePayload() *CreateNetworkAreaRangePayload
NewCreateNetworkAreaRangePayload instantiates a new CreateNetworkAreaRangePayload 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 NewCreateNetworkAreaRangePayloadWithDefaults ¶
func NewCreateNetworkAreaRangePayloadWithDefaults() *CreateNetworkAreaRangePayload
NewCreateNetworkAreaRangePayloadWithDefaults instantiates a new CreateNetworkAreaRangePayload 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 (*CreateNetworkAreaRangePayload) GetIpv4 ¶
func (o *CreateNetworkAreaRangePayload) GetIpv4() []NetworkRange
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateNetworkAreaRangePayload) GetIpv4Ok ¶
func (o *CreateNetworkAreaRangePayload) GetIpv4Ok() ([]NetworkRange, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkAreaRangePayload) HasIpv4 ¶
func (o *CreateNetworkAreaRangePayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (CreateNetworkAreaRangePayload) MarshalJSON ¶
func (o CreateNetworkAreaRangePayload) MarshalJSON() ([]byte, error)
func (*CreateNetworkAreaRangePayload) SetIpv4 ¶
func (o *CreateNetworkAreaRangePayload) SetIpv4(v []NetworkRange)
SetIpv4 gets a reference to the given []NetworkRange and assigns it to the Ipv4 field.
func (CreateNetworkAreaRangePayload) ToMap ¶
func (o CreateNetworkAreaRangePayload) ToMap() (map[string]interface{}, error)
type CreateNetworkAreaRoutePayload ¶
type CreateNetworkAreaRoutePayload struct {
// A list of routes.
Ipv4 []Route `json:"ipv4,omitempty"`
}
CreateNetworkAreaRoutePayload struct for CreateNetworkAreaRoutePayload
func NewCreateNetworkAreaRoutePayload ¶
func NewCreateNetworkAreaRoutePayload() *CreateNetworkAreaRoutePayload
NewCreateNetworkAreaRoutePayload instantiates a new CreateNetworkAreaRoutePayload 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 NewCreateNetworkAreaRoutePayloadWithDefaults ¶
func NewCreateNetworkAreaRoutePayloadWithDefaults() *CreateNetworkAreaRoutePayload
NewCreateNetworkAreaRoutePayloadWithDefaults instantiates a new CreateNetworkAreaRoutePayload 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 (*CreateNetworkAreaRoutePayload) GetIpv4 ¶
func (o *CreateNetworkAreaRoutePayload) GetIpv4() []Route
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateNetworkAreaRoutePayload) GetIpv4Ok ¶
func (o *CreateNetworkAreaRoutePayload) GetIpv4Ok() ([]Route, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkAreaRoutePayload) HasIpv4 ¶
func (o *CreateNetworkAreaRoutePayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (CreateNetworkAreaRoutePayload) MarshalJSON ¶
func (o CreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
func (*CreateNetworkAreaRoutePayload) SetIpv4 ¶
func (o *CreateNetworkAreaRoutePayload) SetIpv4(v []Route)
SetIpv4 gets a reference to the given []Route and assigns it to the Ipv4 field.
func (CreateNetworkAreaRoutePayload) ToMap ¶
func (o CreateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)
type CreateNetworkIPv4Body ¶
type CreateNetworkIPv4Body struct {
// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
Gateway NullableString `` /* 1386-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv4.
Nameservers []string `json:"nameservers,omitempty"`
// Classless Inter-Domain Routing (CIDR).
Prefix *string `` /* 878-byte string literal not displayed */
PrefixLength *int32 `json:"prefixLength,omitempty"`
}
CreateNetworkIPv4Body The config object for an IPv4 network.
func NewCreateNetworkIPv4Body ¶
func NewCreateNetworkIPv4Body() *CreateNetworkIPv4Body
NewCreateNetworkIPv4Body instantiates a new CreateNetworkIPv4Body 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 NewCreateNetworkIPv4BodyWithDefaults ¶
func NewCreateNetworkIPv4BodyWithDefaults() *CreateNetworkIPv4Body
NewCreateNetworkIPv4BodyWithDefaults instantiates a new CreateNetworkIPv4Body 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 (*CreateNetworkIPv4Body) GetGateway ¶
func (o *CreateNetworkIPv4Body) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateNetworkIPv4Body) GetGatewayOk ¶
func (o *CreateNetworkIPv4Body) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNetworkIPv4Body) GetNameservers ¶
func (o *CreateNetworkIPv4Body) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*CreateNetworkIPv4Body) GetNameserversOk ¶
func (o *CreateNetworkIPv4Body) GetNameserversOk() ([]string, bool)
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkIPv4Body) GetPrefix ¶
func (o *CreateNetworkIPv4Body) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*CreateNetworkIPv4Body) GetPrefixLength ¶
func (o *CreateNetworkIPv4Body) GetPrefixLength() int32
GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.
func (*CreateNetworkIPv4Body) GetPrefixLengthOk ¶
func (o *CreateNetworkIPv4Body) GetPrefixLengthOk() (*int32, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkIPv4Body) GetPrefixOk ¶
func (o *CreateNetworkIPv4Body) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkIPv4Body) HasGateway ¶
func (o *CreateNetworkIPv4Body) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*CreateNetworkIPv4Body) HasNameservers ¶
func (o *CreateNetworkIPv4Body) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (*CreateNetworkIPv4Body) HasPrefix ¶
func (o *CreateNetworkIPv4Body) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*CreateNetworkIPv4Body) HasPrefixLength ¶
func (o *CreateNetworkIPv4Body) HasPrefixLength() bool
HasPrefixLength returns a boolean if a field has been set.
func (CreateNetworkIPv4Body) MarshalJSON ¶
func (o CreateNetworkIPv4Body) MarshalJSON() ([]byte, error)
func (*CreateNetworkIPv4Body) SetGateway ¶
func (o *CreateNetworkIPv4Body) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*CreateNetworkIPv4Body) SetGatewayNil ¶
func (o *CreateNetworkIPv4Body) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*CreateNetworkIPv4Body) SetNameservers ¶
func (o *CreateNetworkIPv4Body) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*CreateNetworkIPv4Body) SetPrefix ¶
func (o *CreateNetworkIPv4Body) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*CreateNetworkIPv4Body) SetPrefixLength ¶
func (o *CreateNetworkIPv4Body) SetPrefixLength(v int32)
SetPrefixLength gets a reference to the given int32 and assigns it to the PrefixLength field.
func (CreateNetworkIPv4Body) ToMap ¶
func (o CreateNetworkIPv4Body) ToMap() (map[string]interface{}, error)
func (*CreateNetworkIPv4Body) UnsetGateway ¶
func (o *CreateNetworkIPv4Body) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type CreateNetworkIPv6Body ¶
type CreateNetworkIPv6Body struct {
// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
Gateway NullableString `` /* 1386-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv6.
Nameservers []string `json:"nameservers,omitempty"`
// Classless Inter-Domain Routing (CIDR) for IPv6.
Prefix *string `` /* 756-byte string literal not displayed */
PrefixLength *int32 `json:"prefixLength,omitempty"`
}
CreateNetworkIPv6Body The config object for an IPv6 network.
func NewCreateNetworkIPv6Body ¶
func NewCreateNetworkIPv6Body() *CreateNetworkIPv6Body
NewCreateNetworkIPv6Body instantiates a new CreateNetworkIPv6Body 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 NewCreateNetworkIPv6BodyWithDefaults ¶
func NewCreateNetworkIPv6BodyWithDefaults() *CreateNetworkIPv6Body
NewCreateNetworkIPv6BodyWithDefaults instantiates a new CreateNetworkIPv6Body 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 (*CreateNetworkIPv6Body) GetGateway ¶
func (o *CreateNetworkIPv6Body) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateNetworkIPv6Body) GetGatewayOk ¶
func (o *CreateNetworkIPv6Body) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNetworkIPv6Body) GetNameservers ¶
func (o *CreateNetworkIPv6Body) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*CreateNetworkIPv6Body) GetNameserversOk ¶
func (o *CreateNetworkIPv6Body) GetNameserversOk() ([]string, bool)
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkIPv6Body) GetPrefix ¶
func (o *CreateNetworkIPv6Body) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*CreateNetworkIPv6Body) GetPrefixLength ¶
func (o *CreateNetworkIPv6Body) GetPrefixLength() int32
GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.
func (*CreateNetworkIPv6Body) GetPrefixLengthOk ¶
func (o *CreateNetworkIPv6Body) GetPrefixLengthOk() (*int32, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkIPv6Body) GetPrefixOk ¶
func (o *CreateNetworkIPv6Body) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkIPv6Body) HasGateway ¶
func (o *CreateNetworkIPv6Body) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*CreateNetworkIPv6Body) HasNameservers ¶
func (o *CreateNetworkIPv6Body) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (*CreateNetworkIPv6Body) HasPrefix ¶
func (o *CreateNetworkIPv6Body) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*CreateNetworkIPv6Body) HasPrefixLength ¶
func (o *CreateNetworkIPv6Body) HasPrefixLength() bool
HasPrefixLength returns a boolean if a field has been set.
func (CreateNetworkIPv6Body) MarshalJSON ¶
func (o CreateNetworkIPv6Body) MarshalJSON() ([]byte, error)
func (*CreateNetworkIPv6Body) SetGateway ¶
func (o *CreateNetworkIPv6Body) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*CreateNetworkIPv6Body) SetGatewayNil ¶
func (o *CreateNetworkIPv6Body) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*CreateNetworkIPv6Body) SetNameservers ¶
func (o *CreateNetworkIPv6Body) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*CreateNetworkIPv6Body) SetPrefix ¶
func (o *CreateNetworkIPv6Body) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*CreateNetworkIPv6Body) SetPrefixLength ¶
func (o *CreateNetworkIPv6Body) SetPrefixLength(v int32)
SetPrefixLength gets a reference to the given int32 and assigns it to the PrefixLength field.
func (CreateNetworkIPv6Body) ToMap ¶
func (o CreateNetworkIPv6Body) ToMap() (map[string]interface{}, error)
func (*CreateNetworkIPv6Body) UnsetGateway ¶
func (o *CreateNetworkIPv6Body) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type CreateNetworkPayload ¶
type CreateNetworkPayload struct {
AddressFamily *CreateNetworkAddressFamily `json:"addressFamily,omitempty"`
// Enable or disable DHCP for a network.
Dhcp *bool `json:"dhcp,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Shows if the network is routed and therefore accessible from other networks.
Routed *bool `json:"routed,omitempty"`
}
CreateNetworkPayload Object that represents the request body for a network create.
func NewCreateNetworkPayload ¶
func NewCreateNetworkPayload(name string) *CreateNetworkPayload
NewCreateNetworkPayload instantiates a new CreateNetworkPayload 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 NewCreateNetworkPayloadWithDefaults ¶
func NewCreateNetworkPayloadWithDefaults() *CreateNetworkPayload
NewCreateNetworkPayloadWithDefaults instantiates a new CreateNetworkPayload 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 (*CreateNetworkPayload) GetAddressFamily ¶
func (o *CreateNetworkPayload) GetAddressFamily() CreateNetworkAddressFamily
GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetAddressFamilyOk ¶
func (o *CreateNetworkPayload) GetAddressFamilyOk() (*CreateNetworkAddressFamily, bool)
GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkPayload) GetDhcp ¶
func (o *CreateNetworkPayload) GetDhcp() bool
GetDhcp returns the Dhcp field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetDhcpOk ¶
func (o *CreateNetworkPayload) GetDhcpOk() (*bool, 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 (*CreateNetworkPayload) GetLabels ¶
func (o *CreateNetworkPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetLabelsOk ¶
func (o *CreateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkPayload) GetName ¶
func (o *CreateNetworkPayload) GetName() string
GetName returns the Name field value
func (*CreateNetworkPayload) GetNameOk ¶
func (o *CreateNetworkPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateNetworkPayload) GetRouted ¶
func (o *CreateNetworkPayload) GetRouted() bool
GetRouted returns the Routed field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetRoutedOk ¶
func (o *CreateNetworkPayload) GetRoutedOk() (*bool, bool)
GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkPayload) HasAddressFamily ¶
func (o *CreateNetworkPayload) HasAddressFamily() bool
HasAddressFamily returns a boolean if a field has been set.
func (*CreateNetworkPayload) HasDhcp ¶
func (o *CreateNetworkPayload) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*CreateNetworkPayload) HasLabels ¶
func (o *CreateNetworkPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateNetworkPayload) HasRouted ¶
func (o *CreateNetworkPayload) HasRouted() bool
HasRouted returns a boolean if a field has been set.
func (CreateNetworkPayload) MarshalJSON ¶
func (o CreateNetworkPayload) MarshalJSON() ([]byte, error)
func (*CreateNetworkPayload) SetAddressFamily ¶
func (o *CreateNetworkPayload) SetAddressFamily(v CreateNetworkAddressFamily)
SetAddressFamily gets a reference to the given CreateNetworkAddressFamily and assigns it to the AddressFamily field.
func (*CreateNetworkPayload) SetDhcp ¶
func (o *CreateNetworkPayload) SetDhcp(v bool)
SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.
func (*CreateNetworkPayload) SetLabels ¶
func (o *CreateNetworkPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateNetworkPayload) SetName ¶
func (o *CreateNetworkPayload) SetName(v string)
SetName sets field value
func (*CreateNetworkPayload) SetRouted ¶
func (o *CreateNetworkPayload) SetRouted(v bool)
SetRouted gets a reference to the given bool and assigns it to the Routed field.
func (CreateNetworkPayload) ToMap ¶
func (o CreateNetworkPayload) ToMap() (map[string]interface{}, error)
func (*CreateNetworkPayload) UnmarshalJSON ¶
func (o *CreateNetworkPayload) UnmarshalJSON(data []byte) (err error)
type CreateNicPayload ¶
type CreateNicPayload struct {
// A list of IPs or CIDR notations.
AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Universally Unique Identifier (UUID).
Device *string `json:"device,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents an IP address.
Ipv4 *string `` /* 1383-byte string literal not displayed */
// String that represents an IPv6 address.
Ipv6 *string `` /* 1254-byte string literal not displayed */
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Object that represents an MAC address.
Mac *string `json:"mac,omitempty" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
NetworkId *string `json:"networkId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// If this is set to false, then no security groups will apply to this network interface.
NicSecurity *bool `json:"nicSecurity,omitempty"`
// A list of UUIDs.
SecurityGroups []string `json:"securityGroups,omitempty"`
// Possible values: `ACTIVE`, `DOWN`.
Status *string `json:"status,omitempty"`
// Possible values: `server`, `metadata`, `gateway`, `none`.
Type *string `json:"type,omitempty"`
}
CreateNicPayload Object that represents a network interface.
func NewCreateNicPayload ¶
func NewCreateNicPayload() *CreateNicPayload
NewCreateNicPayload instantiates a new CreateNicPayload 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 NewCreateNicPayloadWithDefaults ¶
func NewCreateNicPayloadWithDefaults() *CreateNicPayload
NewCreateNicPayloadWithDefaults instantiates a new CreateNicPayload 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 (*CreateNicPayload) GetAllowedAddresses ¶
func (o *CreateNicPayload) GetAllowedAddresses() []AllowedAddressesInner
GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.
func (*CreateNicPayload) GetAllowedAddressesOk ¶
func (o *CreateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNicPayload) GetDescription ¶
func (o *CreateNicPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateNicPayload) GetDescriptionOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetDevice ¶
func (o *CreateNicPayload) GetDevice() string
GetDevice returns the Device field value if set, zero value otherwise.
func (*CreateNicPayload) GetDeviceOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetId ¶
func (o *CreateNicPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateNicPayload) GetIdOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetIpv4 ¶
func (o *CreateNicPayload) GetIpv4() string
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateNicPayload) GetIpv4Ok ¶
func (o *CreateNicPayload) GetIpv4Ok() (*string, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNicPayload) GetIpv6 ¶
func (o *CreateNicPayload) GetIpv6() string
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*CreateNicPayload) GetIpv6Ok ¶
func (o *CreateNicPayload) GetIpv6Ok() (*string, bool)
GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNicPayload) GetLabels ¶
func (o *CreateNicPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateNicPayload) GetLabelsOk ¶
func (o *CreateNicPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNicPayload) GetMac ¶
func (o *CreateNicPayload) GetMac() string
GetMac returns the Mac field value if set, zero value otherwise.
func (*CreateNicPayload) GetMacOk ¶
func (o *CreateNicPayload) GetMacOk() (*string, bool)
GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNicPayload) GetName ¶
func (o *CreateNicPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateNicPayload) GetNameOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetNetworkId ¶
func (o *CreateNicPayload) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*CreateNicPayload) GetNetworkIdOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetNicSecurity ¶
func (o *CreateNicPayload) GetNicSecurity() bool
GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.
func (*CreateNicPayload) GetNicSecurityOk ¶
func (o *CreateNicPayload) GetNicSecurityOk() (*bool, bool)
GetNicSecurityOk returns a tuple with the NicSecurity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNicPayload) GetSecurityGroups ¶
func (o *CreateNicPayload) GetSecurityGroups() []string
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*CreateNicPayload) GetSecurityGroupsOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetStatus ¶
func (o *CreateNicPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateNicPayload) GetStatusOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) GetType ¶
func (o *CreateNicPayload) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CreateNicPayload) GetTypeOk ¶
func (o *CreateNicPayload) 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 (*CreateNicPayload) HasAllowedAddresses ¶
func (o *CreateNicPayload) HasAllowedAddresses() bool
HasAllowedAddresses returns a boolean if a field has been set.
func (*CreateNicPayload) HasDescription ¶
func (o *CreateNicPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateNicPayload) HasDevice ¶
func (o *CreateNicPayload) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*CreateNicPayload) HasId ¶
func (o *CreateNicPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateNicPayload) HasIpv4 ¶
func (o *CreateNicPayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*CreateNicPayload) HasIpv6 ¶
func (o *CreateNicPayload) HasIpv6() bool
HasIpv6 returns a boolean if a field has been set.
func (*CreateNicPayload) HasLabels ¶
func (o *CreateNicPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateNicPayload) HasMac ¶
func (o *CreateNicPayload) HasMac() bool
HasMac returns a boolean if a field has been set.
func (*CreateNicPayload) HasName ¶
func (o *CreateNicPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateNicPayload) HasNetworkId ¶
func (o *CreateNicPayload) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (*CreateNicPayload) HasNicSecurity ¶
func (o *CreateNicPayload) HasNicSecurity() bool
HasNicSecurity returns a boolean if a field has been set.
func (*CreateNicPayload) HasSecurityGroups ¶
func (o *CreateNicPayload) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (*CreateNicPayload) HasStatus ¶
func (o *CreateNicPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CreateNicPayload) HasType ¶
func (o *CreateNicPayload) HasType() bool
HasType returns a boolean if a field has been set.
func (CreateNicPayload) MarshalJSON ¶
func (o CreateNicPayload) MarshalJSON() ([]byte, error)
func (*CreateNicPayload) SetAllowedAddresses ¶
func (o *CreateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)
SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.
func (*CreateNicPayload) SetDescription ¶
func (o *CreateNicPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateNicPayload) SetDevice ¶
func (o *CreateNicPayload) SetDevice(v string)
SetDevice gets a reference to the given string and assigns it to the Device field.
func (*CreateNicPayload) SetId ¶
func (o *CreateNicPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateNicPayload) SetIpv4 ¶
func (o *CreateNicPayload) SetIpv4(v string)
SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.
func (*CreateNicPayload) SetIpv6 ¶
func (o *CreateNicPayload) SetIpv6(v string)
SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.
func (*CreateNicPayload) SetLabels ¶
func (o *CreateNicPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateNicPayload) SetMac ¶
func (o *CreateNicPayload) SetMac(v string)
SetMac gets a reference to the given string and assigns it to the Mac field.
func (*CreateNicPayload) SetName ¶
func (o *CreateNicPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateNicPayload) SetNetworkId ¶
func (o *CreateNicPayload) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*CreateNicPayload) SetNicSecurity ¶
func (o *CreateNicPayload) SetNicSecurity(v bool)
SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.
func (*CreateNicPayload) SetSecurityGroups ¶
func (o *CreateNicPayload) SetSecurityGroups(v []string)
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (*CreateNicPayload) SetStatus ¶
func (o *CreateNicPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CreateNicPayload) SetType ¶
func (o *CreateNicPayload) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CreateNicPayload) ToMap ¶
func (o CreateNicPayload) ToMap() (map[string]interface{}, error)
type CreateProtocol ¶
CreateProtocol - The schema for a protocol when creating a security group rule.
func Int64AsCreateProtocol ¶
func Int64AsCreateProtocol(v *int64) CreateProtocol
int64AsCreateProtocol is a convenience function that returns int64 wrapped in CreateProtocol
func StringAsCreateProtocol ¶
func StringAsCreateProtocol(v *string) CreateProtocol
stringAsCreateProtocol is a convenience function that returns string wrapped in CreateProtocol
func (*CreateProtocol) GetActualInstance ¶
func (obj *CreateProtocol) GetActualInstance() interface{}
Get the actual instance
func (CreateProtocol) GetActualInstanceValue ¶
func (obj CreateProtocol) GetActualInstanceValue() interface{}
Get the actual instance value
func (CreateProtocol) MarshalJSON ¶
func (src CreateProtocol) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateProtocol) UnmarshalJSON ¶
func (dst *CreateProtocol) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreatePublicIPPayload ¶
type CreatePublicIPPayload struct {
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents an IP address.
Ip *string `` /* 1381-byte string literal not displayed */
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Associate the public IP with a network interface (ID).
NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
CreatePublicIPPayload Object that represents a public IP.
func NewCreatePublicIPPayload ¶
func NewCreatePublicIPPayload() *CreatePublicIPPayload
NewCreatePublicIPPayload instantiates a new CreatePublicIPPayload 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 NewCreatePublicIPPayloadWithDefaults ¶
func NewCreatePublicIPPayloadWithDefaults() *CreatePublicIPPayload
NewCreatePublicIPPayloadWithDefaults instantiates a new CreatePublicIPPayload 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 (*CreatePublicIPPayload) GetId ¶
func (o *CreatePublicIPPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreatePublicIPPayload) GetIdOk ¶
func (o *CreatePublicIPPayload) 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 (*CreatePublicIPPayload) GetIp ¶
func (o *CreatePublicIPPayload) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*CreatePublicIPPayload) GetIpOk ¶
func (o *CreatePublicIPPayload) 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 (*CreatePublicIPPayload) GetLabels ¶
func (o *CreatePublicIPPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreatePublicIPPayload) GetLabelsOk ¶
func (o *CreatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePublicIPPayload) GetNetworkInterface ¶
func (o *CreatePublicIPPayload) GetNetworkInterface() string
GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePublicIPPayload) GetNetworkInterfaceOk ¶
func (o *CreatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)
GetNetworkInterfaceOk returns a tuple with the NetworkInterface field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreatePublicIPPayload) HasId ¶
func (o *CreatePublicIPPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreatePublicIPPayload) HasIp ¶
func (o *CreatePublicIPPayload) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*CreatePublicIPPayload) HasLabels ¶
func (o *CreatePublicIPPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreatePublicIPPayload) HasNetworkInterface ¶
func (o *CreatePublicIPPayload) HasNetworkInterface() bool
HasNetworkInterface returns a boolean if a field has been set.
func (CreatePublicIPPayload) MarshalJSON ¶
func (o CreatePublicIPPayload) MarshalJSON() ([]byte, error)
func (*CreatePublicIPPayload) SetId ¶
func (o *CreatePublicIPPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreatePublicIPPayload) SetIp ¶
func (o *CreatePublicIPPayload) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*CreatePublicIPPayload) SetLabels ¶
func (o *CreatePublicIPPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreatePublicIPPayload) SetNetworkInterface ¶
func (o *CreatePublicIPPayload) SetNetworkInterface(v string)
SetNetworkInterface gets a reference to the given NullableString and assigns it to the NetworkInterface field.
func (*CreatePublicIPPayload) SetNetworkInterfaceNil ¶
func (o *CreatePublicIPPayload) SetNetworkInterfaceNil()
SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil
func (CreatePublicIPPayload) ToMap ¶
func (o CreatePublicIPPayload) ToMap() (map[string]interface{}, error)
func (*CreatePublicIPPayload) UnsetNetworkInterface ¶
func (o *CreatePublicIPPayload) UnsetNetworkInterface()
UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil
type CreateSecurityGroupPayload ¶
type CreateSecurityGroupPayload struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// A list containing security group rule objects.
Rules []SecurityGroupRule `json:"rules,omitempty"`
// Shows if a security group is stateful or stateless. You can only have one type of security groups per network interface/server.
Stateful *bool `json:"stateful,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
CreateSecurityGroupPayload Object that represents a security group.
func NewCreateSecurityGroupPayload ¶
func NewCreateSecurityGroupPayload(name string) *CreateSecurityGroupPayload
NewCreateSecurityGroupPayload instantiates a new CreateSecurityGroupPayload 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 NewCreateSecurityGroupPayloadWithDefaults ¶
func NewCreateSecurityGroupPayloadWithDefaults() *CreateSecurityGroupPayload
NewCreateSecurityGroupPayloadWithDefaults instantiates a new CreateSecurityGroupPayload 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 (*CreateSecurityGroupPayload) GetCreatedAt ¶
func (o *CreateSecurityGroupPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetCreatedAtOk ¶
func (o *CreateSecurityGroupPayload) GetCreatedAtOk() (*time.Time, 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 (*CreateSecurityGroupPayload) GetDescription ¶
func (o *CreateSecurityGroupPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetDescriptionOk ¶
func (o *CreateSecurityGroupPayload) 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 (*CreateSecurityGroupPayload) GetId ¶
func (o *CreateSecurityGroupPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetIdOk ¶
func (o *CreateSecurityGroupPayload) 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 (*CreateSecurityGroupPayload) GetLabels ¶
func (o *CreateSecurityGroupPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetLabelsOk ¶
func (o *CreateSecurityGroupPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupPayload) GetName ¶
func (o *CreateSecurityGroupPayload) GetName() string
GetName returns the Name field value
func (*CreateSecurityGroupPayload) GetNameOk ¶
func (o *CreateSecurityGroupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateSecurityGroupPayload) GetRules ¶
func (o *CreateSecurityGroupPayload) GetRules() []SecurityGroupRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetRulesOk ¶
func (o *CreateSecurityGroupPayload) GetRulesOk() ([]SecurityGroupRule, 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 (*CreateSecurityGroupPayload) GetStateful ¶
func (o *CreateSecurityGroupPayload) GetStateful() bool
GetStateful returns the Stateful field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetStatefulOk ¶
func (o *CreateSecurityGroupPayload) GetStatefulOk() (*bool, bool)
GetStatefulOk returns a tuple with the Stateful field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupPayload) GetUpdatedAt ¶
func (o *CreateSecurityGroupPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateSecurityGroupPayload) GetUpdatedAtOk ¶
func (o *CreateSecurityGroupPayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateSecurityGroupPayload) HasCreatedAt ¶
func (o *CreateSecurityGroupPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateSecurityGroupPayload) HasDescription ¶
func (o *CreateSecurityGroupPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateSecurityGroupPayload) HasId ¶
func (o *CreateSecurityGroupPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateSecurityGroupPayload) HasLabels ¶
func (o *CreateSecurityGroupPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateSecurityGroupPayload) HasRules ¶
func (o *CreateSecurityGroupPayload) HasRules() bool
HasRules returns a boolean if a field has been set.
func (*CreateSecurityGroupPayload) HasStateful ¶
func (o *CreateSecurityGroupPayload) HasStateful() bool
HasStateful returns a boolean if a field has been set.
func (*CreateSecurityGroupPayload) HasUpdatedAt ¶
func (o *CreateSecurityGroupPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CreateSecurityGroupPayload) MarshalJSON ¶
func (o CreateSecurityGroupPayload) MarshalJSON() ([]byte, error)
func (*CreateSecurityGroupPayload) SetCreatedAt ¶
func (o *CreateSecurityGroupPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateSecurityGroupPayload) SetDescription ¶
func (o *CreateSecurityGroupPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateSecurityGroupPayload) SetId ¶
func (o *CreateSecurityGroupPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateSecurityGroupPayload) SetLabels ¶
func (o *CreateSecurityGroupPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateSecurityGroupPayload) SetName ¶
func (o *CreateSecurityGroupPayload) SetName(v string)
SetName sets field value
func (*CreateSecurityGroupPayload) SetRules ¶
func (o *CreateSecurityGroupPayload) SetRules(v []SecurityGroupRule)
SetRules gets a reference to the given []SecurityGroupRule and assigns it to the Rules field.
func (*CreateSecurityGroupPayload) SetStateful ¶
func (o *CreateSecurityGroupPayload) SetStateful(v bool)
SetStateful gets a reference to the given bool and assigns it to the Stateful field.
func (*CreateSecurityGroupPayload) SetUpdatedAt ¶
func (o *CreateSecurityGroupPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (CreateSecurityGroupPayload) ToMap ¶
func (o CreateSecurityGroupPayload) ToMap() (map[string]interface{}, error)
func (*CreateSecurityGroupPayload) UnmarshalJSON ¶
func (o *CreateSecurityGroupPayload) UnmarshalJSON(data []byte) (err error)
type CreateSecurityGroupRulePayload ¶
type CreateSecurityGroupRulePayload struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// The direction of the traffic which the rule should match. Possible values: `ingress`, `egress`.
Direction string `json:"direction"`
// The ethertype which the rule should match. Possible values: `IPv4`, `IPv6`.
Ethertype *string `json:"ethertype,omitempty"`
IcmpParameters *ICMPParameters `json:"icmpParameters,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The remote IP range which the rule should match.
IpRange *string `` /* 879-byte string literal not displayed */
PortRange *PortRange `json:"portRange,omitempty"`
// The remote security group which the rule should match.
RemoteSecurityGroupId *string `json:"remoteSecurityGroupId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
SecurityGroupId *string `json:"securityGroupId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
Protocol *CreateProtocol `json:"protocol,omitempty"`
}
CreateSecurityGroupRulePayload Object that represents a request body for security group rule creation.
func NewCreateSecurityGroupRulePayload ¶
func NewCreateSecurityGroupRulePayload(direction string) *CreateSecurityGroupRulePayload
NewCreateSecurityGroupRulePayload instantiates a new CreateSecurityGroupRulePayload 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 NewCreateSecurityGroupRulePayloadWithDefaults ¶
func NewCreateSecurityGroupRulePayloadWithDefaults() *CreateSecurityGroupRulePayload
NewCreateSecurityGroupRulePayloadWithDefaults instantiates a new CreateSecurityGroupRulePayload 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 (*CreateSecurityGroupRulePayload) GetCreatedAt ¶
func (o *CreateSecurityGroupRulePayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetCreatedAtOk ¶
func (o *CreateSecurityGroupRulePayload) GetCreatedAtOk() (*time.Time, 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 (*CreateSecurityGroupRulePayload) GetDescription ¶
func (o *CreateSecurityGroupRulePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetDescriptionOk ¶
func (o *CreateSecurityGroupRulePayload) 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 (*CreateSecurityGroupRulePayload) GetDirection ¶
func (o *CreateSecurityGroupRulePayload) GetDirection() string
GetDirection returns the Direction field value
func (*CreateSecurityGroupRulePayload) GetDirectionOk ¶
func (o *CreateSecurityGroupRulePayload) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value and a boolean to check if the value has been set.
func (*CreateSecurityGroupRulePayload) GetEthertype ¶
func (o *CreateSecurityGroupRulePayload) GetEthertype() string
GetEthertype returns the Ethertype field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetEthertypeOk ¶
func (o *CreateSecurityGroupRulePayload) 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 (*CreateSecurityGroupRulePayload) GetIcmpParameters ¶
func (o *CreateSecurityGroupRulePayload) GetIcmpParameters() ICMPParameters
GetIcmpParameters returns the IcmpParameters field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetIcmpParametersOk ¶
func (o *CreateSecurityGroupRulePayload) GetIcmpParametersOk() (*ICMPParameters, bool)
GetIcmpParametersOk returns a tuple with the IcmpParameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRulePayload) GetId ¶
func (o *CreateSecurityGroupRulePayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetIdOk ¶
func (o *CreateSecurityGroupRulePayload) 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 (*CreateSecurityGroupRulePayload) GetIpRange ¶
func (o *CreateSecurityGroupRulePayload) GetIpRange() string
GetIpRange returns the IpRange field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetIpRangeOk ¶
func (o *CreateSecurityGroupRulePayload) GetIpRangeOk() (*string, bool)
GetIpRangeOk returns a tuple with the IpRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRulePayload) GetPortRange ¶
func (o *CreateSecurityGroupRulePayload) GetPortRange() PortRange
GetPortRange returns the PortRange field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetPortRangeOk ¶
func (o *CreateSecurityGroupRulePayload) GetPortRangeOk() (*PortRange, bool)
GetPortRangeOk returns a tuple with the PortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRulePayload) GetProtocol ¶
func (o *CreateSecurityGroupRulePayload) GetProtocol() CreateProtocol
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetProtocolOk ¶
func (o *CreateSecurityGroupRulePayload) GetProtocolOk() (*CreateProtocol, 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 (*CreateSecurityGroupRulePayload) GetRemoteSecurityGroupId ¶
func (o *CreateSecurityGroupRulePayload) GetRemoteSecurityGroupId() string
GetRemoteSecurityGroupId returns the RemoteSecurityGroupId field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetRemoteSecurityGroupIdOk ¶
func (o *CreateSecurityGroupRulePayload) GetRemoteSecurityGroupIdOk() (*string, bool)
GetRemoteSecurityGroupIdOk returns a tuple with the RemoteSecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSecurityGroupRulePayload) GetSecurityGroupId ¶
func (o *CreateSecurityGroupRulePayload) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetSecurityGroupIdOk ¶
func (o *CreateSecurityGroupRulePayload) 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 (*CreateSecurityGroupRulePayload) GetUpdatedAt ¶
func (o *CreateSecurityGroupRulePayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateSecurityGroupRulePayload) GetUpdatedAtOk ¶
func (o *CreateSecurityGroupRulePayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateSecurityGroupRulePayload) HasCreatedAt ¶
func (o *CreateSecurityGroupRulePayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasDescription ¶
func (o *CreateSecurityGroupRulePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasEthertype ¶
func (o *CreateSecurityGroupRulePayload) HasEthertype() bool
HasEthertype returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasIcmpParameters ¶
func (o *CreateSecurityGroupRulePayload) HasIcmpParameters() bool
HasIcmpParameters returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasId ¶
func (o *CreateSecurityGroupRulePayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasIpRange ¶
func (o *CreateSecurityGroupRulePayload) HasIpRange() bool
HasIpRange returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasPortRange ¶
func (o *CreateSecurityGroupRulePayload) HasPortRange() bool
HasPortRange returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasProtocol ¶
func (o *CreateSecurityGroupRulePayload) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasRemoteSecurityGroupId ¶
func (o *CreateSecurityGroupRulePayload) HasRemoteSecurityGroupId() bool
HasRemoteSecurityGroupId returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasSecurityGroupId ¶
func (o *CreateSecurityGroupRulePayload) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (*CreateSecurityGroupRulePayload) HasUpdatedAt ¶
func (o *CreateSecurityGroupRulePayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CreateSecurityGroupRulePayload) MarshalJSON ¶
func (o CreateSecurityGroupRulePayload) MarshalJSON() ([]byte, error)
func (*CreateSecurityGroupRulePayload) SetCreatedAt ¶
func (o *CreateSecurityGroupRulePayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateSecurityGroupRulePayload) SetDescription ¶
func (o *CreateSecurityGroupRulePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateSecurityGroupRulePayload) SetDirection ¶
func (o *CreateSecurityGroupRulePayload) SetDirection(v string)
SetDirection sets field value
func (*CreateSecurityGroupRulePayload) SetEthertype ¶
func (o *CreateSecurityGroupRulePayload) SetEthertype(v string)
SetEthertype gets a reference to the given string and assigns it to the Ethertype field.
func (*CreateSecurityGroupRulePayload) SetIcmpParameters ¶
func (o *CreateSecurityGroupRulePayload) SetIcmpParameters(v ICMPParameters)
SetIcmpParameters gets a reference to the given ICMPParameters and assigns it to the IcmpParameters field.
func (*CreateSecurityGroupRulePayload) SetId ¶
func (o *CreateSecurityGroupRulePayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateSecurityGroupRulePayload) SetIpRange ¶
func (o *CreateSecurityGroupRulePayload) SetIpRange(v string)
SetIpRange gets a reference to the given string and assigns it to the IpRange field.
func (*CreateSecurityGroupRulePayload) SetPortRange ¶
func (o *CreateSecurityGroupRulePayload) SetPortRange(v PortRange)
SetPortRange gets a reference to the given PortRange and assigns it to the PortRange field.
func (*CreateSecurityGroupRulePayload) SetProtocol ¶
func (o *CreateSecurityGroupRulePayload) SetProtocol(v CreateProtocol)
SetProtocol gets a reference to the given CreateProtocol and assigns it to the Protocol field.
func (*CreateSecurityGroupRulePayload) SetRemoteSecurityGroupId ¶
func (o *CreateSecurityGroupRulePayload) SetRemoteSecurityGroupId(v string)
SetRemoteSecurityGroupId gets a reference to the given string and assigns it to the RemoteSecurityGroupId field.
func (*CreateSecurityGroupRulePayload) SetSecurityGroupId ¶
func (o *CreateSecurityGroupRulePayload) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (*CreateSecurityGroupRulePayload) SetUpdatedAt ¶
func (o *CreateSecurityGroupRulePayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (CreateSecurityGroupRulePayload) ToMap ¶
func (o CreateSecurityGroupRulePayload) ToMap() (map[string]interface{}, error)
func (*CreateSecurityGroupRulePayload) UnmarshalJSON ¶
func (o *CreateSecurityGroupRulePayload) UnmarshalJSON(data []byte) (err error)
type CreateSecurityGroupRuleProtocol ¶
type CreateSecurityGroupRuleProtocol struct {
Protocol *CreateProtocol `json:"protocol,omitempty"`
}
CreateSecurityGroupRuleProtocol The internet protocol which the rule should match.
func NewCreateSecurityGroupRuleProtocol ¶
func NewCreateSecurityGroupRuleProtocol() *CreateSecurityGroupRuleProtocol
NewCreateSecurityGroupRuleProtocol instantiates a new CreateSecurityGroupRuleProtocol 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 NewCreateSecurityGroupRuleProtocolWithDefaults ¶
func NewCreateSecurityGroupRuleProtocolWithDefaults() *CreateSecurityGroupRuleProtocol
NewCreateSecurityGroupRuleProtocolWithDefaults instantiates a new CreateSecurityGroupRuleProtocol 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 (*CreateSecurityGroupRuleProtocol) GetProtocol ¶
func (o *CreateSecurityGroupRuleProtocol) GetProtocol() CreateProtocol
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*CreateSecurityGroupRuleProtocol) GetProtocolOk ¶
func (o *CreateSecurityGroupRuleProtocol) GetProtocolOk() (*CreateProtocol, 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 (*CreateSecurityGroupRuleProtocol) HasProtocol ¶
func (o *CreateSecurityGroupRuleProtocol) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (CreateSecurityGroupRuleProtocol) MarshalJSON ¶
func (o CreateSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
func (*CreateSecurityGroupRuleProtocol) SetProtocol ¶
func (o *CreateSecurityGroupRuleProtocol) SetProtocol(v CreateProtocol)
SetProtocol gets a reference to the given CreateProtocol and assigns it to the Protocol field.
func (CreateSecurityGroupRuleProtocol) ToMap ¶
func (o CreateSecurityGroupRuleProtocol) ToMap() (map[string]interface{}, error)
type CreateServerNetworking ¶
type CreateServerNetworking struct {
// Universally Unique Identifier (UUID).
NetworkId *string `json:"networkId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
CreateServerNetworking The initial networking setup for the server creation with a network.
func NewCreateServerNetworking ¶
func NewCreateServerNetworking() *CreateServerNetworking
NewCreateServerNetworking instantiates a new CreateServerNetworking 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 NewCreateServerNetworkingWithDefaults ¶
func NewCreateServerNetworkingWithDefaults() *CreateServerNetworking
NewCreateServerNetworkingWithDefaults instantiates a new CreateServerNetworking 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 (*CreateServerNetworking) GetNetworkId ¶
func (o *CreateServerNetworking) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*CreateServerNetworking) GetNetworkIdOk ¶
func (o *CreateServerNetworking) 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 (*CreateServerNetworking) HasNetworkId ¶
func (o *CreateServerNetworking) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (CreateServerNetworking) MarshalJSON ¶
func (o CreateServerNetworking) MarshalJSON() ([]byte, error)
func (*CreateServerNetworking) SetNetworkId ¶
func (o *CreateServerNetworking) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (CreateServerNetworking) ToMap ¶
func (o CreateServerNetworking) ToMap() (map[string]interface{}, error)
type CreateServerNetworkingWithNics ¶
type CreateServerNetworkingWithNics struct {
// A list of UUIDs.
NicIds []string `json:"nicIds,omitempty"`
}
CreateServerNetworkingWithNics The initial networking setup for the server creation with a network interface.
func NewCreateServerNetworkingWithNics ¶
func NewCreateServerNetworkingWithNics() *CreateServerNetworkingWithNics
NewCreateServerNetworkingWithNics instantiates a new CreateServerNetworkingWithNics 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 NewCreateServerNetworkingWithNicsWithDefaults ¶
func NewCreateServerNetworkingWithNicsWithDefaults() *CreateServerNetworkingWithNics
NewCreateServerNetworkingWithNicsWithDefaults instantiates a new CreateServerNetworkingWithNics 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 (*CreateServerNetworkingWithNics) GetNicIds ¶
func (o *CreateServerNetworkingWithNics) GetNicIds() []string
GetNicIds returns the NicIds field value if set, zero value otherwise.
func (*CreateServerNetworkingWithNics) GetNicIdsOk ¶
func (o *CreateServerNetworkingWithNics) GetNicIdsOk() ([]string, bool)
GetNicIdsOk returns a tuple with the NicIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerNetworkingWithNics) HasNicIds ¶
func (o *CreateServerNetworkingWithNics) HasNicIds() bool
HasNicIds returns a boolean if a field has been set.
func (CreateServerNetworkingWithNics) MarshalJSON ¶
func (o CreateServerNetworkingWithNics) MarshalJSON() ([]byte, error)
func (*CreateServerNetworkingWithNics) SetNicIds ¶
func (o *CreateServerNetworkingWithNics) SetNicIds(v []string)
SetNicIds gets a reference to the given []string and assigns it to the NicIds field.
func (CreateServerNetworkingWithNics) ToMap ¶
func (o CreateServerNetworkingWithNics) ToMap() (map[string]interface{}, error)
type CreateServerPayload ¶
type CreateServerPayload struct {
// The affinity group the server is assigned to.
AffinityGroup *string `json:"affinityGroup,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
Agent *ServerAgent `json:"agent,omitempty"`
// This is the availability zone requested during server creation. If none is provided during the creation request and an existing volume will be used as boot volume it will be set to the same availability zone as the volume. For requests with no volumes involved it will be set to the metro availability zone.
AvailabilityZone *string `json:"availabilityZone,omitempty"`
BootVolume *BootVolume `json:"bootVolume,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// An error message.
ErrorMessage *string `json:"errorMessage,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
ImageId *string `json:"imageId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The SSH keypair used during the server creation.
KeypairName *string `json:"keypairName,omitempty" validate:"regexp=^[A-Za-z0-9@._-]*$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Date-time when resource was launched.
LaunchedAt *time.Time `json:"launchedAt,omitempty"`
// Name of the machine type the server shall belong to.
MachineType string `json:"machineType" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
MaintenanceWindow *ServerMaintenance `json:"maintenanceWindow,omitempty"`
// Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`. Providing a `null` value for a key will remove that key.
Metadata map[string]interface{} `json:"metadata,omitempty"`
// The name for a Server.
Name string `` /* 138-byte string literal not displayed */
Networking *CreateServerPayloadNetworking `json:"networking,omitempty"`
// The list of network interfaces (NICs) attached to the server. Only shown when detailed information is requested.
Nics []ServerNetwork `json:"nics,omitempty"`
// The power status of a server. Possible values: `CRASHED`, `ERROR`, `RUNNING`, `STOPPED`.
PowerStatus *string `json:"powerStatus,omitempty"`
// The initial security groups for the server creation.
SecurityGroups []string `json:"securityGroups,omitempty"`
// A list of service account mails. Only shown when detailed information is requested.
ServiceAccountMails []string `json:"serviceAccountMails,omitempty"`
// The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// User Data that is provided to the server. Must be base64 encoded and is passed via cloud-init to the server. Only shown when detailed information is requested.
UserData *string `json:"userData,omitempty"`
// The list of volumes attached to the server.
Volumes []string `json:"volumes,omitempty"`
}
CreateServerPayload Representation of a single server object.
func NewCreateServerPayload ¶
func NewCreateServerPayload(machineType string, name string) *CreateServerPayload
NewCreateServerPayload instantiates a new CreateServerPayload 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 NewCreateServerPayloadWithDefaults ¶
func NewCreateServerPayloadWithDefaults() *CreateServerPayload
NewCreateServerPayloadWithDefaults instantiates a new CreateServerPayload 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 (*CreateServerPayload) GetAffinityGroup ¶
func (o *CreateServerPayload) GetAffinityGroup() string
GetAffinityGroup returns the AffinityGroup field value if set, zero value otherwise.
func (*CreateServerPayload) GetAffinityGroupOk ¶
func (o *CreateServerPayload) GetAffinityGroupOk() (*string, bool)
GetAffinityGroupOk returns a tuple with the AffinityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetAgent ¶
func (o *CreateServerPayload) GetAgent() ServerAgent
GetAgent returns the Agent field value if set, zero value otherwise.
func (*CreateServerPayload) GetAgentOk ¶
func (o *CreateServerPayload) GetAgentOk() (*ServerAgent, bool)
GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetAvailabilityZone ¶
func (o *CreateServerPayload) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.
func (*CreateServerPayload) GetAvailabilityZoneOk ¶
func (o *CreateServerPayload) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetBootVolume ¶
func (o *CreateServerPayload) GetBootVolume() BootVolume
GetBootVolume returns the BootVolume field value if set, zero value otherwise.
func (*CreateServerPayload) GetBootVolumeOk ¶
func (o *CreateServerPayload) GetBootVolumeOk() (*BootVolume, bool)
GetBootVolumeOk returns a tuple with the BootVolume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetCreatedAt ¶
func (o *CreateServerPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateServerPayload) GetCreatedAtOk ¶
func (o *CreateServerPayload) GetCreatedAtOk() (*time.Time, 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 (*CreateServerPayload) GetErrorMessage ¶
func (o *CreateServerPayload) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*CreateServerPayload) GetErrorMessageOk ¶
func (o *CreateServerPayload) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetId ¶
func (o *CreateServerPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateServerPayload) GetIdOk ¶
func (o *CreateServerPayload) 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 (*CreateServerPayload) GetImageId ¶
func (o *CreateServerPayload) GetImageId() string
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*CreateServerPayload) GetImageIdOk ¶
func (o *CreateServerPayload) 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 (*CreateServerPayload) GetKeypairName ¶
func (o *CreateServerPayload) GetKeypairName() string
GetKeypairName returns the KeypairName field value if set, zero value otherwise.
func (*CreateServerPayload) GetKeypairNameOk ¶
func (o *CreateServerPayload) GetKeypairNameOk() (*string, bool)
GetKeypairNameOk returns a tuple with the KeypairName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetLabels ¶
func (o *CreateServerPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateServerPayload) GetLabelsOk ¶
func (o *CreateServerPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetLaunchedAt ¶
func (o *CreateServerPayload) GetLaunchedAt() time.Time
GetLaunchedAt returns the LaunchedAt field value if set, zero value otherwise.
func (*CreateServerPayload) GetLaunchedAtOk ¶
func (o *CreateServerPayload) GetLaunchedAtOk() (*time.Time, bool)
GetLaunchedAtOk returns a tuple with the LaunchedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetMachineType ¶
func (o *CreateServerPayload) GetMachineType() string
GetMachineType returns the MachineType field value
func (*CreateServerPayload) GetMachineTypeOk ¶
func (o *CreateServerPayload) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field value and a boolean to check if the value has been set.
func (*CreateServerPayload) GetMaintenanceWindow ¶
func (o *CreateServerPayload) GetMaintenanceWindow() ServerMaintenance
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*CreateServerPayload) GetMaintenanceWindowOk ¶
func (o *CreateServerPayload) GetMaintenanceWindowOk() (*ServerMaintenance, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetMetadata ¶
func (o *CreateServerPayload) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CreateServerPayload) GetMetadataOk ¶
func (o *CreateServerPayload) GetMetadataOk() (map[string]interface{}, 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 (*CreateServerPayload) GetName ¶
func (o *CreateServerPayload) GetName() string
GetName returns the Name field value
func (*CreateServerPayload) GetNameOk ¶
func (o *CreateServerPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateServerPayload) GetNetworking ¶
func (o *CreateServerPayload) GetNetworking() CreateServerPayloadNetworking
GetNetworking returns the Networking field value if set, zero value otherwise.
func (*CreateServerPayload) GetNetworkingOk ¶
func (o *CreateServerPayload) GetNetworkingOk() (*CreateServerPayloadNetworking, bool)
GetNetworkingOk returns a tuple with the Networking field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetNics ¶
func (o *CreateServerPayload) GetNics() []ServerNetwork
GetNics returns the Nics field value if set, zero value otherwise.
func (*CreateServerPayload) GetNicsOk ¶
func (o *CreateServerPayload) GetNicsOk() ([]ServerNetwork, bool)
GetNicsOk returns a tuple with the Nics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetPowerStatus ¶
func (o *CreateServerPayload) GetPowerStatus() string
GetPowerStatus returns the PowerStatus field value if set, zero value otherwise.
func (*CreateServerPayload) GetPowerStatusOk ¶
func (o *CreateServerPayload) GetPowerStatusOk() (*string, bool)
GetPowerStatusOk returns a tuple with the PowerStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetSecurityGroups ¶
func (o *CreateServerPayload) GetSecurityGroups() []string
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*CreateServerPayload) GetSecurityGroupsOk ¶
func (o *CreateServerPayload) 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 (*CreateServerPayload) GetServiceAccountMails ¶
func (o *CreateServerPayload) GetServiceAccountMails() []string
GetServiceAccountMails returns the ServiceAccountMails field value if set, zero value otherwise.
func (*CreateServerPayload) GetServiceAccountMailsOk ¶
func (o *CreateServerPayload) GetServiceAccountMailsOk() ([]string, bool)
GetServiceAccountMailsOk returns a tuple with the ServiceAccountMails field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetStatus ¶
func (o *CreateServerPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateServerPayload) GetStatusOk ¶
func (o *CreateServerPayload) 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 (*CreateServerPayload) GetUpdatedAt ¶
func (o *CreateServerPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateServerPayload) GetUpdatedAtOk ¶
func (o *CreateServerPayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateServerPayload) GetUserData ¶
func (o *CreateServerPayload) GetUserData() string
GetUserData returns the UserData field value if set, zero value otherwise.
func (*CreateServerPayload) GetUserDataOk ¶
func (o *CreateServerPayload) GetUserDataOk() (*string, bool)
GetUserDataOk returns a tuple with the UserData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) GetVolumes ¶
func (o *CreateServerPayload) GetVolumes() []string
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*CreateServerPayload) GetVolumesOk ¶
func (o *CreateServerPayload) GetVolumesOk() ([]string, bool)
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerPayload) HasAffinityGroup ¶
func (o *CreateServerPayload) HasAffinityGroup() bool
HasAffinityGroup returns a boolean if a field has been set.
func (*CreateServerPayload) HasAgent ¶
func (o *CreateServerPayload) HasAgent() bool
HasAgent returns a boolean if a field has been set.
func (*CreateServerPayload) HasAvailabilityZone ¶
func (o *CreateServerPayload) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (*CreateServerPayload) HasBootVolume ¶
func (o *CreateServerPayload) HasBootVolume() bool
HasBootVolume returns a boolean if a field has been set.
func (*CreateServerPayload) HasCreatedAt ¶
func (o *CreateServerPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateServerPayload) HasErrorMessage ¶
func (o *CreateServerPayload) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (*CreateServerPayload) HasId ¶
func (o *CreateServerPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateServerPayload) HasImageId ¶
func (o *CreateServerPayload) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*CreateServerPayload) HasKeypairName ¶
func (o *CreateServerPayload) HasKeypairName() bool
HasKeypairName returns a boolean if a field has been set.
func (*CreateServerPayload) HasLabels ¶
func (o *CreateServerPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateServerPayload) HasLaunchedAt ¶
func (o *CreateServerPayload) HasLaunchedAt() bool
HasLaunchedAt returns a boolean if a field has been set.
func (*CreateServerPayload) HasMaintenanceWindow ¶
func (o *CreateServerPayload) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*CreateServerPayload) HasMetadata ¶
func (o *CreateServerPayload) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CreateServerPayload) HasNetworking ¶
func (o *CreateServerPayload) HasNetworking() bool
HasNetworking returns a boolean if a field has been set.
func (*CreateServerPayload) HasNics ¶
func (o *CreateServerPayload) HasNics() bool
HasNics returns a boolean if a field has been set.
func (*CreateServerPayload) HasPowerStatus ¶
func (o *CreateServerPayload) HasPowerStatus() bool
HasPowerStatus returns a boolean if a field has been set.
func (*CreateServerPayload) HasSecurityGroups ¶
func (o *CreateServerPayload) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (*CreateServerPayload) HasServiceAccountMails ¶
func (o *CreateServerPayload) HasServiceAccountMails() bool
HasServiceAccountMails returns a boolean if a field has been set.
func (*CreateServerPayload) HasStatus ¶
func (o *CreateServerPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CreateServerPayload) HasUpdatedAt ¶
func (o *CreateServerPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*CreateServerPayload) HasUserData ¶
func (o *CreateServerPayload) HasUserData() bool
HasUserData returns a boolean if a field has been set.
func (*CreateServerPayload) HasVolumes ¶
func (o *CreateServerPayload) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (CreateServerPayload) MarshalJSON ¶
func (o CreateServerPayload) MarshalJSON() ([]byte, error)
func (*CreateServerPayload) SetAffinityGroup ¶
func (o *CreateServerPayload) SetAffinityGroup(v string)
SetAffinityGroup gets a reference to the given string and assigns it to the AffinityGroup field.
func (*CreateServerPayload) SetAgent ¶
func (o *CreateServerPayload) SetAgent(v ServerAgent)
SetAgent gets a reference to the given ServerAgent and assigns it to the Agent field.
func (*CreateServerPayload) SetAvailabilityZone ¶
func (o *CreateServerPayload) SetAvailabilityZone(v string)
SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.
func (*CreateServerPayload) SetBootVolume ¶
func (o *CreateServerPayload) SetBootVolume(v BootVolume)
SetBootVolume gets a reference to the given BootVolume and assigns it to the BootVolume field.
func (*CreateServerPayload) SetCreatedAt ¶
func (o *CreateServerPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateServerPayload) SetErrorMessage ¶
func (o *CreateServerPayload) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
func (*CreateServerPayload) SetId ¶
func (o *CreateServerPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateServerPayload) SetImageId ¶
func (o *CreateServerPayload) SetImageId(v string)
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*CreateServerPayload) SetKeypairName ¶
func (o *CreateServerPayload) SetKeypairName(v string)
SetKeypairName gets a reference to the given string and assigns it to the KeypairName field.
func (*CreateServerPayload) SetLabels ¶
func (o *CreateServerPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateServerPayload) SetLaunchedAt ¶
func (o *CreateServerPayload) SetLaunchedAt(v time.Time)
SetLaunchedAt gets a reference to the given time.Time and assigns it to the LaunchedAt field.
func (*CreateServerPayload) SetMachineType ¶
func (o *CreateServerPayload) SetMachineType(v string)
SetMachineType sets field value
func (*CreateServerPayload) SetMaintenanceWindow ¶
func (o *CreateServerPayload) SetMaintenanceWindow(v ServerMaintenance)
SetMaintenanceWindow gets a reference to the given ServerMaintenance and assigns it to the MaintenanceWindow field.
func (*CreateServerPayload) SetMetadata ¶
func (o *CreateServerPayload) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*CreateServerPayload) SetName ¶
func (o *CreateServerPayload) SetName(v string)
SetName sets field value
func (*CreateServerPayload) SetNetworking ¶
func (o *CreateServerPayload) SetNetworking(v CreateServerPayloadNetworking)
SetNetworking gets a reference to the given CreateServerPayloadNetworking and assigns it to the Networking field.
func (*CreateServerPayload) SetNics ¶
func (o *CreateServerPayload) SetNics(v []ServerNetwork)
SetNics gets a reference to the given []ServerNetwork and assigns it to the Nics field.
func (*CreateServerPayload) SetPowerStatus ¶
func (o *CreateServerPayload) SetPowerStatus(v string)
SetPowerStatus gets a reference to the given string and assigns it to the PowerStatus field.
func (*CreateServerPayload) SetSecurityGroups ¶
func (o *CreateServerPayload) SetSecurityGroups(v []string)
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (*CreateServerPayload) SetServiceAccountMails ¶
func (o *CreateServerPayload) SetServiceAccountMails(v []string)
SetServiceAccountMails gets a reference to the given []string and assigns it to the ServiceAccountMails field.
func (*CreateServerPayload) SetStatus ¶
func (o *CreateServerPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CreateServerPayload) SetUpdatedAt ¶
func (o *CreateServerPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CreateServerPayload) SetUserData ¶
func (o *CreateServerPayload) SetUserData(v string)
SetUserData gets a reference to the given string and assigns it to the UserData field.
func (*CreateServerPayload) SetVolumes ¶
func (o *CreateServerPayload) SetVolumes(v []string)
SetVolumes gets a reference to the given []string and assigns it to the Volumes field.
func (CreateServerPayload) ToMap ¶
func (o CreateServerPayload) ToMap() (map[string]interface{}, error)
func (*CreateServerPayload) UnmarshalJSON ¶
func (o *CreateServerPayload) UnmarshalJSON(data []byte) (err error)
type CreateServerPayloadNetworking ¶
type CreateServerPayloadNetworking struct {
CreateServerNetworking *CreateServerNetworking
CreateServerNetworkingWithNics *CreateServerNetworkingWithNics
}
CreateServerPayloadNetworking - The initial networking setup for the server creation. A network, a nic or nothing can be given.
func CreateServerNetworkingAsCreateServerPayloadNetworking ¶
func CreateServerNetworkingAsCreateServerPayloadNetworking(v *CreateServerNetworking) CreateServerPayloadNetworking
CreateServerNetworkingAsCreateServerPayloadNetworking is a convenience function that returns CreateServerNetworking wrapped in CreateServerPayloadNetworking
func CreateServerNetworkingWithNicsAsCreateServerPayloadNetworking ¶
func CreateServerNetworkingWithNicsAsCreateServerPayloadNetworking(v *CreateServerNetworkingWithNics) CreateServerPayloadNetworking
CreateServerNetworkingWithNicsAsCreateServerPayloadNetworking is a convenience function that returns CreateServerNetworkingWithNics wrapped in CreateServerPayloadNetworking
func (*CreateServerPayloadNetworking) GetActualInstance ¶
func (obj *CreateServerPayloadNetworking) GetActualInstance() interface{}
Get the actual instance
func (CreateServerPayloadNetworking) GetActualInstanceValue ¶
func (obj CreateServerPayloadNetworking) GetActualInstanceValue() interface{}
Get the actual instance value
func (CreateServerPayloadNetworking) MarshalJSON ¶
func (src CreateServerPayloadNetworking) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateServerPayloadNetworking) UnmarshalJSON ¶
func (dst *CreateServerPayloadNetworking) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreateSnapshotPayload ¶
type CreateSnapshotPayload struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
// The status of a snapshot object. Possible values: `AVAILABLE`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`, `UNMANAGING`, `UPDATING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Universally Unique Identifier (UUID).
VolumeId string `json:"volumeId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
CreateSnapshotPayload Object that represents a snapshot.
func NewCreateSnapshotPayload ¶
func NewCreateSnapshotPayload(volumeId string) *CreateSnapshotPayload
NewCreateSnapshotPayload instantiates a new CreateSnapshotPayload 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 NewCreateSnapshotPayloadWithDefaults ¶
func NewCreateSnapshotPayloadWithDefaults() *CreateSnapshotPayload
NewCreateSnapshotPayloadWithDefaults instantiates a new CreateSnapshotPayload 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 (*CreateSnapshotPayload) GetCreatedAt ¶
func (o *CreateSnapshotPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetCreatedAtOk ¶
func (o *CreateSnapshotPayload) GetCreatedAtOk() (*time.Time, 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 (*CreateSnapshotPayload) GetId ¶
func (o *CreateSnapshotPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetIdOk ¶
func (o *CreateSnapshotPayload) 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 (*CreateSnapshotPayload) GetLabels ¶
func (o *CreateSnapshotPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetLabelsOk ¶
func (o *CreateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSnapshotPayload) GetName ¶
func (o *CreateSnapshotPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetNameOk ¶
func (o *CreateSnapshotPayload) 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 (*CreateSnapshotPayload) GetSize ¶
func (o *CreateSnapshotPayload) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetSizeOk ¶
func (o *CreateSnapshotPayload) 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 (*CreateSnapshotPayload) GetStatus ¶
func (o *CreateSnapshotPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetStatusOk ¶
func (o *CreateSnapshotPayload) 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 (*CreateSnapshotPayload) GetUpdatedAt ¶
func (o *CreateSnapshotPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateSnapshotPayload) GetUpdatedAtOk ¶
func (o *CreateSnapshotPayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateSnapshotPayload) GetVolumeId ¶
func (o *CreateSnapshotPayload) GetVolumeId() string
GetVolumeId returns the VolumeId field value
func (*CreateSnapshotPayload) GetVolumeIdOk ¶
func (o *CreateSnapshotPayload) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value and a boolean to check if the value has been set.
func (*CreateSnapshotPayload) HasCreatedAt ¶
func (o *CreateSnapshotPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateSnapshotPayload) HasId ¶
func (o *CreateSnapshotPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateSnapshotPayload) HasLabels ¶
func (o *CreateSnapshotPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateSnapshotPayload) HasName ¶
func (o *CreateSnapshotPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateSnapshotPayload) HasSize ¶
func (o *CreateSnapshotPayload) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*CreateSnapshotPayload) HasStatus ¶
func (o *CreateSnapshotPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CreateSnapshotPayload) HasUpdatedAt ¶
func (o *CreateSnapshotPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CreateSnapshotPayload) MarshalJSON ¶
func (o CreateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*CreateSnapshotPayload) SetCreatedAt ¶
func (o *CreateSnapshotPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateSnapshotPayload) SetId ¶
func (o *CreateSnapshotPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateSnapshotPayload) SetLabels ¶
func (o *CreateSnapshotPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateSnapshotPayload) SetName ¶
func (o *CreateSnapshotPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateSnapshotPayload) SetSize ¶
func (o *CreateSnapshotPayload) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*CreateSnapshotPayload) SetStatus ¶
func (o *CreateSnapshotPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CreateSnapshotPayload) SetUpdatedAt ¶
func (o *CreateSnapshotPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CreateSnapshotPayload) SetVolumeId ¶
func (o *CreateSnapshotPayload) SetVolumeId(v string)
SetVolumeId sets field value
func (CreateSnapshotPayload) ToMap ¶
func (o CreateSnapshotPayload) ToMap() (map[string]interface{}, error)
func (*CreateSnapshotPayload) UnmarshalJSON ¶
func (o *CreateSnapshotPayload) UnmarshalJSON(data []byte) (err error)
type CreateVolumePayload ¶
type CreateVolumePayload struct {
// Object that represents an availability zone.
AvailabilityZone string `json:"availabilityZone"`
// Indicates if a volume is bootable.
Bootable *bool `json:"bootable,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Indicates if a volume is encrypted.
Encrypted *bool `json:"encrypted,omitempty"`
EncryptionParameters *VolumeEncryptionParameter `json:"encryptionParameters,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// The name for a General Object. Matches Names and also UUIDs.
PerformanceClass *string `json:"performanceClass,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
Source *VolumeSource `json:"source,omitempty"`
// The status of a volume object. Possible values: `ATTACHED`, `ATTACHING`, `AVAILABLE`, `AWAITING-TRANSFER`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `DETACHING`, `DOWNLOADING`, `ERROR`, `ERROR_BACKING-UP`, `ERROR_DELETING`, `ERROR_RESIZING`, `ERROR_RESTORING-BACKUP`, `MAINTENANCE`, `RESERVED`, `RESIZING`, `RESTORING-BACKUP`, `RETYPING`, `UPLOADING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
CreateVolumePayload Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.
func NewCreateVolumePayload ¶
func NewCreateVolumePayload(availabilityZone string) *CreateVolumePayload
NewCreateVolumePayload instantiates a new CreateVolumePayload 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 NewCreateVolumePayloadWithDefaults ¶
func NewCreateVolumePayloadWithDefaults() *CreateVolumePayload
NewCreateVolumePayloadWithDefaults instantiates a new CreateVolumePayload 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 (*CreateVolumePayload) GetAvailabilityZone ¶
func (o *CreateVolumePayload) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field value
func (*CreateVolumePayload) GetAvailabilityZoneOk ¶
func (o *CreateVolumePayload) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetBootable ¶
func (o *CreateVolumePayload) GetBootable() bool
GetBootable returns the Bootable field value if set, zero value otherwise.
func (*CreateVolumePayload) GetBootableOk ¶
func (o *CreateVolumePayload) GetBootableOk() (*bool, bool)
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 (*CreateVolumePayload) GetCreatedAt ¶
func (o *CreateVolumePayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateVolumePayload) GetCreatedAtOk ¶
func (o *CreateVolumePayload) GetCreatedAtOk() (*time.Time, 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 (*CreateVolumePayload) GetDescription ¶
func (o *CreateVolumePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateVolumePayload) GetDescriptionOk ¶
func (o *CreateVolumePayload) 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 (*CreateVolumePayload) GetEncrypted ¶
func (o *CreateVolumePayload) GetEncrypted() bool
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*CreateVolumePayload) GetEncryptedOk ¶
func (o *CreateVolumePayload) GetEncryptedOk() (*bool, bool)
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetEncryptionParameters ¶
func (o *CreateVolumePayload) GetEncryptionParameters() VolumeEncryptionParameter
GetEncryptionParameters returns the EncryptionParameters field value if set, zero value otherwise.
func (*CreateVolumePayload) GetEncryptionParametersOk ¶
func (o *CreateVolumePayload) GetEncryptionParametersOk() (*VolumeEncryptionParameter, bool)
GetEncryptionParametersOk returns a tuple with the EncryptionParameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetId ¶
func (o *CreateVolumePayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateVolumePayload) GetIdOk ¶
func (o *CreateVolumePayload) 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 (*CreateVolumePayload) GetImageConfig ¶
func (o *CreateVolumePayload) GetImageConfig() ImageConfig
GetImageConfig returns the ImageConfig field value if set, zero value otherwise.
func (*CreateVolumePayload) GetImageConfigOk ¶
func (o *CreateVolumePayload) GetImageConfigOk() (*ImageConfig, bool)
GetImageConfigOk returns a tuple with the ImageConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetLabels ¶
func (o *CreateVolumePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateVolumePayload) GetLabelsOk ¶
func (o *CreateVolumePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetName ¶
func (o *CreateVolumePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateVolumePayload) GetNameOk ¶
func (o *CreateVolumePayload) 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 (*CreateVolumePayload) GetPerformanceClass ¶
func (o *CreateVolumePayload) GetPerformanceClass() string
GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.
func (*CreateVolumePayload) GetPerformanceClassOk ¶
func (o *CreateVolumePayload) GetPerformanceClassOk() (*string, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetServerId ¶
func (o *CreateVolumePayload) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*CreateVolumePayload) GetServerIdOk ¶
func (o *CreateVolumePayload) 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 (*CreateVolumePayload) GetSize ¶
func (o *CreateVolumePayload) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*CreateVolumePayload) GetSizeOk ¶
func (o *CreateVolumePayload) 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 (*CreateVolumePayload) GetSource ¶
func (o *CreateVolumePayload) GetSource() VolumeSource
GetSource returns the Source field value if set, zero value otherwise.
func (*CreateVolumePayload) GetSourceOk ¶
func (o *CreateVolumePayload) GetSourceOk() (*VolumeSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumePayload) GetStatus ¶
func (o *CreateVolumePayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateVolumePayload) GetStatusOk ¶
func (o *CreateVolumePayload) 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 (*CreateVolumePayload) GetUpdatedAt ¶
func (o *CreateVolumePayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateVolumePayload) GetUpdatedAtOk ¶
func (o *CreateVolumePayload) GetUpdatedAtOk() (*time.Time, 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 (*CreateVolumePayload) HasBootable ¶
func (o *CreateVolumePayload) HasBootable() bool
HasBootable returns a boolean if a field has been set.
func (*CreateVolumePayload) HasCreatedAt ¶
func (o *CreateVolumePayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateVolumePayload) HasDescription ¶
func (o *CreateVolumePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateVolumePayload) HasEncrypted ¶
func (o *CreateVolumePayload) HasEncrypted() bool
HasEncrypted returns a boolean if a field has been set.
func (*CreateVolumePayload) HasEncryptionParameters ¶
func (o *CreateVolumePayload) HasEncryptionParameters() bool
HasEncryptionParameters returns a boolean if a field has been set.
func (*CreateVolumePayload) HasId ¶
func (o *CreateVolumePayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateVolumePayload) HasImageConfig ¶
func (o *CreateVolumePayload) HasImageConfig() bool
HasImageConfig returns a boolean if a field has been set.
func (*CreateVolumePayload) HasLabels ¶
func (o *CreateVolumePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateVolumePayload) HasName ¶
func (o *CreateVolumePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateVolumePayload) HasPerformanceClass ¶
func (o *CreateVolumePayload) HasPerformanceClass() bool
HasPerformanceClass returns a boolean if a field has been set.
func (*CreateVolumePayload) HasServerId ¶
func (o *CreateVolumePayload) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*CreateVolumePayload) HasSize ¶
func (o *CreateVolumePayload) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*CreateVolumePayload) HasSource ¶
func (o *CreateVolumePayload) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*CreateVolumePayload) HasStatus ¶
func (o *CreateVolumePayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CreateVolumePayload) HasUpdatedAt ¶
func (o *CreateVolumePayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CreateVolumePayload) MarshalJSON ¶
func (o CreateVolumePayload) MarshalJSON() ([]byte, error)
func (*CreateVolumePayload) SetAvailabilityZone ¶
func (o *CreateVolumePayload) SetAvailabilityZone(v string)
SetAvailabilityZone sets field value
func (*CreateVolumePayload) SetBootable ¶
func (o *CreateVolumePayload) SetBootable(v bool)
SetBootable gets a reference to the given bool and assigns it to the Bootable field.
func (*CreateVolumePayload) SetCreatedAt ¶
func (o *CreateVolumePayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateVolumePayload) SetDescription ¶
func (o *CreateVolumePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateVolumePayload) SetEncrypted ¶
func (o *CreateVolumePayload) SetEncrypted(v bool)
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*CreateVolumePayload) SetEncryptionParameters ¶
func (o *CreateVolumePayload) SetEncryptionParameters(v VolumeEncryptionParameter)
SetEncryptionParameters gets a reference to the given VolumeEncryptionParameter and assigns it to the EncryptionParameters field.
func (*CreateVolumePayload) SetId ¶
func (o *CreateVolumePayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateVolumePayload) SetImageConfig ¶
func (o *CreateVolumePayload) SetImageConfig(v ImageConfig)
SetImageConfig gets a reference to the given ImageConfig and assigns it to the ImageConfig field.
func (*CreateVolumePayload) SetLabels ¶
func (o *CreateVolumePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateVolumePayload) SetName ¶
func (o *CreateVolumePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateVolumePayload) SetPerformanceClass ¶
func (o *CreateVolumePayload) SetPerformanceClass(v string)
SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.
func (*CreateVolumePayload) SetServerId ¶
func (o *CreateVolumePayload) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*CreateVolumePayload) SetSize ¶
func (o *CreateVolumePayload) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*CreateVolumePayload) SetSource ¶
func (o *CreateVolumePayload) SetSource(v VolumeSource)
SetSource gets a reference to the given VolumeSource and assigns it to the Source field.
func (*CreateVolumePayload) SetStatus ¶
func (o *CreateVolumePayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CreateVolumePayload) SetUpdatedAt ¶
func (o *CreateVolumePayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (CreateVolumePayload) ToMap ¶
func (o CreateVolumePayload) ToMap() (map[string]interface{}, error)
func (*CreateVolumePayload) UnmarshalJSON ¶
func (o *CreateVolumePayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
AddNetworkToServer Create and attach a network interface from the specified network.
Create and attach a network interface from the specified network to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiAddNetworkToServerRequest
Deprecated
*/
AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest
// AddNetworkToServerExecute executes the request
// Deprecated
AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
/*
AddNicToServer Attach an existing network interface.
Attach an existing network interface to a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiAddNicToServerRequest
Deprecated
*/
AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest
// AddNicToServerExecute executes the request
// Deprecated
AddNicToServerExecute(r ApiAddNicToServerRequest) error
/*
AddPublicIpToServer Associate a public IP to the server.
Associate a public IP to a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiAddPublicIpToServerRequest
Deprecated
*/
AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
// AddPublicIpToServerExecute executes the request
// Deprecated
AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
/*
AddSecurityGroupToServer Add a server to a security group.
Add an existing server to an existing security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiAddSecurityGroupToServerRequest
Deprecated
*/
AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
// AddSecurityGroupToServerExecute executes the request
// Deprecated
AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
/*
AddServiceAccountToServer Attach service account to a server.
Attach an additional service account to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiAddServiceAccountToServerRequest
Deprecated
*/
AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest
// AddServiceAccountToServerExecute executes the request
// @return ServiceAccountMailListResponse
// Deprecated
AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
/*
AddVolumeToServer Attach a volume to a server.
Attach an existing volume to an existing server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiAddVolumeToServerRequest
Deprecated
*/
AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest
// AddVolumeToServerExecute executes the request
// @return VolumeAttachment
// Deprecated
AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
/*
CreateAffinityGroup Create a new affinity group in a project.
Create a new server affinity group in the given project ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateAffinityGroupRequest
Deprecated
*/
CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest
// CreateAffinityGroupExecute executes the request
// @return AffinityGroup
// Deprecated
CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
/*
CreateBackup Create new Backup.
Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateBackupRequest
Deprecated
*/
CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest
// CreateBackupExecute executes the request
// @return Backup
// Deprecated
CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
/*
CreateImage Create new Image.
Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateImageRequest
Deprecated
*/
CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest
// CreateImageExecute executes the request
// @return ImageCreateResponse
// Deprecated
CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
/*
CreateKeyPair Import a public key.
Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. Supported keypair types are ecdsa, ed25519 and rsa.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateKeyPairRequest
Deprecated
*/
CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
// CreateKeyPairExecute executes the request
// @return Keypair
// Deprecated
CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
/*
CreateNetwork Create new network.
Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateNetworkRequest
Deprecated
*/
CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest
// CreateNetworkExecute executes the request
// @return Network
// Deprecated
CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
/*
CreateNetworkArea Create new network area in an organization.
Create a new network area in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiCreateNetworkAreaRequest
Deprecated
*/
CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
// CreateNetworkAreaExecute executes the request
// @return NetworkArea
// Deprecated
CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
/*
CreateNetworkAreaRange Create new network range in a network area.
Create a new network range in an existing network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiCreateNetworkAreaRangeRequest
Deprecated
*/
CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest
// CreateNetworkAreaRangeExecute executes the request
// @return NetworkRangeListResponse
// Deprecated
CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
/*
CreateNetworkAreaRoute Create new network routes.
Create one or several new network routes in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiCreateNetworkAreaRouteRequest
Deprecated
*/
CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest
// CreateNetworkAreaRouteExecute executes the request
// @return RouteListResponse
// Deprecated
CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
/*
CreateNic Create new network interface.
Create a new network interface in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiCreateNicRequest
Deprecated
*/
CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest
// CreateNicExecute executes the request
// @return NIC
// Deprecated
CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
/*
CreatePublicIP Create new public IP.
Create a new public IP in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreatePublicIPRequest
Deprecated
*/
CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest
// CreatePublicIPExecute executes the request
// @return PublicIp
// Deprecated
CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
/*
CreateSecurityGroup Create new security group.
Create a new security group in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateSecurityGroupRequest
Deprecated
*/
CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest
// CreateSecurityGroupExecute executes the request
// @return SecurityGroup
// Deprecated
CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
/*
CreateSecurityGroupRule Create new security group rule.
Create a new security group rule in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiCreateSecurityGroupRuleRequest
Deprecated
*/
CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
// CreateSecurityGroupRuleExecute executes the request
// @return SecurityGroupRule
// Deprecated
CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
/*
CreateServer Create new server.
Create a new server in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateServerRequest
Deprecated
*/
CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest
// CreateServerExecute executes the request
// @return Server
// Deprecated
CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
/*
CreateSnapshot Create new Snapshot.
Create a new Snapshot from a Volume in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateSnapshotRequest
Deprecated
*/
CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest
// CreateSnapshotExecute executes the request
// @return Snapshot
// Deprecated
CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)
/*
CreateVolume Create new volume.
Create a new volume in a project. If a volume source is not provided, an empty volume will be created. The size property is required if no source or an image source is provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateVolumeRequest
Deprecated
*/
CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest
// CreateVolumeExecute executes the request
// @return Volume
// Deprecated
CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
/*
DeallocateServer Deallocate an existing server.
Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeallocateServerRequest
Deprecated
*/
DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest
// DeallocateServerExecute executes the request
// Deprecated
DeallocateServerExecute(r ApiDeallocateServerRequest) error
/*
DeleteAffinityGroup Delete a affinity group in a project.
Delete a affinity group in the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiDeleteAffinityGroupRequest
Deprecated
*/
DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest
// DeleteAffinityGroupExecute executes the request
// Deprecated
DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
/*
DeleteBackup Delete a backup.
Delete a backup that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiDeleteBackupRequest
Deprecated
*/
DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest
// DeleteBackupExecute executes the request
// Deprecated
DeleteBackupExecute(r ApiDeleteBackupRequest) error
/*
DeleteImage Delete an Image.
Delete an image that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiDeleteImageRequest
Deprecated
*/
DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest
// DeleteImageExecute executes the request
// Deprecated
DeleteImageExecute(r ApiDeleteImageRequest) error
DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest
// Deprecated
DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest
// Deprecated
DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
/*
DeleteKeyPair Delete an SSH keypair.
Delete an SSH keypair from a user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiDeleteKeyPairRequest
Deprecated
*/
DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
// DeleteKeyPairExecute executes the request
// Deprecated
DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
/*
DeleteNetwork Delete network.
Delete a network. If the network is still in use, the deletion will fail.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiDeleteNetworkRequest
Deprecated
*/
DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest
// DeleteNetworkExecute executes the request
// Deprecated
DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
/*
DeleteNetworkArea Delete a network area.
Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiDeleteNetworkAreaRequest
Deprecated
*/
DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
// DeleteNetworkAreaExecute executes the request
// Deprecated
DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
/*
DeleteNetworkAreaRange Delete a network range.
Delete a network range of a network area. The deletion will fail if the network range is still used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiDeleteNetworkAreaRangeRequest
Deprecated
*/
DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest
// DeleteNetworkAreaRangeExecute executes the request
// Deprecated
DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
/*
DeleteNetworkAreaRoute Delete a network route.
Delete a network route of a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteNetworkAreaRouteRequest
Deprecated
*/
DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest
// DeleteNetworkAreaRouteExecute executes the request
// Deprecated
DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
/*
DeleteNic Delete a network interface.
Delete a network interface that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiDeleteNicRequest
Deprecated
*/
DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest
// DeleteNicExecute executes the request
// Deprecated
DeleteNicExecute(r ApiDeleteNicRequest) error
/*
DeletePublicIP Delete a public IP.
Delete a public IP that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiDeletePublicIPRequest
Deprecated
*/
DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest
// DeletePublicIPExecute executes the request
// Deprecated
DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
/*
DeleteSecurityGroup Delete security group.
Delete a security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiDeleteSecurityGroupRequest
Deprecated
*/
DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest
// DeleteSecurityGroupExecute executes the request
// Deprecated
DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
/*
DeleteSecurityGroupRule Delete security group rule.
Delete a security group rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiDeleteSecurityGroupRuleRequest
Deprecated
*/
DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest
// DeleteSecurityGroupRuleExecute executes the request
// Deprecated
DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
/*
DeleteServer Delete a server.
Delete a server. Volumes won't be deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeleteServerRequest
Deprecated
*/
DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest
// DeleteServerExecute executes the request
// Deprecated
DeleteServerExecute(r ApiDeleteServerRequest) error
/*
DeleteSnapshot Delete a snapshot.
Delete a snapshot that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiDeleteSnapshotRequest
Deprecated
*/
DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest
// DeleteSnapshotExecute executes the request
// Deprecated
DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error
/*
DeleteVolume Delete a volume.
Delete a volume inside a project. The deletion will fail if the volume is still in use.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiDeleteVolumeRequest
Deprecated
*/
DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest
// DeleteVolumeExecute executes the request
// Deprecated
DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
/*
GetAffinityGroup Get the affinity group.
Get the affinity group created in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiGetAffinityGroupRequest
Deprecated
*/
GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest
// GetAffinityGroupExecute executes the request
// @return AffinityGroup
// Deprecated
GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
/*
GetAttachedVolume Get Volume Attachment details.
Get the details of an existing Volume Attachment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetAttachedVolumeRequest
Deprecated
*/
GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
// GetAttachedVolumeExecute executes the request
// @return VolumeAttachment
// Deprecated
GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
/*
GetBackup Get details about a backup.
Get details about a block device backup.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiGetBackupRequest
Deprecated
*/
GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest
// GetBackupExecute executes the request
// @return Backup
// Deprecated
GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
/*
GetImage Get details about an image.
Get details about a specific Image inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiGetImageRequest
Deprecated
*/
GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest
// GetImageExecute executes the request
// @return Image
// Deprecated
GetImageExecute(r ApiGetImageRequest) (*Image, error)
GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest
// @return ImageShare
// Deprecated
GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
GetImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest
// @return ImageShareConsumer
// Deprecated
GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
/*
GetKeyPair Get SSH keypair details.
Get details about an SSH keypair.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiGetKeyPairRequest
Deprecated
*/
GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
// GetKeyPairExecute executes the request
// @return Keypair
// Deprecated
GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
/*
GetMachineType Get details about a machine type.
Get details about a specific machine type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param machineType STACKIT machine type Name.
@return ApiGetMachineTypeRequest
Deprecated
*/
GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest
// GetMachineTypeExecute executes the request
// @return MachineType
// Deprecated
GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
/*
GetNetwork Get network details.
Get details about a network of a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiGetNetworkRequest
Deprecated
*/
GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest
// GetNetworkExecute executes the request
// @return Network
// Deprecated
GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
/*
GetNetworkArea Get details about a network area.
Get details about a network area in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiGetNetworkAreaRequest
Deprecated
*/
GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
// GetNetworkAreaExecute executes the request
// @return NetworkArea
// Deprecated
GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
/*
GetNetworkAreaRange Get details about a network range.
Get details about a network range in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiGetNetworkAreaRangeRequest
Deprecated
*/
GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest
// GetNetworkAreaRangeExecute executes the request
// @return NetworkRange
// Deprecated
GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
/*
GetNetworkAreaRoute Get details about a network route.
Get details about a network route defined in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetNetworkAreaRouteRequest
Deprecated
*/
GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest
// GetNetworkAreaRouteExecute executes the request
// @return Route
// Deprecated
GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
/*
GetNic Get details about a network interface of a network.
Get details about a network interface inside a network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiGetNicRequest
Deprecated
*/
GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest
// GetNicExecute executes the request
// @return NIC
// Deprecated
GetNicExecute(r ApiGetNicRequest) (*NIC, error)
/*
GetOrganizationRequest Lookup an organization request ID.
Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetOrganizationRequestRequest
Deprecated
*/
GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
// GetOrganizationRequestExecute executes the request
// @return Request
// Deprecated
GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
/*
GetProjectDetails Get project details.
Get details about a STACKIT project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiGetProjectDetailsRequest
Deprecated
*/
GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
// GetProjectDetailsExecute executes the request
// @return Project
// Deprecated
GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
/*
GetProjectNIC Get details about a network interface of a project.
Get details about a network interface inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param nicId The identifier (ID) of a network interface.
@return ApiGetProjectNICRequest
Deprecated
*/
GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest
// GetProjectNICExecute executes the request
// @return NIC
// Deprecated
GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
/*
GetProjectRequest Lookup a project request ID.
Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetProjectRequestRequest
Deprecated
*/
GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest
// GetProjectRequestExecute executes the request
// @return Request
// Deprecated
GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
/*
GetPublicIP Get details about a public IP.
Get details about a public IP inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiGetPublicIPRequest
Deprecated
*/
GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest
// GetPublicIPExecute executes the request
// @return PublicIp
// Deprecated
GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
/*
GetSecurityGroup Get security group details.
Get details about a security group of a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiGetSecurityGroupRequest
Deprecated
*/
GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest
// GetSecurityGroupExecute executes the request
// @return SecurityGroup
// Deprecated
GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
/*
GetSecurityGroupRule Get security group rule details.
Get details about a security group rule of a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiGetSecurityGroupRuleRequest
Deprecated
*/
GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest
// GetSecurityGroupRuleExecute executes the request
// @return SecurityGroupRule
// Deprecated
GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
/*
GetServer Get server details.
Get details about a server by its ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerRequest
Deprecated
*/
GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest
// GetServerExecute executes the request
// @return Server
// Deprecated
GetServerExecute(r ApiGetServerRequest) (*Server, error)
/*
GetServerConsole Get server console.
Get a URL for server remote console.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerConsoleRequest
Deprecated
*/
GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest
// GetServerConsoleExecute executes the request
// @return ServerConsoleUrl
// Deprecated
GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
/*
GetServerLog Get server log.
Get server console log.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerLogRequest
Deprecated
*/
GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest
// GetServerLogExecute executes the request
// @return GetServerLog200Response
// Deprecated
GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
/*
GetSnapshot Get details about a snapshot.
Get details about a block device snapshot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiGetSnapshotRequest
Deprecated
*/
GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest
// GetSnapshotExecute executes the request
// @return Snapshot
// Deprecated
GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)
/*
GetVolume Get details about a volume.
Get details about a block device volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetVolumeRequest
Deprecated
*/
GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest
// GetVolumeExecute executes the request
// @return Volume
// Deprecated
GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
/*
GetVolumePerformanceClass Get details about a volume performance class.
Get details about a specific volume performance class.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumePerformanceClass The name of a STACKIT Volume performance class.
@return ApiGetVolumePerformanceClassRequest
Deprecated
*/
GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
// GetVolumePerformanceClassExecute executes the request
// @return VolumePerformanceClass
// Deprecated
GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
/*
ListAffinityGroups Get the affinity groups setup for a project.
Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListAffinityGroupsRequest
Deprecated
*/
ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest
// ListAffinityGroupsExecute executes the request
// @return AffinityGroupListResponse
// Deprecated
ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
/*
ListAttachedVolumes List all volume attachments of a server.
Get a list of all volume attachments of a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListAttachedVolumesRequest
Deprecated
*/
ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest
// ListAttachedVolumesExecute executes the request
// @return VolumeAttachmentListResponse
// Deprecated
ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
/*
ListAvailabilityZones List all availability zones.
Get a list of all availability zones.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListAvailabilityZonesRequest
Deprecated
*/
ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest
// ListAvailabilityZonesExecute executes the request
// @return AvailabilityZoneListResponse
// Deprecated
ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
/*
ListBackups List all backups inside a project.
Get a list of all backups inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListBackupsRequest
Deprecated
*/
ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest
// ListBackupsExecute executes the request
// @return BackupListResponse
// Deprecated
ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
/*
ListImages List all Images inside a project.
Get a list of all images inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListImagesRequest
Deprecated
*/
ListImages(ctx context.Context, projectId string) ApiListImagesRequest
// ListImagesExecute executes the request
// @return ImageListResponse
// Deprecated
ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
/*
ListKeyPairs List all SSH keypairs for the requesting user.
Get a list of all SSH keypairs assigned to the requesting user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListKeyPairsRequest
Deprecated
*/
ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
// ListKeyPairsExecute executes the request
// @return KeyPairListResponse
// Deprecated
ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
/*
ListMachineTypes List all machine types available for a project.
Get a list of all machine type available in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListMachineTypesRequest
Deprecated
*/
ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest
// ListMachineTypesExecute executes the request
// @return MachineTypeListResponse
// Deprecated
ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
/*
ListNetworkAreaProjects List all projects using a network area.
Get a list of all projects using a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaProjectsRequest
Deprecated
*/
ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
// ListNetworkAreaProjectsExecute executes the request
// @return ProjectListResponse
// Deprecated
ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
/*
ListNetworkAreaRanges List all network ranges in a network area.
Get a list of all network ranges in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRangesRequest
Deprecated
*/
ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest
// ListNetworkAreaRangesExecute executes the request
// @return NetworkRangeListResponse
// Deprecated
ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
/*
ListNetworkAreaRoutes List all network routes in a network area.
Get a list of all network routes defined in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRoutesRequest
Deprecated
*/
ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest
// ListNetworkAreaRoutesExecute executes the request
// @return RouteListResponse
// Deprecated
ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
/*
ListNetworkAreas List all network areas in an organization.
Get a list of all visible network areas defined in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiListNetworkAreasRequest
Deprecated
*/
ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
// ListNetworkAreasExecute executes the request
// @return NetworkAreaListResponse
// Deprecated
ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
/*
ListNetworks List all networks inside a project.
Get a list of all networks inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListNetworksRequest
Deprecated
*/
ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest
// ListNetworksExecute executes the request
// @return NetworkListResponse
// Deprecated
ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
/*
ListNics List all network interfaces inside a network.
Get a list of all network interfaces inside a network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiListNicsRequest
Deprecated
*/
ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest
// ListNicsExecute executes the request
// @return NICListResponse
// Deprecated
ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
/*
ListProjectNICs List all network interfaces inside a project.
Get a list of all network interfaces inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListProjectNICsRequest
Deprecated
*/
ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest
// ListProjectNICsExecute executes the request
// @return NICListResponse
// Deprecated
ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
/*
ListPublicIPRanges List all public IP ranges.
Get a list of all public IP ranges that STACKIT uses.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPublicIPRangesRequest
Deprecated
*/
ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
// ListPublicIPRangesExecute executes the request
// @return PublicNetworkListResponse
// Deprecated
ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
/*
ListPublicIPs List all public IPs inside a project.
Get a list of all public IPs inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListPublicIPsRequest
Deprecated
*/
ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest
// ListPublicIPsExecute executes the request
// @return PublicIpListResponse
// Deprecated
ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
/*
ListQuotas List project quotas.
List quota limits and usage for project resources.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListQuotasRequest
Deprecated
*/
ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest
// ListQuotasExecute executes the request
// @return QuotaListResponse
// Deprecated
ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
/*
ListSecurityGroupRules List all rules for a security group.
Get a list of all rules inside a security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiListSecurityGroupRulesRequest
Deprecated
*/
ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest
// ListSecurityGroupRulesExecute executes the request
// @return SecurityGroupRuleListResponse
// Deprecated
ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
/*
ListSecurityGroups List all security groups inside a project.
Get a list of all security groups inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListSecurityGroupsRequest
Deprecated
*/
ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest
// ListSecurityGroupsExecute executes the request
// @return SecurityGroupListResponse
// Deprecated
ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
/*
ListServerNics Get all network interfaces.
Get all network interfaces attached to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerNicsRequest
Deprecated
*/
ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest
// ListServerNicsExecute executes the request
// @return NICListResponse
// Deprecated
ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)
/*
ListServerServiceAccounts List all service accounts of the Server.
Get the list of the service accounts of the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerServiceAccountsRequest
Deprecated
*/
ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest
// ListServerServiceAccountsExecute executes the request
// @return ServiceAccountMailListResponse
// Deprecated
ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
/*
ListServers List all servers inside a project.
Get a list of all servers inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListServersRequest
Deprecated
*/
ListServers(ctx context.Context, projectId string) ApiListServersRequest
// ListServersExecute executes the request
// @return ServerListResponse
// Deprecated
ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
/*
ListSnapshots List all snapshots inside a project.
Get a list of all snapshots inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListSnapshotsRequest
Deprecated
*/
ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest
// ListSnapshotsExecute executes the request
// @return SnapshotListResponse
// Deprecated
ListSnapshotsExecute(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)
/*
ListVolumePerformanceClasses List all volume performance classes available for a project.
Get a list of all volume performance classes available inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListVolumePerformanceClassesRequest
Deprecated
*/
ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest
// ListVolumePerformanceClassesExecute executes the request
// @return VolumePerformanceClassListResponse
// Deprecated
ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
/*
ListVolumes List all volumes inside a project.
Get a list of all volumes inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListVolumesRequest
Deprecated
*/
ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest
// ListVolumesExecute executes the request
// @return VolumeListResponse
// Deprecated
ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
/*
PartialUpdateNetwork Update network settings.
Update the settings of a network inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiPartialUpdateNetworkRequest
Deprecated
*/
PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest
// PartialUpdateNetworkExecute executes the request
// Deprecated
PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
/*
PartialUpdateNetworkArea Update network area settings.
Update the settings of a network area in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiPartialUpdateNetworkAreaRequest
Deprecated
*/
PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
// PartialUpdateNetworkAreaExecute executes the request
// @return NetworkArea
// Deprecated
PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
/*
RebootServer Reboot the server.
Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRebootServerRequest
Deprecated
*/
RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest
// RebootServerExecute executes the request
// Deprecated
RebootServerExecute(r ApiRebootServerRequest) error
/*
RemoveNetworkFromServer Detach and delete all network interfaces associated with the specified network.
Detach and delete all network interfaces associated with the specified network from the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiRemoveNetworkFromServerRequest
Deprecated
*/
RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
// RemoveNetworkFromServerExecute executes the request
// Deprecated
RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
/*
RemoveNicFromServer Detach a network interface.
Detach a network interface from a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiRemoveNicFromServerRequest
Deprecated
*/
RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest
// RemoveNicFromServerExecute executes the request
// Deprecated
RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
/*
RemovePublicIpFromServer Dissociate a public IP from a server.
Dissociate a public IP on an existing server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiRemovePublicIpFromServerRequest
Deprecated
*/
RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
// RemovePublicIpFromServerExecute executes the request
// Deprecated
RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
/*
RemoveSecurityGroupFromServer Remove a server from a security group.
Remove a server from a attached security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiRemoveSecurityGroupFromServerRequest
Deprecated
*/
RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
// RemoveSecurityGroupFromServerExecute executes the request
// Deprecated
RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
/*
RemoveServiceAccountFromServer Detach a service account from a server.
Detach an additional service account from the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiRemoveServiceAccountFromServerRequest
Deprecated
*/
RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest
// RemoveServiceAccountFromServerExecute executes the request
// @return ServiceAccountMailListResponse
// Deprecated
RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
/*
RemoveVolumeFromServer Detach a volume from a server.
Detach an existing volume from an existing server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiRemoveVolumeFromServerRequest
Deprecated
*/
RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
// RemoveVolumeFromServerExecute executes the request
// Deprecated
RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
/*
RescueServer Rescue an existing server.
Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRescueServerRequest
Deprecated
*/
RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest
// RescueServerExecute executes the request
// Deprecated
RescueServerExecute(r ApiRescueServerRequest) error
/*
ResizeServer Resize a server.
Resize the server to the given machine type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiResizeServerRequest
Deprecated
*/
ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest
// ResizeServerExecute executes the request
// Deprecated
ResizeServerExecute(r ApiResizeServerRequest) error
/*
ResizeVolume Update the size of a volume.
Update the size of a block device volume. The new volume size must be larger than the current size.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiResizeVolumeRequest
Deprecated
*/
ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest
// ResizeVolumeExecute executes the request
// Deprecated
ResizeVolumeExecute(r ApiResizeVolumeRequest) error
/*
RestoreBackup Restore Backup to the referenced source Volume.
Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiRestoreBackupRequest
Deprecated
*/
RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest
// RestoreBackupExecute executes the request
// Deprecated
RestoreBackupExecute(r ApiRestoreBackupRequest) error
SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest
// @return ImageShare
// Deprecated
SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
/*
StartServer Boot up a server.
Start an existing server or allocates the server if deallocated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStartServerRequest
Deprecated
*/
StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest
// StartServerExecute executes the request
// Deprecated
StartServerExecute(r ApiStartServerRequest) error
/*
StopServer Stop an existing server.
Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStopServerRequest
Deprecated
*/
StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest
// StopServerExecute executes the request
// Deprecated
StopServerExecute(r ApiStopServerRequest) error
/*
UnrescueServer Unrescue an existing server.
Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUnrescueServerRequest
Deprecated
*/
UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest
// UnrescueServerExecute executes the request
// Deprecated
UnrescueServerExecute(r ApiUnrescueServerRequest) error
/*
UpdateAttachedVolume Update Volume Attachment Parameters.
Update the properties of an existing Volume Attachment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateAttachedVolumeRequest
Deprecated
*/
UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
// UpdateAttachedVolumeExecute executes the request
// @return VolumeAttachment
// Deprecated
UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
/*
UpdateBackup Update information of a backup.
Update name or labels of the backup.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiUpdateBackupRequest
Deprecated
*/
UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest
// UpdateBackupExecute executes the request
// @return Backup
// Deprecated
UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)
/*
UpdateImage Update Image Parameters.
Update the properties of an existing Image inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageRequest
Deprecated
*/
UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest
// UpdateImageExecute executes the request
// @return Image
// Deprecated
UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
/*
UpdateImageScopeLocal Update Image Scope to Local.
Update the scope property of an existing Image inside a project to local.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageScopeLocalRequest
Deprecated
*/
UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest
// UpdateImageScopeLocalExecute executes the request
// @return Image
// Deprecated
UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)
/*
UpdateImageScopePublic Update Image Scope to Public.
Update the scope property of an existing Image inside a project to public.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageScopePublicRequest
Deprecated
*/
UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest
// UpdateImageScopePublicExecute executes the request
// @return Image
// Deprecated
UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)
UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest
// @return ImageShare
// Deprecated
UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
/*
UpdateKeyPair Update information of an SSH keypair.
Update labels of the SSH keypair.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiUpdateKeyPairRequest
Deprecated
*/
UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
// UpdateKeyPairExecute executes the request
// @return Keypair
// Deprecated
UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
/*
UpdateNetworkAreaRoute Update a network route.
Update a network route defined in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiUpdateNetworkAreaRouteRequest
Deprecated
*/
UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest
// UpdateNetworkAreaRouteExecute executes the request
// @return Route
// Deprecated
UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
/*
UpdateNic Update a network interface.
Update the properties of an existing network interface inside a network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiUpdateNicRequest
Deprecated
*/
UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest
// UpdateNicExecute executes the request
// @return NIC
// Deprecated
UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
/*
UpdatePublicIP Update a public IP.
Update the properties of an existing public IP inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiUpdatePublicIPRequest
Deprecated
*/
UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest
// UpdatePublicIPExecute executes the request
// @return PublicIp
// Deprecated
UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
/*
UpdateSecurityGroup Update information of a security group.
Update labels of the security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiUpdateSecurityGroupRequest
Deprecated
*/
UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest
// UpdateSecurityGroupExecute executes the request
// @return SecurityGroup
// Deprecated
UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
/*
UpdateServer Update information of a server.
Update name or labels of the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUpdateServerRequest
Deprecated
*/
UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest
// UpdateServerExecute executes the request
// @return Server
// Deprecated
UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
/*
UpdateSnapshot Update information of the snapshot.
Update information like name or labels of the snapshot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiUpdateSnapshotRequest
Deprecated
*/
UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest
// UpdateSnapshotExecute executes the request
// @return Snapshot
// Deprecated
UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)
/*
UpdateVolume Update information of a volume.
Update name, description or labels of the volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateVolumeRequest
Deprecated
*/
UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest
// UpdateVolumeExecute executes the request
// @return Volume
// Deprecated
UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) AddNetworkToServer ¶
func (a *DefaultAPIService) AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest
AddNetworkToServer Create and attach a network interface from the specified network.
Create and attach a network interface from the specified network to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param networkId The identifier (ID) of a STACKIT Network. @return ApiAddNetworkToServerRequest
Deprecated
func (*DefaultAPIService) AddNetworkToServerExecute ¶
func (a *DefaultAPIService) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) AddNicToServer ¶
func (a *DefaultAPIService) AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest
AddNicToServer Attach an existing network interface.
Attach an existing network interface to a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param nicId The identifier (ID) of a network interface. @return ApiAddNicToServerRequest
Deprecated
func (*DefaultAPIService) AddNicToServerExecute ¶
func (a *DefaultAPIService) AddNicToServerExecute(r ApiAddNicToServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) AddPublicIpToServer ¶
func (a *DefaultAPIService) AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
AddPublicIpToServer Associate a public IP to the server.
Associate a public IP to a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param publicIpId The identifier (ID) of a Public IP. @return ApiAddPublicIpToServerRequest
Deprecated
func (*DefaultAPIService) AddPublicIpToServerExecute ¶
func (a *DefaultAPIService) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) AddSecurityGroupToServer ¶
func (a *DefaultAPIService) AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
AddSecurityGroupToServer Add a server to a security group.
Add an existing server to an existing security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiAddSecurityGroupToServerRequest
Deprecated
func (*DefaultAPIService) AddSecurityGroupToServerExecute ¶
func (a *DefaultAPIService) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) AddServiceAccountToServer ¶
func (a *DefaultAPIService) AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest
AddServiceAccountToServer Attach service account to a server.
Attach an additional service account to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param serviceAccountMail The e-mail address of a service account. @return ApiAddServiceAccountToServerRequest
Deprecated
func (*DefaultAPIService) AddServiceAccountToServerExecute ¶
func (a *DefaultAPIService) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
Execute executes the request
@return ServiceAccountMailListResponse
Deprecated
func (*DefaultAPIService) AddVolumeToServer ¶
func (a *DefaultAPIService) AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest
AddVolumeToServer Attach a volume to a server.
Attach an existing volume to an existing server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiAddVolumeToServerRequest
Deprecated
func (*DefaultAPIService) AddVolumeToServerExecute ¶
func (a *DefaultAPIService) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
Execute executes the request
@return VolumeAttachment
Deprecated
func (*DefaultAPIService) CreateAffinityGroup ¶
func (a *DefaultAPIService) CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest
CreateAffinityGroup Create a new affinity group in a project.
Create a new server affinity group in the given project ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateAffinityGroupRequest
Deprecated
func (*DefaultAPIService) CreateAffinityGroupExecute ¶
func (a *DefaultAPIService) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
Execute executes the request
@return AffinityGroup
Deprecated
func (*DefaultAPIService) CreateBackup ¶
func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest
CreateBackup Create new Backup.
Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateBackupRequest
Deprecated
func (*DefaultAPIService) CreateBackupExecute ¶
func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
Deprecated
func (*DefaultAPIService) CreateImage ¶
func (a *DefaultAPIService) CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest
CreateImage Create new Image.
Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateImageRequest
Deprecated
func (*DefaultAPIService) CreateImageExecute ¶
func (a *DefaultAPIService) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
Execute executes the request
@return ImageCreateResponse
Deprecated
func (*DefaultAPIService) CreateKeyPair ¶
func (a *DefaultAPIService) CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
CreateKeyPair Import a public key.
Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. Supported keypair types are ecdsa, ed25519 and rsa.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateKeyPairRequest
Deprecated
func (*DefaultAPIService) CreateKeyPairExecute ¶
func (a *DefaultAPIService) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
Execute executes the request
@return Keypair
Deprecated
func (*DefaultAPIService) CreateNetwork ¶
func (a *DefaultAPIService) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest
CreateNetwork Create new network.
Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateNetworkRequest
Deprecated
func (*DefaultAPIService) CreateNetworkArea ¶
func (a *DefaultAPIService) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
CreateNetworkArea Create new network area in an organization.
Create a new network area in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @return ApiCreateNetworkAreaRequest
Deprecated
func (*DefaultAPIService) CreateNetworkAreaExecute ¶
func (a *DefaultAPIService) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
Execute executes the request
@return NetworkArea
Deprecated
func (*DefaultAPIService) CreateNetworkAreaRange ¶
func (a *DefaultAPIService) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest
CreateNetworkAreaRange Create new network range in a network area.
Create a new network range in an existing network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiCreateNetworkAreaRangeRequest
Deprecated
func (*DefaultAPIService) CreateNetworkAreaRangeExecute ¶
func (a *DefaultAPIService) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
Execute executes the request
@return NetworkRangeListResponse
Deprecated
func (*DefaultAPIService) CreateNetworkAreaRoute ¶
func (a *DefaultAPIService) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest
CreateNetworkAreaRoute Create new network routes.
Create one or several new network routes in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiCreateNetworkAreaRouteRequest
Deprecated
func (*DefaultAPIService) CreateNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
Execute executes the request
@return RouteListResponse
Deprecated
func (*DefaultAPIService) CreateNetworkExecute ¶
func (a *DefaultAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
Execute executes the request
@return Network
Deprecated
func (*DefaultAPIService) CreateNic ¶
func (a *DefaultAPIService) CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest
CreateNic Create new network interface.
Create a new network interface in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @return ApiCreateNicRequest
Deprecated
func (*DefaultAPIService) CreateNicExecute ¶
func (a *DefaultAPIService) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
Execute executes the request
@return NIC
Deprecated
func (*DefaultAPIService) CreatePublicIP ¶
func (a *DefaultAPIService) CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest
CreatePublicIP Create new public IP.
Create a new public IP in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreatePublicIPRequest
Deprecated
func (*DefaultAPIService) CreatePublicIPExecute ¶
func (a *DefaultAPIService) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
Execute executes the request
@return PublicIp
Deprecated
func (*DefaultAPIService) CreateSecurityGroup ¶
func (a *DefaultAPIService) CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest
CreateSecurityGroup Create new security group.
Create a new security group in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateSecurityGroupRequest
Deprecated
func (*DefaultAPIService) CreateSecurityGroupExecute ¶
func (a *DefaultAPIService) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
Execute executes the request
@return SecurityGroup
Deprecated
func (*DefaultAPIService) CreateSecurityGroupRule ¶
func (a *DefaultAPIService) CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
CreateSecurityGroupRule Create new security group rule.
Create a new security group rule in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiCreateSecurityGroupRuleRequest
Deprecated
func (*DefaultAPIService) CreateSecurityGroupRuleExecute ¶
func (a *DefaultAPIService) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
Execute executes the request
@return SecurityGroupRule
Deprecated
func (*DefaultAPIService) CreateServer ¶
func (a *DefaultAPIService) CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest
CreateServer Create new server.
Create a new server in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateServerRequest
Deprecated
func (*DefaultAPIService) CreateServerExecute ¶
func (a *DefaultAPIService) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
Execute executes the request
@return Server
Deprecated
func (*DefaultAPIService) CreateSnapshot ¶
func (a *DefaultAPIService) CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest
CreateSnapshot Create new Snapshot.
Create a new Snapshot from a Volume in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateSnapshotRequest
Deprecated
func (*DefaultAPIService) CreateSnapshotExecute ¶
func (a *DefaultAPIService) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)
Execute executes the request
@return Snapshot
Deprecated
func (*DefaultAPIService) CreateVolume ¶
func (a *DefaultAPIService) CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest
CreateVolume Create new volume.
Create a new volume in a project. If a volume source is not provided, an empty volume will be created. The size property is required if no source or an image source is provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiCreateVolumeRequest
Deprecated
func (*DefaultAPIService) CreateVolumeExecute ¶
func (a *DefaultAPIService) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
Execute executes the request
@return Volume
Deprecated
func (*DefaultAPIService) DeallocateServer ¶
func (a *DefaultAPIService) DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest
DeallocateServer Deallocate an existing server.
Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiDeallocateServerRequest
Deprecated
func (*DefaultAPIService) DeallocateServerExecute ¶
func (a *DefaultAPIService) DeallocateServerExecute(r ApiDeallocateServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteAffinityGroup ¶
func (a *DefaultAPIService) DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest
DeleteAffinityGroup Delete a affinity group in a project.
Delete a affinity group in the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param affinityGroupId The identifier (ID) of a STACKIT Affinity Group. @return ApiDeleteAffinityGroupRequest
Deprecated
func (*DefaultAPIService) DeleteAffinityGroupExecute ¶
func (a *DefaultAPIService) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteBackup ¶
func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest
DeleteBackup Delete a backup.
Delete a backup that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiDeleteBackupRequest
Deprecated
func (*DefaultAPIService) DeleteBackupExecute ¶
func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteImage ¶
func (a *DefaultAPIService) DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest
DeleteImage Delete an Image.
Delete an image that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiDeleteImageRequest
Deprecated
func (*DefaultAPIService) DeleteImageExecute ¶
func (a *DefaultAPIService) DeleteImageExecute(r ApiDeleteImageRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteImageShare ¶
func (a *DefaultAPIService) DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest
DeleteImageShare Remove image share.
Remove the image share. New scope will be local.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiDeleteImageShareRequest
Deprecated
func (*DefaultAPIService) DeleteImageShareConsumer ¶
func (a *DefaultAPIService) DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest
DeleteImageShareConsumer Remove an image share consumer.
Remove consumer from a shared image.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share. @return ApiDeleteImageShareConsumerRequest
Deprecated
func (*DefaultAPIService) DeleteImageShareConsumerExecute ¶
func (a *DefaultAPIService) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteImageShareExecute ¶
func (a *DefaultAPIService) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteKeyPair ¶
func (a *DefaultAPIService) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
DeleteKeyPair Delete an SSH keypair.
Delete an SSH keypair from a user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param keypairName The name of an SSH keypair. @return ApiDeleteKeyPairRequest
Deprecated
func (*DefaultAPIService) DeleteKeyPairExecute ¶
func (a *DefaultAPIService) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteNetwork ¶
func (a *DefaultAPIService) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest
DeleteNetwork Delete network.
Delete a network. If the network is still in use, the deletion will fail.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @return ApiDeleteNetworkRequest
Deprecated
func (*DefaultAPIService) DeleteNetworkArea ¶
func (a *DefaultAPIService) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
DeleteNetworkArea Delete a network area.
Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiDeleteNetworkAreaRequest
Deprecated
func (*DefaultAPIService) DeleteNetworkAreaExecute ¶
func (a *DefaultAPIService) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteNetworkAreaRange ¶
func (a *DefaultAPIService) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest
DeleteNetworkAreaRange Delete a network range.
Delete a network range of a network area. The deletion will fail if the network range is still used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @param networkRangeId The identifier (ID) of a STACKIT Network Range. @return ApiDeleteNetworkAreaRangeRequest
Deprecated
func (*DefaultAPIService) DeleteNetworkAreaRangeExecute ¶
func (a *DefaultAPIService) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteNetworkAreaRoute ¶
func (a *DefaultAPIService) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest
DeleteNetworkAreaRoute Delete a network route.
Delete a network route of a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @param routeId The identifier (ID) of a STACKIT Route. @return ApiDeleteNetworkAreaRouteRequest
Deprecated
func (*DefaultAPIService) DeleteNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteNetworkExecute ¶
func (a *DefaultAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteNic ¶
func (a *DefaultAPIService) DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest
DeleteNic Delete a network interface.
Delete a network interface that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @param nicId The identifier (ID) of a network interface. @return ApiDeleteNicRequest
Deprecated
func (*DefaultAPIService) DeleteNicExecute ¶
func (a *DefaultAPIService) DeleteNicExecute(r ApiDeleteNicRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeletePublicIP ¶
func (a *DefaultAPIService) DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest
DeletePublicIP Delete a public IP.
Delete a public IP that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param publicIpId The identifier (ID) of a Public IP. @return ApiDeletePublicIPRequest
Deprecated
func (*DefaultAPIService) DeletePublicIPExecute ¶
func (a *DefaultAPIService) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteSecurityGroup ¶
func (a *DefaultAPIService) DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest
DeleteSecurityGroup Delete security group.
Delete a security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiDeleteSecurityGroupRequest
Deprecated
func (*DefaultAPIService) DeleteSecurityGroupExecute ¶
func (a *DefaultAPIService) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteSecurityGroupRule ¶
func (a *DefaultAPIService) DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest
DeleteSecurityGroupRule Delete security group rule.
Delete a security group rule.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule. @return ApiDeleteSecurityGroupRuleRequest
Deprecated
func (*DefaultAPIService) DeleteSecurityGroupRuleExecute ¶
func (a *DefaultAPIService) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteServer ¶
func (a *DefaultAPIService) DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest
DeleteServer Delete a server.
Delete a server. Volumes won't be deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiDeleteServerRequest
Deprecated
func (*DefaultAPIService) DeleteServerExecute ¶
func (a *DefaultAPIService) DeleteServerExecute(r ApiDeleteServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteSnapshot ¶
func (a *DefaultAPIService) DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest
DeleteSnapshot Delete a snapshot.
Delete a snapshot that is part of the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param snapshotId The identifier (ID) of a STACKIT Snapshot. @return ApiDeleteSnapshotRequest
Deprecated
func (*DefaultAPIService) DeleteSnapshotExecute ¶
func (a *DefaultAPIService) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) DeleteVolume ¶
func (a *DefaultAPIService) DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest
DeleteVolume Delete a volume.
Delete a volume inside a project. The deletion will fail if the volume is still in use.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiDeleteVolumeRequest
Deprecated
func (*DefaultAPIService) DeleteVolumeExecute ¶
func (a *DefaultAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) GetAffinityGroup ¶
func (a *DefaultAPIService) GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest
GetAffinityGroup Get the affinity group.
Get the affinity group created in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param affinityGroupId The identifier (ID) of a STACKIT Affinity Group. @return ApiGetAffinityGroupRequest
Deprecated
func (*DefaultAPIService) GetAffinityGroupExecute ¶
func (a *DefaultAPIService) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
Execute executes the request
@return AffinityGroup
Deprecated
func (*DefaultAPIService) GetAttachedVolume ¶
func (a *DefaultAPIService) GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
GetAttachedVolume Get Volume Attachment details.
Get the details of an existing Volume Attachment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiGetAttachedVolumeRequest
Deprecated
func (*DefaultAPIService) GetAttachedVolumeExecute ¶
func (a *DefaultAPIService) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
Execute executes the request
@return VolumeAttachment
Deprecated
func (*DefaultAPIService) GetBackup ¶
func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest
GetBackup Get details about a backup.
Get details about a block device backup.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiGetBackupRequest
Deprecated
func (*DefaultAPIService) GetBackupExecute ¶
func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
Deprecated
func (*DefaultAPIService) GetImage ¶
func (a *DefaultAPIService) GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest
GetImage Get details about an image.
Get details about a specific Image inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiGetImageRequest
Deprecated
func (*DefaultAPIService) GetImageExecute ¶
func (a *DefaultAPIService) GetImageExecute(r ApiGetImageRequest) (*Image, error)
Execute executes the request
@return Image
Deprecated
func (*DefaultAPIService) GetImageShare ¶
func (a *DefaultAPIService) GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest
GetImageShare Get share details of an image.
Get share details about an shared image.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiGetImageShareRequest
Deprecated
func (*DefaultAPIService) GetImageShareConsumer ¶
func (a *DefaultAPIService) GetImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest
GetImageShareConsumer Get image share consumer.
Get details about an image share consumer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share. @return ApiGetImageShareConsumerRequest
Deprecated
func (*DefaultAPIService) GetImageShareConsumerExecute ¶
func (a *DefaultAPIService) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
Execute executes the request
@return ImageShareConsumer
Deprecated
func (*DefaultAPIService) GetImageShareExecute ¶
func (a *DefaultAPIService) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
Execute executes the request
@return ImageShare
Deprecated
func (*DefaultAPIService) GetKeyPair ¶
func (a *DefaultAPIService) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
GetKeyPair Get SSH keypair details.
Get details about an SSH keypair.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param keypairName The name of an SSH keypair. @return ApiGetKeyPairRequest
Deprecated
func (*DefaultAPIService) GetKeyPairExecute ¶
func (a *DefaultAPIService) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
Execute executes the request
@return Keypair
Deprecated
func (*DefaultAPIService) GetMachineType ¶
func (a *DefaultAPIService) GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest
GetMachineType Get details about a machine type.
Get details about a specific machine type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param machineType STACKIT machine type Name. @return ApiGetMachineTypeRequest
Deprecated
func (*DefaultAPIService) GetMachineTypeExecute ¶
func (a *DefaultAPIService) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
Execute executes the request
@return MachineType
Deprecated
func (*DefaultAPIService) GetNetwork ¶
func (a *DefaultAPIService) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest
GetNetwork Get network details.
Get details about a network of a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @return ApiGetNetworkRequest
Deprecated
func (*DefaultAPIService) GetNetworkArea ¶
func (a *DefaultAPIService) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
GetNetworkArea Get details about a network area.
Get details about a network area in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiGetNetworkAreaRequest
Deprecated
func (*DefaultAPIService) GetNetworkAreaExecute ¶
func (a *DefaultAPIService) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
Execute executes the request
@return NetworkArea
Deprecated
func (*DefaultAPIService) GetNetworkAreaRange ¶
func (a *DefaultAPIService) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest
GetNetworkAreaRange Get details about a network range.
Get details about a network range in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @param networkRangeId The identifier (ID) of a STACKIT Network Range. @return ApiGetNetworkAreaRangeRequest
Deprecated
func (*DefaultAPIService) GetNetworkAreaRangeExecute ¶
func (a *DefaultAPIService) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
Execute executes the request
@return NetworkRange
Deprecated
func (*DefaultAPIService) GetNetworkAreaRoute ¶
func (a *DefaultAPIService) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest
GetNetworkAreaRoute Get details about a network route.
Get details about a network route defined in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @param routeId The identifier (ID) of a STACKIT Route. @return ApiGetNetworkAreaRouteRequest
Deprecated
func (*DefaultAPIService) GetNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
Execute executes the request
@return Route
Deprecated
func (*DefaultAPIService) GetNetworkExecute ¶
func (a *DefaultAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
Execute executes the request
@return Network
Deprecated
func (*DefaultAPIService) GetNic ¶
func (a *DefaultAPIService) GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest
GetNic Get details about a network interface of a network.
Get details about a network interface inside a network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @param nicId The identifier (ID) of a network interface. @return ApiGetNicRequest
Deprecated
func (*DefaultAPIService) GetNicExecute ¶
func (a *DefaultAPIService) GetNicExecute(r ApiGetNicRequest) (*NIC, error)
Execute executes the request
@return NIC
Deprecated
func (*DefaultAPIService) GetOrganizationRequest ¶
func (a *DefaultAPIService) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
GetOrganizationRequest Lookup an organization request ID.
Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param requestId The identifier (ID) of a STACKIT Request. @return ApiGetOrganizationRequestRequest
Deprecated
func (*DefaultAPIService) GetOrganizationRequestExecute ¶
func (a *DefaultAPIService) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
Execute executes the request
@return Request
Deprecated
func (*DefaultAPIService) GetProjectDetails ¶
func (a *DefaultAPIService) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
GetProjectDetails Get project details.
Get details about a STACKIT project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiGetProjectDetailsRequest
Deprecated
func (*DefaultAPIService) GetProjectDetailsExecute ¶
func (a *DefaultAPIService) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
Execute executes the request
@return Project
Deprecated
func (*DefaultAPIService) GetProjectNIC ¶
func (a *DefaultAPIService) GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest
GetProjectNIC Get details about a network interface of a project.
Get details about a network interface inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param nicId The identifier (ID) of a network interface. @return ApiGetProjectNICRequest
Deprecated
func (*DefaultAPIService) GetProjectNICExecute ¶
func (a *DefaultAPIService) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
Execute executes the request
@return NIC
Deprecated
func (*DefaultAPIService) GetProjectRequest ¶
func (a *DefaultAPIService) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest
GetProjectRequest Lookup a project request ID.
Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param requestId The identifier (ID) of a STACKIT Request. @return ApiGetProjectRequestRequest
Deprecated
func (*DefaultAPIService) GetProjectRequestExecute ¶
func (a *DefaultAPIService) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
Execute executes the request
@return Request
Deprecated
func (*DefaultAPIService) GetPublicIP ¶
func (a *DefaultAPIService) GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest
GetPublicIP Get details about a public IP.
Get details about a public IP inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param publicIpId The identifier (ID) of a Public IP. @return ApiGetPublicIPRequest
Deprecated
func (*DefaultAPIService) GetPublicIPExecute ¶
func (a *DefaultAPIService) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
Execute executes the request
@return PublicIp
Deprecated
func (*DefaultAPIService) GetSecurityGroup ¶
func (a *DefaultAPIService) GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest
GetSecurityGroup Get security group details.
Get details about a security group of a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiGetSecurityGroupRequest
Deprecated
func (*DefaultAPIService) GetSecurityGroupExecute ¶
func (a *DefaultAPIService) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
Execute executes the request
@return SecurityGroup
Deprecated
func (*DefaultAPIService) GetSecurityGroupRule ¶
func (a *DefaultAPIService) GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest
GetSecurityGroupRule Get security group rule details.
Get details about a security group rule of a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule. @return ApiGetSecurityGroupRuleRequest
Deprecated
func (*DefaultAPIService) GetSecurityGroupRuleExecute ¶
func (a *DefaultAPIService) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
Execute executes the request
@return SecurityGroupRule
Deprecated
func (*DefaultAPIService) GetServer ¶
func (a *DefaultAPIService) GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest
GetServer Get server details.
Get details about a server by its ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiGetServerRequest
Deprecated
func (*DefaultAPIService) GetServerConsole ¶
func (a *DefaultAPIService) GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest
GetServerConsole Get server console.
Get a URL for server remote console.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiGetServerConsoleRequest
Deprecated
func (*DefaultAPIService) GetServerConsoleExecute ¶
func (a *DefaultAPIService) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
Execute executes the request
@return ServerConsoleUrl
Deprecated
func (*DefaultAPIService) GetServerExecute ¶
func (a *DefaultAPIService) GetServerExecute(r ApiGetServerRequest) (*Server, error)
Execute executes the request
@return Server
Deprecated
func (*DefaultAPIService) GetServerLog ¶
func (a *DefaultAPIService) GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest
GetServerLog Get server log.
Get server console log.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiGetServerLogRequest
Deprecated
func (*DefaultAPIService) GetServerLogExecute ¶
func (a *DefaultAPIService) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
Execute executes the request
@return GetServerLog200Response
Deprecated
func (*DefaultAPIService) GetSnapshot ¶
func (a *DefaultAPIService) GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest
GetSnapshot Get details about a snapshot.
Get details about a block device snapshot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param snapshotId The identifier (ID) of a STACKIT Snapshot. @return ApiGetSnapshotRequest
Deprecated
func (*DefaultAPIService) GetSnapshotExecute ¶
func (a *DefaultAPIService) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)
Execute executes the request
@return Snapshot
Deprecated
func (*DefaultAPIService) GetVolume ¶
func (a *DefaultAPIService) GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest
GetVolume Get details about a volume.
Get details about a block device volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiGetVolumeRequest
Deprecated
func (*DefaultAPIService) GetVolumeExecute ¶
func (a *DefaultAPIService) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
Execute executes the request
@return Volume
Deprecated
func (*DefaultAPIService) GetVolumePerformanceClass ¶
func (a *DefaultAPIService) GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
GetVolumePerformanceClass Get details about a volume performance class.
Get details about a specific volume performance class.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param volumePerformanceClass The name of a STACKIT Volume performance class. @return ApiGetVolumePerformanceClassRequest
Deprecated
func (*DefaultAPIService) GetVolumePerformanceClassExecute ¶
func (a *DefaultAPIService) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
Execute executes the request
@return VolumePerformanceClass
Deprecated
func (*DefaultAPIService) ListAffinityGroups ¶
func (a *DefaultAPIService) ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest
ListAffinityGroups Get the affinity groups setup for a project.
Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListAffinityGroupsRequest
Deprecated
func (*DefaultAPIService) ListAffinityGroupsExecute ¶
func (a *DefaultAPIService) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
Execute executes the request
@return AffinityGroupListResponse
Deprecated
func (*DefaultAPIService) ListAttachedVolumes ¶
func (a *DefaultAPIService) ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest
ListAttachedVolumes List all volume attachments of a server.
Get a list of all volume attachments of a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiListAttachedVolumesRequest
Deprecated
func (*DefaultAPIService) ListAttachedVolumesExecute ¶
func (a *DefaultAPIService) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
Execute executes the request
@return VolumeAttachmentListResponse
Deprecated
func (*DefaultAPIService) ListAvailabilityZones ¶
func (a *DefaultAPIService) ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest
ListAvailabilityZones List all availability zones.
Get a list of all availability zones.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAvailabilityZonesRequest
Deprecated
func (*DefaultAPIService) ListAvailabilityZonesExecute ¶
func (a *DefaultAPIService) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
Execute executes the request
@return AvailabilityZoneListResponse
Deprecated
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest
ListBackups List all backups inside a project.
Get a list of all backups inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListBackupsRequest
Deprecated
func (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
Execute executes the request
@return BackupListResponse
Deprecated
func (*DefaultAPIService) ListImages ¶
func (a *DefaultAPIService) ListImages(ctx context.Context, projectId string) ApiListImagesRequest
ListImages List all Images inside a project.
Get a list of all images inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListImagesRequest
Deprecated
func (*DefaultAPIService) ListImagesExecute ¶
func (a *DefaultAPIService) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
Execute executes the request
@return ImageListResponse
Deprecated
func (*DefaultAPIService) ListKeyPairs ¶
func (a *DefaultAPIService) ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
ListKeyPairs List all SSH keypairs for the requesting user.
Get a list of all SSH keypairs assigned to the requesting user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListKeyPairsRequest
Deprecated
func (*DefaultAPIService) ListKeyPairsExecute ¶
func (a *DefaultAPIService) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
Execute executes the request
@return KeyPairListResponse
Deprecated
func (*DefaultAPIService) ListMachineTypes ¶
func (a *DefaultAPIService) ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest
ListMachineTypes List all machine types available for a project.
Get a list of all machine type available in a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListMachineTypesRequest
Deprecated
func (*DefaultAPIService) ListMachineTypesExecute ¶
func (a *DefaultAPIService) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
Execute executes the request
@return MachineTypeListResponse
Deprecated
func (*DefaultAPIService) ListNetworkAreaProjects ¶
func (a *DefaultAPIService) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
ListNetworkAreaProjects List all projects using a network area.
Get a list of all projects using a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiListNetworkAreaProjectsRequest
Deprecated
func (*DefaultAPIService) ListNetworkAreaProjectsExecute ¶
func (a *DefaultAPIService) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
Execute executes the request
@return ProjectListResponse
Deprecated
func (*DefaultAPIService) ListNetworkAreaRanges ¶
func (a *DefaultAPIService) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest
ListNetworkAreaRanges List all network ranges in a network area.
Get a list of all network ranges in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiListNetworkAreaRangesRequest
Deprecated
func (*DefaultAPIService) ListNetworkAreaRangesExecute ¶
func (a *DefaultAPIService) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
Execute executes the request
@return NetworkRangeListResponse
Deprecated
func (*DefaultAPIService) ListNetworkAreaRoutes ¶
func (a *DefaultAPIService) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest
ListNetworkAreaRoutes List all network routes in a network area.
Get a list of all network routes defined in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiListNetworkAreaRoutesRequest
Deprecated
func (*DefaultAPIService) ListNetworkAreaRoutesExecute ¶
func (a *DefaultAPIService) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
Execute executes the request
@return RouteListResponse
Deprecated
func (*DefaultAPIService) ListNetworkAreas ¶
func (a *DefaultAPIService) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
ListNetworkAreas List all network areas in an organization.
Get a list of all visible network areas defined in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @return ApiListNetworkAreasRequest
Deprecated
func (*DefaultAPIService) ListNetworkAreasExecute ¶
func (a *DefaultAPIService) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
Execute executes the request
@return NetworkAreaListResponse
Deprecated
func (*DefaultAPIService) ListNetworks ¶
func (a *DefaultAPIService) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest
ListNetworks List all networks inside a project.
Get a list of all networks inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListNetworksRequest
Deprecated
func (*DefaultAPIService) ListNetworksExecute ¶
func (a *DefaultAPIService) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
Execute executes the request
@return NetworkListResponse
Deprecated
func (*DefaultAPIService) ListNics ¶
func (a *DefaultAPIService) ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest
ListNics List all network interfaces inside a network.
Get a list of all network interfaces inside a network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @return ApiListNicsRequest
Deprecated
func (*DefaultAPIService) ListNicsExecute ¶
func (a *DefaultAPIService) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
Execute executes the request
@return NICListResponse
Deprecated
func (*DefaultAPIService) ListProjectNICs ¶
func (a *DefaultAPIService) ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest
ListProjectNICs List all network interfaces inside a project.
Get a list of all network interfaces inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListProjectNICsRequest
Deprecated
func (*DefaultAPIService) ListProjectNICsExecute ¶
func (a *DefaultAPIService) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
Execute executes the request
@return NICListResponse
Deprecated
func (*DefaultAPIService) ListPublicIPRanges ¶
func (a *DefaultAPIService) ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
ListPublicIPRanges List all public IP ranges.
Get a list of all public IP ranges that STACKIT uses.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPublicIPRangesRequest
Deprecated
func (*DefaultAPIService) ListPublicIPRangesExecute ¶
func (a *DefaultAPIService) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
Execute executes the request
@return PublicNetworkListResponse
Deprecated
func (*DefaultAPIService) ListPublicIPs ¶
func (a *DefaultAPIService) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest
ListPublicIPs List all public IPs inside a project.
Get a list of all public IPs inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListPublicIPsRequest
Deprecated
func (*DefaultAPIService) ListPublicIPsExecute ¶
func (a *DefaultAPIService) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
Execute executes the request
@return PublicIpListResponse
Deprecated
func (*DefaultAPIService) ListQuotas ¶
func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest
ListQuotas List project quotas.
List quota limits and usage for project resources.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListQuotasRequest
Deprecated
func (*DefaultAPIService) ListQuotasExecute ¶
func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
Execute executes the request
@return QuotaListResponse
Deprecated
func (*DefaultAPIService) ListSecurityGroupRules ¶
func (a *DefaultAPIService) ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest
ListSecurityGroupRules List all rules for a security group.
Get a list of all rules inside a security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiListSecurityGroupRulesRequest
Deprecated
func (*DefaultAPIService) ListSecurityGroupRulesExecute ¶
func (a *DefaultAPIService) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
Execute executes the request
@return SecurityGroupRuleListResponse
Deprecated
func (*DefaultAPIService) ListSecurityGroups ¶
func (a *DefaultAPIService) ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest
ListSecurityGroups List all security groups inside a project.
Get a list of all security groups inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListSecurityGroupsRequest
Deprecated
func (*DefaultAPIService) ListSecurityGroupsExecute ¶
func (a *DefaultAPIService) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
Execute executes the request
@return SecurityGroupListResponse
Deprecated
func (*DefaultAPIService) ListServerNics ¶
func (a *DefaultAPIService) ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest
ListServerNics Get all network interfaces.
Get all network interfaces attached to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiListServerNicsRequest
Deprecated
func (*DefaultAPIService) ListServerNicsExecute ¶
func (a *DefaultAPIService) ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)
Execute executes the request
@return NICListResponse
Deprecated
func (*DefaultAPIService) ListServerServiceAccounts ¶
func (a *DefaultAPIService) ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest
ListServerServiceAccounts List all service accounts of the Server.
Get the list of the service accounts of the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiListServerServiceAccountsRequest
Deprecated
func (*DefaultAPIService) ListServerServiceAccountsExecute ¶
func (a *DefaultAPIService) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
Execute executes the request
@return ServiceAccountMailListResponse
Deprecated
func (*DefaultAPIService) ListServers ¶
func (a *DefaultAPIService) ListServers(ctx context.Context, projectId string) ApiListServersRequest
ListServers List all servers inside a project.
Get a list of all servers inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListServersRequest
Deprecated
func (*DefaultAPIService) ListServersExecute ¶
func (a *DefaultAPIService) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
Execute executes the request
@return ServerListResponse
Deprecated
func (*DefaultAPIService) ListSnapshots ¶
func (a *DefaultAPIService) ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest
ListSnapshots List all snapshots inside a project.
Get a list of all snapshots inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListSnapshotsRequest
Deprecated
func (*DefaultAPIService) ListSnapshotsExecute ¶
func (a *DefaultAPIService) ListSnapshotsExecute(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)
Execute executes the request
@return SnapshotListResponse
Deprecated
func (*DefaultAPIService) ListVolumePerformanceClasses ¶
func (a *DefaultAPIService) ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest
ListVolumePerformanceClasses List all volume performance classes available for a project.
Get a list of all volume performance classes available inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListVolumePerformanceClassesRequest
Deprecated
func (*DefaultAPIService) ListVolumePerformanceClassesExecute ¶
func (a *DefaultAPIService) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
Execute executes the request
@return VolumePerformanceClassListResponse
Deprecated
func (*DefaultAPIService) ListVolumes ¶
func (a *DefaultAPIService) ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest
ListVolumes List all volumes inside a project.
Get a list of all volumes inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @return ApiListVolumesRequest
Deprecated
func (*DefaultAPIService) ListVolumesExecute ¶
func (a *DefaultAPIService) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
Execute executes the request
@return VolumeListResponse
Deprecated
func (*DefaultAPIService) PartialUpdateNetwork ¶
func (a *DefaultAPIService) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest
PartialUpdateNetwork Update network settings.
Update the settings of a network inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @return ApiPartialUpdateNetworkRequest
Deprecated
func (*DefaultAPIService) PartialUpdateNetworkArea ¶
func (a *DefaultAPIService) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
PartialUpdateNetworkArea Update network area settings.
Update the settings of a network area in an organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @return ApiPartialUpdateNetworkAreaRequest
Deprecated
func (*DefaultAPIService) PartialUpdateNetworkAreaExecute ¶
func (a *DefaultAPIService) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
Execute executes the request
@return NetworkArea
Deprecated
func (*DefaultAPIService) PartialUpdateNetworkExecute ¶
func (a *DefaultAPIService) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RebootServer ¶
func (a *DefaultAPIService) RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest
RebootServer Reboot the server.
Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiRebootServerRequest
Deprecated
func (*DefaultAPIService) RebootServerExecute ¶
func (a *DefaultAPIService) RebootServerExecute(r ApiRebootServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RemoveNetworkFromServer ¶
func (a *DefaultAPIService) RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
RemoveNetworkFromServer Detach and delete all network interfaces associated with the specified network.
Detach and delete all network interfaces associated with the specified network from the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param networkId The identifier (ID) of a STACKIT Network. @return ApiRemoveNetworkFromServerRequest
Deprecated
func (*DefaultAPIService) RemoveNetworkFromServerExecute ¶
func (a *DefaultAPIService) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RemoveNicFromServer ¶
func (a *DefaultAPIService) RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest
RemoveNicFromServer Detach a network interface.
Detach a network interface from a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param nicId The identifier (ID) of a network interface. @return ApiRemoveNicFromServerRequest
Deprecated
func (*DefaultAPIService) RemoveNicFromServerExecute ¶
func (a *DefaultAPIService) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RemovePublicIpFromServer ¶
func (a *DefaultAPIService) RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
RemovePublicIpFromServer Dissociate a public IP from a server.
Dissociate a public IP on an existing server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param publicIpId The identifier (ID) of a Public IP. @return ApiRemovePublicIpFromServerRequest
Deprecated
func (*DefaultAPIService) RemovePublicIpFromServerExecute ¶
func (a *DefaultAPIService) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RemoveSecurityGroupFromServer ¶
func (a *DefaultAPIService) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
RemoveSecurityGroupFromServer Remove a server from a security group.
Remove a server from a attached security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiRemoveSecurityGroupFromServerRequest
Deprecated
func (*DefaultAPIService) RemoveSecurityGroupFromServerExecute ¶
func (a *DefaultAPIService) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RemoveServiceAccountFromServer ¶
func (a *DefaultAPIService) RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest
RemoveServiceAccountFromServer Detach a service account from a server.
Detach an additional service account from the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param serviceAccountMail The e-mail address of a service account. @return ApiRemoveServiceAccountFromServerRequest
Deprecated
func (*DefaultAPIService) RemoveServiceAccountFromServerExecute ¶
func (a *DefaultAPIService) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
Execute executes the request
@return ServiceAccountMailListResponse
Deprecated
func (*DefaultAPIService) RemoveVolumeFromServer ¶
func (a *DefaultAPIService) RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
RemoveVolumeFromServer Detach a volume from a server.
Detach an existing volume from an existing server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiRemoveVolumeFromServerRequest
Deprecated
func (*DefaultAPIService) RemoveVolumeFromServerExecute ¶
func (a *DefaultAPIService) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RescueServer ¶
func (a *DefaultAPIService) RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest
RescueServer Rescue an existing server.
Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiRescueServerRequest
Deprecated
func (*DefaultAPIService) RescueServerExecute ¶
func (a *DefaultAPIService) RescueServerExecute(r ApiRescueServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) ResizeServer ¶
func (a *DefaultAPIService) ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest
ResizeServer Resize a server.
Resize the server to the given machine type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiResizeServerRequest
Deprecated
func (*DefaultAPIService) ResizeServerExecute ¶
func (a *DefaultAPIService) ResizeServerExecute(r ApiResizeServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) ResizeVolume ¶
func (a *DefaultAPIService) ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest
ResizeVolume Update the size of a volume.
Update the size of a block device volume. The new volume size must be larger than the current size.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiResizeVolumeRequest
Deprecated
func (*DefaultAPIService) ResizeVolumeExecute ¶
func (a *DefaultAPIService) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) RestoreBackup ¶
func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest
RestoreBackup Restore Backup to the referenced source Volume.
Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiRestoreBackupRequest
Deprecated
func (*DefaultAPIService) RestoreBackupExecute ¶
func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) SetImageShare ¶
func (a *DefaultAPIService) SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest
SetImageShare Set image share.
Set share of an Image. New Options will replace existing settings.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiSetImageShareRequest
Deprecated
func (*DefaultAPIService) SetImageShareExecute ¶
func (a *DefaultAPIService) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
Execute executes the request
@return ImageShare
Deprecated
func (*DefaultAPIService) StartServer ¶
func (a *DefaultAPIService) StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest
StartServer Boot up a server.
Start an existing server or allocates the server if deallocated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiStartServerRequest
Deprecated
func (*DefaultAPIService) StartServerExecute ¶
func (a *DefaultAPIService) StartServerExecute(r ApiStartServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) StopServer ¶
func (a *DefaultAPIService) StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest
StopServer Stop an existing server.
Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiStopServerRequest
Deprecated
func (*DefaultAPIService) StopServerExecute ¶
func (a *DefaultAPIService) StopServerExecute(r ApiStopServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) UnrescueServer ¶
func (a *DefaultAPIService) UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest
UnrescueServer Unrescue an existing server.
Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiUnrescueServerRequest
Deprecated
func (*DefaultAPIService) UnrescueServerExecute ¶
func (a *DefaultAPIService) UnrescueServerExecute(r ApiUnrescueServerRequest) error
Execute executes the request Deprecated
func (*DefaultAPIService) UpdateAttachedVolume ¶
func (a *DefaultAPIService) UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
UpdateAttachedVolume Update Volume Attachment Parameters.
Update the properties of an existing Volume Attachment.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiUpdateAttachedVolumeRequest
Deprecated
func (*DefaultAPIService) UpdateAttachedVolumeExecute ¶
func (a *DefaultAPIService) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
Execute executes the request
@return VolumeAttachment
Deprecated
func (*DefaultAPIService) UpdateBackup ¶
func (a *DefaultAPIService) UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest
UpdateBackup Update information of a backup.
Update name or labels of the backup.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiUpdateBackupRequest
Deprecated
func (*DefaultAPIService) UpdateBackupExecute ¶
func (a *DefaultAPIService) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
Deprecated
func (*DefaultAPIService) UpdateImage ¶
func (a *DefaultAPIService) UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest
UpdateImage Update Image Parameters.
Update the properties of an existing Image inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiUpdateImageRequest
Deprecated
func (*DefaultAPIService) UpdateImageExecute ¶
func (a *DefaultAPIService) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
Execute executes the request
@return Image
Deprecated
func (*DefaultAPIService) UpdateImageScopeLocal ¶
func (a *DefaultAPIService) UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest
UpdateImageScopeLocal Update Image Scope to Local.
Update the scope property of an existing Image inside a project to local.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiUpdateImageScopeLocalRequest
Deprecated
func (*DefaultAPIService) UpdateImageScopeLocalExecute ¶
func (a *DefaultAPIService) UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)
Execute executes the request
@return Image
Deprecated
func (*DefaultAPIService) UpdateImageScopePublic ¶
func (a *DefaultAPIService) UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest
UpdateImageScopePublic Update Image Scope to Public.
Update the scope property of an existing Image inside a project to public.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiUpdateImageScopePublicRequest
Deprecated
func (*DefaultAPIService) UpdateImageScopePublicExecute ¶
func (a *DefaultAPIService) UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)
Execute executes the request
@return Image
Deprecated
func (*DefaultAPIService) UpdateImageShare ¶
func (a *DefaultAPIService) UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest
UpdateImageShare Update image share.
Update share of an Image. Projects will be appended to existing list.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param imageId The identifier (ID) of a STACKIT Image. @return ApiUpdateImageShareRequest
Deprecated
func (*DefaultAPIService) UpdateImageShareExecute ¶
func (a *DefaultAPIService) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
Execute executes the request
@return ImageShare
Deprecated
func (*DefaultAPIService) UpdateKeyPair ¶
func (a *DefaultAPIService) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
UpdateKeyPair Update information of an SSH keypair.
Update labels of the SSH keypair.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param keypairName The name of an SSH keypair. @return ApiUpdateKeyPairRequest
Deprecated
func (*DefaultAPIService) UpdateKeyPairExecute ¶
func (a *DefaultAPIService) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
Execute executes the request
@return Keypair
Deprecated
func (*DefaultAPIService) UpdateNetworkAreaRoute ¶
func (a *DefaultAPIService) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest
UpdateNetworkAreaRoute Update a network route.
Update a network route defined in a network area.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @param areaId The identifier (ID) of a STACKIT Network Area. @param routeId The identifier (ID) of a STACKIT Route. @return ApiUpdateNetworkAreaRouteRequest
Deprecated
func (*DefaultAPIService) UpdateNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
Execute executes the request
@return Route
Deprecated
func (*DefaultAPIService) UpdateNic ¶
func (a *DefaultAPIService) UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest
UpdateNic Update a network interface.
Update the properties of an existing network interface inside a network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param networkId The identifier (ID) of a STACKIT Network. @param nicId The identifier (ID) of a network interface. @return ApiUpdateNicRequest
Deprecated
func (*DefaultAPIService) UpdateNicExecute ¶
func (a *DefaultAPIService) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
Execute executes the request
@return NIC
Deprecated
func (*DefaultAPIService) UpdatePublicIP ¶
func (a *DefaultAPIService) UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest
UpdatePublicIP Update a public IP.
Update the properties of an existing public IP inside a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param publicIpId The identifier (ID) of a Public IP. @return ApiUpdatePublicIPRequest
Deprecated
func (*DefaultAPIService) UpdatePublicIPExecute ¶
func (a *DefaultAPIService) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
Execute executes the request
@return PublicIp
Deprecated
func (*DefaultAPIService) UpdateSecurityGroup ¶
func (a *DefaultAPIService) UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest
UpdateSecurityGroup Update information of a security group.
Update labels of the security group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiUpdateSecurityGroupRequest
Deprecated
func (*DefaultAPIService) UpdateSecurityGroupExecute ¶
func (a *DefaultAPIService) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
Execute executes the request
@return SecurityGroup
Deprecated
func (*DefaultAPIService) UpdateServer ¶
func (a *DefaultAPIService) UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest
UpdateServer Update information of a server.
Update name or labels of the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param serverId The identifier (ID) of a STACKIT Server. @return ApiUpdateServerRequest
Deprecated
func (*DefaultAPIService) UpdateServerExecute ¶
func (a *DefaultAPIService) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
Execute executes the request
@return Server
Deprecated
func (*DefaultAPIService) UpdateSnapshot ¶
func (a *DefaultAPIService) UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest
UpdateSnapshot Update information of the snapshot.
Update information like name or labels of the snapshot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param snapshotId The identifier (ID) of a STACKIT Snapshot. @return ApiUpdateSnapshotRequest
Deprecated
func (*DefaultAPIService) UpdateSnapshotExecute ¶
func (a *DefaultAPIService) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)
Execute executes the request
@return Snapshot
Deprecated
func (*DefaultAPIService) UpdateVolume ¶
func (a *DefaultAPIService) UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest
UpdateVolume Update information of a volume.
Update name, description or labels of the volume.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The identifier (ID) of a STACKIT Project. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiUpdateVolumeRequest
Deprecated
func (*DefaultAPIService) UpdateVolumeExecute ¶
func (a *DefaultAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
Execute executes the request
@return Volume
Deprecated
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// Deprecated: AddNetworkToServerExecuteMock can be populated to implement the behavior of the AddNetworkToServerExecute function of this mock
AddNetworkToServerExecuteMock *func(r ApiAddNetworkToServerRequest) error
// Deprecated: AddNicToServerExecuteMock can be populated to implement the behavior of the AddNicToServerExecute function of this mock
AddNicToServerExecuteMock *func(r ApiAddNicToServerRequest) error
// Deprecated: AddPublicIpToServerExecuteMock can be populated to implement the behavior of the AddPublicIpToServerExecute function of this mock
AddPublicIpToServerExecuteMock *func(r ApiAddPublicIpToServerRequest) error
// Deprecated: AddSecurityGroupToServerExecuteMock can be populated to implement the behavior of the AddSecurityGroupToServerExecute function of this mock
AddSecurityGroupToServerExecuteMock *func(r ApiAddSecurityGroupToServerRequest) error
// Deprecated: AddServiceAccountToServerExecuteMock can be populated to implement the behavior of the AddServiceAccountToServerExecute function of this mock
AddServiceAccountToServerExecuteMock *func(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
// Deprecated: AddVolumeToServerExecuteMock can be populated to implement the behavior of the AddVolumeToServerExecute function of this mock
AddVolumeToServerExecuteMock *func(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
// Deprecated: CreateAffinityGroupExecuteMock can be populated to implement the behavior of the CreateAffinityGroupExecute function of this mock
CreateAffinityGroupExecuteMock *func(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
// Deprecated: CreateBackupExecuteMock can be populated to implement the behavior of the CreateBackupExecute function of this mock
CreateBackupExecuteMock *func(r ApiCreateBackupRequest) (*Backup, error)
// Deprecated: CreateImageExecuteMock can be populated to implement the behavior of the CreateImageExecute function of this mock
CreateImageExecuteMock *func(r ApiCreateImageRequest) (*ImageCreateResponse, error)
// Deprecated: CreateKeyPairExecuteMock can be populated to implement the behavior of the CreateKeyPairExecute function of this mock
CreateKeyPairExecuteMock *func(r ApiCreateKeyPairRequest) (*Keypair, error)
// Deprecated: CreateNetworkExecuteMock can be populated to implement the behavior of the CreateNetworkExecute function of this mock
CreateNetworkExecuteMock *func(r ApiCreateNetworkRequest) (*Network, error)
// Deprecated: CreateNetworkAreaExecuteMock can be populated to implement the behavior of the CreateNetworkAreaExecute function of this mock
CreateNetworkAreaExecuteMock *func(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
// Deprecated: CreateNetworkAreaRangeExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRangeExecute function of this mock
CreateNetworkAreaRangeExecuteMock *func(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
// Deprecated: CreateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRouteExecute function of this mock
CreateNetworkAreaRouteExecuteMock *func(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
// Deprecated: CreateNicExecuteMock can be populated to implement the behavior of the CreateNicExecute function of this mock
CreateNicExecuteMock *func(r ApiCreateNicRequest) (*NIC, error)
// Deprecated: CreatePublicIPExecuteMock can be populated to implement the behavior of the CreatePublicIPExecute function of this mock
CreatePublicIPExecuteMock *func(r ApiCreatePublicIPRequest) (*PublicIp, error)
// Deprecated: CreateSecurityGroupExecuteMock can be populated to implement the behavior of the CreateSecurityGroupExecute function of this mock
CreateSecurityGroupExecuteMock *func(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
// Deprecated: CreateSecurityGroupRuleExecuteMock can be populated to implement the behavior of the CreateSecurityGroupRuleExecute function of this mock
CreateSecurityGroupRuleExecuteMock *func(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
// Deprecated: CreateServerExecuteMock can be populated to implement the behavior of the CreateServerExecute function of this mock
CreateServerExecuteMock *func(r ApiCreateServerRequest) (*Server, error)
// Deprecated: CreateSnapshotExecuteMock can be populated to implement the behavior of the CreateSnapshotExecute function of this mock
CreateSnapshotExecuteMock *func(r ApiCreateSnapshotRequest) (*Snapshot, error)
// Deprecated: CreateVolumeExecuteMock can be populated to implement the behavior of the CreateVolumeExecute function of this mock
CreateVolumeExecuteMock *func(r ApiCreateVolumeRequest) (*Volume, error)
// Deprecated: DeallocateServerExecuteMock can be populated to implement the behavior of the DeallocateServerExecute function of this mock
DeallocateServerExecuteMock *func(r ApiDeallocateServerRequest) error
// Deprecated: DeleteAffinityGroupExecuteMock can be populated to implement the behavior of the DeleteAffinityGroupExecute function of this mock
DeleteAffinityGroupExecuteMock *func(r ApiDeleteAffinityGroupRequest) error
// Deprecated: DeleteBackupExecuteMock can be populated to implement the behavior of the DeleteBackupExecute function of this mock
DeleteBackupExecuteMock *func(r ApiDeleteBackupRequest) error
// Deprecated: DeleteImageExecuteMock can be populated to implement the behavior of the DeleteImageExecute function of this mock
DeleteImageExecuteMock *func(r ApiDeleteImageRequest) error
DeleteImageShareExecuteMock *func(r ApiDeleteImageShareRequest) error
DeleteImageShareConsumerExecuteMock *func(r ApiDeleteImageShareConsumerRequest) error
// Deprecated: DeleteKeyPairExecuteMock can be populated to implement the behavior of the DeleteKeyPairExecute function of this mock
DeleteKeyPairExecuteMock *func(r ApiDeleteKeyPairRequest) error
// Deprecated: DeleteNetworkExecuteMock can be populated to implement the behavior of the DeleteNetworkExecute function of this mock
DeleteNetworkExecuteMock *func(r ApiDeleteNetworkRequest) error
// Deprecated: DeleteNetworkAreaExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaExecute function of this mock
DeleteNetworkAreaExecuteMock *func(r ApiDeleteNetworkAreaRequest) error
// Deprecated: DeleteNetworkAreaRangeExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRangeExecute function of this mock
DeleteNetworkAreaRangeExecuteMock *func(r ApiDeleteNetworkAreaRangeRequest) error
// Deprecated: DeleteNetworkAreaRouteExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRouteExecute function of this mock
DeleteNetworkAreaRouteExecuteMock *func(r ApiDeleteNetworkAreaRouteRequest) error
// Deprecated: DeleteNicExecuteMock can be populated to implement the behavior of the DeleteNicExecute function of this mock
DeleteNicExecuteMock *func(r ApiDeleteNicRequest) error
// Deprecated: DeletePublicIPExecuteMock can be populated to implement the behavior of the DeletePublicIPExecute function of this mock
DeletePublicIPExecuteMock *func(r ApiDeletePublicIPRequest) error
// Deprecated: DeleteSecurityGroupExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupExecute function of this mock
DeleteSecurityGroupExecuteMock *func(r ApiDeleteSecurityGroupRequest) error
// Deprecated: DeleteSecurityGroupRuleExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupRuleExecute function of this mock
DeleteSecurityGroupRuleExecuteMock *func(r ApiDeleteSecurityGroupRuleRequest) error
// Deprecated: DeleteServerExecuteMock can be populated to implement the behavior of the DeleteServerExecute function of this mock
DeleteServerExecuteMock *func(r ApiDeleteServerRequest) error
// Deprecated: DeleteSnapshotExecuteMock can be populated to implement the behavior of the DeleteSnapshotExecute function of this mock
DeleteSnapshotExecuteMock *func(r ApiDeleteSnapshotRequest) error
// Deprecated: DeleteVolumeExecuteMock can be populated to implement the behavior of the DeleteVolumeExecute function of this mock
DeleteVolumeExecuteMock *func(r ApiDeleteVolumeRequest) error
// Deprecated: GetAffinityGroupExecuteMock can be populated to implement the behavior of the GetAffinityGroupExecute function of this mock
GetAffinityGroupExecuteMock *func(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
// Deprecated: GetAttachedVolumeExecuteMock can be populated to implement the behavior of the GetAttachedVolumeExecute function of this mock
GetAttachedVolumeExecuteMock *func(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
// Deprecated: GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
GetBackupExecuteMock *func(r ApiGetBackupRequest) (*Backup, error)
// Deprecated: GetImageExecuteMock can be populated to implement the behavior of the GetImageExecute function of this mock
GetImageExecuteMock *func(r ApiGetImageRequest) (*Image, error)
GetImageShareExecuteMock *func(r ApiGetImageShareRequest) (*ImageShare, error)
GetImageShareConsumerExecuteMock *func(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
// Deprecated: GetKeyPairExecuteMock can be populated to implement the behavior of the GetKeyPairExecute function of this mock
GetKeyPairExecuteMock *func(r ApiGetKeyPairRequest) (*Keypair, error)
// Deprecated: GetMachineTypeExecuteMock can be populated to implement the behavior of the GetMachineTypeExecute function of this mock
GetMachineTypeExecuteMock *func(r ApiGetMachineTypeRequest) (*MachineType, error)
// Deprecated: GetNetworkExecuteMock can be populated to implement the behavior of the GetNetworkExecute function of this mock
GetNetworkExecuteMock *func(r ApiGetNetworkRequest) (*Network, error)
// Deprecated: GetNetworkAreaExecuteMock can be populated to implement the behavior of the GetNetworkAreaExecute function of this mock
GetNetworkAreaExecuteMock *func(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
// Deprecated: GetNetworkAreaRangeExecuteMock can be populated to implement the behavior of the GetNetworkAreaRangeExecute function of this mock
GetNetworkAreaRangeExecuteMock *func(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
// Deprecated: GetNetworkAreaRouteExecuteMock can be populated to implement the behavior of the GetNetworkAreaRouteExecute function of this mock
GetNetworkAreaRouteExecuteMock *func(r ApiGetNetworkAreaRouteRequest) (*Route, error)
// Deprecated: GetNicExecuteMock can be populated to implement the behavior of the GetNicExecute function of this mock
GetNicExecuteMock *func(r ApiGetNicRequest) (*NIC, error)
// Deprecated: GetOrganizationRequestExecuteMock can be populated to implement the behavior of the GetOrganizationRequestExecute function of this mock
GetOrganizationRequestExecuteMock *func(r ApiGetOrganizationRequestRequest) (*Request, error)
// Deprecated: GetProjectDetailsExecuteMock can be populated to implement the behavior of the GetProjectDetailsExecute function of this mock
GetProjectDetailsExecuteMock *func(r ApiGetProjectDetailsRequest) (*Project, error)
// Deprecated: GetProjectNICExecuteMock can be populated to implement the behavior of the GetProjectNICExecute function of this mock
GetProjectNICExecuteMock *func(r ApiGetProjectNICRequest) (*NIC, error)
// Deprecated: GetProjectRequestExecuteMock can be populated to implement the behavior of the GetProjectRequestExecute function of this mock
GetProjectRequestExecuteMock *func(r ApiGetProjectRequestRequest) (*Request, error)
// Deprecated: GetPublicIPExecuteMock can be populated to implement the behavior of the GetPublicIPExecute function of this mock
GetPublicIPExecuteMock *func(r ApiGetPublicIPRequest) (*PublicIp, error)
// Deprecated: GetSecurityGroupExecuteMock can be populated to implement the behavior of the GetSecurityGroupExecute function of this mock
GetSecurityGroupExecuteMock *func(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
// Deprecated: GetSecurityGroupRuleExecuteMock can be populated to implement the behavior of the GetSecurityGroupRuleExecute function of this mock
GetSecurityGroupRuleExecuteMock *func(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
// Deprecated: GetServerExecuteMock can be populated to implement the behavior of the GetServerExecute function of this mock
GetServerExecuteMock *func(r ApiGetServerRequest) (*Server, error)
// Deprecated: GetServerConsoleExecuteMock can be populated to implement the behavior of the GetServerConsoleExecute function of this mock
GetServerConsoleExecuteMock *func(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
// Deprecated: GetServerLogExecuteMock can be populated to implement the behavior of the GetServerLogExecute function of this mock
GetServerLogExecuteMock *func(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
// Deprecated: GetSnapshotExecuteMock can be populated to implement the behavior of the GetSnapshotExecute function of this mock
GetSnapshotExecuteMock *func(r ApiGetSnapshotRequest) (*Snapshot, error)
// Deprecated: GetVolumeExecuteMock can be populated to implement the behavior of the GetVolumeExecute function of this mock
GetVolumeExecuteMock *func(r ApiGetVolumeRequest) (*Volume, error)
// Deprecated: GetVolumePerformanceClassExecuteMock can be populated to implement the behavior of the GetVolumePerformanceClassExecute function of this mock
GetVolumePerformanceClassExecuteMock *func(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
// Deprecated: ListAffinityGroupsExecuteMock can be populated to implement the behavior of the ListAffinityGroupsExecute function of this mock
ListAffinityGroupsExecuteMock *func(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
// Deprecated: ListAttachedVolumesExecuteMock can be populated to implement the behavior of the ListAttachedVolumesExecute function of this mock
ListAttachedVolumesExecuteMock *func(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
// Deprecated: ListAvailabilityZonesExecuteMock can be populated to implement the behavior of the ListAvailabilityZonesExecute function of this mock
ListAvailabilityZonesExecuteMock *func(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
// Deprecated: ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*BackupListResponse, error)
// Deprecated: ListImagesExecuteMock can be populated to implement the behavior of the ListImagesExecute function of this mock
ListImagesExecuteMock *func(r ApiListImagesRequest) (*ImageListResponse, error)
// Deprecated: ListKeyPairsExecuteMock can be populated to implement the behavior of the ListKeyPairsExecute function of this mock
ListKeyPairsExecuteMock *func(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
// Deprecated: ListMachineTypesExecuteMock can be populated to implement the behavior of the ListMachineTypesExecute function of this mock
ListMachineTypesExecuteMock *func(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
// Deprecated: ListNetworkAreaProjectsExecuteMock can be populated to implement the behavior of the ListNetworkAreaProjectsExecute function of this mock
ListNetworkAreaProjectsExecuteMock *func(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
// Deprecated: ListNetworkAreaRangesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRangesExecute function of this mock
ListNetworkAreaRangesExecuteMock *func(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
// Deprecated: ListNetworkAreaRoutesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRoutesExecute function of this mock
ListNetworkAreaRoutesExecuteMock *func(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
// Deprecated: ListNetworkAreasExecuteMock can be populated to implement the behavior of the ListNetworkAreasExecute function of this mock
ListNetworkAreasExecuteMock *func(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
// Deprecated: ListNetworksExecuteMock can be populated to implement the behavior of the ListNetworksExecute function of this mock
ListNetworksExecuteMock *func(r ApiListNetworksRequest) (*NetworkListResponse, error)
// Deprecated: ListNicsExecuteMock can be populated to implement the behavior of the ListNicsExecute function of this mock
ListNicsExecuteMock *func(r ApiListNicsRequest) (*NICListResponse, error)
// Deprecated: ListProjectNICsExecuteMock can be populated to implement the behavior of the ListProjectNICsExecute function of this mock
ListProjectNICsExecuteMock *func(r ApiListProjectNICsRequest) (*NICListResponse, error)
// Deprecated: ListPublicIPRangesExecuteMock can be populated to implement the behavior of the ListPublicIPRangesExecute function of this mock
ListPublicIPRangesExecuteMock *func(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
// Deprecated: ListPublicIPsExecuteMock can be populated to implement the behavior of the ListPublicIPsExecute function of this mock
ListPublicIPsExecuteMock *func(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
// Deprecated: ListQuotasExecuteMock can be populated to implement the behavior of the ListQuotasExecute function of this mock
ListQuotasExecuteMock *func(r ApiListQuotasRequest) (*QuotaListResponse, error)
// Deprecated: ListSecurityGroupRulesExecuteMock can be populated to implement the behavior of the ListSecurityGroupRulesExecute function of this mock
ListSecurityGroupRulesExecuteMock *func(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
// Deprecated: ListSecurityGroupsExecuteMock can be populated to implement the behavior of the ListSecurityGroupsExecute function of this mock
ListSecurityGroupsExecuteMock *func(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
// Deprecated: ListServerNicsExecuteMock can be populated to implement the behavior of the ListServerNicsExecute function of this mock
ListServerNicsExecuteMock *func(r ApiListServerNicsRequest) (*NICListResponse, error)
// Deprecated: ListServerServiceAccountsExecuteMock can be populated to implement the behavior of the ListServerServiceAccountsExecute function of this mock
ListServerServiceAccountsExecuteMock *func(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
// Deprecated: ListServersExecuteMock can be populated to implement the behavior of the ListServersExecute function of this mock
ListServersExecuteMock *func(r ApiListServersRequest) (*ServerListResponse, error)
// Deprecated: ListSnapshotsExecuteMock can be populated to implement the behavior of the ListSnapshotsExecute function of this mock
ListSnapshotsExecuteMock *func(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)
// Deprecated: ListVolumePerformanceClassesExecuteMock can be populated to implement the behavior of the ListVolumePerformanceClassesExecute function of this mock
ListVolumePerformanceClassesExecuteMock *func(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
// Deprecated: ListVolumesExecuteMock can be populated to implement the behavior of the ListVolumesExecute function of this mock
ListVolumesExecuteMock *func(r ApiListVolumesRequest) (*VolumeListResponse, error)
// Deprecated: PartialUpdateNetworkExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkExecute function of this mock
PartialUpdateNetworkExecuteMock *func(r ApiPartialUpdateNetworkRequest) error
// Deprecated: PartialUpdateNetworkAreaExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkAreaExecute function of this mock
PartialUpdateNetworkAreaExecuteMock *func(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
// Deprecated: RebootServerExecuteMock can be populated to implement the behavior of the RebootServerExecute function of this mock
RebootServerExecuteMock *func(r ApiRebootServerRequest) error
// Deprecated: RemoveNetworkFromServerExecuteMock can be populated to implement the behavior of the RemoveNetworkFromServerExecute function of this mock
RemoveNetworkFromServerExecuteMock *func(r ApiRemoveNetworkFromServerRequest) error
// Deprecated: RemoveNicFromServerExecuteMock can be populated to implement the behavior of the RemoveNicFromServerExecute function of this mock
RemoveNicFromServerExecuteMock *func(r ApiRemoveNicFromServerRequest) error
// Deprecated: RemovePublicIpFromServerExecuteMock can be populated to implement the behavior of the RemovePublicIpFromServerExecute function of this mock
RemovePublicIpFromServerExecuteMock *func(r ApiRemovePublicIpFromServerRequest) error
// Deprecated: RemoveSecurityGroupFromServerExecuteMock can be populated to implement the behavior of the RemoveSecurityGroupFromServerExecute function of this mock
RemoveSecurityGroupFromServerExecuteMock *func(r ApiRemoveSecurityGroupFromServerRequest) error
// Deprecated: RemoveServiceAccountFromServerExecuteMock can be populated to implement the behavior of the RemoveServiceAccountFromServerExecute function of this mock
RemoveServiceAccountFromServerExecuteMock *func(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
// Deprecated: RemoveVolumeFromServerExecuteMock can be populated to implement the behavior of the RemoveVolumeFromServerExecute function of this mock
RemoveVolumeFromServerExecuteMock *func(r ApiRemoveVolumeFromServerRequest) error
// Deprecated: RescueServerExecuteMock can be populated to implement the behavior of the RescueServerExecute function of this mock
RescueServerExecuteMock *func(r ApiRescueServerRequest) error
// Deprecated: ResizeServerExecuteMock can be populated to implement the behavior of the ResizeServerExecute function of this mock
ResizeServerExecuteMock *func(r ApiResizeServerRequest) error
// Deprecated: ResizeVolumeExecuteMock can be populated to implement the behavior of the ResizeVolumeExecute function of this mock
ResizeVolumeExecuteMock *func(r ApiResizeVolumeRequest) error
// Deprecated: RestoreBackupExecuteMock can be populated to implement the behavior of the RestoreBackupExecute function of this mock
RestoreBackupExecuteMock *func(r ApiRestoreBackupRequest) error
SetImageShareExecuteMock *func(r ApiSetImageShareRequest) (*ImageShare, error)
// Deprecated: StartServerExecuteMock can be populated to implement the behavior of the StartServerExecute function of this mock
StartServerExecuteMock *func(r ApiStartServerRequest) error
// Deprecated: StopServerExecuteMock can be populated to implement the behavior of the StopServerExecute function of this mock
StopServerExecuteMock *func(r ApiStopServerRequest) error
// Deprecated: UnrescueServerExecuteMock can be populated to implement the behavior of the UnrescueServerExecute function of this mock
UnrescueServerExecuteMock *func(r ApiUnrescueServerRequest) error
// Deprecated: UpdateAttachedVolumeExecuteMock can be populated to implement the behavior of the UpdateAttachedVolumeExecute function of this mock
UpdateAttachedVolumeExecuteMock *func(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
// Deprecated: UpdateBackupExecuteMock can be populated to implement the behavior of the UpdateBackupExecute function of this mock
UpdateBackupExecuteMock *func(r ApiUpdateBackupRequest) (*Backup, error)
// Deprecated: UpdateImageExecuteMock can be populated to implement the behavior of the UpdateImageExecute function of this mock
UpdateImageExecuteMock *func(r ApiUpdateImageRequest) (*Image, error)
// Deprecated: UpdateImageScopeLocalExecuteMock can be populated to implement the behavior of the UpdateImageScopeLocalExecute function of this mock
UpdateImageScopeLocalExecuteMock *func(r ApiUpdateImageScopeLocalRequest) (*Image, error)
// Deprecated: UpdateImageScopePublicExecuteMock can be populated to implement the behavior of the UpdateImageScopePublicExecute function of this mock
UpdateImageScopePublicExecuteMock *func(r ApiUpdateImageScopePublicRequest) (*Image, error)
UpdateImageShareExecuteMock *func(r ApiUpdateImageShareRequest) (*ImageShare, error)
// Deprecated: UpdateKeyPairExecuteMock can be populated to implement the behavior of the UpdateKeyPairExecute function of this mock
UpdateKeyPairExecuteMock *func(r ApiUpdateKeyPairRequest) (*Keypair, error)
// Deprecated: UpdateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the UpdateNetworkAreaRouteExecute function of this mock
UpdateNetworkAreaRouteExecuteMock *func(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
// Deprecated: UpdateNicExecuteMock can be populated to implement the behavior of the UpdateNicExecute function of this mock
UpdateNicExecuteMock *func(r ApiUpdateNicRequest) (*NIC, error)
// Deprecated: UpdatePublicIPExecuteMock can be populated to implement the behavior of the UpdatePublicIPExecute function of this mock
UpdatePublicIPExecuteMock *func(r ApiUpdatePublicIPRequest) (*PublicIp, error)
// Deprecated: UpdateSecurityGroupExecuteMock can be populated to implement the behavior of the UpdateSecurityGroupExecute function of this mock
UpdateSecurityGroupExecuteMock *func(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
// Deprecated: UpdateServerExecuteMock can be populated to implement the behavior of the UpdateServerExecute function of this mock
UpdateServerExecuteMock *func(r ApiUpdateServerRequest) (*Server, error)
// Deprecated: UpdateSnapshotExecuteMock can be populated to implement the behavior of the UpdateSnapshotExecute function of this mock
UpdateSnapshotExecuteMock *func(r ApiUpdateSnapshotRequest) (*Snapshot, error)
// Deprecated: UpdateVolumeExecuteMock can be populated to implement the behavior of the UpdateVolumeExecute function of this mock
UpdateVolumeExecuteMock *func(r ApiUpdateVolumeRequest) (*Volume, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) AddNetworkToServer ¶
func (a DefaultAPIServiceMock) AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest
Deprecated
func (DefaultAPIServiceMock) AddNetworkToServerExecute
deprecated
func (a DefaultAPIServiceMock) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
Deprecated: AddNetworkToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddNetworkToServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddNicToServer ¶
func (a DefaultAPIServiceMock) AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest
Deprecated
func (DefaultAPIServiceMock) AddNicToServerExecute
deprecated
func (a DefaultAPIServiceMock) AddNicToServerExecute(r ApiAddNicToServerRequest) error
Deprecated: AddNicToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddNicToServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddPublicIpToServer ¶
func (a DefaultAPIServiceMock) AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
Deprecated
func (DefaultAPIServiceMock) AddPublicIpToServerExecute
deprecated
func (a DefaultAPIServiceMock) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
Deprecated: AddPublicIpToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddPublicIpToServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddSecurityGroupToServer ¶
func (a DefaultAPIServiceMock) AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
Deprecated
func (DefaultAPIServiceMock) AddSecurityGroupToServerExecute
deprecated
func (a DefaultAPIServiceMock) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
Deprecated: AddSecurityGroupToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddSecurityGroupToServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddServiceAccountToServer ¶
func (a DefaultAPIServiceMock) AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest
Deprecated
func (DefaultAPIServiceMock) AddServiceAccountToServerExecute
deprecated
func (a DefaultAPIServiceMock) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
Deprecated: AddServiceAccountToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddServiceAccountToServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddVolumeToServer ¶
func (a DefaultAPIServiceMock) AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest
Deprecated
func (DefaultAPIServiceMock) AddVolumeToServerExecute
deprecated
func (a DefaultAPIServiceMock) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
Deprecated: AddVolumeToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddVolumeToServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateAffinityGroup ¶
func (a DefaultAPIServiceMock) CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest
Deprecated
func (DefaultAPIServiceMock) CreateAffinityGroupExecute
deprecated
func (a DefaultAPIServiceMock) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
Deprecated: CreateAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateBackup ¶
func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest
Deprecated
func (DefaultAPIServiceMock) CreateBackupExecute
deprecated
func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
Deprecated: CreateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateImage ¶
func (a DefaultAPIServiceMock) CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest
Deprecated
func (DefaultAPIServiceMock) CreateImageExecute
deprecated
func (a DefaultAPIServiceMock) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
Deprecated: CreateImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateImageExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateKeyPair ¶
func (a DefaultAPIServiceMock) CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
Deprecated
func (DefaultAPIServiceMock) CreateKeyPairExecute
deprecated
func (a DefaultAPIServiceMock) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
Deprecated: CreateKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyPairExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateNetwork ¶
func (a DefaultAPIServiceMock) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest
Deprecated
func (DefaultAPIServiceMock) CreateNetworkArea ¶
func (a DefaultAPIServiceMock) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
Deprecated
func (DefaultAPIServiceMock) CreateNetworkAreaExecute
deprecated
func (a DefaultAPIServiceMock) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
Deprecated: CreateNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateNetworkAreaRange ¶
func (a DefaultAPIServiceMock) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest
Deprecated
func (DefaultAPIServiceMock) CreateNetworkAreaRangeExecute
deprecated
func (a DefaultAPIServiceMock) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
Deprecated: CreateNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateNetworkAreaRoute ¶
func (a DefaultAPIServiceMock) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest
Deprecated
func (DefaultAPIServiceMock) CreateNetworkAreaRouteExecute
deprecated
func (a DefaultAPIServiceMock) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
Deprecated: CreateNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateNetworkExecute
deprecated
func (a DefaultAPIServiceMock) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
Deprecated: CreateNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateNic ¶
func (a DefaultAPIServiceMock) CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest
Deprecated
func (DefaultAPIServiceMock) CreateNicExecute
deprecated
func (a DefaultAPIServiceMock) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
Deprecated: CreateNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNicExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreatePublicIP ¶
func (a DefaultAPIServiceMock) CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest
Deprecated
func (DefaultAPIServiceMock) CreatePublicIPExecute
deprecated
func (a DefaultAPIServiceMock) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
Deprecated: CreatePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreatePublicIPExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateSecurityGroup ¶
func (a DefaultAPIServiceMock) CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest
Deprecated
func (DefaultAPIServiceMock) CreateSecurityGroupExecute
deprecated
func (a DefaultAPIServiceMock) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
Deprecated: CreateSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateSecurityGroupRule ¶
func (a DefaultAPIServiceMock) CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
Deprecated
func (DefaultAPIServiceMock) CreateSecurityGroupRuleExecute
deprecated
func (a DefaultAPIServiceMock) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
Deprecated: CreateSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateServer ¶
func (a DefaultAPIServiceMock) CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest
Deprecated
func (DefaultAPIServiceMock) CreateServerExecute
deprecated
func (a DefaultAPIServiceMock) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
Deprecated: CreateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateSnapshot ¶
func (a DefaultAPIServiceMock) CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest
Deprecated
func (DefaultAPIServiceMock) CreateSnapshotExecute
deprecated
func (a DefaultAPIServiceMock) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)
Deprecated: CreateSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateVolume ¶
func (a DefaultAPIServiceMock) CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest
Deprecated
func (DefaultAPIServiceMock) CreateVolumeExecute
deprecated
func (a DefaultAPIServiceMock) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
Deprecated: CreateVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateVolumeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeallocateServer ¶
func (a DefaultAPIServiceMock) DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest
Deprecated
func (DefaultAPIServiceMock) DeallocateServerExecute
deprecated
func (a DefaultAPIServiceMock) DeallocateServerExecute(r ApiDeallocateServerRequest) error
Deprecated: DeallocateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeallocateServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteAffinityGroup ¶
func (a DefaultAPIServiceMock) DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest
Deprecated
func (DefaultAPIServiceMock) DeleteAffinityGroupExecute
deprecated
func (a DefaultAPIServiceMock) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
Deprecated: DeleteAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteBackup ¶
func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest
Deprecated
func (DefaultAPIServiceMock) DeleteBackupExecute
deprecated
func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error
Deprecated: DeleteBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteImage ¶
func (a DefaultAPIServiceMock) DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest
Deprecated
func (DefaultAPIServiceMock) DeleteImageExecute
deprecated
func (a DefaultAPIServiceMock) DeleteImageExecute(r ApiDeleteImageRequest) error
Deprecated: DeleteImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteImageShare ¶
func (a DefaultAPIServiceMock) DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest
Deprecated
func (DefaultAPIServiceMock) DeleteImageShareConsumer ¶
func (a DefaultAPIServiceMock) DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest
Deprecated
func (DefaultAPIServiceMock) DeleteImageShareConsumerExecute
deprecated
func (a DefaultAPIServiceMock) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
Deprecated: DeleteImageShareConsumerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageShareConsumerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteImageShareExecute
deprecated
func (a DefaultAPIServiceMock) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
Deprecated: DeleteImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteKeyPair ¶
func (a DefaultAPIServiceMock) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
Deprecated
func (DefaultAPIServiceMock) DeleteKeyPairExecute
deprecated
func (a DefaultAPIServiceMock) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
Deprecated: DeleteKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyPairExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteNetwork ¶
func (a DefaultAPIServiceMock) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest
Deprecated
func (DefaultAPIServiceMock) DeleteNetworkArea ¶
func (a DefaultAPIServiceMock) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
Deprecated
func (DefaultAPIServiceMock) DeleteNetworkAreaExecute
deprecated
func (a DefaultAPIServiceMock) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
Deprecated: DeleteNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteNetworkAreaRange ¶
func (a DefaultAPIServiceMock) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest
Deprecated
func (DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute
deprecated
func (a DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
Deprecated: DeleteNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteNetworkAreaRoute ¶
func (a DefaultAPIServiceMock) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest
Deprecated
func (DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute
deprecated
func (a DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
Deprecated: DeleteNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteNetworkExecute
deprecated
func (a DefaultAPIServiceMock) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
Deprecated: DeleteNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteNic ¶
func (a DefaultAPIServiceMock) DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest
Deprecated
func (DefaultAPIServiceMock) DeleteNicExecute
deprecated
func (a DefaultAPIServiceMock) DeleteNicExecute(r ApiDeleteNicRequest) error
Deprecated: DeleteNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNicExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeletePublicIP ¶
func (a DefaultAPIServiceMock) DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest
Deprecated
func (DefaultAPIServiceMock) DeletePublicIPExecute
deprecated
func (a DefaultAPIServiceMock) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
Deprecated: DeletePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeletePublicIPExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteSecurityGroup ¶
func (a DefaultAPIServiceMock) DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest
Deprecated
func (DefaultAPIServiceMock) DeleteSecurityGroupExecute
deprecated
func (a DefaultAPIServiceMock) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
Deprecated: DeleteSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteSecurityGroupRule ¶
func (a DefaultAPIServiceMock) DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest
Deprecated
func (DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute
deprecated
func (a DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
Deprecated: DeleteSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteServer ¶
func (a DefaultAPIServiceMock) DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest
Deprecated
func (DefaultAPIServiceMock) DeleteServerExecute
deprecated
func (a DefaultAPIServiceMock) DeleteServerExecute(r ApiDeleteServerRequest) error
Deprecated: DeleteServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteSnapshot ¶
func (a DefaultAPIServiceMock) DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest
Deprecated
func (DefaultAPIServiceMock) DeleteSnapshotExecute
deprecated
func (a DefaultAPIServiceMock) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error
Deprecated: DeleteSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteVolume ¶
func (a DefaultAPIServiceMock) DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest
Deprecated
func (DefaultAPIServiceMock) DeleteVolumeExecute
deprecated
func (a DefaultAPIServiceMock) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
Deprecated: DeleteVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteVolumeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetAffinityGroup ¶
func (a DefaultAPIServiceMock) GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest
Deprecated
func (DefaultAPIServiceMock) GetAffinityGroupExecute
deprecated
func (a DefaultAPIServiceMock) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
Deprecated: GetAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetAttachedVolume ¶
func (a DefaultAPIServiceMock) GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
Deprecated
func (DefaultAPIServiceMock) GetAttachedVolumeExecute
deprecated
func (a DefaultAPIServiceMock) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
Deprecated: GetAttachedVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetAttachedVolumeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetBackup ¶
func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest
Deprecated
func (DefaultAPIServiceMock) GetBackupExecute
deprecated
func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
Deprecated: GetBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetImage ¶
func (a DefaultAPIServiceMock) GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest
Deprecated
func (DefaultAPIServiceMock) GetImageExecute
deprecated
func (a DefaultAPIServiceMock) GetImageExecute(r ApiGetImageRequest) (*Image, error)
Deprecated: GetImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetImageShare ¶
func (a DefaultAPIServiceMock) GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest
Deprecated
func (DefaultAPIServiceMock) GetImageShareConsumer ¶
func (a DefaultAPIServiceMock) GetImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest
Deprecated
func (DefaultAPIServiceMock) GetImageShareConsumerExecute
deprecated
func (a DefaultAPIServiceMock) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
Deprecated: GetImageShareConsumerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageShareConsumerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetImageShareExecute
deprecated
func (a DefaultAPIServiceMock) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
Deprecated: GetImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetKeyPair ¶
func (a DefaultAPIServiceMock) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
Deprecated
func (DefaultAPIServiceMock) GetKeyPairExecute
deprecated
func (a DefaultAPIServiceMock) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
Deprecated: GetKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyPairExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetMachineType ¶
func (a DefaultAPIServiceMock) GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest
Deprecated
func (DefaultAPIServiceMock) GetMachineTypeExecute
deprecated
func (a DefaultAPIServiceMock) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
Deprecated: GetMachineTypeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetMachineTypeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetNetwork ¶
func (a DefaultAPIServiceMock) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest
Deprecated
func (DefaultAPIServiceMock) GetNetworkArea ¶
func (a DefaultAPIServiceMock) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
Deprecated
func (DefaultAPIServiceMock) GetNetworkAreaExecute
deprecated
func (a DefaultAPIServiceMock) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
Deprecated: GetNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetNetworkAreaRange ¶
func (a DefaultAPIServiceMock) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest
Deprecated
func (DefaultAPIServiceMock) GetNetworkAreaRangeExecute
deprecated
func (a DefaultAPIServiceMock) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
Deprecated: GetNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetNetworkAreaRoute ¶
func (a DefaultAPIServiceMock) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest
Deprecated
func (DefaultAPIServiceMock) GetNetworkAreaRouteExecute
deprecated
func (a DefaultAPIServiceMock) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
Deprecated: GetNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetNetworkExecute
deprecated
func (a DefaultAPIServiceMock) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
Deprecated: GetNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetNic ¶
func (a DefaultAPIServiceMock) GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest
Deprecated
func (DefaultAPIServiceMock) GetNicExecute
deprecated
func (a DefaultAPIServiceMock) GetNicExecute(r ApiGetNicRequest) (*NIC, error)
Deprecated: GetNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNicExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetOrganizationRequest ¶
func (a DefaultAPIServiceMock) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
Deprecated
func (DefaultAPIServiceMock) GetOrganizationRequestExecute
deprecated
func (a DefaultAPIServiceMock) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
Deprecated: GetOrganizationRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetOrganizationRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetProjectDetails ¶
func (a DefaultAPIServiceMock) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
Deprecated
func (DefaultAPIServiceMock) GetProjectDetailsExecute
deprecated
func (a DefaultAPIServiceMock) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
Deprecated: GetProjectDetailsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectDetailsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetProjectNIC ¶
func (a DefaultAPIServiceMock) GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest
Deprecated
func (DefaultAPIServiceMock) GetProjectNICExecute
deprecated
func (a DefaultAPIServiceMock) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
Deprecated: GetProjectNICExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectNICExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetProjectRequest ¶
func (a DefaultAPIServiceMock) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest
Deprecated
func (DefaultAPIServiceMock) GetProjectRequestExecute
deprecated
func (a DefaultAPIServiceMock) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
Deprecated: GetProjectRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetPublicIP ¶
func (a DefaultAPIServiceMock) GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest
Deprecated
func (DefaultAPIServiceMock) GetPublicIPExecute
deprecated
func (a DefaultAPIServiceMock) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
Deprecated: GetPublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetPublicIPExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetSecurityGroup ¶
func (a DefaultAPIServiceMock) GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest
Deprecated
func (DefaultAPIServiceMock) GetSecurityGroupExecute
deprecated
func (a DefaultAPIServiceMock) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
Deprecated: GetSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetSecurityGroupRule ¶
func (a DefaultAPIServiceMock) GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest
Deprecated
func (DefaultAPIServiceMock) GetSecurityGroupRuleExecute
deprecated
func (a DefaultAPIServiceMock) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
Deprecated: GetSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetServer ¶
func (a DefaultAPIServiceMock) GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest
Deprecated
func (DefaultAPIServiceMock) GetServerConsole ¶
func (a DefaultAPIServiceMock) GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest
Deprecated
func (DefaultAPIServiceMock) GetServerConsoleExecute
deprecated
func (a DefaultAPIServiceMock) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
Deprecated: GetServerConsoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerConsoleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetServerExecute
deprecated
func (a DefaultAPIServiceMock) GetServerExecute(r ApiGetServerRequest) (*Server, error)
Deprecated: GetServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetServerLog ¶
func (a DefaultAPIServiceMock) GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest
Deprecated
func (DefaultAPIServiceMock) GetServerLogExecute
deprecated
func (a DefaultAPIServiceMock) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
Deprecated: GetServerLogExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerLogExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetSnapshot ¶
func (a DefaultAPIServiceMock) GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest
Deprecated
func (DefaultAPIServiceMock) GetSnapshotExecute
deprecated
func (a DefaultAPIServiceMock) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)
Deprecated: GetSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetVolume ¶
func (a DefaultAPIServiceMock) GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest
Deprecated
func (DefaultAPIServiceMock) GetVolumeExecute
deprecated
func (a DefaultAPIServiceMock) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
Deprecated: GetVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVolumeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetVolumePerformanceClass ¶
func (a DefaultAPIServiceMock) GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
Deprecated
func (DefaultAPIServiceMock) GetVolumePerformanceClassExecute
deprecated
func (a DefaultAPIServiceMock) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
Deprecated: GetVolumePerformanceClassExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVolumePerformanceClassExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListAffinityGroups ¶
func (a DefaultAPIServiceMock) ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest
Deprecated
func (DefaultAPIServiceMock) ListAffinityGroupsExecute
deprecated
func (a DefaultAPIServiceMock) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
Deprecated: ListAffinityGroupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAffinityGroupsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListAttachedVolumes ¶
func (a DefaultAPIServiceMock) ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest
Deprecated
func (DefaultAPIServiceMock) ListAttachedVolumesExecute
deprecated
func (a DefaultAPIServiceMock) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
Deprecated: ListAttachedVolumesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAttachedVolumesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListAvailabilityZones ¶
func (a DefaultAPIServiceMock) ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest
Deprecated
func (DefaultAPIServiceMock) ListAvailabilityZonesExecute
deprecated
func (a DefaultAPIServiceMock) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
Deprecated: ListAvailabilityZonesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAvailabilityZonesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackups ¶
func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest
Deprecated
func (DefaultAPIServiceMock) ListBackupsExecute
deprecated
func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
Deprecated: ListBackupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListImages ¶
func (a DefaultAPIServiceMock) ListImages(ctx context.Context, projectId string) ApiListImagesRequest
Deprecated
func (DefaultAPIServiceMock) ListImagesExecute
deprecated
func (a DefaultAPIServiceMock) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
Deprecated: ListImagesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListImagesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListKeyPairs ¶
func (a DefaultAPIServiceMock) ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
Deprecated
func (DefaultAPIServiceMock) ListKeyPairsExecute
deprecated
func (a DefaultAPIServiceMock) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
Deprecated: ListKeyPairsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeyPairsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListMachineTypes ¶
func (a DefaultAPIServiceMock) ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest
Deprecated
func (DefaultAPIServiceMock) ListMachineTypesExecute
deprecated
func (a DefaultAPIServiceMock) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
Deprecated: ListMachineTypesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListMachineTypesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListNetworkAreaProjects ¶
func (a DefaultAPIServiceMock) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
Deprecated
func (DefaultAPIServiceMock) ListNetworkAreaProjectsExecute
deprecated
func (a DefaultAPIServiceMock) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
Deprecated: ListNetworkAreaProjectsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaProjectsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListNetworkAreaRanges ¶
func (a DefaultAPIServiceMock) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest
Deprecated
func (DefaultAPIServiceMock) ListNetworkAreaRangesExecute
deprecated
func (a DefaultAPIServiceMock) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
Deprecated: ListNetworkAreaRangesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaRangesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListNetworkAreaRoutes ¶
func (a DefaultAPIServiceMock) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest
Deprecated
func (DefaultAPIServiceMock) ListNetworkAreaRoutesExecute
deprecated
func (a DefaultAPIServiceMock) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
Deprecated: ListNetworkAreaRoutesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaRoutesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListNetworkAreas ¶
func (a DefaultAPIServiceMock) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
Deprecated
func (DefaultAPIServiceMock) ListNetworkAreasExecute
deprecated
func (a DefaultAPIServiceMock) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
Deprecated: ListNetworkAreasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreasExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListNetworks ¶
func (a DefaultAPIServiceMock) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest
Deprecated
func (DefaultAPIServiceMock) ListNetworksExecute
deprecated
func (a DefaultAPIServiceMock) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
Deprecated: ListNetworksExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworksExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListNics ¶
func (a DefaultAPIServiceMock) ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest
Deprecated
func (DefaultAPIServiceMock) ListNicsExecute
deprecated
func (a DefaultAPIServiceMock) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
Deprecated: ListNicsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNicsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListProjectNICs ¶
func (a DefaultAPIServiceMock) ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest
Deprecated
func (DefaultAPIServiceMock) ListProjectNICsExecute
deprecated
func (a DefaultAPIServiceMock) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
Deprecated: ListProjectNICsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProjectNICsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPublicIPRanges ¶
func (a DefaultAPIServiceMock) ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
Deprecated
func (DefaultAPIServiceMock) ListPublicIPRangesExecute
deprecated
func (a DefaultAPIServiceMock) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
Deprecated: ListPublicIPRangesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPublicIPRangesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPublicIPs ¶
func (a DefaultAPIServiceMock) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest
Deprecated
func (DefaultAPIServiceMock) ListPublicIPsExecute
deprecated
func (a DefaultAPIServiceMock) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
Deprecated: ListPublicIPsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPublicIPsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListQuotas ¶
func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest
Deprecated
func (DefaultAPIServiceMock) ListQuotasExecute
deprecated
func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
Deprecated: ListQuotasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListQuotasExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListSecurityGroupRules ¶
func (a DefaultAPIServiceMock) ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest
Deprecated
func (DefaultAPIServiceMock) ListSecurityGroupRulesExecute
deprecated
func (a DefaultAPIServiceMock) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
Deprecated: ListSecurityGroupRulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecurityGroupRulesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListSecurityGroups ¶
func (a DefaultAPIServiceMock) ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest
Deprecated
func (DefaultAPIServiceMock) ListSecurityGroupsExecute
deprecated
func (a DefaultAPIServiceMock) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
Deprecated: ListSecurityGroupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecurityGroupsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListServerNics ¶
func (a DefaultAPIServiceMock) ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest
Deprecated
func (DefaultAPIServiceMock) ListServerNicsExecute
deprecated
func (a DefaultAPIServiceMock) ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)
Deprecated: ListServerNicsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServerNicsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListServerServiceAccounts ¶
func (a DefaultAPIServiceMock) ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest
Deprecated
func (DefaultAPIServiceMock) ListServerServiceAccountsExecute
deprecated
func (a DefaultAPIServiceMock) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
Deprecated: ListServerServiceAccountsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServerServiceAccountsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListServers ¶
func (a DefaultAPIServiceMock) ListServers(ctx context.Context, projectId string) ApiListServersRequest
Deprecated
func (DefaultAPIServiceMock) ListServersExecute
deprecated
func (a DefaultAPIServiceMock) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
Deprecated: ListServersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListSnapshots ¶
func (a DefaultAPIServiceMock) ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest
Deprecated
func (DefaultAPIServiceMock) ListSnapshotsExecute
deprecated
func (a DefaultAPIServiceMock) ListSnapshotsExecute(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)
Deprecated: ListSnapshotsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSnapshotsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListVolumePerformanceClasses ¶
func (a DefaultAPIServiceMock) ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest
Deprecated
func (DefaultAPIServiceMock) ListVolumePerformanceClassesExecute
deprecated
func (a DefaultAPIServiceMock) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
Deprecated: ListVolumePerformanceClassesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVolumePerformanceClassesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListVolumes ¶
func (a DefaultAPIServiceMock) ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest
Deprecated
func (DefaultAPIServiceMock) ListVolumesExecute
deprecated
func (a DefaultAPIServiceMock) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
Deprecated: ListVolumesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVolumesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateNetwork ¶
func (a DefaultAPIServiceMock) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest
Deprecated
func (DefaultAPIServiceMock) PartialUpdateNetworkArea ¶
func (a DefaultAPIServiceMock) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
Deprecated
func (DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute
deprecated
func (a DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
Deprecated: PartialUpdateNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateNetworkExecute
deprecated
func (a DefaultAPIServiceMock) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
Deprecated: PartialUpdateNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateNetworkExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RebootServer ¶
func (a DefaultAPIServiceMock) RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest
Deprecated
func (DefaultAPIServiceMock) RebootServerExecute
deprecated
func (a DefaultAPIServiceMock) RebootServerExecute(r ApiRebootServerRequest) error
Deprecated: RebootServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RebootServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveNetworkFromServer ¶
func (a DefaultAPIServiceMock) RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
Deprecated
func (DefaultAPIServiceMock) RemoveNetworkFromServerExecute
deprecated
func (a DefaultAPIServiceMock) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
Deprecated: RemoveNetworkFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveNetworkFromServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveNicFromServer ¶
func (a DefaultAPIServiceMock) RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest
Deprecated
func (DefaultAPIServiceMock) RemoveNicFromServerExecute
deprecated
func (a DefaultAPIServiceMock) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
Deprecated: RemoveNicFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveNicFromServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemovePublicIpFromServer ¶
func (a DefaultAPIServiceMock) RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
Deprecated
func (DefaultAPIServiceMock) RemovePublicIpFromServerExecute
deprecated
func (a DefaultAPIServiceMock) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
Deprecated: RemovePublicIpFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemovePublicIpFromServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveSecurityGroupFromServer ¶
func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
Deprecated
func (DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute
deprecated
func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
Deprecated: RemoveSecurityGroupFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveSecurityGroupFromServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveServiceAccountFromServer ¶
func (a DefaultAPIServiceMock) RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest
Deprecated
func (DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute
deprecated
func (a DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
Deprecated: RemoveServiceAccountFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveServiceAccountFromServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveVolumeFromServer ¶
func (a DefaultAPIServiceMock) RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
Deprecated
func (DefaultAPIServiceMock) RemoveVolumeFromServerExecute
deprecated
func (a DefaultAPIServiceMock) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
Deprecated: RemoveVolumeFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveVolumeFromServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RescueServer ¶
func (a DefaultAPIServiceMock) RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest
Deprecated
func (DefaultAPIServiceMock) RescueServerExecute
deprecated
func (a DefaultAPIServiceMock) RescueServerExecute(r ApiRescueServerRequest) error
Deprecated: RescueServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RescueServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ResizeServer ¶
func (a DefaultAPIServiceMock) ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest
Deprecated
func (DefaultAPIServiceMock) ResizeServerExecute
deprecated
func (a DefaultAPIServiceMock) ResizeServerExecute(r ApiResizeServerRequest) error
Deprecated: ResizeServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResizeServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ResizeVolume ¶
func (a DefaultAPIServiceMock) ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest
Deprecated
func (DefaultAPIServiceMock) ResizeVolumeExecute
deprecated
func (a DefaultAPIServiceMock) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
Deprecated: ResizeVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResizeVolumeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RestoreBackup ¶
func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest
Deprecated
func (DefaultAPIServiceMock) RestoreBackupExecute
deprecated
func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error
Deprecated: RestoreBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) SetImageShare ¶
func (a DefaultAPIServiceMock) SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest
Deprecated
func (DefaultAPIServiceMock) SetImageShareExecute
deprecated
func (a DefaultAPIServiceMock) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
Deprecated: SetImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the SetImageShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) StartServer ¶
func (a DefaultAPIServiceMock) StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest
Deprecated
func (DefaultAPIServiceMock) StartServerExecute
deprecated
func (a DefaultAPIServiceMock) StartServerExecute(r ApiStartServerRequest) error
Deprecated: StartServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StartServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) StopServer ¶
func (a DefaultAPIServiceMock) StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest
Deprecated
func (DefaultAPIServiceMock) StopServerExecute
deprecated
func (a DefaultAPIServiceMock) StopServerExecute(r ApiStopServerRequest) error
Deprecated: StopServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StopServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UnrescueServer ¶
func (a DefaultAPIServiceMock) UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest
Deprecated
func (DefaultAPIServiceMock) UnrescueServerExecute
deprecated
func (a DefaultAPIServiceMock) UnrescueServerExecute(r ApiUnrescueServerRequest) error
Deprecated: UnrescueServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UnrescueServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateAttachedVolume ¶
func (a DefaultAPIServiceMock) UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
Deprecated
func (DefaultAPIServiceMock) UpdateAttachedVolumeExecute
deprecated
func (a DefaultAPIServiceMock) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
Deprecated: UpdateAttachedVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateAttachedVolumeExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateBackup ¶
func (a DefaultAPIServiceMock) UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest
Deprecated
func (DefaultAPIServiceMock) UpdateBackupExecute
deprecated
func (a DefaultAPIServiceMock) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)
Deprecated: UpdateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateImage ¶
func (a DefaultAPIServiceMock) UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest
Deprecated
func (DefaultAPIServiceMock) UpdateImageExecute
deprecated
func (a DefaultAPIServiceMock) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
Deprecated: UpdateImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateImageScopeLocal ¶
func (a DefaultAPIServiceMock) UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest
Deprecated
func (DefaultAPIServiceMock) UpdateImageScopeLocalExecute
deprecated
func (a DefaultAPIServiceMock) UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)
Deprecated: UpdateImageScopeLocalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageScopeLocalExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateImageScopePublic ¶
func (a DefaultAPIServiceMock) UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest
Deprecated
func (DefaultAPIServiceMock) UpdateImageScopePublicExecute
deprecated
func (a DefaultAPIServiceMock) UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)
Deprecated: UpdateImageScopePublicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageScopePublicExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateImageShare ¶
func (a DefaultAPIServiceMock) UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest
Deprecated
func (DefaultAPIServiceMock) UpdateImageShareExecute
deprecated
func (a DefaultAPIServiceMock) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
Deprecated: UpdateImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageShareExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateKeyPair ¶
func (a DefaultAPIServiceMock) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
Deprecated
func (DefaultAPIServiceMock) UpdateKeyPairExecute
deprecated
func (a DefaultAPIServiceMock) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
Deprecated: UpdateKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateKeyPairExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateNetworkAreaRoute ¶
func (a DefaultAPIServiceMock) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest
Deprecated
func (DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute
deprecated
func (a DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
Deprecated: UpdateNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateNic ¶
func (a DefaultAPIServiceMock) UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest
Deprecated
func (DefaultAPIServiceMock) UpdateNicExecute
deprecated
func (a DefaultAPIServiceMock) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
Deprecated: UpdateNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateNicExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdatePublicIP ¶
func (a DefaultAPIServiceMock) UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest
Deprecated
func (DefaultAPIServiceMock) UpdatePublicIPExecute
deprecated
func (a DefaultAPIServiceMock) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
Deprecated: UpdatePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdatePublicIPExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateSecurityGroup ¶
func (a DefaultAPIServiceMock) UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest
Deprecated
func (DefaultAPIServiceMock) UpdateSecurityGroupExecute
deprecated
func (a DefaultAPIServiceMock) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
Deprecated: UpdateSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateServer ¶
func (a DefaultAPIServiceMock) UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest
Deprecated
func (DefaultAPIServiceMock) UpdateServerExecute
deprecated
func (a DefaultAPIServiceMock) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
Deprecated: UpdateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateServerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateSnapshot ¶
func (a DefaultAPIServiceMock) UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest
Deprecated
func (DefaultAPIServiceMock) UpdateSnapshotExecute
deprecated
func (a DefaultAPIServiceMock) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)
Deprecated: UpdateSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateVolume ¶
func (a DefaultAPIServiceMock) UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest
Deprecated
func (DefaultAPIServiceMock) UpdateVolumeExecute
deprecated
func (a DefaultAPIServiceMock) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
Deprecated: UpdateVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateVolumeExecuteMock field in the DefaultAPIServiceMock struct.
type Error ¶
Error Error with HTTP error code and an error message.
func NewError ¶
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Error) GetMsgOk ¶
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) UnmarshalJSON ¶
type GetServerLog200Response ¶
type GetServerLog200Response struct {
Output *string `json:"output,omitempty"`
}
GetServerLog200Response struct for GetServerLog200Response
func NewGetServerLog200Response ¶
func NewGetServerLog200Response() *GetServerLog200Response
NewGetServerLog200Response instantiates a new GetServerLog200Response 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 NewGetServerLog200ResponseWithDefaults ¶
func NewGetServerLog200ResponseWithDefaults() *GetServerLog200Response
NewGetServerLog200ResponseWithDefaults instantiates a new GetServerLog200Response 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 (*GetServerLog200Response) GetOutput ¶
func (o *GetServerLog200Response) GetOutput() string
GetOutput returns the Output field value if set, zero value otherwise.
func (*GetServerLog200Response) GetOutputOk ¶
func (o *GetServerLog200Response) GetOutputOk() (*string, bool)
GetOutputOk returns a tuple with the Output field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServerLog200Response) HasOutput ¶
func (o *GetServerLog200Response) HasOutput() bool
HasOutput returns a boolean if a field has been set.
func (GetServerLog200Response) MarshalJSON ¶
func (o GetServerLog200Response) MarshalJSON() ([]byte, error)
func (*GetServerLog200Response) SetOutput ¶
func (o *GetServerLog200Response) SetOutput(v string)
SetOutput gets a reference to the given string and assigns it to the Output field.
func (GetServerLog200Response) ToMap ¶
func (o GetServerLog200Response) ToMap() (map[string]interface{}, error)
type ICMPParameters ¶
type ICMPParameters struct {
// ICMP code. Can be set if the protocol is ICMP.
Code int64 `json:"code"`
// ICMP type. Can be set if the protocol is ICMP.
Type int64 `json:"type"`
}
ICMPParameters Object that represents ICMP parameters.
func NewICMPParameters ¶
func NewICMPParameters(code int64, types int64) *ICMPParameters
NewICMPParameters instantiates a new ICMPParameters 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 NewICMPParametersWithDefaults ¶
func NewICMPParametersWithDefaults() *ICMPParameters
NewICMPParametersWithDefaults instantiates a new ICMPParameters 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 (*ICMPParameters) GetCode ¶
func (o *ICMPParameters) GetCode() int64
GetCode returns the Code field value
func (*ICMPParameters) GetCodeOk ¶
func (o *ICMPParameters) GetCodeOk() (*int64, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ICMPParameters) GetType ¶
func (o *ICMPParameters) GetType() int64
GetType returns the Type field value
func (*ICMPParameters) GetTypeOk ¶
func (o *ICMPParameters) GetTypeOk() (*int64, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ICMPParameters) MarshalJSON ¶
func (o ICMPParameters) MarshalJSON() ([]byte, error)
func (ICMPParameters) ToMap ¶
func (o ICMPParameters) ToMap() (map[string]interface{}, error)
func (*ICMPParameters) UnmarshalJSON ¶
func (o *ICMPParameters) UnmarshalJSON(data []byte) (err error)
type Image ¶
type Image struct {
Agent *ImageAgent `json:"agent,omitempty"`
Checksum *ImageChecksum `json:"checksum,omitempty"`
Config *ImageConfig `json:"config,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`.
DiskFormat string `json:"diskFormat"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Indicates Image Import Progress in percent.
ImportProgress *int64 `json:"importProgress,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Size in Gigabyte.
MinDiskSize *int64 `json:"minDiskSize,omitempty"`
// Size in Megabyte.
MinRam *int64 `json:"minRam,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
Owner *string `json:"owner,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// When true the image is prevented from being deleted.
Protected *bool `json:"protected,omitempty"`
// Scope of an Image. Possible values: `public`, `local`, `projects`, `organization`.
Scope *string `json:"scope,omitempty"`
// Size in bytes.
Size *int64 `json:"size,omitempty"`
// The status of an image object. Possible values: `AVAILABLE`, `CREATING`, `DEACTIVATED`, `DELETED`, `DELETING`, `ERROR`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Image Object that represents an Image and its parameters. Used for Creating and returning (get/list).
func NewImage ¶
NewImage instantiates a new Image 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 NewImageWithDefaults ¶
func NewImageWithDefaults() *Image
NewImageWithDefaults instantiates a new Image 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 (*Image) GetAgent ¶
func (o *Image) GetAgent() ImageAgent
GetAgent returns the Agent field value if set, zero value otherwise.
func (*Image) GetAgentOk ¶
func (o *Image) GetAgentOk() (*ImageAgent, bool)
GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetChecksum ¶
func (o *Image) GetChecksum() ImageChecksum
GetChecksum returns the Checksum field value if set, zero value otherwise.
func (*Image) GetChecksumOk ¶
func (o *Image) GetChecksumOk() (*ImageChecksum, bool)
GetChecksumOk returns a tuple with the Checksum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetConfig ¶
func (o *Image) GetConfig() ImageConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*Image) GetConfigOk ¶
func (o *Image) GetConfigOk() (*ImageConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Image) 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 (*Image) GetDiskFormat ¶
GetDiskFormat returns the DiskFormat field value
func (*Image) GetDiskFormatOk ¶
GetDiskFormatOk returns a tuple with the DiskFormat field value and a boolean to check if the value has been set.
func (*Image) 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 (*Image) GetImportProgress ¶
GetImportProgress returns the ImportProgress field value if set, zero value otherwise.
func (*Image) GetImportProgressOk ¶
GetImportProgressOk returns a tuple with the ImportProgress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetMinDiskSize ¶
GetMinDiskSize returns the MinDiskSize field value if set, zero value otherwise.
func (*Image) GetMinDiskSizeOk ¶
GetMinDiskSizeOk returns a tuple with the MinDiskSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetMinRamOk ¶
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 (*Image) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Image) GetOwnerOk ¶
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetProtected ¶
GetProtected returns the Protected field value if set, zero value otherwise.
func (*Image) GetProtectedOk ¶
GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) GetScopeOk ¶
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Image) 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 (*Image) 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 (*Image) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Image) 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 (*Image) HasChecksum ¶
HasChecksum returns a boolean if a field has been set.
func (*Image) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Image) HasImportProgress ¶
HasImportProgress returns a boolean if a field has been set.
func (*Image) HasMinDiskSize ¶
HasMinDiskSize returns a boolean if a field has been set.
func (*Image) HasProtected ¶
HasProtected returns a boolean if a field has been set.
func (*Image) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Image) MarshalJSON ¶
func (*Image) SetAgent ¶
func (o *Image) SetAgent(v ImageAgent)
SetAgent gets a reference to the given ImageAgent and assigns it to the Agent field.
func (*Image) SetChecksum ¶
func (o *Image) SetChecksum(v ImageChecksum)
SetChecksum gets a reference to the given ImageChecksum and assigns it to the Checksum field.
func (*Image) SetConfig ¶
func (o *Image) SetConfig(v ImageConfig)
SetConfig gets a reference to the given ImageConfig and assigns it to the Config field.
func (*Image) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Image) SetDiskFormat ¶
SetDiskFormat sets field value
func (*Image) SetImportProgress ¶
SetImportProgress gets a reference to the given int64 and assigns it to the ImportProgress field.
func (*Image) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Image) SetMinDiskSize ¶
SetMinDiskSize gets a reference to the given int64 and assigns it to the MinDiskSize field.
func (*Image) SetMinRam ¶
SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.
func (*Image) SetOwner ¶
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*Image) SetProtected ¶
SetProtected gets a reference to the given bool and assigns it to the Protected field.
func (*Image) SetScope ¶
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*Image) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Image) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Image) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Image) UnmarshalJSON ¶
type ImageAgent ¶
type ImageAgent struct {
// Default provioning of the STACKIT server agent for new servers. The default for new images is false. Can only be enabled when supported is also true.
ProvisionByDefault *bool `json:"provisionByDefault,omitempty"`
// Indicates the STACKIT server agent for the image. The default for new images is false.
Supported *bool `json:"supported,omitempty"`
}
ImageAgent Support status and default provioning setting for the STACKIT server agent.
func NewImageAgent ¶
func NewImageAgent() *ImageAgent
NewImageAgent instantiates a new ImageAgent 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 NewImageAgentWithDefaults ¶
func NewImageAgentWithDefaults() *ImageAgent
NewImageAgentWithDefaults instantiates a new ImageAgent 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 (*ImageAgent) GetProvisionByDefault ¶
func (o *ImageAgent) GetProvisionByDefault() bool
GetProvisionByDefault returns the ProvisionByDefault field value if set, zero value otherwise.
func (*ImageAgent) GetProvisionByDefaultOk ¶
func (o *ImageAgent) GetProvisionByDefaultOk() (*bool, bool)
GetProvisionByDefaultOk returns a tuple with the ProvisionByDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageAgent) GetSupported ¶
func (o *ImageAgent) GetSupported() bool
GetSupported returns the Supported field value if set, zero value otherwise.
func (*ImageAgent) GetSupportedOk ¶
func (o *ImageAgent) GetSupportedOk() (*bool, bool)
GetSupportedOk returns a tuple with the Supported field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageAgent) HasProvisionByDefault ¶
func (o *ImageAgent) HasProvisionByDefault() bool
HasProvisionByDefault returns a boolean if a field has been set.
func (*ImageAgent) HasSupported ¶
func (o *ImageAgent) HasSupported() bool
HasSupported returns a boolean if a field has been set.
func (ImageAgent) MarshalJSON ¶
func (o ImageAgent) MarshalJSON() ([]byte, error)
func (*ImageAgent) SetProvisionByDefault ¶
func (o *ImageAgent) SetProvisionByDefault(v bool)
SetProvisionByDefault gets a reference to the given bool and assigns it to the ProvisionByDefault field.
func (*ImageAgent) SetSupported ¶
func (o *ImageAgent) SetSupported(v bool)
SetSupported gets a reference to the given bool and assigns it to the Supported field.
func (ImageAgent) ToMap ¶
func (o ImageAgent) ToMap() (map[string]interface{}, error)
type ImageChecksum ¶
type ImageChecksum struct {
// Algorithm for the checksum of the image data. Possible values: `md5`, `sha512`.
Algorithm string `json:"algorithm"`
// Hexdigest of the checksum of the image data.
Digest string `json:"digest" validate:"regexp=^[0-9a-f]+$"`
}
ImageChecksum Representation of an image checksum.
func NewImageChecksum ¶
func NewImageChecksum(algorithm string, digest string) *ImageChecksum
NewImageChecksum instantiates a new ImageChecksum 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 NewImageChecksumWithDefaults ¶
func NewImageChecksumWithDefaults() *ImageChecksum
NewImageChecksumWithDefaults instantiates a new ImageChecksum 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 (*ImageChecksum) GetAlgorithm ¶
func (o *ImageChecksum) GetAlgorithm() string
GetAlgorithm returns the Algorithm field value
func (*ImageChecksum) GetAlgorithmOk ¶
func (o *ImageChecksum) GetAlgorithmOk() (*string, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.
func (*ImageChecksum) GetDigest ¶
func (o *ImageChecksum) GetDigest() string
GetDigest returns the Digest field value
func (*ImageChecksum) GetDigestOk ¶
func (o *ImageChecksum) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field value and a boolean to check if the value has been set.
func (ImageChecksum) MarshalJSON ¶
func (o ImageChecksum) MarshalJSON() ([]byte, error)
func (*ImageChecksum) SetAlgorithm ¶
func (o *ImageChecksum) SetAlgorithm(v string)
SetAlgorithm sets field value
func (*ImageChecksum) SetDigest ¶
func (o *ImageChecksum) SetDigest(v string)
SetDigest sets field value
func (ImageChecksum) ToMap ¶
func (o ImageChecksum) ToMap() (map[string]interface{}, error)
func (*ImageChecksum) UnmarshalJSON ¶
func (o *ImageChecksum) UnmarshalJSON(data []byte) (err error)
type ImageConfig ¶
type ImageConfig struct {
// Represents CPU architecture. The default for new images is x86. Possible values: `arm64`, `x86`.
Architecture *string `json:"architecture,omitempty"`
// Enables the BIOS bootmenu. The default for new images is disabled.
BootMenu *bool `json:"bootMenu,omitempty"`
// Sets CDROM bus controller type. Possible values: `scsi`, `virtio`, `ide`, `usb`.
CdromBus NullableString `json:"cdromBus,omitempty"`
// Sets Disk bus controller type. Possible values: `scsi`, `virtio`, `ide`, `usb`.
DiskBus NullableString `json:"diskBus,omitempty"`
// Sets virtual nic model. Possible values: `e1000`, `e1000e`, `ne2k_pci`, `pcnet`, `rtl8139`, `virtio`, `vmxnet3`.
NicModel NullableString `json:"nicModel,omitempty"`
// Enables OS specific optimizations. Possible values: `windows`, `linux`.
OperatingSystem *string `json:"operatingSystem,omitempty"`
// Operating System Distribution.
OperatingSystemDistro NullableString `json:"operatingSystemDistro,omitempty"`
// Version of the OS.
OperatingSystemVersion NullableString `json:"operatingSystemVersion,omitempty"`
// Sets the device bus when the image is used as a rescue image. Possible values: `sata`, `scsi`, `virtio`, `usb`.
RescueBus NullableString `json:"rescueBus,omitempty"`
// Sets the device when the image is used as a rescue image. Possible values: `cdrom`, `disk`.
RescueDevice NullableString `json:"rescueDevice,omitempty"`
// Enables Secure Boot. The default for new images is disabled.
SecureBoot *bool `json:"secureBoot,omitempty"`
// Configure UEFI boot. The default for new images is enabled.
Uefi *bool `json:"uefi,omitempty"`
// Sets Graphic device model. Possible values: `vga`, `cirrus`, `vmvga`, `qxl`, `virtio`, `none`.
VideoModel NullableString `json:"videoModel,omitempty"`
// Enables the use of VirtIO SCSI to provide block device access. By default servers use VirtIO Block.
VirtioScsi *bool `json:"virtioScsi,omitempty"`
}
ImageConfig Properties to set hardware and scheduling settings for an Image.
func NewImageConfig ¶
func NewImageConfig() *ImageConfig
NewImageConfig instantiates a new ImageConfig 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 NewImageConfigWithDefaults ¶
func NewImageConfigWithDefaults() *ImageConfig
NewImageConfigWithDefaults instantiates a new ImageConfig 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 (*ImageConfig) GetArchitecture ¶
func (o *ImageConfig) GetArchitecture() string
GetArchitecture returns the Architecture field value if set, zero value otherwise.
func (*ImageConfig) GetArchitectureOk ¶
func (o *ImageConfig) GetArchitectureOk() (*string, bool)
GetArchitectureOk returns a tuple with the Architecture field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageConfig) GetBootMenu ¶
func (o *ImageConfig) GetBootMenu() bool
GetBootMenu returns the BootMenu field value if set, zero value otherwise.
func (*ImageConfig) GetBootMenuOk ¶
func (o *ImageConfig) GetBootMenuOk() (*bool, bool)
GetBootMenuOk returns a tuple with the BootMenu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageConfig) GetCdromBus ¶
func (o *ImageConfig) GetCdromBus() string
GetCdromBus returns the CdromBus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetCdromBusOk ¶
func (o *ImageConfig) GetCdromBusOk() (*string, bool)
GetCdromBusOk returns a tuple with the CdromBus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetDiskBus ¶
func (o *ImageConfig) GetDiskBus() string
GetDiskBus returns the DiskBus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetDiskBusOk ¶
func (o *ImageConfig) GetDiskBusOk() (*string, bool)
GetDiskBusOk returns a tuple with the DiskBus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetNicModel ¶
func (o *ImageConfig) GetNicModel() string
GetNicModel returns the NicModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetNicModelOk ¶
func (o *ImageConfig) GetNicModelOk() (*string, bool)
GetNicModelOk returns a tuple with the NicModel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetOperatingSystem ¶
func (o *ImageConfig) GetOperatingSystem() string
GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.
func (*ImageConfig) GetOperatingSystemDistro ¶
func (o *ImageConfig) GetOperatingSystemDistro() string
GetOperatingSystemDistro returns the OperatingSystemDistro field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetOperatingSystemDistroOk ¶
func (o *ImageConfig) GetOperatingSystemDistroOk() (*string, bool)
GetOperatingSystemDistroOk returns a tuple with the OperatingSystemDistro field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetOperatingSystemOk ¶
func (o *ImageConfig) GetOperatingSystemOk() (*string, bool)
GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageConfig) GetOperatingSystemVersion ¶
func (o *ImageConfig) GetOperatingSystemVersion() string
GetOperatingSystemVersion returns the OperatingSystemVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetOperatingSystemVersionOk ¶
func (o *ImageConfig) GetOperatingSystemVersionOk() (*string, bool)
GetOperatingSystemVersionOk returns a tuple with the OperatingSystemVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetRescueBus ¶
func (o *ImageConfig) GetRescueBus() string
GetRescueBus returns the RescueBus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetRescueBusOk ¶
func (o *ImageConfig) GetRescueBusOk() (*string, bool)
GetRescueBusOk returns a tuple with the RescueBus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetRescueDevice ¶
func (o *ImageConfig) GetRescueDevice() string
GetRescueDevice returns the RescueDevice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetRescueDeviceOk ¶
func (o *ImageConfig) GetRescueDeviceOk() (*string, bool)
GetRescueDeviceOk returns a tuple with the RescueDevice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetSecureBoot ¶
func (o *ImageConfig) GetSecureBoot() bool
GetSecureBoot returns the SecureBoot field value if set, zero value otherwise.
func (*ImageConfig) GetSecureBootOk ¶
func (o *ImageConfig) GetSecureBootOk() (*bool, bool)
GetSecureBootOk returns a tuple with the SecureBoot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageConfig) GetUefi ¶
func (o *ImageConfig) GetUefi() bool
GetUefi returns the Uefi field value if set, zero value otherwise.
func (*ImageConfig) GetUefiOk ¶
func (o *ImageConfig) GetUefiOk() (*bool, bool)
GetUefiOk returns a tuple with the Uefi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageConfig) GetVideoModel ¶
func (o *ImageConfig) GetVideoModel() string
GetVideoModel returns the VideoModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageConfig) GetVideoModelOk ¶
func (o *ImageConfig) GetVideoModelOk() (*string, bool)
GetVideoModelOk returns a tuple with the VideoModel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageConfig) GetVirtioScsi ¶
func (o *ImageConfig) GetVirtioScsi() bool
GetVirtioScsi returns the VirtioScsi field value if set, zero value otherwise.
func (*ImageConfig) GetVirtioScsiOk ¶
func (o *ImageConfig) GetVirtioScsiOk() (*bool, bool)
GetVirtioScsiOk returns a tuple with the VirtioScsi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageConfig) HasArchitecture ¶
func (o *ImageConfig) HasArchitecture() bool
HasArchitecture returns a boolean if a field has been set.
func (*ImageConfig) HasBootMenu ¶
func (o *ImageConfig) HasBootMenu() bool
HasBootMenu returns a boolean if a field has been set.
func (*ImageConfig) HasCdromBus ¶
func (o *ImageConfig) HasCdromBus() bool
HasCdromBus returns a boolean if a field has been set.
func (*ImageConfig) HasDiskBus ¶
func (o *ImageConfig) HasDiskBus() bool
HasDiskBus returns a boolean if a field has been set.
func (*ImageConfig) HasNicModel ¶
func (o *ImageConfig) HasNicModel() bool
HasNicModel returns a boolean if a field has been set.
func (*ImageConfig) HasOperatingSystem ¶
func (o *ImageConfig) HasOperatingSystem() bool
HasOperatingSystem returns a boolean if a field has been set.
func (*ImageConfig) HasOperatingSystemDistro ¶
func (o *ImageConfig) HasOperatingSystemDistro() bool
HasOperatingSystemDistro returns a boolean if a field has been set.
func (*ImageConfig) HasOperatingSystemVersion ¶
func (o *ImageConfig) HasOperatingSystemVersion() bool
HasOperatingSystemVersion returns a boolean if a field has been set.
func (*ImageConfig) HasRescueBus ¶
func (o *ImageConfig) HasRescueBus() bool
HasRescueBus returns a boolean if a field has been set.
func (*ImageConfig) HasRescueDevice ¶
func (o *ImageConfig) HasRescueDevice() bool
HasRescueDevice returns a boolean if a field has been set.
func (*ImageConfig) HasSecureBoot ¶
func (o *ImageConfig) HasSecureBoot() bool
HasSecureBoot returns a boolean if a field has been set.
func (*ImageConfig) HasUefi ¶
func (o *ImageConfig) HasUefi() bool
HasUefi returns a boolean if a field has been set.
func (*ImageConfig) HasVideoModel ¶
func (o *ImageConfig) HasVideoModel() bool
HasVideoModel returns a boolean if a field has been set.
func (*ImageConfig) HasVirtioScsi ¶
func (o *ImageConfig) HasVirtioScsi() bool
HasVirtioScsi returns a boolean if a field has been set.
func (ImageConfig) MarshalJSON ¶
func (o ImageConfig) MarshalJSON() ([]byte, error)
func (*ImageConfig) SetArchitecture ¶
func (o *ImageConfig) SetArchitecture(v string)
SetArchitecture gets a reference to the given string and assigns it to the Architecture field.
func (*ImageConfig) SetBootMenu ¶
func (o *ImageConfig) SetBootMenu(v bool)
SetBootMenu gets a reference to the given bool and assigns it to the BootMenu field.
func (*ImageConfig) SetCdromBus ¶
func (o *ImageConfig) SetCdromBus(v string)
SetCdromBus gets a reference to the given NullableString and assigns it to the CdromBus field.
func (*ImageConfig) SetCdromBusNil ¶
func (o *ImageConfig) SetCdromBusNil()
SetCdromBusNil sets the value for CdromBus to be an explicit nil
func (*ImageConfig) SetDiskBus ¶
func (o *ImageConfig) SetDiskBus(v string)
SetDiskBus gets a reference to the given NullableString and assigns it to the DiskBus field.
func (*ImageConfig) SetDiskBusNil ¶
func (o *ImageConfig) SetDiskBusNil()
SetDiskBusNil sets the value for DiskBus to be an explicit nil
func (*ImageConfig) SetNicModel ¶
func (o *ImageConfig) SetNicModel(v string)
SetNicModel gets a reference to the given NullableString and assigns it to the NicModel field.
func (*ImageConfig) SetNicModelNil ¶
func (o *ImageConfig) SetNicModelNil()
SetNicModelNil sets the value for NicModel to be an explicit nil
func (*ImageConfig) SetOperatingSystem ¶
func (o *ImageConfig) SetOperatingSystem(v string)
SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.
func (*ImageConfig) SetOperatingSystemDistro ¶
func (o *ImageConfig) SetOperatingSystemDistro(v string)
SetOperatingSystemDistro gets a reference to the given NullableString and assigns it to the OperatingSystemDistro field.
func (*ImageConfig) SetOperatingSystemDistroNil ¶
func (o *ImageConfig) SetOperatingSystemDistroNil()
SetOperatingSystemDistroNil sets the value for OperatingSystemDistro to be an explicit nil
func (*ImageConfig) SetOperatingSystemVersion ¶
func (o *ImageConfig) SetOperatingSystemVersion(v string)
SetOperatingSystemVersion gets a reference to the given NullableString and assigns it to the OperatingSystemVersion field.
func (*ImageConfig) SetOperatingSystemVersionNil ¶
func (o *ImageConfig) SetOperatingSystemVersionNil()
SetOperatingSystemVersionNil sets the value for OperatingSystemVersion to be an explicit nil
func (*ImageConfig) SetRescueBus ¶
func (o *ImageConfig) SetRescueBus(v string)
SetRescueBus gets a reference to the given NullableString and assigns it to the RescueBus field.
func (*ImageConfig) SetRescueBusNil ¶
func (o *ImageConfig) SetRescueBusNil()
SetRescueBusNil sets the value for RescueBus to be an explicit nil
func (*ImageConfig) SetRescueDevice ¶
func (o *ImageConfig) SetRescueDevice(v string)
SetRescueDevice gets a reference to the given NullableString and assigns it to the RescueDevice field.
func (*ImageConfig) SetRescueDeviceNil ¶
func (o *ImageConfig) SetRescueDeviceNil()
SetRescueDeviceNil sets the value for RescueDevice to be an explicit nil
func (*ImageConfig) SetSecureBoot ¶
func (o *ImageConfig) SetSecureBoot(v bool)
SetSecureBoot gets a reference to the given bool and assigns it to the SecureBoot field.
func (*ImageConfig) SetUefi ¶
func (o *ImageConfig) SetUefi(v bool)
SetUefi gets a reference to the given bool and assigns it to the Uefi field.
func (*ImageConfig) SetVideoModel ¶
func (o *ImageConfig) SetVideoModel(v string)
SetVideoModel gets a reference to the given NullableString and assigns it to the VideoModel field.
func (*ImageConfig) SetVideoModelNil ¶
func (o *ImageConfig) SetVideoModelNil()
SetVideoModelNil sets the value for VideoModel to be an explicit nil
func (*ImageConfig) SetVirtioScsi ¶
func (o *ImageConfig) SetVirtioScsi(v bool)
SetVirtioScsi gets a reference to the given bool and assigns it to the VirtioScsi field.
func (ImageConfig) ToMap ¶
func (o ImageConfig) ToMap() (map[string]interface{}, error)
func (*ImageConfig) UnsetCdromBus ¶
func (o *ImageConfig) UnsetCdromBus()
UnsetCdromBus ensures that no value is present for CdromBus, not even an explicit nil
func (*ImageConfig) UnsetDiskBus ¶
func (o *ImageConfig) UnsetDiskBus()
UnsetDiskBus ensures that no value is present for DiskBus, not even an explicit nil
func (*ImageConfig) UnsetNicModel ¶
func (o *ImageConfig) UnsetNicModel()
UnsetNicModel ensures that no value is present for NicModel, not even an explicit nil
func (*ImageConfig) UnsetOperatingSystemDistro ¶
func (o *ImageConfig) UnsetOperatingSystemDistro()
UnsetOperatingSystemDistro ensures that no value is present for OperatingSystemDistro, not even an explicit nil
func (*ImageConfig) UnsetOperatingSystemVersion ¶
func (o *ImageConfig) UnsetOperatingSystemVersion()
UnsetOperatingSystemVersion ensures that no value is present for OperatingSystemVersion, not even an explicit nil
func (*ImageConfig) UnsetRescueBus ¶
func (o *ImageConfig) UnsetRescueBus()
UnsetRescueBus ensures that no value is present for RescueBus, not even an explicit nil
func (*ImageConfig) UnsetRescueDevice ¶
func (o *ImageConfig) UnsetRescueDevice()
UnsetRescueDevice ensures that no value is present for RescueDevice, not even an explicit nil
func (*ImageConfig) UnsetVideoModel ¶
func (o *ImageConfig) UnsetVideoModel()
UnsetVideoModel ensures that no value is present for VideoModel, not even an explicit nil
type ImageCreateResponse ¶
type ImageCreateResponse struct {
// Universally Unique Identifier (UUID).
Id string `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
UploadUrl string `json:"uploadUrl"`
}
ImageCreateResponse Image creation response.
func NewImageCreateResponse ¶
func NewImageCreateResponse(id string, uploadUrl string) *ImageCreateResponse
NewImageCreateResponse instantiates a new ImageCreateResponse 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 NewImageCreateResponseWithDefaults ¶
func NewImageCreateResponseWithDefaults() *ImageCreateResponse
NewImageCreateResponseWithDefaults instantiates a new ImageCreateResponse 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 (*ImageCreateResponse) GetId ¶
func (o *ImageCreateResponse) GetId() string
GetId returns the Id field value
func (*ImageCreateResponse) GetIdOk ¶
func (o *ImageCreateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ImageCreateResponse) GetUploadUrl ¶
func (o *ImageCreateResponse) GetUploadUrl() string
GetUploadUrl returns the UploadUrl field value
func (*ImageCreateResponse) GetUploadUrlOk ¶
func (o *ImageCreateResponse) GetUploadUrlOk() (*string, bool)
GetUploadUrlOk returns a tuple with the UploadUrl field value and a boolean to check if the value has been set.
func (ImageCreateResponse) MarshalJSON ¶
func (o ImageCreateResponse) MarshalJSON() ([]byte, error)
func (*ImageCreateResponse) SetId ¶
func (o *ImageCreateResponse) SetId(v string)
SetId sets field value
func (*ImageCreateResponse) SetUploadUrl ¶
func (o *ImageCreateResponse) SetUploadUrl(v string)
SetUploadUrl sets field value
func (ImageCreateResponse) ToMap ¶
func (o ImageCreateResponse) ToMap() (map[string]interface{}, error)
func (*ImageCreateResponse) UnmarshalJSON ¶
func (o *ImageCreateResponse) UnmarshalJSON(data []byte) (err error)
type ImageListResponse ¶
type ImageListResponse struct {
// A list containing image objects.
Items []Image `json:"items"`
}
ImageListResponse Image list response.
func NewImageListResponse ¶
func NewImageListResponse(items []Image) *ImageListResponse
NewImageListResponse instantiates a new ImageListResponse 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 NewImageListResponseWithDefaults ¶
func NewImageListResponseWithDefaults() *ImageListResponse
NewImageListResponseWithDefaults instantiates a new ImageListResponse 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 (*ImageListResponse) GetItems ¶
func (o *ImageListResponse) GetItems() []Image
GetItems returns the Items field value
func (*ImageListResponse) GetItemsOk ¶
func (o *ImageListResponse) GetItemsOk() ([]Image, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ImageListResponse) MarshalJSON ¶
func (o ImageListResponse) MarshalJSON() ([]byte, error)
func (*ImageListResponse) SetItems ¶
func (o *ImageListResponse) SetItems(v []Image)
SetItems sets field value
func (ImageListResponse) ToMap ¶
func (o ImageListResponse) ToMap() (map[string]interface{}, error)
func (*ImageListResponse) UnmarshalJSON ¶
func (o *ImageListResponse) UnmarshalJSON(data []byte) (err error)
type ImageShare ¶
type ImageShare struct {
ParentOrganization *bool `json:"parentOrganization,omitempty"`
Projects []string `json:"projects,omitempty"`
}
ImageShare Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive.
func NewImageShare ¶
func NewImageShare() *ImageShare
NewImageShare instantiates a new ImageShare 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 NewImageShareWithDefaults ¶
func NewImageShareWithDefaults() *ImageShare
NewImageShareWithDefaults instantiates a new ImageShare 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 (*ImageShare) GetParentOrganization ¶
func (o *ImageShare) GetParentOrganization() bool
GetParentOrganization returns the ParentOrganization field value if set, zero value otherwise.
func (*ImageShare) GetParentOrganizationOk ¶
func (o *ImageShare) GetParentOrganizationOk() (*bool, bool)
GetParentOrganizationOk returns a tuple with the ParentOrganization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageShare) GetProjects ¶
func (o *ImageShare) GetProjects() []string
GetProjects returns the Projects field value if set, zero value otherwise.
func (*ImageShare) GetProjectsOk ¶
func (o *ImageShare) GetProjectsOk() ([]string, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageShare) HasParentOrganization ¶
func (o *ImageShare) HasParentOrganization() bool
HasParentOrganization returns a boolean if a field has been set.
func (*ImageShare) HasProjects ¶
func (o *ImageShare) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (ImageShare) MarshalJSON ¶
func (o ImageShare) MarshalJSON() ([]byte, error)
func (*ImageShare) SetParentOrganization ¶
func (o *ImageShare) SetParentOrganization(v bool)
SetParentOrganization gets a reference to the given bool and assigns it to the ParentOrganization field.
func (*ImageShare) SetProjects ¶
func (o *ImageShare) SetProjects(v []string)
SetProjects gets a reference to the given []string and assigns it to the Projects field.
func (ImageShare) ToMap ¶
func (o ImageShare) ToMap() (map[string]interface{}, error)
type ImageShareConsumer ¶
type ImageShareConsumer struct {
ConsumerProjectId *string `json:"consumerProjectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
ImageId *string `json:"imageId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
ImageShareConsumer The details of an Image share consumer.
func NewImageShareConsumer ¶
func NewImageShareConsumer() *ImageShareConsumer
NewImageShareConsumer instantiates a new ImageShareConsumer 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 NewImageShareConsumerWithDefaults ¶
func NewImageShareConsumerWithDefaults() *ImageShareConsumer
NewImageShareConsumerWithDefaults instantiates a new ImageShareConsumer 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 (*ImageShareConsumer) GetConsumerProjectId ¶
func (o *ImageShareConsumer) GetConsumerProjectId() string
GetConsumerProjectId returns the ConsumerProjectId field value if set, zero value otherwise.
func (*ImageShareConsumer) GetConsumerProjectIdOk ¶
func (o *ImageShareConsumer) GetConsumerProjectIdOk() (*string, bool)
GetConsumerProjectIdOk returns a tuple with the ConsumerProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageShareConsumer) GetCreatedAt ¶
func (o *ImageShareConsumer) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ImageShareConsumer) GetCreatedAtOk ¶
func (o *ImageShareConsumer) GetCreatedAtOk() (*time.Time, 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 (*ImageShareConsumer) GetImageId ¶
func (o *ImageShareConsumer) GetImageId() string
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*ImageShareConsumer) GetImageIdOk ¶
func (o *ImageShareConsumer) 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 (*ImageShareConsumer) GetUpdatedAt ¶
func (o *ImageShareConsumer) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ImageShareConsumer) GetUpdatedAtOk ¶
func (o *ImageShareConsumer) GetUpdatedAtOk() (*time.Time, 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 (*ImageShareConsumer) HasConsumerProjectId ¶
func (o *ImageShareConsumer) HasConsumerProjectId() bool
HasConsumerProjectId returns a boolean if a field has been set.
func (*ImageShareConsumer) HasCreatedAt ¶
func (o *ImageShareConsumer) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ImageShareConsumer) HasImageId ¶
func (o *ImageShareConsumer) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*ImageShareConsumer) HasUpdatedAt ¶
func (o *ImageShareConsumer) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ImageShareConsumer) MarshalJSON ¶
func (o ImageShareConsumer) MarshalJSON() ([]byte, error)
func (*ImageShareConsumer) SetConsumerProjectId ¶
func (o *ImageShareConsumer) SetConsumerProjectId(v string)
SetConsumerProjectId gets a reference to the given string and assigns it to the ConsumerProjectId field.
func (*ImageShareConsumer) SetCreatedAt ¶
func (o *ImageShareConsumer) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ImageShareConsumer) SetImageId ¶
func (o *ImageShareConsumer) SetImageId(v string)
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*ImageShareConsumer) SetUpdatedAt ¶
func (o *ImageShareConsumer) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ImageShareConsumer) ToMap ¶
func (o ImageShareConsumer) ToMap() (map[string]interface{}, error)
type KeyPairListResponse ¶
type KeyPairListResponse struct {
// A list of SSH keypairs.
Items []Keypair `json:"items"`
}
KeyPairListResponse SSH keypair list response.
func NewKeyPairListResponse ¶
func NewKeyPairListResponse(items []Keypair) *KeyPairListResponse
NewKeyPairListResponse instantiates a new KeyPairListResponse 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 NewKeyPairListResponseWithDefaults ¶
func NewKeyPairListResponseWithDefaults() *KeyPairListResponse
NewKeyPairListResponseWithDefaults instantiates a new KeyPairListResponse 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 (*KeyPairListResponse) GetItems ¶
func (o *KeyPairListResponse) GetItems() []Keypair
GetItems returns the Items field value
func (*KeyPairListResponse) GetItemsOk ¶
func (o *KeyPairListResponse) GetItemsOk() ([]Keypair, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (KeyPairListResponse) MarshalJSON ¶
func (o KeyPairListResponse) MarshalJSON() ([]byte, error)
func (*KeyPairListResponse) SetItems ¶
func (o *KeyPairListResponse) SetItems(v []Keypair)
SetItems sets field value
func (KeyPairListResponse) ToMap ¶
func (o KeyPairListResponse) ToMap() (map[string]interface{}, error)
func (*KeyPairListResponse) UnmarshalJSON ¶
func (o *KeyPairListResponse) UnmarshalJSON(data []byte) (err error)
type Keypair ¶
type Keypair struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Object that represents an SSH keypair MD5 fingerprint.
Fingerprint *string `json:"fingerprint,omitempty" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){15}([0-9A-Fa-f]{2})$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name of an SSH keypair. Allowed characters are letters [a-zA-Z], digits [0-9] and the following special characters: [@._-].
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9@._-]*$"`
// Object that represents a public SSH key.
PublicKey string `` /* 135-byte string literal not displayed */
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Keypair Object that represents the public key of an SSH keypair and its name.
func NewKeypair ¶
NewKeypair instantiates a new Keypair 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 NewKeypairWithDefaults ¶
func NewKeypairWithDefaults() *Keypair
NewKeypairWithDefaults instantiates a new Keypair 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 (*Keypair) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Keypair) 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 (*Keypair) GetFingerprint ¶
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*Keypair) 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 (*Keypair) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Keypair) 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 (*Keypair) GetPublicKey ¶
GetPublicKey returns the PublicKey field value
func (*Keypair) GetPublicKeyOk ¶
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*Keypair) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Keypair) 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 (*Keypair) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Keypair) HasFingerprint ¶
HasFingerprint returns a boolean if a field has been set.
func (*Keypair) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Keypair) MarshalJSON ¶
func (*Keypair) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Keypair) SetFingerprint ¶
SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.
func (*Keypair) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Keypair) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Keypair) SetPublicKey ¶
SetPublicKey sets field value
func (*Keypair) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Keypair) UnmarshalJSON ¶
type MachineType ¶
type MachineType struct {
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Size in Gigabyte.
Disk int64 `json:"disk"`
// Properties to control certain aspects or scheduling behavior for an object.
ExtraSpecs map[string]interface{} `json:"extraSpecs,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Size in Megabyte.
Ram int64 `json:"ram"`
// The number of virtual CPUs of a server.
Vcpus int64 `json:"vcpus"`
}
MachineType Machine Type. Filterable Fields: `disk`, `extraSpecs`, `name`, `ram`, `vcpus`.
func NewMachineType ¶
func NewMachineType(disk int64, name string, ram int64, vcpus int64) *MachineType
NewMachineType instantiates a new MachineType 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 NewMachineTypeWithDefaults ¶
func NewMachineTypeWithDefaults() *MachineType
NewMachineTypeWithDefaults instantiates a new MachineType 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 (*MachineType) GetDescription ¶
func (o *MachineType) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MachineType) GetDescriptionOk ¶
func (o *MachineType) 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 (*MachineType) GetDisk ¶
func (o *MachineType) GetDisk() int64
GetDisk returns the Disk field value
func (*MachineType) GetDiskOk ¶
func (o *MachineType) GetDiskOk() (*int64, bool)
GetDiskOk returns a tuple with the Disk field value and a boolean to check if the value has been set.
func (*MachineType) GetExtraSpecs ¶
func (o *MachineType) GetExtraSpecs() map[string]interface{}
GetExtraSpecs returns the ExtraSpecs field value if set, zero value otherwise.
func (*MachineType) GetExtraSpecsOk ¶
func (o *MachineType) GetExtraSpecsOk() (map[string]interface{}, bool)
GetExtraSpecsOk returns a tuple with the ExtraSpecs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineType) GetName ¶
func (o *MachineType) GetName() string
GetName returns the Name field value
func (*MachineType) GetNameOk ¶
func (o *MachineType) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MachineType) GetRam ¶
func (o *MachineType) GetRam() int64
GetRam returns the Ram field value
func (*MachineType) GetRamOk ¶
func (o *MachineType) GetRamOk() (*int64, bool)
GetRamOk returns a tuple with the Ram field value and a boolean to check if the value has been set.
func (*MachineType) GetVcpus ¶
func (o *MachineType) GetVcpus() int64
GetVcpus returns the Vcpus field value
func (*MachineType) GetVcpusOk ¶
func (o *MachineType) GetVcpusOk() (*int64, bool)
GetVcpusOk returns a tuple with the Vcpus field value and a boolean to check if the value has been set.
func (*MachineType) HasDescription ¶
func (o *MachineType) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MachineType) HasExtraSpecs ¶
func (o *MachineType) HasExtraSpecs() bool
HasExtraSpecs returns a boolean if a field has been set.
func (MachineType) MarshalJSON ¶
func (o MachineType) MarshalJSON() ([]byte, error)
func (*MachineType) SetDescription ¶
func (o *MachineType) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MachineType) SetExtraSpecs ¶
func (o *MachineType) SetExtraSpecs(v map[string]interface{})
SetExtraSpecs gets a reference to the given map[string]interface{} and assigns it to the ExtraSpecs field.
func (MachineType) ToMap ¶
func (o MachineType) ToMap() (map[string]interface{}, error)
func (*MachineType) UnmarshalJSON ¶
func (o *MachineType) UnmarshalJSON(data []byte) (err error)
type MachineTypeListResponse ¶
type MachineTypeListResponse struct {
// Machine type list.
Items []MachineType `json:"items"`
}
MachineTypeListResponse Machine type list response.
func NewMachineTypeListResponse ¶
func NewMachineTypeListResponse(items []MachineType) *MachineTypeListResponse
NewMachineTypeListResponse instantiates a new MachineTypeListResponse 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 NewMachineTypeListResponseWithDefaults ¶
func NewMachineTypeListResponseWithDefaults() *MachineTypeListResponse
NewMachineTypeListResponseWithDefaults instantiates a new MachineTypeListResponse 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 (*MachineTypeListResponse) GetItems ¶
func (o *MachineTypeListResponse) GetItems() []MachineType
GetItems returns the Items field value
func (*MachineTypeListResponse) GetItemsOk ¶
func (o *MachineTypeListResponse) GetItemsOk() ([]MachineType, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (MachineTypeListResponse) MarshalJSON ¶
func (o MachineTypeListResponse) MarshalJSON() ([]byte, error)
func (*MachineTypeListResponse) SetItems ¶
func (o *MachineTypeListResponse) SetItems(v []MachineType)
SetItems sets field value
func (MachineTypeListResponse) ToMap ¶
func (o MachineTypeListResponse) ToMap() (map[string]interface{}, error)
func (*MachineTypeListResponse) UnmarshalJSON ¶
func (o *MachineTypeListResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NIC ¶
type NIC struct {
// A list of IPs or CIDR notations.
AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Universally Unique Identifier (UUID).
Device *string `json:"device,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents an IP address.
Ipv4 *string `` /* 1383-byte string literal not displayed */
// String that represents an IPv6 address.
Ipv6 *string `` /* 1254-byte string literal not displayed */
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Object that represents an MAC address.
Mac *string `json:"mac,omitempty" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
NetworkId *string `json:"networkId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// If this is set to false, then no security groups will apply to this network interface.
NicSecurity *bool `json:"nicSecurity,omitempty"`
// A list of UUIDs.
SecurityGroups []string `json:"securityGroups,omitempty"`
// Possible values: `ACTIVE`, `DOWN`.
Status *string `json:"status,omitempty"`
// Possible values: `server`, `metadata`, `gateway`, `none`.
Type *string `json:"type,omitempty"`
}
NIC Object that represents a network interface.
func NewNIC ¶
func NewNIC() *NIC
NewNIC instantiates a new NIC 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 NewNICWithDefaults ¶
func NewNICWithDefaults() *NIC
NewNICWithDefaults instantiates a new NIC 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 (*NIC) GetAllowedAddresses ¶
func (o *NIC) GetAllowedAddresses() []AllowedAddressesInner
GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.
func (*NIC) GetAllowedAddressesOk ¶
func (o *NIC) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NIC) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*NIC) 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 (*NIC) GetDeviceOk ¶
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 (*NIC) 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 (*NIC) GetIpv4Ok ¶
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NIC) GetIpv6Ok ¶
GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NIC) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NIC) GetMacOk ¶
GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NIC) 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 (*NIC) GetNetworkId ¶
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*NIC) 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 (*NIC) GetNicSecurity ¶
GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.
func (*NIC) GetNicSecurityOk ¶
GetNicSecurityOk returns a tuple with the NicSecurity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NIC) GetSecurityGroups ¶
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*NIC) GetSecurityGroupsOk ¶
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 (*NIC) 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 (*NIC) 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 (*NIC) HasAllowedAddresses ¶
HasAllowedAddresses returns a boolean if a field has been set.
func (*NIC) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*NIC) HasNetworkId ¶
HasNetworkId returns a boolean if a field has been set.
func (*NIC) HasNicSecurity ¶
HasNicSecurity returns a boolean if a field has been set.
func (*NIC) HasSecurityGroups ¶
HasSecurityGroups returns a boolean if a field has been set.
func (NIC) MarshalJSON ¶
func (*NIC) SetAllowedAddresses ¶
func (o *NIC) SetAllowedAddresses(v []AllowedAddressesInner)
SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.
func (*NIC) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*NIC) SetDevice ¶
SetDevice gets a reference to the given string and assigns it to the Device field.
func (*NIC) SetIpv4 ¶
SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.
func (*NIC) SetIpv6 ¶
SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.
func (*NIC) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*NIC) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*NIC) SetNetworkId ¶
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*NIC) SetNicSecurity ¶
SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.
func (*NIC) SetSecurityGroups ¶
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (*NIC) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
type NICListResponse ¶
type NICListResponse struct {
// A list of network interfaces.
Items []NIC `json:"items"`
}
NICListResponse NIC list response.
func NewNICListResponse ¶
func NewNICListResponse(items []NIC) *NICListResponse
NewNICListResponse instantiates a new NICListResponse 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 NewNICListResponseWithDefaults ¶
func NewNICListResponseWithDefaults() *NICListResponse
NewNICListResponseWithDefaults instantiates a new NICListResponse 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 (*NICListResponse) GetItems ¶
func (o *NICListResponse) GetItems() []NIC
GetItems returns the Items field value
func (*NICListResponse) GetItemsOk ¶
func (o *NICListResponse) GetItemsOk() ([]NIC, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (NICListResponse) MarshalJSON ¶
func (o NICListResponse) MarshalJSON() ([]byte, error)
func (*NICListResponse) SetItems ¶
func (o *NICListResponse) SetItems(v []NIC)
SetItems sets field value
func (NICListResponse) ToMap ¶
func (o NICListResponse) ToMap() (map[string]interface{}, error)
func (*NICListResponse) UnmarshalJSON ¶
func (o *NICListResponse) UnmarshalJSON(data []byte) (err error)
type Network ¶
type Network struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Enable or disable DHCP for a network.
Dhcp *bool `json:"dhcp,omitempty"`
// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
Gateway NullableString `` /* 1386-byte string literal not displayed */
// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
Gatewayv6 NullableString `` /* 1388-byte string literal not displayed */
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
Name string `json:"name"`
// A list containing DNS Servers/Nameservers for IPv4.
Nameservers []string `json:"nameservers,omitempty"`
// A list containing DNS Servers/Nameservers for IPv6.
NameserversV6 []string `json:"nameserversV6,omitempty"`
// Universally Unique Identifier (UUID).
NetworkId string `json:"networkId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
Prefixes []string `json:"prefixes,omitempty"`
PrefixesV6 []string `json:"prefixesV6,omitempty"`
// Object that represents an IP address.
PublicIp *string `` /* 1387-byte string literal not displayed */
// Shows if the network is routed and therefore accessible from other networks.
Routed *bool `json:"routed,omitempty"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
State string `json:"state"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Network Object that represents a network.
func NewNetwork ¶
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) 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) GetDhcpOk ¶
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 (*Network) GetGateway ¶
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Network) GetGatewayOk ¶
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Network) GetGatewayv6 ¶
GetGatewayv6 returns the Gatewayv6 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Network) GetGatewayv6Ok ¶
GetGatewayv6Ok returns a tuple with the Gatewayv6 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Network) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels 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 and a boolean to check if the value has been set.
func (*Network) GetNameservers ¶
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*Network) GetNameserversOk ¶
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetNameserversV6 ¶
GetNameserversV6 returns the NameserversV6 field value if set, zero value otherwise.
func (*Network) GetNameserversV6Ok ¶
GetNameserversV6Ok returns a tuple with the NameserversV6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Network) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Network) GetPrefixes ¶
GetPrefixes returns the Prefixes field value if set, zero value otherwise.
func (*Network) GetPrefixesOk ¶
GetPrefixesOk returns a tuple with the Prefixes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetPrefixesV6 ¶
GetPrefixesV6 returns the PrefixesV6 field value if set, zero value otherwise.
func (*Network) GetPrefixesV6Ok ¶
GetPrefixesV6Ok returns a tuple with the PrefixesV6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetPublicIp ¶
GetPublicIp returns the PublicIp field value if set, zero value otherwise.
func (*Network) GetPublicIpOk ¶
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 (*Network) GetRoutedOk ¶
GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetStateOk ¶
GetStateOk returns a tuple with the State field value 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) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Network) HasGateway ¶
HasGateway returns a boolean if a field has been set.
func (*Network) HasGatewayv6 ¶
HasGatewayv6 returns a boolean if a field has been set.
func (*Network) HasNameservers ¶
HasNameservers returns a boolean if a field has been set.
func (*Network) HasNameserversV6 ¶
HasNameserversV6 returns a boolean if a field has been set.
func (*Network) HasPrefixes ¶
HasPrefixes returns a boolean if a field has been set.
func (*Network) HasPrefixesV6 ¶
HasPrefixesV6 returns a boolean if a field has been set.
func (*Network) HasPublicIp ¶
HasPublicIp 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) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Network) SetDhcp ¶
SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.
func (*Network) SetGateway ¶
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*Network) SetGatewayNil ¶
func (o *Network) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*Network) SetGatewayv6 ¶
SetGatewayv6 gets a reference to the given NullableString and assigns it to the Gatewayv6 field.
func (*Network) SetGatewayv6Nil ¶
func (o *Network) SetGatewayv6Nil()
SetGatewayv6Nil sets the value for Gatewayv6 to be an explicit nil
func (*Network) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Network) SetNameservers ¶
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*Network) SetNameserversV6 ¶
SetNameserversV6 gets a reference to the given []string and assigns it to the NameserversV6 field.
func (*Network) SetNetworkId ¶
SetNetworkId sets field value
func (*Network) SetPrefixes ¶
SetPrefixes gets a reference to the given []string and assigns it to the Prefixes field.
func (*Network) SetPrefixesV6 ¶
SetPrefixesV6 gets a reference to the given []string and assigns it to the PrefixesV6 field.
func (*Network) SetPublicIp ¶
SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.
func (*Network) SetRouted ¶
SetRouted gets a reference to the given bool and assigns it to the Routed field.
func (*Network) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Network) UnmarshalJSON ¶
func (*Network) UnsetGateway ¶
func (o *Network) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
func (*Network) UnsetGatewayv6 ¶
func (o *Network) UnsetGatewayv6()
UnsetGatewayv6 ensures that no value is present for Gatewayv6, not even an explicit nil
type NetworkArea ¶
type NetworkArea struct {
// Universally Unique Identifier (UUID).
AreaId string `json:"areaId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
Ipv4 *NetworkAreaIPv4 `json:"ipv4,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
Name string `json:"name"`
// The amount of projects currently referencing a specific area.
ProjectCount int64 `json:"projectCount"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
State string `json:"state"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
NetworkArea Object that represents a network area.
func NewNetworkArea ¶
func NewNetworkArea(areaId string, name string, projectCount int64, state string) *NetworkArea
NewNetworkArea instantiates a new NetworkArea 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 NewNetworkAreaWithDefaults ¶
func NewNetworkAreaWithDefaults() *NetworkArea
NewNetworkAreaWithDefaults instantiates a new NetworkArea 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 (*NetworkArea) GetAreaId ¶
func (o *NetworkArea) GetAreaId() string
GetAreaId returns the AreaId field value
func (*NetworkArea) GetAreaIdOk ¶
func (o *NetworkArea) GetAreaIdOk() (*string, bool)
GetAreaIdOk returns a tuple with the AreaId field value and a boolean to check if the value has been set.
func (*NetworkArea) GetCreatedAt ¶
func (o *NetworkArea) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*NetworkArea) GetCreatedAtOk ¶
func (o *NetworkArea) GetCreatedAtOk() (*time.Time, 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 (*NetworkArea) GetIpv4 ¶
func (o *NetworkArea) GetIpv4() NetworkAreaIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*NetworkArea) GetIpv4Ok ¶
func (o *NetworkArea) GetIpv4Ok() (*NetworkAreaIPv4, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkArea) GetLabels ¶
func (o *NetworkArea) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*NetworkArea) GetLabelsOk ¶
func (o *NetworkArea) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkArea) GetName ¶
func (o *NetworkArea) GetName() string
GetName returns the Name field value
func (*NetworkArea) GetNameOk ¶
func (o *NetworkArea) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*NetworkArea) GetProjectCount ¶
func (o *NetworkArea) GetProjectCount() int64
GetProjectCount returns the ProjectCount field value
func (*NetworkArea) GetProjectCountOk ¶
func (o *NetworkArea) GetProjectCountOk() (*int64, bool)
GetProjectCountOk returns a tuple with the ProjectCount field value and a boolean to check if the value has been set.
func (*NetworkArea) GetState ¶
func (o *NetworkArea) GetState() string
GetState returns the State field value
func (*NetworkArea) GetStateOk ¶
func (o *NetworkArea) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*NetworkArea) GetUpdatedAt ¶
func (o *NetworkArea) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*NetworkArea) GetUpdatedAtOk ¶
func (o *NetworkArea) GetUpdatedAtOk() (*time.Time, 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 (*NetworkArea) HasCreatedAt ¶
func (o *NetworkArea) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*NetworkArea) HasIpv4 ¶
func (o *NetworkArea) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*NetworkArea) HasLabels ¶
func (o *NetworkArea) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*NetworkArea) HasUpdatedAt ¶
func (o *NetworkArea) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (NetworkArea) MarshalJSON ¶
func (o NetworkArea) MarshalJSON() ([]byte, error)
func (*NetworkArea) SetAreaId ¶
func (o *NetworkArea) SetAreaId(v string)
SetAreaId sets field value
func (*NetworkArea) SetCreatedAt ¶
func (o *NetworkArea) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*NetworkArea) SetIpv4 ¶
func (o *NetworkArea) SetIpv4(v NetworkAreaIPv4)
SetIpv4 gets a reference to the given NetworkAreaIPv4 and assigns it to the Ipv4 field.
func (*NetworkArea) SetLabels ¶
func (o *NetworkArea) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*NetworkArea) SetProjectCount ¶
func (o *NetworkArea) SetProjectCount(v int64)
SetProjectCount sets field value
func (*NetworkArea) SetUpdatedAt ¶
func (o *NetworkArea) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (NetworkArea) ToMap ¶
func (o NetworkArea) ToMap() (map[string]interface{}, error)
func (*NetworkArea) UnmarshalJSON ¶
func (o *NetworkArea) UnmarshalJSON(data []byte) (err error)
type NetworkAreaIPv4 ¶
type NetworkAreaIPv4 struct {
// A list containing DNS Servers/Nameservers for IPv4.
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// A list of network ranges.
NetworkRanges []NetworkRange `json:"networkRanges,omitempty"`
// A list of routes.
Routes []Route `json:"routes,omitempty"`
// Classless Inter-Domain Routing (CIDR).
TransferNetwork *string `` /* 887-byte string literal not displayed */
// The default prefix length for networks in the network area.
DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
// The maximal prefix length for networks in the network area.
MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
// The minimal prefix length for networks in the network area.
MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}
NetworkAreaIPv4 The IPv4 properties of a network area.
func NewNetworkAreaIPv4 ¶
func NewNetworkAreaIPv4() *NetworkAreaIPv4
NewNetworkAreaIPv4 instantiates a new NetworkAreaIPv4 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 NewNetworkAreaIPv4WithDefaults ¶
func NewNetworkAreaIPv4WithDefaults() *NetworkAreaIPv4
NewNetworkAreaIPv4WithDefaults instantiates a new NetworkAreaIPv4 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 (*NetworkAreaIPv4) GetDefaultNameservers ¶
func (o *NetworkAreaIPv4) GetDefaultNameservers() []string
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetDefaultNameserversOk ¶
func (o *NetworkAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) GetDefaultPrefixLen ¶
func (o *NetworkAreaIPv4) GetDefaultPrefixLen() int32
GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetDefaultPrefixLenOk ¶
func (o *NetworkAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)
GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) GetMaxPrefixLen ¶
func (o *NetworkAreaIPv4) GetMaxPrefixLen() int32
GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetMaxPrefixLenOk ¶
func (o *NetworkAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)
GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) GetMinPrefixLen ¶
func (o *NetworkAreaIPv4) GetMinPrefixLen() int32
GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetMinPrefixLenOk ¶
func (o *NetworkAreaIPv4) GetMinPrefixLenOk() (*int32, bool)
GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) GetNetworkRanges ¶
func (o *NetworkAreaIPv4) GetNetworkRanges() []NetworkRange
GetNetworkRanges returns the NetworkRanges field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetNetworkRangesOk ¶
func (o *NetworkAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)
GetNetworkRangesOk returns a tuple with the NetworkRanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) GetRoutes ¶
func (o *NetworkAreaIPv4) GetRoutes() []Route
GetRoutes returns the Routes field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetRoutesOk ¶
func (o *NetworkAreaIPv4) GetRoutesOk() ([]Route, bool)
GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) GetTransferNetwork ¶
func (o *NetworkAreaIPv4) GetTransferNetwork() string
GetTransferNetwork returns the TransferNetwork field value if set, zero value otherwise.
func (*NetworkAreaIPv4) GetTransferNetworkOk ¶
func (o *NetworkAreaIPv4) GetTransferNetworkOk() (*string, bool)
GetTransferNetworkOk returns a tuple with the TransferNetwork field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkAreaIPv4) HasDefaultNameservers ¶
func (o *NetworkAreaIPv4) HasDefaultNameservers() bool
HasDefaultNameservers returns a boolean if a field has been set.
func (*NetworkAreaIPv4) HasDefaultPrefixLen ¶
func (o *NetworkAreaIPv4) HasDefaultPrefixLen() bool
HasDefaultPrefixLen returns a boolean if a field has been set.
func (*NetworkAreaIPv4) HasMaxPrefixLen ¶
func (o *NetworkAreaIPv4) HasMaxPrefixLen() bool
HasMaxPrefixLen returns a boolean if a field has been set.
func (*NetworkAreaIPv4) HasMinPrefixLen ¶
func (o *NetworkAreaIPv4) HasMinPrefixLen() bool
HasMinPrefixLen returns a boolean if a field has been set.
func (*NetworkAreaIPv4) HasNetworkRanges ¶
func (o *NetworkAreaIPv4) HasNetworkRanges() bool
HasNetworkRanges returns a boolean if a field has been set.
func (*NetworkAreaIPv4) HasRoutes ¶
func (o *NetworkAreaIPv4) HasRoutes() bool
HasRoutes returns a boolean if a field has been set.
func (*NetworkAreaIPv4) HasTransferNetwork ¶
func (o *NetworkAreaIPv4) HasTransferNetwork() bool
HasTransferNetwork returns a boolean if a field has been set.
func (NetworkAreaIPv4) MarshalJSON ¶
func (o NetworkAreaIPv4) MarshalJSON() ([]byte, error)
func (*NetworkAreaIPv4) SetDefaultNameservers ¶
func (o *NetworkAreaIPv4) SetDefaultNameservers(v []string)
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*NetworkAreaIPv4) SetDefaultPrefixLen ¶
func (o *NetworkAreaIPv4) SetDefaultPrefixLen(v int32)
SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.
func (*NetworkAreaIPv4) SetMaxPrefixLen ¶
func (o *NetworkAreaIPv4) SetMaxPrefixLen(v int32)
SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.
func (*NetworkAreaIPv4) SetMinPrefixLen ¶
func (o *NetworkAreaIPv4) SetMinPrefixLen(v int32)
SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.
func (*NetworkAreaIPv4) SetNetworkRanges ¶
func (o *NetworkAreaIPv4) SetNetworkRanges(v []NetworkRange)
SetNetworkRanges gets a reference to the given []NetworkRange and assigns it to the NetworkRanges field.
func (*NetworkAreaIPv4) SetRoutes ¶
func (o *NetworkAreaIPv4) SetRoutes(v []Route)
SetRoutes gets a reference to the given []Route and assigns it to the Routes field.
func (*NetworkAreaIPv4) SetTransferNetwork ¶
func (o *NetworkAreaIPv4) SetTransferNetwork(v string)
SetTransferNetwork gets a reference to the given string and assigns it to the TransferNetwork field.
func (NetworkAreaIPv4) ToMap ¶
func (o NetworkAreaIPv4) ToMap() (map[string]interface{}, error)
type NetworkAreaListResponse ¶
type NetworkAreaListResponse struct {
// A list of network areas.
Items []NetworkArea `json:"items"`
}
NetworkAreaListResponse Network area list response.
func NewNetworkAreaListResponse ¶
func NewNetworkAreaListResponse(items []NetworkArea) *NetworkAreaListResponse
NewNetworkAreaListResponse instantiates a new NetworkAreaListResponse 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 NewNetworkAreaListResponseWithDefaults ¶
func NewNetworkAreaListResponseWithDefaults() *NetworkAreaListResponse
NewNetworkAreaListResponseWithDefaults instantiates a new NetworkAreaListResponse 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 (*NetworkAreaListResponse) GetItems ¶
func (o *NetworkAreaListResponse) GetItems() []NetworkArea
GetItems returns the Items field value
func (*NetworkAreaListResponse) GetItemsOk ¶
func (o *NetworkAreaListResponse) GetItemsOk() ([]NetworkArea, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (NetworkAreaListResponse) MarshalJSON ¶
func (o NetworkAreaListResponse) MarshalJSON() ([]byte, error)
func (*NetworkAreaListResponse) SetItems ¶
func (o *NetworkAreaListResponse) SetItems(v []NetworkArea)
SetItems sets field value
func (NetworkAreaListResponse) ToMap ¶
func (o NetworkAreaListResponse) ToMap() (map[string]interface{}, error)
func (*NetworkAreaListResponse) UnmarshalJSON ¶
func (o *NetworkAreaListResponse) UnmarshalJSON(data []byte) (err error)
type NetworkListResponse ¶
type NetworkListResponse struct {
// A list of networks.
Items []Network `json:"items"`
}
NetworkListResponse Network list response.
func NewNetworkListResponse ¶
func NewNetworkListResponse(items []Network) *NetworkListResponse
NewNetworkListResponse instantiates a new NetworkListResponse 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 NewNetworkListResponseWithDefaults ¶
func NewNetworkListResponseWithDefaults() *NetworkListResponse
NewNetworkListResponseWithDefaults instantiates a new NetworkListResponse 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 (*NetworkListResponse) GetItems ¶
func (o *NetworkListResponse) GetItems() []Network
GetItems returns the Items field value
func (*NetworkListResponse) GetItemsOk ¶
func (o *NetworkListResponse) GetItemsOk() ([]Network, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (NetworkListResponse) MarshalJSON ¶
func (o NetworkListResponse) MarshalJSON() ([]byte, error)
func (*NetworkListResponse) SetItems ¶
func (o *NetworkListResponse) SetItems(v []Network)
SetItems sets field value
func (NetworkListResponse) ToMap ¶
func (o NetworkListResponse) ToMap() (map[string]interface{}, error)
func (*NetworkListResponse) UnmarshalJSON ¶
func (o *NetworkListResponse) UnmarshalJSON(data []byte) (err error)
type NetworkRange ¶
type NetworkRange struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Universally Unique Identifier (UUID).
NetworkRangeId *string `json:"networkRangeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Classless Inter-Domain Routing (CIDR).
Prefix string `` /* 868-byte string literal not displayed */
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
NetworkRange Object that represents a network range.
func NewNetworkRange ¶
func NewNetworkRange(prefix string) *NetworkRange
NewNetworkRange instantiates a new NetworkRange 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 NewNetworkRangeWithDefaults ¶
func NewNetworkRangeWithDefaults() *NetworkRange
NewNetworkRangeWithDefaults instantiates a new NetworkRange 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 (*NetworkRange) GetCreatedAt ¶
func (o *NetworkRange) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*NetworkRange) GetCreatedAtOk ¶
func (o *NetworkRange) GetCreatedAtOk() (*time.Time, 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 (*NetworkRange) GetNetworkRangeId ¶
func (o *NetworkRange) GetNetworkRangeId() string
GetNetworkRangeId returns the NetworkRangeId field value if set, zero value otherwise.
func (*NetworkRange) GetNetworkRangeIdOk ¶
func (o *NetworkRange) GetNetworkRangeIdOk() (*string, bool)
GetNetworkRangeIdOk returns a tuple with the NetworkRangeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkRange) GetPrefix ¶
func (o *NetworkRange) GetPrefix() string
GetPrefix returns the Prefix field value
func (*NetworkRange) GetPrefixOk ¶
func (o *NetworkRange) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.
func (*NetworkRange) GetUpdatedAt ¶
func (o *NetworkRange) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*NetworkRange) GetUpdatedAtOk ¶
func (o *NetworkRange) GetUpdatedAtOk() (*time.Time, 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 (*NetworkRange) HasCreatedAt ¶
func (o *NetworkRange) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*NetworkRange) HasNetworkRangeId ¶
func (o *NetworkRange) HasNetworkRangeId() bool
HasNetworkRangeId returns a boolean if a field has been set.
func (*NetworkRange) HasUpdatedAt ¶
func (o *NetworkRange) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (NetworkRange) MarshalJSON ¶
func (o NetworkRange) MarshalJSON() ([]byte, error)
func (*NetworkRange) SetCreatedAt ¶
func (o *NetworkRange) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*NetworkRange) SetNetworkRangeId ¶
func (o *NetworkRange) SetNetworkRangeId(v string)
SetNetworkRangeId gets a reference to the given string and assigns it to the NetworkRangeId field.
func (*NetworkRange) SetPrefix ¶
func (o *NetworkRange) SetPrefix(v string)
SetPrefix sets field value
func (*NetworkRange) SetUpdatedAt ¶
func (o *NetworkRange) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (NetworkRange) ToMap ¶
func (o NetworkRange) ToMap() (map[string]interface{}, error)
func (*NetworkRange) UnmarshalJSON ¶
func (o *NetworkRange) UnmarshalJSON(data []byte) (err error)
type NetworkRangeListResponse ¶
type NetworkRangeListResponse struct {
// A list of network ranges.
Items []NetworkRange `json:"items"`
}
NetworkRangeListResponse Network Range list response.
func NewNetworkRangeListResponse ¶
func NewNetworkRangeListResponse(items []NetworkRange) *NetworkRangeListResponse
NewNetworkRangeListResponse instantiates a new NetworkRangeListResponse 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 NewNetworkRangeListResponseWithDefaults ¶
func NewNetworkRangeListResponseWithDefaults() *NetworkRangeListResponse
NewNetworkRangeListResponseWithDefaults instantiates a new NetworkRangeListResponse 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 (*NetworkRangeListResponse) GetItems ¶
func (o *NetworkRangeListResponse) GetItems() []NetworkRange
GetItems returns the Items field value
func (*NetworkRangeListResponse) GetItemsOk ¶
func (o *NetworkRangeListResponse) GetItemsOk() ([]NetworkRange, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (NetworkRangeListResponse) MarshalJSON ¶
func (o NetworkRangeListResponse) MarshalJSON() ([]byte, error)
func (*NetworkRangeListResponse) SetItems ¶
func (o *NetworkRangeListResponse) SetItems(v []NetworkRange)
SetItems sets field value
func (NetworkRangeListResponse) ToMap ¶
func (o NetworkRangeListResponse) ToMap() (map[string]interface{}, error)
func (*NetworkRangeListResponse) UnmarshalJSON ¶
func (o *NetworkRangeListResponse) UnmarshalJSON(data []byte) (err error)
type NullableAddVolumeToServerPayload ¶
type NullableAddVolumeToServerPayload struct {
// contains filtered or unexported fields
}
func NewNullableAddVolumeToServerPayload ¶
func NewNullableAddVolumeToServerPayload(val *AddVolumeToServerPayload) *NullableAddVolumeToServerPayload
func (NullableAddVolumeToServerPayload) Get ¶
func (v NullableAddVolumeToServerPayload) Get() *AddVolumeToServerPayload
func (NullableAddVolumeToServerPayload) IsSet ¶
func (v NullableAddVolumeToServerPayload) IsSet() bool
func (NullableAddVolumeToServerPayload) MarshalJSON ¶
func (v NullableAddVolumeToServerPayload) MarshalJSON() ([]byte, error)
func (*NullableAddVolumeToServerPayload) Set ¶
func (v *NullableAddVolumeToServerPayload) Set(val *AddVolumeToServerPayload)
func (*NullableAddVolumeToServerPayload) UnmarshalJSON ¶
func (v *NullableAddVolumeToServerPayload) UnmarshalJSON(src []byte) error
func (*NullableAddVolumeToServerPayload) Unset ¶
func (v *NullableAddVolumeToServerPayload) Unset()
type NullableAffinityGroup ¶
type NullableAffinityGroup struct {
// contains filtered or unexported fields
}
func NewNullableAffinityGroup ¶
func NewNullableAffinityGroup(val *AffinityGroup) *NullableAffinityGroup
func (NullableAffinityGroup) Get ¶
func (v NullableAffinityGroup) Get() *AffinityGroup
func (NullableAffinityGroup) IsSet ¶
func (v NullableAffinityGroup) IsSet() bool
func (NullableAffinityGroup) MarshalJSON ¶
func (v NullableAffinityGroup) MarshalJSON() ([]byte, error)
func (*NullableAffinityGroup) Set ¶
func (v *NullableAffinityGroup) Set(val *AffinityGroup)
func (*NullableAffinityGroup) UnmarshalJSON ¶
func (v *NullableAffinityGroup) UnmarshalJSON(src []byte) error
func (*NullableAffinityGroup) Unset ¶
func (v *NullableAffinityGroup) Unset()
type NullableAffinityGroupListResponse ¶
type NullableAffinityGroupListResponse struct {
// contains filtered or unexported fields
}
func NewNullableAffinityGroupListResponse ¶
func NewNullableAffinityGroupListResponse(val *AffinityGroupListResponse) *NullableAffinityGroupListResponse
func (NullableAffinityGroupListResponse) Get ¶
func (v NullableAffinityGroupListResponse) Get() *AffinityGroupListResponse
func (NullableAffinityGroupListResponse) IsSet ¶
func (v NullableAffinityGroupListResponse) IsSet() bool
func (NullableAffinityGroupListResponse) MarshalJSON ¶
func (v NullableAffinityGroupListResponse) MarshalJSON() ([]byte, error)
func (*NullableAffinityGroupListResponse) Set ¶
func (v *NullableAffinityGroupListResponse) Set(val *AffinityGroupListResponse)
func (*NullableAffinityGroupListResponse) UnmarshalJSON ¶
func (v *NullableAffinityGroupListResponse) UnmarshalJSON(src []byte) error
func (*NullableAffinityGroupListResponse) Unset ¶
func (v *NullableAffinityGroupListResponse) Unset()
type NullableAllowedAddressesInner ¶
type NullableAllowedAddressesInner struct {
// contains filtered or unexported fields
}
func NewNullableAllowedAddressesInner ¶
func NewNullableAllowedAddressesInner(val *AllowedAddressesInner) *NullableAllowedAddressesInner
func (NullableAllowedAddressesInner) Get ¶
func (v NullableAllowedAddressesInner) Get() *AllowedAddressesInner
func (NullableAllowedAddressesInner) IsSet ¶
func (v NullableAllowedAddressesInner) IsSet() bool
func (NullableAllowedAddressesInner) MarshalJSON ¶
func (v NullableAllowedAddressesInner) MarshalJSON() ([]byte, error)
func (*NullableAllowedAddressesInner) Set ¶
func (v *NullableAllowedAddressesInner) Set(val *AllowedAddressesInner)
func (*NullableAllowedAddressesInner) UnmarshalJSON ¶
func (v *NullableAllowedAddressesInner) UnmarshalJSON(src []byte) error
func (*NullableAllowedAddressesInner) Unset ¶
func (v *NullableAllowedAddressesInner) Unset()
type NullableArea ¶
type NullableArea struct {
// contains filtered or unexported fields
}
func NewNullableArea ¶
func NewNullableArea(val *Area) *NullableArea
func (NullableArea) Get ¶
func (v NullableArea) Get() *Area
func (NullableArea) IsSet ¶
func (v NullableArea) IsSet() bool
func (NullableArea) MarshalJSON ¶
func (v NullableArea) MarshalJSON() ([]byte, error)
func (*NullableArea) Set ¶
func (v *NullableArea) Set(val *Area)
func (*NullableArea) UnmarshalJSON ¶
func (v *NullableArea) UnmarshalJSON(src []byte) error
func (*NullableArea) Unset ¶
func (v *NullableArea) Unset()
type NullableAreaConfig ¶
type NullableAreaConfig struct {
// contains filtered or unexported fields
}
func NewNullableAreaConfig ¶
func NewNullableAreaConfig(val *AreaConfig) *NullableAreaConfig
func (NullableAreaConfig) Get ¶
func (v NullableAreaConfig) Get() *AreaConfig
func (NullableAreaConfig) IsSet ¶
func (v NullableAreaConfig) IsSet() bool
func (NullableAreaConfig) MarshalJSON ¶
func (v NullableAreaConfig) MarshalJSON() ([]byte, error)
func (*NullableAreaConfig) Set ¶
func (v *NullableAreaConfig) Set(val *AreaConfig)
func (*NullableAreaConfig) UnmarshalJSON ¶
func (v *NullableAreaConfig) UnmarshalJSON(src []byte) error
func (*NullableAreaConfig) Unset ¶
func (v *NullableAreaConfig) Unset()
type NullableAreaId ¶
type NullableAreaId struct {
// contains filtered or unexported fields
}
func NewNullableAreaId ¶
func NewNullableAreaId(val *AreaId) *NullableAreaId
func (NullableAreaId) Get ¶
func (v NullableAreaId) Get() *AreaId
func (NullableAreaId) IsSet ¶
func (v NullableAreaId) IsSet() bool
func (NullableAreaId) MarshalJSON ¶
func (v NullableAreaId) MarshalJSON() ([]byte, error)
func (*NullableAreaId) Set ¶
func (v *NullableAreaId) Set(val *AreaId)
func (*NullableAreaId) UnmarshalJSON ¶
func (v *NullableAreaId) UnmarshalJSON(src []byte) error
func (*NullableAreaId) Unset ¶
func (v *NullableAreaId) Unset()
type NullableAreaPrefixConfigIPv4 ¶
type NullableAreaPrefixConfigIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableAreaPrefixConfigIPv4 ¶
func NewNullableAreaPrefixConfigIPv4(val *AreaPrefixConfigIPv4) *NullableAreaPrefixConfigIPv4
func (NullableAreaPrefixConfigIPv4) Get ¶
func (v NullableAreaPrefixConfigIPv4) Get() *AreaPrefixConfigIPv4
func (NullableAreaPrefixConfigIPv4) IsSet ¶
func (v NullableAreaPrefixConfigIPv4) IsSet() bool
func (NullableAreaPrefixConfigIPv4) MarshalJSON ¶
func (v NullableAreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)
func (*NullableAreaPrefixConfigIPv4) Set ¶
func (v *NullableAreaPrefixConfigIPv4) Set(val *AreaPrefixConfigIPv4)
func (*NullableAreaPrefixConfigIPv4) UnmarshalJSON ¶
func (v *NullableAreaPrefixConfigIPv4) UnmarshalJSON(src []byte) error
func (*NullableAreaPrefixConfigIPv4) Unset ¶
func (v *NullableAreaPrefixConfigIPv4) Unset()
type NullableAvailabilityZoneListResponse ¶
type NullableAvailabilityZoneListResponse struct {
// contains filtered or unexported fields
}
func NewNullableAvailabilityZoneListResponse ¶
func NewNullableAvailabilityZoneListResponse(val *AvailabilityZoneListResponse) *NullableAvailabilityZoneListResponse
func (NullableAvailabilityZoneListResponse) Get ¶
func (v NullableAvailabilityZoneListResponse) Get() *AvailabilityZoneListResponse
func (NullableAvailabilityZoneListResponse) IsSet ¶
func (v NullableAvailabilityZoneListResponse) IsSet() bool
func (NullableAvailabilityZoneListResponse) MarshalJSON ¶
func (v NullableAvailabilityZoneListResponse) MarshalJSON() ([]byte, error)
func (*NullableAvailabilityZoneListResponse) Set ¶
func (v *NullableAvailabilityZoneListResponse) Set(val *AvailabilityZoneListResponse)
func (*NullableAvailabilityZoneListResponse) UnmarshalJSON ¶
func (v *NullableAvailabilityZoneListResponse) UnmarshalJSON(src []byte) error
func (*NullableAvailabilityZoneListResponse) Unset ¶
func (v *NullableAvailabilityZoneListResponse) Unset()
type NullableBackup ¶
type NullableBackup struct {
// contains filtered or unexported fields
}
func NewNullableBackup ¶
func NewNullableBackup(val *Backup) *NullableBackup
func (NullableBackup) Get ¶
func (v NullableBackup) Get() *Backup
func (NullableBackup) IsSet ¶
func (v NullableBackup) IsSet() bool
func (NullableBackup) MarshalJSON ¶
func (v NullableBackup) MarshalJSON() ([]byte, error)
func (*NullableBackup) Set ¶
func (v *NullableBackup) Set(val *Backup)
func (*NullableBackup) UnmarshalJSON ¶
func (v *NullableBackup) UnmarshalJSON(src []byte) error
func (*NullableBackup) Unset ¶
func (v *NullableBackup) Unset()
type NullableBackupListResponse ¶
type NullableBackupListResponse struct {
// contains filtered or unexported fields
}
func NewNullableBackupListResponse ¶
func NewNullableBackupListResponse(val *BackupListResponse) *NullableBackupListResponse
func (NullableBackupListResponse) Get ¶
func (v NullableBackupListResponse) Get() *BackupListResponse
func (NullableBackupListResponse) IsSet ¶
func (v NullableBackupListResponse) IsSet() bool
func (NullableBackupListResponse) MarshalJSON ¶
func (v NullableBackupListResponse) MarshalJSON() ([]byte, error)
func (*NullableBackupListResponse) Set ¶
func (v *NullableBackupListResponse) Set(val *BackupListResponse)
func (*NullableBackupListResponse) UnmarshalJSON ¶
func (v *NullableBackupListResponse) UnmarshalJSON(src []byte) error
func (*NullableBackupListResponse) Unset ¶
func (v *NullableBackupListResponse) Unset()
type NullableBackupSource ¶
type NullableBackupSource struct {
// contains filtered or unexported fields
}
func NewNullableBackupSource ¶
func NewNullableBackupSource(val *BackupSource) *NullableBackupSource
func (NullableBackupSource) Get ¶
func (v NullableBackupSource) Get() *BackupSource
func (NullableBackupSource) IsSet ¶
func (v NullableBackupSource) IsSet() bool
func (NullableBackupSource) MarshalJSON ¶
func (v NullableBackupSource) MarshalJSON() ([]byte, error)
func (*NullableBackupSource) Set ¶
func (v *NullableBackupSource) Set(val *BackupSource)
func (*NullableBackupSource) UnmarshalJSON ¶
func (v *NullableBackupSource) UnmarshalJSON(src []byte) error
func (*NullableBackupSource) Unset ¶
func (v *NullableBackupSource) Unset()
type NullableBaseSecurityGroupRule ¶
type NullableBaseSecurityGroupRule struct {
// contains filtered or unexported fields
}
func NewNullableBaseSecurityGroupRule ¶
func NewNullableBaseSecurityGroupRule(val *BaseSecurityGroupRule) *NullableBaseSecurityGroupRule
func (NullableBaseSecurityGroupRule) Get ¶
func (v NullableBaseSecurityGroupRule) Get() *BaseSecurityGroupRule
func (NullableBaseSecurityGroupRule) IsSet ¶
func (v NullableBaseSecurityGroupRule) IsSet() bool
func (NullableBaseSecurityGroupRule) MarshalJSON ¶
func (v NullableBaseSecurityGroupRule) MarshalJSON() ([]byte, error)
func (*NullableBaseSecurityGroupRule) Set ¶
func (v *NullableBaseSecurityGroupRule) Set(val *BaseSecurityGroupRule)
func (*NullableBaseSecurityGroupRule) UnmarshalJSON ¶
func (v *NullableBaseSecurityGroupRule) UnmarshalJSON(src []byte) error
func (*NullableBaseSecurityGroupRule) Unset ¶
func (v *NullableBaseSecurityGroupRule) 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 NullableBootVolume ¶
type NullableBootVolume struct {
// contains filtered or unexported fields
}
func NewNullableBootVolume ¶
func NewNullableBootVolume(val *BootVolume) *NullableBootVolume
func (NullableBootVolume) Get ¶
func (v NullableBootVolume) Get() *BootVolume
func (NullableBootVolume) IsSet ¶
func (v NullableBootVolume) IsSet() bool
func (NullableBootVolume) MarshalJSON ¶
func (v NullableBootVolume) MarshalJSON() ([]byte, error)
func (*NullableBootVolume) Set ¶
func (v *NullableBootVolume) Set(val *BootVolume)
func (*NullableBootVolume) UnmarshalJSON ¶
func (v *NullableBootVolume) UnmarshalJSON(src []byte) error
func (*NullableBootVolume) Unset ¶
func (v *NullableBootVolume) Unset()
type NullableBootVolumeSource ¶
type NullableBootVolumeSource struct {
// contains filtered or unexported fields
}
func NewNullableBootVolumeSource ¶
func NewNullableBootVolumeSource(val *BootVolumeSource) *NullableBootVolumeSource
func (NullableBootVolumeSource) Get ¶
func (v NullableBootVolumeSource) Get() *BootVolumeSource
func (NullableBootVolumeSource) IsSet ¶
func (v NullableBootVolumeSource) IsSet() bool
func (NullableBootVolumeSource) MarshalJSON ¶
func (v NullableBootVolumeSource) MarshalJSON() ([]byte, error)
func (*NullableBootVolumeSource) Set ¶
func (v *NullableBootVolumeSource) Set(val *BootVolumeSource)
func (*NullableBootVolumeSource) UnmarshalJSON ¶
func (v *NullableBootVolumeSource) UnmarshalJSON(src []byte) error
func (*NullableBootVolumeSource) Unset ¶
func (v *NullableBootVolumeSource) Unset()
type NullableCreateAffinityGroupPayload ¶
type NullableCreateAffinityGroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateAffinityGroupPayload ¶
func NewNullableCreateAffinityGroupPayload(val *CreateAffinityGroupPayload) *NullableCreateAffinityGroupPayload
func (NullableCreateAffinityGroupPayload) Get ¶
func (v NullableCreateAffinityGroupPayload) Get() *CreateAffinityGroupPayload
func (NullableCreateAffinityGroupPayload) IsSet ¶
func (v NullableCreateAffinityGroupPayload) IsSet() bool
func (NullableCreateAffinityGroupPayload) MarshalJSON ¶
func (v NullableCreateAffinityGroupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateAffinityGroupPayload) Set ¶
func (v *NullableCreateAffinityGroupPayload) Set(val *CreateAffinityGroupPayload)
func (*NullableCreateAffinityGroupPayload) UnmarshalJSON ¶
func (v *NullableCreateAffinityGroupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateAffinityGroupPayload) Unset ¶
func (v *NullableCreateAffinityGroupPayload) Unset()
type NullableCreateAreaAddressFamily ¶
type NullableCreateAreaAddressFamily struct {
// contains filtered or unexported fields
}
func NewNullableCreateAreaAddressFamily ¶
func NewNullableCreateAreaAddressFamily(val *CreateAreaAddressFamily) *NullableCreateAreaAddressFamily
func (NullableCreateAreaAddressFamily) Get ¶
func (v NullableCreateAreaAddressFamily) Get() *CreateAreaAddressFamily
func (NullableCreateAreaAddressFamily) IsSet ¶
func (v NullableCreateAreaAddressFamily) IsSet() bool
func (NullableCreateAreaAddressFamily) MarshalJSON ¶
func (v NullableCreateAreaAddressFamily) MarshalJSON() ([]byte, error)
func (*NullableCreateAreaAddressFamily) Set ¶
func (v *NullableCreateAreaAddressFamily) Set(val *CreateAreaAddressFamily)
func (*NullableCreateAreaAddressFamily) UnmarshalJSON ¶
func (v *NullableCreateAreaAddressFamily) UnmarshalJSON(src []byte) error
func (*NullableCreateAreaAddressFamily) Unset ¶
func (v *NullableCreateAreaAddressFamily) Unset()
type NullableCreateAreaIPv4 ¶
type NullableCreateAreaIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableCreateAreaIPv4 ¶
func NewNullableCreateAreaIPv4(val *CreateAreaIPv4) *NullableCreateAreaIPv4
func (NullableCreateAreaIPv4) Get ¶
func (v NullableCreateAreaIPv4) Get() *CreateAreaIPv4
func (NullableCreateAreaIPv4) IsSet ¶
func (v NullableCreateAreaIPv4) IsSet() bool
func (NullableCreateAreaIPv4) MarshalJSON ¶
func (v NullableCreateAreaIPv4) MarshalJSON() ([]byte, error)
func (*NullableCreateAreaIPv4) Set ¶
func (v *NullableCreateAreaIPv4) Set(val *CreateAreaIPv4)
func (*NullableCreateAreaIPv4) UnmarshalJSON ¶
func (v *NullableCreateAreaIPv4) UnmarshalJSON(src []byte) error
func (*NullableCreateAreaIPv4) Unset ¶
func (v *NullableCreateAreaIPv4) Unset()
type NullableCreateBackupPayload ¶
type NullableCreateBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateBackupPayload ¶
func NewNullableCreateBackupPayload(val *CreateBackupPayload) *NullableCreateBackupPayload
func (NullableCreateBackupPayload) Get ¶
func (v NullableCreateBackupPayload) Get() *CreateBackupPayload
func (NullableCreateBackupPayload) IsSet ¶
func (v NullableCreateBackupPayload) IsSet() bool
func (NullableCreateBackupPayload) MarshalJSON ¶
func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateBackupPayload) Set ¶
func (v *NullableCreateBackupPayload) Set(val *CreateBackupPayload)
func (*NullableCreateBackupPayload) UnmarshalJSON ¶
func (v *NullableCreateBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateBackupPayload) Unset ¶
func (v *NullableCreateBackupPayload) Unset()
type NullableCreateImagePayload ¶
type NullableCreateImagePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateImagePayload ¶
func NewNullableCreateImagePayload(val *CreateImagePayload) *NullableCreateImagePayload
func (NullableCreateImagePayload) Get ¶
func (v NullableCreateImagePayload) Get() *CreateImagePayload
func (NullableCreateImagePayload) IsSet ¶
func (v NullableCreateImagePayload) IsSet() bool
func (NullableCreateImagePayload) MarshalJSON ¶
func (v NullableCreateImagePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateImagePayload) Set ¶
func (v *NullableCreateImagePayload) Set(val *CreateImagePayload)
func (*NullableCreateImagePayload) UnmarshalJSON ¶
func (v *NullableCreateImagePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateImagePayload) Unset ¶
func (v *NullableCreateImagePayload) Unset()
type NullableCreateKeyPairPayload ¶
type NullableCreateKeyPairPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateKeyPairPayload ¶
func NewNullableCreateKeyPairPayload(val *CreateKeyPairPayload) *NullableCreateKeyPairPayload
func (NullableCreateKeyPairPayload) Get ¶
func (v NullableCreateKeyPairPayload) Get() *CreateKeyPairPayload
func (NullableCreateKeyPairPayload) IsSet ¶
func (v NullableCreateKeyPairPayload) IsSet() bool
func (NullableCreateKeyPairPayload) MarshalJSON ¶
func (v NullableCreateKeyPairPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateKeyPairPayload) Set ¶
func (v *NullableCreateKeyPairPayload) Set(val *CreateKeyPairPayload)
func (*NullableCreateKeyPairPayload) UnmarshalJSON ¶
func (v *NullableCreateKeyPairPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateKeyPairPayload) Unset ¶
func (v *NullableCreateKeyPairPayload) Unset()
type NullableCreateNetworkAddressFamily ¶
type NullableCreateNetworkAddressFamily struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkAddressFamily ¶
func NewNullableCreateNetworkAddressFamily(val *CreateNetworkAddressFamily) *NullableCreateNetworkAddressFamily
func (NullableCreateNetworkAddressFamily) Get ¶
func (v NullableCreateNetworkAddressFamily) Get() *CreateNetworkAddressFamily
func (NullableCreateNetworkAddressFamily) IsSet ¶
func (v NullableCreateNetworkAddressFamily) IsSet() bool
func (NullableCreateNetworkAddressFamily) MarshalJSON ¶
func (v NullableCreateNetworkAddressFamily) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkAddressFamily) Set ¶
func (v *NullableCreateNetworkAddressFamily) Set(val *CreateNetworkAddressFamily)
func (*NullableCreateNetworkAddressFamily) UnmarshalJSON ¶
func (v *NullableCreateNetworkAddressFamily) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkAddressFamily) Unset ¶
func (v *NullableCreateNetworkAddressFamily) Unset()
type NullableCreateNetworkAreaPayload ¶
type NullableCreateNetworkAreaPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkAreaPayload ¶
func NewNullableCreateNetworkAreaPayload(val *CreateNetworkAreaPayload) *NullableCreateNetworkAreaPayload
func (NullableCreateNetworkAreaPayload) Get ¶
func (v NullableCreateNetworkAreaPayload) Get() *CreateNetworkAreaPayload
func (NullableCreateNetworkAreaPayload) IsSet ¶
func (v NullableCreateNetworkAreaPayload) IsSet() bool
func (NullableCreateNetworkAreaPayload) MarshalJSON ¶
func (v NullableCreateNetworkAreaPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkAreaPayload) Set ¶
func (v *NullableCreateNetworkAreaPayload) Set(val *CreateNetworkAreaPayload)
func (*NullableCreateNetworkAreaPayload) UnmarshalJSON ¶
func (v *NullableCreateNetworkAreaPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkAreaPayload) Unset ¶
func (v *NullableCreateNetworkAreaPayload) Unset()
type NullableCreateNetworkAreaRangePayload ¶
type NullableCreateNetworkAreaRangePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkAreaRangePayload ¶
func NewNullableCreateNetworkAreaRangePayload(val *CreateNetworkAreaRangePayload) *NullableCreateNetworkAreaRangePayload
func (NullableCreateNetworkAreaRangePayload) Get ¶
func (v NullableCreateNetworkAreaRangePayload) Get() *CreateNetworkAreaRangePayload
func (NullableCreateNetworkAreaRangePayload) IsSet ¶
func (v NullableCreateNetworkAreaRangePayload) IsSet() bool
func (NullableCreateNetworkAreaRangePayload) MarshalJSON ¶
func (v NullableCreateNetworkAreaRangePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkAreaRangePayload) Set ¶
func (v *NullableCreateNetworkAreaRangePayload) Set(val *CreateNetworkAreaRangePayload)
func (*NullableCreateNetworkAreaRangePayload) UnmarshalJSON ¶
func (v *NullableCreateNetworkAreaRangePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkAreaRangePayload) Unset ¶
func (v *NullableCreateNetworkAreaRangePayload) Unset()
type NullableCreateNetworkAreaRoutePayload ¶
type NullableCreateNetworkAreaRoutePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkAreaRoutePayload ¶
func NewNullableCreateNetworkAreaRoutePayload(val *CreateNetworkAreaRoutePayload) *NullableCreateNetworkAreaRoutePayload
func (NullableCreateNetworkAreaRoutePayload) Get ¶
func (v NullableCreateNetworkAreaRoutePayload) Get() *CreateNetworkAreaRoutePayload
func (NullableCreateNetworkAreaRoutePayload) IsSet ¶
func (v NullableCreateNetworkAreaRoutePayload) IsSet() bool
func (NullableCreateNetworkAreaRoutePayload) MarshalJSON ¶
func (v NullableCreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkAreaRoutePayload) Set ¶
func (v *NullableCreateNetworkAreaRoutePayload) Set(val *CreateNetworkAreaRoutePayload)
func (*NullableCreateNetworkAreaRoutePayload) UnmarshalJSON ¶
func (v *NullableCreateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkAreaRoutePayload) Unset ¶
func (v *NullableCreateNetworkAreaRoutePayload) Unset()
type NullableCreateNetworkIPv4Body ¶
type NullableCreateNetworkIPv4Body struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv4Body ¶
func NewNullableCreateNetworkIPv4Body(val *CreateNetworkIPv4Body) *NullableCreateNetworkIPv4Body
func (NullableCreateNetworkIPv4Body) Get ¶
func (v NullableCreateNetworkIPv4Body) Get() *CreateNetworkIPv4Body
func (NullableCreateNetworkIPv4Body) IsSet ¶
func (v NullableCreateNetworkIPv4Body) IsSet() bool
func (NullableCreateNetworkIPv4Body) MarshalJSON ¶
func (v NullableCreateNetworkIPv4Body) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv4Body) Set ¶
func (v *NullableCreateNetworkIPv4Body) Set(val *CreateNetworkIPv4Body)
func (*NullableCreateNetworkIPv4Body) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv4Body) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv4Body) Unset ¶
func (v *NullableCreateNetworkIPv4Body) Unset()
type NullableCreateNetworkIPv6Body ¶
type NullableCreateNetworkIPv6Body struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv6Body ¶
func NewNullableCreateNetworkIPv6Body(val *CreateNetworkIPv6Body) *NullableCreateNetworkIPv6Body
func (NullableCreateNetworkIPv6Body) Get ¶
func (v NullableCreateNetworkIPv6Body) Get() *CreateNetworkIPv6Body
func (NullableCreateNetworkIPv6Body) IsSet ¶
func (v NullableCreateNetworkIPv6Body) IsSet() bool
func (NullableCreateNetworkIPv6Body) MarshalJSON ¶
func (v NullableCreateNetworkIPv6Body) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv6Body) Set ¶
func (v *NullableCreateNetworkIPv6Body) Set(val *CreateNetworkIPv6Body)
func (*NullableCreateNetworkIPv6Body) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv6Body) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv6Body) Unset ¶
func (v *NullableCreateNetworkIPv6Body) Unset()
type NullableCreateNetworkPayload ¶
type NullableCreateNetworkPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkPayload ¶
func NewNullableCreateNetworkPayload(val *CreateNetworkPayload) *NullableCreateNetworkPayload
func (NullableCreateNetworkPayload) Get ¶
func (v NullableCreateNetworkPayload) Get() *CreateNetworkPayload
func (NullableCreateNetworkPayload) IsSet ¶
func (v NullableCreateNetworkPayload) IsSet() bool
func (NullableCreateNetworkPayload) MarshalJSON ¶
func (v NullableCreateNetworkPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkPayload) Set ¶
func (v *NullableCreateNetworkPayload) Set(val *CreateNetworkPayload)
func (*NullableCreateNetworkPayload) UnmarshalJSON ¶
func (v *NullableCreateNetworkPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkPayload) Unset ¶
func (v *NullableCreateNetworkPayload) Unset()
type NullableCreateNicPayload ¶
type NullableCreateNicPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateNicPayload ¶
func NewNullableCreateNicPayload(val *CreateNicPayload) *NullableCreateNicPayload
func (NullableCreateNicPayload) Get ¶
func (v NullableCreateNicPayload) Get() *CreateNicPayload
func (NullableCreateNicPayload) IsSet ¶
func (v NullableCreateNicPayload) IsSet() bool
func (NullableCreateNicPayload) MarshalJSON ¶
func (v NullableCreateNicPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateNicPayload) Set ¶
func (v *NullableCreateNicPayload) Set(val *CreateNicPayload)
func (*NullableCreateNicPayload) UnmarshalJSON ¶
func (v *NullableCreateNicPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateNicPayload) Unset ¶
func (v *NullableCreateNicPayload) Unset()
type NullableCreateProtocol ¶
type NullableCreateProtocol struct {
// contains filtered or unexported fields
}
func NewNullableCreateProtocol ¶
func NewNullableCreateProtocol(val *CreateProtocol) *NullableCreateProtocol
func (NullableCreateProtocol) Get ¶
func (v NullableCreateProtocol) Get() *CreateProtocol
func (NullableCreateProtocol) IsSet ¶
func (v NullableCreateProtocol) IsSet() bool
func (NullableCreateProtocol) MarshalJSON ¶
func (v NullableCreateProtocol) MarshalJSON() ([]byte, error)
func (*NullableCreateProtocol) Set ¶
func (v *NullableCreateProtocol) Set(val *CreateProtocol)
func (*NullableCreateProtocol) UnmarshalJSON ¶
func (v *NullableCreateProtocol) UnmarshalJSON(src []byte) error
func (*NullableCreateProtocol) Unset ¶
func (v *NullableCreateProtocol) Unset()
type NullableCreatePublicIPPayload ¶
type NullableCreatePublicIPPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreatePublicIPPayload ¶
func NewNullableCreatePublicIPPayload(val *CreatePublicIPPayload) *NullableCreatePublicIPPayload
func (NullableCreatePublicIPPayload) Get ¶
func (v NullableCreatePublicIPPayload) Get() *CreatePublicIPPayload
func (NullableCreatePublicIPPayload) IsSet ¶
func (v NullableCreatePublicIPPayload) IsSet() bool
func (NullableCreatePublicIPPayload) MarshalJSON ¶
func (v NullableCreatePublicIPPayload) MarshalJSON() ([]byte, error)
func (*NullableCreatePublicIPPayload) Set ¶
func (v *NullableCreatePublicIPPayload) Set(val *CreatePublicIPPayload)
func (*NullableCreatePublicIPPayload) UnmarshalJSON ¶
func (v *NullableCreatePublicIPPayload) UnmarshalJSON(src []byte) error
func (*NullableCreatePublicIPPayload) Unset ¶
func (v *NullableCreatePublicIPPayload) Unset()
type NullableCreateSecurityGroupPayload ¶
type NullableCreateSecurityGroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateSecurityGroupPayload ¶
func NewNullableCreateSecurityGroupPayload(val *CreateSecurityGroupPayload) *NullableCreateSecurityGroupPayload
func (NullableCreateSecurityGroupPayload) Get ¶
func (v NullableCreateSecurityGroupPayload) Get() *CreateSecurityGroupPayload
func (NullableCreateSecurityGroupPayload) IsSet ¶
func (v NullableCreateSecurityGroupPayload) IsSet() bool
func (NullableCreateSecurityGroupPayload) MarshalJSON ¶
func (v NullableCreateSecurityGroupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateSecurityGroupPayload) Set ¶
func (v *NullableCreateSecurityGroupPayload) Set(val *CreateSecurityGroupPayload)
func (*NullableCreateSecurityGroupPayload) UnmarshalJSON ¶
func (v *NullableCreateSecurityGroupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateSecurityGroupPayload) Unset ¶
func (v *NullableCreateSecurityGroupPayload) Unset()
type NullableCreateSecurityGroupRulePayload ¶
type NullableCreateSecurityGroupRulePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateSecurityGroupRulePayload ¶
func NewNullableCreateSecurityGroupRulePayload(val *CreateSecurityGroupRulePayload) *NullableCreateSecurityGroupRulePayload
func (NullableCreateSecurityGroupRulePayload) Get ¶
func (v NullableCreateSecurityGroupRulePayload) Get() *CreateSecurityGroupRulePayload
func (NullableCreateSecurityGroupRulePayload) IsSet ¶
func (v NullableCreateSecurityGroupRulePayload) IsSet() bool
func (NullableCreateSecurityGroupRulePayload) MarshalJSON ¶
func (v NullableCreateSecurityGroupRulePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateSecurityGroupRulePayload) Set ¶
func (v *NullableCreateSecurityGroupRulePayload) Set(val *CreateSecurityGroupRulePayload)
func (*NullableCreateSecurityGroupRulePayload) UnmarshalJSON ¶
func (v *NullableCreateSecurityGroupRulePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateSecurityGroupRulePayload) Unset ¶
func (v *NullableCreateSecurityGroupRulePayload) Unset()
type NullableCreateSecurityGroupRuleProtocol ¶
type NullableCreateSecurityGroupRuleProtocol struct {
// contains filtered or unexported fields
}
func NewNullableCreateSecurityGroupRuleProtocol ¶
func NewNullableCreateSecurityGroupRuleProtocol(val *CreateSecurityGroupRuleProtocol) *NullableCreateSecurityGroupRuleProtocol
func (NullableCreateSecurityGroupRuleProtocol) IsSet ¶
func (v NullableCreateSecurityGroupRuleProtocol) IsSet() bool
func (NullableCreateSecurityGroupRuleProtocol) MarshalJSON ¶
func (v NullableCreateSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
func (*NullableCreateSecurityGroupRuleProtocol) Set ¶
func (v *NullableCreateSecurityGroupRuleProtocol) Set(val *CreateSecurityGroupRuleProtocol)
func (*NullableCreateSecurityGroupRuleProtocol) UnmarshalJSON ¶
func (v *NullableCreateSecurityGroupRuleProtocol) UnmarshalJSON(src []byte) error
func (*NullableCreateSecurityGroupRuleProtocol) Unset ¶
func (v *NullableCreateSecurityGroupRuleProtocol) Unset()
type NullableCreateServerNetworking ¶
type NullableCreateServerNetworking struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerNetworking ¶
func NewNullableCreateServerNetworking(val *CreateServerNetworking) *NullableCreateServerNetworking
func (NullableCreateServerNetworking) Get ¶
func (v NullableCreateServerNetworking) Get() *CreateServerNetworking
func (NullableCreateServerNetworking) IsSet ¶
func (v NullableCreateServerNetworking) IsSet() bool
func (NullableCreateServerNetworking) MarshalJSON ¶
func (v NullableCreateServerNetworking) MarshalJSON() ([]byte, error)
func (*NullableCreateServerNetworking) Set ¶
func (v *NullableCreateServerNetworking) Set(val *CreateServerNetworking)
func (*NullableCreateServerNetworking) UnmarshalJSON ¶
func (v *NullableCreateServerNetworking) UnmarshalJSON(src []byte) error
func (*NullableCreateServerNetworking) Unset ¶
func (v *NullableCreateServerNetworking) Unset()
type NullableCreateServerNetworkingWithNics ¶
type NullableCreateServerNetworkingWithNics struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerNetworkingWithNics ¶
func NewNullableCreateServerNetworkingWithNics(val *CreateServerNetworkingWithNics) *NullableCreateServerNetworkingWithNics
func (NullableCreateServerNetworkingWithNics) Get ¶
func (v NullableCreateServerNetworkingWithNics) Get() *CreateServerNetworkingWithNics
func (NullableCreateServerNetworkingWithNics) IsSet ¶
func (v NullableCreateServerNetworkingWithNics) IsSet() bool
func (NullableCreateServerNetworkingWithNics) MarshalJSON ¶
func (v NullableCreateServerNetworkingWithNics) MarshalJSON() ([]byte, error)
func (*NullableCreateServerNetworkingWithNics) Set ¶
func (v *NullableCreateServerNetworkingWithNics) Set(val *CreateServerNetworkingWithNics)
func (*NullableCreateServerNetworkingWithNics) UnmarshalJSON ¶
func (v *NullableCreateServerNetworkingWithNics) UnmarshalJSON(src []byte) error
func (*NullableCreateServerNetworkingWithNics) Unset ¶
func (v *NullableCreateServerNetworkingWithNics) Unset()
type NullableCreateServerPayload ¶
type NullableCreateServerPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerPayload ¶
func NewNullableCreateServerPayload(val *CreateServerPayload) *NullableCreateServerPayload
func (NullableCreateServerPayload) Get ¶
func (v NullableCreateServerPayload) Get() *CreateServerPayload
func (NullableCreateServerPayload) IsSet ¶
func (v NullableCreateServerPayload) IsSet() bool
func (NullableCreateServerPayload) MarshalJSON ¶
func (v NullableCreateServerPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateServerPayload) Set ¶
func (v *NullableCreateServerPayload) Set(val *CreateServerPayload)
func (*NullableCreateServerPayload) UnmarshalJSON ¶
func (v *NullableCreateServerPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateServerPayload) Unset ¶
func (v *NullableCreateServerPayload) Unset()
type NullableCreateServerPayloadNetworking ¶
type NullableCreateServerPayloadNetworking struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerPayloadNetworking ¶
func NewNullableCreateServerPayloadNetworking(val *CreateServerPayloadNetworking) *NullableCreateServerPayloadNetworking
func (NullableCreateServerPayloadNetworking) Get ¶
func (v NullableCreateServerPayloadNetworking) Get() *CreateServerPayloadNetworking
func (NullableCreateServerPayloadNetworking) IsSet ¶
func (v NullableCreateServerPayloadNetworking) IsSet() bool
func (NullableCreateServerPayloadNetworking) MarshalJSON ¶
func (v NullableCreateServerPayloadNetworking) MarshalJSON() ([]byte, error)
func (*NullableCreateServerPayloadNetworking) Set ¶
func (v *NullableCreateServerPayloadNetworking) Set(val *CreateServerPayloadNetworking)
func (*NullableCreateServerPayloadNetworking) UnmarshalJSON ¶
func (v *NullableCreateServerPayloadNetworking) UnmarshalJSON(src []byte) error
func (*NullableCreateServerPayloadNetworking) Unset ¶
func (v *NullableCreateServerPayloadNetworking) Unset()
type NullableCreateSnapshotPayload ¶
type NullableCreateSnapshotPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateSnapshotPayload ¶
func NewNullableCreateSnapshotPayload(val *CreateSnapshotPayload) *NullableCreateSnapshotPayload
func (NullableCreateSnapshotPayload) Get ¶
func (v NullableCreateSnapshotPayload) Get() *CreateSnapshotPayload
func (NullableCreateSnapshotPayload) IsSet ¶
func (v NullableCreateSnapshotPayload) IsSet() bool
func (NullableCreateSnapshotPayload) MarshalJSON ¶
func (v NullableCreateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateSnapshotPayload) Set ¶
func (v *NullableCreateSnapshotPayload) Set(val *CreateSnapshotPayload)
func (*NullableCreateSnapshotPayload) UnmarshalJSON ¶
func (v *NullableCreateSnapshotPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateSnapshotPayload) Unset ¶
func (v *NullableCreateSnapshotPayload) Unset()
type NullableCreateVolumePayload ¶
type NullableCreateVolumePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateVolumePayload ¶
func NewNullableCreateVolumePayload(val *CreateVolumePayload) *NullableCreateVolumePayload
func (NullableCreateVolumePayload) Get ¶
func (v NullableCreateVolumePayload) Get() *CreateVolumePayload
func (NullableCreateVolumePayload) IsSet ¶
func (v NullableCreateVolumePayload) IsSet() bool
func (NullableCreateVolumePayload) MarshalJSON ¶
func (v NullableCreateVolumePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateVolumePayload) Set ¶
func (v *NullableCreateVolumePayload) Set(val *CreateVolumePayload)
func (*NullableCreateVolumePayload) UnmarshalJSON ¶
func (v *NullableCreateVolumePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateVolumePayload) Unset ¶
func (v *NullableCreateVolumePayload) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) 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 NullableGetServerLog200Response ¶
type NullableGetServerLog200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetServerLog200Response ¶
func NewNullableGetServerLog200Response(val *GetServerLog200Response) *NullableGetServerLog200Response
func (NullableGetServerLog200Response) Get ¶
func (v NullableGetServerLog200Response) Get() *GetServerLog200Response
func (NullableGetServerLog200Response) IsSet ¶
func (v NullableGetServerLog200Response) IsSet() bool
func (NullableGetServerLog200Response) MarshalJSON ¶
func (v NullableGetServerLog200Response) MarshalJSON() ([]byte, error)
func (*NullableGetServerLog200Response) Set ¶
func (v *NullableGetServerLog200Response) Set(val *GetServerLog200Response)
func (*NullableGetServerLog200Response) UnmarshalJSON ¶
func (v *NullableGetServerLog200Response) UnmarshalJSON(src []byte) error
func (*NullableGetServerLog200Response) Unset ¶
func (v *NullableGetServerLog200Response) Unset()
type NullableICMPParameters ¶
type NullableICMPParameters struct {
// contains filtered or unexported fields
}
func NewNullableICMPParameters ¶
func NewNullableICMPParameters(val *ICMPParameters) *NullableICMPParameters
func (NullableICMPParameters) Get ¶
func (v NullableICMPParameters) Get() *ICMPParameters
func (NullableICMPParameters) IsSet ¶
func (v NullableICMPParameters) IsSet() bool
func (NullableICMPParameters) MarshalJSON ¶
func (v NullableICMPParameters) MarshalJSON() ([]byte, error)
func (*NullableICMPParameters) Set ¶
func (v *NullableICMPParameters) Set(val *ICMPParameters)
func (*NullableICMPParameters) UnmarshalJSON ¶
func (v *NullableICMPParameters) UnmarshalJSON(src []byte) error
func (*NullableICMPParameters) Unset ¶
func (v *NullableICMPParameters) Unset()
type NullableImage ¶
type NullableImage struct {
// contains filtered or unexported fields
}
func NewNullableImage ¶
func NewNullableImage(val *Image) *NullableImage
func (NullableImage) Get ¶
func (v NullableImage) Get() *Image
func (NullableImage) IsSet ¶
func (v NullableImage) IsSet() bool
func (NullableImage) MarshalJSON ¶
func (v NullableImage) MarshalJSON() ([]byte, error)
func (*NullableImage) Set ¶
func (v *NullableImage) Set(val *Image)
func (*NullableImage) UnmarshalJSON ¶
func (v *NullableImage) UnmarshalJSON(src []byte) error
func (*NullableImage) Unset ¶
func (v *NullableImage) Unset()
type NullableImageAgent ¶
type NullableImageAgent struct {
// contains filtered or unexported fields
}
func NewNullableImageAgent ¶
func NewNullableImageAgent(val *ImageAgent) *NullableImageAgent
func (NullableImageAgent) Get ¶
func (v NullableImageAgent) Get() *ImageAgent
func (NullableImageAgent) IsSet ¶
func (v NullableImageAgent) IsSet() bool
func (NullableImageAgent) MarshalJSON ¶
func (v NullableImageAgent) MarshalJSON() ([]byte, error)
func (*NullableImageAgent) Set ¶
func (v *NullableImageAgent) Set(val *ImageAgent)
func (*NullableImageAgent) UnmarshalJSON ¶
func (v *NullableImageAgent) UnmarshalJSON(src []byte) error
func (*NullableImageAgent) Unset ¶
func (v *NullableImageAgent) Unset()
type NullableImageChecksum ¶
type NullableImageChecksum struct {
// contains filtered or unexported fields
}
func NewNullableImageChecksum ¶
func NewNullableImageChecksum(val *ImageChecksum) *NullableImageChecksum
func (NullableImageChecksum) Get ¶
func (v NullableImageChecksum) Get() *ImageChecksum
func (NullableImageChecksum) IsSet ¶
func (v NullableImageChecksum) IsSet() bool
func (NullableImageChecksum) MarshalJSON ¶
func (v NullableImageChecksum) MarshalJSON() ([]byte, error)
func (*NullableImageChecksum) Set ¶
func (v *NullableImageChecksum) Set(val *ImageChecksum)
func (*NullableImageChecksum) UnmarshalJSON ¶
func (v *NullableImageChecksum) UnmarshalJSON(src []byte) error
func (*NullableImageChecksum) Unset ¶
func (v *NullableImageChecksum) Unset()
type NullableImageConfig ¶
type NullableImageConfig struct {
// contains filtered or unexported fields
}
func NewNullableImageConfig ¶
func NewNullableImageConfig(val *ImageConfig) *NullableImageConfig
func (NullableImageConfig) Get ¶
func (v NullableImageConfig) Get() *ImageConfig
func (NullableImageConfig) IsSet ¶
func (v NullableImageConfig) IsSet() bool
func (NullableImageConfig) MarshalJSON ¶
func (v NullableImageConfig) MarshalJSON() ([]byte, error)
func (*NullableImageConfig) Set ¶
func (v *NullableImageConfig) Set(val *ImageConfig)
func (*NullableImageConfig) UnmarshalJSON ¶
func (v *NullableImageConfig) UnmarshalJSON(src []byte) error
func (*NullableImageConfig) Unset ¶
func (v *NullableImageConfig) Unset()
type NullableImageCreateResponse ¶
type NullableImageCreateResponse struct {
// contains filtered or unexported fields
}
func NewNullableImageCreateResponse ¶
func NewNullableImageCreateResponse(val *ImageCreateResponse) *NullableImageCreateResponse
func (NullableImageCreateResponse) Get ¶
func (v NullableImageCreateResponse) Get() *ImageCreateResponse
func (NullableImageCreateResponse) IsSet ¶
func (v NullableImageCreateResponse) IsSet() bool
func (NullableImageCreateResponse) MarshalJSON ¶
func (v NullableImageCreateResponse) MarshalJSON() ([]byte, error)
func (*NullableImageCreateResponse) Set ¶
func (v *NullableImageCreateResponse) Set(val *ImageCreateResponse)
func (*NullableImageCreateResponse) UnmarshalJSON ¶
func (v *NullableImageCreateResponse) UnmarshalJSON(src []byte) error
func (*NullableImageCreateResponse) Unset ¶
func (v *NullableImageCreateResponse) Unset()
type NullableImageListResponse ¶
type NullableImageListResponse struct {
// contains filtered or unexported fields
}
func NewNullableImageListResponse ¶
func NewNullableImageListResponse(val *ImageListResponse) *NullableImageListResponse
func (NullableImageListResponse) Get ¶
func (v NullableImageListResponse) Get() *ImageListResponse
func (NullableImageListResponse) IsSet ¶
func (v NullableImageListResponse) IsSet() bool
func (NullableImageListResponse) MarshalJSON ¶
func (v NullableImageListResponse) MarshalJSON() ([]byte, error)
func (*NullableImageListResponse) Set ¶
func (v *NullableImageListResponse) Set(val *ImageListResponse)
func (*NullableImageListResponse) UnmarshalJSON ¶
func (v *NullableImageListResponse) UnmarshalJSON(src []byte) error
func (*NullableImageListResponse) Unset ¶
func (v *NullableImageListResponse) Unset()
type NullableImageShare ¶
type NullableImageShare struct {
// contains filtered or unexported fields
}
func NewNullableImageShare ¶
func NewNullableImageShare(val *ImageShare) *NullableImageShare
func (NullableImageShare) Get ¶
func (v NullableImageShare) Get() *ImageShare
func (NullableImageShare) IsSet ¶
func (v NullableImageShare) IsSet() bool
func (NullableImageShare) MarshalJSON ¶
func (v NullableImageShare) MarshalJSON() ([]byte, error)
func (*NullableImageShare) Set ¶
func (v *NullableImageShare) Set(val *ImageShare)
func (*NullableImageShare) UnmarshalJSON ¶
func (v *NullableImageShare) UnmarshalJSON(src []byte) error
func (*NullableImageShare) Unset ¶
func (v *NullableImageShare) Unset()
type NullableImageShareConsumer ¶
type NullableImageShareConsumer struct {
// contains filtered or unexported fields
}
func NewNullableImageShareConsumer ¶
func NewNullableImageShareConsumer(val *ImageShareConsumer) *NullableImageShareConsumer
func (NullableImageShareConsumer) Get ¶
func (v NullableImageShareConsumer) Get() *ImageShareConsumer
func (NullableImageShareConsumer) IsSet ¶
func (v NullableImageShareConsumer) IsSet() bool
func (NullableImageShareConsumer) MarshalJSON ¶
func (v NullableImageShareConsumer) MarshalJSON() ([]byte, error)
func (*NullableImageShareConsumer) Set ¶
func (v *NullableImageShareConsumer) Set(val *ImageShareConsumer)
func (*NullableImageShareConsumer) UnmarshalJSON ¶
func (v *NullableImageShareConsumer) UnmarshalJSON(src []byte) error
func (*NullableImageShareConsumer) Unset ¶
func (v *NullableImageShareConsumer) 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 NullableKeyPairListResponse ¶
type NullableKeyPairListResponse struct {
// contains filtered or unexported fields
}
func NewNullableKeyPairListResponse ¶
func NewNullableKeyPairListResponse(val *KeyPairListResponse) *NullableKeyPairListResponse
func (NullableKeyPairListResponse) Get ¶
func (v NullableKeyPairListResponse) Get() *KeyPairListResponse
func (NullableKeyPairListResponse) IsSet ¶
func (v NullableKeyPairListResponse) IsSet() bool
func (NullableKeyPairListResponse) MarshalJSON ¶
func (v NullableKeyPairListResponse) MarshalJSON() ([]byte, error)
func (*NullableKeyPairListResponse) Set ¶
func (v *NullableKeyPairListResponse) Set(val *KeyPairListResponse)
func (*NullableKeyPairListResponse) UnmarshalJSON ¶
func (v *NullableKeyPairListResponse) UnmarshalJSON(src []byte) error
func (*NullableKeyPairListResponse) Unset ¶
func (v *NullableKeyPairListResponse) Unset()
type NullableKeypair ¶
type NullableKeypair struct {
// contains filtered or unexported fields
}
func NewNullableKeypair ¶
func NewNullableKeypair(val *Keypair) *NullableKeypair
func (NullableKeypair) Get ¶
func (v NullableKeypair) Get() *Keypair
func (NullableKeypair) IsSet ¶
func (v NullableKeypair) IsSet() bool
func (NullableKeypair) MarshalJSON ¶
func (v NullableKeypair) MarshalJSON() ([]byte, error)
func (*NullableKeypair) Set ¶
func (v *NullableKeypair) Set(val *Keypair)
func (*NullableKeypair) UnmarshalJSON ¶
func (v *NullableKeypair) UnmarshalJSON(src []byte) error
func (*NullableKeypair) Unset ¶
func (v *NullableKeypair) Unset()
type NullableMachineType ¶
type NullableMachineType struct {
// contains filtered or unexported fields
}
func NewNullableMachineType ¶
func NewNullableMachineType(val *MachineType) *NullableMachineType
func (NullableMachineType) Get ¶
func (v NullableMachineType) Get() *MachineType
func (NullableMachineType) IsSet ¶
func (v NullableMachineType) IsSet() bool
func (NullableMachineType) MarshalJSON ¶
func (v NullableMachineType) MarshalJSON() ([]byte, error)
func (*NullableMachineType) Set ¶
func (v *NullableMachineType) Set(val *MachineType)
func (*NullableMachineType) UnmarshalJSON ¶
func (v *NullableMachineType) UnmarshalJSON(src []byte) error
func (*NullableMachineType) Unset ¶
func (v *NullableMachineType) Unset()
type NullableMachineTypeListResponse ¶
type NullableMachineTypeListResponse struct {
// contains filtered or unexported fields
}
func NewNullableMachineTypeListResponse ¶
func NewNullableMachineTypeListResponse(val *MachineTypeListResponse) *NullableMachineTypeListResponse
func (NullableMachineTypeListResponse) Get ¶
func (v NullableMachineTypeListResponse) Get() *MachineTypeListResponse
func (NullableMachineTypeListResponse) IsSet ¶
func (v NullableMachineTypeListResponse) IsSet() bool
func (NullableMachineTypeListResponse) MarshalJSON ¶
func (v NullableMachineTypeListResponse) MarshalJSON() ([]byte, error)
func (*NullableMachineTypeListResponse) Set ¶
func (v *NullableMachineTypeListResponse) Set(val *MachineTypeListResponse)
func (*NullableMachineTypeListResponse) UnmarshalJSON ¶
func (v *NullableMachineTypeListResponse) UnmarshalJSON(src []byte) error
func (*NullableMachineTypeListResponse) Unset ¶
func (v *NullableMachineTypeListResponse) Unset()
type NullableNIC ¶
type NullableNIC struct {
// contains filtered or unexported fields
}
func NewNullableNIC ¶
func NewNullableNIC(val *NIC) *NullableNIC
func (NullableNIC) Get ¶
func (v NullableNIC) Get() *NIC
func (NullableNIC) IsSet ¶
func (v NullableNIC) IsSet() bool
func (NullableNIC) MarshalJSON ¶
func (v NullableNIC) MarshalJSON() ([]byte, error)
func (*NullableNIC) Set ¶
func (v *NullableNIC) Set(val *NIC)
func (*NullableNIC) UnmarshalJSON ¶
func (v *NullableNIC) UnmarshalJSON(src []byte) error
func (*NullableNIC) Unset ¶
func (v *NullableNIC) Unset()
type NullableNICListResponse ¶
type NullableNICListResponse struct {
// contains filtered or unexported fields
}
func NewNullableNICListResponse ¶
func NewNullableNICListResponse(val *NICListResponse) *NullableNICListResponse
func (NullableNICListResponse) Get ¶
func (v NullableNICListResponse) Get() *NICListResponse
func (NullableNICListResponse) IsSet ¶
func (v NullableNICListResponse) IsSet() bool
func (NullableNICListResponse) MarshalJSON ¶
func (v NullableNICListResponse) MarshalJSON() ([]byte, error)
func (*NullableNICListResponse) Set ¶
func (v *NullableNICListResponse) Set(val *NICListResponse)
func (*NullableNICListResponse) UnmarshalJSON ¶
func (v *NullableNICListResponse) UnmarshalJSON(src []byte) error
func (*NullableNICListResponse) Unset ¶
func (v *NullableNICListResponse) 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 NullableNetworkArea ¶
type NullableNetworkArea struct {
// contains filtered or unexported fields
}
func NewNullableNetworkArea ¶
func NewNullableNetworkArea(val *NetworkArea) *NullableNetworkArea
func (NullableNetworkArea) Get ¶
func (v NullableNetworkArea) Get() *NetworkArea
func (NullableNetworkArea) IsSet ¶
func (v NullableNetworkArea) IsSet() bool
func (NullableNetworkArea) MarshalJSON ¶
func (v NullableNetworkArea) MarshalJSON() ([]byte, error)
func (*NullableNetworkArea) Set ¶
func (v *NullableNetworkArea) Set(val *NetworkArea)
func (*NullableNetworkArea) UnmarshalJSON ¶
func (v *NullableNetworkArea) UnmarshalJSON(src []byte) error
func (*NullableNetworkArea) Unset ¶
func (v *NullableNetworkArea) Unset()
type NullableNetworkAreaIPv4 ¶
type NullableNetworkAreaIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableNetworkAreaIPv4 ¶
func NewNullableNetworkAreaIPv4(val *NetworkAreaIPv4) *NullableNetworkAreaIPv4
func (NullableNetworkAreaIPv4) Get ¶
func (v NullableNetworkAreaIPv4) Get() *NetworkAreaIPv4
func (NullableNetworkAreaIPv4) IsSet ¶
func (v NullableNetworkAreaIPv4) IsSet() bool
func (NullableNetworkAreaIPv4) MarshalJSON ¶
func (v NullableNetworkAreaIPv4) MarshalJSON() ([]byte, error)
func (*NullableNetworkAreaIPv4) Set ¶
func (v *NullableNetworkAreaIPv4) Set(val *NetworkAreaIPv4)
func (*NullableNetworkAreaIPv4) UnmarshalJSON ¶
func (v *NullableNetworkAreaIPv4) UnmarshalJSON(src []byte) error
func (*NullableNetworkAreaIPv4) Unset ¶
func (v *NullableNetworkAreaIPv4) Unset()
type NullableNetworkAreaListResponse ¶
type NullableNetworkAreaListResponse struct {
// contains filtered or unexported fields
}
func NewNullableNetworkAreaListResponse ¶
func NewNullableNetworkAreaListResponse(val *NetworkAreaListResponse) *NullableNetworkAreaListResponse
func (NullableNetworkAreaListResponse) Get ¶
func (v NullableNetworkAreaListResponse) Get() *NetworkAreaListResponse
func (NullableNetworkAreaListResponse) IsSet ¶
func (v NullableNetworkAreaListResponse) IsSet() bool
func (NullableNetworkAreaListResponse) MarshalJSON ¶
func (v NullableNetworkAreaListResponse) MarshalJSON() ([]byte, error)
func (*NullableNetworkAreaListResponse) Set ¶
func (v *NullableNetworkAreaListResponse) Set(val *NetworkAreaListResponse)
func (*NullableNetworkAreaListResponse) UnmarshalJSON ¶
func (v *NullableNetworkAreaListResponse) UnmarshalJSON(src []byte) error
func (*NullableNetworkAreaListResponse) Unset ¶
func (v *NullableNetworkAreaListResponse) Unset()
type NullableNetworkListResponse ¶
type NullableNetworkListResponse struct {
// contains filtered or unexported fields
}
func NewNullableNetworkListResponse ¶
func NewNullableNetworkListResponse(val *NetworkListResponse) *NullableNetworkListResponse
func (NullableNetworkListResponse) Get ¶
func (v NullableNetworkListResponse) Get() *NetworkListResponse
func (NullableNetworkListResponse) IsSet ¶
func (v NullableNetworkListResponse) IsSet() bool
func (NullableNetworkListResponse) MarshalJSON ¶
func (v NullableNetworkListResponse) MarshalJSON() ([]byte, error)
func (*NullableNetworkListResponse) Set ¶
func (v *NullableNetworkListResponse) Set(val *NetworkListResponse)
func (*NullableNetworkListResponse) UnmarshalJSON ¶
func (v *NullableNetworkListResponse) UnmarshalJSON(src []byte) error
func (*NullableNetworkListResponse) Unset ¶
func (v *NullableNetworkListResponse) Unset()
type NullableNetworkRange ¶
type NullableNetworkRange struct {
// contains filtered or unexported fields
}
func NewNullableNetworkRange ¶
func NewNullableNetworkRange(val *NetworkRange) *NullableNetworkRange
func (NullableNetworkRange) Get ¶
func (v NullableNetworkRange) Get() *NetworkRange
func (NullableNetworkRange) IsSet ¶
func (v NullableNetworkRange) IsSet() bool
func (NullableNetworkRange) MarshalJSON ¶
func (v NullableNetworkRange) MarshalJSON() ([]byte, error)
func (*NullableNetworkRange) Set ¶
func (v *NullableNetworkRange) Set(val *NetworkRange)
func (*NullableNetworkRange) UnmarshalJSON ¶
func (v *NullableNetworkRange) UnmarshalJSON(src []byte) error
func (*NullableNetworkRange) Unset ¶
func (v *NullableNetworkRange) Unset()
type NullableNetworkRangeListResponse ¶
type NullableNetworkRangeListResponse struct {
// contains filtered or unexported fields
}
func NewNullableNetworkRangeListResponse ¶
func NewNullableNetworkRangeListResponse(val *NetworkRangeListResponse) *NullableNetworkRangeListResponse
func (NullableNetworkRangeListResponse) Get ¶
func (v NullableNetworkRangeListResponse) Get() *NetworkRangeListResponse
func (NullableNetworkRangeListResponse) IsSet ¶
func (v NullableNetworkRangeListResponse) IsSet() bool
func (NullableNetworkRangeListResponse) MarshalJSON ¶
func (v NullableNetworkRangeListResponse) MarshalJSON() ([]byte, error)
func (*NullableNetworkRangeListResponse) Set ¶
func (v *NullableNetworkRangeListResponse) Set(val *NetworkRangeListResponse)
func (*NullableNetworkRangeListResponse) UnmarshalJSON ¶
func (v *NullableNetworkRangeListResponse) UnmarshalJSON(src []byte) error
func (*NullableNetworkRangeListResponse) Unset ¶
func (v *NullableNetworkRangeListResponse) Unset()
type NullablePartialUpdateNetworkAreaPayload ¶
type NullablePartialUpdateNetworkAreaPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateNetworkAreaPayload ¶
func NewNullablePartialUpdateNetworkAreaPayload(val *PartialUpdateNetworkAreaPayload) *NullablePartialUpdateNetworkAreaPayload
func (NullablePartialUpdateNetworkAreaPayload) IsSet ¶
func (v NullablePartialUpdateNetworkAreaPayload) IsSet() bool
func (NullablePartialUpdateNetworkAreaPayload) MarshalJSON ¶
func (v NullablePartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateNetworkAreaPayload) Set ¶
func (v *NullablePartialUpdateNetworkAreaPayload) Set(val *PartialUpdateNetworkAreaPayload)
func (*NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateNetworkAreaPayload) Unset ¶
func (v *NullablePartialUpdateNetworkAreaPayload) Unset()
type NullablePartialUpdateNetworkPayload ¶
type NullablePartialUpdateNetworkPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateNetworkPayload ¶
func NewNullablePartialUpdateNetworkPayload(val *PartialUpdateNetworkPayload) *NullablePartialUpdateNetworkPayload
func (NullablePartialUpdateNetworkPayload) Get ¶
func (v NullablePartialUpdateNetworkPayload) Get() *PartialUpdateNetworkPayload
func (NullablePartialUpdateNetworkPayload) IsSet ¶
func (v NullablePartialUpdateNetworkPayload) IsSet() bool
func (NullablePartialUpdateNetworkPayload) MarshalJSON ¶
func (v NullablePartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateNetworkPayload) Set ¶
func (v *NullablePartialUpdateNetworkPayload) Set(val *PartialUpdateNetworkPayload)
func (*NullablePartialUpdateNetworkPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateNetworkPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateNetworkPayload) Unset ¶
func (v *NullablePartialUpdateNetworkPayload) Unset()
type NullablePortRange ¶
type NullablePortRange struct {
// contains filtered or unexported fields
}
func NewNullablePortRange ¶
func NewNullablePortRange(val *PortRange) *NullablePortRange
func (NullablePortRange) Get ¶
func (v NullablePortRange) Get() *PortRange
func (NullablePortRange) IsSet ¶
func (v NullablePortRange) IsSet() bool
func (NullablePortRange) MarshalJSON ¶
func (v NullablePortRange) MarshalJSON() ([]byte, error)
func (*NullablePortRange) Set ¶
func (v *NullablePortRange) Set(val *PortRange)
func (*NullablePortRange) UnmarshalJSON ¶
func (v *NullablePortRange) UnmarshalJSON(src []byte) error
func (*NullablePortRange) Unset ¶
func (v *NullablePortRange) Unset()
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶
func (v *NullableProject) Unset()
type NullableProjectListResponse ¶
type NullableProjectListResponse struct {
// contains filtered or unexported fields
}
func NewNullableProjectListResponse ¶
func NewNullableProjectListResponse(val *ProjectListResponse) *NullableProjectListResponse
func (NullableProjectListResponse) Get ¶
func (v NullableProjectListResponse) Get() *ProjectListResponse
func (NullableProjectListResponse) IsSet ¶
func (v NullableProjectListResponse) IsSet() bool
func (NullableProjectListResponse) MarshalJSON ¶
func (v NullableProjectListResponse) MarshalJSON() ([]byte, error)
func (*NullableProjectListResponse) Set ¶
func (v *NullableProjectListResponse) Set(val *ProjectListResponse)
func (*NullableProjectListResponse) UnmarshalJSON ¶
func (v *NullableProjectListResponse) UnmarshalJSON(src []byte) error
func (*NullableProjectListResponse) Unset ¶
func (v *NullableProjectListResponse) Unset()
type NullableProtocol ¶
type NullableProtocol struct {
// contains filtered or unexported fields
}
func NewNullableProtocol ¶
func NewNullableProtocol(val *Protocol) *NullableProtocol
func (NullableProtocol) Get ¶
func (v NullableProtocol) Get() *Protocol
func (NullableProtocol) IsSet ¶
func (v NullableProtocol) IsSet() bool
func (NullableProtocol) MarshalJSON ¶
func (v NullableProtocol) MarshalJSON() ([]byte, error)
func (*NullableProtocol) Set ¶
func (v *NullableProtocol) Set(val *Protocol)
func (*NullableProtocol) UnmarshalJSON ¶
func (v *NullableProtocol) UnmarshalJSON(src []byte) error
func (*NullableProtocol) Unset ¶
func (v *NullableProtocol) 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 NullablePublicIpListResponse ¶
type NullablePublicIpListResponse struct {
// contains filtered or unexported fields
}
func NewNullablePublicIpListResponse ¶
func NewNullablePublicIpListResponse(val *PublicIpListResponse) *NullablePublicIpListResponse
func (NullablePublicIpListResponse) Get ¶
func (v NullablePublicIpListResponse) Get() *PublicIpListResponse
func (NullablePublicIpListResponse) IsSet ¶
func (v NullablePublicIpListResponse) IsSet() bool
func (NullablePublicIpListResponse) MarshalJSON ¶
func (v NullablePublicIpListResponse) MarshalJSON() ([]byte, error)
func (*NullablePublicIpListResponse) Set ¶
func (v *NullablePublicIpListResponse) Set(val *PublicIpListResponse)
func (*NullablePublicIpListResponse) UnmarshalJSON ¶
func (v *NullablePublicIpListResponse) UnmarshalJSON(src []byte) error
func (*NullablePublicIpListResponse) Unset ¶
func (v *NullablePublicIpListResponse) Unset()
type NullablePublicNetwork ¶
type NullablePublicNetwork struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetwork ¶
func NewNullablePublicNetwork(val *PublicNetwork) *NullablePublicNetwork
func (NullablePublicNetwork) Get ¶
func (v NullablePublicNetwork) Get() *PublicNetwork
func (NullablePublicNetwork) IsSet ¶
func (v NullablePublicNetwork) IsSet() bool
func (NullablePublicNetwork) MarshalJSON ¶
func (v NullablePublicNetwork) MarshalJSON() ([]byte, error)
func (*NullablePublicNetwork) Set ¶
func (v *NullablePublicNetwork) Set(val *PublicNetwork)
func (*NullablePublicNetwork) UnmarshalJSON ¶
func (v *NullablePublicNetwork) UnmarshalJSON(src []byte) error
func (*NullablePublicNetwork) Unset ¶
func (v *NullablePublicNetwork) Unset()
type NullablePublicNetworkListResponse ¶
type NullablePublicNetworkListResponse struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetworkListResponse ¶
func NewNullablePublicNetworkListResponse(val *PublicNetworkListResponse) *NullablePublicNetworkListResponse
func (NullablePublicNetworkListResponse) Get ¶
func (v NullablePublicNetworkListResponse) Get() *PublicNetworkListResponse
func (NullablePublicNetworkListResponse) IsSet ¶
func (v NullablePublicNetworkListResponse) IsSet() bool
func (NullablePublicNetworkListResponse) MarshalJSON ¶
func (v NullablePublicNetworkListResponse) MarshalJSON() ([]byte, error)
func (*NullablePublicNetworkListResponse) Set ¶
func (v *NullablePublicNetworkListResponse) Set(val *PublicNetworkListResponse)
func (*NullablePublicNetworkListResponse) UnmarshalJSON ¶
func (v *NullablePublicNetworkListResponse) UnmarshalJSON(src []byte) error
func (*NullablePublicNetworkListResponse) Unset ¶
func (v *NullablePublicNetworkListResponse) 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 NullableQuotaList ¶
type NullableQuotaList struct {
// contains filtered or unexported fields
}
func NewNullableQuotaList ¶
func NewNullableQuotaList(val *QuotaList) *NullableQuotaList
func (NullableQuotaList) Get ¶
func (v NullableQuotaList) Get() *QuotaList
func (NullableQuotaList) IsSet ¶
func (v NullableQuotaList) IsSet() bool
func (NullableQuotaList) MarshalJSON ¶
func (v NullableQuotaList) MarshalJSON() ([]byte, error)
func (*NullableQuotaList) Set ¶
func (v *NullableQuotaList) Set(val *QuotaList)
func (*NullableQuotaList) UnmarshalJSON ¶
func (v *NullableQuotaList) UnmarshalJSON(src []byte) error
func (*NullableQuotaList) Unset ¶
func (v *NullableQuotaList) Unset()
type NullableQuotaListResponse ¶
type NullableQuotaListResponse struct {
// contains filtered or unexported fields
}
func NewNullableQuotaListResponse ¶
func NewNullableQuotaListResponse(val *QuotaListResponse) *NullableQuotaListResponse
func (NullableQuotaListResponse) Get ¶
func (v NullableQuotaListResponse) Get() *QuotaListResponse
func (NullableQuotaListResponse) IsSet ¶
func (v NullableQuotaListResponse) IsSet() bool
func (NullableQuotaListResponse) MarshalJSON ¶
func (v NullableQuotaListResponse) MarshalJSON() ([]byte, error)
func (*NullableQuotaListResponse) Set ¶
func (v *NullableQuotaListResponse) Set(val *QuotaListResponse)
func (*NullableQuotaListResponse) UnmarshalJSON ¶
func (v *NullableQuotaListResponse) UnmarshalJSON(src []byte) error
func (*NullableQuotaListResponse) Unset ¶
func (v *NullableQuotaListResponse) Unset()
type NullableRequest ¶
type NullableRequest struct {
// contains filtered or unexported fields
}
func NewNullableRequest ¶
func NewNullableRequest(val *Request) *NullableRequest
func (NullableRequest) Get ¶
func (v NullableRequest) Get() *Request
func (NullableRequest) IsSet ¶
func (v NullableRequest) IsSet() bool
func (NullableRequest) MarshalJSON ¶
func (v NullableRequest) MarshalJSON() ([]byte, error)
func (*NullableRequest) Set ¶
func (v *NullableRequest) Set(val *Request)
func (*NullableRequest) UnmarshalJSON ¶
func (v *NullableRequest) UnmarshalJSON(src []byte) error
func (*NullableRequest) Unset ¶
func (v *NullableRequest) Unset()
type NullableRequestResource ¶
type NullableRequestResource struct {
// contains filtered or unexported fields
}
func NewNullableRequestResource ¶
func NewNullableRequestResource(val *RequestResource) *NullableRequestResource
func (NullableRequestResource) Get ¶
func (v NullableRequestResource) Get() *RequestResource
func (NullableRequestResource) IsSet ¶
func (v NullableRequestResource) IsSet() bool
func (NullableRequestResource) MarshalJSON ¶
func (v NullableRequestResource) MarshalJSON() ([]byte, error)
func (*NullableRequestResource) Set ¶
func (v *NullableRequestResource) Set(val *RequestResource)
func (*NullableRequestResource) UnmarshalJSON ¶
func (v *NullableRequestResource) UnmarshalJSON(src []byte) error
func (*NullableRequestResource) Unset ¶
func (v *NullableRequestResource) Unset()
type NullableRescueServerPayload ¶
type NullableRescueServerPayload struct {
// contains filtered or unexported fields
}
func NewNullableRescueServerPayload ¶
func NewNullableRescueServerPayload(val *RescueServerPayload) *NullableRescueServerPayload
func (NullableRescueServerPayload) Get ¶
func (v NullableRescueServerPayload) Get() *RescueServerPayload
func (NullableRescueServerPayload) IsSet ¶
func (v NullableRescueServerPayload) IsSet() bool
func (NullableRescueServerPayload) MarshalJSON ¶
func (v NullableRescueServerPayload) MarshalJSON() ([]byte, error)
func (*NullableRescueServerPayload) Set ¶
func (v *NullableRescueServerPayload) Set(val *RescueServerPayload)
func (*NullableRescueServerPayload) UnmarshalJSON ¶
func (v *NullableRescueServerPayload) UnmarshalJSON(src []byte) error
func (*NullableRescueServerPayload) Unset ¶
func (v *NullableRescueServerPayload) Unset()
type NullableResizeServerPayload ¶
type NullableResizeServerPayload struct {
// contains filtered or unexported fields
}
func NewNullableResizeServerPayload ¶
func NewNullableResizeServerPayload(val *ResizeServerPayload) *NullableResizeServerPayload
func (NullableResizeServerPayload) Get ¶
func (v NullableResizeServerPayload) Get() *ResizeServerPayload
func (NullableResizeServerPayload) IsSet ¶
func (v NullableResizeServerPayload) IsSet() bool
func (NullableResizeServerPayload) MarshalJSON ¶
func (v NullableResizeServerPayload) MarshalJSON() ([]byte, error)
func (*NullableResizeServerPayload) Set ¶
func (v *NullableResizeServerPayload) Set(val *ResizeServerPayload)
func (*NullableResizeServerPayload) UnmarshalJSON ¶
func (v *NullableResizeServerPayload) UnmarshalJSON(src []byte) error
func (*NullableResizeServerPayload) Unset ¶
func (v *NullableResizeServerPayload) Unset()
type NullableResizeVolumePayload ¶
type NullableResizeVolumePayload struct {
// contains filtered or unexported fields
}
func NewNullableResizeVolumePayload ¶
func NewNullableResizeVolumePayload(val *ResizeVolumePayload) *NullableResizeVolumePayload
func (NullableResizeVolumePayload) Get ¶
func (v NullableResizeVolumePayload) Get() *ResizeVolumePayload
func (NullableResizeVolumePayload) IsSet ¶
func (v NullableResizeVolumePayload) IsSet() bool
func (NullableResizeVolumePayload) MarshalJSON ¶
func (v NullableResizeVolumePayload) MarshalJSON() ([]byte, error)
func (*NullableResizeVolumePayload) Set ¶
func (v *NullableResizeVolumePayload) Set(val *ResizeVolumePayload)
func (*NullableResizeVolumePayload) UnmarshalJSON ¶
func (v *NullableResizeVolumePayload) UnmarshalJSON(src []byte) error
func (*NullableResizeVolumePayload) Unset ¶
func (v *NullableResizeVolumePayload) Unset()
type NullableRoute ¶
type NullableRoute struct {
// contains filtered or unexported fields
}
func NewNullableRoute ¶
func NewNullableRoute(val *Route) *NullableRoute
func (NullableRoute) Get ¶
func (v NullableRoute) Get() *Route
func (NullableRoute) IsSet ¶
func (v NullableRoute) IsSet() bool
func (NullableRoute) MarshalJSON ¶
func (v NullableRoute) MarshalJSON() ([]byte, error)
func (*NullableRoute) Set ¶
func (v *NullableRoute) Set(val *Route)
func (*NullableRoute) UnmarshalJSON ¶
func (v *NullableRoute) UnmarshalJSON(src []byte) error
func (*NullableRoute) Unset ¶
func (v *NullableRoute) Unset()
type NullableRouteListResponse ¶
type NullableRouteListResponse struct {
// contains filtered or unexported fields
}
func NewNullableRouteListResponse ¶
func NewNullableRouteListResponse(val *RouteListResponse) *NullableRouteListResponse
func (NullableRouteListResponse) Get ¶
func (v NullableRouteListResponse) Get() *RouteListResponse
func (NullableRouteListResponse) IsSet ¶
func (v NullableRouteListResponse) IsSet() bool
func (NullableRouteListResponse) MarshalJSON ¶
func (v NullableRouteListResponse) MarshalJSON() ([]byte, error)
func (*NullableRouteListResponse) Set ¶
func (v *NullableRouteListResponse) Set(val *RouteListResponse)
func (*NullableRouteListResponse) UnmarshalJSON ¶
func (v *NullableRouteListResponse) UnmarshalJSON(src []byte) error
func (*NullableRouteListResponse) Unset ¶
func (v *NullableRouteListResponse) 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 NullableSecurityGroupListResponse ¶
type NullableSecurityGroupListResponse struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroupListResponse ¶
func NewNullableSecurityGroupListResponse(val *SecurityGroupListResponse) *NullableSecurityGroupListResponse
func (NullableSecurityGroupListResponse) Get ¶
func (v NullableSecurityGroupListResponse) Get() *SecurityGroupListResponse
func (NullableSecurityGroupListResponse) IsSet ¶
func (v NullableSecurityGroupListResponse) IsSet() bool
func (NullableSecurityGroupListResponse) MarshalJSON ¶
func (v NullableSecurityGroupListResponse) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroupListResponse) Set ¶
func (v *NullableSecurityGroupListResponse) Set(val *SecurityGroupListResponse)
func (*NullableSecurityGroupListResponse) UnmarshalJSON ¶
func (v *NullableSecurityGroupListResponse) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroupListResponse) Unset ¶
func (v *NullableSecurityGroupListResponse) 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 NullableSecurityGroupRuleListResponse ¶
type NullableSecurityGroupRuleListResponse struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroupRuleListResponse ¶
func NewNullableSecurityGroupRuleListResponse(val *SecurityGroupRuleListResponse) *NullableSecurityGroupRuleListResponse
func (NullableSecurityGroupRuleListResponse) Get ¶
func (v NullableSecurityGroupRuleListResponse) Get() *SecurityGroupRuleListResponse
func (NullableSecurityGroupRuleListResponse) IsSet ¶
func (v NullableSecurityGroupRuleListResponse) IsSet() bool
func (NullableSecurityGroupRuleListResponse) MarshalJSON ¶
func (v NullableSecurityGroupRuleListResponse) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroupRuleListResponse) Set ¶
func (v *NullableSecurityGroupRuleListResponse) Set(val *SecurityGroupRuleListResponse)
func (*NullableSecurityGroupRuleListResponse) UnmarshalJSON ¶
func (v *NullableSecurityGroupRuleListResponse) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroupRuleListResponse) Unset ¶
func (v *NullableSecurityGroupRuleListResponse) Unset()
type NullableSecurityGroupRuleProtocol ¶
type NullableSecurityGroupRuleProtocol struct {
// contains filtered or unexported fields
}
func NewNullableSecurityGroupRuleProtocol ¶
func NewNullableSecurityGroupRuleProtocol(val *SecurityGroupRuleProtocol) *NullableSecurityGroupRuleProtocol
func (NullableSecurityGroupRuleProtocol) Get ¶
func (v NullableSecurityGroupRuleProtocol) Get() *SecurityGroupRuleProtocol
func (NullableSecurityGroupRuleProtocol) IsSet ¶
func (v NullableSecurityGroupRuleProtocol) IsSet() bool
func (NullableSecurityGroupRuleProtocol) MarshalJSON ¶
func (v NullableSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
func (*NullableSecurityGroupRuleProtocol) Set ¶
func (v *NullableSecurityGroupRuleProtocol) Set(val *SecurityGroupRuleProtocol)
func (*NullableSecurityGroupRuleProtocol) UnmarshalJSON ¶
func (v *NullableSecurityGroupRuleProtocol) UnmarshalJSON(src []byte) error
func (*NullableSecurityGroupRuleProtocol) Unset ¶
func (v *NullableSecurityGroupRuleProtocol) Unset()
type NullableServer ¶
type NullableServer struct {
// contains filtered or unexported fields
}
func NewNullableServer ¶
func NewNullableServer(val *Server) *NullableServer
func (NullableServer) Get ¶
func (v NullableServer) Get() *Server
func (NullableServer) IsSet ¶
func (v NullableServer) IsSet() bool
func (NullableServer) MarshalJSON ¶
func (v NullableServer) MarshalJSON() ([]byte, error)
func (*NullableServer) Set ¶
func (v *NullableServer) Set(val *Server)
func (*NullableServer) UnmarshalJSON ¶
func (v *NullableServer) UnmarshalJSON(src []byte) error
func (*NullableServer) Unset ¶
func (v *NullableServer) Unset()
type NullableServerAgent ¶
type NullableServerAgent struct {
// contains filtered or unexported fields
}
func NewNullableServerAgent ¶
func NewNullableServerAgent(val *ServerAgent) *NullableServerAgent
func (NullableServerAgent) Get ¶
func (v NullableServerAgent) Get() *ServerAgent
func (NullableServerAgent) IsSet ¶
func (v NullableServerAgent) IsSet() bool
func (NullableServerAgent) MarshalJSON ¶
func (v NullableServerAgent) MarshalJSON() ([]byte, error)
func (*NullableServerAgent) Set ¶
func (v *NullableServerAgent) Set(val *ServerAgent)
func (*NullableServerAgent) UnmarshalJSON ¶
func (v *NullableServerAgent) UnmarshalJSON(src []byte) error
func (*NullableServerAgent) Unset ¶
func (v *NullableServerAgent) Unset()
type NullableServerConsoleUrl ¶
type NullableServerConsoleUrl struct {
// contains filtered or unexported fields
}
func NewNullableServerConsoleUrl ¶
func NewNullableServerConsoleUrl(val *ServerConsoleUrl) *NullableServerConsoleUrl
func (NullableServerConsoleUrl) Get ¶
func (v NullableServerConsoleUrl) Get() *ServerConsoleUrl
func (NullableServerConsoleUrl) IsSet ¶
func (v NullableServerConsoleUrl) IsSet() bool
func (NullableServerConsoleUrl) MarshalJSON ¶
func (v NullableServerConsoleUrl) MarshalJSON() ([]byte, error)
func (*NullableServerConsoleUrl) Set ¶
func (v *NullableServerConsoleUrl) Set(val *ServerConsoleUrl)
func (*NullableServerConsoleUrl) UnmarshalJSON ¶
func (v *NullableServerConsoleUrl) UnmarshalJSON(src []byte) error
func (*NullableServerConsoleUrl) Unset ¶
func (v *NullableServerConsoleUrl) Unset()
type NullableServerListResponse ¶
type NullableServerListResponse struct {
// contains filtered or unexported fields
}
func NewNullableServerListResponse ¶
func NewNullableServerListResponse(val *ServerListResponse) *NullableServerListResponse
func (NullableServerListResponse) Get ¶
func (v NullableServerListResponse) Get() *ServerListResponse
func (NullableServerListResponse) IsSet ¶
func (v NullableServerListResponse) IsSet() bool
func (NullableServerListResponse) MarshalJSON ¶
func (v NullableServerListResponse) MarshalJSON() ([]byte, error)
func (*NullableServerListResponse) Set ¶
func (v *NullableServerListResponse) Set(val *ServerListResponse)
func (*NullableServerListResponse) UnmarshalJSON ¶
func (v *NullableServerListResponse) UnmarshalJSON(src []byte) error
func (*NullableServerListResponse) Unset ¶
func (v *NullableServerListResponse) Unset()
type NullableServerMaintenance ¶
type NullableServerMaintenance struct {
// contains filtered or unexported fields
}
func NewNullableServerMaintenance ¶
func NewNullableServerMaintenance(val *ServerMaintenance) *NullableServerMaintenance
func (NullableServerMaintenance) Get ¶
func (v NullableServerMaintenance) Get() *ServerMaintenance
func (NullableServerMaintenance) IsSet ¶
func (v NullableServerMaintenance) IsSet() bool
func (NullableServerMaintenance) MarshalJSON ¶
func (v NullableServerMaintenance) MarshalJSON() ([]byte, error)
func (*NullableServerMaintenance) Set ¶
func (v *NullableServerMaintenance) Set(val *ServerMaintenance)
func (*NullableServerMaintenance) UnmarshalJSON ¶
func (v *NullableServerMaintenance) UnmarshalJSON(src []byte) error
func (*NullableServerMaintenance) Unset ¶
func (v *NullableServerMaintenance) Unset()
type NullableServerNetwork ¶
type NullableServerNetwork struct {
// contains filtered or unexported fields
}
func NewNullableServerNetwork ¶
func NewNullableServerNetwork(val *ServerNetwork) *NullableServerNetwork
func (NullableServerNetwork) Get ¶
func (v NullableServerNetwork) Get() *ServerNetwork
func (NullableServerNetwork) IsSet ¶
func (v NullableServerNetwork) IsSet() bool
func (NullableServerNetwork) MarshalJSON ¶
func (v NullableServerNetwork) MarshalJSON() ([]byte, error)
func (*NullableServerNetwork) Set ¶
func (v *NullableServerNetwork) Set(val *ServerNetwork)
func (*NullableServerNetwork) UnmarshalJSON ¶
func (v *NullableServerNetwork) UnmarshalJSON(src []byte) error
func (*NullableServerNetwork) Unset ¶
func (v *NullableServerNetwork) Unset()
type NullableServerNetworking ¶
type NullableServerNetworking struct {
// contains filtered or unexported fields
}
func NewNullableServerNetworking ¶
func NewNullableServerNetworking(val *ServerNetworking) *NullableServerNetworking
func (NullableServerNetworking) Get ¶
func (v NullableServerNetworking) Get() *ServerNetworking
func (NullableServerNetworking) IsSet ¶
func (v NullableServerNetworking) IsSet() bool
func (NullableServerNetworking) MarshalJSON ¶
func (v NullableServerNetworking) MarshalJSON() ([]byte, error)
func (*NullableServerNetworking) Set ¶
func (v *NullableServerNetworking) Set(val *ServerNetworking)
func (*NullableServerNetworking) UnmarshalJSON ¶
func (v *NullableServerNetworking) UnmarshalJSON(src []byte) error
func (*NullableServerNetworking) Unset ¶
func (v *NullableServerNetworking) Unset()
type NullableServiceAccountMailListResponse ¶
type NullableServiceAccountMailListResponse struct {
// contains filtered or unexported fields
}
func NewNullableServiceAccountMailListResponse ¶
func NewNullableServiceAccountMailListResponse(val *ServiceAccountMailListResponse) *NullableServiceAccountMailListResponse
func (NullableServiceAccountMailListResponse) Get ¶
func (v NullableServiceAccountMailListResponse) Get() *ServiceAccountMailListResponse
func (NullableServiceAccountMailListResponse) IsSet ¶
func (v NullableServiceAccountMailListResponse) IsSet() bool
func (NullableServiceAccountMailListResponse) MarshalJSON ¶
func (v NullableServiceAccountMailListResponse) MarshalJSON() ([]byte, error)
func (*NullableServiceAccountMailListResponse) Set ¶
func (v *NullableServiceAccountMailListResponse) Set(val *ServiceAccountMailListResponse)
func (*NullableServiceAccountMailListResponse) UnmarshalJSON ¶
func (v *NullableServiceAccountMailListResponse) UnmarshalJSON(src []byte) error
func (*NullableServiceAccountMailListResponse) Unset ¶
func (v *NullableServiceAccountMailListResponse) Unset()
type NullableSetImageSharePayload ¶
type NullableSetImageSharePayload struct {
// contains filtered or unexported fields
}
func NewNullableSetImageSharePayload ¶
func NewNullableSetImageSharePayload(val *SetImageSharePayload) *NullableSetImageSharePayload
func (NullableSetImageSharePayload) Get ¶
func (v NullableSetImageSharePayload) Get() *SetImageSharePayload
func (NullableSetImageSharePayload) IsSet ¶
func (v NullableSetImageSharePayload) IsSet() bool
func (NullableSetImageSharePayload) MarshalJSON ¶
func (v NullableSetImageSharePayload) MarshalJSON() ([]byte, error)
func (*NullableSetImageSharePayload) Set ¶
func (v *NullableSetImageSharePayload) Set(val *SetImageSharePayload)
func (*NullableSetImageSharePayload) UnmarshalJSON ¶
func (v *NullableSetImageSharePayload) UnmarshalJSON(src []byte) error
func (*NullableSetImageSharePayload) Unset ¶
func (v *NullableSetImageSharePayload) Unset()
type NullableSnapshot ¶
type NullableSnapshot struct {
// contains filtered or unexported fields
}
func NewNullableSnapshot ¶
func NewNullableSnapshot(val *Snapshot) *NullableSnapshot
func (NullableSnapshot) Get ¶
func (v NullableSnapshot) Get() *Snapshot
func (NullableSnapshot) IsSet ¶
func (v NullableSnapshot) IsSet() bool
func (NullableSnapshot) MarshalJSON ¶
func (v NullableSnapshot) MarshalJSON() ([]byte, error)
func (*NullableSnapshot) Set ¶
func (v *NullableSnapshot) Set(val *Snapshot)
func (*NullableSnapshot) UnmarshalJSON ¶
func (v *NullableSnapshot) UnmarshalJSON(src []byte) error
func (*NullableSnapshot) Unset ¶
func (v *NullableSnapshot) Unset()
type NullableSnapshotListResponse ¶
type NullableSnapshotListResponse struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotListResponse ¶
func NewNullableSnapshotListResponse(val *SnapshotListResponse) *NullableSnapshotListResponse
func (NullableSnapshotListResponse) Get ¶
func (v NullableSnapshotListResponse) Get() *SnapshotListResponse
func (NullableSnapshotListResponse) IsSet ¶
func (v NullableSnapshotListResponse) IsSet() bool
func (NullableSnapshotListResponse) MarshalJSON ¶
func (v NullableSnapshotListResponse) MarshalJSON() ([]byte, error)
func (*NullableSnapshotListResponse) Set ¶
func (v *NullableSnapshotListResponse) Set(val *SnapshotListResponse)
func (*NullableSnapshotListResponse) UnmarshalJSON ¶
func (v *NullableSnapshotListResponse) UnmarshalJSON(src []byte) error
func (*NullableSnapshotListResponse) Unset ¶
func (v *NullableSnapshotListResponse) Unset()
type NullableStaticAreaID ¶
type NullableStaticAreaID struct {
// contains filtered or unexported fields
}
func NewNullableStaticAreaID ¶
func NewNullableStaticAreaID(val *StaticAreaID) *NullableStaticAreaID
func (NullableStaticAreaID) Get ¶
func (v NullableStaticAreaID) Get() *StaticAreaID
func (NullableStaticAreaID) IsSet ¶
func (v NullableStaticAreaID) IsSet() bool
func (NullableStaticAreaID) MarshalJSON ¶
func (v NullableStaticAreaID) MarshalJSON() ([]byte, error)
func (*NullableStaticAreaID) Set ¶
func (v *NullableStaticAreaID) Set(val *StaticAreaID)
func (*NullableStaticAreaID) UnmarshalJSON ¶
func (v *NullableStaticAreaID) UnmarshalJSON(src []byte) error
func (*NullableStaticAreaID) Unset ¶
func (v *NullableStaticAreaID) 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 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 NullableUpdateAreaAddressFamily ¶
type NullableUpdateAreaAddressFamily struct {
// contains filtered or unexported fields
}
func NewNullableUpdateAreaAddressFamily ¶
func NewNullableUpdateAreaAddressFamily(val *UpdateAreaAddressFamily) *NullableUpdateAreaAddressFamily
func (NullableUpdateAreaAddressFamily) Get ¶
func (v NullableUpdateAreaAddressFamily) Get() *UpdateAreaAddressFamily
func (NullableUpdateAreaAddressFamily) IsSet ¶
func (v NullableUpdateAreaAddressFamily) IsSet() bool
func (NullableUpdateAreaAddressFamily) MarshalJSON ¶
func (v NullableUpdateAreaAddressFamily) MarshalJSON() ([]byte, error)
func (*NullableUpdateAreaAddressFamily) Set ¶
func (v *NullableUpdateAreaAddressFamily) Set(val *UpdateAreaAddressFamily)
func (*NullableUpdateAreaAddressFamily) UnmarshalJSON ¶
func (v *NullableUpdateAreaAddressFamily) UnmarshalJSON(src []byte) error
func (*NullableUpdateAreaAddressFamily) Unset ¶
func (v *NullableUpdateAreaAddressFamily) Unset()
type NullableUpdateAreaIPv4 ¶
type NullableUpdateAreaIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableUpdateAreaIPv4 ¶
func NewNullableUpdateAreaIPv4(val *UpdateAreaIPv4) *NullableUpdateAreaIPv4
func (NullableUpdateAreaIPv4) Get ¶
func (v NullableUpdateAreaIPv4) Get() *UpdateAreaIPv4
func (NullableUpdateAreaIPv4) IsSet ¶
func (v NullableUpdateAreaIPv4) IsSet() bool
func (NullableUpdateAreaIPv4) MarshalJSON ¶
func (v NullableUpdateAreaIPv4) MarshalJSON() ([]byte, error)
func (*NullableUpdateAreaIPv4) Set ¶
func (v *NullableUpdateAreaIPv4) Set(val *UpdateAreaIPv4)
func (*NullableUpdateAreaIPv4) UnmarshalJSON ¶
func (v *NullableUpdateAreaIPv4) UnmarshalJSON(src []byte) error
func (*NullableUpdateAreaIPv4) Unset ¶
func (v *NullableUpdateAreaIPv4) Unset()
type NullableUpdateAttachedVolumePayload ¶
type NullableUpdateAttachedVolumePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateAttachedVolumePayload ¶
func NewNullableUpdateAttachedVolumePayload(val *UpdateAttachedVolumePayload) *NullableUpdateAttachedVolumePayload
func (NullableUpdateAttachedVolumePayload) Get ¶
func (v NullableUpdateAttachedVolumePayload) Get() *UpdateAttachedVolumePayload
func (NullableUpdateAttachedVolumePayload) IsSet ¶
func (v NullableUpdateAttachedVolumePayload) IsSet() bool
func (NullableUpdateAttachedVolumePayload) MarshalJSON ¶
func (v NullableUpdateAttachedVolumePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateAttachedVolumePayload) Set ¶
func (v *NullableUpdateAttachedVolumePayload) Set(val *UpdateAttachedVolumePayload)
func (*NullableUpdateAttachedVolumePayload) UnmarshalJSON ¶
func (v *NullableUpdateAttachedVolumePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateAttachedVolumePayload) Unset ¶
func (v *NullableUpdateAttachedVolumePayload) Unset()
type NullableUpdateBackupPayload ¶
type NullableUpdateBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateBackupPayload ¶
func NewNullableUpdateBackupPayload(val *UpdateBackupPayload) *NullableUpdateBackupPayload
func (NullableUpdateBackupPayload) Get ¶
func (v NullableUpdateBackupPayload) Get() *UpdateBackupPayload
func (NullableUpdateBackupPayload) IsSet ¶
func (v NullableUpdateBackupPayload) IsSet() bool
func (NullableUpdateBackupPayload) MarshalJSON ¶
func (v NullableUpdateBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateBackupPayload) Set ¶
func (v *NullableUpdateBackupPayload) Set(val *UpdateBackupPayload)
func (*NullableUpdateBackupPayload) UnmarshalJSON ¶
func (v *NullableUpdateBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateBackupPayload) Unset ¶
func (v *NullableUpdateBackupPayload) Unset()
type NullableUpdateImagePayload ¶
type NullableUpdateImagePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateImagePayload ¶
func NewNullableUpdateImagePayload(val *UpdateImagePayload) *NullableUpdateImagePayload
func (NullableUpdateImagePayload) Get ¶
func (v NullableUpdateImagePayload) Get() *UpdateImagePayload
func (NullableUpdateImagePayload) IsSet ¶
func (v NullableUpdateImagePayload) IsSet() bool
func (NullableUpdateImagePayload) MarshalJSON ¶
func (v NullableUpdateImagePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateImagePayload) Set ¶
func (v *NullableUpdateImagePayload) Set(val *UpdateImagePayload)
func (*NullableUpdateImagePayload) UnmarshalJSON ¶
func (v *NullableUpdateImagePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateImagePayload) Unset ¶
func (v *NullableUpdateImagePayload) Unset()
type NullableUpdateImageSharePayload ¶
type NullableUpdateImageSharePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateImageSharePayload ¶
func NewNullableUpdateImageSharePayload(val *UpdateImageSharePayload) *NullableUpdateImageSharePayload
func (NullableUpdateImageSharePayload) Get ¶
func (v NullableUpdateImageSharePayload) Get() *UpdateImageSharePayload
func (NullableUpdateImageSharePayload) IsSet ¶
func (v NullableUpdateImageSharePayload) IsSet() bool
func (NullableUpdateImageSharePayload) MarshalJSON ¶
func (v NullableUpdateImageSharePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateImageSharePayload) Set ¶
func (v *NullableUpdateImageSharePayload) Set(val *UpdateImageSharePayload)
func (*NullableUpdateImageSharePayload) UnmarshalJSON ¶
func (v *NullableUpdateImageSharePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateImageSharePayload) Unset ¶
func (v *NullableUpdateImageSharePayload) Unset()
type NullableUpdateKeyPairPayload ¶
type NullableUpdateKeyPairPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateKeyPairPayload ¶
func NewNullableUpdateKeyPairPayload(val *UpdateKeyPairPayload) *NullableUpdateKeyPairPayload
func (NullableUpdateKeyPairPayload) Get ¶
func (v NullableUpdateKeyPairPayload) Get() *UpdateKeyPairPayload
func (NullableUpdateKeyPairPayload) IsSet ¶
func (v NullableUpdateKeyPairPayload) IsSet() bool
func (NullableUpdateKeyPairPayload) MarshalJSON ¶
func (v NullableUpdateKeyPairPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateKeyPairPayload) Set ¶
func (v *NullableUpdateKeyPairPayload) Set(val *UpdateKeyPairPayload)
func (*NullableUpdateKeyPairPayload) UnmarshalJSON ¶
func (v *NullableUpdateKeyPairPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateKeyPairPayload) Unset ¶
func (v *NullableUpdateKeyPairPayload) Unset()
type NullableUpdateNetworkAddressFamily ¶
type NullableUpdateNetworkAddressFamily struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNetworkAddressFamily ¶
func NewNullableUpdateNetworkAddressFamily(val *UpdateNetworkAddressFamily) *NullableUpdateNetworkAddressFamily
func (NullableUpdateNetworkAddressFamily) Get ¶
func (v NullableUpdateNetworkAddressFamily) Get() *UpdateNetworkAddressFamily
func (NullableUpdateNetworkAddressFamily) IsSet ¶
func (v NullableUpdateNetworkAddressFamily) IsSet() bool
func (NullableUpdateNetworkAddressFamily) MarshalJSON ¶
func (v NullableUpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)
func (*NullableUpdateNetworkAddressFamily) Set ¶
func (v *NullableUpdateNetworkAddressFamily) Set(val *UpdateNetworkAddressFamily)
func (*NullableUpdateNetworkAddressFamily) UnmarshalJSON ¶
func (v *NullableUpdateNetworkAddressFamily) UnmarshalJSON(src []byte) error
func (*NullableUpdateNetworkAddressFamily) Unset ¶
func (v *NullableUpdateNetworkAddressFamily) Unset()
type NullableUpdateNetworkAreaRoutePayload ¶
type NullableUpdateNetworkAreaRoutePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNetworkAreaRoutePayload ¶
func NewNullableUpdateNetworkAreaRoutePayload(val *UpdateNetworkAreaRoutePayload) *NullableUpdateNetworkAreaRoutePayload
func (NullableUpdateNetworkAreaRoutePayload) Get ¶
func (v NullableUpdateNetworkAreaRoutePayload) Get() *UpdateNetworkAreaRoutePayload
func (NullableUpdateNetworkAreaRoutePayload) IsSet ¶
func (v NullableUpdateNetworkAreaRoutePayload) IsSet() bool
func (NullableUpdateNetworkAreaRoutePayload) MarshalJSON ¶
func (v NullableUpdateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateNetworkAreaRoutePayload) Set ¶
func (v *NullableUpdateNetworkAreaRoutePayload) Set(val *UpdateNetworkAreaRoutePayload)
func (*NullableUpdateNetworkAreaRoutePayload) UnmarshalJSON ¶
func (v *NullableUpdateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateNetworkAreaRoutePayload) Unset ¶
func (v *NullableUpdateNetworkAreaRoutePayload) Unset()
type NullableUpdateNetworkIPv4Body ¶
type NullableUpdateNetworkIPv4Body struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNetworkIPv4Body ¶
func NewNullableUpdateNetworkIPv4Body(val *UpdateNetworkIPv4Body) *NullableUpdateNetworkIPv4Body
func (NullableUpdateNetworkIPv4Body) Get ¶
func (v NullableUpdateNetworkIPv4Body) Get() *UpdateNetworkIPv4Body
func (NullableUpdateNetworkIPv4Body) IsSet ¶
func (v NullableUpdateNetworkIPv4Body) IsSet() bool
func (NullableUpdateNetworkIPv4Body) MarshalJSON ¶
func (v NullableUpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)
func (*NullableUpdateNetworkIPv4Body) Set ¶
func (v *NullableUpdateNetworkIPv4Body) Set(val *UpdateNetworkIPv4Body)
func (*NullableUpdateNetworkIPv4Body) UnmarshalJSON ¶
func (v *NullableUpdateNetworkIPv4Body) UnmarshalJSON(src []byte) error
func (*NullableUpdateNetworkIPv4Body) Unset ¶
func (v *NullableUpdateNetworkIPv4Body) Unset()
type NullableUpdateNetworkIPv6Body ¶
type NullableUpdateNetworkIPv6Body struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNetworkIPv6Body ¶
func NewNullableUpdateNetworkIPv6Body(val *UpdateNetworkIPv6Body) *NullableUpdateNetworkIPv6Body
func (NullableUpdateNetworkIPv6Body) Get ¶
func (v NullableUpdateNetworkIPv6Body) Get() *UpdateNetworkIPv6Body
func (NullableUpdateNetworkIPv6Body) IsSet ¶
func (v NullableUpdateNetworkIPv6Body) IsSet() bool
func (NullableUpdateNetworkIPv6Body) MarshalJSON ¶
func (v NullableUpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)
func (*NullableUpdateNetworkIPv6Body) Set ¶
func (v *NullableUpdateNetworkIPv6Body) Set(val *UpdateNetworkIPv6Body)
func (*NullableUpdateNetworkIPv6Body) UnmarshalJSON ¶
func (v *NullableUpdateNetworkIPv6Body) UnmarshalJSON(src []byte) error
func (*NullableUpdateNetworkIPv6Body) Unset ¶
func (v *NullableUpdateNetworkIPv6Body) Unset()
type NullableUpdateNicPayload ¶
type NullableUpdateNicPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNicPayload ¶
func NewNullableUpdateNicPayload(val *UpdateNicPayload) *NullableUpdateNicPayload
func (NullableUpdateNicPayload) Get ¶
func (v NullableUpdateNicPayload) Get() *UpdateNicPayload
func (NullableUpdateNicPayload) IsSet ¶
func (v NullableUpdateNicPayload) IsSet() bool
func (NullableUpdateNicPayload) MarshalJSON ¶
func (v NullableUpdateNicPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateNicPayload) Set ¶
func (v *NullableUpdateNicPayload) Set(val *UpdateNicPayload)
func (*NullableUpdateNicPayload) UnmarshalJSON ¶
func (v *NullableUpdateNicPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateNicPayload) Unset ¶
func (v *NullableUpdateNicPayload) Unset()
type NullableUpdatePublicIPPayload ¶
type NullableUpdatePublicIPPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdatePublicIPPayload ¶
func NewNullableUpdatePublicIPPayload(val *UpdatePublicIPPayload) *NullableUpdatePublicIPPayload
func (NullableUpdatePublicIPPayload) Get ¶
func (v NullableUpdatePublicIPPayload) Get() *UpdatePublicIPPayload
func (NullableUpdatePublicIPPayload) IsSet ¶
func (v NullableUpdatePublicIPPayload) IsSet() bool
func (NullableUpdatePublicIPPayload) MarshalJSON ¶
func (v NullableUpdatePublicIPPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdatePublicIPPayload) Set ¶
func (v *NullableUpdatePublicIPPayload) Set(val *UpdatePublicIPPayload)
func (*NullableUpdatePublicIPPayload) UnmarshalJSON ¶
func (v *NullableUpdatePublicIPPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdatePublicIPPayload) Unset ¶
func (v *NullableUpdatePublicIPPayload) Unset()
type NullableUpdateSecurityGroupPayload ¶
type NullableUpdateSecurityGroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSecurityGroupPayload ¶
func NewNullableUpdateSecurityGroupPayload(val *UpdateSecurityGroupPayload) *NullableUpdateSecurityGroupPayload
func (NullableUpdateSecurityGroupPayload) Get ¶
func (v NullableUpdateSecurityGroupPayload) Get() *UpdateSecurityGroupPayload
func (NullableUpdateSecurityGroupPayload) IsSet ¶
func (v NullableUpdateSecurityGroupPayload) IsSet() bool
func (NullableUpdateSecurityGroupPayload) MarshalJSON ¶
func (v NullableUpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateSecurityGroupPayload) Set ¶
func (v *NullableUpdateSecurityGroupPayload) Set(val *UpdateSecurityGroupPayload)
func (*NullableUpdateSecurityGroupPayload) UnmarshalJSON ¶
func (v *NullableUpdateSecurityGroupPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateSecurityGroupPayload) Unset ¶
func (v *NullableUpdateSecurityGroupPayload) Unset()
type NullableUpdateServerPayload ¶
type NullableUpdateServerPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateServerPayload ¶
func NewNullableUpdateServerPayload(val *UpdateServerPayload) *NullableUpdateServerPayload
func (NullableUpdateServerPayload) Get ¶
func (v NullableUpdateServerPayload) Get() *UpdateServerPayload
func (NullableUpdateServerPayload) IsSet ¶
func (v NullableUpdateServerPayload) IsSet() bool
func (NullableUpdateServerPayload) MarshalJSON ¶
func (v NullableUpdateServerPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateServerPayload) Set ¶
func (v *NullableUpdateServerPayload) Set(val *UpdateServerPayload)
func (*NullableUpdateServerPayload) UnmarshalJSON ¶
func (v *NullableUpdateServerPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateServerPayload) Unset ¶
func (v *NullableUpdateServerPayload) Unset()
type NullableUpdateSnapshotPayload ¶
type NullableUpdateSnapshotPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSnapshotPayload ¶
func NewNullableUpdateSnapshotPayload(val *UpdateSnapshotPayload) *NullableUpdateSnapshotPayload
func (NullableUpdateSnapshotPayload) Get ¶
func (v NullableUpdateSnapshotPayload) Get() *UpdateSnapshotPayload
func (NullableUpdateSnapshotPayload) IsSet ¶
func (v NullableUpdateSnapshotPayload) IsSet() bool
func (NullableUpdateSnapshotPayload) MarshalJSON ¶
func (v NullableUpdateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateSnapshotPayload) Set ¶
func (v *NullableUpdateSnapshotPayload) Set(val *UpdateSnapshotPayload)
func (*NullableUpdateSnapshotPayload) UnmarshalJSON ¶
func (v *NullableUpdateSnapshotPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateSnapshotPayload) Unset ¶
func (v *NullableUpdateSnapshotPayload) Unset()
type NullableUpdateVolumePayload ¶
type NullableUpdateVolumePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVolumePayload ¶
func NewNullableUpdateVolumePayload(val *UpdateVolumePayload) *NullableUpdateVolumePayload
func (NullableUpdateVolumePayload) Get ¶
func (v NullableUpdateVolumePayload) Get() *UpdateVolumePayload
func (NullableUpdateVolumePayload) IsSet ¶
func (v NullableUpdateVolumePayload) IsSet() bool
func (NullableUpdateVolumePayload) MarshalJSON ¶
func (v NullableUpdateVolumePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateVolumePayload) Set ¶
func (v *NullableUpdateVolumePayload) Set(val *UpdateVolumePayload)
func (*NullableUpdateVolumePayload) UnmarshalJSON ¶
func (v *NullableUpdateVolumePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateVolumePayload) Unset ¶
func (v *NullableUpdateVolumePayload) 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 NullableVolumeAttachment ¶
type NullableVolumeAttachment struct {
// contains filtered or unexported fields
}
func NewNullableVolumeAttachment ¶
func NewNullableVolumeAttachment(val *VolumeAttachment) *NullableVolumeAttachment
func (NullableVolumeAttachment) Get ¶
func (v NullableVolumeAttachment) Get() *VolumeAttachment
func (NullableVolumeAttachment) IsSet ¶
func (v NullableVolumeAttachment) IsSet() bool
func (NullableVolumeAttachment) MarshalJSON ¶
func (v NullableVolumeAttachment) MarshalJSON() ([]byte, error)
func (*NullableVolumeAttachment) Set ¶
func (v *NullableVolumeAttachment) Set(val *VolumeAttachment)
func (*NullableVolumeAttachment) UnmarshalJSON ¶
func (v *NullableVolumeAttachment) UnmarshalJSON(src []byte) error
func (*NullableVolumeAttachment) Unset ¶
func (v *NullableVolumeAttachment) Unset()
type NullableVolumeAttachmentListResponse ¶
type NullableVolumeAttachmentListResponse struct {
// contains filtered or unexported fields
}
func NewNullableVolumeAttachmentListResponse ¶
func NewNullableVolumeAttachmentListResponse(val *VolumeAttachmentListResponse) *NullableVolumeAttachmentListResponse
func (NullableVolumeAttachmentListResponse) Get ¶
func (v NullableVolumeAttachmentListResponse) Get() *VolumeAttachmentListResponse
func (NullableVolumeAttachmentListResponse) IsSet ¶
func (v NullableVolumeAttachmentListResponse) IsSet() bool
func (NullableVolumeAttachmentListResponse) MarshalJSON ¶
func (v NullableVolumeAttachmentListResponse) MarshalJSON() ([]byte, error)
func (*NullableVolumeAttachmentListResponse) Set ¶
func (v *NullableVolumeAttachmentListResponse) Set(val *VolumeAttachmentListResponse)
func (*NullableVolumeAttachmentListResponse) UnmarshalJSON ¶
func (v *NullableVolumeAttachmentListResponse) UnmarshalJSON(src []byte) error
func (*NullableVolumeAttachmentListResponse) Unset ¶
func (v *NullableVolumeAttachmentListResponse) Unset()
type NullableVolumeEncryptionParameter ¶
type NullableVolumeEncryptionParameter struct {
// contains filtered or unexported fields
}
func NewNullableVolumeEncryptionParameter ¶
func NewNullableVolumeEncryptionParameter(val *VolumeEncryptionParameter) *NullableVolumeEncryptionParameter
func (NullableVolumeEncryptionParameter) Get ¶
func (v NullableVolumeEncryptionParameter) Get() *VolumeEncryptionParameter
func (NullableVolumeEncryptionParameter) IsSet ¶
func (v NullableVolumeEncryptionParameter) IsSet() bool
func (NullableVolumeEncryptionParameter) MarshalJSON ¶
func (v NullableVolumeEncryptionParameter) MarshalJSON() ([]byte, error)
func (*NullableVolumeEncryptionParameter) Set ¶
func (v *NullableVolumeEncryptionParameter) Set(val *VolumeEncryptionParameter)
func (*NullableVolumeEncryptionParameter) UnmarshalJSON ¶
func (v *NullableVolumeEncryptionParameter) UnmarshalJSON(src []byte) error
func (*NullableVolumeEncryptionParameter) Unset ¶
func (v *NullableVolumeEncryptionParameter) Unset()
type NullableVolumeListResponse ¶
type NullableVolumeListResponse struct {
// contains filtered or unexported fields
}
func NewNullableVolumeListResponse ¶
func NewNullableVolumeListResponse(val *VolumeListResponse) *NullableVolumeListResponse
func (NullableVolumeListResponse) Get ¶
func (v NullableVolumeListResponse) Get() *VolumeListResponse
func (NullableVolumeListResponse) IsSet ¶
func (v NullableVolumeListResponse) IsSet() bool
func (NullableVolumeListResponse) MarshalJSON ¶
func (v NullableVolumeListResponse) MarshalJSON() ([]byte, error)
func (*NullableVolumeListResponse) Set ¶
func (v *NullableVolumeListResponse) Set(val *VolumeListResponse)
func (*NullableVolumeListResponse) UnmarshalJSON ¶
func (v *NullableVolumeListResponse) UnmarshalJSON(src []byte) error
func (*NullableVolumeListResponse) Unset ¶
func (v *NullableVolumeListResponse) Unset()
type NullableVolumePerformanceClass ¶
type NullableVolumePerformanceClass struct {
// contains filtered or unexported fields
}
func NewNullableVolumePerformanceClass ¶
func NewNullableVolumePerformanceClass(val *VolumePerformanceClass) *NullableVolumePerformanceClass
func (NullableVolumePerformanceClass) Get ¶
func (v NullableVolumePerformanceClass) Get() *VolumePerformanceClass
func (NullableVolumePerformanceClass) IsSet ¶
func (v NullableVolumePerformanceClass) IsSet() bool
func (NullableVolumePerformanceClass) MarshalJSON ¶
func (v NullableVolumePerformanceClass) MarshalJSON() ([]byte, error)
func (*NullableVolumePerformanceClass) Set ¶
func (v *NullableVolumePerformanceClass) Set(val *VolumePerformanceClass)
func (*NullableVolumePerformanceClass) UnmarshalJSON ¶
func (v *NullableVolumePerformanceClass) UnmarshalJSON(src []byte) error
func (*NullableVolumePerformanceClass) Unset ¶
func (v *NullableVolumePerformanceClass) Unset()
type NullableVolumePerformanceClassListResponse ¶
type NullableVolumePerformanceClassListResponse struct {
// contains filtered or unexported fields
}
func NewNullableVolumePerformanceClassListResponse ¶
func NewNullableVolumePerformanceClassListResponse(val *VolumePerformanceClassListResponse) *NullableVolumePerformanceClassListResponse
func (NullableVolumePerformanceClassListResponse) IsSet ¶
func (v NullableVolumePerformanceClassListResponse) IsSet() bool
func (NullableVolumePerformanceClassListResponse) MarshalJSON ¶
func (v NullableVolumePerformanceClassListResponse) MarshalJSON() ([]byte, error)
func (*NullableVolumePerformanceClassListResponse) Set ¶
func (v *NullableVolumePerformanceClassListResponse) Set(val *VolumePerformanceClassListResponse)
func (*NullableVolumePerformanceClassListResponse) UnmarshalJSON ¶
func (v *NullableVolumePerformanceClassListResponse) UnmarshalJSON(src []byte) error
func (*NullableVolumePerformanceClassListResponse) Unset ¶
func (v *NullableVolumePerformanceClassListResponse) Unset()
type NullableVolumeSource ¶
type NullableVolumeSource struct {
// contains filtered or unexported fields
}
func NewNullableVolumeSource ¶
func NewNullableVolumeSource(val *VolumeSource) *NullableVolumeSource
func (NullableVolumeSource) Get ¶
func (v NullableVolumeSource) Get() *VolumeSource
func (NullableVolumeSource) IsSet ¶
func (v NullableVolumeSource) IsSet() bool
func (NullableVolumeSource) MarshalJSON ¶
func (v NullableVolumeSource) MarshalJSON() ([]byte, error)
func (*NullableVolumeSource) Set ¶
func (v *NullableVolumeSource) Set(val *VolumeSource)
func (*NullableVolumeSource) UnmarshalJSON ¶
func (v *NullableVolumeSource) UnmarshalJSON(src []byte) error
func (*NullableVolumeSource) Unset ¶
func (v *NullableVolumeSource) Unset()
type PartialUpdateNetworkAreaPayload ¶
type PartialUpdateNetworkAreaPayload struct {
AddressFamily *UpdateAreaAddressFamily `json:"addressFamily,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}
PartialUpdateNetworkAreaPayload struct for PartialUpdateNetworkAreaPayload
func NewPartialUpdateNetworkAreaPayload ¶
func NewPartialUpdateNetworkAreaPayload() *PartialUpdateNetworkAreaPayload
NewPartialUpdateNetworkAreaPayload instantiates a new PartialUpdateNetworkAreaPayload 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 NewPartialUpdateNetworkAreaPayloadWithDefaults ¶
func NewPartialUpdateNetworkAreaPayloadWithDefaults() *PartialUpdateNetworkAreaPayload
NewPartialUpdateNetworkAreaPayloadWithDefaults instantiates a new PartialUpdateNetworkAreaPayload 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 (*PartialUpdateNetworkAreaPayload) GetAddressFamily ¶
func (o *PartialUpdateNetworkAreaPayload) GetAddressFamily() UpdateAreaAddressFamily
GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.
func (*PartialUpdateNetworkAreaPayload) GetAddressFamilyOk ¶
func (o *PartialUpdateNetworkAreaPayload) GetAddressFamilyOk() (*UpdateAreaAddressFamily, bool)
GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateNetworkAreaPayload) GetLabels ¶
func (o *PartialUpdateNetworkAreaPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateNetworkAreaPayload) GetLabelsOk ¶
func (o *PartialUpdateNetworkAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateNetworkAreaPayload) GetName ¶
func (o *PartialUpdateNetworkAreaPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateNetworkAreaPayload) GetNameOk ¶
func (o *PartialUpdateNetworkAreaPayload) 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 (*PartialUpdateNetworkAreaPayload) HasAddressFamily ¶
func (o *PartialUpdateNetworkAreaPayload) HasAddressFamily() bool
HasAddressFamily returns a boolean if a field has been set.
func (*PartialUpdateNetworkAreaPayload) HasLabels ¶
func (o *PartialUpdateNetworkAreaPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateNetworkAreaPayload) HasName ¶
func (o *PartialUpdateNetworkAreaPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialUpdateNetworkAreaPayload) MarshalJSON ¶
func (o PartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateNetworkAreaPayload) SetAddressFamily ¶
func (o *PartialUpdateNetworkAreaPayload) SetAddressFamily(v UpdateAreaAddressFamily)
SetAddressFamily gets a reference to the given UpdateAreaAddressFamily and assigns it to the AddressFamily field.
func (*PartialUpdateNetworkAreaPayload) SetLabels ¶
func (o *PartialUpdateNetworkAreaPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*PartialUpdateNetworkAreaPayload) SetName ¶
func (o *PartialUpdateNetworkAreaPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateNetworkAreaPayload) ToMap ¶
func (o PartialUpdateNetworkAreaPayload) ToMap() (map[string]interface{}, error)
type PartialUpdateNetworkPayload ¶
type PartialUpdateNetworkPayload struct {
AddressFamily *UpdateNetworkAddressFamily `json:"addressFamily,omitempty"`
// Enable or disable DHCP for a network.
Dhcp *bool `json:"dhcp,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Shows if the network is routed and therefore accessible from other networks.
Routed *bool `json:"routed,omitempty"`
}
PartialUpdateNetworkPayload Object that represents the request body for a network update.
func NewPartialUpdateNetworkPayload ¶
func NewPartialUpdateNetworkPayload() *PartialUpdateNetworkPayload
NewPartialUpdateNetworkPayload instantiates a new PartialUpdateNetworkPayload 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 NewPartialUpdateNetworkPayloadWithDefaults ¶
func NewPartialUpdateNetworkPayloadWithDefaults() *PartialUpdateNetworkPayload
NewPartialUpdateNetworkPayloadWithDefaults instantiates a new PartialUpdateNetworkPayload 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 (*PartialUpdateNetworkPayload) GetAddressFamily ¶
func (o *PartialUpdateNetworkPayload) GetAddressFamily() UpdateNetworkAddressFamily
GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetAddressFamilyOk ¶
func (o *PartialUpdateNetworkPayload) GetAddressFamilyOk() (*UpdateNetworkAddressFamily, bool)
GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateNetworkPayload) GetDhcp ¶
func (o *PartialUpdateNetworkPayload) GetDhcp() bool
GetDhcp returns the Dhcp field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetDhcpOk ¶
func (o *PartialUpdateNetworkPayload) GetDhcpOk() (*bool, 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 (*PartialUpdateNetworkPayload) GetLabels ¶
func (o *PartialUpdateNetworkPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetLabelsOk ¶
func (o *PartialUpdateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateNetworkPayload) GetName ¶
func (o *PartialUpdateNetworkPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetNameOk ¶
func (o *PartialUpdateNetworkPayload) 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 (*PartialUpdateNetworkPayload) GetRouted ¶
func (o *PartialUpdateNetworkPayload) GetRouted() bool
GetRouted returns the Routed field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetRoutedOk ¶
func (o *PartialUpdateNetworkPayload) GetRoutedOk() (*bool, bool)
GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateNetworkPayload) HasAddressFamily ¶
func (o *PartialUpdateNetworkPayload) HasAddressFamily() bool
HasAddressFamily returns a boolean if a field has been set.
func (*PartialUpdateNetworkPayload) HasDhcp ¶
func (o *PartialUpdateNetworkPayload) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*PartialUpdateNetworkPayload) HasLabels ¶
func (o *PartialUpdateNetworkPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateNetworkPayload) HasName ¶
func (o *PartialUpdateNetworkPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialUpdateNetworkPayload) HasRouted ¶
func (o *PartialUpdateNetworkPayload) HasRouted() bool
HasRouted returns a boolean if a field has been set.
func (PartialUpdateNetworkPayload) MarshalJSON ¶
func (o PartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateNetworkPayload) SetAddressFamily ¶
func (o *PartialUpdateNetworkPayload) SetAddressFamily(v UpdateNetworkAddressFamily)
SetAddressFamily gets a reference to the given UpdateNetworkAddressFamily and assigns it to the AddressFamily field.
func (*PartialUpdateNetworkPayload) SetDhcp ¶
func (o *PartialUpdateNetworkPayload) SetDhcp(v bool)
SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.
func (*PartialUpdateNetworkPayload) SetLabels ¶
func (o *PartialUpdateNetworkPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*PartialUpdateNetworkPayload) SetName ¶
func (o *PartialUpdateNetworkPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialUpdateNetworkPayload) SetRouted ¶
func (o *PartialUpdateNetworkPayload) SetRouted(v bool)
SetRouted gets a reference to the given bool and assigns it to the Routed field.
func (PartialUpdateNetworkPayload) ToMap ¶
func (o PartialUpdateNetworkPayload) ToMap() (map[string]interface{}, error)
type PortRange ¶
type PortRange struct {
// The maximum port number. Should be greater or equal to the minimum.
Max int64 `json:"max"`
// The minimum port number. Should be less or equal to the maximum.
Min int64 `json:"min"`
}
PortRange Object that represents a range of ports.
func NewPortRange ¶
NewPortRange instantiates a new PortRange 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 NewPortRangeWithDefaults ¶
func NewPortRangeWithDefaults() *PortRange
NewPortRangeWithDefaults instantiates a new PortRange 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 (*PortRange) GetMaxOk ¶
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*PortRange) GetMinOk ¶
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (PortRange) MarshalJSON ¶
func (*PortRange) UnmarshalJSON ¶
type Project ¶
type Project struct {
AreaId AreaId `json:"areaId"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
InternetAccess *bool `json:"internetAccess,omitempty"`
// The identifier (ID) of the OpenStack project in the main region eu01.
OpenstackProjectId *string `json:"openstackProjectId,omitempty" validate:"regexp=^[0-9a-f]{32}$"`
// Universally Unique Identifier (UUID).
ProjectId string `json:"projectId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
State string `json:"state"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Project Object that represents a STACKIT project.
func NewProject ¶
NewProject instantiates a new Project 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 NewProjectWithDefaults ¶
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project 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 (*Project) GetAreaIdOk ¶
GetAreaIdOk returns a tuple with the AreaId field value and a boolean to check if the value has been set.
func (*Project) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Project) 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 (*Project) GetInternetAccess ¶
GetInternetAccess returns the InternetAccess field value if set, zero value otherwise.
func (*Project) GetInternetAccessOk ¶
GetInternetAccessOk returns a tuple with the InternetAccess field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetOpenstackProjectId ¶
GetOpenstackProjectId returns the OpenstackProjectId field value if set, zero value otherwise.
func (*Project) GetOpenstackProjectIdOk ¶
GetOpenstackProjectIdOk returns a tuple with the OpenstackProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetProjectId ¶
GetProjectId returns the ProjectId field value
func (*Project) GetProjectIdOk ¶
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*Project) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Project) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Project) 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 (*Project) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Project) HasInternetAccess ¶
HasInternetAccess returns a boolean if a field has been set.
func (*Project) HasOpenstackProjectId ¶
HasOpenstackProjectId returns a boolean if a field has been set.
func (*Project) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Project) MarshalJSON ¶
func (*Project) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Project) SetInternetAccess ¶
SetInternetAccess gets a reference to the given bool and assigns it to the InternetAccess field.
func (*Project) SetOpenstackProjectId ¶
SetOpenstackProjectId gets a reference to the given string and assigns it to the OpenstackProjectId field.
func (*Project) SetProjectId ¶
SetProjectId sets field value
func (*Project) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Project) UnmarshalJSON ¶
type ProjectListResponse ¶
type ProjectListResponse struct {
// A list of STACKIT projects.
Items []string `json:"items"`
}
ProjectListResponse Project list response.
func NewProjectListResponse ¶
func NewProjectListResponse(items []string) *ProjectListResponse
NewProjectListResponse instantiates a new ProjectListResponse 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 NewProjectListResponseWithDefaults ¶
func NewProjectListResponseWithDefaults() *ProjectListResponse
NewProjectListResponseWithDefaults instantiates a new ProjectListResponse 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 (*ProjectListResponse) GetItems ¶
func (o *ProjectListResponse) GetItems() []string
GetItems returns the Items field value
func (*ProjectListResponse) GetItemsOk ¶
func (o *ProjectListResponse) GetItemsOk() ([]string, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ProjectListResponse) MarshalJSON ¶
func (o ProjectListResponse) MarshalJSON() ([]byte, error)
func (*ProjectListResponse) SetItems ¶
func (o *ProjectListResponse) SetItems(v []string)
SetItems sets field value
func (ProjectListResponse) ToMap ¶
func (o ProjectListResponse) ToMap() (map[string]interface{}, error)
func (*ProjectListResponse) UnmarshalJSON ¶
func (o *ProjectListResponse) UnmarshalJSON(data []byte) (err error)
type Protocol ¶
type Protocol struct {
// The protocol name which the rule should match. Possible values: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`.
Name *string `json:"name,omitempty"`
// The protocol number which the rule should match.
Number *int64 `json:"number,omitempty"`
}
Protocol The schema for a protocol of a security group rule.
func NewProtocol ¶
func NewProtocol() *Protocol
NewProtocol instantiates a new Protocol 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 NewProtocolWithDefaults ¶
func NewProtocolWithDefaults() *Protocol
NewProtocolWithDefaults instantiates a new Protocol 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 (*Protocol) 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 (*Protocol) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (Protocol) MarshalJSON ¶
func (*Protocol) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
type PublicIp ¶
type PublicIp struct {
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents an IP address.
Ip *string `` /* 1381-byte string literal not displayed */
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Associate the public IP with a network interface (ID).
NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
PublicIp Object that represents a public IP.
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) 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 (*PublicIp) 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 (*PublicIp) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicIp) GetNetworkInterface ¶
GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PublicIp) GetNetworkInterfaceOk ¶
GetNetworkInterfaceOk returns a tuple with the NetworkInterface field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PublicIp) HasNetworkInterface ¶
HasNetworkInterface returns a boolean if a field has been set.
func (PublicIp) MarshalJSON ¶
func (*PublicIp) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*PublicIp) SetNetworkInterface ¶
SetNetworkInterface gets a reference to the given NullableString and assigns it to the NetworkInterface field.
func (*PublicIp) SetNetworkInterfaceNil ¶
func (o *PublicIp) SetNetworkInterfaceNil()
SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil
func (*PublicIp) UnsetNetworkInterface ¶
func (o *PublicIp) UnsetNetworkInterface()
UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil
type PublicIpListResponse ¶
type PublicIpListResponse struct {
// A list of public IPs.
Items []PublicIp `json:"items"`
}
PublicIpListResponse Public IP list response.
func NewPublicIpListResponse ¶
func NewPublicIpListResponse(items []PublicIp) *PublicIpListResponse
NewPublicIpListResponse instantiates a new PublicIpListResponse 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 NewPublicIpListResponseWithDefaults ¶
func NewPublicIpListResponseWithDefaults() *PublicIpListResponse
NewPublicIpListResponseWithDefaults instantiates a new PublicIpListResponse 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 (*PublicIpListResponse) GetItems ¶
func (o *PublicIpListResponse) GetItems() []PublicIp
GetItems returns the Items field value
func (*PublicIpListResponse) GetItemsOk ¶
func (o *PublicIpListResponse) GetItemsOk() ([]PublicIp, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (PublicIpListResponse) MarshalJSON ¶
func (o PublicIpListResponse) MarshalJSON() ([]byte, error)
func (*PublicIpListResponse) SetItems ¶
func (o *PublicIpListResponse) SetItems(v []PublicIp)
SetItems sets field value
func (PublicIpListResponse) ToMap ¶
func (o PublicIpListResponse) ToMap() (map[string]interface{}, error)
func (*PublicIpListResponse) UnmarshalJSON ¶
func (o *PublicIpListResponse) UnmarshalJSON(data []byte) (err error)
type PublicNetwork ¶
type PublicNetwork struct {
// Classless Inter-Domain Routing (CIDR).
Cidr string `` /* 866-byte string literal not displayed */
}
PublicNetwork Public network.
func NewPublicNetwork ¶
func NewPublicNetwork(cidr string) *PublicNetwork
NewPublicNetwork instantiates a new PublicNetwork 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 NewPublicNetworkWithDefaults ¶
func NewPublicNetworkWithDefaults() *PublicNetwork
NewPublicNetworkWithDefaults instantiates a new PublicNetwork 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 (*PublicNetwork) GetCidr ¶
func (o *PublicNetwork) GetCidr() string
GetCidr returns the Cidr field value
func (*PublicNetwork) GetCidrOk ¶
func (o *PublicNetwork) GetCidrOk() (*string, bool)
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.
func (PublicNetwork) MarshalJSON ¶
func (o PublicNetwork) MarshalJSON() ([]byte, error)
func (PublicNetwork) ToMap ¶
func (o PublicNetwork) ToMap() (map[string]interface{}, error)
func (*PublicNetwork) UnmarshalJSON ¶
func (o *PublicNetwork) UnmarshalJSON(data []byte) (err error)
type PublicNetworkListResponse ¶
type PublicNetworkListResponse struct {
// A list of public networks.
Items []PublicNetwork `json:"items"`
}
PublicNetworkListResponse Public network list response.
func NewPublicNetworkListResponse ¶
func NewPublicNetworkListResponse(items []PublicNetwork) *PublicNetworkListResponse
NewPublicNetworkListResponse instantiates a new PublicNetworkListResponse 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 NewPublicNetworkListResponseWithDefaults ¶
func NewPublicNetworkListResponseWithDefaults() *PublicNetworkListResponse
NewPublicNetworkListResponseWithDefaults instantiates a new PublicNetworkListResponse 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 (*PublicNetworkListResponse) GetItems ¶
func (o *PublicNetworkListResponse) GetItems() []PublicNetwork
GetItems returns the Items field value
func (*PublicNetworkListResponse) GetItemsOk ¶
func (o *PublicNetworkListResponse) GetItemsOk() ([]PublicNetwork, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (PublicNetworkListResponse) MarshalJSON ¶
func (o PublicNetworkListResponse) MarshalJSON() ([]byte, error)
func (*PublicNetworkListResponse) SetItems ¶
func (o *PublicNetworkListResponse) SetItems(v []PublicNetwork)
SetItems sets field value
func (PublicNetworkListResponse) ToMap ¶
func (o PublicNetworkListResponse) ToMap() (map[string]interface{}, error)
func (*PublicNetworkListResponse) UnmarshalJSON ¶
func (o *PublicNetworkListResponse) UnmarshalJSON(data []byte) (err error)
type Quota ¶
Quota Object that represents a single resource quota.
func NewQuota ¶
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) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*Quota) GetUsageOk ¶
GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.
func (Quota) MarshalJSON ¶
func (*Quota) UnmarshalJSON ¶
type QuotaList ¶
type QuotaList struct {
// Total size in GiB of backups.
BackupGigabytes Quota `json:"backupGigabytes"`
// Number of backups.
Backups Quota `json:"backups"`
// Total size in GiB of volumes and snapshots.
Gigabytes Quota `json:"gigabytes"`
// Number of networks.
Networks Quota `json:"networks"`
// Number of network interfaces.
Nics Quota `json:"nics"`
// Number of public IP addresses.
PublicIps Quota `json:"publicIps"`
// Amount of server RAM in MiB.
Ram Quota `json:"ram"`
// Number of security group rules.
SecurityGroupRules Quota `json:"securityGroupRules"`
// Number of security groups.
SecurityGroups Quota `json:"securityGroups"`
// Number of snapshots.
Snapshots Quota `json:"snapshots"`
// Number of server cores.
Vcpu Quota `json:"vcpu"`
// Number of volumes.
Volumes Quota `json:"volumes"`
}
QuotaList Object that represents the quotas for a project.
func NewQuotaList ¶
func NewQuotaList(backupGigabytes Quota, backups Quota, gigabytes Quota, networks Quota, nics Quota, publicIps Quota, ram Quota, securityGroupRules Quota, securityGroups Quota, snapshots Quota, vcpu Quota, volumes Quota) *QuotaList
NewQuotaList instantiates a new QuotaList 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 NewQuotaListWithDefaults ¶
func NewQuotaListWithDefaults() *QuotaList
NewQuotaListWithDefaults instantiates a new QuotaList 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 (*QuotaList) GetBackupGigabytes ¶
GetBackupGigabytes returns the BackupGigabytes field value
func (*QuotaList) GetBackupGigabytesOk ¶
GetBackupGigabytesOk returns a tuple with the BackupGigabytes field value and a boolean to check if the value has been set.
func (*QuotaList) GetBackups ¶
GetBackups returns the Backups field value
func (*QuotaList) GetBackupsOk ¶
GetBackupsOk returns a tuple with the Backups field value and a boolean to check if the value has been set.
func (*QuotaList) GetGigabytes ¶
GetGigabytes returns the Gigabytes field value
func (*QuotaList) GetGigabytesOk ¶
GetGigabytesOk returns a tuple with the Gigabytes field value and a boolean to check if the value has been set.
func (*QuotaList) GetNetworks ¶
GetNetworks returns the Networks field value
func (*QuotaList) GetNetworksOk ¶
GetNetworksOk returns a tuple with the Networks field value and a boolean to check if the value has been set.
func (*QuotaList) GetNicsOk ¶
GetNicsOk returns a tuple with the Nics field value and a boolean to check if the value has been set.
func (*QuotaList) GetPublicIps ¶
GetPublicIps returns the PublicIps field value
func (*QuotaList) GetPublicIpsOk ¶
GetPublicIpsOk returns a tuple with the PublicIps field value and a boolean to check if the value has been set.
func (*QuotaList) GetRamOk ¶
GetRamOk returns a tuple with the Ram field value and a boolean to check if the value has been set.
func (*QuotaList) GetSecurityGroupRules ¶
GetSecurityGroupRules returns the SecurityGroupRules field value
func (*QuotaList) GetSecurityGroupRulesOk ¶
GetSecurityGroupRulesOk returns a tuple with the SecurityGroupRules field value and a boolean to check if the value has been set.
func (*QuotaList) GetSecurityGroups ¶
GetSecurityGroups returns the SecurityGroups field value
func (*QuotaList) GetSecurityGroupsOk ¶
GetSecurityGroupsOk returns a tuple with the SecurityGroups field value and a boolean to check if the value has been set.
func (*QuotaList) GetSnapshots ¶
GetSnapshots returns the Snapshots field value
func (*QuotaList) GetSnapshotsOk ¶
GetSnapshotsOk returns a tuple with the Snapshots field value and a boolean to check if the value has been set.
func (*QuotaList) GetVcpuOk ¶
GetVcpuOk returns a tuple with the Vcpu field value and a boolean to check if the value has been set.
func (*QuotaList) GetVolumes ¶
GetVolumes returns the Volumes field value
func (*QuotaList) GetVolumesOk ¶
GetVolumesOk returns a tuple with the Volumes field value and a boolean to check if the value has been set.
func (QuotaList) MarshalJSON ¶
func (*QuotaList) SetBackupGigabytes ¶
SetBackupGigabytes sets field value
func (*QuotaList) SetGigabytes ¶
SetGigabytes sets field value
func (*QuotaList) SetNetworks ¶
SetNetworks sets field value
func (*QuotaList) SetPublicIps ¶
SetPublicIps sets field value
func (*QuotaList) SetSecurityGroupRules ¶
SetSecurityGroupRules sets field value
func (*QuotaList) SetSecurityGroups ¶
SetSecurityGroups sets field value
func (*QuotaList) SetSnapshots ¶
SetSnapshots sets field value
func (*QuotaList) UnmarshalJSON ¶
type QuotaListResponse ¶
type QuotaListResponse struct {
Quotas QuotaList `json:"quotas"`
}
QuotaListResponse Quotas list response.
func NewQuotaListResponse ¶
func NewQuotaListResponse(quotas QuotaList) *QuotaListResponse
NewQuotaListResponse instantiates a new QuotaListResponse 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 NewQuotaListResponseWithDefaults ¶
func NewQuotaListResponseWithDefaults() *QuotaListResponse
NewQuotaListResponseWithDefaults instantiates a new QuotaListResponse 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 (*QuotaListResponse) GetQuotas ¶
func (o *QuotaListResponse) GetQuotas() QuotaList
GetQuotas returns the Quotas field value
func (*QuotaListResponse) GetQuotasOk ¶
func (o *QuotaListResponse) GetQuotasOk() (*QuotaList, bool)
GetQuotasOk returns a tuple with the Quotas field value and a boolean to check if the value has been set.
func (QuotaListResponse) MarshalJSON ¶
func (o QuotaListResponse) MarshalJSON() ([]byte, error)
func (*QuotaListResponse) SetQuotas ¶
func (o *QuotaListResponse) SetQuotas(v QuotaList)
SetQuotas sets field value
func (QuotaListResponse) ToMap ¶
func (o QuotaListResponse) ToMap() (map[string]interface{}, error)
func (*QuotaListResponse) UnmarshalJSON ¶
func (o *QuotaListResponse) UnmarshalJSON(data []byte) (err error)
type Request ¶
type Request struct {
Details *string `json:"details,omitempty"`
// Object that represents a resource action. Possible values: `CREATE`, `DELETE`, `UPDATE`.
RequestAction string `json:"requestAction"`
// Identifier (ID) representing a single API request.
RequestId string `json:"requestId" validate:"regexp=^req-[0-9a-f]{32}$"`
// Object that represents a resource type. Possible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`.
RequestType string `json:"requestType"`
Resources []RequestResource `json:"resources"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
Status string `json:"status"`
}
Request Object that represents a request.
func NewRequest ¶
func NewRequest(requestAction string, requestId string, requestType string, resources []RequestResource, status string) *Request
NewRequest instantiates a new Request 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 NewRequestWithDefaults ¶
func NewRequestWithDefaults() *Request
NewRequestWithDefaults instantiates a new Request 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 (*Request) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*Request) GetDetailsOk ¶
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Request) GetRequestAction ¶
GetRequestAction returns the RequestAction field value
func (*Request) GetRequestActionOk ¶
GetRequestActionOk returns a tuple with the RequestAction field value and a boolean to check if the value has been set.
func (*Request) GetRequestId ¶
GetRequestId returns the RequestId field value
func (*Request) GetRequestIdOk ¶
GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.
func (*Request) GetRequestType ¶
GetRequestType returns the RequestType field value
func (*Request) GetRequestTypeOk ¶
GetRequestTypeOk returns a tuple with the RequestType field value and a boolean to check if the value has been set.
func (*Request) GetResources ¶
func (o *Request) GetResources() []RequestResource
GetResources returns the Resources field value
func (*Request) GetResourcesOk ¶
func (o *Request) GetResourcesOk() ([]RequestResource, bool)
GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set.
func (*Request) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Request) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (Request) MarshalJSON ¶
func (*Request) SetDetails ¶
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*Request) SetRequestAction ¶
SetRequestAction sets field value
func (*Request) SetRequestId ¶
SetRequestId sets field value
func (*Request) SetRequestType ¶
SetRequestType sets field value
func (*Request) SetResources ¶
func (o *Request) SetResources(v []RequestResource)
SetResources sets field value
func (*Request) UnmarshalJSON ¶
type RequestResource ¶
type RequestResource struct {
// Universally Unique Identifier (UUID).
Id string `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
Status string `json:"status"`
// Object that represents a resource type. Possible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`.
Type string `json:"type"`
}
RequestResource Object that represents a resource as part of a request.
func NewRequestResource ¶
func NewRequestResource(id string, status string, types string) *RequestResource
NewRequestResource instantiates a new RequestResource 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 NewRequestResourceWithDefaults ¶
func NewRequestResourceWithDefaults() *RequestResource
NewRequestResourceWithDefaults instantiates a new RequestResource 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 (*RequestResource) GetId ¶
func (o *RequestResource) GetId() string
GetId returns the Id field value
func (*RequestResource) GetIdOk ¶
func (o *RequestResource) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RequestResource) GetStatus ¶
func (o *RequestResource) GetStatus() string
GetStatus returns the Status field value
func (*RequestResource) GetStatusOk ¶
func (o *RequestResource) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*RequestResource) GetType ¶
func (o *RequestResource) GetType() string
GetType returns the Type field value
func (*RequestResource) GetTypeOk ¶
func (o *RequestResource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RequestResource) MarshalJSON ¶
func (o RequestResource) MarshalJSON() ([]byte, error)
func (*RequestResource) SetStatus ¶
func (o *RequestResource) SetStatus(v string)
SetStatus sets field value
func (*RequestResource) SetType ¶
func (o *RequestResource) SetType(v string)
SetType sets field value
func (RequestResource) ToMap ¶
func (o RequestResource) ToMap() (map[string]interface{}, error)
func (*RequestResource) UnmarshalJSON ¶
func (o *RequestResource) UnmarshalJSON(data []byte) (err error)
type RescueServerPayload ¶
type RescueServerPayload struct {
// Universally Unique Identifier (UUID).
Image string `json:"image" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
RescueServerPayload struct for RescueServerPayload
func NewRescueServerPayload ¶
func NewRescueServerPayload(image string) *RescueServerPayload
NewRescueServerPayload instantiates a new RescueServerPayload 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 NewRescueServerPayloadWithDefaults ¶
func NewRescueServerPayloadWithDefaults() *RescueServerPayload
NewRescueServerPayloadWithDefaults instantiates a new RescueServerPayload 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 (*RescueServerPayload) GetImage ¶
func (o *RescueServerPayload) GetImage() string
GetImage returns the Image field value
func (*RescueServerPayload) GetImageOk ¶
func (o *RescueServerPayload) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (RescueServerPayload) MarshalJSON ¶
func (o RescueServerPayload) MarshalJSON() ([]byte, error)
func (*RescueServerPayload) SetImage ¶
func (o *RescueServerPayload) SetImage(v string)
SetImage sets field value
func (RescueServerPayload) ToMap ¶
func (o RescueServerPayload) ToMap() (map[string]interface{}, error)
func (*RescueServerPayload) UnmarshalJSON ¶
func (o *RescueServerPayload) UnmarshalJSON(data []byte) (err error)
type ResizeServerPayload ¶
type ResizeServerPayload struct {
// The name for a General Object. Matches Names and also UUIDs.
MachineType string `json:"machineType" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}
ResizeServerPayload struct for ResizeServerPayload
func NewResizeServerPayload ¶
func NewResizeServerPayload(machineType string) *ResizeServerPayload
NewResizeServerPayload instantiates a new ResizeServerPayload 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 NewResizeServerPayloadWithDefaults ¶
func NewResizeServerPayloadWithDefaults() *ResizeServerPayload
NewResizeServerPayloadWithDefaults instantiates a new ResizeServerPayload 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 (*ResizeServerPayload) GetMachineType ¶
func (o *ResizeServerPayload) GetMachineType() string
GetMachineType returns the MachineType field value
func (*ResizeServerPayload) GetMachineTypeOk ¶
func (o *ResizeServerPayload) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field value and a boolean to check if the value has been set.
func (ResizeServerPayload) MarshalJSON ¶
func (o ResizeServerPayload) MarshalJSON() ([]byte, error)
func (*ResizeServerPayload) SetMachineType ¶
func (o *ResizeServerPayload) SetMachineType(v string)
SetMachineType sets field value
func (ResizeServerPayload) ToMap ¶
func (o ResizeServerPayload) ToMap() (map[string]interface{}, error)
func (*ResizeServerPayload) UnmarshalJSON ¶
func (o *ResizeServerPayload) UnmarshalJSON(data []byte) (err error)
type ResizeVolumePayload ¶
type ResizeVolumePayload struct {
// Size in Gigabyte.
Size int64 `json:"size"`
}
ResizeVolumePayload struct for ResizeVolumePayload
func NewResizeVolumePayload ¶
func NewResizeVolumePayload(size int64) *ResizeVolumePayload
NewResizeVolumePayload instantiates a new ResizeVolumePayload 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 NewResizeVolumePayloadWithDefaults ¶
func NewResizeVolumePayloadWithDefaults() *ResizeVolumePayload
NewResizeVolumePayloadWithDefaults instantiates a new ResizeVolumePayload 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 (*ResizeVolumePayload) GetSize ¶
func (o *ResizeVolumePayload) GetSize() int64
GetSize returns the Size field value
func (*ResizeVolumePayload) GetSizeOk ¶
func (o *ResizeVolumePayload) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (ResizeVolumePayload) MarshalJSON ¶
func (o ResizeVolumePayload) MarshalJSON() ([]byte, error)
func (*ResizeVolumePayload) SetSize ¶
func (o *ResizeVolumePayload) SetSize(v int64)
SetSize sets field value
func (ResizeVolumePayload) ToMap ¶
func (o ResizeVolumePayload) ToMap() (map[string]interface{}, error)
func (*ResizeVolumePayload) UnmarshalJSON ¶
func (o *ResizeVolumePayload) UnmarshalJSON(data []byte) (err error)
type Route ¶
type Route struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Object that represents an IP address.
Nexthop string `` /* 1376-byte string literal not displayed */
// Classless Inter-Domain Routing (CIDR).
Prefix string `` /* 868-byte string literal not displayed */
// Universally Unique Identifier (UUID).
RouteId *string `json:"routeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Route Object represents a network route.
func NewRoute ¶
NewRoute instantiates a new Route 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 NewRouteWithDefaults ¶
func NewRouteWithDefaults() *Route
NewRouteWithDefaults instantiates a new Route 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 (*Route) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Route) 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 (*Route) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetNexthop ¶
GetNexthop returns the Nexthop field value
func (*Route) GetNexthopOk ¶
GetNexthopOk returns a tuple with the Nexthop field value and a boolean to check if the value has been set.
func (*Route) GetPrefixOk ¶
GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.
func (*Route) GetRouteId ¶
GetRouteId returns the RouteId field value if set, zero value otherwise.
func (*Route) GetRouteIdOk ¶
GetRouteIdOk returns a tuple with the RouteId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Route) 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 (*Route) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Route) HasRouteId ¶
HasRouteId returns a boolean if a field has been set.
func (*Route) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Route) MarshalJSON ¶
func (*Route) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Route) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Route) SetRouteId ¶
SetRouteId gets a reference to the given string and assigns it to the RouteId field.
func (*Route) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Route) UnmarshalJSON ¶
type RouteListResponse ¶
type RouteListResponse struct {
// A list of routes.
Items []Route `json:"items"`
}
RouteListResponse Route list response.
func NewRouteListResponse ¶
func NewRouteListResponse(items []Route) *RouteListResponse
NewRouteListResponse instantiates a new RouteListResponse 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 NewRouteListResponseWithDefaults ¶
func NewRouteListResponseWithDefaults() *RouteListResponse
NewRouteListResponseWithDefaults instantiates a new RouteListResponse 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 (*RouteListResponse) GetItems ¶
func (o *RouteListResponse) GetItems() []Route
GetItems returns the Items field value
func (*RouteListResponse) GetItemsOk ¶
func (o *RouteListResponse) GetItemsOk() ([]Route, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (RouteListResponse) MarshalJSON ¶
func (o RouteListResponse) MarshalJSON() ([]byte, error)
func (*RouteListResponse) SetItems ¶
func (o *RouteListResponse) SetItems(v []Route)
SetItems sets field value
func (RouteListResponse) ToMap ¶
func (o RouteListResponse) ToMap() (map[string]interface{}, error)
func (*RouteListResponse) UnmarshalJSON ¶
func (o *RouteListResponse) UnmarshalJSON(data []byte) (err error)
type SecurityGroup ¶
type SecurityGroup struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// A list containing security group rule objects.
Rules []SecurityGroupRule `json:"rules,omitempty"`
// Shows if a security group is stateful or stateless. You can only have one type of security groups per network interface/server.
Stateful *bool `json:"stateful,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
SecurityGroup Object that represents a security group.
func NewSecurityGroup ¶
func NewSecurityGroup(name string) *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) GetCreatedAt ¶
func (o *SecurityGroup) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SecurityGroup) GetCreatedAtOk ¶
func (o *SecurityGroup) GetCreatedAtOk() (*time.Time, 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 (*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) GetLabels ¶
func (o *SecurityGroup) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*SecurityGroup) GetLabelsOk ¶
func (o *SecurityGroup) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels 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
func (*SecurityGroup) GetNameOk ¶
func (o *SecurityGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SecurityGroup) GetRules ¶
func (o *SecurityGroup) GetRules() []SecurityGroupRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*SecurityGroup) GetRulesOk ¶
func (o *SecurityGroup) GetRulesOk() ([]SecurityGroupRule, 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) GetStateful ¶
func (o *SecurityGroup) GetStateful() bool
GetStateful returns the Stateful field value if set, zero value otherwise.
func (*SecurityGroup) GetStatefulOk ¶
func (o *SecurityGroup) GetStatefulOk() (*bool, bool)
GetStatefulOk returns a tuple with the Stateful field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroup) GetUpdatedAt ¶
func (o *SecurityGroup) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*SecurityGroup) GetUpdatedAtOk ¶
func (o *SecurityGroup) GetUpdatedAtOk() (*time.Time, 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 (*SecurityGroup) HasCreatedAt ¶
func (o *SecurityGroup) HasCreatedAt() bool
HasCreatedAt 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) HasLabels ¶
func (o *SecurityGroup) HasLabels() bool
HasLabels 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) HasStateful ¶
func (o *SecurityGroup) HasStateful() bool
HasStateful returns a boolean if a field has been set.
func (*SecurityGroup) HasUpdatedAt ¶
func (o *SecurityGroup) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (SecurityGroup) MarshalJSON ¶
func (o SecurityGroup) MarshalJSON() ([]byte, error)
func (*SecurityGroup) SetCreatedAt ¶
func (o *SecurityGroup) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt 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) SetLabels ¶
func (o *SecurityGroup) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*SecurityGroup) SetRules ¶
func (o *SecurityGroup) SetRules(v []SecurityGroupRule)
SetRules gets a reference to the given []SecurityGroupRule and assigns it to the Rules field.
func (*SecurityGroup) SetStateful ¶
func (o *SecurityGroup) SetStateful(v bool)
SetStateful gets a reference to the given bool and assigns it to the Stateful field.
func (*SecurityGroup) SetUpdatedAt ¶
func (o *SecurityGroup) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (SecurityGroup) ToMap ¶
func (o SecurityGroup) ToMap() (map[string]interface{}, error)
func (*SecurityGroup) UnmarshalJSON ¶
func (o *SecurityGroup) UnmarshalJSON(data []byte) (err error)
type SecurityGroupListResponse ¶
type SecurityGroupListResponse struct {
// A list containing security group objects.
Items []SecurityGroup `json:"items"`
}
SecurityGroupListResponse Security group list response.
func NewSecurityGroupListResponse ¶
func NewSecurityGroupListResponse(items []SecurityGroup) *SecurityGroupListResponse
NewSecurityGroupListResponse instantiates a new SecurityGroupListResponse 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 NewSecurityGroupListResponseWithDefaults ¶
func NewSecurityGroupListResponseWithDefaults() *SecurityGroupListResponse
NewSecurityGroupListResponseWithDefaults instantiates a new SecurityGroupListResponse 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 (*SecurityGroupListResponse) GetItems ¶
func (o *SecurityGroupListResponse) GetItems() []SecurityGroup
GetItems returns the Items field value
func (*SecurityGroupListResponse) GetItemsOk ¶
func (o *SecurityGroupListResponse) GetItemsOk() ([]SecurityGroup, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (SecurityGroupListResponse) MarshalJSON ¶
func (o SecurityGroupListResponse) MarshalJSON() ([]byte, error)
func (*SecurityGroupListResponse) SetItems ¶
func (o *SecurityGroupListResponse) SetItems(v []SecurityGroup)
SetItems sets field value
func (SecurityGroupListResponse) ToMap ¶
func (o SecurityGroupListResponse) ToMap() (map[string]interface{}, error)
func (*SecurityGroupListResponse) UnmarshalJSON ¶
func (o *SecurityGroupListResponse) UnmarshalJSON(data []byte) (err error)
type SecurityGroupRule ¶
type SecurityGroupRule struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// The direction of the traffic which the rule should match. Possible values: `ingress`, `egress`.
Direction string `json:"direction"`
// The ethertype which the rule should match. Possible values: `IPv4`, `IPv6`.
Ethertype *string `json:"ethertype,omitempty"`
IcmpParameters *ICMPParameters `json:"icmpParameters,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The remote IP range which the rule should match.
IpRange *string `` /* 879-byte string literal not displayed */
PortRange *PortRange `json:"portRange,omitempty"`
// The remote security group which the rule should match.
RemoteSecurityGroupId *string `json:"remoteSecurityGroupId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
SecurityGroupId *string `json:"securityGroupId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
Protocol *Protocol `json:"protocol,omitempty"`
}
SecurityGroupRule Object that represents a security group rule.
func NewSecurityGroupRule ¶
func NewSecurityGroupRule(direction string) *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() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SecurityGroupRule) GetCreatedAtOk ¶
func (o *SecurityGroupRule) GetCreatedAtOk() (*time.Time, 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
func (*SecurityGroupRule) GetDirectionOk ¶
func (o *SecurityGroupRule) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value 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) GetIcmpParameters ¶
func (o *SecurityGroupRule) GetIcmpParameters() ICMPParameters
GetIcmpParameters returns the IcmpParameters field value if set, zero value otherwise.
func (*SecurityGroupRule) GetIcmpParametersOk ¶
func (o *SecurityGroupRule) GetIcmpParametersOk() (*ICMPParameters, bool)
GetIcmpParametersOk returns a tuple with the IcmpParameters 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) GetIpRange ¶
func (o *SecurityGroupRule) GetIpRange() string
GetIpRange returns the IpRange field value if set, zero value otherwise.
func (*SecurityGroupRule) GetIpRangeOk ¶
func (o *SecurityGroupRule) GetIpRangeOk() (*string, bool)
GetIpRangeOk returns a tuple with the IpRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetPortRange ¶
func (o *SecurityGroupRule) GetPortRange() PortRange
GetPortRange returns the PortRange field value if set, zero value otherwise.
func (*SecurityGroupRule) GetPortRangeOk ¶
func (o *SecurityGroupRule) GetPortRangeOk() (*PortRange, bool)
GetPortRangeOk returns a tuple with the PortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetProtocol ¶
func (o *SecurityGroupRule) GetProtocol() Protocol
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*SecurityGroupRule) GetProtocolOk ¶
func (o *SecurityGroupRule) GetProtocolOk() (*Protocol, 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) GetRemoteSecurityGroupId ¶
func (o *SecurityGroupRule) GetRemoteSecurityGroupId() string
GetRemoteSecurityGroupId returns the RemoteSecurityGroupId field value if set, zero value otherwise.
func (*SecurityGroupRule) GetRemoteSecurityGroupIdOk ¶
func (o *SecurityGroupRule) GetRemoteSecurityGroupIdOk() (*string, bool)
GetRemoteSecurityGroupIdOk returns a tuple with the RemoteSecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityGroupRule) GetSecurityGroupId ¶
func (o *SecurityGroupRule) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*SecurityGroupRule) GetSecurityGroupIdOk ¶
func (o *SecurityGroupRule) 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 (*SecurityGroupRule) GetUpdatedAt ¶
func (o *SecurityGroupRule) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*SecurityGroupRule) GetUpdatedAtOk ¶
func (o *SecurityGroupRule) GetUpdatedAtOk() (*time.Time, 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) HasEthertype ¶
func (o *SecurityGroupRule) HasEthertype() bool
HasEthertype returns a boolean if a field has been set.
func (*SecurityGroupRule) HasIcmpParameters ¶
func (o *SecurityGroupRule) HasIcmpParameters() bool
HasIcmpParameters 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) HasIpRange ¶
func (o *SecurityGroupRule) HasIpRange() bool
HasIpRange returns a boolean if a field has been set.
func (*SecurityGroupRule) HasPortRange ¶
func (o *SecurityGroupRule) HasPortRange() bool
HasPortRange 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) HasRemoteSecurityGroupId ¶
func (o *SecurityGroupRule) HasRemoteSecurityGroupId() bool
HasRemoteSecurityGroupId returns a boolean if a field has been set.
func (*SecurityGroupRule) HasSecurityGroupId ¶
func (o *SecurityGroupRule) HasSecurityGroupId() bool
HasSecurityGroupId 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 time.Time)
SetCreatedAt gets a reference to the given time.Time 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 sets field value
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) SetIcmpParameters ¶
func (o *SecurityGroupRule) SetIcmpParameters(v ICMPParameters)
SetIcmpParameters gets a reference to the given ICMPParameters and assigns it to the IcmpParameters 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) SetIpRange ¶
func (o *SecurityGroupRule) SetIpRange(v string)
SetIpRange gets a reference to the given string and assigns it to the IpRange field.
func (*SecurityGroupRule) SetPortRange ¶
func (o *SecurityGroupRule) SetPortRange(v PortRange)
SetPortRange gets a reference to the given PortRange and assigns it to the PortRange field.
func (*SecurityGroupRule) SetProtocol ¶
func (o *SecurityGroupRule) SetProtocol(v Protocol)
SetProtocol gets a reference to the given Protocol and assigns it to the Protocol field.
func (*SecurityGroupRule) SetRemoteSecurityGroupId ¶
func (o *SecurityGroupRule) SetRemoteSecurityGroupId(v string)
SetRemoteSecurityGroupId gets a reference to the given string and assigns it to the RemoteSecurityGroupId field.
func (*SecurityGroupRule) SetSecurityGroupId ¶
func (o *SecurityGroupRule) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (*SecurityGroupRule) SetUpdatedAt ¶
func (o *SecurityGroupRule) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (SecurityGroupRule) ToMap ¶
func (o SecurityGroupRule) ToMap() (map[string]interface{}, error)
func (*SecurityGroupRule) UnmarshalJSON ¶
func (o *SecurityGroupRule) UnmarshalJSON(data []byte) (err error)
type SecurityGroupRuleListResponse ¶
type SecurityGroupRuleListResponse struct {
// A list containing security group rule objects.
Items []SecurityGroupRule `json:"items"`
}
SecurityGroupRuleListResponse Security group rule list response.
func NewSecurityGroupRuleListResponse ¶
func NewSecurityGroupRuleListResponse(items []SecurityGroupRule) *SecurityGroupRuleListResponse
NewSecurityGroupRuleListResponse instantiates a new SecurityGroupRuleListResponse 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 NewSecurityGroupRuleListResponseWithDefaults ¶
func NewSecurityGroupRuleListResponseWithDefaults() *SecurityGroupRuleListResponse
NewSecurityGroupRuleListResponseWithDefaults instantiates a new SecurityGroupRuleListResponse 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 (*SecurityGroupRuleListResponse) GetItems ¶
func (o *SecurityGroupRuleListResponse) GetItems() []SecurityGroupRule
GetItems returns the Items field value
func (*SecurityGroupRuleListResponse) GetItemsOk ¶
func (o *SecurityGroupRuleListResponse) GetItemsOk() ([]SecurityGroupRule, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (SecurityGroupRuleListResponse) MarshalJSON ¶
func (o SecurityGroupRuleListResponse) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleListResponse) SetItems ¶
func (o *SecurityGroupRuleListResponse) SetItems(v []SecurityGroupRule)
SetItems sets field value
func (SecurityGroupRuleListResponse) ToMap ¶
func (o SecurityGroupRuleListResponse) ToMap() (map[string]interface{}, error)
func (*SecurityGroupRuleListResponse) UnmarshalJSON ¶
func (o *SecurityGroupRuleListResponse) UnmarshalJSON(data []byte) (err error)
type SecurityGroupRuleProtocol ¶
type SecurityGroupRuleProtocol struct {
Protocol *Protocol `json:"protocol,omitempty"`
}
SecurityGroupRuleProtocol The internet protocol which the rule matches.
func NewSecurityGroupRuleProtocol ¶
func NewSecurityGroupRuleProtocol() *SecurityGroupRuleProtocol
NewSecurityGroupRuleProtocol instantiates a new SecurityGroupRuleProtocol 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 NewSecurityGroupRuleProtocolWithDefaults ¶
func NewSecurityGroupRuleProtocolWithDefaults() *SecurityGroupRuleProtocol
NewSecurityGroupRuleProtocolWithDefaults instantiates a new SecurityGroupRuleProtocol 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 (*SecurityGroupRuleProtocol) GetProtocol ¶
func (o *SecurityGroupRuleProtocol) GetProtocol() Protocol
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*SecurityGroupRuleProtocol) GetProtocolOk ¶
func (o *SecurityGroupRuleProtocol) GetProtocolOk() (*Protocol, 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 (*SecurityGroupRuleProtocol) HasProtocol ¶
func (o *SecurityGroupRuleProtocol) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (SecurityGroupRuleProtocol) MarshalJSON ¶
func (o SecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleProtocol) SetProtocol ¶
func (o *SecurityGroupRuleProtocol) SetProtocol(v Protocol)
SetProtocol gets a reference to the given Protocol and assigns it to the Protocol field.
func (SecurityGroupRuleProtocol) ToMap ¶
func (o SecurityGroupRuleProtocol) ToMap() (map[string]interface{}, error)
type Server ¶
type Server struct {
// The affinity group the server is assigned to.
AffinityGroup *string `json:"affinityGroup,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
Agent *ServerAgent `json:"agent,omitempty"`
// This is the availability zone requested during server creation. If none is provided during the creation request and an existing volume will be used as boot volume it will be set to the same availability zone as the volume. For requests with no volumes involved it will be set to the metro availability zone.
AvailabilityZone *string `json:"availabilityZone,omitempty"`
BootVolume *BootVolume `json:"bootVolume,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// An error message.
ErrorMessage *string `json:"errorMessage,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
ImageId *string `json:"imageId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The SSH keypair used during the server creation.
KeypairName *string `json:"keypairName,omitempty" validate:"regexp=^[A-Za-z0-9@._-]*$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Date-time when resource was launched.
LaunchedAt *time.Time `json:"launchedAt,omitempty"`
// Name of the machine type the server shall belong to.
MachineType string `json:"machineType" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
MaintenanceWindow *ServerMaintenance `json:"maintenanceWindow,omitempty"`
// Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`. Providing a `null` value for a key will remove that key.
Metadata map[string]interface{} `json:"metadata,omitempty"`
// The name for a Server.
Name string `` /* 138-byte string literal not displayed */
Networking *ServerNetworking `json:"networking,omitempty"`
// The list of network interfaces (NICs) attached to the server. Only shown when detailed information is requested.
Nics []ServerNetwork `json:"nics,omitempty"`
// The power status of a server. Possible values: `CRASHED`, `ERROR`, `RUNNING`, `STOPPED`.
PowerStatus *string `json:"powerStatus,omitempty"`
// The initial security groups for the server creation.
SecurityGroups []string `json:"securityGroups,omitempty"`
// A list of service account mails. Only shown when detailed information is requested.
ServiceAccountMails []string `json:"serviceAccountMails,omitempty"`
// The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// User Data that is provided to the server. Must be base64 encoded and is passed via cloud-init to the server. Only shown when detailed information is requested.
UserData *string `json:"userData,omitempty"`
// The list of volumes attached to the server.
Volumes []string `json:"volumes,omitempty"`
}
Server Representation of a single server object.
func NewServer ¶
NewServer instantiates a new Server 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 NewServerWithDefaults ¶
func NewServerWithDefaults() *Server
NewServerWithDefaults instantiates a new Server 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 (*Server) GetAffinityGroup ¶
GetAffinityGroup returns the AffinityGroup field value if set, zero value otherwise.
func (*Server) GetAffinityGroupOk ¶
GetAffinityGroupOk returns a tuple with the AffinityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetAgent ¶
func (o *Server) GetAgent() ServerAgent
GetAgent returns the Agent field value if set, zero value otherwise.
func (*Server) GetAgentOk ¶
func (o *Server) GetAgentOk() (*ServerAgent, bool)
GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetAvailabilityZone ¶
GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.
func (*Server) GetAvailabilityZoneOk ¶
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetBootVolume ¶
func (o *Server) GetBootVolume() BootVolume
GetBootVolume returns the BootVolume field value if set, zero value otherwise.
func (*Server) GetBootVolumeOk ¶
func (o *Server) GetBootVolumeOk() (*BootVolume, bool)
GetBootVolumeOk returns a tuple with the BootVolume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Server) 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 (*Server) GetErrorMessage ¶
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*Server) GetErrorMessageOk ¶
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) 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 (*Server) GetImageId ¶
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*Server) GetImageIdOk ¶
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 (*Server) GetKeypairName ¶
GetKeypairName returns the KeypairName field value if set, zero value otherwise.
func (*Server) GetKeypairNameOk ¶
GetKeypairNameOk returns a tuple with the KeypairName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetLaunchedAt ¶
GetLaunchedAt returns the LaunchedAt field value if set, zero value otherwise.
func (*Server) GetLaunchedAtOk ¶
GetLaunchedAtOk returns a tuple with the LaunchedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetMachineType ¶
GetMachineType returns the MachineType field value
func (*Server) GetMachineTypeOk ¶
GetMachineTypeOk returns a tuple with the MachineType field value and a boolean to check if the value has been set.
func (*Server) GetMaintenanceWindow ¶
func (o *Server) GetMaintenanceWindow() ServerMaintenance
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*Server) GetMaintenanceWindowOk ¶
func (o *Server) GetMaintenanceWindowOk() (*ServerMaintenance, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Server) GetMetadataOk ¶
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 (*Server) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Server) GetNetworking ¶
func (o *Server) GetNetworking() ServerNetworking
GetNetworking returns the Networking field value if set, zero value otherwise.
func (*Server) GetNetworkingOk ¶
func (o *Server) GetNetworkingOk() (*ServerNetworking, bool)
GetNetworkingOk returns a tuple with the Networking field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetNics ¶
func (o *Server) GetNics() []ServerNetwork
GetNics returns the Nics field value if set, zero value otherwise.
func (*Server) GetNicsOk ¶
func (o *Server) GetNicsOk() ([]ServerNetwork, bool)
GetNicsOk returns a tuple with the Nics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetPowerStatus ¶
GetPowerStatus returns the PowerStatus field value if set, zero value otherwise.
func (*Server) GetPowerStatusOk ¶
GetPowerStatusOk returns a tuple with the PowerStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetSecurityGroups ¶
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*Server) GetSecurityGroupsOk ¶
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 (*Server) GetServiceAccountMails ¶
GetServiceAccountMails returns the ServiceAccountMails field value if set, zero value otherwise.
func (*Server) GetServiceAccountMailsOk ¶
GetServiceAccountMailsOk returns a tuple with the ServiceAccountMails field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) 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 (*Server) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Server) 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 (*Server) GetUserData ¶
GetUserData returns the UserData field value if set, zero value otherwise.
func (*Server) GetUserDataOk ¶
GetUserDataOk returns a tuple with the UserData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetVolumes ¶
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*Server) GetVolumesOk ¶
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) HasAffinityGroup ¶
HasAffinityGroup returns a boolean if a field has been set.
func (*Server) HasAvailabilityZone ¶
HasAvailabilityZone returns a boolean if a field has been set.
func (*Server) HasBootVolume ¶
HasBootVolume returns a boolean if a field has been set.
func (*Server) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Server) HasErrorMessage ¶
HasErrorMessage returns a boolean if a field has been set.
func (*Server) HasImageId ¶
HasImageId returns a boolean if a field has been set.
func (*Server) HasKeypairName ¶
HasKeypairName returns a boolean if a field has been set.
func (*Server) HasLaunchedAt ¶
HasLaunchedAt returns a boolean if a field has been set.
func (*Server) HasMaintenanceWindow ¶
HasMaintenanceWindow returns a boolean if a field has been set.
func (*Server) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Server) HasNetworking ¶
HasNetworking returns a boolean if a field has been set.
func (*Server) HasPowerStatus ¶
HasPowerStatus returns a boolean if a field has been set.
func (*Server) HasSecurityGroups ¶
HasSecurityGroups returns a boolean if a field has been set.
func (*Server) HasServiceAccountMails ¶
HasServiceAccountMails returns a boolean if a field has been set.
func (*Server) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Server) HasUserData ¶
HasUserData returns a boolean if a field has been set.
func (*Server) HasVolumes ¶
HasVolumes returns a boolean if a field has been set.
func (Server) MarshalJSON ¶
func (*Server) SetAffinityGroup ¶
SetAffinityGroup gets a reference to the given string and assigns it to the AffinityGroup field.
func (*Server) SetAgent ¶
func (o *Server) SetAgent(v ServerAgent)
SetAgent gets a reference to the given ServerAgent and assigns it to the Agent field.
func (*Server) SetAvailabilityZone ¶
SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.
func (*Server) SetBootVolume ¶
func (o *Server) SetBootVolume(v BootVolume)
SetBootVolume gets a reference to the given BootVolume and assigns it to the BootVolume field.
func (*Server) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Server) SetErrorMessage ¶
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
func (*Server) SetImageId ¶
SetImageId gets a reference to the given string and assigns it to the ImageId field.
func (*Server) SetKeypairName ¶
SetKeypairName gets a reference to the given string and assigns it to the KeypairName field.
func (*Server) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Server) SetLaunchedAt ¶
SetLaunchedAt gets a reference to the given time.Time and assigns it to the LaunchedAt field.
func (*Server) SetMachineType ¶
SetMachineType sets field value
func (*Server) SetMaintenanceWindow ¶
func (o *Server) SetMaintenanceWindow(v ServerMaintenance)
SetMaintenanceWindow gets a reference to the given ServerMaintenance and assigns it to the MaintenanceWindow field.
func (*Server) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Server) SetNetworking ¶
func (o *Server) SetNetworking(v ServerNetworking)
SetNetworking gets a reference to the given ServerNetworking and assigns it to the Networking field.
func (*Server) SetNics ¶
func (o *Server) SetNics(v []ServerNetwork)
SetNics gets a reference to the given []ServerNetwork and assigns it to the Nics field.
func (*Server) SetPowerStatus ¶
SetPowerStatus gets a reference to the given string and assigns it to the PowerStatus field.
func (*Server) SetSecurityGroups ¶
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (*Server) SetServiceAccountMails ¶
SetServiceAccountMails gets a reference to the given []string and assigns it to the ServiceAccountMails field.
func (*Server) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Server) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Server) SetUserData ¶
SetUserData gets a reference to the given string and assigns it to the UserData field.
func (*Server) SetVolumes ¶
SetVolumes gets a reference to the given []string and assigns it to the Volumes field.
func (*Server) UnmarshalJSON ¶
type ServerAgent ¶
type ServerAgent struct {
// Configure the STACKIT server agent provisioning during the first boot of the server. Only works when booting from an images that supports the STACKIT server agent. When `false` the agent IS NOT installed. When `true` the agent IS installed. When its not set the result depend on the used image and its default provisioning setting.
Provisioned *bool `json:"provisioned,omitempty"`
}
ServerAgent STACKIT server agent options for a server.
func NewServerAgent ¶
func NewServerAgent() *ServerAgent
NewServerAgent instantiates a new ServerAgent 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 NewServerAgentWithDefaults ¶
func NewServerAgentWithDefaults() *ServerAgent
NewServerAgentWithDefaults instantiates a new ServerAgent 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 (*ServerAgent) GetProvisioned ¶
func (o *ServerAgent) GetProvisioned() bool
GetProvisioned returns the Provisioned field value if set, zero value otherwise.
func (*ServerAgent) GetProvisionedOk ¶
func (o *ServerAgent) GetProvisionedOk() (*bool, bool)
GetProvisionedOk returns a tuple with the Provisioned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerAgent) HasProvisioned ¶
func (o *ServerAgent) HasProvisioned() bool
HasProvisioned returns a boolean if a field has been set.
func (ServerAgent) MarshalJSON ¶
func (o ServerAgent) MarshalJSON() ([]byte, error)
func (*ServerAgent) SetProvisioned ¶
func (o *ServerAgent) SetProvisioned(v bool)
SetProvisioned gets a reference to the given bool and assigns it to the Provisioned field.
func (ServerAgent) ToMap ¶
func (o ServerAgent) ToMap() (map[string]interface{}, error)
type ServerConsoleUrl ¶
type ServerConsoleUrl struct {
Url string `json:"url"`
}
ServerConsoleUrl Object that represents a server console URL.
func NewServerConsoleUrl ¶
func NewServerConsoleUrl(url string) *ServerConsoleUrl
NewServerConsoleUrl instantiates a new ServerConsoleUrl 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 NewServerConsoleUrlWithDefaults ¶
func NewServerConsoleUrlWithDefaults() *ServerConsoleUrl
NewServerConsoleUrlWithDefaults instantiates a new ServerConsoleUrl 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 (*ServerConsoleUrl) GetUrl ¶
func (o *ServerConsoleUrl) GetUrl() string
GetUrl returns the Url field value
func (*ServerConsoleUrl) GetUrlOk ¶
func (o *ServerConsoleUrl) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (ServerConsoleUrl) MarshalJSON ¶
func (o ServerConsoleUrl) MarshalJSON() ([]byte, error)
func (*ServerConsoleUrl) SetUrl ¶
func (o *ServerConsoleUrl) SetUrl(v string)
SetUrl sets field value
func (ServerConsoleUrl) ToMap ¶
func (o ServerConsoleUrl) ToMap() (map[string]interface{}, error)
func (*ServerConsoleUrl) UnmarshalJSON ¶
func (o *ServerConsoleUrl) UnmarshalJSON(data []byte) (err error)
type ServerListResponse ¶
type ServerListResponse struct {
// A list of servers.
Items []Server `json:"items"`
}
ServerListResponse Response object for server list request.
func NewServerListResponse ¶
func NewServerListResponse(items []Server) *ServerListResponse
NewServerListResponse instantiates a new ServerListResponse 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 NewServerListResponseWithDefaults ¶
func NewServerListResponseWithDefaults() *ServerListResponse
NewServerListResponseWithDefaults instantiates a new ServerListResponse 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 (*ServerListResponse) GetItems ¶
func (o *ServerListResponse) GetItems() []Server
GetItems returns the Items field value
func (*ServerListResponse) GetItemsOk ¶
func (o *ServerListResponse) GetItemsOk() ([]Server, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ServerListResponse) MarshalJSON ¶
func (o ServerListResponse) MarshalJSON() ([]byte, error)
func (*ServerListResponse) SetItems ¶
func (o *ServerListResponse) SetItems(v []Server)
SetItems sets field value
func (ServerListResponse) ToMap ¶
func (o ServerListResponse) ToMap() (map[string]interface{}, error)
func (*ServerListResponse) UnmarshalJSON ¶
func (o *ServerListResponse) UnmarshalJSON(data []byte) (err error)
type ServerMaintenance ¶
type ServerMaintenance struct {
Details *string `json:"details,omitempty"`
// End of the maintenance window.
EndsAt time.Time `json:"endsAt"`
// Start of the maintenance window.
StartsAt time.Time `json:"startsAt"`
// Possible values: `PLANNED`, `ONGOING`.
Status string `json:"status"`
}
ServerMaintenance Object that represents the information about the next planned server maintenance window.
func NewServerMaintenance ¶
NewServerMaintenance instantiates a new ServerMaintenance 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 NewServerMaintenanceWithDefaults ¶
func NewServerMaintenanceWithDefaults() *ServerMaintenance
NewServerMaintenanceWithDefaults instantiates a new ServerMaintenance 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 (*ServerMaintenance) GetDetails ¶
func (o *ServerMaintenance) GetDetails() string
GetDetails returns the Details field value if set, zero value otherwise.
func (*ServerMaintenance) GetDetailsOk ¶
func (o *ServerMaintenance) GetDetailsOk() (*string, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerMaintenance) GetEndsAt ¶
func (o *ServerMaintenance) GetEndsAt() time.Time
GetEndsAt returns the EndsAt field value
func (*ServerMaintenance) GetEndsAtOk ¶
func (o *ServerMaintenance) GetEndsAtOk() (*time.Time, bool)
GetEndsAtOk returns a tuple with the EndsAt field value and a boolean to check if the value has been set.
func (*ServerMaintenance) GetStartsAt ¶
func (o *ServerMaintenance) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field value
func (*ServerMaintenance) GetStartsAtOk ¶
func (o *ServerMaintenance) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field value and a boolean to check if the value has been set.
func (*ServerMaintenance) GetStatus ¶
func (o *ServerMaintenance) GetStatus() string
GetStatus returns the Status field value
func (*ServerMaintenance) GetStatusOk ¶
func (o *ServerMaintenance) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ServerMaintenance) HasDetails ¶
func (o *ServerMaintenance) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (ServerMaintenance) MarshalJSON ¶
func (o ServerMaintenance) MarshalJSON() ([]byte, error)
func (*ServerMaintenance) SetDetails ¶
func (o *ServerMaintenance) SetDetails(v string)
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*ServerMaintenance) SetEndsAt ¶
func (o *ServerMaintenance) SetEndsAt(v time.Time)
SetEndsAt sets field value
func (*ServerMaintenance) SetStartsAt ¶
func (o *ServerMaintenance) SetStartsAt(v time.Time)
SetStartsAt sets field value
func (*ServerMaintenance) SetStatus ¶
func (o *ServerMaintenance) SetStatus(v string)
SetStatus sets field value
func (ServerMaintenance) ToMap ¶
func (o ServerMaintenance) ToMap() (map[string]interface{}, error)
func (*ServerMaintenance) UnmarshalJSON ¶
func (o *ServerMaintenance) UnmarshalJSON(data []byte) (err error)
type ServerNetwork ¶
type ServerNetwork struct {
// A list of IPs or CIDR notations.
AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
// Object that represents an IP address.
Ipv4 *string `` /* 1383-byte string literal not displayed */
// String that represents an IPv6 address.
Ipv6 *string `` /* 1254-byte string literal not displayed */
// Object that represents an MAC address.
Mac string `json:"mac" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"`
// Universally Unique Identifier (UUID).
NetworkId string `json:"networkId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The name for a General Object. Matches Names and also UUIDs.
NetworkName string `json:"networkName" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
NicId string `json:"nicId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// If this is set to false, then no security groups will apply to this server network interface.
NicSecurity bool `json:"nicSecurity"`
// Object that represents an IP address.
PublicIp *string `` /* 1387-byte string literal not displayed */
// A list of UUIDs.
SecurityGroups []string `json:"securityGroups,omitempty"`
}
ServerNetwork Describes the object that matches servers to its networks.
func NewServerNetwork ¶
func NewServerNetwork(mac string, networkId string, networkName string, nicId string, nicSecurity bool) *ServerNetwork
NewServerNetwork instantiates a new ServerNetwork 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 NewServerNetworkWithDefaults ¶
func NewServerNetworkWithDefaults() *ServerNetwork
NewServerNetworkWithDefaults instantiates a new ServerNetwork 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 (*ServerNetwork) GetAllowedAddresses ¶
func (o *ServerNetwork) GetAllowedAddresses() []AllowedAddressesInner
GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.
func (*ServerNetwork) GetAllowedAddressesOk ¶
func (o *ServerNetwork) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerNetwork) GetIpv4 ¶
func (o *ServerNetwork) GetIpv4() string
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*ServerNetwork) GetIpv4Ok ¶
func (o *ServerNetwork) GetIpv4Ok() (*string, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerNetwork) GetIpv6 ¶
func (o *ServerNetwork) GetIpv6() string
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*ServerNetwork) GetIpv6Ok ¶
func (o *ServerNetwork) GetIpv6Ok() (*string, bool)
GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerNetwork) GetMac ¶
func (o *ServerNetwork) GetMac() string
GetMac returns the Mac field value
func (*ServerNetwork) GetMacOk ¶
func (o *ServerNetwork) GetMacOk() (*string, bool)
GetMacOk returns a tuple with the Mac field value and a boolean to check if the value has been set.
func (*ServerNetwork) GetNetworkId ¶
func (o *ServerNetwork) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*ServerNetwork) GetNetworkIdOk ¶
func (o *ServerNetwork) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*ServerNetwork) GetNetworkName ¶
func (o *ServerNetwork) GetNetworkName() string
GetNetworkName returns the NetworkName field value
func (*ServerNetwork) GetNetworkNameOk ¶
func (o *ServerNetwork) GetNetworkNameOk() (*string, bool)
GetNetworkNameOk returns a tuple with the NetworkName field value and a boolean to check if the value has been set.
func (*ServerNetwork) GetNicId ¶
func (o *ServerNetwork) GetNicId() string
GetNicId returns the NicId field value
func (*ServerNetwork) GetNicIdOk ¶
func (o *ServerNetwork) GetNicIdOk() (*string, bool)
GetNicIdOk returns a tuple with the NicId field value and a boolean to check if the value has been set.
func (*ServerNetwork) GetNicSecurity ¶
func (o *ServerNetwork) GetNicSecurity() bool
GetNicSecurity returns the NicSecurity field value
func (*ServerNetwork) GetNicSecurityOk ¶
func (o *ServerNetwork) GetNicSecurityOk() (*bool, bool)
GetNicSecurityOk returns a tuple with the NicSecurity field value and a boolean to check if the value has been set.
func (*ServerNetwork) GetPublicIp ¶
func (o *ServerNetwork) GetPublicIp() string
GetPublicIp returns the PublicIp field value if set, zero value otherwise.
func (*ServerNetwork) GetPublicIpOk ¶
func (o *ServerNetwork) GetPublicIpOk() (*string, 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 (*ServerNetwork) GetSecurityGroups ¶
func (o *ServerNetwork) GetSecurityGroups() []string
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*ServerNetwork) GetSecurityGroupsOk ¶
func (o *ServerNetwork) 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 (*ServerNetwork) HasAllowedAddresses ¶
func (o *ServerNetwork) HasAllowedAddresses() bool
HasAllowedAddresses returns a boolean if a field has been set.
func (*ServerNetwork) HasIpv4 ¶
func (o *ServerNetwork) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*ServerNetwork) HasIpv6 ¶
func (o *ServerNetwork) HasIpv6() bool
HasIpv6 returns a boolean if a field has been set.
func (*ServerNetwork) HasPublicIp ¶
func (o *ServerNetwork) HasPublicIp() bool
HasPublicIp returns a boolean if a field has been set.
func (*ServerNetwork) HasSecurityGroups ¶
func (o *ServerNetwork) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (ServerNetwork) MarshalJSON ¶
func (o ServerNetwork) MarshalJSON() ([]byte, error)
func (*ServerNetwork) SetAllowedAddresses ¶
func (o *ServerNetwork) SetAllowedAddresses(v []AllowedAddressesInner)
SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.
func (*ServerNetwork) SetIpv4 ¶
func (o *ServerNetwork) SetIpv4(v string)
SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.
func (*ServerNetwork) SetIpv6 ¶
func (o *ServerNetwork) SetIpv6(v string)
SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.
func (*ServerNetwork) SetNetworkId ¶
func (o *ServerNetwork) SetNetworkId(v string)
SetNetworkId sets field value
func (*ServerNetwork) SetNetworkName ¶
func (o *ServerNetwork) SetNetworkName(v string)
SetNetworkName sets field value
func (*ServerNetwork) SetNicId ¶
func (o *ServerNetwork) SetNicId(v string)
SetNicId sets field value
func (*ServerNetwork) SetNicSecurity ¶
func (o *ServerNetwork) SetNicSecurity(v bool)
SetNicSecurity sets field value
func (*ServerNetwork) SetPublicIp ¶
func (o *ServerNetwork) SetPublicIp(v string)
SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.
func (*ServerNetwork) SetSecurityGroups ¶
func (o *ServerNetwork) SetSecurityGroups(v []string)
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (ServerNetwork) ToMap ¶
func (o ServerNetwork) ToMap() (map[string]interface{}, error)
func (*ServerNetwork) UnmarshalJSON ¶
func (o *ServerNetwork) UnmarshalJSON(data []byte) (err error)
type ServerNetworking ¶
type ServerNetworking struct {
CreateServerNetworking *CreateServerNetworking
CreateServerNetworkingWithNics *CreateServerNetworkingWithNics
}
ServerNetworking - The initial networking setup for the server creation. A network, a nic or nothing can be given.
func CreateServerNetworkingAsServerNetworking ¶
func CreateServerNetworkingAsServerNetworking(v *CreateServerNetworking) ServerNetworking
CreateServerNetworkingAsServerNetworking is a convenience function that returns CreateServerNetworking wrapped in ServerNetworking
func CreateServerNetworkingWithNicsAsServerNetworking ¶
func CreateServerNetworkingWithNicsAsServerNetworking(v *CreateServerNetworkingWithNics) ServerNetworking
CreateServerNetworkingWithNicsAsServerNetworking is a convenience function that returns CreateServerNetworkingWithNics wrapped in ServerNetworking
func (*ServerNetworking) GetActualInstance ¶
func (obj *ServerNetworking) GetActualInstance() interface{}
Get the actual instance
func (ServerNetworking) GetActualInstanceValue ¶
func (obj ServerNetworking) GetActualInstanceValue() interface{}
Get the actual instance value
func (ServerNetworking) MarshalJSON ¶
func (src ServerNetworking) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ServerNetworking) UnmarshalJSON ¶
func (dst *ServerNetworking) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ServiceAccountMailListResponse ¶
type ServiceAccountMailListResponse struct {
// A list of service account mails.
Items []string `json:"items"`
}
ServiceAccountMailListResponse Service account mail list response.
func NewServiceAccountMailListResponse ¶
func NewServiceAccountMailListResponse(items []string) *ServiceAccountMailListResponse
NewServiceAccountMailListResponse instantiates a new ServiceAccountMailListResponse 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 NewServiceAccountMailListResponseWithDefaults ¶
func NewServiceAccountMailListResponseWithDefaults() *ServiceAccountMailListResponse
NewServiceAccountMailListResponseWithDefaults instantiates a new ServiceAccountMailListResponse 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 (*ServiceAccountMailListResponse) GetItems ¶
func (o *ServiceAccountMailListResponse) GetItems() []string
GetItems returns the Items field value
func (*ServiceAccountMailListResponse) GetItemsOk ¶
func (o *ServiceAccountMailListResponse) GetItemsOk() ([]string, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ServiceAccountMailListResponse) MarshalJSON ¶
func (o ServiceAccountMailListResponse) MarshalJSON() ([]byte, error)
func (*ServiceAccountMailListResponse) SetItems ¶
func (o *ServiceAccountMailListResponse) SetItems(v []string)
SetItems sets field value
func (ServiceAccountMailListResponse) ToMap ¶
func (o ServiceAccountMailListResponse) ToMap() (map[string]interface{}, error)
func (*ServiceAccountMailListResponse) UnmarshalJSON ¶
func (o *ServiceAccountMailListResponse) UnmarshalJSON(data []byte) (err error)
type SetImageSharePayload ¶
type SetImageSharePayload struct {
ParentOrganization *bool `json:"parentOrganization,omitempty"`
Projects []string `json:"projects,omitempty"`
}
SetImageSharePayload Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive.
func NewSetImageSharePayload ¶
func NewSetImageSharePayload() *SetImageSharePayload
NewSetImageSharePayload instantiates a new SetImageSharePayload 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 NewSetImageSharePayloadWithDefaults ¶
func NewSetImageSharePayloadWithDefaults() *SetImageSharePayload
NewSetImageSharePayloadWithDefaults instantiates a new SetImageSharePayload 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 (*SetImageSharePayload) GetParentOrganization ¶
func (o *SetImageSharePayload) GetParentOrganization() bool
GetParentOrganization returns the ParentOrganization field value if set, zero value otherwise.
func (*SetImageSharePayload) GetParentOrganizationOk ¶
func (o *SetImageSharePayload) GetParentOrganizationOk() (*bool, bool)
GetParentOrganizationOk returns a tuple with the ParentOrganization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetImageSharePayload) GetProjects ¶
func (o *SetImageSharePayload) GetProjects() []string
GetProjects returns the Projects field value if set, zero value otherwise.
func (*SetImageSharePayload) GetProjectsOk ¶
func (o *SetImageSharePayload) GetProjectsOk() ([]string, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetImageSharePayload) HasParentOrganization ¶
func (o *SetImageSharePayload) HasParentOrganization() bool
HasParentOrganization returns a boolean if a field has been set.
func (*SetImageSharePayload) HasProjects ¶
func (o *SetImageSharePayload) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (SetImageSharePayload) MarshalJSON ¶
func (o SetImageSharePayload) MarshalJSON() ([]byte, error)
func (*SetImageSharePayload) SetParentOrganization ¶
func (o *SetImageSharePayload) SetParentOrganization(v bool)
SetParentOrganization gets a reference to the given bool and assigns it to the ParentOrganization field.
func (*SetImageSharePayload) SetProjects ¶
func (o *SetImageSharePayload) SetProjects(v []string)
SetProjects gets a reference to the given []string and assigns it to the Projects field.
func (SetImageSharePayload) ToMap ¶
func (o SetImageSharePayload) ToMap() (map[string]interface{}, error)
type Snapshot ¶
type Snapshot struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
// The status of a snapshot object. Possible values: `AVAILABLE`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`, `UNMANAGING`, `UPDATING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Universally Unique Identifier (UUID).
VolumeId string `json:"volumeId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
Snapshot Object that represents a snapshot.
func NewSnapshot ¶
NewSnapshot instantiates a new Snapshot 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 NewSnapshotWithDefaults ¶
func NewSnapshotWithDefaults() *Snapshot
NewSnapshotWithDefaults instantiates a new Snapshot 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 (*Snapshot) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Snapshot) 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 (*Snapshot) 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 (*Snapshot) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Snapshot) 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 (*Snapshot) 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 (*Snapshot) 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 (*Snapshot) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Snapshot) 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 (*Snapshot) GetVolumeId ¶
GetVolumeId returns the VolumeId field value
func (*Snapshot) GetVolumeIdOk ¶
GetVolumeIdOk returns a tuple with the VolumeId field value and a boolean to check if the value has been set.
func (*Snapshot) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Snapshot) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Snapshot) MarshalJSON ¶
func (*Snapshot) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Snapshot) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Snapshot) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Snapshot) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Snapshot) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Snapshot) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Snapshot) SetVolumeId ¶
SetVolumeId sets field value
func (*Snapshot) UnmarshalJSON ¶
type SnapshotListResponse ¶
type SnapshotListResponse struct {
// A list containing snapshot objects.
Items []Snapshot `json:"items"`
}
SnapshotListResponse Snapshot list response.
func NewSnapshotListResponse ¶
func NewSnapshotListResponse(items []Snapshot) *SnapshotListResponse
NewSnapshotListResponse instantiates a new SnapshotListResponse 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 NewSnapshotListResponseWithDefaults ¶
func NewSnapshotListResponseWithDefaults() *SnapshotListResponse
NewSnapshotListResponseWithDefaults instantiates a new SnapshotListResponse 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 (*SnapshotListResponse) GetItems ¶
func (o *SnapshotListResponse) GetItems() []Snapshot
GetItems returns the Items field value
func (*SnapshotListResponse) GetItemsOk ¶
func (o *SnapshotListResponse) GetItemsOk() ([]Snapshot, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (SnapshotListResponse) MarshalJSON ¶
func (o SnapshotListResponse) MarshalJSON() ([]byte, error)
func (*SnapshotListResponse) SetItems ¶
func (o *SnapshotListResponse) SetItems(v []Snapshot)
SetItems sets field value
func (SnapshotListResponse) ToMap ¶
func (o SnapshotListResponse) ToMap() (map[string]interface{}, error)
func (*SnapshotListResponse) UnmarshalJSON ¶
func (o *SnapshotListResponse) UnmarshalJSON(data []byte) (err error)
type StaticAreaID ¶
type StaticAreaID string
StaticAreaID The identifier (ID) of a static area.
const ( STATICAREAID_PUBLIC StaticAreaID = "PUBLIC" STATICAREAID_SCHWARZ StaticAreaID = "SCHWARZ" )
List of StaticAreaID
func NewStaticAreaIDFromValue ¶
func NewStaticAreaIDFromValue(v string) (*StaticAreaID, error)
NewStaticAreaIDFromValue returns a pointer to a valid StaticAreaID for the value passed as argument, or an error if the value passed is not allowed by the enum
func (StaticAreaID) IsValid ¶
func (v StaticAreaID) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (StaticAreaID) Ptr ¶
func (v StaticAreaID) Ptr() *StaticAreaID
Ptr returns reference to StaticAreaID value
func (*StaticAreaID) UnmarshalJSON ¶
func (v *StaticAreaID) UnmarshalJSON(src []byte) error
type UpdateAreaAddressFamily ¶
type UpdateAreaAddressFamily struct {
Ipv4 *UpdateAreaIPv4 `json:"ipv4,omitempty"`
}
UpdateAreaAddressFamily The addressFamily object for a area update request.
func NewUpdateAreaAddressFamily ¶
func NewUpdateAreaAddressFamily() *UpdateAreaAddressFamily
NewUpdateAreaAddressFamily instantiates a new UpdateAreaAddressFamily 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 NewUpdateAreaAddressFamilyWithDefaults ¶
func NewUpdateAreaAddressFamilyWithDefaults() *UpdateAreaAddressFamily
NewUpdateAreaAddressFamilyWithDefaults instantiates a new UpdateAreaAddressFamily 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 (*UpdateAreaAddressFamily) GetIpv4 ¶
func (o *UpdateAreaAddressFamily) GetIpv4() UpdateAreaIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*UpdateAreaAddressFamily) GetIpv4Ok ¶
func (o *UpdateAreaAddressFamily) GetIpv4Ok() (*UpdateAreaIPv4, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAreaAddressFamily) HasIpv4 ¶
func (o *UpdateAreaAddressFamily) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (UpdateAreaAddressFamily) MarshalJSON ¶
func (o UpdateAreaAddressFamily) MarshalJSON() ([]byte, error)
func (*UpdateAreaAddressFamily) SetIpv4 ¶
func (o *UpdateAreaAddressFamily) SetIpv4(v UpdateAreaIPv4)
SetIpv4 gets a reference to the given UpdateAreaIPv4 and assigns it to the Ipv4 field.
func (UpdateAreaAddressFamily) ToMap ¶
func (o UpdateAreaAddressFamily) ToMap() (map[string]interface{}, error)
type UpdateAreaIPv4 ¶
type UpdateAreaIPv4 struct {
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// The default prefix length for networks in the network area.
DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
// The maximal prefix length for networks in the network area.
MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
// The minimal prefix length for networks in the network area.
MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}
UpdateAreaIPv4 The update object for a IPv4 network area.
func NewUpdateAreaIPv4 ¶
func NewUpdateAreaIPv4() *UpdateAreaIPv4
NewUpdateAreaIPv4 instantiates a new UpdateAreaIPv4 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 NewUpdateAreaIPv4WithDefaults ¶
func NewUpdateAreaIPv4WithDefaults() *UpdateAreaIPv4
NewUpdateAreaIPv4WithDefaults instantiates a new UpdateAreaIPv4 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 (*UpdateAreaIPv4) GetDefaultNameservers ¶
func (o *UpdateAreaIPv4) GetDefaultNameservers() []string
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*UpdateAreaIPv4) GetDefaultNameserversOk ¶
func (o *UpdateAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAreaIPv4) GetDefaultPrefixLen ¶
func (o *UpdateAreaIPv4) GetDefaultPrefixLen() int32
GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.
func (*UpdateAreaIPv4) GetDefaultPrefixLenOk ¶
func (o *UpdateAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)
GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAreaIPv4) GetMaxPrefixLen ¶
func (o *UpdateAreaIPv4) GetMaxPrefixLen() int32
GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.
func (*UpdateAreaIPv4) GetMaxPrefixLenOk ¶
func (o *UpdateAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)
GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAreaIPv4) GetMinPrefixLen ¶
func (o *UpdateAreaIPv4) GetMinPrefixLen() int32
GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.
func (*UpdateAreaIPv4) GetMinPrefixLenOk ¶
func (o *UpdateAreaIPv4) GetMinPrefixLenOk() (*int32, bool)
GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAreaIPv4) HasDefaultNameservers ¶
func (o *UpdateAreaIPv4) HasDefaultNameservers() bool
HasDefaultNameservers returns a boolean if a field has been set.
func (*UpdateAreaIPv4) HasDefaultPrefixLen ¶
func (o *UpdateAreaIPv4) HasDefaultPrefixLen() bool
HasDefaultPrefixLen returns a boolean if a field has been set.
func (*UpdateAreaIPv4) HasMaxPrefixLen ¶
func (o *UpdateAreaIPv4) HasMaxPrefixLen() bool
HasMaxPrefixLen returns a boolean if a field has been set.
func (*UpdateAreaIPv4) HasMinPrefixLen ¶
func (o *UpdateAreaIPv4) HasMinPrefixLen() bool
HasMinPrefixLen returns a boolean if a field has been set.
func (UpdateAreaIPv4) MarshalJSON ¶
func (o UpdateAreaIPv4) MarshalJSON() ([]byte, error)
func (*UpdateAreaIPv4) SetDefaultNameservers ¶
func (o *UpdateAreaIPv4) SetDefaultNameservers(v []string)
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*UpdateAreaIPv4) SetDefaultPrefixLen ¶
func (o *UpdateAreaIPv4) SetDefaultPrefixLen(v int32)
SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.
func (*UpdateAreaIPv4) SetMaxPrefixLen ¶
func (o *UpdateAreaIPv4) SetMaxPrefixLen(v int32)
SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.
func (*UpdateAreaIPv4) SetMinPrefixLen ¶
func (o *UpdateAreaIPv4) SetMinPrefixLen(v int32)
SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.
func (UpdateAreaIPv4) ToMap ¶
func (o UpdateAreaIPv4) ToMap() (map[string]interface{}, error)
type UpdateAttachedVolumePayload ¶
type UpdateAttachedVolumePayload struct {
// Delete the volume during the termination of the server. Defaults to false.
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
// Universally Unique Identifier (UUID).
ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
UpdateAttachedVolumePayload Object that represents a Volume attachment to a server.
func NewUpdateAttachedVolumePayload ¶
func NewUpdateAttachedVolumePayload() *UpdateAttachedVolumePayload
NewUpdateAttachedVolumePayload instantiates a new UpdateAttachedVolumePayload 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 NewUpdateAttachedVolumePayloadWithDefaults ¶
func NewUpdateAttachedVolumePayloadWithDefaults() *UpdateAttachedVolumePayload
NewUpdateAttachedVolumePayloadWithDefaults instantiates a new UpdateAttachedVolumePayload 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 (*UpdateAttachedVolumePayload) GetDeleteOnTermination ¶
func (o *UpdateAttachedVolumePayload) GetDeleteOnTermination() bool
GetDeleteOnTermination returns the DeleteOnTermination field value if set, zero value otherwise.
func (*UpdateAttachedVolumePayload) GetDeleteOnTerminationOk ¶
func (o *UpdateAttachedVolumePayload) GetDeleteOnTerminationOk() (*bool, bool)
GetDeleteOnTerminationOk returns a tuple with the DeleteOnTermination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAttachedVolumePayload) GetServerId ¶
func (o *UpdateAttachedVolumePayload) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*UpdateAttachedVolumePayload) GetServerIdOk ¶
func (o *UpdateAttachedVolumePayload) 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 (*UpdateAttachedVolumePayload) GetVolumeId ¶
func (o *UpdateAttachedVolumePayload) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*UpdateAttachedVolumePayload) GetVolumeIdOk ¶
func (o *UpdateAttachedVolumePayload) 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 (*UpdateAttachedVolumePayload) HasDeleteOnTermination ¶
func (o *UpdateAttachedVolumePayload) HasDeleteOnTermination() bool
HasDeleteOnTermination returns a boolean if a field has been set.
func (*UpdateAttachedVolumePayload) HasServerId ¶
func (o *UpdateAttachedVolumePayload) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*UpdateAttachedVolumePayload) HasVolumeId ¶
func (o *UpdateAttachedVolumePayload) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (UpdateAttachedVolumePayload) MarshalJSON ¶
func (o UpdateAttachedVolumePayload) MarshalJSON() ([]byte, error)
func (*UpdateAttachedVolumePayload) SetDeleteOnTermination ¶
func (o *UpdateAttachedVolumePayload) SetDeleteOnTermination(v bool)
SetDeleteOnTermination gets a reference to the given bool and assigns it to the DeleteOnTermination field.
func (*UpdateAttachedVolumePayload) SetServerId ¶
func (o *UpdateAttachedVolumePayload) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*UpdateAttachedVolumePayload) SetVolumeId ¶
func (o *UpdateAttachedVolumePayload) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (UpdateAttachedVolumePayload) ToMap ¶
func (o UpdateAttachedVolumePayload) ToMap() (map[string]interface{}, error)
type UpdateBackupPayload ¶
type UpdateBackupPayload struct {
// Object that represents an availability zone.
AvailabilityZone *string `json:"availabilityZone,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Indicates if a volume is encrypted.
Encrypted *bool `json:"encrypted,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
// Universally Unique Identifier (UUID).
SnapshotId *string `json:"snapshotId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The status of a backup object. Possible values: `AVAILABLE`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Universally Unique Identifier (UUID).
VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
UpdateBackupPayload Object that represents a backup.
func NewUpdateBackupPayload ¶
func NewUpdateBackupPayload() *UpdateBackupPayload
NewUpdateBackupPayload instantiates a new UpdateBackupPayload 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 NewUpdateBackupPayloadWithDefaults ¶
func NewUpdateBackupPayloadWithDefaults() *UpdateBackupPayload
NewUpdateBackupPayloadWithDefaults instantiates a new UpdateBackupPayload 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 (*UpdateBackupPayload) GetAvailabilityZone ¶
func (o *UpdateBackupPayload) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetAvailabilityZoneOk ¶
func (o *UpdateBackupPayload) GetAvailabilityZoneOk() (*string, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateBackupPayload) GetCreatedAt ¶
func (o *UpdateBackupPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetCreatedAtOk ¶
func (o *UpdateBackupPayload) GetCreatedAtOk() (*time.Time, 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 (*UpdateBackupPayload) GetEncrypted ¶
func (o *UpdateBackupPayload) GetEncrypted() bool
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetEncryptedOk ¶
func (o *UpdateBackupPayload) GetEncryptedOk() (*bool, bool)
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateBackupPayload) GetId ¶
func (o *UpdateBackupPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetIdOk ¶
func (o *UpdateBackupPayload) 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 (*UpdateBackupPayload) GetLabels ¶
func (o *UpdateBackupPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetLabelsOk ¶
func (o *UpdateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateBackupPayload) GetName ¶
func (o *UpdateBackupPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetNameOk ¶
func (o *UpdateBackupPayload) 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 (*UpdateBackupPayload) GetSize ¶
func (o *UpdateBackupPayload) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetSizeOk ¶
func (o *UpdateBackupPayload) 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 (*UpdateBackupPayload) GetSnapshotId ¶
func (o *UpdateBackupPayload) GetSnapshotId() string
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetSnapshotIdOk ¶
func (o *UpdateBackupPayload) 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 (*UpdateBackupPayload) GetStatus ¶
func (o *UpdateBackupPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetStatusOk ¶
func (o *UpdateBackupPayload) 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 (*UpdateBackupPayload) GetUpdatedAt ¶
func (o *UpdateBackupPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetUpdatedAtOk ¶
func (o *UpdateBackupPayload) GetUpdatedAtOk() (*time.Time, 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 (*UpdateBackupPayload) GetVolumeId ¶
func (o *UpdateBackupPayload) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*UpdateBackupPayload) GetVolumeIdOk ¶
func (o *UpdateBackupPayload) 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 (*UpdateBackupPayload) HasAvailabilityZone ¶
func (o *UpdateBackupPayload) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasCreatedAt ¶
func (o *UpdateBackupPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasEncrypted ¶
func (o *UpdateBackupPayload) HasEncrypted() bool
HasEncrypted returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasId ¶
func (o *UpdateBackupPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasLabels ¶
func (o *UpdateBackupPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasName ¶
func (o *UpdateBackupPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasSize ¶
func (o *UpdateBackupPayload) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasSnapshotId ¶
func (o *UpdateBackupPayload) HasSnapshotId() bool
HasSnapshotId returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasStatus ¶
func (o *UpdateBackupPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasUpdatedAt ¶
func (o *UpdateBackupPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*UpdateBackupPayload) HasVolumeId ¶
func (o *UpdateBackupPayload) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (UpdateBackupPayload) MarshalJSON ¶
func (o UpdateBackupPayload) MarshalJSON() ([]byte, error)
func (*UpdateBackupPayload) SetAvailabilityZone ¶
func (o *UpdateBackupPayload) SetAvailabilityZone(v string)
SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.
func (*UpdateBackupPayload) SetCreatedAt ¶
func (o *UpdateBackupPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*UpdateBackupPayload) SetEncrypted ¶
func (o *UpdateBackupPayload) SetEncrypted(v bool)
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*UpdateBackupPayload) SetId ¶
func (o *UpdateBackupPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UpdateBackupPayload) SetLabels ¶
func (o *UpdateBackupPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateBackupPayload) SetName ¶
func (o *UpdateBackupPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateBackupPayload) SetSize ¶
func (o *UpdateBackupPayload) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*UpdateBackupPayload) SetSnapshotId ¶
func (o *UpdateBackupPayload) SetSnapshotId(v string)
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (*UpdateBackupPayload) SetStatus ¶
func (o *UpdateBackupPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*UpdateBackupPayload) SetUpdatedAt ¶
func (o *UpdateBackupPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*UpdateBackupPayload) SetVolumeId ¶
func (o *UpdateBackupPayload) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (UpdateBackupPayload) ToMap ¶
func (o UpdateBackupPayload) ToMap() (map[string]interface{}, error)
type UpdateImagePayload ¶
type UpdateImagePayload struct {
Agent *ImageAgent `json:"agent,omitempty"`
Config *ImageConfig `json:"config,omitempty"`
// Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`.
DiskFormat *string `json:"diskFormat,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Size in Gigabyte.
MinDiskSize *int64 `json:"minDiskSize,omitempty"`
// Size in Megabyte.
MinRam *int64 `json:"minRam,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// When true the image is prevented from being deleted.
Protected *bool `json:"protected,omitempty"`
}
UpdateImagePayload Object that represents an update request body of an Image.
func NewUpdateImagePayload ¶
func NewUpdateImagePayload() *UpdateImagePayload
NewUpdateImagePayload instantiates a new UpdateImagePayload 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 NewUpdateImagePayloadWithDefaults ¶
func NewUpdateImagePayloadWithDefaults() *UpdateImagePayload
NewUpdateImagePayloadWithDefaults instantiates a new UpdateImagePayload 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 (*UpdateImagePayload) GetAgent ¶
func (o *UpdateImagePayload) GetAgent() ImageAgent
GetAgent returns the Agent field value if set, zero value otherwise.
func (*UpdateImagePayload) GetAgentOk ¶
func (o *UpdateImagePayload) GetAgentOk() (*ImageAgent, bool)
GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImagePayload) GetConfig ¶
func (o *UpdateImagePayload) GetConfig() ImageConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*UpdateImagePayload) GetConfigOk ¶
func (o *UpdateImagePayload) GetConfigOk() (*ImageConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImagePayload) GetDiskFormat ¶
func (o *UpdateImagePayload) GetDiskFormat() string
GetDiskFormat returns the DiskFormat field value if set, zero value otherwise.
func (*UpdateImagePayload) GetDiskFormatOk ¶
func (o *UpdateImagePayload) GetDiskFormatOk() (*string, bool)
GetDiskFormatOk returns a tuple with the DiskFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImagePayload) GetLabels ¶
func (o *UpdateImagePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateImagePayload) GetLabelsOk ¶
func (o *UpdateImagePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImagePayload) GetMinDiskSize ¶
func (o *UpdateImagePayload) GetMinDiskSize() int64
GetMinDiskSize returns the MinDiskSize field value if set, zero value otherwise.
func (*UpdateImagePayload) GetMinDiskSizeOk ¶
func (o *UpdateImagePayload) GetMinDiskSizeOk() (*int64, bool)
GetMinDiskSizeOk returns a tuple with the MinDiskSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImagePayload) GetMinRam ¶
func (o *UpdateImagePayload) GetMinRam() int64
GetMinRam returns the MinRam field value if set, zero value otherwise.
func (*UpdateImagePayload) GetMinRamOk ¶
func (o *UpdateImagePayload) 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 (*UpdateImagePayload) GetName ¶
func (o *UpdateImagePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateImagePayload) GetNameOk ¶
func (o *UpdateImagePayload) 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 (*UpdateImagePayload) GetProtected ¶
func (o *UpdateImagePayload) GetProtected() bool
GetProtected returns the Protected field value if set, zero value otherwise.
func (*UpdateImagePayload) GetProtectedOk ¶
func (o *UpdateImagePayload) GetProtectedOk() (*bool, bool)
GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImagePayload) HasAgent ¶
func (o *UpdateImagePayload) HasAgent() bool
HasAgent returns a boolean if a field has been set.
func (*UpdateImagePayload) HasConfig ¶
func (o *UpdateImagePayload) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*UpdateImagePayload) HasDiskFormat ¶
func (o *UpdateImagePayload) HasDiskFormat() bool
HasDiskFormat returns a boolean if a field has been set.
func (*UpdateImagePayload) HasLabels ¶
func (o *UpdateImagePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateImagePayload) HasMinDiskSize ¶
func (o *UpdateImagePayload) HasMinDiskSize() bool
HasMinDiskSize returns a boolean if a field has been set.
func (*UpdateImagePayload) HasMinRam ¶
func (o *UpdateImagePayload) HasMinRam() bool
HasMinRam returns a boolean if a field has been set.
func (*UpdateImagePayload) HasName ¶
func (o *UpdateImagePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateImagePayload) HasProtected ¶
func (o *UpdateImagePayload) HasProtected() bool
HasProtected returns a boolean if a field has been set.
func (UpdateImagePayload) MarshalJSON ¶
func (o UpdateImagePayload) MarshalJSON() ([]byte, error)
func (*UpdateImagePayload) SetAgent ¶
func (o *UpdateImagePayload) SetAgent(v ImageAgent)
SetAgent gets a reference to the given ImageAgent and assigns it to the Agent field.
func (*UpdateImagePayload) SetConfig ¶
func (o *UpdateImagePayload) SetConfig(v ImageConfig)
SetConfig gets a reference to the given ImageConfig and assigns it to the Config field.
func (*UpdateImagePayload) SetDiskFormat ¶
func (o *UpdateImagePayload) SetDiskFormat(v string)
SetDiskFormat gets a reference to the given string and assigns it to the DiskFormat field.
func (*UpdateImagePayload) SetLabels ¶
func (o *UpdateImagePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateImagePayload) SetMinDiskSize ¶
func (o *UpdateImagePayload) SetMinDiskSize(v int64)
SetMinDiskSize gets a reference to the given int64 and assigns it to the MinDiskSize field.
func (*UpdateImagePayload) SetMinRam ¶
func (o *UpdateImagePayload) SetMinRam(v int64)
SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.
func (*UpdateImagePayload) SetName ¶
func (o *UpdateImagePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateImagePayload) SetProtected ¶
func (o *UpdateImagePayload) SetProtected(v bool)
SetProtected gets a reference to the given bool and assigns it to the Protected field.
func (UpdateImagePayload) ToMap ¶
func (o UpdateImagePayload) ToMap() (map[string]interface{}, error)
type UpdateImageSharePayload ¶
type UpdateImageSharePayload struct {
ParentOrganization *bool `json:"parentOrganization,omitempty"`
Projects []string `json:"projects,omitempty"`
}
UpdateImageSharePayload Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive.
func NewUpdateImageSharePayload ¶
func NewUpdateImageSharePayload() *UpdateImageSharePayload
NewUpdateImageSharePayload instantiates a new UpdateImageSharePayload 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 NewUpdateImageSharePayloadWithDefaults ¶
func NewUpdateImageSharePayloadWithDefaults() *UpdateImageSharePayload
NewUpdateImageSharePayloadWithDefaults instantiates a new UpdateImageSharePayload 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 (*UpdateImageSharePayload) GetParentOrganization ¶
func (o *UpdateImageSharePayload) GetParentOrganization() bool
GetParentOrganization returns the ParentOrganization field value if set, zero value otherwise.
func (*UpdateImageSharePayload) GetParentOrganizationOk ¶
func (o *UpdateImageSharePayload) GetParentOrganizationOk() (*bool, bool)
GetParentOrganizationOk returns a tuple with the ParentOrganization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImageSharePayload) GetProjects ¶
func (o *UpdateImageSharePayload) GetProjects() []string
GetProjects returns the Projects field value if set, zero value otherwise.
func (*UpdateImageSharePayload) GetProjectsOk ¶
func (o *UpdateImageSharePayload) GetProjectsOk() ([]string, bool)
GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateImageSharePayload) HasParentOrganization ¶
func (o *UpdateImageSharePayload) HasParentOrganization() bool
HasParentOrganization returns a boolean if a field has been set.
func (*UpdateImageSharePayload) HasProjects ¶
func (o *UpdateImageSharePayload) HasProjects() bool
HasProjects returns a boolean if a field has been set.
func (UpdateImageSharePayload) MarshalJSON ¶
func (o UpdateImageSharePayload) MarshalJSON() ([]byte, error)
func (*UpdateImageSharePayload) SetParentOrganization ¶
func (o *UpdateImageSharePayload) SetParentOrganization(v bool)
SetParentOrganization gets a reference to the given bool and assigns it to the ParentOrganization field.
func (*UpdateImageSharePayload) SetProjects ¶
func (o *UpdateImageSharePayload) SetProjects(v []string)
SetProjects gets a reference to the given []string and assigns it to the Projects field.
func (UpdateImageSharePayload) ToMap ¶
func (o UpdateImageSharePayload) ToMap() (map[string]interface{}, error)
type UpdateKeyPairPayload ¶
type UpdateKeyPairPayload struct {
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
}
UpdateKeyPairPayload Object that represents an update request body of a public key of an SSH keypair.
func NewUpdateKeyPairPayload ¶
func NewUpdateKeyPairPayload() *UpdateKeyPairPayload
NewUpdateKeyPairPayload instantiates a new UpdateKeyPairPayload 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 NewUpdateKeyPairPayloadWithDefaults ¶
func NewUpdateKeyPairPayloadWithDefaults() *UpdateKeyPairPayload
NewUpdateKeyPairPayloadWithDefaults instantiates a new UpdateKeyPairPayload 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 (*UpdateKeyPairPayload) GetLabels ¶
func (o *UpdateKeyPairPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateKeyPairPayload) GetLabelsOk ¶
func (o *UpdateKeyPairPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateKeyPairPayload) HasLabels ¶
func (o *UpdateKeyPairPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateKeyPairPayload) MarshalJSON ¶
func (o UpdateKeyPairPayload) MarshalJSON() ([]byte, error)
func (*UpdateKeyPairPayload) SetLabels ¶
func (o *UpdateKeyPairPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (UpdateKeyPairPayload) ToMap ¶
func (o UpdateKeyPairPayload) ToMap() (map[string]interface{}, error)
type UpdateNetworkAddressFamily ¶
type UpdateNetworkAddressFamily struct {
Ipv4 *UpdateNetworkIPv4Body `json:"ipv4,omitempty"`
Ipv6 *UpdateNetworkIPv6Body `json:"ipv6,omitempty"`
}
UpdateNetworkAddressFamily The addressFamily object for a network update request.
func NewUpdateNetworkAddressFamily ¶
func NewUpdateNetworkAddressFamily() *UpdateNetworkAddressFamily
NewUpdateNetworkAddressFamily instantiates a new UpdateNetworkAddressFamily 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 NewUpdateNetworkAddressFamilyWithDefaults ¶
func NewUpdateNetworkAddressFamilyWithDefaults() *UpdateNetworkAddressFamily
NewUpdateNetworkAddressFamilyWithDefaults instantiates a new UpdateNetworkAddressFamily 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 (*UpdateNetworkAddressFamily) GetIpv4 ¶
func (o *UpdateNetworkAddressFamily) GetIpv4() UpdateNetworkIPv4Body
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*UpdateNetworkAddressFamily) GetIpv4Ok ¶
func (o *UpdateNetworkAddressFamily) GetIpv4Ok() (*UpdateNetworkIPv4Body, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkAddressFamily) GetIpv6 ¶
func (o *UpdateNetworkAddressFamily) GetIpv6() UpdateNetworkIPv6Body
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*UpdateNetworkAddressFamily) GetIpv6Ok ¶
func (o *UpdateNetworkAddressFamily) GetIpv6Ok() (*UpdateNetworkIPv6Body, bool)
GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkAddressFamily) HasIpv4 ¶
func (o *UpdateNetworkAddressFamily) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*UpdateNetworkAddressFamily) HasIpv6 ¶
func (o *UpdateNetworkAddressFamily) HasIpv6() bool
HasIpv6 returns a boolean if a field has been set.
func (UpdateNetworkAddressFamily) MarshalJSON ¶
func (o UpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)
func (*UpdateNetworkAddressFamily) SetIpv4 ¶
func (o *UpdateNetworkAddressFamily) SetIpv4(v UpdateNetworkIPv4Body)
SetIpv4 gets a reference to the given UpdateNetworkIPv4Body and assigns it to the Ipv4 field.
func (*UpdateNetworkAddressFamily) SetIpv6 ¶
func (o *UpdateNetworkAddressFamily) SetIpv6(v UpdateNetworkIPv6Body)
SetIpv6 gets a reference to the given UpdateNetworkIPv6Body and assigns it to the Ipv6 field.
func (UpdateNetworkAddressFamily) ToMap ¶
func (o UpdateNetworkAddressFamily) ToMap() (map[string]interface{}, error)
type UpdateNetworkAreaRoutePayload ¶
type UpdateNetworkAreaRoutePayload struct {
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
}
UpdateNetworkAreaRoutePayload Object that represents the request body for a route update.
func NewUpdateNetworkAreaRoutePayload ¶
func NewUpdateNetworkAreaRoutePayload() *UpdateNetworkAreaRoutePayload
NewUpdateNetworkAreaRoutePayload instantiates a new UpdateNetworkAreaRoutePayload 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 NewUpdateNetworkAreaRoutePayloadWithDefaults ¶
func NewUpdateNetworkAreaRoutePayloadWithDefaults() *UpdateNetworkAreaRoutePayload
NewUpdateNetworkAreaRoutePayloadWithDefaults instantiates a new UpdateNetworkAreaRoutePayload 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 (*UpdateNetworkAreaRoutePayload) GetLabels ¶
func (o *UpdateNetworkAreaRoutePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateNetworkAreaRoutePayload) GetLabelsOk ¶
func (o *UpdateNetworkAreaRoutePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkAreaRoutePayload) HasLabels ¶
func (o *UpdateNetworkAreaRoutePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateNetworkAreaRoutePayload) MarshalJSON ¶
func (o UpdateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
func (*UpdateNetworkAreaRoutePayload) SetLabels ¶
func (o *UpdateNetworkAreaRoutePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (UpdateNetworkAreaRoutePayload) ToMap ¶
func (o UpdateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)
type UpdateNetworkIPv4Body ¶
type UpdateNetworkIPv4Body struct {
// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
Gateway NullableString `` /* 1386-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv4.
Nameservers []string `json:"nameservers,omitempty"`
}
UpdateNetworkIPv4Body The config object for a IPv4 network update.
func NewUpdateNetworkIPv4Body ¶
func NewUpdateNetworkIPv4Body() *UpdateNetworkIPv4Body
NewUpdateNetworkIPv4Body instantiates a new UpdateNetworkIPv4Body 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 NewUpdateNetworkIPv4BodyWithDefaults ¶
func NewUpdateNetworkIPv4BodyWithDefaults() *UpdateNetworkIPv4Body
NewUpdateNetworkIPv4BodyWithDefaults instantiates a new UpdateNetworkIPv4Body 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 (*UpdateNetworkIPv4Body) GetGateway ¶
func (o *UpdateNetworkIPv4Body) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateNetworkIPv4Body) GetGatewayOk ¶
func (o *UpdateNetworkIPv4Body) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateNetworkIPv4Body) GetNameservers ¶
func (o *UpdateNetworkIPv4Body) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*UpdateNetworkIPv4Body) GetNameserversOk ¶
func (o *UpdateNetworkIPv4Body) GetNameserversOk() ([]string, bool)
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkIPv4Body) HasGateway ¶
func (o *UpdateNetworkIPv4Body) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*UpdateNetworkIPv4Body) HasNameservers ¶
func (o *UpdateNetworkIPv4Body) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (UpdateNetworkIPv4Body) MarshalJSON ¶
func (o UpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)
func (*UpdateNetworkIPv4Body) SetGateway ¶
func (o *UpdateNetworkIPv4Body) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*UpdateNetworkIPv4Body) SetGatewayNil ¶
func (o *UpdateNetworkIPv4Body) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*UpdateNetworkIPv4Body) SetNameservers ¶
func (o *UpdateNetworkIPv4Body) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (UpdateNetworkIPv4Body) ToMap ¶
func (o UpdateNetworkIPv4Body) ToMap() (map[string]interface{}, error)
func (*UpdateNetworkIPv4Body) UnsetGateway ¶
func (o *UpdateNetworkIPv4Body) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type UpdateNetworkIPv6Body ¶
type UpdateNetworkIPv6Body struct {
// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
Gateway NullableString `` /* 1386-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv6.
Nameservers []string `json:"nameservers,omitempty"`
}
UpdateNetworkIPv6Body The config object for a IPv6 network update.
func NewUpdateNetworkIPv6Body ¶
func NewUpdateNetworkIPv6Body() *UpdateNetworkIPv6Body
NewUpdateNetworkIPv6Body instantiates a new UpdateNetworkIPv6Body 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 NewUpdateNetworkIPv6BodyWithDefaults ¶
func NewUpdateNetworkIPv6BodyWithDefaults() *UpdateNetworkIPv6Body
NewUpdateNetworkIPv6BodyWithDefaults instantiates a new UpdateNetworkIPv6Body 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 (*UpdateNetworkIPv6Body) GetGateway ¶
func (o *UpdateNetworkIPv6Body) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateNetworkIPv6Body) GetGatewayOk ¶
func (o *UpdateNetworkIPv6Body) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateNetworkIPv6Body) GetNameservers ¶
func (o *UpdateNetworkIPv6Body) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*UpdateNetworkIPv6Body) GetNameserversOk ¶
func (o *UpdateNetworkIPv6Body) GetNameserversOk() ([]string, bool)
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkIPv6Body) HasGateway ¶
func (o *UpdateNetworkIPv6Body) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*UpdateNetworkIPv6Body) HasNameservers ¶
func (o *UpdateNetworkIPv6Body) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (UpdateNetworkIPv6Body) MarshalJSON ¶
func (o UpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)
func (*UpdateNetworkIPv6Body) SetGateway ¶
func (o *UpdateNetworkIPv6Body) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*UpdateNetworkIPv6Body) SetGatewayNil ¶
func (o *UpdateNetworkIPv6Body) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*UpdateNetworkIPv6Body) SetNameservers ¶
func (o *UpdateNetworkIPv6Body) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (UpdateNetworkIPv6Body) ToMap ¶
func (o UpdateNetworkIPv6Body) ToMap() (map[string]interface{}, error)
func (*UpdateNetworkIPv6Body) UnsetGateway ¶
func (o *UpdateNetworkIPv6Body) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type UpdateNicPayload ¶
type UpdateNicPayload struct {
// A list of IPs or CIDR notations.
AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// If this is set to false, then no security groups will apply to this network interface.
NicSecurity *bool `json:"nicSecurity,omitempty"`
// A list of UUIDs.
SecurityGroups []string `json:"securityGroups,omitempty"`
}
UpdateNicPayload Object that represents a network interface update.
func NewUpdateNicPayload ¶
func NewUpdateNicPayload() *UpdateNicPayload
NewUpdateNicPayload instantiates a new UpdateNicPayload 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 NewUpdateNicPayloadWithDefaults ¶
func NewUpdateNicPayloadWithDefaults() *UpdateNicPayload
NewUpdateNicPayloadWithDefaults instantiates a new UpdateNicPayload 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 (*UpdateNicPayload) GetAllowedAddresses ¶
func (o *UpdateNicPayload) GetAllowedAddresses() []AllowedAddressesInner
GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.
func (*UpdateNicPayload) GetAllowedAddressesOk ¶
func (o *UpdateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)
GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNicPayload) GetDescription ¶
func (o *UpdateNicPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateNicPayload) GetDescriptionOk ¶
func (o *UpdateNicPayload) 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 (*UpdateNicPayload) GetLabels ¶
func (o *UpdateNicPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateNicPayload) GetLabelsOk ¶
func (o *UpdateNicPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNicPayload) GetName ¶
func (o *UpdateNicPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateNicPayload) GetNameOk ¶
func (o *UpdateNicPayload) 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 (*UpdateNicPayload) GetNicSecurity ¶
func (o *UpdateNicPayload) GetNicSecurity() bool
GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.
func (*UpdateNicPayload) GetNicSecurityOk ¶
func (o *UpdateNicPayload) GetNicSecurityOk() (*bool, bool)
GetNicSecurityOk returns a tuple with the NicSecurity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNicPayload) GetSecurityGroups ¶
func (o *UpdateNicPayload) GetSecurityGroups() []string
GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.
func (*UpdateNicPayload) GetSecurityGroupsOk ¶
func (o *UpdateNicPayload) 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 (*UpdateNicPayload) HasAllowedAddresses ¶
func (o *UpdateNicPayload) HasAllowedAddresses() bool
HasAllowedAddresses returns a boolean if a field has been set.
func (*UpdateNicPayload) HasDescription ¶
func (o *UpdateNicPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateNicPayload) HasLabels ¶
func (o *UpdateNicPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateNicPayload) HasName ¶
func (o *UpdateNicPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateNicPayload) HasNicSecurity ¶
func (o *UpdateNicPayload) HasNicSecurity() bool
HasNicSecurity returns a boolean if a field has been set.
func (*UpdateNicPayload) HasSecurityGroups ¶
func (o *UpdateNicPayload) HasSecurityGroups() bool
HasSecurityGroups returns a boolean if a field has been set.
func (UpdateNicPayload) MarshalJSON ¶
func (o UpdateNicPayload) MarshalJSON() ([]byte, error)
func (*UpdateNicPayload) SetAllowedAddresses ¶
func (o *UpdateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)
SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.
func (*UpdateNicPayload) SetDescription ¶
func (o *UpdateNicPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateNicPayload) SetLabels ¶
func (o *UpdateNicPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateNicPayload) SetName ¶
func (o *UpdateNicPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateNicPayload) SetNicSecurity ¶
func (o *UpdateNicPayload) SetNicSecurity(v bool)
SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.
func (*UpdateNicPayload) SetSecurityGroups ¶
func (o *UpdateNicPayload) SetSecurityGroups(v []string)
SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.
func (UpdateNicPayload) ToMap ¶
func (o UpdateNicPayload) ToMap() (map[string]interface{}, error)
type UpdatePublicIPPayload ¶
type UpdatePublicIPPayload struct {
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Object that represents an IP address.
Ip *string `` /* 1381-byte string literal not displayed */
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Associate the public IP with a network interface (ID).
NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
UpdatePublicIPPayload Object that represents a public IP.
func NewUpdatePublicIPPayload ¶
func NewUpdatePublicIPPayload() *UpdatePublicIPPayload
NewUpdatePublicIPPayload instantiates a new UpdatePublicIPPayload 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 NewUpdatePublicIPPayloadWithDefaults ¶
func NewUpdatePublicIPPayloadWithDefaults() *UpdatePublicIPPayload
NewUpdatePublicIPPayloadWithDefaults instantiates a new UpdatePublicIPPayload 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 (*UpdatePublicIPPayload) GetId ¶
func (o *UpdatePublicIPPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UpdatePublicIPPayload) GetIdOk ¶
func (o *UpdatePublicIPPayload) 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 (*UpdatePublicIPPayload) GetIp ¶
func (o *UpdatePublicIPPayload) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*UpdatePublicIPPayload) GetIpOk ¶
func (o *UpdatePublicIPPayload) 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 (*UpdatePublicIPPayload) GetLabels ¶
func (o *UpdatePublicIPPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdatePublicIPPayload) GetLabelsOk ¶
func (o *UpdatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePublicIPPayload) GetNetworkInterface ¶
func (o *UpdatePublicIPPayload) GetNetworkInterface() string
GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdatePublicIPPayload) GetNetworkInterfaceOk ¶
func (o *UpdatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)
GetNetworkInterfaceOk returns a tuple with the NetworkInterface field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdatePublicIPPayload) HasId ¶
func (o *UpdatePublicIPPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdatePublicIPPayload) HasIp ¶
func (o *UpdatePublicIPPayload) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*UpdatePublicIPPayload) HasLabels ¶
func (o *UpdatePublicIPPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdatePublicIPPayload) HasNetworkInterface ¶
func (o *UpdatePublicIPPayload) HasNetworkInterface() bool
HasNetworkInterface returns a boolean if a field has been set.
func (UpdatePublicIPPayload) MarshalJSON ¶
func (o UpdatePublicIPPayload) MarshalJSON() ([]byte, error)
func (*UpdatePublicIPPayload) SetId ¶
func (o *UpdatePublicIPPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UpdatePublicIPPayload) SetIp ¶
func (o *UpdatePublicIPPayload) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*UpdatePublicIPPayload) SetLabels ¶
func (o *UpdatePublicIPPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdatePublicIPPayload) SetNetworkInterface ¶
func (o *UpdatePublicIPPayload) SetNetworkInterface(v string)
SetNetworkInterface gets a reference to the given NullableString and assigns it to the NetworkInterface field.
func (*UpdatePublicIPPayload) SetNetworkInterfaceNil ¶
func (o *UpdatePublicIPPayload) SetNetworkInterfaceNil()
SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil
func (UpdatePublicIPPayload) ToMap ¶
func (o UpdatePublicIPPayload) ToMap() (map[string]interface{}, error)
func (*UpdatePublicIPPayload) UnsetNetworkInterface ¶
func (o *UpdatePublicIPPayload) UnsetNetworkInterface()
UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil
type UpdateSecurityGroupPayload ¶
type UpdateSecurityGroupPayload struct {
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}
UpdateSecurityGroupPayload Object that represents an update request body of a security group.
func NewUpdateSecurityGroupPayload ¶
func NewUpdateSecurityGroupPayload() *UpdateSecurityGroupPayload
NewUpdateSecurityGroupPayload instantiates a new UpdateSecurityGroupPayload 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 NewUpdateSecurityGroupPayloadWithDefaults ¶
func NewUpdateSecurityGroupPayloadWithDefaults() *UpdateSecurityGroupPayload
NewUpdateSecurityGroupPayloadWithDefaults instantiates a new UpdateSecurityGroupPayload 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 (*UpdateSecurityGroupPayload) GetDescription ¶
func (o *UpdateSecurityGroupPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateSecurityGroupPayload) GetDescriptionOk ¶
func (o *UpdateSecurityGroupPayload) 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 (*UpdateSecurityGroupPayload) GetLabels ¶
func (o *UpdateSecurityGroupPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateSecurityGroupPayload) GetLabelsOk ¶
func (o *UpdateSecurityGroupPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSecurityGroupPayload) GetName ¶
func (o *UpdateSecurityGroupPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateSecurityGroupPayload) GetNameOk ¶
func (o *UpdateSecurityGroupPayload) 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 (*UpdateSecurityGroupPayload) HasDescription ¶
func (o *UpdateSecurityGroupPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateSecurityGroupPayload) HasLabels ¶
func (o *UpdateSecurityGroupPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateSecurityGroupPayload) HasName ¶
func (o *UpdateSecurityGroupPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateSecurityGroupPayload) MarshalJSON ¶
func (o UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
func (*UpdateSecurityGroupPayload) SetDescription ¶
func (o *UpdateSecurityGroupPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateSecurityGroupPayload) SetLabels ¶
func (o *UpdateSecurityGroupPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateSecurityGroupPayload) SetName ¶
func (o *UpdateSecurityGroupPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateSecurityGroupPayload) ToMap ¶
func (o UpdateSecurityGroupPayload) ToMap() (map[string]interface{}, error)
type UpdateServerPayload ¶
type UpdateServerPayload struct {
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`. Providing a `null` value for a key will remove that key.
Metadata map[string]interface{} `json:"metadata,omitempty"`
// The name for a Server.
Name *string `` /* 148-byte string literal not displayed */
}
UpdateServerPayload Object that represents an update request body of a server.
func NewUpdateServerPayload ¶
func NewUpdateServerPayload() *UpdateServerPayload
NewUpdateServerPayload instantiates a new UpdateServerPayload 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 NewUpdateServerPayloadWithDefaults ¶
func NewUpdateServerPayloadWithDefaults() *UpdateServerPayload
NewUpdateServerPayloadWithDefaults instantiates a new UpdateServerPayload 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 (*UpdateServerPayload) GetLabels ¶
func (o *UpdateServerPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateServerPayload) GetLabelsOk ¶
func (o *UpdateServerPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateServerPayload) GetMetadata ¶
func (o *UpdateServerPayload) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*UpdateServerPayload) GetMetadataOk ¶
func (o *UpdateServerPayload) GetMetadataOk() (map[string]interface{}, 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 (*UpdateServerPayload) GetName ¶
func (o *UpdateServerPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateServerPayload) GetNameOk ¶
func (o *UpdateServerPayload) 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 (*UpdateServerPayload) HasLabels ¶
func (o *UpdateServerPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateServerPayload) HasMetadata ¶
func (o *UpdateServerPayload) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*UpdateServerPayload) HasName ¶
func (o *UpdateServerPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateServerPayload) MarshalJSON ¶
func (o UpdateServerPayload) MarshalJSON() ([]byte, error)
func (*UpdateServerPayload) SetLabels ¶
func (o *UpdateServerPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateServerPayload) SetMetadata ¶
func (o *UpdateServerPayload) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*UpdateServerPayload) SetName ¶
func (o *UpdateServerPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateServerPayload) ToMap ¶
func (o UpdateServerPayload) ToMap() (map[string]interface{}, error)
type UpdateSnapshotPayload ¶
type UpdateSnapshotPayload struct {
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}
UpdateSnapshotPayload Object that represents an update request body of a snapshot.
func NewUpdateSnapshotPayload ¶
func NewUpdateSnapshotPayload() *UpdateSnapshotPayload
NewUpdateSnapshotPayload instantiates a new UpdateSnapshotPayload 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 NewUpdateSnapshotPayloadWithDefaults ¶
func NewUpdateSnapshotPayloadWithDefaults() *UpdateSnapshotPayload
NewUpdateSnapshotPayloadWithDefaults instantiates a new UpdateSnapshotPayload 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 (*UpdateSnapshotPayload) GetLabels ¶
func (o *UpdateSnapshotPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateSnapshotPayload) GetLabelsOk ¶
func (o *UpdateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSnapshotPayload) GetName ¶
func (o *UpdateSnapshotPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateSnapshotPayload) GetNameOk ¶
func (o *UpdateSnapshotPayload) 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 (*UpdateSnapshotPayload) HasLabels ¶
func (o *UpdateSnapshotPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateSnapshotPayload) HasName ¶
func (o *UpdateSnapshotPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateSnapshotPayload) MarshalJSON ¶
func (o UpdateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*UpdateSnapshotPayload) SetLabels ¶
func (o *UpdateSnapshotPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateSnapshotPayload) SetName ¶
func (o *UpdateSnapshotPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateSnapshotPayload) ToMap ¶
func (o UpdateSnapshotPayload) ToMap() (map[string]interface{}, error)
type UpdateVolumePayload ¶
type UpdateVolumePayload struct {
// Indicates if a volume is bootable.
Bootable *bool `json:"bootable,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}
UpdateVolumePayload Object that represents an update request body of a volume.
func NewUpdateVolumePayload ¶
func NewUpdateVolumePayload() *UpdateVolumePayload
NewUpdateVolumePayload instantiates a new UpdateVolumePayload 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 NewUpdateVolumePayloadWithDefaults ¶
func NewUpdateVolumePayloadWithDefaults() *UpdateVolumePayload
NewUpdateVolumePayloadWithDefaults instantiates a new UpdateVolumePayload 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 (*UpdateVolumePayload) GetBootable ¶
func (o *UpdateVolumePayload) GetBootable() bool
GetBootable returns the Bootable field value if set, zero value otherwise.
func (*UpdateVolumePayload) GetBootableOk ¶
func (o *UpdateVolumePayload) GetBootableOk() (*bool, bool)
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 (*UpdateVolumePayload) GetDescription ¶
func (o *UpdateVolumePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateVolumePayload) GetDescriptionOk ¶
func (o *UpdateVolumePayload) 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 (*UpdateVolumePayload) GetImageConfig ¶
func (o *UpdateVolumePayload) GetImageConfig() ImageConfig
GetImageConfig returns the ImageConfig field value if set, zero value otherwise.
func (*UpdateVolumePayload) GetImageConfigOk ¶
func (o *UpdateVolumePayload) GetImageConfigOk() (*ImageConfig, bool)
GetImageConfigOk returns a tuple with the ImageConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumePayload) GetLabels ¶
func (o *UpdateVolumePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateVolumePayload) GetLabelsOk ¶
func (o *UpdateVolumePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumePayload) GetName ¶
func (o *UpdateVolumePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateVolumePayload) GetNameOk ¶
func (o *UpdateVolumePayload) 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 (*UpdateVolumePayload) HasBootable ¶
func (o *UpdateVolumePayload) HasBootable() bool
HasBootable returns a boolean if a field has been set.
func (*UpdateVolumePayload) HasDescription ¶
func (o *UpdateVolumePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateVolumePayload) HasImageConfig ¶
func (o *UpdateVolumePayload) HasImageConfig() bool
HasImageConfig returns a boolean if a field has been set.
func (*UpdateVolumePayload) HasLabels ¶
func (o *UpdateVolumePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateVolumePayload) HasName ¶
func (o *UpdateVolumePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateVolumePayload) MarshalJSON ¶
func (o UpdateVolumePayload) MarshalJSON() ([]byte, error)
func (*UpdateVolumePayload) SetBootable ¶
func (o *UpdateVolumePayload) SetBootable(v bool)
SetBootable gets a reference to the given bool and assigns it to the Bootable field.
func (*UpdateVolumePayload) SetDescription ¶
func (o *UpdateVolumePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateVolumePayload) SetImageConfig ¶
func (o *UpdateVolumePayload) SetImageConfig(v ImageConfig)
SetImageConfig gets a reference to the given ImageConfig and assigns it to the ImageConfig field.
func (*UpdateVolumePayload) SetLabels ¶
func (o *UpdateVolumePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateVolumePayload) SetName ¶
func (o *UpdateVolumePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateVolumePayload) ToMap ¶
func (o UpdateVolumePayload) ToMap() (map[string]interface{}, error)
type Volume ¶
type Volume struct {
// Object that represents an availability zone.
AvailabilityZone string `json:"availabilityZone"`
// Indicates if a volume is bootable.
Bootable *bool `json:"bootable,omitempty"`
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Indicates if a volume is encrypted.
Encrypted *bool `json:"encrypted,omitempty"`
EncryptionParameters *VolumeEncryptionParameter `json:"encryptionParameters,omitempty"`
// Universally Unique Identifier (UUID).
Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// The name for a General Object. Matches Names and also UUIDs.
PerformanceClass *string `json:"performanceClass,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Universally Unique Identifier (UUID).
ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Size in Gigabyte.
Size *int64 `json:"size,omitempty"`
Source *VolumeSource `json:"source,omitempty"`
// The status of a volume object. Possible values: `ATTACHED`, `ATTACHING`, `AVAILABLE`, `AWAITING-TRANSFER`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `DETACHING`, `DOWNLOADING`, `ERROR`, `ERROR_BACKING-UP`, `ERROR_DELETING`, `ERROR_RESIZING`, `ERROR_RESTORING-BACKUP`, `MAINTENANCE`, `RESERVED`, `RESIZING`, `RESTORING-BACKUP`, `RETYPING`, `UPLOADING`.
Status *string `json:"status,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Volume Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.
func NewVolume ¶
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) GetAvailabilityZone ¶
GetAvailabilityZone returns the AvailabilityZone field value
func (*Volume) GetAvailabilityZoneOk ¶
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value 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) GetEncrypted ¶
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*Volume) GetEncryptedOk ¶
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetEncryptionParameters ¶
func (o *Volume) GetEncryptionParameters() VolumeEncryptionParameter
GetEncryptionParameters returns the EncryptionParameters field value if set, zero value otherwise.
func (*Volume) GetEncryptionParametersOk ¶
func (o *Volume) GetEncryptionParametersOk() (*VolumeEncryptionParameter, bool)
GetEncryptionParametersOk returns a tuple with the EncryptionParameters 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) GetImageConfig ¶
func (o *Volume) GetImageConfig() ImageConfig
GetImageConfig returns the ImageConfig field value if set, zero value otherwise.
func (*Volume) GetImageConfigOk ¶
func (o *Volume) GetImageConfigOk() (*ImageConfig, bool)
GetImageConfigOk returns a tuple with the ImageConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels 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) GetPerformanceClass ¶
GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.
func (*Volume) GetPerformanceClassOk ¶
GetPerformanceClassOk returns a tuple with the PerformanceClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetServerId ¶
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*Volume) GetServerIdOk ¶
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 (*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) GetSource ¶
func (o *Volume) GetSource() VolumeSource
GetSource returns the Source field value if set, zero value otherwise.
func (*Volume) GetSourceOk ¶
func (o *Volume) GetSourceOk() (*VolumeSource, bool)
GetSourceOk returns a tuple with the Source 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) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Volume) 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 (*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) HasEncrypted ¶
HasEncrypted returns a boolean if a field has been set.
func (*Volume) HasEncryptionParameters ¶
HasEncryptionParameters returns a boolean if a field has been set.
func (*Volume) HasImageConfig ¶
HasImageConfig returns a boolean if a field has been set.
func (*Volume) HasPerformanceClass ¶
HasPerformanceClass returns a boolean if a field has been set.
func (*Volume) HasServerId ¶
HasServerId returns a boolean if a field has been set.
func (*Volume) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetAvailabilityZone ¶
SetAvailabilityZone sets field value
func (*Volume) SetBootable ¶
SetBootable gets a reference to the given bool and assigns it to the Bootable field.
func (*Volume) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time 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) SetEncrypted ¶
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*Volume) SetEncryptionParameters ¶
func (o *Volume) SetEncryptionParameters(v VolumeEncryptionParameter)
SetEncryptionParameters gets a reference to the given VolumeEncryptionParameter and assigns it to the EncryptionParameters field.
func (*Volume) SetImageConfig ¶
func (o *Volume) SetImageConfig(v ImageConfig)
SetImageConfig gets a reference to the given ImageConfig and assigns it to the ImageConfig field.
func (*Volume) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Volume) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Volume) SetPerformanceClass ¶
SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.
func (*Volume) SetServerId ¶
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*Volume) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Volume) SetSource ¶
func (o *Volume) SetSource(v VolumeSource)
SetSource gets a reference to the given VolumeSource and assigns it to the Source field.
func (*Volume) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Volume) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Volume) UnmarshalJSON ¶
type VolumeAttachment ¶
type VolumeAttachment struct {
// Delete the volume during the termination of the server. Defaults to false.
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
// Universally Unique Identifier (UUID).
ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Universally Unique Identifier (UUID).
VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
VolumeAttachment Object that represents a Volume attachment to a server.
func NewVolumeAttachment ¶
func NewVolumeAttachment() *VolumeAttachment
NewVolumeAttachment instantiates a new VolumeAttachment 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 NewVolumeAttachmentWithDefaults ¶
func NewVolumeAttachmentWithDefaults() *VolumeAttachment
NewVolumeAttachmentWithDefaults instantiates a new VolumeAttachment 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 (*VolumeAttachment) GetDeleteOnTermination ¶
func (o *VolumeAttachment) GetDeleteOnTermination() bool
GetDeleteOnTermination returns the DeleteOnTermination field value if set, zero value otherwise.
func (*VolumeAttachment) GetDeleteOnTerminationOk ¶
func (o *VolumeAttachment) GetDeleteOnTerminationOk() (*bool, bool)
GetDeleteOnTerminationOk returns a tuple with the DeleteOnTermination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeAttachment) GetServerId ¶
func (o *VolumeAttachment) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*VolumeAttachment) GetServerIdOk ¶
func (o *VolumeAttachment) 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 (*VolumeAttachment) GetVolumeId ¶
func (o *VolumeAttachment) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*VolumeAttachment) GetVolumeIdOk ¶
func (o *VolumeAttachment) 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 (*VolumeAttachment) HasDeleteOnTermination ¶
func (o *VolumeAttachment) HasDeleteOnTermination() bool
HasDeleteOnTermination returns a boolean if a field has been set.
func (*VolumeAttachment) HasServerId ¶
func (o *VolumeAttachment) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*VolumeAttachment) HasVolumeId ¶
func (o *VolumeAttachment) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (VolumeAttachment) MarshalJSON ¶
func (o VolumeAttachment) MarshalJSON() ([]byte, error)
func (*VolumeAttachment) SetDeleteOnTermination ¶
func (o *VolumeAttachment) SetDeleteOnTermination(v bool)
SetDeleteOnTermination gets a reference to the given bool and assigns it to the DeleteOnTermination field.
func (*VolumeAttachment) SetServerId ¶
func (o *VolumeAttachment) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*VolumeAttachment) SetVolumeId ¶
func (o *VolumeAttachment) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (VolumeAttachment) ToMap ¶
func (o VolumeAttachment) ToMap() (map[string]interface{}, error)
type VolumeAttachmentListResponse ¶
type VolumeAttachmentListResponse struct {
// A list containing Volume attachments of a server.
Items []VolumeAttachment `json:"items"`
}
VolumeAttachmentListResponse Volume attachment list response.
func NewVolumeAttachmentListResponse ¶
func NewVolumeAttachmentListResponse(items []VolumeAttachment) *VolumeAttachmentListResponse
NewVolumeAttachmentListResponse instantiates a new VolumeAttachmentListResponse 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 NewVolumeAttachmentListResponseWithDefaults ¶
func NewVolumeAttachmentListResponseWithDefaults() *VolumeAttachmentListResponse
NewVolumeAttachmentListResponseWithDefaults instantiates a new VolumeAttachmentListResponse 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 (*VolumeAttachmentListResponse) GetItems ¶
func (o *VolumeAttachmentListResponse) GetItems() []VolumeAttachment
GetItems returns the Items field value
func (*VolumeAttachmentListResponse) GetItemsOk ¶
func (o *VolumeAttachmentListResponse) GetItemsOk() ([]VolumeAttachment, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (VolumeAttachmentListResponse) MarshalJSON ¶
func (o VolumeAttachmentListResponse) MarshalJSON() ([]byte, error)
func (*VolumeAttachmentListResponse) SetItems ¶
func (o *VolumeAttachmentListResponse) SetItems(v []VolumeAttachment)
SetItems sets field value
func (VolumeAttachmentListResponse) ToMap ¶
func (o VolumeAttachmentListResponse) ToMap() (map[string]interface{}, error)
func (*VolumeAttachmentListResponse) UnmarshalJSON ¶
func (o *VolumeAttachmentListResponse) UnmarshalJSON(data []byte) (err error)
type VolumeEncryptionParameter ¶
type VolumeEncryptionParameter struct {
// UUID of the Key within the STACKIT-KMS to use for the encryption.
KekKeyId string `json:"kekKeyId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Version of the key within the STACKIT-KMS to use for the encryption.
KekKeyVersion int64 `json:"kekKeyVersion"`
// UUID of the keyring where the key is located within the STACKTI-KMS.
KekKeyringId string `json:"kekKeyringId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Id of the project, where the key in the STACKIT-KMS belongs to, in case the key is located in a different project. By default the same project ID is used, like for the volume itself. Defining a key in a different project is only allowed for privileged internal projects.
KekProjectId *string `json:"kekProjectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
KeyPayload *string `json:"keyPayload,omitempty"`
// Service-Account linked to the Key within the STACKIT-KMS.
ServiceAccount string `` /* 142-byte string literal not displayed */
}
VolumeEncryptionParameter Parameter to connect to a key-encryption-key within the STACKIT-KMS to create encrypted volumes. If no key_payload is set, a random passphrase is generated, which will be encrypted against the STACKIT-KMS. These parameter never leave the backend again. So these parameters are not in the responses.
func NewVolumeEncryptionParameter ¶
func NewVolumeEncryptionParameter(kekKeyId string, kekKeyVersion int64, kekKeyringId string, serviceAccount string) *VolumeEncryptionParameter
NewVolumeEncryptionParameter instantiates a new VolumeEncryptionParameter 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 NewVolumeEncryptionParameterWithDefaults ¶
func NewVolumeEncryptionParameterWithDefaults() *VolumeEncryptionParameter
NewVolumeEncryptionParameterWithDefaults instantiates a new VolumeEncryptionParameter 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 (*VolumeEncryptionParameter) GetKekKeyId ¶
func (o *VolumeEncryptionParameter) GetKekKeyId() string
GetKekKeyId returns the KekKeyId field value
func (*VolumeEncryptionParameter) GetKekKeyIdOk ¶
func (o *VolumeEncryptionParameter) GetKekKeyIdOk() (*string, bool)
GetKekKeyIdOk returns a tuple with the KekKeyId field value and a boolean to check if the value has been set.
func (*VolumeEncryptionParameter) GetKekKeyVersion ¶
func (o *VolumeEncryptionParameter) GetKekKeyVersion() int64
GetKekKeyVersion returns the KekKeyVersion field value
func (*VolumeEncryptionParameter) GetKekKeyVersionOk ¶
func (o *VolumeEncryptionParameter) GetKekKeyVersionOk() (*int64, bool)
GetKekKeyVersionOk returns a tuple with the KekKeyVersion field value and a boolean to check if the value has been set.
func (*VolumeEncryptionParameter) GetKekKeyringId ¶
func (o *VolumeEncryptionParameter) GetKekKeyringId() string
GetKekKeyringId returns the KekKeyringId field value
func (*VolumeEncryptionParameter) GetKekKeyringIdOk ¶
func (o *VolumeEncryptionParameter) GetKekKeyringIdOk() (*string, bool)
GetKekKeyringIdOk returns a tuple with the KekKeyringId field value and a boolean to check if the value has been set.
func (*VolumeEncryptionParameter) GetKekProjectId ¶
func (o *VolumeEncryptionParameter) GetKekProjectId() string
GetKekProjectId returns the KekProjectId field value if set, zero value otherwise.
func (*VolumeEncryptionParameter) GetKekProjectIdOk ¶
func (o *VolumeEncryptionParameter) GetKekProjectIdOk() (*string, bool)
GetKekProjectIdOk returns a tuple with the KekProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeEncryptionParameter) GetKeyPayload ¶
func (o *VolumeEncryptionParameter) GetKeyPayload() string
GetKeyPayload returns the KeyPayload field value if set, zero value otherwise.
func (*VolumeEncryptionParameter) GetKeyPayloadOk ¶
func (o *VolumeEncryptionParameter) GetKeyPayloadOk() (*string, bool)
GetKeyPayloadOk returns a tuple with the KeyPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeEncryptionParameter) GetServiceAccount ¶
func (o *VolumeEncryptionParameter) GetServiceAccount() string
GetServiceAccount returns the ServiceAccount field value
func (*VolumeEncryptionParameter) GetServiceAccountOk ¶
func (o *VolumeEncryptionParameter) GetServiceAccountOk() (*string, bool)
GetServiceAccountOk returns a tuple with the ServiceAccount field value and a boolean to check if the value has been set.
func (*VolumeEncryptionParameter) HasKekProjectId ¶
func (o *VolumeEncryptionParameter) HasKekProjectId() bool
HasKekProjectId returns a boolean if a field has been set.
func (*VolumeEncryptionParameter) HasKeyPayload ¶
func (o *VolumeEncryptionParameter) HasKeyPayload() bool
HasKeyPayload returns a boolean if a field has been set.
func (VolumeEncryptionParameter) MarshalJSON ¶
func (o VolumeEncryptionParameter) MarshalJSON() ([]byte, error)
func (*VolumeEncryptionParameter) SetKekKeyId ¶
func (o *VolumeEncryptionParameter) SetKekKeyId(v string)
SetKekKeyId sets field value
func (*VolumeEncryptionParameter) SetKekKeyVersion ¶
func (o *VolumeEncryptionParameter) SetKekKeyVersion(v int64)
SetKekKeyVersion sets field value
func (*VolumeEncryptionParameter) SetKekKeyringId ¶
func (o *VolumeEncryptionParameter) SetKekKeyringId(v string)
SetKekKeyringId sets field value
func (*VolumeEncryptionParameter) SetKekProjectId ¶
func (o *VolumeEncryptionParameter) SetKekProjectId(v string)
SetKekProjectId gets a reference to the given string and assigns it to the KekProjectId field.
func (*VolumeEncryptionParameter) SetKeyPayload ¶
func (o *VolumeEncryptionParameter) SetKeyPayload(v string)
SetKeyPayload gets a reference to the given string and assigns it to the KeyPayload field.
func (*VolumeEncryptionParameter) SetServiceAccount ¶
func (o *VolumeEncryptionParameter) SetServiceAccount(v string)
SetServiceAccount sets field value
func (VolumeEncryptionParameter) ToMap ¶
func (o VolumeEncryptionParameter) ToMap() (map[string]interface{}, error)
func (*VolumeEncryptionParameter) UnmarshalJSON ¶
func (o *VolumeEncryptionParameter) UnmarshalJSON(data []byte) (err error)
type VolumeListResponse ¶
type VolumeListResponse struct {
// A list containing volume objects.
Items []Volume `json:"items"`
}
VolumeListResponse Volume list response.
func NewVolumeListResponse ¶
func NewVolumeListResponse(items []Volume) *VolumeListResponse
NewVolumeListResponse instantiates a new VolumeListResponse 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 NewVolumeListResponseWithDefaults ¶
func NewVolumeListResponseWithDefaults() *VolumeListResponse
NewVolumeListResponseWithDefaults instantiates a new VolumeListResponse 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 (*VolumeListResponse) GetItems ¶
func (o *VolumeListResponse) GetItems() []Volume
GetItems returns the Items field value
func (*VolumeListResponse) GetItemsOk ¶
func (o *VolumeListResponse) GetItemsOk() ([]Volume, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (VolumeListResponse) MarshalJSON ¶
func (o VolumeListResponse) MarshalJSON() ([]byte, error)
func (*VolumeListResponse) SetItems ¶
func (o *VolumeListResponse) SetItems(v []Volume)
SetItems sets field value
func (VolumeListResponse) ToMap ¶
func (o VolumeListResponse) ToMap() (map[string]interface{}, error)
func (*VolumeListResponse) UnmarshalJSON ¶
func (o *VolumeListResponse) UnmarshalJSON(data []byte) (err error)
type VolumePerformanceClass ¶
type VolumePerformanceClass struct {
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// Input/Output Operations per second.
Iops *int64 `json:"iops,omitempty"`
// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels map[string]interface{} `json:"labels,omitempty"`
// The name for a General Object. Matches Names and also UUIDs.
Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
// Throughput in Megabyte per second.
Throughput *int64 `json:"throughput,omitempty"`
}
VolumePerformanceClass Object that represents a Volume performance class.
func NewVolumePerformanceClass ¶
func NewVolumePerformanceClass(name string) *VolumePerformanceClass
NewVolumePerformanceClass instantiates a new VolumePerformanceClass 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 NewVolumePerformanceClassWithDefaults ¶
func NewVolumePerformanceClassWithDefaults() *VolumePerformanceClass
NewVolumePerformanceClassWithDefaults instantiates a new VolumePerformanceClass 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 (*VolumePerformanceClass) GetDescription ¶
func (o *VolumePerformanceClass) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VolumePerformanceClass) GetDescriptionOk ¶
func (o *VolumePerformanceClass) 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 (*VolumePerformanceClass) GetIops ¶
func (o *VolumePerformanceClass) GetIops() int64
GetIops returns the Iops field value if set, zero value otherwise.
func (*VolumePerformanceClass) GetIopsOk ¶
func (o *VolumePerformanceClass) GetIopsOk() (*int64, bool)
GetIopsOk returns a tuple with the Iops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumePerformanceClass) GetLabels ¶
func (o *VolumePerformanceClass) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*VolumePerformanceClass) GetLabelsOk ¶
func (o *VolumePerformanceClass) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumePerformanceClass) GetName ¶
func (o *VolumePerformanceClass) GetName() string
GetName returns the Name field value
func (*VolumePerformanceClass) GetNameOk ¶
func (o *VolumePerformanceClass) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*VolumePerformanceClass) GetThroughput ¶
func (o *VolumePerformanceClass) GetThroughput() int64
GetThroughput returns the Throughput field value if set, zero value otherwise.
func (*VolumePerformanceClass) GetThroughputOk ¶
func (o *VolumePerformanceClass) 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 (*VolumePerformanceClass) HasDescription ¶
func (o *VolumePerformanceClass) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VolumePerformanceClass) HasIops ¶
func (o *VolumePerformanceClass) HasIops() bool
HasIops returns a boolean if a field has been set.
func (*VolumePerformanceClass) HasLabels ¶
func (o *VolumePerformanceClass) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*VolumePerformanceClass) HasThroughput ¶
func (o *VolumePerformanceClass) HasThroughput() bool
HasThroughput returns a boolean if a field has been set.
func (VolumePerformanceClass) MarshalJSON ¶
func (o VolumePerformanceClass) MarshalJSON() ([]byte, error)
func (*VolumePerformanceClass) SetDescription ¶
func (o *VolumePerformanceClass) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VolumePerformanceClass) SetIops ¶
func (o *VolumePerformanceClass) SetIops(v int64)
SetIops gets a reference to the given int64 and assigns it to the Iops field.
func (*VolumePerformanceClass) SetLabels ¶
func (o *VolumePerformanceClass) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*VolumePerformanceClass) SetName ¶
func (o *VolumePerformanceClass) SetName(v string)
SetName sets field value
func (*VolumePerformanceClass) SetThroughput ¶
func (o *VolumePerformanceClass) SetThroughput(v int64)
SetThroughput gets a reference to the given int64 and assigns it to the Throughput field.
func (VolumePerformanceClass) ToMap ¶
func (o VolumePerformanceClass) ToMap() (map[string]interface{}, error)
func (*VolumePerformanceClass) UnmarshalJSON ¶
func (o *VolumePerformanceClass) UnmarshalJSON(data []byte) (err error)
type VolumePerformanceClassListResponse ¶
type VolumePerformanceClassListResponse struct {
// A list containing Volume performance classes.
Items []VolumePerformanceClass `json:"items"`
}
VolumePerformanceClassListResponse Volume performance class list response.
func NewVolumePerformanceClassListResponse ¶
func NewVolumePerformanceClassListResponse(items []VolumePerformanceClass) *VolumePerformanceClassListResponse
NewVolumePerformanceClassListResponse instantiates a new VolumePerformanceClassListResponse 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 NewVolumePerformanceClassListResponseWithDefaults ¶
func NewVolumePerformanceClassListResponseWithDefaults() *VolumePerformanceClassListResponse
NewVolumePerformanceClassListResponseWithDefaults instantiates a new VolumePerformanceClassListResponse 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 (*VolumePerformanceClassListResponse) GetItems ¶
func (o *VolumePerformanceClassListResponse) GetItems() []VolumePerformanceClass
GetItems returns the Items field value
func (*VolumePerformanceClassListResponse) GetItemsOk ¶
func (o *VolumePerformanceClassListResponse) GetItemsOk() ([]VolumePerformanceClass, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (VolumePerformanceClassListResponse) MarshalJSON ¶
func (o VolumePerformanceClassListResponse) MarshalJSON() ([]byte, error)
func (*VolumePerformanceClassListResponse) SetItems ¶
func (o *VolumePerformanceClassListResponse) SetItems(v []VolumePerformanceClass)
SetItems sets field value
func (VolumePerformanceClassListResponse) ToMap ¶
func (o VolumePerformanceClassListResponse) ToMap() (map[string]interface{}, error)
func (*VolumePerformanceClassListResponse) UnmarshalJSON ¶
func (o *VolumePerformanceClassListResponse) UnmarshalJSON(data []byte) (err error)
type VolumeSource ¶
type VolumeSource struct {
// Universally Unique Identifier (UUID).
Id string `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
// The source types of a volume. Possible values: `image`, `volume`, `snapshot`, `backup`.
Type string `json:"type"`
}
VolumeSource The source object of a volume.
func NewVolumeSource ¶
func NewVolumeSource(id string, types string) *VolumeSource
NewVolumeSource instantiates a new VolumeSource 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 NewVolumeSourceWithDefaults ¶
func NewVolumeSourceWithDefaults() *VolumeSource
NewVolumeSourceWithDefaults instantiates a new VolumeSource 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 (*VolumeSource) GetIdOk ¶
func (o *VolumeSource) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*VolumeSource) GetType ¶
func (o *VolumeSource) GetType() string
GetType returns the Type field value
func (*VolumeSource) GetTypeOk ¶
func (o *VolumeSource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (VolumeSource) MarshalJSON ¶
func (o VolumeSource) MarshalJSON() ([]byte, error)
func (VolumeSource) ToMap ¶
func (o VolumeSource) ToMap() (map[string]interface{}, error)
func (*VolumeSource) UnmarshalJSON ¶
func (o *VolumeSource) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_add_volume_to_server_payload.go
- model_affinity_group.go
- model_affinity_group_list_response.go
- model_allowed_addresses_inner.go
- model_area.go
- model_area_config.go
- model_area_id.go
- model_area_prefix_config_ipv4.go
- model_availability_zone_list_response.go
- model_backup.go
- model_backup_list_response.go
- model_backup_source.go
- model_base_security_group_rule.go
- model_boot_volume.go
- model_boot_volume_source.go
- model_create_affinity_group_payload.go
- model_create_area_address_family.go
- model_create_area_ipv4.go
- model_create_backup_payload.go
- model_create_image_payload.go
- model_create_key_pair_payload.go
- model_create_network_address_family.go
- model_create_network_area_payload.go
- model_create_network_area_range_payload.go
- model_create_network_area_route_payload.go
- model_create_network_ipv4_body.go
- model_create_network_ipv6_body.go
- model_create_network_payload.go
- model_create_nic_payload.go
- model_create_protocol.go
- model_create_public_ip_payload.go
- model_create_security_group_payload.go
- model_create_security_group_rule_payload.go
- model_create_security_group_rule_protocol.go
- model_create_server_networking.go
- model_create_server_networking_with_nics.go
- model_create_server_payload.go
- model_create_server_payload_networking.go
- model_create_snapshot_payload.go
- model_create_volume_payload.go
- model_error.go
- model_get_server_log_200_response.go
- model_icmp_parameters.go
- model_image.go
- model_image_agent.go
- model_image_checksum.go
- model_image_config.go
- model_image_create_response.go
- model_image_list_response.go
- model_image_share.go
- model_image_share_consumer.go
- model_key_pair_list_response.go
- model_keypair.go
- model_machine_type.go
- model_machine_type_list_response.go
- model_network.go
- model_network_area.go
- model_network_area_ipv4.go
- model_network_area_list_response.go
- model_network_list_response.go
- model_network_range.go
- model_network_range_list_response.go
- model_nic.go
- model_nic_list_response.go
- model_partial_update_network_area_payload.go
- model_partial_update_network_payload.go
- model_port_range.go
- model_project.go
- model_project_list_response.go
- model_protocol.go
- model_public_ip.go
- model_public_ip_list_response.go
- model_public_network.go
- model_public_network_list_response.go
- model_quota.go
- model_quota_list.go
- model_quota_list_response.go
- model_request.go
- model_request_resource.go
- model_rescue_server_payload.go
- model_resize_server_payload.go
- model_resize_volume_payload.go
- model_route.go
- model_route_list_response.go
- model_security_group.go
- model_security_group_list_response.go
- model_security_group_rule.go
- model_security_group_rule_list_response.go
- model_security_group_rule_protocol.go
- model_server.go
- model_server_agent.go
- model_server_console_url.go
- model_server_list_response.go
- model_server_maintenance.go
- model_server_network.go
- model_server_networking.go
- model_service_account_mail_list_response.go
- model_set_image_share_payload.go
- model_snapshot.go
- model_snapshot_list_response.go
- model_static_area_id.go
- model_update_area_address_family.go
- model_update_area_ipv4.go
- model_update_attached_volume_payload.go
- model_update_backup_payload.go
- model_update_image_payload.go
- model_update_image_share_payload.go
- model_update_key_pair_payload.go
- model_update_network_address_family.go
- model_update_network_area_route_payload.go
- model_update_network_ipv4_body.go
- model_update_network_ipv6_body.go
- model_update_nic_payload.go
- model_update_public_ip_payload.go
- model_update_security_group_payload.go
- model_update_server_payload.go
- model_update_snapshot_payload.go
- model_update_volume_payload.go
- model_volume.go
- model_volume_attachment.go
- model_volume_attachment_list_response.go
- model_volume_encryption_parameter.go
- model_volume_list_response.go
- model_volume_performance_class.go
- model_volume_performance_class_list_response.go
- model_volume_source.go
- response.go
- utils.go