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 AddRoutesToRoutingTablePayload
- func (o *AddRoutesToRoutingTablePayload) GetItems() []Route
- func (o *AddRoutesToRoutingTablePayload) GetItemsOk() ([]Route, bool)
- func (o AddRoutesToRoutingTablePayload) MarshalJSON() ([]byte, error)
- func (o *AddRoutesToRoutingTablePayload) SetItems(v []Route)
- func (o AddRoutesToRoutingTablePayload) ToMap() (map[string]interface{}, error)
- func (o *AddRoutesToRoutingTablePayload) UnmarshalJSON(data []byte) (err error)
- type AddRoutingTableToAreaPayload
- func (o *AddRoutingTableToAreaPayload) GetCreatedAt() time.Time
- func (o *AddRoutingTableToAreaPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *AddRoutingTableToAreaPayload) GetDefault() bool
- func (o *AddRoutingTableToAreaPayload) GetDefaultOk() (*bool, bool)
- func (o *AddRoutingTableToAreaPayload) GetDescription() string
- func (o *AddRoutingTableToAreaPayload) GetDescriptionOk() (*string, bool)
- func (o *AddRoutingTableToAreaPayload) GetDynamicRoutes() bool
- func (o *AddRoutingTableToAreaPayload) GetDynamicRoutesOk() (*bool, bool)
- func (o *AddRoutingTableToAreaPayload) GetId() string
- func (o *AddRoutingTableToAreaPayload) GetIdOk() (*string, bool)
- func (o *AddRoutingTableToAreaPayload) GetLabels() map[string]interface{}
- func (o *AddRoutingTableToAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *AddRoutingTableToAreaPayload) GetName() string
- func (o *AddRoutingTableToAreaPayload) GetNameOk() (*string, bool)
- func (o *AddRoutingTableToAreaPayload) GetSystemRoutes() bool
- func (o *AddRoutingTableToAreaPayload) GetSystemRoutesOk() (*bool, bool)
- func (o *AddRoutingTableToAreaPayload) GetUpdatedAt() time.Time
- func (o *AddRoutingTableToAreaPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AddRoutingTableToAreaPayload) HasCreatedAt() bool
- func (o *AddRoutingTableToAreaPayload) HasDefault() bool
- func (o *AddRoutingTableToAreaPayload) HasDescription() bool
- func (o *AddRoutingTableToAreaPayload) HasDynamicRoutes() bool
- func (o *AddRoutingTableToAreaPayload) HasId() bool
- func (o *AddRoutingTableToAreaPayload) HasLabels() bool
- func (o *AddRoutingTableToAreaPayload) HasSystemRoutes() bool
- func (o *AddRoutingTableToAreaPayload) HasUpdatedAt() bool
- func (o AddRoutingTableToAreaPayload) MarshalJSON() ([]byte, error)
- func (o *AddRoutingTableToAreaPayload) SetCreatedAt(v time.Time)
- func (o *AddRoutingTableToAreaPayload) SetDefault(v bool)
- func (o *AddRoutingTableToAreaPayload) SetDescription(v string)
- func (o *AddRoutingTableToAreaPayload) SetDynamicRoutes(v bool)
- func (o *AddRoutingTableToAreaPayload) SetId(v string)
- func (o *AddRoutingTableToAreaPayload) SetLabels(v map[string]interface{})
- func (o *AddRoutingTableToAreaPayload) SetName(v string)
- func (o *AddRoutingTableToAreaPayload) SetSystemRoutes(v bool)
- func (o *AddRoutingTableToAreaPayload) SetUpdatedAt(v time.Time)
- func (o AddRoutingTableToAreaPayload) ToMap() (map[string]interface{}, error)
- func (o *AddRoutingTableToAreaPayload) UnmarshalJSON(data []byte) (err error)
- 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 ApiAddRoutesToRoutingTableRequest
- type ApiAddRoutingTableToAreaRequest
- type ApiAddSecurityGroupToServerRequest
- type ApiAddServiceAccountToServerRequest
- type ApiAddVolumeToServerRequest
- type ApiCreateAffinityGroupRequest
- type ApiCreateBackupRequest
- type ApiCreateImageRequest
- type ApiCreateIsolatedNetworkRequest
- type ApiCreateKeyPairRequest
- type ApiCreateNetworkAreaRangeRequest
- type ApiCreateNetworkAreaRequest
- type ApiCreateNetworkAreaRouteRequest
- type ApiCreateNetworkRequest
- type ApiCreateNicRequest
- type ApiCreatePublicIPRequest
- type ApiCreateSecurityGroupRequest
- type ApiCreateSecurityGroupRuleRequest
- type ApiCreateServerRequest
- 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 ApiDeleteRouteFromRoutingTableRequest
- type ApiDeleteRoutingTableFromAreaRequest
- type ApiDeleteSecurityGroupRequest
- type ApiDeleteSecurityGroupRuleRequest
- type ApiDeleteServerRequest
- 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 ApiGetRouteOfRoutingTableRequest
- type ApiGetRoutingTableOfAreaRequest
- type ApiGetSecurityGroupRequest
- type ApiGetSecurityGroupRuleRequest
- type ApiGetServerConsoleRequest
- type ApiGetServerLogRequest
- type ApiGetServerRequest
- 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 ApiListRoutesOfRoutingTableRequest
- type ApiListRoutingTablesOfAreaRequest
- type ApiListSecurityGroupRulesRequest
- type ApiListSecurityGroupsRequest
- type ApiListServerNICsRequest
- type ApiListServerServiceAccountsRequest
- type ApiListServersRequest
- 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 ApiUpdateImageRequest
- type ApiUpdateImageShareRequest
- type ApiUpdateKeyPairRequest
- type ApiUpdateNicRequest
- type ApiUpdatePublicIPRequest
- type ApiUpdateRouteOfRoutingTableRequest
- type ApiUpdateRoutingTableOfAreaRequest
- type ApiUpdateServerRequest
- type ApiUpdateVolumeRequest
- type ApiV2beta1ConfigureNetworkAreaRegionRequest
- type ApiV2beta1CreateSnapshotRequest
- type ApiV2beta1DeleteNetworkAreaRegionRequest
- type ApiV2beta1DeleteSnapshotRequest
- type ApiV2beta1GetAreaRegionRequest
- type ApiV2beta1GetSnapshotRequest
- type ApiV2beta1ListAreaRegionsRequest
- type ApiV2beta1ListSnapshotsInProjectRequest
- type ApiV2beta1UpdateBackupRequest
- type ApiV2beta1UpdateNetworkAreaRegionRequest
- type ApiV2beta1UpdateRouteOfAreaRequest
- type ApiV2beta1UpdateSecurityGroupRequest
- type ApiV2beta1UpdateSnapshotRequest
- type AreaId
- 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 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 CreateIsolatedNetworkPayload
- func (o *CreateIsolatedNetworkPayload) GetDhcp() bool
- func (o *CreateIsolatedNetworkPayload) GetDhcpOk() (*bool, bool)
- func (o *CreateIsolatedNetworkPayload) GetIpv4() CreateNetworkIPv4
- func (o *CreateIsolatedNetworkPayload) GetIpv4Ok() (*CreateNetworkIPv4, bool)
- func (o *CreateIsolatedNetworkPayload) GetLabels() map[string]interface{}
- func (o *CreateIsolatedNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateIsolatedNetworkPayload) GetName() string
- func (o *CreateIsolatedNetworkPayload) GetNameOk() (*string, bool)
- func (o *CreateIsolatedNetworkPayload) HasDhcp() bool
- func (o *CreateIsolatedNetworkPayload) HasIpv4() bool
- func (o *CreateIsolatedNetworkPayload) HasLabels() bool
- func (o CreateIsolatedNetworkPayload) MarshalJSON() ([]byte, error)
- func (o *CreateIsolatedNetworkPayload) SetDhcp(v bool)
- func (o *CreateIsolatedNetworkPayload) SetIpv4(v CreateNetworkIPv4)
- func (o *CreateIsolatedNetworkPayload) SetLabels(v map[string]interface{})
- func (o *CreateIsolatedNetworkPayload) SetName(v string)
- func (o CreateIsolatedNetworkPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateIsolatedNetworkPayload) 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 CreateNetworkAreaPayload
- 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) 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) GetItems() []Route
- func (o *CreateNetworkAreaRoutePayload) GetItemsOk() ([]Route, bool)
- func (o CreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkAreaRoutePayload) SetItems(v []Route)
- func (o CreateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkAreaRoutePayload) UnmarshalJSON(data []byte) (err error)
- type CreateNetworkIPv4
- type CreateNetworkIPv4WithPrefix
- func (o *CreateNetworkIPv4WithPrefix) GetGateway() string
- func (o *CreateNetworkIPv4WithPrefix) GetGatewayOk() (*string, bool)
- func (o *CreateNetworkIPv4WithPrefix) GetNameservers() []string
- func (o *CreateNetworkIPv4WithPrefix) GetNameserversOk() ([]string, bool)
- func (o *CreateNetworkIPv4WithPrefix) GetPrefix() string
- func (o *CreateNetworkIPv4WithPrefix) GetPrefixOk() (*string, bool)
- func (o *CreateNetworkIPv4WithPrefix) HasGateway() bool
- func (o *CreateNetworkIPv4WithPrefix) HasNameservers() bool
- func (o CreateNetworkIPv4WithPrefix) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkIPv4WithPrefix) SetGateway(v string)
- func (o *CreateNetworkIPv4WithPrefix) SetGatewayNil()
- func (o *CreateNetworkIPv4WithPrefix) SetNameservers(v []string)
- func (o *CreateNetworkIPv4WithPrefix) SetPrefix(v string)
- func (o CreateNetworkIPv4WithPrefix) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkIPv4WithPrefix) UnmarshalJSON(data []byte) (err error)
- func (o *CreateNetworkIPv4WithPrefix) UnsetGateway()
- type CreateNetworkIPv4WithPrefixLength
- func (o *CreateNetworkIPv4WithPrefixLength) GetNameservers() []string
- func (o *CreateNetworkIPv4WithPrefixLength) GetNameserversOk() ([]string, bool)
- func (o *CreateNetworkIPv4WithPrefixLength) GetPrefixLength() int64
- func (o *CreateNetworkIPv4WithPrefixLength) GetPrefixLengthOk() (*int64, bool)
- func (o *CreateNetworkIPv4WithPrefixLength) HasNameservers() bool
- func (o CreateNetworkIPv4WithPrefixLength) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkIPv4WithPrefixLength) SetNameservers(v []string)
- func (o *CreateNetworkIPv4WithPrefixLength) SetPrefixLength(v int64)
- func (o CreateNetworkIPv4WithPrefixLength) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkIPv4WithPrefixLength) UnmarshalJSON(data []byte) (err error)
- type CreateNetworkIPv6
- type CreateNetworkIPv6WithPrefix
- func (o *CreateNetworkIPv6WithPrefix) GetGateway() string
- func (o *CreateNetworkIPv6WithPrefix) GetGatewayOk() (*string, bool)
- func (o *CreateNetworkIPv6WithPrefix) GetNameservers() []string
- func (o *CreateNetworkIPv6WithPrefix) GetNameserversOk() ([]string, bool)
- func (o *CreateNetworkIPv6WithPrefix) GetPrefix() string
- func (o *CreateNetworkIPv6WithPrefix) GetPrefixOk() (*string, bool)
- func (o *CreateNetworkIPv6WithPrefix) HasGateway() bool
- func (o *CreateNetworkIPv6WithPrefix) HasNameservers() bool
- func (o CreateNetworkIPv6WithPrefix) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkIPv6WithPrefix) SetGateway(v string)
- func (o *CreateNetworkIPv6WithPrefix) SetGatewayNil()
- func (o *CreateNetworkIPv6WithPrefix) SetNameservers(v []string)
- func (o *CreateNetworkIPv6WithPrefix) SetPrefix(v string)
- func (o CreateNetworkIPv6WithPrefix) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkIPv6WithPrefix) UnmarshalJSON(data []byte) (err error)
- func (o *CreateNetworkIPv6WithPrefix) UnsetGateway()
- type CreateNetworkIPv6WithPrefixLength
- func (o *CreateNetworkIPv6WithPrefixLength) GetNameservers() []string
- func (o *CreateNetworkIPv6WithPrefixLength) GetNameserversOk() ([]string, bool)
- func (o *CreateNetworkIPv6WithPrefixLength) GetPrefixLength() int64
- func (o *CreateNetworkIPv6WithPrefixLength) GetPrefixLengthOk() (*int64, bool)
- func (o *CreateNetworkIPv6WithPrefixLength) HasNameservers() bool
- func (o CreateNetworkIPv6WithPrefixLength) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkIPv6WithPrefixLength) SetNameservers(v []string)
- func (o *CreateNetworkIPv6WithPrefixLength) SetPrefixLength(v int64)
- func (o CreateNetworkIPv6WithPrefixLength) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkIPv6WithPrefixLength) UnmarshalJSON(data []byte) (err error)
- type CreateNetworkPayload
- func (o *CreateNetworkPayload) GetDhcp() bool
- func (o *CreateNetworkPayload) GetDhcpOk() (*bool, bool)
- func (o *CreateNetworkPayload) GetIpv4() CreateNetworkIPv4
- func (o *CreateNetworkPayload) GetIpv4Ok() (*CreateNetworkIPv4, bool)
- func (o *CreateNetworkPayload) GetIpv6() CreateNetworkIPv6
- func (o *CreateNetworkPayload) GetIpv6Ok() (*CreateNetworkIPv6, 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) GetRoutingTableId() string
- func (o *CreateNetworkPayload) GetRoutingTableIdOk() (*string, bool)
- func (o *CreateNetworkPayload) HasDhcp() bool
- func (o *CreateNetworkPayload) HasIpv4() bool
- func (o *CreateNetworkPayload) HasIpv6() bool
- func (o *CreateNetworkPayload) HasLabels() bool
- func (o *CreateNetworkPayload) HasRouted() bool
- func (o *CreateNetworkPayload) HasRoutingTableId() bool
- func (o CreateNetworkPayload) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkPayload) SetDhcp(v bool)
- func (o *CreateNetworkPayload) SetIpv4(v CreateNetworkIPv4)
- func (o *CreateNetworkPayload) SetIpv6(v CreateNetworkIPv6)
- func (o *CreateNetworkPayload) SetLabels(v map[string]interface{})
- func (o *CreateNetworkPayload) SetName(v string)
- func (o *CreateNetworkPayload) SetRouted(v bool)
- func (o *CreateNetworkPayload) SetRoutingTableId(v string)
- 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() CreateServerPayloadAllOfNetworking
- func (o *CreateServerPayload) GetNetworkingOk() (*CreateServerPayloadAllOfNetworking, 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) 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 CreateServerPayloadAllOfNetworking)
- 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 CreateServerPayloadAllOfNetworking
- func (obj *CreateServerPayloadAllOfNetworking) GetActualInstance() interface{}
- func (obj CreateServerPayloadAllOfNetworking) GetActualInstanceValue() interface{}
- func (src CreateServerPayloadAllOfNetworking) MarshalJSON() ([]byte, error)
- func (dst *CreateServerPayloadAllOfNetworking) UnmarshalJSON(data []byte) 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, region string, serverId string, ...) ApiAddNetworkToServerRequest
- func (a *DefaultAPIService) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
- func (a *DefaultAPIService) AddNicToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddNicToServerRequest
- func (a *DefaultAPIService) AddNicToServerExecute(r ApiAddNicToServerRequest) error
- func (a *DefaultAPIService) AddPublicIpToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddPublicIpToServerRequest
- func (a *DefaultAPIService) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
- func (a *DefaultAPIService) AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiAddRoutesToRoutingTableRequest
- func (a *DefaultAPIService) AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
- func (a *DefaultAPIService) AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest
- func (a *DefaultAPIService) AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)
- func (a *DefaultAPIService) AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddSecurityGroupToServerRequest
- func (a *DefaultAPIService) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
- func (a *DefaultAPIService) AddServiceAccountToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddServiceAccountToServerRequest
- func (a *DefaultAPIService) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
- func (a *DefaultAPIService) AddVolumeToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddVolumeToServerRequest
- func (a *DefaultAPIService) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
- func (a *DefaultAPIService) CreateAffinityGroup(ctx context.Context, projectId string, region string) ApiCreateAffinityGroupRequest
- func (a *DefaultAPIService) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
- func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string, region string) ApiCreateBackupRequest
- func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) CreateImage(ctx context.Context, projectId string, region string) ApiCreateImageRequest
- func (a *DefaultAPIService) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
- func (a *DefaultAPIService) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest
- func (a *DefaultAPIService) CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, 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, region 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, region string) ApiCreateNetworkAreaRangeRequest
- func (a *DefaultAPIService) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
- func (a *DefaultAPIService) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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, region string, networkId string) ApiCreateNicRequest
- func (a *DefaultAPIService) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
- func (a *DefaultAPIService) CreatePublicIP(ctx context.Context, projectId string, region string) ApiCreatePublicIPRequest
- func (a *DefaultAPIService) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
- func (a *DefaultAPIService) CreateSecurityGroup(ctx context.Context, projectId string, region string) ApiCreateSecurityGroupRequest
- func (a *DefaultAPIService) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
- func (a *DefaultAPIService) CreateSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
- func (a *DefaultAPIService) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
- func (a *DefaultAPIService) CreateServer(ctx context.Context, projectId string, region string) ApiCreateServerRequest
- func (a *DefaultAPIService) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
- func (a *DefaultAPIService) CreateVolume(ctx context.Context, projectId string, region string) ApiCreateVolumeRequest
- func (a *DefaultAPIService) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
- func (a *DefaultAPIService) DeallocateServer(ctx context.Context, projectId string, region string, serverId string) ApiDeallocateServerRequest
- func (a *DefaultAPIService) DeallocateServerExecute(r ApiDeallocateServerRequest) error
- func (a *DefaultAPIService) DeleteAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest
- func (a *DefaultAPIService) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
- func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, region string, backupId string) ApiDeleteBackupRequest
- func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error
- func (a *DefaultAPIService) DeleteImage(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageRequest
- func (a *DefaultAPIService) DeleteImageExecute(r ApiDeleteImageRequest) error
- func (a *DefaultAPIService) DeleteImageShare(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageShareRequest
- func (a *DefaultAPIService) DeleteImageShareConsumer(ctx context.Context, projectId string, region 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, region 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, region string, ...) ApiDeleteNetworkAreaRangeRequest
- func (a *DefaultAPIService) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
- func (a *DefaultAPIService) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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, region string, networkId string, ...) ApiDeleteNicRequest
- func (a *DefaultAPIService) DeleteNicExecute(r ApiDeleteNicRequest) error
- func (a *DefaultAPIService) DeletePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiDeletePublicIPRequest
- func (a *DefaultAPIService) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
- func (a *DefaultAPIService) DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiDeleteRouteFromRoutingTableRequest
- func (a *DefaultAPIService) DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error
- func (a *DefaultAPIService) DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiDeleteRoutingTableFromAreaRequest
- func (a *DefaultAPIService) DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error
- func (a *DefaultAPIService) DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest
- func (a *DefaultAPIService) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
- func (a *DefaultAPIService) DeleteSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, ...) ApiDeleteSecurityGroupRuleRequest
- func (a *DefaultAPIService) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
- func (a *DefaultAPIService) DeleteServer(ctx context.Context, projectId string, region string, serverId string) ApiDeleteServerRequest
- func (a *DefaultAPIService) DeleteServerExecute(r ApiDeleteServerRequest) error
- func (a *DefaultAPIService) DeleteVolume(ctx context.Context, projectId string, region string, volumeId string) ApiDeleteVolumeRequest
- func (a *DefaultAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
- func (a *DefaultAPIService) GetAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiGetAffinityGroupRequest
- func (a *DefaultAPIService) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
- func (a *DefaultAPIService) GetAttachedVolume(ctx context.Context, projectId string, region string, serverId string, ...) ApiGetAttachedVolumeRequest
- func (a *DefaultAPIService) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
- func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, region string, backupId string) ApiGetBackupRequest
- func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) GetImage(ctx context.Context, projectId string, region string, imageId string) ApiGetImageRequest
- func (a *DefaultAPIService) GetImageExecute(r ApiGetImageRequest) (*Image, error)
- func (a *DefaultAPIService) GetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiGetImageShareRequest
- func (a *DefaultAPIService) GetImageShareConsumer(ctx context.Context, projectId string, region 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, region string, machineType string) ApiGetMachineTypeRequest
- func (a *DefaultAPIService) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
- func (a *DefaultAPIService) GetNetwork(ctx context.Context, projectId string, region 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, region string, ...) ApiGetNetworkAreaRangeRequest
- func (a *DefaultAPIService) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
- func (a *DefaultAPIService) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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, region string, networkId 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, region string, nicId string) ApiGetProjectNICRequest
- func (a *DefaultAPIService) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
- func (a *DefaultAPIService) GetProjectRequest(ctx context.Context, projectId string, region string, requestId string) ApiGetProjectRequestRequest
- func (a *DefaultAPIService) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
- func (a *DefaultAPIService) GetPublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiGetPublicIPRequest
- func (a *DefaultAPIService) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
- func (a *DefaultAPIService) GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiGetRouteOfRoutingTableRequest
- func (a *DefaultAPIService) GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
- func (a *DefaultAPIService) GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiGetRoutingTableOfAreaRequest
- func (a *DefaultAPIService) GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)
- func (a *DefaultAPIService) GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest
- func (a *DefaultAPIService) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
- func (a *DefaultAPIService) GetSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, ...) ApiGetSecurityGroupRuleRequest
- func (a *DefaultAPIService) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
- func (a *DefaultAPIService) GetServer(ctx context.Context, projectId string, region string, serverId string) ApiGetServerRequest
- func (a *DefaultAPIService) GetServerConsole(ctx context.Context, projectId string, region 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, region string, serverId string) ApiGetServerLogRequest
- func (a *DefaultAPIService) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
- func (a *DefaultAPIService) GetVolume(ctx context.Context, projectId string, region string, volumeId string) ApiGetVolumeRequest
- func (a *DefaultAPIService) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
- func (a *DefaultAPIService) GetVolumePerformanceClass(ctx context.Context, projectId string, region string, ...) ApiGetVolumePerformanceClassRequest
- func (a *DefaultAPIService) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
- func (a *DefaultAPIService) ListAffinityGroups(ctx context.Context, projectId string, region string) ApiListAffinityGroupsRequest
- func (a *DefaultAPIService) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
- func (a *DefaultAPIService) ListAttachedVolumes(ctx context.Context, projectId string, region string, serverId string) ApiListAttachedVolumesRequest
- func (a *DefaultAPIService) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
- func (a *DefaultAPIService) ListAvailabilityZones(ctx context.Context, region string) ApiListAvailabilityZonesRequest
- func (a *DefaultAPIService) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
- func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
- func (a *DefaultAPIService) ListImages(ctx context.Context, projectId string, region 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, region 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, region string) ApiListNetworkAreaRangesRequest
- func (a *DefaultAPIService) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
- func (a *DefaultAPIService) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region 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, region string) ApiListNetworksRequest
- func (a *DefaultAPIService) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
- func (a *DefaultAPIService) ListNics(ctx context.Context, projectId string, region string, networkId string) ApiListNicsRequest
- func (a *DefaultAPIService) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
- func (a *DefaultAPIService) ListProjectNICs(ctx context.Context, projectId string, region 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, region string) ApiListPublicIPsRequest
- func (a *DefaultAPIService) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
- func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
- func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a *DefaultAPIService) ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiListRoutesOfRoutingTableRequest
- func (a *DefaultAPIService) ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
- func (a *DefaultAPIService) ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest
- func (a *DefaultAPIService) ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)
- func (a *DefaultAPIService) ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest
- func (a *DefaultAPIService) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
- func (a *DefaultAPIService) ListSecurityGroups(ctx context.Context, projectId string, region string) ApiListSecurityGroupsRequest
- func (a *DefaultAPIService) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
- func (a *DefaultAPIService) ListServerNICs(ctx context.Context, projectId string, region string, serverId string) ApiListServerNICsRequest
- func (a *DefaultAPIService) ListServerNICsExecute(r ApiListServerNICsRequest) (*NICListResponse, error)
- func (a *DefaultAPIService) ListServerServiceAccounts(ctx context.Context, projectId string, region string, serverId string) ApiListServerServiceAccountsRequest
- func (a *DefaultAPIService) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
- func (a *DefaultAPIService) ListServers(ctx context.Context, projectId string, region string) ApiListServersRequest
- func (a *DefaultAPIService) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
- func (a *DefaultAPIService) ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest
- func (a *DefaultAPIService) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
- func (a *DefaultAPIService) ListVolumes(ctx context.Context, projectId string, region string) ApiListVolumesRequest
- func (a *DefaultAPIService) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
- func (a *DefaultAPIService) PartialUpdateNetwork(ctx context.Context, projectId string, region 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, region string, serverId string) ApiRebootServerRequest
- func (a *DefaultAPIService) RebootServerExecute(r ApiRebootServerRequest) error
- func (a *DefaultAPIService) RemoveNetworkFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveNetworkFromServerRequest
- func (a *DefaultAPIService) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
- func (a *DefaultAPIService) RemoveNicFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveNicFromServerRequest
- func (a *DefaultAPIService) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
- func (a *DefaultAPIService) RemovePublicIpFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemovePublicIpFromServerRequest
- func (a *DefaultAPIService) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
- func (a *DefaultAPIService) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveSecurityGroupFromServerRequest
- func (a *DefaultAPIService) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
- func (a *DefaultAPIService) RemoveServiceAccountFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveServiceAccountFromServerRequest
- func (a *DefaultAPIService) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
- func (a *DefaultAPIService) RemoveVolumeFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveVolumeFromServerRequest
- func (a *DefaultAPIService) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
- func (a *DefaultAPIService) RescueServer(ctx context.Context, projectId string, region string, serverId string) ApiRescueServerRequest
- func (a *DefaultAPIService) RescueServerExecute(r ApiRescueServerRequest) error
- func (a *DefaultAPIService) ResizeServer(ctx context.Context, projectId string, region string, serverId string) ApiResizeServerRequest
- func (a *DefaultAPIService) ResizeServerExecute(r ApiResizeServerRequest) error
- func (a *DefaultAPIService) ResizeVolume(ctx context.Context, projectId string, region string, volumeId string) ApiResizeVolumeRequest
- func (a *DefaultAPIService) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
- func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, region string, backupId string) ApiRestoreBackupRequest
- func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error
- func (a *DefaultAPIService) SetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiSetImageShareRequest
- func (a *DefaultAPIService) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
- func (a *DefaultAPIService) StartServer(ctx context.Context, projectId string, region string, serverId string) ApiStartServerRequest
- func (a *DefaultAPIService) StartServerExecute(r ApiStartServerRequest) error
- func (a *DefaultAPIService) StopServer(ctx context.Context, projectId string, region string, serverId string) ApiStopServerRequest
- func (a *DefaultAPIService) StopServerExecute(r ApiStopServerRequest) error
- func (a *DefaultAPIService) UnrescueServer(ctx context.Context, projectId string, region string, serverId string) ApiUnrescueServerRequest
- func (a *DefaultAPIService) UnrescueServerExecute(r ApiUnrescueServerRequest) error
- func (a *DefaultAPIService) UpdateAttachedVolume(ctx context.Context, projectId string, region string, serverId string, ...) ApiUpdateAttachedVolumeRequest
- func (a *DefaultAPIService) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
- func (a *DefaultAPIService) UpdateImage(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageRequest
- func (a *DefaultAPIService) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
- func (a *DefaultAPIService) UpdateImageShare(ctx context.Context, projectId string, region 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) UpdateNic(ctx context.Context, projectId string, region string, networkId string, ...) ApiUpdateNicRequest
- func (a *DefaultAPIService) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
- func (a *DefaultAPIService) UpdatePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiUpdatePublicIPRequest
- func (a *DefaultAPIService) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
- func (a *DefaultAPIService) UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiUpdateRouteOfRoutingTableRequest
- func (a *DefaultAPIService) UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
- func (a *DefaultAPIService) UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiUpdateRoutingTableOfAreaRequest
- func (a *DefaultAPIService) UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)
- func (a *DefaultAPIService) UpdateServer(ctx context.Context, projectId string, region string, serverId string) ApiUpdateServerRequest
- func (a *DefaultAPIService) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
- func (a *DefaultAPIService) UpdateVolume(ctx context.Context, projectId string, region string, volumeId string) ApiUpdateVolumeRequest
- func (a *DefaultAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
- func (a *DefaultAPIService) V2beta1ConfigureNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1ConfigureNetworkAreaRegionRequest
- func (a *DefaultAPIService) V2beta1ConfigureNetworkAreaRegionExecute(r ApiV2beta1ConfigureNetworkAreaRegionRequest) (*RegionalArea, error)
- func (a *DefaultAPIService) V2beta1CreateSnapshot(ctx context.Context, projectId string, region string) ApiV2beta1CreateSnapshotRequest
- func (a *DefaultAPIService) V2beta1CreateSnapshotExecute(r ApiV2beta1CreateSnapshotRequest) (*Snapshot, error)
- func (a *DefaultAPIService) V2beta1DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1DeleteNetworkAreaRegionRequest
- func (a *DefaultAPIService) V2beta1DeleteNetworkAreaRegionExecute(r ApiV2beta1DeleteNetworkAreaRegionRequest) error
- func (a *DefaultAPIService) V2beta1DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1DeleteSnapshotRequest
- func (a *DefaultAPIService) V2beta1DeleteSnapshotExecute(r ApiV2beta1DeleteSnapshotRequest) error
- func (a *DefaultAPIService) V2beta1GetAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1GetAreaRegionRequest
- func (a *DefaultAPIService) V2beta1GetAreaRegionExecute(r ApiV2beta1GetAreaRegionRequest) (*RegionalArea, error)
- func (a *DefaultAPIService) V2beta1GetSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1GetSnapshotRequest
- func (a *DefaultAPIService) V2beta1GetSnapshotExecute(r ApiV2beta1GetSnapshotRequest) (*Snapshot, error)
- func (a *DefaultAPIService) V2beta1ListAreaRegions(ctx context.Context, organizationId string, areaId string) ApiV2beta1ListAreaRegionsRequest
- func (a *DefaultAPIService) V2beta1ListAreaRegionsExecute(r ApiV2beta1ListAreaRegionsRequest) (*RegionalAreaListResponse, error)
- func (a *DefaultAPIService) V2beta1ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiV2beta1ListSnapshotsInProjectRequest
- func (a *DefaultAPIService) V2beta1ListSnapshotsInProjectExecute(r ApiV2beta1ListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
- func (a *DefaultAPIService) V2beta1UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiV2beta1UpdateBackupRequest
- func (a *DefaultAPIService) V2beta1UpdateBackupExecute(r ApiV2beta1UpdateBackupRequest) (*Backup, error)
- func (a *DefaultAPIService) V2beta1UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1UpdateNetworkAreaRegionRequest
- func (a *DefaultAPIService) V2beta1UpdateNetworkAreaRegionExecute(r ApiV2beta1UpdateNetworkAreaRegionRequest) (*RegionalArea, error)
- func (a *DefaultAPIService) V2beta1UpdateRouteOfArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiV2beta1UpdateRouteOfAreaRequest
- func (a *DefaultAPIService) V2beta1UpdateRouteOfAreaExecute(r ApiV2beta1UpdateRouteOfAreaRequest) (*Route, error)
- func (a *DefaultAPIService) V2beta1UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiV2beta1UpdateSecurityGroupRequest
- func (a *DefaultAPIService) V2beta1UpdateSecurityGroupExecute(r ApiV2beta1UpdateSecurityGroupRequest) (*SecurityGroup, error)
- func (a *DefaultAPIService) V2beta1UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1UpdateSnapshotRequest
- func (a *DefaultAPIService) V2beta1UpdateSnapshotExecute(r ApiV2beta1UpdateSnapshotRequest) (*Snapshot, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) AddNetworkToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddNetworkToServerRequest
- func (a DefaultAPIServiceMock) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
- func (a DefaultAPIServiceMock) AddNicToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddNicToServerRequest
- func (a DefaultAPIServiceMock) AddNicToServerExecute(r ApiAddNicToServerRequest) error
- func (a DefaultAPIServiceMock) AddPublicIpToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddPublicIpToServerRequest
- func (a DefaultAPIServiceMock) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
- func (a DefaultAPIServiceMock) AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiAddRoutesToRoutingTableRequest
- func (a DefaultAPIServiceMock) AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
- func (a DefaultAPIServiceMock) AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest
- func (a DefaultAPIServiceMock) AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)
- func (a DefaultAPIServiceMock) AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddSecurityGroupToServerRequest
- func (a DefaultAPIServiceMock) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
- func (a DefaultAPIServiceMock) AddServiceAccountToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddServiceAccountToServerRequest
- func (a DefaultAPIServiceMock) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
- func (a DefaultAPIServiceMock) AddVolumeToServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiAddVolumeToServerRequest
- func (a DefaultAPIServiceMock) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
- func (a DefaultAPIServiceMock) CreateAffinityGroup(ctx context.Context, projectId string, region string) ApiCreateAffinityGroupRequest
- func (a DefaultAPIServiceMock) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
- func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string, region string) ApiCreateBackupRequest
- func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
- func (a DefaultAPIServiceMock) CreateImage(ctx context.Context, projectId string, region string) ApiCreateImageRequest
- func (a DefaultAPIServiceMock) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
- func (a DefaultAPIServiceMock) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest
- func (a DefaultAPIServiceMock) CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, error)
- func (a DefaultAPIServiceMock) CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
- func (a DefaultAPIServiceMock) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
- func (a DefaultAPIServiceMock) CreateNetwork(ctx context.Context, projectId string, region string) ApiCreateNetworkRequest
- func (a DefaultAPIServiceMock) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
- func (a DefaultAPIServiceMock) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
- func (a DefaultAPIServiceMock) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRangeRequest
- func (a DefaultAPIServiceMock) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
- func (a DefaultAPIServiceMock) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
- func (a DefaultAPIServiceMock) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
- func (a DefaultAPIServiceMock) CreateNic(ctx context.Context, projectId string, region string, networkId string) ApiCreateNicRequest
- func (a DefaultAPIServiceMock) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
- func (a DefaultAPIServiceMock) CreatePublicIP(ctx context.Context, projectId string, region string) ApiCreatePublicIPRequest
- func (a DefaultAPIServiceMock) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
- func (a DefaultAPIServiceMock) CreateSecurityGroup(ctx context.Context, projectId string, region string) ApiCreateSecurityGroupRequest
- func (a DefaultAPIServiceMock) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
- func (a DefaultAPIServiceMock) CreateSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
- func (a DefaultAPIServiceMock) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
- func (a DefaultAPIServiceMock) CreateServer(ctx context.Context, projectId string, region string) ApiCreateServerRequest
- func (a DefaultAPIServiceMock) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
- func (a DefaultAPIServiceMock) CreateVolume(ctx context.Context, projectId string, region string) ApiCreateVolumeRequest
- func (a DefaultAPIServiceMock) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
- func (a DefaultAPIServiceMock) DeallocateServer(ctx context.Context, projectId string, region string, serverId string) ApiDeallocateServerRequest
- func (a DefaultAPIServiceMock) DeallocateServerExecute(r ApiDeallocateServerRequest) error
- func (a DefaultAPIServiceMock) DeleteAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest
- func (a DefaultAPIServiceMock) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
- func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, region string, backupId string) ApiDeleteBackupRequest
- func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error
- func (a DefaultAPIServiceMock) DeleteImage(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageRequest
- func (a DefaultAPIServiceMock) DeleteImageExecute(r ApiDeleteImageRequest) error
- func (a DefaultAPIServiceMock) DeleteImageShare(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageShareRequest
- func (a DefaultAPIServiceMock) DeleteImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, ...) ApiDeleteImageShareConsumerRequest
- func (a DefaultAPIServiceMock) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
- func (a DefaultAPIServiceMock) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
- func (a DefaultAPIServiceMock) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
- func (a DefaultAPIServiceMock) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
- func (a DefaultAPIServiceMock) DeleteNetwork(ctx context.Context, projectId string, region string, networkId string) ApiDeleteNetworkRequest
- func (a DefaultAPIServiceMock) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
- func (a DefaultAPIServiceMock) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, ...) ApiDeleteNetworkAreaRangeRequest
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, ...) ApiDeleteNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
- func (a DefaultAPIServiceMock) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
- func (a DefaultAPIServiceMock) DeleteNic(ctx context.Context, projectId string, region string, networkId string, ...) ApiDeleteNicRequest
- func (a DefaultAPIServiceMock) DeleteNicExecute(r ApiDeleteNicRequest) error
- func (a DefaultAPIServiceMock) DeletePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiDeletePublicIPRequest
- func (a DefaultAPIServiceMock) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
- func (a DefaultAPIServiceMock) DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiDeleteRouteFromRoutingTableRequest
- func (a DefaultAPIServiceMock) DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error
- func (a DefaultAPIServiceMock) DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiDeleteRoutingTableFromAreaRequest
- func (a DefaultAPIServiceMock) DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error
- func (a DefaultAPIServiceMock) DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest
- func (a DefaultAPIServiceMock) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
- func (a DefaultAPIServiceMock) DeleteSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, ...) ApiDeleteSecurityGroupRuleRequest
- func (a DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
- func (a DefaultAPIServiceMock) DeleteServer(ctx context.Context, projectId string, region string, serverId string) ApiDeleteServerRequest
- func (a DefaultAPIServiceMock) DeleteServerExecute(r ApiDeleteServerRequest) error
- func (a DefaultAPIServiceMock) DeleteVolume(ctx context.Context, projectId string, region string, volumeId string) ApiDeleteVolumeRequest
- func (a DefaultAPIServiceMock) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
- func (a DefaultAPIServiceMock) GetAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiGetAffinityGroupRequest
- func (a DefaultAPIServiceMock) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
- func (a DefaultAPIServiceMock) GetAttachedVolume(ctx context.Context, projectId string, region string, serverId string, ...) ApiGetAttachedVolumeRequest
- func (a DefaultAPIServiceMock) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
- func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, region string, backupId string) ApiGetBackupRequest
- func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
- func (a DefaultAPIServiceMock) GetImage(ctx context.Context, projectId string, region string, imageId string) ApiGetImageRequest
- func (a DefaultAPIServiceMock) GetImageExecute(r ApiGetImageRequest) (*Image, error)
- func (a DefaultAPIServiceMock) GetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiGetImageShareRequest
- func (a DefaultAPIServiceMock) GetImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, ...) ApiGetImageShareConsumerRequest
- func (a DefaultAPIServiceMock) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
- func (a DefaultAPIServiceMock) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
- func (a DefaultAPIServiceMock) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
- func (a DefaultAPIServiceMock) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
- func (a DefaultAPIServiceMock) GetMachineType(ctx context.Context, projectId string, region string, machineType string) ApiGetMachineTypeRequest
- func (a DefaultAPIServiceMock) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
- func (a DefaultAPIServiceMock) GetNetwork(ctx context.Context, projectId string, region string, networkId string) ApiGetNetworkRequest
- func (a DefaultAPIServiceMock) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
- func (a DefaultAPIServiceMock) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
- func (a DefaultAPIServiceMock) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, ...) ApiGetNetworkAreaRangeRequest
- func (a DefaultAPIServiceMock) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
- func (a DefaultAPIServiceMock) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, ...) ApiGetNetworkAreaRouteRequest
- func (a DefaultAPIServiceMock) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
- func (a DefaultAPIServiceMock) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
- func (a DefaultAPIServiceMock) GetNic(ctx context.Context, projectId string, region string, networkId string, ...) ApiGetNicRequest
- func (a DefaultAPIServiceMock) GetNicExecute(r ApiGetNicRequest) (*NIC, error)
- func (a DefaultAPIServiceMock) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
- func (a DefaultAPIServiceMock) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
- func (a DefaultAPIServiceMock) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
- func (a DefaultAPIServiceMock) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
- func (a DefaultAPIServiceMock) GetProjectNIC(ctx context.Context, projectId string, region string, nicId string) ApiGetProjectNICRequest
- func (a DefaultAPIServiceMock) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
- func (a DefaultAPIServiceMock) GetProjectRequest(ctx context.Context, projectId string, region string, requestId string) ApiGetProjectRequestRequest
- func (a DefaultAPIServiceMock) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
- func (a DefaultAPIServiceMock) GetPublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiGetPublicIPRequest
- func (a DefaultAPIServiceMock) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
- func (a DefaultAPIServiceMock) GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiGetRouteOfRoutingTableRequest
- func (a DefaultAPIServiceMock) GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
- func (a DefaultAPIServiceMock) GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiGetRoutingTableOfAreaRequest
- func (a DefaultAPIServiceMock) GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)
- func (a DefaultAPIServiceMock) GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest
- func (a DefaultAPIServiceMock) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
- func (a DefaultAPIServiceMock) GetSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, ...) ApiGetSecurityGroupRuleRequest
- func (a DefaultAPIServiceMock) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
- func (a DefaultAPIServiceMock) GetServer(ctx context.Context, projectId string, region string, serverId string) ApiGetServerRequest
- func (a DefaultAPIServiceMock) GetServerConsole(ctx context.Context, projectId string, region string, serverId string) ApiGetServerConsoleRequest
- func (a DefaultAPIServiceMock) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
- func (a DefaultAPIServiceMock) GetServerExecute(r ApiGetServerRequest) (*Server, error)
- func (a DefaultAPIServiceMock) GetServerLog(ctx context.Context, projectId string, region string, serverId string) ApiGetServerLogRequest
- func (a DefaultAPIServiceMock) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
- func (a DefaultAPIServiceMock) GetVolume(ctx context.Context, projectId string, region string, volumeId string) ApiGetVolumeRequest
- func (a DefaultAPIServiceMock) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
- func (a DefaultAPIServiceMock) GetVolumePerformanceClass(ctx context.Context, projectId string, region string, ...) ApiGetVolumePerformanceClassRequest
- func (a DefaultAPIServiceMock) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
- func (a DefaultAPIServiceMock) ListAffinityGroups(ctx context.Context, projectId string, region string) ApiListAffinityGroupsRequest
- func (a DefaultAPIServiceMock) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
- func (a DefaultAPIServiceMock) ListAttachedVolumes(ctx context.Context, projectId string, region string, serverId string) ApiListAttachedVolumesRequest
- func (a DefaultAPIServiceMock) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
- func (a DefaultAPIServiceMock) ListAvailabilityZones(ctx context.Context, region string) ApiListAvailabilityZonesRequest
- func (a DefaultAPIServiceMock) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
- func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, region string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
- func (a DefaultAPIServiceMock) ListImages(ctx context.Context, projectId string, region string) ApiListImagesRequest
- func (a DefaultAPIServiceMock) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
- func (a DefaultAPIServiceMock) ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
- func (a DefaultAPIServiceMock) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
- func (a DefaultAPIServiceMock) ListMachineTypes(ctx context.Context, projectId string, region string) ApiListMachineTypesRequest
- func (a DefaultAPIServiceMock) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
- func (a DefaultAPIServiceMock) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
- func (a DefaultAPIServiceMock) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
- func (a DefaultAPIServiceMock) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRangesRequest
- func (a DefaultAPIServiceMock) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
- func (a DefaultAPIServiceMock) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRoutesRequest
- func (a DefaultAPIServiceMock) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
- func (a DefaultAPIServiceMock) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
- func (a DefaultAPIServiceMock) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
- func (a DefaultAPIServiceMock) ListNetworks(ctx context.Context, projectId string, region string) ApiListNetworksRequest
- func (a DefaultAPIServiceMock) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
- func (a DefaultAPIServiceMock) ListNics(ctx context.Context, projectId string, region string, networkId string) ApiListNicsRequest
- func (a DefaultAPIServiceMock) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
- func (a DefaultAPIServiceMock) ListProjectNICs(ctx context.Context, projectId string, region string) ApiListProjectNICsRequest
- func (a DefaultAPIServiceMock) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
- func (a DefaultAPIServiceMock) ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
- func (a DefaultAPIServiceMock) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
- func (a DefaultAPIServiceMock) ListPublicIPs(ctx context.Context, projectId string, region string) ApiListPublicIPsRequest
- func (a DefaultAPIServiceMock) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
- func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
- func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
- func (a DefaultAPIServiceMock) ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiListRoutesOfRoutingTableRequest
- func (a DefaultAPIServiceMock) ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
- func (a DefaultAPIServiceMock) ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest
- func (a DefaultAPIServiceMock) ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)
- func (a DefaultAPIServiceMock) ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest
- func (a DefaultAPIServiceMock) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
- func (a DefaultAPIServiceMock) ListSecurityGroups(ctx context.Context, projectId string, region string) ApiListSecurityGroupsRequest
- func (a DefaultAPIServiceMock) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
- func (a DefaultAPIServiceMock) ListServerNICs(ctx context.Context, projectId string, region string, serverId string) ApiListServerNICsRequest
- func (a DefaultAPIServiceMock) ListServerNICsExecute(r ApiListServerNICsRequest) (*NICListResponse, error)
- func (a DefaultAPIServiceMock) ListServerServiceAccounts(ctx context.Context, projectId string, region string, serverId string) ApiListServerServiceAccountsRequest
- func (a DefaultAPIServiceMock) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
- func (a DefaultAPIServiceMock) ListServers(ctx context.Context, projectId string, region string) ApiListServersRequest
- func (a DefaultAPIServiceMock) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
- func (a DefaultAPIServiceMock) ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest
- func (a DefaultAPIServiceMock) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
- func (a DefaultAPIServiceMock) ListVolumes(ctx context.Context, projectId string, region string) ApiListVolumesRequest
- func (a DefaultAPIServiceMock) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateNetwork(ctx context.Context, projectId string, region string, networkId string) ApiPartialUpdateNetworkRequest
- func (a DefaultAPIServiceMock) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
- func (a DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
- func (a DefaultAPIServiceMock) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
- func (a DefaultAPIServiceMock) RebootServer(ctx context.Context, projectId string, region string, serverId string) ApiRebootServerRequest
- func (a DefaultAPIServiceMock) RebootServerExecute(r ApiRebootServerRequest) error
- func (a DefaultAPIServiceMock) RemoveNetworkFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveNetworkFromServerRequest
- func (a DefaultAPIServiceMock) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
- func (a DefaultAPIServiceMock) RemoveNicFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveNicFromServerRequest
- func (a DefaultAPIServiceMock) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
- func (a DefaultAPIServiceMock) RemovePublicIpFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemovePublicIpFromServerRequest
- func (a DefaultAPIServiceMock) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
- func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveSecurityGroupFromServerRequest
- func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
- func (a DefaultAPIServiceMock) RemoveServiceAccountFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveServiceAccountFromServerRequest
- func (a DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
- func (a DefaultAPIServiceMock) RemoveVolumeFromServer(ctx context.Context, projectId string, region string, serverId string, ...) ApiRemoveVolumeFromServerRequest
- func (a DefaultAPIServiceMock) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
- func (a DefaultAPIServiceMock) RescueServer(ctx context.Context, projectId string, region string, serverId string) ApiRescueServerRequest
- func (a DefaultAPIServiceMock) RescueServerExecute(r ApiRescueServerRequest) error
- func (a DefaultAPIServiceMock) ResizeServer(ctx context.Context, projectId string, region string, serverId string) ApiResizeServerRequest
- func (a DefaultAPIServiceMock) ResizeServerExecute(r ApiResizeServerRequest) error
- func (a DefaultAPIServiceMock) ResizeVolume(ctx context.Context, projectId string, region string, volumeId string) ApiResizeVolumeRequest
- func (a DefaultAPIServiceMock) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
- func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, region string, backupId string) ApiRestoreBackupRequest
- func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error
- func (a DefaultAPIServiceMock) SetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiSetImageShareRequest
- func (a DefaultAPIServiceMock) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
- func (a DefaultAPIServiceMock) StartServer(ctx context.Context, projectId string, region string, serverId string) ApiStartServerRequest
- func (a DefaultAPIServiceMock) StartServerExecute(r ApiStartServerRequest) error
- func (a DefaultAPIServiceMock) StopServer(ctx context.Context, projectId string, region string, serverId string) ApiStopServerRequest
- func (a DefaultAPIServiceMock) StopServerExecute(r ApiStopServerRequest) error
- func (a DefaultAPIServiceMock) UnrescueServer(ctx context.Context, projectId string, region string, serverId string) ApiUnrescueServerRequest
- func (a DefaultAPIServiceMock) UnrescueServerExecute(r ApiUnrescueServerRequest) error
- func (a DefaultAPIServiceMock) UpdateAttachedVolume(ctx context.Context, projectId string, region string, serverId string, ...) ApiUpdateAttachedVolumeRequest
- func (a DefaultAPIServiceMock) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
- func (a DefaultAPIServiceMock) UpdateImage(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageRequest
- func (a DefaultAPIServiceMock) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
- func (a DefaultAPIServiceMock) UpdateImageShare(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageShareRequest
- func (a DefaultAPIServiceMock) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
- func (a DefaultAPIServiceMock) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
- func (a DefaultAPIServiceMock) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
- func (a DefaultAPIServiceMock) UpdateNic(ctx context.Context, projectId string, region string, networkId string, ...) ApiUpdateNicRequest
- func (a DefaultAPIServiceMock) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
- func (a DefaultAPIServiceMock) UpdatePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiUpdatePublicIPRequest
- func (a DefaultAPIServiceMock) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
- func (a DefaultAPIServiceMock) UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, ...) ApiUpdateRouteOfRoutingTableRequest
- func (a DefaultAPIServiceMock) UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
- func (a DefaultAPIServiceMock) UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiUpdateRoutingTableOfAreaRequest
- func (a DefaultAPIServiceMock) UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)
- func (a DefaultAPIServiceMock) UpdateServer(ctx context.Context, projectId string, region string, serverId string) ApiUpdateServerRequest
- func (a DefaultAPIServiceMock) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
- func (a DefaultAPIServiceMock) UpdateVolume(ctx context.Context, projectId string, region string, volumeId string) ApiUpdateVolumeRequest
- func (a DefaultAPIServiceMock) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
- func (a DefaultAPIServiceMock) V2beta1ConfigureNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1ConfigureNetworkAreaRegionRequest
- func (a DefaultAPIServiceMock) V2beta1ConfigureNetworkAreaRegionExecute(r ApiV2beta1ConfigureNetworkAreaRegionRequest) (*RegionalArea, error)
- func (a DefaultAPIServiceMock) V2beta1CreateSnapshot(ctx context.Context, projectId string, region string) ApiV2beta1CreateSnapshotRequest
- func (a DefaultAPIServiceMock) V2beta1CreateSnapshotExecute(r ApiV2beta1CreateSnapshotRequest) (*Snapshot, error)
- func (a DefaultAPIServiceMock) V2beta1DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1DeleteNetworkAreaRegionRequest
- func (a DefaultAPIServiceMock) V2beta1DeleteNetworkAreaRegionExecute(r ApiV2beta1DeleteNetworkAreaRegionRequest) error
- func (a DefaultAPIServiceMock) V2beta1DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1DeleteSnapshotRequest
- func (a DefaultAPIServiceMock) V2beta1DeleteSnapshotExecute(r ApiV2beta1DeleteSnapshotRequest) error
- func (a DefaultAPIServiceMock) V2beta1GetAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1GetAreaRegionRequest
- func (a DefaultAPIServiceMock) V2beta1GetAreaRegionExecute(r ApiV2beta1GetAreaRegionRequest) (*RegionalArea, error)
- func (a DefaultAPIServiceMock) V2beta1GetSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1GetSnapshotRequest
- func (a DefaultAPIServiceMock) V2beta1GetSnapshotExecute(r ApiV2beta1GetSnapshotRequest) (*Snapshot, error)
- func (a DefaultAPIServiceMock) V2beta1ListAreaRegions(ctx context.Context, organizationId string, areaId string) ApiV2beta1ListAreaRegionsRequest
- func (a DefaultAPIServiceMock) V2beta1ListAreaRegionsExecute(r ApiV2beta1ListAreaRegionsRequest) (*RegionalAreaListResponse, error)
- func (a DefaultAPIServiceMock) V2beta1ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiV2beta1ListSnapshotsInProjectRequest
- func (a DefaultAPIServiceMock) V2beta1ListSnapshotsInProjectExecute(r ApiV2beta1ListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
- func (a DefaultAPIServiceMock) V2beta1UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiV2beta1UpdateBackupRequest
- func (a DefaultAPIServiceMock) V2beta1UpdateBackupExecute(r ApiV2beta1UpdateBackupRequest) (*Backup, error)
- func (a DefaultAPIServiceMock) V2beta1UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1UpdateNetworkAreaRegionRequest
- func (a DefaultAPIServiceMock) V2beta1UpdateNetworkAreaRegionExecute(r ApiV2beta1UpdateNetworkAreaRegionRequest) (*RegionalArea, error)
- func (a DefaultAPIServiceMock) V2beta1UpdateRouteOfArea(ctx context.Context, organizationId string, areaId string, region string, ...) ApiV2beta1UpdateRouteOfAreaRequest
- func (a DefaultAPIServiceMock) V2beta1UpdateRouteOfAreaExecute(r ApiV2beta1UpdateRouteOfAreaRequest) (*Route, error)
- func (a DefaultAPIServiceMock) V2beta1UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiV2beta1UpdateSecurityGroupRequest
- func (a DefaultAPIServiceMock) V2beta1UpdateSecurityGroupExecute(r ApiV2beta1UpdateSecurityGroupRequest) (*SecurityGroup, error)
- func (a DefaultAPIServiceMock) V2beta1UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1UpdateSnapshotRequest
- func (a DefaultAPIServiceMock) V2beta1UpdateSnapshotExecute(r ApiV2beta1UpdateSnapshotRequest) (*Snapshot, error)
- type DestinationCIDRv4
- func (o *DestinationCIDRv4) GetType() string
- func (o *DestinationCIDRv4) GetTypeOk() (*string, bool)
- func (o *DestinationCIDRv4) GetValue() string
- func (o *DestinationCIDRv4) GetValueOk() (*string, bool)
- func (o DestinationCIDRv4) MarshalJSON() ([]byte, error)
- func (o *DestinationCIDRv4) SetType(v string)
- func (o *DestinationCIDRv4) SetValue(v string)
- func (o DestinationCIDRv4) ToMap() (map[string]interface{}, error)
- func (o *DestinationCIDRv4) UnmarshalJSON(data []byte) (err error)
- type DestinationCIDRv6
- func (o *DestinationCIDRv6) GetType() string
- func (o *DestinationCIDRv6) GetTypeOk() (*string, bool)
- func (o *DestinationCIDRv6) GetValue() string
- func (o *DestinationCIDRv6) GetValueOk() (*string, bool)
- func (o DestinationCIDRv6) MarshalJSON() ([]byte, error)
- func (o *DestinationCIDRv6) SetType(v string)
- func (o *DestinationCIDRv6) SetValue(v string)
- func (o DestinationCIDRv6) ToMap() (map[string]interface{}, error)
- func (o *DestinationCIDRv6) UnmarshalJSON(data []byte) (err error)
- 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) GetId() string
- func (o *Network) GetIdOk() (*string, bool)
- func (o *Network) GetIpv4() NetworkIPv4
- func (o *Network) GetIpv4Ok() (*NetworkIPv4, bool)
- func (o *Network) GetIpv6() NetworkIPv6
- func (o *Network) GetIpv6Ok() (*NetworkIPv6, 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) GetRouted() bool
- func (o *Network) GetRoutedOk() (*bool, bool)
- func (o *Network) GetRoutingTableId() string
- func (o *Network) GetRoutingTableIdOk() (*string, bool)
- func (o *Network) GetStatus() string
- func (o *Network) GetStatusOk() (*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) HasIpv4() bool
- func (o *Network) HasIpv6() bool
- func (o *Network) HasLabels() bool
- func (o *Network) HasRouted() bool
- func (o *Network) HasRoutingTableId() 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) SetId(v string)
- func (o *Network) SetIpv4(v NetworkIPv4)
- func (o *Network) SetIpv6(v NetworkIPv6)
- func (o *Network) SetLabels(v map[string]interface{})
- func (o *Network) SetName(v string)
- func (o *Network) SetRouted(v bool)
- func (o *Network) SetRoutingTableId(v string)
- func (o *Network) SetStatus(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)
- type NetworkArea
- func (o *NetworkArea) GetCreatedAt() time.Time
- func (o *NetworkArea) GetCreatedAtOk() (*time.Time, bool)
- func (o *NetworkArea) GetId() string
- func (o *NetworkArea) GetIdOk() (*string, 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) GetUpdatedAt() time.Time
- func (o *NetworkArea) GetUpdatedAtOk() (*time.Time, bool)
- func (o *NetworkArea) HasCreatedAt() bool
- func (o *NetworkArea) HasId() bool
- func (o *NetworkArea) HasLabels() bool
- func (o *NetworkArea) HasProjectCount() bool
- func (o *NetworkArea) HasUpdatedAt() bool
- func (o NetworkArea) MarshalJSON() ([]byte, error)
- func (o *NetworkArea) SetCreatedAt(v time.Time)
- func (o *NetworkArea) SetId(v string)
- func (o *NetworkArea) SetLabels(v map[string]interface{})
- func (o *NetworkArea) SetName(v string)
- func (o *NetworkArea) SetProjectCount(v int64)
- func (o *NetworkArea) SetUpdatedAt(v time.Time)
- func (o NetworkArea) ToMap() (map[string]interface{}, error)
- func (o *NetworkArea) UnmarshalJSON(data []byte) (err 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 NetworkIPv4
- func (o *NetworkIPv4) GetGateway() string
- func (o *NetworkIPv4) GetGatewayOk() (*string, bool)
- func (o *NetworkIPv4) GetNameservers() []string
- func (o *NetworkIPv4) GetNameserversOk() ([]string, bool)
- func (o *NetworkIPv4) GetPrefixes() []string
- func (o *NetworkIPv4) GetPrefixesOk() ([]string, bool)
- func (o *NetworkIPv4) GetPublicIp() string
- func (o *NetworkIPv4) GetPublicIpOk() (*string, bool)
- func (o *NetworkIPv4) HasGateway() bool
- func (o *NetworkIPv4) HasNameservers() bool
- func (o *NetworkIPv4) HasPublicIp() bool
- func (o NetworkIPv4) MarshalJSON() ([]byte, error)
- func (o *NetworkIPv4) SetGateway(v string)
- func (o *NetworkIPv4) SetGatewayNil()
- func (o *NetworkIPv4) SetNameservers(v []string)
- func (o *NetworkIPv4) SetPrefixes(v []string)
- func (o *NetworkIPv4) SetPublicIp(v string)
- func (o NetworkIPv4) ToMap() (map[string]interface{}, error)
- func (o *NetworkIPv4) UnmarshalJSON(data []byte) (err error)
- func (o *NetworkIPv4) UnsetGateway()
- type NetworkIPv6
- func (o *NetworkIPv6) GetGateway() string
- func (o *NetworkIPv6) GetGatewayOk() (*string, bool)
- func (o *NetworkIPv6) GetNameservers() []string
- func (o *NetworkIPv6) GetNameserversOk() ([]string, bool)
- func (o *NetworkIPv6) GetPrefixes() []string
- func (o *NetworkIPv6) GetPrefixesOk() ([]string, bool)
- func (o *NetworkIPv6) HasGateway() bool
- func (o *NetworkIPv6) HasNameservers() bool
- func (o NetworkIPv6) MarshalJSON() ([]byte, error)
- func (o *NetworkIPv6) SetGateway(v string)
- func (o *NetworkIPv6) SetGatewayNil()
- func (o *NetworkIPv6) SetNameservers(v []string)
- func (o *NetworkIPv6) SetPrefixes(v []string)
- func (o NetworkIPv6) ToMap() (map[string]interface{}, error)
- func (o *NetworkIPv6) UnmarshalJSON(data []byte) (err error)
- func (o *NetworkIPv6) UnsetGateway()
- 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) GetId() string
- func (o *NetworkRange) GetIdOk() (*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) HasId() bool
- func (o *NetworkRange) HasUpdatedAt() bool
- func (o NetworkRange) MarshalJSON() ([]byte, error)
- func (o *NetworkRange) SetCreatedAt(v time.Time)
- func (o *NetworkRange) SetId(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 NexthopBlackhole
- func (o *NexthopBlackhole) GetType() string
- func (o *NexthopBlackhole) GetTypeOk() (*string, bool)
- func (o NexthopBlackhole) MarshalJSON() ([]byte, error)
- func (o *NexthopBlackhole) SetType(v string)
- func (o NexthopBlackhole) ToMap() (map[string]interface{}, error)
- func (o *NexthopBlackhole) UnmarshalJSON(data []byte) (err error)
- type NexthopIPv4
- func (o *NexthopIPv4) GetType() string
- func (o *NexthopIPv4) GetTypeOk() (*string, bool)
- func (o *NexthopIPv4) GetValue() string
- func (o *NexthopIPv4) GetValueOk() (*string, bool)
- func (o NexthopIPv4) MarshalJSON() ([]byte, error)
- func (o *NexthopIPv4) SetType(v string)
- func (o *NexthopIPv4) SetValue(v string)
- func (o NexthopIPv4) ToMap() (map[string]interface{}, error)
- func (o *NexthopIPv4) UnmarshalJSON(data []byte) (err error)
- type NexthopIPv6
- func (o *NexthopIPv6) GetType() string
- func (o *NexthopIPv6) GetTypeOk() (*string, bool)
- func (o *NexthopIPv6) GetValue() string
- func (o *NexthopIPv6) GetValueOk() (*string, bool)
- func (o NexthopIPv6) MarshalJSON() ([]byte, error)
- func (o *NexthopIPv6) SetType(v string)
- func (o *NexthopIPv6) SetValue(v string)
- func (o NexthopIPv6) ToMap() (map[string]interface{}, error)
- func (o *NexthopIPv6) UnmarshalJSON(data []byte) (err error)
- type NexthopInternet
- func (o *NexthopInternet) GetType() string
- func (o *NexthopInternet) GetTypeOk() (*string, bool)
- func (o NexthopInternet) MarshalJSON() ([]byte, error)
- func (o *NexthopInternet) SetType(v string)
- func (o NexthopInternet) ToMap() (map[string]interface{}, error)
- func (o *NexthopInternet) UnmarshalJSON(data []byte) (err error)
- type NullableAddRoutesToRoutingTablePayload
- func (v NullableAddRoutesToRoutingTablePayload) Get() *AddRoutesToRoutingTablePayload
- func (v NullableAddRoutesToRoutingTablePayload) IsSet() bool
- func (v NullableAddRoutesToRoutingTablePayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddRoutesToRoutingTablePayload) Set(val *AddRoutesToRoutingTablePayload)
- func (v *NullableAddRoutesToRoutingTablePayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddRoutesToRoutingTablePayload) Unset()
- type NullableAddRoutingTableToAreaPayload
- func (v NullableAddRoutingTableToAreaPayload) Get() *AddRoutingTableToAreaPayload
- func (v NullableAddRoutingTableToAreaPayload) IsSet() bool
- func (v NullableAddRoutingTableToAreaPayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddRoutingTableToAreaPayload) Set(val *AddRoutingTableToAreaPayload)
- func (v *NullableAddRoutingTableToAreaPayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddRoutingTableToAreaPayload) Unset()
- 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 NullableAreaId
- 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 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 NullableCreateIsolatedNetworkPayload
- func (v NullableCreateIsolatedNetworkPayload) Get() *CreateIsolatedNetworkPayload
- func (v NullableCreateIsolatedNetworkPayload) IsSet() bool
- func (v NullableCreateIsolatedNetworkPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateIsolatedNetworkPayload) Set(val *CreateIsolatedNetworkPayload)
- func (v *NullableCreateIsolatedNetworkPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateIsolatedNetworkPayload) 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 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 NullableCreateNetworkIPv4
- func (v NullableCreateNetworkIPv4) Get() *CreateNetworkIPv4
- func (v NullableCreateNetworkIPv4) IsSet() bool
- func (v NullableCreateNetworkIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv4) Set(val *CreateNetworkIPv4)
- func (v *NullableCreateNetworkIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv4) Unset()
- type NullableCreateNetworkIPv4WithPrefix
- func (v NullableCreateNetworkIPv4WithPrefix) Get() *CreateNetworkIPv4WithPrefix
- func (v NullableCreateNetworkIPv4WithPrefix) IsSet() bool
- func (v NullableCreateNetworkIPv4WithPrefix) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv4WithPrefix) Set(val *CreateNetworkIPv4WithPrefix)
- func (v *NullableCreateNetworkIPv4WithPrefix) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv4WithPrefix) Unset()
- type NullableCreateNetworkIPv4WithPrefixLength
- func (v NullableCreateNetworkIPv4WithPrefixLength) Get() *CreateNetworkIPv4WithPrefixLength
- func (v NullableCreateNetworkIPv4WithPrefixLength) IsSet() bool
- func (v NullableCreateNetworkIPv4WithPrefixLength) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv4WithPrefixLength) Set(val *CreateNetworkIPv4WithPrefixLength)
- func (v *NullableCreateNetworkIPv4WithPrefixLength) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv4WithPrefixLength) Unset()
- type NullableCreateNetworkIPv6
- func (v NullableCreateNetworkIPv6) Get() *CreateNetworkIPv6
- func (v NullableCreateNetworkIPv6) IsSet() bool
- func (v NullableCreateNetworkIPv6) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv6) Set(val *CreateNetworkIPv6)
- func (v *NullableCreateNetworkIPv6) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv6) Unset()
- type NullableCreateNetworkIPv6WithPrefix
- func (v NullableCreateNetworkIPv6WithPrefix) Get() *CreateNetworkIPv6WithPrefix
- func (v NullableCreateNetworkIPv6WithPrefix) IsSet() bool
- func (v NullableCreateNetworkIPv6WithPrefix) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv6WithPrefix) Set(val *CreateNetworkIPv6WithPrefix)
- func (v *NullableCreateNetworkIPv6WithPrefix) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv6WithPrefix) Unset()
- type NullableCreateNetworkIPv6WithPrefixLength
- func (v NullableCreateNetworkIPv6WithPrefixLength) Get() *CreateNetworkIPv6WithPrefixLength
- func (v NullableCreateNetworkIPv6WithPrefixLength) IsSet() bool
- func (v NullableCreateNetworkIPv6WithPrefixLength) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkIPv6WithPrefixLength) Set(val *CreateNetworkIPv6WithPrefixLength)
- func (v *NullableCreateNetworkIPv6WithPrefixLength) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkIPv6WithPrefixLength) 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 NullableCreateServerPayloadAllOfNetworking
- func (v NullableCreateServerPayloadAllOfNetworking) Get() *CreateServerPayloadAllOfNetworking
- func (v NullableCreateServerPayloadAllOfNetworking) IsSet() bool
- func (v NullableCreateServerPayloadAllOfNetworking) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerPayloadAllOfNetworking) Set(val *CreateServerPayloadAllOfNetworking)
- func (v *NullableCreateServerPayloadAllOfNetworking) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerPayloadAllOfNetworking) 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 NullableDestinationCIDRv4
- func (v NullableDestinationCIDRv4) Get() *DestinationCIDRv4
- func (v NullableDestinationCIDRv4) IsSet() bool
- func (v NullableDestinationCIDRv4) MarshalJSON() ([]byte, error)
- func (v *NullableDestinationCIDRv4) Set(val *DestinationCIDRv4)
- func (v *NullableDestinationCIDRv4) UnmarshalJSON(src []byte) error
- func (v *NullableDestinationCIDRv4) Unset()
- type NullableDestinationCIDRv6
- func (v NullableDestinationCIDRv6) Get() *DestinationCIDRv6
- func (v NullableDestinationCIDRv6) IsSet() bool
- func (v NullableDestinationCIDRv6) MarshalJSON() ([]byte, error)
- func (v *NullableDestinationCIDRv6) Set(val *DestinationCIDRv6)
- func (v *NullableDestinationCIDRv6) UnmarshalJSON(src []byte) error
- func (v *NullableDestinationCIDRv6) 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 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 NullableNetworkIPv4
- func (v NullableNetworkIPv4) Get() *NetworkIPv4
- func (v NullableNetworkIPv4) IsSet() bool
- func (v NullableNetworkIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkIPv4) Set(val *NetworkIPv4)
- func (v *NullableNetworkIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkIPv4) Unset()
- type NullableNetworkIPv6
- func (v NullableNetworkIPv6) Get() *NetworkIPv6
- func (v NullableNetworkIPv6) IsSet() bool
- func (v NullableNetworkIPv6) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkIPv6) Set(val *NetworkIPv6)
- func (v *NullableNetworkIPv6) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkIPv6) 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 NullableNexthopBlackhole
- func (v NullableNexthopBlackhole) Get() *NexthopBlackhole
- func (v NullableNexthopBlackhole) IsSet() bool
- func (v NullableNexthopBlackhole) MarshalJSON() ([]byte, error)
- func (v *NullableNexthopBlackhole) Set(val *NexthopBlackhole)
- func (v *NullableNexthopBlackhole) UnmarshalJSON(src []byte) error
- func (v *NullableNexthopBlackhole) Unset()
- type NullableNexthopIPv4
- func (v NullableNexthopIPv4) Get() *NexthopIPv4
- func (v NullableNexthopIPv4) IsSet() bool
- func (v NullableNexthopIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableNexthopIPv4) Set(val *NexthopIPv4)
- func (v *NullableNexthopIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableNexthopIPv4) Unset()
- type NullableNexthopIPv6
- func (v NullableNexthopIPv6) Get() *NexthopIPv6
- func (v NullableNexthopIPv6) IsSet() bool
- func (v NullableNexthopIPv6) MarshalJSON() ([]byte, error)
- func (v *NullableNexthopIPv6) Set(val *NexthopIPv6)
- func (v *NullableNexthopIPv6) UnmarshalJSON(src []byte) error
- func (v *NullableNexthopIPv6) Unset()
- type NullableNexthopInternet
- func (v NullableNexthopInternet) Get() *NexthopInternet
- func (v NullableNexthopInternet) IsSet() bool
- func (v NullableNexthopInternet) MarshalJSON() ([]byte, error)
- func (v *NullableNexthopInternet) Set(val *NexthopInternet)
- func (v *NullableNexthopInternet) UnmarshalJSON(src []byte) error
- func (v *NullableNexthopInternet) 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 NullableRegionalArea
- func (v NullableRegionalArea) Get() *RegionalArea
- func (v NullableRegionalArea) IsSet() bool
- func (v NullableRegionalArea) MarshalJSON() ([]byte, error)
- func (v *NullableRegionalArea) Set(val *RegionalArea)
- func (v *NullableRegionalArea) UnmarshalJSON(src []byte) error
- func (v *NullableRegionalArea) Unset()
- type NullableRegionalAreaIPv4
- func (v NullableRegionalAreaIPv4) Get() *RegionalAreaIPv4
- func (v NullableRegionalAreaIPv4) IsSet() bool
- func (v NullableRegionalAreaIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableRegionalAreaIPv4) Set(val *RegionalAreaIPv4)
- func (v *NullableRegionalAreaIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableRegionalAreaIPv4) Unset()
- type NullableRegionalAreaListResponse
- func (v NullableRegionalAreaListResponse) Get() *RegionalAreaListResponse
- func (v NullableRegionalAreaListResponse) IsSet() bool
- func (v NullableRegionalAreaListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRegionalAreaListResponse) Set(val *RegionalAreaListResponse)
- func (v *NullableRegionalAreaListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRegionalAreaListResponse) 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 NullableRouteDestination
- func (v NullableRouteDestination) Get() *RouteDestination
- func (v NullableRouteDestination) IsSet() bool
- func (v NullableRouteDestination) MarshalJSON() ([]byte, error)
- func (v *NullableRouteDestination) Set(val *RouteDestination)
- func (v *NullableRouteDestination) UnmarshalJSON(src []byte) error
- func (v *NullableRouteDestination) Unset()
- 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 NullableRouteNexthop
- func (v NullableRouteNexthop) Get() *RouteNexthop
- func (v NullableRouteNexthop) IsSet() bool
- func (v NullableRouteNexthop) MarshalJSON() ([]byte, error)
- func (v *NullableRouteNexthop) Set(val *RouteNexthop)
- func (v *NullableRouteNexthop) UnmarshalJSON(src []byte) error
- func (v *NullableRouteNexthop) Unset()
- type NullableRoutingTable
- func (v NullableRoutingTable) Get() *RoutingTable
- func (v NullableRoutingTable) IsSet() bool
- func (v NullableRoutingTable) MarshalJSON() ([]byte, error)
- func (v *NullableRoutingTable) Set(val *RoutingTable)
- func (v *NullableRoutingTable) UnmarshalJSON(src []byte) error
- func (v *NullableRoutingTable) Unset()
- type NullableRoutingTableListResponse
- func (v NullableRoutingTableListResponse) Get() *RoutingTableListResponse
- func (v NullableRoutingTableListResponse) IsSet() bool
- func (v NullableRoutingTableListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRoutingTableListResponse) Set(val *RoutingTableListResponse)
- func (v *NullableRoutingTableListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRoutingTableListResponse) 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 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 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 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 NullableUpdateRegionalAreaIPv4
- func (v NullableUpdateRegionalAreaIPv4) Get() *UpdateRegionalAreaIPv4
- func (v NullableUpdateRegionalAreaIPv4) IsSet() bool
- func (v NullableUpdateRegionalAreaIPv4) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRegionalAreaIPv4) Set(val *UpdateRegionalAreaIPv4)
- func (v *NullableUpdateRegionalAreaIPv4) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRegionalAreaIPv4) Unset()
- type NullableUpdateRouteOfRoutingTablePayload
- func (v NullableUpdateRouteOfRoutingTablePayload) Get() *UpdateRouteOfRoutingTablePayload
- func (v NullableUpdateRouteOfRoutingTablePayload) IsSet() bool
- func (v NullableUpdateRouteOfRoutingTablePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRouteOfRoutingTablePayload) Set(val *UpdateRouteOfRoutingTablePayload)
- func (v *NullableUpdateRouteOfRoutingTablePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRouteOfRoutingTablePayload) Unset()
- type NullableUpdateRoutingTableOfAreaPayload
- func (v NullableUpdateRoutingTableOfAreaPayload) Get() *UpdateRoutingTableOfAreaPayload
- func (v NullableUpdateRoutingTableOfAreaPayload) IsSet() bool
- func (v NullableUpdateRoutingTableOfAreaPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRoutingTableOfAreaPayload) Set(val *UpdateRoutingTableOfAreaPayload)
- func (v *NullableUpdateRoutingTableOfAreaPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRoutingTableOfAreaPayload) 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 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 NullableV2beta1ConfigureNetworkAreaRegionPayload
- func (v NullableV2beta1ConfigureNetworkAreaRegionPayload) Get() *V2beta1ConfigureNetworkAreaRegionPayload
- func (v NullableV2beta1ConfigureNetworkAreaRegionPayload) IsSet() bool
- func (v NullableV2beta1ConfigureNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1ConfigureNetworkAreaRegionPayload) Set(val *V2beta1ConfigureNetworkAreaRegionPayload)
- func (v *NullableV2beta1ConfigureNetworkAreaRegionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1ConfigureNetworkAreaRegionPayload) Unset()
- type NullableV2beta1CreateSnapshotPayload
- func (v NullableV2beta1CreateSnapshotPayload) Get() *V2beta1CreateSnapshotPayload
- func (v NullableV2beta1CreateSnapshotPayload) IsSet() bool
- func (v NullableV2beta1CreateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1CreateSnapshotPayload) Set(val *V2beta1CreateSnapshotPayload)
- func (v *NullableV2beta1CreateSnapshotPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1CreateSnapshotPayload) Unset()
- type NullableV2beta1UpdateBackupPayload
- func (v NullableV2beta1UpdateBackupPayload) Get() *V2beta1UpdateBackupPayload
- func (v NullableV2beta1UpdateBackupPayload) IsSet() bool
- func (v NullableV2beta1UpdateBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1UpdateBackupPayload) Set(val *V2beta1UpdateBackupPayload)
- func (v *NullableV2beta1UpdateBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1UpdateBackupPayload) Unset()
- type NullableV2beta1UpdateNetworkAreaRegionPayload
- func (v NullableV2beta1UpdateNetworkAreaRegionPayload) Get() *V2beta1UpdateNetworkAreaRegionPayload
- func (v NullableV2beta1UpdateNetworkAreaRegionPayload) IsSet() bool
- func (v NullableV2beta1UpdateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1UpdateNetworkAreaRegionPayload) Set(val *V2beta1UpdateNetworkAreaRegionPayload)
- func (v *NullableV2beta1UpdateNetworkAreaRegionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1UpdateNetworkAreaRegionPayload) Unset()
- type NullableV2beta1UpdateRouteOfAreaPayload
- func (v NullableV2beta1UpdateRouteOfAreaPayload) Get() *V2beta1UpdateRouteOfAreaPayload
- func (v NullableV2beta1UpdateRouteOfAreaPayload) IsSet() bool
- func (v NullableV2beta1UpdateRouteOfAreaPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1UpdateRouteOfAreaPayload) Set(val *V2beta1UpdateRouteOfAreaPayload)
- func (v *NullableV2beta1UpdateRouteOfAreaPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1UpdateRouteOfAreaPayload) Unset()
- type NullableV2beta1UpdateSecurityGroupPayload
- func (v NullableV2beta1UpdateSecurityGroupPayload) Get() *V2beta1UpdateSecurityGroupPayload
- func (v NullableV2beta1UpdateSecurityGroupPayload) IsSet() bool
- func (v NullableV2beta1UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1UpdateSecurityGroupPayload) Set(val *V2beta1UpdateSecurityGroupPayload)
- func (v *NullableV2beta1UpdateSecurityGroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1UpdateSecurityGroupPayload) Unset()
- type NullableV2beta1UpdateSnapshotPayload
- func (v NullableV2beta1UpdateSnapshotPayload) Get() *V2beta1UpdateSnapshotPayload
- func (v NullableV2beta1UpdateSnapshotPayload) IsSet() bool
- func (v NullableV2beta1UpdateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (v *NullableV2beta1UpdateSnapshotPayload) Set(val *V2beta1UpdateSnapshotPayload)
- func (v *NullableV2beta1UpdateSnapshotPayload) UnmarshalJSON(src []byte) error
- func (v *NullableV2beta1UpdateSnapshotPayload) 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) 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) HasLabels() bool
- func (o *PartialUpdateNetworkAreaPayload) HasName() bool
- func (o PartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)
- 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) GetDhcp() bool
- func (o *PartialUpdateNetworkPayload) GetDhcpOk() (*bool, bool)
- func (o *PartialUpdateNetworkPayload) GetIpv4() UpdateNetworkIPv4Body
- func (o *PartialUpdateNetworkPayload) GetIpv4Ok() (*UpdateNetworkIPv4Body, bool)
- func (o *PartialUpdateNetworkPayload) GetIpv6() UpdateNetworkIPv6Body
- func (o *PartialUpdateNetworkPayload) GetIpv6Ok() (*UpdateNetworkIPv6Body, 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) GetRoutingTableId() string
- func (o *PartialUpdateNetworkPayload) GetRoutingTableIdOk() (*string, bool)
- func (o *PartialUpdateNetworkPayload) HasDhcp() bool
- func (o *PartialUpdateNetworkPayload) HasIpv4() bool
- func (o *PartialUpdateNetworkPayload) HasIpv6() bool
- func (o *PartialUpdateNetworkPayload) HasLabels() bool
- func (o *PartialUpdateNetworkPayload) HasName() bool
- func (o *PartialUpdateNetworkPayload) HasRouted() bool
- func (o *PartialUpdateNetworkPayload) HasRoutingTableId() bool
- func (o PartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateNetworkPayload) SetDhcp(v bool)
- func (o *PartialUpdateNetworkPayload) SetIpv4(v UpdateNetworkIPv4Body)
- func (o *PartialUpdateNetworkPayload) SetIpv6(v UpdateNetworkIPv6Body)
- func (o *PartialUpdateNetworkPayload) SetLabels(v map[string]interface{})
- func (o *PartialUpdateNetworkPayload) SetName(v string)
- func (o *PartialUpdateNetworkPayload) SetRouted(v bool)
- func (o *PartialUpdateNetworkPayload) SetRoutingTableId(v string)
- 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) GetId() string
- func (o *Project) GetIdOk() (*string, bool)
- func (o *Project) GetInternetAccess() bool
- func (o *Project) GetInternetAccessOk() (*bool, bool)
- func (o *Project) GetStatus() string
- func (o *Project) GetStatusOk() (*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) HasUpdatedAt() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetAreaId(v AreaId)
- func (o *Project) SetCreatedAt(v time.Time)
- func (o *Project) SetId(v string)
- func (o *Project) SetInternetAccess(v bool)
- func (o *Project) SetStatus(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) GetRegion() string
- func (o *PublicNetwork) GetRegionOk() (*string, bool)
- func (o PublicNetwork) MarshalJSON() ([]byte, error)
- func (o *PublicNetwork) SetCidr(v string)
- func (o *PublicNetwork) SetRegion(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 RegionalArea
- func (o *RegionalArea) GetIpv4() RegionalAreaIPv4
- func (o *RegionalArea) GetIpv4Ok() (*RegionalAreaIPv4, bool)
- func (o *RegionalArea) GetStatus() string
- func (o *RegionalArea) GetStatusOk() (*string, bool)
- func (o *RegionalArea) HasIpv4() bool
- func (o *RegionalArea) HasStatus() bool
- func (o RegionalArea) MarshalJSON() ([]byte, error)
- func (o *RegionalArea) SetIpv4(v RegionalAreaIPv4)
- func (o *RegionalArea) SetStatus(v string)
- func (o RegionalArea) ToMap() (map[string]interface{}, error)
- type RegionalAreaIPv4
- func (o *RegionalAreaIPv4) GetDefaultNameservers() []string
- func (o *RegionalAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
- func (o *RegionalAreaIPv4) GetDefaultPrefixLen() int64
- func (o *RegionalAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)
- func (o *RegionalAreaIPv4) GetMaxPrefixLen() int64
- func (o *RegionalAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)
- func (o *RegionalAreaIPv4) GetMinPrefixLen() int64
- func (o *RegionalAreaIPv4) GetMinPrefixLenOk() (*int64, bool)
- func (o *RegionalAreaIPv4) GetNetworkRanges() []NetworkRange
- func (o *RegionalAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)
- func (o *RegionalAreaIPv4) GetTransferNetwork() string
- func (o *RegionalAreaIPv4) GetTransferNetworkOk() (*string, bool)
- func (o *RegionalAreaIPv4) HasDefaultNameservers() bool
- func (o RegionalAreaIPv4) MarshalJSON() ([]byte, error)
- func (o *RegionalAreaIPv4) SetDefaultNameservers(v []string)
- func (o *RegionalAreaIPv4) SetDefaultPrefixLen(v int64)
- func (o *RegionalAreaIPv4) SetMaxPrefixLen(v int64)
- func (o *RegionalAreaIPv4) SetMinPrefixLen(v int64)
- func (o *RegionalAreaIPv4) SetNetworkRanges(v []NetworkRange)
- func (o *RegionalAreaIPv4) SetTransferNetwork(v string)
- func (o RegionalAreaIPv4) ToMap() (map[string]interface{}, error)
- func (o *RegionalAreaIPv4) UnmarshalJSON(data []byte) (err error)
- type RegionalAreaListResponse
- func (o *RegionalAreaListResponse) GetRegions() map[string]RegionalArea
- func (o *RegionalAreaListResponse) GetRegionsOk() (*map[string]RegionalArea, bool)
- func (o RegionalAreaListResponse) MarshalJSON() ([]byte, error)
- func (o *RegionalAreaListResponse) SetRegions(v map[string]RegionalArea)
- func (o RegionalAreaListResponse) ToMap() (map[string]interface{}, error)
- func (o *RegionalAreaListResponse) 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) GetDestination() RouteDestination
- func (o *Route) GetDestinationOk() (*RouteDestination, bool)
- func (o *Route) GetId() string
- func (o *Route) GetIdOk() (*string, bool)
- func (o *Route) GetLabels() map[string]interface{}
- func (o *Route) GetLabelsOk() (map[string]interface{}, bool)
- func (o *Route) GetNexthop() RouteNexthop
- func (o *Route) GetNexthopOk() (*RouteNexthop, bool)
- func (o *Route) GetUpdatedAt() time.Time
- func (o *Route) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Route) HasCreatedAt() bool
- func (o *Route) HasId() bool
- func (o *Route) HasLabels() bool
- func (o *Route) HasUpdatedAt() bool
- func (o Route) MarshalJSON() ([]byte, error)
- func (o *Route) SetCreatedAt(v time.Time)
- func (o *Route) SetDestination(v RouteDestination)
- func (o *Route) SetId(v string)
- func (o *Route) SetLabels(v map[string]interface{})
- func (o *Route) SetNexthop(v RouteNexthop)
- func (o *Route) SetUpdatedAt(v time.Time)
- func (o Route) ToMap() (map[string]interface{}, error)
- func (o *Route) UnmarshalJSON(data []byte) (err error)
- type RouteDestination
- 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 RouteNexthop
- type RoutingTable
- func (o *RoutingTable) GetCreatedAt() time.Time
- func (o *RoutingTable) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoutingTable) GetDefault() bool
- func (o *RoutingTable) GetDefaultOk() (*bool, bool)
- func (o *RoutingTable) GetDescription() string
- func (o *RoutingTable) GetDescriptionOk() (*string, bool)
- func (o *RoutingTable) GetDynamicRoutes() bool
- func (o *RoutingTable) GetDynamicRoutesOk() (*bool, bool)
- func (o *RoutingTable) GetId() string
- func (o *RoutingTable) GetIdOk() (*string, bool)
- func (o *RoutingTable) GetLabels() map[string]interface{}
- func (o *RoutingTable) GetLabelsOk() (map[string]interface{}, bool)
- func (o *RoutingTable) GetName() string
- func (o *RoutingTable) GetNameOk() (*string, bool)
- func (o *RoutingTable) GetSystemRoutes() bool
- func (o *RoutingTable) GetSystemRoutesOk() (*bool, bool)
- func (o *RoutingTable) GetUpdatedAt() time.Time
- func (o *RoutingTable) GetUpdatedAtOk() (*time.Time, bool)
- func (o *RoutingTable) HasCreatedAt() bool
- func (o *RoutingTable) HasDefault() bool
- func (o *RoutingTable) HasDescription() bool
- func (o *RoutingTable) HasDynamicRoutes() bool
- func (o *RoutingTable) HasId() bool
- func (o *RoutingTable) HasLabels() bool
- func (o *RoutingTable) HasSystemRoutes() bool
- func (o *RoutingTable) HasUpdatedAt() bool
- func (o RoutingTable) MarshalJSON() ([]byte, error)
- func (o *RoutingTable) SetCreatedAt(v time.Time)
- func (o *RoutingTable) SetDefault(v bool)
- func (o *RoutingTable) SetDescription(v string)
- func (o *RoutingTable) SetDynamicRoutes(v bool)
- func (o *RoutingTable) SetId(v string)
- func (o *RoutingTable) SetLabels(v map[string]interface{})
- func (o *RoutingTable) SetName(v string)
- func (o *RoutingTable) SetSystemRoutes(v bool)
- func (o *RoutingTable) SetUpdatedAt(v time.Time)
- func (o RoutingTable) ToMap() (map[string]interface{}, error)
- func (o *RoutingTable) UnmarshalJSON(data []byte) (err error)
- type RoutingTableListResponse
- func (o *RoutingTableListResponse) GetItems() []RoutingTable
- func (o *RoutingTableListResponse) GetItemsOk() ([]RoutingTable, bool)
- func (o RoutingTableListResponse) MarshalJSON() ([]byte, error)
- func (o *RoutingTableListResponse) SetItems(v []RoutingTable)
- func (o RoutingTableListResponse) ToMap() (map[string]interface{}, error)
- func (o *RoutingTableListResponse) 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 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 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 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 UpdateRegionalAreaIPv4
- func (o *UpdateRegionalAreaIPv4) GetDefaultNameservers() []string
- func (o *UpdateRegionalAreaIPv4) GetDefaultNameserversOk() ([]string, bool)
- func (o *UpdateRegionalAreaIPv4) GetDefaultPrefixLen() int64
- func (o *UpdateRegionalAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)
- func (o *UpdateRegionalAreaIPv4) GetMaxPrefixLen() int64
- func (o *UpdateRegionalAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)
- func (o *UpdateRegionalAreaIPv4) GetMinPrefixLen() int64
- func (o *UpdateRegionalAreaIPv4) GetMinPrefixLenOk() (*int64, bool)
- func (o *UpdateRegionalAreaIPv4) HasDefaultNameservers() bool
- func (o *UpdateRegionalAreaIPv4) HasDefaultPrefixLen() bool
- func (o *UpdateRegionalAreaIPv4) HasMaxPrefixLen() bool
- func (o *UpdateRegionalAreaIPv4) HasMinPrefixLen() bool
- func (o UpdateRegionalAreaIPv4) MarshalJSON() ([]byte, error)
- func (o *UpdateRegionalAreaIPv4) SetDefaultNameservers(v []string)
- func (o *UpdateRegionalAreaIPv4) SetDefaultPrefixLen(v int64)
- func (o *UpdateRegionalAreaIPv4) SetMaxPrefixLen(v int64)
- func (o *UpdateRegionalAreaIPv4) SetMinPrefixLen(v int64)
- func (o UpdateRegionalAreaIPv4) ToMap() (map[string]interface{}, error)
- type UpdateRouteOfRoutingTablePayload
- func (o *UpdateRouteOfRoutingTablePayload) GetLabels() map[string]interface{}
- func (o *UpdateRouteOfRoutingTablePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateRouteOfRoutingTablePayload) HasLabels() bool
- func (o UpdateRouteOfRoutingTablePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateRouteOfRoutingTablePayload) SetLabels(v map[string]interface{})
- func (o UpdateRouteOfRoutingTablePayload) ToMap() (map[string]interface{}, error)
- type UpdateRoutingTableOfAreaPayload
- func (o *UpdateRoutingTableOfAreaPayload) GetDescription() string
- func (o *UpdateRoutingTableOfAreaPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateRoutingTableOfAreaPayload) GetDynamicRoutes() bool
- func (o *UpdateRoutingTableOfAreaPayload) GetDynamicRoutesOk() (*bool, bool)
- func (o *UpdateRoutingTableOfAreaPayload) GetLabels() map[string]interface{}
- func (o *UpdateRoutingTableOfAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateRoutingTableOfAreaPayload) GetName() string
- func (o *UpdateRoutingTableOfAreaPayload) GetNameOk() (*string, bool)
- func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutes() bool
- func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutesOk() (*bool, bool)
- func (o *UpdateRoutingTableOfAreaPayload) HasDescription() bool
- func (o *UpdateRoutingTableOfAreaPayload) HasDynamicRoutes() bool
- func (o *UpdateRoutingTableOfAreaPayload) HasLabels() bool
- func (o *UpdateRoutingTableOfAreaPayload) HasName() bool
- func (o *UpdateRoutingTableOfAreaPayload) HasSystemRoutes() bool
- func (o UpdateRoutingTableOfAreaPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateRoutingTableOfAreaPayload) SetDescription(v string)
- func (o *UpdateRoutingTableOfAreaPayload) SetDynamicRoutes(v bool)
- func (o *UpdateRoutingTableOfAreaPayload) SetLabels(v map[string]interface{})
- func (o *UpdateRoutingTableOfAreaPayload) SetName(v string)
- func (o *UpdateRoutingTableOfAreaPayload) SetSystemRoutes(v bool)
- func (o UpdateRoutingTableOfAreaPayload) 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 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 V2beta1ConfigureNetworkAreaRegionPayload
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetIpv4() RegionalAreaIPv4
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetIpv4Ok() (*RegionalAreaIPv4, bool)
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetStatus() string
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetStatusOk() (*string, bool)
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) HasIpv4() bool
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) HasStatus() bool
- func (o V2beta1ConfigureNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) SetIpv4(v RegionalAreaIPv4)
- func (o *V2beta1ConfigureNetworkAreaRegionPayload) SetStatus(v string)
- func (o V2beta1ConfigureNetworkAreaRegionPayload) ToMap() (map[string]interface{}, error)
- type V2beta1CreateSnapshotPayload
- func (o *V2beta1CreateSnapshotPayload) GetCreatedAt() time.Time
- func (o *V2beta1CreateSnapshotPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *V2beta1CreateSnapshotPayload) GetId() string
- func (o *V2beta1CreateSnapshotPayload) GetIdOk() (*string, bool)
- func (o *V2beta1CreateSnapshotPayload) GetLabels() map[string]interface{}
- func (o *V2beta1CreateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *V2beta1CreateSnapshotPayload) GetName() string
- func (o *V2beta1CreateSnapshotPayload) GetNameOk() (*string, bool)
- func (o *V2beta1CreateSnapshotPayload) GetSize() int64
- func (o *V2beta1CreateSnapshotPayload) GetSizeOk() (*int64, bool)
- func (o *V2beta1CreateSnapshotPayload) GetStatus() string
- func (o *V2beta1CreateSnapshotPayload) GetStatusOk() (*string, bool)
- func (o *V2beta1CreateSnapshotPayload) GetUpdatedAt() time.Time
- func (o *V2beta1CreateSnapshotPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *V2beta1CreateSnapshotPayload) GetVolumeId() string
- func (o *V2beta1CreateSnapshotPayload) GetVolumeIdOk() (*string, bool)
- func (o *V2beta1CreateSnapshotPayload) HasCreatedAt() bool
- func (o *V2beta1CreateSnapshotPayload) HasId() bool
- func (o *V2beta1CreateSnapshotPayload) HasLabels() bool
- func (o *V2beta1CreateSnapshotPayload) HasName() bool
- func (o *V2beta1CreateSnapshotPayload) HasSize() bool
- func (o *V2beta1CreateSnapshotPayload) HasStatus() bool
- func (o *V2beta1CreateSnapshotPayload) HasUpdatedAt() bool
- func (o V2beta1CreateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1CreateSnapshotPayload) SetCreatedAt(v time.Time)
- func (o *V2beta1CreateSnapshotPayload) SetId(v string)
- func (o *V2beta1CreateSnapshotPayload) SetLabels(v map[string]interface{})
- func (o *V2beta1CreateSnapshotPayload) SetName(v string)
- func (o *V2beta1CreateSnapshotPayload) SetSize(v int64)
- func (o *V2beta1CreateSnapshotPayload) SetStatus(v string)
- func (o *V2beta1CreateSnapshotPayload) SetUpdatedAt(v time.Time)
- func (o *V2beta1CreateSnapshotPayload) SetVolumeId(v string)
- func (o V2beta1CreateSnapshotPayload) ToMap() (map[string]interface{}, error)
- func (o *V2beta1CreateSnapshotPayload) UnmarshalJSON(data []byte) (err error)
- type V2beta1UpdateBackupPayload
- func (o *V2beta1UpdateBackupPayload) GetAvailabilityZone() string
- func (o *V2beta1UpdateBackupPayload) GetAvailabilityZoneOk() (*string, bool)
- func (o *V2beta1UpdateBackupPayload) GetCreatedAt() time.Time
- func (o *V2beta1UpdateBackupPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *V2beta1UpdateBackupPayload) GetEncrypted() bool
- func (o *V2beta1UpdateBackupPayload) GetEncryptedOk() (*bool, bool)
- func (o *V2beta1UpdateBackupPayload) GetId() string
- func (o *V2beta1UpdateBackupPayload) GetIdOk() (*string, bool)
- func (o *V2beta1UpdateBackupPayload) GetLabels() map[string]interface{}
- func (o *V2beta1UpdateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *V2beta1UpdateBackupPayload) GetName() string
- func (o *V2beta1UpdateBackupPayload) GetNameOk() (*string, bool)
- func (o *V2beta1UpdateBackupPayload) GetSize() int64
- func (o *V2beta1UpdateBackupPayload) GetSizeOk() (*int64, bool)
- func (o *V2beta1UpdateBackupPayload) GetSnapshotId() string
- func (o *V2beta1UpdateBackupPayload) GetSnapshotIdOk() (*string, bool)
- func (o *V2beta1UpdateBackupPayload) GetStatus() string
- func (o *V2beta1UpdateBackupPayload) GetStatusOk() (*string, bool)
- func (o *V2beta1UpdateBackupPayload) GetUpdatedAt() time.Time
- func (o *V2beta1UpdateBackupPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *V2beta1UpdateBackupPayload) GetVolumeId() string
- func (o *V2beta1UpdateBackupPayload) GetVolumeIdOk() (*string, bool)
- func (o *V2beta1UpdateBackupPayload) HasAvailabilityZone() bool
- func (o *V2beta1UpdateBackupPayload) HasCreatedAt() bool
- func (o *V2beta1UpdateBackupPayload) HasEncrypted() bool
- func (o *V2beta1UpdateBackupPayload) HasId() bool
- func (o *V2beta1UpdateBackupPayload) HasLabels() bool
- func (o *V2beta1UpdateBackupPayload) HasName() bool
- func (o *V2beta1UpdateBackupPayload) HasSize() bool
- func (o *V2beta1UpdateBackupPayload) HasSnapshotId() bool
- func (o *V2beta1UpdateBackupPayload) HasStatus() bool
- func (o *V2beta1UpdateBackupPayload) HasUpdatedAt() bool
- func (o *V2beta1UpdateBackupPayload) HasVolumeId() bool
- func (o V2beta1UpdateBackupPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1UpdateBackupPayload) SetAvailabilityZone(v string)
- func (o *V2beta1UpdateBackupPayload) SetCreatedAt(v time.Time)
- func (o *V2beta1UpdateBackupPayload) SetEncrypted(v bool)
- func (o *V2beta1UpdateBackupPayload) SetId(v string)
- func (o *V2beta1UpdateBackupPayload) SetLabels(v map[string]interface{})
- func (o *V2beta1UpdateBackupPayload) SetName(v string)
- func (o *V2beta1UpdateBackupPayload) SetSize(v int64)
- func (o *V2beta1UpdateBackupPayload) SetSnapshotId(v string)
- func (o *V2beta1UpdateBackupPayload) SetStatus(v string)
- func (o *V2beta1UpdateBackupPayload) SetUpdatedAt(v time.Time)
- func (o *V2beta1UpdateBackupPayload) SetVolumeId(v string)
- func (o V2beta1UpdateBackupPayload) ToMap() (map[string]interface{}, error)
- type V2beta1UpdateNetworkAreaRegionPayload
- func (o *V2beta1UpdateNetworkAreaRegionPayload) GetIpv4() UpdateRegionalAreaIPv4
- func (o *V2beta1UpdateNetworkAreaRegionPayload) GetIpv4Ok() (*UpdateRegionalAreaIPv4, bool)
- func (o *V2beta1UpdateNetworkAreaRegionPayload) HasIpv4() bool
- func (o V2beta1UpdateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1UpdateNetworkAreaRegionPayload) SetIpv4(v UpdateRegionalAreaIPv4)
- func (o V2beta1UpdateNetworkAreaRegionPayload) ToMap() (map[string]interface{}, error)
- type V2beta1UpdateRouteOfAreaPayload
- func (o *V2beta1UpdateRouteOfAreaPayload) GetLabels() map[string]interface{}
- func (o *V2beta1UpdateRouteOfAreaPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *V2beta1UpdateRouteOfAreaPayload) HasLabels() bool
- func (o V2beta1UpdateRouteOfAreaPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1UpdateRouteOfAreaPayload) SetLabels(v map[string]interface{})
- func (o V2beta1UpdateRouteOfAreaPayload) ToMap() (map[string]interface{}, error)
- type V2beta1UpdateSecurityGroupPayload
- func (o *V2beta1UpdateSecurityGroupPayload) GetDescription() string
- func (o *V2beta1UpdateSecurityGroupPayload) GetDescriptionOk() (*string, bool)
- func (o *V2beta1UpdateSecurityGroupPayload) GetLabels() map[string]interface{}
- func (o *V2beta1UpdateSecurityGroupPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *V2beta1UpdateSecurityGroupPayload) GetName() string
- func (o *V2beta1UpdateSecurityGroupPayload) GetNameOk() (*string, bool)
- func (o *V2beta1UpdateSecurityGroupPayload) HasDescription() bool
- func (o *V2beta1UpdateSecurityGroupPayload) HasLabels() bool
- func (o *V2beta1UpdateSecurityGroupPayload) HasName() bool
- func (o V2beta1UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1UpdateSecurityGroupPayload) SetDescription(v string)
- func (o *V2beta1UpdateSecurityGroupPayload) SetLabels(v map[string]interface{})
- func (o *V2beta1UpdateSecurityGroupPayload) SetName(v string)
- func (o V2beta1UpdateSecurityGroupPayload) ToMap() (map[string]interface{}, error)
- type V2beta1UpdateSnapshotPayload
- func (o *V2beta1UpdateSnapshotPayload) GetLabels() map[string]interface{}
- func (o *V2beta1UpdateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *V2beta1UpdateSnapshotPayload) GetName() string
- func (o *V2beta1UpdateSnapshotPayload) GetNameOk() (*string, bool)
- func (o *V2beta1UpdateSnapshotPayload) HasLabels() bool
- func (o *V2beta1UpdateSnapshotPayload) HasName() bool
- func (o V2beta1UpdateSnapshotPayload) MarshalJSON() ([]byte, error)
- func (o *V2beta1UpdateSnapshotPayload) SetLabels(v map[string]interface{})
- func (o *V2beta1UpdateSnapshotPayload) SetName(v string)
- func (o V2beta1UpdateSnapshotPayload) 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 v2beta1 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 AddRoutesToRoutingTablePayload ¶
type AddRoutesToRoutingTablePayload struct {
// A list of routes.
Items []Route `json:"items"`
}
AddRoutesToRoutingTablePayload Object represents a request to add network routes.
func NewAddRoutesToRoutingTablePayload ¶
func NewAddRoutesToRoutingTablePayload(items []Route) *AddRoutesToRoutingTablePayload
NewAddRoutesToRoutingTablePayload instantiates a new AddRoutesToRoutingTablePayload 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 NewAddRoutesToRoutingTablePayloadWithDefaults ¶
func NewAddRoutesToRoutingTablePayloadWithDefaults() *AddRoutesToRoutingTablePayload
NewAddRoutesToRoutingTablePayloadWithDefaults instantiates a new AddRoutesToRoutingTablePayload 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 (*AddRoutesToRoutingTablePayload) GetItems ¶
func (o *AddRoutesToRoutingTablePayload) GetItems() []Route
GetItems returns the Items field value
func (*AddRoutesToRoutingTablePayload) GetItemsOk ¶
func (o *AddRoutesToRoutingTablePayload) GetItemsOk() ([]Route, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (AddRoutesToRoutingTablePayload) MarshalJSON ¶
func (o AddRoutesToRoutingTablePayload) MarshalJSON() ([]byte, error)
func (*AddRoutesToRoutingTablePayload) SetItems ¶
func (o *AddRoutesToRoutingTablePayload) SetItems(v []Route)
SetItems sets field value
func (AddRoutesToRoutingTablePayload) ToMap ¶
func (o AddRoutesToRoutingTablePayload) ToMap() (map[string]interface{}, error)
func (*AddRoutesToRoutingTablePayload) UnmarshalJSON ¶
func (o *AddRoutesToRoutingTablePayload) UnmarshalJSON(data []byte) (err error)
type AddRoutingTableToAreaPayload ¶
type AddRoutingTableToAreaPayload struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// This is the default routing table. It can't be deleted and is used if the user does not specify it otherwise.
Default *bool `json:"default,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// A config setting for a routing table which allows propagation of dynamic routes to this routing table.
DynamicRoutes *bool `json:"dynamicRoutes,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 config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.
SystemRoutes *bool `json:"systemRoutes,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
AddRoutingTableToAreaPayload An object representing a routing table.
func NewAddRoutingTableToAreaPayload ¶
func NewAddRoutingTableToAreaPayload(name string) *AddRoutingTableToAreaPayload
NewAddRoutingTableToAreaPayload instantiates a new AddRoutingTableToAreaPayload 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 NewAddRoutingTableToAreaPayloadWithDefaults ¶
func NewAddRoutingTableToAreaPayloadWithDefaults() *AddRoutingTableToAreaPayload
NewAddRoutingTableToAreaPayloadWithDefaults instantiates a new AddRoutingTableToAreaPayload 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 (*AddRoutingTableToAreaPayload) GetCreatedAt ¶
func (o *AddRoutingTableToAreaPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetCreatedAtOk ¶
func (o *AddRoutingTableToAreaPayload) 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 (*AddRoutingTableToAreaPayload) GetDefault ¶
func (o *AddRoutingTableToAreaPayload) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetDefaultOk ¶
func (o *AddRoutingTableToAreaPayload) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddRoutingTableToAreaPayload) GetDescription ¶
func (o *AddRoutingTableToAreaPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetDescriptionOk ¶
func (o *AddRoutingTableToAreaPayload) 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 (*AddRoutingTableToAreaPayload) GetDynamicRoutes ¶
func (o *AddRoutingTableToAreaPayload) GetDynamicRoutes() bool
GetDynamicRoutes returns the DynamicRoutes field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetDynamicRoutesOk ¶
func (o *AddRoutingTableToAreaPayload) GetDynamicRoutesOk() (*bool, bool)
GetDynamicRoutesOk returns a tuple with the DynamicRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddRoutingTableToAreaPayload) GetId ¶
func (o *AddRoutingTableToAreaPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetIdOk ¶
func (o *AddRoutingTableToAreaPayload) 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 (*AddRoutingTableToAreaPayload) GetLabels ¶
func (o *AddRoutingTableToAreaPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetLabelsOk ¶
func (o *AddRoutingTableToAreaPayload) 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 (*AddRoutingTableToAreaPayload) GetName ¶
func (o *AddRoutingTableToAreaPayload) GetName() string
GetName returns the Name field value
func (*AddRoutingTableToAreaPayload) GetNameOk ¶
func (o *AddRoutingTableToAreaPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AddRoutingTableToAreaPayload) GetSystemRoutes ¶
func (o *AddRoutingTableToAreaPayload) GetSystemRoutes() bool
GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetSystemRoutesOk ¶
func (o *AddRoutingTableToAreaPayload) GetSystemRoutesOk() (*bool, bool)
GetSystemRoutesOk returns a tuple with the SystemRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddRoutingTableToAreaPayload) GetUpdatedAt ¶
func (o *AddRoutingTableToAreaPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AddRoutingTableToAreaPayload) GetUpdatedAtOk ¶
func (o *AddRoutingTableToAreaPayload) 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 (*AddRoutingTableToAreaPayload) HasCreatedAt ¶
func (o *AddRoutingTableToAreaPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasDefault ¶
func (o *AddRoutingTableToAreaPayload) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasDescription ¶
func (o *AddRoutingTableToAreaPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasDynamicRoutes ¶
func (o *AddRoutingTableToAreaPayload) HasDynamicRoutes() bool
HasDynamicRoutes returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasId ¶
func (o *AddRoutingTableToAreaPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasLabels ¶
func (o *AddRoutingTableToAreaPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasSystemRoutes ¶
func (o *AddRoutingTableToAreaPayload) HasSystemRoutes() bool
HasSystemRoutes returns a boolean if a field has been set.
func (*AddRoutingTableToAreaPayload) HasUpdatedAt ¶
func (o *AddRoutingTableToAreaPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AddRoutingTableToAreaPayload) MarshalJSON ¶
func (o AddRoutingTableToAreaPayload) MarshalJSON() ([]byte, error)
func (*AddRoutingTableToAreaPayload) SetCreatedAt ¶
func (o *AddRoutingTableToAreaPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AddRoutingTableToAreaPayload) SetDefault ¶
func (o *AddRoutingTableToAreaPayload) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*AddRoutingTableToAreaPayload) SetDescription ¶
func (o *AddRoutingTableToAreaPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AddRoutingTableToAreaPayload) SetDynamicRoutes ¶
func (o *AddRoutingTableToAreaPayload) SetDynamicRoutes(v bool)
SetDynamicRoutes gets a reference to the given bool and assigns it to the DynamicRoutes field.
func (*AddRoutingTableToAreaPayload) SetId ¶
func (o *AddRoutingTableToAreaPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AddRoutingTableToAreaPayload) SetLabels ¶
func (o *AddRoutingTableToAreaPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*AddRoutingTableToAreaPayload) SetName ¶
func (o *AddRoutingTableToAreaPayload) SetName(v string)
SetName sets field value
func (*AddRoutingTableToAreaPayload) SetSystemRoutes ¶
func (o *AddRoutingTableToAreaPayload) SetSystemRoutes(v bool)
SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field.
func (*AddRoutingTableToAreaPayload) SetUpdatedAt ¶
func (o *AddRoutingTableToAreaPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (AddRoutingTableToAreaPayload) ToMap ¶
func (o AddRoutingTableToAreaPayload) ToMap() (map[string]interface{}, error)
func (*AddRoutingTableToAreaPayload) UnmarshalJSON ¶
func (o *AddRoutingTableToAreaPayload) UnmarshalJSON(data []byte) (err error)
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 ApiAddRoutesToRoutingTableRequest ¶
type ApiAddRoutesToRoutingTableRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddRoutesToRoutingTableRequest) AddRoutesToRoutingTablePayload ¶
func (r ApiAddRoutesToRoutingTableRequest) AddRoutesToRoutingTablePayload(addRoutesToRoutingTablePayload AddRoutesToRoutingTablePayload) ApiAddRoutesToRoutingTableRequest
Request an addition of routes to a routing table.
func (ApiAddRoutesToRoutingTableRequest) Execute ¶
func (r ApiAddRoutesToRoutingTableRequest) Execute() (*RouteListResponse, error)
type ApiAddRoutingTableToAreaRequest ¶
type ApiAddRoutingTableToAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddRoutingTableToAreaRequest) AddRoutingTableToAreaPayload ¶
func (r ApiAddRoutingTableToAreaRequest) AddRoutingTableToAreaPayload(addRoutingTableToAreaPayload AddRoutingTableToAreaPayload) ApiAddRoutingTableToAreaRequest
Request an addition of a routing table to an area.
func (ApiAddRoutingTableToAreaRequest) Execute ¶
func (r ApiAddRoutingTableToAreaRequest) Execute() (*RoutingTable, 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 ApiCreateIsolatedNetworkRequest ¶
type ApiCreateIsolatedNetworkRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateIsolatedNetworkRequest) CreateIsolatedNetworkPayload ¶
func (r ApiCreateIsolatedNetworkRequest) CreateIsolatedNetworkPayload(createIsolatedNetworkPayload CreateIsolatedNetworkPayload) ApiCreateIsolatedNetworkRequest
Request a single isolated network creation.
func (ApiCreateIsolatedNetworkRequest) Execute ¶
func (r ApiCreateIsolatedNetworkRequest) Execute() (*Network, 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 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 ApiDeleteRouteFromRoutingTableRequest ¶
type ApiDeleteRouteFromRoutingTableRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteRouteFromRoutingTableRequest) Execute ¶
func (r ApiDeleteRouteFromRoutingTableRequest) Execute() error
type ApiDeleteRoutingTableFromAreaRequest ¶
type ApiDeleteRoutingTableFromAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteRoutingTableFromAreaRequest) Execute ¶
func (r ApiDeleteRoutingTableFromAreaRequest) 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 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 ApiGetRouteOfRoutingTableRequest ¶
type ApiGetRouteOfRoutingTableRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetRouteOfRoutingTableRequest) Execute ¶
func (r ApiGetRouteOfRoutingTableRequest) Execute() (*Route, error)
type ApiGetRoutingTableOfAreaRequest ¶
type ApiGetRoutingTableOfAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetRoutingTableOfAreaRequest) Execute ¶
func (r ApiGetRoutingTableOfAreaRequest) Execute() (*RoutingTable, 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 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 ApiListRoutesOfRoutingTableRequest ¶
type ApiListRoutesOfRoutingTableRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRoutesOfRoutingTableRequest) Execute ¶
func (r ApiListRoutesOfRoutingTableRequest) Execute() (*RouteListResponse, error)
func (ApiListRoutesOfRoutingTableRequest) LabelSelector ¶
func (r ApiListRoutesOfRoutingTableRequest) LabelSelector(labelSelector string) ApiListRoutesOfRoutingTableRequest
Filter resources by labels.
type ApiListRoutingTablesOfAreaRequest ¶
type ApiListRoutingTablesOfAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRoutingTablesOfAreaRequest) Execute ¶
func (r ApiListRoutingTablesOfAreaRequest) Execute() (*RoutingTableListResponse, error)
func (ApiListRoutingTablesOfAreaRequest) LabelSelector ¶
func (r ApiListRoutingTablesOfAreaRequest) LabelSelector(labelSelector string) ApiListRoutingTablesOfAreaRequest
Filter resources by labels.
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 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 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 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 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 ApiUpdateRouteOfRoutingTableRequest ¶
type ApiUpdateRouteOfRoutingTableRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateRouteOfRoutingTableRequest) Execute ¶
func (r ApiUpdateRouteOfRoutingTableRequest) Execute() (*Route, error)
func (ApiUpdateRouteOfRoutingTableRequest) UpdateRouteOfRoutingTablePayload ¶
func (r ApiUpdateRouteOfRoutingTableRequest) UpdateRouteOfRoutingTablePayload(updateRouteOfRoutingTablePayload UpdateRouteOfRoutingTablePayload) ApiUpdateRouteOfRoutingTableRequest
Request an update of a route in a routing table.
type ApiUpdateRoutingTableOfAreaRequest ¶
type ApiUpdateRoutingTableOfAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateRoutingTableOfAreaRequest) Execute ¶
func (r ApiUpdateRoutingTableOfAreaRequest) Execute() (*RoutingTable, error)
func (ApiUpdateRoutingTableOfAreaRequest) UpdateRoutingTableOfAreaPayload ¶
func (r ApiUpdateRoutingTableOfAreaRequest) UpdateRoutingTableOfAreaPayload(updateRoutingTableOfAreaPayload UpdateRoutingTableOfAreaPayload) ApiUpdateRoutingTableOfAreaRequest
Request an update of a routing table.
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 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 ApiV2beta1ConfigureNetworkAreaRegionRequest ¶
type ApiV2beta1ConfigureNetworkAreaRegionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1ConfigureNetworkAreaRegionRequest) Execute ¶
func (r ApiV2beta1ConfigureNetworkAreaRegionRequest) Execute() (*RegionalArea, error)
func (ApiV2beta1ConfigureNetworkAreaRegionRequest) V2beta1ConfigureNetworkAreaRegionPayload ¶
func (r ApiV2beta1ConfigureNetworkAreaRegionRequest) V2beta1ConfigureNetworkAreaRegionPayload(v2beta1ConfigureNetworkAreaRegionPayload V2beta1ConfigureNetworkAreaRegionPayload) ApiV2beta1ConfigureNetworkAreaRegionRequest
Request to add a new regional network area configuration.
type ApiV2beta1CreateSnapshotRequest ¶
type ApiV2beta1CreateSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1CreateSnapshotRequest) Execute ¶
func (r ApiV2beta1CreateSnapshotRequest) Execute() (*Snapshot, error)
func (ApiV2beta1CreateSnapshotRequest) V2beta1CreateSnapshotPayload ¶
func (r ApiV2beta1CreateSnapshotRequest) V2beta1CreateSnapshotPayload(v2beta1CreateSnapshotPayload V2beta1CreateSnapshotPayload) ApiV2beta1CreateSnapshotRequest
Request a snapshot creation.
type ApiV2beta1DeleteNetworkAreaRegionRequest ¶
type ApiV2beta1DeleteNetworkAreaRegionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1DeleteNetworkAreaRegionRequest) Execute ¶
func (r ApiV2beta1DeleteNetworkAreaRegionRequest) Execute() error
type ApiV2beta1DeleteSnapshotRequest ¶
type ApiV2beta1DeleteSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1DeleteSnapshotRequest) Execute ¶
func (r ApiV2beta1DeleteSnapshotRequest) Execute() error
type ApiV2beta1GetAreaRegionRequest ¶
type ApiV2beta1GetAreaRegionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1GetAreaRegionRequest) Execute ¶
func (r ApiV2beta1GetAreaRegionRequest) Execute() (*RegionalArea, error)
type ApiV2beta1GetSnapshotRequest ¶
type ApiV2beta1GetSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1GetSnapshotRequest) Execute ¶
func (r ApiV2beta1GetSnapshotRequest) Execute() (*Snapshot, error)
type ApiV2beta1ListAreaRegionsRequest ¶
type ApiV2beta1ListAreaRegionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1ListAreaRegionsRequest) Execute ¶
func (r ApiV2beta1ListAreaRegionsRequest) Execute() (*RegionalAreaListResponse, error)
type ApiV2beta1ListSnapshotsInProjectRequest ¶
type ApiV2beta1ListSnapshotsInProjectRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1ListSnapshotsInProjectRequest) Execute ¶
func (r ApiV2beta1ListSnapshotsInProjectRequest) Execute() (*SnapshotListResponse, error)
func (ApiV2beta1ListSnapshotsInProjectRequest) LabelSelector ¶
func (r ApiV2beta1ListSnapshotsInProjectRequest) LabelSelector(labelSelector string) ApiV2beta1ListSnapshotsInProjectRequest
Filter resources by labels.
type ApiV2beta1UpdateBackupRequest ¶
type ApiV2beta1UpdateBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1UpdateBackupRequest) Execute ¶
func (r ApiV2beta1UpdateBackupRequest) Execute() (*Backup, error)
func (ApiV2beta1UpdateBackupRequest) V2beta1UpdateBackupPayload ¶
func (r ApiV2beta1UpdateBackupRequest) V2beta1UpdateBackupPayload(v2beta1UpdateBackupPayload V2beta1UpdateBackupPayload) ApiV2beta1UpdateBackupRequest
Request an update of a backup.
type ApiV2beta1UpdateNetworkAreaRegionRequest ¶
type ApiV2beta1UpdateNetworkAreaRegionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1UpdateNetworkAreaRegionRequest) Execute ¶
func (r ApiV2beta1UpdateNetworkAreaRegionRequest) Execute() (*RegionalArea, error)
func (ApiV2beta1UpdateNetworkAreaRegionRequest) V2beta1UpdateNetworkAreaRegionPayload ¶
func (r ApiV2beta1UpdateNetworkAreaRegionRequest) V2beta1UpdateNetworkAreaRegionPayload(v2beta1UpdateNetworkAreaRegionPayload V2beta1UpdateNetworkAreaRegionPayload) ApiV2beta1UpdateNetworkAreaRegionRequest
Request an update of a regional network area.
type ApiV2beta1UpdateRouteOfAreaRequest ¶
type ApiV2beta1UpdateRouteOfAreaRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1UpdateRouteOfAreaRequest) Execute ¶
func (r ApiV2beta1UpdateRouteOfAreaRequest) Execute() (*Route, error)
func (ApiV2beta1UpdateRouteOfAreaRequest) V2beta1UpdateRouteOfAreaPayload ¶
func (r ApiV2beta1UpdateRouteOfAreaRequest) V2beta1UpdateRouteOfAreaPayload(v2beta1UpdateRouteOfAreaPayload V2beta1UpdateRouteOfAreaPayload) ApiV2beta1UpdateRouteOfAreaRequest
Request an update of a network route.
type ApiV2beta1UpdateSecurityGroupRequest ¶
type ApiV2beta1UpdateSecurityGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1UpdateSecurityGroupRequest) Execute ¶
func (r ApiV2beta1UpdateSecurityGroupRequest) Execute() (*SecurityGroup, error)
func (ApiV2beta1UpdateSecurityGroupRequest) V2beta1UpdateSecurityGroupPayload ¶
func (r ApiV2beta1UpdateSecurityGroupRequest) V2beta1UpdateSecurityGroupPayload(v2beta1UpdateSecurityGroupPayload V2beta1UpdateSecurityGroupPayload) ApiV2beta1UpdateSecurityGroupRequest
Request an update of a security group.
type ApiV2beta1UpdateSnapshotRequest ¶
type ApiV2beta1UpdateSnapshotRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiV2beta1UpdateSnapshotRequest) Execute ¶
func (r ApiV2beta1UpdateSnapshotRequest) Execute() (*Snapshot, error)
func (ApiV2beta1UpdateSnapshotRequest) V2beta1UpdateSnapshotPayload ¶
func (r ApiV2beta1UpdateSnapshotRequest) V2beta1UpdateSnapshotPayload(v2beta1UpdateSnapshotPayload V2beta1UpdateSnapshotPayload) ApiV2beta1UpdateSnapshotRequest
Request an update of a snapshot.
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 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 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 CreateIsolatedNetworkPayload ¶
type CreateIsolatedNetworkPayload struct {
// Enable or disable DHCP for a network.
Dhcp *bool `json:"dhcp,omitempty"`
Ipv4 *CreateNetworkIPv4 `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"`
// 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]+)*$"`
}
CreateIsolatedNetworkPayload Object that represents the request body for a single isolated network create.
func NewCreateIsolatedNetworkPayload ¶
func NewCreateIsolatedNetworkPayload(name string) *CreateIsolatedNetworkPayload
NewCreateIsolatedNetworkPayload instantiates a new CreateIsolatedNetworkPayload 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 NewCreateIsolatedNetworkPayloadWithDefaults ¶
func NewCreateIsolatedNetworkPayloadWithDefaults() *CreateIsolatedNetworkPayload
NewCreateIsolatedNetworkPayloadWithDefaults instantiates a new CreateIsolatedNetworkPayload 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 (*CreateIsolatedNetworkPayload) GetDhcp ¶
func (o *CreateIsolatedNetworkPayload) GetDhcp() bool
GetDhcp returns the Dhcp field value if set, zero value otherwise.
func (*CreateIsolatedNetworkPayload) GetDhcpOk ¶
func (o *CreateIsolatedNetworkPayload) 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 (*CreateIsolatedNetworkPayload) GetIpv4 ¶
func (o *CreateIsolatedNetworkPayload) GetIpv4() CreateNetworkIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateIsolatedNetworkPayload) GetIpv4Ok ¶
func (o *CreateIsolatedNetworkPayload) GetIpv4Ok() (*CreateNetworkIPv4, 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 (*CreateIsolatedNetworkPayload) GetLabels ¶
func (o *CreateIsolatedNetworkPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateIsolatedNetworkPayload) GetLabelsOk ¶
func (o *CreateIsolatedNetworkPayload) 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 (*CreateIsolatedNetworkPayload) GetName ¶
func (o *CreateIsolatedNetworkPayload) GetName() string
GetName returns the Name field value
func (*CreateIsolatedNetworkPayload) GetNameOk ¶
func (o *CreateIsolatedNetworkPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateIsolatedNetworkPayload) HasDhcp ¶
func (o *CreateIsolatedNetworkPayload) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*CreateIsolatedNetworkPayload) HasIpv4 ¶
func (o *CreateIsolatedNetworkPayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*CreateIsolatedNetworkPayload) HasLabels ¶
func (o *CreateIsolatedNetworkPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateIsolatedNetworkPayload) MarshalJSON ¶
func (o CreateIsolatedNetworkPayload) MarshalJSON() ([]byte, error)
func (*CreateIsolatedNetworkPayload) SetDhcp ¶
func (o *CreateIsolatedNetworkPayload) SetDhcp(v bool)
SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.
func (*CreateIsolatedNetworkPayload) SetIpv4 ¶
func (o *CreateIsolatedNetworkPayload) SetIpv4(v CreateNetworkIPv4)
SetIpv4 gets a reference to the given CreateNetworkIPv4 and assigns it to the Ipv4 field.
func (*CreateIsolatedNetworkPayload) SetLabels ¶
func (o *CreateIsolatedNetworkPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateIsolatedNetworkPayload) SetName ¶
func (o *CreateIsolatedNetworkPayload) SetName(v string)
SetName sets field value
func (CreateIsolatedNetworkPayload) ToMap ¶
func (o CreateIsolatedNetworkPayload) ToMap() (map[string]interface{}, error)
func (*CreateIsolatedNetworkPayload) UnmarshalJSON ¶
func (o *CreateIsolatedNetworkPayload) 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 CreateNetworkAreaPayload ¶
type CreateNetworkAreaPayload 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"`
Name string `json:"name"`
}
CreateNetworkAreaPayload Object that represents the network area create request.
func NewCreateNetworkAreaPayload ¶
func NewCreateNetworkAreaPayload(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) 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) 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.
Items []Route `json:"items"`
}
CreateNetworkAreaRoutePayload Object represents a request to add network routes.
func NewCreateNetworkAreaRoutePayload ¶
func NewCreateNetworkAreaRoutePayload(items []Route) *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) GetItems ¶
func (o *CreateNetworkAreaRoutePayload) GetItems() []Route
GetItems returns the Items field value
func (*CreateNetworkAreaRoutePayload) GetItemsOk ¶
func (o *CreateNetworkAreaRoutePayload) GetItemsOk() ([]Route, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (CreateNetworkAreaRoutePayload) MarshalJSON ¶
func (o CreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)
func (*CreateNetworkAreaRoutePayload) SetItems ¶
func (o *CreateNetworkAreaRoutePayload) SetItems(v []Route)
SetItems sets field value
func (CreateNetworkAreaRoutePayload) ToMap ¶
func (o CreateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)
func (*CreateNetworkAreaRoutePayload) UnmarshalJSON ¶
func (o *CreateNetworkAreaRoutePayload) UnmarshalJSON(data []byte) (err error)
type CreateNetworkIPv4 ¶
type CreateNetworkIPv4 struct {
CreateNetworkIPv4WithPrefix *CreateNetworkIPv4WithPrefix
CreateNetworkIPv4WithPrefixLength *CreateNetworkIPv4WithPrefixLength
}
CreateNetworkIPv4 - The create request for an IPv4 network.
func CreateNetworkIPv4WithPrefixAsCreateNetworkIPv4 ¶
func CreateNetworkIPv4WithPrefixAsCreateNetworkIPv4(v *CreateNetworkIPv4WithPrefix) CreateNetworkIPv4
CreateNetworkIPv4WithPrefixAsCreateNetworkIPv4 is a convenience function that returns CreateNetworkIPv4WithPrefix wrapped in CreateNetworkIPv4
func CreateNetworkIPv4WithPrefixLengthAsCreateNetworkIPv4 ¶
func CreateNetworkIPv4WithPrefixLengthAsCreateNetworkIPv4(v *CreateNetworkIPv4WithPrefixLength) CreateNetworkIPv4
CreateNetworkIPv4WithPrefixLengthAsCreateNetworkIPv4 is a convenience function that returns CreateNetworkIPv4WithPrefixLength wrapped in CreateNetworkIPv4
func (*CreateNetworkIPv4) GetActualInstance ¶
func (obj *CreateNetworkIPv4) GetActualInstance() interface{}
Get the actual instance
func (CreateNetworkIPv4) GetActualInstanceValue ¶
func (obj CreateNetworkIPv4) GetActualInstanceValue() interface{}
Get the actual instance value
func (CreateNetworkIPv4) MarshalJSON ¶
func (src CreateNetworkIPv4) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateNetworkIPv4) UnmarshalJSON ¶
func (dst *CreateNetworkIPv4) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreateNetworkIPv4WithPrefix ¶
type CreateNetworkIPv4WithPrefix struct {
// The IPv4 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 `` /* 165-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv4.
Nameservers []string `json:"nameservers,omitempty"`
// IPv4 Classless Inter-Domain Routing (CIDR).
Prefix string `` /* 153-byte string literal not displayed */
}
CreateNetworkIPv4WithPrefix The create request for an IPv4 network with a specified prefix.
func NewCreateNetworkIPv4WithPrefix ¶
func NewCreateNetworkIPv4WithPrefix(prefix string) *CreateNetworkIPv4WithPrefix
NewCreateNetworkIPv4WithPrefix instantiates a new CreateNetworkIPv4WithPrefix 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 NewCreateNetworkIPv4WithPrefixWithDefaults ¶
func NewCreateNetworkIPv4WithPrefixWithDefaults() *CreateNetworkIPv4WithPrefix
NewCreateNetworkIPv4WithPrefixWithDefaults instantiates a new CreateNetworkIPv4WithPrefix 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 (*CreateNetworkIPv4WithPrefix) GetGateway ¶
func (o *CreateNetworkIPv4WithPrefix) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateNetworkIPv4WithPrefix) GetGatewayOk ¶
func (o *CreateNetworkIPv4WithPrefix) 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 (*CreateNetworkIPv4WithPrefix) GetNameservers ¶
func (o *CreateNetworkIPv4WithPrefix) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*CreateNetworkIPv4WithPrefix) GetNameserversOk ¶
func (o *CreateNetworkIPv4WithPrefix) 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 (*CreateNetworkIPv4WithPrefix) GetPrefix ¶
func (o *CreateNetworkIPv4WithPrefix) GetPrefix() string
GetPrefix returns the Prefix field value
func (*CreateNetworkIPv4WithPrefix) GetPrefixOk ¶
func (o *CreateNetworkIPv4WithPrefix) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.
func (*CreateNetworkIPv4WithPrefix) HasGateway ¶
func (o *CreateNetworkIPv4WithPrefix) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*CreateNetworkIPv4WithPrefix) HasNameservers ¶
func (o *CreateNetworkIPv4WithPrefix) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (CreateNetworkIPv4WithPrefix) MarshalJSON ¶
func (o CreateNetworkIPv4WithPrefix) MarshalJSON() ([]byte, error)
func (*CreateNetworkIPv4WithPrefix) SetGateway ¶
func (o *CreateNetworkIPv4WithPrefix) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*CreateNetworkIPv4WithPrefix) SetGatewayNil ¶
func (o *CreateNetworkIPv4WithPrefix) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*CreateNetworkIPv4WithPrefix) SetNameservers ¶
func (o *CreateNetworkIPv4WithPrefix) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*CreateNetworkIPv4WithPrefix) SetPrefix ¶
func (o *CreateNetworkIPv4WithPrefix) SetPrefix(v string)
SetPrefix sets field value
func (CreateNetworkIPv4WithPrefix) ToMap ¶
func (o CreateNetworkIPv4WithPrefix) ToMap() (map[string]interface{}, error)
func (*CreateNetworkIPv4WithPrefix) UnmarshalJSON ¶
func (o *CreateNetworkIPv4WithPrefix) UnmarshalJSON(data []byte) (err error)
func (*CreateNetworkIPv4WithPrefix) UnsetGateway ¶
func (o *CreateNetworkIPv4WithPrefix) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type CreateNetworkIPv4WithPrefixLength ¶
type CreateNetworkIPv4WithPrefixLength struct {
// A list containing DNS Servers/Nameservers for IPv4.
Nameservers []string `json:"nameservers,omitempty"`
PrefixLength int64 `json:"prefixLength"`
}
CreateNetworkIPv4WithPrefixLength The create request for an IPv4 network with a wanted prefix length.
func NewCreateNetworkIPv4WithPrefixLength ¶
func NewCreateNetworkIPv4WithPrefixLength(prefixLength int64) *CreateNetworkIPv4WithPrefixLength
NewCreateNetworkIPv4WithPrefixLength instantiates a new CreateNetworkIPv4WithPrefixLength 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 NewCreateNetworkIPv4WithPrefixLengthWithDefaults ¶
func NewCreateNetworkIPv4WithPrefixLengthWithDefaults() *CreateNetworkIPv4WithPrefixLength
NewCreateNetworkIPv4WithPrefixLengthWithDefaults instantiates a new CreateNetworkIPv4WithPrefixLength 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 (*CreateNetworkIPv4WithPrefixLength) GetNameservers ¶
func (o *CreateNetworkIPv4WithPrefixLength) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*CreateNetworkIPv4WithPrefixLength) GetNameserversOk ¶
func (o *CreateNetworkIPv4WithPrefixLength) 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 (*CreateNetworkIPv4WithPrefixLength) GetPrefixLength ¶
func (o *CreateNetworkIPv4WithPrefixLength) GetPrefixLength() int64
GetPrefixLength returns the PrefixLength field value
func (*CreateNetworkIPv4WithPrefixLength) GetPrefixLengthOk ¶
func (o *CreateNetworkIPv4WithPrefixLength) GetPrefixLengthOk() (*int64, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value and a boolean to check if the value has been set.
func (*CreateNetworkIPv4WithPrefixLength) HasNameservers ¶
func (o *CreateNetworkIPv4WithPrefixLength) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (CreateNetworkIPv4WithPrefixLength) MarshalJSON ¶
func (o CreateNetworkIPv4WithPrefixLength) MarshalJSON() ([]byte, error)
func (*CreateNetworkIPv4WithPrefixLength) SetNameservers ¶
func (o *CreateNetworkIPv4WithPrefixLength) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*CreateNetworkIPv4WithPrefixLength) SetPrefixLength ¶
func (o *CreateNetworkIPv4WithPrefixLength) SetPrefixLength(v int64)
SetPrefixLength sets field value
func (CreateNetworkIPv4WithPrefixLength) ToMap ¶
func (o CreateNetworkIPv4WithPrefixLength) ToMap() (map[string]interface{}, error)
func (*CreateNetworkIPv4WithPrefixLength) UnmarshalJSON ¶
func (o *CreateNetworkIPv4WithPrefixLength) UnmarshalJSON(data []byte) (err error)
type CreateNetworkIPv6 ¶
type CreateNetworkIPv6 struct {
CreateNetworkIPv6WithPrefix *CreateNetworkIPv6WithPrefix
CreateNetworkIPv6WithPrefixLength *CreateNetworkIPv6WithPrefixLength
}
CreateNetworkIPv6 - The create request for an IPv6 network.
func CreateNetworkIPv6WithPrefixAsCreateNetworkIPv6 ¶
func CreateNetworkIPv6WithPrefixAsCreateNetworkIPv6(v *CreateNetworkIPv6WithPrefix) CreateNetworkIPv6
CreateNetworkIPv6WithPrefixAsCreateNetworkIPv6 is a convenience function that returns CreateNetworkIPv6WithPrefix wrapped in CreateNetworkIPv6
func CreateNetworkIPv6WithPrefixLengthAsCreateNetworkIPv6 ¶
func CreateNetworkIPv6WithPrefixLengthAsCreateNetworkIPv6(v *CreateNetworkIPv6WithPrefixLength) CreateNetworkIPv6
CreateNetworkIPv6WithPrefixLengthAsCreateNetworkIPv6 is a convenience function that returns CreateNetworkIPv6WithPrefixLength wrapped in CreateNetworkIPv6
func (*CreateNetworkIPv6) GetActualInstance ¶
func (obj *CreateNetworkIPv6) GetActualInstance() interface{}
Get the actual instance
func (CreateNetworkIPv6) GetActualInstanceValue ¶
func (obj CreateNetworkIPv6) GetActualInstanceValue() interface{}
Get the actual instance value
func (CreateNetworkIPv6) MarshalJSON ¶
func (src CreateNetworkIPv6) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateNetworkIPv6) UnmarshalJSON ¶
func (dst *CreateNetworkIPv6) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type CreateNetworkIPv6WithPrefix ¶
type CreateNetworkIPv6WithPrefix struct {
// The IPv6 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 `` /* 1257-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 `` /* 746-byte string literal not displayed */
}
CreateNetworkIPv6WithPrefix The create request for an IPv6 network with a specified prefix.
func NewCreateNetworkIPv6WithPrefix ¶
func NewCreateNetworkIPv6WithPrefix(prefix string) *CreateNetworkIPv6WithPrefix
NewCreateNetworkIPv6WithPrefix instantiates a new CreateNetworkIPv6WithPrefix 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 NewCreateNetworkIPv6WithPrefixWithDefaults ¶
func NewCreateNetworkIPv6WithPrefixWithDefaults() *CreateNetworkIPv6WithPrefix
NewCreateNetworkIPv6WithPrefixWithDefaults instantiates a new CreateNetworkIPv6WithPrefix 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 (*CreateNetworkIPv6WithPrefix) GetGateway ¶
func (o *CreateNetworkIPv6WithPrefix) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateNetworkIPv6WithPrefix) GetGatewayOk ¶
func (o *CreateNetworkIPv6WithPrefix) 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 (*CreateNetworkIPv6WithPrefix) GetNameservers ¶
func (o *CreateNetworkIPv6WithPrefix) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*CreateNetworkIPv6WithPrefix) GetNameserversOk ¶
func (o *CreateNetworkIPv6WithPrefix) 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 (*CreateNetworkIPv6WithPrefix) GetPrefix ¶
func (o *CreateNetworkIPv6WithPrefix) GetPrefix() string
GetPrefix returns the Prefix field value
func (*CreateNetworkIPv6WithPrefix) GetPrefixOk ¶
func (o *CreateNetworkIPv6WithPrefix) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.
func (*CreateNetworkIPv6WithPrefix) HasGateway ¶
func (o *CreateNetworkIPv6WithPrefix) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*CreateNetworkIPv6WithPrefix) HasNameservers ¶
func (o *CreateNetworkIPv6WithPrefix) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (CreateNetworkIPv6WithPrefix) MarshalJSON ¶
func (o CreateNetworkIPv6WithPrefix) MarshalJSON() ([]byte, error)
func (*CreateNetworkIPv6WithPrefix) SetGateway ¶
func (o *CreateNetworkIPv6WithPrefix) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*CreateNetworkIPv6WithPrefix) SetGatewayNil ¶
func (o *CreateNetworkIPv6WithPrefix) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*CreateNetworkIPv6WithPrefix) SetNameservers ¶
func (o *CreateNetworkIPv6WithPrefix) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*CreateNetworkIPv6WithPrefix) SetPrefix ¶
func (o *CreateNetworkIPv6WithPrefix) SetPrefix(v string)
SetPrefix sets field value
func (CreateNetworkIPv6WithPrefix) ToMap ¶
func (o CreateNetworkIPv6WithPrefix) ToMap() (map[string]interface{}, error)
func (*CreateNetworkIPv6WithPrefix) UnmarshalJSON ¶
func (o *CreateNetworkIPv6WithPrefix) UnmarshalJSON(data []byte) (err error)
func (*CreateNetworkIPv6WithPrefix) UnsetGateway ¶
func (o *CreateNetworkIPv6WithPrefix) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type CreateNetworkIPv6WithPrefixLength ¶
type CreateNetworkIPv6WithPrefixLength struct {
// A list containing DNS Servers/Nameservers for IPv6.
Nameservers []string `json:"nameservers,omitempty"`
PrefixLength int64 `json:"prefixLength"`
}
CreateNetworkIPv6WithPrefixLength The create request for an IPv6 network with a wanted prefix length.
func NewCreateNetworkIPv6WithPrefixLength ¶
func NewCreateNetworkIPv6WithPrefixLength(prefixLength int64) *CreateNetworkIPv6WithPrefixLength
NewCreateNetworkIPv6WithPrefixLength instantiates a new CreateNetworkIPv6WithPrefixLength 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 NewCreateNetworkIPv6WithPrefixLengthWithDefaults ¶
func NewCreateNetworkIPv6WithPrefixLengthWithDefaults() *CreateNetworkIPv6WithPrefixLength
NewCreateNetworkIPv6WithPrefixLengthWithDefaults instantiates a new CreateNetworkIPv6WithPrefixLength 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 (*CreateNetworkIPv6WithPrefixLength) GetNameservers ¶
func (o *CreateNetworkIPv6WithPrefixLength) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*CreateNetworkIPv6WithPrefixLength) GetNameserversOk ¶
func (o *CreateNetworkIPv6WithPrefixLength) 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 (*CreateNetworkIPv6WithPrefixLength) GetPrefixLength ¶
func (o *CreateNetworkIPv6WithPrefixLength) GetPrefixLength() int64
GetPrefixLength returns the PrefixLength field value
func (*CreateNetworkIPv6WithPrefixLength) GetPrefixLengthOk ¶
func (o *CreateNetworkIPv6WithPrefixLength) GetPrefixLengthOk() (*int64, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value and a boolean to check if the value has been set.
func (*CreateNetworkIPv6WithPrefixLength) HasNameservers ¶
func (o *CreateNetworkIPv6WithPrefixLength) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (CreateNetworkIPv6WithPrefixLength) MarshalJSON ¶
func (o CreateNetworkIPv6WithPrefixLength) MarshalJSON() ([]byte, error)
func (*CreateNetworkIPv6WithPrefixLength) SetNameservers ¶
func (o *CreateNetworkIPv6WithPrefixLength) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*CreateNetworkIPv6WithPrefixLength) SetPrefixLength ¶
func (o *CreateNetworkIPv6WithPrefixLength) SetPrefixLength(v int64)
SetPrefixLength sets field value
func (CreateNetworkIPv6WithPrefixLength) ToMap ¶
func (o CreateNetworkIPv6WithPrefixLength) ToMap() (map[string]interface{}, error)
func (*CreateNetworkIPv6WithPrefixLength) UnmarshalJSON ¶
func (o *CreateNetworkIPv6WithPrefixLength) UnmarshalJSON(data []byte) (err error)
type CreateNetworkPayload ¶
type CreateNetworkPayload struct {
// Enable or disable DHCP for a network.
Dhcp *bool `json:"dhcp,omitempty"`
Ipv4 *CreateNetworkIPv4 `json:"ipv4,omitempty"`
Ipv6 *CreateNetworkIPv6 `json:"ipv6,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"`
// Universally Unique Identifier (UUID).
RoutingTableId *string `json:"routingTableId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
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) 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) GetIpv4 ¶
func (o *CreateNetworkPayload) GetIpv4() CreateNetworkIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetIpv4Ok ¶
func (o *CreateNetworkPayload) GetIpv4Ok() (*CreateNetworkIPv4, 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 (*CreateNetworkPayload) GetIpv6 ¶
func (o *CreateNetworkPayload) GetIpv6() CreateNetworkIPv6
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetIpv6Ok ¶
func (o *CreateNetworkPayload) GetIpv6Ok() (*CreateNetworkIPv6, 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 (*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) GetRoutingTableId ¶
func (o *CreateNetworkPayload) GetRoutingTableId() string
GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.
func (*CreateNetworkPayload) GetRoutingTableIdOk ¶
func (o *CreateNetworkPayload) GetRoutingTableIdOk() (*string, bool)
GetRoutingTableIdOk returns a tuple with the RoutingTableId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkPayload) HasDhcp ¶
func (o *CreateNetworkPayload) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*CreateNetworkPayload) HasIpv4 ¶
func (o *CreateNetworkPayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*CreateNetworkPayload) HasIpv6 ¶
func (o *CreateNetworkPayload) HasIpv6() bool
HasIpv6 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) HasRoutingTableId ¶
func (o *CreateNetworkPayload) HasRoutingTableId() bool
HasRoutingTableId returns a boolean if a field has been set.
func (CreateNetworkPayload) MarshalJSON ¶
func (o CreateNetworkPayload) MarshalJSON() ([]byte, error)
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) SetIpv4 ¶
func (o *CreateNetworkPayload) SetIpv4(v CreateNetworkIPv4)
SetIpv4 gets a reference to the given CreateNetworkIPv4 and assigns it to the Ipv4 field.
func (*CreateNetworkPayload) SetIpv6 ¶
func (o *CreateNetworkPayload) SetIpv6(v CreateNetworkIPv6)
SetIpv6 gets a reference to the given CreateNetworkIPv6 and assigns it to the Ipv6 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) SetRoutingTableId ¶
func (o *CreateNetworkPayload) SetRoutingTableId(v string)
SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId 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}$"`
// String that represents an IPv4 address.
Ip *string `` /* 160-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 CreateServerPayloadAllOfNetworking `json:"networking"`
// 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 Object that represents the request body for a server create.
func NewCreateServerPayload ¶
func NewCreateServerPayload(machineType string, name string, networking CreateServerPayloadAllOfNetworking) *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() CreateServerPayloadAllOfNetworking
GetNetworking returns the Networking field value
func (*CreateServerPayload) GetNetworkingOk ¶
func (o *CreateServerPayload) GetNetworkingOk() (*CreateServerPayloadAllOfNetworking, bool)
GetNetworkingOk returns a tuple with the Networking field value 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) 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 CreateServerPayloadAllOfNetworking)
SetNetworking sets field value
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 CreateServerPayloadAllOfNetworking ¶
type CreateServerPayloadAllOfNetworking struct {
CreateServerNetworking *CreateServerNetworking
CreateServerNetworkingWithNics *CreateServerNetworkingWithNics
}
CreateServerPayloadAllOfNetworking - struct for CreateServerPayloadAllOfNetworking
func CreateServerNetworkingAsCreateServerPayloadAllOfNetworking ¶
func CreateServerNetworkingAsCreateServerPayloadAllOfNetworking(v *CreateServerNetworking) CreateServerPayloadAllOfNetworking
CreateServerNetworkingAsCreateServerPayloadAllOfNetworking is a convenience function that returns CreateServerNetworking wrapped in CreateServerPayloadAllOfNetworking
func CreateServerNetworkingWithNicsAsCreateServerPayloadAllOfNetworking ¶
func CreateServerNetworkingWithNicsAsCreateServerPayloadAllOfNetworking(v *CreateServerNetworkingWithNics) CreateServerPayloadAllOfNetworking
CreateServerNetworkingWithNicsAsCreateServerPayloadAllOfNetworking is a convenience function that returns CreateServerNetworkingWithNics wrapped in CreateServerPayloadAllOfNetworking
func (*CreateServerPayloadAllOfNetworking) GetActualInstance ¶
func (obj *CreateServerPayloadAllOfNetworking) GetActualInstance() interface{}
Get the actual instance
func (CreateServerPayloadAllOfNetworking) GetActualInstanceValue ¶
func (obj CreateServerPayloadAllOfNetworking) GetActualInstanceValue() interface{}
Get the actual instance value
func (CreateServerPayloadAllOfNetworking) MarshalJSON ¶
func (src CreateServerPayloadAllOfNetworking) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CreateServerPayloadAllOfNetworking) UnmarshalJSON ¶
func (dst *CreateServerPayloadAllOfNetworking) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiAddNetworkToServerRequest
*/
AddNetworkToServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiAddNetworkToServerRequest
// AddNetworkToServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiAddNicToServerRequest
*/
AddNicToServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiAddNicToServerRequest
// AddNicToServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiAddPublicIpToServerRequest
*/
AddPublicIpToServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
// AddPublicIpToServerExecute executes the request
AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
/*
AddRoutesToRoutingTable Create new routes in a routing table.
Create new routes in an existing routing table.
@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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiAddRoutesToRoutingTableRequest
*/
AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiAddRoutesToRoutingTableRequest
// AddRoutesToRoutingTableExecute executes the request
// @return RouteListResponse
AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
/*
AddRoutingTableToArea Create new routing table in a network area.
Create a new routing table 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.
@param region The STACKIT Region of the resources.
@return ApiAddRoutingTableToAreaRequest
*/
AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest
// AddRoutingTableToAreaExecute executes the request
// @return RoutingTable
AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, 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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiAddSecurityGroupToServerRequest
*/
AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
// AddSecurityGroupToServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiAddServiceAccountToServerRequest
*/
AddServiceAccountToServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest
// AddServiceAccountToServerExecute executes the request
// @return ServiceAccountMailListResponse
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiAddVolumeToServerRequest
*/
AddVolumeToServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiAddVolumeToServerRequest
// AddVolumeToServerExecute executes the request
// @return VolumeAttachment
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.
@param region The STACKIT Region of the resources.
@return ApiCreateAffinityGroupRequest
*/
CreateAffinityGroup(ctx context.Context, projectId string, region string) ApiCreateAffinityGroupRequest
// CreateAffinityGroupExecute executes the request
// @return AffinityGroup
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.
@param region The STACKIT Region of the resources.
@return ApiCreateBackupRequest
*/
CreateBackup(ctx context.Context, projectId string, region string) ApiCreateBackupRequest
// CreateBackupExecute executes the request
// @return Backup
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.
@param region The STACKIT Region of the resources.
@return ApiCreateImageRequest
*/
CreateImage(ctx context.Context, projectId string, region string) ApiCreateImageRequest
// CreateImageExecute executes the request
// @return ImageCreateResponse
CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
/*
CreateIsolatedNetwork Create a single isolated network.
Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution.
@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 region The STACKIT Region of the resources.
@return ApiCreateIsolatedNetworkRequest
*/
CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest
// CreateIsolatedNetworkExecute executes the request
// @return Network
CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, 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.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateKeyPairRequest
*/
CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
// CreateKeyPairExecute executes the request
// @return Keypair
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.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkRequest
*/
CreateNetwork(ctx context.Context, projectId string, region string) ApiCreateNetworkRequest
// CreateNetworkExecute executes the request
// @return Network
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
*/
CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
// CreateNetworkAreaExecute executes the request
// @return NetworkArea
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.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkAreaRangeRequest
*/
CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRangeRequest
// CreateNetworkAreaRangeExecute executes the request
// @return NetworkRangeListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkAreaRouteRequest
*/
CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRouteRequest
// CreateNetworkAreaRouteExecute executes the request
// @return RouteListResponse
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiCreateNicRequest
*/
CreateNic(ctx context.Context, projectId string, region string, networkId string) ApiCreateNicRequest
// CreateNicExecute executes the request
// @return NIC
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.
@param region The STACKIT Region of the resources.
@return ApiCreatePublicIPRequest
*/
CreatePublicIP(ctx context.Context, projectId string, region string) ApiCreatePublicIPRequest
// CreatePublicIPExecute executes the request
// @return PublicIp
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.
@param region The STACKIT Region of the resources.
@return ApiCreateSecurityGroupRequest
*/
CreateSecurityGroup(ctx context.Context, projectId string, region string) ApiCreateSecurityGroupRequest
// CreateSecurityGroupExecute executes the request
// @return SecurityGroup
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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiCreateSecurityGroupRuleRequest
*/
CreateSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
// CreateSecurityGroupRuleExecute executes the request
// @return SecurityGroupRule
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.
@param region The STACKIT Region of the resources.
@return ApiCreateServerRequest
*/
CreateServer(ctx context.Context, projectId string, region string) ApiCreateServerRequest
// CreateServerExecute executes the request
// @return Server
CreateServerExecute(r ApiCreateServerRequest) (*Server, 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.
@param region The STACKIT Region of the resources.
@return ApiCreateVolumeRequest
*/
CreateVolume(ctx context.Context, projectId string, region string) ApiCreateVolumeRequest
// CreateVolumeExecute executes the request
// @return Volume
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeallocateServerRequest
*/
DeallocateServer(ctx context.Context, projectId string, region string, serverId string) ApiDeallocateServerRequest
// DeallocateServerExecute executes the request
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 region The STACKIT Region of the resources.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiDeleteAffinityGroupRequest
*/
DeleteAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest
// DeleteAffinityGroupExecute executes the request
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 region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiDeleteBackupRequest
*/
DeleteBackup(ctx context.Context, projectId string, region string, backupId string) ApiDeleteBackupRequest
// DeleteBackupExecute executes the request
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 region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiDeleteImageRequest
*/
DeleteImage(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageRequest
// DeleteImageExecute executes the request
DeleteImageExecute(r ApiDeleteImageRequest) error
DeleteImageShare(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageShareRequest
DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
DeleteImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest
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
*/
DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest
// DeleteKeyPairExecute executes the request
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiDeleteNetworkRequest
*/
DeleteNetwork(ctx context.Context, projectId string, region string, networkId string) ApiDeleteNetworkRequest
// DeleteNetworkExecute executes the request
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
*/
DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
// DeleteNetworkAreaExecute executes the request
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 region The STACKIT Region of the resources.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiDeleteNetworkAreaRangeRequest
*/
DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest
// DeleteNetworkAreaRangeExecute executes the request
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 region The STACKIT Region of the resources.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteNetworkAreaRouteRequest
*/
DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiDeleteNetworkAreaRouteRequest
// DeleteNetworkAreaRouteExecute executes the request
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiDeleteNicRequest
*/
DeleteNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiDeleteNicRequest
// DeleteNicExecute executes the request
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 region The STACKIT Region of the resources.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiDeletePublicIPRequest
*/
DeletePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiDeletePublicIPRequest
// DeletePublicIPExecute executes the request
DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
/*
DeleteRouteFromRoutingTable Delete a route in a routing table.
Delete a route in an existing routing table.
@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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteRouteFromRoutingTableRequest
*/
DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiDeleteRouteFromRoutingTableRequest
// DeleteRouteFromRoutingTableExecute executes the request
DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error
/*
DeleteRoutingTableFromArea Delete a routing table.
Delete a routing table 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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiDeleteRoutingTableFromAreaRequest
*/
DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiDeleteRoutingTableFromAreaRequest
// DeleteRoutingTableFromAreaExecute executes the request
DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) 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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiDeleteSecurityGroupRequest
*/
DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest
// DeleteSecurityGroupExecute executes the request
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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiDeleteSecurityGroupRuleRequest
*/
DeleteSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest
// DeleteSecurityGroupRuleExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeleteServerRequest
*/
DeleteServer(ctx context.Context, projectId string, region string, serverId string) ApiDeleteServerRequest
// DeleteServerExecute executes the request
DeleteServerExecute(r ApiDeleteServerRequest) 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 region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiDeleteVolumeRequest
*/
DeleteVolume(ctx context.Context, projectId string, region string, volumeId string) ApiDeleteVolumeRequest
// DeleteVolumeExecute executes the request
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 region The STACKIT Region of the resources.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiGetAffinityGroupRequest
*/
GetAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiGetAffinityGroupRequest
// GetAffinityGroupExecute executes the request
// @return AffinityGroup
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetAttachedVolumeRequest
*/
GetAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
// GetAttachedVolumeExecute executes the request
// @return VolumeAttachment
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 region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiGetBackupRequest
*/
GetBackup(ctx context.Context, projectId string, region string, backupId string) ApiGetBackupRequest
// GetBackupExecute executes the request
// @return Backup
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 region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiGetImageRequest
*/
GetImage(ctx context.Context, projectId string, region string, imageId string) ApiGetImageRequest
// GetImageExecute executes the request
// @return Image
GetImageExecute(r ApiGetImageRequest) (*Image, error)
GetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiGetImageShareRequest
// @return ImageShare
GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
GetImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest
// @return ImageShareConsumer
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
*/
GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest
// GetKeyPairExecute executes the request
// @return Keypair
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 region The STACKIT Region of the resources.
@param machineType STACKIT machine type Name.
@return ApiGetMachineTypeRequest
*/
GetMachineType(ctx context.Context, projectId string, region string, machineType string) ApiGetMachineTypeRequest
// GetMachineTypeExecute executes the request
// @return MachineType
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiGetNetworkRequest
*/
GetNetwork(ctx context.Context, projectId string, region string, networkId string) ApiGetNetworkRequest
// GetNetworkExecute executes the request
// @return Network
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
*/
GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
// GetNetworkAreaExecute executes the request
// @return NetworkArea
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 region The STACKIT Region of the resources.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiGetNetworkAreaRangeRequest
*/
GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiGetNetworkAreaRangeRequest
// GetNetworkAreaRangeExecute executes the request
// @return NetworkRange
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 region The STACKIT Region of the resources.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetNetworkAreaRouteRequest
*/
GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiGetNetworkAreaRouteRequest
// GetNetworkAreaRouteExecute executes the request
// @return Route
GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
/*
GetNic Get details about a network interface.
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiGetNicRequest
*/
GetNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiGetNicRequest
// GetNicExecute executes the request
// @return NIC
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
*/
GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest
// GetOrganizationRequestExecute executes the request
// @return Request
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
*/
GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest
// GetProjectDetailsExecute executes the request
// @return Project
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 region The STACKIT Region of the resources.
@param nicId The identifier (ID) of a network interface.
@return ApiGetProjectNICRequest
*/
GetProjectNIC(ctx context.Context, projectId string, region string, nicId string) ApiGetProjectNICRequest
// GetProjectNICExecute executes the request
// @return NIC
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 region The STACKIT Region of the resources.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetProjectRequestRequest
*/
GetProjectRequest(ctx context.Context, projectId string, region string, requestId string) ApiGetProjectRequestRequest
// GetProjectRequestExecute executes the request
// @return Request
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 region The STACKIT Region of the resources.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiGetPublicIPRequest
*/
GetPublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiGetPublicIPRequest
// GetPublicIPExecute executes the request
// @return PublicIp
GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
/*
GetRouteOfRoutingTable Get details about a route of a routing table.
Get details about a route defined in a routing table.
@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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetRouteOfRoutingTableRequest
*/
GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiGetRouteOfRoutingTableRequest
// GetRouteOfRoutingTableExecute executes the request
// @return Route
GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
/*
GetRoutingTableOfArea Get details about a routing table.
Get details about a routing table 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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiGetRoutingTableOfAreaRequest
*/
GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiGetRoutingTableOfAreaRequest
// GetRoutingTableOfAreaExecute executes the request
// @return RoutingTable
GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, 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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiGetSecurityGroupRequest
*/
GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest
// GetSecurityGroupExecute executes the request
// @return SecurityGroup
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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiGetSecurityGroupRuleRequest
*/
GetSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest
// GetSecurityGroupRuleExecute executes the request
// @return SecurityGroupRule
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerRequest
*/
GetServer(ctx context.Context, projectId string, region string, serverId string) ApiGetServerRequest
// GetServerExecute executes the request
// @return Server
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerConsoleRequest
*/
GetServerConsole(ctx context.Context, projectId string, region string, serverId string) ApiGetServerConsoleRequest
// GetServerConsoleExecute executes the request
// @return ServerConsoleUrl
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerLogRequest
*/
GetServerLog(ctx context.Context, projectId string, region string, serverId string) ApiGetServerLogRequest
// GetServerLogExecute executes the request
// @return GetServerLog200Response
GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, 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 region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetVolumeRequest
*/
GetVolume(ctx context.Context, projectId string, region string, volumeId string) ApiGetVolumeRequest
// GetVolumeExecute executes the request
// @return Volume
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 region The STACKIT Region of the resources.
@param volumePerformanceClass The name of a STACKIT Volume performance class.
@return ApiGetVolumePerformanceClassRequest
*/
GetVolumePerformanceClass(ctx context.Context, projectId string, region string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
// GetVolumePerformanceClassExecute executes the request
// @return VolumePerformanceClass
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.
@param region The STACKIT Region of the resources.
@return ApiListAffinityGroupsRequest
*/
ListAffinityGroups(ctx context.Context, projectId string, region string) ApiListAffinityGroupsRequest
// ListAffinityGroupsExecute executes the request
// @return AffinityGroupListResponse
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListAttachedVolumesRequest
*/
ListAttachedVolumes(ctx context.Context, projectId string, region string, serverId string) ApiListAttachedVolumesRequest
// ListAttachedVolumesExecute executes the request
// @return VolumeAttachmentListResponse
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().
@param region The STACKIT Region of the resources.
@return ApiListAvailabilityZonesRequest
*/
ListAvailabilityZones(ctx context.Context, region string) ApiListAvailabilityZonesRequest
// ListAvailabilityZonesExecute executes the request
// @return AvailabilityZoneListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListBackupsRequest
*/
ListBackups(ctx context.Context, projectId string, region string) ApiListBackupsRequest
// ListBackupsExecute executes the request
// @return BackupListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListImagesRequest
*/
ListImages(ctx context.Context, projectId string, region string) ApiListImagesRequest
// ListImagesExecute executes the request
// @return ImageListResponse
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
*/
ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest
// ListKeyPairsExecute executes the request
// @return KeyPairListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListMachineTypesRequest
*/
ListMachineTypes(ctx context.Context, projectId string, region string) ApiListMachineTypesRequest
// ListMachineTypesExecute executes the request
// @return MachineTypeListResponse
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
*/
ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest
// ListNetworkAreaProjectsExecute executes the request
// @return ProjectListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListNetworkAreaRangesRequest
*/
ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRangesRequest
// ListNetworkAreaRangesExecute executes the request
// @return NetworkRangeListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListNetworkAreaRoutesRequest
*/
ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRoutesRequest
// ListNetworkAreaRoutesExecute executes the request
// @return RouteListResponse
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
*/
ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest
// ListNetworkAreasExecute executes the request
// @return NetworkAreaListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListNetworksRequest
*/
ListNetworks(ctx context.Context, projectId string, region string) ApiListNetworksRequest
// ListNetworksExecute executes the request
// @return NetworkListResponse
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiListNicsRequest
*/
ListNics(ctx context.Context, projectId string, region string, networkId string) ApiListNicsRequest
// ListNicsExecute executes the request
// @return NICListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListProjectNICsRequest
*/
ListProjectNICs(ctx context.Context, projectId string, region string) ApiListProjectNICsRequest
// ListProjectNICsExecute executes the request
// @return NICListResponse
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
*/
ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest
// ListPublicIPRangesExecute executes the request
// @return PublicNetworkListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListPublicIPsRequest
*/
ListPublicIPs(ctx context.Context, projectId string, region string) ApiListPublicIPsRequest
// ListPublicIPsExecute executes the request
// @return PublicIpListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListQuotasRequest
*/
ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest
// ListQuotasExecute executes the request
// @return QuotaListResponse
ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
/*
ListRoutesOfRoutingTable List all routes in a routing table.
Get a list of all routes in a routing table.
@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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiListRoutesOfRoutingTableRequest
*/
ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListRoutesOfRoutingTableRequest
// ListRoutesOfRoutingTableExecute executes the request
// @return RouteListResponse
ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
/*
ListRoutingTablesOfArea List all routing tables in a network area.
Get a list of all routing tables 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 region The STACKIT Region of the resources.
@return ApiListRoutingTablesOfAreaRequest
*/
ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest
// ListRoutingTablesOfAreaExecute executes the request
// @return RoutingTableListResponse
ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, 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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiListSecurityGroupRulesRequest
*/
ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest
// ListSecurityGroupRulesExecute executes the request
// @return SecurityGroupRuleListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListSecurityGroupsRequest
*/
ListSecurityGroups(ctx context.Context, projectId string, region string) ApiListSecurityGroupsRequest
// ListSecurityGroupsExecute executes the request
// @return SecurityGroupListResponse
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerNICsRequest
*/
ListServerNICs(ctx context.Context, projectId string, region string, serverId string) ApiListServerNICsRequest
// ListServerNICsExecute executes the request
// @return NICListResponse
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerServiceAccountsRequest
*/
ListServerServiceAccounts(ctx context.Context, projectId string, region string, serverId string) ApiListServerServiceAccountsRequest
// ListServerServiceAccountsExecute executes the request
// @return ServiceAccountMailListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListServersRequest
*/
ListServers(ctx context.Context, projectId string, region string) ApiListServersRequest
// ListServersExecute executes the request
// @return ServerListResponse
ListServersExecute(r ApiListServersRequest) (*ServerListResponse, 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.
@param region The STACKIT Region of the resources.
@return ApiListVolumePerformanceClassesRequest
*/
ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest
// ListVolumePerformanceClassesExecute executes the request
// @return VolumePerformanceClassListResponse
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.
@param region The STACKIT Region of the resources.
@return ApiListVolumesRequest
*/
ListVolumes(ctx context.Context, projectId string, region string) ApiListVolumesRequest
// ListVolumesExecute executes the request
// @return VolumeListResponse
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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiPartialUpdateNetworkRequest
*/
PartialUpdateNetwork(ctx context.Context, projectId string, region string, networkId string) ApiPartialUpdateNetworkRequest
// PartialUpdateNetworkExecute executes the request
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
*/
PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
// PartialUpdateNetworkAreaExecute executes the request
// @return NetworkArea
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRebootServerRequest
*/
RebootServer(ctx context.Context, projectId string, region string, serverId string) ApiRebootServerRequest
// RebootServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiRemoveNetworkFromServerRequest
*/
RemoveNetworkFromServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
// RemoveNetworkFromServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiRemoveNicFromServerRequest
*/
RemoveNicFromServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiRemoveNicFromServerRequest
// RemoveNicFromServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiRemovePublicIpFromServerRequest
*/
RemovePublicIpFromServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
// RemovePublicIpFromServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiRemoveSecurityGroupFromServerRequest
*/
RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
// RemoveSecurityGroupFromServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiRemoveServiceAccountFromServerRequest
*/
RemoveServiceAccountFromServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest
// RemoveServiceAccountFromServerExecute executes the request
// @return ServiceAccountMailListResponse
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiRemoveVolumeFromServerRequest
*/
RemoveVolumeFromServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
// RemoveVolumeFromServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRescueServerRequest
*/
RescueServer(ctx context.Context, projectId string, region string, serverId string) ApiRescueServerRequest
// RescueServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiResizeServerRequest
*/
ResizeServer(ctx context.Context, projectId string, region string, serverId string) ApiResizeServerRequest
// ResizeServerExecute executes the request
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 region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiResizeVolumeRequest
*/
ResizeVolume(ctx context.Context, projectId string, region string, volumeId string) ApiResizeVolumeRequest
// ResizeVolumeExecute executes the request
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 region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiRestoreBackupRequest
*/
RestoreBackup(ctx context.Context, projectId string, region string, backupId string) ApiRestoreBackupRequest
// RestoreBackupExecute executes the request
RestoreBackupExecute(r ApiRestoreBackupRequest) error
SetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiSetImageShareRequest
// @return ImageShare
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStartServerRequest
*/
StartServer(ctx context.Context, projectId string, region string, serverId string) ApiStartServerRequest
// StartServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStopServerRequest
*/
StopServer(ctx context.Context, projectId string, region string, serverId string) ApiStopServerRequest
// StopServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUnrescueServerRequest
*/
UnrescueServer(ctx context.Context, projectId string, region string, serverId string) ApiUnrescueServerRequest
// UnrescueServerExecute executes the request
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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateAttachedVolumeRequest
*/
UpdateAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
// UpdateAttachedVolumeExecute executes the request
// @return VolumeAttachment
UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, 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 region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageRequest
*/
UpdateImage(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageRequest
// UpdateImageExecute executes the request
// @return Image
UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
UpdateImageShare(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageShareRequest
// @return ImageShare
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
*/
UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest
// UpdateKeyPairExecute executes the request
// @return Keypair
UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, 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 region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiUpdateNicRequest
*/
UpdateNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiUpdateNicRequest
// UpdateNicExecute executes the request
// @return NIC
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 region The STACKIT Region of the resources.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiUpdatePublicIPRequest
*/
UpdatePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiUpdatePublicIPRequest
// UpdatePublicIPExecute executes the request
// @return PublicIp
UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
/*
UpdateRouteOfRoutingTable Update a route of a routing table.
Update a route defined in a routing table.
@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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiUpdateRouteOfRoutingTableRequest
*/
UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiUpdateRouteOfRoutingTableRequest
// UpdateRouteOfRoutingTableExecute executes the request
// @return Route
UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
/*
UpdateRoutingTableOfArea Update a routing table.
Update a routing table 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 region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiUpdateRoutingTableOfAreaRequest
*/
UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiUpdateRoutingTableOfAreaRequest
// UpdateRoutingTableOfAreaExecute executes the request
// @return RoutingTable
UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, 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 region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUpdateServerRequest
*/
UpdateServer(ctx context.Context, projectId string, region string, serverId string) ApiUpdateServerRequest
// UpdateServerExecute executes the request
// @return Server
UpdateServerExecute(r ApiUpdateServerRequest) (*Server, 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 region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateVolumeRequest
*/
UpdateVolume(ctx context.Context, projectId string, region string, volumeId string) ApiUpdateVolumeRequest
// UpdateVolumeExecute executes the request
// @return Volume
UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
/*
V2beta1ConfigureNetworkAreaRegion Configure a region for a network area.
Configure a new region for 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 region The STACKIT Region of the resources.
@return ApiV2beta1ConfigureNetworkAreaRegionRequest
*/
V2beta1ConfigureNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1ConfigureNetworkAreaRegionRequest
// V2beta1ConfigureNetworkAreaRegionExecute executes the request
// @return RegionalArea
V2beta1ConfigureNetworkAreaRegionExecute(r ApiV2beta1ConfigureNetworkAreaRegionRequest) (*RegionalArea, error)
/*
V2beta1CreateSnapshot 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.
@param region The STACKIT Region of the resources.
@return ApiV2beta1CreateSnapshotRequest
*/
V2beta1CreateSnapshot(ctx context.Context, projectId string, region string) ApiV2beta1CreateSnapshotRequest
// V2beta1CreateSnapshotExecute executes the request
// @return Snapshot
V2beta1CreateSnapshotExecute(r ApiV2beta1CreateSnapshotRequest) (*Snapshot, error)
/*
V2beta1DeleteNetworkAreaRegion Delete a configuration of region for a network area.
Delete a current configuration of region for 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 region The STACKIT Region of the resources.
@return ApiV2beta1DeleteNetworkAreaRegionRequest
*/
V2beta1DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1DeleteNetworkAreaRegionRequest
// V2beta1DeleteNetworkAreaRegionExecute executes the request
V2beta1DeleteNetworkAreaRegionExecute(r ApiV2beta1DeleteNetworkAreaRegionRequest) error
/*
V2beta1DeleteSnapshot 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 region The STACKIT Region of the resources.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiV2beta1DeleteSnapshotRequest
*/
V2beta1DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1DeleteSnapshotRequest
// V2beta1DeleteSnapshotExecute executes the request
V2beta1DeleteSnapshotExecute(r ApiV2beta1DeleteSnapshotRequest) error
/*
V2beta1GetAreaRegion Get details about a configured region.
Get details about a configured region 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 region The STACKIT Region of the resources.
@return ApiV2beta1GetAreaRegionRequest
*/
V2beta1GetAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1GetAreaRegionRequest
// V2beta1GetAreaRegionExecute executes the request
// @return RegionalArea
V2beta1GetAreaRegionExecute(r ApiV2beta1GetAreaRegionRequest) (*RegionalArea, error)
/*
V2beta1GetSnapshot 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 region The STACKIT Region of the resources.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiV2beta1GetSnapshotRequest
*/
V2beta1GetSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1GetSnapshotRequest
// V2beta1GetSnapshotExecute executes the request
// @return Snapshot
V2beta1GetSnapshotExecute(r ApiV2beta1GetSnapshotRequest) (*Snapshot, error)
/*
V2beta1ListAreaRegions List all configured regions in a network area.
Get a list of all configured regions.
@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 ApiV2beta1ListAreaRegionsRequest
*/
V2beta1ListAreaRegions(ctx context.Context, organizationId string, areaId string) ApiV2beta1ListAreaRegionsRequest
// V2beta1ListAreaRegionsExecute executes the request
// @return RegionalAreaListResponse
V2beta1ListAreaRegionsExecute(r ApiV2beta1ListAreaRegionsRequest) (*RegionalAreaListResponse, error)
/*
V2beta1ListSnapshotsInProject 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.
@param region The STACKIT Region of the resources.
@return ApiV2beta1ListSnapshotsInProjectRequest
*/
V2beta1ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiV2beta1ListSnapshotsInProjectRequest
// V2beta1ListSnapshotsInProjectExecute executes the request
// @return SnapshotListResponse
V2beta1ListSnapshotsInProjectExecute(r ApiV2beta1ListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
/*
V2beta1UpdateBackup 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 region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiV2beta1UpdateBackupRequest
*/
V2beta1UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiV2beta1UpdateBackupRequest
// V2beta1UpdateBackupExecute executes the request
// @return Backup
V2beta1UpdateBackupExecute(r ApiV2beta1UpdateBackupRequest) (*Backup, error)
/*
V2beta1UpdateNetworkAreaRegion Update a region for a network area.
Update a new region for 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 region The STACKIT Region of the resources.
@return ApiV2beta1UpdateNetworkAreaRegionRequest
*/
V2beta1UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1UpdateNetworkAreaRegionRequest
// V2beta1UpdateNetworkAreaRegionExecute executes the request
// @return RegionalArea
V2beta1UpdateNetworkAreaRegionExecute(r ApiV2beta1UpdateNetworkAreaRegionRequest) (*RegionalArea, error)
/*
V2beta1UpdateRouteOfArea 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 region The STACKIT Region of the resources.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiV2beta1UpdateRouteOfAreaRequest
*/
V2beta1UpdateRouteOfArea(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiV2beta1UpdateRouteOfAreaRequest
// V2beta1UpdateRouteOfAreaExecute executes the request
// @return Route
V2beta1UpdateRouteOfAreaExecute(r ApiV2beta1UpdateRouteOfAreaRequest) (*Route, error)
/*
V2beta1UpdateSecurityGroup 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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiV2beta1UpdateSecurityGroupRequest
*/
V2beta1UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiV2beta1UpdateSecurityGroupRequest
// V2beta1UpdateSecurityGroupExecute executes the request
// @return SecurityGroup
V2beta1UpdateSecurityGroupExecute(r ApiV2beta1UpdateSecurityGroupRequest) (*SecurityGroup, error)
/*
V2beta1UpdateSnapshot 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 region The STACKIT Region of the resources.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiV2beta1UpdateSnapshotRequest
*/
V2beta1UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1UpdateSnapshotRequest
// V2beta1UpdateSnapshotExecute executes the request
// @return Snapshot
V2beta1UpdateSnapshotExecute(r ApiV2beta1UpdateSnapshotRequest) (*Snapshot, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) AddNetworkToServer ¶
func (a *DefaultAPIService) AddNetworkToServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param networkId The identifier (ID) of a STACKIT Network. @return ApiAddNetworkToServerRequest
func (*DefaultAPIService) AddNetworkToServerExecute ¶
func (a *DefaultAPIService) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
Execute executes the request
func (*DefaultAPIService) AddNicToServer ¶
func (a *DefaultAPIService) AddNicToServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param nicId The identifier (ID) of a network interface. @return ApiAddNicToServerRequest
func (*DefaultAPIService) AddNicToServerExecute ¶
func (a *DefaultAPIService) AddNicToServerExecute(r ApiAddNicToServerRequest) error
Execute executes the request
func (*DefaultAPIService) AddPublicIpToServer ¶
func (a *DefaultAPIService) AddPublicIpToServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param publicIpId The identifier (ID) of a Public IP. @return ApiAddPublicIpToServerRequest
func (*DefaultAPIService) AddPublicIpToServerExecute ¶
func (a *DefaultAPIService) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
Execute executes the request
func (*DefaultAPIService) AddRoutesToRoutingTable ¶
func (a *DefaultAPIService) AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiAddRoutesToRoutingTableRequest
AddRoutesToRoutingTable Create new routes in a routing table.
Create new routes in an existing routing table.
@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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @return ApiAddRoutesToRoutingTableRequest
func (*DefaultAPIService) AddRoutesToRoutingTableExecute ¶
func (a *DefaultAPIService) AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
Execute executes the request
@return RouteListResponse
func (*DefaultAPIService) AddRoutingTableToArea ¶
func (a *DefaultAPIService) AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest
AddRoutingTableToArea Create new routing table in a network area.
Create a new routing table 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. @param region The STACKIT Region of the resources. @return ApiAddRoutingTableToAreaRequest
func (*DefaultAPIService) AddRoutingTableToAreaExecute ¶
func (a *DefaultAPIService) AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)
Execute executes the request
@return RoutingTable
func (*DefaultAPIService) AddSecurityGroupToServer ¶
func (a *DefaultAPIService) AddSecurityGroupToServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiAddSecurityGroupToServerRequest
func (*DefaultAPIService) AddSecurityGroupToServerExecute ¶
func (a *DefaultAPIService) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
Execute executes the request
func (*DefaultAPIService) AddServiceAccountToServer ¶
func (a *DefaultAPIService) AddServiceAccountToServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param serviceAccountMail The e-mail address of a service account. @return ApiAddServiceAccountToServerRequest
func (*DefaultAPIService) AddServiceAccountToServerExecute ¶
func (a *DefaultAPIService) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
Execute executes the request
@return ServiceAccountMailListResponse
func (*DefaultAPIService) AddVolumeToServer ¶
func (a *DefaultAPIService) AddVolumeToServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiAddVolumeToServerRequest
func (*DefaultAPIService) AddVolumeToServerExecute ¶
func (a *DefaultAPIService) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
Execute executes the request
@return VolumeAttachment
func (*DefaultAPIService) CreateAffinityGroup ¶
func (a *DefaultAPIService) CreateAffinityGroup(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateAffinityGroupRequest
func (*DefaultAPIService) CreateAffinityGroupExecute ¶
func (a *DefaultAPIService) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
Execute executes the request
@return AffinityGroup
func (*DefaultAPIService) CreateBackup ¶
func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateBackupRequest
func (*DefaultAPIService) CreateBackupExecute ¶
func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
func (*DefaultAPIService) CreateImage ¶
func (a *DefaultAPIService) CreateImage(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateImageRequest
func (*DefaultAPIService) CreateImageExecute ¶
func (a *DefaultAPIService) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
Execute executes the request
@return ImageCreateResponse
func (*DefaultAPIService) CreateIsolatedNetwork ¶
func (a *DefaultAPIService) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest
CreateIsolatedNetwork Create a single isolated network.
Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution.
@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 region The STACKIT Region of the resources. @return ApiCreateIsolatedNetworkRequest
func (*DefaultAPIService) CreateIsolatedNetworkExecute ¶
func (a *DefaultAPIService) CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, error)
Execute executes the request
@return Network
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.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateKeyPairRequest
func (*DefaultAPIService) CreateKeyPairExecute ¶
func (a *DefaultAPIService) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
Execute executes the request
@return Keypair
func (*DefaultAPIService) CreateNetwork ¶
func (a *DefaultAPIService) CreateNetwork(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateNetworkRequest
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
func (*DefaultAPIService) CreateNetworkAreaExecute ¶
func (a *DefaultAPIService) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
Execute executes the request
@return NetworkArea
func (*DefaultAPIService) CreateNetworkAreaRange ¶
func (a *DefaultAPIService) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateNetworkAreaRangeRequest
func (*DefaultAPIService) CreateNetworkAreaRangeExecute ¶
func (a *DefaultAPIService) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
Execute executes the request
@return NetworkRangeListResponse
func (*DefaultAPIService) CreateNetworkAreaRoute ¶
func (a *DefaultAPIService) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateNetworkAreaRouteRequest
func (*DefaultAPIService) CreateNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
Execute executes the request
@return RouteListResponse
func (*DefaultAPIService) CreateNetworkExecute ¶
func (a *DefaultAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
Execute executes the request
@return Network
func (*DefaultAPIService) CreateNic ¶
func (a *DefaultAPIService) CreateNic(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @return ApiCreateNicRequest
func (*DefaultAPIService) CreateNicExecute ¶
func (a *DefaultAPIService) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
Execute executes the request
@return NIC
func (*DefaultAPIService) CreatePublicIP ¶
func (a *DefaultAPIService) CreatePublicIP(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreatePublicIPRequest
func (*DefaultAPIService) CreatePublicIPExecute ¶
func (a *DefaultAPIService) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
Execute executes the request
@return PublicIp
func (*DefaultAPIService) CreateSecurityGroup ¶
func (a *DefaultAPIService) CreateSecurityGroup(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateSecurityGroupRequest
func (*DefaultAPIService) CreateSecurityGroupExecute ¶
func (a *DefaultAPIService) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
Execute executes the request
@return SecurityGroup
func (*DefaultAPIService) CreateSecurityGroupRule ¶
func (a *DefaultAPIService) CreateSecurityGroupRule(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiCreateSecurityGroupRuleRequest
func (*DefaultAPIService) CreateSecurityGroupRuleExecute ¶
func (a *DefaultAPIService) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
Execute executes the request
@return SecurityGroupRule
func (*DefaultAPIService) CreateServer ¶
func (a *DefaultAPIService) CreateServer(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateServerRequest
func (*DefaultAPIService) CreateServerExecute ¶
func (a *DefaultAPIService) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
Execute executes the request
@return Server
func (*DefaultAPIService) CreateVolume ¶
func (a *DefaultAPIService) CreateVolume(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiCreateVolumeRequest
func (*DefaultAPIService) CreateVolumeExecute ¶
func (a *DefaultAPIService) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
Execute executes the request
@return Volume
func (*DefaultAPIService) DeallocateServer ¶
func (a *DefaultAPIService) DeallocateServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiDeallocateServerRequest
func (*DefaultAPIService) DeallocateServerExecute ¶
func (a *DefaultAPIService) DeallocateServerExecute(r ApiDeallocateServerRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteAffinityGroup ¶
func (a *DefaultAPIService) DeleteAffinityGroup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param affinityGroupId The identifier (ID) of a STACKIT Affinity Group. @return ApiDeleteAffinityGroupRequest
func (*DefaultAPIService) DeleteAffinityGroupExecute ¶
func (a *DefaultAPIService) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteBackup ¶
func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiDeleteBackupRequest
func (*DefaultAPIService) DeleteBackupExecute ¶
func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteImage ¶
func (a *DefaultAPIService) DeleteImage(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiDeleteImageRequest
func (*DefaultAPIService) DeleteImageExecute ¶
func (a *DefaultAPIService) DeleteImageExecute(r ApiDeleteImageRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteImageShare ¶
func (a *DefaultAPIService) DeleteImageShare(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiDeleteImageShareRequest
func (*DefaultAPIService) DeleteImageShareConsumer ¶
func (a *DefaultAPIService) DeleteImageShareConsumer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @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
func (*DefaultAPIService) DeleteImageShareConsumerExecute ¶
func (a *DefaultAPIService) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteImageShareExecute ¶
func (a *DefaultAPIService) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
Execute executes the request
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
func (*DefaultAPIService) DeleteKeyPairExecute ¶
func (a *DefaultAPIService) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteNetwork ¶
func (a *DefaultAPIService) DeleteNetwork(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @return ApiDeleteNetworkRequest
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
func (*DefaultAPIService) DeleteNetworkAreaExecute ¶
func (a *DefaultAPIService) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteNetworkAreaRange ¶
func (a *DefaultAPIService) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region 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 region The STACKIT Region of the resources. @param networkRangeId The identifier (ID) of a STACKIT Network Range. @return ApiDeleteNetworkAreaRangeRequest
func (*DefaultAPIService) DeleteNetworkAreaRangeExecute ¶
func (a *DefaultAPIService) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteNetworkAreaRoute ¶
func (a *DefaultAPIService) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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 region The STACKIT Region of the resources. @param routeId The identifier (ID) of a STACKIT Route. @return ApiDeleteNetworkAreaRouteRequest
func (*DefaultAPIService) DeleteNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteNetworkExecute ¶
func (a *DefaultAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteNic ¶
func (a *DefaultAPIService) DeleteNic(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @param nicId The identifier (ID) of a network interface. @return ApiDeleteNicRequest
func (*DefaultAPIService) DeleteNicExecute ¶
func (a *DefaultAPIService) DeleteNicExecute(r ApiDeleteNicRequest) error
Execute executes the request
func (*DefaultAPIService) DeletePublicIP ¶
func (a *DefaultAPIService) DeletePublicIP(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param publicIpId The identifier (ID) of a Public IP. @return ApiDeletePublicIPRequest
func (*DefaultAPIService) DeletePublicIPExecute ¶
func (a *DefaultAPIService) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteRouteFromRoutingTable ¶
func (a *DefaultAPIService) DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiDeleteRouteFromRoutingTableRequest
DeleteRouteFromRoutingTable Delete a route in a routing table.
Delete a route in an existing routing table.
@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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @param routeId The identifier (ID) of a STACKIT Route. @return ApiDeleteRouteFromRoutingTableRequest
func (*DefaultAPIService) DeleteRouteFromRoutingTableExecute ¶
func (a *DefaultAPIService) DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteRoutingTableFromArea ¶
func (a *DefaultAPIService) DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiDeleteRoutingTableFromAreaRequest
DeleteRoutingTableFromArea Delete a routing table.
Delete a routing table 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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @return ApiDeleteRoutingTableFromAreaRequest
func (*DefaultAPIService) DeleteRoutingTableFromAreaExecute ¶
func (a *DefaultAPIService) DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteSecurityGroup ¶
func (a *DefaultAPIService) DeleteSecurityGroup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiDeleteSecurityGroupRequest
func (*DefaultAPIService) DeleteSecurityGroupExecute ¶
func (a *DefaultAPIService) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteSecurityGroupRule ¶
func (a *DefaultAPIService) DeleteSecurityGroupRule(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule. @return ApiDeleteSecurityGroupRuleRequest
func (*DefaultAPIService) DeleteSecurityGroupRuleExecute ¶
func (a *DefaultAPIService) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteServer ¶
func (a *DefaultAPIService) DeleteServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiDeleteServerRequest
func (*DefaultAPIService) DeleteServerExecute ¶
func (a *DefaultAPIService) DeleteServerExecute(r ApiDeleteServerRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteVolume ¶
func (a *DefaultAPIService) DeleteVolume(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiDeleteVolumeRequest
func (*DefaultAPIService) DeleteVolumeExecute ¶
func (a *DefaultAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
Execute executes the request
func (*DefaultAPIService) GetAffinityGroup ¶
func (a *DefaultAPIService) GetAffinityGroup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param affinityGroupId The identifier (ID) of a STACKIT Affinity Group. @return ApiGetAffinityGroupRequest
func (*DefaultAPIService) GetAffinityGroupExecute ¶
func (a *DefaultAPIService) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
Execute executes the request
@return AffinityGroup
func (*DefaultAPIService) GetAttachedVolume ¶
func (a *DefaultAPIService) GetAttachedVolume(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiGetAttachedVolumeRequest
func (*DefaultAPIService) GetAttachedVolumeExecute ¶
func (a *DefaultAPIService) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
Execute executes the request
@return VolumeAttachment
func (*DefaultAPIService) GetBackup ¶
func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiGetBackupRequest
func (*DefaultAPIService) GetBackupExecute ¶
func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
func (*DefaultAPIService) GetImage ¶
func (a *DefaultAPIService) GetImage(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiGetImageRequest
func (*DefaultAPIService) GetImageExecute ¶
func (a *DefaultAPIService) GetImageExecute(r ApiGetImageRequest) (*Image, error)
Execute executes the request
@return Image
func (*DefaultAPIService) GetImageShare ¶
func (a *DefaultAPIService) GetImageShare(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiGetImageShareRequest
func (*DefaultAPIService) GetImageShareConsumer ¶
func (a *DefaultAPIService) GetImageShareConsumer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @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
func (*DefaultAPIService) GetImageShareConsumerExecute ¶
func (a *DefaultAPIService) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
Execute executes the request
@return ImageShareConsumer
func (*DefaultAPIService) GetImageShareExecute ¶
func (a *DefaultAPIService) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
Execute executes the request
@return ImageShare
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
func (*DefaultAPIService) GetKeyPairExecute ¶
func (a *DefaultAPIService) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
Execute executes the request
@return Keypair
func (*DefaultAPIService) GetMachineType ¶
func (a *DefaultAPIService) GetMachineType(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param machineType STACKIT machine type Name. @return ApiGetMachineTypeRequest
func (*DefaultAPIService) GetMachineTypeExecute ¶
func (a *DefaultAPIService) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
Execute executes the request
@return MachineType
func (*DefaultAPIService) GetNetwork ¶
func (a *DefaultAPIService) GetNetwork(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @return ApiGetNetworkRequest
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
func (*DefaultAPIService) GetNetworkAreaExecute ¶
func (a *DefaultAPIService) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
Execute executes the request
@return NetworkArea
func (*DefaultAPIService) GetNetworkAreaRange ¶
func (a *DefaultAPIService) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region 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 region The STACKIT Region of the resources. @param networkRangeId The identifier (ID) of a STACKIT Network Range. @return ApiGetNetworkAreaRangeRequest
func (*DefaultAPIService) GetNetworkAreaRangeExecute ¶
func (a *DefaultAPIService) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
Execute executes the request
@return NetworkRange
func (*DefaultAPIService) GetNetworkAreaRoute ¶
func (a *DefaultAPIService) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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 region The STACKIT Region of the resources. @param routeId The identifier (ID) of a STACKIT Route. @return ApiGetNetworkAreaRouteRequest
func (*DefaultAPIService) GetNetworkAreaRouteExecute ¶
func (a *DefaultAPIService) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
Execute executes the request
@return Route
func (*DefaultAPIService) GetNetworkExecute ¶
func (a *DefaultAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
Execute executes the request
@return Network
func (*DefaultAPIService) GetNic ¶
func (a *DefaultAPIService) GetNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiGetNicRequest
GetNic Get details about a network interface.
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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @param nicId The identifier (ID) of a network interface. @return ApiGetNicRequest
func (*DefaultAPIService) GetNicExecute ¶
func (a *DefaultAPIService) GetNicExecute(r ApiGetNicRequest) (*NIC, error)
Execute executes the request
@return NIC
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
func (*DefaultAPIService) GetOrganizationRequestExecute ¶
func (a *DefaultAPIService) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
Execute executes the request
@return Request
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
func (*DefaultAPIService) GetProjectDetailsExecute ¶
func (a *DefaultAPIService) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
Execute executes the request
@return Project
func (*DefaultAPIService) GetProjectNIC ¶
func (a *DefaultAPIService) GetProjectNIC(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param nicId The identifier (ID) of a network interface. @return ApiGetProjectNICRequest
func (*DefaultAPIService) GetProjectNICExecute ¶
func (a *DefaultAPIService) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
Execute executes the request
@return NIC
func (*DefaultAPIService) GetProjectRequest ¶
func (a *DefaultAPIService) GetProjectRequest(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param requestId The identifier (ID) of a STACKIT Request. @return ApiGetProjectRequestRequest
func (*DefaultAPIService) GetProjectRequestExecute ¶
func (a *DefaultAPIService) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
Execute executes the request
@return Request
func (*DefaultAPIService) GetPublicIP ¶
func (a *DefaultAPIService) GetPublicIP(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param publicIpId The identifier (ID) of a Public IP. @return ApiGetPublicIPRequest
func (*DefaultAPIService) GetPublicIPExecute ¶
func (a *DefaultAPIService) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
Execute executes the request
@return PublicIp
func (*DefaultAPIService) GetRouteOfRoutingTable ¶
func (a *DefaultAPIService) GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiGetRouteOfRoutingTableRequest
GetRouteOfRoutingTable Get details about a route of a routing table.
Get details about a route defined in a routing table.
@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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @param routeId The identifier (ID) of a STACKIT Route. @return ApiGetRouteOfRoutingTableRequest
func (*DefaultAPIService) GetRouteOfRoutingTableExecute ¶
func (a *DefaultAPIService) GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
Execute executes the request
@return Route
func (*DefaultAPIService) GetRoutingTableOfArea ¶
func (a *DefaultAPIService) GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiGetRoutingTableOfAreaRequest
GetRoutingTableOfArea Get details about a routing table.
Get details about a routing table 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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @return ApiGetRoutingTableOfAreaRequest
func (*DefaultAPIService) GetRoutingTableOfAreaExecute ¶
func (a *DefaultAPIService) GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)
Execute executes the request
@return RoutingTable
func (*DefaultAPIService) GetSecurityGroup ¶
func (a *DefaultAPIService) GetSecurityGroup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiGetSecurityGroupRequest
func (*DefaultAPIService) GetSecurityGroupExecute ¶
func (a *DefaultAPIService) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
Execute executes the request
@return SecurityGroup
func (*DefaultAPIService) GetSecurityGroupRule ¶
func (a *DefaultAPIService) GetSecurityGroupRule(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule. @return ApiGetSecurityGroupRuleRequest
func (*DefaultAPIService) GetSecurityGroupRuleExecute ¶
func (a *DefaultAPIService) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
Execute executes the request
@return SecurityGroupRule
func (*DefaultAPIService) GetServer ¶
func (a *DefaultAPIService) GetServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiGetServerRequest
func (*DefaultAPIService) GetServerConsole ¶
func (a *DefaultAPIService) GetServerConsole(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiGetServerConsoleRequest
func (*DefaultAPIService) GetServerConsoleExecute ¶
func (a *DefaultAPIService) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
Execute executes the request
@return ServerConsoleUrl
func (*DefaultAPIService) GetServerExecute ¶
func (a *DefaultAPIService) GetServerExecute(r ApiGetServerRequest) (*Server, error)
Execute executes the request
@return Server
func (*DefaultAPIService) GetServerLog ¶
func (a *DefaultAPIService) GetServerLog(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiGetServerLogRequest
func (*DefaultAPIService) GetServerLogExecute ¶
func (a *DefaultAPIService) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
Execute executes the request
@return GetServerLog200Response
func (*DefaultAPIService) GetVolume ¶
func (a *DefaultAPIService) GetVolume(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiGetVolumeRequest
func (*DefaultAPIService) GetVolumeExecute ¶
func (a *DefaultAPIService) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
Execute executes the request
@return Volume
func (*DefaultAPIService) GetVolumePerformanceClass ¶
func (a *DefaultAPIService) GetVolumePerformanceClass(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param volumePerformanceClass The name of a STACKIT Volume performance class. @return ApiGetVolumePerformanceClassRequest
func (*DefaultAPIService) GetVolumePerformanceClassExecute ¶
func (a *DefaultAPIService) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
Execute executes the request
@return VolumePerformanceClass
func (*DefaultAPIService) ListAffinityGroups ¶
func (a *DefaultAPIService) ListAffinityGroups(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListAffinityGroupsRequest
func (*DefaultAPIService) ListAffinityGroupsExecute ¶
func (a *DefaultAPIService) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
Execute executes the request
@return AffinityGroupListResponse
func (*DefaultAPIService) ListAttachedVolumes ¶
func (a *DefaultAPIService) ListAttachedVolumes(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiListAttachedVolumesRequest
func (*DefaultAPIService) ListAttachedVolumesExecute ¶
func (a *DefaultAPIService) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
Execute executes the request
@return VolumeAttachmentListResponse
func (*DefaultAPIService) ListAvailabilityZones ¶
func (a *DefaultAPIService) ListAvailabilityZones(ctx context.Context, region string) 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(). @param region The STACKIT Region of the resources. @return ApiListAvailabilityZonesRequest
func (*DefaultAPIService) ListAvailabilityZonesExecute ¶
func (a *DefaultAPIService) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
Execute executes the request
@return AvailabilityZoneListResponse
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListBackupsRequest
func (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
Execute executes the request
@return BackupListResponse
func (*DefaultAPIService) ListImages ¶
func (a *DefaultAPIService) ListImages(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListImagesRequest
func (*DefaultAPIService) ListImagesExecute ¶
func (a *DefaultAPIService) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
Execute executes the request
@return ImageListResponse
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
func (*DefaultAPIService) ListKeyPairsExecute ¶
func (a *DefaultAPIService) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
Execute executes the request
@return KeyPairListResponse
func (*DefaultAPIService) ListMachineTypes ¶
func (a *DefaultAPIService) ListMachineTypes(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListMachineTypesRequest
func (*DefaultAPIService) ListMachineTypesExecute ¶
func (a *DefaultAPIService) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
Execute executes the request
@return MachineTypeListResponse
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
func (*DefaultAPIService) ListNetworkAreaProjectsExecute ¶
func (a *DefaultAPIService) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
Execute executes the request
@return ProjectListResponse
func (*DefaultAPIService) ListNetworkAreaRanges ¶
func (a *DefaultAPIService) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string, region 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. @param region The STACKIT Region of the resources. @return ApiListNetworkAreaRangesRequest
func (*DefaultAPIService) ListNetworkAreaRangesExecute ¶
func (a *DefaultAPIService) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
Execute executes the request
@return NetworkRangeListResponse
func (*DefaultAPIService) ListNetworkAreaRoutes ¶
func (a *DefaultAPIService) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region 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. @param region The STACKIT Region of the resources. @return ApiListNetworkAreaRoutesRequest
func (*DefaultAPIService) ListNetworkAreaRoutesExecute ¶
func (a *DefaultAPIService) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
Execute executes the request
@return RouteListResponse
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
func (*DefaultAPIService) ListNetworkAreasExecute ¶
func (a *DefaultAPIService) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
Execute executes the request
@return NetworkAreaListResponse
func (*DefaultAPIService) ListNetworks ¶
func (a *DefaultAPIService) ListNetworks(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListNetworksRequest
func (*DefaultAPIService) ListNetworksExecute ¶
func (a *DefaultAPIService) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
Execute executes the request
@return NetworkListResponse
func (*DefaultAPIService) ListNics ¶
func (a *DefaultAPIService) ListNics(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @return ApiListNicsRequest
func (*DefaultAPIService) ListNicsExecute ¶
func (a *DefaultAPIService) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
Execute executes the request
@return NICListResponse
func (*DefaultAPIService) ListProjectNICs ¶
func (a *DefaultAPIService) ListProjectNICs(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListProjectNICsRequest
func (*DefaultAPIService) ListProjectNICsExecute ¶
func (a *DefaultAPIService) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
Execute executes the request
@return NICListResponse
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
func (*DefaultAPIService) ListPublicIPRangesExecute ¶
func (a *DefaultAPIService) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
Execute executes the request
@return PublicNetworkListResponse
func (*DefaultAPIService) ListPublicIPs ¶
func (a *DefaultAPIService) ListPublicIPs(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListPublicIPsRequest
func (*DefaultAPIService) ListPublicIPsExecute ¶
func (a *DefaultAPIService) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
Execute executes the request
@return PublicIpListResponse
func (*DefaultAPIService) ListQuotas ¶
func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListQuotasRequest
func (*DefaultAPIService) ListQuotasExecute ¶
func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
Execute executes the request
@return QuotaListResponse
func (*DefaultAPIService) ListRoutesOfRoutingTable ¶
func (a *DefaultAPIService) ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListRoutesOfRoutingTableRequest
ListRoutesOfRoutingTable List all routes in a routing table.
Get a list of all routes in a routing table.
@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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @return ApiListRoutesOfRoutingTableRequest
func (*DefaultAPIService) ListRoutesOfRoutingTableExecute ¶
func (a *DefaultAPIService) ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
Execute executes the request
@return RouteListResponse
func (*DefaultAPIService) ListRoutingTablesOfArea ¶
func (a *DefaultAPIService) ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest
ListRoutingTablesOfArea List all routing tables in a network area.
Get a list of all routing tables 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 region The STACKIT Region of the resources. @return ApiListRoutingTablesOfAreaRequest
func (*DefaultAPIService) ListRoutingTablesOfAreaExecute ¶
func (a *DefaultAPIService) ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)
Execute executes the request
@return RoutingTableListResponse
func (*DefaultAPIService) ListSecurityGroupRules ¶
func (a *DefaultAPIService) ListSecurityGroupRules(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiListSecurityGroupRulesRequest
func (*DefaultAPIService) ListSecurityGroupRulesExecute ¶
func (a *DefaultAPIService) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
Execute executes the request
@return SecurityGroupRuleListResponse
func (*DefaultAPIService) ListSecurityGroups ¶
func (a *DefaultAPIService) ListSecurityGroups(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListSecurityGroupsRequest
func (*DefaultAPIService) ListSecurityGroupsExecute ¶
func (a *DefaultAPIService) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
Execute executes the request
@return SecurityGroupListResponse
func (*DefaultAPIService) ListServerNICs ¶
func (a *DefaultAPIService) ListServerNICs(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiListServerNICsRequest
func (*DefaultAPIService) ListServerNICsExecute ¶
func (a *DefaultAPIService) ListServerNICsExecute(r ApiListServerNICsRequest) (*NICListResponse, error)
Execute executes the request
@return NICListResponse
func (*DefaultAPIService) ListServerServiceAccounts ¶
func (a *DefaultAPIService) ListServerServiceAccounts(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiListServerServiceAccountsRequest
func (*DefaultAPIService) ListServerServiceAccountsExecute ¶
func (a *DefaultAPIService) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
Execute executes the request
@return ServiceAccountMailListResponse
func (*DefaultAPIService) ListServers ¶
func (a *DefaultAPIService) ListServers(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListServersRequest
func (*DefaultAPIService) ListServersExecute ¶
func (a *DefaultAPIService) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
Execute executes the request
@return ServerListResponse
func (*DefaultAPIService) ListVolumePerformanceClasses ¶
func (a *DefaultAPIService) ListVolumePerformanceClasses(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListVolumePerformanceClassesRequest
func (*DefaultAPIService) ListVolumePerformanceClassesExecute ¶
func (a *DefaultAPIService) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
Execute executes the request
@return VolumePerformanceClassListResponse
func (*DefaultAPIService) ListVolumes ¶
func (a *DefaultAPIService) ListVolumes(ctx context.Context, projectId string, region 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. @param region The STACKIT Region of the resources. @return ApiListVolumesRequest
func (*DefaultAPIService) ListVolumesExecute ¶
func (a *DefaultAPIService) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
Execute executes the request
@return VolumeListResponse
func (*DefaultAPIService) PartialUpdateNetwork ¶
func (a *DefaultAPIService) PartialUpdateNetwork(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @return ApiPartialUpdateNetworkRequest
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
func (*DefaultAPIService) PartialUpdateNetworkAreaExecute ¶
func (a *DefaultAPIService) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
Execute executes the request
@return NetworkArea
func (*DefaultAPIService) PartialUpdateNetworkExecute ¶
func (a *DefaultAPIService) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
Execute executes the request
func (*DefaultAPIService) RebootServer ¶
func (a *DefaultAPIService) RebootServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiRebootServerRequest
func (*DefaultAPIService) RebootServerExecute ¶
func (a *DefaultAPIService) RebootServerExecute(r ApiRebootServerRequest) error
Execute executes the request
func (*DefaultAPIService) RemoveNetworkFromServer ¶
func (a *DefaultAPIService) RemoveNetworkFromServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param networkId The identifier (ID) of a STACKIT Network. @return ApiRemoveNetworkFromServerRequest
func (*DefaultAPIService) RemoveNetworkFromServerExecute ¶
func (a *DefaultAPIService) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
Execute executes the request
func (*DefaultAPIService) RemoveNicFromServer ¶
func (a *DefaultAPIService) RemoveNicFromServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param nicId The identifier (ID) of a network interface. @return ApiRemoveNicFromServerRequest
func (*DefaultAPIService) RemoveNicFromServerExecute ¶
func (a *DefaultAPIService) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
Execute executes the request
func (*DefaultAPIService) RemovePublicIpFromServer ¶
func (a *DefaultAPIService) RemovePublicIpFromServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param publicIpId The identifier (ID) of a Public IP. @return ApiRemovePublicIpFromServerRequest
func (*DefaultAPIService) RemovePublicIpFromServerExecute ¶
func (a *DefaultAPIService) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
Execute executes the request
func (*DefaultAPIService) RemoveSecurityGroupFromServer ¶
func (a *DefaultAPIService) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiRemoveSecurityGroupFromServerRequest
func (*DefaultAPIService) RemoveSecurityGroupFromServerExecute ¶
func (a *DefaultAPIService) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
Execute executes the request
func (*DefaultAPIService) RemoveServiceAccountFromServer ¶
func (a *DefaultAPIService) RemoveServiceAccountFromServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param serviceAccountMail The e-mail address of a service account. @return ApiRemoveServiceAccountFromServerRequest
func (*DefaultAPIService) RemoveServiceAccountFromServerExecute ¶
func (a *DefaultAPIService) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
Execute executes the request
@return ServiceAccountMailListResponse
func (*DefaultAPIService) RemoveVolumeFromServer ¶
func (a *DefaultAPIService) RemoveVolumeFromServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiRemoveVolumeFromServerRequest
func (*DefaultAPIService) RemoveVolumeFromServerExecute ¶
func (a *DefaultAPIService) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
Execute executes the request
func (*DefaultAPIService) RescueServer ¶
func (a *DefaultAPIService) RescueServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiRescueServerRequest
func (*DefaultAPIService) RescueServerExecute ¶
func (a *DefaultAPIService) RescueServerExecute(r ApiRescueServerRequest) error
Execute executes the request
func (*DefaultAPIService) ResizeServer ¶
func (a *DefaultAPIService) ResizeServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiResizeServerRequest
func (*DefaultAPIService) ResizeServerExecute ¶
func (a *DefaultAPIService) ResizeServerExecute(r ApiResizeServerRequest) error
Execute executes the request
func (*DefaultAPIService) ResizeVolume ¶
func (a *DefaultAPIService) ResizeVolume(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiResizeVolumeRequest
func (*DefaultAPIService) ResizeVolumeExecute ¶
func (a *DefaultAPIService) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
Execute executes the request
func (*DefaultAPIService) RestoreBackup ¶
func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiRestoreBackupRequest
func (*DefaultAPIService) RestoreBackupExecute ¶
func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error
Execute executes the request
func (*DefaultAPIService) SetImageShare ¶
func (a *DefaultAPIService) SetImageShare(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiSetImageShareRequest
func (*DefaultAPIService) SetImageShareExecute ¶
func (a *DefaultAPIService) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
Execute executes the request
@return ImageShare
func (*DefaultAPIService) StartServer ¶
func (a *DefaultAPIService) StartServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiStartServerRequest
func (*DefaultAPIService) StartServerExecute ¶
func (a *DefaultAPIService) StartServerExecute(r ApiStartServerRequest) error
Execute executes the request
func (*DefaultAPIService) StopServer ¶
func (a *DefaultAPIService) StopServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiStopServerRequest
func (*DefaultAPIService) StopServerExecute ¶
func (a *DefaultAPIService) StopServerExecute(r ApiStopServerRequest) error
Execute executes the request
func (*DefaultAPIService) UnrescueServer ¶
func (a *DefaultAPIService) UnrescueServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiUnrescueServerRequest
func (*DefaultAPIService) UnrescueServerExecute ¶
func (a *DefaultAPIService) UnrescueServerExecute(r ApiUnrescueServerRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateAttachedVolume ¶
func (a *DefaultAPIService) UpdateAttachedVolume(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiUpdateAttachedVolumeRequest
func (*DefaultAPIService) UpdateAttachedVolumeExecute ¶
func (a *DefaultAPIService) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
Execute executes the request
@return VolumeAttachment
func (*DefaultAPIService) UpdateImage ¶
func (a *DefaultAPIService) UpdateImage(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiUpdateImageRequest
func (*DefaultAPIService) UpdateImageExecute ¶
func (a *DefaultAPIService) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
Execute executes the request
@return Image
func (*DefaultAPIService) UpdateImageShare ¶
func (a *DefaultAPIService) UpdateImageShare(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param imageId The identifier (ID) of a STACKIT Image. @return ApiUpdateImageShareRequest
func (*DefaultAPIService) UpdateImageShareExecute ¶
func (a *DefaultAPIService) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
Execute executes the request
@return ImageShare
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
func (*DefaultAPIService) UpdateKeyPairExecute ¶
func (a *DefaultAPIService) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
Execute executes the request
@return Keypair
func (*DefaultAPIService) UpdateNic ¶
func (a *DefaultAPIService) UpdateNic(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param networkId The identifier (ID) of a STACKIT Network. @param nicId The identifier (ID) of a network interface. @return ApiUpdateNicRequest
func (*DefaultAPIService) UpdateNicExecute ¶
func (a *DefaultAPIService) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
Execute executes the request
@return NIC
func (*DefaultAPIService) UpdatePublicIP ¶
func (a *DefaultAPIService) UpdatePublicIP(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param publicIpId The identifier (ID) of a Public IP. @return ApiUpdatePublicIPRequest
func (*DefaultAPIService) UpdatePublicIPExecute ¶
func (a *DefaultAPIService) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
Execute executes the request
@return PublicIp
func (*DefaultAPIService) UpdateRouteOfRoutingTable ¶
func (a *DefaultAPIService) UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiUpdateRouteOfRoutingTableRequest
UpdateRouteOfRoutingTable Update a route of a routing table.
Update a route defined in a routing table.
@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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @param routeId The identifier (ID) of a STACKIT Route. @return ApiUpdateRouteOfRoutingTableRequest
func (*DefaultAPIService) UpdateRouteOfRoutingTableExecute ¶
func (a *DefaultAPIService) UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
Execute executes the request
@return Route
func (*DefaultAPIService) UpdateRoutingTableOfArea ¶
func (a *DefaultAPIService) UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiUpdateRoutingTableOfAreaRequest
UpdateRoutingTableOfArea Update a routing table.
Update a routing table 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 region The STACKIT Region of the resources. @param routingTableId The identifier (ID) of a STACKIT Routing Table. @return ApiUpdateRoutingTableOfAreaRequest
func (*DefaultAPIService) UpdateRoutingTableOfAreaExecute ¶
func (a *DefaultAPIService) UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)
Execute executes the request
@return RoutingTable
func (*DefaultAPIService) UpdateServer ¶
func (a *DefaultAPIService) UpdateServer(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param serverId The identifier (ID) of a STACKIT Server. @return ApiUpdateServerRequest
func (*DefaultAPIService) UpdateServerExecute ¶
func (a *DefaultAPIService) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
Execute executes the request
@return Server
func (*DefaultAPIService) UpdateVolume ¶
func (a *DefaultAPIService) UpdateVolume(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources. @param volumeId The identifier (ID) of a STACKIT Volume. @return ApiUpdateVolumeRequest
func (*DefaultAPIService) UpdateVolumeExecute ¶
func (a *DefaultAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
Execute executes the request
@return Volume
func (*DefaultAPIService) V2beta1ConfigureNetworkAreaRegion ¶
func (a *DefaultAPIService) V2beta1ConfigureNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1ConfigureNetworkAreaRegionRequest
V2beta1ConfigureNetworkAreaRegion Configure a region for a network area.
Configure a new region for 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 region The STACKIT Region of the resources. @return ApiV2beta1ConfigureNetworkAreaRegionRequest
func (*DefaultAPIService) V2beta1ConfigureNetworkAreaRegionExecute ¶
func (a *DefaultAPIService) V2beta1ConfigureNetworkAreaRegionExecute(r ApiV2beta1ConfigureNetworkAreaRegionRequest) (*RegionalArea, error)
Execute executes the request
@return RegionalArea
func (*DefaultAPIService) V2beta1CreateSnapshot ¶
func (a *DefaultAPIService) V2beta1CreateSnapshot(ctx context.Context, projectId string, region string) ApiV2beta1CreateSnapshotRequest
V2beta1CreateSnapshot 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. @param region The STACKIT Region of the resources. @return ApiV2beta1CreateSnapshotRequest
func (*DefaultAPIService) V2beta1CreateSnapshotExecute ¶
func (a *DefaultAPIService) V2beta1CreateSnapshotExecute(r ApiV2beta1CreateSnapshotRequest) (*Snapshot, error)
Execute executes the request
@return Snapshot
func (*DefaultAPIService) V2beta1DeleteNetworkAreaRegion ¶
func (a *DefaultAPIService) V2beta1DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1DeleteNetworkAreaRegionRequest
V2beta1DeleteNetworkAreaRegion Delete a configuration of region for a network area.
Delete a current configuration of region for 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 region The STACKIT Region of the resources. @return ApiV2beta1DeleteNetworkAreaRegionRequest
func (*DefaultAPIService) V2beta1DeleteNetworkAreaRegionExecute ¶
func (a *DefaultAPIService) V2beta1DeleteNetworkAreaRegionExecute(r ApiV2beta1DeleteNetworkAreaRegionRequest) error
Execute executes the request
func (*DefaultAPIService) V2beta1DeleteSnapshot ¶
func (a *DefaultAPIService) V2beta1DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1DeleteSnapshotRequest
V2beta1DeleteSnapshot 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 region The STACKIT Region of the resources. @param snapshotId The identifier (ID) of a STACKIT Snapshot. @return ApiV2beta1DeleteSnapshotRequest
func (*DefaultAPIService) V2beta1DeleteSnapshotExecute ¶
func (a *DefaultAPIService) V2beta1DeleteSnapshotExecute(r ApiV2beta1DeleteSnapshotRequest) error
Execute executes the request
func (*DefaultAPIService) V2beta1GetAreaRegion ¶
func (a *DefaultAPIService) V2beta1GetAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1GetAreaRegionRequest
V2beta1GetAreaRegion Get details about a configured region.
Get details about a configured region 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 region The STACKIT Region of the resources. @return ApiV2beta1GetAreaRegionRequest
func (*DefaultAPIService) V2beta1GetAreaRegionExecute ¶
func (a *DefaultAPIService) V2beta1GetAreaRegionExecute(r ApiV2beta1GetAreaRegionRequest) (*RegionalArea, error)
Execute executes the request
@return RegionalArea
func (*DefaultAPIService) V2beta1GetSnapshot ¶
func (a *DefaultAPIService) V2beta1GetSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1GetSnapshotRequest
V2beta1GetSnapshot 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 region The STACKIT Region of the resources. @param snapshotId The identifier (ID) of a STACKIT Snapshot. @return ApiV2beta1GetSnapshotRequest
func (*DefaultAPIService) V2beta1GetSnapshotExecute ¶
func (a *DefaultAPIService) V2beta1GetSnapshotExecute(r ApiV2beta1GetSnapshotRequest) (*Snapshot, error)
Execute executes the request
@return Snapshot
func (*DefaultAPIService) V2beta1ListAreaRegions ¶
func (a *DefaultAPIService) V2beta1ListAreaRegions(ctx context.Context, organizationId string, areaId string) ApiV2beta1ListAreaRegionsRequest
V2beta1ListAreaRegions List all configured regions in a network area.
Get a list of all configured regions.
@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 ApiV2beta1ListAreaRegionsRequest
func (*DefaultAPIService) V2beta1ListAreaRegionsExecute ¶
func (a *DefaultAPIService) V2beta1ListAreaRegionsExecute(r ApiV2beta1ListAreaRegionsRequest) (*RegionalAreaListResponse, error)
Execute executes the request
@return RegionalAreaListResponse
func (*DefaultAPIService) V2beta1ListSnapshotsInProject ¶
func (a *DefaultAPIService) V2beta1ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiV2beta1ListSnapshotsInProjectRequest
V2beta1ListSnapshotsInProject 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. @param region The STACKIT Region of the resources. @return ApiV2beta1ListSnapshotsInProjectRequest
func (*DefaultAPIService) V2beta1ListSnapshotsInProjectExecute ¶
func (a *DefaultAPIService) V2beta1ListSnapshotsInProjectExecute(r ApiV2beta1ListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
Execute executes the request
@return SnapshotListResponse
func (*DefaultAPIService) V2beta1UpdateBackup ¶
func (a *DefaultAPIService) V2beta1UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiV2beta1UpdateBackupRequest
V2beta1UpdateBackup 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 region The STACKIT Region of the resources. @param backupId The identifier (ID) of a STACKIT Backup. @return ApiV2beta1UpdateBackupRequest
func (*DefaultAPIService) V2beta1UpdateBackupExecute ¶
func (a *DefaultAPIService) V2beta1UpdateBackupExecute(r ApiV2beta1UpdateBackupRequest) (*Backup, error)
Execute executes the request
@return Backup
func (*DefaultAPIService) V2beta1UpdateNetworkAreaRegion ¶
func (a *DefaultAPIService) V2beta1UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1UpdateNetworkAreaRegionRequest
V2beta1UpdateNetworkAreaRegion Update a region for a network area.
Update a new region for 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 region The STACKIT Region of the resources. @return ApiV2beta1UpdateNetworkAreaRegionRequest
func (*DefaultAPIService) V2beta1UpdateNetworkAreaRegionExecute ¶
func (a *DefaultAPIService) V2beta1UpdateNetworkAreaRegionExecute(r ApiV2beta1UpdateNetworkAreaRegionRequest) (*RegionalArea, error)
Execute executes the request
@return RegionalArea
func (*DefaultAPIService) V2beta1UpdateRouteOfArea ¶
func (a *DefaultAPIService) V2beta1UpdateRouteOfArea(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiV2beta1UpdateRouteOfAreaRequest
V2beta1UpdateRouteOfArea 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 region The STACKIT Region of the resources. @param routeId The identifier (ID) of a STACKIT Route. @return ApiV2beta1UpdateRouteOfAreaRequest
func (*DefaultAPIService) V2beta1UpdateRouteOfAreaExecute ¶
func (a *DefaultAPIService) V2beta1UpdateRouteOfAreaExecute(r ApiV2beta1UpdateRouteOfAreaRequest) (*Route, error)
Execute executes the request
@return Route
func (*DefaultAPIService) V2beta1UpdateSecurityGroup ¶
func (a *DefaultAPIService) V2beta1UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiV2beta1UpdateSecurityGroupRequest
V2beta1UpdateSecurityGroup 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 region The STACKIT Region of the resources. @param securityGroupId The identifier (ID) of a STACKIT Security Group. @return ApiV2beta1UpdateSecurityGroupRequest
func (*DefaultAPIService) V2beta1UpdateSecurityGroupExecute ¶
func (a *DefaultAPIService) V2beta1UpdateSecurityGroupExecute(r ApiV2beta1UpdateSecurityGroupRequest) (*SecurityGroup, error)
Execute executes the request
@return SecurityGroup
func (*DefaultAPIService) V2beta1UpdateSnapshot ¶
func (a *DefaultAPIService) V2beta1UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1UpdateSnapshotRequest
V2beta1UpdateSnapshot 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 region The STACKIT Region of the resources. @param snapshotId The identifier (ID) of a STACKIT Snapshot. @return ApiV2beta1UpdateSnapshotRequest
func (*DefaultAPIService) V2beta1UpdateSnapshotExecute ¶
func (a *DefaultAPIService) V2beta1UpdateSnapshotExecute(r ApiV2beta1UpdateSnapshotRequest) (*Snapshot, error)
Execute executes the request
@return Snapshot
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// AddNetworkToServerExecuteMock can be populated to implement the behavior of the AddNetworkToServerExecute function of this mock
AddNetworkToServerExecuteMock *func(r ApiAddNetworkToServerRequest) error
// AddNicToServerExecuteMock can be populated to implement the behavior of the AddNicToServerExecute function of this mock
AddNicToServerExecuteMock *func(r ApiAddNicToServerRequest) error
// AddPublicIpToServerExecuteMock can be populated to implement the behavior of the AddPublicIpToServerExecute function of this mock
AddPublicIpToServerExecuteMock *func(r ApiAddPublicIpToServerRequest) error
// AddRoutesToRoutingTableExecuteMock can be populated to implement the behavior of the AddRoutesToRoutingTableExecute function of this mock
AddRoutesToRoutingTableExecuteMock *func(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
// AddRoutingTableToAreaExecuteMock can be populated to implement the behavior of the AddRoutingTableToAreaExecute function of this mock
AddRoutingTableToAreaExecuteMock *func(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)
// AddSecurityGroupToServerExecuteMock can be populated to implement the behavior of the AddSecurityGroupToServerExecute function of this mock
AddSecurityGroupToServerExecuteMock *func(r ApiAddSecurityGroupToServerRequest) error
// AddServiceAccountToServerExecuteMock can be populated to implement the behavior of the AddServiceAccountToServerExecute function of this mock
AddServiceAccountToServerExecuteMock *func(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
// AddVolumeToServerExecuteMock can be populated to implement the behavior of the AddVolumeToServerExecute function of this mock
AddVolumeToServerExecuteMock *func(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
// CreateAffinityGroupExecuteMock can be populated to implement the behavior of the CreateAffinityGroupExecute function of this mock
CreateAffinityGroupExecuteMock *func(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
// CreateBackupExecuteMock can be populated to implement the behavior of the CreateBackupExecute function of this mock
CreateBackupExecuteMock *func(r ApiCreateBackupRequest) (*Backup, error)
// CreateImageExecuteMock can be populated to implement the behavior of the CreateImageExecute function of this mock
CreateImageExecuteMock *func(r ApiCreateImageRequest) (*ImageCreateResponse, error)
// CreateIsolatedNetworkExecuteMock can be populated to implement the behavior of the CreateIsolatedNetworkExecute function of this mock
CreateIsolatedNetworkExecuteMock *func(r ApiCreateIsolatedNetworkRequest) (*Network, error)
// CreateKeyPairExecuteMock can be populated to implement the behavior of the CreateKeyPairExecute function of this mock
CreateKeyPairExecuteMock *func(r ApiCreateKeyPairRequest) (*Keypair, error)
// CreateNetworkExecuteMock can be populated to implement the behavior of the CreateNetworkExecute function of this mock
CreateNetworkExecuteMock *func(r ApiCreateNetworkRequest) (*Network, error)
// CreateNetworkAreaExecuteMock can be populated to implement the behavior of the CreateNetworkAreaExecute function of this mock
CreateNetworkAreaExecuteMock *func(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
// CreateNetworkAreaRangeExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRangeExecute function of this mock
CreateNetworkAreaRangeExecuteMock *func(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
// CreateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRouteExecute function of this mock
CreateNetworkAreaRouteExecuteMock *func(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
// CreateNicExecuteMock can be populated to implement the behavior of the CreateNicExecute function of this mock
CreateNicExecuteMock *func(r ApiCreateNicRequest) (*NIC, error)
// CreatePublicIPExecuteMock can be populated to implement the behavior of the CreatePublicIPExecute function of this mock
CreatePublicIPExecuteMock *func(r ApiCreatePublicIPRequest) (*PublicIp, error)
// CreateSecurityGroupExecuteMock can be populated to implement the behavior of the CreateSecurityGroupExecute function of this mock
CreateSecurityGroupExecuteMock *func(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
// CreateSecurityGroupRuleExecuteMock can be populated to implement the behavior of the CreateSecurityGroupRuleExecute function of this mock
CreateSecurityGroupRuleExecuteMock *func(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
// CreateServerExecuteMock can be populated to implement the behavior of the CreateServerExecute function of this mock
CreateServerExecuteMock *func(r ApiCreateServerRequest) (*Server, error)
// CreateVolumeExecuteMock can be populated to implement the behavior of the CreateVolumeExecute function of this mock
CreateVolumeExecuteMock *func(r ApiCreateVolumeRequest) (*Volume, error)
// DeallocateServerExecuteMock can be populated to implement the behavior of the DeallocateServerExecute function of this mock
DeallocateServerExecuteMock *func(r ApiDeallocateServerRequest) error
// DeleteAffinityGroupExecuteMock can be populated to implement the behavior of the DeleteAffinityGroupExecute function of this mock
DeleteAffinityGroupExecuteMock *func(r ApiDeleteAffinityGroupRequest) error
// DeleteBackupExecuteMock can be populated to implement the behavior of the DeleteBackupExecute function of this mock
DeleteBackupExecuteMock *func(r ApiDeleteBackupRequest) error
// 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
// DeleteKeyPairExecuteMock can be populated to implement the behavior of the DeleteKeyPairExecute function of this mock
DeleteKeyPairExecuteMock *func(r ApiDeleteKeyPairRequest) error
// DeleteNetworkExecuteMock can be populated to implement the behavior of the DeleteNetworkExecute function of this mock
DeleteNetworkExecuteMock *func(r ApiDeleteNetworkRequest) error
// DeleteNetworkAreaExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaExecute function of this mock
DeleteNetworkAreaExecuteMock *func(r ApiDeleteNetworkAreaRequest) error
// DeleteNetworkAreaRangeExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRangeExecute function of this mock
DeleteNetworkAreaRangeExecuteMock *func(r ApiDeleteNetworkAreaRangeRequest) error
// DeleteNetworkAreaRouteExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRouteExecute function of this mock
DeleteNetworkAreaRouteExecuteMock *func(r ApiDeleteNetworkAreaRouteRequest) error
// DeleteNicExecuteMock can be populated to implement the behavior of the DeleteNicExecute function of this mock
DeleteNicExecuteMock *func(r ApiDeleteNicRequest) error
// DeletePublicIPExecuteMock can be populated to implement the behavior of the DeletePublicIPExecute function of this mock
DeletePublicIPExecuteMock *func(r ApiDeletePublicIPRequest) error
// DeleteRouteFromRoutingTableExecuteMock can be populated to implement the behavior of the DeleteRouteFromRoutingTableExecute function of this mock
DeleteRouteFromRoutingTableExecuteMock *func(r ApiDeleteRouteFromRoutingTableRequest) error
// DeleteRoutingTableFromAreaExecuteMock can be populated to implement the behavior of the DeleteRoutingTableFromAreaExecute function of this mock
DeleteRoutingTableFromAreaExecuteMock *func(r ApiDeleteRoutingTableFromAreaRequest) error
// DeleteSecurityGroupExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupExecute function of this mock
DeleteSecurityGroupExecuteMock *func(r ApiDeleteSecurityGroupRequest) error
// DeleteSecurityGroupRuleExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupRuleExecute function of this mock
DeleteSecurityGroupRuleExecuteMock *func(r ApiDeleteSecurityGroupRuleRequest) error
// DeleteServerExecuteMock can be populated to implement the behavior of the DeleteServerExecute function of this mock
DeleteServerExecuteMock *func(r ApiDeleteServerRequest) error
// DeleteVolumeExecuteMock can be populated to implement the behavior of the DeleteVolumeExecute function of this mock
DeleteVolumeExecuteMock *func(r ApiDeleteVolumeRequest) error
// GetAffinityGroupExecuteMock can be populated to implement the behavior of the GetAffinityGroupExecute function of this mock
GetAffinityGroupExecuteMock *func(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
// GetAttachedVolumeExecuteMock can be populated to implement the behavior of the GetAttachedVolumeExecute function of this mock
GetAttachedVolumeExecuteMock *func(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
GetBackupExecuteMock *func(r ApiGetBackupRequest) (*Backup, error)
// 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)
// GetKeyPairExecuteMock can be populated to implement the behavior of the GetKeyPairExecute function of this mock
GetKeyPairExecuteMock *func(r ApiGetKeyPairRequest) (*Keypair, error)
// GetMachineTypeExecuteMock can be populated to implement the behavior of the GetMachineTypeExecute function of this mock
GetMachineTypeExecuteMock *func(r ApiGetMachineTypeRequest) (*MachineType, error)
// GetNetworkExecuteMock can be populated to implement the behavior of the GetNetworkExecute function of this mock
GetNetworkExecuteMock *func(r ApiGetNetworkRequest) (*Network, error)
// GetNetworkAreaExecuteMock can be populated to implement the behavior of the GetNetworkAreaExecute function of this mock
GetNetworkAreaExecuteMock *func(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
// GetNetworkAreaRangeExecuteMock can be populated to implement the behavior of the GetNetworkAreaRangeExecute function of this mock
GetNetworkAreaRangeExecuteMock *func(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
// GetNetworkAreaRouteExecuteMock can be populated to implement the behavior of the GetNetworkAreaRouteExecute function of this mock
GetNetworkAreaRouteExecuteMock *func(r ApiGetNetworkAreaRouteRequest) (*Route, error)
// GetNicExecuteMock can be populated to implement the behavior of the GetNicExecute function of this mock
GetNicExecuteMock *func(r ApiGetNicRequest) (*NIC, error)
// GetOrganizationRequestExecuteMock can be populated to implement the behavior of the GetOrganizationRequestExecute function of this mock
GetOrganizationRequestExecuteMock *func(r ApiGetOrganizationRequestRequest) (*Request, error)
// GetProjectDetailsExecuteMock can be populated to implement the behavior of the GetProjectDetailsExecute function of this mock
GetProjectDetailsExecuteMock *func(r ApiGetProjectDetailsRequest) (*Project, error)
// GetProjectNICExecuteMock can be populated to implement the behavior of the GetProjectNICExecute function of this mock
GetProjectNICExecuteMock *func(r ApiGetProjectNICRequest) (*NIC, error)
// GetProjectRequestExecuteMock can be populated to implement the behavior of the GetProjectRequestExecute function of this mock
GetProjectRequestExecuteMock *func(r ApiGetProjectRequestRequest) (*Request, error)
// GetPublicIPExecuteMock can be populated to implement the behavior of the GetPublicIPExecute function of this mock
GetPublicIPExecuteMock *func(r ApiGetPublicIPRequest) (*PublicIp, error)
// GetRouteOfRoutingTableExecuteMock can be populated to implement the behavior of the GetRouteOfRoutingTableExecute function of this mock
GetRouteOfRoutingTableExecuteMock *func(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
// GetRoutingTableOfAreaExecuteMock can be populated to implement the behavior of the GetRoutingTableOfAreaExecute function of this mock
GetRoutingTableOfAreaExecuteMock *func(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)
// GetSecurityGroupExecuteMock can be populated to implement the behavior of the GetSecurityGroupExecute function of this mock
GetSecurityGroupExecuteMock *func(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
// GetSecurityGroupRuleExecuteMock can be populated to implement the behavior of the GetSecurityGroupRuleExecute function of this mock
GetSecurityGroupRuleExecuteMock *func(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
// GetServerExecuteMock can be populated to implement the behavior of the GetServerExecute function of this mock
GetServerExecuteMock *func(r ApiGetServerRequest) (*Server, error)
// GetServerConsoleExecuteMock can be populated to implement the behavior of the GetServerConsoleExecute function of this mock
GetServerConsoleExecuteMock *func(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
// GetServerLogExecuteMock can be populated to implement the behavior of the GetServerLogExecute function of this mock
GetServerLogExecuteMock *func(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
// GetVolumeExecuteMock can be populated to implement the behavior of the GetVolumeExecute function of this mock
GetVolumeExecuteMock *func(r ApiGetVolumeRequest) (*Volume, error)
// GetVolumePerformanceClassExecuteMock can be populated to implement the behavior of the GetVolumePerformanceClassExecute function of this mock
GetVolumePerformanceClassExecuteMock *func(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
// ListAffinityGroupsExecuteMock can be populated to implement the behavior of the ListAffinityGroupsExecute function of this mock
ListAffinityGroupsExecuteMock *func(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
// ListAttachedVolumesExecuteMock can be populated to implement the behavior of the ListAttachedVolumesExecute function of this mock
ListAttachedVolumesExecuteMock *func(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
// ListAvailabilityZonesExecuteMock can be populated to implement the behavior of the ListAvailabilityZonesExecute function of this mock
ListAvailabilityZonesExecuteMock *func(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*BackupListResponse, error)
// ListImagesExecuteMock can be populated to implement the behavior of the ListImagesExecute function of this mock
ListImagesExecuteMock *func(r ApiListImagesRequest) (*ImageListResponse, error)
// ListKeyPairsExecuteMock can be populated to implement the behavior of the ListKeyPairsExecute function of this mock
ListKeyPairsExecuteMock *func(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
// ListMachineTypesExecuteMock can be populated to implement the behavior of the ListMachineTypesExecute function of this mock
ListMachineTypesExecuteMock *func(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
// ListNetworkAreaProjectsExecuteMock can be populated to implement the behavior of the ListNetworkAreaProjectsExecute function of this mock
ListNetworkAreaProjectsExecuteMock *func(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
// ListNetworkAreaRangesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRangesExecute function of this mock
ListNetworkAreaRangesExecuteMock *func(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
// ListNetworkAreaRoutesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRoutesExecute function of this mock
ListNetworkAreaRoutesExecuteMock *func(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
// ListNetworkAreasExecuteMock can be populated to implement the behavior of the ListNetworkAreasExecute function of this mock
ListNetworkAreasExecuteMock *func(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
// ListNetworksExecuteMock can be populated to implement the behavior of the ListNetworksExecute function of this mock
ListNetworksExecuteMock *func(r ApiListNetworksRequest) (*NetworkListResponse, error)
// ListNicsExecuteMock can be populated to implement the behavior of the ListNicsExecute function of this mock
ListNicsExecuteMock *func(r ApiListNicsRequest) (*NICListResponse, error)
// ListProjectNICsExecuteMock can be populated to implement the behavior of the ListProjectNICsExecute function of this mock
ListProjectNICsExecuteMock *func(r ApiListProjectNICsRequest) (*NICListResponse, error)
// ListPublicIPRangesExecuteMock can be populated to implement the behavior of the ListPublicIPRangesExecute function of this mock
ListPublicIPRangesExecuteMock *func(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
// ListPublicIPsExecuteMock can be populated to implement the behavior of the ListPublicIPsExecute function of this mock
ListPublicIPsExecuteMock *func(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
// ListQuotasExecuteMock can be populated to implement the behavior of the ListQuotasExecute function of this mock
ListQuotasExecuteMock *func(r ApiListQuotasRequest) (*QuotaListResponse, error)
// ListRoutesOfRoutingTableExecuteMock can be populated to implement the behavior of the ListRoutesOfRoutingTableExecute function of this mock
ListRoutesOfRoutingTableExecuteMock *func(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
// ListRoutingTablesOfAreaExecuteMock can be populated to implement the behavior of the ListRoutingTablesOfAreaExecute function of this mock
ListRoutingTablesOfAreaExecuteMock *func(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)
// ListSecurityGroupRulesExecuteMock can be populated to implement the behavior of the ListSecurityGroupRulesExecute function of this mock
ListSecurityGroupRulesExecuteMock *func(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
// ListSecurityGroupsExecuteMock can be populated to implement the behavior of the ListSecurityGroupsExecute function of this mock
ListSecurityGroupsExecuteMock *func(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
// ListServerNICsExecuteMock can be populated to implement the behavior of the ListServerNICsExecute function of this mock
ListServerNICsExecuteMock *func(r ApiListServerNICsRequest) (*NICListResponse, error)
// ListServerServiceAccountsExecuteMock can be populated to implement the behavior of the ListServerServiceAccountsExecute function of this mock
ListServerServiceAccountsExecuteMock *func(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
// ListServersExecuteMock can be populated to implement the behavior of the ListServersExecute function of this mock
ListServersExecuteMock *func(r ApiListServersRequest) (*ServerListResponse, error)
// ListVolumePerformanceClassesExecuteMock can be populated to implement the behavior of the ListVolumePerformanceClassesExecute function of this mock
ListVolumePerformanceClassesExecuteMock *func(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
// ListVolumesExecuteMock can be populated to implement the behavior of the ListVolumesExecute function of this mock
ListVolumesExecuteMock *func(r ApiListVolumesRequest) (*VolumeListResponse, error)
// PartialUpdateNetworkExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkExecute function of this mock
PartialUpdateNetworkExecuteMock *func(r ApiPartialUpdateNetworkRequest) error
// PartialUpdateNetworkAreaExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkAreaExecute function of this mock
PartialUpdateNetworkAreaExecuteMock *func(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
// RebootServerExecuteMock can be populated to implement the behavior of the RebootServerExecute function of this mock
RebootServerExecuteMock *func(r ApiRebootServerRequest) error
// RemoveNetworkFromServerExecuteMock can be populated to implement the behavior of the RemoveNetworkFromServerExecute function of this mock
RemoveNetworkFromServerExecuteMock *func(r ApiRemoveNetworkFromServerRequest) error
// RemoveNicFromServerExecuteMock can be populated to implement the behavior of the RemoveNicFromServerExecute function of this mock
RemoveNicFromServerExecuteMock *func(r ApiRemoveNicFromServerRequest) error
// RemovePublicIpFromServerExecuteMock can be populated to implement the behavior of the RemovePublicIpFromServerExecute function of this mock
RemovePublicIpFromServerExecuteMock *func(r ApiRemovePublicIpFromServerRequest) error
// RemoveSecurityGroupFromServerExecuteMock can be populated to implement the behavior of the RemoveSecurityGroupFromServerExecute function of this mock
RemoveSecurityGroupFromServerExecuteMock *func(r ApiRemoveSecurityGroupFromServerRequest) error
// RemoveServiceAccountFromServerExecuteMock can be populated to implement the behavior of the RemoveServiceAccountFromServerExecute function of this mock
RemoveServiceAccountFromServerExecuteMock *func(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
// RemoveVolumeFromServerExecuteMock can be populated to implement the behavior of the RemoveVolumeFromServerExecute function of this mock
RemoveVolumeFromServerExecuteMock *func(r ApiRemoveVolumeFromServerRequest) error
// RescueServerExecuteMock can be populated to implement the behavior of the RescueServerExecute function of this mock
RescueServerExecuteMock *func(r ApiRescueServerRequest) error
// ResizeServerExecuteMock can be populated to implement the behavior of the ResizeServerExecute function of this mock
ResizeServerExecuteMock *func(r ApiResizeServerRequest) error
// ResizeVolumeExecuteMock can be populated to implement the behavior of the ResizeVolumeExecute function of this mock
ResizeVolumeExecuteMock *func(r ApiResizeVolumeRequest) error
// 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)
// StartServerExecuteMock can be populated to implement the behavior of the StartServerExecute function of this mock
StartServerExecuteMock *func(r ApiStartServerRequest) error
// StopServerExecuteMock can be populated to implement the behavior of the StopServerExecute function of this mock
StopServerExecuteMock *func(r ApiStopServerRequest) error
// UnrescueServerExecuteMock can be populated to implement the behavior of the UnrescueServerExecute function of this mock
UnrescueServerExecuteMock *func(r ApiUnrescueServerRequest) error
// UpdateAttachedVolumeExecuteMock can be populated to implement the behavior of the UpdateAttachedVolumeExecute function of this mock
UpdateAttachedVolumeExecuteMock *func(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
// UpdateImageExecuteMock can be populated to implement the behavior of the UpdateImageExecute function of this mock
UpdateImageExecuteMock *func(r ApiUpdateImageRequest) (*Image, error)
UpdateImageShareExecuteMock *func(r ApiUpdateImageShareRequest) (*ImageShare, error)
// UpdateKeyPairExecuteMock can be populated to implement the behavior of the UpdateKeyPairExecute function of this mock
UpdateKeyPairExecuteMock *func(r ApiUpdateKeyPairRequest) (*Keypair, error)
// UpdateNicExecuteMock can be populated to implement the behavior of the UpdateNicExecute function of this mock
UpdateNicExecuteMock *func(r ApiUpdateNicRequest) (*NIC, error)
// UpdatePublicIPExecuteMock can be populated to implement the behavior of the UpdatePublicIPExecute function of this mock
UpdatePublicIPExecuteMock *func(r ApiUpdatePublicIPRequest) (*PublicIp, error)
// UpdateRouteOfRoutingTableExecuteMock can be populated to implement the behavior of the UpdateRouteOfRoutingTableExecute function of this mock
UpdateRouteOfRoutingTableExecuteMock *func(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
// UpdateRoutingTableOfAreaExecuteMock can be populated to implement the behavior of the UpdateRoutingTableOfAreaExecute function of this mock
UpdateRoutingTableOfAreaExecuteMock *func(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)
// UpdateServerExecuteMock can be populated to implement the behavior of the UpdateServerExecute function of this mock
UpdateServerExecuteMock *func(r ApiUpdateServerRequest) (*Server, error)
// UpdateVolumeExecuteMock can be populated to implement the behavior of the UpdateVolumeExecute function of this mock
UpdateVolumeExecuteMock *func(r ApiUpdateVolumeRequest) (*Volume, error)
// V2beta1ConfigureNetworkAreaRegionExecuteMock can be populated to implement the behavior of the V2beta1ConfigureNetworkAreaRegionExecute function of this mock
V2beta1ConfigureNetworkAreaRegionExecuteMock *func(r ApiV2beta1ConfigureNetworkAreaRegionRequest) (*RegionalArea, error)
// V2beta1CreateSnapshotExecuteMock can be populated to implement the behavior of the V2beta1CreateSnapshotExecute function of this mock
V2beta1CreateSnapshotExecuteMock *func(r ApiV2beta1CreateSnapshotRequest) (*Snapshot, error)
// V2beta1DeleteNetworkAreaRegionExecuteMock can be populated to implement the behavior of the V2beta1DeleteNetworkAreaRegionExecute function of this mock
V2beta1DeleteNetworkAreaRegionExecuteMock *func(r ApiV2beta1DeleteNetworkAreaRegionRequest) error
// V2beta1DeleteSnapshotExecuteMock can be populated to implement the behavior of the V2beta1DeleteSnapshotExecute function of this mock
V2beta1DeleteSnapshotExecuteMock *func(r ApiV2beta1DeleteSnapshotRequest) error
// V2beta1GetAreaRegionExecuteMock can be populated to implement the behavior of the V2beta1GetAreaRegionExecute function of this mock
V2beta1GetAreaRegionExecuteMock *func(r ApiV2beta1GetAreaRegionRequest) (*RegionalArea, error)
// V2beta1GetSnapshotExecuteMock can be populated to implement the behavior of the V2beta1GetSnapshotExecute function of this mock
V2beta1GetSnapshotExecuteMock *func(r ApiV2beta1GetSnapshotRequest) (*Snapshot, error)
// V2beta1ListAreaRegionsExecuteMock can be populated to implement the behavior of the V2beta1ListAreaRegionsExecute function of this mock
V2beta1ListAreaRegionsExecuteMock *func(r ApiV2beta1ListAreaRegionsRequest) (*RegionalAreaListResponse, error)
// V2beta1ListSnapshotsInProjectExecuteMock can be populated to implement the behavior of the V2beta1ListSnapshotsInProjectExecute function of this mock
V2beta1ListSnapshotsInProjectExecuteMock *func(r ApiV2beta1ListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
// V2beta1UpdateBackupExecuteMock can be populated to implement the behavior of the V2beta1UpdateBackupExecute function of this mock
V2beta1UpdateBackupExecuteMock *func(r ApiV2beta1UpdateBackupRequest) (*Backup, error)
// V2beta1UpdateNetworkAreaRegionExecuteMock can be populated to implement the behavior of the V2beta1UpdateNetworkAreaRegionExecute function of this mock
V2beta1UpdateNetworkAreaRegionExecuteMock *func(r ApiV2beta1UpdateNetworkAreaRegionRequest) (*RegionalArea, error)
// V2beta1UpdateRouteOfAreaExecuteMock can be populated to implement the behavior of the V2beta1UpdateRouteOfAreaExecute function of this mock
V2beta1UpdateRouteOfAreaExecuteMock *func(r ApiV2beta1UpdateRouteOfAreaRequest) (*Route, error)
// V2beta1UpdateSecurityGroupExecuteMock can be populated to implement the behavior of the V2beta1UpdateSecurityGroupExecute function of this mock
V2beta1UpdateSecurityGroupExecuteMock *func(r ApiV2beta1UpdateSecurityGroupRequest) (*SecurityGroup, error)
// V2beta1UpdateSnapshotExecuteMock can be populated to implement the behavior of the V2beta1UpdateSnapshotExecute function of this mock
V2beta1UpdateSnapshotExecuteMock *func(r ApiV2beta1UpdateSnapshotRequest) (*Snapshot, 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, region string, serverId string, networkId string) ApiAddNetworkToServerRequest
func (DefaultAPIServiceMock) AddNetworkToServerExecute ¶
func (a DefaultAPIServiceMock) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error
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, region string, serverId string, nicId string) ApiAddNicToServerRequest
func (DefaultAPIServiceMock) AddNicToServerExecute ¶
func (a DefaultAPIServiceMock) AddNicToServerExecute(r ApiAddNicToServerRequest) error
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, region string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest
func (DefaultAPIServiceMock) AddPublicIpToServerExecute ¶
func (a DefaultAPIServiceMock) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error
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) AddRoutesToRoutingTable ¶
func (a DefaultAPIServiceMock) AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiAddRoutesToRoutingTableRequest
func (DefaultAPIServiceMock) AddRoutesToRoutingTableExecute ¶
func (a DefaultAPIServiceMock) AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
AddRoutesToRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddRoutesToRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddRoutingTableToArea ¶
func (a DefaultAPIServiceMock) AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest
func (DefaultAPIServiceMock) AddRoutingTableToAreaExecute ¶
func (a DefaultAPIServiceMock) AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)
AddRoutingTableToAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddRoutingTableToAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddSecurityGroupToServer ¶
func (a DefaultAPIServiceMock) AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest
func (DefaultAPIServiceMock) AddSecurityGroupToServerExecute ¶
func (a DefaultAPIServiceMock) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error
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, region string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest
func (DefaultAPIServiceMock) AddServiceAccountToServerExecute ¶
func (a DefaultAPIServiceMock) AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
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, region string, serverId string, volumeId string) ApiAddVolumeToServerRequest
func (DefaultAPIServiceMock) AddVolumeToServerExecute ¶
func (a DefaultAPIServiceMock) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
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, region string) ApiCreateAffinityGroupRequest
func (DefaultAPIServiceMock) CreateAffinityGroupExecute ¶
func (a DefaultAPIServiceMock) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
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, region string) ApiCreateBackupRequest
func (DefaultAPIServiceMock) CreateBackupExecute ¶
func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)
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, region string) ApiCreateImageRequest
func (DefaultAPIServiceMock) CreateImageExecute ¶
func (a DefaultAPIServiceMock) CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)
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) CreateIsolatedNetwork ¶
func (a DefaultAPIServiceMock) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest
func (DefaultAPIServiceMock) CreateIsolatedNetworkExecute ¶
func (a DefaultAPIServiceMock) CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, error)
CreateIsolatedNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateIsolatedNetworkExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateKeyPair ¶
func (a DefaultAPIServiceMock) CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest
func (DefaultAPIServiceMock) CreateKeyPairExecute ¶
func (a DefaultAPIServiceMock) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)
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, region string) ApiCreateNetworkRequest
func (DefaultAPIServiceMock) CreateNetworkArea ¶
func (a DefaultAPIServiceMock) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest
func (DefaultAPIServiceMock) CreateNetworkAreaExecute ¶
func (a DefaultAPIServiceMock) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
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, region string) ApiCreateNetworkAreaRangeRequest
func (DefaultAPIServiceMock) CreateNetworkAreaRangeExecute ¶
func (a DefaultAPIServiceMock) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
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, region string) ApiCreateNetworkAreaRouteRequest
func (DefaultAPIServiceMock) CreateNetworkAreaRouteExecute ¶
func (a DefaultAPIServiceMock) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
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 ¶
func (a DefaultAPIServiceMock) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)
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, region string, networkId string) ApiCreateNicRequest
func (DefaultAPIServiceMock) CreateNicExecute ¶
func (a DefaultAPIServiceMock) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)
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, region string) ApiCreatePublicIPRequest
func (DefaultAPIServiceMock) CreatePublicIPExecute ¶
func (a DefaultAPIServiceMock) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)
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, region string) ApiCreateSecurityGroupRequest
func (DefaultAPIServiceMock) CreateSecurityGroupExecute ¶
func (a DefaultAPIServiceMock) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
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, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest
func (DefaultAPIServiceMock) CreateSecurityGroupRuleExecute ¶
func (a DefaultAPIServiceMock) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
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, region string) ApiCreateServerRequest
func (DefaultAPIServiceMock) CreateServerExecute ¶
func (a DefaultAPIServiceMock) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)
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) CreateVolume ¶
func (a DefaultAPIServiceMock) CreateVolume(ctx context.Context, projectId string, region string) ApiCreateVolumeRequest
func (DefaultAPIServiceMock) CreateVolumeExecute ¶
func (a DefaultAPIServiceMock) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)
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, region string, serverId string) ApiDeallocateServerRequest
func (DefaultAPIServiceMock) DeallocateServerExecute ¶
func (a DefaultAPIServiceMock) DeallocateServerExecute(r ApiDeallocateServerRequest) error
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, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest
func (DefaultAPIServiceMock) DeleteAffinityGroupExecute ¶
func (a DefaultAPIServiceMock) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error
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, region string, backupId string) ApiDeleteBackupRequest
func (DefaultAPIServiceMock) DeleteBackupExecute ¶
func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error
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, region string, imageId string) ApiDeleteImageRequest
func (DefaultAPIServiceMock) DeleteImageExecute ¶
func (a DefaultAPIServiceMock) DeleteImageExecute(r ApiDeleteImageRequest) error
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, region string, imageId string) ApiDeleteImageShareRequest
func (DefaultAPIServiceMock) DeleteImageShareConsumer ¶
func (a DefaultAPIServiceMock) DeleteImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest
func (DefaultAPIServiceMock) DeleteImageShareConsumerExecute ¶
func (a DefaultAPIServiceMock) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error
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 ¶
func (a DefaultAPIServiceMock) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error
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
func (DefaultAPIServiceMock) DeleteKeyPairExecute ¶
func (a DefaultAPIServiceMock) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error
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, region string, networkId string) ApiDeleteNetworkRequest
func (DefaultAPIServiceMock) DeleteNetworkArea ¶
func (a DefaultAPIServiceMock) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest
func (DefaultAPIServiceMock) DeleteNetworkAreaExecute ¶
func (a DefaultAPIServiceMock) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error
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, region string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest
func (DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute ¶
func (a DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error
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, region string, routeId string) ApiDeleteNetworkAreaRouteRequest
func (DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute ¶
func (a DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error
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 ¶
func (a DefaultAPIServiceMock) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error
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, region string, networkId string, nicId string) ApiDeleteNicRequest
func (DefaultAPIServiceMock) DeleteNicExecute ¶
func (a DefaultAPIServiceMock) DeleteNicExecute(r ApiDeleteNicRequest) error
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, region string, publicIpId string) ApiDeletePublicIPRequest
func (DefaultAPIServiceMock) DeletePublicIPExecute ¶
func (a DefaultAPIServiceMock) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error
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) DeleteRouteFromRoutingTable ¶
func (a DefaultAPIServiceMock) DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiDeleteRouteFromRoutingTableRequest
func (DefaultAPIServiceMock) DeleteRouteFromRoutingTableExecute ¶
func (a DefaultAPIServiceMock) DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error
DeleteRouteFromRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRouteFromRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteRoutingTableFromArea ¶
func (a DefaultAPIServiceMock) DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiDeleteRoutingTableFromAreaRequest
func (DefaultAPIServiceMock) DeleteRoutingTableFromAreaExecute ¶
func (a DefaultAPIServiceMock) DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error
DeleteRoutingTableFromAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRoutingTableFromAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteSecurityGroup ¶
func (a DefaultAPIServiceMock) DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest
func (DefaultAPIServiceMock) DeleteSecurityGroupExecute ¶
func (a DefaultAPIServiceMock) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error
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, region string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest
func (DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute ¶
func (a DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error
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, region string, serverId string) ApiDeleteServerRequest
func (DefaultAPIServiceMock) DeleteServerExecute ¶
func (a DefaultAPIServiceMock) DeleteServerExecute(r ApiDeleteServerRequest) error
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) DeleteVolume ¶
func (a DefaultAPIServiceMock) DeleteVolume(ctx context.Context, projectId string, region string, volumeId string) ApiDeleteVolumeRequest
func (DefaultAPIServiceMock) DeleteVolumeExecute ¶
func (a DefaultAPIServiceMock) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error
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, region string, affinityGroupId string) ApiGetAffinityGroupRequest
func (DefaultAPIServiceMock) GetAffinityGroupExecute ¶
func (a DefaultAPIServiceMock) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
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, region string, serverId string, volumeId string) ApiGetAttachedVolumeRequest
func (DefaultAPIServiceMock) GetAttachedVolumeExecute ¶
func (a DefaultAPIServiceMock) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
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, region string, backupId string) ApiGetBackupRequest
func (DefaultAPIServiceMock) GetBackupExecute ¶
func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)
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, region string, imageId string) ApiGetImageRequest
func (DefaultAPIServiceMock) GetImageExecute ¶
func (a DefaultAPIServiceMock) GetImageExecute(r ApiGetImageRequest) (*Image, error)
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, region string, imageId string) ApiGetImageShareRequest
func (DefaultAPIServiceMock) GetImageShareConsumer ¶
func (a DefaultAPIServiceMock) GetImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest
func (DefaultAPIServiceMock) GetImageShareConsumerExecute ¶
func (a DefaultAPIServiceMock) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
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 ¶
func (a DefaultAPIServiceMock) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)
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
func (DefaultAPIServiceMock) GetKeyPairExecute ¶
func (a DefaultAPIServiceMock) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)
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, region string, machineType string) ApiGetMachineTypeRequest
func (DefaultAPIServiceMock) GetMachineTypeExecute ¶
func (a DefaultAPIServiceMock) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)
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, region string, networkId string) ApiGetNetworkRequest
func (DefaultAPIServiceMock) GetNetworkArea ¶
func (a DefaultAPIServiceMock) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest
func (DefaultAPIServiceMock) GetNetworkAreaExecute ¶
func (a DefaultAPIServiceMock) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
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, region string, networkRangeId string) ApiGetNetworkAreaRangeRequest
func (DefaultAPIServiceMock) GetNetworkAreaRangeExecute ¶
func (a DefaultAPIServiceMock) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
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, region string, routeId string) ApiGetNetworkAreaRouteRequest
func (DefaultAPIServiceMock) GetNetworkAreaRouteExecute ¶
func (a DefaultAPIServiceMock) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)
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 ¶
func (a DefaultAPIServiceMock) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)
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, region string, networkId string, nicId string) ApiGetNicRequest
func (DefaultAPIServiceMock) GetNicExecute ¶
func (a DefaultAPIServiceMock) GetNicExecute(r ApiGetNicRequest) (*NIC, error)
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
func (DefaultAPIServiceMock) GetOrganizationRequestExecute ¶
func (a DefaultAPIServiceMock) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)
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
func (DefaultAPIServiceMock) GetProjectDetailsExecute ¶
func (a DefaultAPIServiceMock) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)
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, region string, nicId string) ApiGetProjectNICRequest
func (DefaultAPIServiceMock) GetProjectNICExecute ¶
func (a DefaultAPIServiceMock) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)
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, region string, requestId string) ApiGetProjectRequestRequest
func (DefaultAPIServiceMock) GetProjectRequestExecute ¶
func (a DefaultAPIServiceMock) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)
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, region string, publicIpId string) ApiGetPublicIPRequest
func (DefaultAPIServiceMock) GetPublicIPExecute ¶
func (a DefaultAPIServiceMock) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)
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) GetRouteOfRoutingTable ¶
func (a DefaultAPIServiceMock) GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiGetRouteOfRoutingTableRequest
func (DefaultAPIServiceMock) GetRouteOfRoutingTableExecute ¶
func (a DefaultAPIServiceMock) GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
GetRouteOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRouteOfRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetRoutingTableOfArea ¶
func (a DefaultAPIServiceMock) GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiGetRoutingTableOfAreaRequest
func (DefaultAPIServiceMock) GetRoutingTableOfAreaExecute ¶
func (a DefaultAPIServiceMock) GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)
GetRoutingTableOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRoutingTableOfAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetSecurityGroup ¶
func (a DefaultAPIServiceMock) GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest
func (DefaultAPIServiceMock) GetSecurityGroupExecute ¶
func (a DefaultAPIServiceMock) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
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, region string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest
func (DefaultAPIServiceMock) GetSecurityGroupRuleExecute ¶
func (a DefaultAPIServiceMock) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
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, region string, serverId string) ApiGetServerRequest
func (DefaultAPIServiceMock) GetServerConsole ¶
func (a DefaultAPIServiceMock) GetServerConsole(ctx context.Context, projectId string, region string, serverId string) ApiGetServerConsoleRequest
func (DefaultAPIServiceMock) GetServerConsoleExecute ¶
func (a DefaultAPIServiceMock) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
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 ¶
func (a DefaultAPIServiceMock) GetServerExecute(r ApiGetServerRequest) (*Server, error)
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, region string, serverId string) ApiGetServerLogRequest
func (DefaultAPIServiceMock) GetServerLogExecute ¶
func (a DefaultAPIServiceMock) GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
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) GetVolume ¶
func (a DefaultAPIServiceMock) GetVolume(ctx context.Context, projectId string, region string, volumeId string) ApiGetVolumeRequest
func (DefaultAPIServiceMock) GetVolumeExecute ¶
func (a DefaultAPIServiceMock) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)
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, region string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest
func (DefaultAPIServiceMock) GetVolumePerformanceClassExecute ¶
func (a DefaultAPIServiceMock) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
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, region string) ApiListAffinityGroupsRequest
func (DefaultAPIServiceMock) ListAffinityGroupsExecute ¶
func (a DefaultAPIServiceMock) ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
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, region string, serverId string) ApiListAttachedVolumesRequest
func (DefaultAPIServiceMock) ListAttachedVolumesExecute ¶
func (a DefaultAPIServiceMock) ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
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, region string) ApiListAvailabilityZonesRequest
func (DefaultAPIServiceMock) ListAvailabilityZonesExecute ¶
func (a DefaultAPIServiceMock) ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
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, region string) ApiListBackupsRequest
func (DefaultAPIServiceMock) ListBackupsExecute ¶
func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)
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, region string) ApiListImagesRequest
func (DefaultAPIServiceMock) ListImagesExecute ¶
func (a DefaultAPIServiceMock) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)
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
func (DefaultAPIServiceMock) ListKeyPairsExecute ¶
func (a DefaultAPIServiceMock) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
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, region string) ApiListMachineTypesRequest
func (DefaultAPIServiceMock) ListMachineTypesExecute ¶
func (a DefaultAPIServiceMock) ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
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
func (DefaultAPIServiceMock) ListNetworkAreaProjectsExecute ¶
func (a DefaultAPIServiceMock) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
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, region string) ApiListNetworkAreaRangesRequest
func (DefaultAPIServiceMock) ListNetworkAreaRangesExecute ¶
func (a DefaultAPIServiceMock) ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
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, region string) ApiListNetworkAreaRoutesRequest
func (DefaultAPIServiceMock) ListNetworkAreaRoutesExecute ¶
func (a DefaultAPIServiceMock) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
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
func (DefaultAPIServiceMock) ListNetworkAreasExecute ¶
func (a DefaultAPIServiceMock) ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
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, region string) ApiListNetworksRequest
func (DefaultAPIServiceMock) ListNetworksExecute ¶
func (a DefaultAPIServiceMock) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)
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, region string, networkId string) ApiListNicsRequest
func (DefaultAPIServiceMock) ListNicsExecute ¶
func (a DefaultAPIServiceMock) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)
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, region string) ApiListProjectNICsRequest
func (DefaultAPIServiceMock) ListProjectNICsExecute ¶
func (a DefaultAPIServiceMock) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)
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
func (DefaultAPIServiceMock) ListPublicIPRangesExecute ¶
func (a DefaultAPIServiceMock) ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
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, region string) ApiListPublicIPsRequest
func (DefaultAPIServiceMock) ListPublicIPsExecute ¶
func (a DefaultAPIServiceMock) ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
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, region string) ApiListQuotasRequest
func (DefaultAPIServiceMock) ListQuotasExecute ¶
func (a DefaultAPIServiceMock) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)
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) ListRoutesOfRoutingTable ¶
func (a DefaultAPIServiceMock) ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListRoutesOfRoutingTableRequest
func (DefaultAPIServiceMock) ListRoutesOfRoutingTableExecute ¶
func (a DefaultAPIServiceMock) ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
ListRoutesOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRoutesOfRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListRoutingTablesOfArea ¶
func (a DefaultAPIServiceMock) ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest
func (DefaultAPIServiceMock) ListRoutingTablesOfAreaExecute ¶
func (a DefaultAPIServiceMock) ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)
ListRoutingTablesOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRoutingTablesOfAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListSecurityGroupRules ¶
func (a DefaultAPIServiceMock) ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest
func (DefaultAPIServiceMock) ListSecurityGroupRulesExecute ¶
func (a DefaultAPIServiceMock) ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
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, region string) ApiListSecurityGroupsRequest
func (DefaultAPIServiceMock) ListSecurityGroupsExecute ¶
func (a DefaultAPIServiceMock) ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
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, region string, serverId string) ApiListServerNICsRequest
func (DefaultAPIServiceMock) ListServerNICsExecute ¶
func (a DefaultAPIServiceMock) ListServerNICsExecute(r ApiListServerNICsRequest) (*NICListResponse, error)
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, region string, serverId string) ApiListServerServiceAccountsRequest
func (DefaultAPIServiceMock) ListServerServiceAccountsExecute ¶
func (a DefaultAPIServiceMock) ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
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, region string) ApiListServersRequest
func (DefaultAPIServiceMock) ListServersExecute ¶
func (a DefaultAPIServiceMock) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)
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) ListVolumePerformanceClasses ¶
func (a DefaultAPIServiceMock) ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest
func (DefaultAPIServiceMock) ListVolumePerformanceClassesExecute ¶
func (a DefaultAPIServiceMock) ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
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, region string) ApiListVolumesRequest
func (DefaultAPIServiceMock) ListVolumesExecute ¶
func (a DefaultAPIServiceMock) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)
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, region string, networkId string) ApiPartialUpdateNetworkRequest
func (DefaultAPIServiceMock) PartialUpdateNetworkArea ¶
func (a DefaultAPIServiceMock) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest
func (DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
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 ¶
func (a DefaultAPIServiceMock) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error
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, region string, serverId string) ApiRebootServerRequest
func (DefaultAPIServiceMock) RebootServerExecute ¶
func (a DefaultAPIServiceMock) RebootServerExecute(r ApiRebootServerRequest) error
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, region string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest
func (DefaultAPIServiceMock) RemoveNetworkFromServerExecute ¶
func (a DefaultAPIServiceMock) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error
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, region string, serverId string, nicId string) ApiRemoveNicFromServerRequest
func (DefaultAPIServiceMock) RemoveNicFromServerExecute ¶
func (a DefaultAPIServiceMock) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error
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, region string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest
func (DefaultAPIServiceMock) RemovePublicIpFromServerExecute ¶
func (a DefaultAPIServiceMock) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error
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, region string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest
func (DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute ¶
func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error
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, region string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest
func (DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute ¶
func (a DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
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, region string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest
func (DefaultAPIServiceMock) RemoveVolumeFromServerExecute ¶
func (a DefaultAPIServiceMock) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error
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, region string, serverId string) ApiRescueServerRequest
func (DefaultAPIServiceMock) RescueServerExecute ¶
func (a DefaultAPIServiceMock) RescueServerExecute(r ApiRescueServerRequest) error
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, region string, serverId string) ApiResizeServerRequest
func (DefaultAPIServiceMock) ResizeServerExecute ¶
func (a DefaultAPIServiceMock) ResizeServerExecute(r ApiResizeServerRequest) error
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, region string, volumeId string) ApiResizeVolumeRequest
func (DefaultAPIServiceMock) ResizeVolumeExecute ¶
func (a DefaultAPIServiceMock) ResizeVolumeExecute(r ApiResizeVolumeRequest) error
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, region string, backupId string) ApiRestoreBackupRequest
func (DefaultAPIServiceMock) RestoreBackupExecute ¶
func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error
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, region string, imageId string) ApiSetImageShareRequest
func (DefaultAPIServiceMock) SetImageShareExecute ¶
func (a DefaultAPIServiceMock) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)
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, region string, serverId string) ApiStartServerRequest
func (DefaultAPIServiceMock) StartServerExecute ¶
func (a DefaultAPIServiceMock) StartServerExecute(r ApiStartServerRequest) error
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, region string, serverId string) ApiStopServerRequest
func (DefaultAPIServiceMock) StopServerExecute ¶
func (a DefaultAPIServiceMock) StopServerExecute(r ApiStopServerRequest) error
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, region string, serverId string) ApiUnrescueServerRequest
func (DefaultAPIServiceMock) UnrescueServerExecute ¶
func (a DefaultAPIServiceMock) UnrescueServerExecute(r ApiUnrescueServerRequest) error
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, region string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest
func (DefaultAPIServiceMock) UpdateAttachedVolumeExecute ¶
func (a DefaultAPIServiceMock) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
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) UpdateImage ¶
func (a DefaultAPIServiceMock) UpdateImage(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageRequest
func (DefaultAPIServiceMock) UpdateImageExecute ¶
func (a DefaultAPIServiceMock) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)
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) UpdateImageShare ¶
func (a DefaultAPIServiceMock) UpdateImageShare(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageShareRequest
func (DefaultAPIServiceMock) UpdateImageShareExecute ¶
func (a DefaultAPIServiceMock) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)
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
func (DefaultAPIServiceMock) UpdateKeyPairExecute ¶
func (a DefaultAPIServiceMock) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)
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) UpdateNic ¶
func (a DefaultAPIServiceMock) UpdateNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiUpdateNicRequest
func (DefaultAPIServiceMock) UpdateNicExecute ¶
func (a DefaultAPIServiceMock) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)
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, region string, publicIpId string) ApiUpdatePublicIPRequest
func (DefaultAPIServiceMock) UpdatePublicIPExecute ¶
func (a DefaultAPIServiceMock) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)
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) UpdateRouteOfRoutingTable ¶
func (a DefaultAPIServiceMock) UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiUpdateRouteOfRoutingTableRequest
func (DefaultAPIServiceMock) UpdateRouteOfRoutingTableExecute ¶
func (a DefaultAPIServiceMock) UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
UpdateRouteOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRouteOfRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateRoutingTableOfArea ¶
func (a DefaultAPIServiceMock) UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiUpdateRoutingTableOfAreaRequest
func (DefaultAPIServiceMock) UpdateRoutingTableOfAreaExecute ¶
func (a DefaultAPIServiceMock) UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)
UpdateRoutingTableOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRoutingTableOfAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateServer ¶
func (a DefaultAPIServiceMock) UpdateServer(ctx context.Context, projectId string, region string, serverId string) ApiUpdateServerRequest
func (DefaultAPIServiceMock) UpdateServerExecute ¶
func (a DefaultAPIServiceMock) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)
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) UpdateVolume ¶
func (a DefaultAPIServiceMock) UpdateVolume(ctx context.Context, projectId string, region string, volumeId string) ApiUpdateVolumeRequest
func (DefaultAPIServiceMock) UpdateVolumeExecute ¶
func (a DefaultAPIServiceMock) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
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.
func (DefaultAPIServiceMock) V2beta1ConfigureNetworkAreaRegion ¶
func (a DefaultAPIServiceMock) V2beta1ConfigureNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1ConfigureNetworkAreaRegionRequest
func (DefaultAPIServiceMock) V2beta1ConfigureNetworkAreaRegionExecute ¶
func (a DefaultAPIServiceMock) V2beta1ConfigureNetworkAreaRegionExecute(r ApiV2beta1ConfigureNetworkAreaRegionRequest) (*RegionalArea, error)
V2beta1ConfigureNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1ConfigureNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1CreateSnapshot ¶
func (a DefaultAPIServiceMock) V2beta1CreateSnapshot(ctx context.Context, projectId string, region string) ApiV2beta1CreateSnapshotRequest
func (DefaultAPIServiceMock) V2beta1CreateSnapshotExecute ¶
func (a DefaultAPIServiceMock) V2beta1CreateSnapshotExecute(r ApiV2beta1CreateSnapshotRequest) (*Snapshot, error)
V2beta1CreateSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1CreateSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1DeleteNetworkAreaRegion ¶
func (a DefaultAPIServiceMock) V2beta1DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1DeleteNetworkAreaRegionRequest
func (DefaultAPIServiceMock) V2beta1DeleteNetworkAreaRegionExecute ¶
func (a DefaultAPIServiceMock) V2beta1DeleteNetworkAreaRegionExecute(r ApiV2beta1DeleteNetworkAreaRegionRequest) error
V2beta1DeleteNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1DeleteNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1DeleteSnapshot ¶
func (a DefaultAPIServiceMock) V2beta1DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1DeleteSnapshotRequest
func (DefaultAPIServiceMock) V2beta1DeleteSnapshotExecute ¶
func (a DefaultAPIServiceMock) V2beta1DeleteSnapshotExecute(r ApiV2beta1DeleteSnapshotRequest) error
V2beta1DeleteSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1DeleteSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1GetAreaRegion ¶
func (a DefaultAPIServiceMock) V2beta1GetAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1GetAreaRegionRequest
func (DefaultAPIServiceMock) V2beta1GetAreaRegionExecute ¶
func (a DefaultAPIServiceMock) V2beta1GetAreaRegionExecute(r ApiV2beta1GetAreaRegionRequest) (*RegionalArea, error)
V2beta1GetAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1GetAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1GetSnapshot ¶
func (a DefaultAPIServiceMock) V2beta1GetSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1GetSnapshotRequest
func (DefaultAPIServiceMock) V2beta1GetSnapshotExecute ¶
func (a DefaultAPIServiceMock) V2beta1GetSnapshotExecute(r ApiV2beta1GetSnapshotRequest) (*Snapshot, error)
V2beta1GetSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1GetSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1ListAreaRegions ¶
func (a DefaultAPIServiceMock) V2beta1ListAreaRegions(ctx context.Context, organizationId string, areaId string) ApiV2beta1ListAreaRegionsRequest
func (DefaultAPIServiceMock) V2beta1ListAreaRegionsExecute ¶
func (a DefaultAPIServiceMock) V2beta1ListAreaRegionsExecute(r ApiV2beta1ListAreaRegionsRequest) (*RegionalAreaListResponse, error)
V2beta1ListAreaRegionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1ListAreaRegionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1ListSnapshotsInProject ¶
func (a DefaultAPIServiceMock) V2beta1ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiV2beta1ListSnapshotsInProjectRequest
func (DefaultAPIServiceMock) V2beta1ListSnapshotsInProjectExecute ¶
func (a DefaultAPIServiceMock) V2beta1ListSnapshotsInProjectExecute(r ApiV2beta1ListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
V2beta1ListSnapshotsInProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1ListSnapshotsInProjectExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1UpdateBackup ¶
func (a DefaultAPIServiceMock) V2beta1UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiV2beta1UpdateBackupRequest
func (DefaultAPIServiceMock) V2beta1UpdateBackupExecute ¶
func (a DefaultAPIServiceMock) V2beta1UpdateBackupExecute(r ApiV2beta1UpdateBackupRequest) (*Backup, error)
V2beta1UpdateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1UpdateBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1UpdateNetworkAreaRegion ¶
func (a DefaultAPIServiceMock) V2beta1UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiV2beta1UpdateNetworkAreaRegionRequest
func (DefaultAPIServiceMock) V2beta1UpdateNetworkAreaRegionExecute ¶
func (a DefaultAPIServiceMock) V2beta1UpdateNetworkAreaRegionExecute(r ApiV2beta1UpdateNetworkAreaRegionRequest) (*RegionalArea, error)
V2beta1UpdateNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1UpdateNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1UpdateRouteOfArea ¶
func (a DefaultAPIServiceMock) V2beta1UpdateRouteOfArea(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiV2beta1UpdateRouteOfAreaRequest
func (DefaultAPIServiceMock) V2beta1UpdateRouteOfAreaExecute ¶
func (a DefaultAPIServiceMock) V2beta1UpdateRouteOfAreaExecute(r ApiV2beta1UpdateRouteOfAreaRequest) (*Route, error)
V2beta1UpdateRouteOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1UpdateRouteOfAreaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1UpdateSecurityGroup ¶
func (a DefaultAPIServiceMock) V2beta1UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiV2beta1UpdateSecurityGroupRequest
func (DefaultAPIServiceMock) V2beta1UpdateSecurityGroupExecute ¶
func (a DefaultAPIServiceMock) V2beta1UpdateSecurityGroupExecute(r ApiV2beta1UpdateSecurityGroupRequest) (*SecurityGroup, error)
V2beta1UpdateSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1UpdateSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) V2beta1UpdateSnapshot ¶
func (a DefaultAPIServiceMock) V2beta1UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiV2beta1UpdateSnapshotRequest
func (DefaultAPIServiceMock) V2beta1UpdateSnapshotExecute ¶
func (a DefaultAPIServiceMock) V2beta1UpdateSnapshotExecute(r ApiV2beta1UpdateSnapshotRequest) (*Snapshot, error)
V2beta1UpdateSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the V2beta1UpdateSnapshotExecuteMock field in the DefaultAPIServiceMock struct.
type DestinationCIDRv4 ¶
type DestinationCIDRv4 struct {
Type string `json:"type"`
// An CIDRv4 string.
Value string `` /* 152-byte string literal not displayed */
}
DestinationCIDRv4 IPv4 Classless Inter-Domain Routing (CIDR) Object.
func NewDestinationCIDRv4 ¶
func NewDestinationCIDRv4(types string, value string) *DestinationCIDRv4
NewDestinationCIDRv4 instantiates a new DestinationCIDRv4 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 NewDestinationCIDRv4WithDefaults ¶
func NewDestinationCIDRv4WithDefaults() *DestinationCIDRv4
NewDestinationCIDRv4WithDefaults instantiates a new DestinationCIDRv4 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 (*DestinationCIDRv4) GetType ¶
func (o *DestinationCIDRv4) GetType() string
GetType returns the Type field value
func (*DestinationCIDRv4) GetTypeOk ¶
func (o *DestinationCIDRv4) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*DestinationCIDRv4) GetValue ¶
func (o *DestinationCIDRv4) GetValue() string
GetValue returns the Value field value
func (*DestinationCIDRv4) GetValueOk ¶
func (o *DestinationCIDRv4) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (DestinationCIDRv4) MarshalJSON ¶
func (o DestinationCIDRv4) MarshalJSON() ([]byte, error)
func (*DestinationCIDRv4) SetType ¶
func (o *DestinationCIDRv4) SetType(v string)
SetType sets field value
func (*DestinationCIDRv4) SetValue ¶
func (o *DestinationCIDRv4) SetValue(v string)
SetValue sets field value
func (DestinationCIDRv4) ToMap ¶
func (o DestinationCIDRv4) ToMap() (map[string]interface{}, error)
func (*DestinationCIDRv4) UnmarshalJSON ¶
func (o *DestinationCIDRv4) UnmarshalJSON(data []byte) (err error)
type DestinationCIDRv6 ¶
type DestinationCIDRv6 struct {
Type string `json:"type"`
// An CIDRv6 string.
Value string `` /* 745-byte string literal not displayed */
}
DestinationCIDRv6 IPv6 Classless Inter-Domain Routing (CIDR) Object.
func NewDestinationCIDRv6 ¶
func NewDestinationCIDRv6(types string, value string) *DestinationCIDRv6
NewDestinationCIDRv6 instantiates a new DestinationCIDRv6 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 NewDestinationCIDRv6WithDefaults ¶
func NewDestinationCIDRv6WithDefaults() *DestinationCIDRv6
NewDestinationCIDRv6WithDefaults instantiates a new DestinationCIDRv6 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 (*DestinationCIDRv6) GetType ¶
func (o *DestinationCIDRv6) GetType() string
GetType returns the Type field value
func (*DestinationCIDRv6) GetTypeOk ¶
func (o *DestinationCIDRv6) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*DestinationCIDRv6) GetValue ¶
func (o *DestinationCIDRv6) GetValue() string
GetValue returns the Value field value
func (*DestinationCIDRv6) GetValueOk ¶
func (o *DestinationCIDRv6) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (DestinationCIDRv6) MarshalJSON ¶
func (o DestinationCIDRv6) MarshalJSON() ([]byte, error)
func (*DestinationCIDRv6) SetType ¶
func (o *DestinationCIDRv6) SetType(v string)
SetType sets field value
func (*DestinationCIDRv6) SetValue ¶
func (o *DestinationCIDRv6) SetValue(v string)
SetValue sets field value
func (DestinationCIDRv6) ToMap ¶
func (o DestinationCIDRv6) ToMap() (map[string]interface{}, error)
func (*DestinationCIDRv6) UnmarshalJSON ¶
func (o *DestinationCIDRv6) UnmarshalJSON(data []byte) (err error)
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"`
// 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}$"`
Ipv4 *NetworkIPv4 `json:"ipv4,omitempty"`
Ipv6 *NetworkIPv6 `json:"ipv6,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"`
// Shows if the network is routed and therefore accessible from other networks.
Routed *bool `json:"routed,omitempty"`
// Universally Unique Identifier (UUID).
RoutingTableId *string `json:"routingTableId,omitempty" 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"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Network Object that represents a network. If no routing table is specified, the default routing table is used.
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Network) GetIpv4 ¶
func (o *Network) GetIpv4() NetworkIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*Network) GetIpv4Ok ¶
func (o *Network) GetIpv4Ok() (*NetworkIPv4, 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 (*Network) GetIpv6 ¶
func (o *Network) GetIpv6() NetworkIPv6
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*Network) GetIpv6Ok ¶
func (o *Network) GetIpv6Ok() (*NetworkIPv6, 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 (*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) 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) GetRoutingTableId ¶
GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.
func (*Network) GetRoutingTableIdOk ¶
GetRoutingTableIdOk returns a tuple with the RoutingTableId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value 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) HasRoutingTableId ¶
HasRoutingTableId 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) SetIpv4 ¶
func (o *Network) SetIpv4(v NetworkIPv4)
SetIpv4 gets a reference to the given NetworkIPv4 and assigns it to the Ipv4 field.
func (*Network) SetIpv6 ¶
func (o *Network) SetIpv6(v NetworkIPv6)
SetIpv6 gets a reference to the given NetworkIPv6 and assigns it to the Ipv6 field.
func (*Network) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Network) SetRouted ¶
SetRouted gets a reference to the given bool and assigns it to the Routed field.
func (*Network) SetRoutingTableId ¶
SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId field.
func (*Network) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Network) UnmarshalJSON ¶
type NetworkArea ¶
type NetworkArea 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"`
Name string `json:"name"`
// The amount of projects currently referencing a specific area.
ProjectCount *int64 `json:"projectCount,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
NetworkArea Object that represents a network area.
func NewNetworkArea ¶
func NewNetworkArea(name 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) 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) GetId ¶
func (o *NetworkArea) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*NetworkArea) GetIdOk ¶
func (o *NetworkArea) 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 (*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 if set, zero value otherwise.
func (*NetworkArea) GetProjectCountOk ¶
func (o *NetworkArea) GetProjectCountOk() (*int64, bool)
GetProjectCountOk returns a tuple with the ProjectCount field value if set, nil otherwise 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) HasId ¶
func (o *NetworkArea) HasId() bool
HasId 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) HasProjectCount ¶
func (o *NetworkArea) HasProjectCount() bool
HasProjectCount 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) 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) SetId ¶
func (o *NetworkArea) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id 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 gets a reference to the given int64 and assigns it to the ProjectCount field.
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 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 NetworkIPv4 ¶
type NetworkIPv4 struct {
// The IPv4 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 `` /* 165-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv4.
Nameservers []string `json:"nameservers,omitempty"`
Prefixes []string `json:"prefixes"`
// String that represents an IPv4 address.
PublicIp *string `` /* 166-byte string literal not displayed */
}
NetworkIPv4 Object that represents the IPv4 part of a network.
func NewNetworkIPv4 ¶
func NewNetworkIPv4(prefixes []string) *NetworkIPv4
NewNetworkIPv4 instantiates a new NetworkIPv4 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 NewNetworkIPv4WithDefaults ¶
func NewNetworkIPv4WithDefaults() *NetworkIPv4
NewNetworkIPv4WithDefaults instantiates a new NetworkIPv4 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 (*NetworkIPv4) GetGateway ¶
func (o *NetworkIPv4) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*NetworkIPv4) GetGatewayOk ¶
func (o *NetworkIPv4) 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 (*NetworkIPv4) GetNameservers ¶
func (o *NetworkIPv4) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*NetworkIPv4) GetNameserversOk ¶
func (o *NetworkIPv4) 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 (*NetworkIPv4) GetPrefixes ¶
func (o *NetworkIPv4) GetPrefixes() []string
GetPrefixes returns the Prefixes field value
func (*NetworkIPv4) GetPrefixesOk ¶
func (o *NetworkIPv4) GetPrefixesOk() ([]string, bool)
GetPrefixesOk returns a tuple with the Prefixes field value and a boolean to check if the value has been set.
func (*NetworkIPv4) GetPublicIp ¶
func (o *NetworkIPv4) GetPublicIp() string
GetPublicIp returns the PublicIp field value if set, zero value otherwise.
func (*NetworkIPv4) GetPublicIpOk ¶
func (o *NetworkIPv4) 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 (*NetworkIPv4) HasGateway ¶
func (o *NetworkIPv4) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*NetworkIPv4) HasNameservers ¶
func (o *NetworkIPv4) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (*NetworkIPv4) HasPublicIp ¶
func (o *NetworkIPv4) HasPublicIp() bool
HasPublicIp returns a boolean if a field has been set.
func (NetworkIPv4) MarshalJSON ¶
func (o NetworkIPv4) MarshalJSON() ([]byte, error)
func (*NetworkIPv4) SetGateway ¶
func (o *NetworkIPv4) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*NetworkIPv4) SetGatewayNil ¶
func (o *NetworkIPv4) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*NetworkIPv4) SetNameservers ¶
func (o *NetworkIPv4) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*NetworkIPv4) SetPrefixes ¶
func (o *NetworkIPv4) SetPrefixes(v []string)
SetPrefixes sets field value
func (*NetworkIPv4) SetPublicIp ¶
func (o *NetworkIPv4) SetPublicIp(v string)
SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.
func (NetworkIPv4) ToMap ¶
func (o NetworkIPv4) ToMap() (map[string]interface{}, error)
func (*NetworkIPv4) UnmarshalJSON ¶
func (o *NetworkIPv4) UnmarshalJSON(data []byte) (err error)
func (*NetworkIPv4) UnsetGateway ¶
func (o *NetworkIPv4) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
type NetworkIPv6 ¶
type NetworkIPv6 struct {
// The IPv6 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 `` /* 1257-byte string literal not displayed */
// A list containing DNS Servers/Nameservers for IPv6.
Nameservers []string `json:"nameservers,omitempty"`
Prefixes []string `json:"prefixes"`
}
NetworkIPv6 Object that represents the IPv6 part of a network.
func NewNetworkIPv6 ¶
func NewNetworkIPv6(prefixes []string) *NetworkIPv6
NewNetworkIPv6 instantiates a new NetworkIPv6 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 NewNetworkIPv6WithDefaults ¶
func NewNetworkIPv6WithDefaults() *NetworkIPv6
NewNetworkIPv6WithDefaults instantiates a new NetworkIPv6 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 (*NetworkIPv6) GetGateway ¶
func (o *NetworkIPv6) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).
func (*NetworkIPv6) GetGatewayOk ¶
func (o *NetworkIPv6) 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 (*NetworkIPv6) GetNameservers ¶
func (o *NetworkIPv6) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*NetworkIPv6) GetNameserversOk ¶
func (o *NetworkIPv6) 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 (*NetworkIPv6) GetPrefixes ¶
func (o *NetworkIPv6) GetPrefixes() []string
GetPrefixes returns the Prefixes field value
func (*NetworkIPv6) GetPrefixesOk ¶
func (o *NetworkIPv6) GetPrefixesOk() ([]string, bool)
GetPrefixesOk returns a tuple with the Prefixes field value and a boolean to check if the value has been set.
func (*NetworkIPv6) HasGateway ¶
func (o *NetworkIPv6) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*NetworkIPv6) HasNameservers ¶
func (o *NetworkIPv6) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (NetworkIPv6) MarshalJSON ¶
func (o NetworkIPv6) MarshalJSON() ([]byte, error)
func (*NetworkIPv6) SetGateway ¶
func (o *NetworkIPv6) SetGateway(v string)
SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.
func (*NetworkIPv6) SetGatewayNil ¶
func (o *NetworkIPv6) SetGatewayNil()
SetGatewayNil sets the value for Gateway to be an explicit nil
func (*NetworkIPv6) SetNameservers ¶
func (o *NetworkIPv6) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*NetworkIPv6) SetPrefixes ¶
func (o *NetworkIPv6) SetPrefixes(v []string)
SetPrefixes sets field value
func (NetworkIPv6) ToMap ¶
func (o NetworkIPv6) ToMap() (map[string]interface{}, error)
func (*NetworkIPv6) UnmarshalJSON ¶
func (o *NetworkIPv6) UnmarshalJSON(data []byte) (err error)
func (*NetworkIPv6) UnsetGateway ¶
func (o *NetworkIPv6) UnsetGateway()
UnsetGateway ensures that no value is present for Gateway, not even an explicit nil
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).
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}$"`
// 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) GetId ¶
func (o *NetworkRange) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*NetworkRange) GetIdOk ¶
func (o *NetworkRange) 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 (*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) HasId ¶
func (o *NetworkRange) HasId() bool
HasId 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) SetId ¶
func (o *NetworkRange) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id 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 NexthopBlackhole ¶
type NexthopBlackhole struct {
Type string `json:"type"`
}
NexthopBlackhole Object that represents a blackhole route.
func NewNexthopBlackhole ¶
func NewNexthopBlackhole(types string) *NexthopBlackhole
NewNexthopBlackhole instantiates a new NexthopBlackhole 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 NewNexthopBlackholeWithDefaults ¶
func NewNexthopBlackholeWithDefaults() *NexthopBlackhole
NewNexthopBlackholeWithDefaults instantiates a new NexthopBlackhole 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 (*NexthopBlackhole) GetType ¶
func (o *NexthopBlackhole) GetType() string
GetType returns the Type field value
func (*NexthopBlackhole) GetTypeOk ¶
func (o *NexthopBlackhole) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (NexthopBlackhole) MarshalJSON ¶
func (o NexthopBlackhole) MarshalJSON() ([]byte, error)
func (*NexthopBlackhole) SetType ¶
func (o *NexthopBlackhole) SetType(v string)
SetType sets field value
func (NexthopBlackhole) ToMap ¶
func (o NexthopBlackhole) ToMap() (map[string]interface{}, error)
func (*NexthopBlackhole) UnmarshalJSON ¶
func (o *NexthopBlackhole) UnmarshalJSON(data []byte) (err error)
type NexthopIPv4 ¶
type NexthopIPv4 struct {
Type string `json:"type"`
// An IPv4 address.
Value string `` /* 153-byte string literal not displayed */
}
NexthopIPv4 Object that represents an IPv4 address.
func NewNexthopIPv4 ¶
func NewNexthopIPv4(types string, value string) *NexthopIPv4
NewNexthopIPv4 instantiates a new NexthopIPv4 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 NewNexthopIPv4WithDefaults ¶
func NewNexthopIPv4WithDefaults() *NexthopIPv4
NewNexthopIPv4WithDefaults instantiates a new NexthopIPv4 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 (*NexthopIPv4) GetType ¶
func (o *NexthopIPv4) GetType() string
GetType returns the Type field value
func (*NexthopIPv4) GetTypeOk ¶
func (o *NexthopIPv4) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*NexthopIPv4) GetValue ¶
func (o *NexthopIPv4) GetValue() string
GetValue returns the Value field value
func (*NexthopIPv4) GetValueOk ¶
func (o *NexthopIPv4) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (NexthopIPv4) MarshalJSON ¶
func (o NexthopIPv4) MarshalJSON() ([]byte, error)
func (NexthopIPv4) ToMap ¶
func (o NexthopIPv4) ToMap() (map[string]interface{}, error)
func (*NexthopIPv4) UnmarshalJSON ¶
func (o *NexthopIPv4) UnmarshalJSON(data []byte) (err error)
type NexthopIPv6 ¶
type NexthopIPv6 struct {
Type string `json:"type"`
// An IPv6 address.
Value string `` /* 1245-byte string literal not displayed */
}
NexthopIPv6 Object that represents an IPv6 address.
func NewNexthopIPv6 ¶
func NewNexthopIPv6(types string, value string) *NexthopIPv6
NewNexthopIPv6 instantiates a new NexthopIPv6 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 NewNexthopIPv6WithDefaults ¶
func NewNexthopIPv6WithDefaults() *NexthopIPv6
NewNexthopIPv6WithDefaults instantiates a new NexthopIPv6 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 (*NexthopIPv6) GetType ¶
func (o *NexthopIPv6) GetType() string
GetType returns the Type field value
func (*NexthopIPv6) GetTypeOk ¶
func (o *NexthopIPv6) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*NexthopIPv6) GetValue ¶
func (o *NexthopIPv6) GetValue() string
GetValue returns the Value field value
func (*NexthopIPv6) GetValueOk ¶
func (o *NexthopIPv6) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (NexthopIPv6) MarshalJSON ¶
func (o NexthopIPv6) MarshalJSON() ([]byte, error)
func (NexthopIPv6) ToMap ¶
func (o NexthopIPv6) ToMap() (map[string]interface{}, error)
func (*NexthopIPv6) UnmarshalJSON ¶
func (o *NexthopIPv6) UnmarshalJSON(data []byte) (err error)
type NexthopInternet ¶
type NexthopInternet struct {
Type string `json:"type"`
}
NexthopInternet Object that represents a route to the internet.
func NewNexthopInternet ¶
func NewNexthopInternet(types string) *NexthopInternet
NewNexthopInternet instantiates a new NexthopInternet 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 NewNexthopInternetWithDefaults ¶
func NewNexthopInternetWithDefaults() *NexthopInternet
NewNexthopInternetWithDefaults instantiates a new NexthopInternet 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 (*NexthopInternet) GetType ¶
func (o *NexthopInternet) GetType() string
GetType returns the Type field value
func (*NexthopInternet) GetTypeOk ¶
func (o *NexthopInternet) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (NexthopInternet) MarshalJSON ¶
func (o NexthopInternet) MarshalJSON() ([]byte, error)
func (*NexthopInternet) SetType ¶
func (o *NexthopInternet) SetType(v string)
SetType sets field value
func (NexthopInternet) ToMap ¶
func (o NexthopInternet) ToMap() (map[string]interface{}, error)
func (*NexthopInternet) UnmarshalJSON ¶
func (o *NexthopInternet) UnmarshalJSON(data []byte) (err error)
type NullableAddRoutesToRoutingTablePayload ¶
type NullableAddRoutesToRoutingTablePayload struct {
// contains filtered or unexported fields
}
func NewNullableAddRoutesToRoutingTablePayload ¶
func NewNullableAddRoutesToRoutingTablePayload(val *AddRoutesToRoutingTablePayload) *NullableAddRoutesToRoutingTablePayload
func (NullableAddRoutesToRoutingTablePayload) Get ¶
func (v NullableAddRoutesToRoutingTablePayload) Get() *AddRoutesToRoutingTablePayload
func (NullableAddRoutesToRoutingTablePayload) IsSet ¶
func (v NullableAddRoutesToRoutingTablePayload) IsSet() bool
func (NullableAddRoutesToRoutingTablePayload) MarshalJSON ¶
func (v NullableAddRoutesToRoutingTablePayload) MarshalJSON() ([]byte, error)
func (*NullableAddRoutesToRoutingTablePayload) Set ¶
func (v *NullableAddRoutesToRoutingTablePayload) Set(val *AddRoutesToRoutingTablePayload)
func (*NullableAddRoutesToRoutingTablePayload) UnmarshalJSON ¶
func (v *NullableAddRoutesToRoutingTablePayload) UnmarshalJSON(src []byte) error
func (*NullableAddRoutesToRoutingTablePayload) Unset ¶
func (v *NullableAddRoutesToRoutingTablePayload) Unset()
type NullableAddRoutingTableToAreaPayload ¶
type NullableAddRoutingTableToAreaPayload struct {
// contains filtered or unexported fields
}
func NewNullableAddRoutingTableToAreaPayload ¶
func NewNullableAddRoutingTableToAreaPayload(val *AddRoutingTableToAreaPayload) *NullableAddRoutingTableToAreaPayload
func (NullableAddRoutingTableToAreaPayload) Get ¶
func (v NullableAddRoutingTableToAreaPayload) Get() *AddRoutingTableToAreaPayload
func (NullableAddRoutingTableToAreaPayload) IsSet ¶
func (v NullableAddRoutingTableToAreaPayload) IsSet() bool
func (NullableAddRoutingTableToAreaPayload) MarshalJSON ¶
func (v NullableAddRoutingTableToAreaPayload) MarshalJSON() ([]byte, error)
func (*NullableAddRoutingTableToAreaPayload) Set ¶
func (v *NullableAddRoutingTableToAreaPayload) Set(val *AddRoutingTableToAreaPayload)
func (*NullableAddRoutingTableToAreaPayload) UnmarshalJSON ¶
func (v *NullableAddRoutingTableToAreaPayload) UnmarshalJSON(src []byte) error
func (*NullableAddRoutingTableToAreaPayload) Unset ¶
func (v *NullableAddRoutingTableToAreaPayload) Unset()
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 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 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 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 NullableCreateIsolatedNetworkPayload ¶
type NullableCreateIsolatedNetworkPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateIsolatedNetworkPayload ¶
func NewNullableCreateIsolatedNetworkPayload(val *CreateIsolatedNetworkPayload) *NullableCreateIsolatedNetworkPayload
func (NullableCreateIsolatedNetworkPayload) Get ¶
func (v NullableCreateIsolatedNetworkPayload) Get() *CreateIsolatedNetworkPayload
func (NullableCreateIsolatedNetworkPayload) IsSet ¶
func (v NullableCreateIsolatedNetworkPayload) IsSet() bool
func (NullableCreateIsolatedNetworkPayload) MarshalJSON ¶
func (v NullableCreateIsolatedNetworkPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateIsolatedNetworkPayload) Set ¶
func (v *NullableCreateIsolatedNetworkPayload) Set(val *CreateIsolatedNetworkPayload)
func (*NullableCreateIsolatedNetworkPayload) UnmarshalJSON ¶
func (v *NullableCreateIsolatedNetworkPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateIsolatedNetworkPayload) Unset ¶
func (v *NullableCreateIsolatedNetworkPayload) 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 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 NullableCreateNetworkIPv4 ¶
type NullableCreateNetworkIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv4 ¶
func NewNullableCreateNetworkIPv4(val *CreateNetworkIPv4) *NullableCreateNetworkIPv4
func (NullableCreateNetworkIPv4) Get ¶
func (v NullableCreateNetworkIPv4) Get() *CreateNetworkIPv4
func (NullableCreateNetworkIPv4) IsSet ¶
func (v NullableCreateNetworkIPv4) IsSet() bool
func (NullableCreateNetworkIPv4) MarshalJSON ¶
func (v NullableCreateNetworkIPv4) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv4) Set ¶
func (v *NullableCreateNetworkIPv4) Set(val *CreateNetworkIPv4)
func (*NullableCreateNetworkIPv4) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv4) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv4) Unset ¶
func (v *NullableCreateNetworkIPv4) Unset()
type NullableCreateNetworkIPv4WithPrefix ¶
type NullableCreateNetworkIPv4WithPrefix struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv4WithPrefix ¶
func NewNullableCreateNetworkIPv4WithPrefix(val *CreateNetworkIPv4WithPrefix) *NullableCreateNetworkIPv4WithPrefix
func (NullableCreateNetworkIPv4WithPrefix) Get ¶
func (v NullableCreateNetworkIPv4WithPrefix) Get() *CreateNetworkIPv4WithPrefix
func (NullableCreateNetworkIPv4WithPrefix) IsSet ¶
func (v NullableCreateNetworkIPv4WithPrefix) IsSet() bool
func (NullableCreateNetworkIPv4WithPrefix) MarshalJSON ¶
func (v NullableCreateNetworkIPv4WithPrefix) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv4WithPrefix) Set ¶
func (v *NullableCreateNetworkIPv4WithPrefix) Set(val *CreateNetworkIPv4WithPrefix)
func (*NullableCreateNetworkIPv4WithPrefix) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv4WithPrefix) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv4WithPrefix) Unset ¶
func (v *NullableCreateNetworkIPv4WithPrefix) Unset()
type NullableCreateNetworkIPv4WithPrefixLength ¶
type NullableCreateNetworkIPv4WithPrefixLength struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv4WithPrefixLength ¶
func NewNullableCreateNetworkIPv4WithPrefixLength(val *CreateNetworkIPv4WithPrefixLength) *NullableCreateNetworkIPv4WithPrefixLength
func (NullableCreateNetworkIPv4WithPrefixLength) IsSet ¶
func (v NullableCreateNetworkIPv4WithPrefixLength) IsSet() bool
func (NullableCreateNetworkIPv4WithPrefixLength) MarshalJSON ¶
func (v NullableCreateNetworkIPv4WithPrefixLength) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv4WithPrefixLength) Set ¶
func (v *NullableCreateNetworkIPv4WithPrefixLength) Set(val *CreateNetworkIPv4WithPrefixLength)
func (*NullableCreateNetworkIPv4WithPrefixLength) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv4WithPrefixLength) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv4WithPrefixLength) Unset ¶
func (v *NullableCreateNetworkIPv4WithPrefixLength) Unset()
type NullableCreateNetworkIPv6 ¶
type NullableCreateNetworkIPv6 struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv6 ¶
func NewNullableCreateNetworkIPv6(val *CreateNetworkIPv6) *NullableCreateNetworkIPv6
func (NullableCreateNetworkIPv6) Get ¶
func (v NullableCreateNetworkIPv6) Get() *CreateNetworkIPv6
func (NullableCreateNetworkIPv6) IsSet ¶
func (v NullableCreateNetworkIPv6) IsSet() bool
func (NullableCreateNetworkIPv6) MarshalJSON ¶
func (v NullableCreateNetworkIPv6) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv6) Set ¶
func (v *NullableCreateNetworkIPv6) Set(val *CreateNetworkIPv6)
func (*NullableCreateNetworkIPv6) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv6) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv6) Unset ¶
func (v *NullableCreateNetworkIPv6) Unset()
type NullableCreateNetworkIPv6WithPrefix ¶
type NullableCreateNetworkIPv6WithPrefix struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv6WithPrefix ¶
func NewNullableCreateNetworkIPv6WithPrefix(val *CreateNetworkIPv6WithPrefix) *NullableCreateNetworkIPv6WithPrefix
func (NullableCreateNetworkIPv6WithPrefix) Get ¶
func (v NullableCreateNetworkIPv6WithPrefix) Get() *CreateNetworkIPv6WithPrefix
func (NullableCreateNetworkIPv6WithPrefix) IsSet ¶
func (v NullableCreateNetworkIPv6WithPrefix) IsSet() bool
func (NullableCreateNetworkIPv6WithPrefix) MarshalJSON ¶
func (v NullableCreateNetworkIPv6WithPrefix) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv6WithPrefix) Set ¶
func (v *NullableCreateNetworkIPv6WithPrefix) Set(val *CreateNetworkIPv6WithPrefix)
func (*NullableCreateNetworkIPv6WithPrefix) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv6WithPrefix) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv6WithPrefix) Unset ¶
func (v *NullableCreateNetworkIPv6WithPrefix) Unset()
type NullableCreateNetworkIPv6WithPrefixLength ¶
type NullableCreateNetworkIPv6WithPrefixLength struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkIPv6WithPrefixLength ¶
func NewNullableCreateNetworkIPv6WithPrefixLength(val *CreateNetworkIPv6WithPrefixLength) *NullableCreateNetworkIPv6WithPrefixLength
func (NullableCreateNetworkIPv6WithPrefixLength) IsSet ¶
func (v NullableCreateNetworkIPv6WithPrefixLength) IsSet() bool
func (NullableCreateNetworkIPv6WithPrefixLength) MarshalJSON ¶
func (v NullableCreateNetworkIPv6WithPrefixLength) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkIPv6WithPrefixLength) Set ¶
func (v *NullableCreateNetworkIPv6WithPrefixLength) Set(val *CreateNetworkIPv6WithPrefixLength)
func (*NullableCreateNetworkIPv6WithPrefixLength) UnmarshalJSON ¶
func (v *NullableCreateNetworkIPv6WithPrefixLength) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkIPv6WithPrefixLength) Unset ¶
func (v *NullableCreateNetworkIPv6WithPrefixLength) 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 NullableCreateServerPayloadAllOfNetworking ¶
type NullableCreateServerPayloadAllOfNetworking struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerPayloadAllOfNetworking ¶
func NewNullableCreateServerPayloadAllOfNetworking(val *CreateServerPayloadAllOfNetworking) *NullableCreateServerPayloadAllOfNetworking
func (NullableCreateServerPayloadAllOfNetworking) IsSet ¶
func (v NullableCreateServerPayloadAllOfNetworking) IsSet() bool
func (NullableCreateServerPayloadAllOfNetworking) MarshalJSON ¶
func (v NullableCreateServerPayloadAllOfNetworking) MarshalJSON() ([]byte, error)
func (*NullableCreateServerPayloadAllOfNetworking) Set ¶
func (v *NullableCreateServerPayloadAllOfNetworking) Set(val *CreateServerPayloadAllOfNetworking)
func (*NullableCreateServerPayloadAllOfNetworking) UnmarshalJSON ¶
func (v *NullableCreateServerPayloadAllOfNetworking) UnmarshalJSON(src []byte) error
func (*NullableCreateServerPayloadAllOfNetworking) Unset ¶
func (v *NullableCreateServerPayloadAllOfNetworking) 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 NullableDestinationCIDRv4 ¶
type NullableDestinationCIDRv4 struct {
// contains filtered or unexported fields
}
func NewNullableDestinationCIDRv4 ¶
func NewNullableDestinationCIDRv4(val *DestinationCIDRv4) *NullableDestinationCIDRv4
func (NullableDestinationCIDRv4) Get ¶
func (v NullableDestinationCIDRv4) Get() *DestinationCIDRv4
func (NullableDestinationCIDRv4) IsSet ¶
func (v NullableDestinationCIDRv4) IsSet() bool
func (NullableDestinationCIDRv4) MarshalJSON ¶
func (v NullableDestinationCIDRv4) MarshalJSON() ([]byte, error)
func (*NullableDestinationCIDRv4) Set ¶
func (v *NullableDestinationCIDRv4) Set(val *DestinationCIDRv4)
func (*NullableDestinationCIDRv4) UnmarshalJSON ¶
func (v *NullableDestinationCIDRv4) UnmarshalJSON(src []byte) error
func (*NullableDestinationCIDRv4) Unset ¶
func (v *NullableDestinationCIDRv4) Unset()
type NullableDestinationCIDRv6 ¶
type NullableDestinationCIDRv6 struct {
// contains filtered or unexported fields
}
func NewNullableDestinationCIDRv6 ¶
func NewNullableDestinationCIDRv6(val *DestinationCIDRv6) *NullableDestinationCIDRv6
func (NullableDestinationCIDRv6) Get ¶
func (v NullableDestinationCIDRv6) Get() *DestinationCIDRv6
func (NullableDestinationCIDRv6) IsSet ¶
func (v NullableDestinationCIDRv6) IsSet() bool
func (NullableDestinationCIDRv6) MarshalJSON ¶
func (v NullableDestinationCIDRv6) MarshalJSON() ([]byte, error)
func (*NullableDestinationCIDRv6) Set ¶
func (v *NullableDestinationCIDRv6) Set(val *DestinationCIDRv6)
func (*NullableDestinationCIDRv6) UnmarshalJSON ¶
func (v *NullableDestinationCIDRv6) UnmarshalJSON(src []byte) error
func (*NullableDestinationCIDRv6) Unset ¶
func (v *NullableDestinationCIDRv6) 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 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 NullableNetworkIPv4 ¶
type NullableNetworkIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableNetworkIPv4 ¶
func NewNullableNetworkIPv4(val *NetworkIPv4) *NullableNetworkIPv4
func (NullableNetworkIPv4) Get ¶
func (v NullableNetworkIPv4) Get() *NetworkIPv4
func (NullableNetworkIPv4) IsSet ¶
func (v NullableNetworkIPv4) IsSet() bool
func (NullableNetworkIPv4) MarshalJSON ¶
func (v NullableNetworkIPv4) MarshalJSON() ([]byte, error)
func (*NullableNetworkIPv4) Set ¶
func (v *NullableNetworkIPv4) Set(val *NetworkIPv4)
func (*NullableNetworkIPv4) UnmarshalJSON ¶
func (v *NullableNetworkIPv4) UnmarshalJSON(src []byte) error
func (*NullableNetworkIPv4) Unset ¶
func (v *NullableNetworkIPv4) Unset()
type NullableNetworkIPv6 ¶
type NullableNetworkIPv6 struct {
// contains filtered or unexported fields
}
func NewNullableNetworkIPv6 ¶
func NewNullableNetworkIPv6(val *NetworkIPv6) *NullableNetworkIPv6
func (NullableNetworkIPv6) Get ¶
func (v NullableNetworkIPv6) Get() *NetworkIPv6
func (NullableNetworkIPv6) IsSet ¶
func (v NullableNetworkIPv6) IsSet() bool
func (NullableNetworkIPv6) MarshalJSON ¶
func (v NullableNetworkIPv6) MarshalJSON() ([]byte, error)
func (*NullableNetworkIPv6) Set ¶
func (v *NullableNetworkIPv6) Set(val *NetworkIPv6)
func (*NullableNetworkIPv6) UnmarshalJSON ¶
func (v *NullableNetworkIPv6) UnmarshalJSON(src []byte) error
func (*NullableNetworkIPv6) Unset ¶
func (v *NullableNetworkIPv6) 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 NullableNexthopBlackhole ¶
type NullableNexthopBlackhole struct {
// contains filtered or unexported fields
}
func NewNullableNexthopBlackhole ¶
func NewNullableNexthopBlackhole(val *NexthopBlackhole) *NullableNexthopBlackhole
func (NullableNexthopBlackhole) Get ¶
func (v NullableNexthopBlackhole) Get() *NexthopBlackhole
func (NullableNexthopBlackhole) IsSet ¶
func (v NullableNexthopBlackhole) IsSet() bool
func (NullableNexthopBlackhole) MarshalJSON ¶
func (v NullableNexthopBlackhole) MarshalJSON() ([]byte, error)
func (*NullableNexthopBlackhole) Set ¶
func (v *NullableNexthopBlackhole) Set(val *NexthopBlackhole)
func (*NullableNexthopBlackhole) UnmarshalJSON ¶
func (v *NullableNexthopBlackhole) UnmarshalJSON(src []byte) error
func (*NullableNexthopBlackhole) Unset ¶
func (v *NullableNexthopBlackhole) Unset()
type NullableNexthopIPv4 ¶
type NullableNexthopIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableNexthopIPv4 ¶
func NewNullableNexthopIPv4(val *NexthopIPv4) *NullableNexthopIPv4
func (NullableNexthopIPv4) Get ¶
func (v NullableNexthopIPv4) Get() *NexthopIPv4
func (NullableNexthopIPv4) IsSet ¶
func (v NullableNexthopIPv4) IsSet() bool
func (NullableNexthopIPv4) MarshalJSON ¶
func (v NullableNexthopIPv4) MarshalJSON() ([]byte, error)
func (*NullableNexthopIPv4) Set ¶
func (v *NullableNexthopIPv4) Set(val *NexthopIPv4)
func (*NullableNexthopIPv4) UnmarshalJSON ¶
func (v *NullableNexthopIPv4) UnmarshalJSON(src []byte) error
func (*NullableNexthopIPv4) Unset ¶
func (v *NullableNexthopIPv4) Unset()
type NullableNexthopIPv6 ¶
type NullableNexthopIPv6 struct {
// contains filtered or unexported fields
}
func NewNullableNexthopIPv6 ¶
func NewNullableNexthopIPv6(val *NexthopIPv6) *NullableNexthopIPv6
func (NullableNexthopIPv6) Get ¶
func (v NullableNexthopIPv6) Get() *NexthopIPv6
func (NullableNexthopIPv6) IsSet ¶
func (v NullableNexthopIPv6) IsSet() bool
func (NullableNexthopIPv6) MarshalJSON ¶
func (v NullableNexthopIPv6) MarshalJSON() ([]byte, error)
func (*NullableNexthopIPv6) Set ¶
func (v *NullableNexthopIPv6) Set(val *NexthopIPv6)
func (*NullableNexthopIPv6) UnmarshalJSON ¶
func (v *NullableNexthopIPv6) UnmarshalJSON(src []byte) error
func (*NullableNexthopIPv6) Unset ¶
func (v *NullableNexthopIPv6) Unset()
type NullableNexthopInternet ¶
type NullableNexthopInternet struct {
// contains filtered or unexported fields
}
func NewNullableNexthopInternet ¶
func NewNullableNexthopInternet(val *NexthopInternet) *NullableNexthopInternet
func (NullableNexthopInternet) Get ¶
func (v NullableNexthopInternet) Get() *NexthopInternet
func (NullableNexthopInternet) IsSet ¶
func (v NullableNexthopInternet) IsSet() bool
func (NullableNexthopInternet) MarshalJSON ¶
func (v NullableNexthopInternet) MarshalJSON() ([]byte, error)
func (*NullableNexthopInternet) Set ¶
func (v *NullableNexthopInternet) Set(val *NexthopInternet)
func (*NullableNexthopInternet) UnmarshalJSON ¶
func (v *NullableNexthopInternet) UnmarshalJSON(src []byte) error
func (*NullableNexthopInternet) Unset ¶
func (v *NullableNexthopInternet) 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 NullableRegionalArea ¶
type NullableRegionalArea struct {
// contains filtered or unexported fields
}
func NewNullableRegionalArea ¶
func NewNullableRegionalArea(val *RegionalArea) *NullableRegionalArea
func (NullableRegionalArea) Get ¶
func (v NullableRegionalArea) Get() *RegionalArea
func (NullableRegionalArea) IsSet ¶
func (v NullableRegionalArea) IsSet() bool
func (NullableRegionalArea) MarshalJSON ¶
func (v NullableRegionalArea) MarshalJSON() ([]byte, error)
func (*NullableRegionalArea) Set ¶
func (v *NullableRegionalArea) Set(val *RegionalArea)
func (*NullableRegionalArea) UnmarshalJSON ¶
func (v *NullableRegionalArea) UnmarshalJSON(src []byte) error
func (*NullableRegionalArea) Unset ¶
func (v *NullableRegionalArea) Unset()
type NullableRegionalAreaIPv4 ¶
type NullableRegionalAreaIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableRegionalAreaIPv4 ¶
func NewNullableRegionalAreaIPv4(val *RegionalAreaIPv4) *NullableRegionalAreaIPv4
func (NullableRegionalAreaIPv4) Get ¶
func (v NullableRegionalAreaIPv4) Get() *RegionalAreaIPv4
func (NullableRegionalAreaIPv4) IsSet ¶
func (v NullableRegionalAreaIPv4) IsSet() bool
func (NullableRegionalAreaIPv4) MarshalJSON ¶
func (v NullableRegionalAreaIPv4) MarshalJSON() ([]byte, error)
func (*NullableRegionalAreaIPv4) Set ¶
func (v *NullableRegionalAreaIPv4) Set(val *RegionalAreaIPv4)
func (*NullableRegionalAreaIPv4) UnmarshalJSON ¶
func (v *NullableRegionalAreaIPv4) UnmarshalJSON(src []byte) error
func (*NullableRegionalAreaIPv4) Unset ¶
func (v *NullableRegionalAreaIPv4) Unset()
type NullableRegionalAreaListResponse ¶
type NullableRegionalAreaListResponse struct {
// contains filtered or unexported fields
}
func NewNullableRegionalAreaListResponse ¶
func NewNullableRegionalAreaListResponse(val *RegionalAreaListResponse) *NullableRegionalAreaListResponse
func (NullableRegionalAreaListResponse) Get ¶
func (v NullableRegionalAreaListResponse) Get() *RegionalAreaListResponse
func (NullableRegionalAreaListResponse) IsSet ¶
func (v NullableRegionalAreaListResponse) IsSet() bool
func (NullableRegionalAreaListResponse) MarshalJSON ¶
func (v NullableRegionalAreaListResponse) MarshalJSON() ([]byte, error)
func (*NullableRegionalAreaListResponse) Set ¶
func (v *NullableRegionalAreaListResponse) Set(val *RegionalAreaListResponse)
func (*NullableRegionalAreaListResponse) UnmarshalJSON ¶
func (v *NullableRegionalAreaListResponse) UnmarshalJSON(src []byte) error
func (*NullableRegionalAreaListResponse) Unset ¶
func (v *NullableRegionalAreaListResponse) 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 NullableRouteDestination ¶
type NullableRouteDestination struct {
// contains filtered or unexported fields
}
func NewNullableRouteDestination ¶
func NewNullableRouteDestination(val *RouteDestination) *NullableRouteDestination
func (NullableRouteDestination) Get ¶
func (v NullableRouteDestination) Get() *RouteDestination
func (NullableRouteDestination) IsSet ¶
func (v NullableRouteDestination) IsSet() bool
func (NullableRouteDestination) MarshalJSON ¶
func (v NullableRouteDestination) MarshalJSON() ([]byte, error)
func (*NullableRouteDestination) Set ¶
func (v *NullableRouteDestination) Set(val *RouteDestination)
func (*NullableRouteDestination) UnmarshalJSON ¶
func (v *NullableRouteDestination) UnmarshalJSON(src []byte) error
func (*NullableRouteDestination) Unset ¶
func (v *NullableRouteDestination) 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 NullableRouteNexthop ¶
type NullableRouteNexthop struct {
// contains filtered or unexported fields
}
func NewNullableRouteNexthop ¶
func NewNullableRouteNexthop(val *RouteNexthop) *NullableRouteNexthop
func (NullableRouteNexthop) Get ¶
func (v NullableRouteNexthop) Get() *RouteNexthop
func (NullableRouteNexthop) IsSet ¶
func (v NullableRouteNexthop) IsSet() bool
func (NullableRouteNexthop) MarshalJSON ¶
func (v NullableRouteNexthop) MarshalJSON() ([]byte, error)
func (*NullableRouteNexthop) Set ¶
func (v *NullableRouteNexthop) Set(val *RouteNexthop)
func (*NullableRouteNexthop) UnmarshalJSON ¶
func (v *NullableRouteNexthop) UnmarshalJSON(src []byte) error
func (*NullableRouteNexthop) Unset ¶
func (v *NullableRouteNexthop) Unset()
type NullableRoutingTable ¶
type NullableRoutingTable struct {
// contains filtered or unexported fields
}
func NewNullableRoutingTable ¶
func NewNullableRoutingTable(val *RoutingTable) *NullableRoutingTable
func (NullableRoutingTable) Get ¶
func (v NullableRoutingTable) Get() *RoutingTable
func (NullableRoutingTable) IsSet ¶
func (v NullableRoutingTable) IsSet() bool
func (NullableRoutingTable) MarshalJSON ¶
func (v NullableRoutingTable) MarshalJSON() ([]byte, error)
func (*NullableRoutingTable) Set ¶
func (v *NullableRoutingTable) Set(val *RoutingTable)
func (*NullableRoutingTable) UnmarshalJSON ¶
func (v *NullableRoutingTable) UnmarshalJSON(src []byte) error
func (*NullableRoutingTable) Unset ¶
func (v *NullableRoutingTable) Unset()
type NullableRoutingTableListResponse ¶
type NullableRoutingTableListResponse struct {
// contains filtered or unexported fields
}
func NewNullableRoutingTableListResponse ¶
func NewNullableRoutingTableListResponse(val *RoutingTableListResponse) *NullableRoutingTableListResponse
func (NullableRoutingTableListResponse) Get ¶
func (v NullableRoutingTableListResponse) Get() *RoutingTableListResponse
func (NullableRoutingTableListResponse) IsSet ¶
func (v NullableRoutingTableListResponse) IsSet() bool
func (NullableRoutingTableListResponse) MarshalJSON ¶
func (v NullableRoutingTableListResponse) MarshalJSON() ([]byte, error)
func (*NullableRoutingTableListResponse) Set ¶
func (v *NullableRoutingTableListResponse) Set(val *RoutingTableListResponse)
func (*NullableRoutingTableListResponse) UnmarshalJSON ¶
func (v *NullableRoutingTableListResponse) UnmarshalJSON(src []byte) error
func (*NullableRoutingTableListResponse) Unset ¶
func (v *NullableRoutingTableListResponse) 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 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 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 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 NullableUpdateRegionalAreaIPv4 ¶
type NullableUpdateRegionalAreaIPv4 struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRegionalAreaIPv4 ¶
func NewNullableUpdateRegionalAreaIPv4(val *UpdateRegionalAreaIPv4) *NullableUpdateRegionalAreaIPv4
func (NullableUpdateRegionalAreaIPv4) Get ¶
func (v NullableUpdateRegionalAreaIPv4) Get() *UpdateRegionalAreaIPv4
func (NullableUpdateRegionalAreaIPv4) IsSet ¶
func (v NullableUpdateRegionalAreaIPv4) IsSet() bool
func (NullableUpdateRegionalAreaIPv4) MarshalJSON ¶
func (v NullableUpdateRegionalAreaIPv4) MarshalJSON() ([]byte, error)
func (*NullableUpdateRegionalAreaIPv4) Set ¶
func (v *NullableUpdateRegionalAreaIPv4) Set(val *UpdateRegionalAreaIPv4)
func (*NullableUpdateRegionalAreaIPv4) UnmarshalJSON ¶
func (v *NullableUpdateRegionalAreaIPv4) UnmarshalJSON(src []byte) error
func (*NullableUpdateRegionalAreaIPv4) Unset ¶
func (v *NullableUpdateRegionalAreaIPv4) Unset()
type NullableUpdateRouteOfRoutingTablePayload ¶
type NullableUpdateRouteOfRoutingTablePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRouteOfRoutingTablePayload ¶
func NewNullableUpdateRouteOfRoutingTablePayload(val *UpdateRouteOfRoutingTablePayload) *NullableUpdateRouteOfRoutingTablePayload
func (NullableUpdateRouteOfRoutingTablePayload) IsSet ¶
func (v NullableUpdateRouteOfRoutingTablePayload) IsSet() bool
func (NullableUpdateRouteOfRoutingTablePayload) MarshalJSON ¶
func (v NullableUpdateRouteOfRoutingTablePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateRouteOfRoutingTablePayload) Set ¶
func (v *NullableUpdateRouteOfRoutingTablePayload) Set(val *UpdateRouteOfRoutingTablePayload)
func (*NullableUpdateRouteOfRoutingTablePayload) UnmarshalJSON ¶
func (v *NullableUpdateRouteOfRoutingTablePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateRouteOfRoutingTablePayload) Unset ¶
func (v *NullableUpdateRouteOfRoutingTablePayload) Unset()
type NullableUpdateRoutingTableOfAreaPayload ¶
type NullableUpdateRoutingTableOfAreaPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRoutingTableOfAreaPayload ¶
func NewNullableUpdateRoutingTableOfAreaPayload(val *UpdateRoutingTableOfAreaPayload) *NullableUpdateRoutingTableOfAreaPayload
func (NullableUpdateRoutingTableOfAreaPayload) IsSet ¶
func (v NullableUpdateRoutingTableOfAreaPayload) IsSet() bool
func (NullableUpdateRoutingTableOfAreaPayload) MarshalJSON ¶
func (v NullableUpdateRoutingTableOfAreaPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateRoutingTableOfAreaPayload) Set ¶
func (v *NullableUpdateRoutingTableOfAreaPayload) Set(val *UpdateRoutingTableOfAreaPayload)
func (*NullableUpdateRoutingTableOfAreaPayload) UnmarshalJSON ¶
func (v *NullableUpdateRoutingTableOfAreaPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateRoutingTableOfAreaPayload) Unset ¶
func (v *NullableUpdateRoutingTableOfAreaPayload) 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 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 NullableV2beta1ConfigureNetworkAreaRegionPayload ¶
type NullableV2beta1ConfigureNetworkAreaRegionPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1ConfigureNetworkAreaRegionPayload ¶
func NewNullableV2beta1ConfigureNetworkAreaRegionPayload(val *V2beta1ConfigureNetworkAreaRegionPayload) *NullableV2beta1ConfigureNetworkAreaRegionPayload
func (NullableV2beta1ConfigureNetworkAreaRegionPayload) IsSet ¶
func (v NullableV2beta1ConfigureNetworkAreaRegionPayload) IsSet() bool
func (NullableV2beta1ConfigureNetworkAreaRegionPayload) MarshalJSON ¶
func (v NullableV2beta1ConfigureNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1ConfigureNetworkAreaRegionPayload) UnmarshalJSON ¶
func (v *NullableV2beta1ConfigureNetworkAreaRegionPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1ConfigureNetworkAreaRegionPayload) Unset ¶
func (v *NullableV2beta1ConfigureNetworkAreaRegionPayload) Unset()
type NullableV2beta1CreateSnapshotPayload ¶
type NullableV2beta1CreateSnapshotPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1CreateSnapshotPayload ¶
func NewNullableV2beta1CreateSnapshotPayload(val *V2beta1CreateSnapshotPayload) *NullableV2beta1CreateSnapshotPayload
func (NullableV2beta1CreateSnapshotPayload) Get ¶
func (v NullableV2beta1CreateSnapshotPayload) Get() *V2beta1CreateSnapshotPayload
func (NullableV2beta1CreateSnapshotPayload) IsSet ¶
func (v NullableV2beta1CreateSnapshotPayload) IsSet() bool
func (NullableV2beta1CreateSnapshotPayload) MarshalJSON ¶
func (v NullableV2beta1CreateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1CreateSnapshotPayload) Set ¶
func (v *NullableV2beta1CreateSnapshotPayload) Set(val *V2beta1CreateSnapshotPayload)
func (*NullableV2beta1CreateSnapshotPayload) UnmarshalJSON ¶
func (v *NullableV2beta1CreateSnapshotPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1CreateSnapshotPayload) Unset ¶
func (v *NullableV2beta1CreateSnapshotPayload) Unset()
type NullableV2beta1UpdateBackupPayload ¶
type NullableV2beta1UpdateBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1UpdateBackupPayload ¶
func NewNullableV2beta1UpdateBackupPayload(val *V2beta1UpdateBackupPayload) *NullableV2beta1UpdateBackupPayload
func (NullableV2beta1UpdateBackupPayload) Get ¶
func (v NullableV2beta1UpdateBackupPayload) Get() *V2beta1UpdateBackupPayload
func (NullableV2beta1UpdateBackupPayload) IsSet ¶
func (v NullableV2beta1UpdateBackupPayload) IsSet() bool
func (NullableV2beta1UpdateBackupPayload) MarshalJSON ¶
func (v NullableV2beta1UpdateBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1UpdateBackupPayload) Set ¶
func (v *NullableV2beta1UpdateBackupPayload) Set(val *V2beta1UpdateBackupPayload)
func (*NullableV2beta1UpdateBackupPayload) UnmarshalJSON ¶
func (v *NullableV2beta1UpdateBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1UpdateBackupPayload) Unset ¶
func (v *NullableV2beta1UpdateBackupPayload) Unset()
type NullableV2beta1UpdateNetworkAreaRegionPayload ¶
type NullableV2beta1UpdateNetworkAreaRegionPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1UpdateNetworkAreaRegionPayload ¶
func NewNullableV2beta1UpdateNetworkAreaRegionPayload(val *V2beta1UpdateNetworkAreaRegionPayload) *NullableV2beta1UpdateNetworkAreaRegionPayload
func (NullableV2beta1UpdateNetworkAreaRegionPayload) IsSet ¶
func (v NullableV2beta1UpdateNetworkAreaRegionPayload) IsSet() bool
func (NullableV2beta1UpdateNetworkAreaRegionPayload) MarshalJSON ¶
func (v NullableV2beta1UpdateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1UpdateNetworkAreaRegionPayload) Set ¶
func (v *NullableV2beta1UpdateNetworkAreaRegionPayload) Set(val *V2beta1UpdateNetworkAreaRegionPayload)
func (*NullableV2beta1UpdateNetworkAreaRegionPayload) UnmarshalJSON ¶
func (v *NullableV2beta1UpdateNetworkAreaRegionPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1UpdateNetworkAreaRegionPayload) Unset ¶
func (v *NullableV2beta1UpdateNetworkAreaRegionPayload) Unset()
type NullableV2beta1UpdateRouteOfAreaPayload ¶
type NullableV2beta1UpdateRouteOfAreaPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1UpdateRouteOfAreaPayload ¶
func NewNullableV2beta1UpdateRouteOfAreaPayload(val *V2beta1UpdateRouteOfAreaPayload) *NullableV2beta1UpdateRouteOfAreaPayload
func (NullableV2beta1UpdateRouteOfAreaPayload) IsSet ¶
func (v NullableV2beta1UpdateRouteOfAreaPayload) IsSet() bool
func (NullableV2beta1UpdateRouteOfAreaPayload) MarshalJSON ¶
func (v NullableV2beta1UpdateRouteOfAreaPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1UpdateRouteOfAreaPayload) Set ¶
func (v *NullableV2beta1UpdateRouteOfAreaPayload) Set(val *V2beta1UpdateRouteOfAreaPayload)
func (*NullableV2beta1UpdateRouteOfAreaPayload) UnmarshalJSON ¶
func (v *NullableV2beta1UpdateRouteOfAreaPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1UpdateRouteOfAreaPayload) Unset ¶
func (v *NullableV2beta1UpdateRouteOfAreaPayload) Unset()
type NullableV2beta1UpdateSecurityGroupPayload ¶
type NullableV2beta1UpdateSecurityGroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1UpdateSecurityGroupPayload ¶
func NewNullableV2beta1UpdateSecurityGroupPayload(val *V2beta1UpdateSecurityGroupPayload) *NullableV2beta1UpdateSecurityGroupPayload
func (NullableV2beta1UpdateSecurityGroupPayload) IsSet ¶
func (v NullableV2beta1UpdateSecurityGroupPayload) IsSet() bool
func (NullableV2beta1UpdateSecurityGroupPayload) MarshalJSON ¶
func (v NullableV2beta1UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1UpdateSecurityGroupPayload) Set ¶
func (v *NullableV2beta1UpdateSecurityGroupPayload) Set(val *V2beta1UpdateSecurityGroupPayload)
func (*NullableV2beta1UpdateSecurityGroupPayload) UnmarshalJSON ¶
func (v *NullableV2beta1UpdateSecurityGroupPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1UpdateSecurityGroupPayload) Unset ¶
func (v *NullableV2beta1UpdateSecurityGroupPayload) Unset()
type NullableV2beta1UpdateSnapshotPayload ¶
type NullableV2beta1UpdateSnapshotPayload struct {
// contains filtered or unexported fields
}
func NewNullableV2beta1UpdateSnapshotPayload ¶
func NewNullableV2beta1UpdateSnapshotPayload(val *V2beta1UpdateSnapshotPayload) *NullableV2beta1UpdateSnapshotPayload
func (NullableV2beta1UpdateSnapshotPayload) Get ¶
func (v NullableV2beta1UpdateSnapshotPayload) Get() *V2beta1UpdateSnapshotPayload
func (NullableV2beta1UpdateSnapshotPayload) IsSet ¶
func (v NullableV2beta1UpdateSnapshotPayload) IsSet() bool
func (NullableV2beta1UpdateSnapshotPayload) MarshalJSON ¶
func (v NullableV2beta1UpdateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*NullableV2beta1UpdateSnapshotPayload) Set ¶
func (v *NullableV2beta1UpdateSnapshotPayload) Set(val *V2beta1UpdateSnapshotPayload)
func (*NullableV2beta1UpdateSnapshotPayload) UnmarshalJSON ¶
func (v *NullableV2beta1UpdateSnapshotPayload) UnmarshalJSON(src []byte) error
func (*NullableV2beta1UpdateSnapshotPayload) Unset ¶
func (v *NullableV2beta1UpdateSnapshotPayload) 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 {
// 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,omitempty"`
}
PartialUpdateNetworkAreaPayload Object that represents the network area update request.
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) 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) 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) 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 {
// Enable or disable DHCP for a network.
Dhcp *bool `json:"dhcp,omitempty"`
Ipv4 *UpdateNetworkIPv4Body `json:"ipv4,omitempty"`
Ipv6 *UpdateNetworkIPv6Body `json:"ipv6,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"`
// Universally Unique Identifier (UUID).
RoutingTableId *string `json:"routingTableId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}
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) 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) GetIpv4 ¶
func (o *PartialUpdateNetworkPayload) GetIpv4() UpdateNetworkIPv4Body
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetIpv4Ok ¶
func (o *PartialUpdateNetworkPayload) 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 (*PartialUpdateNetworkPayload) GetIpv6 ¶
func (o *PartialUpdateNetworkPayload) GetIpv6() UpdateNetworkIPv6Body
GetIpv6 returns the Ipv6 field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetIpv6Ok ¶
func (o *PartialUpdateNetworkPayload) 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 (*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) GetRoutingTableId ¶
func (o *PartialUpdateNetworkPayload) GetRoutingTableId() string
GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.
func (*PartialUpdateNetworkPayload) GetRoutingTableIdOk ¶
func (o *PartialUpdateNetworkPayload) GetRoutingTableIdOk() (*string, bool)
GetRoutingTableIdOk returns a tuple with the RoutingTableId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateNetworkPayload) HasDhcp ¶
func (o *PartialUpdateNetworkPayload) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*PartialUpdateNetworkPayload) HasIpv4 ¶
func (o *PartialUpdateNetworkPayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*PartialUpdateNetworkPayload) HasIpv6 ¶
func (o *PartialUpdateNetworkPayload) HasIpv6() bool
HasIpv6 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) HasRoutingTableId ¶
func (o *PartialUpdateNetworkPayload) HasRoutingTableId() bool
HasRoutingTableId returns a boolean if a field has been set.
func (PartialUpdateNetworkPayload) MarshalJSON ¶
func (o PartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)
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) SetIpv4 ¶
func (o *PartialUpdateNetworkPayload) SetIpv4(v UpdateNetworkIPv4Body)
SetIpv4 gets a reference to the given UpdateNetworkIPv4Body and assigns it to the Ipv4 field.
func (*PartialUpdateNetworkPayload) SetIpv6 ¶
func (o *PartialUpdateNetworkPayload) SetIpv6(v UpdateNetworkIPv6Body)
SetIpv6 gets a reference to the given UpdateNetworkIPv6Body and assigns it to the Ipv6 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) SetRoutingTableId ¶
func (o *PartialUpdateNetworkPayload) SetRoutingTableId(v string)
SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId 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"`
// 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}$"`
InternetAccess *bool `json:"internetAccess,omitempty"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
Status string `json:"status"`
// 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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value 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) GetStatusOk ¶
GetStatusOk returns a tuple with the Status 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) 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) 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}$"`
// String that represents an IPv4 address.
Ip *string `` /* 160-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 */
// Name of the region.
Region string `json:"region"`
}
PublicNetwork Public network.
func NewPublicNetwork ¶
func NewPublicNetwork(cidr string, region 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) GetRegion ¶
func (o *PublicNetwork) GetRegion() string
GetRegion returns the Region field value
func (*PublicNetwork) GetRegionOk ¶
func (o *PublicNetwork) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (PublicNetwork) MarshalJSON ¶
func (o PublicNetwork) MarshalJSON() ([]byte, error)
func (*PublicNetwork) SetRegion ¶
func (o *PublicNetwork) SetRegion(v string)
SetRegion sets field value
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 RegionalArea ¶
type RegionalArea struct {
Ipv4 *RegionalAreaIPv4 `json:"ipv4,omitempty"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
Status *string `json:"status,omitempty"`
}
RegionalArea The basic properties of a regional network area.
func NewRegionalArea ¶
func NewRegionalArea() *RegionalArea
NewRegionalArea instantiates a new RegionalArea 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 NewRegionalAreaWithDefaults ¶
func NewRegionalAreaWithDefaults() *RegionalArea
NewRegionalAreaWithDefaults instantiates a new RegionalArea 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 (*RegionalArea) GetIpv4 ¶
func (o *RegionalArea) GetIpv4() RegionalAreaIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*RegionalArea) GetIpv4Ok ¶
func (o *RegionalArea) GetIpv4Ok() (*RegionalAreaIPv4, 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 (*RegionalArea) GetStatus ¶
func (o *RegionalArea) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*RegionalArea) GetStatusOk ¶
func (o *RegionalArea) 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 (*RegionalArea) HasIpv4 ¶
func (o *RegionalArea) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*RegionalArea) HasStatus ¶
func (o *RegionalArea) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (RegionalArea) MarshalJSON ¶
func (o RegionalArea) MarshalJSON() ([]byte, error)
func (*RegionalArea) SetIpv4 ¶
func (o *RegionalArea) SetIpv4(v RegionalAreaIPv4)
SetIpv4 gets a reference to the given RegionalAreaIPv4 and assigns it to the Ipv4 field.
func (*RegionalArea) SetStatus ¶
func (o *RegionalArea) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (RegionalArea) ToMap ¶
func (o RegionalArea) ToMap() (map[string]interface{}, error)
type RegionalAreaIPv4 ¶
type RegionalAreaIPv4 struct {
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// The default prefix length for networks in the network area.
DefaultPrefixLen int64 `json:"defaultPrefixLen"`
// The maximal prefix length for networks in the network area.
MaxPrefixLen int64 `json:"maxPrefixLen"`
// The minimal prefix length for networks in the network area.
MinPrefixLen int64 `json:"minPrefixLen"`
// A list of network ranges.
NetworkRanges []NetworkRange `json:"networkRanges"`
// IPv4 Classless Inter-Domain Routing (CIDR).
TransferNetwork string `` /* 162-byte string literal not displayed */
}
RegionalAreaIPv4 The regional IPv4 config of a network area.
func NewRegionalAreaIPv4 ¶
func NewRegionalAreaIPv4(defaultPrefixLen int64, maxPrefixLen int64, minPrefixLen int64, networkRanges []NetworkRange, transferNetwork string) *RegionalAreaIPv4
NewRegionalAreaIPv4 instantiates a new RegionalAreaIPv4 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 NewRegionalAreaIPv4WithDefaults ¶
func NewRegionalAreaIPv4WithDefaults() *RegionalAreaIPv4
NewRegionalAreaIPv4WithDefaults instantiates a new RegionalAreaIPv4 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 (*RegionalAreaIPv4) GetDefaultNameservers ¶
func (o *RegionalAreaIPv4) GetDefaultNameservers() []string
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*RegionalAreaIPv4) GetDefaultNameserversOk ¶
func (o *RegionalAreaIPv4) 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 (*RegionalAreaIPv4) GetDefaultPrefixLen ¶
func (o *RegionalAreaIPv4) GetDefaultPrefixLen() int64
GetDefaultPrefixLen returns the DefaultPrefixLen field value
func (*RegionalAreaIPv4) GetDefaultPrefixLenOk ¶
func (o *RegionalAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)
GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value and a boolean to check if the value has been set.
func (*RegionalAreaIPv4) GetMaxPrefixLen ¶
func (o *RegionalAreaIPv4) GetMaxPrefixLen() int64
GetMaxPrefixLen returns the MaxPrefixLen field value
func (*RegionalAreaIPv4) GetMaxPrefixLenOk ¶
func (o *RegionalAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)
GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value and a boolean to check if the value has been set.
func (*RegionalAreaIPv4) GetMinPrefixLen ¶
func (o *RegionalAreaIPv4) GetMinPrefixLen() int64
GetMinPrefixLen returns the MinPrefixLen field value
func (*RegionalAreaIPv4) GetMinPrefixLenOk ¶
func (o *RegionalAreaIPv4) GetMinPrefixLenOk() (*int64, bool)
GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value and a boolean to check if the value has been set.
func (*RegionalAreaIPv4) GetNetworkRanges ¶
func (o *RegionalAreaIPv4) GetNetworkRanges() []NetworkRange
GetNetworkRanges returns the NetworkRanges field value
func (*RegionalAreaIPv4) GetNetworkRangesOk ¶
func (o *RegionalAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)
GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.
func (*RegionalAreaIPv4) GetTransferNetwork ¶
func (o *RegionalAreaIPv4) GetTransferNetwork() string
GetTransferNetwork returns the TransferNetwork field value
func (*RegionalAreaIPv4) GetTransferNetworkOk ¶
func (o *RegionalAreaIPv4) GetTransferNetworkOk() (*string, bool)
GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.
func (*RegionalAreaIPv4) HasDefaultNameservers ¶
func (o *RegionalAreaIPv4) HasDefaultNameservers() bool
HasDefaultNameservers returns a boolean if a field has been set.
func (RegionalAreaIPv4) MarshalJSON ¶
func (o RegionalAreaIPv4) MarshalJSON() ([]byte, error)
func (*RegionalAreaIPv4) SetDefaultNameservers ¶
func (o *RegionalAreaIPv4) SetDefaultNameservers(v []string)
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*RegionalAreaIPv4) SetDefaultPrefixLen ¶
func (o *RegionalAreaIPv4) SetDefaultPrefixLen(v int64)
SetDefaultPrefixLen sets field value
func (*RegionalAreaIPv4) SetMaxPrefixLen ¶
func (o *RegionalAreaIPv4) SetMaxPrefixLen(v int64)
SetMaxPrefixLen sets field value
func (*RegionalAreaIPv4) SetMinPrefixLen ¶
func (o *RegionalAreaIPv4) SetMinPrefixLen(v int64)
SetMinPrefixLen sets field value
func (*RegionalAreaIPv4) SetNetworkRanges ¶
func (o *RegionalAreaIPv4) SetNetworkRanges(v []NetworkRange)
SetNetworkRanges sets field value
func (*RegionalAreaIPv4) SetTransferNetwork ¶
func (o *RegionalAreaIPv4) SetTransferNetwork(v string)
SetTransferNetwork sets field value
func (RegionalAreaIPv4) ToMap ¶
func (o RegionalAreaIPv4) ToMap() (map[string]interface{}, error)
func (*RegionalAreaIPv4) UnmarshalJSON ¶
func (o *RegionalAreaIPv4) UnmarshalJSON(data []byte) (err error)
type RegionalAreaListResponse ¶
type RegionalAreaListResponse struct {
Regions map[string]RegionalArea `json:"regions"`
}
RegionalAreaListResponse Regional area list response.
func NewRegionalAreaListResponse ¶
func NewRegionalAreaListResponse(regions map[string]RegionalArea) *RegionalAreaListResponse
NewRegionalAreaListResponse instantiates a new RegionalAreaListResponse 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 NewRegionalAreaListResponseWithDefaults ¶
func NewRegionalAreaListResponseWithDefaults() *RegionalAreaListResponse
NewRegionalAreaListResponseWithDefaults instantiates a new RegionalAreaListResponse 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 (*RegionalAreaListResponse) GetRegions ¶
func (o *RegionalAreaListResponse) GetRegions() map[string]RegionalArea
GetRegions returns the Regions field value
func (*RegionalAreaListResponse) GetRegionsOk ¶
func (o *RegionalAreaListResponse) GetRegionsOk() (*map[string]RegionalArea, bool)
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (RegionalAreaListResponse) MarshalJSON ¶
func (o RegionalAreaListResponse) MarshalJSON() ([]byte, error)
func (*RegionalAreaListResponse) SetRegions ¶
func (o *RegionalAreaListResponse) SetRegions(v map[string]RegionalArea)
SetRegions sets field value
func (RegionalAreaListResponse) ToMap ¶
func (o RegionalAreaListResponse) ToMap() (map[string]interface{}, error)
func (*RegionalAreaListResponse) UnmarshalJSON ¶
func (o *RegionalAreaListResponse) 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"`
Destination RouteDestination `json:"destination"`
// 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"`
Nexthop RouteNexthop `json:"nexthop"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Route Object represents a network route.
func NewRoute ¶
func NewRoute(destination RouteDestination, nexthop RouteNexthop) *Route
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) GetDestination ¶
func (o *Route) GetDestination() RouteDestination
GetDestination returns the Destination field value
func (*Route) GetDestinationOk ¶
func (o *Route) GetDestinationOk() (*RouteDestination, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*Route) 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 (*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 ¶
func (o *Route) GetNexthop() RouteNexthop
GetNexthop returns the Nexthop field value
func (*Route) GetNexthopOk ¶
func (o *Route) GetNexthopOk() (*RouteNexthop, bool)
GetNexthopOk returns a tuple with the Nexthop field value 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) 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) SetDestination ¶
func (o *Route) SetDestination(v RouteDestination)
SetDestination sets field value
func (*Route) SetLabels ¶
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*Route) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Route) UnmarshalJSON ¶
type RouteDestination ¶
type RouteDestination struct {
DestinationCIDRv4 *DestinationCIDRv4
DestinationCIDRv6 *DestinationCIDRv6
}
RouteDestination - struct for RouteDestination
func DestinationCIDRv4AsRouteDestination ¶
func DestinationCIDRv4AsRouteDestination(v *DestinationCIDRv4) RouteDestination
DestinationCIDRv4AsRouteDestination is a convenience function that returns DestinationCIDRv4 wrapped in RouteDestination
func DestinationCIDRv6AsRouteDestination ¶
func DestinationCIDRv6AsRouteDestination(v *DestinationCIDRv6) RouteDestination
DestinationCIDRv6AsRouteDestination is a convenience function that returns DestinationCIDRv6 wrapped in RouteDestination
func (*RouteDestination) GetActualInstance ¶
func (obj *RouteDestination) GetActualInstance() interface{}
Get the actual instance
func (RouteDestination) GetActualInstanceValue ¶
func (obj RouteDestination) GetActualInstanceValue() interface{}
Get the actual instance value
func (RouteDestination) MarshalJSON ¶
func (src RouteDestination) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*RouteDestination) UnmarshalJSON ¶
func (dst *RouteDestination) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
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 RouteNexthop ¶
type RouteNexthop struct {
NexthopBlackhole *NexthopBlackhole
NexthopIPv4 *NexthopIPv4
NexthopIPv6 *NexthopIPv6
NexthopInternet *NexthopInternet
}
RouteNexthop - struct for RouteNexthop
func NexthopBlackholeAsRouteNexthop ¶
func NexthopBlackholeAsRouteNexthop(v *NexthopBlackhole) RouteNexthop
NexthopBlackholeAsRouteNexthop is a convenience function that returns NexthopBlackhole wrapped in RouteNexthop
func NexthopIPv4AsRouteNexthop ¶
func NexthopIPv4AsRouteNexthop(v *NexthopIPv4) RouteNexthop
NexthopIPv4AsRouteNexthop is a convenience function that returns NexthopIPv4 wrapped in RouteNexthop
func NexthopIPv6AsRouteNexthop ¶
func NexthopIPv6AsRouteNexthop(v *NexthopIPv6) RouteNexthop
NexthopIPv6AsRouteNexthop is a convenience function that returns NexthopIPv6 wrapped in RouteNexthop
func NexthopInternetAsRouteNexthop ¶
func NexthopInternetAsRouteNexthop(v *NexthopInternet) RouteNexthop
NexthopInternetAsRouteNexthop is a convenience function that returns NexthopInternet wrapped in RouteNexthop
func (*RouteNexthop) GetActualInstance ¶
func (obj *RouteNexthop) GetActualInstance() interface{}
Get the actual instance
func (RouteNexthop) GetActualInstanceValue ¶
func (obj RouteNexthop) GetActualInstanceValue() interface{}
Get the actual instance value
func (RouteNexthop) MarshalJSON ¶
func (src RouteNexthop) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*RouteNexthop) UnmarshalJSON ¶
func (dst *RouteNexthop) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type RoutingTable ¶
type RoutingTable struct {
// Date-time when resource was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// This is the default routing table. It can't be deleted and is used if the user does not specify it otherwise.
Default *bool `json:"default,omitempty"`
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// A config setting for a routing table which allows propagation of dynamic routes to this routing table.
DynamicRoutes *bool `json:"dynamicRoutes,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 config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.
SystemRoutes *bool `json:"systemRoutes,omitempty"`
// Date-time when resource was last updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
RoutingTable An object representing a routing table.
func NewRoutingTable ¶
func NewRoutingTable(name string) *RoutingTable
NewRoutingTable instantiates a new RoutingTable 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 NewRoutingTableWithDefaults ¶
func NewRoutingTableWithDefaults() *RoutingTable
NewRoutingTableWithDefaults instantiates a new RoutingTable 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 (*RoutingTable) GetCreatedAt ¶
func (o *RoutingTable) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoutingTable) GetCreatedAtOk ¶
func (o *RoutingTable) 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 (*RoutingTable) GetDefault ¶
func (o *RoutingTable) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*RoutingTable) GetDefaultOk ¶
func (o *RoutingTable) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoutingTable) GetDescription ¶
func (o *RoutingTable) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RoutingTable) GetDescriptionOk ¶
func (o *RoutingTable) 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 (*RoutingTable) GetDynamicRoutes ¶
func (o *RoutingTable) GetDynamicRoutes() bool
GetDynamicRoutes returns the DynamicRoutes field value if set, zero value otherwise.
func (*RoutingTable) GetDynamicRoutesOk ¶
func (o *RoutingTable) GetDynamicRoutesOk() (*bool, bool)
GetDynamicRoutesOk returns a tuple with the DynamicRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoutingTable) GetId ¶
func (o *RoutingTable) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RoutingTable) GetIdOk ¶
func (o *RoutingTable) 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 (*RoutingTable) GetLabels ¶
func (o *RoutingTable) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*RoutingTable) GetLabelsOk ¶
func (o *RoutingTable) 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 (*RoutingTable) GetName ¶
func (o *RoutingTable) GetName() string
GetName returns the Name field value
func (*RoutingTable) GetNameOk ¶
func (o *RoutingTable) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RoutingTable) GetSystemRoutes ¶
func (o *RoutingTable) GetSystemRoutes() bool
GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise.
func (*RoutingTable) GetSystemRoutesOk ¶
func (o *RoutingTable) GetSystemRoutesOk() (*bool, bool)
GetSystemRoutesOk returns a tuple with the SystemRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoutingTable) GetUpdatedAt ¶
func (o *RoutingTable) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*RoutingTable) GetUpdatedAtOk ¶
func (o *RoutingTable) 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 (*RoutingTable) HasCreatedAt ¶
func (o *RoutingTable) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RoutingTable) HasDefault ¶
func (o *RoutingTable) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*RoutingTable) HasDescription ¶
func (o *RoutingTable) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*RoutingTable) HasDynamicRoutes ¶
func (o *RoutingTable) HasDynamicRoutes() bool
HasDynamicRoutes returns a boolean if a field has been set.
func (*RoutingTable) HasId ¶
func (o *RoutingTable) HasId() bool
HasId returns a boolean if a field has been set.
func (*RoutingTable) HasLabels ¶
func (o *RoutingTable) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*RoutingTable) HasSystemRoutes ¶
func (o *RoutingTable) HasSystemRoutes() bool
HasSystemRoutes returns a boolean if a field has been set.
func (*RoutingTable) HasUpdatedAt ¶
func (o *RoutingTable) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (RoutingTable) MarshalJSON ¶
func (o RoutingTable) MarshalJSON() ([]byte, error)
func (*RoutingTable) SetCreatedAt ¶
func (o *RoutingTable) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoutingTable) SetDefault ¶
func (o *RoutingTable) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*RoutingTable) SetDescription ¶
func (o *RoutingTable) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RoutingTable) SetDynamicRoutes ¶
func (o *RoutingTable) SetDynamicRoutes(v bool)
SetDynamicRoutes gets a reference to the given bool and assigns it to the DynamicRoutes field.
func (*RoutingTable) SetId ¶
func (o *RoutingTable) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RoutingTable) SetLabels ¶
func (o *RoutingTable) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*RoutingTable) SetSystemRoutes ¶
func (o *RoutingTable) SetSystemRoutes(v bool)
SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field.
func (*RoutingTable) SetUpdatedAt ¶
func (o *RoutingTable) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (RoutingTable) ToMap ¶
func (o RoutingTable) ToMap() (map[string]interface{}, error)
func (*RoutingTable) UnmarshalJSON ¶
func (o *RoutingTable) UnmarshalJSON(data []byte) (err error)
type RoutingTableListResponse ¶
type RoutingTableListResponse struct {
// A list of routing tables.
Items []RoutingTable `json:"items"`
}
RoutingTableListResponse Routing table response.
func NewRoutingTableListResponse ¶
func NewRoutingTableListResponse(items []RoutingTable) *RoutingTableListResponse
NewRoutingTableListResponse instantiates a new RoutingTableListResponse 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 NewRoutingTableListResponseWithDefaults ¶
func NewRoutingTableListResponseWithDefaults() *RoutingTableListResponse
NewRoutingTableListResponseWithDefaults instantiates a new RoutingTableListResponse 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 (*RoutingTableListResponse) GetItems ¶
func (o *RoutingTableListResponse) GetItems() []RoutingTable
GetItems returns the Items field value
func (*RoutingTableListResponse) GetItemsOk ¶
func (o *RoutingTableListResponse) GetItemsOk() ([]RoutingTable, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (RoutingTableListResponse) MarshalJSON ¶
func (o RoutingTableListResponse) MarshalJSON() ([]byte, error)
func (*RoutingTableListResponse) SetItems ¶
func (o *RoutingTableListResponse) SetItems(v []RoutingTable)
SetItems sets field value
func (RoutingTableListResponse) ToMap ¶
func (o RoutingTableListResponse) ToMap() (map[string]interface{}, error)
func (*RoutingTableListResponse) UnmarshalJSON ¶
func (o *RoutingTableListResponse) 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 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 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 UpdateNetworkIPv4Body ¶
type UpdateNetworkIPv4Body struct {
// The IPv4 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 `` /* 165-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 IPv6 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 `` /* 1257-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}$"`
// String that represents an IPv4 address.
Ip *string `` /* 160-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 UpdateRegionalAreaIPv4 ¶
type UpdateRegionalAreaIPv4 struct {
DefaultNameservers []string `json:"defaultNameservers,omitempty"`
// The default prefix length for networks in the network area.
DefaultPrefixLen *int64 `json:"defaultPrefixLen,omitempty"`
// The maximal prefix length for networks in the network area.
MaxPrefixLen *int64 `json:"maxPrefixLen,omitempty"`
// The minimal prefix length for networks in the network area.
MinPrefixLen *int64 `json:"minPrefixLen,omitempty"`
}
UpdateRegionalAreaIPv4 Object that represents the request body for a regional network area IPv4 configuration update.
func NewUpdateRegionalAreaIPv4 ¶
func NewUpdateRegionalAreaIPv4() *UpdateRegionalAreaIPv4
NewUpdateRegionalAreaIPv4 instantiates a new UpdateRegionalAreaIPv4 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 NewUpdateRegionalAreaIPv4WithDefaults ¶
func NewUpdateRegionalAreaIPv4WithDefaults() *UpdateRegionalAreaIPv4
NewUpdateRegionalAreaIPv4WithDefaults instantiates a new UpdateRegionalAreaIPv4 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 (*UpdateRegionalAreaIPv4) GetDefaultNameservers ¶
func (o *UpdateRegionalAreaIPv4) GetDefaultNameservers() []string
GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.
func (*UpdateRegionalAreaIPv4) GetDefaultNameserversOk ¶
func (o *UpdateRegionalAreaIPv4) 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 (*UpdateRegionalAreaIPv4) GetDefaultPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) GetDefaultPrefixLen() int64
GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.
func (*UpdateRegionalAreaIPv4) GetDefaultPrefixLenOk ¶
func (o *UpdateRegionalAreaIPv4) GetDefaultPrefixLenOk() (*int64, 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 (*UpdateRegionalAreaIPv4) GetMaxPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) GetMaxPrefixLen() int64
GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.
func (*UpdateRegionalAreaIPv4) GetMaxPrefixLenOk ¶
func (o *UpdateRegionalAreaIPv4) GetMaxPrefixLenOk() (*int64, 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 (*UpdateRegionalAreaIPv4) GetMinPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) GetMinPrefixLen() int64
GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.
func (*UpdateRegionalAreaIPv4) GetMinPrefixLenOk ¶
func (o *UpdateRegionalAreaIPv4) GetMinPrefixLenOk() (*int64, 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 (*UpdateRegionalAreaIPv4) HasDefaultNameservers ¶
func (o *UpdateRegionalAreaIPv4) HasDefaultNameservers() bool
HasDefaultNameservers returns a boolean if a field has been set.
func (*UpdateRegionalAreaIPv4) HasDefaultPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) HasDefaultPrefixLen() bool
HasDefaultPrefixLen returns a boolean if a field has been set.
func (*UpdateRegionalAreaIPv4) HasMaxPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) HasMaxPrefixLen() bool
HasMaxPrefixLen returns a boolean if a field has been set.
func (*UpdateRegionalAreaIPv4) HasMinPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) HasMinPrefixLen() bool
HasMinPrefixLen returns a boolean if a field has been set.
func (UpdateRegionalAreaIPv4) MarshalJSON ¶
func (o UpdateRegionalAreaIPv4) MarshalJSON() ([]byte, error)
func (*UpdateRegionalAreaIPv4) SetDefaultNameservers ¶
func (o *UpdateRegionalAreaIPv4) SetDefaultNameservers(v []string)
SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.
func (*UpdateRegionalAreaIPv4) SetDefaultPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) SetDefaultPrefixLen(v int64)
SetDefaultPrefixLen gets a reference to the given int64 and assigns it to the DefaultPrefixLen field.
func (*UpdateRegionalAreaIPv4) SetMaxPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) SetMaxPrefixLen(v int64)
SetMaxPrefixLen gets a reference to the given int64 and assigns it to the MaxPrefixLen field.
func (*UpdateRegionalAreaIPv4) SetMinPrefixLen ¶
func (o *UpdateRegionalAreaIPv4) SetMinPrefixLen(v int64)
SetMinPrefixLen gets a reference to the given int64 and assigns it to the MinPrefixLen field.
func (UpdateRegionalAreaIPv4) ToMap ¶
func (o UpdateRegionalAreaIPv4) ToMap() (map[string]interface{}, error)
type UpdateRouteOfRoutingTablePayload ¶
type UpdateRouteOfRoutingTablePayload 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"`
}
UpdateRouteOfRoutingTablePayload Object that represents the request body for a route update.
func NewUpdateRouteOfRoutingTablePayload ¶
func NewUpdateRouteOfRoutingTablePayload() *UpdateRouteOfRoutingTablePayload
NewUpdateRouteOfRoutingTablePayload instantiates a new UpdateRouteOfRoutingTablePayload 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 NewUpdateRouteOfRoutingTablePayloadWithDefaults ¶
func NewUpdateRouteOfRoutingTablePayloadWithDefaults() *UpdateRouteOfRoutingTablePayload
NewUpdateRouteOfRoutingTablePayloadWithDefaults instantiates a new UpdateRouteOfRoutingTablePayload 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 (*UpdateRouteOfRoutingTablePayload) GetLabels ¶
func (o *UpdateRouteOfRoutingTablePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateRouteOfRoutingTablePayload) GetLabelsOk ¶
func (o *UpdateRouteOfRoutingTablePayload) 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 (*UpdateRouteOfRoutingTablePayload) HasLabels ¶
func (o *UpdateRouteOfRoutingTablePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateRouteOfRoutingTablePayload) MarshalJSON ¶
func (o UpdateRouteOfRoutingTablePayload) MarshalJSON() ([]byte, error)
func (*UpdateRouteOfRoutingTablePayload) SetLabels ¶
func (o *UpdateRouteOfRoutingTablePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (UpdateRouteOfRoutingTablePayload) ToMap ¶
func (o UpdateRouteOfRoutingTablePayload) ToMap() (map[string]interface{}, error)
type UpdateRoutingTableOfAreaPayload ¶
type UpdateRoutingTableOfAreaPayload struct {
// Description Object. Allows string up to 255 Characters.
Description *string `json:"description,omitempty"`
// The update config setting for a routing table which allows propagation of dynamic routes to this routing table.
DynamicRoutes *bool `json:"dynamicRoutes,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 update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.
SystemRoutes *bool `json:"systemRoutes,omitempty"`
}
UpdateRoutingTableOfAreaPayload Object that represents the request body for a routing table update.
func NewUpdateRoutingTableOfAreaPayload ¶
func NewUpdateRoutingTableOfAreaPayload() *UpdateRoutingTableOfAreaPayload
NewUpdateRoutingTableOfAreaPayload instantiates a new UpdateRoutingTableOfAreaPayload 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 NewUpdateRoutingTableOfAreaPayloadWithDefaults ¶
func NewUpdateRoutingTableOfAreaPayloadWithDefaults() *UpdateRoutingTableOfAreaPayload
NewUpdateRoutingTableOfAreaPayloadWithDefaults instantiates a new UpdateRoutingTableOfAreaPayload 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 (*UpdateRoutingTableOfAreaPayload) GetDescription ¶
func (o *UpdateRoutingTableOfAreaPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateRoutingTableOfAreaPayload) GetDescriptionOk ¶
func (o *UpdateRoutingTableOfAreaPayload) 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 (*UpdateRoutingTableOfAreaPayload) GetDynamicRoutes ¶
func (o *UpdateRoutingTableOfAreaPayload) GetDynamicRoutes() bool
GetDynamicRoutes returns the DynamicRoutes field value if set, zero value otherwise.
func (*UpdateRoutingTableOfAreaPayload) GetDynamicRoutesOk ¶
func (o *UpdateRoutingTableOfAreaPayload) GetDynamicRoutesOk() (*bool, bool)
GetDynamicRoutesOk returns a tuple with the DynamicRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRoutingTableOfAreaPayload) GetLabels ¶
func (o *UpdateRoutingTableOfAreaPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateRoutingTableOfAreaPayload) GetLabelsOk ¶
func (o *UpdateRoutingTableOfAreaPayload) 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 (*UpdateRoutingTableOfAreaPayload) GetName ¶
func (o *UpdateRoutingTableOfAreaPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateRoutingTableOfAreaPayload) GetNameOk ¶
func (o *UpdateRoutingTableOfAreaPayload) 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 (*UpdateRoutingTableOfAreaPayload) GetSystemRoutes ¶
func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutes() bool
GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise.
func (*UpdateRoutingTableOfAreaPayload) GetSystemRoutesOk ¶
func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutesOk() (*bool, bool)
GetSystemRoutesOk returns a tuple with the SystemRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRoutingTableOfAreaPayload) HasDescription ¶
func (o *UpdateRoutingTableOfAreaPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateRoutingTableOfAreaPayload) HasDynamicRoutes ¶
func (o *UpdateRoutingTableOfAreaPayload) HasDynamicRoutes() bool
HasDynamicRoutes returns a boolean if a field has been set.
func (*UpdateRoutingTableOfAreaPayload) HasLabels ¶
func (o *UpdateRoutingTableOfAreaPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateRoutingTableOfAreaPayload) HasName ¶
func (o *UpdateRoutingTableOfAreaPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateRoutingTableOfAreaPayload) HasSystemRoutes ¶
func (o *UpdateRoutingTableOfAreaPayload) HasSystemRoutes() bool
HasSystemRoutes returns a boolean if a field has been set.
func (UpdateRoutingTableOfAreaPayload) MarshalJSON ¶
func (o UpdateRoutingTableOfAreaPayload) MarshalJSON() ([]byte, error)
func (*UpdateRoutingTableOfAreaPayload) SetDescription ¶
func (o *UpdateRoutingTableOfAreaPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateRoutingTableOfAreaPayload) SetDynamicRoutes ¶
func (o *UpdateRoutingTableOfAreaPayload) SetDynamicRoutes(v bool)
SetDynamicRoutes gets a reference to the given bool and assigns it to the DynamicRoutes field.
func (*UpdateRoutingTableOfAreaPayload) SetLabels ¶
func (o *UpdateRoutingTableOfAreaPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*UpdateRoutingTableOfAreaPayload) SetName ¶
func (o *UpdateRoutingTableOfAreaPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateRoutingTableOfAreaPayload) SetSystemRoutes ¶
func (o *UpdateRoutingTableOfAreaPayload) SetSystemRoutes(v bool)
SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field.
func (UpdateRoutingTableOfAreaPayload) ToMap ¶
func (o UpdateRoutingTableOfAreaPayload) 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 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 V2beta1ConfigureNetworkAreaRegionPayload ¶
type V2beta1ConfigureNetworkAreaRegionPayload struct {
Ipv4 *RegionalAreaIPv4 `json:"ipv4,omitempty"`
// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
Status *string `json:"status,omitempty"`
}
V2beta1ConfigureNetworkAreaRegionPayload The basic properties of a regional network area.
func NewV2beta1ConfigureNetworkAreaRegionPayload ¶
func NewV2beta1ConfigureNetworkAreaRegionPayload() *V2beta1ConfigureNetworkAreaRegionPayload
NewV2beta1ConfigureNetworkAreaRegionPayload instantiates a new V2beta1ConfigureNetworkAreaRegionPayload 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 NewV2beta1ConfigureNetworkAreaRegionPayloadWithDefaults ¶
func NewV2beta1ConfigureNetworkAreaRegionPayloadWithDefaults() *V2beta1ConfigureNetworkAreaRegionPayload
NewV2beta1ConfigureNetworkAreaRegionPayloadWithDefaults instantiates a new V2beta1ConfigureNetworkAreaRegionPayload 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 (*V2beta1ConfigureNetworkAreaRegionPayload) GetIpv4 ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetIpv4() RegionalAreaIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*V2beta1ConfigureNetworkAreaRegionPayload) GetIpv4Ok ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetIpv4Ok() (*RegionalAreaIPv4, 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 (*V2beta1ConfigureNetworkAreaRegionPayload) GetStatus ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*V2beta1ConfigureNetworkAreaRegionPayload) GetStatusOk ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) 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 (*V2beta1ConfigureNetworkAreaRegionPayload) HasIpv4 ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (*V2beta1ConfigureNetworkAreaRegionPayload) HasStatus ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (V2beta1ConfigureNetworkAreaRegionPayload) MarshalJSON ¶
func (o V2beta1ConfigureNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
func (*V2beta1ConfigureNetworkAreaRegionPayload) SetIpv4 ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) SetIpv4(v RegionalAreaIPv4)
SetIpv4 gets a reference to the given RegionalAreaIPv4 and assigns it to the Ipv4 field.
func (*V2beta1ConfigureNetworkAreaRegionPayload) SetStatus ¶
func (o *V2beta1ConfigureNetworkAreaRegionPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (V2beta1ConfigureNetworkAreaRegionPayload) ToMap ¶
func (o V2beta1ConfigureNetworkAreaRegionPayload) ToMap() (map[string]interface{}, error)
type V2beta1CreateSnapshotPayload ¶
type V2beta1CreateSnapshotPayload 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}$"`
}
V2beta1CreateSnapshotPayload Object that represents a snapshot.
func NewV2beta1CreateSnapshotPayload ¶
func NewV2beta1CreateSnapshotPayload(volumeId string) *V2beta1CreateSnapshotPayload
NewV2beta1CreateSnapshotPayload instantiates a new V2beta1CreateSnapshotPayload 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 NewV2beta1CreateSnapshotPayloadWithDefaults ¶
func NewV2beta1CreateSnapshotPayloadWithDefaults() *V2beta1CreateSnapshotPayload
NewV2beta1CreateSnapshotPayloadWithDefaults instantiates a new V2beta1CreateSnapshotPayload 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 (*V2beta1CreateSnapshotPayload) GetCreatedAt ¶
func (o *V2beta1CreateSnapshotPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetCreatedAtOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetId ¶
func (o *V2beta1CreateSnapshotPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetIdOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetLabels ¶
func (o *V2beta1CreateSnapshotPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetLabelsOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetName ¶
func (o *V2beta1CreateSnapshotPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetNameOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetSize ¶
func (o *V2beta1CreateSnapshotPayload) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetSizeOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetStatus ¶
func (o *V2beta1CreateSnapshotPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetStatusOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetUpdatedAt ¶
func (o *V2beta1CreateSnapshotPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*V2beta1CreateSnapshotPayload) GetUpdatedAtOk ¶
func (o *V2beta1CreateSnapshotPayload) 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 (*V2beta1CreateSnapshotPayload) GetVolumeId ¶
func (o *V2beta1CreateSnapshotPayload) GetVolumeId() string
GetVolumeId returns the VolumeId field value
func (*V2beta1CreateSnapshotPayload) GetVolumeIdOk ¶
func (o *V2beta1CreateSnapshotPayload) GetVolumeIdOk() (*string, bool)
GetVolumeIdOk returns a tuple with the VolumeId field value and a boolean to check if the value has been set.
func (*V2beta1CreateSnapshotPayload) HasCreatedAt ¶
func (o *V2beta1CreateSnapshotPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*V2beta1CreateSnapshotPayload) HasId ¶
func (o *V2beta1CreateSnapshotPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*V2beta1CreateSnapshotPayload) HasLabels ¶
func (o *V2beta1CreateSnapshotPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*V2beta1CreateSnapshotPayload) HasName ¶
func (o *V2beta1CreateSnapshotPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*V2beta1CreateSnapshotPayload) HasSize ¶
func (o *V2beta1CreateSnapshotPayload) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*V2beta1CreateSnapshotPayload) HasStatus ¶
func (o *V2beta1CreateSnapshotPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*V2beta1CreateSnapshotPayload) HasUpdatedAt ¶
func (o *V2beta1CreateSnapshotPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (V2beta1CreateSnapshotPayload) MarshalJSON ¶
func (o V2beta1CreateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*V2beta1CreateSnapshotPayload) SetCreatedAt ¶
func (o *V2beta1CreateSnapshotPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*V2beta1CreateSnapshotPayload) SetId ¶
func (o *V2beta1CreateSnapshotPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*V2beta1CreateSnapshotPayload) SetLabels ¶
func (o *V2beta1CreateSnapshotPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*V2beta1CreateSnapshotPayload) SetName ¶
func (o *V2beta1CreateSnapshotPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*V2beta1CreateSnapshotPayload) SetSize ¶
func (o *V2beta1CreateSnapshotPayload) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*V2beta1CreateSnapshotPayload) SetStatus ¶
func (o *V2beta1CreateSnapshotPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*V2beta1CreateSnapshotPayload) SetUpdatedAt ¶
func (o *V2beta1CreateSnapshotPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*V2beta1CreateSnapshotPayload) SetVolumeId ¶
func (o *V2beta1CreateSnapshotPayload) SetVolumeId(v string)
SetVolumeId sets field value
func (V2beta1CreateSnapshotPayload) ToMap ¶
func (o V2beta1CreateSnapshotPayload) ToMap() (map[string]interface{}, error)
func (*V2beta1CreateSnapshotPayload) UnmarshalJSON ¶
func (o *V2beta1CreateSnapshotPayload) UnmarshalJSON(data []byte) (err error)
type V2beta1UpdateBackupPayload ¶
type V2beta1UpdateBackupPayload 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}$"`
}
V2beta1UpdateBackupPayload Object that represents a backup.
func NewV2beta1UpdateBackupPayload ¶
func NewV2beta1UpdateBackupPayload() *V2beta1UpdateBackupPayload
NewV2beta1UpdateBackupPayload instantiates a new V2beta1UpdateBackupPayload 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 NewV2beta1UpdateBackupPayloadWithDefaults ¶
func NewV2beta1UpdateBackupPayloadWithDefaults() *V2beta1UpdateBackupPayload
NewV2beta1UpdateBackupPayloadWithDefaults instantiates a new V2beta1UpdateBackupPayload 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 (*V2beta1UpdateBackupPayload) GetAvailabilityZone ¶
func (o *V2beta1UpdateBackupPayload) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetAvailabilityZoneOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetCreatedAt ¶
func (o *V2beta1UpdateBackupPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetCreatedAtOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetEncrypted ¶
func (o *V2beta1UpdateBackupPayload) GetEncrypted() bool
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetEncryptedOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetId ¶
func (o *V2beta1UpdateBackupPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetIdOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetLabels ¶
func (o *V2beta1UpdateBackupPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetLabelsOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetName ¶
func (o *V2beta1UpdateBackupPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetNameOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetSize ¶
func (o *V2beta1UpdateBackupPayload) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetSizeOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetSnapshotId ¶
func (o *V2beta1UpdateBackupPayload) GetSnapshotId() string
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetSnapshotIdOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetStatus ¶
func (o *V2beta1UpdateBackupPayload) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetStatusOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetUpdatedAt ¶
func (o *V2beta1UpdateBackupPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetUpdatedAtOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) GetVolumeId ¶
func (o *V2beta1UpdateBackupPayload) GetVolumeId() string
GetVolumeId returns the VolumeId field value if set, zero value otherwise.
func (*V2beta1UpdateBackupPayload) GetVolumeIdOk ¶
func (o *V2beta1UpdateBackupPayload) 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 (*V2beta1UpdateBackupPayload) HasAvailabilityZone ¶
func (o *V2beta1UpdateBackupPayload) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasCreatedAt ¶
func (o *V2beta1UpdateBackupPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasEncrypted ¶
func (o *V2beta1UpdateBackupPayload) HasEncrypted() bool
HasEncrypted returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasId ¶
func (o *V2beta1UpdateBackupPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasLabels ¶
func (o *V2beta1UpdateBackupPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasName ¶
func (o *V2beta1UpdateBackupPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasSize ¶
func (o *V2beta1UpdateBackupPayload) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasSnapshotId ¶
func (o *V2beta1UpdateBackupPayload) HasSnapshotId() bool
HasSnapshotId returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasStatus ¶
func (o *V2beta1UpdateBackupPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasUpdatedAt ¶
func (o *V2beta1UpdateBackupPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*V2beta1UpdateBackupPayload) HasVolumeId ¶
func (o *V2beta1UpdateBackupPayload) HasVolumeId() bool
HasVolumeId returns a boolean if a field has been set.
func (V2beta1UpdateBackupPayload) MarshalJSON ¶
func (o V2beta1UpdateBackupPayload) MarshalJSON() ([]byte, error)
func (*V2beta1UpdateBackupPayload) SetAvailabilityZone ¶
func (o *V2beta1UpdateBackupPayload) SetAvailabilityZone(v string)
SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.
func (*V2beta1UpdateBackupPayload) SetCreatedAt ¶
func (o *V2beta1UpdateBackupPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*V2beta1UpdateBackupPayload) SetEncrypted ¶
func (o *V2beta1UpdateBackupPayload) SetEncrypted(v bool)
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*V2beta1UpdateBackupPayload) SetId ¶
func (o *V2beta1UpdateBackupPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*V2beta1UpdateBackupPayload) SetLabels ¶
func (o *V2beta1UpdateBackupPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*V2beta1UpdateBackupPayload) SetName ¶
func (o *V2beta1UpdateBackupPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*V2beta1UpdateBackupPayload) SetSize ¶
func (o *V2beta1UpdateBackupPayload) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*V2beta1UpdateBackupPayload) SetSnapshotId ¶
func (o *V2beta1UpdateBackupPayload) SetSnapshotId(v string)
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (*V2beta1UpdateBackupPayload) SetStatus ¶
func (o *V2beta1UpdateBackupPayload) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*V2beta1UpdateBackupPayload) SetUpdatedAt ¶
func (o *V2beta1UpdateBackupPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*V2beta1UpdateBackupPayload) SetVolumeId ¶
func (o *V2beta1UpdateBackupPayload) SetVolumeId(v string)
SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.
func (V2beta1UpdateBackupPayload) ToMap ¶
func (o V2beta1UpdateBackupPayload) ToMap() (map[string]interface{}, error)
type V2beta1UpdateNetworkAreaRegionPayload ¶
type V2beta1UpdateNetworkAreaRegionPayload struct {
Ipv4 *UpdateRegionalAreaIPv4 `json:"ipv4,omitempty"`
}
V2beta1UpdateNetworkAreaRegionPayload Object that represents the request body for a regional network area update.
func NewV2beta1UpdateNetworkAreaRegionPayload ¶
func NewV2beta1UpdateNetworkAreaRegionPayload() *V2beta1UpdateNetworkAreaRegionPayload
NewV2beta1UpdateNetworkAreaRegionPayload instantiates a new V2beta1UpdateNetworkAreaRegionPayload 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 NewV2beta1UpdateNetworkAreaRegionPayloadWithDefaults ¶
func NewV2beta1UpdateNetworkAreaRegionPayloadWithDefaults() *V2beta1UpdateNetworkAreaRegionPayload
NewV2beta1UpdateNetworkAreaRegionPayloadWithDefaults instantiates a new V2beta1UpdateNetworkAreaRegionPayload 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 (*V2beta1UpdateNetworkAreaRegionPayload) GetIpv4 ¶
func (o *V2beta1UpdateNetworkAreaRegionPayload) GetIpv4() UpdateRegionalAreaIPv4
GetIpv4 returns the Ipv4 field value if set, zero value otherwise.
func (*V2beta1UpdateNetworkAreaRegionPayload) GetIpv4Ok ¶
func (o *V2beta1UpdateNetworkAreaRegionPayload) GetIpv4Ok() (*UpdateRegionalAreaIPv4, 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 (*V2beta1UpdateNetworkAreaRegionPayload) HasIpv4 ¶
func (o *V2beta1UpdateNetworkAreaRegionPayload) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (V2beta1UpdateNetworkAreaRegionPayload) MarshalJSON ¶
func (o V2beta1UpdateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)
func (*V2beta1UpdateNetworkAreaRegionPayload) SetIpv4 ¶
func (o *V2beta1UpdateNetworkAreaRegionPayload) SetIpv4(v UpdateRegionalAreaIPv4)
SetIpv4 gets a reference to the given UpdateRegionalAreaIPv4 and assigns it to the Ipv4 field.
func (V2beta1UpdateNetworkAreaRegionPayload) ToMap ¶
func (o V2beta1UpdateNetworkAreaRegionPayload) ToMap() (map[string]interface{}, error)
type V2beta1UpdateRouteOfAreaPayload ¶
type V2beta1UpdateRouteOfAreaPayload 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"`
}
V2beta1UpdateRouteOfAreaPayload Object that represents the request body for a route update.
func NewV2beta1UpdateRouteOfAreaPayload ¶
func NewV2beta1UpdateRouteOfAreaPayload() *V2beta1UpdateRouteOfAreaPayload
NewV2beta1UpdateRouteOfAreaPayload instantiates a new V2beta1UpdateRouteOfAreaPayload 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 NewV2beta1UpdateRouteOfAreaPayloadWithDefaults ¶
func NewV2beta1UpdateRouteOfAreaPayloadWithDefaults() *V2beta1UpdateRouteOfAreaPayload
NewV2beta1UpdateRouteOfAreaPayloadWithDefaults instantiates a new V2beta1UpdateRouteOfAreaPayload 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 (*V2beta1UpdateRouteOfAreaPayload) GetLabels ¶
func (o *V2beta1UpdateRouteOfAreaPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*V2beta1UpdateRouteOfAreaPayload) GetLabelsOk ¶
func (o *V2beta1UpdateRouteOfAreaPayload) 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 (*V2beta1UpdateRouteOfAreaPayload) HasLabels ¶
func (o *V2beta1UpdateRouteOfAreaPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (V2beta1UpdateRouteOfAreaPayload) MarshalJSON ¶
func (o V2beta1UpdateRouteOfAreaPayload) MarshalJSON() ([]byte, error)
func (*V2beta1UpdateRouteOfAreaPayload) SetLabels ¶
func (o *V2beta1UpdateRouteOfAreaPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (V2beta1UpdateRouteOfAreaPayload) ToMap ¶
func (o V2beta1UpdateRouteOfAreaPayload) ToMap() (map[string]interface{}, error)
type V2beta1UpdateSecurityGroupPayload ¶
type V2beta1UpdateSecurityGroupPayload 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]+)*$"`
}
V2beta1UpdateSecurityGroupPayload Object that represents an update request body of a security group.
func NewV2beta1UpdateSecurityGroupPayload ¶
func NewV2beta1UpdateSecurityGroupPayload() *V2beta1UpdateSecurityGroupPayload
NewV2beta1UpdateSecurityGroupPayload instantiates a new V2beta1UpdateSecurityGroupPayload 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 NewV2beta1UpdateSecurityGroupPayloadWithDefaults ¶
func NewV2beta1UpdateSecurityGroupPayloadWithDefaults() *V2beta1UpdateSecurityGroupPayload
NewV2beta1UpdateSecurityGroupPayloadWithDefaults instantiates a new V2beta1UpdateSecurityGroupPayload 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 (*V2beta1UpdateSecurityGroupPayload) GetDescription ¶
func (o *V2beta1UpdateSecurityGroupPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*V2beta1UpdateSecurityGroupPayload) GetDescriptionOk ¶
func (o *V2beta1UpdateSecurityGroupPayload) 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 (*V2beta1UpdateSecurityGroupPayload) GetLabels ¶
func (o *V2beta1UpdateSecurityGroupPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*V2beta1UpdateSecurityGroupPayload) GetLabelsOk ¶
func (o *V2beta1UpdateSecurityGroupPayload) 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 (*V2beta1UpdateSecurityGroupPayload) GetName ¶
func (o *V2beta1UpdateSecurityGroupPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*V2beta1UpdateSecurityGroupPayload) GetNameOk ¶
func (o *V2beta1UpdateSecurityGroupPayload) 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 (*V2beta1UpdateSecurityGroupPayload) HasDescription ¶
func (o *V2beta1UpdateSecurityGroupPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*V2beta1UpdateSecurityGroupPayload) HasLabels ¶
func (o *V2beta1UpdateSecurityGroupPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*V2beta1UpdateSecurityGroupPayload) HasName ¶
func (o *V2beta1UpdateSecurityGroupPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (V2beta1UpdateSecurityGroupPayload) MarshalJSON ¶
func (o V2beta1UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)
func (*V2beta1UpdateSecurityGroupPayload) SetDescription ¶
func (o *V2beta1UpdateSecurityGroupPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*V2beta1UpdateSecurityGroupPayload) SetLabels ¶
func (o *V2beta1UpdateSecurityGroupPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*V2beta1UpdateSecurityGroupPayload) SetName ¶
func (o *V2beta1UpdateSecurityGroupPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (V2beta1UpdateSecurityGroupPayload) ToMap ¶
func (o V2beta1UpdateSecurityGroupPayload) ToMap() (map[string]interface{}, error)
type V2beta1UpdateSnapshotPayload ¶
type V2beta1UpdateSnapshotPayload 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]+)*$"`
}
V2beta1UpdateSnapshotPayload Object that represents an update request body of a snapshot.
func NewV2beta1UpdateSnapshotPayload ¶
func NewV2beta1UpdateSnapshotPayload() *V2beta1UpdateSnapshotPayload
NewV2beta1UpdateSnapshotPayload instantiates a new V2beta1UpdateSnapshotPayload 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 NewV2beta1UpdateSnapshotPayloadWithDefaults ¶
func NewV2beta1UpdateSnapshotPayloadWithDefaults() *V2beta1UpdateSnapshotPayload
NewV2beta1UpdateSnapshotPayloadWithDefaults instantiates a new V2beta1UpdateSnapshotPayload 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 (*V2beta1UpdateSnapshotPayload) GetLabels ¶
func (o *V2beta1UpdateSnapshotPayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*V2beta1UpdateSnapshotPayload) GetLabelsOk ¶
func (o *V2beta1UpdateSnapshotPayload) 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 (*V2beta1UpdateSnapshotPayload) GetName ¶
func (o *V2beta1UpdateSnapshotPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*V2beta1UpdateSnapshotPayload) GetNameOk ¶
func (o *V2beta1UpdateSnapshotPayload) 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 (*V2beta1UpdateSnapshotPayload) HasLabels ¶
func (o *V2beta1UpdateSnapshotPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*V2beta1UpdateSnapshotPayload) HasName ¶
func (o *V2beta1UpdateSnapshotPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (V2beta1UpdateSnapshotPayload) MarshalJSON ¶
func (o V2beta1UpdateSnapshotPayload) MarshalJSON() ([]byte, error)
func (*V2beta1UpdateSnapshotPayload) SetLabels ¶
func (o *V2beta1UpdateSnapshotPayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*V2beta1UpdateSnapshotPayload) SetName ¶
func (o *V2beta1UpdateSnapshotPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (V2beta1UpdateSnapshotPayload) ToMap ¶
func (o V2beta1UpdateSnapshotPayload) 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_routes_to_routing_table_payload.go
- model_add_routing_table_to_area_payload.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_id.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_backup_payload.go
- model_create_image_payload.go
- model_create_isolated_network_payload.go
- model_create_key_pair_payload.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.go
- model_create_network_ipv4_with_prefix.go
- model_create_network_ipv4_with_prefix_length.go
- model_create_network_ipv6.go
- model_create_network_ipv6_with_prefix.go
- model_create_network_ipv6_with_prefix_length.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_all_of_networking.go
- model_create_volume_payload.go
- model_destination_cidrv4.go
- model_destination_cidrv6.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_list_response.go
- model_network_ipv4.go
- model_network_ipv6.go
- model_network_list_response.go
- model_network_range.go
- model_network_range_list_response.go
- model_nexthop_blackhole.go
- model_nexthop_internet.go
- model_nexthop_ipv4.go
- model_nexthop_ipv6.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_regional_area.go
- model_regional_area_ipv4.go
- model_regional_area_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_destination.go
- model_route_list_response.go
- model_route_nexthop.go
- model_routing_table.go
- model_routing_table_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_attached_volume_payload.go
- model_update_image_payload.go
- model_update_image_share_payload.go
- model_update_key_pair_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_regional_area_ipv4.go
- model_update_route_of_routing_table_payload.go
- model_update_routing_table_of_area_payload.go
- model_update_server_payload.go
- model_update_volume_payload.go
- model_v2beta1_configure_network_area_region_payload.go
- model_v2beta1_create_snapshot_payload.go
- model_v2beta1_update_backup_payload.go
- model_v2beta1_update_network_area_region_payload.go
- model_v2beta1_update_route_of_area_payload.go
- model_v2beta1_update_security_group_payload.go
- model_v2beta1_update_snapshot_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