v1api

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedStaticAreaIDEnumValues = []StaticAreaID{
	"PUBLIC",
	"SCHWARZ",
}

All allowed values of StaticAreaID enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT IaaS API API v1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AddVolumeToServerPayload

type AddVolumeToServerPayload struct {
	// Delete the volume during the termination of the server. Defaults to false.
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
	// Universally Unique Identifier (UUID).
	ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Universally Unique Identifier (UUID).
	VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

AddVolumeToServerPayload Object that represents a Volume attachment to a server.

func NewAddVolumeToServerPayload

func NewAddVolumeToServerPayload() *AddVolumeToServerPayload

NewAddVolumeToServerPayload instantiates a new AddVolumeToServerPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddVolumeToServerPayloadWithDefaults

func NewAddVolumeToServerPayloadWithDefaults() *AddVolumeToServerPayload

NewAddVolumeToServerPayloadWithDefaults instantiates a new AddVolumeToServerPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AddVolumeToServerPayload) GetDeleteOnTermination

func (o *AddVolumeToServerPayload) GetDeleteOnTermination() bool

GetDeleteOnTermination returns the DeleteOnTermination field value if set, zero value otherwise.

func (*AddVolumeToServerPayload) GetDeleteOnTerminationOk

func (o *AddVolumeToServerPayload) GetDeleteOnTerminationOk() (*bool, bool)

GetDeleteOnTerminationOk returns a tuple with the DeleteOnTermination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddVolumeToServerPayload) GetServerId

func (o *AddVolumeToServerPayload) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*AddVolumeToServerPayload) GetServerIdOk

func (o *AddVolumeToServerPayload) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddVolumeToServerPayload) GetVolumeId

func (o *AddVolumeToServerPayload) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*AddVolumeToServerPayload) GetVolumeIdOk

func (o *AddVolumeToServerPayload) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddVolumeToServerPayload) HasDeleteOnTermination

func (o *AddVolumeToServerPayload) HasDeleteOnTermination() bool

HasDeleteOnTermination returns a boolean if a field has been set.

func (*AddVolumeToServerPayload) HasServerId

func (o *AddVolumeToServerPayload) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*AddVolumeToServerPayload) HasVolumeId

func (o *AddVolumeToServerPayload) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (AddVolumeToServerPayload) MarshalJSON

func (o AddVolumeToServerPayload) MarshalJSON() ([]byte, error)

func (*AddVolumeToServerPayload) SetDeleteOnTermination

func (o *AddVolumeToServerPayload) SetDeleteOnTermination(v bool)

SetDeleteOnTermination gets a reference to the given bool and assigns it to the DeleteOnTermination field.

func (*AddVolumeToServerPayload) SetServerId

func (o *AddVolumeToServerPayload) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*AddVolumeToServerPayload) SetVolumeId

func (o *AddVolumeToServerPayload) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (AddVolumeToServerPayload) ToMap

func (o AddVolumeToServerPayload) ToMap() (map[string]interface{}, error)

type AffinityGroup

type AffinityGroup struct {
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// The servers that are part of the affinity group.
	Members []string `json:"members,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// The affinity group policy. `hard-affinity`: All servers in this group will be hosted on the same compute node. `soft-affinity`: All servers in this group will be hosted on as few compute nodes as possible. `hard-anti-affinity`: All servers in this group will be hosted on different compute nodes. `soft-anti-affinity`: All servers in this group will be hosted on as many compute nodes as possible. Possible values: `hard-anti-affinity`, `hard-affinity`, `soft-anti-affinity`, `soft-affinity`.
	Policy string `json:"policy"`
}

AffinityGroup Definition of an affinity group.

func NewAffinityGroup

func NewAffinityGroup(name string, policy string) *AffinityGroup

NewAffinityGroup instantiates a new AffinityGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAffinityGroupWithDefaults

func NewAffinityGroupWithDefaults() *AffinityGroup

NewAffinityGroupWithDefaults instantiates a new AffinityGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AffinityGroup) GetId

func (o *AffinityGroup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AffinityGroup) GetIdOk

func (o *AffinityGroup) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AffinityGroup) GetMembers

func (o *AffinityGroup) GetMembers() []string

GetMembers returns the Members field value if set, zero value otherwise.

func (*AffinityGroup) GetMembersOk

func (o *AffinityGroup) GetMembersOk() ([]string, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AffinityGroup) GetName

func (o *AffinityGroup) GetName() string

GetName returns the Name field value

func (*AffinityGroup) GetNameOk

func (o *AffinityGroup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*AffinityGroup) GetPolicy

func (o *AffinityGroup) GetPolicy() string

GetPolicy returns the Policy field value

func (*AffinityGroup) GetPolicyOk

func (o *AffinityGroup) GetPolicyOk() (*string, bool)

GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.

func (*AffinityGroup) HasId

func (o *AffinityGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*AffinityGroup) HasMembers

func (o *AffinityGroup) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (AffinityGroup) MarshalJSON

func (o AffinityGroup) MarshalJSON() ([]byte, error)

func (*AffinityGroup) SetId

func (o *AffinityGroup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AffinityGroup) SetMembers

func (o *AffinityGroup) SetMembers(v []string)

SetMembers gets a reference to the given []string and assigns it to the Members field.

func (*AffinityGroup) SetName

func (o *AffinityGroup) SetName(v string)

SetName sets field value

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

type ApiAddSecurityGroupToServerRequest

type ApiAddSecurityGroupToServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiAddSecurityGroupToServerRequest) Execute

type ApiAddServiceAccountToServerRequest

type ApiAddServiceAccountToServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiAddServiceAccountToServerRequest) Execute

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

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

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

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

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

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

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

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

type ApiCreateServerRequest

type ApiCreateServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateServerRequest) CreateServerPayload

func (r ApiCreateServerRequest) CreateServerPayload(createServerPayload CreateServerPayload) ApiCreateServerRequest

Request a server creation.

func (ApiCreateServerRequest) Execute

func (r ApiCreateServerRequest) Execute() (*Server, error)

type ApiCreateSnapshotRequest

type ApiCreateSnapshotRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateSnapshotRequest) CreateSnapshotPayload

func (r ApiCreateSnapshotRequest) CreateSnapshotPayload(createSnapshotPayload CreateSnapshotPayload) ApiCreateSnapshotRequest

Request a snapshot creation.

func (ApiCreateSnapshotRequest) Execute

func (r ApiCreateSnapshotRequest) Execute() (*Snapshot, error)

type ApiCreateVolumeRequest

type ApiCreateVolumeRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateVolumeRequest) CreateVolumePayload

func (r ApiCreateVolumeRequest) CreateVolumePayload(createVolumePayload CreateVolumePayload) ApiCreateVolumeRequest

Request a volume creation.

func (ApiCreateVolumeRequest) Execute

func (r ApiCreateVolumeRequest) Execute() (*Volume, error)

type ApiDeallocateServerRequest

type ApiDeallocateServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeallocateServerRequest) Execute

func (r ApiDeallocateServerRequest) Execute() error

type ApiDeleteAffinityGroupRequest

type ApiDeleteAffinityGroupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteAffinityGroupRequest) Execute

type ApiDeleteBackupRequest

type ApiDeleteBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteBackupRequest) Execute

func (r ApiDeleteBackupRequest) Execute() error

func (ApiDeleteBackupRequest) Force

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 {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteImageShareConsumerRequest) Execute

type ApiDeleteImageShareRequest

type ApiDeleteImageShareRequest struct {
	ApiService DefaultAPI
	// 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

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

type ApiDeleteNetworkRequest

type ApiDeleteNetworkRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteNetworkRequest) Execute

func (r ApiDeleteNetworkRequest) Execute() error

type ApiDeleteNicRequest

type ApiDeleteNicRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteNicRequest) Execute

func (r ApiDeleteNicRequest) Execute() error

type ApiDeletePublicIPRequest

type ApiDeletePublicIPRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeletePublicIPRequest) Execute

func (r ApiDeletePublicIPRequest) Execute() error

type ApiDeleteSecurityGroupRequest

type ApiDeleteSecurityGroupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteSecurityGroupRequest) Execute

type ApiDeleteSecurityGroupRuleRequest

type ApiDeleteSecurityGroupRuleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteSecurityGroupRuleRequest) Execute

type ApiDeleteServerRequest

type ApiDeleteServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServerRequest) Execute

func (r ApiDeleteServerRequest) Execute() error

type ApiDeleteSnapshotRequest

type ApiDeleteSnapshotRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteSnapshotRequest) Execute

func (r ApiDeleteSnapshotRequest) Execute() error

type ApiDeleteVolumeRequest

type ApiDeleteVolumeRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteVolumeRequest) Execute

func (r ApiDeleteVolumeRequest) Execute() error

type ApiGetAffinityGroupRequest

type ApiGetAffinityGroupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetAffinityGroupRequest) Execute

type ApiGetAttachedVolumeRequest

type ApiGetAttachedVolumeRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetAttachedVolumeRequest) Execute

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 {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetImageShareConsumerRequest) Execute

type ApiGetImageShareRequest

type ApiGetImageShareRequest struct {
	ApiService DefaultAPI
	// 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

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

type ApiGetProjectDetailsRequest

type ApiGetProjectDetailsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetProjectDetailsRequest) Execute

func (r ApiGetProjectDetailsRequest) Execute() (*Project, error)

type ApiGetProjectNICRequest

type ApiGetProjectNICRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetProjectNICRequest) Execute

func (r ApiGetProjectNICRequest) Execute() (*NIC, error)

type ApiGetProjectRequestRequest

type ApiGetProjectRequestRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetProjectRequestRequest) Execute

func (r ApiGetProjectRequestRequest) Execute() (*Request, error)

type ApiGetPublicIPRequest

type ApiGetPublicIPRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetPublicIPRequest) Execute

func (r ApiGetPublicIPRequest) Execute() (*PublicIp, error)

type ApiGetSecurityGroupRequest

type ApiGetSecurityGroupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetSecurityGroupRequest) Execute

type ApiGetSecurityGroupRuleRequest

type ApiGetSecurityGroupRuleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetSecurityGroupRuleRequest) Execute

type ApiGetServerConsoleRequest

type ApiGetServerConsoleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetServerConsoleRequest) Execute

type ApiGetServerLogRequest

type ApiGetServerLogRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetServerLogRequest) Execute

func (ApiGetServerLogRequest) Length

Request the server log. By default the length is limited to 2000 lines. Set to 0 to retrieve the complete log.

type ApiGetServerRequest

type ApiGetServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetServerRequest) Details

func (r ApiGetServerRequest) Details(details bool) ApiGetServerRequest

Show detailed information about server.

func (ApiGetServerRequest) Execute

func (r ApiGetServerRequest) Execute() (*Server, error)

type ApiGetSnapshotRequest

type ApiGetSnapshotRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetSnapshotRequest) Execute

func (r ApiGetSnapshotRequest) Execute() (*Snapshot, error)

type ApiGetVolumePerformanceClassRequest

type ApiGetVolumePerformanceClassRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetVolumePerformanceClassRequest) Execute

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

type ApiListAttachedVolumesRequest

type ApiListAttachedVolumesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListAttachedVolumesRequest) Execute

type ApiListAvailabilityZonesRequest

type ApiListAvailabilityZonesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListAvailabilityZonesRequest) Execute

type ApiListBackupsRequest

type ApiListBackupsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListBackupsRequest) Execute

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

List all Images.

func (ApiListImagesRequest) Execute

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 (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 (ApiListMachineTypesRequest) Filter

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

type ApiListNetworkAreaRangesRequest

type ApiListNetworkAreaRangesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListNetworkAreaRangesRequest) Execute

type ApiListNetworkAreaRoutesRequest

type ApiListNetworkAreaRoutesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListNetworkAreaRoutesRequest) Execute

func (ApiListNetworkAreaRoutesRequest) LabelSelector

Filter resources by labels.

type ApiListNetworkAreasRequest

type ApiListNetworkAreasRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListNetworkAreasRequest) Execute

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 (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 (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

type ApiListPublicIPsRequest

type ApiListPublicIPsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListPublicIPsRequest) Execute

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

type ApiListSecurityGroupRulesRequest

type ApiListSecurityGroupRulesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListSecurityGroupRulesRequest) Execute

type ApiListSecurityGroupsRequest

type ApiListSecurityGroupsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListSecurityGroupsRequest) Execute

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

type ApiListServerServiceAccountsRequest

type ApiListServerServiceAccountsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListServerServiceAccountsRequest) Execute

type ApiListServersRequest

type ApiListServersRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListServersRequest) Details

Show detailed information about server.

func (ApiListServersRequest) Execute

func (ApiListServersRequest) LabelSelector

func (r ApiListServersRequest) LabelSelector(labelSelector string) ApiListServersRequest

Filter resources by labels.

type ApiListSnapshotsRequest

type ApiListSnapshotsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListSnapshotsRequest) Execute

func (ApiListSnapshotsRequest) LabelSelector

func (r ApiListSnapshotsRequest) LabelSelector(labelSelector string) ApiListSnapshotsRequest

Filter resources by labels.

type ApiListVolumePerformanceClassesRequest

type ApiListVolumePerformanceClassesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListVolumePerformanceClassesRequest) Execute

func (ApiListVolumePerformanceClassesRequest) LabelSelector

Filter resources by labels.

type ApiListVolumesRequest

type ApiListVolumesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListVolumesRequest) Execute

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 (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 (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

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

type ApiRemoveNicFromServerRequest

type ApiRemoveNicFromServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRemoveNicFromServerRequest) Execute

type ApiRemovePublicIpFromServerRequest

type ApiRemovePublicIpFromServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRemovePublicIpFromServerRequest) Execute

type ApiRemoveSecurityGroupFromServerRequest

type ApiRemoveSecurityGroupFromServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRemoveSecurityGroupFromServerRequest) Execute

type ApiRemoveServiceAccountFromServerRequest

type ApiRemoveServiceAccountFromServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRemoveServiceAccountFromServerRequest) Execute

type ApiRemoveVolumeFromServerRequest

type ApiRemoveVolumeFromServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRemoveVolumeFromServerRequest) Execute

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 {
	ApiService DefaultAPI
	// 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 (ApiUpdateAttachedVolumeRequest) UpdateAttachedVolumePayload

func (r ApiUpdateAttachedVolumeRequest) UpdateAttachedVolumePayload(updateAttachedVolumePayload UpdateAttachedVolumePayload) ApiUpdateAttachedVolumeRequest

Request a volume attachment update.

type ApiUpdateBackupRequest

type ApiUpdateBackupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateBackupRequest) Execute

func (r ApiUpdateBackupRequest) Execute() (*Backup, error)

func (ApiUpdateBackupRequest) UpdateBackupPayload

func (r ApiUpdateBackupRequest) UpdateBackupPayload(updateBackupPayload UpdateBackupPayload) ApiUpdateBackupRequest

Request an update of a backup.

type ApiUpdateImageRequest

type ApiUpdateImageRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateImageRequest) Execute

func (r ApiUpdateImageRequest) Execute() (*Image, error)

func (ApiUpdateImageRequest) UpdateImagePayload

func (r ApiUpdateImageRequest) UpdateImagePayload(updateImagePayload UpdateImagePayload) ApiUpdateImageRequest

Request an update of an Image.

type ApiUpdateImageScopeLocalRequest

type ApiUpdateImageScopeLocalRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateImageScopeLocalRequest) Execute

type ApiUpdateImageScopePublicRequest

type ApiUpdateImageScopePublicRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateImageScopePublicRequest) Execute

type ApiUpdateImageShareRequest

type ApiUpdateImageShareRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateImageShareRequest) Execute

func (ApiUpdateImageShareRequest) UpdateImageSharePayload

func (r ApiUpdateImageShareRequest) UpdateImageSharePayload(updateImageSharePayload UpdateImageSharePayload) ApiUpdateImageShareRequest

Update an Image Share.

type ApiUpdateKeyPairRequest

type ApiUpdateKeyPairRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateKeyPairRequest) Execute

func (r ApiUpdateKeyPairRequest) Execute() (*Keypair, error)

func (ApiUpdateKeyPairRequest) UpdateKeyPairPayload

func (r ApiUpdateKeyPairRequest) UpdateKeyPairPayload(updateKeyPairPayload UpdateKeyPairPayload) ApiUpdateKeyPairRequest

Request an update of an SSH keypair.

type ApiUpdateNetworkAreaRouteRequest

type ApiUpdateNetworkAreaRouteRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateNetworkAreaRouteRequest) Execute

func (ApiUpdateNetworkAreaRouteRequest) UpdateNetworkAreaRoutePayload

func (r ApiUpdateNetworkAreaRouteRequest) UpdateNetworkAreaRoutePayload(updateNetworkAreaRoutePayload UpdateNetworkAreaRoutePayload) ApiUpdateNetworkAreaRouteRequest

Request an update of a network route.

type ApiUpdateNicRequest

type ApiUpdateNicRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateNicRequest) Execute

func (r ApiUpdateNicRequest) Execute() (*NIC, error)

func (ApiUpdateNicRequest) UpdateNicPayload

func (r ApiUpdateNicRequest) UpdateNicPayload(updateNicPayload UpdateNicPayload) ApiUpdateNicRequest

Request an update of a network interface.

type ApiUpdatePublicIPRequest

type ApiUpdatePublicIPRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdatePublicIPRequest) Execute

func (r ApiUpdatePublicIPRequest) Execute() (*PublicIp, error)

func (ApiUpdatePublicIPRequest) UpdatePublicIPPayload

func (r ApiUpdatePublicIPRequest) UpdatePublicIPPayload(updatePublicIPPayload UpdatePublicIPPayload) ApiUpdatePublicIPRequest

Request an update of a public IP.

type ApiUpdateSecurityGroupRequest

type ApiUpdateSecurityGroupRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateSecurityGroupRequest) Execute

func (ApiUpdateSecurityGroupRequest) UpdateSecurityGroupPayload

func (r ApiUpdateSecurityGroupRequest) UpdateSecurityGroupPayload(updateSecurityGroupPayload UpdateSecurityGroupPayload) ApiUpdateSecurityGroupRequest

Request an update of a security group.

type ApiUpdateServerRequest

type ApiUpdateServerRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateServerRequest) Execute

func (r ApiUpdateServerRequest) Execute() (*Server, error)

func (ApiUpdateServerRequest) UpdateServerPayload

func (r ApiUpdateServerRequest) UpdateServerPayload(updateServerPayload UpdateServerPayload) ApiUpdateServerRequest

Request an update of a server.

type ApiUpdateSnapshotRequest

type ApiUpdateSnapshotRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateSnapshotRequest) Execute

func (r ApiUpdateSnapshotRequest) Execute() (*Snapshot, error)

func (ApiUpdateSnapshotRequest) UpdateSnapshotPayload

func (r ApiUpdateSnapshotRequest) UpdateSnapshotPayload(updateSnapshotPayload UpdateSnapshotPayload) ApiUpdateSnapshotRequest

Request an update of a snapshot.

type ApiUpdateVolumeRequest

type ApiUpdateVolumeRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateVolumeRequest) Execute

func (r ApiUpdateVolumeRequest) Execute() (*Volume, error)

func (ApiUpdateVolumeRequest) UpdateVolumePayload

func (r ApiUpdateVolumeRequest) UpdateVolumePayload(updateVolumePayload UpdateVolumePayload) ApiUpdateVolumeRequest

Request an update of a volume.

type Area

type Area struct {
	// A list containing DNS Servers/Nameservers for IPv4.
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	NetworkRanges []NetworkRange `json:"networkRanges,omitempty"`
	// A list of routes.
	Routes []Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	TransferNetwork *string `` /* 887-byte string literal not displayed */
}

Area The basic properties of a network area.

func NewArea

func NewArea() *Area

NewArea instantiates a new Area object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAreaWithDefaults

func NewAreaWithDefaults() *Area

NewAreaWithDefaults instantiates a new Area object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Area) GetDefaultNameservers

func (o *Area) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*Area) GetDefaultNameserversOk

func (o *Area) 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 (*Area) GetNetworkRanges

func (o *Area) GetNetworkRanges() []NetworkRange

GetNetworkRanges returns the NetworkRanges field value if set, zero value otherwise.

func (*Area) GetNetworkRangesOk

func (o *Area) GetNetworkRangesOk() ([]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) GetRoutes

func (o *Area) GetRoutes() []Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*Area) GetRoutesOk

func (o *Area) GetRoutesOk() ([]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) GetTransferNetwork

func (o *Area) GetTransferNetwork() string

GetTransferNetwork returns the TransferNetwork field value if set, zero value otherwise.

func (*Area) GetTransferNetworkOk

func (o *Area) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) HasDefaultNameservers

func (o *Area) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*Area) HasNetworkRanges

func (o *Area) HasNetworkRanges() bool

HasNetworkRanges returns a boolean if a field has been set.

func (*Area) HasRoutes

func (o *Area) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*Area) HasTransferNetwork

func (o *Area) HasTransferNetwork() bool

HasTransferNetwork returns a boolean if a field has been set.

func (Area) MarshalJSON

func (o Area) MarshalJSON() ([]byte, error)

func (*Area) SetDefaultNameservers

func (o *Area) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*Area) SetNetworkRanges

func (o *Area) SetNetworkRanges(v []NetworkRange)

SetNetworkRanges gets a reference to the given []NetworkRange and assigns it to the NetworkRanges field.

func (*Area) SetRoutes

func (o *Area) SetRoutes(v []Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*Area) SetTransferNetwork

func (o *Area) SetTransferNetwork(v string)

SetTransferNetwork gets a reference to the given string and assigns it to the TransferNetwork field.

func (Area) ToMap

func (o Area) ToMap() (map[string]interface{}, error)

type AreaConfig

type AreaConfig struct {
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	NetworkRanges []NetworkRange `json:"networkRanges"`
	// A list of routes.
	Routes []Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	TransferNetwork string `` /* 877-byte string literal not displayed */
}

AreaConfig The basic network area object.

func NewAreaConfig

func NewAreaConfig(networkRanges []NetworkRange, transferNetwork string) *AreaConfig

NewAreaConfig instantiates a new AreaConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAreaConfigWithDefaults

func NewAreaConfigWithDefaults() *AreaConfig

NewAreaConfigWithDefaults instantiates a new AreaConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AreaConfig) GetDefaultNameservers

func (o *AreaConfig) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*AreaConfig) GetDefaultNameserversOk

func (o *AreaConfig) GetDefaultNameserversOk() ([]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaConfig) GetNetworkRanges

func (o *AreaConfig) GetNetworkRanges() []NetworkRange

GetNetworkRanges returns the NetworkRanges field value

func (*AreaConfig) GetNetworkRangesOk

func (o *AreaConfig) GetNetworkRangesOk() ([]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.

func (*AreaConfig) GetRoutes

func (o *AreaConfig) GetRoutes() []Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*AreaConfig) GetRoutesOk

func (o *AreaConfig) GetRoutesOk() ([]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaConfig) GetTransferNetwork

func (o *AreaConfig) GetTransferNetwork() string

GetTransferNetwork returns the TransferNetwork field value

func (*AreaConfig) GetTransferNetworkOk

func (o *AreaConfig) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.

func (*AreaConfig) HasDefaultNameservers

func (o *AreaConfig) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*AreaConfig) HasRoutes

func (o *AreaConfig) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (AreaConfig) MarshalJSON

func (o AreaConfig) MarshalJSON() ([]byte, error)

func (*AreaConfig) SetDefaultNameservers

func (o *AreaConfig) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*AreaConfig) SetNetworkRanges

func (o *AreaConfig) SetNetworkRanges(v []NetworkRange)

SetNetworkRanges sets field value

func (*AreaConfig) SetRoutes

func (o *AreaConfig) SetRoutes(v []Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*AreaConfig) SetTransferNetwork

func (o *AreaConfig) SetTransferNetwork(v string)

SetTransferNetwork sets field value

func (AreaConfig) ToMap

func (o AreaConfig) ToMap() (map[string]interface{}, error)

func (*AreaConfig) UnmarshalJSON

func (o *AreaConfig) UnmarshalJSON(data []byte) (err error)

type AreaId

type AreaId struct {
	StaticAreaID *StaticAreaID
	String       *string
}

AreaId - The identifier (ID) of an area.

func StaticAreaIDAsAreaId

func StaticAreaIDAsAreaId(v *StaticAreaID) AreaId

StaticAreaIDAsAreaId is a convenience function that returns StaticAreaID wrapped in AreaId

func StringAsAreaId

func StringAsAreaId(v *string) AreaId

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

func (src AreaId) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AreaId) UnmarshalJSON

func (dst *AreaId) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type AreaPrefixConfigIPv4

type AreaPrefixConfigIPv4 struct {
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}

AreaPrefixConfigIPv4 The IPv4 prefix config for a network area.

func NewAreaPrefixConfigIPv4

func NewAreaPrefixConfigIPv4() *AreaPrefixConfigIPv4

NewAreaPrefixConfigIPv4 instantiates a new AreaPrefixConfigIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAreaPrefixConfigIPv4WithDefaults

func NewAreaPrefixConfigIPv4WithDefaults() *AreaPrefixConfigIPv4

NewAreaPrefixConfigIPv4WithDefaults instantiates a new AreaPrefixConfigIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AreaPrefixConfigIPv4) GetDefaultPrefixLen

func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLen() int32

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*AreaPrefixConfigIPv4) GetDefaultPrefixLenOk

func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLenOk() (*int32, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaPrefixConfigIPv4) GetMaxPrefixLen

func (o *AreaPrefixConfigIPv4) GetMaxPrefixLen() int32

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*AreaPrefixConfigIPv4) GetMaxPrefixLenOk

func (o *AreaPrefixConfigIPv4) GetMaxPrefixLenOk() (*int32, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaPrefixConfigIPv4) GetMinPrefixLen

func (o *AreaPrefixConfigIPv4) GetMinPrefixLen() int32

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*AreaPrefixConfigIPv4) GetMinPrefixLenOk

func (o *AreaPrefixConfigIPv4) GetMinPrefixLenOk() (*int32, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaPrefixConfigIPv4) HasDefaultPrefixLen

func (o *AreaPrefixConfigIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*AreaPrefixConfigIPv4) HasMaxPrefixLen

func (o *AreaPrefixConfigIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*AreaPrefixConfigIPv4) HasMinPrefixLen

func (o *AreaPrefixConfigIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (AreaPrefixConfigIPv4) MarshalJSON

func (o AreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)

func (*AreaPrefixConfigIPv4) SetDefaultPrefixLen

func (o *AreaPrefixConfigIPv4) SetDefaultPrefixLen(v int32)

SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.

func (*AreaPrefixConfigIPv4) SetMaxPrefixLen

func (o *AreaPrefixConfigIPv4) SetMaxPrefixLen(v int32)

SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.

func (*AreaPrefixConfigIPv4) SetMinPrefixLen

func (o *AreaPrefixConfigIPv4) SetMinPrefixLen(v int32)

SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.

func (AreaPrefixConfigIPv4) ToMap

func (o AreaPrefixConfigIPv4) ToMap() (map[string]interface{}, error)

type AvailabilityZoneListResponse

type AvailabilityZoneListResponse struct {
	// A list of availability zones.
	Items []string `json:"items"`
}

AvailabilityZoneListResponse Availability Zone list response.

func NewAvailabilityZoneListResponse

func NewAvailabilityZoneListResponse(items []string) *AvailabilityZoneListResponse

NewAvailabilityZoneListResponse instantiates a new AvailabilityZoneListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAvailabilityZoneListResponseWithDefaults

func NewAvailabilityZoneListResponseWithDefaults() *AvailabilityZoneListResponse

NewAvailabilityZoneListResponseWithDefaults instantiates a new AvailabilityZoneListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AvailabilityZoneListResponse) GetItems

func (o *AvailabilityZoneListResponse) GetItems() []string

GetItems returns the Items field value

func (*AvailabilityZoneListResponse) GetItemsOk

func (o *AvailabilityZoneListResponse) GetItemsOk() ([]string, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (AvailabilityZoneListResponse) MarshalJSON

func (o AvailabilityZoneListResponse) MarshalJSON() ([]byte, error)

func (*AvailabilityZoneListResponse) SetItems

func (o *AvailabilityZoneListResponse) SetItems(v []string)

SetItems sets field value

func (AvailabilityZoneListResponse) ToMap

func (o AvailabilityZoneListResponse) ToMap() (map[string]interface{}, error)

func (*AvailabilityZoneListResponse) UnmarshalJSON

func (o *AvailabilityZoneListResponse) UnmarshalJSON(data []byte) (err error)

type Backup

type Backup struct {
	// Object that represents an availability zone.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Indicates if a volume is encrypted.
	Encrypted *bool `json:"encrypted,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Size in Gigabyte.
	Size *int64 `json:"size,omitempty"`
	// Universally Unique Identifier (UUID).
	SnapshotId *string `json:"snapshotId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// The status of a backup object. Possible values: `AVAILABLE`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Universally Unique Identifier (UUID).
	VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

Backup Object that represents a backup.

func NewBackup

func NewBackup() *Backup

NewBackup instantiates a new Backup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBackupWithDefaults

func NewBackupWithDefaults() *Backup

NewBackupWithDefaults instantiates a new Backup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Backup) GetAvailabilityZone

func (o *Backup) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*Backup) GetAvailabilityZoneOk

func (o *Backup) 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 (*Backup) GetCreatedAt

func (o *Backup) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Backup) GetCreatedAtOk

func (o *Backup) 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 (*Backup) GetEncrypted

func (o *Backup) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*Backup) GetEncryptedOk

func (o *Backup) 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 (*Backup) GetId

func (o *Backup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Backup) GetIdOk

func (o *Backup) 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 (*Backup) GetLabels

func (o *Backup) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Backup) GetLabelsOk

func (o *Backup) 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 (*Backup) GetName

func (o *Backup) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Backup) GetNameOk

func (o *Backup) 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 (*Backup) GetSize

func (o *Backup) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*Backup) GetSizeOk

func (o *Backup) 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 (*Backup) GetSnapshotId

func (o *Backup) GetSnapshotId() string

GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.

func (*Backup) GetSnapshotIdOk

func (o *Backup) 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 (*Backup) GetStatus

func (o *Backup) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Backup) GetStatusOk

func (o *Backup) 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 (*Backup) GetUpdatedAt

func (o *Backup) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Backup) GetUpdatedAtOk

func (o *Backup) 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 (*Backup) GetVolumeId

func (o *Backup) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*Backup) GetVolumeIdOk

func (o *Backup) 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 (*Backup) HasAvailabilityZone

func (o *Backup) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*Backup) HasCreatedAt

func (o *Backup) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Backup) HasEncrypted

func (o *Backup) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*Backup) HasId

func (o *Backup) HasId() bool

HasId returns a boolean if a field has been set.

func (*Backup) HasLabels

func (o *Backup) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Backup) HasName

func (o *Backup) HasName() bool

HasName returns a boolean if a field has been set.

func (*Backup) HasSize

func (o *Backup) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Backup) HasSnapshotId

func (o *Backup) HasSnapshotId() bool

HasSnapshotId returns a boolean if a field has been set.

func (*Backup) HasStatus

func (o *Backup) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Backup) HasUpdatedAt

func (o *Backup) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Backup) HasVolumeId

func (o *Backup) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (Backup) MarshalJSON

func (o Backup) MarshalJSON() ([]byte, error)

func (*Backup) SetAvailabilityZone

func (o *Backup) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*Backup) SetCreatedAt

func (o *Backup) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Backup) SetEncrypted

func (o *Backup) SetEncrypted(v bool)

SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.

func (*Backup) SetId

func (o *Backup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Backup) SetLabels

func (o *Backup) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Backup) SetName

func (o *Backup) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Backup) SetSize

func (o *Backup) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*Backup) SetSnapshotId

func (o *Backup) SetSnapshotId(v string)

SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.

func (*Backup) SetStatus

func (o *Backup) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Backup) SetUpdatedAt

func (o *Backup) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Backup) SetVolumeId

func (o *Backup) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (Backup) ToMap

func (o Backup) ToMap() (map[string]interface{}, error)

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) GetId

func (o *BackupSource) GetId() string

GetId returns the Id field value

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) SetId

func (o *BackupSource) SetId(v string)

SetId sets field value

func (*BackupSource) SetType

func (o *BackupSource) SetType(v string)

SetType sets field value

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) SetId

func (o *BootVolumeSource) SetId(v string)

SetId sets field value

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

GetId returns the Id field value if set, zero value otherwise.

func (*CreateAffinityGroupPayload) GetIdOk

func (o *CreateAffinityGroupPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAffinityGroupPayload) GetMembers

func (o *CreateAffinityGroupPayload) GetMembers() []string

GetMembers returns the Members field value if set, zero value otherwise.

func (*CreateAffinityGroupPayload) GetMembersOk

func (o *CreateAffinityGroupPayload) GetMembersOk() ([]string, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAffinityGroupPayload) GetName

func (o *CreateAffinityGroupPayload) GetName() string

GetName returns the Name field value

func (*CreateAffinityGroupPayload) GetNameOk

func (o *CreateAffinityGroupPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateAffinityGroupPayload) GetPolicy

func (o *CreateAffinityGroupPayload) GetPolicy() string

GetPolicy returns the Policy field value

func (*CreateAffinityGroupPayload) GetPolicyOk

func (o *CreateAffinityGroupPayload) GetPolicyOk() (*string, bool)

GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.

func (*CreateAffinityGroupPayload) HasId

func (o *CreateAffinityGroupPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateAffinityGroupPayload) HasMembers

func (o *CreateAffinityGroupPayload) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (CreateAffinityGroupPayload) MarshalJSON

func (o CreateAffinityGroupPayload) MarshalJSON() ([]byte, error)

func (*CreateAffinityGroupPayload) SetId

func (o *CreateAffinityGroupPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateAffinityGroupPayload) SetMembers

func (o *CreateAffinityGroupPayload) SetMembers(v []string)

SetMembers gets a reference to the given []string and assigns it to the Members field.

func (*CreateAffinityGroupPayload) SetName

func (o *CreateAffinityGroupPayload) SetName(v string)

SetName sets field value

func (*CreateAffinityGroupPayload) SetPolicy

func (o *CreateAffinityGroupPayload) SetPolicy(v string)

SetPolicy sets field value

func (CreateAffinityGroupPayload) ToMap

func (o CreateAffinityGroupPayload) ToMap() (map[string]interface{}, error)

func (*CreateAffinityGroupPayload) UnmarshalJSON

func (o *CreateAffinityGroupPayload) UnmarshalJSON(data []byte) (err error)

type CreateAreaAddressFamily

type CreateAreaAddressFamily struct {
	Ipv4 *CreateAreaIPv4 `json:"ipv4,omitempty"`
}

CreateAreaAddressFamily The addressFamily object for a area create request.

func NewCreateAreaAddressFamily

func NewCreateAreaAddressFamily() *CreateAreaAddressFamily

NewCreateAreaAddressFamily instantiates a new CreateAreaAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAreaAddressFamilyWithDefaults

func NewCreateAreaAddressFamilyWithDefaults() *CreateAreaAddressFamily

NewCreateAreaAddressFamilyWithDefaults instantiates a new CreateAreaAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAreaAddressFamily) GetIpv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateAreaAddressFamily) GetIpv4Ok

func (o *CreateAreaAddressFamily) GetIpv4Ok() (*CreateAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaAddressFamily) HasIpv4

func (o *CreateAreaAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (CreateAreaAddressFamily) MarshalJSON

func (o CreateAreaAddressFamily) MarshalJSON() ([]byte, error)

func (*CreateAreaAddressFamily) SetIpv4

SetIpv4 gets a reference to the given CreateAreaIPv4 and assigns it to the Ipv4 field.

func (CreateAreaAddressFamily) ToMap

func (o CreateAreaAddressFamily) ToMap() (map[string]interface{}, error)

type CreateAreaIPv4

type CreateAreaIPv4 struct {
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	NetworkRanges []NetworkRange `json:"networkRanges"`
	// A list of routes.
	Routes []Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	TransferNetwork string `` /* 877-byte string literal not displayed */
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}

CreateAreaIPv4 The config object for a IPv4 network area.

func NewCreateAreaIPv4

func NewCreateAreaIPv4(networkRanges []NetworkRange, transferNetwork string) *CreateAreaIPv4

NewCreateAreaIPv4 instantiates a new CreateAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAreaIPv4WithDefaults

func NewCreateAreaIPv4WithDefaults() *CreateAreaIPv4

NewCreateAreaIPv4WithDefaults instantiates a new CreateAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAreaIPv4) GetDefaultNameservers

func (o *CreateAreaIPv4) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetDefaultNameserversOk

func (o *CreateAreaIPv4) GetDefaultNameserversOk() ([]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetDefaultPrefixLen

func (o *CreateAreaIPv4) GetDefaultPrefixLen() int32

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetDefaultPrefixLenOk

func (o *CreateAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetMaxPrefixLen

func (o *CreateAreaIPv4) GetMaxPrefixLen() int32

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetMaxPrefixLenOk

func (o *CreateAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetMinPrefixLen

func (o *CreateAreaIPv4) GetMinPrefixLen() int32

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetMinPrefixLenOk

func (o *CreateAreaIPv4) GetMinPrefixLenOk() (*int32, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetNetworkRanges

func (o *CreateAreaIPv4) GetNetworkRanges() []NetworkRange

GetNetworkRanges returns the NetworkRanges field value

func (*CreateAreaIPv4) GetNetworkRangesOk

func (o *CreateAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetRoutes

func (o *CreateAreaIPv4) GetRoutes() []Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetRoutesOk

func (o *CreateAreaIPv4) GetRoutesOk() ([]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetTransferNetwork

func (o *CreateAreaIPv4) GetTransferNetwork() string

GetTransferNetwork returns the TransferNetwork field value

func (*CreateAreaIPv4) GetTransferNetworkOk

func (o *CreateAreaIPv4) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.

func (*CreateAreaIPv4) HasDefaultNameservers

func (o *CreateAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasDefaultPrefixLen

func (o *CreateAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasMaxPrefixLen

func (o *CreateAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasMinPrefixLen

func (o *CreateAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasRoutes

func (o *CreateAreaIPv4) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (CreateAreaIPv4) MarshalJSON

func (o CreateAreaIPv4) MarshalJSON() ([]byte, error)

func (*CreateAreaIPv4) SetDefaultNameservers

func (o *CreateAreaIPv4) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*CreateAreaIPv4) SetDefaultPrefixLen

func (o *CreateAreaIPv4) SetDefaultPrefixLen(v int32)

SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.

func (*CreateAreaIPv4) SetMaxPrefixLen

func (o *CreateAreaIPv4) SetMaxPrefixLen(v int32)

SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.

func (*CreateAreaIPv4) SetMinPrefixLen

func (o *CreateAreaIPv4) SetMinPrefixLen(v int32)

SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.

func (*CreateAreaIPv4) SetNetworkRanges

func (o *CreateAreaIPv4) SetNetworkRanges(v []NetworkRange)

SetNetworkRanges sets field value

func (*CreateAreaIPv4) SetRoutes

func (o *CreateAreaIPv4) SetRoutes(v []Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*CreateAreaIPv4) SetTransferNetwork

func (o *CreateAreaIPv4) SetTransferNetwork(v string)

SetTransferNetwork sets field value

func (CreateAreaIPv4) ToMap

func (o CreateAreaIPv4) ToMap() (map[string]interface{}, error)

func (*CreateAreaIPv4) UnmarshalJSON

func (o *CreateAreaIPv4) UnmarshalJSON(data []byte) (err error)

type CreateBackupPayload

type CreateBackupPayload struct {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name   *string      `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	Source BackupSource `json:"source"`
}

CreateBackupPayload Object that represents a backup create request body.

func NewCreateBackupPayload

func NewCreateBackupPayload(source BackupSource) *CreateBackupPayload

NewCreateBackupPayload instantiates a new CreateBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateBackupPayloadWithDefaults

func NewCreateBackupPayloadWithDefaults() *CreateBackupPayload

NewCreateBackupPayloadWithDefaults instantiates a new CreateBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateBackupPayload) GetLabels

func (o *CreateBackupPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateBackupPayload) GetLabelsOk

func (o *CreateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateBackupPayload) GetName

func (o *CreateBackupPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateBackupPayload) GetNameOk

func (o *CreateBackupPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateBackupPayload) GetSource

func (o *CreateBackupPayload) GetSource() BackupSource

GetSource returns the Source field value

func (*CreateBackupPayload) GetSourceOk

func (o *CreateBackupPayload) GetSourceOk() (*BackupSource, bool)

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.

func (*CreateBackupPayload) HasLabels

func (o *CreateBackupPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateBackupPayload) HasName

func (o *CreateBackupPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateBackupPayload) MarshalJSON

func (o CreateBackupPayload) MarshalJSON() ([]byte, error)

func (*CreateBackupPayload) SetLabels

func (o *CreateBackupPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateBackupPayload) SetName

func (o *CreateBackupPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateBackupPayload) SetSource

func (o *CreateBackupPayload) SetSource(v BackupSource)

SetSource sets field value

func (CreateBackupPayload) ToMap

func (o CreateBackupPayload) ToMap() (map[string]interface{}, error)

func (*CreateBackupPayload) UnmarshalJSON

func (o *CreateBackupPayload) UnmarshalJSON(data []byte) (err error)

type CreateImagePayload

type CreateImagePayload struct {
	Agent    *ImageAgent    `json:"agent,omitempty"`
	Checksum *ImageChecksum `json:"checksum,omitempty"`
	Config   *ImageConfig   `json:"config,omitempty"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`.
	DiskFormat string `json:"diskFormat"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Indicates Image Import Progress in percent.
	ImportProgress *int64 `json:"importProgress,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Size in Gigabyte.
	MinDiskSize *int64 `json:"minDiskSize,omitempty"`
	// Size in Megabyte.
	MinRam *int64 `json:"minRam,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Universally Unique Identifier (UUID).
	Owner *string `json:"owner,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// When true the image is prevented from being deleted.
	Protected *bool `json:"protected,omitempty"`
	// Scope of an Image. Possible values: `public`, `local`, `projects`, `organization`.
	Scope *string `json:"scope,omitempty"`
	// Size in bytes.
	Size *int64 `json:"size,omitempty"`
	// The status of an image object. Possible values: `AVAILABLE`, `CREATING`, `DEACTIVATED`, `DELETED`, `DELETING`, `ERROR`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

CreateImagePayload Object that represents an Image and its parameters. Used for Creating and returning (get/list).

func NewCreateImagePayload

func NewCreateImagePayload(diskFormat string, name string) *CreateImagePayload

NewCreateImagePayload instantiates a new CreateImagePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateImagePayloadWithDefaults

func NewCreateImagePayloadWithDefaults() *CreateImagePayload

NewCreateImagePayloadWithDefaults instantiates a new CreateImagePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateImagePayload) GetAgent

func (o *CreateImagePayload) GetAgent() ImageAgent

GetAgent returns the Agent field value if set, zero value otherwise.

func (*CreateImagePayload) GetAgentOk

func (o *CreateImagePayload) GetAgentOk() (*ImageAgent, bool)

GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetChecksum

func (o *CreateImagePayload) GetChecksum() ImageChecksum

GetChecksum returns the Checksum field value if set, zero value otherwise.

func (*CreateImagePayload) GetChecksumOk

func (o *CreateImagePayload) GetChecksumOk() (*ImageChecksum, bool)

GetChecksumOk returns a tuple with the Checksum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetConfig

func (o *CreateImagePayload) GetConfig() ImageConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*CreateImagePayload) GetConfigOk

func (o *CreateImagePayload) GetConfigOk() (*ImageConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetCreatedAt

func (o *CreateImagePayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateImagePayload) GetCreatedAtOk

func (o *CreateImagePayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetDiskFormat

func (o *CreateImagePayload) GetDiskFormat() string

GetDiskFormat returns the DiskFormat field value

func (*CreateImagePayload) GetDiskFormatOk

func (o *CreateImagePayload) GetDiskFormatOk() (*string, bool)

GetDiskFormatOk returns a tuple with the DiskFormat field value and a boolean to check if the value has been set.

func (*CreateImagePayload) GetId

func (o *CreateImagePayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateImagePayload) GetIdOk

func (o *CreateImagePayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetImportProgress

func (o *CreateImagePayload) GetImportProgress() int64

GetImportProgress returns the ImportProgress field value if set, zero value otherwise.

func (*CreateImagePayload) GetImportProgressOk

func (o *CreateImagePayload) GetImportProgressOk() (*int64, bool)

GetImportProgressOk returns a tuple with the ImportProgress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetLabels

func (o *CreateImagePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateImagePayload) GetLabelsOk

func (o *CreateImagePayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetMinDiskSize

func (o *CreateImagePayload) GetMinDiskSize() int64

GetMinDiskSize returns the MinDiskSize field value if set, zero value otherwise.

func (*CreateImagePayload) GetMinDiskSizeOk

func (o *CreateImagePayload) GetMinDiskSizeOk() (*int64, bool)

GetMinDiskSizeOk returns a tuple with the MinDiskSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetMinRam

func (o *CreateImagePayload) GetMinRam() int64

GetMinRam returns the MinRam field value if set, zero value otherwise.

func (*CreateImagePayload) GetMinRamOk

func (o *CreateImagePayload) GetMinRamOk() (*int64, bool)

GetMinRamOk returns a tuple with the MinRam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetName

func (o *CreateImagePayload) GetName() string

GetName returns the Name field value

func (*CreateImagePayload) GetNameOk

func (o *CreateImagePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateImagePayload) GetOwner

func (o *CreateImagePayload) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*CreateImagePayload) GetOwnerOk

func (o *CreateImagePayload) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetProtected

func (o *CreateImagePayload) GetProtected() bool

GetProtected returns the Protected field value if set, zero value otherwise.

func (*CreateImagePayload) GetProtectedOk

func (o *CreateImagePayload) GetProtectedOk() (*bool, bool)

GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetScope

func (o *CreateImagePayload) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*CreateImagePayload) GetScopeOk

func (o *CreateImagePayload) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetSize

func (o *CreateImagePayload) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*CreateImagePayload) GetSizeOk

func (o *CreateImagePayload) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetStatus

func (o *CreateImagePayload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CreateImagePayload) GetStatusOk

func (o *CreateImagePayload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) GetUpdatedAt

func (o *CreateImagePayload) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CreateImagePayload) GetUpdatedAtOk

func (o *CreateImagePayload) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateImagePayload) HasAgent

func (o *CreateImagePayload) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*CreateImagePayload) HasChecksum

func (o *CreateImagePayload) HasChecksum() bool

HasChecksum returns a boolean if a field has been set.

func (*CreateImagePayload) HasConfig

func (o *CreateImagePayload) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateImagePayload) HasCreatedAt

func (o *CreateImagePayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateImagePayload) HasId

func (o *CreateImagePayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateImagePayload) HasImportProgress

func (o *CreateImagePayload) HasImportProgress() bool

HasImportProgress returns a boolean if a field has been set.

func (*CreateImagePayload) HasLabels

func (o *CreateImagePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateImagePayload) HasMinDiskSize

func (o *CreateImagePayload) HasMinDiskSize() bool

HasMinDiskSize returns a boolean if a field has been set.

func (*CreateImagePayload) HasMinRam

func (o *CreateImagePayload) HasMinRam() bool

HasMinRam returns a boolean if a field has been set.

func (*CreateImagePayload) HasOwner

func (o *CreateImagePayload) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*CreateImagePayload) HasProtected

func (o *CreateImagePayload) HasProtected() bool

HasProtected returns a boolean if a field has been set.

func (*CreateImagePayload) HasScope

func (o *CreateImagePayload) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*CreateImagePayload) HasSize

func (o *CreateImagePayload) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*CreateImagePayload) HasStatus

func (o *CreateImagePayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateImagePayload) HasUpdatedAt

func (o *CreateImagePayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CreateImagePayload) MarshalJSON

func (o CreateImagePayload) MarshalJSON() ([]byte, error)

func (*CreateImagePayload) SetAgent

func (o *CreateImagePayload) SetAgent(v ImageAgent)

SetAgent gets a reference to the given ImageAgent and assigns it to the Agent field.

func (*CreateImagePayload) SetChecksum

func (o *CreateImagePayload) SetChecksum(v ImageChecksum)

SetChecksum gets a reference to the given ImageChecksum and assigns it to the Checksum field.

func (*CreateImagePayload) SetConfig

func (o *CreateImagePayload) SetConfig(v ImageConfig)

SetConfig gets a reference to the given ImageConfig and assigns it to the Config field.

func (*CreateImagePayload) SetCreatedAt

func (o *CreateImagePayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateImagePayload) SetDiskFormat

func (o *CreateImagePayload) SetDiskFormat(v string)

SetDiskFormat sets field value

func (*CreateImagePayload) SetId

func (o *CreateImagePayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateImagePayload) SetImportProgress

func (o *CreateImagePayload) SetImportProgress(v int64)

SetImportProgress gets a reference to the given int64 and assigns it to the ImportProgress field.

func (*CreateImagePayload) SetLabels

func (o *CreateImagePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateImagePayload) SetMinDiskSize

func (o *CreateImagePayload) SetMinDiskSize(v int64)

SetMinDiskSize gets a reference to the given int64 and assigns it to the MinDiskSize field.

func (*CreateImagePayload) SetMinRam

func (o *CreateImagePayload) SetMinRam(v int64)

SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.

func (*CreateImagePayload) SetName

func (o *CreateImagePayload) SetName(v string)

SetName sets field value

func (*CreateImagePayload) SetOwner

func (o *CreateImagePayload) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*CreateImagePayload) SetProtected

func (o *CreateImagePayload) SetProtected(v bool)

SetProtected gets a reference to the given bool and assigns it to the Protected field.

func (*CreateImagePayload) SetScope

func (o *CreateImagePayload) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*CreateImagePayload) SetSize

func (o *CreateImagePayload) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*CreateImagePayload) SetStatus

func (o *CreateImagePayload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CreateImagePayload) SetUpdatedAt

func (o *CreateImagePayload) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (CreateImagePayload) ToMap

func (o CreateImagePayload) ToMap() (map[string]interface{}, error)

func (*CreateImagePayload) UnmarshalJSON

func (o *CreateImagePayload) UnmarshalJSON(data []byte) (err error)

type CreateKeyPairPayload

type CreateKeyPairPayload struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Object that represents an SSH keypair MD5 fingerprint.
	Fingerprint *string `json:"fingerprint,omitempty" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){15}([0-9A-Fa-f]{2})$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name of an SSH keypair. Allowed characters are letters [a-zA-Z], digits [0-9] and the following special characters: [@._-].
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9@._-]*$"`
	// Object that represents a public SSH key.
	PublicKey string `` /* 135-byte string literal not displayed */
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

CreateKeyPairPayload Object that represents the public key of an SSH keypair and its name.

func NewCreateKeyPairPayload

func NewCreateKeyPairPayload(publicKey string) *CreateKeyPairPayload

NewCreateKeyPairPayload instantiates a new CreateKeyPairPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateKeyPairPayloadWithDefaults

func NewCreateKeyPairPayloadWithDefaults() *CreateKeyPairPayload

NewCreateKeyPairPayloadWithDefaults instantiates a new CreateKeyPairPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateKeyPairPayload) GetCreatedAt

func (o *CreateKeyPairPayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateKeyPairPayload) GetCreatedAtOk

func (o *CreateKeyPairPayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPairPayload) GetFingerprint

func (o *CreateKeyPairPayload) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*CreateKeyPairPayload) GetFingerprintOk

func (o *CreateKeyPairPayload) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPairPayload) GetLabels

func (o *CreateKeyPairPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateKeyPairPayload) GetLabelsOk

func (o *CreateKeyPairPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPairPayload) GetName

func (o *CreateKeyPairPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateKeyPairPayload) GetNameOk

func (o *CreateKeyPairPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPairPayload) GetPublicKey

func (o *CreateKeyPairPayload) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*CreateKeyPairPayload) GetPublicKeyOk

func (o *CreateKeyPairPayload) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (*CreateKeyPairPayload) GetUpdatedAt

func (o *CreateKeyPairPayload) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CreateKeyPairPayload) GetUpdatedAtOk

func (o *CreateKeyPairPayload) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKeyPairPayload) HasCreatedAt

func (o *CreateKeyPairPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasFingerprint

func (o *CreateKeyPairPayload) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasLabels

func (o *CreateKeyPairPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasName

func (o *CreateKeyPairPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasUpdatedAt

func (o *CreateKeyPairPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CreateKeyPairPayload) MarshalJSON

func (o CreateKeyPairPayload) MarshalJSON() ([]byte, error)

func (*CreateKeyPairPayload) SetCreatedAt

func (o *CreateKeyPairPayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateKeyPairPayload) SetFingerprint

func (o *CreateKeyPairPayload) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*CreateKeyPairPayload) SetLabels

func (o *CreateKeyPairPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateKeyPairPayload) SetName

func (o *CreateKeyPairPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateKeyPairPayload) SetPublicKey

func (o *CreateKeyPairPayload) SetPublicKey(v string)

SetPublicKey sets field value

func (*CreateKeyPairPayload) SetUpdatedAt

func (o *CreateKeyPairPayload) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (CreateKeyPairPayload) ToMap

func (o CreateKeyPairPayload) ToMap() (map[string]interface{}, error)

func (*CreateKeyPairPayload) UnmarshalJSON

func (o *CreateKeyPairPayload) UnmarshalJSON(data []byte) (err error)

type CreateNetworkAddressFamily

type CreateNetworkAddressFamily struct {
	Ipv4 *CreateNetworkIPv4Body `json:"ipv4,omitempty"`
	Ipv6 *CreateNetworkIPv6Body `json:"ipv6,omitempty"`
}

CreateNetworkAddressFamily The addressFamily object for a network create request.

func NewCreateNetworkAddressFamily

func NewCreateNetworkAddressFamily() *CreateNetworkAddressFamily

NewCreateNetworkAddressFamily instantiates a new CreateNetworkAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAddressFamilyWithDefaults

func NewCreateNetworkAddressFamilyWithDefaults() *CreateNetworkAddressFamily

NewCreateNetworkAddressFamilyWithDefaults instantiates a new CreateNetworkAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAddressFamily) GetIpv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateNetworkAddressFamily) 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 (*CreateNetworkAddressFamily) GetIpv6

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*CreateNetworkAddressFamily) 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 (*CreateNetworkAddressFamily) HasIpv4

func (o *CreateNetworkAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNetworkAddressFamily) HasIpv6

func (o *CreateNetworkAddressFamily) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (CreateNetworkAddressFamily) MarshalJSON

func (o CreateNetworkAddressFamily) MarshalJSON() ([]byte, error)

func (*CreateNetworkAddressFamily) SetIpv4

SetIpv4 gets a reference to the given CreateNetworkIPv4Body and assigns it to the Ipv4 field.

func (*CreateNetworkAddressFamily) SetIpv6

SetIpv6 gets a reference to the given CreateNetworkIPv6Body and assigns it to the Ipv6 field.

func (CreateNetworkAddressFamily) ToMap

func (o CreateNetworkAddressFamily) ToMap() (map[string]interface{}, error)

type CreateNetworkAreaPayload

type CreateNetworkAreaPayload struct {
	AddressFamily CreateAreaAddressFamily `json:"addressFamily"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}

CreateNetworkAreaPayload struct for CreateNetworkAreaPayload

func NewCreateNetworkAreaPayload

func NewCreateNetworkAreaPayload(addressFamily CreateAreaAddressFamily, name string) *CreateNetworkAreaPayload

NewCreateNetworkAreaPayload instantiates a new CreateNetworkAreaPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAreaPayloadWithDefaults

func NewCreateNetworkAreaPayloadWithDefaults() *CreateNetworkAreaPayload

NewCreateNetworkAreaPayloadWithDefaults instantiates a new CreateNetworkAreaPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAreaPayload) GetAddressFamily

func (o *CreateNetworkAreaPayload) GetAddressFamily() CreateAreaAddressFamily

GetAddressFamily returns the AddressFamily field value

func (*CreateNetworkAreaPayload) GetAddressFamilyOk

func (o *CreateNetworkAreaPayload) GetAddressFamilyOk() (*CreateAreaAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value and a boolean to check if the value has been set.

func (*CreateNetworkAreaPayload) GetLabels

func (o *CreateNetworkAreaPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateNetworkAreaPayload) GetLabelsOk

func (o *CreateNetworkAreaPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAreaPayload) GetName

func (o *CreateNetworkAreaPayload) GetName() string

GetName returns the Name field value

func (*CreateNetworkAreaPayload) GetNameOk

func (o *CreateNetworkAreaPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateNetworkAreaPayload) HasLabels

func (o *CreateNetworkAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (CreateNetworkAreaPayload) MarshalJSON

func (o CreateNetworkAreaPayload) MarshalJSON() ([]byte, error)

func (*CreateNetworkAreaPayload) SetAddressFamily

func (o *CreateNetworkAreaPayload) SetAddressFamily(v CreateAreaAddressFamily)

SetAddressFamily sets field value

func (*CreateNetworkAreaPayload) SetLabels

func (o *CreateNetworkAreaPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateNetworkAreaPayload) SetName

func (o *CreateNetworkAreaPayload) SetName(v string)

SetName sets field value

func (CreateNetworkAreaPayload) ToMap

func (o CreateNetworkAreaPayload) ToMap() (map[string]interface{}, error)

func (*CreateNetworkAreaPayload) UnmarshalJSON

func (o *CreateNetworkAreaPayload) UnmarshalJSON(data []byte) (err error)

type CreateNetworkAreaRangePayload

type CreateNetworkAreaRangePayload struct {
	// A list of network ranges.
	Ipv4 []NetworkRange `json:"ipv4,omitempty"`
}

CreateNetworkAreaRangePayload struct for CreateNetworkAreaRangePayload

func NewCreateNetworkAreaRangePayload

func NewCreateNetworkAreaRangePayload() *CreateNetworkAreaRangePayload

NewCreateNetworkAreaRangePayload instantiates a new CreateNetworkAreaRangePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAreaRangePayloadWithDefaults

func NewCreateNetworkAreaRangePayloadWithDefaults() *CreateNetworkAreaRangePayload

NewCreateNetworkAreaRangePayloadWithDefaults instantiates a new CreateNetworkAreaRangePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAreaRangePayload) GetIpv4

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

SetIpv4 gets a reference to the given []NetworkRange and assigns it to the Ipv4 field.

func (CreateNetworkAreaRangePayload) ToMap

func (o CreateNetworkAreaRangePayload) ToMap() (map[string]interface{}, error)

type CreateNetworkAreaRoutePayload

type CreateNetworkAreaRoutePayload struct {
	// A list of routes.
	Ipv4 []Route `json:"ipv4,omitempty"`
}

CreateNetworkAreaRoutePayload struct for CreateNetworkAreaRoutePayload

func NewCreateNetworkAreaRoutePayload

func NewCreateNetworkAreaRoutePayload() *CreateNetworkAreaRoutePayload

NewCreateNetworkAreaRoutePayload instantiates a new CreateNetworkAreaRoutePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAreaRoutePayloadWithDefaults

func NewCreateNetworkAreaRoutePayloadWithDefaults() *CreateNetworkAreaRoutePayload

NewCreateNetworkAreaRoutePayloadWithDefaults instantiates a new CreateNetworkAreaRoutePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAreaRoutePayload) GetIpv4

func (o *CreateNetworkAreaRoutePayload) GetIpv4() []Route

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateNetworkAreaRoutePayload) GetIpv4Ok

func (o *CreateNetworkAreaRoutePayload) GetIpv4Ok() ([]Route, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAreaRoutePayload) HasIpv4

func (o *CreateNetworkAreaRoutePayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (CreateNetworkAreaRoutePayload) MarshalJSON

func (o CreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)

func (*CreateNetworkAreaRoutePayload) SetIpv4

func (o *CreateNetworkAreaRoutePayload) SetIpv4(v []Route)

SetIpv4 gets a reference to the given []Route and assigns it to the Ipv4 field.

func (CreateNetworkAreaRoutePayload) ToMap

func (o CreateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)

type CreateNetworkIPv4Body

type CreateNetworkIPv4Body struct {
	// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1386-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers []string `json:"nameservers,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	Prefix       *string `` /* 878-byte string literal not displayed */
	PrefixLength *int32  `json:"prefixLength,omitempty"`
}

CreateNetworkIPv4Body The config object for an IPv4 network.

func NewCreateNetworkIPv4Body

func NewCreateNetworkIPv4Body() *CreateNetworkIPv4Body

NewCreateNetworkIPv4Body instantiates a new CreateNetworkIPv4Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkIPv4BodyWithDefaults

func NewCreateNetworkIPv4BodyWithDefaults() *CreateNetworkIPv4Body

NewCreateNetworkIPv4BodyWithDefaults instantiates a new CreateNetworkIPv4Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkIPv4Body) GetGateway

func (o *CreateNetworkIPv4Body) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateNetworkIPv4Body) GetGatewayOk

func (o *CreateNetworkIPv4Body) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNetworkIPv4Body) GetNameservers

func (o *CreateNetworkIPv4Body) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*CreateNetworkIPv4Body) GetNameserversOk

func (o *CreateNetworkIPv4Body) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv4Body) GetPrefix

func (o *CreateNetworkIPv4Body) GetPrefix() string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*CreateNetworkIPv4Body) GetPrefixLength

func (o *CreateNetworkIPv4Body) GetPrefixLength() int32

GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.

func (*CreateNetworkIPv4Body) GetPrefixLengthOk

func (o *CreateNetworkIPv4Body) GetPrefixLengthOk() (*int32, bool)

GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv4Body) GetPrefixOk

func (o *CreateNetworkIPv4Body) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv4Body) HasGateway

func (o *CreateNetworkIPv4Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) HasNameservers

func (o *CreateNetworkIPv4Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) HasPrefix

func (o *CreateNetworkIPv4Body) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) HasPrefixLength

func (o *CreateNetworkIPv4Body) HasPrefixLength() bool

HasPrefixLength returns a boolean if a field has been set.

func (CreateNetworkIPv4Body) MarshalJSON

func (o CreateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*CreateNetworkIPv4Body) SetGateway

func (o *CreateNetworkIPv4Body) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*CreateNetworkIPv4Body) SetGatewayNil

func (o *CreateNetworkIPv4Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*CreateNetworkIPv4Body) SetNameservers

func (o *CreateNetworkIPv4Body) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*CreateNetworkIPv4Body) SetPrefix

func (o *CreateNetworkIPv4Body) SetPrefix(v string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*CreateNetworkIPv4Body) SetPrefixLength

func (o *CreateNetworkIPv4Body) SetPrefixLength(v int32)

SetPrefixLength gets a reference to the given int32 and assigns it to the PrefixLength field.

func (CreateNetworkIPv4Body) ToMap

func (o CreateNetworkIPv4Body) ToMap() (map[string]interface{}, error)

func (*CreateNetworkIPv4Body) UnsetGateway

func (o *CreateNetworkIPv4Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type CreateNetworkIPv6Body

type CreateNetworkIPv6Body struct {
	// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1386-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers []string `json:"nameservers,omitempty"`
	// Classless Inter-Domain Routing (CIDR) for IPv6.
	Prefix       *string `` /* 756-byte string literal not displayed */
	PrefixLength *int32  `json:"prefixLength,omitempty"`
}

CreateNetworkIPv6Body The config object for an IPv6 network.

func NewCreateNetworkIPv6Body

func NewCreateNetworkIPv6Body() *CreateNetworkIPv6Body

NewCreateNetworkIPv6Body instantiates a new CreateNetworkIPv6Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkIPv6BodyWithDefaults

func NewCreateNetworkIPv6BodyWithDefaults() *CreateNetworkIPv6Body

NewCreateNetworkIPv6BodyWithDefaults instantiates a new CreateNetworkIPv6Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkIPv6Body) GetGateway

func (o *CreateNetworkIPv6Body) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateNetworkIPv6Body) GetGatewayOk

func (o *CreateNetworkIPv6Body) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNetworkIPv6Body) GetNameservers

func (o *CreateNetworkIPv6Body) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*CreateNetworkIPv6Body) GetNameserversOk

func (o *CreateNetworkIPv6Body) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv6Body) GetPrefix

func (o *CreateNetworkIPv6Body) GetPrefix() string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*CreateNetworkIPv6Body) GetPrefixLength

func (o *CreateNetworkIPv6Body) GetPrefixLength() int32

GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.

func (*CreateNetworkIPv6Body) GetPrefixLengthOk

func (o *CreateNetworkIPv6Body) GetPrefixLengthOk() (*int32, bool)

GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv6Body) GetPrefixOk

func (o *CreateNetworkIPv6Body) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv6Body) HasGateway

func (o *CreateNetworkIPv6Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) HasNameservers

func (o *CreateNetworkIPv6Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) HasPrefix

func (o *CreateNetworkIPv6Body) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) HasPrefixLength

func (o *CreateNetworkIPv6Body) HasPrefixLength() bool

HasPrefixLength returns a boolean if a field has been set.

func (CreateNetworkIPv6Body) MarshalJSON

func (o CreateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*CreateNetworkIPv6Body) SetGateway

func (o *CreateNetworkIPv6Body) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*CreateNetworkIPv6Body) SetGatewayNil

func (o *CreateNetworkIPv6Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*CreateNetworkIPv6Body) SetNameservers

func (o *CreateNetworkIPv6Body) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*CreateNetworkIPv6Body) SetPrefix

func (o *CreateNetworkIPv6Body) SetPrefix(v string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*CreateNetworkIPv6Body) SetPrefixLength

func (o *CreateNetworkIPv6Body) SetPrefixLength(v int32)

SetPrefixLength gets a reference to the given int32 and assigns it to the PrefixLength field.

func (CreateNetworkIPv6Body) ToMap

func (o CreateNetworkIPv6Body) ToMap() (map[string]interface{}, error)

func (*CreateNetworkIPv6Body) UnsetGateway

func (o *CreateNetworkIPv6Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type CreateNetworkPayload

type CreateNetworkPayload struct {
	AddressFamily *CreateNetworkAddressFamily `json:"addressFamily,omitempty"`
	// Enable or disable DHCP for a network.
	Dhcp *bool `json:"dhcp,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
}

CreateNetworkPayload Object that represents the request body for a network create.

func NewCreateNetworkPayload

func NewCreateNetworkPayload(name string) *CreateNetworkPayload

NewCreateNetworkPayload instantiates a new CreateNetworkPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkPayloadWithDefaults

func NewCreateNetworkPayloadWithDefaults() *CreateNetworkPayload

NewCreateNetworkPayloadWithDefaults instantiates a new CreateNetworkPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkPayload) GetAddressFamily

func (o *CreateNetworkPayload) GetAddressFamily() CreateNetworkAddressFamily

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetAddressFamilyOk

func (o *CreateNetworkPayload) GetAddressFamilyOk() (*CreateNetworkAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetDhcp

func (o *CreateNetworkPayload) GetDhcp() bool

GetDhcp returns the Dhcp field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetDhcpOk

func (o *CreateNetworkPayload) GetDhcpOk() (*bool, bool)

GetDhcpOk returns a tuple with the Dhcp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetLabels

func (o *CreateNetworkPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetLabelsOk

func (o *CreateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetName

func (o *CreateNetworkPayload) GetName() string

GetName returns the Name field value

func (*CreateNetworkPayload) GetNameOk

func (o *CreateNetworkPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetRouted

func (o *CreateNetworkPayload) GetRouted() bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetRoutedOk

func (o *CreateNetworkPayload) GetRoutedOk() (*bool, bool)

GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) HasAddressFamily

func (o *CreateNetworkPayload) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasDhcp

func (o *CreateNetworkPayload) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasLabels

func (o *CreateNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasRouted

func (o *CreateNetworkPayload) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (CreateNetworkPayload) MarshalJSON

func (o CreateNetworkPayload) MarshalJSON() ([]byte, error)

func (*CreateNetworkPayload) SetAddressFamily

func (o *CreateNetworkPayload) SetAddressFamily(v CreateNetworkAddressFamily)

SetAddressFamily gets a reference to the given CreateNetworkAddressFamily and assigns it to the AddressFamily field.

func (*CreateNetworkPayload) SetDhcp

func (o *CreateNetworkPayload) SetDhcp(v bool)

SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.

func (*CreateNetworkPayload) SetLabels

func (o *CreateNetworkPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateNetworkPayload) SetName

func (o *CreateNetworkPayload) SetName(v string)

SetName sets field value

func (*CreateNetworkPayload) SetRouted

func (o *CreateNetworkPayload) SetRouted(v bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (CreateNetworkPayload) ToMap

func (o CreateNetworkPayload) ToMap() (map[string]interface{}, error)

func (*CreateNetworkPayload) UnmarshalJSON

func (o *CreateNetworkPayload) UnmarshalJSON(data []byte) (err error)

type CreateNicPayload

type CreateNicPayload struct {
	// A list of IPs or CIDR notations.
	AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Universally Unique Identifier (UUID).
	Device *string `json:"device,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents an IP address.
	Ipv4 *string `` /* 1383-byte string literal not displayed */
	// String that represents an IPv6 address.
	Ipv6 *string `` /* 1254-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Object that represents an MAC address.
	Mac *string `json:"mac,omitempty" validate:"regexp=^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Universally Unique Identifier (UUID).
	NetworkId *string `json:"networkId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// If this is set to false, then no security groups will apply to this network interface.
	NicSecurity *bool `json:"nicSecurity,omitempty"`
	// A list of UUIDs.
	SecurityGroups []string `json:"securityGroups,omitempty"`
	// Possible values: `ACTIVE`, `DOWN`.
	Status *string `json:"status,omitempty"`
	// Possible values: `server`, `metadata`, `gateway`, `none`.
	Type *string `json:"type,omitempty"`
}

CreateNicPayload Object that represents a network interface.

func NewCreateNicPayload

func NewCreateNicPayload() *CreateNicPayload

NewCreateNicPayload instantiates a new CreateNicPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNicPayloadWithDefaults

func NewCreateNicPayloadWithDefaults() *CreateNicPayload

NewCreateNicPayloadWithDefaults instantiates a new CreateNicPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNicPayload) GetAllowedAddresses

func (o *CreateNicPayload) GetAllowedAddresses() []AllowedAddressesInner

GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.

func (*CreateNicPayload) GetAllowedAddressesOk

func (o *CreateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)

GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetDescription

func (o *CreateNicPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateNicPayload) GetDescriptionOk

func (o *CreateNicPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetDevice

func (o *CreateNicPayload) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*CreateNicPayload) GetDeviceOk

func (o *CreateNicPayload) GetDeviceOk() (*string, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetId

func (o *CreateNicPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateNicPayload) GetIdOk

func (o *CreateNicPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetIpv4

func (o *CreateNicPayload) GetIpv4() string

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateNicPayload) GetIpv4Ok

func (o *CreateNicPayload) GetIpv4Ok() (*string, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetIpv6

func (o *CreateNicPayload) GetIpv6() string

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*CreateNicPayload) GetIpv6Ok

func (o *CreateNicPayload) GetIpv6Ok() (*string, bool)

GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetLabels

func (o *CreateNicPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateNicPayload) GetLabelsOk

func (o *CreateNicPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetMac

func (o *CreateNicPayload) GetMac() string

GetMac returns the Mac field value if set, zero value otherwise.

func (*CreateNicPayload) GetMacOk

func (o *CreateNicPayload) GetMacOk() (*string, bool)

GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetName

func (o *CreateNicPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateNicPayload) GetNameOk

func (o *CreateNicPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetNetworkId

func (o *CreateNicPayload) GetNetworkId() string

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*CreateNicPayload) GetNetworkIdOk

func (o *CreateNicPayload) GetNetworkIdOk() (*string, bool)

GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetNicSecurity

func (o *CreateNicPayload) GetNicSecurity() bool

GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.

func (*CreateNicPayload) GetNicSecurityOk

func (o *CreateNicPayload) GetNicSecurityOk() (*bool, bool)

GetNicSecurityOk returns a tuple with the NicSecurity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetSecurityGroups

func (o *CreateNicPayload) GetSecurityGroups() []string

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*CreateNicPayload) GetSecurityGroupsOk

func (o *CreateNicPayload) GetSecurityGroupsOk() ([]string, bool)

GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetStatus

func (o *CreateNicPayload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CreateNicPayload) GetStatusOk

func (o *CreateNicPayload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) GetType

func (o *CreateNicPayload) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CreateNicPayload) GetTypeOk

func (o *CreateNicPayload) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNicPayload) HasAllowedAddresses

func (o *CreateNicPayload) HasAllowedAddresses() bool

HasAllowedAddresses returns a boolean if a field has been set.

func (*CreateNicPayload) HasDescription

func (o *CreateNicPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateNicPayload) HasDevice

func (o *CreateNicPayload) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*CreateNicPayload) HasId

func (o *CreateNicPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateNicPayload) HasIpv4

func (o *CreateNicPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNicPayload) HasIpv6

func (o *CreateNicPayload) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*CreateNicPayload) HasLabels

func (o *CreateNicPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNicPayload) HasMac

func (o *CreateNicPayload) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*CreateNicPayload) HasName

func (o *CreateNicPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateNicPayload) HasNetworkId

func (o *CreateNicPayload) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*CreateNicPayload) HasNicSecurity

func (o *CreateNicPayload) HasNicSecurity() bool

HasNicSecurity returns a boolean if a field has been set.

func (*CreateNicPayload) HasSecurityGroups

func (o *CreateNicPayload) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*CreateNicPayload) HasStatus

func (o *CreateNicPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateNicPayload) HasType

func (o *CreateNicPayload) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateNicPayload) MarshalJSON

func (o CreateNicPayload) MarshalJSON() ([]byte, error)

func (*CreateNicPayload) SetAllowedAddresses

func (o *CreateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)

SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.

func (*CreateNicPayload) SetDescription

func (o *CreateNicPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateNicPayload) SetDevice

func (o *CreateNicPayload) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*CreateNicPayload) SetId

func (o *CreateNicPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateNicPayload) SetIpv4

func (o *CreateNicPayload) SetIpv4(v string)

SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.

func (*CreateNicPayload) SetIpv6

func (o *CreateNicPayload) SetIpv6(v string)

SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.

func (*CreateNicPayload) SetLabels

func (o *CreateNicPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateNicPayload) SetMac

func (o *CreateNicPayload) SetMac(v string)

SetMac gets a reference to the given string and assigns it to the Mac field.

func (*CreateNicPayload) SetName

func (o *CreateNicPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateNicPayload) SetNetworkId

func (o *CreateNicPayload) SetNetworkId(v string)

SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.

func (*CreateNicPayload) SetNicSecurity

func (o *CreateNicPayload) SetNicSecurity(v bool)

SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.

func (*CreateNicPayload) SetSecurityGroups

func (o *CreateNicPayload) SetSecurityGroups(v []string)

SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.

func (*CreateNicPayload) SetStatus

func (o *CreateNicPayload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CreateNicPayload) SetType

func (o *CreateNicPayload) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (CreateNicPayload) ToMap

func (o CreateNicPayload) ToMap() (map[string]interface{}, error)

type CreateProtocol

type CreateProtocol struct {
	Int64  *int64
	String *string
}

CreateProtocol - The schema for a protocol when creating a security group rule.

func Int64AsCreateProtocol

func Int64AsCreateProtocol(v *int64) CreateProtocol

int64AsCreateProtocol is a convenience function that returns int64 wrapped in CreateProtocol

func StringAsCreateProtocol

func StringAsCreateProtocol(v *string) CreateProtocol

stringAsCreateProtocol is a convenience function that returns string wrapped in CreateProtocol

func (*CreateProtocol) GetActualInstance

func (obj *CreateProtocol) GetActualInstance() interface{}

Get the actual instance

func (CreateProtocol) GetActualInstanceValue

func (obj CreateProtocol) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateProtocol) MarshalJSON

func (src CreateProtocol) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateProtocol) UnmarshalJSON

func (dst *CreateProtocol) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreatePublicIPPayload

type CreatePublicIPPayload struct {
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents an IP address.
	Ip *string `` /* 1381-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Associate the public IP with a network interface (ID).
	NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

CreatePublicIPPayload Object that represents a public IP.

func NewCreatePublicIPPayload

func NewCreatePublicIPPayload() *CreatePublicIPPayload

NewCreatePublicIPPayload instantiates a new CreatePublicIPPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreatePublicIPPayloadWithDefaults

func NewCreatePublicIPPayloadWithDefaults() *CreatePublicIPPayload

NewCreatePublicIPPayloadWithDefaults instantiates a new CreatePublicIPPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreatePublicIPPayload) GetId

func (o *CreatePublicIPPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreatePublicIPPayload) GetIdOk

func (o *CreatePublicIPPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePublicIPPayload) GetIp

func (o *CreatePublicIPPayload) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*CreatePublicIPPayload) GetIpOk

func (o *CreatePublicIPPayload) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePublicIPPayload) GetLabels

func (o *CreatePublicIPPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreatePublicIPPayload) GetLabelsOk

func (o *CreatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePublicIPPayload) GetNetworkInterface

func (o *CreatePublicIPPayload) GetNetworkInterface() string

GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreatePublicIPPayload) GetNetworkInterfaceOk

func (o *CreatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)

GetNetworkInterfaceOk returns a tuple with the NetworkInterface field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreatePublicIPPayload) HasId

func (o *CreatePublicIPPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreatePublicIPPayload) HasIp

func (o *CreatePublicIPPayload) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*CreatePublicIPPayload) HasLabels

func (o *CreatePublicIPPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreatePublicIPPayload) HasNetworkInterface

func (o *CreatePublicIPPayload) HasNetworkInterface() bool

HasNetworkInterface returns a boolean if a field has been set.

func (CreatePublicIPPayload) MarshalJSON

func (o CreatePublicIPPayload) MarshalJSON() ([]byte, error)

func (*CreatePublicIPPayload) SetId

func (o *CreatePublicIPPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreatePublicIPPayload) SetIp

func (o *CreatePublicIPPayload) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*CreatePublicIPPayload) SetLabels

func (o *CreatePublicIPPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreatePublicIPPayload) SetNetworkInterface

func (o *CreatePublicIPPayload) SetNetworkInterface(v string)

SetNetworkInterface gets a reference to the given NullableString and assigns it to the NetworkInterface field.

func (*CreatePublicIPPayload) SetNetworkInterfaceNil

func (o *CreatePublicIPPayload) SetNetworkInterfaceNil()

SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil

func (CreatePublicIPPayload) ToMap

func (o CreatePublicIPPayload) ToMap() (map[string]interface{}, error)

func (*CreatePublicIPPayload) UnsetNetworkInterface

func (o *CreatePublicIPPayload) UnsetNetworkInterface()

UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil

type CreateSecurityGroupPayload

type CreateSecurityGroupPayload struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// A list containing security group rule objects.
	Rules []SecurityGroupRule `json:"rules,omitempty"`
	// Shows if a security group is stateful or stateless. You can only have one type of security groups per network interface/server.
	Stateful *bool `json:"stateful,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

CreateSecurityGroupPayload Object that represents a security group.

func NewCreateSecurityGroupPayload

func NewCreateSecurityGroupPayload(name string) *CreateSecurityGroupPayload

NewCreateSecurityGroupPayload instantiates a new CreateSecurityGroupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateSecurityGroupPayloadWithDefaults

func NewCreateSecurityGroupPayloadWithDefaults() *CreateSecurityGroupPayload

NewCreateSecurityGroupPayloadWithDefaults instantiates a new CreateSecurityGroupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateSecurityGroupPayload) GetCreatedAt

func (o *CreateSecurityGroupPayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateSecurityGroupPayload) GetCreatedAtOk

func (o *CreateSecurityGroupPayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSecurityGroupPayload) GetDescription

func (o *CreateSecurityGroupPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateSecurityGroupPayload) GetDescriptionOk

func (o *CreateSecurityGroupPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSecurityGroupPayload) GetId

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

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

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

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

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

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

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

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

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

SetProtocol gets a reference to the given CreateProtocol and assigns it to the Protocol field.

func (CreateSecurityGroupRuleProtocol) ToMap

func (o CreateSecurityGroupRuleProtocol) ToMap() (map[string]interface{}, error)

type CreateServerNetworking

type CreateServerNetworking struct {
	// Universally Unique Identifier (UUID).
	NetworkId *string `json:"networkId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

CreateServerNetworking The initial networking setup for the server creation with a network.

func NewCreateServerNetworking

func NewCreateServerNetworking() *CreateServerNetworking

NewCreateServerNetworking instantiates a new CreateServerNetworking object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServerNetworkingWithDefaults

func NewCreateServerNetworkingWithDefaults() *CreateServerNetworking

NewCreateServerNetworkingWithDefaults instantiates a new CreateServerNetworking object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServerNetworking) GetNetworkId

func (o *CreateServerNetworking) GetNetworkId() string

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*CreateServerNetworking) GetNetworkIdOk

func (o *CreateServerNetworking) GetNetworkIdOk() (*string, bool)

GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerNetworking) HasNetworkId

func (o *CreateServerNetworking) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (CreateServerNetworking) MarshalJSON

func (o CreateServerNetworking) MarshalJSON() ([]byte, error)

func (*CreateServerNetworking) SetNetworkId

func (o *CreateServerNetworking) SetNetworkId(v string)

SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.

func (CreateServerNetworking) ToMap

func (o CreateServerNetworking) ToMap() (map[string]interface{}, error)

type CreateServerNetworkingWithNics

type CreateServerNetworkingWithNics struct {
	// A list of UUIDs.
	NicIds []string `json:"nicIds,omitempty"`
}

CreateServerNetworkingWithNics The initial networking setup for the server creation with a network interface.

func NewCreateServerNetworkingWithNics

func NewCreateServerNetworkingWithNics() *CreateServerNetworkingWithNics

NewCreateServerNetworkingWithNics instantiates a new CreateServerNetworkingWithNics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServerNetworkingWithNicsWithDefaults

func NewCreateServerNetworkingWithNicsWithDefaults() *CreateServerNetworkingWithNics

NewCreateServerNetworkingWithNicsWithDefaults instantiates a new CreateServerNetworkingWithNics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServerNetworkingWithNics) GetNicIds

func (o *CreateServerNetworkingWithNics) GetNicIds() []string

GetNicIds returns the NicIds field value if set, zero value otherwise.

func (*CreateServerNetworkingWithNics) GetNicIdsOk

func (o *CreateServerNetworkingWithNics) GetNicIdsOk() ([]string, bool)

GetNicIdsOk returns a tuple with the NicIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerNetworkingWithNics) HasNicIds

func (o *CreateServerNetworkingWithNics) HasNicIds() bool

HasNicIds returns a boolean if a field has been set.

func (CreateServerNetworkingWithNics) MarshalJSON

func (o CreateServerNetworkingWithNics) MarshalJSON() ([]byte, error)

func (*CreateServerNetworkingWithNics) SetNicIds

func (o *CreateServerNetworkingWithNics) SetNicIds(v []string)

SetNicIds gets a reference to the given []string and assigns it to the NicIds field.

func (CreateServerNetworkingWithNics) ToMap

func (o CreateServerNetworkingWithNics) ToMap() (map[string]interface{}, error)

type CreateServerPayload

type CreateServerPayload struct {
	// The affinity group the server is assigned to.
	AffinityGroup *string      `json:"affinityGroup,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	Agent         *ServerAgent `json:"agent,omitempty"`
	// This is the availability zone requested during server creation. If none is provided during the creation request and an existing volume will be used as boot volume it will be set to the same availability zone as the volume. For requests with no volumes involved it will be set to the metro availability zone.
	AvailabilityZone *string     `json:"availabilityZone,omitempty"`
	BootVolume       *BootVolume `json:"bootVolume,omitempty"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// An error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Universally Unique Identifier (UUID).
	ImageId *string `json:"imageId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// The SSH keypair used during the server creation.
	KeypairName *string `json:"keypairName,omitempty" validate:"regexp=^[A-Za-z0-9@._-]*$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Date-time when resource was launched.
	LaunchedAt *time.Time `json:"launchedAt,omitempty"`
	// Name of the machine type the server shall belong to.
	MachineType       string             `json:"machineType" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	MaintenanceWindow *ServerMaintenance `json:"maintenanceWindow,omitempty"`
	// Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`. Providing a `null` value for a key will remove that key.
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// The name for a Server.
	Name       string                         `` /* 138-byte string literal not displayed */
	Networking *CreateServerPayloadNetworking `json:"networking,omitempty"`
	// The list of network interfaces (NICs) attached to the server. Only shown when detailed information is requested.
	Nics []ServerNetwork `json:"nics,omitempty"`
	// The power status of a server. Possible values: `CRASHED`, `ERROR`, `RUNNING`, `STOPPED`.
	PowerStatus *string `json:"powerStatus,omitempty"`
	// The initial security groups for the server creation.
	SecurityGroups []string `json:"securityGroups,omitempty"`
	// A list of service account mails. Only shown when detailed information is requested.
	ServiceAccountMails []string `json:"serviceAccountMails,omitempty"`
	// The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// User Data that is provided to the server. Must be base64 encoded and is passed via cloud-init to the server. Only shown when detailed information is requested.
	UserData *string `json:"userData,omitempty"`
	// The list of volumes attached to the server.
	Volumes []string `json:"volumes,omitempty"`
}

CreateServerPayload Representation of a single server object.

func NewCreateServerPayload

func NewCreateServerPayload(machineType string, name string) *CreateServerPayload

NewCreateServerPayload instantiates a new CreateServerPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServerPayloadWithDefaults

func NewCreateServerPayloadWithDefaults() *CreateServerPayload

NewCreateServerPayloadWithDefaults instantiates a new CreateServerPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServerPayload) GetAffinityGroup

func (o *CreateServerPayload) GetAffinityGroup() string

GetAffinityGroup returns the AffinityGroup field value if set, zero value otherwise.

func (*CreateServerPayload) GetAffinityGroupOk

func (o *CreateServerPayload) GetAffinityGroupOk() (*string, bool)

GetAffinityGroupOk returns a tuple with the AffinityGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetAgent

func (o *CreateServerPayload) GetAgent() ServerAgent

GetAgent returns the Agent field value if set, zero value otherwise.

func (*CreateServerPayload) GetAgentOk

func (o *CreateServerPayload) GetAgentOk() (*ServerAgent, bool)

GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetAvailabilityZone

func (o *CreateServerPayload) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*CreateServerPayload) GetAvailabilityZoneOk

func (o *CreateServerPayload) GetAvailabilityZoneOk() (*string, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetBootVolume

func (o *CreateServerPayload) GetBootVolume() BootVolume

GetBootVolume returns the BootVolume field value if set, zero value otherwise.

func (*CreateServerPayload) GetBootVolumeOk

func (o *CreateServerPayload) GetBootVolumeOk() (*BootVolume, bool)

GetBootVolumeOk returns a tuple with the BootVolume field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetCreatedAt

func (o *CreateServerPayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateServerPayload) GetCreatedAtOk

func (o *CreateServerPayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetErrorMessage

func (o *CreateServerPayload) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*CreateServerPayload) GetErrorMessageOk

func (o *CreateServerPayload) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetId

func (o *CreateServerPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateServerPayload) GetIdOk

func (o *CreateServerPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetImageId

func (o *CreateServerPayload) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*CreateServerPayload) GetImageIdOk

func (o *CreateServerPayload) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetKeypairName

func (o *CreateServerPayload) GetKeypairName() string

GetKeypairName returns the KeypairName field value if set, zero value otherwise.

func (*CreateServerPayload) GetKeypairNameOk

func (o *CreateServerPayload) GetKeypairNameOk() (*string, bool)

GetKeypairNameOk returns a tuple with the KeypairName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetLabels

func (o *CreateServerPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateServerPayload) GetLabelsOk

func (o *CreateServerPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetLaunchedAt

func (o *CreateServerPayload) GetLaunchedAt() time.Time

GetLaunchedAt returns the LaunchedAt field value if set, zero value otherwise.

func (*CreateServerPayload) GetLaunchedAtOk

func (o *CreateServerPayload) GetLaunchedAtOk() (*time.Time, bool)

GetLaunchedAtOk returns a tuple with the LaunchedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetMachineType

func (o *CreateServerPayload) GetMachineType() string

GetMachineType returns the MachineType field value

func (*CreateServerPayload) GetMachineTypeOk

func (o *CreateServerPayload) GetMachineTypeOk() (*string, bool)

GetMachineTypeOk returns a tuple with the MachineType field value and a boolean to check if the value has been set.

func (*CreateServerPayload) GetMaintenanceWindow

func (o *CreateServerPayload) GetMaintenanceWindow() ServerMaintenance

GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.

func (*CreateServerPayload) GetMaintenanceWindowOk

func (o *CreateServerPayload) GetMaintenanceWindowOk() (*ServerMaintenance, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetMetadata

func (o *CreateServerPayload) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CreateServerPayload) GetMetadataOk

func (o *CreateServerPayload) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetName

func (o *CreateServerPayload) GetName() string

GetName returns the Name field value

func (*CreateServerPayload) GetNameOk

func (o *CreateServerPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateServerPayload) GetNetworking

GetNetworking returns the Networking field value if set, zero value otherwise.

func (*CreateServerPayload) GetNetworkingOk

func (o *CreateServerPayload) GetNetworkingOk() (*CreateServerPayloadNetworking, bool)

GetNetworkingOk returns a tuple with the Networking field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetNics

func (o *CreateServerPayload) GetNics() []ServerNetwork

GetNics returns the Nics field value if set, zero value otherwise.

func (*CreateServerPayload) GetNicsOk

func (o *CreateServerPayload) GetNicsOk() ([]ServerNetwork, bool)

GetNicsOk returns a tuple with the Nics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetPowerStatus

func (o *CreateServerPayload) GetPowerStatus() string

GetPowerStatus returns the PowerStatus field value if set, zero value otherwise.

func (*CreateServerPayload) GetPowerStatusOk

func (o *CreateServerPayload) GetPowerStatusOk() (*string, bool)

GetPowerStatusOk returns a tuple with the PowerStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetSecurityGroups

func (o *CreateServerPayload) GetSecurityGroups() []string

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*CreateServerPayload) GetSecurityGroupsOk

func (o *CreateServerPayload) GetSecurityGroupsOk() ([]string, bool)

GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetServiceAccountMails

func (o *CreateServerPayload) GetServiceAccountMails() []string

GetServiceAccountMails returns the ServiceAccountMails field value if set, zero value otherwise.

func (*CreateServerPayload) GetServiceAccountMailsOk

func (o *CreateServerPayload) GetServiceAccountMailsOk() ([]string, bool)

GetServiceAccountMailsOk returns a tuple with the ServiceAccountMails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetStatus

func (o *CreateServerPayload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CreateServerPayload) GetStatusOk

func (o *CreateServerPayload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetUpdatedAt

func (o *CreateServerPayload) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CreateServerPayload) GetUpdatedAtOk

func (o *CreateServerPayload) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetUserData

func (o *CreateServerPayload) GetUserData() string

GetUserData returns the UserData field value if set, zero value otherwise.

func (*CreateServerPayload) GetUserDataOk

func (o *CreateServerPayload) GetUserDataOk() (*string, bool)

GetUserDataOk returns a tuple with the UserData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) GetVolumes

func (o *CreateServerPayload) GetVolumes() []string

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*CreateServerPayload) GetVolumesOk

func (o *CreateServerPayload) GetVolumesOk() ([]string, bool)

GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServerPayload) HasAffinityGroup

func (o *CreateServerPayload) HasAffinityGroup() bool

HasAffinityGroup returns a boolean if a field has been set.

func (*CreateServerPayload) HasAgent

func (o *CreateServerPayload) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*CreateServerPayload) HasAvailabilityZone

func (o *CreateServerPayload) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*CreateServerPayload) HasBootVolume

func (o *CreateServerPayload) HasBootVolume() bool

HasBootVolume returns a boolean if a field has been set.

func (*CreateServerPayload) HasCreatedAt

func (o *CreateServerPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateServerPayload) HasErrorMessage

func (o *CreateServerPayload) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*CreateServerPayload) HasId

func (o *CreateServerPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateServerPayload) HasImageId

func (o *CreateServerPayload) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*CreateServerPayload) HasKeypairName

func (o *CreateServerPayload) HasKeypairName() bool

HasKeypairName returns a boolean if a field has been set.

func (*CreateServerPayload) HasLabels

func (o *CreateServerPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateServerPayload) HasLaunchedAt

func (o *CreateServerPayload) HasLaunchedAt() bool

HasLaunchedAt returns a boolean if a field has been set.

func (*CreateServerPayload) HasMaintenanceWindow

func (o *CreateServerPayload) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*CreateServerPayload) HasMetadata

func (o *CreateServerPayload) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CreateServerPayload) HasNetworking

func (o *CreateServerPayload) HasNetworking() bool

HasNetworking returns a boolean if a field has been set.

func (*CreateServerPayload) HasNics

func (o *CreateServerPayload) HasNics() bool

HasNics returns a boolean if a field has been set.

func (*CreateServerPayload) HasPowerStatus

func (o *CreateServerPayload) HasPowerStatus() bool

HasPowerStatus returns a boolean if a field has been set.

func (*CreateServerPayload) HasSecurityGroups

func (o *CreateServerPayload) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*CreateServerPayload) HasServiceAccountMails

func (o *CreateServerPayload) HasServiceAccountMails() bool

HasServiceAccountMails returns a boolean if a field has been set.

func (*CreateServerPayload) HasStatus

func (o *CreateServerPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateServerPayload) HasUpdatedAt

func (o *CreateServerPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*CreateServerPayload) HasUserData

func (o *CreateServerPayload) HasUserData() bool

HasUserData returns a boolean if a field has been set.

func (*CreateServerPayload) HasVolumes

func (o *CreateServerPayload) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (CreateServerPayload) MarshalJSON

func (o CreateServerPayload) MarshalJSON() ([]byte, error)

func (*CreateServerPayload) SetAffinityGroup

func (o *CreateServerPayload) SetAffinityGroup(v string)

SetAffinityGroup gets a reference to the given string and assigns it to the AffinityGroup field.

func (*CreateServerPayload) SetAgent

func (o *CreateServerPayload) SetAgent(v ServerAgent)

SetAgent gets a reference to the given ServerAgent and assigns it to the Agent field.

func (*CreateServerPayload) SetAvailabilityZone

func (o *CreateServerPayload) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*CreateServerPayload) SetBootVolume

func (o *CreateServerPayload) SetBootVolume(v BootVolume)

SetBootVolume gets a reference to the given BootVolume and assigns it to the BootVolume field.

func (*CreateServerPayload) SetCreatedAt

func (o *CreateServerPayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateServerPayload) SetErrorMessage

func (o *CreateServerPayload) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*CreateServerPayload) SetId

func (o *CreateServerPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateServerPayload) SetImageId

func (o *CreateServerPayload) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*CreateServerPayload) SetKeypairName

func (o *CreateServerPayload) SetKeypairName(v string)

SetKeypairName gets a reference to the given string and assigns it to the KeypairName field.

func (*CreateServerPayload) SetLabels

func (o *CreateServerPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateServerPayload) SetLaunchedAt

func (o *CreateServerPayload) SetLaunchedAt(v time.Time)

SetLaunchedAt gets a reference to the given time.Time and assigns it to the LaunchedAt field.

func (*CreateServerPayload) SetMachineType

func (o *CreateServerPayload) SetMachineType(v string)

SetMachineType sets field value

func (*CreateServerPayload) SetMaintenanceWindow

func (o *CreateServerPayload) SetMaintenanceWindow(v ServerMaintenance)

SetMaintenanceWindow gets a reference to the given ServerMaintenance and assigns it to the MaintenanceWindow field.

func (*CreateServerPayload) SetMetadata

func (o *CreateServerPayload) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*CreateServerPayload) SetName

func (o *CreateServerPayload) SetName(v string)

SetName sets field value

func (*CreateServerPayload) SetNetworking

SetNetworking gets a reference to the given CreateServerPayloadNetworking and assigns it to the Networking field.

func (*CreateServerPayload) SetNics

func (o *CreateServerPayload) SetNics(v []ServerNetwork)

SetNics gets a reference to the given []ServerNetwork and assigns it to the Nics field.

func (*CreateServerPayload) SetPowerStatus

func (o *CreateServerPayload) SetPowerStatus(v string)

SetPowerStatus gets a reference to the given string and assigns it to the PowerStatus field.

func (*CreateServerPayload) SetSecurityGroups

func (o *CreateServerPayload) SetSecurityGroups(v []string)

SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.

func (*CreateServerPayload) SetServiceAccountMails

func (o *CreateServerPayload) SetServiceAccountMails(v []string)

SetServiceAccountMails gets a reference to the given []string and assigns it to the ServiceAccountMails field.

func (*CreateServerPayload) SetStatus

func (o *CreateServerPayload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CreateServerPayload) SetUpdatedAt

func (o *CreateServerPayload) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*CreateServerPayload) SetUserData

func (o *CreateServerPayload) SetUserData(v string)

SetUserData gets a reference to the given string and assigns it to the UserData field.

func (*CreateServerPayload) SetVolumes

func (o *CreateServerPayload) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

func (CreateServerPayload) ToMap

func (o CreateServerPayload) ToMap() (map[string]interface{}, error)

func (*CreateServerPayload) UnmarshalJSON

func (o *CreateServerPayload) UnmarshalJSON(data []byte) (err error)

type CreateServerPayloadNetworking

type CreateServerPayloadNetworking struct {
	CreateServerNetworking         *CreateServerNetworking
	CreateServerNetworkingWithNics *CreateServerNetworkingWithNics
}

CreateServerPayloadNetworking - The initial networking setup for the server creation. A network, a nic or nothing can be given.

func CreateServerNetworkingAsCreateServerPayloadNetworking

func CreateServerNetworkingAsCreateServerPayloadNetworking(v *CreateServerNetworking) CreateServerPayloadNetworking

CreateServerNetworkingAsCreateServerPayloadNetworking is a convenience function that returns CreateServerNetworking wrapped in CreateServerPayloadNetworking

func CreateServerNetworkingWithNicsAsCreateServerPayloadNetworking

func CreateServerNetworkingWithNicsAsCreateServerPayloadNetworking(v *CreateServerNetworkingWithNics) CreateServerPayloadNetworking

CreateServerNetworkingWithNicsAsCreateServerPayloadNetworking is a convenience function that returns CreateServerNetworkingWithNics wrapped in CreateServerPayloadNetworking

func (*CreateServerPayloadNetworking) GetActualInstance

func (obj *CreateServerPayloadNetworking) GetActualInstance() interface{}

Get the actual instance

func (CreateServerPayloadNetworking) GetActualInstanceValue

func (obj CreateServerPayloadNetworking) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateServerPayloadNetworking) MarshalJSON

func (src CreateServerPayloadNetworking) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateServerPayloadNetworking) UnmarshalJSON

func (dst *CreateServerPayloadNetworking) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateSnapshotPayload

type CreateSnapshotPayload struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Size in Gigabyte.
	Size *int64 `json:"size,omitempty"`
	// The status of a snapshot object. Possible values: `AVAILABLE`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`, `UNMANAGING`, `UPDATING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Universally Unique Identifier (UUID).
	VolumeId string `json:"volumeId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

CreateSnapshotPayload Object that represents a snapshot.

func NewCreateSnapshotPayload

func NewCreateSnapshotPayload(volumeId string) *CreateSnapshotPayload

NewCreateSnapshotPayload instantiates a new CreateSnapshotPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateSnapshotPayloadWithDefaults

func NewCreateSnapshotPayloadWithDefaults() *CreateSnapshotPayload

NewCreateSnapshotPayloadWithDefaults instantiates a new CreateSnapshotPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateSnapshotPayload) GetCreatedAt

func (o *CreateSnapshotPayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetCreatedAtOk

func (o *CreateSnapshotPayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetId

func (o *CreateSnapshotPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetIdOk

func (o *CreateSnapshotPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetLabels

func (o *CreateSnapshotPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetLabelsOk

func (o *CreateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetName

func (o *CreateSnapshotPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetNameOk

func (o *CreateSnapshotPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetSize

func (o *CreateSnapshotPayload) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetSizeOk

func (o *CreateSnapshotPayload) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetStatus

func (o *CreateSnapshotPayload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetStatusOk

func (o *CreateSnapshotPayload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetUpdatedAt

func (o *CreateSnapshotPayload) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CreateSnapshotPayload) GetUpdatedAtOk

func (o *CreateSnapshotPayload) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) GetVolumeId

func (o *CreateSnapshotPayload) GetVolumeId() string

GetVolumeId returns the VolumeId field value

func (*CreateSnapshotPayload) GetVolumeIdOk

func (o *CreateSnapshotPayload) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value and a boolean to check if the value has been set.

func (*CreateSnapshotPayload) HasCreatedAt

func (o *CreateSnapshotPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateSnapshotPayload) HasId

func (o *CreateSnapshotPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateSnapshotPayload) HasLabels

func (o *CreateSnapshotPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateSnapshotPayload) HasName

func (o *CreateSnapshotPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateSnapshotPayload) HasSize

func (o *CreateSnapshotPayload) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*CreateSnapshotPayload) HasStatus

func (o *CreateSnapshotPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateSnapshotPayload) HasUpdatedAt

func (o *CreateSnapshotPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CreateSnapshotPayload) MarshalJSON

func (o CreateSnapshotPayload) MarshalJSON() ([]byte, error)

func (*CreateSnapshotPayload) SetCreatedAt

func (o *CreateSnapshotPayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateSnapshotPayload) SetId

func (o *CreateSnapshotPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateSnapshotPayload) SetLabels

func (o *CreateSnapshotPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateSnapshotPayload) SetName

func (o *CreateSnapshotPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateSnapshotPayload) SetSize

func (o *CreateSnapshotPayload) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*CreateSnapshotPayload) SetStatus

func (o *CreateSnapshotPayload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CreateSnapshotPayload) SetUpdatedAt

func (o *CreateSnapshotPayload) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*CreateSnapshotPayload) SetVolumeId

func (o *CreateSnapshotPayload) SetVolumeId(v string)

SetVolumeId sets field value

func (CreateSnapshotPayload) ToMap

func (o CreateSnapshotPayload) ToMap() (map[string]interface{}, error)

func (*CreateSnapshotPayload) UnmarshalJSON

func (o *CreateSnapshotPayload) UnmarshalJSON(data []byte) (err error)

type CreateVolumePayload

type CreateVolumePayload struct {
	// Object that represents an availability zone.
	AvailabilityZone string `json:"availabilityZone"`
	// Indicates if a volume is bootable.
	Bootable *bool `json:"bootable,omitempty"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Indicates if a volume is encrypted.
	Encrypted            *bool                      `json:"encrypted,omitempty"`
	EncryptionParameters *VolumeEncryptionParameter `json:"encryptionParameters,omitempty"`
	// Universally Unique Identifier (UUID).
	Id          *string      `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// The name for a General Object. Matches Names and also UUIDs.
	PerformanceClass *string `json:"performanceClass,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Universally Unique Identifier (UUID).
	ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Size in Gigabyte.
	Size   *int64        `json:"size,omitempty"`
	Source *VolumeSource `json:"source,omitempty"`
	// The status of a volume object. Possible values: `ATTACHED`, `ATTACHING`, `AVAILABLE`, `AWAITING-TRANSFER`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `DETACHING`, `DOWNLOADING`, `ERROR`, `ERROR_BACKING-UP`, `ERROR_DELETING`, `ERROR_RESIZING`, `ERROR_RESTORING-BACKUP`, `MAINTENANCE`, `RESERVED`, `RESIZING`, `RESTORING-BACKUP`, `RETYPING`, `UPLOADING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

CreateVolumePayload Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.

func NewCreateVolumePayload

func NewCreateVolumePayload(availabilityZone string) *CreateVolumePayload

NewCreateVolumePayload instantiates a new CreateVolumePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateVolumePayloadWithDefaults

func NewCreateVolumePayloadWithDefaults() *CreateVolumePayload

NewCreateVolumePayloadWithDefaults instantiates a new CreateVolumePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateVolumePayload) GetAvailabilityZone

func (o *CreateVolumePayload) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value

func (*CreateVolumePayload) GetAvailabilityZoneOk

func (o *CreateVolumePayload) GetAvailabilityZoneOk() (*string, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetBootable

func (o *CreateVolumePayload) GetBootable() bool

GetBootable returns the Bootable field value if set, zero value otherwise.

func (*CreateVolumePayload) GetBootableOk

func (o *CreateVolumePayload) GetBootableOk() (*bool, bool)

GetBootableOk returns a tuple with the Bootable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetCreatedAt

func (o *CreateVolumePayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateVolumePayload) GetCreatedAtOk

func (o *CreateVolumePayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetDescription

func (o *CreateVolumePayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateVolumePayload) GetDescriptionOk

func (o *CreateVolumePayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetEncrypted

func (o *CreateVolumePayload) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*CreateVolumePayload) GetEncryptedOk

func (o *CreateVolumePayload) GetEncryptedOk() (*bool, bool)

GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetEncryptionParameters

func (o *CreateVolumePayload) GetEncryptionParameters() VolumeEncryptionParameter

GetEncryptionParameters returns the EncryptionParameters field value if set, zero value otherwise.

func (*CreateVolumePayload) GetEncryptionParametersOk

func (o *CreateVolumePayload) GetEncryptionParametersOk() (*VolumeEncryptionParameter, bool)

GetEncryptionParametersOk returns a tuple with the EncryptionParameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetId

func (o *CreateVolumePayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateVolumePayload) GetIdOk

func (o *CreateVolumePayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetImageConfig

func (o *CreateVolumePayload) GetImageConfig() ImageConfig

GetImageConfig returns the ImageConfig field value if set, zero value otherwise.

func (*CreateVolumePayload) GetImageConfigOk

func (o *CreateVolumePayload) GetImageConfigOk() (*ImageConfig, bool)

GetImageConfigOk returns a tuple with the ImageConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetLabels

func (o *CreateVolumePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateVolumePayload) GetLabelsOk

func (o *CreateVolumePayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetName

func (o *CreateVolumePayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateVolumePayload) GetNameOk

func (o *CreateVolumePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetPerformanceClass

func (o *CreateVolumePayload) GetPerformanceClass() string

GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.

func (*CreateVolumePayload) GetPerformanceClassOk

func (o *CreateVolumePayload) GetPerformanceClassOk() (*string, bool)

GetPerformanceClassOk returns a tuple with the PerformanceClass field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetServerId

func (o *CreateVolumePayload) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*CreateVolumePayload) GetServerIdOk

func (o *CreateVolumePayload) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetSize

func (o *CreateVolumePayload) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*CreateVolumePayload) GetSizeOk

func (o *CreateVolumePayload) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetSource

func (o *CreateVolumePayload) GetSource() VolumeSource

GetSource returns the Source field value if set, zero value otherwise.

func (*CreateVolumePayload) GetSourceOk

func (o *CreateVolumePayload) GetSourceOk() (*VolumeSource, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetStatus

func (o *CreateVolumePayload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CreateVolumePayload) GetStatusOk

func (o *CreateVolumePayload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) GetUpdatedAt

func (o *CreateVolumePayload) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CreateVolumePayload) GetUpdatedAtOk

func (o *CreateVolumePayload) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateVolumePayload) HasBootable

func (o *CreateVolumePayload) HasBootable() bool

HasBootable returns a boolean if a field has been set.

func (*CreateVolumePayload) HasCreatedAt

func (o *CreateVolumePayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateVolumePayload) HasDescription

func (o *CreateVolumePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateVolumePayload) HasEncrypted

func (o *CreateVolumePayload) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*CreateVolumePayload) HasEncryptionParameters

func (o *CreateVolumePayload) HasEncryptionParameters() bool

HasEncryptionParameters returns a boolean if a field has been set.

func (*CreateVolumePayload) HasId

func (o *CreateVolumePayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateVolumePayload) HasImageConfig

func (o *CreateVolumePayload) HasImageConfig() bool

HasImageConfig returns a boolean if a field has been set.

func (*CreateVolumePayload) HasLabels

func (o *CreateVolumePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateVolumePayload) HasName

func (o *CreateVolumePayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateVolumePayload) HasPerformanceClass

func (o *CreateVolumePayload) HasPerformanceClass() bool

HasPerformanceClass returns a boolean if a field has been set.

func (*CreateVolumePayload) HasServerId

func (o *CreateVolumePayload) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*CreateVolumePayload) HasSize

func (o *CreateVolumePayload) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*CreateVolumePayload) HasSource

func (o *CreateVolumePayload) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*CreateVolumePayload) HasStatus

func (o *CreateVolumePayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateVolumePayload) HasUpdatedAt

func (o *CreateVolumePayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CreateVolumePayload) MarshalJSON

func (o CreateVolumePayload) MarshalJSON() ([]byte, error)

func (*CreateVolumePayload) SetAvailabilityZone

func (o *CreateVolumePayload) SetAvailabilityZone(v string)

SetAvailabilityZone sets field value

func (*CreateVolumePayload) SetBootable

func (o *CreateVolumePayload) SetBootable(v bool)

SetBootable gets a reference to the given bool and assigns it to the Bootable field.

func (*CreateVolumePayload) SetCreatedAt

func (o *CreateVolumePayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateVolumePayload) SetDescription

func (o *CreateVolumePayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateVolumePayload) SetEncrypted

func (o *CreateVolumePayload) SetEncrypted(v bool)

SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.

func (*CreateVolumePayload) SetEncryptionParameters

func (o *CreateVolumePayload) SetEncryptionParameters(v VolumeEncryptionParameter)

SetEncryptionParameters gets a reference to the given VolumeEncryptionParameter and assigns it to the EncryptionParameters field.

func (*CreateVolumePayload) SetId

func (o *CreateVolumePayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateVolumePayload) SetImageConfig

func (o *CreateVolumePayload) SetImageConfig(v ImageConfig)

SetImageConfig gets a reference to the given ImageConfig and assigns it to the ImageConfig field.

func (*CreateVolumePayload) SetLabels

func (o *CreateVolumePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateVolumePayload) SetName

func (o *CreateVolumePayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateVolumePayload) SetPerformanceClass

func (o *CreateVolumePayload) SetPerformanceClass(v string)

SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.

func (*CreateVolumePayload) SetServerId

func (o *CreateVolumePayload) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*CreateVolumePayload) SetSize

func (o *CreateVolumePayload) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*CreateVolumePayload) SetSource

func (o *CreateVolumePayload) SetSource(v VolumeSource)

SetSource gets a reference to the given VolumeSource and assigns it to the Source field.

func (*CreateVolumePayload) SetStatus

func (o *CreateVolumePayload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CreateVolumePayload) SetUpdatedAt

func (o *CreateVolumePayload) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (CreateVolumePayload) ToMap

func (o CreateVolumePayload) ToMap() (map[string]interface{}, error)

func (*CreateVolumePayload) UnmarshalJSON

func (o *CreateVolumePayload) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		AddNetworkToServer Create and attach a network interface from the specified network.

		Create and attach a network interface from the specified network to the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiAddNetworkToServerRequest

		Deprecated
	*/
	AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest

	// AddNetworkToServerExecute executes the request
	// Deprecated
	AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error

	/*
		AddNicToServer Attach an existing network interface.

		Attach an existing network interface to a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param nicId The identifier (ID) of a network interface.
		@return ApiAddNicToServerRequest

		Deprecated
	*/
	AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest

	// AddNicToServerExecute executes the request
	// Deprecated
	AddNicToServerExecute(r ApiAddNicToServerRequest) error

	/*
		AddPublicIpToServer Associate a public IP to the server.

		Associate a public IP to a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiAddPublicIpToServerRequest

		Deprecated
	*/
	AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest

	// AddPublicIpToServerExecute executes the request
	// Deprecated
	AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error

	/*
		AddSecurityGroupToServer Add a server to a security group.

		Add an existing server to an existing security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiAddSecurityGroupToServerRequest

		Deprecated
	*/
	AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest

	// AddSecurityGroupToServerExecute executes the request
	// Deprecated
	AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error

	/*
		AddServiceAccountToServer Attach service account to a server.

		Attach an additional service account to the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param serviceAccountMail The e-mail address of a service account.
		@return ApiAddServiceAccountToServerRequest

		Deprecated
	*/
	AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest

	// AddServiceAccountToServerExecute executes the request
	//  @return ServiceAccountMailListResponse
	// Deprecated
	AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)

	/*
		AddVolumeToServer Attach a volume to a server.

		Attach an existing volume to an existing server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiAddVolumeToServerRequest

		Deprecated
	*/
	AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest

	// AddVolumeToServerExecute executes the request
	//  @return VolumeAttachment
	// Deprecated
	AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)

	/*
		CreateAffinityGroup Create a new affinity group in a project.

		Create a new server affinity group in the given project ID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateAffinityGroupRequest

		Deprecated
	*/
	CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest

	// CreateAffinityGroupExecute executes the request
	//  @return AffinityGroup
	// Deprecated
	CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)

	/*
		CreateBackup Create new Backup.

		Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateBackupRequest

		Deprecated
	*/
	CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest

	// CreateBackupExecute executes the request
	//  @return Backup
	// Deprecated
	CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)

	/*
		CreateImage Create new Image.

		Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateImageRequest

		Deprecated
	*/
	CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest

	// CreateImageExecute executes the request
	//  @return ImageCreateResponse
	// Deprecated
	CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)

	/*
		CreateKeyPair Import a public key.

		Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. Supported keypair types are ecdsa, ed25519 and rsa.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateKeyPairRequest

		Deprecated
	*/
	CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest

	// CreateKeyPairExecute executes the request
	//  @return Keypair
	// Deprecated
	CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)

	/*
		CreateNetwork Create new network.

		Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateNetworkRequest

		Deprecated
	*/
	CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest

	// CreateNetworkExecute executes the request
	//  @return Network
	// Deprecated
	CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

	/*
		CreateNetworkArea Create new network area in an organization.

		Create a new network area in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@return ApiCreateNetworkAreaRequest

		Deprecated
	*/
	CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

	// CreateNetworkAreaExecute executes the request
	//  @return NetworkArea
	// Deprecated
	CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)

	/*
		CreateNetworkAreaRange Create new network range in a network area.

		Create a new network range in an existing network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiCreateNetworkAreaRangeRequest

		Deprecated
	*/
	CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest

	// CreateNetworkAreaRangeExecute executes the request
	//  @return NetworkRangeListResponse
	// Deprecated
	CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)

	/*
		CreateNetworkAreaRoute Create new network routes.

		Create one or several new network routes in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiCreateNetworkAreaRouteRequest

		Deprecated
	*/
	CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest

	// CreateNetworkAreaRouteExecute executes the request
	//  @return RouteListResponse
	// Deprecated
	CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)

	/*
		CreateNic Create new network interface.

		Create a new network interface in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiCreateNicRequest

		Deprecated
	*/
	CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest

	// CreateNicExecute executes the request
	//  @return NIC
	// Deprecated
	CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)

	/*
		CreatePublicIP Create new public IP.

		Create a new public IP in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreatePublicIPRequest

		Deprecated
	*/
	CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest

	// CreatePublicIPExecute executes the request
	//  @return PublicIp
	// Deprecated
	CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)

	/*
		CreateSecurityGroup Create new security group.

		Create a new security group in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateSecurityGroupRequest

		Deprecated
	*/
	CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest

	// CreateSecurityGroupExecute executes the request
	//  @return SecurityGroup
	// Deprecated
	CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)

	/*
		CreateSecurityGroupRule Create new security group rule.

		Create a new security group rule in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiCreateSecurityGroupRuleRequest

		Deprecated
	*/
	CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest

	// CreateSecurityGroupRuleExecute executes the request
	//  @return SecurityGroupRule
	// Deprecated
	CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)

	/*
		CreateServer Create new server.

		Create a new server in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateServerRequest

		Deprecated
	*/
	CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest

	// CreateServerExecute executes the request
	//  @return Server
	// Deprecated
	CreateServerExecute(r ApiCreateServerRequest) (*Server, error)

	/*
		CreateSnapshot Create new Snapshot.

		Create a new Snapshot from a Volume in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateSnapshotRequest

		Deprecated
	*/
	CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest

	// CreateSnapshotExecute executes the request
	//  @return Snapshot
	// Deprecated
	CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)

	/*
		CreateVolume Create new volume.

		Create a new volume in a project. If a volume source is not provided, an empty volume will be created. The size property is required if no source or an image source is provided.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiCreateVolumeRequest

		Deprecated
	*/
	CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest

	// CreateVolumeExecute executes the request
	//  @return Volume
	// Deprecated
	CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)

	/*
		DeallocateServer Deallocate an existing server.

		Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiDeallocateServerRequest

		Deprecated
	*/
	DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest

	// DeallocateServerExecute executes the request
	// Deprecated
	DeallocateServerExecute(r ApiDeallocateServerRequest) error

	/*
		DeleteAffinityGroup Delete a affinity group in a project.

		Delete a affinity group in the given project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
		@return ApiDeleteAffinityGroupRequest

		Deprecated
	*/
	DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest

	// DeleteAffinityGroupExecute executes the request
	// Deprecated
	DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error

	/*
		DeleteBackup Delete a backup.

		Delete a backup that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiDeleteBackupRequest

		Deprecated
	*/
	DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest

	// DeleteBackupExecute executes the request
	// Deprecated
	DeleteBackupExecute(r ApiDeleteBackupRequest) error

	/*
		DeleteImage Delete an Image.

		Delete an image that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiDeleteImageRequest

		Deprecated
	*/
	DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest

	// DeleteImageExecute executes the request
	// Deprecated
	DeleteImageExecute(r ApiDeleteImageRequest) error

	/*
		DeleteImageShare Remove image share.

		Remove the image share. New scope will be local.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiDeleteImageShareRequest

		Deprecated
	*/
	DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest

	// DeleteImageShareExecute executes the request
	// Deprecated
	DeleteImageShareExecute(r ApiDeleteImageShareRequest) error

	/*
		DeleteImageShareConsumer Remove an image share consumer.

		Remove consumer from a shared image.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
		@return ApiDeleteImageShareConsumerRequest

		Deprecated
	*/
	DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest

	// DeleteImageShareConsumerExecute executes the request
	// Deprecated
	DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error

	/*
		DeleteKeyPair Delete an SSH keypair.

		Delete an SSH keypair from a user.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param keypairName The name of an SSH keypair.
		@return ApiDeleteKeyPairRequest

		Deprecated
	*/
	DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest

	// DeleteKeyPairExecute executes the request
	// Deprecated
	DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error

	/*
		DeleteNetwork Delete network.

		Delete a network. If the network is still in use, the deletion will fail.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiDeleteNetworkRequest

		Deprecated
	*/
	DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest

	// DeleteNetworkExecute executes the request
	// Deprecated
	DeleteNetworkExecute(r ApiDeleteNetworkRequest) error

	/*
		DeleteNetworkArea Delete a network area.

		Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiDeleteNetworkAreaRequest

		Deprecated
	*/
	DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

	// DeleteNetworkAreaExecute executes the request
	// Deprecated
	DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error

	/*
		DeleteNetworkAreaRange Delete a network range.

		Delete a network range of a network area. The deletion will fail if the network range is still used.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param networkRangeId The identifier (ID) of a STACKIT Network Range.
		@return ApiDeleteNetworkAreaRangeRequest

		Deprecated
	*/
	DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

	// DeleteNetworkAreaRangeExecute executes the request
	// Deprecated
	DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error

	/*
		DeleteNetworkAreaRoute Delete a network route.

		Delete a network route of a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiDeleteNetworkAreaRouteRequest

		Deprecated
	*/
	DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest

	// DeleteNetworkAreaRouteExecute executes the request
	// Deprecated
	DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error

	/*
		DeleteNic Delete a network interface.

		Delete a network interface that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@param nicId The identifier (ID) of a network interface.
		@return ApiDeleteNicRequest

		Deprecated
	*/
	DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest

	// DeleteNicExecute executes the request
	// Deprecated
	DeleteNicExecute(r ApiDeleteNicRequest) error

	/*
		DeletePublicIP Delete a public IP.

		Delete a public IP that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiDeletePublicIPRequest

		Deprecated
	*/
	DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest

	// DeletePublicIPExecute executes the request
	// Deprecated
	DeletePublicIPExecute(r ApiDeletePublicIPRequest) error

	/*
		DeleteSecurityGroup Delete security group.

		Delete a security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiDeleteSecurityGroupRequest

		Deprecated
	*/
	DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest

	// DeleteSecurityGroupExecute executes the request
	// Deprecated
	DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error

	/*
		DeleteSecurityGroupRule Delete security group rule.

		Delete a security group rule.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
		@return ApiDeleteSecurityGroupRuleRequest

		Deprecated
	*/
	DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest

	// DeleteSecurityGroupRuleExecute executes the request
	// Deprecated
	DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error

	/*
		DeleteServer Delete a server.

		Delete a server. Volumes won't be deleted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiDeleteServerRequest

		Deprecated
	*/
	DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest

	// DeleteServerExecute executes the request
	// Deprecated
	DeleteServerExecute(r ApiDeleteServerRequest) error

	/*
		DeleteSnapshot Delete a snapshot.

		Delete a snapshot that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param snapshotId The identifier (ID) of a STACKIT Snapshot.
		@return ApiDeleteSnapshotRequest

		Deprecated
	*/
	DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest

	// DeleteSnapshotExecute executes the request
	// Deprecated
	DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error

	/*
		DeleteVolume Delete a volume.

		Delete a volume inside a project. The deletion will fail if the volume is still in use.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiDeleteVolumeRequest

		Deprecated
	*/
	DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest

	// DeleteVolumeExecute executes the request
	// Deprecated
	DeleteVolumeExecute(r ApiDeleteVolumeRequest) error

	/*
		GetAffinityGroup Get the affinity group.

		Get the affinity group created in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
		@return ApiGetAffinityGroupRequest

		Deprecated
	*/
	GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest

	// GetAffinityGroupExecute executes the request
	//  @return AffinityGroup
	// Deprecated
	GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)

	/*
		GetAttachedVolume Get Volume Attachment details.

		Get the details of an existing Volume Attachment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiGetAttachedVolumeRequest

		Deprecated
	*/
	GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest

	// GetAttachedVolumeExecute executes the request
	//  @return VolumeAttachment
	// Deprecated
	GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)

	/*
		GetBackup Get details about a backup.

		Get details about a block device backup.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiGetBackupRequest

		Deprecated
	*/
	GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest

	// GetBackupExecute executes the request
	//  @return Backup
	// Deprecated
	GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

	/*
		GetImage Get details about an image.

		Get details about a specific Image inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiGetImageRequest

		Deprecated
	*/
	GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest

	// GetImageExecute executes the request
	//  @return Image
	// Deprecated
	GetImageExecute(r ApiGetImageRequest) (*Image, error)

	/*
		GetImageShare Get share details of an image.

		Get share details about an shared image.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiGetImageShareRequest

		Deprecated
	*/
	GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest

	// GetImageShareExecute executes the request
	//  @return ImageShare
	// Deprecated
	GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)

	/*
		GetImageShareConsumer Get image share consumer.

		Get details about an image share consumer.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
		@return ApiGetImageShareConsumerRequest

		Deprecated
	*/
	GetImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest

	// GetImageShareConsumerExecute executes the request
	//  @return ImageShareConsumer
	// Deprecated
	GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)

	/*
		GetKeyPair Get SSH keypair details.

		Get details about an SSH keypair.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param keypairName The name of an SSH keypair.
		@return ApiGetKeyPairRequest

		Deprecated
	*/
	GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest

	// GetKeyPairExecute executes the request
	//  @return Keypair
	// Deprecated
	GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)

	/*
		GetMachineType Get details about a machine type.

		Get details about a specific machine type.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param machineType STACKIT machine type Name.
		@return ApiGetMachineTypeRequest

		Deprecated
	*/
	GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest

	// GetMachineTypeExecute executes the request
	//  @return MachineType
	// Deprecated
	GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)

	/*
		GetNetwork Get network details.

		Get details about a network of a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiGetNetworkRequest

		Deprecated
	*/
	GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest

	// GetNetworkExecute executes the request
	//  @return Network
	// Deprecated
	GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

	/*
		GetNetworkArea Get details about a network area.

		Get details about a network area in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiGetNetworkAreaRequest

		Deprecated
	*/
	GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

	// GetNetworkAreaExecute executes the request
	//  @return NetworkArea
	// Deprecated
	GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)

	/*
		GetNetworkAreaRange Get details about a network range.

		Get details about a network range in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param networkRangeId The identifier (ID) of a STACKIT Network Range.
		@return ApiGetNetworkAreaRangeRequest

		Deprecated
	*/
	GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest

	// GetNetworkAreaRangeExecute executes the request
	//  @return NetworkRange
	// Deprecated
	GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)

	/*
		GetNetworkAreaRoute Get details about a network route.

		Get details about a network route defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiGetNetworkAreaRouteRequest

		Deprecated
	*/
	GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest

	// GetNetworkAreaRouteExecute executes the request
	//  @return Route
	// Deprecated
	GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)

	/*
		GetNic Get details about a network interface of a network.

		Get details about a network interface inside a network.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@param nicId The identifier (ID) of a network interface.
		@return ApiGetNicRequest

		Deprecated
	*/
	GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest

	// GetNicExecute executes the request
	//  @return NIC
	// Deprecated
	GetNicExecute(r ApiGetNicRequest) (*NIC, error)

	/*
		GetOrganizationRequest Lookup an organization request ID.

		Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param requestId The identifier (ID) of a STACKIT Request.
		@return ApiGetOrganizationRequestRequest

		Deprecated
	*/
	GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

	// GetOrganizationRequestExecute executes the request
	//  @return Request
	// Deprecated
	GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)

	/*
		GetProjectDetails Get project details.

		Get details about a STACKIT project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiGetProjectDetailsRequest

		Deprecated
	*/
	GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest

	// GetProjectDetailsExecute executes the request
	//  @return Project
	// Deprecated
	GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)

	/*
		GetProjectNIC Get details about a network interface of a project.

		Get details about a network interface inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param nicId The identifier (ID) of a network interface.
		@return ApiGetProjectNICRequest

		Deprecated
	*/
	GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest

	// GetProjectNICExecute executes the request
	//  @return NIC
	// Deprecated
	GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)

	/*
		GetProjectRequest Lookup a project request ID.

		Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param requestId The identifier (ID) of a STACKIT Request.
		@return ApiGetProjectRequestRequest

		Deprecated
	*/
	GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest

	// GetProjectRequestExecute executes the request
	//  @return Request
	// Deprecated
	GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)

	/*
		GetPublicIP Get details about a public IP.

		Get details about a public IP inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiGetPublicIPRequest

		Deprecated
	*/
	GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest

	// GetPublicIPExecute executes the request
	//  @return PublicIp
	// Deprecated
	GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)

	/*
		GetSecurityGroup Get security group details.

		Get details about a security group of a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiGetSecurityGroupRequest

		Deprecated
	*/
	GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest

	// GetSecurityGroupExecute executes the request
	//  @return SecurityGroup
	// Deprecated
	GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)

	/*
		GetSecurityGroupRule Get security group rule details.

		Get details about a security group rule of a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
		@return ApiGetSecurityGroupRuleRequest

		Deprecated
	*/
	GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest

	// GetSecurityGroupRuleExecute executes the request
	//  @return SecurityGroupRule
	// Deprecated
	GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)

	/*
		GetServer Get server details.

		Get details about a server by its ID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiGetServerRequest

		Deprecated
	*/
	GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest

	// GetServerExecute executes the request
	//  @return Server
	// Deprecated
	GetServerExecute(r ApiGetServerRequest) (*Server, error)

	/*
		GetServerConsole Get server console.

		Get a URL for server remote console.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiGetServerConsoleRequest

		Deprecated
	*/
	GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest

	// GetServerConsoleExecute executes the request
	//  @return ServerConsoleUrl
	// Deprecated
	GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)

	/*
		GetServerLog Get server log.

		Get server console log.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiGetServerLogRequest

		Deprecated
	*/
	GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest

	// GetServerLogExecute executes the request
	//  @return GetServerLog200Response
	// Deprecated
	GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)

	/*
		GetSnapshot Get details about a snapshot.

		Get details about a block device snapshot.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param snapshotId The identifier (ID) of a STACKIT Snapshot.
		@return ApiGetSnapshotRequest

		Deprecated
	*/
	GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest

	// GetSnapshotExecute executes the request
	//  @return Snapshot
	// Deprecated
	GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)

	/*
		GetVolume Get details about a volume.

		Get details about a block device volume.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiGetVolumeRequest

		Deprecated
	*/
	GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest

	// GetVolumeExecute executes the request
	//  @return Volume
	// Deprecated
	GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)

	/*
		GetVolumePerformanceClass Get details about a volume performance class.

		Get details about a specific volume performance class.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param volumePerformanceClass The name of a STACKIT Volume performance class.
		@return ApiGetVolumePerformanceClassRequest

		Deprecated
	*/
	GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest

	// GetVolumePerformanceClassExecute executes the request
	//  @return VolumePerformanceClass
	// Deprecated
	GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)

	/*
		ListAffinityGroups Get the affinity groups setup for a project.

		Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity).

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListAffinityGroupsRequest

		Deprecated
	*/
	ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest

	// ListAffinityGroupsExecute executes the request
	//  @return AffinityGroupListResponse
	// Deprecated
	ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)

	/*
		ListAttachedVolumes List all volume attachments of a server.

		Get a list of all volume attachments of a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiListAttachedVolumesRequest

		Deprecated
	*/
	ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest

	// ListAttachedVolumesExecute executes the request
	//  @return VolumeAttachmentListResponse
	// Deprecated
	ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)

	/*
		ListAvailabilityZones List all availability zones.

		Get a list of all availability zones.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListAvailabilityZonesRequest

		Deprecated
	*/
	ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest

	// ListAvailabilityZonesExecute executes the request
	//  @return AvailabilityZoneListResponse
	// Deprecated
	ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)

	/*
		ListBackups List all backups inside a project.

		Get a list of all backups inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListBackupsRequest

		Deprecated
	*/
	ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest

	// ListBackupsExecute executes the request
	//  @return BackupListResponse
	// Deprecated
	ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)

	/*
		ListImages List all Images inside a project.

		Get a list of all images inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListImagesRequest

		Deprecated
	*/
	ListImages(ctx context.Context, projectId string) ApiListImagesRequest

	// ListImagesExecute executes the request
	//  @return ImageListResponse
	// Deprecated
	ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)

	/*
		ListKeyPairs List all SSH keypairs for the requesting user.

		Get a list of all SSH keypairs assigned to the requesting user.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListKeyPairsRequest

		Deprecated
	*/
	ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest

	// ListKeyPairsExecute executes the request
	//  @return KeyPairListResponse
	// Deprecated
	ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)

	/*
		ListMachineTypes List all machine types available for a project.

		Get a list of all machine type available in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListMachineTypesRequest

		Deprecated
	*/
	ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest

	// ListMachineTypesExecute executes the request
	//  @return MachineTypeListResponse
	// Deprecated
	ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)

	/*
		ListNetworkAreaProjects List all projects using a network area.

		Get a list of all projects using a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiListNetworkAreaProjectsRequest

		Deprecated
	*/
	ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

	// ListNetworkAreaProjectsExecute executes the request
	//  @return ProjectListResponse
	// Deprecated
	ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)

	/*
		ListNetworkAreaRanges List all network ranges in a network area.

		Get a list of all network ranges in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiListNetworkAreaRangesRequest

		Deprecated
	*/
	ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest

	// ListNetworkAreaRangesExecute executes the request
	//  @return NetworkRangeListResponse
	// Deprecated
	ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)

	/*
		ListNetworkAreaRoutes List all network routes in a network area.

		Get a list of all network routes defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiListNetworkAreaRoutesRequest

		Deprecated
	*/
	ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest

	// ListNetworkAreaRoutesExecute executes the request
	//  @return RouteListResponse
	// Deprecated
	ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)

	/*
		ListNetworkAreas List all network areas in an organization.

		Get a list of all visible network areas defined in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@return ApiListNetworkAreasRequest

		Deprecated
	*/
	ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

	// ListNetworkAreasExecute executes the request
	//  @return NetworkAreaListResponse
	// Deprecated
	ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)

	/*
		ListNetworks List all networks inside a project.

		Get a list of all networks inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListNetworksRequest

		Deprecated
	*/
	ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest

	// ListNetworksExecute executes the request
	//  @return NetworkListResponse
	// Deprecated
	ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)

	/*
		ListNics List all network interfaces inside a network.

		Get a list of all network interfaces inside a network.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiListNicsRequest

		Deprecated
	*/
	ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest

	// ListNicsExecute executes the request
	//  @return NICListResponse
	// Deprecated
	ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)

	/*
		ListProjectNICs List all network interfaces inside a project.

		Get a list of all network interfaces inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListProjectNICsRequest

		Deprecated
	*/
	ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest

	// ListProjectNICsExecute executes the request
	//  @return NICListResponse
	// Deprecated
	ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)

	/*
		ListPublicIPRanges List all public IP ranges.

		Get a list of all public IP ranges that STACKIT uses.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListPublicIPRangesRequest

		Deprecated
	*/
	ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest

	// ListPublicIPRangesExecute executes the request
	//  @return PublicNetworkListResponse
	// Deprecated
	ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)

	/*
		ListPublicIPs List all public IPs inside a project.

		Get a list of all public IPs inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListPublicIPsRequest

		Deprecated
	*/
	ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest

	// ListPublicIPsExecute executes the request
	//  @return PublicIpListResponse
	// Deprecated
	ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)

	/*
		ListQuotas List project quotas.

		List quota limits and usage for project resources.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListQuotasRequest

		Deprecated
	*/
	ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest

	// ListQuotasExecute executes the request
	//  @return QuotaListResponse
	// Deprecated
	ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)

	/*
		ListSecurityGroupRules List all rules for a security group.

		Get a list of all rules inside a security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiListSecurityGroupRulesRequest

		Deprecated
	*/
	ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest

	// ListSecurityGroupRulesExecute executes the request
	//  @return SecurityGroupRuleListResponse
	// Deprecated
	ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)

	/*
		ListSecurityGroups List all security groups inside a project.

		Get a list of all security groups inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListSecurityGroupsRequest

		Deprecated
	*/
	ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest

	// ListSecurityGroupsExecute executes the request
	//  @return SecurityGroupListResponse
	// Deprecated
	ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)

	/*
		ListServerNics Get all network interfaces.

		Get all network interfaces attached to the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiListServerNicsRequest

		Deprecated
	*/
	ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest

	// ListServerNicsExecute executes the request
	//  @return NICListResponse
	// Deprecated
	ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)

	/*
		ListServerServiceAccounts List all service accounts of the Server.

		Get the list of the service accounts of the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiListServerServiceAccountsRequest

		Deprecated
	*/
	ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest

	// ListServerServiceAccountsExecute executes the request
	//  @return ServiceAccountMailListResponse
	// Deprecated
	ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)

	/*
		ListServers List all servers inside a project.

		Get a list of all servers inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListServersRequest

		Deprecated
	*/
	ListServers(ctx context.Context, projectId string) ApiListServersRequest

	// ListServersExecute executes the request
	//  @return ServerListResponse
	// Deprecated
	ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)

	/*
		ListSnapshots List all snapshots inside a project.

		Get a list of all snapshots inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListSnapshotsRequest

		Deprecated
	*/
	ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest

	// ListSnapshotsExecute executes the request
	//  @return SnapshotListResponse
	// Deprecated
	ListSnapshotsExecute(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)

	/*
		ListVolumePerformanceClasses List all volume performance classes available for a project.

		Get a list of all volume performance classes available inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListVolumePerformanceClassesRequest

		Deprecated
	*/
	ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest

	// ListVolumePerformanceClassesExecute executes the request
	//  @return VolumePerformanceClassListResponse
	// Deprecated
	ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)

	/*
		ListVolumes List all volumes inside a project.

		Get a list of all volumes inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiListVolumesRequest

		Deprecated
	*/
	ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest

	// ListVolumesExecute executes the request
	//  @return VolumeListResponse
	// Deprecated
	ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)

	/*
		PartialUpdateNetwork Update network settings.

		Update the settings of a network inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiPartialUpdateNetworkRequest

		Deprecated
	*/
	PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest

	// PartialUpdateNetworkExecute executes the request
	// Deprecated
	PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

	/*
		PartialUpdateNetworkArea Update network area settings.

		Update the settings of a network area in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiPartialUpdateNetworkAreaRequest

		Deprecated
	*/
	PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

	// PartialUpdateNetworkAreaExecute executes the request
	//  @return NetworkArea
	// Deprecated
	PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)

	/*
		RebootServer Reboot the server.

		Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiRebootServerRequest

		Deprecated
	*/
	RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest

	// RebootServerExecute executes the request
	// Deprecated
	RebootServerExecute(r ApiRebootServerRequest) error

	/*
		RemoveNetworkFromServer Detach and delete all network interfaces associated with the specified network.

		Detach and delete all network interfaces associated with the specified network from the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiRemoveNetworkFromServerRequest

		Deprecated
	*/
	RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest

	// RemoveNetworkFromServerExecute executes the request
	// Deprecated
	RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error

	/*
		RemoveNicFromServer Detach a network interface.

		Detach a network interface from a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param nicId The identifier (ID) of a network interface.
		@return ApiRemoveNicFromServerRequest

		Deprecated
	*/
	RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest

	// RemoveNicFromServerExecute executes the request
	// Deprecated
	RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error

	/*
		RemovePublicIpFromServer Dissociate a public IP from a server.

		Dissociate a public IP on an existing server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiRemovePublicIpFromServerRequest

		Deprecated
	*/
	RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest

	// RemovePublicIpFromServerExecute executes the request
	// Deprecated
	RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error

	/*
		RemoveSecurityGroupFromServer Remove a server from a security group.

		Remove a server from a attached security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiRemoveSecurityGroupFromServerRequest

		Deprecated
	*/
	RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest

	// RemoveSecurityGroupFromServerExecute executes the request
	// Deprecated
	RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error

	/*
		RemoveServiceAccountFromServer Detach a service account from a server.

		Detach an additional service account from the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param serviceAccountMail The e-mail address of a service account.
		@return ApiRemoveServiceAccountFromServerRequest

		Deprecated
	*/
	RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest

	// RemoveServiceAccountFromServerExecute executes the request
	//  @return ServiceAccountMailListResponse
	// Deprecated
	RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)

	/*
		RemoveVolumeFromServer Detach a volume from a server.

		Detach an existing volume from an existing server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiRemoveVolumeFromServerRequest

		Deprecated
	*/
	RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest

	// RemoveVolumeFromServerExecute executes the request
	// Deprecated
	RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error

	/*
		RescueServer Rescue an existing server.

		Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiRescueServerRequest

		Deprecated
	*/
	RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest

	// RescueServerExecute executes the request
	// Deprecated
	RescueServerExecute(r ApiRescueServerRequest) error

	/*
		ResizeServer Resize a server.

		Resize the server to the given machine type.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiResizeServerRequest

		Deprecated
	*/
	ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest

	// ResizeServerExecute executes the request
	// Deprecated
	ResizeServerExecute(r ApiResizeServerRequest) error

	/*
		ResizeVolume Update the size of a volume.

		Update the size of a block device volume. The new volume size must be larger than the current size.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiResizeVolumeRequest

		Deprecated
	*/
	ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest

	// ResizeVolumeExecute executes the request
	// Deprecated
	ResizeVolumeExecute(r ApiResizeVolumeRequest) error

	/*
		RestoreBackup Restore Backup to the referenced source Volume.

		Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiRestoreBackupRequest

		Deprecated
	*/
	RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest

	// RestoreBackupExecute executes the request
	// Deprecated
	RestoreBackupExecute(r ApiRestoreBackupRequest) error

	/*
		SetImageShare Set image share.

		Set share of an Image. New Options will replace existing settings.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiSetImageShareRequest

		Deprecated
	*/
	SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest

	// SetImageShareExecute executes the request
	//  @return ImageShare
	// Deprecated
	SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)

	/*
		StartServer Boot up a server.

		Start an existing server or allocates the server if deallocated.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiStartServerRequest

		Deprecated
	*/
	StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest

	// StartServerExecute executes the request
	// Deprecated
	StartServerExecute(r ApiStartServerRequest) error

	/*
		StopServer Stop an existing server.

		Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiStopServerRequest

		Deprecated
	*/
	StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest

	// StopServerExecute executes the request
	// Deprecated
	StopServerExecute(r ApiStopServerRequest) error

	/*
		UnrescueServer Unrescue an existing server.

		Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiUnrescueServerRequest

		Deprecated
	*/
	UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest

	// UnrescueServerExecute executes the request
	// Deprecated
	UnrescueServerExecute(r ApiUnrescueServerRequest) error

	/*
		UpdateAttachedVolume Update Volume Attachment Parameters.

		Update the properties of an existing Volume Attachment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiUpdateAttachedVolumeRequest

		Deprecated
	*/
	UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest

	// UpdateAttachedVolumeExecute executes the request
	//  @return VolumeAttachment
	// Deprecated
	UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)

	/*
		UpdateBackup Update information of a backup.

		Update name or labels of the backup.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiUpdateBackupRequest

		Deprecated
	*/
	UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest

	// UpdateBackupExecute executes the request
	//  @return Backup
	// Deprecated
	UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)

	/*
		UpdateImage Update Image Parameters.

		Update the properties of an existing Image inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiUpdateImageRequest

		Deprecated
	*/
	UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest

	// UpdateImageExecute executes the request
	//  @return Image
	// Deprecated
	UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)

	/*
		UpdateImageScopeLocal Update Image Scope to Local.

		Update the scope property of an existing Image inside a project to local.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiUpdateImageScopeLocalRequest

		Deprecated
	*/
	UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest

	// UpdateImageScopeLocalExecute executes the request
	//  @return Image
	// Deprecated
	UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)

	/*
		UpdateImageScopePublic Update Image Scope to Public.

		Update the scope property of an existing Image inside a project to public.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiUpdateImageScopePublicRequest

		Deprecated
	*/
	UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest

	// UpdateImageScopePublicExecute executes the request
	//  @return Image
	// Deprecated
	UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)

	/*
		UpdateImageShare Update image share.

		Update share of an Image. Projects will be appended to existing list.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiUpdateImageShareRequest

		Deprecated
	*/
	UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest

	// UpdateImageShareExecute executes the request
	//  @return ImageShare
	// Deprecated
	UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)

	/*
		UpdateKeyPair Update information of an SSH keypair.

		Update labels of the SSH keypair.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param keypairName The name of an SSH keypair.
		@return ApiUpdateKeyPairRequest

		Deprecated
	*/
	UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest

	// UpdateKeyPairExecute executes the request
	//  @return Keypair
	// Deprecated
	UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)

	/*
		UpdateNetworkAreaRoute Update a network route.

		Update a network route defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiUpdateNetworkAreaRouteRequest

		Deprecated
	*/
	UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest

	// UpdateNetworkAreaRouteExecute executes the request
	//  @return Route
	// Deprecated
	UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)

	/*
		UpdateNic Update a network interface.

		Update the properties of an existing network interface inside a network.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param networkId The identifier (ID) of a STACKIT Network.
		@param nicId The identifier (ID) of a network interface.
		@return ApiUpdateNicRequest

		Deprecated
	*/
	UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest

	// UpdateNicExecute executes the request
	//  @return NIC
	// Deprecated
	UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)

	/*
		UpdatePublicIP Update a public IP.

		Update the properties of an existing public IP inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiUpdatePublicIPRequest

		Deprecated
	*/
	UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest

	// UpdatePublicIPExecute executes the request
	//  @return PublicIp
	// Deprecated
	UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)

	/*
		UpdateSecurityGroup Update information of a security group.

		Update labels of the security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiUpdateSecurityGroupRequest

		Deprecated
	*/
	UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest

	// UpdateSecurityGroupExecute executes the request
	//  @return SecurityGroup
	// Deprecated
	UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)

	/*
		UpdateServer Update information of a server.

		Update name or labels of the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiUpdateServerRequest

		Deprecated
	*/
	UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest

	// UpdateServerExecute executes the request
	//  @return Server
	// Deprecated
	UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)

	/*
		UpdateSnapshot Update information of the snapshot.

		Update information like name or labels of the snapshot.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param snapshotId The identifier (ID) of a STACKIT Snapshot.
		@return ApiUpdateSnapshotRequest

		Deprecated
	*/
	UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest

	// UpdateSnapshotExecute executes the request
	//  @return Snapshot
	// Deprecated
	UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)

	/*
		UpdateVolume Update information of a volume.

		Update name, description or labels of the volume.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiUpdateVolumeRequest

		Deprecated
	*/
	UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest

	// UpdateVolumeExecute executes the request
	//  @return Volume
	// Deprecated
	UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) AddNetworkToServer

func (a *DefaultAPIService) AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest

AddNetworkToServer Create and attach a network interface from the specified network.

Create and attach a network interface from the specified network to the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiAddNetworkToServerRequest

Deprecated

func (*DefaultAPIService) AddNetworkToServerExecute

func (a *DefaultAPIService) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) AddNicToServer

func (a *DefaultAPIService) AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest

AddNicToServer Attach an existing network interface.

Attach an existing network interface to a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiAddNicToServerRequest

Deprecated

func (*DefaultAPIService) AddNicToServerExecute

func (a *DefaultAPIService) AddNicToServerExecute(r ApiAddNicToServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) AddPublicIpToServer

func (a *DefaultAPIService) AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest

AddPublicIpToServer Associate a public IP to the server.

Associate a public IP to a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiAddPublicIpToServerRequest

Deprecated

func (*DefaultAPIService) AddPublicIpToServerExecute

func (a *DefaultAPIService) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) AddSecurityGroupToServer

func (a *DefaultAPIService) AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest

AddSecurityGroupToServer Add a server to a security group.

Add an existing server to an existing security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiAddSecurityGroupToServerRequest

Deprecated

func (*DefaultAPIService) AddSecurityGroupToServerExecute

func (a *DefaultAPIService) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) AddServiceAccountToServer

func (a *DefaultAPIService) AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest

AddServiceAccountToServer Attach service account to a server.

Attach an additional service account to the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiAddServiceAccountToServerRequest

Deprecated

func (*DefaultAPIService) AddServiceAccountToServerExecute

Execute executes the request

@return ServiceAccountMailListResponse

Deprecated

func (*DefaultAPIService) AddVolumeToServer

func (a *DefaultAPIService) AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest

AddVolumeToServer Attach a volume to a server.

Attach an existing volume to an existing server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiAddVolumeToServerRequest

Deprecated

func (*DefaultAPIService) AddVolumeToServerExecute

func (a *DefaultAPIService) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)

Execute executes the request

@return VolumeAttachment

Deprecated

func (*DefaultAPIService) CreateAffinityGroup

func (a *DefaultAPIService) CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest

CreateAffinityGroup Create a new affinity group in a project.

Create a new server affinity group in the given project ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateAffinityGroupRequest

Deprecated

func (*DefaultAPIService) CreateAffinityGroupExecute

func (a *DefaultAPIService) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)

Execute executes the request

@return AffinityGroup

Deprecated

func (*DefaultAPIService) CreateBackup

func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest

CreateBackup Create new Backup.

Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateBackupRequest

Deprecated

func (*DefaultAPIService) CreateBackupExecute

func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

Deprecated

func (*DefaultAPIService) CreateImage

func (a *DefaultAPIService) CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest

CreateImage Create new Image.

Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateImageRequest

Deprecated

func (*DefaultAPIService) CreateImageExecute

Execute executes the request

@return ImageCreateResponse

Deprecated

func (*DefaultAPIService) CreateKeyPair

CreateKeyPair Import a public key.

Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. Supported keypair types are ecdsa, ed25519 and rsa.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateKeyPairRequest

Deprecated

func (*DefaultAPIService) CreateKeyPairExecute

func (a *DefaultAPIService) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)

Execute executes the request

@return Keypair

Deprecated

func (*DefaultAPIService) CreateNetwork

func (a *DefaultAPIService) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest

CreateNetwork Create new network.

Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateNetworkRequest

Deprecated

func (*DefaultAPIService) CreateNetworkArea

func (a *DefaultAPIService) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

CreateNetworkArea Create new network area in an organization.

Create a new network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiCreateNetworkAreaRequest

Deprecated

func (*DefaultAPIService) CreateNetworkAreaExecute

func (a *DefaultAPIService) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)

Execute executes the request

@return NetworkArea

Deprecated

func (*DefaultAPIService) CreateNetworkAreaRange

func (a *DefaultAPIService) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest

CreateNetworkAreaRange Create new network range in a network area.

Create a new network range in an existing network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiCreateNetworkAreaRangeRequest

Deprecated

func (*DefaultAPIService) CreateNetworkAreaRangeExecute

func (a *DefaultAPIService) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)

Execute executes the request

@return NetworkRangeListResponse

Deprecated

func (*DefaultAPIService) CreateNetworkAreaRoute

func (a *DefaultAPIService) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest

CreateNetworkAreaRoute Create new network routes.

Create one or several new network routes in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiCreateNetworkAreaRouteRequest

Deprecated

func (*DefaultAPIService) CreateNetworkAreaRouteExecute

func (a *DefaultAPIService) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)

Execute executes the request

@return RouteListResponse

Deprecated

func (*DefaultAPIService) CreateNetworkExecute

func (a *DefaultAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

Execute executes the request

@return Network

Deprecated

func (*DefaultAPIService) CreateNic

func (a *DefaultAPIService) CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest

CreateNic Create new network interface.

Create a new network interface in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiCreateNicRequest

Deprecated

func (*DefaultAPIService) CreateNicExecute

func (a *DefaultAPIService) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)

Execute executes the request

@return NIC

Deprecated

func (*DefaultAPIService) CreatePublicIP

func (a *DefaultAPIService) CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest

CreatePublicIP Create new public IP.

Create a new public IP in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreatePublicIPRequest

Deprecated

func (*DefaultAPIService) CreatePublicIPExecute

func (a *DefaultAPIService) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)

Execute executes the request

@return PublicIp

Deprecated

func (*DefaultAPIService) CreateSecurityGroup

func (a *DefaultAPIService) CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest

CreateSecurityGroup Create new security group.

Create a new security group in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateSecurityGroupRequest

Deprecated

func (*DefaultAPIService) CreateSecurityGroupExecute

func (a *DefaultAPIService) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)

Execute executes the request

@return SecurityGroup

Deprecated

func (*DefaultAPIService) CreateSecurityGroupRule

func (a *DefaultAPIService) CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest

CreateSecurityGroupRule Create new security group rule.

Create a new security group rule in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiCreateSecurityGroupRuleRequest

Deprecated

func (*DefaultAPIService) CreateSecurityGroupRuleExecute

func (a *DefaultAPIService) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)

Execute executes the request

@return SecurityGroupRule

Deprecated

func (*DefaultAPIService) CreateServer

func (a *DefaultAPIService) CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest

CreateServer Create new server.

Create a new server in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateServerRequest

Deprecated

func (*DefaultAPIService) CreateServerExecute

func (a *DefaultAPIService) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)

Execute executes the request

@return Server

Deprecated

func (*DefaultAPIService) CreateSnapshot

func (a *DefaultAPIService) CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest

CreateSnapshot Create new Snapshot.

Create a new Snapshot from a Volume in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateSnapshotRequest

Deprecated

func (*DefaultAPIService) CreateSnapshotExecute

func (a *DefaultAPIService) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)

Execute executes the request

@return Snapshot

Deprecated

func (*DefaultAPIService) CreateVolume

func (a *DefaultAPIService) CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest

CreateVolume Create new volume.

Create a new volume in a project. If a volume source is not provided, an empty volume will be created. The size property is required if no source or an image source is provided.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateVolumeRequest

Deprecated

func (*DefaultAPIService) CreateVolumeExecute

func (a *DefaultAPIService) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)

Execute executes the request

@return Volume

Deprecated

func (*DefaultAPIService) DeallocateServer

func (a *DefaultAPIService) DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest

DeallocateServer Deallocate an existing server.

Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeallocateServerRequest

Deprecated

func (*DefaultAPIService) DeallocateServerExecute

func (a *DefaultAPIService) DeallocateServerExecute(r ApiDeallocateServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteAffinityGroup

func (a *DefaultAPIService) DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest

DeleteAffinityGroup Delete a affinity group in a project.

Delete a affinity group in the given project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiDeleteAffinityGroupRequest

Deprecated

func (*DefaultAPIService) DeleteAffinityGroupExecute

func (a *DefaultAPIService) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteBackup

func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest

DeleteBackup Delete a backup.

Delete a backup that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiDeleteBackupRequest

Deprecated

func (*DefaultAPIService) DeleteBackupExecute

func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteImage

func (a *DefaultAPIService) DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest

DeleteImage Delete an Image.

Delete an image that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiDeleteImageRequest

Deprecated

func (*DefaultAPIService) DeleteImageExecute

func (a *DefaultAPIService) DeleteImageExecute(r ApiDeleteImageRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteImageShare

func (a *DefaultAPIService) DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest

DeleteImageShare Remove image share.

Remove the image share. New scope will be local.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiDeleteImageShareRequest

Deprecated

func (*DefaultAPIService) DeleteImageShareConsumer

func (a *DefaultAPIService) DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest

DeleteImageShareConsumer Remove an image share consumer.

Remove consumer from a shared image.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
@return ApiDeleteImageShareConsumerRequest

Deprecated

func (*DefaultAPIService) DeleteImageShareConsumerExecute

func (a *DefaultAPIService) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteImageShareExecute

func (a *DefaultAPIService) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteKeyPair

func (a *DefaultAPIService) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest

DeleteKeyPair Delete an SSH keypair.

Delete an SSH keypair from a user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiDeleteKeyPairRequest

Deprecated

func (*DefaultAPIService) DeleteKeyPairExecute

func (a *DefaultAPIService) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteNetwork

func (a *DefaultAPIService) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest

DeleteNetwork Delete network.

Delete a network. If the network is still in use, the deletion will fail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiDeleteNetworkRequest

Deprecated

func (*DefaultAPIService) DeleteNetworkArea

func (a *DefaultAPIService) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

DeleteNetworkArea Delete a network area.

Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiDeleteNetworkAreaRequest

Deprecated

func (*DefaultAPIService) DeleteNetworkAreaExecute

func (a *DefaultAPIService) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteNetworkAreaRange

func (a *DefaultAPIService) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

DeleteNetworkAreaRange Delete a network range.

Delete a network range of a network area. The deletion will fail if the network range is still used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiDeleteNetworkAreaRangeRequest

Deprecated

func (*DefaultAPIService) DeleteNetworkAreaRangeExecute

func (a *DefaultAPIService) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteNetworkAreaRoute

func (a *DefaultAPIService) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest

DeleteNetworkAreaRoute Delete a network route.

Delete a network route of a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteNetworkAreaRouteRequest

Deprecated

func (*DefaultAPIService) DeleteNetworkAreaRouteExecute

func (a *DefaultAPIService) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteNetworkExecute

func (a *DefaultAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteNic

func (a *DefaultAPIService) DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest

DeleteNic Delete a network interface.

Delete a network interface that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiDeleteNicRequest

Deprecated

func (*DefaultAPIService) DeleteNicExecute

func (a *DefaultAPIService) DeleteNicExecute(r ApiDeleteNicRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeletePublicIP

func (a *DefaultAPIService) DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest

DeletePublicIP Delete a public IP.

Delete a public IP that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiDeletePublicIPRequest

Deprecated

func (*DefaultAPIService) DeletePublicIPExecute

func (a *DefaultAPIService) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteSecurityGroup

func (a *DefaultAPIService) DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest

DeleteSecurityGroup Delete security group.

Delete a security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiDeleteSecurityGroupRequest

Deprecated

func (*DefaultAPIService) DeleteSecurityGroupExecute

func (a *DefaultAPIService) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteSecurityGroupRule

func (a *DefaultAPIService) DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest

DeleteSecurityGroupRule Delete security group rule.

Delete a security group rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiDeleteSecurityGroupRuleRequest

Deprecated

func (*DefaultAPIService) DeleteSecurityGroupRuleExecute

func (a *DefaultAPIService) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteServer

func (a *DefaultAPIService) DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest

DeleteServer Delete a server.

Delete a server. Volumes won't be deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeleteServerRequest

Deprecated

func (*DefaultAPIService) DeleteServerExecute

func (a *DefaultAPIService) DeleteServerExecute(r ApiDeleteServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteSnapshot

func (a *DefaultAPIService) DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest

DeleteSnapshot Delete a snapshot.

Delete a snapshot that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiDeleteSnapshotRequest

Deprecated

func (*DefaultAPIService) DeleteSnapshotExecute

func (a *DefaultAPIService) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteVolume

func (a *DefaultAPIService) DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest

DeleteVolume Delete a volume.

Delete a volume inside a project. The deletion will fail if the volume is still in use.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiDeleteVolumeRequest

Deprecated

func (*DefaultAPIService) DeleteVolumeExecute

func (a *DefaultAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) GetAffinityGroup

func (a *DefaultAPIService) GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest

GetAffinityGroup Get the affinity group.

Get the affinity group created in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiGetAffinityGroupRequest

Deprecated

func (*DefaultAPIService) GetAffinityGroupExecute

func (a *DefaultAPIService) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)

Execute executes the request

@return AffinityGroup

Deprecated

func (*DefaultAPIService) GetAttachedVolume

func (a *DefaultAPIService) GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest

GetAttachedVolume Get Volume Attachment details.

Get the details of an existing Volume Attachment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetAttachedVolumeRequest

Deprecated

func (*DefaultAPIService) GetAttachedVolumeExecute

func (a *DefaultAPIService) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)

Execute executes the request

@return VolumeAttachment

Deprecated

func (*DefaultAPIService) GetBackup

func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest

GetBackup Get details about a backup.

Get details about a block device backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiGetBackupRequest

Deprecated

func (*DefaultAPIService) GetBackupExecute

func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

Deprecated

func (*DefaultAPIService) GetImage

func (a *DefaultAPIService) GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest

GetImage Get details about an image.

Get details about a specific Image inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiGetImageRequest

Deprecated

func (*DefaultAPIService) GetImageExecute

func (a *DefaultAPIService) GetImageExecute(r ApiGetImageRequest) (*Image, error)

Execute executes the request

@return Image

Deprecated

func (*DefaultAPIService) GetImageShare

func (a *DefaultAPIService) GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest

GetImageShare Get share details of an image.

Get share details about an shared image.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiGetImageShareRequest

Deprecated

func (*DefaultAPIService) GetImageShareConsumer

func (a *DefaultAPIService) GetImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest

GetImageShareConsumer Get image share consumer.

Get details about an image share consumer.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
@return ApiGetImageShareConsumerRequest

Deprecated

func (*DefaultAPIService) GetImageShareConsumerExecute

func (a *DefaultAPIService) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)

Execute executes the request

@return ImageShareConsumer

Deprecated

func (*DefaultAPIService) GetImageShareExecute

func (a *DefaultAPIService) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)

Execute executes the request

@return ImageShare

Deprecated

func (*DefaultAPIService) GetKeyPair

func (a *DefaultAPIService) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest

GetKeyPair Get SSH keypair details.

Get details about an SSH keypair.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiGetKeyPairRequest

Deprecated

func (*DefaultAPIService) GetKeyPairExecute

func (a *DefaultAPIService) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)

Execute executes the request

@return Keypair

Deprecated

func (*DefaultAPIService) GetMachineType

func (a *DefaultAPIService) GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest

GetMachineType Get details about a machine type.

Get details about a specific machine type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param machineType STACKIT machine type Name.
@return ApiGetMachineTypeRequest

Deprecated

func (*DefaultAPIService) GetMachineTypeExecute

func (a *DefaultAPIService) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)

Execute executes the request

@return MachineType

Deprecated

func (*DefaultAPIService) GetNetwork

func (a *DefaultAPIService) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest

GetNetwork Get network details.

Get details about a network of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiGetNetworkRequest

Deprecated

func (*DefaultAPIService) GetNetworkArea

func (a *DefaultAPIService) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

GetNetworkArea Get details about a network area.

Get details about a network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiGetNetworkAreaRequest

Deprecated

func (*DefaultAPIService) GetNetworkAreaExecute

func (a *DefaultAPIService) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)

Execute executes the request

@return NetworkArea

Deprecated

func (*DefaultAPIService) GetNetworkAreaRange

func (a *DefaultAPIService) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest

GetNetworkAreaRange Get details about a network range.

Get details about a network range in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiGetNetworkAreaRangeRequest

Deprecated

func (*DefaultAPIService) GetNetworkAreaRangeExecute

func (a *DefaultAPIService) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)

Execute executes the request

@return NetworkRange

Deprecated

func (*DefaultAPIService) GetNetworkAreaRoute

func (a *DefaultAPIService) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest

GetNetworkAreaRoute Get details about a network route.

Get details about a network route defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetNetworkAreaRouteRequest

Deprecated

func (*DefaultAPIService) GetNetworkAreaRouteExecute

func (a *DefaultAPIService) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)

Execute executes the request

@return Route

Deprecated

func (*DefaultAPIService) GetNetworkExecute

func (a *DefaultAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

Execute executes the request

@return Network

Deprecated

func (*DefaultAPIService) GetNic

func (a *DefaultAPIService) GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest

GetNic Get details about a network interface of a network.

Get details about a network interface inside a network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiGetNicRequest

Deprecated

func (*DefaultAPIService) GetNicExecute

func (a *DefaultAPIService) GetNicExecute(r ApiGetNicRequest) (*NIC, error)

Execute executes the request

@return NIC

Deprecated

func (*DefaultAPIService) GetOrganizationRequest

func (a *DefaultAPIService) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

GetOrganizationRequest Lookup an organization request ID.

Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetOrganizationRequestRequest

Deprecated

func (*DefaultAPIService) GetOrganizationRequestExecute

func (a *DefaultAPIService) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)

Execute executes the request

@return Request

Deprecated

func (*DefaultAPIService) GetProjectDetails

func (a *DefaultAPIService) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest

GetProjectDetails Get project details.

Get details about a STACKIT project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiGetProjectDetailsRequest

Deprecated

func (*DefaultAPIService) GetProjectDetailsExecute

func (a *DefaultAPIService) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)

Execute executes the request

@return Project

Deprecated

func (*DefaultAPIService) GetProjectNIC

func (a *DefaultAPIService) GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest

GetProjectNIC Get details about a network interface of a project.

Get details about a network interface inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param nicId The identifier (ID) of a network interface.
@return ApiGetProjectNICRequest

Deprecated

func (*DefaultAPIService) GetProjectNICExecute

func (a *DefaultAPIService) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)

Execute executes the request

@return NIC

Deprecated

func (*DefaultAPIService) GetProjectRequest

func (a *DefaultAPIService) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest

GetProjectRequest Lookup a project request ID.

Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetProjectRequestRequest

Deprecated

func (*DefaultAPIService) GetProjectRequestExecute

func (a *DefaultAPIService) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)

Execute executes the request

@return Request

Deprecated

func (*DefaultAPIService) GetPublicIP

func (a *DefaultAPIService) GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest

GetPublicIP Get details about a public IP.

Get details about a public IP inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiGetPublicIPRequest

Deprecated

func (*DefaultAPIService) GetPublicIPExecute

func (a *DefaultAPIService) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)

Execute executes the request

@return PublicIp

Deprecated

func (*DefaultAPIService) GetSecurityGroup

func (a *DefaultAPIService) GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest

GetSecurityGroup Get security group details.

Get details about a security group of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiGetSecurityGroupRequest

Deprecated

func (*DefaultAPIService) GetSecurityGroupExecute

func (a *DefaultAPIService) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)

Execute executes the request

@return SecurityGroup

Deprecated

func (*DefaultAPIService) GetSecurityGroupRule

func (a *DefaultAPIService) GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest

GetSecurityGroupRule Get security group rule details.

Get details about a security group rule of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiGetSecurityGroupRuleRequest

Deprecated

func (*DefaultAPIService) GetSecurityGroupRuleExecute

func (a *DefaultAPIService) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)

Execute executes the request

@return SecurityGroupRule

Deprecated

func (*DefaultAPIService) GetServer

func (a *DefaultAPIService) GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest

GetServer Get server details.

Get details about a server by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerRequest

Deprecated

func (*DefaultAPIService) GetServerConsole

func (a *DefaultAPIService) GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest

GetServerConsole Get server console.

Get a URL for server remote console.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerConsoleRequest

Deprecated

func (*DefaultAPIService) GetServerConsoleExecute

func (a *DefaultAPIService) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)

Execute executes the request

@return ServerConsoleUrl

Deprecated

func (*DefaultAPIService) GetServerExecute

func (a *DefaultAPIService) GetServerExecute(r ApiGetServerRequest) (*Server, error)

Execute executes the request

@return Server

Deprecated

func (*DefaultAPIService) GetServerLog

func (a *DefaultAPIService) GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest

GetServerLog Get server log.

Get server console log.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerLogRequest

Deprecated

func (*DefaultAPIService) GetServerLogExecute

Execute executes the request

@return GetServerLog200Response

Deprecated

func (*DefaultAPIService) GetSnapshot

func (a *DefaultAPIService) GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest

GetSnapshot Get details about a snapshot.

Get details about a block device snapshot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiGetSnapshotRequest

Deprecated

func (*DefaultAPIService) GetSnapshotExecute

func (a *DefaultAPIService) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)

Execute executes the request

@return Snapshot

Deprecated

func (*DefaultAPIService) GetVolume

func (a *DefaultAPIService) GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest

GetVolume Get details about a volume.

Get details about a block device volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetVolumeRequest

Deprecated

func (*DefaultAPIService) GetVolumeExecute

func (a *DefaultAPIService) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)

Execute executes the request

@return Volume

Deprecated

func (*DefaultAPIService) GetVolumePerformanceClass

func (a *DefaultAPIService) GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest

GetVolumePerformanceClass Get details about a volume performance class.

Get details about a specific volume performance class.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumePerformanceClass The name of a STACKIT Volume performance class.
@return ApiGetVolumePerformanceClassRequest

Deprecated

func (*DefaultAPIService) GetVolumePerformanceClassExecute

func (a *DefaultAPIService) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)

Execute executes the request

@return VolumePerformanceClass

Deprecated

func (*DefaultAPIService) ListAffinityGroups

func (a *DefaultAPIService) ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest

ListAffinityGroups Get the affinity groups setup for a project.

Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListAffinityGroupsRequest

Deprecated

func (*DefaultAPIService) ListAffinityGroupsExecute

Execute executes the request

@return AffinityGroupListResponse

Deprecated

func (*DefaultAPIService) ListAttachedVolumes

func (a *DefaultAPIService) ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest

ListAttachedVolumes List all volume attachments of a server.

Get a list of all volume attachments of a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListAttachedVolumesRequest

Deprecated

func (*DefaultAPIService) ListAttachedVolumesExecute

Execute executes the request

@return VolumeAttachmentListResponse

Deprecated

func (*DefaultAPIService) ListAvailabilityZones

func (a *DefaultAPIService) ListAvailabilityZones(ctx context.Context) ApiListAvailabilityZonesRequest

ListAvailabilityZones List all availability zones.

Get a list of all availability zones.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListAvailabilityZonesRequest

Deprecated

func (*DefaultAPIService) ListAvailabilityZonesExecute

Execute executes the request

@return AvailabilityZoneListResponse

Deprecated

func (*DefaultAPIService) ListBackups

func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest

ListBackups List all backups inside a project.

Get a list of all backups inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListBackupsRequest

Deprecated

func (*DefaultAPIService) ListBackupsExecute

func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)

Execute executes the request

@return BackupListResponse

Deprecated

func (*DefaultAPIService) ListImages

func (a *DefaultAPIService) ListImages(ctx context.Context, projectId string) ApiListImagesRequest

ListImages List all Images inside a project.

Get a list of all images inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListImagesRequest

Deprecated

func (*DefaultAPIService) ListImagesExecute

func (a *DefaultAPIService) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)

Execute executes the request

@return ImageListResponse

Deprecated

func (*DefaultAPIService) ListKeyPairs

ListKeyPairs List all SSH keypairs for the requesting user.

Get a list of all SSH keypairs assigned to the requesting user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListKeyPairsRequest

Deprecated

func (*DefaultAPIService) ListKeyPairsExecute

func (a *DefaultAPIService) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)

Execute executes the request

@return KeyPairListResponse

Deprecated

func (*DefaultAPIService) ListMachineTypes

func (a *DefaultAPIService) ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest

ListMachineTypes List all machine types available for a project.

Get a list of all machine type available in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListMachineTypesRequest

Deprecated

func (*DefaultAPIService) ListMachineTypesExecute

Execute executes the request

@return MachineTypeListResponse

Deprecated

func (*DefaultAPIService) ListNetworkAreaProjects

func (a *DefaultAPIService) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

ListNetworkAreaProjects List all projects using a network area.

Get a list of all projects using a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaProjectsRequest

Deprecated

func (*DefaultAPIService) ListNetworkAreaProjectsExecute

func (a *DefaultAPIService) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)

Execute executes the request

@return ProjectListResponse

Deprecated

func (*DefaultAPIService) ListNetworkAreaRanges

func (a *DefaultAPIService) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest

ListNetworkAreaRanges List all network ranges in a network area.

Get a list of all network ranges in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRangesRequest

Deprecated

func (*DefaultAPIService) ListNetworkAreaRangesExecute

Execute executes the request

@return NetworkRangeListResponse

Deprecated

func (*DefaultAPIService) ListNetworkAreaRoutes

func (a *DefaultAPIService) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest

ListNetworkAreaRoutes List all network routes in a network area.

Get a list of all network routes defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRoutesRequest

Deprecated

func (*DefaultAPIService) ListNetworkAreaRoutesExecute

func (a *DefaultAPIService) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)

Execute executes the request

@return RouteListResponse

Deprecated

func (*DefaultAPIService) ListNetworkAreas

func (a *DefaultAPIService) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

ListNetworkAreas List all network areas in an organization.

Get a list of all visible network areas defined in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiListNetworkAreasRequest

Deprecated

func (*DefaultAPIService) ListNetworkAreasExecute

Execute executes the request

@return NetworkAreaListResponse

Deprecated

func (*DefaultAPIService) ListNetworks

func (a *DefaultAPIService) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest

ListNetworks List all networks inside a project.

Get a list of all networks inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListNetworksRequest

Deprecated

func (*DefaultAPIService) ListNetworksExecute

func (a *DefaultAPIService) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)

Execute executes the request

@return NetworkListResponse

Deprecated

func (*DefaultAPIService) ListNics

func (a *DefaultAPIService) ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest

ListNics List all network interfaces inside a network.

Get a list of all network interfaces inside a network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiListNicsRequest

Deprecated

func (*DefaultAPIService) ListNicsExecute

func (a *DefaultAPIService) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)

Execute executes the request

@return NICListResponse

Deprecated

func (*DefaultAPIService) ListProjectNICs

func (a *DefaultAPIService) ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest

ListProjectNICs List all network interfaces inside a project.

Get a list of all network interfaces inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListProjectNICsRequest

Deprecated

func (*DefaultAPIService) ListProjectNICsExecute

func (a *DefaultAPIService) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)

Execute executes the request

@return NICListResponse

Deprecated

func (*DefaultAPIService) ListPublicIPRanges

ListPublicIPRanges List all public IP ranges.

Get a list of all public IP ranges that STACKIT uses.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPublicIPRangesRequest

Deprecated

func (*DefaultAPIService) ListPublicIPRangesExecute

Execute executes the request

@return PublicNetworkListResponse

Deprecated

func (*DefaultAPIService) ListPublicIPs

func (a *DefaultAPIService) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest

ListPublicIPs List all public IPs inside a project.

Get a list of all public IPs inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListPublicIPsRequest

Deprecated

func (*DefaultAPIService) ListPublicIPsExecute

Execute executes the request

@return PublicIpListResponse

Deprecated

func (*DefaultAPIService) ListQuotas

func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest

ListQuotas List project quotas.

List quota limits and usage for project resources.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListQuotasRequest

Deprecated

func (*DefaultAPIService) ListQuotasExecute

func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)

Execute executes the request

@return QuotaListResponse

Deprecated

func (*DefaultAPIService) ListSecurityGroupRules

func (a *DefaultAPIService) ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest

ListSecurityGroupRules List all rules for a security group.

Get a list of all rules inside a security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiListSecurityGroupRulesRequest

Deprecated

func (*DefaultAPIService) ListSecurityGroupRulesExecute

Execute executes the request

@return SecurityGroupRuleListResponse

Deprecated

func (*DefaultAPIService) ListSecurityGroups

func (a *DefaultAPIService) ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest

ListSecurityGroups List all security groups inside a project.

Get a list of all security groups inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListSecurityGroupsRequest

Deprecated

func (*DefaultAPIService) ListSecurityGroupsExecute

Execute executes the request

@return SecurityGroupListResponse

Deprecated

func (*DefaultAPIService) ListServerNics

func (a *DefaultAPIService) ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest

ListServerNics Get all network interfaces.

Get all network interfaces attached to the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerNicsRequest

Deprecated

func (*DefaultAPIService) ListServerNicsExecute

func (a *DefaultAPIService) ListServerNicsExecute(r ApiListServerNicsRequest) (*NICListResponse, error)

Execute executes the request

@return NICListResponse

Deprecated

func (*DefaultAPIService) ListServerServiceAccounts

func (a *DefaultAPIService) ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest

ListServerServiceAccounts List all service accounts of the Server.

Get the list of the service accounts of the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerServiceAccountsRequest

Deprecated

func (*DefaultAPIService) ListServerServiceAccountsExecute

Execute executes the request

@return ServiceAccountMailListResponse

Deprecated

func (*DefaultAPIService) ListServers

func (a *DefaultAPIService) ListServers(ctx context.Context, projectId string) ApiListServersRequest

ListServers List all servers inside a project.

Get a list of all servers inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListServersRequest

Deprecated

func (*DefaultAPIService) ListServersExecute

func (a *DefaultAPIService) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)

Execute executes the request

@return ServerListResponse

Deprecated

func (*DefaultAPIService) ListSnapshots

func (a *DefaultAPIService) ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest

ListSnapshots List all snapshots inside a project.

Get a list of all snapshots inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListSnapshotsRequest

Deprecated

func (*DefaultAPIService) ListSnapshotsExecute

Execute executes the request

@return SnapshotListResponse

Deprecated

func (*DefaultAPIService) ListVolumePerformanceClasses

func (a *DefaultAPIService) ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest

ListVolumePerformanceClasses List all volume performance classes available for a project.

Get a list of all volume performance classes available inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListVolumePerformanceClassesRequest

Deprecated

func (*DefaultAPIService) ListVolumePerformanceClassesExecute

Execute executes the request

@return VolumePerformanceClassListResponse

Deprecated

func (*DefaultAPIService) ListVolumes

func (a *DefaultAPIService) ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest

ListVolumes List all volumes inside a project.

Get a list of all volumes inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListVolumesRequest

Deprecated

func (*DefaultAPIService) ListVolumesExecute

func (a *DefaultAPIService) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)

Execute executes the request

@return VolumeListResponse

Deprecated

func (*DefaultAPIService) PartialUpdateNetwork

func (a *DefaultAPIService) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest

PartialUpdateNetwork Update network settings.

Update the settings of a network inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiPartialUpdateNetworkRequest

Deprecated

func (*DefaultAPIService) PartialUpdateNetworkArea

func (a *DefaultAPIService) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

PartialUpdateNetworkArea Update network area settings.

Update the settings of a network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiPartialUpdateNetworkAreaRequest

Deprecated

func (*DefaultAPIService) PartialUpdateNetworkAreaExecute

func (a *DefaultAPIService) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)

Execute executes the request

@return NetworkArea

Deprecated

func (*DefaultAPIService) PartialUpdateNetworkExecute

func (a *DefaultAPIService) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RebootServer

func (a *DefaultAPIService) RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest

RebootServer Reboot the server.

Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRebootServerRequest

Deprecated

func (*DefaultAPIService) RebootServerExecute

func (a *DefaultAPIService) RebootServerExecute(r ApiRebootServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RemoveNetworkFromServer

func (a *DefaultAPIService) RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest

RemoveNetworkFromServer Detach and delete all network interfaces associated with the specified network.

Detach and delete all network interfaces associated with the specified network from the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiRemoveNetworkFromServerRequest

Deprecated

func (*DefaultAPIService) RemoveNetworkFromServerExecute

func (a *DefaultAPIService) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RemoveNicFromServer

func (a *DefaultAPIService) RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest

RemoveNicFromServer Detach a network interface.

Detach a network interface from a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiRemoveNicFromServerRequest

Deprecated

func (*DefaultAPIService) RemoveNicFromServerExecute

func (a *DefaultAPIService) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RemovePublicIpFromServer

func (a *DefaultAPIService) RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest

RemovePublicIpFromServer Dissociate a public IP from a server.

Dissociate a public IP on an existing server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiRemovePublicIpFromServerRequest

Deprecated

func (*DefaultAPIService) RemovePublicIpFromServerExecute

func (a *DefaultAPIService) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RemoveSecurityGroupFromServer

func (a *DefaultAPIService) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest

RemoveSecurityGroupFromServer Remove a server from a security group.

Remove a server from a attached security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiRemoveSecurityGroupFromServerRequest

Deprecated

func (*DefaultAPIService) RemoveSecurityGroupFromServerExecute

func (a *DefaultAPIService) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RemoveServiceAccountFromServer

func (a *DefaultAPIService) RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest

RemoveServiceAccountFromServer Detach a service account from a server.

Detach an additional service account from the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiRemoveServiceAccountFromServerRequest

Deprecated

func (*DefaultAPIService) RemoveServiceAccountFromServerExecute

Execute executes the request

@return ServiceAccountMailListResponse

Deprecated

func (*DefaultAPIService) RemoveVolumeFromServer

func (a *DefaultAPIService) RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest

RemoveVolumeFromServer Detach a volume from a server.

Detach an existing volume from an existing server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiRemoveVolumeFromServerRequest

Deprecated

func (*DefaultAPIService) RemoveVolumeFromServerExecute

func (a *DefaultAPIService) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RescueServer

func (a *DefaultAPIService) RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest

RescueServer Rescue an existing server.

Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRescueServerRequest

Deprecated

func (*DefaultAPIService) RescueServerExecute

func (a *DefaultAPIService) RescueServerExecute(r ApiRescueServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) ResizeServer

func (a *DefaultAPIService) ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest

ResizeServer Resize a server.

Resize the server to the given machine type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiResizeServerRequest

Deprecated

func (*DefaultAPIService) ResizeServerExecute

func (a *DefaultAPIService) ResizeServerExecute(r ApiResizeServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) ResizeVolume

func (a *DefaultAPIService) ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest

ResizeVolume Update the size of a volume.

Update the size of a block device volume. The new volume size must be larger than the current size.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiResizeVolumeRequest

Deprecated

func (*DefaultAPIService) ResizeVolumeExecute

func (a *DefaultAPIService) ResizeVolumeExecute(r ApiResizeVolumeRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) RestoreBackup

func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest

RestoreBackup Restore Backup to the referenced source Volume.

Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiRestoreBackupRequest

Deprecated

func (*DefaultAPIService) RestoreBackupExecute

func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) SetImageShare

func (a *DefaultAPIService) SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest

SetImageShare Set image share.

Set share of an Image. New Options will replace existing settings.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiSetImageShareRequest

Deprecated

func (*DefaultAPIService) SetImageShareExecute

func (a *DefaultAPIService) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)

Execute executes the request

@return ImageShare

Deprecated

func (*DefaultAPIService) StartServer

func (a *DefaultAPIService) StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest

StartServer Boot up a server.

Start an existing server or allocates the server if deallocated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStartServerRequest

Deprecated

func (*DefaultAPIService) StartServerExecute

func (a *DefaultAPIService) StartServerExecute(r ApiStartServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) StopServer

func (a *DefaultAPIService) StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest

StopServer Stop an existing server.

Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStopServerRequest

Deprecated

func (*DefaultAPIService) StopServerExecute

func (a *DefaultAPIService) StopServerExecute(r ApiStopServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) UnrescueServer

func (a *DefaultAPIService) UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest

UnrescueServer Unrescue an existing server.

Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUnrescueServerRequest

Deprecated

func (*DefaultAPIService) UnrescueServerExecute

func (a *DefaultAPIService) UnrescueServerExecute(r ApiUnrescueServerRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) UpdateAttachedVolume

func (a *DefaultAPIService) UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest

UpdateAttachedVolume Update Volume Attachment Parameters.

Update the properties of an existing Volume Attachment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateAttachedVolumeRequest

Deprecated

func (*DefaultAPIService) UpdateAttachedVolumeExecute

func (a *DefaultAPIService) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)

Execute executes the request

@return VolumeAttachment

Deprecated

func (*DefaultAPIService) UpdateBackup

func (a *DefaultAPIService) UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest

UpdateBackup Update information of a backup.

Update name or labels of the backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiUpdateBackupRequest

Deprecated

func (*DefaultAPIService) UpdateBackupExecute

func (a *DefaultAPIService) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

Deprecated

func (*DefaultAPIService) UpdateImage

func (a *DefaultAPIService) UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest

UpdateImage Update Image Parameters.

Update the properties of an existing Image inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageRequest

Deprecated

func (*DefaultAPIService) UpdateImageExecute

func (a *DefaultAPIService) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)

Execute executes the request

@return Image

Deprecated

func (*DefaultAPIService) UpdateImageScopeLocal

func (a *DefaultAPIService) UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest

UpdateImageScopeLocal Update Image Scope to Local.

Update the scope property of an existing Image inside a project to local.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageScopeLocalRequest

Deprecated

func (*DefaultAPIService) UpdateImageScopeLocalExecute

func (a *DefaultAPIService) UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)

Execute executes the request

@return Image

Deprecated

func (*DefaultAPIService) UpdateImageScopePublic

func (a *DefaultAPIService) UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest

UpdateImageScopePublic Update Image Scope to Public.

Update the scope property of an existing Image inside a project to public.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageScopePublicRequest

Deprecated

func (*DefaultAPIService) UpdateImageScopePublicExecute

func (a *DefaultAPIService) UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)

Execute executes the request

@return Image

Deprecated

func (*DefaultAPIService) UpdateImageShare

func (a *DefaultAPIService) UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest

UpdateImageShare Update image share.

Update share of an Image. Projects will be appended to existing list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageShareRequest

Deprecated

func (*DefaultAPIService) UpdateImageShareExecute

func (a *DefaultAPIService) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)

Execute executes the request

@return ImageShare

Deprecated

func (*DefaultAPIService) UpdateKeyPair

func (a *DefaultAPIService) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest

UpdateKeyPair Update information of an SSH keypair.

Update labels of the SSH keypair.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiUpdateKeyPairRequest

Deprecated

func (*DefaultAPIService) UpdateKeyPairExecute

func (a *DefaultAPIService) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)

Execute executes the request

@return Keypair

Deprecated

func (*DefaultAPIService) UpdateNetworkAreaRoute

func (a *DefaultAPIService) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest

UpdateNetworkAreaRoute Update a network route.

Update a network route defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiUpdateNetworkAreaRouteRequest

Deprecated

func (*DefaultAPIService) UpdateNetworkAreaRouteExecute

func (a *DefaultAPIService) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)

Execute executes the request

@return Route

Deprecated

func (*DefaultAPIService) UpdateNic

func (a *DefaultAPIService) UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest

UpdateNic Update a network interface.

Update the properties of an existing network interface inside a network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiUpdateNicRequest

Deprecated

func (*DefaultAPIService) UpdateNicExecute

func (a *DefaultAPIService) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)

Execute executes the request

@return NIC

Deprecated

func (*DefaultAPIService) UpdatePublicIP

func (a *DefaultAPIService) UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest

UpdatePublicIP Update a public IP.

Update the properties of an existing public IP inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiUpdatePublicIPRequest

Deprecated

func (*DefaultAPIService) UpdatePublicIPExecute

func (a *DefaultAPIService) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)

Execute executes the request

@return PublicIp

Deprecated

func (*DefaultAPIService) UpdateSecurityGroup

func (a *DefaultAPIService) UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest

UpdateSecurityGroup Update information of a security group.

Update labels of the security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiUpdateSecurityGroupRequest

Deprecated

func (*DefaultAPIService) UpdateSecurityGroupExecute

func (a *DefaultAPIService) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)

Execute executes the request

@return SecurityGroup

Deprecated

func (*DefaultAPIService) UpdateServer

func (a *DefaultAPIService) UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest

UpdateServer Update information of a server.

Update name or labels of the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUpdateServerRequest

Deprecated

func (*DefaultAPIService) UpdateServerExecute

func (a *DefaultAPIService) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)

Execute executes the request

@return Server

Deprecated

func (*DefaultAPIService) UpdateSnapshot

func (a *DefaultAPIService) UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest

UpdateSnapshot Update information of the snapshot.

Update information like name or labels of the snapshot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiUpdateSnapshotRequest

Deprecated

func (*DefaultAPIService) UpdateSnapshotExecute

func (a *DefaultAPIService) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)

Execute executes the request

@return Snapshot

Deprecated

func (*DefaultAPIService) UpdateVolume

func (a *DefaultAPIService) UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest

UpdateVolume Update information of a volume.

Update name, description or labels of the volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateVolumeRequest

Deprecated

func (*DefaultAPIService) UpdateVolumeExecute

func (a *DefaultAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)

Execute executes the request

@return Volume

Deprecated

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// Deprecated: AddNetworkToServerExecuteMock can be populated to implement the behavior of the AddNetworkToServerExecute function of this mock
	AddNetworkToServerExecuteMock *func(r ApiAddNetworkToServerRequest) error
	// Deprecated: AddNicToServerExecuteMock can be populated to implement the behavior of the AddNicToServerExecute function of this mock
	AddNicToServerExecuteMock *func(r ApiAddNicToServerRequest) error
	// Deprecated: AddPublicIpToServerExecuteMock can be populated to implement the behavior of the AddPublicIpToServerExecute function of this mock
	AddPublicIpToServerExecuteMock *func(r ApiAddPublicIpToServerRequest) error
	// Deprecated: AddSecurityGroupToServerExecuteMock can be populated to implement the behavior of the AddSecurityGroupToServerExecute function of this mock
	AddSecurityGroupToServerExecuteMock *func(r ApiAddSecurityGroupToServerRequest) error
	// Deprecated: AddServiceAccountToServerExecuteMock can be populated to implement the behavior of the AddServiceAccountToServerExecute function of this mock
	AddServiceAccountToServerExecuteMock *func(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
	// Deprecated: AddVolumeToServerExecuteMock can be populated to implement the behavior of the AddVolumeToServerExecute function of this mock
	AddVolumeToServerExecuteMock *func(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
	// Deprecated: CreateAffinityGroupExecuteMock can be populated to implement the behavior of the CreateAffinityGroupExecute function of this mock
	CreateAffinityGroupExecuteMock *func(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
	// Deprecated: CreateBackupExecuteMock can be populated to implement the behavior of the CreateBackupExecute function of this mock
	CreateBackupExecuteMock *func(r ApiCreateBackupRequest) (*Backup, error)
	// Deprecated: CreateImageExecuteMock can be populated to implement the behavior of the CreateImageExecute function of this mock
	CreateImageExecuteMock *func(r ApiCreateImageRequest) (*ImageCreateResponse, error)
	// Deprecated: CreateKeyPairExecuteMock can be populated to implement the behavior of the CreateKeyPairExecute function of this mock
	CreateKeyPairExecuteMock *func(r ApiCreateKeyPairRequest) (*Keypair, error)
	// Deprecated: CreateNetworkExecuteMock can be populated to implement the behavior of the CreateNetworkExecute function of this mock
	CreateNetworkExecuteMock *func(r ApiCreateNetworkRequest) (*Network, error)
	// Deprecated: CreateNetworkAreaExecuteMock can be populated to implement the behavior of the CreateNetworkAreaExecute function of this mock
	CreateNetworkAreaExecuteMock *func(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
	// Deprecated: CreateNetworkAreaRangeExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRangeExecute function of this mock
	CreateNetworkAreaRangeExecuteMock *func(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
	// Deprecated: CreateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRouteExecute function of this mock
	CreateNetworkAreaRouteExecuteMock *func(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
	// Deprecated: CreateNicExecuteMock can be populated to implement the behavior of the CreateNicExecute function of this mock
	CreateNicExecuteMock *func(r ApiCreateNicRequest) (*NIC, error)
	// Deprecated: CreatePublicIPExecuteMock can be populated to implement the behavior of the CreatePublicIPExecute function of this mock
	CreatePublicIPExecuteMock *func(r ApiCreatePublicIPRequest) (*PublicIp, error)
	// Deprecated: CreateSecurityGroupExecuteMock can be populated to implement the behavior of the CreateSecurityGroupExecute function of this mock
	CreateSecurityGroupExecuteMock *func(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
	// Deprecated: CreateSecurityGroupRuleExecuteMock can be populated to implement the behavior of the CreateSecurityGroupRuleExecute function of this mock
	CreateSecurityGroupRuleExecuteMock *func(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
	// Deprecated: CreateServerExecuteMock can be populated to implement the behavior of the CreateServerExecute function of this mock
	CreateServerExecuteMock *func(r ApiCreateServerRequest) (*Server, error)
	// Deprecated: CreateSnapshotExecuteMock can be populated to implement the behavior of the CreateSnapshotExecute function of this mock
	CreateSnapshotExecuteMock *func(r ApiCreateSnapshotRequest) (*Snapshot, error)
	// Deprecated: CreateVolumeExecuteMock can be populated to implement the behavior of the CreateVolumeExecute function of this mock
	CreateVolumeExecuteMock *func(r ApiCreateVolumeRequest) (*Volume, error)
	// Deprecated: DeallocateServerExecuteMock can be populated to implement the behavior of the DeallocateServerExecute function of this mock
	DeallocateServerExecuteMock *func(r ApiDeallocateServerRequest) error
	// Deprecated: DeleteAffinityGroupExecuteMock can be populated to implement the behavior of the DeleteAffinityGroupExecute function of this mock
	DeleteAffinityGroupExecuteMock *func(r ApiDeleteAffinityGroupRequest) error
	// Deprecated: DeleteBackupExecuteMock can be populated to implement the behavior of the DeleteBackupExecute function of this mock
	DeleteBackupExecuteMock *func(r ApiDeleteBackupRequest) error
	// Deprecated: DeleteImageExecuteMock can be populated to implement the behavior of the DeleteImageExecute function of this mock
	DeleteImageExecuteMock *func(r ApiDeleteImageRequest) error
	// Deprecated: DeleteImageShareExecuteMock can be populated to implement the behavior of the DeleteImageShareExecute function of this mock
	DeleteImageShareExecuteMock *func(r ApiDeleteImageShareRequest) error
	// Deprecated: DeleteImageShareConsumerExecuteMock can be populated to implement the behavior of the DeleteImageShareConsumerExecute function of this mock
	DeleteImageShareConsumerExecuteMock *func(r ApiDeleteImageShareConsumerRequest) error
	// Deprecated: DeleteKeyPairExecuteMock can be populated to implement the behavior of the DeleteKeyPairExecute function of this mock
	DeleteKeyPairExecuteMock *func(r ApiDeleteKeyPairRequest) error
	// Deprecated: DeleteNetworkExecuteMock can be populated to implement the behavior of the DeleteNetworkExecute function of this mock
	DeleteNetworkExecuteMock *func(r ApiDeleteNetworkRequest) error
	// Deprecated: DeleteNetworkAreaExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaExecute function of this mock
	DeleteNetworkAreaExecuteMock *func(r ApiDeleteNetworkAreaRequest) error
	// Deprecated: DeleteNetworkAreaRangeExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRangeExecute function of this mock
	DeleteNetworkAreaRangeExecuteMock *func(r ApiDeleteNetworkAreaRangeRequest) error
	// Deprecated: DeleteNetworkAreaRouteExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRouteExecute function of this mock
	DeleteNetworkAreaRouteExecuteMock *func(r ApiDeleteNetworkAreaRouteRequest) error
	// Deprecated: DeleteNicExecuteMock can be populated to implement the behavior of the DeleteNicExecute function of this mock
	DeleteNicExecuteMock *func(r ApiDeleteNicRequest) error
	// Deprecated: DeletePublicIPExecuteMock can be populated to implement the behavior of the DeletePublicIPExecute function of this mock
	DeletePublicIPExecuteMock *func(r ApiDeletePublicIPRequest) error
	// Deprecated: DeleteSecurityGroupExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupExecute function of this mock
	DeleteSecurityGroupExecuteMock *func(r ApiDeleteSecurityGroupRequest) error
	// Deprecated: DeleteSecurityGroupRuleExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupRuleExecute function of this mock
	DeleteSecurityGroupRuleExecuteMock *func(r ApiDeleteSecurityGroupRuleRequest) error
	// Deprecated: DeleteServerExecuteMock can be populated to implement the behavior of the DeleteServerExecute function of this mock
	DeleteServerExecuteMock *func(r ApiDeleteServerRequest) error
	// Deprecated: DeleteSnapshotExecuteMock can be populated to implement the behavior of the DeleteSnapshotExecute function of this mock
	DeleteSnapshotExecuteMock *func(r ApiDeleteSnapshotRequest) error
	// Deprecated: DeleteVolumeExecuteMock can be populated to implement the behavior of the DeleteVolumeExecute function of this mock
	DeleteVolumeExecuteMock *func(r ApiDeleteVolumeRequest) error
	// Deprecated: GetAffinityGroupExecuteMock can be populated to implement the behavior of the GetAffinityGroupExecute function of this mock
	GetAffinityGroupExecuteMock *func(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
	// Deprecated: GetAttachedVolumeExecuteMock can be populated to implement the behavior of the GetAttachedVolumeExecute function of this mock
	GetAttachedVolumeExecuteMock *func(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
	// Deprecated: GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
	GetBackupExecuteMock *func(r ApiGetBackupRequest) (*Backup, error)
	// Deprecated: GetImageExecuteMock can be populated to implement the behavior of the GetImageExecute function of this mock
	GetImageExecuteMock *func(r ApiGetImageRequest) (*Image, error)
	// Deprecated: GetImageShareExecuteMock can be populated to implement the behavior of the GetImageShareExecute function of this mock
	GetImageShareExecuteMock *func(r ApiGetImageShareRequest) (*ImageShare, error)
	// Deprecated: GetImageShareConsumerExecuteMock can be populated to implement the behavior of the GetImageShareConsumerExecute function of this mock
	GetImageShareConsumerExecuteMock *func(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
	// Deprecated: GetKeyPairExecuteMock can be populated to implement the behavior of the GetKeyPairExecute function of this mock
	GetKeyPairExecuteMock *func(r ApiGetKeyPairRequest) (*Keypair, error)
	// Deprecated: GetMachineTypeExecuteMock can be populated to implement the behavior of the GetMachineTypeExecute function of this mock
	GetMachineTypeExecuteMock *func(r ApiGetMachineTypeRequest) (*MachineType, error)
	// Deprecated: GetNetworkExecuteMock can be populated to implement the behavior of the GetNetworkExecute function of this mock
	GetNetworkExecuteMock *func(r ApiGetNetworkRequest) (*Network, error)
	// Deprecated: GetNetworkAreaExecuteMock can be populated to implement the behavior of the GetNetworkAreaExecute function of this mock
	GetNetworkAreaExecuteMock *func(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
	// Deprecated: GetNetworkAreaRangeExecuteMock can be populated to implement the behavior of the GetNetworkAreaRangeExecute function of this mock
	GetNetworkAreaRangeExecuteMock *func(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
	// Deprecated: GetNetworkAreaRouteExecuteMock can be populated to implement the behavior of the GetNetworkAreaRouteExecute function of this mock
	GetNetworkAreaRouteExecuteMock *func(r ApiGetNetworkAreaRouteRequest) (*Route, error)
	// Deprecated: GetNicExecuteMock can be populated to implement the behavior of the GetNicExecute function of this mock
	GetNicExecuteMock *func(r ApiGetNicRequest) (*NIC, error)
	// Deprecated: GetOrganizationRequestExecuteMock can be populated to implement the behavior of the GetOrganizationRequestExecute function of this mock
	GetOrganizationRequestExecuteMock *func(r ApiGetOrganizationRequestRequest) (*Request, error)
	// Deprecated: GetProjectDetailsExecuteMock can be populated to implement the behavior of the GetProjectDetailsExecute function of this mock
	GetProjectDetailsExecuteMock *func(r ApiGetProjectDetailsRequest) (*Project, error)
	// Deprecated: GetProjectNICExecuteMock can be populated to implement the behavior of the GetProjectNICExecute function of this mock
	GetProjectNICExecuteMock *func(r ApiGetProjectNICRequest) (*NIC, error)
	// Deprecated: GetProjectRequestExecuteMock can be populated to implement the behavior of the GetProjectRequestExecute function of this mock
	GetProjectRequestExecuteMock *func(r ApiGetProjectRequestRequest) (*Request, error)
	// Deprecated: GetPublicIPExecuteMock can be populated to implement the behavior of the GetPublicIPExecute function of this mock
	GetPublicIPExecuteMock *func(r ApiGetPublicIPRequest) (*PublicIp, error)
	// Deprecated: GetSecurityGroupExecuteMock can be populated to implement the behavior of the GetSecurityGroupExecute function of this mock
	GetSecurityGroupExecuteMock *func(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
	// Deprecated: GetSecurityGroupRuleExecuteMock can be populated to implement the behavior of the GetSecurityGroupRuleExecute function of this mock
	GetSecurityGroupRuleExecuteMock *func(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
	// Deprecated: GetServerExecuteMock can be populated to implement the behavior of the GetServerExecute function of this mock
	GetServerExecuteMock *func(r ApiGetServerRequest) (*Server, error)
	// Deprecated: GetServerConsoleExecuteMock can be populated to implement the behavior of the GetServerConsoleExecute function of this mock
	GetServerConsoleExecuteMock *func(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
	// Deprecated: GetServerLogExecuteMock can be populated to implement the behavior of the GetServerLogExecute function of this mock
	GetServerLogExecuteMock *func(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
	// Deprecated: GetSnapshotExecuteMock can be populated to implement the behavior of the GetSnapshotExecute function of this mock
	GetSnapshotExecuteMock *func(r ApiGetSnapshotRequest) (*Snapshot, error)
	// Deprecated: GetVolumeExecuteMock can be populated to implement the behavior of the GetVolumeExecute function of this mock
	GetVolumeExecuteMock *func(r ApiGetVolumeRequest) (*Volume, error)
	// Deprecated: GetVolumePerformanceClassExecuteMock can be populated to implement the behavior of the GetVolumePerformanceClassExecute function of this mock
	GetVolumePerformanceClassExecuteMock *func(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
	// Deprecated: ListAffinityGroupsExecuteMock can be populated to implement the behavior of the ListAffinityGroupsExecute function of this mock
	ListAffinityGroupsExecuteMock *func(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
	// Deprecated: ListAttachedVolumesExecuteMock can be populated to implement the behavior of the ListAttachedVolumesExecute function of this mock
	ListAttachedVolumesExecuteMock *func(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
	// Deprecated: ListAvailabilityZonesExecuteMock can be populated to implement the behavior of the ListAvailabilityZonesExecute function of this mock
	ListAvailabilityZonesExecuteMock *func(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
	// Deprecated: ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
	ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*BackupListResponse, error)
	// Deprecated: ListImagesExecuteMock can be populated to implement the behavior of the ListImagesExecute function of this mock
	ListImagesExecuteMock *func(r ApiListImagesRequest) (*ImageListResponse, error)
	// Deprecated: ListKeyPairsExecuteMock can be populated to implement the behavior of the ListKeyPairsExecute function of this mock
	ListKeyPairsExecuteMock *func(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
	// Deprecated: ListMachineTypesExecuteMock can be populated to implement the behavior of the ListMachineTypesExecute function of this mock
	ListMachineTypesExecuteMock *func(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
	// Deprecated: ListNetworkAreaProjectsExecuteMock can be populated to implement the behavior of the ListNetworkAreaProjectsExecute function of this mock
	ListNetworkAreaProjectsExecuteMock *func(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
	// Deprecated: ListNetworkAreaRangesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRangesExecute function of this mock
	ListNetworkAreaRangesExecuteMock *func(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
	// Deprecated: ListNetworkAreaRoutesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRoutesExecute function of this mock
	ListNetworkAreaRoutesExecuteMock *func(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
	// Deprecated: ListNetworkAreasExecuteMock can be populated to implement the behavior of the ListNetworkAreasExecute function of this mock
	ListNetworkAreasExecuteMock *func(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
	// Deprecated: ListNetworksExecuteMock can be populated to implement the behavior of the ListNetworksExecute function of this mock
	ListNetworksExecuteMock *func(r ApiListNetworksRequest) (*NetworkListResponse, error)
	// Deprecated: ListNicsExecuteMock can be populated to implement the behavior of the ListNicsExecute function of this mock
	ListNicsExecuteMock *func(r ApiListNicsRequest) (*NICListResponse, error)
	// Deprecated: ListProjectNICsExecuteMock can be populated to implement the behavior of the ListProjectNICsExecute function of this mock
	ListProjectNICsExecuteMock *func(r ApiListProjectNICsRequest) (*NICListResponse, error)
	// Deprecated: ListPublicIPRangesExecuteMock can be populated to implement the behavior of the ListPublicIPRangesExecute function of this mock
	ListPublicIPRangesExecuteMock *func(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
	// Deprecated: ListPublicIPsExecuteMock can be populated to implement the behavior of the ListPublicIPsExecute function of this mock
	ListPublicIPsExecuteMock *func(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
	// Deprecated: ListQuotasExecuteMock can be populated to implement the behavior of the ListQuotasExecute function of this mock
	ListQuotasExecuteMock *func(r ApiListQuotasRequest) (*QuotaListResponse, error)
	// Deprecated: ListSecurityGroupRulesExecuteMock can be populated to implement the behavior of the ListSecurityGroupRulesExecute function of this mock
	ListSecurityGroupRulesExecuteMock *func(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
	// Deprecated: ListSecurityGroupsExecuteMock can be populated to implement the behavior of the ListSecurityGroupsExecute function of this mock
	ListSecurityGroupsExecuteMock *func(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
	// Deprecated: ListServerNicsExecuteMock can be populated to implement the behavior of the ListServerNicsExecute function of this mock
	ListServerNicsExecuteMock *func(r ApiListServerNicsRequest) (*NICListResponse, error)
	// Deprecated: ListServerServiceAccountsExecuteMock can be populated to implement the behavior of the ListServerServiceAccountsExecute function of this mock
	ListServerServiceAccountsExecuteMock *func(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
	// Deprecated: ListServersExecuteMock can be populated to implement the behavior of the ListServersExecute function of this mock
	ListServersExecuteMock *func(r ApiListServersRequest) (*ServerListResponse, error)
	// Deprecated: ListSnapshotsExecuteMock can be populated to implement the behavior of the ListSnapshotsExecute function of this mock
	ListSnapshotsExecuteMock *func(r ApiListSnapshotsRequest) (*SnapshotListResponse, error)
	// Deprecated: ListVolumePerformanceClassesExecuteMock can be populated to implement the behavior of the ListVolumePerformanceClassesExecute function of this mock
	ListVolumePerformanceClassesExecuteMock *func(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
	// Deprecated: ListVolumesExecuteMock can be populated to implement the behavior of the ListVolumesExecute function of this mock
	ListVolumesExecuteMock *func(r ApiListVolumesRequest) (*VolumeListResponse, error)
	// Deprecated: PartialUpdateNetworkExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkExecute function of this mock
	PartialUpdateNetworkExecuteMock *func(r ApiPartialUpdateNetworkRequest) error
	// Deprecated: PartialUpdateNetworkAreaExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkAreaExecute function of this mock
	PartialUpdateNetworkAreaExecuteMock *func(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
	// Deprecated: RebootServerExecuteMock can be populated to implement the behavior of the RebootServerExecute function of this mock
	RebootServerExecuteMock *func(r ApiRebootServerRequest) error
	// Deprecated: RemoveNetworkFromServerExecuteMock can be populated to implement the behavior of the RemoveNetworkFromServerExecute function of this mock
	RemoveNetworkFromServerExecuteMock *func(r ApiRemoveNetworkFromServerRequest) error
	// Deprecated: RemoveNicFromServerExecuteMock can be populated to implement the behavior of the RemoveNicFromServerExecute function of this mock
	RemoveNicFromServerExecuteMock *func(r ApiRemoveNicFromServerRequest) error
	// Deprecated: RemovePublicIpFromServerExecuteMock can be populated to implement the behavior of the RemovePublicIpFromServerExecute function of this mock
	RemovePublicIpFromServerExecuteMock *func(r ApiRemovePublicIpFromServerRequest) error
	// Deprecated: RemoveSecurityGroupFromServerExecuteMock can be populated to implement the behavior of the RemoveSecurityGroupFromServerExecute function of this mock
	RemoveSecurityGroupFromServerExecuteMock *func(r ApiRemoveSecurityGroupFromServerRequest) error
	// Deprecated: RemoveServiceAccountFromServerExecuteMock can be populated to implement the behavior of the RemoveServiceAccountFromServerExecute function of this mock
	RemoveServiceAccountFromServerExecuteMock *func(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
	// Deprecated: RemoveVolumeFromServerExecuteMock can be populated to implement the behavior of the RemoveVolumeFromServerExecute function of this mock
	RemoveVolumeFromServerExecuteMock *func(r ApiRemoveVolumeFromServerRequest) error
	// Deprecated: RescueServerExecuteMock can be populated to implement the behavior of the RescueServerExecute function of this mock
	RescueServerExecuteMock *func(r ApiRescueServerRequest) error
	// Deprecated: ResizeServerExecuteMock can be populated to implement the behavior of the ResizeServerExecute function of this mock
	ResizeServerExecuteMock *func(r ApiResizeServerRequest) error
	// Deprecated: ResizeVolumeExecuteMock can be populated to implement the behavior of the ResizeVolumeExecute function of this mock
	ResizeVolumeExecuteMock *func(r ApiResizeVolumeRequest) error
	// Deprecated: RestoreBackupExecuteMock can be populated to implement the behavior of the RestoreBackupExecute function of this mock
	RestoreBackupExecuteMock *func(r ApiRestoreBackupRequest) error
	// Deprecated: SetImageShareExecuteMock can be populated to implement the behavior of the SetImageShareExecute function of this mock
	SetImageShareExecuteMock *func(r ApiSetImageShareRequest) (*ImageShare, error)
	// Deprecated: StartServerExecuteMock can be populated to implement the behavior of the StartServerExecute function of this mock
	StartServerExecuteMock *func(r ApiStartServerRequest) error
	// Deprecated: StopServerExecuteMock can be populated to implement the behavior of the StopServerExecute function of this mock
	StopServerExecuteMock *func(r ApiStopServerRequest) error
	// Deprecated: UnrescueServerExecuteMock can be populated to implement the behavior of the UnrescueServerExecute function of this mock
	UnrescueServerExecuteMock *func(r ApiUnrescueServerRequest) error
	// Deprecated: UpdateAttachedVolumeExecuteMock can be populated to implement the behavior of the UpdateAttachedVolumeExecute function of this mock
	UpdateAttachedVolumeExecuteMock *func(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
	// Deprecated: UpdateBackupExecuteMock can be populated to implement the behavior of the UpdateBackupExecute function of this mock
	UpdateBackupExecuteMock *func(r ApiUpdateBackupRequest) (*Backup, error)
	// Deprecated: UpdateImageExecuteMock can be populated to implement the behavior of the UpdateImageExecute function of this mock
	UpdateImageExecuteMock *func(r ApiUpdateImageRequest) (*Image, error)
	// Deprecated: UpdateImageScopeLocalExecuteMock can be populated to implement the behavior of the UpdateImageScopeLocalExecute function of this mock
	UpdateImageScopeLocalExecuteMock *func(r ApiUpdateImageScopeLocalRequest) (*Image, error)
	// Deprecated: UpdateImageScopePublicExecuteMock can be populated to implement the behavior of the UpdateImageScopePublicExecute function of this mock
	UpdateImageScopePublicExecuteMock *func(r ApiUpdateImageScopePublicRequest) (*Image, error)
	// Deprecated: UpdateImageShareExecuteMock can be populated to implement the behavior of the UpdateImageShareExecute function of this mock
	UpdateImageShareExecuteMock *func(r ApiUpdateImageShareRequest) (*ImageShare, error)
	// Deprecated: UpdateKeyPairExecuteMock can be populated to implement the behavior of the UpdateKeyPairExecute function of this mock
	UpdateKeyPairExecuteMock *func(r ApiUpdateKeyPairRequest) (*Keypair, error)
	// Deprecated: UpdateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the UpdateNetworkAreaRouteExecute function of this mock
	UpdateNetworkAreaRouteExecuteMock *func(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
	// Deprecated: UpdateNicExecuteMock can be populated to implement the behavior of the UpdateNicExecute function of this mock
	UpdateNicExecuteMock *func(r ApiUpdateNicRequest) (*NIC, error)
	// Deprecated: UpdatePublicIPExecuteMock can be populated to implement the behavior of the UpdatePublicIPExecute function of this mock
	UpdatePublicIPExecuteMock *func(r ApiUpdatePublicIPRequest) (*PublicIp, error)
	// Deprecated: UpdateSecurityGroupExecuteMock can be populated to implement the behavior of the UpdateSecurityGroupExecute function of this mock
	UpdateSecurityGroupExecuteMock *func(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
	// Deprecated: UpdateServerExecuteMock can be populated to implement the behavior of the UpdateServerExecute function of this mock
	UpdateServerExecuteMock *func(r ApiUpdateServerRequest) (*Server, error)
	// Deprecated: UpdateSnapshotExecuteMock can be populated to implement the behavior of the UpdateSnapshotExecute function of this mock
	UpdateSnapshotExecuteMock *func(r ApiUpdateSnapshotRequest) (*Snapshot, error)
	// Deprecated: UpdateVolumeExecuteMock can be populated to implement the behavior of the UpdateVolumeExecute function of this mock
	UpdateVolumeExecuteMock *func(r ApiUpdateVolumeRequest) (*Volume, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) AddNetworkToServer

func (a DefaultAPIServiceMock) AddNetworkToServer(ctx context.Context, projectId string, serverId string, networkId string) ApiAddNetworkToServerRequest

Deprecated

func (DefaultAPIServiceMock) AddNetworkToServerExecute deprecated

func (a DefaultAPIServiceMock) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error

Deprecated: AddNetworkToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddNetworkToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddNicToServer

func (a DefaultAPIServiceMock) AddNicToServer(ctx context.Context, projectId string, serverId string, nicId string) ApiAddNicToServerRequest

Deprecated

func (DefaultAPIServiceMock) AddNicToServerExecute deprecated

func (a DefaultAPIServiceMock) AddNicToServerExecute(r ApiAddNicToServerRequest) error

Deprecated: AddNicToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddNicToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddPublicIpToServer

func (a DefaultAPIServiceMock) AddPublicIpToServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest

Deprecated

func (DefaultAPIServiceMock) AddPublicIpToServerExecute deprecated

func (a DefaultAPIServiceMock) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error

Deprecated: AddPublicIpToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddPublicIpToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddSecurityGroupToServer

func (a DefaultAPIServiceMock) AddSecurityGroupToServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest

Deprecated

func (DefaultAPIServiceMock) AddSecurityGroupToServerExecute deprecated

func (a DefaultAPIServiceMock) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error

Deprecated: AddSecurityGroupToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddSecurityGroupToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddServiceAccountToServer

func (a DefaultAPIServiceMock) AddServiceAccountToServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest

Deprecated

func (DefaultAPIServiceMock) AddServiceAccountToServerExecute deprecated

Deprecated: AddServiceAccountToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddServiceAccountToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddVolumeToServer

func (a DefaultAPIServiceMock) AddVolumeToServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiAddVolumeToServerRequest

Deprecated

func (DefaultAPIServiceMock) AddVolumeToServerExecute deprecated

func (a DefaultAPIServiceMock) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)

Deprecated: AddVolumeToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddVolumeToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateAffinityGroup

func (a DefaultAPIServiceMock) CreateAffinityGroup(ctx context.Context, projectId string) ApiCreateAffinityGroupRequest

Deprecated

func (DefaultAPIServiceMock) CreateAffinityGroupExecute deprecated

func (a DefaultAPIServiceMock) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)

Deprecated: CreateAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateBackup

func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string) ApiCreateBackupRequest

Deprecated

func (DefaultAPIServiceMock) CreateBackupExecute deprecated

func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)

Deprecated: CreateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateImage

func (a DefaultAPIServiceMock) CreateImage(ctx context.Context, projectId string) ApiCreateImageRequest

Deprecated

func (DefaultAPIServiceMock) CreateImageExecute deprecated

Deprecated: CreateImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateKeyPair

Deprecated

func (DefaultAPIServiceMock) CreateKeyPairExecute deprecated

func (a DefaultAPIServiceMock) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)

Deprecated: CreateKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetwork

func (a DefaultAPIServiceMock) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest

Deprecated

func (DefaultAPIServiceMock) CreateNetworkArea

func (a DefaultAPIServiceMock) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

Deprecated

func (DefaultAPIServiceMock) CreateNetworkAreaExecute deprecated

func (a DefaultAPIServiceMock) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)

Deprecated: CreateNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetworkAreaRange

func (a DefaultAPIServiceMock) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest

Deprecated

func (DefaultAPIServiceMock) CreateNetworkAreaRangeExecute deprecated

Deprecated: CreateNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetworkAreaRoute

func (a DefaultAPIServiceMock) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest

Deprecated

func (DefaultAPIServiceMock) CreateNetworkAreaRouteExecute deprecated

func (a DefaultAPIServiceMock) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)

Deprecated: CreateNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetworkExecute deprecated

func (a DefaultAPIServiceMock) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

Deprecated: CreateNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNic

func (a DefaultAPIServiceMock) CreateNic(ctx context.Context, projectId string, networkId string) ApiCreateNicRequest

Deprecated

func (DefaultAPIServiceMock) CreateNicExecute deprecated

func (a DefaultAPIServiceMock) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)

Deprecated: CreateNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreatePublicIP

func (a DefaultAPIServiceMock) CreatePublicIP(ctx context.Context, projectId string) ApiCreatePublicIPRequest

Deprecated

func (DefaultAPIServiceMock) CreatePublicIPExecute deprecated

func (a DefaultAPIServiceMock) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)

Deprecated: CreatePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreatePublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateSecurityGroup

func (a DefaultAPIServiceMock) CreateSecurityGroup(ctx context.Context, projectId string) ApiCreateSecurityGroupRequest

Deprecated

func (DefaultAPIServiceMock) CreateSecurityGroupExecute deprecated

func (a DefaultAPIServiceMock) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)

Deprecated: CreateSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateSecurityGroupRule

func (a DefaultAPIServiceMock) CreateSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string) ApiCreateSecurityGroupRuleRequest

Deprecated

func (DefaultAPIServiceMock) CreateSecurityGroupRuleExecute deprecated

func (a DefaultAPIServiceMock) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)

Deprecated: CreateSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateServer

func (a DefaultAPIServiceMock) CreateServer(ctx context.Context, projectId string) ApiCreateServerRequest

Deprecated

func (DefaultAPIServiceMock) CreateServerExecute deprecated

func (a DefaultAPIServiceMock) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)

Deprecated: CreateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateSnapshot

func (a DefaultAPIServiceMock) CreateSnapshot(ctx context.Context, projectId string) ApiCreateSnapshotRequest

Deprecated

func (DefaultAPIServiceMock) CreateSnapshotExecute deprecated

func (a DefaultAPIServiceMock) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)

Deprecated: CreateSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSnapshotExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateVolume

func (a DefaultAPIServiceMock) CreateVolume(ctx context.Context, projectId string) ApiCreateVolumeRequest

Deprecated

func (DefaultAPIServiceMock) CreateVolumeExecute deprecated

func (a DefaultAPIServiceMock) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)

Deprecated: CreateVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeallocateServer

func (a DefaultAPIServiceMock) DeallocateServer(ctx context.Context, projectId string, serverId string) ApiDeallocateServerRequest

Deprecated

func (DefaultAPIServiceMock) DeallocateServerExecute deprecated

func (a DefaultAPIServiceMock) DeallocateServerExecute(r ApiDeallocateServerRequest) error

Deprecated: DeallocateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeallocateServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteAffinityGroup

func (a DefaultAPIServiceMock) DeleteAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiDeleteAffinityGroupRequest

Deprecated

func (DefaultAPIServiceMock) DeleteAffinityGroupExecute deprecated

func (a DefaultAPIServiceMock) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error

Deprecated: DeleteAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteBackup

func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, backupId string) ApiDeleteBackupRequest

Deprecated

func (DefaultAPIServiceMock) DeleteBackupExecute deprecated

func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error

Deprecated: DeleteBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteImage

func (a DefaultAPIServiceMock) DeleteImage(ctx context.Context, projectId string, imageId string) ApiDeleteImageRequest

Deprecated

func (DefaultAPIServiceMock) DeleteImageExecute deprecated

func (a DefaultAPIServiceMock) DeleteImageExecute(r ApiDeleteImageRequest) error

Deprecated: DeleteImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteImageShare

func (a DefaultAPIServiceMock) DeleteImageShare(ctx context.Context, projectId string, imageId string) ApiDeleteImageShareRequest

Deprecated

func (DefaultAPIServiceMock) DeleteImageShareConsumer

func (a DefaultAPIServiceMock) DeleteImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest

Deprecated

func (DefaultAPIServiceMock) DeleteImageShareConsumerExecute deprecated

func (a DefaultAPIServiceMock) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error

Deprecated: DeleteImageShareConsumerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageShareConsumerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteImageShareExecute deprecated

func (a DefaultAPIServiceMock) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error

Deprecated: DeleteImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteKeyPair

func (a DefaultAPIServiceMock) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest

Deprecated

func (DefaultAPIServiceMock) DeleteKeyPairExecute deprecated

func (a DefaultAPIServiceMock) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error

Deprecated: DeleteKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetwork

func (a DefaultAPIServiceMock) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest

Deprecated

func (DefaultAPIServiceMock) DeleteNetworkArea

func (a DefaultAPIServiceMock) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

Deprecated

func (DefaultAPIServiceMock) DeleteNetworkAreaExecute deprecated

func (a DefaultAPIServiceMock) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error

Deprecated: DeleteNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkAreaRange

func (a DefaultAPIServiceMock) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

Deprecated

func (DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute deprecated

func (a DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error

Deprecated: DeleteNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkAreaRoute

func (a DefaultAPIServiceMock) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest

Deprecated

func (DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute deprecated

func (a DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error

Deprecated: DeleteNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkExecute deprecated

func (a DefaultAPIServiceMock) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error

Deprecated: DeleteNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNic

func (a DefaultAPIServiceMock) DeleteNic(ctx context.Context, projectId string, networkId string, nicId string) ApiDeleteNicRequest

Deprecated

func (DefaultAPIServiceMock) DeleteNicExecute deprecated

func (a DefaultAPIServiceMock) DeleteNicExecute(r ApiDeleteNicRequest) error

Deprecated: DeleteNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeletePublicIP

func (a DefaultAPIServiceMock) DeletePublicIP(ctx context.Context, projectId string, publicIpId string) ApiDeletePublicIPRequest

Deprecated

func (DefaultAPIServiceMock) DeletePublicIPExecute deprecated

func (a DefaultAPIServiceMock) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error

Deprecated: DeletePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeletePublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteSecurityGroup

func (a DefaultAPIServiceMock) DeleteSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiDeleteSecurityGroupRequest

Deprecated

func (DefaultAPIServiceMock) DeleteSecurityGroupExecute deprecated

func (a DefaultAPIServiceMock) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error

Deprecated: DeleteSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteSecurityGroupRule

func (a DefaultAPIServiceMock) DeleteSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest

Deprecated

func (DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute deprecated

func (a DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error

Deprecated: DeleteSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteServer

func (a DefaultAPIServiceMock) DeleteServer(ctx context.Context, projectId string, serverId string) ApiDeleteServerRequest

Deprecated

func (DefaultAPIServiceMock) DeleteServerExecute deprecated

func (a DefaultAPIServiceMock) DeleteServerExecute(r ApiDeleteServerRequest) error

Deprecated: DeleteServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteSnapshot

func (a DefaultAPIServiceMock) DeleteSnapshot(ctx context.Context, projectId string, snapshotId string) ApiDeleteSnapshotRequest

Deprecated

func (DefaultAPIServiceMock) DeleteSnapshotExecute deprecated

func (a DefaultAPIServiceMock) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error

Deprecated: DeleteSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSnapshotExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteVolume

func (a DefaultAPIServiceMock) DeleteVolume(ctx context.Context, projectId string, volumeId string) ApiDeleteVolumeRequest

Deprecated

func (DefaultAPIServiceMock) DeleteVolumeExecute deprecated

func (a DefaultAPIServiceMock) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error

Deprecated: DeleteVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetAffinityGroup

func (a DefaultAPIServiceMock) GetAffinityGroup(ctx context.Context, projectId string, affinityGroupId string) ApiGetAffinityGroupRequest

Deprecated

func (DefaultAPIServiceMock) GetAffinityGroupExecute deprecated

func (a DefaultAPIServiceMock) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)

Deprecated: GetAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetAttachedVolume

func (a DefaultAPIServiceMock) GetAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiGetAttachedVolumeRequest

Deprecated

func (DefaultAPIServiceMock) GetAttachedVolumeExecute deprecated

func (a DefaultAPIServiceMock) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)

Deprecated: GetAttachedVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetAttachedVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetBackup

func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, backupId string) ApiGetBackupRequest

Deprecated

func (DefaultAPIServiceMock) GetBackupExecute deprecated

func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

Deprecated: GetBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetImage

func (a DefaultAPIServiceMock) GetImage(ctx context.Context, projectId string, imageId string) ApiGetImageRequest

Deprecated

func (DefaultAPIServiceMock) GetImageExecute deprecated

func (a DefaultAPIServiceMock) GetImageExecute(r ApiGetImageRequest) (*Image, error)

Deprecated: GetImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetImageShare

func (a DefaultAPIServiceMock) GetImageShare(ctx context.Context, projectId string, imageId string) ApiGetImageShareRequest

Deprecated

func (DefaultAPIServiceMock) GetImageShareConsumer

func (a DefaultAPIServiceMock) GetImageShareConsumer(ctx context.Context, projectId string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest

Deprecated

func (DefaultAPIServiceMock) GetImageShareConsumerExecute deprecated

func (a DefaultAPIServiceMock) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)

Deprecated: GetImageShareConsumerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageShareConsumerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetImageShareExecute deprecated

func (a DefaultAPIServiceMock) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)

Deprecated: GetImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKeyPair

func (a DefaultAPIServiceMock) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest

Deprecated

func (DefaultAPIServiceMock) GetKeyPairExecute deprecated

func (a DefaultAPIServiceMock) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)

Deprecated: GetKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetMachineType

func (a DefaultAPIServiceMock) GetMachineType(ctx context.Context, projectId string, machineType string) ApiGetMachineTypeRequest

Deprecated

func (DefaultAPIServiceMock) GetMachineTypeExecute deprecated

func (a DefaultAPIServiceMock) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)

Deprecated: GetMachineTypeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetMachineTypeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetwork

func (a DefaultAPIServiceMock) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest

Deprecated

func (DefaultAPIServiceMock) GetNetworkArea

func (a DefaultAPIServiceMock) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

Deprecated

func (DefaultAPIServiceMock) GetNetworkAreaExecute deprecated

func (a DefaultAPIServiceMock) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)

Deprecated: GetNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkAreaRange

func (a DefaultAPIServiceMock) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest

Deprecated

func (DefaultAPIServiceMock) GetNetworkAreaRangeExecute deprecated

func (a DefaultAPIServiceMock) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)

Deprecated: GetNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkAreaRoute

func (a DefaultAPIServiceMock) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest

Deprecated

func (DefaultAPIServiceMock) GetNetworkAreaRouteExecute deprecated

func (a DefaultAPIServiceMock) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)

Deprecated: GetNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkExecute deprecated

func (a DefaultAPIServiceMock) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

Deprecated: GetNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNic

func (a DefaultAPIServiceMock) GetNic(ctx context.Context, projectId string, networkId string, nicId string) ApiGetNicRequest

Deprecated

func (DefaultAPIServiceMock) GetNicExecute deprecated

func (a DefaultAPIServiceMock) GetNicExecute(r ApiGetNicRequest) (*NIC, error)

Deprecated: GetNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetOrganizationRequest

func (a DefaultAPIServiceMock) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

Deprecated

func (DefaultAPIServiceMock) GetOrganizationRequestExecute deprecated

func (a DefaultAPIServiceMock) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)

Deprecated: GetOrganizationRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetOrganizationRequestExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetProjectDetails

func (a DefaultAPIServiceMock) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest

Deprecated

func (DefaultAPIServiceMock) GetProjectDetailsExecute deprecated

func (a DefaultAPIServiceMock) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)

Deprecated: GetProjectDetailsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectDetailsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetProjectNIC

func (a DefaultAPIServiceMock) GetProjectNIC(ctx context.Context, projectId string, nicId string) ApiGetProjectNICRequest

Deprecated

func (DefaultAPIServiceMock) GetProjectNICExecute deprecated

func (a DefaultAPIServiceMock) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)

Deprecated: GetProjectNICExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectNICExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetProjectRequest

func (a DefaultAPIServiceMock) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest

Deprecated

func (DefaultAPIServiceMock) GetProjectRequestExecute deprecated

func (a DefaultAPIServiceMock) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)

Deprecated: GetProjectRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectRequestExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetPublicIP

func (a DefaultAPIServiceMock) GetPublicIP(ctx context.Context, projectId string, publicIpId string) ApiGetPublicIPRequest

Deprecated

func (DefaultAPIServiceMock) GetPublicIPExecute deprecated

func (a DefaultAPIServiceMock) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)

Deprecated: GetPublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetPublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetSecurityGroup

func (a DefaultAPIServiceMock) GetSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiGetSecurityGroupRequest

Deprecated

func (DefaultAPIServiceMock) GetSecurityGroupExecute deprecated

func (a DefaultAPIServiceMock) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)

Deprecated: GetSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetSecurityGroupRule

func (a DefaultAPIServiceMock) GetSecurityGroupRule(ctx context.Context, projectId string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest

Deprecated

func (DefaultAPIServiceMock) GetSecurityGroupRuleExecute deprecated

func (a DefaultAPIServiceMock) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)

Deprecated: GetSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServer

func (a DefaultAPIServiceMock) GetServer(ctx context.Context, projectId string, serverId string) ApiGetServerRequest

Deprecated

func (DefaultAPIServiceMock) GetServerConsole

func (a DefaultAPIServiceMock) GetServerConsole(ctx context.Context, projectId string, serverId string) ApiGetServerConsoleRequest

Deprecated

func (DefaultAPIServiceMock) GetServerConsoleExecute deprecated

Deprecated: GetServerConsoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerConsoleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServerExecute deprecated

func (a DefaultAPIServiceMock) GetServerExecute(r ApiGetServerRequest) (*Server, error)

Deprecated: GetServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServerLog

func (a DefaultAPIServiceMock) GetServerLog(ctx context.Context, projectId string, serverId string) ApiGetServerLogRequest

Deprecated

func (DefaultAPIServiceMock) GetServerLogExecute deprecated

Deprecated: GetServerLogExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerLogExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetSnapshot

func (a DefaultAPIServiceMock) GetSnapshot(ctx context.Context, projectId string, snapshotId string) ApiGetSnapshotRequest

Deprecated

func (DefaultAPIServiceMock) GetSnapshotExecute deprecated

func (a DefaultAPIServiceMock) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)

Deprecated: GetSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSnapshotExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetVolume

func (a DefaultAPIServiceMock) GetVolume(ctx context.Context, projectId string, volumeId string) ApiGetVolumeRequest

Deprecated

func (DefaultAPIServiceMock) GetVolumeExecute deprecated

func (a DefaultAPIServiceMock) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)

Deprecated: GetVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetVolumePerformanceClass

func (a DefaultAPIServiceMock) GetVolumePerformanceClass(ctx context.Context, projectId string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest

Deprecated

func (DefaultAPIServiceMock) GetVolumePerformanceClassExecute deprecated

Deprecated: GetVolumePerformanceClassExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVolumePerformanceClassExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAffinityGroups

func (a DefaultAPIServiceMock) ListAffinityGroups(ctx context.Context, projectId string) ApiListAffinityGroupsRequest

Deprecated

func (DefaultAPIServiceMock) ListAffinityGroupsExecute deprecated

Deprecated: ListAffinityGroupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAffinityGroupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAttachedVolumes

func (a DefaultAPIServiceMock) ListAttachedVolumes(ctx context.Context, projectId string, serverId string) ApiListAttachedVolumesRequest

Deprecated

func (DefaultAPIServiceMock) ListAttachedVolumesExecute deprecated

Deprecated: ListAttachedVolumesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAttachedVolumesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAvailabilityZones

Deprecated

func (DefaultAPIServiceMock) ListAvailabilityZonesExecute deprecated

Deprecated: ListAvailabilityZonesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAvailabilityZonesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListBackups

func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string) ApiListBackupsRequest

Deprecated

func (DefaultAPIServiceMock) ListBackupsExecute deprecated

Deprecated: ListBackupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListImages

func (a DefaultAPIServiceMock) ListImages(ctx context.Context, projectId string) ApiListImagesRequest

Deprecated

func (DefaultAPIServiceMock) ListImagesExecute deprecated

Deprecated: ListImagesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListImagesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListKeyPairs

Deprecated

func (DefaultAPIServiceMock) ListKeyPairsExecute deprecated

Deprecated: ListKeyPairsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeyPairsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListMachineTypes

func (a DefaultAPIServiceMock) ListMachineTypes(ctx context.Context, projectId string) ApiListMachineTypesRequest

Deprecated

func (DefaultAPIServiceMock) ListMachineTypesExecute deprecated

Deprecated: ListMachineTypesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListMachineTypesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreaProjects

func (a DefaultAPIServiceMock) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

Deprecated

func (DefaultAPIServiceMock) ListNetworkAreaProjectsExecute deprecated

func (a DefaultAPIServiceMock) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)

Deprecated: ListNetworkAreaProjectsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaProjectsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreaRanges

func (a DefaultAPIServiceMock) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest

Deprecated

func (DefaultAPIServiceMock) ListNetworkAreaRangesExecute deprecated

Deprecated: ListNetworkAreaRangesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaRangesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreaRoutes

func (a DefaultAPIServiceMock) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest

Deprecated

func (DefaultAPIServiceMock) ListNetworkAreaRoutesExecute deprecated

func (a DefaultAPIServiceMock) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)

Deprecated: ListNetworkAreaRoutesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaRoutesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreas

func (a DefaultAPIServiceMock) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

Deprecated

func (DefaultAPIServiceMock) ListNetworkAreasExecute deprecated

Deprecated: ListNetworkAreasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreasExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworks

func (a DefaultAPIServiceMock) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest

Deprecated

func (DefaultAPIServiceMock) ListNetworksExecute deprecated

Deprecated: ListNetworksExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworksExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNics

func (a DefaultAPIServiceMock) ListNics(ctx context.Context, projectId string, networkId string) ApiListNicsRequest

Deprecated

func (DefaultAPIServiceMock) ListNicsExecute deprecated

Deprecated: ListNicsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNicsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListProjectNICs

func (a DefaultAPIServiceMock) ListProjectNICs(ctx context.Context, projectId string) ApiListProjectNICsRequest

Deprecated

func (DefaultAPIServiceMock) ListProjectNICsExecute deprecated

func (a DefaultAPIServiceMock) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)

Deprecated: ListProjectNICsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProjectNICsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPublicIPRanges

Deprecated

func (DefaultAPIServiceMock) ListPublicIPRangesExecute deprecated

Deprecated: ListPublicIPRangesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPublicIPRangesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPublicIPs

func (a DefaultAPIServiceMock) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest

Deprecated

func (DefaultAPIServiceMock) ListPublicIPsExecute deprecated

Deprecated: ListPublicIPsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPublicIPsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListQuotas

func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string) ApiListQuotasRequest

Deprecated

func (DefaultAPIServiceMock) ListQuotasExecute deprecated

Deprecated: ListQuotasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListQuotasExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListSecurityGroupRules

func (a DefaultAPIServiceMock) ListSecurityGroupRules(ctx context.Context, projectId string, securityGroupId string) ApiListSecurityGroupRulesRequest

Deprecated

func (DefaultAPIServiceMock) ListSecurityGroupRulesExecute deprecated

Deprecated: ListSecurityGroupRulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecurityGroupRulesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListSecurityGroups

func (a DefaultAPIServiceMock) ListSecurityGroups(ctx context.Context, projectId string) ApiListSecurityGroupsRequest

Deprecated

func (DefaultAPIServiceMock) ListSecurityGroupsExecute deprecated

Deprecated: ListSecurityGroupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecurityGroupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServerNics

func (a DefaultAPIServiceMock) ListServerNics(ctx context.Context, projectId string, serverId string) ApiListServerNicsRequest

Deprecated

func (DefaultAPIServiceMock) ListServerNicsExecute deprecated

Deprecated: ListServerNicsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServerNicsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServerServiceAccounts

func (a DefaultAPIServiceMock) ListServerServiceAccounts(ctx context.Context, projectId string, serverId string) ApiListServerServiceAccountsRequest

Deprecated

func (DefaultAPIServiceMock) ListServerServiceAccountsExecute deprecated

Deprecated: ListServerServiceAccountsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServerServiceAccountsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServers

func (a DefaultAPIServiceMock) ListServers(ctx context.Context, projectId string) ApiListServersRequest

Deprecated

func (DefaultAPIServiceMock) ListServersExecute deprecated

Deprecated: ListServersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServersExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListSnapshots

func (a DefaultAPIServiceMock) ListSnapshots(ctx context.Context, projectId string) ApiListSnapshotsRequest

Deprecated

func (DefaultAPIServiceMock) ListSnapshotsExecute deprecated

Deprecated: ListSnapshotsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSnapshotsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListVolumePerformanceClasses

func (a DefaultAPIServiceMock) ListVolumePerformanceClasses(ctx context.Context, projectId string) ApiListVolumePerformanceClassesRequest

Deprecated

func (DefaultAPIServiceMock) ListVolumePerformanceClassesExecute deprecated

Deprecated: ListVolumePerformanceClassesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVolumePerformanceClassesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListVolumes

func (a DefaultAPIServiceMock) ListVolumes(ctx context.Context, projectId string) ApiListVolumesRequest

Deprecated

func (DefaultAPIServiceMock) ListVolumesExecute deprecated

Deprecated: ListVolumesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVolumesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PartialUpdateNetwork

func (a DefaultAPIServiceMock) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest

Deprecated

func (DefaultAPIServiceMock) PartialUpdateNetworkArea

func (a DefaultAPIServiceMock) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

Deprecated

func (DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute deprecated

func (a DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)

Deprecated: PartialUpdateNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PartialUpdateNetworkExecute deprecated

func (a DefaultAPIServiceMock) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

Deprecated: PartialUpdateNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RebootServer

func (a DefaultAPIServiceMock) RebootServer(ctx context.Context, projectId string, serverId string) ApiRebootServerRequest

Deprecated

func (DefaultAPIServiceMock) RebootServerExecute deprecated

func (a DefaultAPIServiceMock) RebootServerExecute(r ApiRebootServerRequest) error

Deprecated: RebootServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RebootServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveNetworkFromServer

func (a DefaultAPIServiceMock) RemoveNetworkFromServer(ctx context.Context, projectId string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest

Deprecated

func (DefaultAPIServiceMock) RemoveNetworkFromServerExecute deprecated

func (a DefaultAPIServiceMock) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error

Deprecated: RemoveNetworkFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveNetworkFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveNicFromServer

func (a DefaultAPIServiceMock) RemoveNicFromServer(ctx context.Context, projectId string, serverId string, nicId string) ApiRemoveNicFromServerRequest

Deprecated

func (DefaultAPIServiceMock) RemoveNicFromServerExecute deprecated

func (a DefaultAPIServiceMock) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error

Deprecated: RemoveNicFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveNicFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemovePublicIpFromServer

func (a DefaultAPIServiceMock) RemovePublicIpFromServer(ctx context.Context, projectId string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest

Deprecated

func (DefaultAPIServiceMock) RemovePublicIpFromServerExecute deprecated

func (a DefaultAPIServiceMock) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error

Deprecated: RemovePublicIpFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemovePublicIpFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveSecurityGroupFromServer

func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest

Deprecated

func (DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute deprecated

func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error

Deprecated: RemoveSecurityGroupFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveSecurityGroupFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveServiceAccountFromServer

func (a DefaultAPIServiceMock) RemoveServiceAccountFromServer(ctx context.Context, projectId string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest

Deprecated

func (DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute deprecated

Deprecated: RemoveServiceAccountFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveServiceAccountFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveVolumeFromServer

func (a DefaultAPIServiceMock) RemoveVolumeFromServer(ctx context.Context, projectId string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest

Deprecated

func (DefaultAPIServiceMock) RemoveVolumeFromServerExecute deprecated

func (a DefaultAPIServiceMock) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error

Deprecated: RemoveVolumeFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveVolumeFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RescueServer

func (a DefaultAPIServiceMock) RescueServer(ctx context.Context, projectId string, serverId string) ApiRescueServerRequest

Deprecated

func (DefaultAPIServiceMock) RescueServerExecute deprecated

func (a DefaultAPIServiceMock) RescueServerExecute(r ApiRescueServerRequest) error

Deprecated: RescueServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RescueServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ResizeServer

func (a DefaultAPIServiceMock) ResizeServer(ctx context.Context, projectId string, serverId string) ApiResizeServerRequest

Deprecated

func (DefaultAPIServiceMock) ResizeServerExecute deprecated

func (a DefaultAPIServiceMock) ResizeServerExecute(r ApiResizeServerRequest) error

Deprecated: ResizeServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResizeServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ResizeVolume

func (a DefaultAPIServiceMock) ResizeVolume(ctx context.Context, projectId string, volumeId string) ApiResizeVolumeRequest

Deprecated

func (DefaultAPIServiceMock) ResizeVolumeExecute deprecated

func (a DefaultAPIServiceMock) ResizeVolumeExecute(r ApiResizeVolumeRequest) error

Deprecated: ResizeVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResizeVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreBackup

func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, backupId string) ApiRestoreBackupRequest

Deprecated

func (DefaultAPIServiceMock) RestoreBackupExecute deprecated

func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error

Deprecated: RestoreBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) SetImageShare

func (a DefaultAPIServiceMock) SetImageShare(ctx context.Context, projectId string, imageId string) ApiSetImageShareRequest

Deprecated

func (DefaultAPIServiceMock) SetImageShareExecute deprecated

func (a DefaultAPIServiceMock) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)

Deprecated: SetImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the SetImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) StartServer

func (a DefaultAPIServiceMock) StartServer(ctx context.Context, projectId string, serverId string) ApiStartServerRequest

Deprecated

func (DefaultAPIServiceMock) StartServerExecute deprecated

func (a DefaultAPIServiceMock) StartServerExecute(r ApiStartServerRequest) error

Deprecated: StartServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StartServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) StopServer

func (a DefaultAPIServiceMock) StopServer(ctx context.Context, projectId string, serverId string) ApiStopServerRequest

Deprecated

func (DefaultAPIServiceMock) StopServerExecute deprecated

func (a DefaultAPIServiceMock) StopServerExecute(r ApiStopServerRequest) error

Deprecated: StopServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StopServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UnrescueServer

func (a DefaultAPIServiceMock) UnrescueServer(ctx context.Context, projectId string, serverId string) ApiUnrescueServerRequest

Deprecated

func (DefaultAPIServiceMock) UnrescueServerExecute deprecated

func (a DefaultAPIServiceMock) UnrescueServerExecute(r ApiUnrescueServerRequest) error

Deprecated: UnrescueServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UnrescueServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateAttachedVolume

func (a DefaultAPIServiceMock) UpdateAttachedVolume(ctx context.Context, projectId string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest

Deprecated

func (DefaultAPIServiceMock) UpdateAttachedVolumeExecute deprecated

func (a DefaultAPIServiceMock) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)

Deprecated: UpdateAttachedVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateAttachedVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateBackup

func (a DefaultAPIServiceMock) UpdateBackup(ctx context.Context, projectId string, backupId string) ApiUpdateBackupRequest

Deprecated

func (DefaultAPIServiceMock) UpdateBackupExecute deprecated

func (a DefaultAPIServiceMock) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)

Deprecated: UpdateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateImage

func (a DefaultAPIServiceMock) UpdateImage(ctx context.Context, projectId string, imageId string) ApiUpdateImageRequest

Deprecated

func (DefaultAPIServiceMock) UpdateImageExecute deprecated

func (a DefaultAPIServiceMock) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)

Deprecated: UpdateImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateImageScopeLocal

func (a DefaultAPIServiceMock) UpdateImageScopeLocal(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopeLocalRequest

Deprecated

func (DefaultAPIServiceMock) UpdateImageScopeLocalExecute deprecated

func (a DefaultAPIServiceMock) UpdateImageScopeLocalExecute(r ApiUpdateImageScopeLocalRequest) (*Image, error)

Deprecated: UpdateImageScopeLocalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageScopeLocalExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateImageScopePublic

func (a DefaultAPIServiceMock) UpdateImageScopePublic(ctx context.Context, projectId string, imageId string) ApiUpdateImageScopePublicRequest

Deprecated

func (DefaultAPIServiceMock) UpdateImageScopePublicExecute deprecated

func (a DefaultAPIServiceMock) UpdateImageScopePublicExecute(r ApiUpdateImageScopePublicRequest) (*Image, error)

Deprecated: UpdateImageScopePublicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageScopePublicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateImageShare

func (a DefaultAPIServiceMock) UpdateImageShare(ctx context.Context, projectId string, imageId string) ApiUpdateImageShareRequest

Deprecated

func (DefaultAPIServiceMock) UpdateImageShareExecute deprecated

func (a DefaultAPIServiceMock) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)

Deprecated: UpdateImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateKeyPair

func (a DefaultAPIServiceMock) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest

Deprecated

func (DefaultAPIServiceMock) UpdateKeyPairExecute deprecated

func (a DefaultAPIServiceMock) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)

Deprecated: UpdateKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateNetworkAreaRoute

func (a DefaultAPIServiceMock) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiUpdateNetworkAreaRouteRequest

Deprecated

func (DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute deprecated

func (a DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)

Deprecated: UpdateNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateNic

func (a DefaultAPIServiceMock) UpdateNic(ctx context.Context, projectId string, networkId string, nicId string) ApiUpdateNicRequest

Deprecated

func (DefaultAPIServiceMock) UpdateNicExecute deprecated

func (a DefaultAPIServiceMock) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)

Deprecated: UpdateNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdatePublicIP

func (a DefaultAPIServiceMock) UpdatePublicIP(ctx context.Context, projectId string, publicIpId string) ApiUpdatePublicIPRequest

Deprecated

func (DefaultAPIServiceMock) UpdatePublicIPExecute deprecated

func (a DefaultAPIServiceMock) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)

Deprecated: UpdatePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdatePublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateSecurityGroup

func (a DefaultAPIServiceMock) UpdateSecurityGroup(ctx context.Context, projectId string, securityGroupId string) ApiUpdateSecurityGroupRequest

Deprecated

func (DefaultAPIServiceMock) UpdateSecurityGroupExecute deprecated

func (a DefaultAPIServiceMock) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)

Deprecated: UpdateSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateServer

func (a DefaultAPIServiceMock) UpdateServer(ctx context.Context, projectId string, serverId string) ApiUpdateServerRequest

Deprecated

func (DefaultAPIServiceMock) UpdateServerExecute deprecated

func (a DefaultAPIServiceMock) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)

Deprecated: UpdateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateSnapshot

func (a DefaultAPIServiceMock) UpdateSnapshot(ctx context.Context, projectId string, snapshotId string) ApiUpdateSnapshotRequest

Deprecated

func (DefaultAPIServiceMock) UpdateSnapshotExecute deprecated

func (a DefaultAPIServiceMock) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)

Deprecated: UpdateSnapshotExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateSnapshotExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateVolume

func (a DefaultAPIServiceMock) UpdateVolume(ctx context.Context, projectId string, volumeId string) ApiUpdateVolumeRequest

Deprecated

func (DefaultAPIServiceMock) UpdateVolumeExecute deprecated

func (a DefaultAPIServiceMock) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)

Deprecated: UpdateVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateVolumeExecuteMock field in the DefaultAPIServiceMock struct.

type Error

type Error struct {
	Code int64 `json:"code"`
	// An error message.
	Msg string `json:"msg"`
}

Error Error with HTTP error code and an error message.

func NewError

func NewError(code int64, msg string) *Error

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) GetCode

func (o *Error) GetCode() int64

GetCode returns the Code field value

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*int64, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*Error) GetMsg

func (o *Error) GetMsg() string

GetMsg returns the Msg field value

func (*Error) GetMsgOk

func (o *Error) GetMsgOk() (*string, bool)

GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCode

func (o *Error) SetCode(v int64)

SetCode sets field value

func (*Error) SetMsg

func (o *Error) SetMsg(v string)

SetMsg sets field value

func (Error) ToMap

func (o Error) ToMap() (map[string]interface{}, error)

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(data []byte) (err error)

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) SetCode

func (o *ICMPParameters) SetCode(v int64)

SetCode sets field value

func (*ICMPParameters) SetType

func (o *ICMPParameters) SetType(v int64)

SetType sets field value

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

func NewImage(diskFormat string, name string) *Image

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

func (o *Image) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Image) GetCreatedAtOk

func (o *Image) 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 (*Image) GetDiskFormat

func (o *Image) GetDiskFormat() string

GetDiskFormat returns the DiskFormat field value

func (*Image) GetDiskFormatOk

func (o *Image) GetDiskFormatOk() (*string, bool)

GetDiskFormatOk returns a tuple with the DiskFormat field value and a boolean to check if the value has been set.

func (*Image) GetId

func (o *Image) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Image) GetIdOk

func (o *Image) 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 (*Image) GetImportProgress

func (o *Image) GetImportProgress() int64

GetImportProgress returns the ImportProgress field value if set, zero value otherwise.

func (*Image) GetImportProgressOk

func (o *Image) 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 (*Image) GetLabels

func (o *Image) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Image) GetLabelsOk

func (o *Image) 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 (*Image) GetMinDiskSize

func (o *Image) GetMinDiskSize() int64

GetMinDiskSize returns the MinDiskSize field value if set, zero value otherwise.

func (*Image) GetMinDiskSizeOk

func (o *Image) 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 (*Image) GetMinRam

func (o *Image) GetMinRam() int64

GetMinRam returns the MinRam field value if set, zero value otherwise.

func (*Image) GetMinRamOk

func (o *Image) 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 (*Image) GetName

func (o *Image) GetName() string

GetName returns the Name field value

func (*Image) GetNameOk

func (o *Image) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Image) GetOwner

func (o *Image) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Image) GetOwnerOk

func (o *Image) 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 (*Image) GetProtected

func (o *Image) GetProtected() bool

GetProtected returns the Protected field value if set, zero value otherwise.

func (*Image) GetProtectedOk

func (o *Image) 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 (*Image) GetScope

func (o *Image) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*Image) GetScopeOk

func (o *Image) 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 (*Image) GetSize

func (o *Image) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*Image) GetSizeOk

func (o *Image) 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 (*Image) GetStatus

func (o *Image) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Image) GetStatusOk

func (o *Image) 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 (*Image) GetUpdatedAt

func (o *Image) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Image) GetUpdatedAtOk

func (o *Image) 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 (*Image) HasAgent

func (o *Image) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*Image) HasChecksum

func (o *Image) HasChecksum() bool

HasChecksum returns a boolean if a field has been set.

func (*Image) HasConfig

func (o *Image) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Image) HasCreatedAt

func (o *Image) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Image) HasId

func (o *Image) HasId() bool

HasId returns a boolean if a field has been set.

func (*Image) HasImportProgress

func (o *Image) HasImportProgress() bool

HasImportProgress returns a boolean if a field has been set.

func (*Image) HasLabels

func (o *Image) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Image) HasMinDiskSize

func (o *Image) HasMinDiskSize() bool

HasMinDiskSize returns a boolean if a field has been set.

func (*Image) HasMinRam

func (o *Image) HasMinRam() bool

HasMinRam returns a boolean if a field has been set.

func (*Image) HasOwner

func (o *Image) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Image) HasProtected

func (o *Image) HasProtected() bool

HasProtected returns a boolean if a field has been set.

func (*Image) HasScope

func (o *Image) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*Image) HasSize

func (o *Image) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Image) HasStatus

func (o *Image) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Image) HasUpdatedAt

func (o *Image) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Image) MarshalJSON

func (o Image) MarshalJSON() ([]byte, error)

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

func (o *Image) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Image) SetDiskFormat

func (o *Image) SetDiskFormat(v string)

SetDiskFormat sets field value

func (*Image) SetId

func (o *Image) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Image) SetImportProgress

func (o *Image) SetImportProgress(v int64)

SetImportProgress gets a reference to the given int64 and assigns it to the ImportProgress field.

func (*Image) SetLabels

func (o *Image) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Image) SetMinDiskSize

func (o *Image) SetMinDiskSize(v int64)

SetMinDiskSize gets a reference to the given int64 and assigns it to the MinDiskSize field.

func (*Image) SetMinRam

func (o *Image) SetMinRam(v int64)

SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.

func (*Image) SetName

func (o *Image) SetName(v string)

SetName sets field value

func (*Image) SetOwner

func (o *Image) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*Image) SetProtected

func (o *Image) SetProtected(v bool)

SetProtected gets a reference to the given bool and assigns it to the Protected field.

func (*Image) SetScope

func (o *Image) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*Image) SetSize

func (o *Image) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*Image) SetStatus

func (o *Image) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Image) SetUpdatedAt

func (o *Image) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Image) ToMap

func (o Image) ToMap() (map[string]interface{}, error)

func (*Image) UnmarshalJSON

func (o *Image) UnmarshalJSON(data []byte) (err error)

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 {
	// Image is shared with all projects inside the image owners organization.
	ParentOrganization *bool `json:"parentOrganization,omitempty"`
	// List of all projects the Image is shared with.
	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 {
	// Universally Unique Identifier (UUID).
	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}$"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// 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}$"`
	// Date-time when resource was last updated.
	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

func NewKeypair(publicKey string) *Keypair

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

func (o *Keypair) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Keypair) GetCreatedAtOk

func (o *Keypair) 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 (*Keypair) GetFingerprint

func (o *Keypair) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*Keypair) GetFingerprintOk

func (o *Keypair) 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 (*Keypair) GetLabels

func (o *Keypair) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Keypair) GetLabelsOk

func (o *Keypair) 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 (*Keypair) GetName

func (o *Keypair) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Keypair) GetNameOk

func (o *Keypair) 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 (*Keypair) GetPublicKey

func (o *Keypair) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*Keypair) GetPublicKeyOk

func (o *Keypair) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (*Keypair) GetUpdatedAt

func (o *Keypair) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Keypair) GetUpdatedAtOk

func (o *Keypair) 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 (*Keypair) HasCreatedAt

func (o *Keypair) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Keypair) HasFingerprint

func (o *Keypair) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*Keypair) HasLabels

func (o *Keypair) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Keypair) HasName

func (o *Keypair) HasName() bool

HasName returns a boolean if a field has been set.

func (*Keypair) HasUpdatedAt

func (o *Keypair) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Keypair) MarshalJSON

func (o Keypair) MarshalJSON() ([]byte, error)

func (*Keypair) SetCreatedAt

func (o *Keypair) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Keypair) SetFingerprint

func (o *Keypair) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*Keypair) SetLabels

func (o *Keypair) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Keypair) SetName

func (o *Keypair) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Keypair) SetPublicKey

func (o *Keypair) SetPublicKey(v string)

SetPublicKey sets field value

func (*Keypair) SetUpdatedAt

func (o *Keypair) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Keypair) ToMap

func (o Keypair) ToMap() (map[string]interface{}, error)

func (*Keypair) UnmarshalJSON

func (o *Keypair) UnmarshalJSON(data []byte) (err error)

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) SetDisk

func (o *MachineType) SetDisk(v int64)

SetDisk sets field value

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) SetName

func (o *MachineType) SetName(v string)

SetName sets field value

func (*MachineType) SetRam

func (o *MachineType) SetRam(v int64)

SetRam sets field value

func (*MachineType) SetVcpus

func (o *MachineType) SetVcpus(v int64)

SetVcpus sets field value

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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

func (o *NIC) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*NIC) GetDescriptionOk

func (o *NIC) 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 (*NIC) GetDevice

func (o *NIC) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*NIC) GetDeviceOk

func (o *NIC) 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 (*NIC) GetId

func (o *NIC) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*NIC) GetIdOk

func (o *NIC) 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 (*NIC) GetIpv4

func (o *NIC) GetIpv4() string

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*NIC) GetIpv4Ok

func (o *NIC) 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 (*NIC) GetIpv6

func (o *NIC) GetIpv6() string

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*NIC) GetIpv6Ok

func (o *NIC) 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 (*NIC) GetLabels

func (o *NIC) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*NIC) GetLabelsOk

func (o *NIC) 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 (*NIC) GetMac

func (o *NIC) GetMac() string

GetMac returns the Mac field value if set, zero value otherwise.

func (*NIC) GetMacOk

func (o *NIC) 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 (*NIC) GetName

func (o *NIC) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NIC) GetNameOk

func (o *NIC) 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 (*NIC) GetNetworkId

func (o *NIC) GetNetworkId() string

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*NIC) GetNetworkIdOk

func (o *NIC) 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 (*NIC) GetNicSecurity

func (o *NIC) GetNicSecurity() bool

GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.

func (*NIC) GetNicSecurityOk

func (o *NIC) 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 (*NIC) GetSecurityGroups

func (o *NIC) GetSecurityGroups() []string

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*NIC) GetSecurityGroupsOk

func (o *NIC) 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 (*NIC) GetStatus

func (o *NIC) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*NIC) GetStatusOk

func (o *NIC) 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 (*NIC) GetType

func (o *NIC) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*NIC) GetTypeOk

func (o *NIC) 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 (*NIC) HasAllowedAddresses

func (o *NIC) HasAllowedAddresses() bool

HasAllowedAddresses returns a boolean if a field has been set.

func (*NIC) HasDescription

func (o *NIC) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*NIC) HasDevice

func (o *NIC) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*NIC) HasId

func (o *NIC) HasId() bool

HasId returns a boolean if a field has been set.

func (*NIC) HasIpv4

func (o *NIC) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*NIC) HasIpv6

func (o *NIC) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*NIC) HasLabels

func (o *NIC) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NIC) HasMac

func (o *NIC) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*NIC) HasName

func (o *NIC) HasName() bool

HasName returns a boolean if a field has been set.

func (*NIC) HasNetworkId

func (o *NIC) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*NIC) HasNicSecurity

func (o *NIC) HasNicSecurity() bool

HasNicSecurity returns a boolean if a field has been set.

func (*NIC) HasSecurityGroups

func (o *NIC) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*NIC) HasStatus

func (o *NIC) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NIC) HasType

func (o *NIC) HasType() bool

HasType returns a boolean if a field has been set.

func (NIC) MarshalJSON

func (o NIC) MarshalJSON() ([]byte, error)

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

func (o *NIC) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*NIC) SetDevice

func (o *NIC) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*NIC) SetId

func (o *NIC) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*NIC) SetIpv4

func (o *NIC) SetIpv4(v string)

SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.

func (*NIC) SetIpv6

func (o *NIC) SetIpv6(v string)

SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.

func (*NIC) SetLabels

func (o *NIC) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*NIC) SetMac

func (o *NIC) SetMac(v string)

SetMac gets a reference to the given string and assigns it to the Mac field.

func (*NIC) SetName

func (o *NIC) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NIC) SetNetworkId

func (o *NIC) SetNetworkId(v string)

SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.

func (*NIC) SetNicSecurity

func (o *NIC) SetNicSecurity(v bool)

SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.

func (*NIC) SetSecurityGroups

func (o *NIC) SetSecurityGroups(v []string)

SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.

func (*NIC) SetStatus

func (o *NIC) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*NIC) SetType

func (o *NIC) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (NIC) ToMap

func (o NIC) ToMap() (map[string]interface{}, error)

type NICListResponse

type NICListResponse struct {
	// A list of network interfaces.
	Items []NIC `json:"items"`
}

NICListResponse NIC list response.

func NewNICListResponse

func NewNICListResponse(items []NIC) *NICListResponse

NewNICListResponse instantiates a new NICListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNICListResponseWithDefaults

func NewNICListResponseWithDefaults() *NICListResponse

NewNICListResponseWithDefaults instantiates a new NICListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NICListResponse) GetItems

func (o *NICListResponse) GetItems() []NIC

GetItems returns the Items field value

func (*NICListResponse) GetItemsOk

func (o *NICListResponse) GetItemsOk() ([]NIC, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (NICListResponse) MarshalJSON

func (o NICListResponse) MarshalJSON() ([]byte, error)

func (*NICListResponse) SetItems

func (o *NICListResponse) SetItems(v []NIC)

SetItems sets field value

func (NICListResponse) ToMap

func (o NICListResponse) ToMap() (map[string]interface{}, error)

func (*NICListResponse) UnmarshalJSON

func (o *NICListResponse) UnmarshalJSON(data []byte) (err error)

type Network

type Network struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Enable or disable DHCP for a network.
	Dhcp *bool `json:"dhcp,omitempty"`
	// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1386-byte string literal not displayed */
	// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gatewayv6 NullableString `` /* 1388-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	Name   string                 `json:"name"`
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers []string `json:"nameservers,omitempty"`
	// A list containing DNS Servers/Nameservers for IPv6.
	NameserversV6 []string `json:"nameserversV6,omitempty"`
	// Universally Unique Identifier (UUID).
	NetworkId  string   `json:"networkId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	Prefixes   []string `json:"prefixes,omitempty"`
	PrefixesV6 []string `json:"prefixesV6,omitempty"`
	// Object that represents an IP address.
	PublicIp *string `` /* 1387-byte string literal not displayed */
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	State string `json:"state"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Network Object that represents a network.

func NewNetwork

func NewNetwork(name string, networkId string, state string) *Network

NewNetwork instantiates a new Network object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

NewNetworkWithDefaults instantiates a new Network object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Network) GetCreatedAt

func (o *Network) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Network) GetCreatedAtOk

func (o *Network) 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 (*Network) GetDhcp

func (o *Network) GetDhcp() bool

GetDhcp returns the Dhcp field value if set, zero value otherwise.

func (*Network) GetDhcpOk

func (o *Network) 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 (*Network) GetGateway

func (o *Network) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Network) GetGatewayOk

func (o *Network) 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 (*Network) GetGatewayv6

func (o *Network) GetGatewayv6() string

GetGatewayv6 returns the Gatewayv6 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Network) GetGatewayv6Ok

func (o *Network) GetGatewayv6Ok() (*string, bool)

GetGatewayv6Ok returns a tuple with the Gatewayv6 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Network) GetLabels

func (o *Network) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Network) GetLabelsOk

func (o *Network) 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 (*Network) GetName

func (o *Network) GetName() string

GetName returns the Name field value

func (*Network) GetNameOk

func (o *Network) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Network) GetNameservers

func (o *Network) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*Network) GetNameserversOk

func (o *Network) 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 (*Network) GetNameserversV6

func (o *Network) GetNameserversV6() []string

GetNameserversV6 returns the NameserversV6 field value if set, zero value otherwise.

func (*Network) GetNameserversV6Ok

func (o *Network) GetNameserversV6Ok() ([]string, bool)

GetNameserversV6Ok returns a tuple with the NameserversV6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetNetworkId

func (o *Network) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Network) GetNetworkIdOk

func (o *Network) GetNetworkIdOk() (*string, bool)

GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.

func (*Network) GetPrefixes

func (o *Network) GetPrefixes() []string

GetPrefixes returns the Prefixes field value if set, zero value otherwise.

func (*Network) GetPrefixesOk

func (o *Network) GetPrefixesOk() ([]string, bool)

GetPrefixesOk returns a tuple with the Prefixes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetPrefixesV6

func (o *Network) GetPrefixesV6() []string

GetPrefixesV6 returns the PrefixesV6 field value if set, zero value otherwise.

func (*Network) GetPrefixesV6Ok

func (o *Network) GetPrefixesV6Ok() ([]string, bool)

GetPrefixesV6Ok returns a tuple with the PrefixesV6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetPublicIp

func (o *Network) GetPublicIp() string

GetPublicIp returns the PublicIp field value if set, zero value otherwise.

func (*Network) GetPublicIpOk

func (o *Network) 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 (*Network) GetRouted

func (o *Network) GetRouted() bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*Network) GetRoutedOk

func (o *Network) 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 (*Network) GetState

func (o *Network) GetState() string

GetState returns the State field value

func (*Network) GetStateOk

func (o *Network) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Network) GetUpdatedAt

func (o *Network) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Network) GetUpdatedAtOk

func (o *Network) 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 (*Network) HasCreatedAt

func (o *Network) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Network) HasDhcp

func (o *Network) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*Network) HasGateway

func (o *Network) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*Network) HasGatewayv6

func (o *Network) HasGatewayv6() bool

HasGatewayv6 returns a boolean if a field has been set.

func (*Network) HasLabels

func (o *Network) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Network) HasNameservers

func (o *Network) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*Network) HasNameserversV6

func (o *Network) HasNameserversV6() bool

HasNameserversV6 returns a boolean if a field has been set.

func (*Network) HasPrefixes

func (o *Network) HasPrefixes() bool

HasPrefixes returns a boolean if a field has been set.

func (*Network) HasPrefixesV6

func (o *Network) HasPrefixesV6() bool

HasPrefixesV6 returns a boolean if a field has been set.

func (*Network) HasPublicIp

func (o *Network) HasPublicIp() bool

HasPublicIp returns a boolean if a field has been set.

func (*Network) HasRouted

func (o *Network) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*Network) HasUpdatedAt

func (o *Network) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Network) MarshalJSON

func (o Network) MarshalJSON() ([]byte, error)

func (*Network) SetCreatedAt

func (o *Network) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Network) SetDhcp

func (o *Network) SetDhcp(v bool)

SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.

func (*Network) SetGateway

func (o *Network) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*Network) SetGatewayNil

func (o *Network) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*Network) SetGatewayv6

func (o *Network) SetGatewayv6(v string)

SetGatewayv6 gets a reference to the given NullableString and assigns it to the Gatewayv6 field.

func (*Network) SetGatewayv6Nil

func (o *Network) SetGatewayv6Nil()

SetGatewayv6Nil sets the value for Gatewayv6 to be an explicit nil

func (*Network) SetLabels

func (o *Network) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Network) SetName

func (o *Network) SetName(v string)

SetName sets field value

func (*Network) SetNameservers

func (o *Network) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*Network) SetNameserversV6

func (o *Network) SetNameserversV6(v []string)

SetNameserversV6 gets a reference to the given []string and assigns it to the NameserversV6 field.

func (*Network) SetNetworkId

func (o *Network) SetNetworkId(v string)

SetNetworkId sets field value

func (*Network) SetPrefixes

func (o *Network) SetPrefixes(v []string)

SetPrefixes gets a reference to the given []string and assigns it to the Prefixes field.

func (*Network) SetPrefixesV6

func (o *Network) SetPrefixesV6(v []string)

SetPrefixesV6 gets a reference to the given []string and assigns it to the PrefixesV6 field.

func (*Network) SetPublicIp

func (o *Network) SetPublicIp(v string)

SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.

func (*Network) SetRouted

func (o *Network) SetRouted(v bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (*Network) SetState

func (o *Network) SetState(v string)

SetState sets field value

func (*Network) SetUpdatedAt

func (o *Network) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Network) ToMap

func (o Network) ToMap() (map[string]interface{}, error)

func (*Network) UnmarshalJSON

func (o *Network) UnmarshalJSON(data []byte) (err error)

func (*Network) UnsetGateway

func (o *Network) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

func (*Network) UnsetGatewayv6

func (o *Network) UnsetGatewayv6()

UnsetGatewayv6 ensures that no value is present for Gatewayv6, not even an explicit nil

type NetworkArea

type NetworkArea struct {
	// Universally Unique Identifier (UUID).
	AreaId string `json:"areaId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Date-time when resource was created.
	CreatedAt *time.Time       `json:"createdAt,omitempty"`
	Ipv4      *NetworkAreaIPv4 `json:"ipv4,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	Name   string                 `json:"name"`
	// The amount of projects currently referencing a specific area.
	ProjectCount int64 `json:"projectCount"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	State string `json:"state"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

NetworkArea Object that represents a network area.

func NewNetworkArea

func NewNetworkArea(areaId string, name string, projectCount int64, state string) *NetworkArea

NewNetworkArea instantiates a new NetworkArea object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAreaWithDefaults

func NewNetworkAreaWithDefaults() *NetworkArea

NewNetworkAreaWithDefaults instantiates a new NetworkArea object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkArea) GetAreaId

func (o *NetworkArea) GetAreaId() string

GetAreaId returns the AreaId field value

func (*NetworkArea) GetAreaIdOk

func (o *NetworkArea) GetAreaIdOk() (*string, bool)

GetAreaIdOk returns a tuple with the AreaId field value and a boolean to check if the value has been set.

func (*NetworkArea) GetCreatedAt

func (o *NetworkArea) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkArea) GetCreatedAtOk

func (o *NetworkArea) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) GetIpv4

func (o *NetworkArea) GetIpv4() NetworkAreaIPv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*NetworkArea) GetIpv4Ok

func (o *NetworkArea) GetIpv4Ok() (*NetworkAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) GetLabels

func (o *NetworkArea) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*NetworkArea) GetLabelsOk

func (o *NetworkArea) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) GetName

func (o *NetworkArea) GetName() string

GetName returns the Name field value

func (*NetworkArea) GetNameOk

func (o *NetworkArea) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NetworkArea) GetProjectCount

func (o *NetworkArea) GetProjectCount() int64

GetProjectCount returns the ProjectCount field value

func (*NetworkArea) GetProjectCountOk

func (o *NetworkArea) GetProjectCountOk() (*int64, bool)

GetProjectCountOk returns a tuple with the ProjectCount field value and a boolean to check if the value has been set.

func (*NetworkArea) GetState

func (o *NetworkArea) GetState() string

GetState returns the State field value

func (*NetworkArea) GetStateOk

func (o *NetworkArea) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*NetworkArea) GetUpdatedAt

func (o *NetworkArea) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*NetworkArea) GetUpdatedAtOk

func (o *NetworkArea) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) HasCreatedAt

func (o *NetworkArea) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkArea) HasIpv4

func (o *NetworkArea) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*NetworkArea) HasLabels

func (o *NetworkArea) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NetworkArea) HasUpdatedAt

func (o *NetworkArea) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (NetworkArea) MarshalJSON

func (o NetworkArea) MarshalJSON() ([]byte, error)

func (*NetworkArea) SetAreaId

func (o *NetworkArea) SetAreaId(v string)

SetAreaId sets field value

func (*NetworkArea) SetCreatedAt

func (o *NetworkArea) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkArea) SetIpv4

func (o *NetworkArea) SetIpv4(v NetworkAreaIPv4)

SetIpv4 gets a reference to the given NetworkAreaIPv4 and assigns it to the Ipv4 field.

func (*NetworkArea) SetLabels

func (o *NetworkArea) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*NetworkArea) SetName

func (o *NetworkArea) SetName(v string)

SetName sets field value

func (*NetworkArea) SetProjectCount

func (o *NetworkArea) SetProjectCount(v int64)

SetProjectCount sets field value

func (*NetworkArea) SetState

func (o *NetworkArea) SetState(v string)

SetState sets field value

func (*NetworkArea) SetUpdatedAt

func (o *NetworkArea) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (NetworkArea) ToMap

func (o NetworkArea) ToMap() (map[string]interface{}, error)

func (*NetworkArea) UnmarshalJSON

func (o *NetworkArea) UnmarshalJSON(data []byte) (err error)

type NetworkAreaIPv4

type NetworkAreaIPv4 struct {
	// A list containing DNS Servers/Nameservers for IPv4.
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	NetworkRanges []NetworkRange `json:"networkRanges,omitempty"`
	// A list of routes.
	Routes []Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	TransferNetwork *string `` /* 887-byte string literal not displayed */
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}

NetworkAreaIPv4 The IPv4 properties of a network area.

func NewNetworkAreaIPv4

func NewNetworkAreaIPv4() *NetworkAreaIPv4

NewNetworkAreaIPv4 instantiates a new NetworkAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAreaIPv4WithDefaults

func NewNetworkAreaIPv4WithDefaults() *NetworkAreaIPv4

NewNetworkAreaIPv4WithDefaults instantiates a new NetworkAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkAreaIPv4) GetDefaultNameservers

func (o *NetworkAreaIPv4) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetDefaultNameserversOk

func (o *NetworkAreaIPv4) GetDefaultNameserversOk() ([]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetDefaultPrefixLen

func (o *NetworkAreaIPv4) GetDefaultPrefixLen() int32

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetDefaultPrefixLenOk

func (o *NetworkAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetMaxPrefixLen

func (o *NetworkAreaIPv4) GetMaxPrefixLen() int32

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetMaxPrefixLenOk

func (o *NetworkAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetMinPrefixLen

func (o *NetworkAreaIPv4) GetMinPrefixLen() int32

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetMinPrefixLenOk

func (o *NetworkAreaIPv4) GetMinPrefixLenOk() (*int32, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetNetworkRanges

func (o *NetworkAreaIPv4) GetNetworkRanges() []NetworkRange

GetNetworkRanges returns the NetworkRanges field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetNetworkRangesOk

func (o *NetworkAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetRoutes

func (o *NetworkAreaIPv4) GetRoutes() []Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetRoutesOk

func (o *NetworkAreaIPv4) GetRoutesOk() ([]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetTransferNetwork

func (o *NetworkAreaIPv4) GetTransferNetwork() string

GetTransferNetwork returns the TransferNetwork field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetTransferNetworkOk

func (o *NetworkAreaIPv4) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) HasDefaultNameservers

func (o *NetworkAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasDefaultPrefixLen

func (o *NetworkAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasMaxPrefixLen

func (o *NetworkAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasMinPrefixLen

func (o *NetworkAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasNetworkRanges

func (o *NetworkAreaIPv4) HasNetworkRanges() bool

HasNetworkRanges returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasRoutes

func (o *NetworkAreaIPv4) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasTransferNetwork

func (o *NetworkAreaIPv4) HasTransferNetwork() bool

HasTransferNetwork returns a boolean if a field has been set.

func (NetworkAreaIPv4) MarshalJSON

func (o NetworkAreaIPv4) MarshalJSON() ([]byte, error)

func (*NetworkAreaIPv4) SetDefaultNameservers

func (o *NetworkAreaIPv4) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*NetworkAreaIPv4) SetDefaultPrefixLen

func (o *NetworkAreaIPv4) SetDefaultPrefixLen(v int32)

SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.

func (*NetworkAreaIPv4) SetMaxPrefixLen

func (o *NetworkAreaIPv4) SetMaxPrefixLen(v int32)

SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.

func (*NetworkAreaIPv4) SetMinPrefixLen

func (o *NetworkAreaIPv4) SetMinPrefixLen(v int32)

SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.

func (*NetworkAreaIPv4) SetNetworkRanges

func (o *NetworkAreaIPv4) SetNetworkRanges(v []NetworkRange)

SetNetworkRanges gets a reference to the given []NetworkRange and assigns it to the NetworkRanges field.

func (*NetworkAreaIPv4) SetRoutes

func (o *NetworkAreaIPv4) SetRoutes(v []Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*NetworkAreaIPv4) SetTransferNetwork

func (o *NetworkAreaIPv4) SetTransferNetwork(v string)

SetTransferNetwork gets a reference to the given string and assigns it to the TransferNetwork field.

func (NetworkAreaIPv4) ToMap

func (o NetworkAreaIPv4) ToMap() (map[string]interface{}, error)

type NetworkAreaListResponse

type NetworkAreaListResponse struct {
	// A list of network areas.
	Items []NetworkArea `json:"items"`
}

NetworkAreaListResponse Network area list response.

func NewNetworkAreaListResponse

func NewNetworkAreaListResponse(items []NetworkArea) *NetworkAreaListResponse

NewNetworkAreaListResponse instantiates a new NetworkAreaListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAreaListResponseWithDefaults

func NewNetworkAreaListResponseWithDefaults() *NetworkAreaListResponse

NewNetworkAreaListResponseWithDefaults instantiates a new NetworkAreaListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkAreaListResponse) GetItems

func (o *NetworkAreaListResponse) GetItems() []NetworkArea

GetItems returns the Items field value

func (*NetworkAreaListResponse) GetItemsOk

func (o *NetworkAreaListResponse) GetItemsOk() ([]NetworkArea, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (NetworkAreaListResponse) MarshalJSON

func (o NetworkAreaListResponse) MarshalJSON() ([]byte, error)

func (*NetworkAreaListResponse) SetItems

func (o *NetworkAreaListResponse) SetItems(v []NetworkArea)

SetItems sets field value

func (NetworkAreaListResponse) ToMap

func (o NetworkAreaListResponse) ToMap() (map[string]interface{}, error)

func (*NetworkAreaListResponse) UnmarshalJSON

func (o *NetworkAreaListResponse) UnmarshalJSON(data []byte) (err error)

type NetworkListResponse

type NetworkListResponse struct {
	// A list of networks.
	Items []Network `json:"items"`
}

NetworkListResponse Network list response.

func NewNetworkListResponse

func NewNetworkListResponse(items []Network) *NetworkListResponse

NewNetworkListResponse instantiates a new NetworkListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkListResponseWithDefaults

func NewNetworkListResponseWithDefaults() *NetworkListResponse

NewNetworkListResponseWithDefaults instantiates a new NetworkListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkListResponse) GetItems

func (o *NetworkListResponse) GetItems() []Network

GetItems returns the Items field value

func (*NetworkListResponse) GetItemsOk

func (o *NetworkListResponse) GetItemsOk() ([]Network, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (NetworkListResponse) MarshalJSON

func (o NetworkListResponse) MarshalJSON() ([]byte, error)

func (*NetworkListResponse) SetItems

func (o *NetworkListResponse) SetItems(v []Network)

SetItems sets field value

func (NetworkListResponse) ToMap

func (o NetworkListResponse) ToMap() (map[string]interface{}, error)

func (*NetworkListResponse) UnmarshalJSON

func (o *NetworkListResponse) UnmarshalJSON(data []byte) (err error)

type NetworkRange

type NetworkRange struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Universally Unique Identifier (UUID).
	NetworkRangeId *string `json:"networkRangeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Classless Inter-Domain Routing (CIDR).
	Prefix string `` /* 868-byte string literal not displayed */
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

NetworkRange Object that represents a network range.

func NewNetworkRange

func NewNetworkRange(prefix string) *NetworkRange

NewNetworkRange instantiates a new NetworkRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkRangeWithDefaults

func NewNetworkRangeWithDefaults() *NetworkRange

NewNetworkRangeWithDefaults instantiates a new NetworkRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkRange) GetCreatedAt

func (o *NetworkRange) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkRange) GetCreatedAtOk

func (o *NetworkRange) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkRange) GetNetworkRangeId

func (o *NetworkRange) GetNetworkRangeId() string

GetNetworkRangeId returns the NetworkRangeId field value if set, zero value otherwise.

func (*NetworkRange) GetNetworkRangeIdOk

func (o *NetworkRange) GetNetworkRangeIdOk() (*string, bool)

GetNetworkRangeIdOk returns a tuple with the NetworkRangeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkRange) GetPrefix

func (o *NetworkRange) GetPrefix() string

GetPrefix returns the Prefix field value

func (*NetworkRange) GetPrefixOk

func (o *NetworkRange) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.

func (*NetworkRange) GetUpdatedAt

func (o *NetworkRange) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*NetworkRange) GetUpdatedAtOk

func (o *NetworkRange) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkRange) HasCreatedAt

func (o *NetworkRange) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkRange) HasNetworkRangeId

func (o *NetworkRange) HasNetworkRangeId() bool

HasNetworkRangeId returns a boolean if a field has been set.

func (*NetworkRange) HasUpdatedAt

func (o *NetworkRange) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (NetworkRange) MarshalJSON

func (o NetworkRange) MarshalJSON() ([]byte, error)

func (*NetworkRange) SetCreatedAt

func (o *NetworkRange) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkRange) SetNetworkRangeId

func (o *NetworkRange) SetNetworkRangeId(v string)

SetNetworkRangeId gets a reference to the given string and assigns it to the NetworkRangeId field.

func (*NetworkRange) SetPrefix

func (o *NetworkRange) SetPrefix(v string)

SetPrefix sets field value

func (*NetworkRange) SetUpdatedAt

func (o *NetworkRange) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (NetworkRange) ToMap

func (o NetworkRange) ToMap() (map[string]interface{}, error)

func (*NetworkRange) UnmarshalJSON

func (o *NetworkRange) UnmarshalJSON(data []byte) (err error)

type NetworkRangeListResponse

type NetworkRangeListResponse struct {
	// A list of network ranges.
	Items []NetworkRange `json:"items"`
}

NetworkRangeListResponse Network Range list response.

func NewNetworkRangeListResponse

func NewNetworkRangeListResponse(items []NetworkRange) *NetworkRangeListResponse

NewNetworkRangeListResponse instantiates a new NetworkRangeListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkRangeListResponseWithDefaults

func NewNetworkRangeListResponseWithDefaults() *NetworkRangeListResponse

NewNetworkRangeListResponseWithDefaults instantiates a new NetworkRangeListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkRangeListResponse) GetItems

func (o *NetworkRangeListResponse) GetItems() []NetworkRange

GetItems returns the Items field value

func (*NetworkRangeListResponse) GetItemsOk

func (o *NetworkRangeListResponse) GetItemsOk() ([]NetworkRange, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (NetworkRangeListResponse) MarshalJSON

func (o NetworkRangeListResponse) MarshalJSON() ([]byte, error)

func (*NetworkRangeListResponse) SetItems

func (o *NetworkRangeListResponse) SetItems(v []NetworkRange)

SetItems sets field value

func (NetworkRangeListResponse) ToMap

func (o NetworkRangeListResponse) ToMap() (map[string]interface{}, error)

func (*NetworkRangeListResponse) UnmarshalJSON

func (o *NetworkRangeListResponse) UnmarshalJSON(data []byte) (err error)

type NullableAddVolumeToServerPayload

type NullableAddVolumeToServerPayload struct {
	// contains filtered or unexported fields
}

func (NullableAddVolumeToServerPayload) Get

func (NullableAddVolumeToServerPayload) IsSet

func (NullableAddVolumeToServerPayload) MarshalJSON

func (v NullableAddVolumeToServerPayload) MarshalJSON() ([]byte, error)

func (*NullableAddVolumeToServerPayload) Set

func (*NullableAddVolumeToServerPayload) UnmarshalJSON

func (v *NullableAddVolumeToServerPayload) UnmarshalJSON(src []byte) error

func (*NullableAddVolumeToServerPayload) Unset

type NullableAffinityGroup

type NullableAffinityGroup struct {
	// contains filtered or unexported fields
}

func NewNullableAffinityGroup

func NewNullableAffinityGroup(val *AffinityGroup) *NullableAffinityGroup

func (NullableAffinityGroup) Get

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 (NullableAffinityGroupListResponse) Get

func (NullableAffinityGroupListResponse) IsSet

func (NullableAffinityGroupListResponse) MarshalJSON

func (v NullableAffinityGroupListResponse) MarshalJSON() ([]byte, error)

func (*NullableAffinityGroupListResponse) Set

func (*NullableAffinityGroupListResponse) UnmarshalJSON

func (v *NullableAffinityGroupListResponse) UnmarshalJSON(src []byte) error

func (*NullableAffinityGroupListResponse) Unset

type NullableAllowedAddressesInner

type NullableAllowedAddressesInner struct {
	// contains filtered or unexported fields
}

func (NullableAllowedAddressesInner) Get

func (NullableAllowedAddressesInner) IsSet

func (NullableAllowedAddressesInner) MarshalJSON

func (v NullableAllowedAddressesInner) MarshalJSON() ([]byte, error)

func (*NullableAllowedAddressesInner) Set

func (*NullableAllowedAddressesInner) UnmarshalJSON

func (v *NullableAllowedAddressesInner) UnmarshalJSON(src []byte) error

func (*NullableAllowedAddressesInner) Unset

func (v *NullableAllowedAddressesInner) Unset()

type NullableArea

type NullableArea struct {
	// contains filtered or unexported fields
}

func NewNullableArea

func NewNullableArea(val *Area) *NullableArea

func (NullableArea) Get

func (v NullableArea) Get() *Area

func (NullableArea) IsSet

func (v NullableArea) IsSet() bool

func (NullableArea) MarshalJSON

func (v NullableArea) MarshalJSON() ([]byte, error)

func (*NullableArea) Set

func (v *NullableArea) Set(val *Area)

func (*NullableArea) UnmarshalJSON

func (v *NullableArea) UnmarshalJSON(src []byte) error

func (*NullableArea) Unset

func (v *NullableArea) Unset()

type NullableAreaConfig

type NullableAreaConfig struct {
	// contains filtered or unexported fields
}

func NewNullableAreaConfig

func NewNullableAreaConfig(val *AreaConfig) *NullableAreaConfig

func (NullableAreaConfig) Get

func (v NullableAreaConfig) Get() *AreaConfig

func (NullableAreaConfig) IsSet

func (v NullableAreaConfig) IsSet() bool

func (NullableAreaConfig) MarshalJSON

func (v NullableAreaConfig) MarshalJSON() ([]byte, error)

func (*NullableAreaConfig) Set

func (v *NullableAreaConfig) Set(val *AreaConfig)

func (*NullableAreaConfig) UnmarshalJSON

func (v *NullableAreaConfig) UnmarshalJSON(src []byte) error

func (*NullableAreaConfig) Unset

func (v *NullableAreaConfig) Unset()

type NullableAreaId

type NullableAreaId struct {
	// contains filtered or unexported fields
}

func NewNullableAreaId

func NewNullableAreaId(val *AreaId) *NullableAreaId

func (NullableAreaId) Get

func (v NullableAreaId) Get() *AreaId

func (NullableAreaId) IsSet

func (v NullableAreaId) IsSet() bool

func (NullableAreaId) MarshalJSON

func (v NullableAreaId) MarshalJSON() ([]byte, error)

func (*NullableAreaId) Set

func (v *NullableAreaId) Set(val *AreaId)

func (*NullableAreaId) UnmarshalJSON

func (v *NullableAreaId) UnmarshalJSON(src []byte) error

func (*NullableAreaId) Unset

func (v *NullableAreaId) Unset()

type NullableAreaPrefixConfigIPv4

type NullableAreaPrefixConfigIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableAreaPrefixConfigIPv4

func NewNullableAreaPrefixConfigIPv4(val *AreaPrefixConfigIPv4) *NullableAreaPrefixConfigIPv4

func (NullableAreaPrefixConfigIPv4) Get

func (NullableAreaPrefixConfigIPv4) IsSet

func (NullableAreaPrefixConfigIPv4) MarshalJSON

func (v NullableAreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)

func (*NullableAreaPrefixConfigIPv4) Set

func (*NullableAreaPrefixConfigIPv4) UnmarshalJSON

func (v *NullableAreaPrefixConfigIPv4) UnmarshalJSON(src []byte) error

func (*NullableAreaPrefixConfigIPv4) Unset

func (v *NullableAreaPrefixConfigIPv4) Unset()

type NullableAvailabilityZoneListResponse

type NullableAvailabilityZoneListResponse struct {
	// contains filtered or unexported fields
}

func (NullableAvailabilityZoneListResponse) Get

func (NullableAvailabilityZoneListResponse) IsSet

func (NullableAvailabilityZoneListResponse) MarshalJSON

func (v NullableAvailabilityZoneListResponse) MarshalJSON() ([]byte, error)

func (*NullableAvailabilityZoneListResponse) Set

func (*NullableAvailabilityZoneListResponse) UnmarshalJSON

func (v *NullableAvailabilityZoneListResponse) UnmarshalJSON(src []byte) error

func (*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 (NullableBackupListResponse) IsSet

func (v NullableBackupListResponse) IsSet() bool

func (NullableBackupListResponse) MarshalJSON

func (v NullableBackupListResponse) MarshalJSON() ([]byte, error)

func (*NullableBackupListResponse) Set

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 (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 (NullableBaseSecurityGroupRule) Get

func (NullableBaseSecurityGroupRule) IsSet

func (NullableBaseSecurityGroupRule) MarshalJSON

func (v NullableBaseSecurityGroupRule) MarshalJSON() ([]byte, error)

func (*NullableBaseSecurityGroupRule) Set

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 (NullableBootVolumeSource) IsSet

func (v NullableBootVolumeSource) IsSet() bool

func (NullableBootVolumeSource) MarshalJSON

func (v NullableBootVolumeSource) MarshalJSON() ([]byte, error)

func (*NullableBootVolumeSource) Set

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 (NullableCreateAffinityGroupPayload) Get

func (NullableCreateAffinityGroupPayload) IsSet

func (NullableCreateAffinityGroupPayload) MarshalJSON

func (v NullableCreateAffinityGroupPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateAffinityGroupPayload) Set

func (*NullableCreateAffinityGroupPayload) UnmarshalJSON

func (v *NullableCreateAffinityGroupPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateAffinityGroupPayload) Unset

type NullableCreateAreaAddressFamily

type NullableCreateAreaAddressFamily struct {
	// contains filtered or unexported fields
}

func (NullableCreateAreaAddressFamily) Get

func (NullableCreateAreaAddressFamily) IsSet

func (NullableCreateAreaAddressFamily) MarshalJSON

func (v NullableCreateAreaAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableCreateAreaAddressFamily) Set

func (*NullableCreateAreaAddressFamily) UnmarshalJSON

func (v *NullableCreateAreaAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableCreateAreaAddressFamily) Unset

type NullableCreateAreaIPv4

type NullableCreateAreaIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateAreaIPv4

func NewNullableCreateAreaIPv4(val *CreateAreaIPv4) *NullableCreateAreaIPv4

func (NullableCreateAreaIPv4) Get

func (NullableCreateAreaIPv4) IsSet

func (v NullableCreateAreaIPv4) IsSet() bool

func (NullableCreateAreaIPv4) MarshalJSON

func (v NullableCreateAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableCreateAreaIPv4) Set

func (*NullableCreateAreaIPv4) UnmarshalJSON

func (v *NullableCreateAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableCreateAreaIPv4) Unset

func (v *NullableCreateAreaIPv4) Unset()

type NullableCreateBackupPayload

type NullableCreateBackupPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateBackupPayload

func NewNullableCreateBackupPayload(val *CreateBackupPayload) *NullableCreateBackupPayload

func (NullableCreateBackupPayload) Get

func (NullableCreateBackupPayload) IsSet

func (NullableCreateBackupPayload) MarshalJSON

func (v NullableCreateBackupPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateBackupPayload) Set

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 (NullableCreateImagePayload) IsSet

func (v NullableCreateImagePayload) IsSet() bool

func (NullableCreateImagePayload) MarshalJSON

func (v NullableCreateImagePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateImagePayload) Set

func (*NullableCreateImagePayload) UnmarshalJSON

func (v *NullableCreateImagePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateImagePayload) Unset

func (v *NullableCreateImagePayload) Unset()

type NullableCreateKeyPairPayload

type NullableCreateKeyPairPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateKeyPairPayload

func NewNullableCreateKeyPairPayload(val *CreateKeyPairPayload) *NullableCreateKeyPairPayload

func (NullableCreateKeyPairPayload) Get

func (NullableCreateKeyPairPayload) IsSet

func (NullableCreateKeyPairPayload) MarshalJSON

func (v NullableCreateKeyPairPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateKeyPairPayload) Set

func (*NullableCreateKeyPairPayload) UnmarshalJSON

func (v *NullableCreateKeyPairPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateKeyPairPayload) Unset

func (v *NullableCreateKeyPairPayload) Unset()

type NullableCreateNetworkAddressFamily

type NullableCreateNetworkAddressFamily struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkAddressFamily) Get

func (NullableCreateNetworkAddressFamily) IsSet

func (NullableCreateNetworkAddressFamily) MarshalJSON

func (v NullableCreateNetworkAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAddressFamily) Set

func (*NullableCreateNetworkAddressFamily) UnmarshalJSON

func (v *NullableCreateNetworkAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAddressFamily) Unset

type NullableCreateNetworkAreaPayload

type NullableCreateNetworkAreaPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkAreaPayload) Get

func (NullableCreateNetworkAreaPayload) IsSet

func (NullableCreateNetworkAreaPayload) MarshalJSON

func (v NullableCreateNetworkAreaPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaPayload) Set

func (*NullableCreateNetworkAreaPayload) UnmarshalJSON

func (v *NullableCreateNetworkAreaPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaPayload) Unset

type NullableCreateNetworkAreaRangePayload

type NullableCreateNetworkAreaRangePayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkAreaRangePayload) Get

func (NullableCreateNetworkAreaRangePayload) IsSet

func (NullableCreateNetworkAreaRangePayload) MarshalJSON

func (v NullableCreateNetworkAreaRangePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaRangePayload) Set

func (*NullableCreateNetworkAreaRangePayload) UnmarshalJSON

func (v *NullableCreateNetworkAreaRangePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaRangePayload) Unset

type NullableCreateNetworkAreaRoutePayload

type NullableCreateNetworkAreaRoutePayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkAreaRoutePayload) Get

func (NullableCreateNetworkAreaRoutePayload) IsSet

func (NullableCreateNetworkAreaRoutePayload) MarshalJSON

func (v NullableCreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaRoutePayload) Set

func (*NullableCreateNetworkAreaRoutePayload) UnmarshalJSON

func (v *NullableCreateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaRoutePayload) Unset

type NullableCreateNetworkIPv4Body

type NullableCreateNetworkIPv4Body struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkIPv4Body) Get

func (NullableCreateNetworkIPv4Body) IsSet

func (NullableCreateNetworkIPv4Body) MarshalJSON

func (v NullableCreateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv4Body) Set

func (*NullableCreateNetworkIPv4Body) UnmarshalJSON

func (v *NullableCreateNetworkIPv4Body) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv4Body) Unset

func (v *NullableCreateNetworkIPv4Body) Unset()

type NullableCreateNetworkIPv6Body

type NullableCreateNetworkIPv6Body struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkIPv6Body) Get

func (NullableCreateNetworkIPv6Body) IsSet

func (NullableCreateNetworkIPv6Body) MarshalJSON

func (v NullableCreateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv6Body) Set

func (*NullableCreateNetworkIPv6Body) UnmarshalJSON

func (v *NullableCreateNetworkIPv6Body) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv6Body) Unset

func (v *NullableCreateNetworkIPv6Body) Unset()

type NullableCreateNetworkPayload

type NullableCreateNetworkPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateNetworkPayload

func NewNullableCreateNetworkPayload(val *CreateNetworkPayload) *NullableCreateNetworkPayload

func (NullableCreateNetworkPayload) Get

func (NullableCreateNetworkPayload) IsSet

func (NullableCreateNetworkPayload) MarshalJSON

func (v NullableCreateNetworkPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkPayload) Set

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 (NullableCreateNicPayload) IsSet

func (v NullableCreateNicPayload) IsSet() bool

func (NullableCreateNicPayload) MarshalJSON

func (v NullableCreateNicPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNicPayload) Set

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 (NullableCreateProtocol) IsSet

func (v NullableCreateProtocol) IsSet() bool

func (NullableCreateProtocol) MarshalJSON

func (v NullableCreateProtocol) MarshalJSON() ([]byte, error)

func (*NullableCreateProtocol) Set

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 (NullableCreatePublicIPPayload) Get

func (NullableCreatePublicIPPayload) IsSet

func (NullableCreatePublicIPPayload) MarshalJSON

func (v NullableCreatePublicIPPayload) MarshalJSON() ([]byte, error)

func (*NullableCreatePublicIPPayload) Set

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 (NullableCreateSecurityGroupPayload) Get

func (NullableCreateSecurityGroupPayload) IsSet

func (NullableCreateSecurityGroupPayload) MarshalJSON

func (v NullableCreateSecurityGroupPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateSecurityGroupPayload) Set

func (*NullableCreateSecurityGroupPayload) UnmarshalJSON

func (v *NullableCreateSecurityGroupPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateSecurityGroupPayload) Unset

type NullableCreateSecurityGroupRulePayload

type NullableCreateSecurityGroupRulePayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateSecurityGroupRulePayload) Get

func (NullableCreateSecurityGroupRulePayload) IsSet

func (NullableCreateSecurityGroupRulePayload) MarshalJSON

func (v NullableCreateSecurityGroupRulePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateSecurityGroupRulePayload) Set

func (*NullableCreateSecurityGroupRulePayload) UnmarshalJSON

func (v *NullableCreateSecurityGroupRulePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateSecurityGroupRulePayload) Unset

type NullableCreateSecurityGroupRuleProtocol

type NullableCreateSecurityGroupRuleProtocol struct {
	// contains filtered or unexported fields
}

func (NullableCreateSecurityGroupRuleProtocol) Get

func (NullableCreateSecurityGroupRuleProtocol) IsSet

func (NullableCreateSecurityGroupRuleProtocol) MarshalJSON

func (v NullableCreateSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)

func (*NullableCreateSecurityGroupRuleProtocol) Set

func (*NullableCreateSecurityGroupRuleProtocol) UnmarshalJSON

func (v *NullableCreateSecurityGroupRuleProtocol) UnmarshalJSON(src []byte) error

func (*NullableCreateSecurityGroupRuleProtocol) Unset

type NullableCreateServerNetworking

type NullableCreateServerNetworking struct {
	// contains filtered or unexported fields
}

func (NullableCreateServerNetworking) Get

func (NullableCreateServerNetworking) IsSet

func (NullableCreateServerNetworking) MarshalJSON

func (v NullableCreateServerNetworking) MarshalJSON() ([]byte, error)

func (*NullableCreateServerNetworking) Set

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 (NullableCreateServerNetworkingWithNics) Get

func (NullableCreateServerNetworkingWithNics) IsSet

func (NullableCreateServerNetworkingWithNics) MarshalJSON

func (v NullableCreateServerNetworkingWithNics) MarshalJSON() ([]byte, error)

func (*NullableCreateServerNetworkingWithNics) Set

func (*NullableCreateServerNetworkingWithNics) UnmarshalJSON

func (v *NullableCreateServerNetworkingWithNics) UnmarshalJSON(src []byte) error

func (*NullableCreateServerNetworkingWithNics) Unset

type NullableCreateServerPayload

type NullableCreateServerPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateServerPayload

func NewNullableCreateServerPayload(val *CreateServerPayload) *NullableCreateServerPayload

func (NullableCreateServerPayload) Get

func (NullableCreateServerPayload) IsSet

func (NullableCreateServerPayload) MarshalJSON

func (v NullableCreateServerPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateServerPayload) Set

func (*NullableCreateServerPayload) UnmarshalJSON

func (v *NullableCreateServerPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateServerPayload) Unset

func (v *NullableCreateServerPayload) Unset()

type NullableCreateServerPayloadNetworking

type NullableCreateServerPayloadNetworking struct {
	// contains filtered or unexported fields
}

func (NullableCreateServerPayloadNetworking) Get

func (NullableCreateServerPayloadNetworking) IsSet

func (NullableCreateServerPayloadNetworking) MarshalJSON

func (v NullableCreateServerPayloadNetworking) MarshalJSON() ([]byte, error)

func (*NullableCreateServerPayloadNetworking) Set

func (*NullableCreateServerPayloadNetworking) UnmarshalJSON

func (v *NullableCreateServerPayloadNetworking) UnmarshalJSON(src []byte) error

func (*NullableCreateServerPayloadNetworking) Unset

type NullableCreateSnapshotPayload

type NullableCreateSnapshotPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateSnapshotPayload) Get

func (NullableCreateSnapshotPayload) IsSet

func (NullableCreateSnapshotPayload) MarshalJSON

func (v NullableCreateSnapshotPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateSnapshotPayload) Set

func (*NullableCreateSnapshotPayload) UnmarshalJSON

func (v *NullableCreateSnapshotPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateSnapshotPayload) Unset

func (v *NullableCreateSnapshotPayload) Unset()

type NullableCreateVolumePayload

type NullableCreateVolumePayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateVolumePayload

func NewNullableCreateVolumePayload(val *CreateVolumePayload) *NullableCreateVolumePayload

func (NullableCreateVolumePayload) Get

func (NullableCreateVolumePayload) IsSet

func (NullableCreateVolumePayload) MarshalJSON

func (v NullableCreateVolumePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateVolumePayload) Set

func (*NullableCreateVolumePayload) UnmarshalJSON

func (v *NullableCreateVolumePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateVolumePayload) Unset

func (v *NullableCreateVolumePayload) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetServerLog200Response

type NullableGetServerLog200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetServerLog200Response) Get

func (NullableGetServerLog200Response) IsSet

func (NullableGetServerLog200Response) MarshalJSON

func (v NullableGetServerLog200Response) MarshalJSON() ([]byte, error)

func (*NullableGetServerLog200Response) Set

func (*NullableGetServerLog200Response) UnmarshalJSON

func (v *NullableGetServerLog200Response) UnmarshalJSON(src []byte) error

func (*NullableGetServerLog200Response) Unset

type NullableICMPParameters

type NullableICMPParameters struct {
	// contains filtered or unexported fields
}

func NewNullableICMPParameters

func NewNullableICMPParameters(val *ICMPParameters) *NullableICMPParameters

func (NullableICMPParameters) Get

func (NullableICMPParameters) IsSet

func (v NullableICMPParameters) IsSet() bool

func (NullableICMPParameters) MarshalJSON

func (v NullableICMPParameters) MarshalJSON() ([]byte, error)

func (*NullableICMPParameters) Set

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 (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 (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 (NullableImageCreateResponse) IsSet

func (NullableImageCreateResponse) MarshalJSON

func (v NullableImageCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableImageCreateResponse) Set

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 (NullableImageListResponse) IsSet

func (v NullableImageListResponse) IsSet() bool

func (NullableImageListResponse) MarshalJSON

func (v NullableImageListResponse) MarshalJSON() ([]byte, error)

func (*NullableImageListResponse) Set

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 (NullableImageShareConsumer) IsSet

func (v NullableImageShareConsumer) IsSet() bool

func (NullableImageShareConsumer) MarshalJSON

func (v NullableImageShareConsumer) MarshalJSON() ([]byte, error)

func (*NullableImageShareConsumer) Set

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 (NullableKeyPairListResponse) IsSet

func (NullableKeyPairListResponse) MarshalJSON

func (v NullableKeyPairListResponse) MarshalJSON() ([]byte, error)

func (*NullableKeyPairListResponse) Set

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 (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 (NullableMachineTypeListResponse) Get

func (NullableMachineTypeListResponse) IsSet

func (NullableMachineTypeListResponse) MarshalJSON

func (v NullableMachineTypeListResponse) MarshalJSON() ([]byte, error)

func (*NullableMachineTypeListResponse) Set

func (*NullableMachineTypeListResponse) UnmarshalJSON

func (v *NullableMachineTypeListResponse) UnmarshalJSON(src []byte) error

func (*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 (NullableNICListResponse) IsSet

func (v NullableNICListResponse) IsSet() bool

func (NullableNICListResponse) MarshalJSON

func (v NullableNICListResponse) MarshalJSON() ([]byte, error)

func (*NullableNICListResponse) Set

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 (NullableNetworkArea) IsSet

func (v NullableNetworkArea) IsSet() bool

func (NullableNetworkArea) MarshalJSON

func (v NullableNetworkArea) MarshalJSON() ([]byte, error)

func (*NullableNetworkArea) Set

func (v *NullableNetworkArea) Set(val *NetworkArea)

func (*NullableNetworkArea) UnmarshalJSON

func (v *NullableNetworkArea) UnmarshalJSON(src []byte) error

func (*NullableNetworkArea) Unset

func (v *NullableNetworkArea) Unset()

type NullableNetworkAreaIPv4

type NullableNetworkAreaIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkAreaIPv4

func NewNullableNetworkAreaIPv4(val *NetworkAreaIPv4) *NullableNetworkAreaIPv4

func (NullableNetworkAreaIPv4) Get

func (NullableNetworkAreaIPv4) IsSet

func (v NullableNetworkAreaIPv4) IsSet() bool

func (NullableNetworkAreaIPv4) MarshalJSON

func (v NullableNetworkAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableNetworkAreaIPv4) Set

func (*NullableNetworkAreaIPv4) UnmarshalJSON

func (v *NullableNetworkAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableNetworkAreaIPv4) Unset

func (v *NullableNetworkAreaIPv4) Unset()

type NullableNetworkAreaListResponse

type NullableNetworkAreaListResponse struct {
	// contains filtered or unexported fields
}

func (NullableNetworkAreaListResponse) Get

func (NullableNetworkAreaListResponse) IsSet

func (NullableNetworkAreaListResponse) MarshalJSON

func (v NullableNetworkAreaListResponse) MarshalJSON() ([]byte, error)

func (*NullableNetworkAreaListResponse) Set

func (*NullableNetworkAreaListResponse) UnmarshalJSON

func (v *NullableNetworkAreaListResponse) UnmarshalJSON(src []byte) error

func (*NullableNetworkAreaListResponse) Unset

type NullableNetworkListResponse

type NullableNetworkListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkListResponse

func NewNullableNetworkListResponse(val *NetworkListResponse) *NullableNetworkListResponse

func (NullableNetworkListResponse) Get

func (NullableNetworkListResponse) IsSet

func (NullableNetworkListResponse) MarshalJSON

func (v NullableNetworkListResponse) MarshalJSON() ([]byte, error)

func (*NullableNetworkListResponse) Set

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 (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 (NullableNetworkRangeListResponse) Get

func (NullableNetworkRangeListResponse) IsSet

func (NullableNetworkRangeListResponse) MarshalJSON

func (v NullableNetworkRangeListResponse) MarshalJSON() ([]byte, error)

func (*NullableNetworkRangeListResponse) Set

func (*NullableNetworkRangeListResponse) UnmarshalJSON

func (v *NullableNetworkRangeListResponse) UnmarshalJSON(src []byte) error

func (*NullableNetworkRangeListResponse) Unset

type NullablePartialUpdateNetworkAreaPayload

type NullablePartialUpdateNetworkAreaPayload struct {
	// contains filtered or unexported fields
}

func (NullablePartialUpdateNetworkAreaPayload) Get

func (NullablePartialUpdateNetworkAreaPayload) IsSet

func (NullablePartialUpdateNetworkAreaPayload) MarshalJSON

func (v NullablePartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)

func (*NullablePartialUpdateNetworkAreaPayload) Set

func (*NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON

func (v *NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON(src []byte) error

func (*NullablePartialUpdateNetworkAreaPayload) Unset

type NullablePartialUpdateNetworkPayload

type NullablePartialUpdateNetworkPayload struct {
	// contains filtered or unexported fields
}

func (NullablePartialUpdateNetworkPayload) Get

func (NullablePartialUpdateNetworkPayload) IsSet

func (NullablePartialUpdateNetworkPayload) MarshalJSON

func (v NullablePartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)

func (*NullablePartialUpdateNetworkPayload) Set

func (*NullablePartialUpdateNetworkPayload) UnmarshalJSON

func (v *NullablePartialUpdateNetworkPayload) UnmarshalJSON(src []byte) error

func (*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 (NullableProjectListResponse) IsSet

func (NullableProjectListResponse) MarshalJSON

func (v NullableProjectListResponse) MarshalJSON() ([]byte, error)

func (*NullableProjectListResponse) Set

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 (NullablePublicIpListResponse) IsSet

func (NullablePublicIpListResponse) MarshalJSON

func (v NullablePublicIpListResponse) MarshalJSON() ([]byte, error)

func (*NullablePublicIpListResponse) Set

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 (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 (NullablePublicNetworkListResponse) Get

func (NullablePublicNetworkListResponse) IsSet

func (NullablePublicNetworkListResponse) MarshalJSON

func (v NullablePublicNetworkListResponse) MarshalJSON() ([]byte, error)

func (*NullablePublicNetworkListResponse) Set

func (*NullablePublicNetworkListResponse) UnmarshalJSON

func (v *NullablePublicNetworkListResponse) UnmarshalJSON(src []byte) error

func (*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 (NullableQuotaListResponse) IsSet

func (v NullableQuotaListResponse) IsSet() bool

func (NullableQuotaListResponse) MarshalJSON

func (v NullableQuotaListResponse) MarshalJSON() ([]byte, error)

func (*NullableQuotaListResponse) Set

func (*NullableQuotaListResponse) UnmarshalJSON

func (v *NullableQuotaListResponse) UnmarshalJSON(src []byte) error

func (*NullableQuotaListResponse) Unset

func (v *NullableQuotaListResponse) Unset()

type NullableRequest

type NullableRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRequest

func NewNullableRequest(val *Request) *NullableRequest

func (NullableRequest) Get

func (v NullableRequest) Get() *Request

func (NullableRequest) IsSet

func (v NullableRequest) IsSet() bool

func (NullableRequest) MarshalJSON

func (v NullableRequest) MarshalJSON() ([]byte, error)

func (*NullableRequest) Set

func (v *NullableRequest) Set(val *Request)

func (*NullableRequest) UnmarshalJSON

func (v *NullableRequest) UnmarshalJSON(src []byte) error

func (*NullableRequest) Unset

func (v *NullableRequest) Unset()

type NullableRequestResource

type NullableRequestResource struct {
	// contains filtered or unexported fields
}

func NewNullableRequestResource

func NewNullableRequestResource(val *RequestResource) *NullableRequestResource

func (NullableRequestResource) Get

func (NullableRequestResource) IsSet

func (v NullableRequestResource) IsSet() bool

func (NullableRequestResource) MarshalJSON

func (v NullableRequestResource) MarshalJSON() ([]byte, error)

func (*NullableRequestResource) Set

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 (NullableRescueServerPayload) IsSet

func (NullableRescueServerPayload) MarshalJSON

func (v NullableRescueServerPayload) MarshalJSON() ([]byte, error)

func (*NullableRescueServerPayload) Set

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 (NullableResizeServerPayload) IsSet

func (NullableResizeServerPayload) MarshalJSON

func (v NullableResizeServerPayload) MarshalJSON() ([]byte, error)

func (*NullableResizeServerPayload) Set

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 (NullableResizeVolumePayload) IsSet

func (NullableResizeVolumePayload) MarshalJSON

func (v NullableResizeVolumePayload) MarshalJSON() ([]byte, error)

func (*NullableResizeVolumePayload) Set

func (*NullableResizeVolumePayload) UnmarshalJSON

func (v *NullableResizeVolumePayload) UnmarshalJSON(src []byte) error

func (*NullableResizeVolumePayload) Unset

func (v *NullableResizeVolumePayload) Unset()

type NullableRoute

type NullableRoute struct {
	// contains filtered or unexported fields
}

func NewNullableRoute

func NewNullableRoute(val *Route) *NullableRoute

func (NullableRoute) Get

func (v NullableRoute) Get() *Route

func (NullableRoute) IsSet

func (v NullableRoute) IsSet() bool

func (NullableRoute) MarshalJSON

func (v NullableRoute) MarshalJSON() ([]byte, error)

func (*NullableRoute) Set

func (v *NullableRoute) Set(val *Route)

func (*NullableRoute) UnmarshalJSON

func (v *NullableRoute) UnmarshalJSON(src []byte) error

func (*NullableRoute) Unset

func (v *NullableRoute) Unset()

type NullableRouteListResponse

type NullableRouteListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRouteListResponse

func NewNullableRouteListResponse(val *RouteListResponse) *NullableRouteListResponse

func (NullableRouteListResponse) Get

func (NullableRouteListResponse) IsSet

func (v NullableRouteListResponse) IsSet() bool

func (NullableRouteListResponse) MarshalJSON

func (v NullableRouteListResponse) MarshalJSON() ([]byte, error)

func (*NullableRouteListResponse) Set

func (*NullableRouteListResponse) UnmarshalJSON

func (v *NullableRouteListResponse) UnmarshalJSON(src []byte) error

func (*NullableRouteListResponse) Unset

func (v *NullableRouteListResponse) Unset()

type NullableSecurityGroup

type NullableSecurityGroup struct {
	// contains filtered or unexported fields
}

func NewNullableSecurityGroup

func NewNullableSecurityGroup(val *SecurityGroup) *NullableSecurityGroup

func (NullableSecurityGroup) Get

func (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 (NullableSecurityGroupListResponse) Get

func (NullableSecurityGroupListResponse) IsSet

func (NullableSecurityGroupListResponse) MarshalJSON

func (v NullableSecurityGroupListResponse) MarshalJSON() ([]byte, error)

func (*NullableSecurityGroupListResponse) Set

func (*NullableSecurityGroupListResponse) UnmarshalJSON

func (v *NullableSecurityGroupListResponse) UnmarshalJSON(src []byte) error

func (*NullableSecurityGroupListResponse) Unset

type NullableSecurityGroupRule

type NullableSecurityGroupRule struct {
	// contains filtered or unexported fields
}

func NewNullableSecurityGroupRule

func NewNullableSecurityGroupRule(val *SecurityGroupRule) *NullableSecurityGroupRule

func (NullableSecurityGroupRule) Get

func (NullableSecurityGroupRule) IsSet

func (v NullableSecurityGroupRule) IsSet() bool

func (NullableSecurityGroupRule) MarshalJSON

func (v NullableSecurityGroupRule) MarshalJSON() ([]byte, error)

func (*NullableSecurityGroupRule) Set

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 (NullableSecurityGroupRuleListResponse) Get

func (NullableSecurityGroupRuleListResponse) IsSet

func (NullableSecurityGroupRuleListResponse) MarshalJSON

func (v NullableSecurityGroupRuleListResponse) MarshalJSON() ([]byte, error)

func (*NullableSecurityGroupRuleListResponse) Set

func (*NullableSecurityGroupRuleListResponse) UnmarshalJSON

func (v *NullableSecurityGroupRuleListResponse) UnmarshalJSON(src []byte) error

func (*NullableSecurityGroupRuleListResponse) Unset

type NullableSecurityGroupRuleProtocol

type NullableSecurityGroupRuleProtocol struct {
	// contains filtered or unexported fields
}

func (NullableSecurityGroupRuleProtocol) Get

func (NullableSecurityGroupRuleProtocol) IsSet

func (NullableSecurityGroupRuleProtocol) MarshalJSON

func (v NullableSecurityGroupRuleProtocol) MarshalJSON() ([]byte, error)

func (*NullableSecurityGroupRuleProtocol) Set

func (*NullableSecurityGroupRuleProtocol) UnmarshalJSON

func (v *NullableSecurityGroupRuleProtocol) UnmarshalJSON(src []byte) error

func (*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 (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 (NullableServerConsoleUrl) IsSet

func (v NullableServerConsoleUrl) IsSet() bool

func (NullableServerConsoleUrl) MarshalJSON

func (v NullableServerConsoleUrl) MarshalJSON() ([]byte, error)

func (*NullableServerConsoleUrl) Set

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 (NullableServerListResponse) IsSet

func (v NullableServerListResponse) IsSet() bool

func (NullableServerListResponse) MarshalJSON

func (v NullableServerListResponse) MarshalJSON() ([]byte, error)

func (*NullableServerListResponse) Set

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 (NullableServerMaintenance) IsSet

func (v NullableServerMaintenance) IsSet() bool

func (NullableServerMaintenance) MarshalJSON

func (v NullableServerMaintenance) MarshalJSON() ([]byte, error)

func (*NullableServerMaintenance) Set

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 (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 (NullableServerNetworking) IsSet

func (v NullableServerNetworking) IsSet() bool

func (NullableServerNetworking) MarshalJSON

func (v NullableServerNetworking) MarshalJSON() ([]byte, error)

func (*NullableServerNetworking) Set

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 (NullableServiceAccountMailListResponse) Get

func (NullableServiceAccountMailListResponse) IsSet

func (NullableServiceAccountMailListResponse) MarshalJSON

func (v NullableServiceAccountMailListResponse) MarshalJSON() ([]byte, error)

func (*NullableServiceAccountMailListResponse) Set

func (*NullableServiceAccountMailListResponse) UnmarshalJSON

func (v *NullableServiceAccountMailListResponse) UnmarshalJSON(src []byte) error

func (*NullableServiceAccountMailListResponse) Unset

type NullableSetImageSharePayload

type NullableSetImageSharePayload struct {
	// contains filtered or unexported fields
}

func NewNullableSetImageSharePayload

func NewNullableSetImageSharePayload(val *SetImageSharePayload) *NullableSetImageSharePayload

func (NullableSetImageSharePayload) Get

func (NullableSetImageSharePayload) IsSet

func (NullableSetImageSharePayload) MarshalJSON

func (v NullableSetImageSharePayload) MarshalJSON() ([]byte, error)

func (*NullableSetImageSharePayload) Set

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 (NullableSnapshotListResponse) IsSet

func (NullableSnapshotListResponse) MarshalJSON

func (v NullableSnapshotListResponse) MarshalJSON() ([]byte, error)

func (*NullableSnapshotListResponse) Set

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 (NullableStaticAreaID) IsSet

func (v NullableStaticAreaID) IsSet() bool

func (NullableStaticAreaID) MarshalJSON

func (v NullableStaticAreaID) MarshalJSON() ([]byte, error)

func (*NullableStaticAreaID) Set

func (v *NullableStaticAreaID) Set(val *StaticAreaID)

func (*NullableStaticAreaID) UnmarshalJSON

func (v *NullableStaticAreaID) UnmarshalJSON(src []byte) error

func (*NullableStaticAreaID) Unset

func (v *NullableStaticAreaID) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateAreaAddressFamily

type NullableUpdateAreaAddressFamily struct {
	// contains filtered or unexported fields
}

func (NullableUpdateAreaAddressFamily) Get

func (NullableUpdateAreaAddressFamily) IsSet

func (NullableUpdateAreaAddressFamily) MarshalJSON

func (v NullableUpdateAreaAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableUpdateAreaAddressFamily) Set

func (*NullableUpdateAreaAddressFamily) UnmarshalJSON

func (v *NullableUpdateAreaAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableUpdateAreaAddressFamily) Unset

type NullableUpdateAreaIPv4

type NullableUpdateAreaIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateAreaIPv4

func NewNullableUpdateAreaIPv4(val *UpdateAreaIPv4) *NullableUpdateAreaIPv4

func (NullableUpdateAreaIPv4) Get

func (NullableUpdateAreaIPv4) IsSet

func (v NullableUpdateAreaIPv4) IsSet() bool

func (NullableUpdateAreaIPv4) MarshalJSON

func (v NullableUpdateAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableUpdateAreaIPv4) Set

func (*NullableUpdateAreaIPv4) UnmarshalJSON

func (v *NullableUpdateAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableUpdateAreaIPv4) Unset

func (v *NullableUpdateAreaIPv4) Unset()

type NullableUpdateAttachedVolumePayload

type NullableUpdateAttachedVolumePayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateAttachedVolumePayload) Get

func (NullableUpdateAttachedVolumePayload) IsSet

func (NullableUpdateAttachedVolumePayload) MarshalJSON

func (v NullableUpdateAttachedVolumePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateAttachedVolumePayload) Set

func (*NullableUpdateAttachedVolumePayload) UnmarshalJSON

func (v *NullableUpdateAttachedVolumePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateAttachedVolumePayload) Unset

type NullableUpdateBackupPayload

type NullableUpdateBackupPayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateBackupPayload

func NewNullableUpdateBackupPayload(val *UpdateBackupPayload) *NullableUpdateBackupPayload

func (NullableUpdateBackupPayload) Get

func (NullableUpdateBackupPayload) IsSet

func (NullableUpdateBackupPayload) MarshalJSON

func (v NullableUpdateBackupPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateBackupPayload) Set

func (*NullableUpdateBackupPayload) UnmarshalJSON

func (v *NullableUpdateBackupPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateBackupPayload) Unset

func (v *NullableUpdateBackupPayload) Unset()

type NullableUpdateImagePayload

type NullableUpdateImagePayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateImagePayload

func NewNullableUpdateImagePayload(val *UpdateImagePayload) *NullableUpdateImagePayload

func (NullableUpdateImagePayload) Get

func (NullableUpdateImagePayload) IsSet

func (v NullableUpdateImagePayload) IsSet() bool

func (NullableUpdateImagePayload) MarshalJSON

func (v NullableUpdateImagePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateImagePayload) Set

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 (NullableUpdateImageSharePayload) Get

func (NullableUpdateImageSharePayload) IsSet

func (NullableUpdateImageSharePayload) MarshalJSON

func (v NullableUpdateImageSharePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateImageSharePayload) Set

func (*NullableUpdateImageSharePayload) UnmarshalJSON

func (v *NullableUpdateImageSharePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateImageSharePayload) Unset

type NullableUpdateKeyPairPayload

type NullableUpdateKeyPairPayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateKeyPairPayload

func NewNullableUpdateKeyPairPayload(val *UpdateKeyPairPayload) *NullableUpdateKeyPairPayload

func (NullableUpdateKeyPairPayload) Get

func (NullableUpdateKeyPairPayload) IsSet

func (NullableUpdateKeyPairPayload) MarshalJSON

func (v NullableUpdateKeyPairPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateKeyPairPayload) Set

func (*NullableUpdateKeyPairPayload) UnmarshalJSON

func (v *NullableUpdateKeyPairPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateKeyPairPayload) Unset

func (v *NullableUpdateKeyPairPayload) Unset()

type NullableUpdateNetworkAddressFamily

type NullableUpdateNetworkAddressFamily struct {
	// contains filtered or unexported fields
}

func (NullableUpdateNetworkAddressFamily) Get

func (NullableUpdateNetworkAddressFamily) IsSet

func (NullableUpdateNetworkAddressFamily) MarshalJSON

func (v NullableUpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkAddressFamily) Set

func (*NullableUpdateNetworkAddressFamily) UnmarshalJSON

func (v *NullableUpdateNetworkAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableUpdateNetworkAddressFamily) Unset

type NullableUpdateNetworkAreaRoutePayload

type NullableUpdateNetworkAreaRoutePayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateNetworkAreaRoutePayload) Get

func (NullableUpdateNetworkAreaRoutePayload) IsSet

func (NullableUpdateNetworkAreaRoutePayload) MarshalJSON

func (v NullableUpdateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkAreaRoutePayload) Set

func (*NullableUpdateNetworkAreaRoutePayload) UnmarshalJSON

func (v *NullableUpdateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateNetworkAreaRoutePayload) Unset

type NullableUpdateNetworkIPv4Body

type NullableUpdateNetworkIPv4Body struct {
	// contains filtered or unexported fields
}

func (NullableUpdateNetworkIPv4Body) Get

func (NullableUpdateNetworkIPv4Body) IsSet

func (NullableUpdateNetworkIPv4Body) MarshalJSON

func (v NullableUpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkIPv4Body) Set

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 (NullableUpdateNetworkIPv6Body) Get

func (NullableUpdateNetworkIPv6Body) IsSet

func (NullableUpdateNetworkIPv6Body) MarshalJSON

func (v NullableUpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkIPv6Body) Set

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 (NullableUpdateNicPayload) IsSet

func (v NullableUpdateNicPayload) IsSet() bool

func (NullableUpdateNicPayload) MarshalJSON

func (v NullableUpdateNicPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateNicPayload) Set

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 (NullableUpdatePublicIPPayload) Get

func (NullableUpdatePublicIPPayload) IsSet

func (NullableUpdatePublicIPPayload) MarshalJSON

func (v NullableUpdatePublicIPPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdatePublicIPPayload) Set

func (*NullableUpdatePublicIPPayload) UnmarshalJSON

func (v *NullableUpdatePublicIPPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdatePublicIPPayload) Unset

func (v *NullableUpdatePublicIPPayload) Unset()

type NullableUpdateSecurityGroupPayload

type NullableUpdateSecurityGroupPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateSecurityGroupPayload) Get

func (NullableUpdateSecurityGroupPayload) IsSet

func (NullableUpdateSecurityGroupPayload) MarshalJSON

func (v NullableUpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateSecurityGroupPayload) Set

func (*NullableUpdateSecurityGroupPayload) UnmarshalJSON

func (v *NullableUpdateSecurityGroupPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateSecurityGroupPayload) Unset

type NullableUpdateServerPayload

type NullableUpdateServerPayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateServerPayload

func NewNullableUpdateServerPayload(val *UpdateServerPayload) *NullableUpdateServerPayload

func (NullableUpdateServerPayload) Get

func (NullableUpdateServerPayload) IsSet

func (NullableUpdateServerPayload) MarshalJSON

func (v NullableUpdateServerPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateServerPayload) Set

func (*NullableUpdateServerPayload) UnmarshalJSON

func (v *NullableUpdateServerPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateServerPayload) Unset

func (v *NullableUpdateServerPayload) Unset()

type NullableUpdateSnapshotPayload

type NullableUpdateSnapshotPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateSnapshotPayload) Get

func (NullableUpdateSnapshotPayload) IsSet

func (NullableUpdateSnapshotPayload) MarshalJSON

func (v NullableUpdateSnapshotPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateSnapshotPayload) Set

func (*NullableUpdateSnapshotPayload) UnmarshalJSON

func (v *NullableUpdateSnapshotPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateSnapshotPayload) Unset

func (v *NullableUpdateSnapshotPayload) Unset()

type NullableUpdateVolumePayload

type NullableUpdateVolumePayload struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateVolumePayload

func NewNullableUpdateVolumePayload(val *UpdateVolumePayload) *NullableUpdateVolumePayload

func (NullableUpdateVolumePayload) Get

func (NullableUpdateVolumePayload) IsSet

func (NullableUpdateVolumePayload) MarshalJSON

func (v NullableUpdateVolumePayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateVolumePayload) Set

func (*NullableUpdateVolumePayload) UnmarshalJSON

func (v *NullableUpdateVolumePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateVolumePayload) Unset

func (v *NullableUpdateVolumePayload) Unset()

type NullableVolume

type NullableVolume struct {
	// contains filtered or unexported fields
}

func NewNullableVolume

func NewNullableVolume(val *Volume) *NullableVolume

func (NullableVolume) Get

func (v NullableVolume) Get() *Volume

func (NullableVolume) IsSet

func (v NullableVolume) IsSet() bool

func (NullableVolume) MarshalJSON

func (v NullableVolume) MarshalJSON() ([]byte, error)

func (*NullableVolume) Set

func (v *NullableVolume) Set(val *Volume)

func (*NullableVolume) UnmarshalJSON

func (v *NullableVolume) UnmarshalJSON(src []byte) error

func (*NullableVolume) Unset

func (v *NullableVolume) Unset()

type NullableVolumeAttachment

type NullableVolumeAttachment struct {
	// contains filtered or unexported fields
}

func NewNullableVolumeAttachment

func NewNullableVolumeAttachment(val *VolumeAttachment) *NullableVolumeAttachment

func (NullableVolumeAttachment) Get

func (NullableVolumeAttachment) IsSet

func (v NullableVolumeAttachment) IsSet() bool

func (NullableVolumeAttachment) MarshalJSON

func (v NullableVolumeAttachment) MarshalJSON() ([]byte, error)

func (*NullableVolumeAttachment) Set

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 (NullableVolumeAttachmentListResponse) Get

func (NullableVolumeAttachmentListResponse) IsSet

func (NullableVolumeAttachmentListResponse) MarshalJSON

func (v NullableVolumeAttachmentListResponse) MarshalJSON() ([]byte, error)

func (*NullableVolumeAttachmentListResponse) Set

func (*NullableVolumeAttachmentListResponse) UnmarshalJSON

func (v *NullableVolumeAttachmentListResponse) UnmarshalJSON(src []byte) error

func (*NullableVolumeAttachmentListResponse) Unset

type NullableVolumeEncryptionParameter

type NullableVolumeEncryptionParameter struct {
	// contains filtered or unexported fields
}

func (NullableVolumeEncryptionParameter) Get

func (NullableVolumeEncryptionParameter) IsSet

func (NullableVolumeEncryptionParameter) MarshalJSON

func (v NullableVolumeEncryptionParameter) MarshalJSON() ([]byte, error)

func (*NullableVolumeEncryptionParameter) Set

func (*NullableVolumeEncryptionParameter) UnmarshalJSON

func (v *NullableVolumeEncryptionParameter) UnmarshalJSON(src []byte) error

func (*NullableVolumeEncryptionParameter) Unset

type NullableVolumeListResponse

type NullableVolumeListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableVolumeListResponse

func NewNullableVolumeListResponse(val *VolumeListResponse) *NullableVolumeListResponse

func (NullableVolumeListResponse) Get

func (NullableVolumeListResponse) IsSet

func (v NullableVolumeListResponse) IsSet() bool

func (NullableVolumeListResponse) MarshalJSON

func (v NullableVolumeListResponse) MarshalJSON() ([]byte, error)

func (*NullableVolumeListResponse) Set

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 (NullableVolumePerformanceClass) Get

func (NullableVolumePerformanceClass) IsSet

func (NullableVolumePerformanceClass) MarshalJSON

func (v NullableVolumePerformanceClass) MarshalJSON() ([]byte, error)

func (*NullableVolumePerformanceClass) Set

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 (NullableVolumePerformanceClassListResponse) Get

func (NullableVolumePerformanceClassListResponse) IsSet

func (NullableVolumePerformanceClassListResponse) MarshalJSON

func (*NullableVolumePerformanceClassListResponse) Set

func (*NullableVolumePerformanceClassListResponse) UnmarshalJSON

func (v *NullableVolumePerformanceClassListResponse) UnmarshalJSON(src []byte) error

func (*NullableVolumePerformanceClassListResponse) Unset

type NullableVolumeSource

type NullableVolumeSource struct {
	// contains filtered or unexported fields
}

func NewNullableVolumeSource

func NewNullableVolumeSource(val *VolumeSource) *NullableVolumeSource

func (NullableVolumeSource) Get

func (NullableVolumeSource) IsSet

func (v NullableVolumeSource) IsSet() bool

func (NullableVolumeSource) MarshalJSON

func (v NullableVolumeSource) MarshalJSON() ([]byte, error)

func (*NullableVolumeSource) Set

func (v *NullableVolumeSource) Set(val *VolumeSource)

func (*NullableVolumeSource) UnmarshalJSON

func (v *NullableVolumeSource) UnmarshalJSON(src []byte) error

func (*NullableVolumeSource) Unset

func (v *NullableVolumeSource) Unset()

type PartialUpdateNetworkAreaPayload

type PartialUpdateNetworkAreaPayload struct {
	AddressFamily *UpdateAreaAddressFamily `json:"addressFamily,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}

PartialUpdateNetworkAreaPayload struct for PartialUpdateNetworkAreaPayload

func NewPartialUpdateNetworkAreaPayload

func NewPartialUpdateNetworkAreaPayload() *PartialUpdateNetworkAreaPayload

NewPartialUpdateNetworkAreaPayload instantiates a new PartialUpdateNetworkAreaPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateNetworkAreaPayloadWithDefaults

func NewPartialUpdateNetworkAreaPayloadWithDefaults() *PartialUpdateNetworkAreaPayload

NewPartialUpdateNetworkAreaPayloadWithDefaults instantiates a new PartialUpdateNetworkAreaPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateNetworkAreaPayload) GetAddressFamily

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*PartialUpdateNetworkAreaPayload) GetAddressFamilyOk

func (o *PartialUpdateNetworkAreaPayload) GetAddressFamilyOk() (*UpdateAreaAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkAreaPayload) GetLabels

func (o *PartialUpdateNetworkAreaPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateNetworkAreaPayload) GetLabelsOk

func (o *PartialUpdateNetworkAreaPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkAreaPayload) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateNetworkAreaPayload) GetNameOk

func (o *PartialUpdateNetworkAreaPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkAreaPayload) HasAddressFamily

func (o *PartialUpdateNetworkAreaPayload) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*PartialUpdateNetworkAreaPayload) HasLabels

func (o *PartialUpdateNetworkAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateNetworkAreaPayload) HasName

HasName returns a boolean if a field has been set.

func (PartialUpdateNetworkAreaPayload) MarshalJSON

func (o PartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)

func (*PartialUpdateNetworkAreaPayload) SetAddressFamily

SetAddressFamily gets a reference to the given UpdateAreaAddressFamily and assigns it to the AddressFamily field.

func (*PartialUpdateNetworkAreaPayload) SetLabels

func (o *PartialUpdateNetworkAreaPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*PartialUpdateNetworkAreaPayload) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (PartialUpdateNetworkAreaPayload) ToMap

func (o PartialUpdateNetworkAreaPayload) ToMap() (map[string]interface{}, error)

type PartialUpdateNetworkPayload

type PartialUpdateNetworkPayload struct {
	AddressFamily *UpdateNetworkAddressFamily `json:"addressFamily,omitempty"`
	// Enable or disable DHCP for a network.
	Dhcp *bool `json:"dhcp,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
}

PartialUpdateNetworkPayload Object that represents the request body for a network update.

func NewPartialUpdateNetworkPayload

func NewPartialUpdateNetworkPayload() *PartialUpdateNetworkPayload

NewPartialUpdateNetworkPayload instantiates a new PartialUpdateNetworkPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateNetworkPayloadWithDefaults

func NewPartialUpdateNetworkPayloadWithDefaults() *PartialUpdateNetworkPayload

NewPartialUpdateNetworkPayloadWithDefaults instantiates a new PartialUpdateNetworkPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateNetworkPayload) GetAddressFamily

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetAddressFamilyOk

func (o *PartialUpdateNetworkPayload) GetAddressFamilyOk() (*UpdateNetworkAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetDhcp

func (o *PartialUpdateNetworkPayload) GetDhcp() bool

GetDhcp returns the Dhcp field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetDhcpOk

func (o *PartialUpdateNetworkPayload) GetDhcpOk() (*bool, bool)

GetDhcpOk returns a tuple with the Dhcp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetLabels

func (o *PartialUpdateNetworkPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetLabelsOk

func (o *PartialUpdateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetName

func (o *PartialUpdateNetworkPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetNameOk

func (o *PartialUpdateNetworkPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetRouted

func (o *PartialUpdateNetworkPayload) GetRouted() bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetRoutedOk

func (o *PartialUpdateNetworkPayload) GetRoutedOk() (*bool, bool)

GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) HasAddressFamily

func (o *PartialUpdateNetworkPayload) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasDhcp

func (o *PartialUpdateNetworkPayload) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasLabels

func (o *PartialUpdateNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasName

func (o *PartialUpdateNetworkPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasRouted

func (o *PartialUpdateNetworkPayload) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (PartialUpdateNetworkPayload) MarshalJSON

func (o PartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)

func (*PartialUpdateNetworkPayload) SetAddressFamily

SetAddressFamily gets a reference to the given UpdateNetworkAddressFamily and assigns it to the AddressFamily field.

func (*PartialUpdateNetworkPayload) SetDhcp

func (o *PartialUpdateNetworkPayload) SetDhcp(v bool)

SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.

func (*PartialUpdateNetworkPayload) SetLabels

func (o *PartialUpdateNetworkPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*PartialUpdateNetworkPayload) SetName

func (o *PartialUpdateNetworkPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialUpdateNetworkPayload) SetRouted

func (o *PartialUpdateNetworkPayload) SetRouted(v bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (PartialUpdateNetworkPayload) ToMap

func (o PartialUpdateNetworkPayload) ToMap() (map[string]interface{}, error)

type PortRange

type PortRange struct {
	// The maximum port number. Should be greater or equal to the minimum.
	Max int64 `json:"max"`
	// The minimum port number. Should be less or equal to the maximum.
	Min int64 `json:"min"`
}

PortRange Object that represents a range of ports.

func NewPortRange

func NewPortRange(max int64, min int64) *PortRange

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) GetMax

func (o *PortRange) GetMax() int64

GetMax returns the Max field value

func (*PortRange) GetMaxOk

func (o *PortRange) GetMaxOk() (*int64, bool)

GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.

func (*PortRange) GetMin

func (o *PortRange) GetMin() int64

GetMin returns the Min field value

func (*PortRange) GetMinOk

func (o *PortRange) GetMinOk() (*int64, bool)

GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.

func (PortRange) MarshalJSON

func (o PortRange) MarshalJSON() ([]byte, error)

func (*PortRange) SetMax

func (o *PortRange) SetMax(v int64)

SetMax sets field value

func (*PortRange) SetMin

func (o *PortRange) SetMin(v int64)

SetMin sets field value

func (PortRange) ToMap

func (o PortRange) ToMap() (map[string]interface{}, error)

func (*PortRange) UnmarshalJSON

func (o *PortRange) UnmarshalJSON(data []byte) (err error)

type Project

type Project struct {
	AreaId AreaId `json:"areaId"`
	// Date-time when resource was created.
	CreatedAt      *time.Time `json:"createdAt,omitempty"`
	InternetAccess *bool      `json:"internetAccess,omitempty"`
	// The identifier (ID) of the OpenStack project in the main region eu01.
	OpenstackProjectId *string `json:"openstackProjectId,omitempty" validate:"regexp=^[0-9a-f]{32}$"`
	// Universally Unique Identifier (UUID).
	ProjectId string `json:"projectId" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	State string `json:"state"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Project Object that represents a STACKIT project.

func NewProject

func NewProject(areaId AreaId, projectId string, state string) *Project

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) GetAreaId

func (o *Project) GetAreaId() AreaId

GetAreaId returns the AreaId field value

func (*Project) GetAreaIdOk

func (o *Project) GetAreaIdOk() (*AreaId, bool)

GetAreaIdOk returns a tuple with the AreaId field value and a boolean to check if the value has been set.

func (*Project) GetCreatedAt

func (o *Project) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Project) GetCreatedAtOk

func (o *Project) 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 (*Project) GetInternetAccess

func (o *Project) GetInternetAccess() bool

GetInternetAccess returns the InternetAccess field value if set, zero value otherwise.

func (*Project) GetInternetAccessOk

func (o *Project) GetInternetAccessOk() (*bool, bool)

GetInternetAccessOk returns a tuple with the InternetAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetOpenstackProjectId

func (o *Project) GetOpenstackProjectId() string

GetOpenstackProjectId returns the OpenstackProjectId field value if set, zero value otherwise.

func (*Project) GetOpenstackProjectIdOk

func (o *Project) GetOpenstackProjectIdOk() (*string, bool)

GetOpenstackProjectIdOk returns a tuple with the OpenstackProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetProjectId

func (o *Project) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*Project) GetProjectIdOk

func (o *Project) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*Project) GetState

func (o *Project) GetState() string

GetState returns the State field value

func (*Project) GetStateOk

func (o *Project) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Project) GetUpdatedAt

func (o *Project) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Project) GetUpdatedAtOk

func (o *Project) 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 (*Project) HasCreatedAt

func (o *Project) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Project) HasInternetAccess

func (o *Project) HasInternetAccess() bool

HasInternetAccess returns a boolean if a field has been set.

func (*Project) HasOpenstackProjectId

func (o *Project) HasOpenstackProjectId() bool

HasOpenstackProjectId returns a boolean if a field has been set.

func (*Project) HasUpdatedAt

func (o *Project) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Project) MarshalJSON

func (o Project) MarshalJSON() ([]byte, error)

func (*Project) SetAreaId

func (o *Project) SetAreaId(v AreaId)

SetAreaId sets field value

func (*Project) SetCreatedAt

func (o *Project) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Project) SetInternetAccess

func (o *Project) SetInternetAccess(v bool)

SetInternetAccess gets a reference to the given bool and assigns it to the InternetAccess field.

func (*Project) SetOpenstackProjectId

func (o *Project) SetOpenstackProjectId(v string)

SetOpenstackProjectId gets a reference to the given string and assigns it to the OpenstackProjectId field.

func (*Project) SetProjectId

func (o *Project) SetProjectId(v string)

SetProjectId sets field value

func (*Project) SetState

func (o *Project) SetState(v string)

SetState sets field value

func (*Project) SetUpdatedAt

func (o *Project) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Project) ToMap

func (o Project) ToMap() (map[string]interface{}, error)

func (*Project) UnmarshalJSON

func (o *Project) UnmarshalJSON(data []byte) (err error)

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) GetName

func (o *Protocol) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Protocol) GetNameOk

func (o *Protocol) 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 (*Protocol) GetNumber

func (o *Protocol) GetNumber() int64

GetNumber returns the Number field value if set, zero value otherwise.

func (*Protocol) GetNumberOk

func (o *Protocol) GetNumberOk() (*int64, bool)

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) HasName

func (o *Protocol) HasName() bool

HasName returns a boolean if a field has been set.

func (*Protocol) HasNumber

func (o *Protocol) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (Protocol) MarshalJSON

func (o Protocol) MarshalJSON() ([]byte, error)

func (*Protocol) SetName

func (o *Protocol) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Protocol) SetNumber

func (o *Protocol) SetNumber(v int64)

SetNumber gets a reference to the given int64 and assigns it to the Number field.

func (Protocol) ToMap

func (o Protocol) ToMap() (map[string]interface{}, error)

type PublicIp

type PublicIp struct {
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents an IP address.
	Ip *string `` /* 1381-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Associate the public IP with a network interface (ID).
	NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

PublicIp Object that represents a public IP.

func NewPublicIp

func NewPublicIp() *PublicIp

NewPublicIp instantiates a new PublicIp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicIpWithDefaults

func NewPublicIpWithDefaults() *PublicIp

NewPublicIpWithDefaults instantiates a new PublicIp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicIp) GetId

func (o *PublicIp) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PublicIp) GetIdOk

func (o *PublicIp) 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 (*PublicIp) GetIp

func (o *PublicIp) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*PublicIp) GetIpOk

func (o *PublicIp) 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 (*PublicIp) GetLabels

func (o *PublicIp) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PublicIp) GetLabelsOk

func (o *PublicIp) 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 (*PublicIp) GetNetworkInterface

func (o *PublicIp) GetNetworkInterface() string

GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PublicIp) GetNetworkInterfaceOk

func (o *PublicIp) 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 (*PublicIp) HasId

func (o *PublicIp) HasId() bool

HasId returns a boolean if a field has been set.

func (*PublicIp) HasIp

func (o *PublicIp) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*PublicIp) HasLabels

func (o *PublicIp) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PublicIp) HasNetworkInterface

func (o *PublicIp) HasNetworkInterface() bool

HasNetworkInterface returns a boolean if a field has been set.

func (PublicIp) MarshalJSON

func (o PublicIp) MarshalJSON() ([]byte, error)

func (*PublicIp) SetId

func (o *PublicIp) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PublicIp) SetIp

func (o *PublicIp) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*PublicIp) SetLabels

func (o *PublicIp) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*PublicIp) SetNetworkInterface

func (o *PublicIp) SetNetworkInterface(v string)

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) ToMap

func (o PublicIp) ToMap() (map[string]interface{}, error)

func (*PublicIp) UnsetNetworkInterface

func (o *PublicIp) UnsetNetworkInterface()

UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil

type PublicIpListResponse

type PublicIpListResponse struct {
	// A list of public IPs.
	Items []PublicIp `json:"items"`
}

PublicIpListResponse Public IP list response.

func NewPublicIpListResponse

func NewPublicIpListResponse(items []PublicIp) *PublicIpListResponse

NewPublicIpListResponse instantiates a new PublicIpListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicIpListResponseWithDefaults

func NewPublicIpListResponseWithDefaults() *PublicIpListResponse

NewPublicIpListResponseWithDefaults instantiates a new PublicIpListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicIpListResponse) GetItems

func (o *PublicIpListResponse) GetItems() []PublicIp

GetItems returns the Items field value

func (*PublicIpListResponse) GetItemsOk

func (o *PublicIpListResponse) GetItemsOk() ([]PublicIp, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (PublicIpListResponse) MarshalJSON

func (o PublicIpListResponse) MarshalJSON() ([]byte, error)

func (*PublicIpListResponse) SetItems

func (o *PublicIpListResponse) SetItems(v []PublicIp)

SetItems sets field value

func (PublicIpListResponse) ToMap

func (o PublicIpListResponse) ToMap() (map[string]interface{}, error)

func (*PublicIpListResponse) UnmarshalJSON

func (o *PublicIpListResponse) UnmarshalJSON(data []byte) (err error)

type PublicNetwork

type PublicNetwork struct {
	// Classless Inter-Domain Routing (CIDR).
	Cidr string `` /* 866-byte string literal not displayed */
}

PublicNetwork Public network.

func NewPublicNetwork

func NewPublicNetwork(cidr string) *PublicNetwork

NewPublicNetwork instantiates a new PublicNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicNetworkWithDefaults

func NewPublicNetworkWithDefaults() *PublicNetwork

NewPublicNetworkWithDefaults instantiates a new PublicNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicNetwork) GetCidr

func (o *PublicNetwork) GetCidr() string

GetCidr returns the Cidr field value

func (*PublicNetwork) GetCidrOk

func (o *PublicNetwork) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (PublicNetwork) MarshalJSON

func (o PublicNetwork) MarshalJSON() ([]byte, error)

func (*PublicNetwork) SetCidr

func (o *PublicNetwork) SetCidr(v string)

SetCidr 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

type Quota struct {
	Limit int64 `json:"limit"`
	Usage int64 `json:"usage"`
}

Quota Object that represents a single resource quota.

func NewQuota

func NewQuota(limit int64, usage int64) *Quota

NewQuota instantiates a new Quota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuotaWithDefaults

func NewQuotaWithDefaults() *Quota

NewQuotaWithDefaults instantiates a new Quota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Quota) GetLimit

func (o *Quota) GetLimit() int64

GetLimit returns the Limit field value

func (*Quota) GetLimitOk

func (o *Quota) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (*Quota) GetUsage

func (o *Quota) GetUsage() int64

GetUsage returns the Usage field value

func (*Quota) GetUsageOk

func (o *Quota) GetUsageOk() (*int64, bool)

GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.

func (Quota) MarshalJSON

func (o Quota) MarshalJSON() ([]byte, error)

func (*Quota) SetLimit

func (o *Quota) SetLimit(v int64)

SetLimit sets field value

func (*Quota) SetUsage

func (o *Quota) SetUsage(v int64)

SetUsage sets field value

func (Quota) ToMap

func (o Quota) ToMap() (map[string]interface{}, error)

func (*Quota) UnmarshalJSON

func (o *Quota) UnmarshalJSON(data []byte) (err error)

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

func (o *QuotaList) GetBackupGigabytes() Quota

GetBackupGigabytes returns the BackupGigabytes field value

func (*QuotaList) GetBackupGigabytesOk

func (o *QuotaList) GetBackupGigabytesOk() (*Quota, bool)

GetBackupGigabytesOk returns a tuple with the BackupGigabytes field value and a boolean to check if the value has been set.

func (*QuotaList) GetBackups

func (o *QuotaList) GetBackups() Quota

GetBackups returns the Backups field value

func (*QuotaList) GetBackupsOk

func (o *QuotaList) GetBackupsOk() (*Quota, bool)

GetBackupsOk returns a tuple with the Backups field value and a boolean to check if the value has been set.

func (*QuotaList) GetGigabytes

func (o *QuotaList) GetGigabytes() Quota

GetGigabytes returns the Gigabytes field value

func (*QuotaList) GetGigabytesOk

func (o *QuotaList) GetGigabytesOk() (*Quota, bool)

GetGigabytesOk returns a tuple with the Gigabytes field value and a boolean to check if the value has been set.

func (*QuotaList) GetNetworks

func (o *QuotaList) GetNetworks() Quota

GetNetworks returns the Networks field value

func (*QuotaList) GetNetworksOk

func (o *QuotaList) GetNetworksOk() (*Quota, bool)

GetNetworksOk returns a tuple with the Networks field value and a boolean to check if the value has been set.

func (*QuotaList) GetNics

func (o *QuotaList) GetNics() Quota

GetNics returns the Nics field value

func (*QuotaList) GetNicsOk

func (o *QuotaList) GetNicsOk() (*Quota, bool)

GetNicsOk returns a tuple with the Nics field value and a boolean to check if the value has been set.

func (*QuotaList) GetPublicIps

func (o *QuotaList) GetPublicIps() Quota

GetPublicIps returns the PublicIps field value

func (*QuotaList) GetPublicIpsOk

func (o *QuotaList) GetPublicIpsOk() (*Quota, bool)

GetPublicIpsOk returns a tuple with the PublicIps field value and a boolean to check if the value has been set.

func (*QuotaList) GetRam

func (o *QuotaList) GetRam() Quota

GetRam returns the Ram field value

func (*QuotaList) GetRamOk

func (o *QuotaList) GetRamOk() (*Quota, bool)

GetRamOk returns a tuple with the Ram field value and a boolean to check if the value has been set.

func (*QuotaList) GetSecurityGroupRules

func (o *QuotaList) GetSecurityGroupRules() Quota

GetSecurityGroupRules returns the SecurityGroupRules field value

func (*QuotaList) GetSecurityGroupRulesOk

func (o *QuotaList) GetSecurityGroupRulesOk() (*Quota, bool)

GetSecurityGroupRulesOk returns a tuple with the SecurityGroupRules field value and a boolean to check if the value has been set.

func (*QuotaList) GetSecurityGroups

func (o *QuotaList) GetSecurityGroups() Quota

GetSecurityGroups returns the SecurityGroups field value

func (*QuotaList) GetSecurityGroupsOk

func (o *QuotaList) GetSecurityGroupsOk() (*Quota, bool)

GetSecurityGroupsOk returns a tuple with the SecurityGroups field value and a boolean to check if the value has been set.

func (*QuotaList) GetSnapshots

func (o *QuotaList) GetSnapshots() Quota

GetSnapshots returns the Snapshots field value

func (*QuotaList) GetSnapshotsOk

func (o *QuotaList) GetSnapshotsOk() (*Quota, bool)

GetSnapshotsOk returns a tuple with the Snapshots field value and a boolean to check if the value has been set.

func (*QuotaList) GetVcpu

func (o *QuotaList) GetVcpu() Quota

GetVcpu returns the Vcpu field value

func (*QuotaList) GetVcpuOk

func (o *QuotaList) GetVcpuOk() (*Quota, bool)

GetVcpuOk returns a tuple with the Vcpu field value and a boolean to check if the value has been set.

func (*QuotaList) GetVolumes

func (o *QuotaList) GetVolumes() Quota

GetVolumes returns the Volumes field value

func (*QuotaList) GetVolumesOk

func (o *QuotaList) GetVolumesOk() (*Quota, bool)

GetVolumesOk returns a tuple with the Volumes field value and a boolean to check if the value has been set.

func (QuotaList) MarshalJSON

func (o QuotaList) MarshalJSON() ([]byte, error)

func (*QuotaList) SetBackupGigabytes

func (o *QuotaList) SetBackupGigabytes(v Quota)

SetBackupGigabytes sets field value

func (*QuotaList) SetBackups

func (o *QuotaList) SetBackups(v Quota)

SetBackups sets field value

func (*QuotaList) SetGigabytes

func (o *QuotaList) SetGigabytes(v Quota)

SetGigabytes sets field value

func (*QuotaList) SetNetworks

func (o *QuotaList) SetNetworks(v Quota)

SetNetworks sets field value

func (*QuotaList) SetNics

func (o *QuotaList) SetNics(v Quota)

SetNics sets field value

func (*QuotaList) SetPublicIps

func (o *QuotaList) SetPublicIps(v Quota)

SetPublicIps sets field value

func (*QuotaList) SetRam

func (o *QuotaList) SetRam(v Quota)

SetRam sets field value

func (*QuotaList) SetSecurityGroupRules

func (o *QuotaList) SetSecurityGroupRules(v Quota)

SetSecurityGroupRules sets field value

func (*QuotaList) SetSecurityGroups

func (o *QuotaList) SetSecurityGroups(v Quota)

SetSecurityGroups sets field value

func (*QuotaList) SetSnapshots

func (o *QuotaList) SetSnapshots(v Quota)

SetSnapshots sets field value

func (*QuotaList) SetVcpu

func (o *QuotaList) SetVcpu(v Quota)

SetVcpu sets field value

func (*QuotaList) SetVolumes

func (o *QuotaList) SetVolumes(v Quota)

SetVolumes sets field value

func (QuotaList) ToMap

func (o QuotaList) ToMap() (map[string]interface{}, error)

func (*QuotaList) UnmarshalJSON

func (o *QuotaList) UnmarshalJSON(data []byte) (err error)

type QuotaListResponse

type QuotaListResponse struct {
	Quotas QuotaList `json:"quotas"`
}

QuotaListResponse Quotas list response.

func NewQuotaListResponse

func NewQuotaListResponse(quotas QuotaList) *QuotaListResponse

NewQuotaListResponse instantiates a new QuotaListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuotaListResponseWithDefaults

func NewQuotaListResponseWithDefaults() *QuotaListResponse

NewQuotaListResponseWithDefaults instantiates a new QuotaListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuotaListResponse) GetQuotas

func (o *QuotaListResponse) GetQuotas() QuotaList

GetQuotas returns the Quotas field value

func (*QuotaListResponse) GetQuotasOk

func (o *QuotaListResponse) GetQuotasOk() (*QuotaList, bool)

GetQuotasOk returns a tuple with the Quotas field value and a boolean to check if the value has been set.

func (QuotaListResponse) MarshalJSON

func (o QuotaListResponse) MarshalJSON() ([]byte, error)

func (*QuotaListResponse) SetQuotas

func (o *QuotaListResponse) SetQuotas(v QuotaList)

SetQuotas sets field value

func (QuotaListResponse) ToMap

func (o QuotaListResponse) ToMap() (map[string]interface{}, error)

func (*QuotaListResponse) UnmarshalJSON

func (o *QuotaListResponse) UnmarshalJSON(data []byte) (err error)

type Request

type Request struct {
	Details *string `json:"details,omitempty"`
	// Object that represents a resource action. Possible values: `CREATE`, `DELETE`, `UPDATE`.
	RequestAction string `json:"requestAction"`
	// Identifier (ID) representing a single API request.
	RequestId string `json:"requestId" validate:"regexp=^req-[0-9a-f]{32}$"`
	// Object that represents a resource type. Possible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`.
	RequestType string            `json:"requestType"`
	Resources   []RequestResource `json:"resources"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	Status string `json:"status"`
}

Request Object that represents a request.

func NewRequest

func NewRequest(requestAction string, requestId string, requestType string, resources []RequestResource, status string) *Request

NewRequest instantiates a new Request object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequestWithDefaults

func NewRequestWithDefaults() *Request

NewRequestWithDefaults instantiates a new Request object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Request) GetDetails

func (o *Request) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*Request) GetDetailsOk

func (o *Request) 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 (*Request) GetRequestAction

func (o *Request) GetRequestAction() string

GetRequestAction returns the RequestAction field value

func (*Request) GetRequestActionOk

func (o *Request) GetRequestActionOk() (*string, bool)

GetRequestActionOk returns a tuple with the RequestAction field value and a boolean to check if the value has been set.

func (*Request) GetRequestId

func (o *Request) GetRequestId() string

GetRequestId returns the RequestId field value

func (*Request) GetRequestIdOk

func (o *Request) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.

func (*Request) GetRequestType

func (o *Request) GetRequestType() string

GetRequestType returns the RequestType field value

func (*Request) GetRequestTypeOk

func (o *Request) GetRequestTypeOk() (*string, bool)

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) GetStatus

func (o *Request) GetStatus() string

GetStatus returns the Status field value

func (*Request) GetStatusOk

func (o *Request) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Request) HasDetails

func (o *Request) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (Request) MarshalJSON

func (o Request) MarshalJSON() ([]byte, error)

func (*Request) SetDetails

func (o *Request) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*Request) SetRequestAction

func (o *Request) SetRequestAction(v string)

SetRequestAction sets field value

func (*Request) SetRequestId

func (o *Request) SetRequestId(v string)

SetRequestId sets field value

func (*Request) SetRequestType

func (o *Request) SetRequestType(v string)

SetRequestType sets field value

func (*Request) SetResources

func (o *Request) SetResources(v []RequestResource)

SetResources sets field value

func (*Request) SetStatus

func (o *Request) SetStatus(v string)

SetStatus sets field value

func (Request) ToMap

func (o Request) ToMap() (map[string]interface{}, error)

func (*Request) UnmarshalJSON

func (o *Request) UnmarshalJSON(data []byte) (err error)

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) SetId

func (o *RequestResource) SetId(v string)

SetId sets field value

func (*RequestResource) SetStatus

func (o *RequestResource) SetStatus(v string)

SetStatus sets field value

func (*RequestResource) SetType

func (o *RequestResource) SetType(v string)

SetType sets field value

func (RequestResource) ToMap

func (o RequestResource) ToMap() (map[string]interface{}, error)

func (*RequestResource) UnmarshalJSON

func (o *RequestResource) UnmarshalJSON(data []byte) (err error)

type RescueServerPayload

type RescueServerPayload struct {
	// Universally Unique Identifier (UUID).
	Image string `json:"image" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

RescueServerPayload struct for RescueServerPayload

func NewRescueServerPayload

func NewRescueServerPayload(image string) *RescueServerPayload

NewRescueServerPayload instantiates a new RescueServerPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRescueServerPayloadWithDefaults

func NewRescueServerPayloadWithDefaults() *RescueServerPayload

NewRescueServerPayloadWithDefaults instantiates a new RescueServerPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RescueServerPayload) GetImage

func (o *RescueServerPayload) GetImage() string

GetImage returns the Image field value

func (*RescueServerPayload) GetImageOk

func (o *RescueServerPayload) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.

func (RescueServerPayload) MarshalJSON

func (o RescueServerPayload) MarshalJSON() ([]byte, error)

func (*RescueServerPayload) SetImage

func (o *RescueServerPayload) SetImage(v string)

SetImage sets field value

func (RescueServerPayload) ToMap

func (o RescueServerPayload) ToMap() (map[string]interface{}, error)

func (*RescueServerPayload) UnmarshalJSON

func (o *RescueServerPayload) UnmarshalJSON(data []byte) (err error)

type ResizeServerPayload

type ResizeServerPayload struct {
	// The name for a General Object. Matches Names and also UUIDs.
	MachineType string `json:"machineType" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}

ResizeServerPayload struct for ResizeServerPayload

func NewResizeServerPayload

func NewResizeServerPayload(machineType string) *ResizeServerPayload

NewResizeServerPayload instantiates a new ResizeServerPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResizeServerPayloadWithDefaults

func NewResizeServerPayloadWithDefaults() *ResizeServerPayload

NewResizeServerPayloadWithDefaults instantiates a new ResizeServerPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResizeServerPayload) GetMachineType

func (o *ResizeServerPayload) GetMachineType() string

GetMachineType returns the MachineType field value

func (*ResizeServerPayload) GetMachineTypeOk

func (o *ResizeServerPayload) GetMachineTypeOk() (*string, bool)

GetMachineTypeOk returns a tuple with the MachineType field value and a boolean to check if the value has been set.

func (ResizeServerPayload) MarshalJSON

func (o ResizeServerPayload) MarshalJSON() ([]byte, error)

func (*ResizeServerPayload) SetMachineType

func (o *ResizeServerPayload) SetMachineType(v string)

SetMachineType sets field value

func (ResizeServerPayload) ToMap

func (o ResizeServerPayload) ToMap() (map[string]interface{}, error)

func (*ResizeServerPayload) UnmarshalJSON

func (o *ResizeServerPayload) UnmarshalJSON(data []byte) (err error)

type ResizeVolumePayload

type ResizeVolumePayload struct {
	// Size in Gigabyte.
	Size int64 `json:"size"`
}

ResizeVolumePayload struct for ResizeVolumePayload

func NewResizeVolumePayload

func NewResizeVolumePayload(size int64) *ResizeVolumePayload

NewResizeVolumePayload instantiates a new ResizeVolumePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResizeVolumePayloadWithDefaults

func NewResizeVolumePayloadWithDefaults() *ResizeVolumePayload

NewResizeVolumePayloadWithDefaults instantiates a new ResizeVolumePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResizeVolumePayload) GetSize

func (o *ResizeVolumePayload) GetSize() int64

GetSize returns the Size field value

func (*ResizeVolumePayload) GetSizeOk

func (o *ResizeVolumePayload) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (ResizeVolumePayload) MarshalJSON

func (o ResizeVolumePayload) MarshalJSON() ([]byte, error)

func (*ResizeVolumePayload) SetSize

func (o *ResizeVolumePayload) SetSize(v int64)

SetSize sets field value

func (ResizeVolumePayload) ToMap

func (o ResizeVolumePayload) ToMap() (map[string]interface{}, error)

func (*ResizeVolumePayload) UnmarshalJSON

func (o *ResizeVolumePayload) UnmarshalJSON(data []byte) (err error)

type Route

type Route struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Object that represents an IP address.
	Nexthop string `` /* 1376-byte string literal not displayed */
	// Classless Inter-Domain Routing (CIDR).
	Prefix string `` /* 868-byte string literal not displayed */
	// Universally Unique Identifier (UUID).
	RouteId *string `json:"routeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Route Object represents a network route.

func NewRoute

func NewRoute(nexthop string, prefix string) *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

func (o *Route) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Route) GetCreatedAtOk

func (o *Route) 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 (*Route) GetLabels

func (o *Route) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Route) GetLabelsOk

func (o *Route) 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 (*Route) GetNexthop

func (o *Route) GetNexthop() string

GetNexthop returns the Nexthop field value

func (*Route) GetNexthopOk

func (o *Route) GetNexthopOk() (*string, bool)

GetNexthopOk returns a tuple with the Nexthop field value and a boolean to check if the value has been set.

func (*Route) GetPrefix

func (o *Route) GetPrefix() string

GetPrefix returns the Prefix field value

func (*Route) GetPrefixOk

func (o *Route) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.

func (*Route) GetRouteId

func (o *Route) GetRouteId() string

GetRouteId returns the RouteId field value if set, zero value otherwise.

func (*Route) GetRouteIdOk

func (o *Route) GetRouteIdOk() (*string, bool)

GetRouteIdOk returns a tuple with the RouteId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetUpdatedAt

func (o *Route) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Route) GetUpdatedAtOk

func (o *Route) 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 (*Route) HasCreatedAt

func (o *Route) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Route) HasLabels

func (o *Route) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Route) HasRouteId

func (o *Route) HasRouteId() bool

HasRouteId returns a boolean if a field has been set.

func (*Route) HasUpdatedAt

func (o *Route) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Route) MarshalJSON

func (o Route) MarshalJSON() ([]byte, error)

func (*Route) SetCreatedAt

func (o *Route) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Route) SetLabels

func (o *Route) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Route) SetNexthop

func (o *Route) SetNexthop(v string)

SetNexthop sets field value

func (*Route) SetPrefix

func (o *Route) SetPrefix(v string)

SetPrefix sets field value

func (*Route) SetRouteId

func (o *Route) SetRouteId(v string)

SetRouteId gets a reference to the given string and assigns it to the RouteId field.

func (*Route) SetUpdatedAt

func (o *Route) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Route) ToMap

func (o Route) ToMap() (map[string]interface{}, error)

func (*Route) UnmarshalJSON

func (o *Route) UnmarshalJSON(data []byte) (err error)

type RouteListResponse

type RouteListResponse struct {
	// A list of routes.
	Items []Route `json:"items"`
}

RouteListResponse Route list response.

func NewRouteListResponse

func NewRouteListResponse(items []Route) *RouteListResponse

NewRouteListResponse instantiates a new RouteListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRouteListResponseWithDefaults

func NewRouteListResponseWithDefaults() *RouteListResponse

NewRouteListResponseWithDefaults instantiates a new RouteListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RouteListResponse) GetItems

func (o *RouteListResponse) GetItems() []Route

GetItems returns the Items field value

func (*RouteListResponse) GetItemsOk

func (o *RouteListResponse) GetItemsOk() ([]Route, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (RouteListResponse) MarshalJSON

func (o RouteListResponse) MarshalJSON() ([]byte, error)

func (*RouteListResponse) SetItems

func (o *RouteListResponse) SetItems(v []Route)

SetItems sets field value

func (RouteListResponse) ToMap

func (o RouteListResponse) ToMap() (map[string]interface{}, error)

func (*RouteListResponse) UnmarshalJSON

func (o *RouteListResponse) UnmarshalJSON(data []byte) (err error)

type SecurityGroup

type SecurityGroup struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// A list containing security group rule objects.
	Rules []SecurityGroupRule `json:"rules,omitempty"`
	// Shows if a security group is stateful or stateless. You can only have one type of security groups per network interface/server.
	Stateful *bool `json:"stateful,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

SecurityGroup Object that represents a security group.

func NewSecurityGroup

func NewSecurityGroup(name string) *SecurityGroup

NewSecurityGroup instantiates a new SecurityGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityGroupWithDefaults

func NewSecurityGroupWithDefaults() *SecurityGroup

NewSecurityGroupWithDefaults instantiates a new SecurityGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityGroup) GetCreatedAt

func (o *SecurityGroup) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityGroup) GetCreatedAtOk

func (o *SecurityGroup) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetDescription

func (o *SecurityGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SecurityGroup) GetDescriptionOk

func (o *SecurityGroup) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetId

func (o *SecurityGroup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityGroup) GetIdOk

func (o *SecurityGroup) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetLabels

func (o *SecurityGroup) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SecurityGroup) GetLabelsOk

func (o *SecurityGroup) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetName

func (o *SecurityGroup) GetName() string

GetName returns the Name field value

func (*SecurityGroup) GetNameOk

func (o *SecurityGroup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityGroup) GetRules

func (o *SecurityGroup) GetRules() []SecurityGroupRule

GetRules returns the Rules field value if set, zero value otherwise.

func (*SecurityGroup) GetRulesOk

func (o *SecurityGroup) GetRulesOk() ([]SecurityGroupRule, bool)

GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetStateful

func (o *SecurityGroup) GetStateful() bool

GetStateful returns the Stateful field value if set, zero value otherwise.

func (*SecurityGroup) GetStatefulOk

func (o *SecurityGroup) GetStatefulOk() (*bool, bool)

GetStatefulOk returns a tuple with the Stateful field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetUpdatedAt

func (o *SecurityGroup) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SecurityGroup) GetUpdatedAtOk

func (o *SecurityGroup) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) HasCreatedAt

func (o *SecurityGroup) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityGroup) HasDescription

func (o *SecurityGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SecurityGroup) HasId

func (o *SecurityGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*SecurityGroup) HasLabels

func (o *SecurityGroup) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SecurityGroup) HasRules

func (o *SecurityGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (*SecurityGroup) HasStateful

func (o *SecurityGroup) HasStateful() bool

HasStateful returns a boolean if a field has been set.

func (*SecurityGroup) HasUpdatedAt

func (o *SecurityGroup) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SecurityGroup) MarshalJSON

func (o SecurityGroup) MarshalJSON() ([]byte, error)

func (*SecurityGroup) SetCreatedAt

func (o *SecurityGroup) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SecurityGroup) SetDescription

func (o *SecurityGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SecurityGroup) SetId

func (o *SecurityGroup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityGroup) SetLabels

func (o *SecurityGroup) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*SecurityGroup) SetName

func (o *SecurityGroup) SetName(v string)

SetName sets field value

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

GetItems returns the Items field value

func (*SecurityGroupRuleListResponse) GetItemsOk

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

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

func NewServer(machineType string, name string) *Server

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

func (o *Server) GetAffinityGroup() string

GetAffinityGroup returns the AffinityGroup field value if set, zero value otherwise.

func (*Server) GetAffinityGroupOk

func (o *Server) 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 (*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

func (o *Server) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*Server) GetAvailabilityZoneOk

func (o *Server) 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 (*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

func (o *Server) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Server) GetCreatedAtOk

func (o *Server) 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 (*Server) GetErrorMessage

func (o *Server) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*Server) GetErrorMessageOk

func (o *Server) 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 (*Server) GetId

func (o *Server) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Server) GetIdOk

func (o *Server) 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 (*Server) GetImageId

func (o *Server) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*Server) GetImageIdOk

func (o *Server) 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 (*Server) GetKeypairName

func (o *Server) GetKeypairName() string

GetKeypairName returns the KeypairName field value if set, zero value otherwise.

func (*Server) GetKeypairNameOk

func (o *Server) 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 (*Server) GetLabels

func (o *Server) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Server) GetLabelsOk

func (o *Server) 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 (*Server) GetLaunchedAt

func (o *Server) GetLaunchedAt() time.Time

GetLaunchedAt returns the LaunchedAt field value if set, zero value otherwise.

func (*Server) GetLaunchedAtOk

func (o *Server) 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 (*Server) GetMachineType

func (o *Server) GetMachineType() string

GetMachineType returns the MachineType field value

func (*Server) GetMachineTypeOk

func (o *Server) GetMachineTypeOk() (*string, bool)

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

func (o *Server) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Server) GetMetadataOk

func (o *Server) 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 (*Server) GetName

func (o *Server) GetName() string

GetName returns the Name field value

func (*Server) GetNameOk

func (o *Server) GetNameOk() (*string, bool)

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

func (o *Server) GetPowerStatus() string

GetPowerStatus returns the PowerStatus field value if set, zero value otherwise.

func (*Server) GetPowerStatusOk

func (o *Server) 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 (*Server) GetSecurityGroups

func (o *Server) GetSecurityGroups() []string

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*Server) GetSecurityGroupsOk

func (o *Server) 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 (*Server) GetServiceAccountMails

func (o *Server) GetServiceAccountMails() []string

GetServiceAccountMails returns the ServiceAccountMails field value if set, zero value otherwise.

func (*Server) GetServiceAccountMailsOk

func (o *Server) 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 (*Server) GetStatus

func (o *Server) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Server) GetStatusOk

func (o *Server) 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 (*Server) GetUpdatedAt

func (o *Server) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Server) GetUpdatedAtOk

func (o *Server) 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 (*Server) GetUserData

func (o *Server) GetUserData() string

GetUserData returns the UserData field value if set, zero value otherwise.

func (*Server) GetUserDataOk

func (o *Server) 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 (*Server) GetVolumes

func (o *Server) GetVolumes() []string

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Server) GetVolumesOk

func (o *Server) 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 (*Server) HasAffinityGroup

func (o *Server) HasAffinityGroup() bool

HasAffinityGroup returns a boolean if a field has been set.

func (*Server) HasAgent

func (o *Server) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*Server) HasAvailabilityZone

func (o *Server) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*Server) HasBootVolume

func (o *Server) HasBootVolume() bool

HasBootVolume returns a boolean if a field has been set.

func (*Server) HasCreatedAt

func (o *Server) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Server) HasErrorMessage

func (o *Server) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*Server) HasId

func (o *Server) HasId() bool

HasId returns a boolean if a field has been set.

func (*Server) HasImageId

func (o *Server) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*Server) HasKeypairName

func (o *Server) HasKeypairName() bool

HasKeypairName returns a boolean if a field has been set.

func (*Server) HasLabels

func (o *Server) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Server) HasLaunchedAt

func (o *Server) HasLaunchedAt() bool

HasLaunchedAt returns a boolean if a field has been set.

func (*Server) HasMaintenanceWindow

func (o *Server) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*Server) HasMetadata

func (o *Server) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Server) HasNetworking

func (o *Server) HasNetworking() bool

HasNetworking returns a boolean if a field has been set.

func (*Server) HasNics

func (o *Server) HasNics() bool

HasNics returns a boolean if a field has been set.

func (*Server) HasPowerStatus

func (o *Server) HasPowerStatus() bool

HasPowerStatus returns a boolean if a field has been set.

func (*Server) HasSecurityGroups

func (o *Server) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*Server) HasServiceAccountMails

func (o *Server) HasServiceAccountMails() bool

HasServiceAccountMails returns a boolean if a field has been set.

func (*Server) HasStatus

func (o *Server) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Server) HasUpdatedAt

func (o *Server) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Server) HasUserData

func (o *Server) HasUserData() bool

HasUserData returns a boolean if a field has been set.

func (*Server) HasVolumes

func (o *Server) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (Server) MarshalJSON

func (o Server) MarshalJSON() ([]byte, error)

func (*Server) SetAffinityGroup

func (o *Server) SetAffinityGroup(v string)

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

func (o *Server) SetAvailabilityZone(v string)

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

func (o *Server) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Server) SetErrorMessage

func (o *Server) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*Server) SetId

func (o *Server) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Server) SetImageId

func (o *Server) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*Server) SetKeypairName

func (o *Server) SetKeypairName(v string)

SetKeypairName gets a reference to the given string and assigns it to the KeypairName field.

func (*Server) SetLabels

func (o *Server) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Server) SetLaunchedAt

func (o *Server) SetLaunchedAt(v time.Time)

SetLaunchedAt gets a reference to the given time.Time and assigns it to the LaunchedAt field.

func (*Server) SetMachineType

func (o *Server) SetMachineType(v string)

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

func (o *Server) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*Server) SetName

func (o *Server) SetName(v string)

SetName sets field value

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

func (o *Server) SetPowerStatus(v string)

SetPowerStatus gets a reference to the given string and assigns it to the PowerStatus field.

func (*Server) SetSecurityGroups

func (o *Server) SetSecurityGroups(v []string)

SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.

func (*Server) SetServiceAccountMails

func (o *Server) SetServiceAccountMails(v []string)

SetServiceAccountMails gets a reference to the given []string and assigns it to the ServiceAccountMails field.

func (*Server) SetStatus

func (o *Server) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Server) SetUpdatedAt

func (o *Server) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Server) SetUserData

func (o *Server) SetUserData(v string)

SetUserData gets a reference to the given string and assigns it to the UserData field.

func (*Server) SetVolumes

func (o *Server) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

func (Server) ToMap

func (o Server) ToMap() (map[string]interface{}, error)

func (*Server) UnmarshalJSON

func (o *Server) UnmarshalJSON(data []byte) (err error)

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

func NewServerMaintenance(endsAt time.Time, startsAt time.Time, status string) *ServerMaintenance

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) SetMac

func (o *ServerNetwork) SetMac(v string)

SetMac sets field value

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 {
	// Image is shared with all projects inside the image owners organization.
	ParentOrganization *bool `json:"parentOrganization,omitempty"`
	// List of all projects the Image is shared with.
	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

func NewSnapshot(volumeId string) *Snapshot

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

func (o *Snapshot) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Snapshot) GetCreatedAtOk

func (o *Snapshot) 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 (*Snapshot) GetId

func (o *Snapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Snapshot) GetIdOk

func (o *Snapshot) 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 (*Snapshot) GetLabels

func (o *Snapshot) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Snapshot) GetLabelsOk

func (o *Snapshot) 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 (*Snapshot) GetName

func (o *Snapshot) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Snapshot) GetNameOk

func (o *Snapshot) 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 (*Snapshot) GetSize

func (o *Snapshot) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*Snapshot) GetSizeOk

func (o *Snapshot) 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 (*Snapshot) GetStatus

func (o *Snapshot) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Snapshot) GetStatusOk

func (o *Snapshot) 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 (*Snapshot) GetUpdatedAt

func (o *Snapshot) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Snapshot) GetUpdatedAtOk

func (o *Snapshot) 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 (*Snapshot) GetVolumeId

func (o *Snapshot) GetVolumeId() string

GetVolumeId returns the VolumeId field value

func (*Snapshot) GetVolumeIdOk

func (o *Snapshot) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value and a boolean to check if the value has been set.

func (*Snapshot) HasCreatedAt

func (o *Snapshot) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Snapshot) HasId

func (o *Snapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*Snapshot) HasLabels

func (o *Snapshot) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Snapshot) HasName

func (o *Snapshot) HasName() bool

HasName returns a boolean if a field has been set.

func (*Snapshot) HasSize

func (o *Snapshot) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Snapshot) HasStatus

func (o *Snapshot) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Snapshot) HasUpdatedAt

func (o *Snapshot) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Snapshot) MarshalJSON

func (o Snapshot) MarshalJSON() ([]byte, error)

func (*Snapshot) SetCreatedAt

func (o *Snapshot) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Snapshot) SetId

func (o *Snapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Snapshot) SetLabels

func (o *Snapshot) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Snapshot) SetName

func (o *Snapshot) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Snapshot) SetSize

func (o *Snapshot) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*Snapshot) SetStatus

func (o *Snapshot) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Snapshot) SetUpdatedAt

func (o *Snapshot) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Snapshot) SetVolumeId

func (o *Snapshot) SetVolumeId(v string)

SetVolumeId sets field value

func (Snapshot) ToMap

func (o Snapshot) ToMap() (map[string]interface{}, error)

func (*Snapshot) UnmarshalJSON

func (o *Snapshot) UnmarshalJSON(data []byte) (err error)

type SnapshotListResponse

type SnapshotListResponse struct {
	// A list containing snapshot objects.
	Items []Snapshot `json:"items"`
}

SnapshotListResponse Snapshot list response.

func NewSnapshotListResponse

func NewSnapshotListResponse(items []Snapshot) *SnapshotListResponse

NewSnapshotListResponse instantiates a new SnapshotListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnapshotListResponseWithDefaults

func NewSnapshotListResponseWithDefaults() *SnapshotListResponse

NewSnapshotListResponseWithDefaults instantiates a new SnapshotListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SnapshotListResponse) GetItems

func (o *SnapshotListResponse) GetItems() []Snapshot

GetItems returns the Items field value

func (*SnapshotListResponse) GetItemsOk

func (o *SnapshotListResponse) GetItemsOk() ([]Snapshot, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (SnapshotListResponse) MarshalJSON

func (o SnapshotListResponse) MarshalJSON() ([]byte, error)

func (*SnapshotListResponse) SetItems

func (o *SnapshotListResponse) SetItems(v []Snapshot)

SetItems sets field value

func (SnapshotListResponse) ToMap

func (o SnapshotListResponse) ToMap() (map[string]interface{}, error)

func (*SnapshotListResponse) UnmarshalJSON

func (o *SnapshotListResponse) UnmarshalJSON(data []byte) (err error)

type StaticAreaID

type StaticAreaID string

StaticAreaID The identifier (ID) of a static area.

const (
	STATICAREAID_PUBLIC  StaticAreaID = "PUBLIC"
	STATICAREAID_SCHWARZ StaticAreaID = "SCHWARZ"
)

List of StaticAreaID

func NewStaticAreaIDFromValue

func NewStaticAreaIDFromValue(v string) (*StaticAreaID, error)

NewStaticAreaIDFromValue returns a pointer to a valid StaticAreaID for the value passed as argument, or an error if the value passed is not allowed by the enum

func (StaticAreaID) IsValid

func (v StaticAreaID) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (StaticAreaID) Ptr

func (v StaticAreaID) Ptr() *StaticAreaID

Ptr returns reference to StaticAreaID value

func (*StaticAreaID) UnmarshalJSON

func (v *StaticAreaID) UnmarshalJSON(src []byte) error

type UpdateAreaAddressFamily

type UpdateAreaAddressFamily struct {
	Ipv4 *UpdateAreaIPv4 `json:"ipv4,omitempty"`
}

UpdateAreaAddressFamily The addressFamily object for a area update request.

func NewUpdateAreaAddressFamily

func NewUpdateAreaAddressFamily() *UpdateAreaAddressFamily

NewUpdateAreaAddressFamily instantiates a new UpdateAreaAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateAreaAddressFamilyWithDefaults

func NewUpdateAreaAddressFamilyWithDefaults() *UpdateAreaAddressFamily

NewUpdateAreaAddressFamilyWithDefaults instantiates a new UpdateAreaAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateAreaAddressFamily) GetIpv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*UpdateAreaAddressFamily) GetIpv4Ok

func (o *UpdateAreaAddressFamily) GetIpv4Ok() (*UpdateAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaAddressFamily) HasIpv4

func (o *UpdateAreaAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (UpdateAreaAddressFamily) MarshalJSON

func (o UpdateAreaAddressFamily) MarshalJSON() ([]byte, error)

func (*UpdateAreaAddressFamily) SetIpv4

SetIpv4 gets a reference to the given UpdateAreaIPv4 and assigns it to the Ipv4 field.

func (UpdateAreaAddressFamily) ToMap

func (o UpdateAreaAddressFamily) ToMap() (map[string]interface{}, error)

type UpdateAreaIPv4

type UpdateAreaIPv4 struct {
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int32 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int32 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int32 `json:"minPrefixLen,omitempty"`
}

UpdateAreaIPv4 The update object for a IPv4 network area.

func NewUpdateAreaIPv4

func NewUpdateAreaIPv4() *UpdateAreaIPv4

NewUpdateAreaIPv4 instantiates a new UpdateAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateAreaIPv4WithDefaults

func NewUpdateAreaIPv4WithDefaults() *UpdateAreaIPv4

NewUpdateAreaIPv4WithDefaults instantiates a new UpdateAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateAreaIPv4) GetDefaultNameservers

func (o *UpdateAreaIPv4) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetDefaultNameserversOk

func (o *UpdateAreaIPv4) GetDefaultNameserversOk() ([]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) GetDefaultPrefixLen

func (o *UpdateAreaIPv4) GetDefaultPrefixLen() int32

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetDefaultPrefixLenOk

func (o *UpdateAreaIPv4) GetDefaultPrefixLenOk() (*int32, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) GetMaxPrefixLen

func (o *UpdateAreaIPv4) GetMaxPrefixLen() int32

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetMaxPrefixLenOk

func (o *UpdateAreaIPv4) GetMaxPrefixLenOk() (*int32, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) GetMinPrefixLen

func (o *UpdateAreaIPv4) GetMinPrefixLen() int32

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetMinPrefixLenOk

func (o *UpdateAreaIPv4) GetMinPrefixLenOk() (*int32, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) HasDefaultNameservers

func (o *UpdateAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*UpdateAreaIPv4) HasDefaultPrefixLen

func (o *UpdateAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*UpdateAreaIPv4) HasMaxPrefixLen

func (o *UpdateAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*UpdateAreaIPv4) HasMinPrefixLen

func (o *UpdateAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (UpdateAreaIPv4) MarshalJSON

func (o UpdateAreaIPv4) MarshalJSON() ([]byte, error)

func (*UpdateAreaIPv4) SetDefaultNameservers

func (o *UpdateAreaIPv4) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*UpdateAreaIPv4) SetDefaultPrefixLen

func (o *UpdateAreaIPv4) SetDefaultPrefixLen(v int32)

SetDefaultPrefixLen gets a reference to the given int32 and assigns it to the DefaultPrefixLen field.

func (*UpdateAreaIPv4) SetMaxPrefixLen

func (o *UpdateAreaIPv4) SetMaxPrefixLen(v int32)

SetMaxPrefixLen gets a reference to the given int32 and assigns it to the MaxPrefixLen field.

func (*UpdateAreaIPv4) SetMinPrefixLen

func (o *UpdateAreaIPv4) SetMinPrefixLen(v int32)

SetMinPrefixLen gets a reference to the given int32 and assigns it to the MinPrefixLen field.

func (UpdateAreaIPv4) ToMap

func (o UpdateAreaIPv4) ToMap() (map[string]interface{}, error)

type UpdateAttachedVolumePayload

type UpdateAttachedVolumePayload struct {
	// Delete the volume during the termination of the server. Defaults to false.
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
	// Universally Unique Identifier (UUID).
	ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Universally Unique Identifier (UUID).
	VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

UpdateAttachedVolumePayload Object that represents a Volume attachment to a server.

func NewUpdateAttachedVolumePayload

func NewUpdateAttachedVolumePayload() *UpdateAttachedVolumePayload

NewUpdateAttachedVolumePayload instantiates a new UpdateAttachedVolumePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateAttachedVolumePayloadWithDefaults

func NewUpdateAttachedVolumePayloadWithDefaults() *UpdateAttachedVolumePayload

NewUpdateAttachedVolumePayloadWithDefaults instantiates a new UpdateAttachedVolumePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateAttachedVolumePayload) GetDeleteOnTermination

func (o *UpdateAttachedVolumePayload) GetDeleteOnTermination() bool

GetDeleteOnTermination returns the DeleteOnTermination field value if set, zero value otherwise.

func (*UpdateAttachedVolumePayload) GetDeleteOnTerminationOk

func (o *UpdateAttachedVolumePayload) GetDeleteOnTerminationOk() (*bool, bool)

GetDeleteOnTerminationOk returns a tuple with the DeleteOnTermination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAttachedVolumePayload) GetServerId

func (o *UpdateAttachedVolumePayload) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*UpdateAttachedVolumePayload) GetServerIdOk

func (o *UpdateAttachedVolumePayload) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAttachedVolumePayload) GetVolumeId

func (o *UpdateAttachedVolumePayload) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*UpdateAttachedVolumePayload) GetVolumeIdOk

func (o *UpdateAttachedVolumePayload) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAttachedVolumePayload) HasDeleteOnTermination

func (o *UpdateAttachedVolumePayload) HasDeleteOnTermination() bool

HasDeleteOnTermination returns a boolean if a field has been set.

func (*UpdateAttachedVolumePayload) HasServerId

func (o *UpdateAttachedVolumePayload) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*UpdateAttachedVolumePayload) HasVolumeId

func (o *UpdateAttachedVolumePayload) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (UpdateAttachedVolumePayload) MarshalJSON

func (o UpdateAttachedVolumePayload) MarshalJSON() ([]byte, error)

func (*UpdateAttachedVolumePayload) SetDeleteOnTermination

func (o *UpdateAttachedVolumePayload) SetDeleteOnTermination(v bool)

SetDeleteOnTermination gets a reference to the given bool and assigns it to the DeleteOnTermination field.

func (*UpdateAttachedVolumePayload) SetServerId

func (o *UpdateAttachedVolumePayload) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*UpdateAttachedVolumePayload) SetVolumeId

func (o *UpdateAttachedVolumePayload) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (UpdateAttachedVolumePayload) ToMap

func (o UpdateAttachedVolumePayload) ToMap() (map[string]interface{}, error)

type UpdateBackupPayload

type UpdateBackupPayload struct {
	// Object that represents an availability zone.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Indicates if a volume is encrypted.
	Encrypted *bool `json:"encrypted,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Size in Gigabyte.
	Size *int64 `json:"size,omitempty"`
	// Universally Unique Identifier (UUID).
	SnapshotId *string `json:"snapshotId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// The status of a backup object. Possible values: `AVAILABLE`, `CREATING`, `DELETED`, `DELETING`, `ERROR`, `RESTORING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Universally Unique Identifier (UUID).
	VolumeId *string `json:"volumeId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

UpdateBackupPayload Object that represents a backup.

func NewUpdateBackupPayload

func NewUpdateBackupPayload() *UpdateBackupPayload

NewUpdateBackupPayload instantiates a new UpdateBackupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateBackupPayloadWithDefaults

func NewUpdateBackupPayloadWithDefaults() *UpdateBackupPayload

NewUpdateBackupPayloadWithDefaults instantiates a new UpdateBackupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateBackupPayload) GetAvailabilityZone

func (o *UpdateBackupPayload) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetAvailabilityZoneOk

func (o *UpdateBackupPayload) GetAvailabilityZoneOk() (*string, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetCreatedAt

func (o *UpdateBackupPayload) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetCreatedAtOk

func (o *UpdateBackupPayload) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetEncrypted

func (o *UpdateBackupPayload) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetEncryptedOk

func (o *UpdateBackupPayload) GetEncryptedOk() (*bool, bool)

GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetId

func (o *UpdateBackupPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetIdOk

func (o *UpdateBackupPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetLabels

func (o *UpdateBackupPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetLabelsOk

func (o *UpdateBackupPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetName

func (o *UpdateBackupPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetNameOk

func (o *UpdateBackupPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetSize

func (o *UpdateBackupPayload) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetSizeOk

func (o *UpdateBackupPayload) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetSnapshotId

func (o *UpdateBackupPayload) GetSnapshotId() string

GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetSnapshotIdOk

func (o *UpdateBackupPayload) GetSnapshotIdOk() (*string, bool)

GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetStatus

func (o *UpdateBackupPayload) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetStatusOk

func (o *UpdateBackupPayload) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetUpdatedAt

func (o *UpdateBackupPayload) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetUpdatedAtOk

func (o *UpdateBackupPayload) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) GetVolumeId

func (o *UpdateBackupPayload) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*UpdateBackupPayload) GetVolumeIdOk

func (o *UpdateBackupPayload) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateBackupPayload) HasAvailabilityZone

func (o *UpdateBackupPayload) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasCreatedAt

func (o *UpdateBackupPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasEncrypted

func (o *UpdateBackupPayload) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasId

func (o *UpdateBackupPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasLabels

func (o *UpdateBackupPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasName

func (o *UpdateBackupPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasSize

func (o *UpdateBackupPayload) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasSnapshotId

func (o *UpdateBackupPayload) HasSnapshotId() bool

HasSnapshotId returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasStatus

func (o *UpdateBackupPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasUpdatedAt

func (o *UpdateBackupPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*UpdateBackupPayload) HasVolumeId

func (o *UpdateBackupPayload) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (UpdateBackupPayload) MarshalJSON

func (o UpdateBackupPayload) MarshalJSON() ([]byte, error)

func (*UpdateBackupPayload) SetAvailabilityZone

func (o *UpdateBackupPayload) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*UpdateBackupPayload) SetCreatedAt

func (o *UpdateBackupPayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UpdateBackupPayload) SetEncrypted

func (o *UpdateBackupPayload) SetEncrypted(v bool)

SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.

func (*UpdateBackupPayload) SetId

func (o *UpdateBackupPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateBackupPayload) SetLabels

func (o *UpdateBackupPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateBackupPayload) SetName

func (o *UpdateBackupPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateBackupPayload) SetSize

func (o *UpdateBackupPayload) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*UpdateBackupPayload) SetSnapshotId

func (o *UpdateBackupPayload) SetSnapshotId(v string)

SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.

func (*UpdateBackupPayload) SetStatus

func (o *UpdateBackupPayload) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UpdateBackupPayload) SetUpdatedAt

func (o *UpdateBackupPayload) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*UpdateBackupPayload) SetVolumeId

func (o *UpdateBackupPayload) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (UpdateBackupPayload) ToMap

func (o UpdateBackupPayload) ToMap() (map[string]interface{}, error)

type UpdateImagePayload

type UpdateImagePayload struct {
	Agent  *ImageAgent  `json:"agent,omitempty"`
	Config *ImageConfig `json:"config,omitempty"`
	// Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`.
	DiskFormat *string `json:"diskFormat,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Size in Gigabyte.
	MinDiskSize *int64 `json:"minDiskSize,omitempty"`
	// Size in Megabyte.
	MinRam *int64 `json:"minRam,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// When true the image is prevented from being deleted.
	Protected *bool `json:"protected,omitempty"`
}

UpdateImagePayload Object that represents an update request body of an Image.

func NewUpdateImagePayload

func NewUpdateImagePayload() *UpdateImagePayload

NewUpdateImagePayload instantiates a new UpdateImagePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateImagePayloadWithDefaults

func NewUpdateImagePayloadWithDefaults() *UpdateImagePayload

NewUpdateImagePayloadWithDefaults instantiates a new UpdateImagePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateImagePayload) GetAgent

func (o *UpdateImagePayload) GetAgent() ImageAgent

GetAgent returns the Agent field value if set, zero value otherwise.

func (*UpdateImagePayload) GetAgentOk

func (o *UpdateImagePayload) GetAgentOk() (*ImageAgent, bool)

GetAgentOk returns a tuple with the Agent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetConfig

func (o *UpdateImagePayload) GetConfig() ImageConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*UpdateImagePayload) GetConfigOk

func (o *UpdateImagePayload) GetConfigOk() (*ImageConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetDiskFormat

func (o *UpdateImagePayload) GetDiskFormat() string

GetDiskFormat returns the DiskFormat field value if set, zero value otherwise.

func (*UpdateImagePayload) GetDiskFormatOk

func (o *UpdateImagePayload) GetDiskFormatOk() (*string, bool)

GetDiskFormatOk returns a tuple with the DiskFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetLabels

func (o *UpdateImagePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateImagePayload) GetLabelsOk

func (o *UpdateImagePayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetMinDiskSize

func (o *UpdateImagePayload) GetMinDiskSize() int64

GetMinDiskSize returns the MinDiskSize field value if set, zero value otherwise.

func (*UpdateImagePayload) GetMinDiskSizeOk

func (o *UpdateImagePayload) GetMinDiskSizeOk() (*int64, bool)

GetMinDiskSizeOk returns a tuple with the MinDiskSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetMinRam

func (o *UpdateImagePayload) GetMinRam() int64

GetMinRam returns the MinRam field value if set, zero value otherwise.

func (*UpdateImagePayload) GetMinRamOk

func (o *UpdateImagePayload) GetMinRamOk() (*int64, bool)

GetMinRamOk returns a tuple with the MinRam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetName

func (o *UpdateImagePayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateImagePayload) GetNameOk

func (o *UpdateImagePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) GetProtected

func (o *UpdateImagePayload) GetProtected() bool

GetProtected returns the Protected field value if set, zero value otherwise.

func (*UpdateImagePayload) GetProtectedOk

func (o *UpdateImagePayload) GetProtectedOk() (*bool, bool)

GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImagePayload) HasAgent

func (o *UpdateImagePayload) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*UpdateImagePayload) HasConfig

func (o *UpdateImagePayload) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateImagePayload) HasDiskFormat

func (o *UpdateImagePayload) HasDiskFormat() bool

HasDiskFormat returns a boolean if a field has been set.

func (*UpdateImagePayload) HasLabels

func (o *UpdateImagePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateImagePayload) HasMinDiskSize

func (o *UpdateImagePayload) HasMinDiskSize() bool

HasMinDiskSize returns a boolean if a field has been set.

func (*UpdateImagePayload) HasMinRam

func (o *UpdateImagePayload) HasMinRam() bool

HasMinRam returns a boolean if a field has been set.

func (*UpdateImagePayload) HasName

func (o *UpdateImagePayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateImagePayload) HasProtected

func (o *UpdateImagePayload) HasProtected() bool

HasProtected returns a boolean if a field has been set.

func (UpdateImagePayload) MarshalJSON

func (o UpdateImagePayload) MarshalJSON() ([]byte, error)

func (*UpdateImagePayload) SetAgent

func (o *UpdateImagePayload) SetAgent(v ImageAgent)

SetAgent gets a reference to the given ImageAgent and assigns it to the Agent field.

func (*UpdateImagePayload) SetConfig

func (o *UpdateImagePayload) SetConfig(v ImageConfig)

SetConfig gets a reference to the given ImageConfig and assigns it to the Config field.

func (*UpdateImagePayload) SetDiskFormat

func (o *UpdateImagePayload) SetDiskFormat(v string)

SetDiskFormat gets a reference to the given string and assigns it to the DiskFormat field.

func (*UpdateImagePayload) SetLabels

func (o *UpdateImagePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateImagePayload) SetMinDiskSize

func (o *UpdateImagePayload) SetMinDiskSize(v int64)

SetMinDiskSize gets a reference to the given int64 and assigns it to the MinDiskSize field.

func (*UpdateImagePayload) SetMinRam

func (o *UpdateImagePayload) SetMinRam(v int64)

SetMinRam gets a reference to the given int64 and assigns it to the MinRam field.

func (*UpdateImagePayload) SetName

func (o *UpdateImagePayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateImagePayload) SetProtected

func (o *UpdateImagePayload) SetProtected(v bool)

SetProtected gets a reference to the given bool and assigns it to the Protected field.

func (UpdateImagePayload) ToMap

func (o UpdateImagePayload) ToMap() (map[string]interface{}, error)

type UpdateImageSharePayload

type UpdateImageSharePayload struct {
	// Image is shared with all projects inside the image owners organization.
	ParentOrganization *bool `json:"parentOrganization,omitempty"`
	// List of all projects the Image is shared with.
	Projects []string `json:"projects,omitempty"`
}

UpdateImageSharePayload Share details of an Image. For requests ParentOrganization and Projects are mutually exclusive.

func NewUpdateImageSharePayload

func NewUpdateImageSharePayload() *UpdateImageSharePayload

NewUpdateImageSharePayload instantiates a new UpdateImageSharePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateImageSharePayloadWithDefaults

func NewUpdateImageSharePayloadWithDefaults() *UpdateImageSharePayload

NewUpdateImageSharePayloadWithDefaults instantiates a new UpdateImageSharePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateImageSharePayload) GetParentOrganization

func (o *UpdateImageSharePayload) GetParentOrganization() bool

GetParentOrganization returns the ParentOrganization field value if set, zero value otherwise.

func (*UpdateImageSharePayload) GetParentOrganizationOk

func (o *UpdateImageSharePayload) GetParentOrganizationOk() (*bool, bool)

GetParentOrganizationOk returns a tuple with the ParentOrganization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImageSharePayload) GetProjects

func (o *UpdateImageSharePayload) GetProjects() []string

GetProjects returns the Projects field value if set, zero value otherwise.

func (*UpdateImageSharePayload) GetProjectsOk

func (o *UpdateImageSharePayload) GetProjectsOk() ([]string, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateImageSharePayload) HasParentOrganization

func (o *UpdateImageSharePayload) HasParentOrganization() bool

HasParentOrganization returns a boolean if a field has been set.

func (*UpdateImageSharePayload) HasProjects

func (o *UpdateImageSharePayload) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (UpdateImageSharePayload) MarshalJSON

func (o UpdateImageSharePayload) MarshalJSON() ([]byte, error)

func (*UpdateImageSharePayload) SetParentOrganization

func (o *UpdateImageSharePayload) SetParentOrganization(v bool)

SetParentOrganization gets a reference to the given bool and assigns it to the ParentOrganization field.

func (*UpdateImageSharePayload) SetProjects

func (o *UpdateImageSharePayload) SetProjects(v []string)

SetProjects gets a reference to the given []string and assigns it to the Projects field.

func (UpdateImageSharePayload) ToMap

func (o UpdateImageSharePayload) ToMap() (map[string]interface{}, error)

type UpdateKeyPairPayload

type UpdateKeyPairPayload struct {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
}

UpdateKeyPairPayload Object that represents an update request body of a public key of an SSH keypair.

func NewUpdateKeyPairPayload

func NewUpdateKeyPairPayload() *UpdateKeyPairPayload

NewUpdateKeyPairPayload instantiates a new UpdateKeyPairPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateKeyPairPayloadWithDefaults

func NewUpdateKeyPairPayloadWithDefaults() *UpdateKeyPairPayload

NewUpdateKeyPairPayloadWithDefaults instantiates a new UpdateKeyPairPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateKeyPairPayload) GetLabels

func (o *UpdateKeyPairPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateKeyPairPayload) GetLabelsOk

func (o *UpdateKeyPairPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateKeyPairPayload) HasLabels

func (o *UpdateKeyPairPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (UpdateKeyPairPayload) MarshalJSON

func (o UpdateKeyPairPayload) MarshalJSON() ([]byte, error)

func (*UpdateKeyPairPayload) SetLabels

func (o *UpdateKeyPairPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (UpdateKeyPairPayload) ToMap

func (o UpdateKeyPairPayload) ToMap() (map[string]interface{}, error)

type UpdateNetworkAddressFamily

type UpdateNetworkAddressFamily struct {
	Ipv4 *UpdateNetworkIPv4Body `json:"ipv4,omitempty"`
	Ipv6 *UpdateNetworkIPv6Body `json:"ipv6,omitempty"`
}

UpdateNetworkAddressFamily The addressFamily object for a network update request.

func NewUpdateNetworkAddressFamily

func NewUpdateNetworkAddressFamily() *UpdateNetworkAddressFamily

NewUpdateNetworkAddressFamily instantiates a new UpdateNetworkAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkAddressFamilyWithDefaults

func NewUpdateNetworkAddressFamilyWithDefaults() *UpdateNetworkAddressFamily

NewUpdateNetworkAddressFamilyWithDefaults instantiates a new UpdateNetworkAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkAddressFamily) GetIpv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*UpdateNetworkAddressFamily) 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 (*UpdateNetworkAddressFamily) GetIpv6

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*UpdateNetworkAddressFamily) 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 (*UpdateNetworkAddressFamily) HasIpv4

func (o *UpdateNetworkAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*UpdateNetworkAddressFamily) HasIpv6

func (o *UpdateNetworkAddressFamily) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (UpdateNetworkAddressFamily) MarshalJSON

func (o UpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)

func (*UpdateNetworkAddressFamily) SetIpv4

SetIpv4 gets a reference to the given UpdateNetworkIPv4Body and assigns it to the Ipv4 field.

func (*UpdateNetworkAddressFamily) SetIpv6

SetIpv6 gets a reference to the given UpdateNetworkIPv6Body and assigns it to the Ipv6 field.

func (UpdateNetworkAddressFamily) ToMap

func (o UpdateNetworkAddressFamily) ToMap() (map[string]interface{}, error)

type UpdateNetworkAreaRoutePayload

type UpdateNetworkAreaRoutePayload struct {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
}

UpdateNetworkAreaRoutePayload Object that represents the request body for a route update.

func NewUpdateNetworkAreaRoutePayload

func NewUpdateNetworkAreaRoutePayload() *UpdateNetworkAreaRoutePayload

NewUpdateNetworkAreaRoutePayload instantiates a new UpdateNetworkAreaRoutePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkAreaRoutePayloadWithDefaults

func NewUpdateNetworkAreaRoutePayloadWithDefaults() *UpdateNetworkAreaRoutePayload

NewUpdateNetworkAreaRoutePayloadWithDefaults instantiates a new UpdateNetworkAreaRoutePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkAreaRoutePayload) GetLabels

func (o *UpdateNetworkAreaRoutePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateNetworkAreaRoutePayload) GetLabelsOk

func (o *UpdateNetworkAreaRoutePayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkAreaRoutePayload) HasLabels

func (o *UpdateNetworkAreaRoutePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (UpdateNetworkAreaRoutePayload) MarshalJSON

func (o UpdateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)

func (*UpdateNetworkAreaRoutePayload) SetLabels

func (o *UpdateNetworkAreaRoutePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (UpdateNetworkAreaRoutePayload) ToMap

func (o UpdateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)

type UpdateNetworkIPv4Body

type UpdateNetworkIPv4Body struct {
	// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1386-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers []string `json:"nameservers,omitempty"`
}

UpdateNetworkIPv4Body The config object for a IPv4 network update.

func NewUpdateNetworkIPv4Body

func NewUpdateNetworkIPv4Body() *UpdateNetworkIPv4Body

NewUpdateNetworkIPv4Body instantiates a new UpdateNetworkIPv4Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkIPv4BodyWithDefaults

func NewUpdateNetworkIPv4BodyWithDefaults() *UpdateNetworkIPv4Body

NewUpdateNetworkIPv4BodyWithDefaults instantiates a new UpdateNetworkIPv4Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkIPv4Body) GetGateway

func (o *UpdateNetworkIPv4Body) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateNetworkIPv4Body) GetGatewayOk

func (o *UpdateNetworkIPv4Body) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateNetworkIPv4Body) GetNameservers

func (o *UpdateNetworkIPv4Body) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*UpdateNetworkIPv4Body) GetNameserversOk

func (o *UpdateNetworkIPv4Body) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkIPv4Body) HasGateway

func (o *UpdateNetworkIPv4Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*UpdateNetworkIPv4Body) HasNameservers

func (o *UpdateNetworkIPv4Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (UpdateNetworkIPv4Body) MarshalJSON

func (o UpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*UpdateNetworkIPv4Body) SetGateway

func (o *UpdateNetworkIPv4Body) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*UpdateNetworkIPv4Body) SetGatewayNil

func (o *UpdateNetworkIPv4Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*UpdateNetworkIPv4Body) SetNameservers

func (o *UpdateNetworkIPv4Body) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (UpdateNetworkIPv4Body) ToMap

func (o UpdateNetworkIPv4Body) ToMap() (map[string]interface{}, error)

func (*UpdateNetworkIPv4Body) UnsetGateway

func (o *UpdateNetworkIPv4Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type UpdateNetworkIPv6Body

type UpdateNetworkIPv6Body struct {
	// The gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1386-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers []string `json:"nameservers,omitempty"`
}

UpdateNetworkIPv6Body The config object for a IPv6 network update.

func NewUpdateNetworkIPv6Body

func NewUpdateNetworkIPv6Body() *UpdateNetworkIPv6Body

NewUpdateNetworkIPv6Body instantiates a new UpdateNetworkIPv6Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkIPv6BodyWithDefaults

func NewUpdateNetworkIPv6BodyWithDefaults() *UpdateNetworkIPv6Body

NewUpdateNetworkIPv6BodyWithDefaults instantiates a new UpdateNetworkIPv6Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkIPv6Body) GetGateway

func (o *UpdateNetworkIPv6Body) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateNetworkIPv6Body) GetGatewayOk

func (o *UpdateNetworkIPv6Body) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateNetworkIPv6Body) GetNameservers

func (o *UpdateNetworkIPv6Body) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*UpdateNetworkIPv6Body) GetNameserversOk

func (o *UpdateNetworkIPv6Body) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkIPv6Body) HasGateway

func (o *UpdateNetworkIPv6Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*UpdateNetworkIPv6Body) HasNameservers

func (o *UpdateNetworkIPv6Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (UpdateNetworkIPv6Body) MarshalJSON

func (o UpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*UpdateNetworkIPv6Body) SetGateway

func (o *UpdateNetworkIPv6Body) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*UpdateNetworkIPv6Body) SetGatewayNil

func (o *UpdateNetworkIPv6Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*UpdateNetworkIPv6Body) SetNameservers

func (o *UpdateNetworkIPv6Body) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (UpdateNetworkIPv6Body) ToMap

func (o UpdateNetworkIPv6Body) ToMap() (map[string]interface{}, error)

func (*UpdateNetworkIPv6Body) UnsetGateway

func (o *UpdateNetworkIPv6Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type UpdateNicPayload

type UpdateNicPayload struct {
	// A list of IPs or CIDR notations.
	AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// If this is set to false, then no security groups will apply to this network interface.
	NicSecurity *bool `json:"nicSecurity,omitempty"`
	// A list of UUIDs.
	SecurityGroups []string `json:"securityGroups,omitempty"`
}

UpdateNicPayload Object that represents a network interface update.

func NewUpdateNicPayload

func NewUpdateNicPayload() *UpdateNicPayload

NewUpdateNicPayload instantiates a new UpdateNicPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNicPayloadWithDefaults

func NewUpdateNicPayloadWithDefaults() *UpdateNicPayload

NewUpdateNicPayloadWithDefaults instantiates a new UpdateNicPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNicPayload) GetAllowedAddresses

func (o *UpdateNicPayload) GetAllowedAddresses() []AllowedAddressesInner

GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.

func (*UpdateNicPayload) GetAllowedAddressesOk

func (o *UpdateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)

GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetDescription

func (o *UpdateNicPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateNicPayload) GetDescriptionOk

func (o *UpdateNicPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetLabels

func (o *UpdateNicPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateNicPayload) GetLabelsOk

func (o *UpdateNicPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetName

func (o *UpdateNicPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateNicPayload) GetNameOk

func (o *UpdateNicPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetNicSecurity

func (o *UpdateNicPayload) GetNicSecurity() bool

GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.

func (*UpdateNicPayload) GetNicSecurityOk

func (o *UpdateNicPayload) GetNicSecurityOk() (*bool, bool)

GetNicSecurityOk returns a tuple with the NicSecurity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetSecurityGroups

func (o *UpdateNicPayload) GetSecurityGroups() []string

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*UpdateNicPayload) GetSecurityGroupsOk

func (o *UpdateNicPayload) GetSecurityGroupsOk() ([]string, bool)

GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) HasAllowedAddresses

func (o *UpdateNicPayload) HasAllowedAddresses() bool

HasAllowedAddresses returns a boolean if a field has been set.

func (*UpdateNicPayload) HasDescription

func (o *UpdateNicPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateNicPayload) HasLabels

func (o *UpdateNicPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateNicPayload) HasName

func (o *UpdateNicPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateNicPayload) HasNicSecurity

func (o *UpdateNicPayload) HasNicSecurity() bool

HasNicSecurity returns a boolean if a field has been set.

func (*UpdateNicPayload) HasSecurityGroups

func (o *UpdateNicPayload) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (UpdateNicPayload) MarshalJSON

func (o UpdateNicPayload) MarshalJSON() ([]byte, error)

func (*UpdateNicPayload) SetAllowedAddresses

func (o *UpdateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)

SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.

func (*UpdateNicPayload) SetDescription

func (o *UpdateNicPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateNicPayload) SetLabels

func (o *UpdateNicPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateNicPayload) SetName

func (o *UpdateNicPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateNicPayload) SetNicSecurity

func (o *UpdateNicPayload) SetNicSecurity(v bool)

SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.

func (*UpdateNicPayload) SetSecurityGroups

func (o *UpdateNicPayload) SetSecurityGroups(v []string)

SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.

func (UpdateNicPayload) ToMap

func (o UpdateNicPayload) ToMap() (map[string]interface{}, error)

type UpdatePublicIPPayload

type UpdatePublicIPPayload struct {
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents an IP address.
	Ip *string `` /* 1381-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Associate the public IP with a network interface (ID).
	NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

UpdatePublicIPPayload Object that represents a public IP.

func NewUpdatePublicIPPayload

func NewUpdatePublicIPPayload() *UpdatePublicIPPayload

NewUpdatePublicIPPayload instantiates a new UpdatePublicIPPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdatePublicIPPayloadWithDefaults

func NewUpdatePublicIPPayloadWithDefaults() *UpdatePublicIPPayload

NewUpdatePublicIPPayloadWithDefaults instantiates a new UpdatePublicIPPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdatePublicIPPayload) GetId

func (o *UpdatePublicIPPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UpdatePublicIPPayload) GetIdOk

func (o *UpdatePublicIPPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatePublicIPPayload) GetIp

func (o *UpdatePublicIPPayload) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*UpdatePublicIPPayload) GetIpOk

func (o *UpdatePublicIPPayload) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatePublicIPPayload) GetLabels

func (o *UpdatePublicIPPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdatePublicIPPayload) GetLabelsOk

func (o *UpdatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatePublicIPPayload) GetNetworkInterface

func (o *UpdatePublicIPPayload) GetNetworkInterface() string

GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdatePublicIPPayload) GetNetworkInterfaceOk

func (o *UpdatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)

GetNetworkInterfaceOk returns a tuple with the NetworkInterface field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdatePublicIPPayload) HasId

func (o *UpdatePublicIPPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdatePublicIPPayload) HasIp

func (o *UpdatePublicIPPayload) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*UpdatePublicIPPayload) HasLabels

func (o *UpdatePublicIPPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdatePublicIPPayload) HasNetworkInterface

func (o *UpdatePublicIPPayload) HasNetworkInterface() bool

HasNetworkInterface returns a boolean if a field has been set.

func (UpdatePublicIPPayload) MarshalJSON

func (o UpdatePublicIPPayload) MarshalJSON() ([]byte, error)

func (*UpdatePublicIPPayload) SetId

func (o *UpdatePublicIPPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdatePublicIPPayload) SetIp

func (o *UpdatePublicIPPayload) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*UpdatePublicIPPayload) SetLabels

func (o *UpdatePublicIPPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdatePublicIPPayload) SetNetworkInterface

func (o *UpdatePublicIPPayload) SetNetworkInterface(v string)

SetNetworkInterface gets a reference to the given NullableString and assigns it to the NetworkInterface field.

func (*UpdatePublicIPPayload) SetNetworkInterfaceNil

func (o *UpdatePublicIPPayload) SetNetworkInterfaceNil()

SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil

func (UpdatePublicIPPayload) ToMap

func (o UpdatePublicIPPayload) ToMap() (map[string]interface{}, error)

func (*UpdatePublicIPPayload) UnsetNetworkInterface

func (o *UpdatePublicIPPayload) UnsetNetworkInterface()

UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil

type UpdateSecurityGroupPayload

type UpdateSecurityGroupPayload struct {
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}

UpdateSecurityGroupPayload Object that represents an update request body of a security group.

func NewUpdateSecurityGroupPayload

func NewUpdateSecurityGroupPayload() *UpdateSecurityGroupPayload

NewUpdateSecurityGroupPayload instantiates a new UpdateSecurityGroupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateSecurityGroupPayloadWithDefaults

func NewUpdateSecurityGroupPayloadWithDefaults() *UpdateSecurityGroupPayload

NewUpdateSecurityGroupPayloadWithDefaults instantiates a new UpdateSecurityGroupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateSecurityGroupPayload) GetDescription

func (o *UpdateSecurityGroupPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateSecurityGroupPayload) GetDescriptionOk

func (o *UpdateSecurityGroupPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSecurityGroupPayload) GetLabels

func (o *UpdateSecurityGroupPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateSecurityGroupPayload) GetLabelsOk

func (o *UpdateSecurityGroupPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSecurityGroupPayload) GetName

func (o *UpdateSecurityGroupPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateSecurityGroupPayload) GetNameOk

func (o *UpdateSecurityGroupPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSecurityGroupPayload) HasDescription

func (o *UpdateSecurityGroupPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateSecurityGroupPayload) HasLabels

func (o *UpdateSecurityGroupPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateSecurityGroupPayload) HasName

func (o *UpdateSecurityGroupPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateSecurityGroupPayload) MarshalJSON

func (o UpdateSecurityGroupPayload) MarshalJSON() ([]byte, error)

func (*UpdateSecurityGroupPayload) SetDescription

func (o *UpdateSecurityGroupPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateSecurityGroupPayload) SetLabels

func (o *UpdateSecurityGroupPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateSecurityGroupPayload) SetName

func (o *UpdateSecurityGroupPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UpdateSecurityGroupPayload) ToMap

func (o UpdateSecurityGroupPayload) ToMap() (map[string]interface{}, error)

type UpdateServerPayload

type UpdateServerPayload struct {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`. Providing a `null` value for a key will remove that key.
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// The name for a Server.
	Name *string `` /* 148-byte string literal not displayed */
}

UpdateServerPayload Object that represents an update request body of a server.

func NewUpdateServerPayload

func NewUpdateServerPayload() *UpdateServerPayload

NewUpdateServerPayload instantiates a new UpdateServerPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateServerPayloadWithDefaults

func NewUpdateServerPayloadWithDefaults() *UpdateServerPayload

NewUpdateServerPayloadWithDefaults instantiates a new UpdateServerPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateServerPayload) GetLabels

func (o *UpdateServerPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateServerPayload) GetLabelsOk

func (o *UpdateServerPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateServerPayload) GetMetadata

func (o *UpdateServerPayload) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*UpdateServerPayload) GetMetadataOk

func (o *UpdateServerPayload) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateServerPayload) GetName

func (o *UpdateServerPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateServerPayload) GetNameOk

func (o *UpdateServerPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateServerPayload) HasLabels

func (o *UpdateServerPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateServerPayload) HasMetadata

func (o *UpdateServerPayload) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*UpdateServerPayload) HasName

func (o *UpdateServerPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateServerPayload) MarshalJSON

func (o UpdateServerPayload) MarshalJSON() ([]byte, error)

func (*UpdateServerPayload) SetLabels

func (o *UpdateServerPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateServerPayload) SetMetadata

func (o *UpdateServerPayload) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*UpdateServerPayload) SetName

func (o *UpdateServerPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UpdateServerPayload) ToMap

func (o UpdateServerPayload) ToMap() (map[string]interface{}, error)

type UpdateSnapshotPayload

type UpdateSnapshotPayload struct {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}

UpdateSnapshotPayload Object that represents an update request body of a snapshot.

func NewUpdateSnapshotPayload

func NewUpdateSnapshotPayload() *UpdateSnapshotPayload

NewUpdateSnapshotPayload instantiates a new UpdateSnapshotPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateSnapshotPayloadWithDefaults

func NewUpdateSnapshotPayloadWithDefaults() *UpdateSnapshotPayload

NewUpdateSnapshotPayloadWithDefaults instantiates a new UpdateSnapshotPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateSnapshotPayload) GetLabels

func (o *UpdateSnapshotPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateSnapshotPayload) GetLabelsOk

func (o *UpdateSnapshotPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSnapshotPayload) GetName

func (o *UpdateSnapshotPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateSnapshotPayload) GetNameOk

func (o *UpdateSnapshotPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSnapshotPayload) HasLabels

func (o *UpdateSnapshotPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateSnapshotPayload) HasName

func (o *UpdateSnapshotPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateSnapshotPayload) MarshalJSON

func (o UpdateSnapshotPayload) MarshalJSON() ([]byte, error)

func (*UpdateSnapshotPayload) SetLabels

func (o *UpdateSnapshotPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateSnapshotPayload) SetName

func (o *UpdateSnapshotPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UpdateSnapshotPayload) ToMap

func (o UpdateSnapshotPayload) ToMap() (map[string]interface{}, error)

type UpdateVolumePayload

type UpdateVolumePayload struct {
	// Indicates if a volume is bootable.
	Bootable *bool `json:"bootable,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string      `json:"description,omitempty"`
	ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
}

UpdateVolumePayload Object that represents an update request body of a volume.

func NewUpdateVolumePayload

func NewUpdateVolumePayload() *UpdateVolumePayload

NewUpdateVolumePayload instantiates a new UpdateVolumePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateVolumePayloadWithDefaults

func NewUpdateVolumePayloadWithDefaults() *UpdateVolumePayload

NewUpdateVolumePayloadWithDefaults instantiates a new UpdateVolumePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateVolumePayload) GetBootable

func (o *UpdateVolumePayload) GetBootable() bool

GetBootable returns the Bootable field value if set, zero value otherwise.

func (*UpdateVolumePayload) GetBootableOk

func (o *UpdateVolumePayload) GetBootableOk() (*bool, bool)

GetBootableOk returns a tuple with the Bootable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumePayload) GetDescription

func (o *UpdateVolumePayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVolumePayload) GetDescriptionOk

func (o *UpdateVolumePayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumePayload) GetImageConfig

func (o *UpdateVolumePayload) GetImageConfig() ImageConfig

GetImageConfig returns the ImageConfig field value if set, zero value otherwise.

func (*UpdateVolumePayload) GetImageConfigOk

func (o *UpdateVolumePayload) GetImageConfigOk() (*ImageConfig, bool)

GetImageConfigOk returns a tuple with the ImageConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumePayload) GetLabels

func (o *UpdateVolumePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateVolumePayload) GetLabelsOk

func (o *UpdateVolumePayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumePayload) GetName

func (o *UpdateVolumePayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVolumePayload) GetNameOk

func (o *UpdateVolumePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumePayload) HasBootable

func (o *UpdateVolumePayload) HasBootable() bool

HasBootable returns a boolean if a field has been set.

func (*UpdateVolumePayload) HasDescription

func (o *UpdateVolumePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVolumePayload) HasImageConfig

func (o *UpdateVolumePayload) HasImageConfig() bool

HasImageConfig returns a boolean if a field has been set.

func (*UpdateVolumePayload) HasLabels

func (o *UpdateVolumePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateVolumePayload) HasName

func (o *UpdateVolumePayload) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateVolumePayload) MarshalJSON

func (o UpdateVolumePayload) MarshalJSON() ([]byte, error)

func (*UpdateVolumePayload) SetBootable

func (o *UpdateVolumePayload) SetBootable(v bool)

SetBootable gets a reference to the given bool and assigns it to the Bootable field.

func (*UpdateVolumePayload) SetDescription

func (o *UpdateVolumePayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVolumePayload) SetImageConfig

func (o *UpdateVolumePayload) SetImageConfig(v ImageConfig)

SetImageConfig gets a reference to the given ImageConfig and assigns it to the ImageConfig field.

func (*UpdateVolumePayload) SetLabels

func (o *UpdateVolumePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateVolumePayload) SetName

func (o *UpdateVolumePayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UpdateVolumePayload) ToMap

func (o UpdateVolumePayload) ToMap() (map[string]interface{}, error)

type Volume

type Volume struct {
	// Object that represents an availability zone.
	AvailabilityZone string `json:"availabilityZone"`
	// Indicates if a volume is bootable.
	Bootable *bool `json:"bootable,omitempty"`
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Indicates if a volume is encrypted.
	Encrypted            *bool                      `json:"encrypted,omitempty"`
	EncryptionParameters *VolumeEncryptionParameter `json:"encryptionParameters,omitempty"`
	// Universally Unique Identifier (UUID).
	Id          *string      `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// The name for a General Object. Matches Names and also UUIDs.
	PerformanceClass *string `json:"performanceClass,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// Universally Unique Identifier (UUID).
	ServerId *string `json:"serverId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Size in Gigabyte.
	Size   *int64        `json:"size,omitempty"`
	Source *VolumeSource `json:"source,omitempty"`
	// The status of a volume object. Possible values: `ATTACHED`, `ATTACHING`, `AVAILABLE`, `AWAITING-TRANSFER`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `DETACHING`, `DOWNLOADING`, `ERROR`, `ERROR_BACKING-UP`, `ERROR_DELETING`, `ERROR_RESIZING`, `ERROR_RESTORING-BACKUP`, `MAINTENANCE`, `RESERVED`, `RESIZING`, `RESTORING-BACKUP`, `RETYPING`, `UPLOADING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Volume Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.

func NewVolume

func NewVolume(availabilityZone string) *Volume

NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVolumeWithDefaults

func NewVolumeWithDefaults() *Volume

NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Volume) GetAvailabilityZone

func (o *Volume) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value

func (*Volume) GetAvailabilityZoneOk

func (o *Volume) GetAvailabilityZoneOk() (*string, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set.

func (*Volume) GetBootable

func (o *Volume) GetBootable() bool

GetBootable returns the Bootable field value if set, zero value otherwise.

func (*Volume) GetBootableOk

func (o *Volume) 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 (*Volume) GetCreatedAt

func (o *Volume) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Volume) GetCreatedAtOk

func (o *Volume) 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 (*Volume) GetDescription

func (o *Volume) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Volume) GetDescriptionOk

func (o *Volume) 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 (*Volume) GetEncrypted

func (o *Volume) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*Volume) GetEncryptedOk

func (o *Volume) 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 (*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) GetId

func (o *Volume) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Volume) GetIdOk

func (o *Volume) 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 (*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) GetLabels

func (o *Volume) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Volume) GetLabelsOk

func (o *Volume) 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 (*Volume) GetName

func (o *Volume) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Volume) GetNameOk

func (o *Volume) 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 (*Volume) GetPerformanceClass

func (o *Volume) GetPerformanceClass() string

GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.

func (*Volume) GetPerformanceClassOk

func (o *Volume) 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 (*Volume) GetServerId

func (o *Volume) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*Volume) GetServerIdOk

func (o *Volume) 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 (*Volume) GetSize

func (o *Volume) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*Volume) GetSizeOk

func (o *Volume) 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 (*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) GetStatus

func (o *Volume) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Volume) GetStatusOk

func (o *Volume) 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 (*Volume) GetUpdatedAt

func (o *Volume) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Volume) GetUpdatedAtOk

func (o *Volume) 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 (*Volume) HasBootable

func (o *Volume) HasBootable() bool

HasBootable returns a boolean if a field has been set.

func (*Volume) HasCreatedAt

func (o *Volume) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Volume) HasDescription

func (o *Volume) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Volume) HasEncrypted

func (o *Volume) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*Volume) HasEncryptionParameters

func (o *Volume) HasEncryptionParameters() bool

HasEncryptionParameters returns a boolean if a field has been set.

func (*Volume) HasId

func (o *Volume) HasId() bool

HasId returns a boolean if a field has been set.

func (*Volume) HasImageConfig

func (o *Volume) HasImageConfig() bool

HasImageConfig returns a boolean if a field has been set.

func (*Volume) HasLabels

func (o *Volume) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Volume) HasName

func (o *Volume) HasName() bool

HasName returns a boolean if a field has been set.

func (*Volume) HasPerformanceClass

func (o *Volume) HasPerformanceClass() bool

HasPerformanceClass returns a boolean if a field has been set.

func (*Volume) HasServerId

func (o *Volume) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*Volume) HasSize

func (o *Volume) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Volume) HasSource

func (o *Volume) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Volume) HasStatus

func (o *Volume) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Volume) HasUpdatedAt

func (o *Volume) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Volume) MarshalJSON

func (o Volume) MarshalJSON() ([]byte, error)

func (*Volume) SetAvailabilityZone

func (o *Volume) SetAvailabilityZone(v string)

SetAvailabilityZone sets field value

func (*Volume) SetBootable

func (o *Volume) SetBootable(v bool)

SetBootable gets a reference to the given bool and assigns it to the Bootable field.

func (*Volume) SetCreatedAt

func (o *Volume) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Volume) SetDescription

func (o *Volume) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Volume) SetEncrypted

func (o *Volume) SetEncrypted(v bool)

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) SetId

func (o *Volume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id 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

func (o *Volume) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Volume) SetName

func (o *Volume) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Volume) SetPerformanceClass

func (o *Volume) SetPerformanceClass(v string)

SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.

func (*Volume) SetServerId

func (o *Volume) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*Volume) SetSize

func (o *Volume) SetSize(v int64)

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

func (o *Volume) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Volume) SetUpdatedAt

func (o *Volume) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Volume) ToMap

func (o Volume) ToMap() (map[string]interface{}, error)

func (*Volume) UnmarshalJSON

func (o *Volume) UnmarshalJSON(data []byte) (err error)

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

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

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

GetItems returns the Items field value

func (*VolumePerformanceClassListResponse) GetItemsOk

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

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) GetId

func (o *VolumeSource) GetId() string

GetId returns the Id field value

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) SetId

func (o *VolumeSource) SetId(v string)

SetId sets field value

func (*VolumeSource) SetType

func (o *VolumeSource) SetType(v string)

SetType sets field value

func (VolumeSource) ToMap

func (o VolumeSource) ToMap() (map[string]interface{}, error)

func (*VolumeSource) UnmarshalJSON

func (o *VolumeSource) UnmarshalJSON(data []byte) (err error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL