v2api

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 v2 In most cases there should be only one, shared, APIClient.

func NewAPIClient

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

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

func (*APIClient) GetConfig

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

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AddRoutesToRoutingTablePayload

type AddRoutesToRoutingTablePayload struct {
	// A list of routes.
	Items []Route `json:"items"`
}

AddRoutesToRoutingTablePayload Object represents a request to add network routes.

func NewAddRoutesToRoutingTablePayload

func NewAddRoutesToRoutingTablePayload(items []Route) *AddRoutesToRoutingTablePayload

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

func NewAddRoutesToRoutingTablePayloadWithDefaults

func NewAddRoutesToRoutingTablePayloadWithDefaults() *AddRoutesToRoutingTablePayload

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

func (*AddRoutesToRoutingTablePayload) GetItems

func (o *AddRoutesToRoutingTablePayload) GetItems() []Route

GetItems returns the Items field value

func (*AddRoutesToRoutingTablePayload) GetItemsOk

func (o *AddRoutesToRoutingTablePayload) GetItemsOk() ([]Route, bool)

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

func (AddRoutesToRoutingTablePayload) MarshalJSON

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

func (*AddRoutesToRoutingTablePayload) SetItems

func (o *AddRoutesToRoutingTablePayload) SetItems(v []Route)

SetItems sets field value

func (AddRoutesToRoutingTablePayload) ToMap

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

func (*AddRoutesToRoutingTablePayload) UnmarshalJSON

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

type AddRoutingTableToAreaPayload

type AddRoutingTableToAreaPayload struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// This is the default routing table. It can't be deleted and is used if the user does not specify it otherwise.
	Default *bool `json:"default,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// A config setting for a routing table which allows propagation of dynamic routes to this routing table.
	DynamicRoutes *bool `json:"dynamicRoutes,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.
	SystemRoutes *bool `json:"systemRoutes,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

AddRoutingTableToAreaPayload An object representing a routing table.

func NewAddRoutingTableToAreaPayload

func NewAddRoutingTableToAreaPayload(name string) *AddRoutingTableToAreaPayload

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

func NewAddRoutingTableToAreaPayloadWithDefaults

func NewAddRoutingTableToAreaPayloadWithDefaults() *AddRoutingTableToAreaPayload

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

func (*AddRoutingTableToAreaPayload) GetCreatedAt

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

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

func (*AddRoutingTableToAreaPayload) GetCreatedAtOk

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

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

func (*AddRoutingTableToAreaPayload) GetDefault

func (o *AddRoutingTableToAreaPayload) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*AddRoutingTableToAreaPayload) GetDefaultOk

func (o *AddRoutingTableToAreaPayload) GetDefaultOk() (*bool, bool)

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

func (*AddRoutingTableToAreaPayload) GetDescription

func (o *AddRoutingTableToAreaPayload) GetDescription() string

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

func (*AddRoutingTableToAreaPayload) GetDescriptionOk

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

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

func (*AddRoutingTableToAreaPayload) GetDynamicRoutes

func (o *AddRoutingTableToAreaPayload) GetDynamicRoutes() bool

GetDynamicRoutes returns the DynamicRoutes field value if set, zero value otherwise.

func (*AddRoutingTableToAreaPayload) GetDynamicRoutesOk

func (o *AddRoutingTableToAreaPayload) GetDynamicRoutesOk() (*bool, bool)

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

func (*AddRoutingTableToAreaPayload) GetId

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

func (*AddRoutingTableToAreaPayload) GetIdOk

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

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

func (*AddRoutingTableToAreaPayload) GetLabels

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

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

func (*AddRoutingTableToAreaPayload) GetLabelsOk

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

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

func (*AddRoutingTableToAreaPayload) GetName

func (o *AddRoutingTableToAreaPayload) GetName() string

GetName returns the Name field value

func (*AddRoutingTableToAreaPayload) GetNameOk

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

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

func (*AddRoutingTableToAreaPayload) GetSystemRoutes

func (o *AddRoutingTableToAreaPayload) GetSystemRoutes() bool

GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise.

func (*AddRoutingTableToAreaPayload) GetSystemRoutesOk

func (o *AddRoutingTableToAreaPayload) GetSystemRoutesOk() (*bool, bool)

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

func (*AddRoutingTableToAreaPayload) GetUpdatedAt

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

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

func (*AddRoutingTableToAreaPayload) GetUpdatedAtOk

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

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

func (*AddRoutingTableToAreaPayload) HasCreatedAt

func (o *AddRoutingTableToAreaPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasDefault

func (o *AddRoutingTableToAreaPayload) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasDescription

func (o *AddRoutingTableToAreaPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasDynamicRoutes

func (o *AddRoutingTableToAreaPayload) HasDynamicRoutes() bool

HasDynamicRoutes returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasId

HasId returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasLabels

func (o *AddRoutingTableToAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasSystemRoutes

func (o *AddRoutingTableToAreaPayload) HasSystemRoutes() bool

HasSystemRoutes returns a boolean if a field has been set.

func (*AddRoutingTableToAreaPayload) HasUpdatedAt

func (o *AddRoutingTableToAreaPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (AddRoutingTableToAreaPayload) MarshalJSON

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

func (*AddRoutingTableToAreaPayload) SetCreatedAt

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

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

func (*AddRoutingTableToAreaPayload) SetDefault

func (o *AddRoutingTableToAreaPayload) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*AddRoutingTableToAreaPayload) SetDescription

func (o *AddRoutingTableToAreaPayload) SetDescription(v string)

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

func (*AddRoutingTableToAreaPayload) SetDynamicRoutes

func (o *AddRoutingTableToAreaPayload) SetDynamicRoutes(v bool)

SetDynamicRoutes gets a reference to the given bool and assigns it to the DynamicRoutes field.

func (*AddRoutingTableToAreaPayload) SetId

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

func (*AddRoutingTableToAreaPayload) SetLabels

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

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

func (*AddRoutingTableToAreaPayload) SetName

func (o *AddRoutingTableToAreaPayload) SetName(v string)

SetName sets field value

func (*AddRoutingTableToAreaPayload) SetSystemRoutes

func (o *AddRoutingTableToAreaPayload) SetSystemRoutes(v bool)

SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field.

func (*AddRoutingTableToAreaPayload) SetUpdatedAt

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

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

func (AddRoutingTableToAreaPayload) ToMap

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

func (*AddRoutingTableToAreaPayload) UnmarshalJSON

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

type AddVolumeToServerPayload

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

AddVolumeToServerPayload Object that represents a Volume attachment to a server.

func NewAddVolumeToServerPayload

func NewAddVolumeToServerPayload() *AddVolumeToServerPayload

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

func NewAddVolumeToServerPayloadWithDefaults

func NewAddVolumeToServerPayloadWithDefaults() *AddVolumeToServerPayload

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

func (*AddVolumeToServerPayload) GetDeleteOnTermination

func (o *AddVolumeToServerPayload) GetDeleteOnTermination() bool

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

func (*AddVolumeToServerPayload) GetDeleteOnTerminationOk

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

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

func (*AddVolumeToServerPayload) GetServerId

func (o *AddVolumeToServerPayload) GetServerId() string

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

func (*AddVolumeToServerPayload) GetServerIdOk

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

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

func (*AddVolumeToServerPayload) GetVolumeId

func (o *AddVolumeToServerPayload) GetVolumeId() string

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

func (*AddVolumeToServerPayload) GetVolumeIdOk

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

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

func (*AddVolumeToServerPayload) HasDeleteOnTermination

func (o *AddVolumeToServerPayload) HasDeleteOnTermination() bool

HasDeleteOnTermination returns a boolean if a field has been set.

func (*AddVolumeToServerPayload) HasServerId

func (o *AddVolumeToServerPayload) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*AddVolumeToServerPayload) HasVolumeId

func (o *AddVolumeToServerPayload) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (AddVolumeToServerPayload) MarshalJSON

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

func (*AddVolumeToServerPayload) SetDeleteOnTermination

func (o *AddVolumeToServerPayload) SetDeleteOnTermination(v bool)

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

func (*AddVolumeToServerPayload) SetServerId

func (o *AddVolumeToServerPayload) SetServerId(v string)

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

func (*AddVolumeToServerPayload) SetVolumeId

func (o *AddVolumeToServerPayload) SetVolumeId(v string)

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

func (AddVolumeToServerPayload) ToMap

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

type AffinityGroup

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

AffinityGroup Definition of an affinity group.

func NewAffinityGroup

func NewAffinityGroup(name string, policy string) *AffinityGroup

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

func NewAffinityGroupWithDefaults

func NewAffinityGroupWithDefaults() *AffinityGroup

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

func (*AffinityGroup) GetId

func (o *AffinityGroup) GetId() string

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

func (*AffinityGroup) GetIdOk

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

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

func (*AffinityGroup) GetMembers

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

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

func (*AffinityGroup) GetMembersOk

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

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

func (*AffinityGroup) GetName

func (o *AffinityGroup) GetName() string

GetName returns the Name field value

func (*AffinityGroup) GetNameOk

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

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

func (*AffinityGroup) GetPolicy

func (o *AffinityGroup) GetPolicy() string

GetPolicy returns the Policy field value

func (*AffinityGroup) GetPolicyOk

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

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

func (*AffinityGroup) HasId

func (o *AffinityGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*AffinityGroup) HasMembers

func (o *AffinityGroup) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (AffinityGroup) MarshalJSON

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

func (*AffinityGroup) SetId

func (o *AffinityGroup) SetId(v string)

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

func (*AffinityGroup) SetMembers

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

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

func (*AffinityGroup) 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 ApiAddRoutesToRoutingTableRequest

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

func (ApiAddRoutesToRoutingTableRequest) AddRoutesToRoutingTablePayload

func (r ApiAddRoutesToRoutingTableRequest) AddRoutesToRoutingTablePayload(addRoutesToRoutingTablePayload AddRoutesToRoutingTablePayload) ApiAddRoutesToRoutingTableRequest

Request an addition of routes to a routing table.

func (ApiAddRoutesToRoutingTableRequest) Execute

type ApiAddRoutingTableToAreaRequest

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

func (ApiAddRoutingTableToAreaRequest) AddRoutingTableToAreaPayload

func (r ApiAddRoutingTableToAreaRequest) AddRoutingTableToAreaPayload(addRoutingTableToAreaPayload AddRoutingTableToAreaPayload) ApiAddRoutingTableToAreaRequest

Request an addition of a routing table to an area.

func (ApiAddRoutingTableToAreaRequest) Execute

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 ApiCreateIsolatedNetworkRequest

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

func (ApiCreateIsolatedNetworkRequest) CreateIsolatedNetworkPayload

func (r ApiCreateIsolatedNetworkRequest) CreateIsolatedNetworkPayload(createIsolatedNetworkPayload CreateIsolatedNetworkPayload) ApiCreateIsolatedNetworkRequest

Request a single isolated network creation.

func (ApiCreateIsolatedNetworkRequest) Execute

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 ApiCreateNetworkAreaRegionRequest

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

func (ApiCreateNetworkAreaRegionRequest) CreateNetworkAreaRegionPayload

func (r ApiCreateNetworkAreaRegionRequest) CreateNetworkAreaRegionPayload(createNetworkAreaRegionPayload CreateNetworkAreaRegionPayload) ApiCreateNetworkAreaRegionRequest

Request to add a new regional network area configuration.

func (ApiCreateNetworkAreaRegionRequest) 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 ApiDeleteNetworkAreaRegionRequest

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

func (ApiDeleteNetworkAreaRegionRequest) 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 ApiDeleteRouteFromRoutingTableRequest

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

func (ApiDeleteRouteFromRoutingTableRequest) Execute

type ApiDeleteRoutingTableFromAreaRequest

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

func (ApiDeleteRoutingTableFromAreaRequest) Execute

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 ApiGetNetworkAreaRegionRequest

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

func (ApiGetNetworkAreaRegionRequest) 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 ApiGetRouteOfRoutingTableRequest

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

func (ApiGetRouteOfRoutingTableRequest) Execute

type ApiGetRoutingTableOfAreaRequest

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

func (ApiGetRoutingTableOfAreaRequest) Execute

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 ApiImageFromVolumeRequest

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

func (ApiImageFromVolumeRequest) Execute

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

func (ApiImageFromVolumeRequest) ImageFromVolumePayload

func (r ApiImageFromVolumeRequest) ImageFromVolumePayload(imageFromVolumePayload ImageFromVolumePayload) ApiImageFromVolumeRequest

Create an image from a volume.

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 ApiListNetworkAreaRegionsRequest

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

func (ApiListNetworkAreaRegionsRequest) 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 ApiListRoutesOfRoutingTableRequest

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

func (ApiListRoutesOfRoutingTableRequest) Execute

func (ApiListRoutesOfRoutingTableRequest) LabelSelector

Filter resources by labels.

type ApiListRoutingTablesOfAreaRequest

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

func (ApiListRoutingTablesOfAreaRequest) Execute

func (ApiListRoutingTablesOfAreaRequest) LabelSelector

Filter resources by labels.

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 ApiListSnapshotsInProjectRequest

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

func (ApiListSnapshotsInProjectRequest) Execute

func (ApiListSnapshotsInProjectRequest) LabelSelector

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

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

func (ApiUpdateNetworkAreaRegionRequest) Execute

func (ApiUpdateNetworkAreaRegionRequest) UpdateNetworkAreaRegionPayload

func (r ApiUpdateNetworkAreaRegionRequest) UpdateNetworkAreaRegionPayload(updateNetworkAreaRegionPayload UpdateNetworkAreaRegionPayload) ApiUpdateNetworkAreaRegionRequest

Request an update of a regional network area.

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 ApiUpdateRouteOfRoutingTableRequest

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

func (ApiUpdateRouteOfRoutingTableRequest) Execute

func (ApiUpdateRouteOfRoutingTableRequest) UpdateRouteOfRoutingTablePayload

func (r ApiUpdateRouteOfRoutingTableRequest) UpdateRouteOfRoutingTablePayload(updateRouteOfRoutingTablePayload UpdateRouteOfRoutingTablePayload) ApiUpdateRouteOfRoutingTableRequest

Request an update of a route in a routing table.

type ApiUpdateRoutingTableOfAreaRequest

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

func (ApiUpdateRoutingTableOfAreaRequest) Execute

func (ApiUpdateRoutingTableOfAreaRequest) UpdateRoutingTableOfAreaPayload

func (r ApiUpdateRoutingTableOfAreaRequest) UpdateRoutingTableOfAreaPayload(updateRoutingTableOfAreaPayload UpdateRoutingTableOfAreaPayload) ApiUpdateRoutingTableOfAreaRequest

Request an update of a routing table.

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

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

CreateBackupPayload Object that represents a backup create request body.

func NewCreateBackupPayload

func NewCreateBackupPayload(source BackupSource) *CreateBackupPayload

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

func NewCreateBackupPayloadWithDefaults

func NewCreateBackupPayloadWithDefaults() *CreateBackupPayload

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

func (*CreateBackupPayload) GetLabels

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

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

func (*CreateBackupPayload) GetLabelsOk

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

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

func (*CreateBackupPayload) GetName

func (o *CreateBackupPayload) GetName() string

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

func (*CreateBackupPayload) GetNameOk

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

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

func (*CreateBackupPayload) GetSource

func (o *CreateBackupPayload) GetSource() BackupSource

GetSource returns the Source field value

func (*CreateBackupPayload) GetSourceOk

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

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

func (*CreateBackupPayload) HasLabels

func (o *CreateBackupPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateBackupPayload) HasName

func (o *CreateBackupPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateBackupPayload) MarshalJSON

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

func (*CreateBackupPayload) SetLabels

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

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

func (*CreateBackupPayload) SetName

func (o *CreateBackupPayload) SetName(v string)

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

func (*CreateBackupPayload) SetSource

func (o *CreateBackupPayload) SetSource(v BackupSource)

SetSource sets field value

func (CreateBackupPayload) ToMap

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

func (*CreateBackupPayload) UnmarshalJSON

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

type CreateImagePayload

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

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

func NewCreateImagePayload

func NewCreateImagePayload(diskFormat string, name string) *CreateImagePayload

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

func NewCreateImagePayloadWithDefaults

func NewCreateImagePayloadWithDefaults() *CreateImagePayload

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

func (*CreateImagePayload) GetAgent

func (o *CreateImagePayload) GetAgent() ImageAgent

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

func (*CreateImagePayload) GetAgentOk

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

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

func (*CreateImagePayload) GetChecksum

func (o *CreateImagePayload) GetChecksum() ImageChecksum

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

func (*CreateImagePayload) GetChecksumOk

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

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

func (*CreateImagePayload) GetConfig

func (o *CreateImagePayload) GetConfig() ImageConfig

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

func (*CreateImagePayload) GetConfigOk

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

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

func (*CreateImagePayload) GetCreatedAt

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

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

func (*CreateImagePayload) GetCreatedAtOk

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

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

func (*CreateImagePayload) GetDiskFormat

func (o *CreateImagePayload) GetDiskFormat() string

GetDiskFormat returns the DiskFormat field value

func (*CreateImagePayload) GetDiskFormatOk

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

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

func (*CreateImagePayload) GetId

func (o *CreateImagePayload) GetId() string

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

func (*CreateImagePayload) GetIdOk

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

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

func (*CreateImagePayload) GetImportProgress

func (o *CreateImagePayload) GetImportProgress() int64

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

func (*CreateImagePayload) GetImportProgressOk

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

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

func (*CreateImagePayload) GetLabels

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

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

func (*CreateImagePayload) GetLabelsOk

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

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

func (*CreateImagePayload) GetMinDiskSize

func (o *CreateImagePayload) GetMinDiskSize() int64

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

func (*CreateImagePayload) GetMinDiskSizeOk

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

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

func (*CreateImagePayload) GetMinRam

func (o *CreateImagePayload) GetMinRam() int64

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

func (*CreateImagePayload) GetMinRamOk

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

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

func (*CreateImagePayload) GetName

func (o *CreateImagePayload) GetName() string

GetName returns the Name field value

func (*CreateImagePayload) GetNameOk

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

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

func (*CreateImagePayload) GetOwner

func (o *CreateImagePayload) GetOwner() string

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

func (*CreateImagePayload) GetOwnerOk

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

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

func (*CreateImagePayload) GetProtected

func (o *CreateImagePayload) GetProtected() bool

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

func (*CreateImagePayload) GetProtectedOk

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

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

func (*CreateImagePayload) GetScope

func (o *CreateImagePayload) GetScope() string

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

func (*CreateImagePayload) GetScopeOk

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

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

func (*CreateImagePayload) GetSize

func (o *CreateImagePayload) GetSize() int64

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

func (*CreateImagePayload) GetSizeOk

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

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

func (*CreateImagePayload) GetStatus

func (o *CreateImagePayload) GetStatus() string

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

func (*CreateImagePayload) GetStatusOk

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

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

func (*CreateImagePayload) GetUpdatedAt

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

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

func (*CreateImagePayload) GetUpdatedAtOk

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

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

func (*CreateImagePayload) HasAgent

func (o *CreateImagePayload) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*CreateImagePayload) HasChecksum

func (o *CreateImagePayload) HasChecksum() bool

HasChecksum returns a boolean if a field has been set.

func (*CreateImagePayload) HasConfig

func (o *CreateImagePayload) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateImagePayload) HasCreatedAt

func (o *CreateImagePayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateImagePayload) HasId

func (o *CreateImagePayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateImagePayload) HasImportProgress

func (o *CreateImagePayload) HasImportProgress() bool

HasImportProgress returns a boolean if a field has been set.

func (*CreateImagePayload) HasLabels

func (o *CreateImagePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateImagePayload) HasMinDiskSize

func (o *CreateImagePayload) HasMinDiskSize() bool

HasMinDiskSize returns a boolean if a field has been set.

func (*CreateImagePayload) HasMinRam

func (o *CreateImagePayload) HasMinRam() bool

HasMinRam returns a boolean if a field has been set.

func (*CreateImagePayload) HasOwner

func (o *CreateImagePayload) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*CreateImagePayload) HasProtected

func (o *CreateImagePayload) HasProtected() bool

HasProtected returns a boolean if a field has been set.

func (*CreateImagePayload) HasScope

func (o *CreateImagePayload) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*CreateImagePayload) HasSize

func (o *CreateImagePayload) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*CreateImagePayload) HasStatus

func (o *CreateImagePayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateImagePayload) HasUpdatedAt

func (o *CreateImagePayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CreateImagePayload) MarshalJSON

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

func (*CreateImagePayload) SetAgent

func (o *CreateImagePayload) SetAgent(v ImageAgent)

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

func (*CreateImagePayload) SetChecksum

func (o *CreateImagePayload) SetChecksum(v ImageChecksum)

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

func (*CreateImagePayload) SetConfig

func (o *CreateImagePayload) SetConfig(v ImageConfig)

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

func (*CreateImagePayload) SetCreatedAt

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

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

func (*CreateImagePayload) SetDiskFormat

func (o *CreateImagePayload) SetDiskFormat(v string)

SetDiskFormat sets field value

func (*CreateImagePayload) SetId

func (o *CreateImagePayload) SetId(v string)

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

func (*CreateImagePayload) SetImportProgress

func (o *CreateImagePayload) SetImportProgress(v int64)

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

func (*CreateImagePayload) SetLabels

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

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

func (*CreateImagePayload) SetMinDiskSize

func (o *CreateImagePayload) SetMinDiskSize(v int64)

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

func (*CreateImagePayload) SetMinRam

func (o *CreateImagePayload) SetMinRam(v int64)

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

func (*CreateImagePayload) SetName

func (o *CreateImagePayload) SetName(v string)

SetName sets field value

func (*CreateImagePayload) SetOwner

func (o *CreateImagePayload) SetOwner(v string)

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

func (*CreateImagePayload) SetProtected

func (o *CreateImagePayload) SetProtected(v bool)

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

func (*CreateImagePayload) SetScope

func (o *CreateImagePayload) SetScope(v string)

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

func (*CreateImagePayload) SetSize

func (o *CreateImagePayload) SetSize(v int64)

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

func (*CreateImagePayload) SetStatus

func (o *CreateImagePayload) SetStatus(v string)

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

func (*CreateImagePayload) SetUpdatedAt

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

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

func (CreateImagePayload) ToMap

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

func (*CreateImagePayload) UnmarshalJSON

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

type CreateIsolatedNetworkPayload

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

CreateIsolatedNetworkPayload Object that represents the request body for a single isolated network create.

func NewCreateIsolatedNetworkPayload

func NewCreateIsolatedNetworkPayload(name string) *CreateIsolatedNetworkPayload

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

func NewCreateIsolatedNetworkPayloadWithDefaults

func NewCreateIsolatedNetworkPayloadWithDefaults() *CreateIsolatedNetworkPayload

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

func (*CreateIsolatedNetworkPayload) GetDhcp

func (o *CreateIsolatedNetworkPayload) GetDhcp() bool

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

func (*CreateIsolatedNetworkPayload) GetDhcpOk

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

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

func (*CreateIsolatedNetworkPayload) GetIpv4

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

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

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

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

func (*CreateIsolatedNetworkPayload) GetLabelsOk

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

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

func (*CreateIsolatedNetworkPayload) GetName

func (o *CreateIsolatedNetworkPayload) GetName() string

GetName returns the Name field value

func (*CreateIsolatedNetworkPayload) GetNameOk

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

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

func (*CreateIsolatedNetworkPayload) HasDhcp

func (o *CreateIsolatedNetworkPayload) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*CreateIsolatedNetworkPayload) HasIpv4

func (o *CreateIsolatedNetworkPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateIsolatedNetworkPayload) HasLabels

func (o *CreateIsolatedNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (CreateIsolatedNetworkPayload) MarshalJSON

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

func (*CreateIsolatedNetworkPayload) SetDhcp

func (o *CreateIsolatedNetworkPayload) SetDhcp(v bool)

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

func (*CreateIsolatedNetworkPayload) SetIpv4

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

func (*CreateIsolatedNetworkPayload) SetLabels

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

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

func (*CreateIsolatedNetworkPayload) SetName

func (o *CreateIsolatedNetworkPayload) SetName(v string)

SetName sets field value

func (CreateIsolatedNetworkPayload) ToMap

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

func (*CreateIsolatedNetworkPayload) UnmarshalJSON

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

type CreateKeyPairPayload

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

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

func NewCreateKeyPairPayload

func NewCreateKeyPairPayload(publicKey string) *CreateKeyPairPayload

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

func NewCreateKeyPairPayloadWithDefaults

func NewCreateKeyPairPayloadWithDefaults() *CreateKeyPairPayload

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

func (*CreateKeyPairPayload) GetCreatedAt

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

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

func (*CreateKeyPairPayload) GetCreatedAtOk

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

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

func (*CreateKeyPairPayload) GetFingerprint

func (o *CreateKeyPairPayload) GetFingerprint() string

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

func (*CreateKeyPairPayload) GetFingerprintOk

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

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

func (*CreateKeyPairPayload) GetLabels

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

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

func (*CreateKeyPairPayload) GetLabelsOk

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

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

func (*CreateKeyPairPayload) GetName

func (o *CreateKeyPairPayload) GetName() string

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

func (*CreateKeyPairPayload) GetNameOk

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

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

func (*CreateKeyPairPayload) GetPublicKey

func (o *CreateKeyPairPayload) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*CreateKeyPairPayload) GetPublicKeyOk

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

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

func (*CreateKeyPairPayload) GetUpdatedAt

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

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

func (*CreateKeyPairPayload) GetUpdatedAtOk

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

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

func (*CreateKeyPairPayload) HasCreatedAt

func (o *CreateKeyPairPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasFingerprint

func (o *CreateKeyPairPayload) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasLabels

func (o *CreateKeyPairPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasName

func (o *CreateKeyPairPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateKeyPairPayload) HasUpdatedAt

func (o *CreateKeyPairPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CreateKeyPairPayload) MarshalJSON

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

func (*CreateKeyPairPayload) SetCreatedAt

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

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

func (*CreateKeyPairPayload) SetFingerprint

func (o *CreateKeyPairPayload) SetFingerprint(v string)

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

func (*CreateKeyPairPayload) SetLabels

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

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

func (*CreateKeyPairPayload) SetName

func (o *CreateKeyPairPayload) SetName(v string)

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

func (*CreateKeyPairPayload) SetPublicKey

func (o *CreateKeyPairPayload) SetPublicKey(v string)

SetPublicKey sets field value

func (*CreateKeyPairPayload) SetUpdatedAt

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

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

func (CreateKeyPairPayload) ToMap

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

func (*CreateKeyPairPayload) UnmarshalJSON

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

type CreateNetworkAreaPayload

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

CreateNetworkAreaPayload Object that represents the network area create request.

func NewCreateNetworkAreaPayload

func NewCreateNetworkAreaPayload(name string) *CreateNetworkAreaPayload

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

func NewCreateNetworkAreaPayloadWithDefaults

func NewCreateNetworkAreaPayloadWithDefaults() *CreateNetworkAreaPayload

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

func (*CreateNetworkAreaPayload) GetLabels

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

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

func (*CreateNetworkAreaPayload) GetLabelsOk

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

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

func (*CreateNetworkAreaPayload) GetName

func (o *CreateNetworkAreaPayload) GetName() string

GetName returns the Name field value

func (*CreateNetworkAreaPayload) GetNameOk

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

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

func (*CreateNetworkAreaPayload) HasLabels

func (o *CreateNetworkAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (CreateNetworkAreaPayload) MarshalJSON

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

func (*CreateNetworkAreaPayload) SetLabels

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

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

func (*CreateNetworkAreaPayload) SetName

func (o *CreateNetworkAreaPayload) SetName(v string)

SetName sets field value

func (CreateNetworkAreaPayload) ToMap

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

func (*CreateNetworkAreaPayload) UnmarshalJSON

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

type CreateNetworkAreaRangePayload

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

CreateNetworkAreaRangePayload struct for CreateNetworkAreaRangePayload

func NewCreateNetworkAreaRangePayload

func NewCreateNetworkAreaRangePayload() *CreateNetworkAreaRangePayload

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

func NewCreateNetworkAreaRangePayloadWithDefaults

func NewCreateNetworkAreaRangePayloadWithDefaults() *CreateNetworkAreaRangePayload

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

func (*CreateNetworkAreaRangePayload) GetIpv4

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 CreateNetworkAreaRegionPayload

type CreateNetworkAreaRegionPayload struct {
	Ipv4 *RegionalAreaIPv4 `json:"ipv4,omitempty"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	Status *string `json:"status,omitempty"`
}

CreateNetworkAreaRegionPayload The basic properties of a regional network area.

func NewCreateNetworkAreaRegionPayload

func NewCreateNetworkAreaRegionPayload() *CreateNetworkAreaRegionPayload

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

func NewCreateNetworkAreaRegionPayloadWithDefaults

func NewCreateNetworkAreaRegionPayloadWithDefaults() *CreateNetworkAreaRegionPayload

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

func (*CreateNetworkAreaRegionPayload) GetIpv4

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

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

func (o *CreateNetworkAreaRegionPayload) GetStatus() string

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

func (*CreateNetworkAreaRegionPayload) GetStatusOk

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

func (o *CreateNetworkAreaRegionPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNetworkAreaRegionPayload) HasStatus

func (o *CreateNetworkAreaRegionPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (CreateNetworkAreaRegionPayload) MarshalJSON

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

func (*CreateNetworkAreaRegionPayload) SetIpv4

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

func (*CreateNetworkAreaRegionPayload) SetStatus

func (o *CreateNetworkAreaRegionPayload) SetStatus(v string)

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

func (CreateNetworkAreaRegionPayload) ToMap

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

type CreateNetworkAreaRoutePayload

type CreateNetworkAreaRoutePayload struct {
	// A list of routes.
	Items []Route `json:"items"`
}

CreateNetworkAreaRoutePayload Object represents a request to add network routes.

func NewCreateNetworkAreaRoutePayload

func NewCreateNetworkAreaRoutePayload(items []Route) *CreateNetworkAreaRoutePayload

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

func NewCreateNetworkAreaRoutePayloadWithDefaults

func NewCreateNetworkAreaRoutePayloadWithDefaults() *CreateNetworkAreaRoutePayload

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

func (*CreateNetworkAreaRoutePayload) GetItems

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

GetItems returns the Items field value

func (*CreateNetworkAreaRoutePayload) GetItemsOk

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

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

func (CreateNetworkAreaRoutePayload) MarshalJSON

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

func (*CreateNetworkAreaRoutePayload) SetItems

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

SetItems sets field value

func (CreateNetworkAreaRoutePayload) ToMap

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

func (*CreateNetworkAreaRoutePayload) UnmarshalJSON

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

type CreateNetworkIPv4

type CreateNetworkIPv4 struct {
	CreateNetworkIPv4WithPrefix       *CreateNetworkIPv4WithPrefix
	CreateNetworkIPv4WithPrefixLength *CreateNetworkIPv4WithPrefixLength
}

CreateNetworkIPv4 - The create request for an IPv4 network.

func CreateNetworkIPv4WithPrefixAsCreateNetworkIPv4

func CreateNetworkIPv4WithPrefixAsCreateNetworkIPv4(v *CreateNetworkIPv4WithPrefix) CreateNetworkIPv4

CreateNetworkIPv4WithPrefixAsCreateNetworkIPv4 is a convenience function that returns CreateNetworkIPv4WithPrefix wrapped in CreateNetworkIPv4

func CreateNetworkIPv4WithPrefixLengthAsCreateNetworkIPv4

func CreateNetworkIPv4WithPrefixLengthAsCreateNetworkIPv4(v *CreateNetworkIPv4WithPrefixLength) CreateNetworkIPv4

CreateNetworkIPv4WithPrefixLengthAsCreateNetworkIPv4 is a convenience function that returns CreateNetworkIPv4WithPrefixLength wrapped in CreateNetworkIPv4

func (*CreateNetworkIPv4) GetActualInstance

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

Get the actual instance

func (CreateNetworkIPv4) GetActualInstanceValue

func (obj CreateNetworkIPv4) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateNetworkIPv4) MarshalJSON

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

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

func (*CreateNetworkIPv4) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type CreateNetworkIPv4WithPrefix

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

CreateNetworkIPv4WithPrefix The create request for an IPv4 network with a specified prefix.

func NewCreateNetworkIPv4WithPrefix

func NewCreateNetworkIPv4WithPrefix(prefix string) *CreateNetworkIPv4WithPrefix

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

func NewCreateNetworkIPv4WithPrefixWithDefaults

func NewCreateNetworkIPv4WithPrefixWithDefaults() *CreateNetworkIPv4WithPrefix

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

func (*CreateNetworkIPv4WithPrefix) GetGateway

func (o *CreateNetworkIPv4WithPrefix) GetGateway() string

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

func (*CreateNetworkIPv4WithPrefix) GetGatewayOk

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

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

func (*CreateNetworkIPv4WithPrefix) GetNameservers

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

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

func (*CreateNetworkIPv4WithPrefix) GetNameserversOk

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

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

func (*CreateNetworkIPv4WithPrefix) GetPrefix

func (o *CreateNetworkIPv4WithPrefix) GetPrefix() string

GetPrefix returns the Prefix field value

func (*CreateNetworkIPv4WithPrefix) GetPrefixOk

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

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

func (*CreateNetworkIPv4WithPrefix) HasGateway

func (o *CreateNetworkIPv4WithPrefix) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CreateNetworkIPv4WithPrefix) HasNameservers

func (o *CreateNetworkIPv4WithPrefix) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (CreateNetworkIPv4WithPrefix) MarshalJSON

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

func (*CreateNetworkIPv4WithPrefix) SetGateway

func (o *CreateNetworkIPv4WithPrefix) SetGateway(v string)

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

func (*CreateNetworkIPv4WithPrefix) SetGatewayNil

func (o *CreateNetworkIPv4WithPrefix) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*CreateNetworkIPv4WithPrefix) SetNameservers

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

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

func (*CreateNetworkIPv4WithPrefix) SetPrefix

func (o *CreateNetworkIPv4WithPrefix) SetPrefix(v string)

SetPrefix sets field value

func (CreateNetworkIPv4WithPrefix) ToMap

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

func (*CreateNetworkIPv4WithPrefix) UnmarshalJSON

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

func (*CreateNetworkIPv4WithPrefix) UnsetGateway

func (o *CreateNetworkIPv4WithPrefix) UnsetGateway()

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

type CreateNetworkIPv4WithPrefixLength

type CreateNetworkIPv4WithPrefixLength struct {
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers  []string `json:"nameservers,omitempty"`
	PrefixLength int64    `json:"prefixLength"`
}

CreateNetworkIPv4WithPrefixLength The create request for an IPv4 network with a wanted prefix length.

func NewCreateNetworkIPv4WithPrefixLength

func NewCreateNetworkIPv4WithPrefixLength(prefixLength int64) *CreateNetworkIPv4WithPrefixLength

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

func NewCreateNetworkIPv4WithPrefixLengthWithDefaults

func NewCreateNetworkIPv4WithPrefixLengthWithDefaults() *CreateNetworkIPv4WithPrefixLength

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

func (*CreateNetworkIPv4WithPrefixLength) GetNameservers

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

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

func (*CreateNetworkIPv4WithPrefixLength) GetNameserversOk

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

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

func (*CreateNetworkIPv4WithPrefixLength) GetPrefixLength

func (o *CreateNetworkIPv4WithPrefixLength) GetPrefixLength() int64

GetPrefixLength returns the PrefixLength field value

func (*CreateNetworkIPv4WithPrefixLength) GetPrefixLengthOk

func (o *CreateNetworkIPv4WithPrefixLength) GetPrefixLengthOk() (*int64, bool)

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

func (*CreateNetworkIPv4WithPrefixLength) HasNameservers

func (o *CreateNetworkIPv4WithPrefixLength) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (CreateNetworkIPv4WithPrefixLength) MarshalJSON

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

func (*CreateNetworkIPv4WithPrefixLength) SetNameservers

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

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

func (*CreateNetworkIPv4WithPrefixLength) SetPrefixLength

func (o *CreateNetworkIPv4WithPrefixLength) SetPrefixLength(v int64)

SetPrefixLength sets field value

func (CreateNetworkIPv4WithPrefixLength) ToMap

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

func (*CreateNetworkIPv4WithPrefixLength) UnmarshalJSON

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

type CreateNetworkIPv6

type CreateNetworkIPv6 struct {
	CreateNetworkIPv6WithPrefix       *CreateNetworkIPv6WithPrefix
	CreateNetworkIPv6WithPrefixLength *CreateNetworkIPv6WithPrefixLength
}

CreateNetworkIPv6 - The create request for an IPv6 network.

func CreateNetworkIPv6WithPrefixAsCreateNetworkIPv6

func CreateNetworkIPv6WithPrefixAsCreateNetworkIPv6(v *CreateNetworkIPv6WithPrefix) CreateNetworkIPv6

CreateNetworkIPv6WithPrefixAsCreateNetworkIPv6 is a convenience function that returns CreateNetworkIPv6WithPrefix wrapped in CreateNetworkIPv6

func CreateNetworkIPv6WithPrefixLengthAsCreateNetworkIPv6

func CreateNetworkIPv6WithPrefixLengthAsCreateNetworkIPv6(v *CreateNetworkIPv6WithPrefixLength) CreateNetworkIPv6

CreateNetworkIPv6WithPrefixLengthAsCreateNetworkIPv6 is a convenience function that returns CreateNetworkIPv6WithPrefixLength wrapped in CreateNetworkIPv6

func (*CreateNetworkIPv6) GetActualInstance

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

Get the actual instance

func (CreateNetworkIPv6) GetActualInstanceValue

func (obj CreateNetworkIPv6) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateNetworkIPv6) MarshalJSON

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

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

func (*CreateNetworkIPv6) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type CreateNetworkIPv6WithPrefix

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

CreateNetworkIPv6WithPrefix The create request for an IPv6 network with a specified prefix.

func NewCreateNetworkIPv6WithPrefix

func NewCreateNetworkIPv6WithPrefix(prefix string) *CreateNetworkIPv6WithPrefix

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

func NewCreateNetworkIPv6WithPrefixWithDefaults

func NewCreateNetworkIPv6WithPrefixWithDefaults() *CreateNetworkIPv6WithPrefix

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

func (*CreateNetworkIPv6WithPrefix) GetGateway

func (o *CreateNetworkIPv6WithPrefix) GetGateway() string

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

func (*CreateNetworkIPv6WithPrefix) GetGatewayOk

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

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

func (*CreateNetworkIPv6WithPrefix) GetNameservers

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

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

func (*CreateNetworkIPv6WithPrefix) GetNameserversOk

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

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

func (*CreateNetworkIPv6WithPrefix) GetPrefix

func (o *CreateNetworkIPv6WithPrefix) GetPrefix() string

GetPrefix returns the Prefix field value

func (*CreateNetworkIPv6WithPrefix) GetPrefixOk

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

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

func (*CreateNetworkIPv6WithPrefix) HasGateway

func (o *CreateNetworkIPv6WithPrefix) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CreateNetworkIPv6WithPrefix) HasNameservers

func (o *CreateNetworkIPv6WithPrefix) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (CreateNetworkIPv6WithPrefix) MarshalJSON

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

func (*CreateNetworkIPv6WithPrefix) SetGateway

func (o *CreateNetworkIPv6WithPrefix) SetGateway(v string)

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

func (*CreateNetworkIPv6WithPrefix) SetGatewayNil

func (o *CreateNetworkIPv6WithPrefix) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*CreateNetworkIPv6WithPrefix) SetNameservers

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

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

func (*CreateNetworkIPv6WithPrefix) SetPrefix

func (o *CreateNetworkIPv6WithPrefix) SetPrefix(v string)

SetPrefix sets field value

func (CreateNetworkIPv6WithPrefix) ToMap

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

func (*CreateNetworkIPv6WithPrefix) UnmarshalJSON

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

func (*CreateNetworkIPv6WithPrefix) UnsetGateway

func (o *CreateNetworkIPv6WithPrefix) UnsetGateway()

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

type CreateNetworkIPv6WithPrefixLength

type CreateNetworkIPv6WithPrefixLength struct {
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers  []string `json:"nameservers,omitempty"`
	PrefixLength int64    `json:"prefixLength"`
}

CreateNetworkIPv6WithPrefixLength The create request for an IPv6 network with a wanted prefix length.

func NewCreateNetworkIPv6WithPrefixLength

func NewCreateNetworkIPv6WithPrefixLength(prefixLength int64) *CreateNetworkIPv6WithPrefixLength

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

func NewCreateNetworkIPv6WithPrefixLengthWithDefaults

func NewCreateNetworkIPv6WithPrefixLengthWithDefaults() *CreateNetworkIPv6WithPrefixLength

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

func (*CreateNetworkIPv6WithPrefixLength) GetNameservers

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

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

func (*CreateNetworkIPv6WithPrefixLength) GetNameserversOk

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

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

func (*CreateNetworkIPv6WithPrefixLength) GetPrefixLength

func (o *CreateNetworkIPv6WithPrefixLength) GetPrefixLength() int64

GetPrefixLength returns the PrefixLength field value

func (*CreateNetworkIPv6WithPrefixLength) GetPrefixLengthOk

func (o *CreateNetworkIPv6WithPrefixLength) GetPrefixLengthOk() (*int64, bool)

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

func (*CreateNetworkIPv6WithPrefixLength) HasNameservers

func (o *CreateNetworkIPv6WithPrefixLength) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (CreateNetworkIPv6WithPrefixLength) MarshalJSON

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

func (*CreateNetworkIPv6WithPrefixLength) SetNameservers

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

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

func (*CreateNetworkIPv6WithPrefixLength) SetPrefixLength

func (o *CreateNetworkIPv6WithPrefixLength) SetPrefixLength(v int64)

SetPrefixLength sets field value

func (CreateNetworkIPv6WithPrefixLength) ToMap

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

func (*CreateNetworkIPv6WithPrefixLength) UnmarshalJSON

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

type CreateNetworkPayload

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

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

func NewCreateNetworkPayload

func NewCreateNetworkPayload(name string) *CreateNetworkPayload

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

func NewCreateNetworkPayloadWithDefaults

func NewCreateNetworkPayloadWithDefaults() *CreateNetworkPayload

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

func (*CreateNetworkPayload) GetDhcp

func (o *CreateNetworkPayload) GetDhcp() bool

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

func (*CreateNetworkPayload) GetDhcpOk

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

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

func (*CreateNetworkPayload) GetIpv4

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

func (*CreateNetworkPayload) GetIpv4Ok

func (o *CreateNetworkPayload) GetIpv4Ok() (*CreateNetworkIPv4, bool)

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

func (*CreateNetworkPayload) GetIpv6

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

func (*CreateNetworkPayload) GetIpv6Ok

func (o *CreateNetworkPayload) GetIpv6Ok() (*CreateNetworkIPv6, bool)

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

func (*CreateNetworkPayload) GetLabels

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

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

func (*CreateNetworkPayload) GetLabelsOk

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

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

func (*CreateNetworkPayload) GetName

func (o *CreateNetworkPayload) GetName() string

GetName returns the Name field value

func (*CreateNetworkPayload) GetNameOk

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

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

func (*CreateNetworkPayload) GetRouted

func (o *CreateNetworkPayload) GetRouted() bool

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

func (*CreateNetworkPayload) GetRoutedOk

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

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

func (*CreateNetworkPayload) GetRoutingTableId

func (o *CreateNetworkPayload) GetRoutingTableId() string

GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetRoutingTableIdOk

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

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

func (*CreateNetworkPayload) HasDhcp

func (o *CreateNetworkPayload) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasIpv4

func (o *CreateNetworkPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasIpv6

func (o *CreateNetworkPayload) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasLabels

func (o *CreateNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasRouted

func (o *CreateNetworkPayload) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasRoutingTableId

func (o *CreateNetworkPayload) HasRoutingTableId() bool

HasRoutingTableId returns a boolean if a field has been set.

func (CreateNetworkPayload) MarshalJSON

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

func (*CreateNetworkPayload) SetDhcp

func (o *CreateNetworkPayload) SetDhcp(v bool)

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

func (*CreateNetworkPayload) SetIpv4

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

func (*CreateNetworkPayload) SetIpv6

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

func (*CreateNetworkPayload) SetLabels

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

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

func (*CreateNetworkPayload) SetName

func (o *CreateNetworkPayload) SetName(v string)

SetName sets field value

func (*CreateNetworkPayload) SetRouted

func (o *CreateNetworkPayload) SetRouted(v bool)

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

func (*CreateNetworkPayload) SetRoutingTableId

func (o *CreateNetworkPayload) SetRoutingTableId(v string)

SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId field.

func (CreateNetworkPayload) ToMap

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

func (*CreateNetworkPayload) UnmarshalJSON

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

type CreateNicPayload

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

CreateNicPayload Object that represents a network interface.

func NewCreateNicPayload

func NewCreateNicPayload() *CreateNicPayload

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

func NewCreateNicPayloadWithDefaults

func NewCreateNicPayloadWithDefaults() *CreateNicPayload

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

func (*CreateNicPayload) GetAllowedAddresses

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

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

func (*CreateNicPayload) GetAllowedAddressesOk

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

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

func (*CreateNicPayload) GetDescription

func (o *CreateNicPayload) GetDescription() string

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

func (*CreateNicPayload) GetDescriptionOk

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

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

func (*CreateNicPayload) GetDevice

func (o *CreateNicPayload) GetDevice() string

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

func (*CreateNicPayload) GetDeviceOk

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

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

func (*CreateNicPayload) GetId

func (o *CreateNicPayload) GetId() string

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

func (*CreateNicPayload) GetIdOk

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

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

func (*CreateNicPayload) GetIpv4

func (o *CreateNicPayload) GetIpv4() string

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

func (*CreateNicPayload) GetIpv4Ok

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

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

func (*CreateNicPayload) GetIpv6

func (o *CreateNicPayload) GetIpv6() string

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

func (*CreateNicPayload) GetIpv6Ok

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

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

func (*CreateNicPayload) GetLabels

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

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

func (*CreateNicPayload) GetLabelsOk

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

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

func (*CreateNicPayload) GetMac

func (o *CreateNicPayload) GetMac() string

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

func (*CreateNicPayload) GetMacOk

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

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

func (*CreateNicPayload) GetName

func (o *CreateNicPayload) GetName() string

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

func (*CreateNicPayload) GetNameOk

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

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

func (*CreateNicPayload) GetNetworkId

func (o *CreateNicPayload) GetNetworkId() string

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

func (*CreateNicPayload) GetNetworkIdOk

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

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

func (*CreateNicPayload) GetNicSecurity

func (o *CreateNicPayload) GetNicSecurity() bool

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

func (*CreateNicPayload) GetNicSecurityOk

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

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

func (*CreateNicPayload) GetSecurityGroups

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

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

func (*CreateNicPayload) GetSecurityGroupsOk

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

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

func (*CreateNicPayload) GetStatus

func (o *CreateNicPayload) GetStatus() string

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

func (*CreateNicPayload) GetStatusOk

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

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

func (*CreateNicPayload) GetType

func (o *CreateNicPayload) GetType() string

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

func (*CreateNicPayload) GetTypeOk

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

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

func (*CreateNicPayload) HasAllowedAddresses

func (o *CreateNicPayload) HasAllowedAddresses() bool

HasAllowedAddresses returns a boolean if a field has been set.

func (*CreateNicPayload) HasDescription

func (o *CreateNicPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateNicPayload) HasDevice

func (o *CreateNicPayload) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*CreateNicPayload) HasId

func (o *CreateNicPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateNicPayload) HasIpv4

func (o *CreateNicPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNicPayload) HasIpv6

func (o *CreateNicPayload) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*CreateNicPayload) HasLabels

func (o *CreateNicPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNicPayload) HasMac

func (o *CreateNicPayload) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*CreateNicPayload) HasName

func (o *CreateNicPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateNicPayload) HasNetworkId

func (o *CreateNicPayload) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*CreateNicPayload) HasNicSecurity

func (o *CreateNicPayload) HasNicSecurity() bool

HasNicSecurity returns a boolean if a field has been set.

func (*CreateNicPayload) HasSecurityGroups

func (o *CreateNicPayload) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*CreateNicPayload) HasStatus

func (o *CreateNicPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateNicPayload) HasType

func (o *CreateNicPayload) HasType() bool

HasType returns a boolean if a field has been set.

func (CreateNicPayload) MarshalJSON

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

func (*CreateNicPayload) SetAllowedAddresses

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

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

func (*CreateNicPayload) SetDescription

func (o *CreateNicPayload) SetDescription(v string)

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

func (*CreateNicPayload) SetDevice

func (o *CreateNicPayload) SetDevice(v string)

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

func (*CreateNicPayload) SetId

func (o *CreateNicPayload) SetId(v string)

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

func (*CreateNicPayload) SetIpv4

func (o *CreateNicPayload) SetIpv4(v string)

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

func (*CreateNicPayload) SetIpv6

func (o *CreateNicPayload) SetIpv6(v string)

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

func (*CreateNicPayload) SetLabels

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

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

func (*CreateNicPayload) SetMac

func (o *CreateNicPayload) SetMac(v string)

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

func (*CreateNicPayload) SetName

func (o *CreateNicPayload) SetName(v string)

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

func (*CreateNicPayload) SetNetworkId

func (o *CreateNicPayload) SetNetworkId(v string)

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

func (*CreateNicPayload) SetNicSecurity

func (o *CreateNicPayload) SetNicSecurity(v bool)

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

func (*CreateNicPayload) SetSecurityGroups

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

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

func (*CreateNicPayload) SetStatus

func (o *CreateNicPayload) SetStatus(v string)

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

func (*CreateNicPayload) SetType

func (o *CreateNicPayload) SetType(v string)

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

func (CreateNicPayload) ToMap

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

type CreateProtocol

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

CreatePublicIPPayload Object that represents a public IP.

func NewCreatePublicIPPayload

func NewCreatePublicIPPayload() *CreatePublicIPPayload

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

func NewCreatePublicIPPayloadWithDefaults

func NewCreatePublicIPPayloadWithDefaults() *CreatePublicIPPayload

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

func (*CreatePublicIPPayload) GetId

func (o *CreatePublicIPPayload) GetId() string

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

func (*CreatePublicIPPayload) GetIdOk

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

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

func (*CreatePublicIPPayload) GetIp

func (o *CreatePublicIPPayload) GetIp() string

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

func (*CreatePublicIPPayload) GetIpOk

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

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

func (*CreatePublicIPPayload) GetLabels

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

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

func (*CreatePublicIPPayload) GetLabelsOk

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

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

func (*CreatePublicIPPayload) GetNetworkInterface

func (o *CreatePublicIPPayload) GetNetworkInterface() string

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

func (*CreatePublicIPPayload) GetNetworkInterfaceOk

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

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

func (*CreatePublicIPPayload) HasId

func (o *CreatePublicIPPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreatePublicIPPayload) HasIp

func (o *CreatePublicIPPayload) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*CreatePublicIPPayload) HasLabels

func (o *CreatePublicIPPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreatePublicIPPayload) HasNetworkInterface

func (o *CreatePublicIPPayload) HasNetworkInterface() bool

HasNetworkInterface returns a boolean if a field has been set.

func (CreatePublicIPPayload) MarshalJSON

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

func (*CreatePublicIPPayload) SetId

func (o *CreatePublicIPPayload) SetId(v string)

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

func (*CreatePublicIPPayload) SetIp

func (o *CreatePublicIPPayload) SetIp(v string)

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

func (*CreatePublicIPPayload) SetLabels

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

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

func (*CreatePublicIPPayload) SetNetworkInterface

func (o *CreatePublicIPPayload) SetNetworkInterface(v string)

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

func (*CreatePublicIPPayload) SetNetworkInterfaceNil

func (o *CreatePublicIPPayload) SetNetworkInterfaceNil()

SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil

func (CreatePublicIPPayload) ToMap

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

func (*CreatePublicIPPayload) UnsetNetworkInterface

func (o *CreatePublicIPPayload) UnsetNetworkInterface()

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

type CreateSecurityGroupPayload

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

CreateSecurityGroupPayload Object that represents a security group.

func NewCreateSecurityGroupPayload

func NewCreateSecurityGroupPayload(name string) *CreateSecurityGroupPayload

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

func NewCreateSecurityGroupPayloadWithDefaults

func NewCreateSecurityGroupPayloadWithDefaults() *CreateSecurityGroupPayload

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

func (*CreateSecurityGroupPayload) GetCreatedAt

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

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

func (*CreateSecurityGroupPayload) GetCreatedAtOk

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

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

func (*CreateSecurityGroupPayload) GetDescription

func (o *CreateSecurityGroupPayload) GetDescription() string

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

func (*CreateSecurityGroupPayload) GetDescriptionOk

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

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

func (*CreateSecurityGroupPayload) GetId

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 CreateServerPayloadAllOfNetworking `json:"networking"`
	// The list of network interfaces (NICs) attached to the server. Only shown when detailed information is requested.
	Nics []ServerNetwork `json:"nics,omitempty"`
	// The power status of a server. Possible values: `CRASHED`, `ERROR`, `RUNNING`, `STOPPED`.
	PowerStatus *string `json:"powerStatus,omitempty"`
	// The initial security groups for the server creation.
	SecurityGroups []string `json:"securityGroups,omitempty"`
	// A list of service account mails. Only shown when detailed information is requested.
	ServiceAccountMails []string `json:"serviceAccountMails,omitempty"`
	// The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.
	Status *string `json:"status,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// User Data that is provided to the server. Must be base64 encoded and is passed via cloud-init to the server. Only shown when detailed information is requested.
	UserData *string `json:"userData,omitempty"`
	// The list of volumes attached to the server.
	Volumes []string `json:"volumes,omitempty"`
}

CreateServerPayload Object that represents the request body for a server create.

func NewCreateServerPayload

func NewCreateServerPayload(machineType string, name string, networking CreateServerPayloadAllOfNetworking) *CreateServerPayload

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

func NewCreateServerPayloadWithDefaults

func NewCreateServerPayloadWithDefaults() *CreateServerPayload

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

func (*CreateServerPayload) GetAffinityGroup

func (o *CreateServerPayload) GetAffinityGroup() string

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

func (*CreateServerPayload) GetAffinityGroupOk

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

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

func (*CreateServerPayload) GetAgent

func (o *CreateServerPayload) GetAgent() ServerAgent

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

func (*CreateServerPayload) GetAgentOk

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

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

func (*CreateServerPayload) GetAvailabilityZone

func (o *CreateServerPayload) GetAvailabilityZone() string

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

func (*CreateServerPayload) GetAvailabilityZoneOk

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

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

func (*CreateServerPayload) GetBootVolume

func (o *CreateServerPayload) GetBootVolume() BootVolume

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

func (*CreateServerPayload) GetBootVolumeOk

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

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

func (*CreateServerPayload) GetCreatedAt

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

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

func (*CreateServerPayload) GetCreatedAtOk

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

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

func (*CreateServerPayload) GetErrorMessage

func (o *CreateServerPayload) GetErrorMessage() string

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

func (*CreateServerPayload) GetErrorMessageOk

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

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

func (*CreateServerPayload) GetId

func (o *CreateServerPayload) GetId() string

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

func (*CreateServerPayload) GetIdOk

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

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

func (*CreateServerPayload) GetImageId

func (o *CreateServerPayload) GetImageId() string

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

func (*CreateServerPayload) GetImageIdOk

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

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

func (*CreateServerPayload) GetKeypairName

func (o *CreateServerPayload) GetKeypairName() string

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

func (*CreateServerPayload) GetKeypairNameOk

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

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

func (*CreateServerPayload) GetLabels

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

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

func (*CreateServerPayload) GetLabelsOk

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

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

func (*CreateServerPayload) GetLaunchedAt

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

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

func (*CreateServerPayload) GetLaunchedAtOk

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

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

func (*CreateServerPayload) GetMachineType

func (o *CreateServerPayload) GetMachineType() string

GetMachineType returns the MachineType field value

func (*CreateServerPayload) GetMachineTypeOk

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

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

func (*CreateServerPayload) GetMaintenanceWindow

func (o *CreateServerPayload) GetMaintenanceWindow() ServerMaintenance

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

func (*CreateServerPayload) GetMaintenanceWindowOk

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

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

func (*CreateServerPayload) GetMetadata

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

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

func (*CreateServerPayload) GetMetadataOk

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

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

func (*CreateServerPayload) GetName

func (o *CreateServerPayload) GetName() string

GetName returns the Name field value

func (*CreateServerPayload) GetNameOk

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

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

func (*CreateServerPayload) GetNetworking

GetNetworking returns the Networking field value

func (*CreateServerPayload) GetNetworkingOk

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

func (*CreateServerPayload) GetNics

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

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

func (*CreateServerPayload) GetNicsOk

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

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

func (*CreateServerPayload) GetPowerStatus

func (o *CreateServerPayload) GetPowerStatus() string

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

func (*CreateServerPayload) GetPowerStatusOk

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

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

func (*CreateServerPayload) GetSecurityGroups

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

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

func (*CreateServerPayload) GetSecurityGroupsOk

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

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

func (*CreateServerPayload) GetServiceAccountMails

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

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

func (*CreateServerPayload) GetServiceAccountMailsOk

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

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

func (*CreateServerPayload) GetStatus

func (o *CreateServerPayload) GetStatus() string

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

func (*CreateServerPayload) GetStatusOk

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

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

func (*CreateServerPayload) GetUpdatedAt

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

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

func (*CreateServerPayload) GetUpdatedAtOk

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

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

func (*CreateServerPayload) GetUserData

func (o *CreateServerPayload) GetUserData() string

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

func (*CreateServerPayload) GetUserDataOk

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

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

func (*CreateServerPayload) GetVolumes

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

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

func (*CreateServerPayload) GetVolumesOk

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

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

func (*CreateServerPayload) HasAffinityGroup

func (o *CreateServerPayload) HasAffinityGroup() bool

HasAffinityGroup returns a boolean if a field has been set.

func (*CreateServerPayload) HasAgent

func (o *CreateServerPayload) HasAgent() bool

HasAgent returns a boolean if a field has been set.

func (*CreateServerPayload) HasAvailabilityZone

func (o *CreateServerPayload) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*CreateServerPayload) HasBootVolume

func (o *CreateServerPayload) HasBootVolume() bool

HasBootVolume returns a boolean if a field has been set.

func (*CreateServerPayload) HasCreatedAt

func (o *CreateServerPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateServerPayload) HasErrorMessage

func (o *CreateServerPayload) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*CreateServerPayload) HasId

func (o *CreateServerPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateServerPayload) HasImageId

func (o *CreateServerPayload) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*CreateServerPayload) HasKeypairName

func (o *CreateServerPayload) HasKeypairName() bool

HasKeypairName returns a boolean if a field has been set.

func (*CreateServerPayload) HasLabels

func (o *CreateServerPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateServerPayload) HasLaunchedAt

func (o *CreateServerPayload) HasLaunchedAt() bool

HasLaunchedAt returns a boolean if a field has been set.

func (*CreateServerPayload) HasMaintenanceWindow

func (o *CreateServerPayload) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*CreateServerPayload) HasMetadata

func (o *CreateServerPayload) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CreateServerPayload) HasNics

func (o *CreateServerPayload) HasNics() bool

HasNics returns a boolean if a field has been set.

func (*CreateServerPayload) HasPowerStatus

func (o *CreateServerPayload) HasPowerStatus() bool

HasPowerStatus returns a boolean if a field has been set.

func (*CreateServerPayload) HasSecurityGroups

func (o *CreateServerPayload) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*CreateServerPayload) HasServiceAccountMails

func (o *CreateServerPayload) HasServiceAccountMails() bool

HasServiceAccountMails returns a boolean if a field has been set.

func (*CreateServerPayload) HasStatus

func (o *CreateServerPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateServerPayload) HasUpdatedAt

func (o *CreateServerPayload) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*CreateServerPayload) HasUserData

func (o *CreateServerPayload) HasUserData() bool

HasUserData returns a boolean if a field has been set.

func (*CreateServerPayload) HasVolumes

func (o *CreateServerPayload) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (CreateServerPayload) MarshalJSON

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

func (*CreateServerPayload) SetAffinityGroup

func (o *CreateServerPayload) SetAffinityGroup(v string)

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

func (*CreateServerPayload) SetAgent

func (o *CreateServerPayload) SetAgent(v ServerAgent)

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

func (*CreateServerPayload) SetAvailabilityZone

func (o *CreateServerPayload) SetAvailabilityZone(v string)

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

func (*CreateServerPayload) SetBootVolume

func (o *CreateServerPayload) SetBootVolume(v BootVolume)

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

func (*CreateServerPayload) SetCreatedAt

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

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

func (*CreateServerPayload) SetErrorMessage

func (o *CreateServerPayload) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*CreateServerPayload) SetId

func (o *CreateServerPayload) SetId(v string)

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

func (*CreateServerPayload) SetImageId

func (o *CreateServerPayload) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*CreateServerPayload) SetKeypairName

func (o *CreateServerPayload) SetKeypairName(v string)

SetKeypairName gets a reference to the given string and assigns it to the KeypairName field.

func (*CreateServerPayload) SetLabels

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

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

func (*CreateServerPayload) SetLaunchedAt

func (o *CreateServerPayload) SetLaunchedAt(v time.Time)

SetLaunchedAt gets a reference to the given time.Time and assigns it to the LaunchedAt field.

func (*CreateServerPayload) SetMachineType

func (o *CreateServerPayload) SetMachineType(v string)

SetMachineType sets field value

func (*CreateServerPayload) SetMaintenanceWindow

func (o *CreateServerPayload) SetMaintenanceWindow(v ServerMaintenance)

SetMaintenanceWindow gets a reference to the given ServerMaintenance and assigns it to the MaintenanceWindow field.

func (*CreateServerPayload) SetMetadata

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

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

func (*CreateServerPayload) SetName

func (o *CreateServerPayload) SetName(v string)

SetName sets field value

func (*CreateServerPayload) SetNetworking

SetNetworking sets field value

func (*CreateServerPayload) SetNics

func (o *CreateServerPayload) SetNics(v []ServerNetwork)

SetNics gets a reference to the given []ServerNetwork and assigns it to the Nics field.

func (*CreateServerPayload) SetPowerStatus

func (o *CreateServerPayload) SetPowerStatus(v string)

SetPowerStatus gets a reference to the given string and assigns it to the PowerStatus field.

func (*CreateServerPayload) SetSecurityGroups

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

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

func (*CreateServerPayload) SetServiceAccountMails

func (o *CreateServerPayload) SetServiceAccountMails(v []string)

SetServiceAccountMails gets a reference to the given []string and assigns it to the ServiceAccountMails field.

func (*CreateServerPayload) SetStatus

func (o *CreateServerPayload) SetStatus(v string)

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

func (*CreateServerPayload) SetUpdatedAt

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

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

func (*CreateServerPayload) SetUserData

func (o *CreateServerPayload) SetUserData(v string)

SetUserData gets a reference to the given string and assigns it to the UserData field.

func (*CreateServerPayload) SetVolumes

func (o *CreateServerPayload) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

func (CreateServerPayload) ToMap

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

func (*CreateServerPayload) UnmarshalJSON

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

type CreateServerPayloadAllOfNetworking

type CreateServerPayloadAllOfNetworking struct {
	CreateServerNetworking         *CreateServerNetworking
	CreateServerNetworkingWithNics *CreateServerNetworkingWithNics
}

CreateServerPayloadAllOfNetworking - struct for CreateServerPayloadAllOfNetworking

func CreateServerNetworkingAsCreateServerPayloadAllOfNetworking

func CreateServerNetworkingAsCreateServerPayloadAllOfNetworking(v *CreateServerNetworking) CreateServerPayloadAllOfNetworking

CreateServerNetworkingAsCreateServerPayloadAllOfNetworking is a convenience function that returns CreateServerNetworking wrapped in CreateServerPayloadAllOfNetworking

func CreateServerNetworkingWithNicsAsCreateServerPayloadAllOfNetworking

func CreateServerNetworkingWithNicsAsCreateServerPayloadAllOfNetworking(v *CreateServerNetworkingWithNics) CreateServerPayloadAllOfNetworking

CreateServerNetworkingWithNicsAsCreateServerPayloadAllOfNetworking is a convenience function that returns CreateServerNetworkingWithNics wrapped in CreateServerPayloadAllOfNetworking

func (*CreateServerPayloadAllOfNetworking) GetActualInstance

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

Get the actual instance

func (CreateServerPayloadAllOfNetworking) GetActualInstanceValue

func (obj CreateServerPayloadAllOfNetworking) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateServerPayloadAllOfNetworking) MarshalJSON

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

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

func (*CreateServerPayloadAllOfNetworking) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type 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 region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiAddNetworkToServerRequest
	*/
	AddNetworkToServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiAddNetworkToServerRequest

	// AddNetworkToServerExecute executes the request
	AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error

	/*
		AddNicToServer Attach an existing network interface.

		Attach an existing network interface to a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param nicId The identifier (ID) of a network interface.
		@return ApiAddNicToServerRequest
	*/
	AddNicToServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiAddNicToServerRequest

	// AddNicToServerExecute executes the request
	AddNicToServerExecute(r ApiAddNicToServerRequest) error

	/*
		AddPublicIpToServer Associate a public IP to the server.

		Associate a public IP to a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiAddPublicIpToServerRequest
	*/
	AddPublicIpToServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest

	// AddPublicIpToServerExecute executes the request
	AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error

	/*
		AddRoutesToRoutingTable Create new routes in a routing table.

		Create new routes in an existing routing table.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@return ApiAddRoutesToRoutingTableRequest
	*/
	AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiAddRoutesToRoutingTableRequest

	// AddRoutesToRoutingTableExecute executes the request
	//  @return RouteListResponse
	AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)

	/*
		AddRoutingTableToArea Create new routing table in a network area.

		Create a new routing table in an existing network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiAddRoutingTableToAreaRequest
	*/
	AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest

	// AddRoutingTableToAreaExecute executes the request
	//  @return RoutingTable
	AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)

	/*
		AddSecurityGroupToServer Add a server to a security group.

		Add an existing server to an existing security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiAddSecurityGroupToServerRequest
	*/
	AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest

	// AddSecurityGroupToServerExecute executes the request
	AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error

	/*
		AddServiceAccountToServer Attach service account to a server.

		Attach an additional service account to the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param serviceAccountMail The e-mail address of a service account.
		@return ApiAddServiceAccountToServerRequest
	*/
	AddServiceAccountToServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest

	// AddServiceAccountToServerExecute executes the request
	//  @return ServiceAccountMailListResponse
	AddServiceAccountToServerExecute(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)

	/*
		AddVolumeToServer Attach a volume to a server.

		Attach an existing volume to an existing server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiAddVolumeToServerRequest
	*/
	AddVolumeToServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiAddVolumeToServerRequest

	// AddVolumeToServerExecute executes the request
	//  @return VolumeAttachment
	AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)

	/*
		CreateAffinityGroup Create a new affinity group in a project.

		Create a new server affinity group in the given project ID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateAffinityGroupRequest
	*/
	CreateAffinityGroup(ctx context.Context, projectId string, region string) ApiCreateAffinityGroupRequest

	// CreateAffinityGroupExecute executes the request
	//  @return AffinityGroup
	CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)

	/*
		CreateBackup Create new Backup.

		Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateBackupRequest
	*/
	CreateBackup(ctx context.Context, projectId string, region string) ApiCreateBackupRequest

	// CreateBackupExecute executes the request
	//  @return Backup
	CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)

	/*
		CreateImage Create new Image.

		Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateImageRequest
	*/
	CreateImage(ctx context.Context, projectId string, region string) ApiCreateImageRequest

	// CreateImageExecute executes the request
	//  @return ImageCreateResponse
	CreateImageExecute(r ApiCreateImageRequest) (*ImageCreateResponse, error)

	/*
		CreateIsolatedNetwork Create a single isolated network.

		Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateIsolatedNetworkRequest
	*/
	CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest

	// CreateIsolatedNetworkExecute executes the request
	//  @return Network
	CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, error)

	/*
		CreateKeyPair Import a public key.

		Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateKeyPairRequest
	*/
	CreateKeyPair(ctx context.Context) ApiCreateKeyPairRequest

	// CreateKeyPairExecute executes the request
	//  @return Keypair
	CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)

	/*
		CreateNetwork Create new network.

		Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateNetworkRequest
	*/
	CreateNetwork(ctx context.Context, projectId string, region string) ApiCreateNetworkRequest

	// CreateNetworkExecute executes the request
	//  @return Network
	CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

	/*
		CreateNetworkArea Create new network area in an organization.

		Create a new network area in an organization. You can specify `"preview/routingtables"="true"` as a label to enable the preview routing tables feature. This feature cannot be enabled or disabled afterwards.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@return ApiCreateNetworkAreaRequest
	*/
	CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

	// CreateNetworkAreaExecute executes the request
	//  @return NetworkArea
	CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)

	/*
		CreateNetworkAreaRange Create new network range in a network area.

		Create a new network range in an existing network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiCreateNetworkAreaRangeRequest
	*/
	CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRangeRequest

	// CreateNetworkAreaRangeExecute executes the request
	//  @return NetworkRangeListResponse
	CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)

	/*
		CreateNetworkAreaRegion Configure a region for a network area.

		Configure a new region for a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiCreateNetworkAreaRegionRequest
	*/
	CreateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRegionRequest

	// CreateNetworkAreaRegionExecute executes the request
	//  @return RegionalArea
	CreateNetworkAreaRegionExecute(r ApiCreateNetworkAreaRegionRequest) (*RegionalArea, error)

	/*
		CreateNetworkAreaRoute Create new network routes.

		Create one or several new network routes in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiCreateNetworkAreaRouteRequest
	*/
	CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRouteRequest

	// CreateNetworkAreaRouteExecute executes the request
	//  @return RouteListResponse
	CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)

	/*
		CreateNic Create new network interface.

		Create a new network interface in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiCreateNicRequest
	*/
	CreateNic(ctx context.Context, projectId string, region string, networkId string) ApiCreateNicRequest

	// CreateNicExecute executes the request
	//  @return NIC
	CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)

	/*
		CreatePublicIP Create new public IP.

		Create a new public IP in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreatePublicIPRequest
	*/
	CreatePublicIP(ctx context.Context, projectId string, region string) ApiCreatePublicIPRequest

	// CreatePublicIPExecute executes the request
	//  @return PublicIp
	CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)

	/*
		CreateSecurityGroup Create new security group.

		Create a new security group in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateSecurityGroupRequest
	*/
	CreateSecurityGroup(ctx context.Context, projectId string, region string) ApiCreateSecurityGroupRequest

	// CreateSecurityGroupExecute executes the request
	//  @return SecurityGroup
	CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)

	/*
		CreateSecurityGroupRule Create new security group rule.

		Create a new security group rule in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiCreateSecurityGroupRuleRequest
	*/
	CreateSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest

	// CreateSecurityGroupRuleExecute executes the request
	//  @return SecurityGroupRule
	CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)

	/*
		CreateServer Create new server.

		Create a new server in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiCreateServerRequest
	*/
	CreateServer(ctx context.Context, projectId string, region string) ApiCreateServerRequest

	// CreateServerExecute executes the request
	//  @return Server
	CreateServerExecute(r ApiCreateServerRequest) (*Server, error)

	/*
		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.
		@param region The STACKIT Region of the resources.
		@return ApiCreateSnapshotRequest
	*/
	CreateSnapshot(ctx context.Context, projectId string, region string) ApiCreateSnapshotRequest

	// CreateSnapshotExecute executes the request
	//  @return Snapshot
	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.
		@param region The STACKIT Region of the resources.
		@return ApiCreateVolumeRequest
	*/
	CreateVolume(ctx context.Context, projectId string, region string) ApiCreateVolumeRequest

	// CreateVolumeExecute executes the request
	//  @return Volume
	CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)

	/*
		DeallocateServer Deallocate an existing server.

		Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiDeallocateServerRequest
	*/
	DeallocateServer(ctx context.Context, projectId string, region string, serverId string) ApiDeallocateServerRequest

	// DeallocateServerExecute executes the request
	DeallocateServerExecute(r ApiDeallocateServerRequest) error

	/*
		DeleteAffinityGroup Delete a affinity group in a project.

		Delete a affinity group in the given project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
		@return ApiDeleteAffinityGroupRequest
	*/
	DeleteAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest

	// DeleteAffinityGroupExecute executes the request
	DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error

	/*
		DeleteBackup Delete a backup.

		Delete a backup that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiDeleteBackupRequest
	*/
	DeleteBackup(ctx context.Context, projectId string, region string, backupId string) ApiDeleteBackupRequest

	// DeleteBackupExecute executes the request
	DeleteBackupExecute(r ApiDeleteBackupRequest) error

	/*
		DeleteImage Delete an Image.

		Delete an image that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiDeleteImageRequest
	*/
	DeleteImage(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageRequest

	// DeleteImageExecute executes the request
	DeleteImageExecute(r ApiDeleteImageRequest) error

	/*
		DeleteImageShare Remove image share.

		Remove the image share. New scope will be local.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiDeleteImageShareRequest
	*/
	DeleteImageShare(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageShareRequest

	// DeleteImageShareExecute executes the request
	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 region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
		@return ApiDeleteImageShareConsumerRequest
	*/
	DeleteImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest

	// DeleteImageShareConsumerExecute executes the request
	DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error

	/*
		DeleteKeyPair Delete an SSH keypair.

		Delete an SSH keypair from a user.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param keypairName The name of an SSH keypair.
		@return ApiDeleteKeyPairRequest
	*/
	DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest

	// DeleteKeyPairExecute executes the request
	DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error

	/*
		DeleteNetwork Delete network.

		Delete a network. If the network is still in use, the deletion will fail.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiDeleteNetworkRequest
	*/
	DeleteNetwork(ctx context.Context, projectId string, region string, networkId string) ApiDeleteNetworkRequest

	// DeleteNetworkExecute executes the request
	DeleteNetworkExecute(r ApiDeleteNetworkRequest) error

	/*
		DeleteNetworkArea Delete a network area.

		Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiDeleteNetworkAreaRequest
	*/
	DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

	// DeleteNetworkAreaExecute executes the request
	DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error

	/*
		DeleteNetworkAreaRange Delete a network range.

		Delete a network range of a network area. The deletion will fail if the network range is still used.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param networkRangeId The identifier (ID) of a STACKIT Network Range.
		@return ApiDeleteNetworkAreaRangeRequest
	*/
	DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

	// DeleteNetworkAreaRangeExecute executes the request
	DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error

	/*
		DeleteNetworkAreaRegion Delete a configuration of region for a network area.

		Delete a current configuration of region for a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiDeleteNetworkAreaRegionRequest
	*/
	DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiDeleteNetworkAreaRegionRequest

	// DeleteNetworkAreaRegionExecute executes the request
	DeleteNetworkAreaRegionExecute(r ApiDeleteNetworkAreaRegionRequest) error

	/*
		DeleteNetworkAreaRoute Delete a network route.

		Delete a network route of a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiDeleteNetworkAreaRouteRequest
	*/
	DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiDeleteNetworkAreaRouteRequest

	// DeleteNetworkAreaRouteExecute executes the request
	DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error

	/*
		DeleteNic Delete a network interface.

		Delete a network interface that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@param nicId The identifier (ID) of a network interface.
		@return ApiDeleteNicRequest
	*/
	DeleteNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiDeleteNicRequest

	// DeleteNicExecute executes the request
	DeleteNicExecute(r ApiDeleteNicRequest) error

	/*
		DeletePublicIP Delete a public IP.

		Delete a public IP that is part of the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiDeletePublicIPRequest
	*/
	DeletePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiDeletePublicIPRequest

	// DeletePublicIPExecute executes the request
	DeletePublicIPExecute(r ApiDeletePublicIPRequest) error

	/*
		DeleteRouteFromRoutingTable Delete a route in a routing table.

		Delete a route in an existing routing table.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiDeleteRouteFromRoutingTableRequest
	*/
	DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiDeleteRouteFromRoutingTableRequest

	// DeleteRouteFromRoutingTableExecute executes the request
	DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error

	/*
		DeleteRoutingTableFromArea Delete a routing table.

		Delete a routing table of a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@return ApiDeleteRoutingTableFromAreaRequest
	*/
	DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiDeleteRoutingTableFromAreaRequest

	// DeleteRoutingTableFromAreaExecute executes the request
	DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error

	/*
		DeleteSecurityGroup Delete security group.

		Delete a security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiDeleteSecurityGroupRequest
	*/
	DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest

	// DeleteSecurityGroupExecute executes the request
	DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error

	/*
		DeleteSecurityGroupRule Delete security group rule.

		Delete a security group rule.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
		@return ApiDeleteSecurityGroupRuleRequest
	*/
	DeleteSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest

	// DeleteSecurityGroupRuleExecute executes the request
	DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error

	/*
		DeleteServer Delete a server.

		Delete a server. Volumes won't be deleted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiDeleteServerRequest
	*/
	DeleteServer(ctx context.Context, projectId string, region string, serverId string) ApiDeleteServerRequest

	// DeleteServerExecute executes the request
	DeleteServerExecute(r ApiDeleteServerRequest) error

	/*
		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 region The STACKIT Region of the resources.
		@param snapshotId The identifier (ID) of a STACKIT Snapshot.
		@return ApiDeleteSnapshotRequest
	*/
	DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiDeleteSnapshotRequest

	// DeleteSnapshotExecute executes the request
	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 region The STACKIT Region of the resources.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiDeleteVolumeRequest
	*/
	DeleteVolume(ctx context.Context, projectId string, region string, volumeId string) ApiDeleteVolumeRequest

	// DeleteVolumeExecute executes the request
	DeleteVolumeExecute(r ApiDeleteVolumeRequest) error

	/*
		GetAffinityGroup Get the affinity group.

		Get the affinity group created in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
		@return ApiGetAffinityGroupRequest
	*/
	GetAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiGetAffinityGroupRequest

	// GetAffinityGroupExecute executes the request
	//  @return AffinityGroup
	GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)

	/*
		GetAttachedVolume Get Volume Attachment details.

		Get the details of an existing Volume Attachment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiGetAttachedVolumeRequest
	*/
	GetAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiGetAttachedVolumeRequest

	// GetAttachedVolumeExecute executes the request
	//  @return VolumeAttachment
	GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)

	/*
		GetBackup Get details about a backup.

		Get details about a block device backup.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiGetBackupRequest
	*/
	GetBackup(ctx context.Context, projectId string, region string, backupId string) ApiGetBackupRequest

	// GetBackupExecute executes the request
	//  @return Backup
	GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

	/*
		GetImage Get details about an image.

		Get details about a specific Image inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiGetImageRequest
	*/
	GetImage(ctx context.Context, projectId string, region string, imageId string) ApiGetImageRequest

	// GetImageExecute executes the request
	//  @return Image
	GetImageExecute(r ApiGetImageRequest) (*Image, error)

	/*
		GetImageShare Get share details of an image.

		Get share details about an shared image.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiGetImageShareRequest
	*/
	GetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiGetImageShareRequest

	// GetImageShareExecute executes the request
	//  @return ImageShare
	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 region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
		@return ApiGetImageShareConsumerRequest
	*/
	GetImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest

	// GetImageShareConsumerExecute executes the request
	//  @return ImageShareConsumer
	GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)

	/*
		GetKeyPair Get SSH keypair details.

		Get details about an SSH keypair.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param keypairName The name of an SSH keypair.
		@return ApiGetKeyPairRequest
	*/
	GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest

	// GetKeyPairExecute executes the request
	//  @return Keypair
	GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)

	/*
		GetMachineType Get details about a machine type.

		Get details about a specific machine type.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param machineType STACKIT machine type Name.
		@return ApiGetMachineTypeRequest
	*/
	GetMachineType(ctx context.Context, projectId string, region string, machineType string) ApiGetMachineTypeRequest

	// GetMachineTypeExecute executes the request
	//  @return MachineType
	GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)

	/*
		GetNetwork Get network details.

		Get details about a network of a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiGetNetworkRequest
	*/
	GetNetwork(ctx context.Context, projectId string, region string, networkId string) ApiGetNetworkRequest

	// GetNetworkExecute executes the request
	//  @return Network
	GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

	/*
		GetNetworkArea Get details about a network area.

		Get details about a network area in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiGetNetworkAreaRequest
	*/
	GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

	// GetNetworkAreaExecute executes the request
	//  @return NetworkArea
	GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)

	/*
		GetNetworkAreaRange Get details about a network range.

		Get details about a network range in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param networkRangeId The identifier (ID) of a STACKIT Network Range.
		@return ApiGetNetworkAreaRangeRequest
	*/
	GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiGetNetworkAreaRangeRequest

	// GetNetworkAreaRangeExecute executes the request
	//  @return NetworkRange
	GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)

	/*
		GetNetworkAreaRegion Get details about a configured region.

		Get details about a configured region in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiGetNetworkAreaRegionRequest
	*/
	GetNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiGetNetworkAreaRegionRequest

	// GetNetworkAreaRegionExecute executes the request
	//  @return RegionalArea
	GetNetworkAreaRegionExecute(r ApiGetNetworkAreaRegionRequest) (*RegionalArea, error)

	/*
		GetNetworkAreaRoute Get details about a network route.

		Get details about a network route defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiGetNetworkAreaRouteRequest
	*/
	GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiGetNetworkAreaRouteRequest

	// GetNetworkAreaRouteExecute executes the request
	//  @return Route
	GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)

	/*
		GetNic Get details about a network interface.

		Get details about a network interface inside a network.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@param nicId The identifier (ID) of a network interface.
		@return ApiGetNicRequest
	*/
	GetNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiGetNicRequest

	// GetNicExecute executes the request
	//  @return NIC
	GetNicExecute(r ApiGetNicRequest) (*NIC, error)

	/*
		GetOrganizationRequest Lookup an organization request ID.

		Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param requestId The identifier (ID) of a STACKIT Request.
		@return ApiGetOrganizationRequestRequest
	*/
	GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

	// GetOrganizationRequestExecute executes the request
	//  @return Request
	GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)

	/*
		GetProjectDetails Get project details.

		Get details about a STACKIT project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@return ApiGetProjectDetailsRequest
	*/
	GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest

	// GetProjectDetailsExecute executes the request
	//  @return Project
	GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)

	/*
		GetProjectNIC Get details about a network interface of a project.

		Get details about a network interface inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param nicId The identifier (ID) of a network interface.
		@return ApiGetProjectNICRequest
	*/
	GetProjectNIC(ctx context.Context, projectId string, region string, nicId string) ApiGetProjectNICRequest

	// GetProjectNICExecute executes the request
	//  @return NIC
	GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)

	/*
		GetProjectRequest Lookup a project request ID.

		Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param requestId The identifier (ID) of a STACKIT Request.
		@return ApiGetProjectRequestRequest
	*/
	GetProjectRequest(ctx context.Context, projectId string, region string, requestId string) ApiGetProjectRequestRequest

	// GetProjectRequestExecute executes the request
	//  @return Request
	GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)

	/*
		GetPublicIP Get details about a public IP.

		Get details about a public IP inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiGetPublicIPRequest
	*/
	GetPublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiGetPublicIPRequest

	// GetPublicIPExecute executes the request
	//  @return PublicIp
	GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)

	/*
		GetRouteOfRoutingTable Get details about a route of a routing table.

		Get details about a route defined in a routing table.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiGetRouteOfRoutingTableRequest
	*/
	GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiGetRouteOfRoutingTableRequest

	// GetRouteOfRoutingTableExecute executes the request
	//  @return Route
	GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)

	/*
		GetRoutingTableOfArea Get details about a routing table.

		Get details about a routing table defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@return ApiGetRoutingTableOfAreaRequest
	*/
	GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiGetRoutingTableOfAreaRequest

	// GetRoutingTableOfAreaExecute executes the request
	//  @return RoutingTable
	GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)

	/*
		GetSecurityGroup Get security group details.

		Get details about a security group of a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiGetSecurityGroupRequest
	*/
	GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest

	// GetSecurityGroupExecute executes the request
	//  @return SecurityGroup
	GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)

	/*
		GetSecurityGroupRule Get security group rule details.

		Get details about a security group rule of a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
		@return ApiGetSecurityGroupRuleRequest
	*/
	GetSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest

	// GetSecurityGroupRuleExecute executes the request
	//  @return SecurityGroupRule
	GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)

	/*
		GetServer Get server details.

		Get details about a server by its ID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiGetServerRequest
	*/
	GetServer(ctx context.Context, projectId string, region string, serverId string) ApiGetServerRequest

	// GetServerExecute executes the request
	//  @return Server
	GetServerExecute(r ApiGetServerRequest) (*Server, error)

	/*
		GetServerConsole Get server console.

		Get a URL for server remote console.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiGetServerConsoleRequest
	*/
	GetServerConsole(ctx context.Context, projectId string, region string, serverId string) ApiGetServerConsoleRequest

	// GetServerConsoleExecute executes the request
	//  @return ServerConsoleUrl
	GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)

	/*
		GetServerLog Get server log.

		Get server console log.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiGetServerLogRequest
	*/
	GetServerLog(ctx context.Context, projectId string, region string, serverId string) ApiGetServerLogRequest

	// GetServerLogExecute executes the request
	//  @return GetServerLog200Response
	GetServerLogExecute(r ApiGetServerLogRequest) (*GetServerLog200Response, error)

	/*
		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 region The STACKIT Region of the resources.
		@param snapshotId The identifier (ID) of a STACKIT Snapshot.
		@return ApiGetSnapshotRequest
	*/
	GetSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiGetSnapshotRequest

	// GetSnapshotExecute executes the request
	//  @return Snapshot
	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 region The STACKIT Region of the resources.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiGetVolumeRequest
	*/
	GetVolume(ctx context.Context, projectId string, region string, volumeId string) ApiGetVolumeRequest

	// GetVolumeExecute executes the request
	//  @return Volume
	GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)

	/*
		GetVolumePerformanceClass Get details about a volume performance class.

		Get details about a specific volume performance class.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param volumePerformanceClass The name of a STACKIT Volume performance class.
		@return ApiGetVolumePerformanceClassRequest
	*/
	GetVolumePerformanceClass(ctx context.Context, projectId string, region string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest

	// GetVolumePerformanceClassExecute executes the request
	//  @return VolumePerformanceClass
	GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)

	/*
		ImageFromVolume Create an image out of a volume.

		Create an image out a a 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.
		@param region The STACKIT Region of the resources.
		@return ApiImageFromVolumeRequest
	*/
	ImageFromVolume(ctx context.Context, projectId string, volumeId string, region string) ApiImageFromVolumeRequest

	// ImageFromVolumeExecute executes the request
	//  @return Image
	ImageFromVolumeExecute(r ApiImageFromVolumeRequest) (*Image, error)

	/*
		ListAffinityGroups Get the affinity groups setup for a project.

		Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity).

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListAffinityGroupsRequest
	*/
	ListAffinityGroups(ctx context.Context, projectId string, region string) ApiListAffinityGroupsRequest

	// ListAffinityGroupsExecute executes the request
	//  @return AffinityGroupListResponse
	ListAffinityGroupsExecute(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)

	/*
		ListAttachedVolumes List all volume attachments of a server.

		Get a list of all volume attachments of a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiListAttachedVolumesRequest
	*/
	ListAttachedVolumes(ctx context.Context, projectId string, region string, serverId string) ApiListAttachedVolumesRequest

	// ListAttachedVolumesExecute executes the request
	//  @return VolumeAttachmentListResponse
	ListAttachedVolumesExecute(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)

	/*
		ListAvailabilityZones List all availability zones.

		Get a list of all availability zones.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param region The STACKIT Region of the resources.
		@return ApiListAvailabilityZonesRequest
	*/
	ListAvailabilityZones(ctx context.Context, region string) ApiListAvailabilityZonesRequest

	// ListAvailabilityZonesExecute executes the request
	//  @return AvailabilityZoneListResponse
	ListAvailabilityZonesExecute(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)

	/*
		ListBackups List all backups inside a project.

		Get a list of all backups inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListBackupsRequest
	*/
	ListBackups(ctx context.Context, projectId string, region string) ApiListBackupsRequest

	// ListBackupsExecute executes the request
	//  @return BackupListResponse
	ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)

	/*
		ListImages List all Images inside a project.

		Get a list of all images inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListImagesRequest
	*/
	ListImages(ctx context.Context, projectId string, region string) ApiListImagesRequest

	// ListImagesExecute executes the request
	//  @return ImageListResponse
	ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)

	/*
		ListKeyPairs List all SSH keypairs for the requesting user.

		Get a list of all SSH keypairs assigned to the requesting user.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListKeyPairsRequest
	*/
	ListKeyPairs(ctx context.Context) ApiListKeyPairsRequest

	// ListKeyPairsExecute executes the request
	//  @return KeyPairListResponse
	ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)

	/*
		ListMachineTypes List all machine types available for a project.

		Get a list of all machine type available in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListMachineTypesRequest
	*/
	ListMachineTypes(ctx context.Context, projectId string, region string) ApiListMachineTypesRequest

	// ListMachineTypesExecute executes the request
	//  @return MachineTypeListResponse
	ListMachineTypesExecute(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)

	/*
		ListNetworkAreaProjects List all projects using a network area.

		Get a list of all projects using a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiListNetworkAreaProjectsRequest
	*/
	ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

	// ListNetworkAreaProjectsExecute executes the request
	//  @return ProjectListResponse
	ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)

	/*
		ListNetworkAreaRanges List all network ranges in a network area.

		Get a list of all network ranges in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiListNetworkAreaRangesRequest
	*/
	ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRangesRequest

	// ListNetworkAreaRangesExecute executes the request
	//  @return NetworkRangeListResponse
	ListNetworkAreaRangesExecute(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)

	/*
		ListNetworkAreaRegions List all configured regions in a network area.

		Get a list of all configured regions.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiListNetworkAreaRegionsRequest
	*/
	ListNetworkAreaRegions(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRegionsRequest

	// ListNetworkAreaRegionsExecute executes the request
	//  @return RegionalAreaListResponse
	ListNetworkAreaRegionsExecute(r ApiListNetworkAreaRegionsRequest) (*RegionalAreaListResponse, error)

	/*
		ListNetworkAreaRoutes List all network routes in a network area.

		Get a list of all network routes defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiListNetworkAreaRoutesRequest
	*/
	ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRoutesRequest

	// ListNetworkAreaRoutesExecute executes the request
	//  @return RouteListResponse
	ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)

	/*
		ListNetworkAreas List all network areas in an organization.

		Get a list of all visible network areas defined in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@return ApiListNetworkAreasRequest
	*/
	ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

	// ListNetworkAreasExecute executes the request
	//  @return NetworkAreaListResponse
	ListNetworkAreasExecute(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)

	/*
		ListNetworks List all networks inside a project.

		Get a list of all networks inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListNetworksRequest
	*/
	ListNetworks(ctx context.Context, projectId string, region string) ApiListNetworksRequest

	// ListNetworksExecute executes the request
	//  @return NetworkListResponse
	ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)

	/*
		ListNics List all network interfaces inside a network.

		Get a list of all network interfaces inside a network.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiListNicsRequest
	*/
	ListNics(ctx context.Context, projectId string, region string, networkId string) ApiListNicsRequest

	// ListNicsExecute executes the request
	//  @return NICListResponse
	ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)

	/*
		ListProjectNICs List all network interfaces inside a project.

		Get a list of all network interfaces inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListProjectNICsRequest
	*/
	ListProjectNICs(ctx context.Context, projectId string, region string) ApiListProjectNICsRequest

	// ListProjectNICsExecute executes the request
	//  @return NICListResponse
	ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)

	/*
		ListPublicIPRanges List all public IP ranges.

		Get a list of all public IP ranges that STACKIT uses.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiListPublicIPRangesRequest
	*/
	ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest

	// ListPublicIPRangesExecute executes the request
	//  @return PublicNetworkListResponse
	ListPublicIPRangesExecute(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)

	/*
		ListPublicIPs List all public IPs inside a project.

		Get a list of all public IPs inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListPublicIPsRequest
	*/
	ListPublicIPs(ctx context.Context, projectId string, region string) ApiListPublicIPsRequest

	// ListPublicIPsExecute executes the request
	//  @return PublicIpListResponse
	ListPublicIPsExecute(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)

	/*
		ListQuotas List project quotas.

		List quota limits and usage for project resources.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListQuotasRequest
	*/
	ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest

	// ListQuotasExecute executes the request
	//  @return QuotaListResponse
	ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)

	/*
		ListRoutesOfRoutingTable List all routes in a routing table.

		Get a list of all routes in a routing table.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@return ApiListRoutesOfRoutingTableRequest
	*/
	ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListRoutesOfRoutingTableRequest

	// ListRoutesOfRoutingTableExecute executes the request
	//  @return RouteListResponse
	ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)

	/*
		ListRoutingTablesOfArea List all routing tables in a network area.

		Get a list of all routing tables in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiListRoutingTablesOfAreaRequest
	*/
	ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest

	// ListRoutingTablesOfAreaExecute executes the request
	//  @return RoutingTableListResponse
	ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)

	/*
		ListSecurityGroupRules List all rules for a security group.

		Get a list of all rules inside a security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiListSecurityGroupRulesRequest
	*/
	ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest

	// ListSecurityGroupRulesExecute executes the request
	//  @return SecurityGroupRuleListResponse
	ListSecurityGroupRulesExecute(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)

	/*
		ListSecurityGroups List all security groups inside a project.

		Get a list of all security groups inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListSecurityGroupsRequest
	*/
	ListSecurityGroups(ctx context.Context, projectId string, region string) ApiListSecurityGroupsRequest

	// ListSecurityGroupsExecute executes the request
	//  @return SecurityGroupListResponse
	ListSecurityGroupsExecute(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)

	/*
		ListServerNICs Get all network interfaces.

		Get all network interfaces attached to the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiListServerNICsRequest
	*/
	ListServerNICs(ctx context.Context, projectId string, region string, serverId string) ApiListServerNICsRequest

	// ListServerNICsExecute executes the request
	//  @return NICListResponse
	ListServerNICsExecute(r ApiListServerNICsRequest) (*NICListResponse, error)

	/*
		ListServerServiceAccounts List all service accounts of the Server.

		Get the list of the service accounts of the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiListServerServiceAccountsRequest
	*/
	ListServerServiceAccounts(ctx context.Context, projectId string, region string, serverId string) ApiListServerServiceAccountsRequest

	// ListServerServiceAccountsExecute executes the request
	//  @return ServiceAccountMailListResponse
	ListServerServiceAccountsExecute(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)

	/*
		ListServers List all servers inside a project.

		Get a list of all servers inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListServersRequest
	*/
	ListServers(ctx context.Context, projectId string, region string) ApiListServersRequest

	// ListServersExecute executes the request
	//  @return ServerListResponse
	ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)

	/*
		ListSnapshotsInProject List all snapshots inside a project.

		Get a list of all snapshots inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListSnapshotsInProjectRequest
	*/
	ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiListSnapshotsInProjectRequest

	// ListSnapshotsInProjectExecute executes the request
	//  @return SnapshotListResponse
	ListSnapshotsInProjectExecute(r ApiListSnapshotsInProjectRequest) (*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.
		@param region The STACKIT Region of the resources.
		@return ApiListVolumePerformanceClassesRequest
	*/
	ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest

	// ListVolumePerformanceClassesExecute executes the request
	//  @return VolumePerformanceClassListResponse
	ListVolumePerformanceClassesExecute(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)

	/*
		ListVolumes List all volumes inside a project.

		Get a list of all volumes inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@return ApiListVolumesRequest
	*/
	ListVolumes(ctx context.Context, projectId string, region string) ApiListVolumesRequest

	// ListVolumesExecute executes the request
	//  @return VolumeListResponse
	ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)

	/*
		PartialUpdateNetwork Update network settings.

		Update the settings of a network inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiPartialUpdateNetworkRequest
	*/
	PartialUpdateNetwork(ctx context.Context, projectId string, region string, networkId string) ApiPartialUpdateNetworkRequest

	// PartialUpdateNetworkExecute executes the request
	PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

	/*
		PartialUpdateNetworkArea Update network area settings.

		Update the settings of a network area in an organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@return ApiPartialUpdateNetworkAreaRequest
	*/
	PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

	// PartialUpdateNetworkAreaExecute executes the request
	//  @return NetworkArea
	PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)

	/*
		RebootServer Reboot the server.

		Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiRebootServerRequest
	*/
	RebootServer(ctx context.Context, projectId string, region string, serverId string) ApiRebootServerRequest

	// RebootServerExecute executes the request
	RebootServerExecute(r ApiRebootServerRequest) error

	/*
		RemoveNetworkFromServer Detach and delete all network interfaces associated with the specified network.

		Detach and delete all network interfaces associated with the specified network from the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param networkId The identifier (ID) of a STACKIT Network.
		@return ApiRemoveNetworkFromServerRequest
	*/
	RemoveNetworkFromServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest

	// RemoveNetworkFromServerExecute executes the request
	RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error

	/*
		RemoveNicFromServer Detach a network interface.

		Detach a network interface from a server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param nicId The identifier (ID) of a network interface.
		@return ApiRemoveNicFromServerRequest
	*/
	RemoveNicFromServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiRemoveNicFromServerRequest

	// RemoveNicFromServerExecute executes the request
	RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error

	/*
		RemovePublicIpFromServer Dissociate a public IP from a server.

		Dissociate a public IP on an existing server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiRemovePublicIpFromServerRequest
	*/
	RemovePublicIpFromServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest

	// RemovePublicIpFromServerExecute executes the request
	RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error

	/*
		RemoveSecurityGroupFromServer Remove a server from a security group.

		Remove a server from a attached security group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiRemoveSecurityGroupFromServerRequest
	*/
	RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest

	// RemoveSecurityGroupFromServerExecute executes the request
	RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error

	/*
		RemoveServiceAccountFromServer Detach a service account from a server.

		Detach an additional service account from the server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param serviceAccountMail The e-mail address of a service account.
		@return ApiRemoveServiceAccountFromServerRequest
	*/
	RemoveServiceAccountFromServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest

	// RemoveServiceAccountFromServerExecute executes the request
	//  @return ServiceAccountMailListResponse
	RemoveServiceAccountFromServerExecute(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)

	/*
		RemoveVolumeFromServer Detach a volume from a server.

		Detach an existing volume from an existing server.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiRemoveVolumeFromServerRequest
	*/
	RemoveVolumeFromServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest

	// RemoveVolumeFromServerExecute executes the request
	RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error

	/*
		RescueServer Rescue an existing server.

		Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiRescueServerRequest
	*/
	RescueServer(ctx context.Context, projectId string, region string, serverId string) ApiRescueServerRequest

	// RescueServerExecute executes the request
	RescueServerExecute(r ApiRescueServerRequest) error

	/*
		ResizeServer Resize a server.

		Resize the server to the given machine type.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiResizeServerRequest
	*/
	ResizeServer(ctx context.Context, projectId string, region string, serverId string) ApiResizeServerRequest

	// ResizeServerExecute executes the request
	ResizeServerExecute(r ApiResizeServerRequest) error

	/*
		ResizeVolume Update the size of a volume.

		Update the size of a block device volume. The new volume size must be larger than the current size.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiResizeVolumeRequest
	*/
	ResizeVolume(ctx context.Context, projectId string, region string, volumeId string) ApiResizeVolumeRequest

	// ResizeVolumeExecute executes the request
	ResizeVolumeExecute(r ApiResizeVolumeRequest) error

	/*
		RestoreBackup Restore Backup to the referenced source Volume.

		Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiRestoreBackupRequest
	*/
	RestoreBackup(ctx context.Context, projectId string, region string, backupId string) ApiRestoreBackupRequest

	// RestoreBackupExecute executes the request
	RestoreBackupExecute(r ApiRestoreBackupRequest) error

	/*
		SetImageShare Set image share.

		Set share of an Image. New Options will replace existing settings.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiSetImageShareRequest
	*/
	SetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiSetImageShareRequest

	// SetImageShareExecute executes the request
	//  @return ImageShare
	SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)

	/*
		StartServer Boot up a server.

		Start an existing server or allocates the server if deallocated.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiStartServerRequest
	*/
	StartServer(ctx context.Context, projectId string, region string, serverId string) ApiStartServerRequest

	// StartServerExecute executes the request
	StartServerExecute(r ApiStartServerRequest) error

	/*
		StopServer Stop an existing server.

		Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiStopServerRequest
	*/
	StopServer(ctx context.Context, projectId string, region string, serverId string) ApiStopServerRequest

	// StopServerExecute executes the request
	StopServerExecute(r ApiStopServerRequest) error

	/*
		UnrescueServer Unrescue an existing server.

		Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiUnrescueServerRequest
	*/
	UnrescueServer(ctx context.Context, projectId string, region string, serverId string) ApiUnrescueServerRequest

	// UnrescueServerExecute executes the request
	UnrescueServerExecute(r ApiUnrescueServerRequest) error

	/*
		UpdateAttachedVolume Update Volume Attachment Parameters.

		Update the properties of an existing Volume Attachment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiUpdateAttachedVolumeRequest
	*/
	UpdateAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest

	// UpdateAttachedVolumeExecute executes the request
	//  @return VolumeAttachment
	UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)

	/*
		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 region The STACKIT Region of the resources.
		@param backupId The identifier (ID) of a STACKIT Backup.
		@return ApiUpdateBackupRequest
	*/
	UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiUpdateBackupRequest

	// UpdateBackupExecute executes the request
	//  @return Backup
	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 region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiUpdateImageRequest
	*/
	UpdateImage(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageRequest

	// UpdateImageExecute executes the request
	//  @return Image
	UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)

	/*
		UpdateImageShare Update image share.

		Update share of an Image. Projects will be appended to existing list.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param imageId The identifier (ID) of a STACKIT Image.
		@return ApiUpdateImageShareRequest
	*/
	UpdateImageShare(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageShareRequest

	// UpdateImageShareExecute executes the request
	//  @return ImageShare
	UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)

	/*
		UpdateKeyPair Update information of an SSH keypair.

		Update labels of the SSH keypair.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param keypairName The name of an SSH keypair.
		@return ApiUpdateKeyPairRequest
	*/
	UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest

	// UpdateKeyPairExecute executes the request
	//  @return Keypair
	UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)

	/*
		UpdateNetworkAreaRegion Update a region for a network area.

		Update a new region for a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@return ApiUpdateNetworkAreaRegionRequest
	*/
	UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiUpdateNetworkAreaRegionRequest

	// UpdateNetworkAreaRegionExecute executes the request
	//  @return RegionalArea
	UpdateNetworkAreaRegionExecute(r ApiUpdateNetworkAreaRegionRequest) (*RegionalArea, 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 region The STACKIT Region of the resources.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiUpdateNetworkAreaRouteRequest
	*/
	UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiUpdateNetworkAreaRouteRequest

	// UpdateNetworkAreaRouteExecute executes the request
	//  @return Route
	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 region The STACKIT Region of the resources.
		@param networkId The identifier (ID) of a STACKIT Network.
		@param nicId The identifier (ID) of a network interface.
		@return ApiUpdateNicRequest
	*/
	UpdateNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiUpdateNicRequest

	// UpdateNicExecute executes the request
	//  @return NIC
	UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)

	/*
		UpdatePublicIP Update a public IP.

		Update the properties of an existing public IP inside a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The identifier (ID) of a STACKIT Project.
		@param region The STACKIT Region of the resources.
		@param publicIpId The identifier (ID) of a Public IP.
		@return ApiUpdatePublicIPRequest
	*/
	UpdatePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiUpdatePublicIPRequest

	// UpdatePublicIPExecute executes the request
	//  @return PublicIp
	UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)

	/*
		UpdateRouteOfRoutingTable Update a route of a routing table.

		Update a route defined in a routing table.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@param routeId The identifier (ID) of a STACKIT Route.
		@return ApiUpdateRouteOfRoutingTableRequest
	*/
	UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiUpdateRouteOfRoutingTableRequest

	// UpdateRouteOfRoutingTableExecute executes the request
	//  @return Route
	UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)

	/*
		UpdateRoutingTableOfArea Update a routing table.

		Update a routing table defined in a network area.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param organizationId The identifier (ID) of a STACKIT Organization.
		@param areaId The identifier (ID) of a STACKIT Network Area.
		@param region The STACKIT Region of the resources.
		@param routingTableId The identifier (ID) of a STACKIT Routing Table.
		@return ApiUpdateRoutingTableOfAreaRequest
	*/
	UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiUpdateRoutingTableOfAreaRequest

	// UpdateRoutingTableOfAreaExecute executes the request
	//  @return RoutingTable
	UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)

	/*
		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 region The STACKIT Region of the resources.
		@param securityGroupId The identifier (ID) of a STACKIT Security Group.
		@return ApiUpdateSecurityGroupRequest
	*/
	UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiUpdateSecurityGroupRequest

	// UpdateSecurityGroupExecute executes the request
	//  @return SecurityGroup
	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 region The STACKIT Region of the resources.
		@param serverId The identifier (ID) of a STACKIT Server.
		@return ApiUpdateServerRequest
	*/
	UpdateServer(ctx context.Context, projectId string, region string, serverId string) ApiUpdateServerRequest

	// UpdateServerExecute executes the request
	//  @return Server
	UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)

	/*
		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 region The STACKIT Region of the resources.
		@param snapshotId The identifier (ID) of a STACKIT Snapshot.
		@return ApiUpdateSnapshotRequest
	*/
	UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiUpdateSnapshotRequest

	// UpdateSnapshotExecute executes the request
	//  @return Snapshot
	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 region The STACKIT Region of the resources.
		@param volumeId The identifier (ID) of a STACKIT Volume.
		@return ApiUpdateVolumeRequest
	*/
	UpdateVolume(ctx context.Context, projectId string, region string, volumeId string) ApiUpdateVolumeRequest

	// UpdateVolumeExecute executes the request
	//  @return Volume
	UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) AddNetworkToServer

func (a *DefaultAPIService) AddNetworkToServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiAddNetworkToServerRequest

AddNetworkToServer Create and attach a network interface from the specified network.

Create and attach a network interface from the specified network to the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiAddNetworkToServerRequest

func (*DefaultAPIService) AddNetworkToServerExecute

func (a *DefaultAPIService) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error

Execute executes the request

func (*DefaultAPIService) AddNicToServer

func (a *DefaultAPIService) AddNicToServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiAddNicToServerRequest

AddNicToServer Attach an existing network interface.

Attach an existing network interface to a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiAddNicToServerRequest

func (*DefaultAPIService) AddNicToServerExecute

func (a *DefaultAPIService) AddNicToServerExecute(r ApiAddNicToServerRequest) error

Execute executes the request

func (*DefaultAPIService) AddPublicIpToServer

func (a *DefaultAPIService) AddPublicIpToServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest

AddPublicIpToServer Associate a public IP to the server.

Associate a public IP to a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiAddPublicIpToServerRequest

func (*DefaultAPIService) AddPublicIpToServerExecute

func (a *DefaultAPIService) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error

Execute executes the request

func (*DefaultAPIService) AddRoutesToRoutingTable

func (a *DefaultAPIService) AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiAddRoutesToRoutingTableRequest

AddRoutesToRoutingTable Create new routes in a routing table.

Create new routes in an existing routing table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiAddRoutesToRoutingTableRequest

func (*DefaultAPIService) AddRoutesToRoutingTableExecute

func (a *DefaultAPIService) AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)

Execute executes the request

@return RouteListResponse

func (*DefaultAPIService) AddRoutingTableToArea

func (a *DefaultAPIService) AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest

AddRoutingTableToArea Create new routing table in a network area.

Create a new routing table in an existing network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiAddRoutingTableToAreaRequest

func (*DefaultAPIService) AddRoutingTableToAreaExecute

func (a *DefaultAPIService) AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)

Execute executes the request

@return RoutingTable

func (*DefaultAPIService) AddSecurityGroupToServer

func (a *DefaultAPIService) AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest

AddSecurityGroupToServer Add a server to a security group.

Add an existing server to an existing security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiAddSecurityGroupToServerRequest

func (*DefaultAPIService) AddSecurityGroupToServerExecute

func (a *DefaultAPIService) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error

Execute executes the request

func (*DefaultAPIService) AddServiceAccountToServer

func (a *DefaultAPIService) AddServiceAccountToServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest

AddServiceAccountToServer Attach service account to a server.

Attach an additional service account to the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiAddServiceAccountToServerRequest

func (*DefaultAPIService) AddServiceAccountToServerExecute

Execute executes the request

@return ServiceAccountMailListResponse

func (*DefaultAPIService) AddVolumeToServer

func (a *DefaultAPIService) AddVolumeToServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiAddVolumeToServerRequest

AddVolumeToServer Attach a volume to a server.

Attach an existing volume to an existing server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiAddVolumeToServerRequest

func (*DefaultAPIService) AddVolumeToServerExecute

func (a *DefaultAPIService) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)

Execute executes the request

@return VolumeAttachment

func (*DefaultAPIService) CreateAffinityGroup

func (a *DefaultAPIService) CreateAffinityGroup(ctx context.Context, projectId string, region string) ApiCreateAffinityGroupRequest

CreateAffinityGroup Create a new affinity group in a project.

Create a new server affinity group in the given project ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateAffinityGroupRequest

func (*DefaultAPIService) CreateAffinityGroupExecute

func (a *DefaultAPIService) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)

Execute executes the request

@return AffinityGroup

func (*DefaultAPIService) CreateBackup

func (a *DefaultAPIService) CreateBackup(ctx context.Context, projectId string, region string) ApiCreateBackupRequest

CreateBackup Create new Backup.

Create a new Backup in a project. If a snapshot ID is provided create the backup from the snapshot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateBackupRequest

func (*DefaultAPIService) CreateBackupExecute

func (a *DefaultAPIService) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

func (*DefaultAPIService) CreateImage

func (a *DefaultAPIService) CreateImage(ctx context.Context, projectId string, region string) ApiCreateImageRequest

CreateImage Create new Image.

Create a new Image in a project. This call, if successful, returns a pre-signed URL for the customer to upload the image.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateImageRequest

func (*DefaultAPIService) CreateImageExecute

Execute executes the request

@return ImageCreateResponse

func (*DefaultAPIService) CreateIsolatedNetwork

func (a *DefaultAPIService) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest

CreateIsolatedNetwork Create a single isolated network.

Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateIsolatedNetworkRequest

func (*DefaultAPIService) CreateIsolatedNetworkExecute

func (a *DefaultAPIService) CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, error)

Execute executes the request

@return Network

func (*DefaultAPIService) CreateKeyPair

CreateKeyPair Import a public key.

Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateKeyPairRequest

func (*DefaultAPIService) CreateKeyPairExecute

func (a *DefaultAPIService) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)

Execute executes the request

@return Keypair

func (*DefaultAPIService) CreateNetwork

func (a *DefaultAPIService) CreateNetwork(ctx context.Context, projectId string, region string) ApiCreateNetworkRequest

CreateNetwork Create new network.

Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkRequest

func (*DefaultAPIService) CreateNetworkArea

func (a *DefaultAPIService) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

CreateNetworkArea Create new network area in an organization.

Create a new network area in an organization. You can specify `"preview/routingtables"="true"` as a label to enable the preview routing tables feature. This feature cannot be enabled or disabled afterwards.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiCreateNetworkAreaRequest

func (*DefaultAPIService) CreateNetworkAreaExecute

func (a *DefaultAPIService) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)

Execute executes the request

@return NetworkArea

func (*DefaultAPIService) CreateNetworkAreaRange

func (a *DefaultAPIService) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRangeRequest

CreateNetworkAreaRange Create new network range in a network area.

Create a new network range in an existing network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkAreaRangeRequest

func (*DefaultAPIService) CreateNetworkAreaRangeExecute

func (a *DefaultAPIService) CreateNetworkAreaRangeExecute(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)

Execute executes the request

@return NetworkRangeListResponse

func (*DefaultAPIService) CreateNetworkAreaRegion

func (a *DefaultAPIService) CreateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRegionRequest

CreateNetworkAreaRegion Configure a region for a network area.

Configure a new region for a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkAreaRegionRequest

func (*DefaultAPIService) CreateNetworkAreaRegionExecute

func (a *DefaultAPIService) CreateNetworkAreaRegionExecute(r ApiCreateNetworkAreaRegionRequest) (*RegionalArea, error)

Execute executes the request

@return RegionalArea

func (*DefaultAPIService) CreateNetworkAreaRoute

func (a *DefaultAPIService) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRouteRequest

CreateNetworkAreaRoute Create new network routes.

Create one or several new network routes in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiCreateNetworkAreaRouteRequest

func (*DefaultAPIService) CreateNetworkAreaRouteExecute

func (a *DefaultAPIService) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)

Execute executes the request

@return RouteListResponse

func (*DefaultAPIService) CreateNetworkExecute

func (a *DefaultAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

Execute executes the request

@return Network

func (*DefaultAPIService) CreateNic

func (a *DefaultAPIService) CreateNic(ctx context.Context, projectId string, region string, networkId string) ApiCreateNicRequest

CreateNic Create new network interface.

Create a new network interface in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiCreateNicRequest

func (*DefaultAPIService) CreateNicExecute

func (a *DefaultAPIService) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)

Execute executes the request

@return NIC

func (*DefaultAPIService) CreatePublicIP

func (a *DefaultAPIService) CreatePublicIP(ctx context.Context, projectId string, region string) ApiCreatePublicIPRequest

CreatePublicIP Create new public IP.

Create a new public IP in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreatePublicIPRequest

func (*DefaultAPIService) CreatePublicIPExecute

func (a *DefaultAPIService) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)

Execute executes the request

@return PublicIp

func (*DefaultAPIService) CreateSecurityGroup

func (a *DefaultAPIService) CreateSecurityGroup(ctx context.Context, projectId string, region string) ApiCreateSecurityGroupRequest

CreateSecurityGroup Create new security group.

Create a new security group in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateSecurityGroupRequest

func (*DefaultAPIService) CreateSecurityGroupExecute

func (a *DefaultAPIService) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)

Execute executes the request

@return SecurityGroup

func (*DefaultAPIService) CreateSecurityGroupRule

func (a *DefaultAPIService) CreateSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest

CreateSecurityGroupRule Create new security group rule.

Create a new security group rule in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiCreateSecurityGroupRuleRequest

func (*DefaultAPIService) CreateSecurityGroupRuleExecute

func (a *DefaultAPIService) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)

Execute executes the request

@return SecurityGroupRule

func (*DefaultAPIService) CreateServer

func (a *DefaultAPIService) CreateServer(ctx context.Context, projectId string, region string) ApiCreateServerRequest

CreateServer Create new server.

Create a new server in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateServerRequest

func (*DefaultAPIService) CreateServerExecute

func (a *DefaultAPIService) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)

Execute executes the request

@return Server

func (*DefaultAPIService) CreateSnapshot

func (a *DefaultAPIService) CreateSnapshot(ctx context.Context, projectId string, region 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.
@param region The STACKIT Region of the resources.
@return ApiCreateSnapshotRequest

func (*DefaultAPIService) CreateSnapshotExecute

func (a *DefaultAPIService) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)

Execute executes the request

@return Snapshot

func (*DefaultAPIService) CreateVolume

func (a *DefaultAPIService) CreateVolume(ctx context.Context, projectId string, region string) ApiCreateVolumeRequest

CreateVolume Create new volume.

Create a new volume in a project. If a volume source is not provided, an empty volume will be created. The size property is required if no source or an image source is provided.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiCreateVolumeRequest

func (*DefaultAPIService) CreateVolumeExecute

func (a *DefaultAPIService) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)

Execute executes the request

@return Volume

func (*DefaultAPIService) DeallocateServer

func (a *DefaultAPIService) DeallocateServer(ctx context.Context, projectId string, region string, serverId string) ApiDeallocateServerRequest

DeallocateServer Deallocate an existing server.

Deallocate an existing server. The server will be removed from the hypervisor so only the volume will be billed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeallocateServerRequest

func (*DefaultAPIService) DeallocateServerExecute

func (a *DefaultAPIService) DeallocateServerExecute(r ApiDeallocateServerRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteAffinityGroup

func (a *DefaultAPIService) DeleteAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest

DeleteAffinityGroup Delete a affinity group in a project.

Delete a affinity group in the given project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiDeleteAffinityGroupRequest

func (*DefaultAPIService) DeleteAffinityGroupExecute

func (a *DefaultAPIService) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteBackup

func (a *DefaultAPIService) DeleteBackup(ctx context.Context, projectId string, region string, backupId string) ApiDeleteBackupRequest

DeleteBackup Delete a backup.

Delete a backup that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiDeleteBackupRequest

func (*DefaultAPIService) DeleteBackupExecute

func (a *DefaultAPIService) DeleteBackupExecute(r ApiDeleteBackupRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteImage

func (a *DefaultAPIService) DeleteImage(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageRequest

DeleteImage Delete an Image.

Delete an image that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiDeleteImageRequest

func (*DefaultAPIService) DeleteImageExecute

func (a *DefaultAPIService) DeleteImageExecute(r ApiDeleteImageRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteImageShare

func (a *DefaultAPIService) DeleteImageShare(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageShareRequest

DeleteImageShare Remove image share.

Remove the image share. New scope will be local.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiDeleteImageShareRequest

func (*DefaultAPIService) DeleteImageShareConsumer

func (a *DefaultAPIService) DeleteImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest

DeleteImageShareConsumer Remove an image share consumer.

Remove consumer from a shared image.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
@return ApiDeleteImageShareConsumerRequest

func (*DefaultAPIService) DeleteImageShareConsumerExecute

func (a *DefaultAPIService) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteImageShareExecute

func (a *DefaultAPIService) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteKeyPair

func (a *DefaultAPIService) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest

DeleteKeyPair Delete an SSH keypair.

Delete an SSH keypair from a user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiDeleteKeyPairRequest

func (*DefaultAPIService) DeleteKeyPairExecute

func (a *DefaultAPIService) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteNetwork

func (a *DefaultAPIService) DeleteNetwork(ctx context.Context, projectId string, region string, networkId string) ApiDeleteNetworkRequest

DeleteNetwork Delete network.

Delete a network. If the network is still in use, the deletion will fail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiDeleteNetworkRequest

func (*DefaultAPIService) DeleteNetworkArea

func (a *DefaultAPIService) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

DeleteNetworkArea Delete a network area.

Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiDeleteNetworkAreaRequest

func (*DefaultAPIService) DeleteNetworkAreaExecute

func (a *DefaultAPIService) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteNetworkAreaRange

func (a *DefaultAPIService) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

DeleteNetworkAreaRange Delete a network range.

Delete a network range of a network area. The deletion will fail if the network range is still used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiDeleteNetworkAreaRangeRequest

func (*DefaultAPIService) DeleteNetworkAreaRangeExecute

func (a *DefaultAPIService) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteNetworkAreaRegion

func (a *DefaultAPIService) DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiDeleteNetworkAreaRegionRequest

DeleteNetworkAreaRegion Delete a configuration of region for a network area.

Delete a current configuration of region for a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiDeleteNetworkAreaRegionRequest

func (*DefaultAPIService) DeleteNetworkAreaRegionExecute

func (a *DefaultAPIService) DeleteNetworkAreaRegionExecute(r ApiDeleteNetworkAreaRegionRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteNetworkAreaRoute

func (a *DefaultAPIService) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiDeleteNetworkAreaRouteRequest

DeleteNetworkAreaRoute Delete a network route.

Delete a network route of a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteNetworkAreaRouteRequest

func (*DefaultAPIService) DeleteNetworkAreaRouteExecute

func (a *DefaultAPIService) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteNetworkExecute

func (a *DefaultAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteNic

func (a *DefaultAPIService) DeleteNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiDeleteNicRequest

DeleteNic Delete a network interface.

Delete a network interface that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiDeleteNicRequest

func (*DefaultAPIService) DeleteNicExecute

func (a *DefaultAPIService) DeleteNicExecute(r ApiDeleteNicRequest) error

Execute executes the request

func (*DefaultAPIService) DeletePublicIP

func (a *DefaultAPIService) DeletePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiDeletePublicIPRequest

DeletePublicIP Delete a public IP.

Delete a public IP that is part of the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiDeletePublicIPRequest

func (*DefaultAPIService) DeletePublicIPExecute

func (a *DefaultAPIService) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteRouteFromRoutingTable

func (a *DefaultAPIService) DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiDeleteRouteFromRoutingTableRequest

DeleteRouteFromRoutingTable Delete a route in a routing table.

Delete a route in an existing routing table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteRouteFromRoutingTableRequest

func (*DefaultAPIService) DeleteRouteFromRoutingTableExecute

func (a *DefaultAPIService) DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteRoutingTableFromArea

func (a *DefaultAPIService) DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiDeleteRoutingTableFromAreaRequest

DeleteRoutingTableFromArea Delete a routing table.

Delete a routing table of a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiDeleteRoutingTableFromAreaRequest

func (*DefaultAPIService) DeleteRoutingTableFromAreaExecute

func (a *DefaultAPIService) DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteSecurityGroup

func (a *DefaultAPIService) DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest

DeleteSecurityGroup Delete security group.

Delete a security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiDeleteSecurityGroupRequest

func (*DefaultAPIService) DeleteSecurityGroupExecute

func (a *DefaultAPIService) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteSecurityGroupRule

func (a *DefaultAPIService) DeleteSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest

DeleteSecurityGroupRule Delete security group rule.

Delete a security group rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiDeleteSecurityGroupRuleRequest

func (*DefaultAPIService) DeleteSecurityGroupRuleExecute

func (a *DefaultAPIService) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteServer

func (a *DefaultAPIService) DeleteServer(ctx context.Context, projectId string, region string, serverId string) ApiDeleteServerRequest

DeleteServer Delete a server.

Delete a server. Volumes won't be deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiDeleteServerRequest

func (*DefaultAPIService) DeleteServerExecute

func (a *DefaultAPIService) DeleteServerExecute(r ApiDeleteServerRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteSnapshot

func (a *DefaultAPIService) DeleteSnapshot(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiDeleteSnapshotRequest

func (*DefaultAPIService) DeleteSnapshotExecute

func (a *DefaultAPIService) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteVolume

func (a *DefaultAPIService) DeleteVolume(ctx context.Context, projectId string, region string, volumeId string) ApiDeleteVolumeRequest

DeleteVolume Delete a volume.

Delete a volume inside a project. The deletion will fail if the volume is still in use.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiDeleteVolumeRequest

func (*DefaultAPIService) DeleteVolumeExecute

func (a *DefaultAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error

Execute executes the request

func (*DefaultAPIService) GetAffinityGroup

func (a *DefaultAPIService) GetAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiGetAffinityGroupRequest

GetAffinityGroup Get the affinity group.

Get the affinity group created in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param affinityGroupId The identifier (ID) of a STACKIT Affinity Group.
@return ApiGetAffinityGroupRequest

func (*DefaultAPIService) GetAffinityGroupExecute

func (a *DefaultAPIService) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)

Execute executes the request

@return AffinityGroup

func (*DefaultAPIService) GetAttachedVolume

func (a *DefaultAPIService) GetAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiGetAttachedVolumeRequest

GetAttachedVolume Get Volume Attachment details.

Get the details of an existing Volume Attachment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetAttachedVolumeRequest

func (*DefaultAPIService) GetAttachedVolumeExecute

func (a *DefaultAPIService) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)

Execute executes the request

@return VolumeAttachment

func (*DefaultAPIService) GetBackup

func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, region string, backupId string) ApiGetBackupRequest

GetBackup Get details about a backup.

Get details about a block device backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiGetBackupRequest

func (*DefaultAPIService) GetBackupExecute

func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

func (*DefaultAPIService) GetImage

func (a *DefaultAPIService) GetImage(ctx context.Context, projectId string, region string, imageId string) ApiGetImageRequest

GetImage Get details about an image.

Get details about a specific Image inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiGetImageRequest

func (*DefaultAPIService) GetImageExecute

func (a *DefaultAPIService) GetImageExecute(r ApiGetImageRequest) (*Image, error)

Execute executes the request

@return Image

func (*DefaultAPIService) GetImageShare

func (a *DefaultAPIService) GetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiGetImageShareRequest

GetImageShare Get share details of an image.

Get share details about an shared image.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiGetImageShareRequest

func (*DefaultAPIService) GetImageShareConsumer

func (a *DefaultAPIService) GetImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest

GetImageShareConsumer Get image share consumer.

Get details about an image share consumer.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@param consumerProjectId The identifier (ID) of a STACKIT Project that consumes an image share.
@return ApiGetImageShareConsumerRequest

func (*DefaultAPIService) GetImageShareConsumerExecute

func (a *DefaultAPIService) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)

Execute executes the request

@return ImageShareConsumer

func (*DefaultAPIService) GetImageShareExecute

func (a *DefaultAPIService) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)

Execute executes the request

@return ImageShare

func (*DefaultAPIService) GetKeyPair

func (a *DefaultAPIService) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest

GetKeyPair Get SSH keypair details.

Get details about an SSH keypair.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiGetKeyPairRequest

func (*DefaultAPIService) GetKeyPairExecute

func (a *DefaultAPIService) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)

Execute executes the request

@return Keypair

func (*DefaultAPIService) GetMachineType

func (a *DefaultAPIService) GetMachineType(ctx context.Context, projectId string, region string, machineType string) ApiGetMachineTypeRequest

GetMachineType Get details about a machine type.

Get details about a specific machine type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param machineType STACKIT machine type Name.
@return ApiGetMachineTypeRequest

func (*DefaultAPIService) GetMachineTypeExecute

func (a *DefaultAPIService) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)

Execute executes the request

@return MachineType

func (*DefaultAPIService) GetNetwork

func (a *DefaultAPIService) GetNetwork(ctx context.Context, projectId string, region string, networkId string) ApiGetNetworkRequest

GetNetwork Get network details.

Get details about a network of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiGetNetworkRequest

func (*DefaultAPIService) GetNetworkArea

func (a *DefaultAPIService) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

GetNetworkArea Get details about a network area.

Get details about a network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiGetNetworkAreaRequest

func (*DefaultAPIService) GetNetworkAreaExecute

func (a *DefaultAPIService) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)

Execute executes the request

@return NetworkArea

func (*DefaultAPIService) GetNetworkAreaRange

func (a *DefaultAPIService) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiGetNetworkAreaRangeRequest

GetNetworkAreaRange Get details about a network range.

Get details about a network range in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiGetNetworkAreaRangeRequest

func (*DefaultAPIService) GetNetworkAreaRangeExecute

func (a *DefaultAPIService) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)

Execute executes the request

@return NetworkRange

func (*DefaultAPIService) GetNetworkAreaRegion

func (a *DefaultAPIService) GetNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiGetNetworkAreaRegionRequest

GetNetworkAreaRegion Get details about a configured region.

Get details about a configured region in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiGetNetworkAreaRegionRequest

func (*DefaultAPIService) GetNetworkAreaRegionExecute

func (a *DefaultAPIService) GetNetworkAreaRegionExecute(r ApiGetNetworkAreaRegionRequest) (*RegionalArea, error)

Execute executes the request

@return RegionalArea

func (*DefaultAPIService) GetNetworkAreaRoute

func (a *DefaultAPIService) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiGetNetworkAreaRouteRequest

GetNetworkAreaRoute Get details about a network route.

Get details about a network route defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetNetworkAreaRouteRequest

func (*DefaultAPIService) GetNetworkAreaRouteExecute

func (a *DefaultAPIService) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)

Execute executes the request

@return Route

func (*DefaultAPIService) GetNetworkExecute

func (a *DefaultAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

Execute executes the request

@return Network

func (*DefaultAPIService) GetNic

func (a *DefaultAPIService) GetNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiGetNicRequest

GetNic Get details about a network interface.

Get details about a network interface inside a network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiGetNicRequest

func (*DefaultAPIService) GetNicExecute

func (a *DefaultAPIService) GetNicExecute(r ApiGetNicRequest) (*NIC, error)

Execute executes the request

@return NIC

func (*DefaultAPIService) GetOrganizationRequest

func (a *DefaultAPIService) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

GetOrganizationRequest Lookup an organization request ID.

Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetOrganizationRequestRequest

func (*DefaultAPIService) GetOrganizationRequestExecute

func (a *DefaultAPIService) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)

Execute executes the request

@return Request

func (*DefaultAPIService) GetProjectDetails

func (a *DefaultAPIService) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest

GetProjectDetails Get project details.

Get details about a STACKIT project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiGetProjectDetailsRequest

func (*DefaultAPIService) GetProjectDetailsExecute

func (a *DefaultAPIService) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)

Execute executes the request

@return Project

func (*DefaultAPIService) GetProjectNIC

func (a *DefaultAPIService) GetProjectNIC(ctx context.Context, projectId string, region string, nicId string) ApiGetProjectNICRequest

GetProjectNIC Get details about a network interface of a project.

Get details about a network interface inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param nicId The identifier (ID) of a network interface.
@return ApiGetProjectNICRequest

func (*DefaultAPIService) GetProjectNICExecute

func (a *DefaultAPIService) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)

Execute executes the request

@return NIC

func (*DefaultAPIService) GetProjectRequest

func (a *DefaultAPIService) GetProjectRequest(ctx context.Context, projectId string, region string, requestId string) ApiGetProjectRequestRequest

GetProjectRequest Lookup a project request ID.

Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetProjectRequestRequest

func (*DefaultAPIService) GetProjectRequestExecute

func (a *DefaultAPIService) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)

Execute executes the request

@return Request

func (*DefaultAPIService) GetPublicIP

func (a *DefaultAPIService) GetPublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiGetPublicIPRequest

GetPublicIP Get details about a public IP.

Get details about a public IP inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiGetPublicIPRequest

func (*DefaultAPIService) GetPublicIPExecute

func (a *DefaultAPIService) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)

Execute executes the request

@return PublicIp

func (*DefaultAPIService) GetRouteOfRoutingTable

func (a *DefaultAPIService) GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiGetRouteOfRoutingTableRequest

GetRouteOfRoutingTable Get details about a route of a routing table.

Get details about a route defined in a routing table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetRouteOfRoutingTableRequest

func (*DefaultAPIService) GetRouteOfRoutingTableExecute

func (a *DefaultAPIService) GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)

Execute executes the request

@return Route

func (*DefaultAPIService) GetRoutingTableOfArea

func (a *DefaultAPIService) GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiGetRoutingTableOfAreaRequest

GetRoutingTableOfArea Get details about a routing table.

Get details about a routing table defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiGetRoutingTableOfAreaRequest

func (*DefaultAPIService) GetRoutingTableOfAreaExecute

func (a *DefaultAPIService) GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)

Execute executes the request

@return RoutingTable

func (*DefaultAPIService) GetSecurityGroup

func (a *DefaultAPIService) GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest

GetSecurityGroup Get security group details.

Get details about a security group of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiGetSecurityGroupRequest

func (*DefaultAPIService) GetSecurityGroupExecute

func (a *DefaultAPIService) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)

Execute executes the request

@return SecurityGroup

func (*DefaultAPIService) GetSecurityGroupRule

func (a *DefaultAPIService) GetSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest

GetSecurityGroupRule Get security group rule details.

Get details about a security group rule of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@param securityGroupRuleId The identifier (ID) of a STACKIT Security Group Rule.
@return ApiGetSecurityGroupRuleRequest

func (*DefaultAPIService) GetSecurityGroupRuleExecute

func (a *DefaultAPIService) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)

Execute executes the request

@return SecurityGroupRule

func (*DefaultAPIService) GetServer

func (a *DefaultAPIService) GetServer(ctx context.Context, projectId string, region string, serverId string) ApiGetServerRequest

GetServer Get server details.

Get details about a server by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerRequest

func (*DefaultAPIService) GetServerConsole

func (a *DefaultAPIService) GetServerConsole(ctx context.Context, projectId string, region string, serverId string) ApiGetServerConsoleRequest

GetServerConsole Get server console.

Get a URL for server remote console.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerConsoleRequest

func (*DefaultAPIService) GetServerConsoleExecute

func (a *DefaultAPIService) GetServerConsoleExecute(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)

Execute executes the request

@return ServerConsoleUrl

func (*DefaultAPIService) GetServerExecute

func (a *DefaultAPIService) GetServerExecute(r ApiGetServerRequest) (*Server, error)

Execute executes the request

@return Server

func (*DefaultAPIService) GetServerLog

func (a *DefaultAPIService) GetServerLog(ctx context.Context, projectId string, region string, serverId string) ApiGetServerLogRequest

GetServerLog Get server log.

Get server console log.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiGetServerLogRequest

func (*DefaultAPIService) GetServerLogExecute

Execute executes the request

@return GetServerLog200Response

func (*DefaultAPIService) GetSnapshot

func (a *DefaultAPIService) GetSnapshot(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiGetSnapshotRequest

func (*DefaultAPIService) GetSnapshotExecute

func (a *DefaultAPIService) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)

Execute executes the request

@return Snapshot

func (*DefaultAPIService) GetVolume

func (a *DefaultAPIService) GetVolume(ctx context.Context, projectId string, region string, volumeId string) ApiGetVolumeRequest

GetVolume Get details about a volume.

Get details about a block device volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiGetVolumeRequest

func (*DefaultAPIService) GetVolumeExecute

func (a *DefaultAPIService) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)

Execute executes the request

@return Volume

func (*DefaultAPIService) GetVolumePerformanceClass

func (a *DefaultAPIService) GetVolumePerformanceClass(ctx context.Context, projectId string, region string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest

GetVolumePerformanceClass Get details about a volume performance class.

Get details about a specific volume performance class.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param volumePerformanceClass The name of a STACKIT Volume performance class.
@return ApiGetVolumePerformanceClassRequest

func (*DefaultAPIService) GetVolumePerformanceClassExecute

func (a *DefaultAPIService) GetVolumePerformanceClassExecute(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)

Execute executes the request

@return VolumePerformanceClass

func (*DefaultAPIService) ImageFromVolume

func (a *DefaultAPIService) ImageFromVolume(ctx context.Context, projectId string, volumeId string, region string) ApiImageFromVolumeRequest

ImageFromVolume Create an image out of a volume.

Create an image out a a 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.
@param region The STACKIT Region of the resources.
@return ApiImageFromVolumeRequest

func (*DefaultAPIService) ImageFromVolumeExecute

func (a *DefaultAPIService) ImageFromVolumeExecute(r ApiImageFromVolumeRequest) (*Image, error)

Execute executes the request

@return Image

func (*DefaultAPIService) ListAffinityGroups

func (a *DefaultAPIService) ListAffinityGroups(ctx context.Context, projectId string, region string) ApiListAffinityGroupsRequest

ListAffinityGroups Get the affinity groups setup for a project.

Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListAffinityGroupsRequest

func (*DefaultAPIService) ListAffinityGroupsExecute

Execute executes the request

@return AffinityGroupListResponse

func (*DefaultAPIService) ListAttachedVolumes

func (a *DefaultAPIService) ListAttachedVolumes(ctx context.Context, projectId string, region string, serverId string) ApiListAttachedVolumesRequest

ListAttachedVolumes List all volume attachments of a server.

Get a list of all volume attachments of a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListAttachedVolumesRequest

func (*DefaultAPIService) ListAttachedVolumesExecute

Execute executes the request

@return VolumeAttachmentListResponse

func (*DefaultAPIService) ListAvailabilityZones

func (a *DefaultAPIService) ListAvailabilityZones(ctx context.Context, region string) ApiListAvailabilityZonesRequest

ListAvailabilityZones List all availability zones.

Get a list of all availability zones.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region The STACKIT Region of the resources.
@return ApiListAvailabilityZonesRequest

func (*DefaultAPIService) ListAvailabilityZonesExecute

Execute executes the request

@return AvailabilityZoneListResponse

func (*DefaultAPIService) ListBackups

func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region string) ApiListBackupsRequest

ListBackups List all backups inside a project.

Get a list of all backups inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListBackupsRequest

func (*DefaultAPIService) ListBackupsExecute

func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*BackupListResponse, error)

Execute executes the request

@return BackupListResponse

func (*DefaultAPIService) ListImages

func (a *DefaultAPIService) ListImages(ctx context.Context, projectId string, region string) ApiListImagesRequest

ListImages List all Images inside a project.

Get a list of all images inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListImagesRequest

func (*DefaultAPIService) ListImagesExecute

func (a *DefaultAPIService) ListImagesExecute(r ApiListImagesRequest) (*ImageListResponse, error)

Execute executes the request

@return ImageListResponse

func (*DefaultAPIService) ListKeyPairs

ListKeyPairs List all SSH keypairs for the requesting user.

Get a list of all SSH keypairs assigned to the requesting user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListKeyPairsRequest

func (*DefaultAPIService) ListKeyPairsExecute

func (a *DefaultAPIService) ListKeyPairsExecute(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)

Execute executes the request

@return KeyPairListResponse

func (*DefaultAPIService) ListMachineTypes

func (a *DefaultAPIService) ListMachineTypes(ctx context.Context, projectId string, region string) ApiListMachineTypesRequest

ListMachineTypes List all machine types available for a project.

Get a list of all machine type available in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListMachineTypesRequest

func (*DefaultAPIService) ListMachineTypesExecute

Execute executes the request

@return MachineTypeListResponse

func (*DefaultAPIService) ListNetworkAreaProjects

func (a *DefaultAPIService) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

ListNetworkAreaProjects List all projects using a network area.

Get a list of all projects using a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaProjectsRequest

func (*DefaultAPIService) ListNetworkAreaProjectsExecute

func (a *DefaultAPIService) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)

Execute executes the request

@return ProjectListResponse

func (*DefaultAPIService) ListNetworkAreaRanges

func (a *DefaultAPIService) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRangesRequest

ListNetworkAreaRanges List all network ranges in a network area.

Get a list of all network ranges in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiListNetworkAreaRangesRequest

func (*DefaultAPIService) ListNetworkAreaRangesExecute

Execute executes the request

@return NetworkRangeListResponse

func (*DefaultAPIService) ListNetworkAreaRegions

func (a *DefaultAPIService) ListNetworkAreaRegions(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRegionsRequest

ListNetworkAreaRegions List all configured regions in a network area.

Get a list of all configured regions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRegionsRequest

func (*DefaultAPIService) ListNetworkAreaRegionsExecute

func (a *DefaultAPIService) ListNetworkAreaRegionsExecute(r ApiListNetworkAreaRegionsRequest) (*RegionalAreaListResponse, error)

Execute executes the request

@return RegionalAreaListResponse

func (*DefaultAPIService) ListNetworkAreaRoutes

func (a *DefaultAPIService) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRoutesRequest

ListNetworkAreaRoutes List all network routes in a network area.

Get a list of all network routes defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiListNetworkAreaRoutesRequest

func (*DefaultAPIService) ListNetworkAreaRoutesExecute

func (a *DefaultAPIService) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)

Execute executes the request

@return RouteListResponse

func (*DefaultAPIService) ListNetworkAreas

func (a *DefaultAPIService) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

ListNetworkAreas List all network areas in an organization.

Get a list of all visible network areas defined in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiListNetworkAreasRequest

func (*DefaultAPIService) ListNetworkAreasExecute

Execute executes the request

@return NetworkAreaListResponse

func (*DefaultAPIService) ListNetworks

func (a *DefaultAPIService) ListNetworks(ctx context.Context, projectId string, region string) ApiListNetworksRequest

ListNetworks List all networks inside a project.

Get a list of all networks inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListNetworksRequest

func (*DefaultAPIService) ListNetworksExecute

func (a *DefaultAPIService) ListNetworksExecute(r ApiListNetworksRequest) (*NetworkListResponse, error)

Execute executes the request

@return NetworkListResponse

func (*DefaultAPIService) ListNics

func (a *DefaultAPIService) ListNics(ctx context.Context, projectId string, region string, networkId string) ApiListNicsRequest

ListNics List all network interfaces inside a network.

Get a list of all network interfaces inside a network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiListNicsRequest

func (*DefaultAPIService) ListNicsExecute

func (a *DefaultAPIService) ListNicsExecute(r ApiListNicsRequest) (*NICListResponse, error)

Execute executes the request

@return NICListResponse

func (*DefaultAPIService) ListProjectNICs

func (a *DefaultAPIService) ListProjectNICs(ctx context.Context, projectId string, region string) ApiListProjectNICsRequest

ListProjectNICs List all network interfaces inside a project.

Get a list of all network interfaces inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListProjectNICsRequest

func (*DefaultAPIService) ListProjectNICsExecute

func (a *DefaultAPIService) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)

Execute executes the request

@return NICListResponse

func (*DefaultAPIService) ListPublicIPRanges

ListPublicIPRanges List all public IP ranges.

Get a list of all public IP ranges that STACKIT uses.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPublicIPRangesRequest

func (*DefaultAPIService) ListPublicIPRangesExecute

Execute executes the request

@return PublicNetworkListResponse

func (*DefaultAPIService) ListPublicIPs

func (a *DefaultAPIService) ListPublicIPs(ctx context.Context, projectId string, region string) ApiListPublicIPsRequest

ListPublicIPs List all public IPs inside a project.

Get a list of all public IPs inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListPublicIPsRequest

func (*DefaultAPIService) ListPublicIPsExecute

Execute executes the request

@return PublicIpListResponse

func (*DefaultAPIService) ListQuotas

func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest

ListQuotas List project quotas.

List quota limits and usage for project resources.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListQuotasRequest

func (*DefaultAPIService) ListQuotasExecute

func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)

Execute executes the request

@return QuotaListResponse

func (*DefaultAPIService) ListRoutesOfRoutingTable

func (a *DefaultAPIService) ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListRoutesOfRoutingTableRequest

ListRoutesOfRoutingTable List all routes in a routing table.

Get a list of all routes in a routing table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiListRoutesOfRoutingTableRequest

func (*DefaultAPIService) ListRoutesOfRoutingTableExecute

func (a *DefaultAPIService) ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)

Execute executes the request

@return RouteListResponse

func (*DefaultAPIService) ListRoutingTablesOfArea

func (a *DefaultAPIService) ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest

ListRoutingTablesOfArea List all routing tables in a network area.

Get a list of all routing tables in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiListRoutingTablesOfAreaRequest

func (*DefaultAPIService) ListRoutingTablesOfAreaExecute

func (a *DefaultAPIService) ListRoutingTablesOfAreaExecute(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)

Execute executes the request

@return RoutingTableListResponse

func (*DefaultAPIService) ListSecurityGroupRules

func (a *DefaultAPIService) ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest

ListSecurityGroupRules List all rules for a security group.

Get a list of all rules inside a security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiListSecurityGroupRulesRequest

func (*DefaultAPIService) ListSecurityGroupRulesExecute

Execute executes the request

@return SecurityGroupRuleListResponse

func (*DefaultAPIService) ListSecurityGroups

func (a *DefaultAPIService) ListSecurityGroups(ctx context.Context, projectId string, region string) ApiListSecurityGroupsRequest

ListSecurityGroups List all security groups inside a project.

Get a list of all security groups inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListSecurityGroupsRequest

func (*DefaultAPIService) ListSecurityGroupsExecute

Execute executes the request

@return SecurityGroupListResponse

func (*DefaultAPIService) ListServerNICs

func (a *DefaultAPIService) ListServerNICs(ctx context.Context, projectId string, region string, serverId string) ApiListServerNICsRequest

ListServerNICs Get all network interfaces.

Get all network interfaces attached to the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerNICsRequest

func (*DefaultAPIService) ListServerNICsExecute

func (a *DefaultAPIService) ListServerNICsExecute(r ApiListServerNICsRequest) (*NICListResponse, error)

Execute executes the request

@return NICListResponse

func (*DefaultAPIService) ListServerServiceAccounts

func (a *DefaultAPIService) ListServerServiceAccounts(ctx context.Context, projectId string, region string, serverId string) ApiListServerServiceAccountsRequest

ListServerServiceAccounts List all service accounts of the Server.

Get the list of the service accounts of the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiListServerServiceAccountsRequest

func (*DefaultAPIService) ListServerServiceAccountsExecute

Execute executes the request

@return ServiceAccountMailListResponse

func (*DefaultAPIService) ListServers

func (a *DefaultAPIService) ListServers(ctx context.Context, projectId string, region string) ApiListServersRequest

ListServers List all servers inside a project.

Get a list of all servers inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListServersRequest

func (*DefaultAPIService) ListServersExecute

func (a *DefaultAPIService) ListServersExecute(r ApiListServersRequest) (*ServerListResponse, error)

Execute executes the request

@return ServerListResponse

func (*DefaultAPIService) ListSnapshotsInProject

func (a *DefaultAPIService) ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiListSnapshotsInProjectRequest

ListSnapshotsInProject List all snapshots inside a project.

Get a list of all snapshots inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListSnapshotsInProjectRequest

func (*DefaultAPIService) ListSnapshotsInProjectExecute

func (a *DefaultAPIService) ListSnapshotsInProjectExecute(r ApiListSnapshotsInProjectRequest) (*SnapshotListResponse, error)

Execute executes the request

@return SnapshotListResponse

func (*DefaultAPIService) ListVolumePerformanceClasses

func (a *DefaultAPIService) ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest

ListVolumePerformanceClasses List all volume performance classes available for a project.

Get a list of all volume performance classes available inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListVolumePerformanceClassesRequest

func (*DefaultAPIService) ListVolumePerformanceClassesExecute

Execute executes the request

@return VolumePerformanceClassListResponse

func (*DefaultAPIService) ListVolumes

func (a *DefaultAPIService) ListVolumes(ctx context.Context, projectId string, region string) ApiListVolumesRequest

ListVolumes List all volumes inside a project.

Get a list of all volumes inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@return ApiListVolumesRequest

func (*DefaultAPIService) ListVolumesExecute

func (a *DefaultAPIService) ListVolumesExecute(r ApiListVolumesRequest) (*VolumeListResponse, error)

Execute executes the request

@return VolumeListResponse

func (*DefaultAPIService) PartialUpdateNetwork

func (a *DefaultAPIService) PartialUpdateNetwork(ctx context.Context, projectId string, region string, networkId string) ApiPartialUpdateNetworkRequest

PartialUpdateNetwork Update network settings.

Update the settings of a network inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiPartialUpdateNetworkRequest

func (*DefaultAPIService) PartialUpdateNetworkArea

func (a *DefaultAPIService) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

PartialUpdateNetworkArea Update network area settings.

Update the settings of a network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiPartialUpdateNetworkAreaRequest

func (*DefaultAPIService) PartialUpdateNetworkAreaExecute

func (a *DefaultAPIService) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)

Execute executes the request

@return NetworkArea

func (*DefaultAPIService) PartialUpdateNetworkExecute

func (a *DefaultAPIService) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

Execute executes the request

func (*DefaultAPIService) RebootServer

func (a *DefaultAPIService) RebootServer(ctx context.Context, projectId string, region string, serverId string) ApiRebootServerRequest

RebootServer Reboot the server.

Reboot the server. A soft reboot will attempt to gracefully shut down the server by passing the command to the operating system. A hard reboot will power cycle the server without waiting for the operating system to shutdown properly.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRebootServerRequest

func (*DefaultAPIService) RebootServerExecute

func (a *DefaultAPIService) RebootServerExecute(r ApiRebootServerRequest) error

Execute executes the request

func (*DefaultAPIService) RemoveNetworkFromServer

func (a *DefaultAPIService) RemoveNetworkFromServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest

RemoveNetworkFromServer Detach and delete all network interfaces associated with the specified network.

Detach and delete all network interfaces associated with the specified network from the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiRemoveNetworkFromServerRequest

func (*DefaultAPIService) RemoveNetworkFromServerExecute

func (a *DefaultAPIService) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error

Execute executes the request

func (*DefaultAPIService) RemoveNicFromServer

func (a *DefaultAPIService) RemoveNicFromServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiRemoveNicFromServerRequest

RemoveNicFromServer Detach a network interface.

Detach a network interface from a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param nicId The identifier (ID) of a network interface.
@return ApiRemoveNicFromServerRequest

func (*DefaultAPIService) RemoveNicFromServerExecute

func (a *DefaultAPIService) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error

Execute executes the request

func (*DefaultAPIService) RemovePublicIpFromServer

func (a *DefaultAPIService) RemovePublicIpFromServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest

RemovePublicIpFromServer Dissociate a public IP from a server.

Dissociate a public IP on an existing server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiRemovePublicIpFromServerRequest

func (*DefaultAPIService) RemovePublicIpFromServerExecute

func (a *DefaultAPIService) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error

Execute executes the request

func (*DefaultAPIService) RemoveSecurityGroupFromServer

func (a *DefaultAPIService) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest

RemoveSecurityGroupFromServer Remove a server from a security group.

Remove a server from a attached security group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiRemoveSecurityGroupFromServerRequest

func (*DefaultAPIService) RemoveSecurityGroupFromServerExecute

func (a *DefaultAPIService) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error

Execute executes the request

func (*DefaultAPIService) RemoveServiceAccountFromServer

func (a *DefaultAPIService) RemoveServiceAccountFromServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest

RemoveServiceAccountFromServer Detach a service account from a server.

Detach an additional service account from the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param serviceAccountMail The e-mail address of a service account.
@return ApiRemoveServiceAccountFromServerRequest

func (*DefaultAPIService) RemoveServiceAccountFromServerExecute

Execute executes the request

@return ServiceAccountMailListResponse

func (*DefaultAPIService) RemoveVolumeFromServer

func (a *DefaultAPIService) RemoveVolumeFromServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest

RemoveVolumeFromServer Detach a volume from a server.

Detach an existing volume from an existing server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiRemoveVolumeFromServerRequest

func (*DefaultAPIService) RemoveVolumeFromServerExecute

func (a *DefaultAPIService) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error

Execute executes the request

func (*DefaultAPIService) RescueServer

func (a *DefaultAPIService) RescueServer(ctx context.Context, projectId string, region string, serverId string) ApiRescueServerRequest

RescueServer Rescue an existing server.

Rescue an existing server. It is shutdown and the initial image is attached as the boot volume, while the boot volume is attached as secondary volume and the server is booted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiRescueServerRequest

func (*DefaultAPIService) RescueServerExecute

func (a *DefaultAPIService) RescueServerExecute(r ApiRescueServerRequest) error

Execute executes the request

func (*DefaultAPIService) ResizeServer

func (a *DefaultAPIService) ResizeServer(ctx context.Context, projectId string, region string, serverId string) ApiResizeServerRequest

ResizeServer Resize a server.

Resize the server to the given machine type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiResizeServerRequest

func (*DefaultAPIService) ResizeServerExecute

func (a *DefaultAPIService) ResizeServerExecute(r ApiResizeServerRequest) error

Execute executes the request

func (*DefaultAPIService) ResizeVolume

func (a *DefaultAPIService) ResizeVolume(ctx context.Context, projectId string, region string, volumeId string) ApiResizeVolumeRequest

ResizeVolume Update the size of a volume.

Update the size of a block device volume. The new volume size must be larger than the current size.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiResizeVolumeRequest

func (*DefaultAPIService) ResizeVolumeExecute

func (a *DefaultAPIService) ResizeVolumeExecute(r ApiResizeVolumeRequest) error

Execute executes the request

func (*DefaultAPIService) RestoreBackup

func (a *DefaultAPIService) RestoreBackup(ctx context.Context, projectId string, region string, backupId string) ApiRestoreBackupRequest

RestoreBackup Restore Backup to the referenced source Volume.

Restores a Backup to the existing Volume it references to. The use of this endpoint is disruptive as the volume needs to be detached. If a new volume is to be created use the volumes endpoint with the option to create from backup.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiRestoreBackupRequest

func (*DefaultAPIService) RestoreBackupExecute

func (a *DefaultAPIService) RestoreBackupExecute(r ApiRestoreBackupRequest) error

Execute executes the request

func (*DefaultAPIService) SetImageShare

func (a *DefaultAPIService) SetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiSetImageShareRequest

SetImageShare Set image share.

Set share of an Image. New Options will replace existing settings.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiSetImageShareRequest

func (*DefaultAPIService) SetImageShareExecute

func (a *DefaultAPIService) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)

Execute executes the request

@return ImageShare

func (*DefaultAPIService) StartServer

func (a *DefaultAPIService) StartServer(ctx context.Context, projectId string, region string, serverId string) ApiStartServerRequest

StartServer Boot up a server.

Start an existing server or allocates the server if deallocated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStartServerRequest

func (*DefaultAPIService) StartServerExecute

func (a *DefaultAPIService) StartServerExecute(r ApiStartServerRequest) error

Execute executes the request

func (*DefaultAPIService) StopServer

func (a *DefaultAPIService) StopServer(ctx context.Context, projectId string, region string, serverId string) ApiStopServerRequest

StopServer Stop an existing server.

Stops an existing server. The server will remain on the Hypervisor and will be charged full price for all resources attached to it. The attached resources will remain reserved. Useful particularly for vGPU servers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiStopServerRequest

func (*DefaultAPIService) StopServerExecute

func (a *DefaultAPIService) StopServerExecute(r ApiStopServerRequest) error

Execute executes the request

func (*DefaultAPIService) UnrescueServer

func (a *DefaultAPIService) UnrescueServer(ctx context.Context, projectId string, region string, serverId string) ApiUnrescueServerRequest

UnrescueServer Unrescue an existing server.

Unrescue an existing server. The original boot volume is attached as boot volume of the server and the server is booted up.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUnrescueServerRequest

func (*DefaultAPIService) UnrescueServerExecute

func (a *DefaultAPIService) UnrescueServerExecute(r ApiUnrescueServerRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateAttachedVolume

func (a *DefaultAPIService) UpdateAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest

UpdateAttachedVolume Update Volume Attachment Parameters.

Update the properties of an existing Volume Attachment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateAttachedVolumeRequest

func (*DefaultAPIService) UpdateAttachedVolumeExecute

func (a *DefaultAPIService) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)

Execute executes the request

@return VolumeAttachment

func (*DefaultAPIService) UpdateBackup

func (a *DefaultAPIService) UpdateBackup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources.
@param backupId The identifier (ID) of a STACKIT Backup.
@return ApiUpdateBackupRequest

func (*DefaultAPIService) UpdateBackupExecute

func (a *DefaultAPIService) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)

Execute executes the request

@return Backup

func (*DefaultAPIService) UpdateImage

func (a *DefaultAPIService) UpdateImage(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageRequest

UpdateImage Update Image Parameters.

Update the properties of an existing Image inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageRequest

func (*DefaultAPIService) UpdateImageExecute

func (a *DefaultAPIService) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)

Execute executes the request

@return Image

func (*DefaultAPIService) UpdateImageShare

func (a *DefaultAPIService) UpdateImageShare(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageShareRequest

UpdateImageShare Update image share.

Update share of an Image. Projects will be appended to existing list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param imageId The identifier (ID) of a STACKIT Image.
@return ApiUpdateImageShareRequest

func (*DefaultAPIService) UpdateImageShareExecute

func (a *DefaultAPIService) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)

Execute executes the request

@return ImageShare

func (*DefaultAPIService) UpdateKeyPair

func (a *DefaultAPIService) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest

UpdateKeyPair Update information of an SSH keypair.

Update labels of the SSH keypair.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keypairName The name of an SSH keypair.
@return ApiUpdateKeyPairRequest

func (*DefaultAPIService) UpdateKeyPairExecute

func (a *DefaultAPIService) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)

Execute executes the request

@return Keypair

func (*DefaultAPIService) UpdateNetworkAreaRegion

func (a *DefaultAPIService) UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiUpdateNetworkAreaRegionRequest

UpdateNetworkAreaRegion Update a region for a network area.

Update a new region for a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@return ApiUpdateNetworkAreaRegionRequest

func (*DefaultAPIService) UpdateNetworkAreaRegionExecute

func (a *DefaultAPIService) UpdateNetworkAreaRegionExecute(r ApiUpdateNetworkAreaRegionRequest) (*RegionalArea, error)

Execute executes the request

@return RegionalArea

func (*DefaultAPIService) UpdateNetworkAreaRoute

func (a *DefaultAPIService) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region 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 region The STACKIT Region of the resources.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiUpdateNetworkAreaRouteRequest

func (*DefaultAPIService) UpdateNetworkAreaRouteExecute

func (a *DefaultAPIService) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)

Execute executes the request

@return Route

func (*DefaultAPIService) UpdateNic

func (a *DefaultAPIService) UpdateNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiUpdateNicRequest

UpdateNic Update a network interface.

Update the properties of an existing network interface inside a network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param networkId The identifier (ID) of a STACKIT Network.
@param nicId The identifier (ID) of a network interface.
@return ApiUpdateNicRequest

func (*DefaultAPIService) UpdateNicExecute

func (a *DefaultAPIService) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)

Execute executes the request

@return NIC

func (*DefaultAPIService) UpdatePublicIP

func (a *DefaultAPIService) UpdatePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiUpdatePublicIPRequest

UpdatePublicIP Update a public IP.

Update the properties of an existing public IP inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param publicIpId The identifier (ID) of a Public IP.
@return ApiUpdatePublicIPRequest

func (*DefaultAPIService) UpdatePublicIPExecute

func (a *DefaultAPIService) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)

Execute executes the request

@return PublicIp

func (*DefaultAPIService) UpdateRouteOfRoutingTable

func (a *DefaultAPIService) UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiUpdateRouteOfRoutingTableRequest

UpdateRouteOfRoutingTable Update a route of a routing table.

Update a route defined in a routing table.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiUpdateRouteOfRoutingTableRequest

func (*DefaultAPIService) UpdateRouteOfRoutingTableExecute

func (a *DefaultAPIService) UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)

Execute executes the request

@return Route

func (*DefaultAPIService) UpdateRoutingTableOfArea

func (a *DefaultAPIService) UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiUpdateRoutingTableOfAreaRequest

UpdateRoutingTableOfArea Update a routing table.

Update a routing table defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param region The STACKIT Region of the resources.
@param routingTableId The identifier (ID) of a STACKIT Routing Table.
@return ApiUpdateRoutingTableOfAreaRequest

func (*DefaultAPIService) UpdateRoutingTableOfAreaExecute

func (a *DefaultAPIService) UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)

Execute executes the request

@return RoutingTable

func (*DefaultAPIService) UpdateSecurityGroup

func (a *DefaultAPIService) UpdateSecurityGroup(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources.
@param securityGroupId The identifier (ID) of a STACKIT Security Group.
@return ApiUpdateSecurityGroupRequest

func (*DefaultAPIService) UpdateSecurityGroupExecute

func (a *DefaultAPIService) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)

Execute executes the request

@return SecurityGroup

func (*DefaultAPIService) UpdateServer

func (a *DefaultAPIService) UpdateServer(ctx context.Context, projectId string, region string, serverId string) ApiUpdateServerRequest

UpdateServer Update information of a server.

Update name or labels of the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param serverId The identifier (ID) of a STACKIT Server.
@return ApiUpdateServerRequest

func (*DefaultAPIService) UpdateServerExecute

func (a *DefaultAPIService) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)

Execute executes the request

@return Server

func (*DefaultAPIService) UpdateSnapshot

func (a *DefaultAPIService) UpdateSnapshot(ctx context.Context, projectId string, region 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 region The STACKIT Region of the resources.
@param snapshotId The identifier (ID) of a STACKIT Snapshot.
@return ApiUpdateSnapshotRequest

func (*DefaultAPIService) UpdateSnapshotExecute

func (a *DefaultAPIService) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)

Execute executes the request

@return Snapshot

func (*DefaultAPIService) UpdateVolume

func (a *DefaultAPIService) UpdateVolume(ctx context.Context, projectId string, region string, volumeId string) ApiUpdateVolumeRequest

UpdateVolume Update information of a volume.

Update name, description or labels of the volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param region The STACKIT Region of the resources.
@param volumeId The identifier (ID) of a STACKIT Volume.
@return ApiUpdateVolumeRequest

func (*DefaultAPIService) UpdateVolumeExecute

func (a *DefaultAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)

Execute executes the request

@return Volume

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// AddNetworkToServerExecuteMock can be populated to implement the behavior of the AddNetworkToServerExecute function of this mock
	AddNetworkToServerExecuteMock *func(r ApiAddNetworkToServerRequest) error
	// AddNicToServerExecuteMock can be populated to implement the behavior of the AddNicToServerExecute function of this mock
	AddNicToServerExecuteMock *func(r ApiAddNicToServerRequest) error
	// AddPublicIpToServerExecuteMock can be populated to implement the behavior of the AddPublicIpToServerExecute function of this mock
	AddPublicIpToServerExecuteMock *func(r ApiAddPublicIpToServerRequest) error
	// AddRoutesToRoutingTableExecuteMock can be populated to implement the behavior of the AddRoutesToRoutingTableExecute function of this mock
	AddRoutesToRoutingTableExecuteMock *func(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)
	// AddRoutingTableToAreaExecuteMock can be populated to implement the behavior of the AddRoutingTableToAreaExecute function of this mock
	AddRoutingTableToAreaExecuteMock *func(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)
	// AddSecurityGroupToServerExecuteMock can be populated to implement the behavior of the AddSecurityGroupToServerExecute function of this mock
	AddSecurityGroupToServerExecuteMock *func(r ApiAddSecurityGroupToServerRequest) error
	// AddServiceAccountToServerExecuteMock can be populated to implement the behavior of the AddServiceAccountToServerExecute function of this mock
	AddServiceAccountToServerExecuteMock *func(r ApiAddServiceAccountToServerRequest) (*ServiceAccountMailListResponse, error)
	// AddVolumeToServerExecuteMock can be populated to implement the behavior of the AddVolumeToServerExecute function of this mock
	AddVolumeToServerExecuteMock *func(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)
	// CreateAffinityGroupExecuteMock can be populated to implement the behavior of the CreateAffinityGroupExecute function of this mock
	CreateAffinityGroupExecuteMock *func(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)
	// CreateBackupExecuteMock can be populated to implement the behavior of the CreateBackupExecute function of this mock
	CreateBackupExecuteMock *func(r ApiCreateBackupRequest) (*Backup, error)
	// CreateImageExecuteMock can be populated to implement the behavior of the CreateImageExecute function of this mock
	CreateImageExecuteMock *func(r ApiCreateImageRequest) (*ImageCreateResponse, error)
	// CreateIsolatedNetworkExecuteMock can be populated to implement the behavior of the CreateIsolatedNetworkExecute function of this mock
	CreateIsolatedNetworkExecuteMock *func(r ApiCreateIsolatedNetworkRequest) (*Network, error)
	// CreateKeyPairExecuteMock can be populated to implement the behavior of the CreateKeyPairExecute function of this mock
	CreateKeyPairExecuteMock *func(r ApiCreateKeyPairRequest) (*Keypair, error)
	// CreateNetworkExecuteMock can be populated to implement the behavior of the CreateNetworkExecute function of this mock
	CreateNetworkExecuteMock *func(r ApiCreateNetworkRequest) (*Network, error)
	// CreateNetworkAreaExecuteMock can be populated to implement the behavior of the CreateNetworkAreaExecute function of this mock
	CreateNetworkAreaExecuteMock *func(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)
	// CreateNetworkAreaRangeExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRangeExecute function of this mock
	CreateNetworkAreaRangeExecuteMock *func(r ApiCreateNetworkAreaRangeRequest) (*NetworkRangeListResponse, error)
	// CreateNetworkAreaRegionExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRegionExecute function of this mock
	CreateNetworkAreaRegionExecuteMock *func(r ApiCreateNetworkAreaRegionRequest) (*RegionalArea, error)
	// CreateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the CreateNetworkAreaRouteExecute function of this mock
	CreateNetworkAreaRouteExecuteMock *func(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)
	// CreateNicExecuteMock can be populated to implement the behavior of the CreateNicExecute function of this mock
	CreateNicExecuteMock *func(r ApiCreateNicRequest) (*NIC, error)
	// CreatePublicIPExecuteMock can be populated to implement the behavior of the CreatePublicIPExecute function of this mock
	CreatePublicIPExecuteMock *func(r ApiCreatePublicIPRequest) (*PublicIp, error)
	// CreateSecurityGroupExecuteMock can be populated to implement the behavior of the CreateSecurityGroupExecute function of this mock
	CreateSecurityGroupExecuteMock *func(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)
	// CreateSecurityGroupRuleExecuteMock can be populated to implement the behavior of the CreateSecurityGroupRuleExecute function of this mock
	CreateSecurityGroupRuleExecuteMock *func(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)
	// CreateServerExecuteMock can be populated to implement the behavior of the CreateServerExecute function of this mock
	CreateServerExecuteMock *func(r ApiCreateServerRequest) (*Server, error)
	// CreateSnapshotExecuteMock can be populated to implement the behavior of the CreateSnapshotExecute function of this mock
	CreateSnapshotExecuteMock *func(r ApiCreateSnapshotRequest) (*Snapshot, error)
	// CreateVolumeExecuteMock can be populated to implement the behavior of the CreateVolumeExecute function of this mock
	CreateVolumeExecuteMock *func(r ApiCreateVolumeRequest) (*Volume, error)
	// DeallocateServerExecuteMock can be populated to implement the behavior of the DeallocateServerExecute function of this mock
	DeallocateServerExecuteMock *func(r ApiDeallocateServerRequest) error
	// DeleteAffinityGroupExecuteMock can be populated to implement the behavior of the DeleteAffinityGroupExecute function of this mock
	DeleteAffinityGroupExecuteMock *func(r ApiDeleteAffinityGroupRequest) error
	// DeleteBackupExecuteMock can be populated to implement the behavior of the DeleteBackupExecute function of this mock
	DeleteBackupExecuteMock *func(r ApiDeleteBackupRequest) error
	// DeleteImageExecuteMock can be populated to implement the behavior of the DeleteImageExecute function of this mock
	DeleteImageExecuteMock *func(r ApiDeleteImageRequest) error
	// DeleteImageShareExecuteMock can be populated to implement the behavior of the DeleteImageShareExecute function of this mock
	DeleteImageShareExecuteMock *func(r ApiDeleteImageShareRequest) error
	// DeleteImageShareConsumerExecuteMock can be populated to implement the behavior of the DeleteImageShareConsumerExecute function of this mock
	DeleteImageShareConsumerExecuteMock *func(r ApiDeleteImageShareConsumerRequest) error
	// DeleteKeyPairExecuteMock can be populated to implement the behavior of the DeleteKeyPairExecute function of this mock
	DeleteKeyPairExecuteMock *func(r ApiDeleteKeyPairRequest) error
	// DeleteNetworkExecuteMock can be populated to implement the behavior of the DeleteNetworkExecute function of this mock
	DeleteNetworkExecuteMock *func(r ApiDeleteNetworkRequest) error
	// DeleteNetworkAreaExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaExecute function of this mock
	DeleteNetworkAreaExecuteMock *func(r ApiDeleteNetworkAreaRequest) error
	// DeleteNetworkAreaRangeExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRangeExecute function of this mock
	DeleteNetworkAreaRangeExecuteMock *func(r ApiDeleteNetworkAreaRangeRequest) error
	// DeleteNetworkAreaRegionExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRegionExecute function of this mock
	DeleteNetworkAreaRegionExecuteMock *func(r ApiDeleteNetworkAreaRegionRequest) error
	// DeleteNetworkAreaRouteExecuteMock can be populated to implement the behavior of the DeleteNetworkAreaRouteExecute function of this mock
	DeleteNetworkAreaRouteExecuteMock *func(r ApiDeleteNetworkAreaRouteRequest) error
	// DeleteNicExecuteMock can be populated to implement the behavior of the DeleteNicExecute function of this mock
	DeleteNicExecuteMock *func(r ApiDeleteNicRequest) error
	// DeletePublicIPExecuteMock can be populated to implement the behavior of the DeletePublicIPExecute function of this mock
	DeletePublicIPExecuteMock *func(r ApiDeletePublicIPRequest) error
	// DeleteRouteFromRoutingTableExecuteMock can be populated to implement the behavior of the DeleteRouteFromRoutingTableExecute function of this mock
	DeleteRouteFromRoutingTableExecuteMock *func(r ApiDeleteRouteFromRoutingTableRequest) error
	// DeleteRoutingTableFromAreaExecuteMock can be populated to implement the behavior of the DeleteRoutingTableFromAreaExecute function of this mock
	DeleteRoutingTableFromAreaExecuteMock *func(r ApiDeleteRoutingTableFromAreaRequest) error
	// DeleteSecurityGroupExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupExecute function of this mock
	DeleteSecurityGroupExecuteMock *func(r ApiDeleteSecurityGroupRequest) error
	// DeleteSecurityGroupRuleExecuteMock can be populated to implement the behavior of the DeleteSecurityGroupRuleExecute function of this mock
	DeleteSecurityGroupRuleExecuteMock *func(r ApiDeleteSecurityGroupRuleRequest) error
	// DeleteServerExecuteMock can be populated to implement the behavior of the DeleteServerExecute function of this mock
	DeleteServerExecuteMock *func(r ApiDeleteServerRequest) error
	// DeleteSnapshotExecuteMock can be populated to implement the behavior of the DeleteSnapshotExecute function of this mock
	DeleteSnapshotExecuteMock *func(r ApiDeleteSnapshotRequest) error
	// DeleteVolumeExecuteMock can be populated to implement the behavior of the DeleteVolumeExecute function of this mock
	DeleteVolumeExecuteMock *func(r ApiDeleteVolumeRequest) error
	// GetAffinityGroupExecuteMock can be populated to implement the behavior of the GetAffinityGroupExecute function of this mock
	GetAffinityGroupExecuteMock *func(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)
	// GetAttachedVolumeExecuteMock can be populated to implement the behavior of the GetAttachedVolumeExecute function of this mock
	GetAttachedVolumeExecuteMock *func(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)
	// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
	GetBackupExecuteMock *func(r ApiGetBackupRequest) (*Backup, error)
	// GetImageExecuteMock can be populated to implement the behavior of the GetImageExecute function of this mock
	GetImageExecuteMock *func(r ApiGetImageRequest) (*Image, error)
	// GetImageShareExecuteMock can be populated to implement the behavior of the GetImageShareExecute function of this mock
	GetImageShareExecuteMock *func(r ApiGetImageShareRequest) (*ImageShare, error)
	// GetImageShareConsumerExecuteMock can be populated to implement the behavior of the GetImageShareConsumerExecute function of this mock
	GetImageShareConsumerExecuteMock *func(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)
	// GetKeyPairExecuteMock can be populated to implement the behavior of the GetKeyPairExecute function of this mock
	GetKeyPairExecuteMock *func(r ApiGetKeyPairRequest) (*Keypair, error)
	// GetMachineTypeExecuteMock can be populated to implement the behavior of the GetMachineTypeExecute function of this mock
	GetMachineTypeExecuteMock *func(r ApiGetMachineTypeRequest) (*MachineType, error)
	// GetNetworkExecuteMock can be populated to implement the behavior of the GetNetworkExecute function of this mock
	GetNetworkExecuteMock *func(r ApiGetNetworkRequest) (*Network, error)
	// GetNetworkAreaExecuteMock can be populated to implement the behavior of the GetNetworkAreaExecute function of this mock
	GetNetworkAreaExecuteMock *func(r ApiGetNetworkAreaRequest) (*NetworkArea, error)
	// GetNetworkAreaRangeExecuteMock can be populated to implement the behavior of the GetNetworkAreaRangeExecute function of this mock
	GetNetworkAreaRangeExecuteMock *func(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)
	// GetNetworkAreaRegionExecuteMock can be populated to implement the behavior of the GetNetworkAreaRegionExecute function of this mock
	GetNetworkAreaRegionExecuteMock *func(r ApiGetNetworkAreaRegionRequest) (*RegionalArea, error)
	// GetNetworkAreaRouteExecuteMock can be populated to implement the behavior of the GetNetworkAreaRouteExecute function of this mock
	GetNetworkAreaRouteExecuteMock *func(r ApiGetNetworkAreaRouteRequest) (*Route, error)
	// GetNicExecuteMock can be populated to implement the behavior of the GetNicExecute function of this mock
	GetNicExecuteMock *func(r ApiGetNicRequest) (*NIC, error)
	// GetOrganizationRequestExecuteMock can be populated to implement the behavior of the GetOrganizationRequestExecute function of this mock
	GetOrganizationRequestExecuteMock *func(r ApiGetOrganizationRequestRequest) (*Request, error)
	// GetProjectDetailsExecuteMock can be populated to implement the behavior of the GetProjectDetailsExecute function of this mock
	GetProjectDetailsExecuteMock *func(r ApiGetProjectDetailsRequest) (*Project, error)
	// GetProjectNICExecuteMock can be populated to implement the behavior of the GetProjectNICExecute function of this mock
	GetProjectNICExecuteMock *func(r ApiGetProjectNICRequest) (*NIC, error)
	// GetProjectRequestExecuteMock can be populated to implement the behavior of the GetProjectRequestExecute function of this mock
	GetProjectRequestExecuteMock *func(r ApiGetProjectRequestRequest) (*Request, error)
	// GetPublicIPExecuteMock can be populated to implement the behavior of the GetPublicIPExecute function of this mock
	GetPublicIPExecuteMock *func(r ApiGetPublicIPRequest) (*PublicIp, error)
	// GetRouteOfRoutingTableExecuteMock can be populated to implement the behavior of the GetRouteOfRoutingTableExecute function of this mock
	GetRouteOfRoutingTableExecuteMock *func(r ApiGetRouteOfRoutingTableRequest) (*Route, error)
	// GetRoutingTableOfAreaExecuteMock can be populated to implement the behavior of the GetRoutingTableOfAreaExecute function of this mock
	GetRoutingTableOfAreaExecuteMock *func(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)
	// GetSecurityGroupExecuteMock can be populated to implement the behavior of the GetSecurityGroupExecute function of this mock
	GetSecurityGroupExecuteMock *func(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)
	// GetSecurityGroupRuleExecuteMock can be populated to implement the behavior of the GetSecurityGroupRuleExecute function of this mock
	GetSecurityGroupRuleExecuteMock *func(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)
	// GetServerExecuteMock can be populated to implement the behavior of the GetServerExecute function of this mock
	GetServerExecuteMock *func(r ApiGetServerRequest) (*Server, error)
	// GetServerConsoleExecuteMock can be populated to implement the behavior of the GetServerConsoleExecute function of this mock
	GetServerConsoleExecuteMock *func(r ApiGetServerConsoleRequest) (*ServerConsoleUrl, error)
	// GetServerLogExecuteMock can be populated to implement the behavior of the GetServerLogExecute function of this mock
	GetServerLogExecuteMock *func(r ApiGetServerLogRequest) (*GetServerLog200Response, error)
	// GetSnapshotExecuteMock can be populated to implement the behavior of the GetSnapshotExecute function of this mock
	GetSnapshotExecuteMock *func(r ApiGetSnapshotRequest) (*Snapshot, error)
	// GetVolumeExecuteMock can be populated to implement the behavior of the GetVolumeExecute function of this mock
	GetVolumeExecuteMock *func(r ApiGetVolumeRequest) (*Volume, error)
	// GetVolumePerformanceClassExecuteMock can be populated to implement the behavior of the GetVolumePerformanceClassExecute function of this mock
	GetVolumePerformanceClassExecuteMock *func(r ApiGetVolumePerformanceClassRequest) (*VolumePerformanceClass, error)
	// ImageFromVolumeExecuteMock can be populated to implement the behavior of the ImageFromVolumeExecute function of this mock
	ImageFromVolumeExecuteMock *func(r ApiImageFromVolumeRequest) (*Image, error)
	// ListAffinityGroupsExecuteMock can be populated to implement the behavior of the ListAffinityGroupsExecute function of this mock
	ListAffinityGroupsExecuteMock *func(r ApiListAffinityGroupsRequest) (*AffinityGroupListResponse, error)
	// ListAttachedVolumesExecuteMock can be populated to implement the behavior of the ListAttachedVolumesExecute function of this mock
	ListAttachedVolumesExecuteMock *func(r ApiListAttachedVolumesRequest) (*VolumeAttachmentListResponse, error)
	// ListAvailabilityZonesExecuteMock can be populated to implement the behavior of the ListAvailabilityZonesExecute function of this mock
	ListAvailabilityZonesExecuteMock *func(r ApiListAvailabilityZonesRequest) (*AvailabilityZoneListResponse, error)
	// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
	ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*BackupListResponse, error)
	// ListImagesExecuteMock can be populated to implement the behavior of the ListImagesExecute function of this mock
	ListImagesExecuteMock *func(r ApiListImagesRequest) (*ImageListResponse, error)
	// ListKeyPairsExecuteMock can be populated to implement the behavior of the ListKeyPairsExecute function of this mock
	ListKeyPairsExecuteMock *func(r ApiListKeyPairsRequest) (*KeyPairListResponse, error)
	// ListMachineTypesExecuteMock can be populated to implement the behavior of the ListMachineTypesExecute function of this mock
	ListMachineTypesExecuteMock *func(r ApiListMachineTypesRequest) (*MachineTypeListResponse, error)
	// ListNetworkAreaProjectsExecuteMock can be populated to implement the behavior of the ListNetworkAreaProjectsExecute function of this mock
	ListNetworkAreaProjectsExecuteMock *func(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)
	// ListNetworkAreaRangesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRangesExecute function of this mock
	ListNetworkAreaRangesExecuteMock *func(r ApiListNetworkAreaRangesRequest) (*NetworkRangeListResponse, error)
	// ListNetworkAreaRegionsExecuteMock can be populated to implement the behavior of the ListNetworkAreaRegionsExecute function of this mock
	ListNetworkAreaRegionsExecuteMock *func(r ApiListNetworkAreaRegionsRequest) (*RegionalAreaListResponse, error)
	// ListNetworkAreaRoutesExecuteMock can be populated to implement the behavior of the ListNetworkAreaRoutesExecute function of this mock
	ListNetworkAreaRoutesExecuteMock *func(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)
	// ListNetworkAreasExecuteMock can be populated to implement the behavior of the ListNetworkAreasExecute function of this mock
	ListNetworkAreasExecuteMock *func(r ApiListNetworkAreasRequest) (*NetworkAreaListResponse, error)
	// ListNetworksExecuteMock can be populated to implement the behavior of the ListNetworksExecute function of this mock
	ListNetworksExecuteMock *func(r ApiListNetworksRequest) (*NetworkListResponse, error)
	// ListNicsExecuteMock can be populated to implement the behavior of the ListNicsExecute function of this mock
	ListNicsExecuteMock *func(r ApiListNicsRequest) (*NICListResponse, error)
	// ListProjectNICsExecuteMock can be populated to implement the behavior of the ListProjectNICsExecute function of this mock
	ListProjectNICsExecuteMock *func(r ApiListProjectNICsRequest) (*NICListResponse, error)
	// ListPublicIPRangesExecuteMock can be populated to implement the behavior of the ListPublicIPRangesExecute function of this mock
	ListPublicIPRangesExecuteMock *func(r ApiListPublicIPRangesRequest) (*PublicNetworkListResponse, error)
	// ListPublicIPsExecuteMock can be populated to implement the behavior of the ListPublicIPsExecute function of this mock
	ListPublicIPsExecuteMock *func(r ApiListPublicIPsRequest) (*PublicIpListResponse, error)
	// ListQuotasExecuteMock can be populated to implement the behavior of the ListQuotasExecute function of this mock
	ListQuotasExecuteMock *func(r ApiListQuotasRequest) (*QuotaListResponse, error)
	// ListRoutesOfRoutingTableExecuteMock can be populated to implement the behavior of the ListRoutesOfRoutingTableExecute function of this mock
	ListRoutesOfRoutingTableExecuteMock *func(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)
	// ListRoutingTablesOfAreaExecuteMock can be populated to implement the behavior of the ListRoutingTablesOfAreaExecute function of this mock
	ListRoutingTablesOfAreaExecuteMock *func(r ApiListRoutingTablesOfAreaRequest) (*RoutingTableListResponse, error)
	// ListSecurityGroupRulesExecuteMock can be populated to implement the behavior of the ListSecurityGroupRulesExecute function of this mock
	ListSecurityGroupRulesExecuteMock *func(r ApiListSecurityGroupRulesRequest) (*SecurityGroupRuleListResponse, error)
	// ListSecurityGroupsExecuteMock can be populated to implement the behavior of the ListSecurityGroupsExecute function of this mock
	ListSecurityGroupsExecuteMock *func(r ApiListSecurityGroupsRequest) (*SecurityGroupListResponse, error)
	// ListServerNICsExecuteMock can be populated to implement the behavior of the ListServerNICsExecute function of this mock
	ListServerNICsExecuteMock *func(r ApiListServerNICsRequest) (*NICListResponse, error)
	// ListServerServiceAccountsExecuteMock can be populated to implement the behavior of the ListServerServiceAccountsExecute function of this mock
	ListServerServiceAccountsExecuteMock *func(r ApiListServerServiceAccountsRequest) (*ServiceAccountMailListResponse, error)
	// ListServersExecuteMock can be populated to implement the behavior of the ListServersExecute function of this mock
	ListServersExecuteMock *func(r ApiListServersRequest) (*ServerListResponse, error)
	// ListSnapshotsInProjectExecuteMock can be populated to implement the behavior of the ListSnapshotsInProjectExecute function of this mock
	ListSnapshotsInProjectExecuteMock *func(r ApiListSnapshotsInProjectRequest) (*SnapshotListResponse, error)
	// ListVolumePerformanceClassesExecuteMock can be populated to implement the behavior of the ListVolumePerformanceClassesExecute function of this mock
	ListVolumePerformanceClassesExecuteMock *func(r ApiListVolumePerformanceClassesRequest) (*VolumePerformanceClassListResponse, error)
	// ListVolumesExecuteMock can be populated to implement the behavior of the ListVolumesExecute function of this mock
	ListVolumesExecuteMock *func(r ApiListVolumesRequest) (*VolumeListResponse, error)
	// PartialUpdateNetworkExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkExecute function of this mock
	PartialUpdateNetworkExecuteMock *func(r ApiPartialUpdateNetworkRequest) error
	// PartialUpdateNetworkAreaExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkAreaExecute function of this mock
	PartialUpdateNetworkAreaExecuteMock *func(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)
	// RebootServerExecuteMock can be populated to implement the behavior of the RebootServerExecute function of this mock
	RebootServerExecuteMock *func(r ApiRebootServerRequest) error
	// RemoveNetworkFromServerExecuteMock can be populated to implement the behavior of the RemoveNetworkFromServerExecute function of this mock
	RemoveNetworkFromServerExecuteMock *func(r ApiRemoveNetworkFromServerRequest) error
	// RemoveNicFromServerExecuteMock can be populated to implement the behavior of the RemoveNicFromServerExecute function of this mock
	RemoveNicFromServerExecuteMock *func(r ApiRemoveNicFromServerRequest) error
	// RemovePublicIpFromServerExecuteMock can be populated to implement the behavior of the RemovePublicIpFromServerExecute function of this mock
	RemovePublicIpFromServerExecuteMock *func(r ApiRemovePublicIpFromServerRequest) error
	// RemoveSecurityGroupFromServerExecuteMock can be populated to implement the behavior of the RemoveSecurityGroupFromServerExecute function of this mock
	RemoveSecurityGroupFromServerExecuteMock *func(r ApiRemoveSecurityGroupFromServerRequest) error
	// RemoveServiceAccountFromServerExecuteMock can be populated to implement the behavior of the RemoveServiceAccountFromServerExecute function of this mock
	RemoveServiceAccountFromServerExecuteMock *func(r ApiRemoveServiceAccountFromServerRequest) (*ServiceAccountMailListResponse, error)
	// RemoveVolumeFromServerExecuteMock can be populated to implement the behavior of the RemoveVolumeFromServerExecute function of this mock
	RemoveVolumeFromServerExecuteMock *func(r ApiRemoveVolumeFromServerRequest) error
	// RescueServerExecuteMock can be populated to implement the behavior of the RescueServerExecute function of this mock
	RescueServerExecuteMock *func(r ApiRescueServerRequest) error
	// ResizeServerExecuteMock can be populated to implement the behavior of the ResizeServerExecute function of this mock
	ResizeServerExecuteMock *func(r ApiResizeServerRequest) error
	// ResizeVolumeExecuteMock can be populated to implement the behavior of the ResizeVolumeExecute function of this mock
	ResizeVolumeExecuteMock *func(r ApiResizeVolumeRequest) error
	// RestoreBackupExecuteMock can be populated to implement the behavior of the RestoreBackupExecute function of this mock
	RestoreBackupExecuteMock *func(r ApiRestoreBackupRequest) error
	// SetImageShareExecuteMock can be populated to implement the behavior of the SetImageShareExecute function of this mock
	SetImageShareExecuteMock *func(r ApiSetImageShareRequest) (*ImageShare, error)
	// StartServerExecuteMock can be populated to implement the behavior of the StartServerExecute function of this mock
	StartServerExecuteMock *func(r ApiStartServerRequest) error
	// StopServerExecuteMock can be populated to implement the behavior of the StopServerExecute function of this mock
	StopServerExecuteMock *func(r ApiStopServerRequest) error
	// UnrescueServerExecuteMock can be populated to implement the behavior of the UnrescueServerExecute function of this mock
	UnrescueServerExecuteMock *func(r ApiUnrescueServerRequest) error
	// UpdateAttachedVolumeExecuteMock can be populated to implement the behavior of the UpdateAttachedVolumeExecute function of this mock
	UpdateAttachedVolumeExecuteMock *func(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)
	// UpdateBackupExecuteMock can be populated to implement the behavior of the UpdateBackupExecute function of this mock
	UpdateBackupExecuteMock *func(r ApiUpdateBackupRequest) (*Backup, error)
	// UpdateImageExecuteMock can be populated to implement the behavior of the UpdateImageExecute function of this mock
	UpdateImageExecuteMock *func(r ApiUpdateImageRequest) (*Image, error)
	// UpdateImageShareExecuteMock can be populated to implement the behavior of the UpdateImageShareExecute function of this mock
	UpdateImageShareExecuteMock *func(r ApiUpdateImageShareRequest) (*ImageShare, error)
	// UpdateKeyPairExecuteMock can be populated to implement the behavior of the UpdateKeyPairExecute function of this mock
	UpdateKeyPairExecuteMock *func(r ApiUpdateKeyPairRequest) (*Keypair, error)
	// UpdateNetworkAreaRegionExecuteMock can be populated to implement the behavior of the UpdateNetworkAreaRegionExecute function of this mock
	UpdateNetworkAreaRegionExecuteMock *func(r ApiUpdateNetworkAreaRegionRequest) (*RegionalArea, error)
	// UpdateNetworkAreaRouteExecuteMock can be populated to implement the behavior of the UpdateNetworkAreaRouteExecute function of this mock
	UpdateNetworkAreaRouteExecuteMock *func(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)
	// UpdateNicExecuteMock can be populated to implement the behavior of the UpdateNicExecute function of this mock
	UpdateNicExecuteMock *func(r ApiUpdateNicRequest) (*NIC, error)
	// UpdatePublicIPExecuteMock can be populated to implement the behavior of the UpdatePublicIPExecute function of this mock
	UpdatePublicIPExecuteMock *func(r ApiUpdatePublicIPRequest) (*PublicIp, error)
	// UpdateRouteOfRoutingTableExecuteMock can be populated to implement the behavior of the UpdateRouteOfRoutingTableExecute function of this mock
	UpdateRouteOfRoutingTableExecuteMock *func(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)
	// UpdateRoutingTableOfAreaExecuteMock can be populated to implement the behavior of the UpdateRoutingTableOfAreaExecute function of this mock
	UpdateRoutingTableOfAreaExecuteMock *func(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)
	// UpdateSecurityGroupExecuteMock can be populated to implement the behavior of the UpdateSecurityGroupExecute function of this mock
	UpdateSecurityGroupExecuteMock *func(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)
	// UpdateServerExecuteMock can be populated to implement the behavior of the UpdateServerExecute function of this mock
	UpdateServerExecuteMock *func(r ApiUpdateServerRequest) (*Server, error)
	// UpdateSnapshotExecuteMock can be populated to implement the behavior of the UpdateSnapshotExecute function of this mock
	UpdateSnapshotExecuteMock *func(r ApiUpdateSnapshotRequest) (*Snapshot, error)
	// 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, region string, serverId string, networkId string) ApiAddNetworkToServerRequest

func (DefaultAPIServiceMock) AddNetworkToServerExecute

func (a DefaultAPIServiceMock) AddNetworkToServerExecute(r ApiAddNetworkToServerRequest) error

AddNetworkToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddNetworkToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddNicToServer

func (a DefaultAPIServiceMock) AddNicToServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiAddNicToServerRequest

func (DefaultAPIServiceMock) AddNicToServerExecute

func (a DefaultAPIServiceMock) AddNicToServerExecute(r ApiAddNicToServerRequest) error

AddNicToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddNicToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddPublicIpToServer

func (a DefaultAPIServiceMock) AddPublicIpToServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiAddPublicIpToServerRequest

func (DefaultAPIServiceMock) AddPublicIpToServerExecute

func (a DefaultAPIServiceMock) AddPublicIpToServerExecute(r ApiAddPublicIpToServerRequest) error

AddPublicIpToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddPublicIpToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddRoutesToRoutingTable

func (a DefaultAPIServiceMock) AddRoutesToRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiAddRoutesToRoutingTableRequest

func (DefaultAPIServiceMock) AddRoutesToRoutingTableExecute

func (a DefaultAPIServiceMock) AddRoutesToRoutingTableExecute(r ApiAddRoutesToRoutingTableRequest) (*RouteListResponse, error)

AddRoutesToRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddRoutesToRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddRoutingTableToArea

func (a DefaultAPIServiceMock) AddRoutingTableToArea(ctx context.Context, organizationId string, areaId string, region string) ApiAddRoutingTableToAreaRequest

func (DefaultAPIServiceMock) AddRoutingTableToAreaExecute

func (a DefaultAPIServiceMock) AddRoutingTableToAreaExecute(r ApiAddRoutingTableToAreaRequest) (*RoutingTable, error)

AddRoutingTableToAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddRoutingTableToAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddSecurityGroupToServer

func (a DefaultAPIServiceMock) AddSecurityGroupToServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiAddSecurityGroupToServerRequest

func (DefaultAPIServiceMock) AddSecurityGroupToServerExecute

func (a DefaultAPIServiceMock) AddSecurityGroupToServerExecute(r ApiAddSecurityGroupToServerRequest) error

AddSecurityGroupToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddSecurityGroupToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddServiceAccountToServer

func (a DefaultAPIServiceMock) AddServiceAccountToServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiAddServiceAccountToServerRequest

func (DefaultAPIServiceMock) AddServiceAccountToServerExecute

AddServiceAccountToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddServiceAccountToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) AddVolumeToServer

func (a DefaultAPIServiceMock) AddVolumeToServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiAddVolumeToServerRequest

func (DefaultAPIServiceMock) AddVolumeToServerExecute

func (a DefaultAPIServiceMock) AddVolumeToServerExecute(r ApiAddVolumeToServerRequest) (*VolumeAttachment, error)

AddVolumeToServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddVolumeToServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateAffinityGroup

func (a DefaultAPIServiceMock) CreateAffinityGroup(ctx context.Context, projectId string, region string) ApiCreateAffinityGroupRequest

func (DefaultAPIServiceMock) CreateAffinityGroupExecute

func (a DefaultAPIServiceMock) CreateAffinityGroupExecute(r ApiCreateAffinityGroupRequest) (*AffinityGroup, error)

CreateAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateBackup

func (a DefaultAPIServiceMock) CreateBackup(ctx context.Context, projectId string, region string) ApiCreateBackupRequest

func (DefaultAPIServiceMock) CreateBackupExecute

func (a DefaultAPIServiceMock) CreateBackupExecute(r ApiCreateBackupRequest) (*Backup, error)

CreateBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateImage

func (a DefaultAPIServiceMock) CreateImage(ctx context.Context, projectId string, region string) ApiCreateImageRequest

func (DefaultAPIServiceMock) CreateImageExecute

CreateImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateIsolatedNetwork

func (a DefaultAPIServiceMock) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest

func (DefaultAPIServiceMock) CreateIsolatedNetworkExecute

func (a DefaultAPIServiceMock) CreateIsolatedNetworkExecute(r ApiCreateIsolatedNetworkRequest) (*Network, error)

CreateIsolatedNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateIsolatedNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateKeyPair

func (DefaultAPIServiceMock) CreateKeyPairExecute

func (a DefaultAPIServiceMock) CreateKeyPairExecute(r ApiCreateKeyPairRequest) (*Keypair, error)

CreateKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetwork

func (a DefaultAPIServiceMock) CreateNetwork(ctx context.Context, projectId string, region string) ApiCreateNetworkRequest

func (DefaultAPIServiceMock) CreateNetworkArea

func (a DefaultAPIServiceMock) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

func (DefaultAPIServiceMock) CreateNetworkAreaExecute

func (a DefaultAPIServiceMock) CreateNetworkAreaExecute(r ApiCreateNetworkAreaRequest) (*NetworkArea, error)

CreateNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetworkAreaRange

func (a DefaultAPIServiceMock) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRangeRequest

func (DefaultAPIServiceMock) CreateNetworkAreaRangeExecute

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

func (a DefaultAPIServiceMock) CreateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRegionRequest

func (DefaultAPIServiceMock) CreateNetworkAreaRegionExecute

func (a DefaultAPIServiceMock) CreateNetworkAreaRegionExecute(r ApiCreateNetworkAreaRegionRequest) (*RegionalArea, error)

CreateNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetworkAreaRoute

func (a DefaultAPIServiceMock) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string) ApiCreateNetworkAreaRouteRequest

func (DefaultAPIServiceMock) CreateNetworkAreaRouteExecute

func (a DefaultAPIServiceMock) CreateNetworkAreaRouteExecute(r ApiCreateNetworkAreaRouteRequest) (*RouteListResponse, error)

CreateNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNetworkExecute

func (a DefaultAPIServiceMock) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

CreateNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateNic

func (a DefaultAPIServiceMock) CreateNic(ctx context.Context, projectId string, region string, networkId string) ApiCreateNicRequest

func (DefaultAPIServiceMock) CreateNicExecute

func (a DefaultAPIServiceMock) CreateNicExecute(r ApiCreateNicRequest) (*NIC, error)

CreateNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreatePublicIP

func (a DefaultAPIServiceMock) CreatePublicIP(ctx context.Context, projectId string, region string) ApiCreatePublicIPRequest

func (DefaultAPIServiceMock) CreatePublicIPExecute

func (a DefaultAPIServiceMock) CreatePublicIPExecute(r ApiCreatePublicIPRequest) (*PublicIp, error)

CreatePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreatePublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateSecurityGroup

func (a DefaultAPIServiceMock) CreateSecurityGroup(ctx context.Context, projectId string, region string) ApiCreateSecurityGroupRequest

func (DefaultAPIServiceMock) CreateSecurityGroupExecute

func (a DefaultAPIServiceMock) CreateSecurityGroupExecute(r ApiCreateSecurityGroupRequest) (*SecurityGroup, error)

CreateSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateSecurityGroupRule

func (a DefaultAPIServiceMock) CreateSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string) ApiCreateSecurityGroupRuleRequest

func (DefaultAPIServiceMock) CreateSecurityGroupRuleExecute

func (a DefaultAPIServiceMock) CreateSecurityGroupRuleExecute(r ApiCreateSecurityGroupRuleRequest) (*SecurityGroupRule, error)

CreateSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateServer

func (a DefaultAPIServiceMock) CreateServer(ctx context.Context, projectId string, region string) ApiCreateServerRequest

func (DefaultAPIServiceMock) CreateServerExecute

func (a DefaultAPIServiceMock) CreateServerExecute(r ApiCreateServerRequest) (*Server, error)

CreateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateSnapshot

func (a DefaultAPIServiceMock) CreateSnapshot(ctx context.Context, projectId string, region string) ApiCreateSnapshotRequest

func (DefaultAPIServiceMock) CreateSnapshotExecute

func (a DefaultAPIServiceMock) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*Snapshot, error)

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, region string) ApiCreateVolumeRequest

func (DefaultAPIServiceMock) CreateVolumeExecute

func (a DefaultAPIServiceMock) CreateVolumeExecute(r ApiCreateVolumeRequest) (*Volume, error)

CreateVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeallocateServer

func (a DefaultAPIServiceMock) DeallocateServer(ctx context.Context, projectId string, region string, serverId string) ApiDeallocateServerRequest

func (DefaultAPIServiceMock) DeallocateServerExecute

func (a DefaultAPIServiceMock) DeallocateServerExecute(r ApiDeallocateServerRequest) error

DeallocateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeallocateServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteAffinityGroup

func (a DefaultAPIServiceMock) DeleteAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiDeleteAffinityGroupRequest

func (DefaultAPIServiceMock) DeleteAffinityGroupExecute

func (a DefaultAPIServiceMock) DeleteAffinityGroupExecute(r ApiDeleteAffinityGroupRequest) error

DeleteAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteBackup

func (a DefaultAPIServiceMock) DeleteBackup(ctx context.Context, projectId string, region string, backupId string) ApiDeleteBackupRequest

func (DefaultAPIServiceMock) DeleteBackupExecute

func (a DefaultAPIServiceMock) DeleteBackupExecute(r ApiDeleteBackupRequest) error

DeleteBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteImage

func (a DefaultAPIServiceMock) DeleteImage(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageRequest

func (DefaultAPIServiceMock) DeleteImageExecute

func (a DefaultAPIServiceMock) DeleteImageExecute(r ApiDeleteImageRequest) error

DeleteImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteImageShare

func (a DefaultAPIServiceMock) DeleteImageShare(ctx context.Context, projectId string, region string, imageId string) ApiDeleteImageShareRequest

func (DefaultAPIServiceMock) DeleteImageShareConsumer

func (a DefaultAPIServiceMock) DeleteImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiDeleteImageShareConsumerRequest

func (DefaultAPIServiceMock) DeleteImageShareConsumerExecute

func (a DefaultAPIServiceMock) DeleteImageShareConsumerExecute(r ApiDeleteImageShareConsumerRequest) error

DeleteImageShareConsumerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageShareConsumerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteImageShareExecute

func (a DefaultAPIServiceMock) DeleteImageShareExecute(r ApiDeleteImageShareRequest) error

DeleteImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteKeyPair

func (a DefaultAPIServiceMock) DeleteKeyPair(ctx context.Context, keypairName string) ApiDeleteKeyPairRequest

func (DefaultAPIServiceMock) DeleteKeyPairExecute

func (a DefaultAPIServiceMock) DeleteKeyPairExecute(r ApiDeleteKeyPairRequest) error

DeleteKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetwork

func (a DefaultAPIServiceMock) DeleteNetwork(ctx context.Context, projectId string, region string, networkId string) ApiDeleteNetworkRequest

func (DefaultAPIServiceMock) DeleteNetworkArea

func (a DefaultAPIServiceMock) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

func (DefaultAPIServiceMock) DeleteNetworkAreaExecute

func (a DefaultAPIServiceMock) DeleteNetworkAreaExecute(r ApiDeleteNetworkAreaRequest) error

DeleteNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkAreaRange

func (a DefaultAPIServiceMock) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

func (DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute

func (a DefaultAPIServiceMock) DeleteNetworkAreaRangeExecute(r ApiDeleteNetworkAreaRangeRequest) error

DeleteNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkAreaRegion

func (a DefaultAPIServiceMock) DeleteNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiDeleteNetworkAreaRegionRequest

func (DefaultAPIServiceMock) DeleteNetworkAreaRegionExecute

func (a DefaultAPIServiceMock) DeleteNetworkAreaRegionExecute(r ApiDeleteNetworkAreaRegionRequest) error

DeleteNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkAreaRoute

func (a DefaultAPIServiceMock) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiDeleteNetworkAreaRouteRequest

func (DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute

func (a DefaultAPIServiceMock) DeleteNetworkAreaRouteExecute(r ApiDeleteNetworkAreaRouteRequest) error

DeleteNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNetworkExecute

func (a DefaultAPIServiceMock) DeleteNetworkExecute(r ApiDeleteNetworkRequest) error

DeleteNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteNic

func (a DefaultAPIServiceMock) DeleteNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiDeleteNicRequest

func (DefaultAPIServiceMock) DeleteNicExecute

func (a DefaultAPIServiceMock) DeleteNicExecute(r ApiDeleteNicRequest) error

DeleteNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeletePublicIP

func (a DefaultAPIServiceMock) DeletePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiDeletePublicIPRequest

func (DefaultAPIServiceMock) DeletePublicIPExecute

func (a DefaultAPIServiceMock) DeletePublicIPExecute(r ApiDeletePublicIPRequest) error

DeletePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeletePublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteRouteFromRoutingTable

func (a DefaultAPIServiceMock) DeleteRouteFromRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiDeleteRouteFromRoutingTableRequest

func (DefaultAPIServiceMock) DeleteRouteFromRoutingTableExecute

func (a DefaultAPIServiceMock) DeleteRouteFromRoutingTableExecute(r ApiDeleteRouteFromRoutingTableRequest) error

DeleteRouteFromRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRouteFromRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteRoutingTableFromArea

func (a DefaultAPIServiceMock) DeleteRoutingTableFromArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiDeleteRoutingTableFromAreaRequest

func (DefaultAPIServiceMock) DeleteRoutingTableFromAreaExecute

func (a DefaultAPIServiceMock) DeleteRoutingTableFromAreaExecute(r ApiDeleteRoutingTableFromAreaRequest) error

DeleteRoutingTableFromAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRoutingTableFromAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteSecurityGroup

func (a DefaultAPIServiceMock) DeleteSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiDeleteSecurityGroupRequest

func (DefaultAPIServiceMock) DeleteSecurityGroupExecute

func (a DefaultAPIServiceMock) DeleteSecurityGroupExecute(r ApiDeleteSecurityGroupRequest) error

DeleteSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteSecurityGroupRule

func (a DefaultAPIServiceMock) DeleteSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiDeleteSecurityGroupRuleRequest

func (DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute

func (a DefaultAPIServiceMock) DeleteSecurityGroupRuleExecute(r ApiDeleteSecurityGroupRuleRequest) error

DeleteSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteServer

func (a DefaultAPIServiceMock) DeleteServer(ctx context.Context, projectId string, region string, serverId string) ApiDeleteServerRequest

func (DefaultAPIServiceMock) DeleteServerExecute

func (a DefaultAPIServiceMock) DeleteServerExecute(r ApiDeleteServerRequest) error

DeleteServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteSnapshot

func (a DefaultAPIServiceMock) DeleteSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiDeleteSnapshotRequest

func (DefaultAPIServiceMock) DeleteSnapshotExecute

func (a DefaultAPIServiceMock) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) error

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, region string, volumeId string) ApiDeleteVolumeRequest

func (DefaultAPIServiceMock) DeleteVolumeExecute

func (a DefaultAPIServiceMock) DeleteVolumeExecute(r ApiDeleteVolumeRequest) error

DeleteVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetAffinityGroup

func (a DefaultAPIServiceMock) GetAffinityGroup(ctx context.Context, projectId string, region string, affinityGroupId string) ApiGetAffinityGroupRequest

func (DefaultAPIServiceMock) GetAffinityGroupExecute

func (a DefaultAPIServiceMock) GetAffinityGroupExecute(r ApiGetAffinityGroupRequest) (*AffinityGroup, error)

GetAffinityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetAffinityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetAttachedVolume

func (a DefaultAPIServiceMock) GetAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiGetAttachedVolumeRequest

func (DefaultAPIServiceMock) GetAttachedVolumeExecute

func (a DefaultAPIServiceMock) GetAttachedVolumeExecute(r ApiGetAttachedVolumeRequest) (*VolumeAttachment, error)

GetAttachedVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetAttachedVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetBackup

func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, region string, backupId string) ApiGetBackupRequest

func (DefaultAPIServiceMock) GetBackupExecute

func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*Backup, error)

GetBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetImage

func (a DefaultAPIServiceMock) GetImage(ctx context.Context, projectId string, region string, imageId string) ApiGetImageRequest

func (DefaultAPIServiceMock) GetImageExecute

func (a DefaultAPIServiceMock) GetImageExecute(r ApiGetImageRequest) (*Image, error)

GetImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetImageShare

func (a DefaultAPIServiceMock) GetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiGetImageShareRequest

func (DefaultAPIServiceMock) GetImageShareConsumer

func (a DefaultAPIServiceMock) GetImageShareConsumer(ctx context.Context, projectId string, region string, imageId string, consumerProjectId string) ApiGetImageShareConsumerRequest

func (DefaultAPIServiceMock) GetImageShareConsumerExecute

func (a DefaultAPIServiceMock) GetImageShareConsumerExecute(r ApiGetImageShareConsumerRequest) (*ImageShareConsumer, error)

GetImageShareConsumerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageShareConsumerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetImageShareExecute

func (a DefaultAPIServiceMock) GetImageShareExecute(r ApiGetImageShareRequest) (*ImageShare, error)

GetImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKeyPair

func (a DefaultAPIServiceMock) GetKeyPair(ctx context.Context, keypairName string) ApiGetKeyPairRequest

func (DefaultAPIServiceMock) GetKeyPairExecute

func (a DefaultAPIServiceMock) GetKeyPairExecute(r ApiGetKeyPairRequest) (*Keypair, error)

GetKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetMachineType

func (a DefaultAPIServiceMock) GetMachineType(ctx context.Context, projectId string, region string, machineType string) ApiGetMachineTypeRequest

func (DefaultAPIServiceMock) GetMachineTypeExecute

func (a DefaultAPIServiceMock) GetMachineTypeExecute(r ApiGetMachineTypeRequest) (*MachineType, error)

GetMachineTypeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetMachineTypeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetwork

func (a DefaultAPIServiceMock) GetNetwork(ctx context.Context, projectId string, region string, networkId string) ApiGetNetworkRequest

func (DefaultAPIServiceMock) GetNetworkArea

func (a DefaultAPIServiceMock) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

func (DefaultAPIServiceMock) GetNetworkAreaExecute

func (a DefaultAPIServiceMock) GetNetworkAreaExecute(r ApiGetNetworkAreaRequest) (*NetworkArea, error)

GetNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkAreaRange

func (a DefaultAPIServiceMock) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, region string, networkRangeId string) ApiGetNetworkAreaRangeRequest

func (DefaultAPIServiceMock) GetNetworkAreaRangeExecute

func (a DefaultAPIServiceMock) GetNetworkAreaRangeExecute(r ApiGetNetworkAreaRangeRequest) (*NetworkRange, error)

GetNetworkAreaRangeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRangeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkAreaRegion

func (a DefaultAPIServiceMock) GetNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiGetNetworkAreaRegionRequest

func (DefaultAPIServiceMock) GetNetworkAreaRegionExecute

func (a DefaultAPIServiceMock) GetNetworkAreaRegionExecute(r ApiGetNetworkAreaRegionRequest) (*RegionalArea, error)

GetNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkAreaRoute

func (a DefaultAPIServiceMock) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiGetNetworkAreaRouteRequest

func (DefaultAPIServiceMock) GetNetworkAreaRouteExecute

func (a DefaultAPIServiceMock) GetNetworkAreaRouteExecute(r ApiGetNetworkAreaRouteRequest) (*Route, error)

GetNetworkAreaRouteExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkAreaRouteExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNetworkExecute

func (a DefaultAPIServiceMock) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

GetNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetNic

func (a DefaultAPIServiceMock) GetNic(ctx context.Context, projectId string, region string, networkId string, nicId string) ApiGetNicRequest

func (DefaultAPIServiceMock) GetNicExecute

func (a DefaultAPIServiceMock) GetNicExecute(r ApiGetNicRequest) (*NIC, error)

GetNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetOrganizationRequest

func (a DefaultAPIServiceMock) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

func (DefaultAPIServiceMock) GetOrganizationRequestExecute

func (a DefaultAPIServiceMock) GetOrganizationRequestExecute(r ApiGetOrganizationRequestRequest) (*Request, error)

GetOrganizationRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetOrganizationRequestExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetProjectDetails

func (a DefaultAPIServiceMock) GetProjectDetails(ctx context.Context, projectId string) ApiGetProjectDetailsRequest

func (DefaultAPIServiceMock) GetProjectDetailsExecute

func (a DefaultAPIServiceMock) GetProjectDetailsExecute(r ApiGetProjectDetailsRequest) (*Project, error)

GetProjectDetailsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectDetailsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetProjectNIC

func (a DefaultAPIServiceMock) GetProjectNIC(ctx context.Context, projectId string, region string, nicId string) ApiGetProjectNICRequest

func (DefaultAPIServiceMock) GetProjectNICExecute

func (a DefaultAPIServiceMock) GetProjectNICExecute(r ApiGetProjectNICRequest) (*NIC, error)

GetProjectNICExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectNICExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetProjectRequest

func (a DefaultAPIServiceMock) GetProjectRequest(ctx context.Context, projectId string, region string, requestId string) ApiGetProjectRequestRequest

func (DefaultAPIServiceMock) GetProjectRequestExecute

func (a DefaultAPIServiceMock) GetProjectRequestExecute(r ApiGetProjectRequestRequest) (*Request, error)

GetProjectRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetProjectRequestExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetPublicIP

func (a DefaultAPIServiceMock) GetPublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiGetPublicIPRequest

func (DefaultAPIServiceMock) GetPublicIPExecute

func (a DefaultAPIServiceMock) GetPublicIPExecute(r ApiGetPublicIPRequest) (*PublicIp, error)

GetPublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetPublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetRouteOfRoutingTable

func (a DefaultAPIServiceMock) GetRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiGetRouteOfRoutingTableRequest

func (DefaultAPIServiceMock) GetRouteOfRoutingTableExecute

func (a DefaultAPIServiceMock) GetRouteOfRoutingTableExecute(r ApiGetRouteOfRoutingTableRequest) (*Route, error)

GetRouteOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRouteOfRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetRoutingTableOfArea

func (a DefaultAPIServiceMock) GetRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiGetRoutingTableOfAreaRequest

func (DefaultAPIServiceMock) GetRoutingTableOfAreaExecute

func (a DefaultAPIServiceMock) GetRoutingTableOfAreaExecute(r ApiGetRoutingTableOfAreaRequest) (*RoutingTable, error)

GetRoutingTableOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRoutingTableOfAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetSecurityGroup

func (a DefaultAPIServiceMock) GetSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiGetSecurityGroupRequest

func (DefaultAPIServiceMock) GetSecurityGroupExecute

func (a DefaultAPIServiceMock) GetSecurityGroupExecute(r ApiGetSecurityGroupRequest) (*SecurityGroup, error)

GetSecurityGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecurityGroupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetSecurityGroupRule

func (a DefaultAPIServiceMock) GetSecurityGroupRule(ctx context.Context, projectId string, region string, securityGroupId string, securityGroupRuleId string) ApiGetSecurityGroupRuleRequest

func (DefaultAPIServiceMock) GetSecurityGroupRuleExecute

func (a DefaultAPIServiceMock) GetSecurityGroupRuleExecute(r ApiGetSecurityGroupRuleRequest) (*SecurityGroupRule, error)

GetSecurityGroupRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecurityGroupRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServer

func (a DefaultAPIServiceMock) GetServer(ctx context.Context, projectId string, region string, serverId string) ApiGetServerRequest

func (DefaultAPIServiceMock) GetServerConsole

func (a DefaultAPIServiceMock) GetServerConsole(ctx context.Context, projectId string, region string, serverId string) ApiGetServerConsoleRequest

func (DefaultAPIServiceMock) GetServerConsoleExecute

GetServerConsoleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerConsoleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServerExecute

func (a DefaultAPIServiceMock) GetServerExecute(r ApiGetServerRequest) (*Server, error)

GetServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServerLog

func (a DefaultAPIServiceMock) GetServerLog(ctx context.Context, projectId string, region string, serverId string) ApiGetServerLogRequest

func (DefaultAPIServiceMock) GetServerLogExecute

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, region string, snapshotId string) ApiGetSnapshotRequest

func (DefaultAPIServiceMock) GetSnapshotExecute

func (a DefaultAPIServiceMock) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, error)

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, region string, volumeId string) ApiGetVolumeRequest

func (DefaultAPIServiceMock) GetVolumeExecute

func (a DefaultAPIServiceMock) GetVolumeExecute(r ApiGetVolumeRequest) (*Volume, error)

GetVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetVolumePerformanceClass

func (a DefaultAPIServiceMock) GetVolumePerformanceClass(ctx context.Context, projectId string, region string, volumePerformanceClass string) ApiGetVolumePerformanceClassRequest

func (DefaultAPIServiceMock) GetVolumePerformanceClassExecute

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

func (a DefaultAPIServiceMock) ImageFromVolume(ctx context.Context, projectId string, volumeId string, region string) ApiImageFromVolumeRequest

func (DefaultAPIServiceMock) ImageFromVolumeExecute

func (a DefaultAPIServiceMock) ImageFromVolumeExecute(r ApiImageFromVolumeRequest) (*Image, error)

ImageFromVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ImageFromVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAffinityGroups

func (a DefaultAPIServiceMock) ListAffinityGroups(ctx context.Context, projectId string, region string) ApiListAffinityGroupsRequest

func (DefaultAPIServiceMock) ListAffinityGroupsExecute

ListAffinityGroupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAffinityGroupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAttachedVolumes

func (a DefaultAPIServiceMock) ListAttachedVolumes(ctx context.Context, projectId string, region string, serverId string) ApiListAttachedVolumesRequest

func (DefaultAPIServiceMock) ListAttachedVolumesExecute

ListAttachedVolumesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAttachedVolumesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAvailabilityZones

func (a DefaultAPIServiceMock) ListAvailabilityZones(ctx context.Context, region string) ApiListAvailabilityZonesRequest

func (DefaultAPIServiceMock) ListAvailabilityZonesExecute

ListAvailabilityZonesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAvailabilityZonesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListBackups

func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, region string) ApiListBackupsRequest

func (DefaultAPIServiceMock) ListBackupsExecute

ListBackupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListImages

func (a DefaultAPIServiceMock) ListImages(ctx context.Context, projectId string, region string) ApiListImagesRequest

func (DefaultAPIServiceMock) ListImagesExecute

ListImagesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListImagesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListKeyPairs

func (DefaultAPIServiceMock) ListKeyPairsExecute

ListKeyPairsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeyPairsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListMachineTypes

func (a DefaultAPIServiceMock) ListMachineTypes(ctx context.Context, projectId string, region string) ApiListMachineTypesRequest

func (DefaultAPIServiceMock) ListMachineTypesExecute

ListMachineTypesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListMachineTypesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreaProjects

func (a DefaultAPIServiceMock) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

func (DefaultAPIServiceMock) ListNetworkAreaProjectsExecute

func (a DefaultAPIServiceMock) ListNetworkAreaProjectsExecute(r ApiListNetworkAreaProjectsRequest) (*ProjectListResponse, error)

ListNetworkAreaProjectsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaProjectsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreaRanges

func (a DefaultAPIServiceMock) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRangesRequest

func (DefaultAPIServiceMock) ListNetworkAreaRangesExecute

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

func (a DefaultAPIServiceMock) ListNetworkAreaRegions(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRegionsRequest

func (DefaultAPIServiceMock) ListNetworkAreaRegionsExecute

ListNetworkAreaRegionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaRegionsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreaRoutes

func (a DefaultAPIServiceMock) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string, region string) ApiListNetworkAreaRoutesRequest

func (DefaultAPIServiceMock) ListNetworkAreaRoutesExecute

func (a DefaultAPIServiceMock) ListNetworkAreaRoutesExecute(r ApiListNetworkAreaRoutesRequest) (*RouteListResponse, error)

ListNetworkAreaRoutesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreaRoutesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworkAreas

func (a DefaultAPIServiceMock) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

func (DefaultAPIServiceMock) ListNetworkAreasExecute

ListNetworkAreasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworkAreasExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNetworks

func (a DefaultAPIServiceMock) ListNetworks(ctx context.Context, projectId string, region string) ApiListNetworksRequest

func (DefaultAPIServiceMock) ListNetworksExecute

ListNetworksExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworksExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListNics

func (a DefaultAPIServiceMock) ListNics(ctx context.Context, projectId string, region string, networkId string) ApiListNicsRequest

func (DefaultAPIServiceMock) ListNicsExecute

ListNicsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNicsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListProjectNICs

func (a DefaultAPIServiceMock) ListProjectNICs(ctx context.Context, projectId string, region string) ApiListProjectNICsRequest

func (DefaultAPIServiceMock) ListProjectNICsExecute

func (a DefaultAPIServiceMock) ListProjectNICsExecute(r ApiListProjectNICsRequest) (*NICListResponse, error)

ListProjectNICsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProjectNICsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPublicIPRanges

func (DefaultAPIServiceMock) ListPublicIPRangesExecute

ListPublicIPRangesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPublicIPRangesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPublicIPs

func (a DefaultAPIServiceMock) ListPublicIPs(ctx context.Context, projectId string, region string) ApiListPublicIPsRequest

func (DefaultAPIServiceMock) ListPublicIPsExecute

ListPublicIPsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPublicIPsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListQuotas

func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest

func (DefaultAPIServiceMock) ListQuotasExecute

ListQuotasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListQuotasExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListRoutesOfRoutingTable

func (a DefaultAPIServiceMock) ListRoutesOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListRoutesOfRoutingTableRequest

func (DefaultAPIServiceMock) ListRoutesOfRoutingTableExecute

func (a DefaultAPIServiceMock) ListRoutesOfRoutingTableExecute(r ApiListRoutesOfRoutingTableRequest) (*RouteListResponse, error)

ListRoutesOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRoutesOfRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListRoutingTablesOfArea

func (a DefaultAPIServiceMock) ListRoutingTablesOfArea(ctx context.Context, organizationId string, areaId string, region string) ApiListRoutingTablesOfAreaRequest

func (DefaultAPIServiceMock) ListRoutingTablesOfAreaExecute

ListRoutingTablesOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRoutingTablesOfAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListSecurityGroupRules

func (a DefaultAPIServiceMock) ListSecurityGroupRules(ctx context.Context, projectId string, region string, securityGroupId string) ApiListSecurityGroupRulesRequest

func (DefaultAPIServiceMock) ListSecurityGroupRulesExecute

ListSecurityGroupRulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecurityGroupRulesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListSecurityGroups

func (a DefaultAPIServiceMock) ListSecurityGroups(ctx context.Context, projectId string, region string) ApiListSecurityGroupsRequest

func (DefaultAPIServiceMock) ListSecurityGroupsExecute

ListSecurityGroupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecurityGroupsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServerNICs

func (a DefaultAPIServiceMock) ListServerNICs(ctx context.Context, projectId string, region string, serverId string) ApiListServerNICsRequest

func (DefaultAPIServiceMock) ListServerNICsExecute

ListServerNICsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServerNICsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServerServiceAccounts

func (a DefaultAPIServiceMock) ListServerServiceAccounts(ctx context.Context, projectId string, region string, serverId string) ApiListServerServiceAccountsRequest

func (DefaultAPIServiceMock) ListServerServiceAccountsExecute

ListServerServiceAccountsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServerServiceAccountsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServers

func (a DefaultAPIServiceMock) ListServers(ctx context.Context, projectId string, region string) ApiListServersRequest

func (DefaultAPIServiceMock) ListServersExecute

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

func (a DefaultAPIServiceMock) ListSnapshotsInProject(ctx context.Context, projectId string, region string) ApiListSnapshotsInProjectRequest

func (DefaultAPIServiceMock) ListSnapshotsInProjectExecute

ListSnapshotsInProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSnapshotsInProjectExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListVolumePerformanceClasses

func (a DefaultAPIServiceMock) ListVolumePerformanceClasses(ctx context.Context, projectId string, region string) ApiListVolumePerformanceClassesRequest

func (DefaultAPIServiceMock) ListVolumePerformanceClassesExecute

ListVolumePerformanceClassesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVolumePerformanceClassesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListVolumes

func (a DefaultAPIServiceMock) ListVolumes(ctx context.Context, projectId string, region string) ApiListVolumesRequest

func (DefaultAPIServiceMock) ListVolumesExecute

ListVolumesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVolumesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PartialUpdateNetwork

func (a DefaultAPIServiceMock) PartialUpdateNetwork(ctx context.Context, projectId string, region string, networkId string) ApiPartialUpdateNetworkRequest

func (DefaultAPIServiceMock) PartialUpdateNetworkArea

func (a DefaultAPIServiceMock) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

func (DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute

func (a DefaultAPIServiceMock) PartialUpdateNetworkAreaExecute(r ApiPartialUpdateNetworkAreaRequest) (*NetworkArea, error)

PartialUpdateNetworkAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateNetworkAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PartialUpdateNetworkExecute

func (a DefaultAPIServiceMock) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

PartialUpdateNetworkExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateNetworkExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RebootServer

func (a DefaultAPIServiceMock) RebootServer(ctx context.Context, projectId string, region string, serverId string) ApiRebootServerRequest

func (DefaultAPIServiceMock) RebootServerExecute

func (a DefaultAPIServiceMock) RebootServerExecute(r ApiRebootServerRequest) error

RebootServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RebootServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveNetworkFromServer

func (a DefaultAPIServiceMock) RemoveNetworkFromServer(ctx context.Context, projectId string, region string, serverId string, networkId string) ApiRemoveNetworkFromServerRequest

func (DefaultAPIServiceMock) RemoveNetworkFromServerExecute

func (a DefaultAPIServiceMock) RemoveNetworkFromServerExecute(r ApiRemoveNetworkFromServerRequest) error

RemoveNetworkFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveNetworkFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveNicFromServer

func (a DefaultAPIServiceMock) RemoveNicFromServer(ctx context.Context, projectId string, region string, serverId string, nicId string) ApiRemoveNicFromServerRequest

func (DefaultAPIServiceMock) RemoveNicFromServerExecute

func (a DefaultAPIServiceMock) RemoveNicFromServerExecute(r ApiRemoveNicFromServerRequest) error

RemoveNicFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveNicFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemovePublicIpFromServer

func (a DefaultAPIServiceMock) RemovePublicIpFromServer(ctx context.Context, projectId string, region string, serverId string, publicIpId string) ApiRemovePublicIpFromServerRequest

func (DefaultAPIServiceMock) RemovePublicIpFromServerExecute

func (a DefaultAPIServiceMock) RemovePublicIpFromServerExecute(r ApiRemovePublicIpFromServerRequest) error

RemovePublicIpFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemovePublicIpFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveSecurityGroupFromServer

func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServer(ctx context.Context, projectId string, region string, serverId string, securityGroupId string) ApiRemoveSecurityGroupFromServerRequest

func (DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute

func (a DefaultAPIServiceMock) RemoveSecurityGroupFromServerExecute(r ApiRemoveSecurityGroupFromServerRequest) error

RemoveSecurityGroupFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveSecurityGroupFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveServiceAccountFromServer

func (a DefaultAPIServiceMock) RemoveServiceAccountFromServer(ctx context.Context, projectId string, region string, serverId string, serviceAccountMail string) ApiRemoveServiceAccountFromServerRequest

func (DefaultAPIServiceMock) RemoveServiceAccountFromServerExecute

RemoveServiceAccountFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveServiceAccountFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RemoveVolumeFromServer

func (a DefaultAPIServiceMock) RemoveVolumeFromServer(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiRemoveVolumeFromServerRequest

func (DefaultAPIServiceMock) RemoveVolumeFromServerExecute

func (a DefaultAPIServiceMock) RemoveVolumeFromServerExecute(r ApiRemoveVolumeFromServerRequest) error

RemoveVolumeFromServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveVolumeFromServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RescueServer

func (a DefaultAPIServiceMock) RescueServer(ctx context.Context, projectId string, region string, serverId string) ApiRescueServerRequest

func (DefaultAPIServiceMock) RescueServerExecute

func (a DefaultAPIServiceMock) RescueServerExecute(r ApiRescueServerRequest) error

RescueServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RescueServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ResizeServer

func (a DefaultAPIServiceMock) ResizeServer(ctx context.Context, projectId string, region string, serverId string) ApiResizeServerRequest

func (DefaultAPIServiceMock) ResizeServerExecute

func (a DefaultAPIServiceMock) ResizeServerExecute(r ApiResizeServerRequest) error

ResizeServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResizeServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ResizeVolume

func (a DefaultAPIServiceMock) ResizeVolume(ctx context.Context, projectId string, region string, volumeId string) ApiResizeVolumeRequest

func (DefaultAPIServiceMock) ResizeVolumeExecute

func (a DefaultAPIServiceMock) ResizeVolumeExecute(r ApiResizeVolumeRequest) error

ResizeVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResizeVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreBackup

func (a DefaultAPIServiceMock) RestoreBackup(ctx context.Context, projectId string, region string, backupId string) ApiRestoreBackupRequest

func (DefaultAPIServiceMock) RestoreBackupExecute

func (a DefaultAPIServiceMock) RestoreBackupExecute(r ApiRestoreBackupRequest) error

RestoreBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreBackupExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) SetImageShare

func (a DefaultAPIServiceMock) SetImageShare(ctx context.Context, projectId string, region string, imageId string) ApiSetImageShareRequest

func (DefaultAPIServiceMock) SetImageShareExecute

func (a DefaultAPIServiceMock) SetImageShareExecute(r ApiSetImageShareRequest) (*ImageShare, error)

SetImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the SetImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) StartServer

func (a DefaultAPIServiceMock) StartServer(ctx context.Context, projectId string, region string, serverId string) ApiStartServerRequest

func (DefaultAPIServiceMock) StartServerExecute

func (a DefaultAPIServiceMock) StartServerExecute(r ApiStartServerRequest) error

StartServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StartServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) StopServer

func (a DefaultAPIServiceMock) StopServer(ctx context.Context, projectId string, region string, serverId string) ApiStopServerRequest

func (DefaultAPIServiceMock) StopServerExecute

func (a DefaultAPIServiceMock) StopServerExecute(r ApiStopServerRequest) error

StopServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StopServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UnrescueServer

func (a DefaultAPIServiceMock) UnrescueServer(ctx context.Context, projectId string, region string, serverId string) ApiUnrescueServerRequest

func (DefaultAPIServiceMock) UnrescueServerExecute

func (a DefaultAPIServiceMock) UnrescueServerExecute(r ApiUnrescueServerRequest) error

UnrescueServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UnrescueServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateAttachedVolume

func (a DefaultAPIServiceMock) UpdateAttachedVolume(ctx context.Context, projectId string, region string, serverId string, volumeId string) ApiUpdateAttachedVolumeRequest

func (DefaultAPIServiceMock) UpdateAttachedVolumeExecute

func (a DefaultAPIServiceMock) UpdateAttachedVolumeExecute(r ApiUpdateAttachedVolumeRequest) (*VolumeAttachment, error)

UpdateAttachedVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateAttachedVolumeExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateBackup

func (a DefaultAPIServiceMock) UpdateBackup(ctx context.Context, projectId string, region string, backupId string) ApiUpdateBackupRequest

func (DefaultAPIServiceMock) UpdateBackupExecute

func (a DefaultAPIServiceMock) UpdateBackupExecute(r ApiUpdateBackupRequest) (*Backup, error)

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, region string, imageId string) ApiUpdateImageRequest

func (DefaultAPIServiceMock) UpdateImageExecute

func (a DefaultAPIServiceMock) UpdateImageExecute(r ApiUpdateImageRequest) (*Image, error)

UpdateImageExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateImageShare

func (a DefaultAPIServiceMock) UpdateImageShare(ctx context.Context, projectId string, region string, imageId string) ApiUpdateImageShareRequest

func (DefaultAPIServiceMock) UpdateImageShareExecute

func (a DefaultAPIServiceMock) UpdateImageShareExecute(r ApiUpdateImageShareRequest) (*ImageShare, error)

UpdateImageShareExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateImageShareExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateKeyPair

func (a DefaultAPIServiceMock) UpdateKeyPair(ctx context.Context, keypairName string) ApiUpdateKeyPairRequest

func (DefaultAPIServiceMock) UpdateKeyPairExecute

func (a DefaultAPIServiceMock) UpdateKeyPairExecute(r ApiUpdateKeyPairRequest) (*Keypair, error)

UpdateKeyPairExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateKeyPairExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateNetworkAreaRegion

func (a DefaultAPIServiceMock) UpdateNetworkAreaRegion(ctx context.Context, organizationId string, areaId string, region string) ApiUpdateNetworkAreaRegionRequest

func (DefaultAPIServiceMock) UpdateNetworkAreaRegionExecute

func (a DefaultAPIServiceMock) UpdateNetworkAreaRegionExecute(r ApiUpdateNetworkAreaRegionRequest) (*RegionalArea, error)

UpdateNetworkAreaRegionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateNetworkAreaRegionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateNetworkAreaRoute

func (a DefaultAPIServiceMock) UpdateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, region string, routeId string) ApiUpdateNetworkAreaRouteRequest

func (DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute

func (a DefaultAPIServiceMock) UpdateNetworkAreaRouteExecute(r ApiUpdateNetworkAreaRouteRequest) (*Route, error)

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, region string, networkId string, nicId string) ApiUpdateNicRequest

func (DefaultAPIServiceMock) UpdateNicExecute

func (a DefaultAPIServiceMock) UpdateNicExecute(r ApiUpdateNicRequest) (*NIC, error)

UpdateNicExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateNicExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdatePublicIP

func (a DefaultAPIServiceMock) UpdatePublicIP(ctx context.Context, projectId string, region string, publicIpId string) ApiUpdatePublicIPRequest

func (DefaultAPIServiceMock) UpdatePublicIPExecute

func (a DefaultAPIServiceMock) UpdatePublicIPExecute(r ApiUpdatePublicIPRequest) (*PublicIp, error)

UpdatePublicIPExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdatePublicIPExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateRouteOfRoutingTable

func (a DefaultAPIServiceMock) UpdateRouteOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string, routeId string) ApiUpdateRouteOfRoutingTableRequest

func (DefaultAPIServiceMock) UpdateRouteOfRoutingTableExecute

func (a DefaultAPIServiceMock) UpdateRouteOfRoutingTableExecute(r ApiUpdateRouteOfRoutingTableRequest) (*Route, error)

UpdateRouteOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRouteOfRoutingTableExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateRoutingTableOfArea

func (a DefaultAPIServiceMock) UpdateRoutingTableOfArea(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiUpdateRoutingTableOfAreaRequest

func (DefaultAPIServiceMock) UpdateRoutingTableOfAreaExecute

func (a DefaultAPIServiceMock) UpdateRoutingTableOfAreaExecute(r ApiUpdateRoutingTableOfAreaRequest) (*RoutingTable, error)

UpdateRoutingTableOfAreaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRoutingTableOfAreaExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateSecurityGroup

func (a DefaultAPIServiceMock) UpdateSecurityGroup(ctx context.Context, projectId string, region string, securityGroupId string) ApiUpdateSecurityGroupRequest

func (DefaultAPIServiceMock) UpdateSecurityGroupExecute

func (a DefaultAPIServiceMock) UpdateSecurityGroupExecute(r ApiUpdateSecurityGroupRequest) (*SecurityGroup, error)

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, region string, serverId string) ApiUpdateServerRequest

func (DefaultAPIServiceMock) UpdateServerExecute

func (a DefaultAPIServiceMock) UpdateServerExecute(r ApiUpdateServerRequest) (*Server, error)

UpdateServerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateServerExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateSnapshot

func (a DefaultAPIServiceMock) UpdateSnapshot(ctx context.Context, projectId string, region string, snapshotId string) ApiUpdateSnapshotRequest

func (DefaultAPIServiceMock) UpdateSnapshotExecute

func (a DefaultAPIServiceMock) UpdateSnapshotExecute(r ApiUpdateSnapshotRequest) (*Snapshot, error)

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, region string, volumeId string) ApiUpdateVolumeRequest

func (DefaultAPIServiceMock) UpdateVolumeExecute

func (a DefaultAPIServiceMock) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, error)

UpdateVolumeExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateVolumeExecuteMock field in the DefaultAPIServiceMock struct.

type DestinationCIDRv4

type DestinationCIDRv4 struct {
	Type string `json:"type"`
	// An CIDRv4 string.
	Value string `` /* 152-byte string literal not displayed */
}

DestinationCIDRv4 IPv4 Classless Inter-Domain Routing (CIDR) Object.

func NewDestinationCIDRv4

func NewDestinationCIDRv4(types string, value string) *DestinationCIDRv4

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

func NewDestinationCIDRv4WithDefaults

func NewDestinationCIDRv4WithDefaults() *DestinationCIDRv4

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

func (*DestinationCIDRv4) GetType

func (o *DestinationCIDRv4) GetType() string

GetType returns the Type field value

func (*DestinationCIDRv4) GetTypeOk

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

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

func (*DestinationCIDRv4) GetValue

func (o *DestinationCIDRv4) GetValue() string

GetValue returns the Value field value

func (*DestinationCIDRv4) GetValueOk

func (o *DestinationCIDRv4) GetValueOk() (*string, bool)

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

func (DestinationCIDRv4) MarshalJSON

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

func (*DestinationCIDRv4) SetType

func (o *DestinationCIDRv4) SetType(v string)

SetType sets field value

func (*DestinationCIDRv4) SetValue

func (o *DestinationCIDRv4) SetValue(v string)

SetValue sets field value

func (DestinationCIDRv4) ToMap

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

func (*DestinationCIDRv4) UnmarshalJSON

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

type DestinationCIDRv6

type DestinationCIDRv6 struct {
	Type string `json:"type"`
	// An CIDRv6 string.
	Value string `` /* 745-byte string literal not displayed */
}

DestinationCIDRv6 IPv6 Classless Inter-Domain Routing (CIDR) Object.

func NewDestinationCIDRv6

func NewDestinationCIDRv6(types string, value string) *DestinationCIDRv6

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

func NewDestinationCIDRv6WithDefaults

func NewDestinationCIDRv6WithDefaults() *DestinationCIDRv6

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

func (*DestinationCIDRv6) GetType

func (o *DestinationCIDRv6) GetType() string

GetType returns the Type field value

func (*DestinationCIDRv6) GetTypeOk

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

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

func (*DestinationCIDRv6) GetValue

func (o *DestinationCIDRv6) GetValue() string

GetValue returns the Value field value

func (*DestinationCIDRv6) GetValueOk

func (o *DestinationCIDRv6) GetValueOk() (*string, bool)

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

func (DestinationCIDRv6) MarshalJSON

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

func (*DestinationCIDRv6) SetType

func (o *DestinationCIDRv6) SetType(v string)

SetType sets field value

func (*DestinationCIDRv6) SetValue

func (o *DestinationCIDRv6) SetValue(v string)

SetValue sets field value

func (DestinationCIDRv6) ToMap

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

func (*DestinationCIDRv6) UnmarshalJSON

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

type Error

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 ImageFromVolumePayload

type ImageFromVolumePayload struct {
	// Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`.
	DiskFormat string `json:"diskFormat"`
	// 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]+)*$"`
	// When true the created image is prevented from being deleted.
	Protected *bool `json:"protected,omitempty"`
}

ImageFromVolumePayload Object that represents the upload request of an image to a volume. Used for creating an image from a volume.

func NewImageFromVolumePayload

func NewImageFromVolumePayload(diskFormat string, name string) *ImageFromVolumePayload

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

func NewImageFromVolumePayloadWithDefaults

func NewImageFromVolumePayloadWithDefaults() *ImageFromVolumePayload

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

func (*ImageFromVolumePayload) GetDiskFormat

func (o *ImageFromVolumePayload) GetDiskFormat() string

GetDiskFormat returns the DiskFormat field value

func (*ImageFromVolumePayload) GetDiskFormatOk

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

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

func (*ImageFromVolumePayload) GetName

func (o *ImageFromVolumePayload) GetName() string

GetName returns the Name field value

func (*ImageFromVolumePayload) GetNameOk

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

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

func (*ImageFromVolumePayload) GetProtected

func (o *ImageFromVolumePayload) GetProtected() bool

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

func (*ImageFromVolumePayload) GetProtectedOk

func (o *ImageFromVolumePayload) 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 (*ImageFromVolumePayload) HasProtected

func (o *ImageFromVolumePayload) HasProtected() bool

HasProtected returns a boolean if a field has been set.

func (ImageFromVolumePayload) MarshalJSON

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

func (*ImageFromVolumePayload) SetDiskFormat

func (o *ImageFromVolumePayload) SetDiskFormat(v string)

SetDiskFormat sets field value

func (*ImageFromVolumePayload) SetName

func (o *ImageFromVolumePayload) SetName(v string)

SetName sets field value

func (*ImageFromVolumePayload) SetProtected

func (o *ImageFromVolumePayload) SetProtected(v bool)

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

func (ImageFromVolumePayload) ToMap

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

func (*ImageFromVolumePayload) UnmarshalJSON

func (o *ImageFromVolumePayload) 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"`
	// Universally Unique Identifier (UUID).
	Id   string       `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	Ipv4 *NetworkIPv4 `json:"ipv4,omitempty"`
	Ipv6 *NetworkIPv6 `json:"ipv6,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	Name   string                 `json:"name"`
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
	// Universally Unique Identifier (UUID).
	RoutingTableId *string `json:"routingTableId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	Status string `json:"status"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Network Object that represents a network. If no routing table is specified, the default routing table is used.

func NewNetwork

func NewNetwork(id string, name string, status 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) GetId

func (o *Network) GetId() string

GetId returns the Id field value

func (*Network) GetIdOk

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

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

func (*Network) GetIpv4

func (o *Network) GetIpv4() NetworkIPv4

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

func (*Network) GetIpv4Ok

func (o *Network) GetIpv4Ok() (*NetworkIPv4, bool)

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

func (*Network) GetIpv6

func (o *Network) GetIpv6() NetworkIPv6

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

func (*Network) GetIpv6Ok

func (o *Network) GetIpv6Ok() (*NetworkIPv6, bool)

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

func (*Network) 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) 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) GetRoutingTableId

func (o *Network) GetRoutingTableId() string

GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.

func (*Network) GetRoutingTableIdOk

func (o *Network) GetRoutingTableIdOk() (*string, bool)

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

func (*Network) GetStatus

func (o *Network) GetStatus() string

GetStatus returns the Status field value

func (*Network) GetStatusOk

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

GetStatusOk returns a tuple with the Status 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) HasIpv4

func (o *Network) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*Network) HasIpv6

func (o *Network) HasIpv6() bool

HasIpv6 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) HasRouted

func (o *Network) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*Network) HasRoutingTableId

func (o *Network) HasRoutingTableId() bool

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

func (o *Network) SetId(v string)

SetId sets field value

func (*Network) SetIpv4

func (o *Network) SetIpv4(v NetworkIPv4)

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

func (*Network) SetIpv6

func (o *Network) SetIpv6(v NetworkIPv6)

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

func (*Network) SetLabels

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

func (o *Network) SetRouted(v bool)

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

func (*Network) SetRoutingTableId

func (o *Network) SetRoutingTableId(v string)

SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId field.

func (*Network) SetStatus

func (o *Network) SetStatus(v string)

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

type NetworkArea

type NetworkArea struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	Name   string                 `json:"name"`
	// The amount of projects currently referencing a specific area.
	ProjectCount *int64 `json:"projectCount,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

NetworkArea Object that represents a network area.

func NewNetworkArea

func NewNetworkArea(name string) *NetworkArea

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

func NewNetworkAreaWithDefaults

func NewNetworkAreaWithDefaults() *NetworkArea

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

func (*NetworkArea) GetCreatedAt

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

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

func (*NetworkArea) GetCreatedAtOk

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

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

func (*NetworkArea) GetId

func (o *NetworkArea) GetId() string

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

func (*NetworkArea) GetIdOk

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

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

func (*NetworkArea) GetLabels

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

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

func (*NetworkArea) GetLabelsOk

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

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

func (*NetworkArea) GetName

func (o *NetworkArea) GetName() string

GetName returns the Name field value

func (*NetworkArea) GetNameOk

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

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

func (*NetworkArea) GetProjectCount

func (o *NetworkArea) GetProjectCount() int64

GetProjectCount returns the ProjectCount field value if set, zero value otherwise.

func (*NetworkArea) GetProjectCountOk

func (o *NetworkArea) GetProjectCountOk() (*int64, bool)

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

func (*NetworkArea) GetUpdatedAt

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

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

func (*NetworkArea) GetUpdatedAtOk

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

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

func (*NetworkArea) HasCreatedAt

func (o *NetworkArea) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkArea) HasId

func (o *NetworkArea) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkArea) HasLabels

func (o *NetworkArea) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NetworkArea) HasProjectCount

func (o *NetworkArea) HasProjectCount() bool

HasProjectCount returns a boolean if a field has been set.

func (*NetworkArea) HasUpdatedAt

func (o *NetworkArea) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (NetworkArea) MarshalJSON

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

func (*NetworkArea) SetCreatedAt

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

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

func (*NetworkArea) SetId

func (o *NetworkArea) SetId(v string)

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

func (*NetworkArea) SetLabels

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

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

func (*NetworkArea) SetName

func (o *NetworkArea) SetName(v string)

SetName sets field value

func (*NetworkArea) SetProjectCount

func (o *NetworkArea) SetProjectCount(v int64)

SetProjectCount gets a reference to the given int64 and assigns it to the ProjectCount field.

func (*NetworkArea) SetUpdatedAt

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

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

func (NetworkArea) ToMap

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

func (*NetworkArea) UnmarshalJSON

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

type NetworkAreaListResponse

type NetworkAreaListResponse struct {
	// A list of network areas.
	Items []NetworkArea `json:"items"`
}

NetworkAreaListResponse Network area list response.

func NewNetworkAreaListResponse

func NewNetworkAreaListResponse(items []NetworkArea) *NetworkAreaListResponse

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

func NewNetworkAreaListResponseWithDefaults

func NewNetworkAreaListResponseWithDefaults() *NetworkAreaListResponse

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

func (*NetworkAreaListResponse) GetItems

func (o *NetworkAreaListResponse) GetItems() []NetworkArea

GetItems returns the Items field value

func (*NetworkAreaListResponse) GetItemsOk

func (o *NetworkAreaListResponse) GetItemsOk() ([]NetworkArea, bool)

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

func (NetworkAreaListResponse) MarshalJSON

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

func (*NetworkAreaListResponse) SetItems

func (o *NetworkAreaListResponse) SetItems(v []NetworkArea)

SetItems sets field value

func (NetworkAreaListResponse) ToMap

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

func (*NetworkAreaListResponse) UnmarshalJSON

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

type NetworkIPv4

type NetworkIPv4 struct {
	// The IPv4 gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 165-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers []string `json:"nameservers,omitempty"`
	Prefixes    []string `json:"prefixes"`
	// String that represents an IPv4 address.
	PublicIp *string `` /* 166-byte string literal not displayed */
}

NetworkIPv4 Object that represents the IPv4 part of a network.

func NewNetworkIPv4

func NewNetworkIPv4(prefixes []string) *NetworkIPv4

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

func NewNetworkIPv4WithDefaults

func NewNetworkIPv4WithDefaults() *NetworkIPv4

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

func (*NetworkIPv4) GetGateway

func (o *NetworkIPv4) GetGateway() string

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

func (*NetworkIPv4) GetGatewayOk

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

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

func (*NetworkIPv4) GetNameservers

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

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

func (*NetworkIPv4) GetNameserversOk

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

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

func (*NetworkIPv4) GetPrefixes

func (o *NetworkIPv4) GetPrefixes() []string

GetPrefixes returns the Prefixes field value

func (*NetworkIPv4) GetPrefixesOk

func (o *NetworkIPv4) GetPrefixesOk() ([]string, bool)

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

func (*NetworkIPv4) GetPublicIp

func (o *NetworkIPv4) GetPublicIp() string

GetPublicIp returns the PublicIp field value if set, zero value otherwise.

func (*NetworkIPv4) GetPublicIpOk

func (o *NetworkIPv4) GetPublicIpOk() (*string, bool)

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

func (*NetworkIPv4) HasGateway

func (o *NetworkIPv4) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*NetworkIPv4) HasNameservers

func (o *NetworkIPv4) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*NetworkIPv4) HasPublicIp

func (o *NetworkIPv4) HasPublicIp() bool

HasPublicIp returns a boolean if a field has been set.

func (NetworkIPv4) MarshalJSON

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

func (*NetworkIPv4) SetGateway

func (o *NetworkIPv4) SetGateway(v string)

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

func (*NetworkIPv4) SetGatewayNil

func (o *NetworkIPv4) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*NetworkIPv4) SetNameservers

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

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

func (*NetworkIPv4) SetPrefixes

func (o *NetworkIPv4) SetPrefixes(v []string)

SetPrefixes sets field value

func (*NetworkIPv4) SetPublicIp

func (o *NetworkIPv4) SetPublicIp(v string)

SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.

func (NetworkIPv4) ToMap

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

func (*NetworkIPv4) UnmarshalJSON

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

func (*NetworkIPv4) UnsetGateway

func (o *NetworkIPv4) UnsetGateway()

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

type NetworkIPv6

type NetworkIPv6 struct {
	// The IPv6 gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1257-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers []string `json:"nameservers,omitempty"`
	Prefixes    []string `json:"prefixes"`
}

NetworkIPv6 Object that represents the IPv6 part of a network.

func NewNetworkIPv6

func NewNetworkIPv6(prefixes []string) *NetworkIPv6

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

func NewNetworkIPv6WithDefaults

func NewNetworkIPv6WithDefaults() *NetworkIPv6

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

func (*NetworkIPv6) GetGateway

func (o *NetworkIPv6) GetGateway() string

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

func (*NetworkIPv6) GetGatewayOk

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

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

func (*NetworkIPv6) GetNameservers

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

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

func (*NetworkIPv6) GetNameserversOk

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

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

func (*NetworkIPv6) GetPrefixes

func (o *NetworkIPv6) GetPrefixes() []string

GetPrefixes returns the Prefixes field value

func (*NetworkIPv6) GetPrefixesOk

func (o *NetworkIPv6) GetPrefixesOk() ([]string, bool)

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

func (*NetworkIPv6) HasGateway

func (o *NetworkIPv6) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*NetworkIPv6) HasNameservers

func (o *NetworkIPv6) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (NetworkIPv6) MarshalJSON

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

func (*NetworkIPv6) SetGateway

func (o *NetworkIPv6) SetGateway(v string)

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

func (*NetworkIPv6) SetGatewayNil

func (o *NetworkIPv6) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*NetworkIPv6) SetNameservers

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

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

func (*NetworkIPv6) SetPrefixes

func (o *NetworkIPv6) SetPrefixes(v []string)

SetPrefixes sets field value

func (NetworkIPv6) ToMap

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

func (*NetworkIPv6) UnmarshalJSON

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

func (*NetworkIPv6) UnsetGateway

func (o *NetworkIPv6) UnsetGateway()

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

type NetworkListResponse

type NetworkListResponse struct {
	// A list of networks.
	Items []Network `json:"items"`
}

NetworkListResponse Network list response.

func NewNetworkListResponse

func NewNetworkListResponse(items []Network) *NetworkListResponse

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

func NewNetworkListResponseWithDefaults

func NewNetworkListResponseWithDefaults() *NetworkListResponse

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

func (*NetworkListResponse) GetItems

func (o *NetworkListResponse) GetItems() []Network

GetItems returns the Items field value

func (*NetworkListResponse) GetItemsOk

func (o *NetworkListResponse) GetItemsOk() ([]Network, bool)

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

func (NetworkListResponse) MarshalJSON

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

func (*NetworkListResponse) SetItems

func (o *NetworkListResponse) SetItems(v []Network)

SetItems sets field value

func (NetworkListResponse) ToMap

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

func (*NetworkListResponse) UnmarshalJSON

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

type NetworkRange

type NetworkRange struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Classless Inter-Domain Routing (CIDR).
	Prefix string `` /* 868-byte string literal not displayed */
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

NetworkRange Object that represents a network range.

func NewNetworkRange

func NewNetworkRange(prefix string) *NetworkRange

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

func NewNetworkRangeWithDefaults

func NewNetworkRangeWithDefaults() *NetworkRange

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

func (*NetworkRange) GetCreatedAt

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

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

func (*NetworkRange) GetCreatedAtOk

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

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

func (*NetworkRange) GetId

func (o *NetworkRange) GetId() string

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

func (*NetworkRange) GetIdOk

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

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

func (*NetworkRange) GetPrefix

func (o *NetworkRange) GetPrefix() string

GetPrefix returns the Prefix field value

func (*NetworkRange) GetPrefixOk

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

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

func (*NetworkRange) GetUpdatedAt

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

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

func (*NetworkRange) GetUpdatedAtOk

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

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

func (*NetworkRange) HasCreatedAt

func (o *NetworkRange) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkRange) HasId

func (o *NetworkRange) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkRange) HasUpdatedAt

func (o *NetworkRange) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (NetworkRange) MarshalJSON

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

func (*NetworkRange) SetCreatedAt

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

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

func (*NetworkRange) SetId

func (o *NetworkRange) SetId(v string)

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

func (*NetworkRange) SetPrefix

func (o *NetworkRange) SetPrefix(v string)

SetPrefix sets field value

func (*NetworkRange) SetUpdatedAt

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

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

func (NetworkRange) ToMap

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

func (*NetworkRange) UnmarshalJSON

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

type NetworkRangeListResponse

type NetworkRangeListResponse struct {
	// A list of network ranges.
	Items []NetworkRange `json:"items"`
}

NetworkRangeListResponse Network Range list response.

func NewNetworkRangeListResponse

func NewNetworkRangeListResponse(items []NetworkRange) *NetworkRangeListResponse

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

func NewNetworkRangeListResponseWithDefaults

func NewNetworkRangeListResponseWithDefaults() *NetworkRangeListResponse

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

func (*NetworkRangeListResponse) GetItems

func (o *NetworkRangeListResponse) GetItems() []NetworkRange

GetItems returns the Items field value

func (*NetworkRangeListResponse) GetItemsOk

func (o *NetworkRangeListResponse) GetItemsOk() ([]NetworkRange, bool)

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

func (NetworkRangeListResponse) MarshalJSON

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

func (*NetworkRangeListResponse) SetItems

func (o *NetworkRangeListResponse) SetItems(v []NetworkRange)

SetItems sets field value

func (NetworkRangeListResponse) ToMap

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

func (*NetworkRangeListResponse) UnmarshalJSON

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

type NexthopBlackhole

type NexthopBlackhole struct {
	Type string `json:"type"`
}

NexthopBlackhole Object that represents a blackhole route.

func NewNexthopBlackhole

func NewNexthopBlackhole(types string) *NexthopBlackhole

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

func NewNexthopBlackholeWithDefaults

func NewNexthopBlackholeWithDefaults() *NexthopBlackhole

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

func (*NexthopBlackhole) GetType

func (o *NexthopBlackhole) GetType() string

GetType returns the Type field value

func (*NexthopBlackhole) GetTypeOk

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

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

func (NexthopBlackhole) MarshalJSON

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

func (*NexthopBlackhole) SetType

func (o *NexthopBlackhole) SetType(v string)

SetType sets field value

func (NexthopBlackhole) ToMap

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

func (*NexthopBlackhole) UnmarshalJSON

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

type NexthopIPv4

type NexthopIPv4 struct {
	Type string `json:"type"`
	// An IPv4 address.
	Value string `` /* 153-byte string literal not displayed */
}

NexthopIPv4 Object that represents an IPv4 address.

func NewNexthopIPv4

func NewNexthopIPv4(types string, value string) *NexthopIPv4

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

func NewNexthopIPv4WithDefaults

func NewNexthopIPv4WithDefaults() *NexthopIPv4

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

func (*NexthopIPv4) GetType

func (o *NexthopIPv4) GetType() string

GetType returns the Type field value

func (*NexthopIPv4) GetTypeOk

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

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

func (*NexthopIPv4) GetValue

func (o *NexthopIPv4) GetValue() string

GetValue returns the Value field value

func (*NexthopIPv4) GetValueOk

func (o *NexthopIPv4) GetValueOk() (*string, bool)

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

func (NexthopIPv4) MarshalJSON

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

func (*NexthopIPv4) SetType

func (o *NexthopIPv4) SetType(v string)

SetType sets field value

func (*NexthopIPv4) SetValue

func (o *NexthopIPv4) SetValue(v string)

SetValue sets field value

func (NexthopIPv4) ToMap

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

func (*NexthopIPv4) UnmarshalJSON

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

type NexthopIPv6

type NexthopIPv6 struct {
	Type string `json:"type"`
	// An IPv6 address.
	Value string `` /* 1245-byte string literal not displayed */
}

NexthopIPv6 Object that represents an IPv6 address.

func NewNexthopIPv6

func NewNexthopIPv6(types string, value string) *NexthopIPv6

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

func NewNexthopIPv6WithDefaults

func NewNexthopIPv6WithDefaults() *NexthopIPv6

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

func (*NexthopIPv6) GetType

func (o *NexthopIPv6) GetType() string

GetType returns the Type field value

func (*NexthopIPv6) GetTypeOk

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

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

func (*NexthopIPv6) GetValue

func (o *NexthopIPv6) GetValue() string

GetValue returns the Value field value

func (*NexthopIPv6) GetValueOk

func (o *NexthopIPv6) GetValueOk() (*string, bool)

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

func (NexthopIPv6) MarshalJSON

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

func (*NexthopIPv6) SetType

func (o *NexthopIPv6) SetType(v string)

SetType sets field value

func (*NexthopIPv6) SetValue

func (o *NexthopIPv6) SetValue(v string)

SetValue sets field value

func (NexthopIPv6) ToMap

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

func (*NexthopIPv6) UnmarshalJSON

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

type NexthopInternet

type NexthopInternet struct {
	Type string `json:"type"`
}

NexthopInternet Object that represents a route to the internet.

func NewNexthopInternet

func NewNexthopInternet(types string) *NexthopInternet

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

func NewNexthopInternetWithDefaults

func NewNexthopInternetWithDefaults() *NexthopInternet

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

func (*NexthopInternet) GetType

func (o *NexthopInternet) GetType() string

GetType returns the Type field value

func (*NexthopInternet) GetTypeOk

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

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

func (NexthopInternet) MarshalJSON

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

func (*NexthopInternet) SetType

func (o *NexthopInternet) SetType(v string)

SetType sets field value

func (NexthopInternet) ToMap

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

func (*NexthopInternet) UnmarshalJSON

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

type NullableAddRoutesToRoutingTablePayload

type NullableAddRoutesToRoutingTablePayload struct {
	// contains filtered or unexported fields
}

func (NullableAddRoutesToRoutingTablePayload) Get

func (NullableAddRoutesToRoutingTablePayload) IsSet

func (NullableAddRoutesToRoutingTablePayload) MarshalJSON

func (v NullableAddRoutesToRoutingTablePayload) MarshalJSON() ([]byte, error)

func (*NullableAddRoutesToRoutingTablePayload) Set

func (*NullableAddRoutesToRoutingTablePayload) UnmarshalJSON

func (v *NullableAddRoutesToRoutingTablePayload) UnmarshalJSON(src []byte) error

func (*NullableAddRoutesToRoutingTablePayload) Unset

type NullableAddRoutingTableToAreaPayload

type NullableAddRoutingTableToAreaPayload struct {
	// contains filtered or unexported fields
}

func (NullableAddRoutingTableToAreaPayload) Get

func (NullableAddRoutingTableToAreaPayload) IsSet

func (NullableAddRoutingTableToAreaPayload) MarshalJSON

func (v NullableAddRoutingTableToAreaPayload) MarshalJSON() ([]byte, error)

func (*NullableAddRoutingTableToAreaPayload) Set

func (*NullableAddRoutingTableToAreaPayload) UnmarshalJSON

func (v *NullableAddRoutingTableToAreaPayload) UnmarshalJSON(src []byte) error

func (*NullableAddRoutingTableToAreaPayload) Unset

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 NullableAreaId

type NullableAreaId struct {
	// contains filtered or unexported fields
}

func NewNullableAreaId

func NewNullableAreaId(val *AreaId) *NullableAreaId

func (NullableAreaId) Get

func (v NullableAreaId) Get() *AreaId

func (NullableAreaId) IsSet

func (v NullableAreaId) IsSet() bool

func (NullableAreaId) MarshalJSON

func (v NullableAreaId) MarshalJSON() ([]byte, error)

func (*NullableAreaId) Set

func (v *NullableAreaId) Set(val *AreaId)

func (*NullableAreaId) UnmarshalJSON

func (v *NullableAreaId) UnmarshalJSON(src []byte) error

func (*NullableAreaId) Unset

func (v *NullableAreaId) Unset()

type NullableAvailabilityZoneListResponse

type NullableAvailabilityZoneListResponse struct {
	// contains filtered or unexported fields
}

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

type NullableCreateIsolatedNetworkPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateIsolatedNetworkPayload) Get

func (NullableCreateIsolatedNetworkPayload) IsSet

func (NullableCreateIsolatedNetworkPayload) MarshalJSON

func (v NullableCreateIsolatedNetworkPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateIsolatedNetworkPayload) Set

func (*NullableCreateIsolatedNetworkPayload) UnmarshalJSON

func (v *NullableCreateIsolatedNetworkPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateIsolatedNetworkPayload) 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 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 NullableCreateNetworkAreaRegionPayload

type NullableCreateNetworkAreaRegionPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkAreaRegionPayload) Get

func (NullableCreateNetworkAreaRegionPayload) IsSet

func (NullableCreateNetworkAreaRegionPayload) MarshalJSON

func (v NullableCreateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaRegionPayload) Set

func (*NullableCreateNetworkAreaRegionPayload) UnmarshalJSON

func (v *NullableCreateNetworkAreaRegionPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaRegionPayload) 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 NullableCreateNetworkIPv4

type NullableCreateNetworkIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateNetworkIPv4

func NewNullableCreateNetworkIPv4(val *CreateNetworkIPv4) *NullableCreateNetworkIPv4

func (NullableCreateNetworkIPv4) Get

func (NullableCreateNetworkIPv4) IsSet

func (v NullableCreateNetworkIPv4) IsSet() bool

func (NullableCreateNetworkIPv4) MarshalJSON

func (v NullableCreateNetworkIPv4) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv4) Set

func (*NullableCreateNetworkIPv4) UnmarshalJSON

func (v *NullableCreateNetworkIPv4) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv4) Unset

func (v *NullableCreateNetworkIPv4) Unset()

type NullableCreateNetworkIPv4WithPrefix

type NullableCreateNetworkIPv4WithPrefix struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkIPv4WithPrefix) Get

func (NullableCreateNetworkIPv4WithPrefix) IsSet

func (NullableCreateNetworkIPv4WithPrefix) MarshalJSON

func (v NullableCreateNetworkIPv4WithPrefix) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv4WithPrefix) Set

func (*NullableCreateNetworkIPv4WithPrefix) UnmarshalJSON

func (v *NullableCreateNetworkIPv4WithPrefix) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv4WithPrefix) Unset

type NullableCreateNetworkIPv4WithPrefixLength

type NullableCreateNetworkIPv4WithPrefixLength struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkIPv4WithPrefixLength) Get

func (NullableCreateNetworkIPv4WithPrefixLength) IsSet

func (NullableCreateNetworkIPv4WithPrefixLength) MarshalJSON

func (*NullableCreateNetworkIPv4WithPrefixLength) Set

func (*NullableCreateNetworkIPv4WithPrefixLength) UnmarshalJSON

func (v *NullableCreateNetworkIPv4WithPrefixLength) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv4WithPrefixLength) Unset

type NullableCreateNetworkIPv6

type NullableCreateNetworkIPv6 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateNetworkIPv6

func NewNullableCreateNetworkIPv6(val *CreateNetworkIPv6) *NullableCreateNetworkIPv6

func (NullableCreateNetworkIPv6) Get

func (NullableCreateNetworkIPv6) IsSet

func (v NullableCreateNetworkIPv6) IsSet() bool

func (NullableCreateNetworkIPv6) MarshalJSON

func (v NullableCreateNetworkIPv6) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv6) Set

func (*NullableCreateNetworkIPv6) UnmarshalJSON

func (v *NullableCreateNetworkIPv6) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv6) Unset

func (v *NullableCreateNetworkIPv6) Unset()

type NullableCreateNetworkIPv6WithPrefix

type NullableCreateNetworkIPv6WithPrefix struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkIPv6WithPrefix) Get

func (NullableCreateNetworkIPv6WithPrefix) IsSet

func (NullableCreateNetworkIPv6WithPrefix) MarshalJSON

func (v NullableCreateNetworkIPv6WithPrefix) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv6WithPrefix) Set

func (*NullableCreateNetworkIPv6WithPrefix) UnmarshalJSON

func (v *NullableCreateNetworkIPv6WithPrefix) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv6WithPrefix) Unset

type NullableCreateNetworkIPv6WithPrefixLength

type NullableCreateNetworkIPv6WithPrefixLength struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkIPv6WithPrefixLength) Get

func (NullableCreateNetworkIPv6WithPrefixLength) IsSet

func (NullableCreateNetworkIPv6WithPrefixLength) MarshalJSON

func (*NullableCreateNetworkIPv6WithPrefixLength) Set

func (*NullableCreateNetworkIPv6WithPrefixLength) UnmarshalJSON

func (v *NullableCreateNetworkIPv6WithPrefixLength) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv6WithPrefixLength) 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 NullableCreateServerPayloadAllOfNetworking

type NullableCreateServerPayloadAllOfNetworking struct {
	// contains filtered or unexported fields
}

func (NullableCreateServerPayloadAllOfNetworking) Get

func (NullableCreateServerPayloadAllOfNetworking) IsSet

func (NullableCreateServerPayloadAllOfNetworking) MarshalJSON

func (*NullableCreateServerPayloadAllOfNetworking) Set

func (*NullableCreateServerPayloadAllOfNetworking) UnmarshalJSON

func (v *NullableCreateServerPayloadAllOfNetworking) UnmarshalJSON(src []byte) error

func (*NullableCreateServerPayloadAllOfNetworking) 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 NullableDestinationCIDRv4

type NullableDestinationCIDRv4 struct {
	// contains filtered or unexported fields
}

func NewNullableDestinationCIDRv4

func NewNullableDestinationCIDRv4(val *DestinationCIDRv4) *NullableDestinationCIDRv4

func (NullableDestinationCIDRv4) Get

func (NullableDestinationCIDRv4) IsSet

func (v NullableDestinationCIDRv4) IsSet() bool

func (NullableDestinationCIDRv4) MarshalJSON

func (v NullableDestinationCIDRv4) MarshalJSON() ([]byte, error)

func (*NullableDestinationCIDRv4) Set

func (*NullableDestinationCIDRv4) UnmarshalJSON

func (v *NullableDestinationCIDRv4) UnmarshalJSON(src []byte) error

func (*NullableDestinationCIDRv4) Unset

func (v *NullableDestinationCIDRv4) Unset()

type NullableDestinationCIDRv6

type NullableDestinationCIDRv6 struct {
	// contains filtered or unexported fields
}

func NewNullableDestinationCIDRv6

func NewNullableDestinationCIDRv6(val *DestinationCIDRv6) *NullableDestinationCIDRv6

func (NullableDestinationCIDRv6) Get

func (NullableDestinationCIDRv6) IsSet

func (v NullableDestinationCIDRv6) IsSet() bool

func (NullableDestinationCIDRv6) MarshalJSON

func (v NullableDestinationCIDRv6) MarshalJSON() ([]byte, error)

func (*NullableDestinationCIDRv6) Set

func (*NullableDestinationCIDRv6) UnmarshalJSON

func (v *NullableDestinationCIDRv6) UnmarshalJSON(src []byte) error

func (*NullableDestinationCIDRv6) Unset

func (v *NullableDestinationCIDRv6) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetServerLog200Response

type NullableGetServerLog200Response struct {
	// contains filtered or unexported fields
}

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

type NullableImageFromVolumePayload struct {
	// contains filtered or unexported fields
}

func (NullableImageFromVolumePayload) Get

func (NullableImageFromVolumePayload) IsSet

func (NullableImageFromVolumePayload) MarshalJSON

func (v NullableImageFromVolumePayload) MarshalJSON() ([]byte, error)

func (*NullableImageFromVolumePayload) Set

func (*NullableImageFromVolumePayload) UnmarshalJSON

func (v *NullableImageFromVolumePayload) UnmarshalJSON(src []byte) error

func (*NullableImageFromVolumePayload) Unset

func (v *NullableImageFromVolumePayload) 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 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 NullableNetworkIPv4

type NullableNetworkIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkIPv4

func NewNullableNetworkIPv4(val *NetworkIPv4) *NullableNetworkIPv4

func (NullableNetworkIPv4) Get

func (NullableNetworkIPv4) IsSet

func (v NullableNetworkIPv4) IsSet() bool

func (NullableNetworkIPv4) MarshalJSON

func (v NullableNetworkIPv4) MarshalJSON() ([]byte, error)

func (*NullableNetworkIPv4) Set

func (v *NullableNetworkIPv4) Set(val *NetworkIPv4)

func (*NullableNetworkIPv4) UnmarshalJSON

func (v *NullableNetworkIPv4) UnmarshalJSON(src []byte) error

func (*NullableNetworkIPv4) Unset

func (v *NullableNetworkIPv4) Unset()

type NullableNetworkIPv6

type NullableNetworkIPv6 struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkIPv6

func NewNullableNetworkIPv6(val *NetworkIPv6) *NullableNetworkIPv6

func (NullableNetworkIPv6) Get

func (NullableNetworkIPv6) IsSet

func (v NullableNetworkIPv6) IsSet() bool

func (NullableNetworkIPv6) MarshalJSON

func (v NullableNetworkIPv6) MarshalJSON() ([]byte, error)

func (*NullableNetworkIPv6) Set

func (v *NullableNetworkIPv6) Set(val *NetworkIPv6)

func (*NullableNetworkIPv6) UnmarshalJSON

func (v *NullableNetworkIPv6) UnmarshalJSON(src []byte) error

func (*NullableNetworkIPv6) Unset

func (v *NullableNetworkIPv6) Unset()

type NullableNetworkListResponse

type NullableNetworkListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkListResponse

func NewNullableNetworkListResponse(val *NetworkListResponse) *NullableNetworkListResponse

func (NullableNetworkListResponse) Get

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

type NullableNexthopBlackhole struct {
	// contains filtered or unexported fields
}

func NewNullableNexthopBlackhole

func NewNullableNexthopBlackhole(val *NexthopBlackhole) *NullableNexthopBlackhole

func (NullableNexthopBlackhole) Get

func (NullableNexthopBlackhole) IsSet

func (v NullableNexthopBlackhole) IsSet() bool

func (NullableNexthopBlackhole) MarshalJSON

func (v NullableNexthopBlackhole) MarshalJSON() ([]byte, error)

func (*NullableNexthopBlackhole) Set

func (*NullableNexthopBlackhole) UnmarshalJSON

func (v *NullableNexthopBlackhole) UnmarshalJSON(src []byte) error

func (*NullableNexthopBlackhole) Unset

func (v *NullableNexthopBlackhole) Unset()

type NullableNexthopIPv4

type NullableNexthopIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableNexthopIPv4

func NewNullableNexthopIPv4(val *NexthopIPv4) *NullableNexthopIPv4

func (NullableNexthopIPv4) Get

func (NullableNexthopIPv4) IsSet

func (v NullableNexthopIPv4) IsSet() bool

func (NullableNexthopIPv4) MarshalJSON

func (v NullableNexthopIPv4) MarshalJSON() ([]byte, error)

func (*NullableNexthopIPv4) Set

func (v *NullableNexthopIPv4) Set(val *NexthopIPv4)

func (*NullableNexthopIPv4) UnmarshalJSON

func (v *NullableNexthopIPv4) UnmarshalJSON(src []byte) error

func (*NullableNexthopIPv4) Unset

func (v *NullableNexthopIPv4) Unset()

type NullableNexthopIPv6

type NullableNexthopIPv6 struct {
	// contains filtered or unexported fields
}

func NewNullableNexthopIPv6

func NewNullableNexthopIPv6(val *NexthopIPv6) *NullableNexthopIPv6

func (NullableNexthopIPv6) Get

func (NullableNexthopIPv6) IsSet

func (v NullableNexthopIPv6) IsSet() bool

func (NullableNexthopIPv6) MarshalJSON

func (v NullableNexthopIPv6) MarshalJSON() ([]byte, error)

func (*NullableNexthopIPv6) Set

func (v *NullableNexthopIPv6) Set(val *NexthopIPv6)

func (*NullableNexthopIPv6) UnmarshalJSON

func (v *NullableNexthopIPv6) UnmarshalJSON(src []byte) error

func (*NullableNexthopIPv6) Unset

func (v *NullableNexthopIPv6) Unset()

type NullableNexthopInternet

type NullableNexthopInternet struct {
	// contains filtered or unexported fields
}

func NewNullableNexthopInternet

func NewNullableNexthopInternet(val *NexthopInternet) *NullableNexthopInternet

func (NullableNexthopInternet) Get

func (NullableNexthopInternet) IsSet

func (v NullableNexthopInternet) IsSet() bool

func (NullableNexthopInternet) MarshalJSON

func (v NullableNexthopInternet) MarshalJSON() ([]byte, error)

func (*NullableNexthopInternet) Set

func (*NullableNexthopInternet) UnmarshalJSON

func (v *NullableNexthopInternet) UnmarshalJSON(src []byte) error

func (*NullableNexthopInternet) Unset

func (v *NullableNexthopInternet) Unset()

type NullablePartialUpdateNetworkAreaPayload

type NullablePartialUpdateNetworkAreaPayload struct {
	// contains filtered or unexported fields
}

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

type NullableRegionalArea struct {
	// contains filtered or unexported fields
}

func NewNullableRegionalArea

func NewNullableRegionalArea(val *RegionalArea) *NullableRegionalArea

func (NullableRegionalArea) Get

func (NullableRegionalArea) IsSet

func (v NullableRegionalArea) IsSet() bool

func (NullableRegionalArea) MarshalJSON

func (v NullableRegionalArea) MarshalJSON() ([]byte, error)

func (*NullableRegionalArea) Set

func (v *NullableRegionalArea) Set(val *RegionalArea)

func (*NullableRegionalArea) UnmarshalJSON

func (v *NullableRegionalArea) UnmarshalJSON(src []byte) error

func (*NullableRegionalArea) Unset

func (v *NullableRegionalArea) Unset()

type NullableRegionalAreaIPv4

type NullableRegionalAreaIPv4 struct {
	// contains filtered or unexported fields
}

func NewNullableRegionalAreaIPv4

func NewNullableRegionalAreaIPv4(val *RegionalAreaIPv4) *NullableRegionalAreaIPv4

func (NullableRegionalAreaIPv4) Get

func (NullableRegionalAreaIPv4) IsSet

func (v NullableRegionalAreaIPv4) IsSet() bool

func (NullableRegionalAreaIPv4) MarshalJSON

func (v NullableRegionalAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableRegionalAreaIPv4) Set

func (*NullableRegionalAreaIPv4) UnmarshalJSON

func (v *NullableRegionalAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableRegionalAreaIPv4) Unset

func (v *NullableRegionalAreaIPv4) Unset()

type NullableRegionalAreaListResponse

type NullableRegionalAreaListResponse struct {
	// contains filtered or unexported fields
}

func (NullableRegionalAreaListResponse) Get

func (NullableRegionalAreaListResponse) IsSet

func (NullableRegionalAreaListResponse) MarshalJSON

func (v NullableRegionalAreaListResponse) MarshalJSON() ([]byte, error)

func (*NullableRegionalAreaListResponse) Set

func (*NullableRegionalAreaListResponse) UnmarshalJSON

func (v *NullableRegionalAreaListResponse) UnmarshalJSON(src []byte) error

func (*NullableRegionalAreaListResponse) Unset

type NullableRequest

type NullableRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRequest

func NewNullableRequest(val *Request) *NullableRequest

func (NullableRequest) Get

func (v NullableRequest) Get() *Request

func (NullableRequest) IsSet

func (v NullableRequest) IsSet() bool

func (NullableRequest) MarshalJSON

func (v NullableRequest) MarshalJSON() ([]byte, error)

func (*NullableRequest) Set

func (v *NullableRequest) Set(val *Request)

func (*NullableRequest) UnmarshalJSON

func (v *NullableRequest) UnmarshalJSON(src []byte) error

func (*NullableRequest) Unset

func (v *NullableRequest) Unset()

type NullableRequestResource

type NullableRequestResource struct {
	// contains filtered or unexported fields
}

func NewNullableRequestResource

func NewNullableRequestResource(val *RequestResource) *NullableRequestResource

func (NullableRequestResource) Get

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

type NullableRouteDestination struct {
	// contains filtered or unexported fields
}

func NewNullableRouteDestination

func NewNullableRouteDestination(val *RouteDestination) *NullableRouteDestination

func (NullableRouteDestination) Get

func (NullableRouteDestination) IsSet

func (v NullableRouteDestination) IsSet() bool

func (NullableRouteDestination) MarshalJSON

func (v NullableRouteDestination) MarshalJSON() ([]byte, error)

func (*NullableRouteDestination) Set

func (*NullableRouteDestination) UnmarshalJSON

func (v *NullableRouteDestination) UnmarshalJSON(src []byte) error

func (*NullableRouteDestination) Unset

func (v *NullableRouteDestination) Unset()

type NullableRouteListResponse

type NullableRouteListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRouteListResponse

func NewNullableRouteListResponse(val *RouteListResponse) *NullableRouteListResponse

func (NullableRouteListResponse) Get

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

type NullableRouteNexthop struct {
	// contains filtered or unexported fields
}

func NewNullableRouteNexthop

func NewNullableRouteNexthop(val *RouteNexthop) *NullableRouteNexthop

func (NullableRouteNexthop) Get

func (NullableRouteNexthop) IsSet

func (v NullableRouteNexthop) IsSet() bool

func (NullableRouteNexthop) MarshalJSON

func (v NullableRouteNexthop) MarshalJSON() ([]byte, error)

func (*NullableRouteNexthop) Set

func (v *NullableRouteNexthop) Set(val *RouteNexthop)

func (*NullableRouteNexthop) UnmarshalJSON

func (v *NullableRouteNexthop) UnmarshalJSON(src []byte) error

func (*NullableRouteNexthop) Unset

func (v *NullableRouteNexthop) Unset()

type NullableRoutingTable

type NullableRoutingTable struct {
	// contains filtered or unexported fields
}

func NewNullableRoutingTable

func NewNullableRoutingTable(val *RoutingTable) *NullableRoutingTable

func (NullableRoutingTable) Get

func (NullableRoutingTable) IsSet

func (v NullableRoutingTable) IsSet() bool

func (NullableRoutingTable) MarshalJSON

func (v NullableRoutingTable) MarshalJSON() ([]byte, error)

func (*NullableRoutingTable) Set

func (v *NullableRoutingTable) Set(val *RoutingTable)

func (*NullableRoutingTable) UnmarshalJSON

func (v *NullableRoutingTable) UnmarshalJSON(src []byte) error

func (*NullableRoutingTable) Unset

func (v *NullableRoutingTable) Unset()

type NullableRoutingTableListResponse

type NullableRoutingTableListResponse struct {
	// contains filtered or unexported fields
}

func (NullableRoutingTableListResponse) Get

func (NullableRoutingTableListResponse) IsSet

func (NullableRoutingTableListResponse) MarshalJSON

func (v NullableRoutingTableListResponse) MarshalJSON() ([]byte, error)

func (*NullableRoutingTableListResponse) Set

func (*NullableRoutingTableListResponse) UnmarshalJSON

func (v *NullableRoutingTableListResponse) UnmarshalJSON(src []byte) error

func (*NullableRoutingTableListResponse) 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 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 NullableUpdateNetworkAreaRegionPayload

type NullableUpdateNetworkAreaRegionPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateNetworkAreaRegionPayload) Get

func (NullableUpdateNetworkAreaRegionPayload) IsSet

func (NullableUpdateNetworkAreaRegionPayload) MarshalJSON

func (v NullableUpdateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkAreaRegionPayload) Set

func (*NullableUpdateNetworkAreaRegionPayload) UnmarshalJSON

func (v *NullableUpdateNetworkAreaRegionPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateNetworkAreaRegionPayload) 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 NullableUpdateRegionalAreaIPv4

type NullableUpdateRegionalAreaIPv4 struct {
	// contains filtered or unexported fields
}

func (NullableUpdateRegionalAreaIPv4) Get

func (NullableUpdateRegionalAreaIPv4) IsSet

func (NullableUpdateRegionalAreaIPv4) MarshalJSON

func (v NullableUpdateRegionalAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableUpdateRegionalAreaIPv4) Set

func (*NullableUpdateRegionalAreaIPv4) UnmarshalJSON

func (v *NullableUpdateRegionalAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableUpdateRegionalAreaIPv4) Unset

func (v *NullableUpdateRegionalAreaIPv4) Unset()

type NullableUpdateRouteOfRoutingTablePayload

type NullableUpdateRouteOfRoutingTablePayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateRouteOfRoutingTablePayload) Get

func (NullableUpdateRouteOfRoutingTablePayload) IsSet

func (NullableUpdateRouteOfRoutingTablePayload) MarshalJSON

func (*NullableUpdateRouteOfRoutingTablePayload) Set

func (*NullableUpdateRouteOfRoutingTablePayload) UnmarshalJSON

func (v *NullableUpdateRouteOfRoutingTablePayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateRouteOfRoutingTablePayload) Unset

type NullableUpdateRoutingTableOfAreaPayload

type NullableUpdateRoutingTableOfAreaPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateRoutingTableOfAreaPayload) Get

func (NullableUpdateRoutingTableOfAreaPayload) IsSet

func (NullableUpdateRoutingTableOfAreaPayload) MarshalJSON

func (v NullableUpdateRoutingTableOfAreaPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateRoutingTableOfAreaPayload) Set

func (*NullableUpdateRoutingTableOfAreaPayload) UnmarshalJSON

func (v *NullableUpdateRoutingTableOfAreaPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdateRoutingTableOfAreaPayload) 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 {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	Name   *string                `json:"name,omitempty"`
}

PartialUpdateNetworkAreaPayload Object that represents the network area update request.

func NewPartialUpdateNetworkAreaPayload

func NewPartialUpdateNetworkAreaPayload() *PartialUpdateNetworkAreaPayload

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

func NewPartialUpdateNetworkAreaPayloadWithDefaults

func NewPartialUpdateNetworkAreaPayloadWithDefaults() *PartialUpdateNetworkAreaPayload

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

func (*PartialUpdateNetworkAreaPayload) GetLabels

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

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

func (*PartialUpdateNetworkAreaPayload) GetLabelsOk

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

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

func (*PartialUpdateNetworkAreaPayload) GetName

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

func (*PartialUpdateNetworkAreaPayload) GetNameOk

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

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

func (*PartialUpdateNetworkAreaPayload) HasLabels

func (o *PartialUpdateNetworkAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateNetworkAreaPayload) HasName

HasName returns a boolean if a field has been set.

func (PartialUpdateNetworkAreaPayload) MarshalJSON

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

func (*PartialUpdateNetworkAreaPayload) SetLabels

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

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

func (*PartialUpdateNetworkAreaPayload) SetName

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

func (PartialUpdateNetworkAreaPayload) ToMap

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

type PartialUpdateNetworkPayload

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

PartialUpdateNetworkPayload Object that represents the request body for a network update.

func NewPartialUpdateNetworkPayload

func NewPartialUpdateNetworkPayload() *PartialUpdateNetworkPayload

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

func NewPartialUpdateNetworkPayloadWithDefaults

func NewPartialUpdateNetworkPayloadWithDefaults() *PartialUpdateNetworkPayload

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

func (*PartialUpdateNetworkPayload) GetDhcp

func (o *PartialUpdateNetworkPayload) GetDhcp() bool

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

func (*PartialUpdateNetworkPayload) GetDhcpOk

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

GetDhcpOk returns a tuple with the Dhcp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetIpv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) 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 (*PartialUpdateNetworkPayload) GetIpv6

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) 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 (*PartialUpdateNetworkPayload) GetLabels

func (o *PartialUpdateNetworkPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetLabelsOk

func (o *PartialUpdateNetworkPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetName

func (o *PartialUpdateNetworkPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetNameOk

func (o *PartialUpdateNetworkPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetRouted

func (o *PartialUpdateNetworkPayload) GetRouted() bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetRoutedOk

func (o *PartialUpdateNetworkPayload) GetRoutedOk() (*bool, bool)

GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetRoutingTableId

func (o *PartialUpdateNetworkPayload) GetRoutingTableId() string

GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetRoutingTableIdOk

func (o *PartialUpdateNetworkPayload) GetRoutingTableIdOk() (*string, bool)

GetRoutingTableIdOk returns a tuple with the RoutingTableId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) HasDhcp

func (o *PartialUpdateNetworkPayload) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasIpv4

func (o *PartialUpdateNetworkPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasIpv6

func (o *PartialUpdateNetworkPayload) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasLabels

func (o *PartialUpdateNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasName

func (o *PartialUpdateNetworkPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasRouted

func (o *PartialUpdateNetworkPayload) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasRoutingTableId

func (o *PartialUpdateNetworkPayload) HasRoutingTableId() bool

HasRoutingTableId returns a boolean if a field has been set.

func (PartialUpdateNetworkPayload) MarshalJSON

func (o PartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)

func (*PartialUpdateNetworkPayload) SetDhcp

func (o *PartialUpdateNetworkPayload) SetDhcp(v bool)

SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.

func (*PartialUpdateNetworkPayload) SetIpv4

SetIpv4 gets a reference to the given UpdateNetworkIPv4Body and assigns it to the Ipv4 field.

func (*PartialUpdateNetworkPayload) SetIpv6

SetIpv6 gets a reference to the given UpdateNetworkIPv6Body and assigns it to the Ipv6 field.

func (*PartialUpdateNetworkPayload) SetLabels

func (o *PartialUpdateNetworkPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*PartialUpdateNetworkPayload) SetName

func (o *PartialUpdateNetworkPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialUpdateNetworkPayload) SetRouted

func (o *PartialUpdateNetworkPayload) SetRouted(v bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (*PartialUpdateNetworkPayload) SetRoutingTableId

func (o *PartialUpdateNetworkPayload) SetRoutingTableId(v string)

SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId field.

func (PartialUpdateNetworkPayload) ToMap

func (o PartialUpdateNetworkPayload) ToMap() (map[string]interface{}, error)

type PortRange

type PortRange struct {
	// The maximum port number. Should be greater or equal to the minimum.
	Max int64 `json:"max"`
	// The minimum port number. Should be less or equal to the maximum.
	Min int64 `json:"min"`
}

PortRange Object that represents a range of ports.

func NewPortRange

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"`
	// Universally Unique Identifier (UUID).
	Id             string `json:"id" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	InternetAccess *bool  `json:"internetAccess,omitempty"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	Status string `json:"status"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Project Object that represents a STACKIT project.

func NewProject

func NewProject(areaId AreaId, id string, status 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) GetId

func (o *Project) GetId() string

GetId returns the Id field value

func (*Project) GetIdOk

func (o *Project) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value 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) GetStatus

func (o *Project) GetStatus() string

GetStatus returns the Status field value

func (*Project) GetStatusOk

func (o *Project) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status 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) 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) SetId

func (o *Project) SetId(v string)

SetId sets field value

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) SetStatus

func (o *Project) SetStatus(v string)

SetStatus 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}$"`
	// String that represents an IPv4 address.
	Ip *string `` /* 160-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Associate the public IP with a network interface (ID).
	NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

PublicIp Object that represents a public IP.

func NewPublicIp

func NewPublicIp() *PublicIp

NewPublicIp instantiates a new PublicIp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicIpWithDefaults

func NewPublicIpWithDefaults() *PublicIp

NewPublicIpWithDefaults instantiates a new PublicIp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicIp) 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 */
	// Name of the region.
	Region string `json:"region"`
}

PublicNetwork Public network.

func NewPublicNetwork

func NewPublicNetwork(cidr string, region string) *PublicNetwork

NewPublicNetwork instantiates a new PublicNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicNetworkWithDefaults

func NewPublicNetworkWithDefaults() *PublicNetwork

NewPublicNetworkWithDefaults instantiates a new PublicNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicNetwork) GetCidr

func (o *PublicNetwork) GetCidr() string

GetCidr returns the Cidr field value

func (*PublicNetwork) GetCidrOk

func (o *PublicNetwork) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*PublicNetwork) GetRegion

func (o *PublicNetwork) GetRegion() string

GetRegion returns the Region field value

func (*PublicNetwork) GetRegionOk

func (o *PublicNetwork) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (PublicNetwork) MarshalJSON

func (o PublicNetwork) MarshalJSON() ([]byte, error)

func (*PublicNetwork) SetCidr

func (o *PublicNetwork) SetCidr(v string)

SetCidr sets field value

func (*PublicNetwork) SetRegion

func (o *PublicNetwork) SetRegion(v string)

SetRegion sets field value

func (PublicNetwork) ToMap

func (o PublicNetwork) ToMap() (map[string]interface{}, error)

func (*PublicNetwork) UnmarshalJSON

func (o *PublicNetwork) UnmarshalJSON(data []byte) (err error)

type PublicNetworkListResponse

type PublicNetworkListResponse struct {
	// A list of public networks.
	Items []PublicNetwork `json:"items"`
}

PublicNetworkListResponse Public network list response.

func NewPublicNetworkListResponse

func NewPublicNetworkListResponse(items []PublicNetwork) *PublicNetworkListResponse

NewPublicNetworkListResponse instantiates a new PublicNetworkListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicNetworkListResponseWithDefaults

func NewPublicNetworkListResponseWithDefaults() *PublicNetworkListResponse

NewPublicNetworkListResponseWithDefaults instantiates a new PublicNetworkListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicNetworkListResponse) GetItems

func (o *PublicNetworkListResponse) GetItems() []PublicNetwork

GetItems returns the Items field value

func (*PublicNetworkListResponse) GetItemsOk

func (o *PublicNetworkListResponse) GetItemsOk() ([]PublicNetwork, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (PublicNetworkListResponse) MarshalJSON

func (o PublicNetworkListResponse) MarshalJSON() ([]byte, error)

func (*PublicNetworkListResponse) SetItems

func (o *PublicNetworkListResponse) SetItems(v []PublicNetwork)

SetItems sets field value

func (PublicNetworkListResponse) ToMap

func (o PublicNetworkListResponse) ToMap() (map[string]interface{}, error)

func (*PublicNetworkListResponse) UnmarshalJSON

func (o *PublicNetworkListResponse) UnmarshalJSON(data []byte) (err error)

type Quota

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 RegionalArea

type RegionalArea struct {
	Ipv4 *RegionalAreaIPv4 `json:"ipv4,omitempty"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	Status *string `json:"status,omitempty"`
}

RegionalArea The basic properties of a regional network area.

func NewRegionalArea

func NewRegionalArea() *RegionalArea

NewRegionalArea instantiates a new RegionalArea object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegionalAreaWithDefaults

func NewRegionalAreaWithDefaults() *RegionalArea

NewRegionalAreaWithDefaults instantiates a new RegionalArea object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegionalArea) GetIpv4

func (o *RegionalArea) GetIpv4() RegionalAreaIPv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*RegionalArea) GetIpv4Ok

func (o *RegionalArea) GetIpv4Ok() (*RegionalAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionalArea) GetStatus

func (o *RegionalArea) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*RegionalArea) GetStatusOk

func (o *RegionalArea) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionalArea) HasIpv4

func (o *RegionalArea) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*RegionalArea) HasStatus

func (o *RegionalArea) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (RegionalArea) MarshalJSON

func (o RegionalArea) MarshalJSON() ([]byte, error)

func (*RegionalArea) SetIpv4

func (o *RegionalArea) SetIpv4(v RegionalAreaIPv4)

SetIpv4 gets a reference to the given RegionalAreaIPv4 and assigns it to the Ipv4 field.

func (*RegionalArea) SetStatus

func (o *RegionalArea) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (RegionalArea) ToMap

func (o RegionalArea) ToMap() (map[string]interface{}, error)

type RegionalAreaIPv4

type RegionalAreaIPv4 struct {
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// The default prefix length for networks in the network area.
	DefaultPrefixLen int64 `json:"defaultPrefixLen"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen int64 `json:"maxPrefixLen"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen int64 `json:"minPrefixLen"`
	// A list of network ranges.
	NetworkRanges []NetworkRange `json:"networkRanges"`
	// IPv4 Classless Inter-Domain Routing (CIDR).
	TransferNetwork string `` /* 162-byte string literal not displayed */
}

RegionalAreaIPv4 The regional IPv4 config of a network area.

func NewRegionalAreaIPv4

func NewRegionalAreaIPv4(defaultPrefixLen int64, maxPrefixLen int64, minPrefixLen int64, networkRanges []NetworkRange, transferNetwork string) *RegionalAreaIPv4

NewRegionalAreaIPv4 instantiates a new RegionalAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegionalAreaIPv4WithDefaults

func NewRegionalAreaIPv4WithDefaults() *RegionalAreaIPv4

NewRegionalAreaIPv4WithDefaults instantiates a new RegionalAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegionalAreaIPv4) GetDefaultNameservers

func (o *RegionalAreaIPv4) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*RegionalAreaIPv4) GetDefaultNameserversOk

func (o *RegionalAreaIPv4) GetDefaultNameserversOk() ([]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionalAreaIPv4) GetDefaultPrefixLen

func (o *RegionalAreaIPv4) GetDefaultPrefixLen() int64

GetDefaultPrefixLen returns the DefaultPrefixLen field value

func (*RegionalAreaIPv4) GetDefaultPrefixLenOk

func (o *RegionalAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value and a boolean to check if the value has been set.

func (*RegionalAreaIPv4) GetMaxPrefixLen

func (o *RegionalAreaIPv4) GetMaxPrefixLen() int64

GetMaxPrefixLen returns the MaxPrefixLen field value

func (*RegionalAreaIPv4) GetMaxPrefixLenOk

func (o *RegionalAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value and a boolean to check if the value has been set.

func (*RegionalAreaIPv4) GetMinPrefixLen

func (o *RegionalAreaIPv4) GetMinPrefixLen() int64

GetMinPrefixLen returns the MinPrefixLen field value

func (*RegionalAreaIPv4) GetMinPrefixLenOk

func (o *RegionalAreaIPv4) GetMinPrefixLenOk() (*int64, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value and a boolean to check if the value has been set.

func (*RegionalAreaIPv4) GetNetworkRanges

func (o *RegionalAreaIPv4) GetNetworkRanges() []NetworkRange

GetNetworkRanges returns the NetworkRanges field value

func (*RegionalAreaIPv4) GetNetworkRangesOk

func (o *RegionalAreaIPv4) GetNetworkRangesOk() ([]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.

func (*RegionalAreaIPv4) GetTransferNetwork

func (o *RegionalAreaIPv4) GetTransferNetwork() string

GetTransferNetwork returns the TransferNetwork field value

func (*RegionalAreaIPv4) GetTransferNetworkOk

func (o *RegionalAreaIPv4) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.

func (*RegionalAreaIPv4) HasDefaultNameservers

func (o *RegionalAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (RegionalAreaIPv4) MarshalJSON

func (o RegionalAreaIPv4) MarshalJSON() ([]byte, error)

func (*RegionalAreaIPv4) SetDefaultNameservers

func (o *RegionalAreaIPv4) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*RegionalAreaIPv4) SetDefaultPrefixLen

func (o *RegionalAreaIPv4) SetDefaultPrefixLen(v int64)

SetDefaultPrefixLen sets field value

func (*RegionalAreaIPv4) SetMaxPrefixLen

func (o *RegionalAreaIPv4) SetMaxPrefixLen(v int64)

SetMaxPrefixLen sets field value

func (*RegionalAreaIPv4) SetMinPrefixLen

func (o *RegionalAreaIPv4) SetMinPrefixLen(v int64)

SetMinPrefixLen sets field value

func (*RegionalAreaIPv4) SetNetworkRanges

func (o *RegionalAreaIPv4) SetNetworkRanges(v []NetworkRange)

SetNetworkRanges sets field value

func (*RegionalAreaIPv4) SetTransferNetwork

func (o *RegionalAreaIPv4) SetTransferNetwork(v string)

SetTransferNetwork sets field value

func (RegionalAreaIPv4) ToMap

func (o RegionalAreaIPv4) ToMap() (map[string]interface{}, error)

func (*RegionalAreaIPv4) UnmarshalJSON

func (o *RegionalAreaIPv4) UnmarshalJSON(data []byte) (err error)

type RegionalAreaListResponse

type RegionalAreaListResponse struct {
	Regions map[string]RegionalArea `json:"regions"`
}

RegionalAreaListResponse Regional area list response.

func NewRegionalAreaListResponse

func NewRegionalAreaListResponse(regions map[string]RegionalArea) *RegionalAreaListResponse

NewRegionalAreaListResponse instantiates a new RegionalAreaListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegionalAreaListResponseWithDefaults

func NewRegionalAreaListResponseWithDefaults() *RegionalAreaListResponse

NewRegionalAreaListResponseWithDefaults instantiates a new RegionalAreaListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegionalAreaListResponse) GetRegions

func (o *RegionalAreaListResponse) GetRegions() map[string]RegionalArea

GetRegions returns the Regions field value

func (*RegionalAreaListResponse) GetRegionsOk

func (o *RegionalAreaListResponse) GetRegionsOk() (*map[string]RegionalArea, bool)

GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.

func (RegionalAreaListResponse) MarshalJSON

func (o RegionalAreaListResponse) MarshalJSON() ([]byte, error)

func (*RegionalAreaListResponse) SetRegions

func (o *RegionalAreaListResponse) SetRegions(v map[string]RegionalArea)

SetRegions sets field value

func (RegionalAreaListResponse) ToMap

func (o RegionalAreaListResponse) ToMap() (map[string]interface{}, error)

func (*RegionalAreaListResponse) UnmarshalJSON

func (o *RegionalAreaListResponse) UnmarshalJSON(data []byte) (err error)

type Request

type Request struct {
	Details *string `json:"details,omitempty"`
	// Object that represents a resource action. Possible values: `CREATE`, `DELETE`, `UPDATE`.
	RequestAction string `json:"requestAction"`
	// Identifier (ID) representing a single API request.
	RequestId string `json:"requestId" validate:"regexp=^req-[0-9a-f]{32}$"`
	// Object that represents a resource type. Possible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`.
	RequestType string            `json:"requestType"`
	Resources   []RequestResource `json:"resources"`
	// The state of a resource object. Possible values: `CREATING`, `CREATED`, `DELETING`, `DELETED`, `FAILED`, `UPDATED`, `UPDATING`.
	Status string `json:"status"`
}

Request Object that represents a request.

func NewRequest

func NewRequest(requestAction string, requestId string, requestType string, resources []RequestResource, status string) *Request

NewRequest instantiates a new Request object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequestWithDefaults

func NewRequestWithDefaults() *Request

NewRequestWithDefaults instantiates a new Request object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Request) GetDetails

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"`
	Destination RouteDestination `json:"destination"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels  map[string]interface{} `json:"labels,omitempty"`
	Nexthop RouteNexthop           `json:"nexthop"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Route Object represents a network route.

func NewRoute

func NewRoute(destination RouteDestination, nexthop RouteNexthop) *Route

NewRoute instantiates a new Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRouteWithDefaults

func NewRouteWithDefaults() *Route

NewRouteWithDefaults instantiates a new Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Route) GetCreatedAt

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) GetDestination

func (o *Route) GetDestination() RouteDestination

GetDestination returns the Destination field value

func (*Route) GetDestinationOk

func (o *Route) GetDestinationOk() (*RouteDestination, bool)

GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.

func (*Route) GetId

func (o *Route) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Route) GetIdOk

func (o *Route) 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 (*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() RouteNexthop

GetNexthop returns the Nexthop field value

func (*Route) GetNexthopOk

func (o *Route) GetNexthopOk() (*RouteNexthop, bool)

GetNexthopOk returns a tuple with the Nexthop field value and a boolean to check if the value has been set.

func (*Route) GetUpdatedAt

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) HasId

func (o *Route) HasId() bool

HasId 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) 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) SetDestination

func (o *Route) SetDestination(v RouteDestination)

SetDestination sets field value

func (*Route) SetId

func (o *Route) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id 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 RouteNexthop)

SetNexthop sets field value

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 RouteDestination

type RouteDestination struct {
	DestinationCIDRv4 *DestinationCIDRv4
	DestinationCIDRv6 *DestinationCIDRv6
}

RouteDestination - struct for RouteDestination

func DestinationCIDRv4AsRouteDestination

func DestinationCIDRv4AsRouteDestination(v *DestinationCIDRv4) RouteDestination

DestinationCIDRv4AsRouteDestination is a convenience function that returns DestinationCIDRv4 wrapped in RouteDestination

func DestinationCIDRv6AsRouteDestination

func DestinationCIDRv6AsRouteDestination(v *DestinationCIDRv6) RouteDestination

DestinationCIDRv6AsRouteDestination is a convenience function that returns DestinationCIDRv6 wrapped in RouteDestination

func (*RouteDestination) GetActualInstance

func (obj *RouteDestination) GetActualInstance() interface{}

Get the actual instance

func (RouteDestination) GetActualInstanceValue

func (obj RouteDestination) GetActualInstanceValue() interface{}

Get the actual instance value

func (RouteDestination) MarshalJSON

func (src RouteDestination) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RouteDestination) UnmarshalJSON

func (dst *RouteDestination) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RouteListResponse

type RouteListResponse struct {
	// A list of routes.
	Items []Route `json:"items"`
}

RouteListResponse Route list response.

func NewRouteListResponse

func NewRouteListResponse(items []Route) *RouteListResponse

NewRouteListResponse instantiates a new RouteListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRouteListResponseWithDefaults

func NewRouteListResponseWithDefaults() *RouteListResponse

NewRouteListResponseWithDefaults instantiates a new RouteListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RouteListResponse) GetItems

func (o *RouteListResponse) GetItems() []Route

GetItems returns the Items field value

func (*RouteListResponse) GetItemsOk

func (o *RouteListResponse) GetItemsOk() ([]Route, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (RouteListResponse) MarshalJSON

func (o RouteListResponse) MarshalJSON() ([]byte, error)

func (*RouteListResponse) SetItems

func (o *RouteListResponse) SetItems(v []Route)

SetItems sets field value

func (RouteListResponse) ToMap

func (o RouteListResponse) ToMap() (map[string]interface{}, error)

func (*RouteListResponse) UnmarshalJSON

func (o *RouteListResponse) UnmarshalJSON(data []byte) (err error)

type RouteNexthop

type RouteNexthop struct {
	NexthopBlackhole *NexthopBlackhole
	NexthopIPv4      *NexthopIPv4
	NexthopIPv6      *NexthopIPv6
	NexthopInternet  *NexthopInternet
}

RouteNexthop - struct for RouteNexthop

func NexthopBlackholeAsRouteNexthop

func NexthopBlackholeAsRouteNexthop(v *NexthopBlackhole) RouteNexthop

NexthopBlackholeAsRouteNexthop is a convenience function that returns NexthopBlackhole wrapped in RouteNexthop

func NexthopIPv4AsRouteNexthop

func NexthopIPv4AsRouteNexthop(v *NexthopIPv4) RouteNexthop

NexthopIPv4AsRouteNexthop is a convenience function that returns NexthopIPv4 wrapped in RouteNexthop

func NexthopIPv6AsRouteNexthop

func NexthopIPv6AsRouteNexthop(v *NexthopIPv6) RouteNexthop

NexthopIPv6AsRouteNexthop is a convenience function that returns NexthopIPv6 wrapped in RouteNexthop

func NexthopInternetAsRouteNexthop

func NexthopInternetAsRouteNexthop(v *NexthopInternet) RouteNexthop

NexthopInternetAsRouteNexthop is a convenience function that returns NexthopInternet wrapped in RouteNexthop

func (*RouteNexthop) GetActualInstance

func (obj *RouteNexthop) GetActualInstance() interface{}

Get the actual instance

func (RouteNexthop) GetActualInstanceValue

func (obj RouteNexthop) GetActualInstanceValue() interface{}

Get the actual instance value

func (RouteNexthop) MarshalJSON

func (src RouteNexthop) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RouteNexthop) UnmarshalJSON

func (dst *RouteNexthop) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RoutingTable

type RoutingTable struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// This is the default routing table. It can't be deleted and is used if the user does not specify it otherwise.
	Default *bool `json:"default,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// A config setting for a routing table which allows propagation of dynamic routes to this routing table.
	DynamicRoutes *bool `json:"dynamicRoutes,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.
	SystemRoutes *bool `json:"systemRoutes,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

RoutingTable An object representing a routing table.

func NewRoutingTable

func NewRoutingTable(name string) *RoutingTable

NewRoutingTable instantiates a new RoutingTable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoutingTableWithDefaults

func NewRoutingTableWithDefaults() *RoutingTable

NewRoutingTableWithDefaults instantiates a new RoutingTable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoutingTable) GetCreatedAt

func (o *RoutingTable) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RoutingTable) GetCreatedAtOk

func (o *RoutingTable) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetDefault

func (o *RoutingTable) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*RoutingTable) GetDefaultOk

func (o *RoutingTable) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetDescription

func (o *RoutingTable) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RoutingTable) GetDescriptionOk

func (o *RoutingTable) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetDynamicRoutes

func (o *RoutingTable) GetDynamicRoutes() bool

GetDynamicRoutes returns the DynamicRoutes field value if set, zero value otherwise.

func (*RoutingTable) GetDynamicRoutesOk

func (o *RoutingTable) GetDynamicRoutesOk() (*bool, bool)

GetDynamicRoutesOk returns a tuple with the DynamicRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetId

func (o *RoutingTable) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RoutingTable) GetIdOk

func (o *RoutingTable) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetLabels

func (o *RoutingTable) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*RoutingTable) GetLabelsOk

func (o *RoutingTable) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetName

func (o *RoutingTable) GetName() string

GetName returns the Name field value

func (*RoutingTable) GetNameOk

func (o *RoutingTable) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RoutingTable) GetSystemRoutes

func (o *RoutingTable) GetSystemRoutes() bool

GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise.

func (*RoutingTable) GetSystemRoutesOk

func (o *RoutingTable) GetSystemRoutesOk() (*bool, bool)

GetSystemRoutesOk returns a tuple with the SystemRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) GetUpdatedAt

func (o *RoutingTable) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*RoutingTable) GetUpdatedAtOk

func (o *RoutingTable) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingTable) HasCreatedAt

func (o *RoutingTable) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RoutingTable) HasDefault

func (o *RoutingTable) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*RoutingTable) HasDescription

func (o *RoutingTable) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RoutingTable) HasDynamicRoutes

func (o *RoutingTable) HasDynamicRoutes() bool

HasDynamicRoutes returns a boolean if a field has been set.

func (*RoutingTable) HasId

func (o *RoutingTable) HasId() bool

HasId returns a boolean if a field has been set.

func (*RoutingTable) HasLabels

func (o *RoutingTable) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*RoutingTable) HasSystemRoutes

func (o *RoutingTable) HasSystemRoutes() bool

HasSystemRoutes returns a boolean if a field has been set.

func (*RoutingTable) HasUpdatedAt

func (o *RoutingTable) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (RoutingTable) MarshalJSON

func (o RoutingTable) MarshalJSON() ([]byte, error)

func (*RoutingTable) SetCreatedAt

func (o *RoutingTable) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoutingTable) SetDefault

func (o *RoutingTable) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*RoutingTable) SetDescription

func (o *RoutingTable) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RoutingTable) SetDynamicRoutes

func (o *RoutingTable) SetDynamicRoutes(v bool)

SetDynamicRoutes gets a reference to the given bool and assigns it to the DynamicRoutes field.

func (*RoutingTable) SetId

func (o *RoutingTable) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RoutingTable) SetLabels

func (o *RoutingTable) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*RoutingTable) SetName

func (o *RoutingTable) SetName(v string)

SetName sets field value

func (*RoutingTable) SetSystemRoutes

func (o *RoutingTable) SetSystemRoutes(v bool)

SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field.

func (*RoutingTable) SetUpdatedAt

func (o *RoutingTable) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (RoutingTable) ToMap

func (o RoutingTable) ToMap() (map[string]interface{}, error)

func (*RoutingTable) UnmarshalJSON

func (o *RoutingTable) UnmarshalJSON(data []byte) (err error)

type RoutingTableListResponse

type RoutingTableListResponse struct {
	// A list of routing tables.
	Items []RoutingTable `json:"items"`
}

RoutingTableListResponse Routing table response.

func NewRoutingTableListResponse

func NewRoutingTableListResponse(items []RoutingTable) *RoutingTableListResponse

NewRoutingTableListResponse instantiates a new RoutingTableListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoutingTableListResponseWithDefaults

func NewRoutingTableListResponseWithDefaults() *RoutingTableListResponse

NewRoutingTableListResponseWithDefaults instantiates a new RoutingTableListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoutingTableListResponse) GetItems

func (o *RoutingTableListResponse) GetItems() []RoutingTable

GetItems returns the Items field value

func (*RoutingTableListResponse) GetItemsOk

func (o *RoutingTableListResponse) GetItemsOk() ([]RoutingTable, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (RoutingTableListResponse) MarshalJSON

func (o RoutingTableListResponse) MarshalJSON() ([]byte, error)

func (*RoutingTableListResponse) SetItems

func (o *RoutingTableListResponse) SetItems(v []RoutingTable)

SetItems sets field value

func (RoutingTableListResponse) ToMap

func (o RoutingTableListResponse) ToMap() (map[string]interface{}, error)

func (*RoutingTableListResponse) UnmarshalJSON

func (o *RoutingTableListResponse) UnmarshalJSON(data []byte) (err error)

type SecurityGroup

type SecurityGroup struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name string `json:"name" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// A list containing security group rule objects.
	Rules []SecurityGroupRule `json:"rules,omitempty"`
	// Shows if a security group is stateful or stateless. You can only have one type of security groups per network interface/server.
	Stateful *bool `json:"stateful,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

SecurityGroup Object that represents a security group.

func NewSecurityGroup

func NewSecurityGroup(name string) *SecurityGroup

NewSecurityGroup instantiates a new SecurityGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityGroupWithDefaults

func NewSecurityGroupWithDefaults() *SecurityGroup

NewSecurityGroupWithDefaults instantiates a new SecurityGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityGroup) GetCreatedAt

func (o *SecurityGroup) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityGroup) GetCreatedAtOk

func (o *SecurityGroup) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetDescription

func (o *SecurityGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SecurityGroup) GetDescriptionOk

func (o *SecurityGroup) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetId

func (o *SecurityGroup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityGroup) GetIdOk

func (o *SecurityGroup) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetLabels

func (o *SecurityGroup) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SecurityGroup) GetLabelsOk

func (o *SecurityGroup) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetName

func (o *SecurityGroup) GetName() string

GetName returns the Name field value

func (*SecurityGroup) GetNameOk

func (o *SecurityGroup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityGroup) GetRules

func (o *SecurityGroup) GetRules() []SecurityGroupRule

GetRules returns the Rules field value if set, zero value otherwise.

func (*SecurityGroup) GetRulesOk

func (o *SecurityGroup) GetRulesOk() ([]SecurityGroupRule, bool)

GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetStateful

func (o *SecurityGroup) GetStateful() bool

GetStateful returns the Stateful field value if set, zero value otherwise.

func (*SecurityGroup) GetStatefulOk

func (o *SecurityGroup) GetStatefulOk() (*bool, bool)

GetStatefulOk returns a tuple with the Stateful field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetUpdatedAt

func (o *SecurityGroup) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SecurityGroup) GetUpdatedAtOk

func (o *SecurityGroup) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) HasCreatedAt

func (o *SecurityGroup) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityGroup) HasDescription

func (o *SecurityGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SecurityGroup) HasId

func (o *SecurityGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*SecurityGroup) HasLabels

func (o *SecurityGroup) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SecurityGroup) HasRules

func (o *SecurityGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (*SecurityGroup) HasStateful

func (o *SecurityGroup) HasStateful() bool

HasStateful returns a boolean if a field has been set.

func (*SecurityGroup) HasUpdatedAt

func (o *SecurityGroup) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SecurityGroup) MarshalJSON

func (o SecurityGroup) MarshalJSON() ([]byte, error)

func (*SecurityGroup) SetCreatedAt

func (o *SecurityGroup) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SecurityGroup) SetDescription

func (o *SecurityGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SecurityGroup) SetId

func (o *SecurityGroup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityGroup) SetLabels

func (o *SecurityGroup) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*SecurityGroup) 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 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 UpdateNetworkAreaRegionPayload

type UpdateNetworkAreaRegionPayload struct {
	Ipv4 *UpdateRegionalAreaIPv4 `json:"ipv4,omitempty"`
}

UpdateNetworkAreaRegionPayload Object that represents the request body for a regional network area update.

func NewUpdateNetworkAreaRegionPayload

func NewUpdateNetworkAreaRegionPayload() *UpdateNetworkAreaRegionPayload

NewUpdateNetworkAreaRegionPayload instantiates a new UpdateNetworkAreaRegionPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkAreaRegionPayloadWithDefaults

func NewUpdateNetworkAreaRegionPayloadWithDefaults() *UpdateNetworkAreaRegionPayload

NewUpdateNetworkAreaRegionPayloadWithDefaults instantiates a new UpdateNetworkAreaRegionPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkAreaRegionPayload) GetIpv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*UpdateNetworkAreaRegionPayload) 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 (*UpdateNetworkAreaRegionPayload) HasIpv4

func (o *UpdateNetworkAreaRegionPayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (UpdateNetworkAreaRegionPayload) MarshalJSON

func (o UpdateNetworkAreaRegionPayload) MarshalJSON() ([]byte, error)

func (*UpdateNetworkAreaRegionPayload) SetIpv4

SetIpv4 gets a reference to the given UpdateRegionalAreaIPv4 and assigns it to the Ipv4 field.

func (UpdateNetworkAreaRegionPayload) ToMap

func (o UpdateNetworkAreaRegionPayload) 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 IPv4 gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 165-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers []string `json:"nameservers,omitempty"`
}

UpdateNetworkIPv4Body The config object for a IPv4 network update.

func NewUpdateNetworkIPv4Body

func NewUpdateNetworkIPv4Body() *UpdateNetworkIPv4Body

NewUpdateNetworkIPv4Body instantiates a new UpdateNetworkIPv4Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkIPv4BodyWithDefaults

func NewUpdateNetworkIPv4BodyWithDefaults() *UpdateNetworkIPv4Body

NewUpdateNetworkIPv4BodyWithDefaults instantiates a new UpdateNetworkIPv4Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkIPv4Body) GetGateway

func (o *UpdateNetworkIPv4Body) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateNetworkIPv4Body) GetGatewayOk

func (o *UpdateNetworkIPv4Body) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateNetworkIPv4Body) GetNameservers

func (o *UpdateNetworkIPv4Body) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*UpdateNetworkIPv4Body) GetNameserversOk

func (o *UpdateNetworkIPv4Body) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkIPv4Body) HasGateway

func (o *UpdateNetworkIPv4Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*UpdateNetworkIPv4Body) HasNameservers

func (o *UpdateNetworkIPv4Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (UpdateNetworkIPv4Body) MarshalJSON

func (o UpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*UpdateNetworkIPv4Body) SetGateway

func (o *UpdateNetworkIPv4Body) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*UpdateNetworkIPv4Body) SetGatewayNil

func (o *UpdateNetworkIPv4Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*UpdateNetworkIPv4Body) SetNameservers

func (o *UpdateNetworkIPv4Body) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (UpdateNetworkIPv4Body) ToMap

func (o UpdateNetworkIPv4Body) ToMap() (map[string]interface{}, error)

func (*UpdateNetworkIPv4Body) UnsetGateway

func (o *UpdateNetworkIPv4Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type UpdateNetworkIPv6Body

type UpdateNetworkIPv6Body struct {
	// The IPv6 gateway of a network. If not specified the first IP of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.
	Gateway NullableString `` /* 1257-byte string literal not displayed */
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers []string `json:"nameservers,omitempty"`
}

UpdateNetworkIPv6Body The config object for a IPv6 network update.

func NewUpdateNetworkIPv6Body

func NewUpdateNetworkIPv6Body() *UpdateNetworkIPv6Body

NewUpdateNetworkIPv6Body instantiates a new UpdateNetworkIPv6Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkIPv6BodyWithDefaults

func NewUpdateNetworkIPv6BodyWithDefaults() *UpdateNetworkIPv6Body

NewUpdateNetworkIPv6BodyWithDefaults instantiates a new UpdateNetworkIPv6Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkIPv6Body) GetGateway

func (o *UpdateNetworkIPv6Body) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateNetworkIPv6Body) GetGatewayOk

func (o *UpdateNetworkIPv6Body) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateNetworkIPv6Body) GetNameservers

func (o *UpdateNetworkIPv6Body) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*UpdateNetworkIPv6Body) GetNameserversOk

func (o *UpdateNetworkIPv6Body) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkIPv6Body) HasGateway

func (o *UpdateNetworkIPv6Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*UpdateNetworkIPv6Body) HasNameservers

func (o *UpdateNetworkIPv6Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (UpdateNetworkIPv6Body) MarshalJSON

func (o UpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*UpdateNetworkIPv6Body) SetGateway

func (o *UpdateNetworkIPv6Body) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*UpdateNetworkIPv6Body) SetGatewayNil

func (o *UpdateNetworkIPv6Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*UpdateNetworkIPv6Body) SetNameservers

func (o *UpdateNetworkIPv6Body) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (UpdateNetworkIPv6Body) ToMap

func (o UpdateNetworkIPv6Body) ToMap() (map[string]interface{}, error)

func (*UpdateNetworkIPv6Body) UnsetGateway

func (o *UpdateNetworkIPv6Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type UpdateNicPayload

type UpdateNicPayload struct {
	// A list of IPs or CIDR notations.
	AllowedAddresses []AllowedAddressesInner `json:"allowedAddresses,omitempty"`
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// If this is set to false, then no security groups will apply to this network interface.
	NicSecurity *bool `json:"nicSecurity,omitempty"`
	// A list of UUIDs.
	SecurityGroups []string `json:"securityGroups,omitempty"`
}

UpdateNicPayload Object that represents a network interface update.

func NewUpdateNicPayload

func NewUpdateNicPayload() *UpdateNicPayload

NewUpdateNicPayload instantiates a new UpdateNicPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNicPayloadWithDefaults

func NewUpdateNicPayloadWithDefaults() *UpdateNicPayload

NewUpdateNicPayloadWithDefaults instantiates a new UpdateNicPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNicPayload) GetAllowedAddresses

func (o *UpdateNicPayload) GetAllowedAddresses() []AllowedAddressesInner

GetAllowedAddresses returns the AllowedAddresses field value if set, zero value otherwise.

func (*UpdateNicPayload) GetAllowedAddressesOk

func (o *UpdateNicPayload) GetAllowedAddressesOk() ([]AllowedAddressesInner, bool)

GetAllowedAddressesOk returns a tuple with the AllowedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetDescription

func (o *UpdateNicPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateNicPayload) GetDescriptionOk

func (o *UpdateNicPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetLabels

func (o *UpdateNicPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateNicPayload) GetLabelsOk

func (o *UpdateNicPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetName

func (o *UpdateNicPayload) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateNicPayload) GetNameOk

func (o *UpdateNicPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetNicSecurity

func (o *UpdateNicPayload) GetNicSecurity() bool

GetNicSecurity returns the NicSecurity field value if set, zero value otherwise.

func (*UpdateNicPayload) GetNicSecurityOk

func (o *UpdateNicPayload) GetNicSecurityOk() (*bool, bool)

GetNicSecurityOk returns a tuple with the NicSecurity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) GetSecurityGroups

func (o *UpdateNicPayload) GetSecurityGroups() []string

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*UpdateNicPayload) GetSecurityGroupsOk

func (o *UpdateNicPayload) GetSecurityGroupsOk() ([]string, bool)

GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNicPayload) HasAllowedAddresses

func (o *UpdateNicPayload) HasAllowedAddresses() bool

HasAllowedAddresses returns a boolean if a field has been set.

func (*UpdateNicPayload) HasDescription

func (o *UpdateNicPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateNicPayload) HasLabels

func (o *UpdateNicPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateNicPayload) HasName

func (o *UpdateNicPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateNicPayload) HasNicSecurity

func (o *UpdateNicPayload) HasNicSecurity() bool

HasNicSecurity returns a boolean if a field has been set.

func (*UpdateNicPayload) HasSecurityGroups

func (o *UpdateNicPayload) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (UpdateNicPayload) MarshalJSON

func (o UpdateNicPayload) MarshalJSON() ([]byte, error)

func (*UpdateNicPayload) SetAllowedAddresses

func (o *UpdateNicPayload) SetAllowedAddresses(v []AllowedAddressesInner)

SetAllowedAddresses gets a reference to the given []AllowedAddressesInner and assigns it to the AllowedAddresses field.

func (*UpdateNicPayload) SetDescription

func (o *UpdateNicPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateNicPayload) SetLabels

func (o *UpdateNicPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateNicPayload) SetName

func (o *UpdateNicPayload) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateNicPayload) SetNicSecurity

func (o *UpdateNicPayload) SetNicSecurity(v bool)

SetNicSecurity gets a reference to the given bool and assigns it to the NicSecurity field.

func (*UpdateNicPayload) SetSecurityGroups

func (o *UpdateNicPayload) SetSecurityGroups(v []string)

SetSecurityGroups gets a reference to the given []string and assigns it to the SecurityGroups field.

func (UpdateNicPayload) ToMap

func (o UpdateNicPayload) ToMap() (map[string]interface{}, error)

type UpdatePublicIPPayload

type UpdatePublicIPPayload struct {
	// Universally Unique Identifier (UUID).
	Id *string `json:"id,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
	// String that represents an IPv4 address.
	Ip *string `` /* 160-byte string literal not displayed */
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Associate the public IP with a network interface (ID).
	NetworkInterface NullableString `json:"networkInterface,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"`
}

UpdatePublicIPPayload Object that represents a public IP.

func NewUpdatePublicIPPayload

func NewUpdatePublicIPPayload() *UpdatePublicIPPayload

NewUpdatePublicIPPayload instantiates a new UpdatePublicIPPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdatePublicIPPayloadWithDefaults

func NewUpdatePublicIPPayloadWithDefaults() *UpdatePublicIPPayload

NewUpdatePublicIPPayloadWithDefaults instantiates a new UpdatePublicIPPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdatePublicIPPayload) GetId

func (o *UpdatePublicIPPayload) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UpdatePublicIPPayload) GetIdOk

func (o *UpdatePublicIPPayload) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatePublicIPPayload) GetIp

func (o *UpdatePublicIPPayload) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*UpdatePublicIPPayload) GetIpOk

func (o *UpdatePublicIPPayload) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatePublicIPPayload) GetLabels

func (o *UpdatePublicIPPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdatePublicIPPayload) GetLabelsOk

func (o *UpdatePublicIPPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdatePublicIPPayload) GetNetworkInterface

func (o *UpdatePublicIPPayload) GetNetworkInterface() string

GetNetworkInterface returns the NetworkInterface field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdatePublicIPPayload) GetNetworkInterfaceOk

func (o *UpdatePublicIPPayload) GetNetworkInterfaceOk() (*string, bool)

GetNetworkInterfaceOk returns a tuple with the NetworkInterface field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdatePublicIPPayload) HasId

func (o *UpdatePublicIPPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdatePublicIPPayload) HasIp

func (o *UpdatePublicIPPayload) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*UpdatePublicIPPayload) HasLabels

func (o *UpdatePublicIPPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdatePublicIPPayload) HasNetworkInterface

func (o *UpdatePublicIPPayload) HasNetworkInterface() bool

HasNetworkInterface returns a boolean if a field has been set.

func (UpdatePublicIPPayload) MarshalJSON

func (o UpdatePublicIPPayload) MarshalJSON() ([]byte, error)

func (*UpdatePublicIPPayload) SetId

func (o *UpdatePublicIPPayload) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdatePublicIPPayload) SetIp

func (o *UpdatePublicIPPayload) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*UpdatePublicIPPayload) SetLabels

func (o *UpdatePublicIPPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdatePublicIPPayload) SetNetworkInterface

func (o *UpdatePublicIPPayload) SetNetworkInterface(v string)

SetNetworkInterface gets a reference to the given NullableString and assigns it to the NetworkInterface field.

func (*UpdatePublicIPPayload) SetNetworkInterfaceNil

func (o *UpdatePublicIPPayload) SetNetworkInterfaceNil()

SetNetworkInterfaceNil sets the value for NetworkInterface to be an explicit nil

func (UpdatePublicIPPayload) ToMap

func (o UpdatePublicIPPayload) ToMap() (map[string]interface{}, error)

func (*UpdatePublicIPPayload) UnsetNetworkInterface

func (o *UpdatePublicIPPayload) UnsetNetworkInterface()

UnsetNetworkInterface ensures that no value is present for NetworkInterface, not even an explicit nil

type UpdateRegionalAreaIPv4

type UpdateRegionalAreaIPv4 struct {
	DefaultNameservers []string `json:"defaultNameservers,omitempty"`
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int64 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int64 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int64 `json:"minPrefixLen,omitempty"`
}

UpdateRegionalAreaIPv4 Object that represents the request body for a regional network area IPv4 configuration update.

func NewUpdateRegionalAreaIPv4

func NewUpdateRegionalAreaIPv4() *UpdateRegionalAreaIPv4

NewUpdateRegionalAreaIPv4 instantiates a new UpdateRegionalAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateRegionalAreaIPv4WithDefaults

func NewUpdateRegionalAreaIPv4WithDefaults() *UpdateRegionalAreaIPv4

NewUpdateRegionalAreaIPv4WithDefaults instantiates a new UpdateRegionalAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateRegionalAreaIPv4) GetDefaultNameservers

func (o *UpdateRegionalAreaIPv4) GetDefaultNameservers() []string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*UpdateRegionalAreaIPv4) GetDefaultNameserversOk

func (o *UpdateRegionalAreaIPv4) GetDefaultNameserversOk() ([]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegionalAreaIPv4) GetDefaultPrefixLen

func (o *UpdateRegionalAreaIPv4) GetDefaultPrefixLen() int64

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*UpdateRegionalAreaIPv4) GetDefaultPrefixLenOk

func (o *UpdateRegionalAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegionalAreaIPv4) GetMaxPrefixLen

func (o *UpdateRegionalAreaIPv4) GetMaxPrefixLen() int64

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*UpdateRegionalAreaIPv4) GetMaxPrefixLenOk

func (o *UpdateRegionalAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegionalAreaIPv4) GetMinPrefixLen

func (o *UpdateRegionalAreaIPv4) GetMinPrefixLen() int64

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*UpdateRegionalAreaIPv4) GetMinPrefixLenOk

func (o *UpdateRegionalAreaIPv4) GetMinPrefixLenOk() (*int64, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegionalAreaIPv4) HasDefaultNameservers

func (o *UpdateRegionalAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*UpdateRegionalAreaIPv4) HasDefaultPrefixLen

func (o *UpdateRegionalAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*UpdateRegionalAreaIPv4) HasMaxPrefixLen

func (o *UpdateRegionalAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*UpdateRegionalAreaIPv4) HasMinPrefixLen

func (o *UpdateRegionalAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (UpdateRegionalAreaIPv4) MarshalJSON

func (o UpdateRegionalAreaIPv4) MarshalJSON() ([]byte, error)

func (*UpdateRegionalAreaIPv4) SetDefaultNameservers

func (o *UpdateRegionalAreaIPv4) SetDefaultNameservers(v []string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*UpdateRegionalAreaIPv4) SetDefaultPrefixLen

func (o *UpdateRegionalAreaIPv4) SetDefaultPrefixLen(v int64)

SetDefaultPrefixLen gets a reference to the given int64 and assigns it to the DefaultPrefixLen field.

func (*UpdateRegionalAreaIPv4) SetMaxPrefixLen

func (o *UpdateRegionalAreaIPv4) SetMaxPrefixLen(v int64)

SetMaxPrefixLen gets a reference to the given int64 and assigns it to the MaxPrefixLen field.

func (*UpdateRegionalAreaIPv4) SetMinPrefixLen

func (o *UpdateRegionalAreaIPv4) SetMinPrefixLen(v int64)

SetMinPrefixLen gets a reference to the given int64 and assigns it to the MinPrefixLen field.

func (UpdateRegionalAreaIPv4) ToMap

func (o UpdateRegionalAreaIPv4) ToMap() (map[string]interface{}, error)

type UpdateRouteOfRoutingTablePayload

type UpdateRouteOfRoutingTablePayload struct {
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
}

UpdateRouteOfRoutingTablePayload Object that represents the request body for a route update.

func NewUpdateRouteOfRoutingTablePayload

func NewUpdateRouteOfRoutingTablePayload() *UpdateRouteOfRoutingTablePayload

NewUpdateRouteOfRoutingTablePayload instantiates a new UpdateRouteOfRoutingTablePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateRouteOfRoutingTablePayloadWithDefaults

func NewUpdateRouteOfRoutingTablePayloadWithDefaults() *UpdateRouteOfRoutingTablePayload

NewUpdateRouteOfRoutingTablePayloadWithDefaults instantiates a new UpdateRouteOfRoutingTablePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateRouteOfRoutingTablePayload) GetLabels

func (o *UpdateRouteOfRoutingTablePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateRouteOfRoutingTablePayload) GetLabelsOk

func (o *UpdateRouteOfRoutingTablePayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRouteOfRoutingTablePayload) HasLabels

func (o *UpdateRouteOfRoutingTablePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (UpdateRouteOfRoutingTablePayload) MarshalJSON

func (o UpdateRouteOfRoutingTablePayload) MarshalJSON() ([]byte, error)

func (*UpdateRouteOfRoutingTablePayload) SetLabels

func (o *UpdateRouteOfRoutingTablePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (UpdateRouteOfRoutingTablePayload) ToMap

func (o UpdateRouteOfRoutingTablePayload) ToMap() (map[string]interface{}, error)

type UpdateRoutingTableOfAreaPayload

type UpdateRoutingTableOfAreaPayload struct {
	// Description Object. Allows string up to 255 Characters.
	Description *string `json:"description,omitempty"`
	// The update config setting for a routing table which allows propagation of dynamic routes to this routing table.
	DynamicRoutes *bool `json:"dynamicRoutes,omitempty"`
	// Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
	Labels map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty" validate:"regexp=^[A-Za-z0-9]+([ \\/._-]*[A-Za-z0-9]+)*$"`
	// The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.
	SystemRoutes *bool `json:"systemRoutes,omitempty"`
}

UpdateRoutingTableOfAreaPayload Object that represents the request body for a routing table update.

func NewUpdateRoutingTableOfAreaPayload

func NewUpdateRoutingTableOfAreaPayload() *UpdateRoutingTableOfAreaPayload

NewUpdateRoutingTableOfAreaPayload instantiates a new UpdateRoutingTableOfAreaPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateRoutingTableOfAreaPayloadWithDefaults

func NewUpdateRoutingTableOfAreaPayloadWithDefaults() *UpdateRoutingTableOfAreaPayload

NewUpdateRoutingTableOfAreaPayloadWithDefaults instantiates a new UpdateRoutingTableOfAreaPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateRoutingTableOfAreaPayload) GetDescription

func (o *UpdateRoutingTableOfAreaPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateRoutingTableOfAreaPayload) GetDescriptionOk

func (o *UpdateRoutingTableOfAreaPayload) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRoutingTableOfAreaPayload) GetDynamicRoutes

func (o *UpdateRoutingTableOfAreaPayload) GetDynamicRoutes() bool

GetDynamicRoutes returns the DynamicRoutes field value if set, zero value otherwise.

func (*UpdateRoutingTableOfAreaPayload) GetDynamicRoutesOk

func (o *UpdateRoutingTableOfAreaPayload) GetDynamicRoutesOk() (*bool, bool)

GetDynamicRoutesOk returns a tuple with the DynamicRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRoutingTableOfAreaPayload) GetLabels

func (o *UpdateRoutingTableOfAreaPayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateRoutingTableOfAreaPayload) GetLabelsOk

func (o *UpdateRoutingTableOfAreaPayload) GetLabelsOk() (map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRoutingTableOfAreaPayload) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateRoutingTableOfAreaPayload) GetNameOk

func (o *UpdateRoutingTableOfAreaPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRoutingTableOfAreaPayload) GetSystemRoutes

func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutes() bool

GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise.

func (*UpdateRoutingTableOfAreaPayload) GetSystemRoutesOk

func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutesOk() (*bool, bool)

GetSystemRoutesOk returns a tuple with the SystemRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRoutingTableOfAreaPayload) HasDescription

func (o *UpdateRoutingTableOfAreaPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateRoutingTableOfAreaPayload) HasDynamicRoutes

func (o *UpdateRoutingTableOfAreaPayload) HasDynamicRoutes() bool

HasDynamicRoutes returns a boolean if a field has been set.

func (*UpdateRoutingTableOfAreaPayload) HasLabels

func (o *UpdateRoutingTableOfAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateRoutingTableOfAreaPayload) HasName

HasName returns a boolean if a field has been set.

func (*UpdateRoutingTableOfAreaPayload) HasSystemRoutes

func (o *UpdateRoutingTableOfAreaPayload) HasSystemRoutes() bool

HasSystemRoutes returns a boolean if a field has been set.

func (UpdateRoutingTableOfAreaPayload) MarshalJSON

func (o UpdateRoutingTableOfAreaPayload) MarshalJSON() ([]byte, error)

func (*UpdateRoutingTableOfAreaPayload) SetDescription

func (o *UpdateRoutingTableOfAreaPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateRoutingTableOfAreaPayload) SetDynamicRoutes

func (o *UpdateRoutingTableOfAreaPayload) SetDynamicRoutes(v bool)

SetDynamicRoutes gets a reference to the given bool and assigns it to the DynamicRoutes field.

func (*UpdateRoutingTableOfAreaPayload) SetLabels

func (o *UpdateRoutingTableOfAreaPayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*UpdateRoutingTableOfAreaPayload) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateRoutingTableOfAreaPayload) SetSystemRoutes

func (o *UpdateRoutingTableOfAreaPayload) SetSystemRoutes(v bool)

SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field.

func (UpdateRoutingTableOfAreaPayload) ToMap

func (o UpdateRoutingTableOfAreaPayload) ToMap() (map[string]interface{}, error)

type 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL