v2alpha1api

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

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 v2alpha1 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 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 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 ApiDeleteNetworkRequest

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

func (ApiDeleteNetworkRequest) Execute

func (r ApiDeleteNetworkRequest) 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 ApiGetNetworkRequest

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

func (ApiGetNetworkRequest) Execute

func (r ApiGetNetworkRequest) Execute() (*Network, 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 ApiListNetworksOfRoutingTableRequest

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

func (ApiListNetworksOfRoutingTableRequest) Execute

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

type DefaultAPI interface {

	/*
		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)

	/*
		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)

	/*
		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

	/*
		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

	/*
		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)

	/*
		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)

	/*
		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)

	/*
		ListNetworksOfRoutingTable List all networks in a routing table.

		Get a list of all networks 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 ApiListNetworksOfRoutingTableRequest
	*/
	ListNetworksOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListNetworksOfRoutingTableRequest

	// ListNetworksOfRoutingTableExecute executes the request
	//  @return NetworkListResponse
	ListNetworksOfRoutingTableExecute(r ApiListNetworksOfRoutingTableRequest) (*NetworkListResponse, 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)

	/*
		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

	/*
		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)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

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

func (a *DefaultAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*Network, error)

Execute executes the request

@return Network

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

func (a *DefaultAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) 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) 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) GetNetworkExecute

func (a *DefaultAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, error)

Execute executes the request

@return Network

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

func (a *DefaultAPIService) ListNetworksOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListNetworksOfRoutingTableRequest

ListNetworksOfRoutingTable List all networks in a routing table.

Get a list of all networks 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 ApiListNetworksOfRoutingTableRequest

func (*DefaultAPIService) ListNetworksOfRoutingTableExecute

func (a *DefaultAPIService) ListNetworksOfRoutingTableExecute(r ApiListNetworksOfRoutingTableRequest) (*NetworkListResponse, error)

Execute executes the request

@return NetworkListResponse

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

func (a *DefaultAPIService) PartialUpdateNetworkExecute(r ApiPartialUpdateNetworkRequest) error

Execute executes the request

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

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// 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)
	// CreateNetworkExecuteMock can be populated to implement the behavior of the CreateNetworkExecute function of this mock
	CreateNetworkExecuteMock *func(r ApiCreateNetworkRequest) (*Network, error)
	// DeleteNetworkExecuteMock can be populated to implement the behavior of the DeleteNetworkExecute function of this mock
	DeleteNetworkExecuteMock *func(r ApiDeleteNetworkRequest) 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
	// GetNetworkExecuteMock can be populated to implement the behavior of the GetNetworkExecute function of this mock
	GetNetworkExecuteMock *func(r ApiGetNetworkRequest) (*Network, 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)
	// ListNetworksExecuteMock can be populated to implement the behavior of the ListNetworksExecute function of this mock
	ListNetworksExecuteMock *func(r ApiListNetworksRequest) (*NetworkListResponse, error)
	// ListNetworksOfRoutingTableExecuteMock can be populated to implement the behavior of the ListNetworksOfRoutingTableExecute function of this mock
	ListNetworksOfRoutingTableExecuteMock *func(r ApiListNetworksOfRoutingTableRequest) (*NetworkListResponse, 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)
	// PartialUpdateNetworkExecuteMock can be populated to implement the behavior of the PartialUpdateNetworkExecute function of this mock
	PartialUpdateNetworkExecuteMock *func(r ApiPartialUpdateNetworkRequest) 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)
}

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

func (a DefaultAPIServiceMock) CreateNetwork(ctx context.Context, projectId string, region string) ApiCreateNetworkRequest

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

func (a DefaultAPIServiceMock) DeleteNetwork(ctx context.Context, projectId string, region string, networkId string) ApiDeleteNetworkRequest

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

func (a DefaultAPIServiceMock) GetNetwork(ctx context.Context, projectId string, region string, networkId string) ApiGetNetworkRequest

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

func (a DefaultAPIServiceMock) ListNetworksOfRoutingTable(ctx context.Context, organizationId string, areaId string, region string, routingTableId string) ApiListNetworksOfRoutingTableRequest

func (DefaultAPIServiceMock) ListNetworksOfRoutingTableExecute

func (a DefaultAPIServiceMock) ListNetworksOfRoutingTableExecute(r ApiListNetworksOfRoutingTableRequest) (*NetworkListResponse, error)

ListNetworksOfRoutingTableExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListNetworksOfRoutingTableExecuteMock 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) PartialUpdateNetwork

func (a DefaultAPIServiceMock) PartialUpdateNetwork(ctx context.Context, projectId string, region string, networkId string) ApiPartialUpdateNetworkRequest

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

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 MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL