ionoscloud

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 27 Imported by: 5

README

Go API client for ionoscloud

The VM Auto Scaling Service enables IONOS clients to horizontally scale the number of VM replicas based on configured rules. You can use VM Auto Scaling to ensure that you have a sufficient number of replicas to handle your application loads at all times.

For this purpose, create a VM Auto Scaling Group that contains the server replicas. The VM Auto Scaling Service ensures that the number of replicas in the group is always within the defined limits.

When scaling policies are set, VM Auto Scaling creates or deletes replicas according to the requirements of your applications. For each policy, specified 'scale-in' and 'scale-out' actions are performed when the corresponding thresholds are reached.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1-SDK.1
  • Package version: 1.0.1
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://docs.ionos.com/faq/contact

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import ionoscloud "github.com/ionos-cloud/sdk-go-vm-autoscaling"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

Documentation for API Endpoints

All URIs are relative to https://api.ionos.com/autoscaling

Class Method HTTP request Description
AutoScalingGroupsApi GroupsActionsFindById Get /groups/{groupId}/actions/{actionId} Get Scaling Action Details by ID
AutoScalingGroupsApi GroupsActionsGet Get /groups/{groupId}/actions Get Scaling Actions
AutoScalingGroupsApi GroupsDelete Delete /groups/{groupId} Delete a VM Auto Scaling Group by ID
AutoScalingGroupsApi GroupsFindById Get /groups/{groupId} Get an Auto Scaling by ID
AutoScalingGroupsApi GroupsGet Get /groups Get VM Auto Scaling Groups
AutoScalingGroupsApi GroupsPost Post /groups Create a VM Auto Scaling Group
AutoScalingGroupsApi GroupsPut Put /groups/{groupId} Update a VM Auto Scaling Group by ID
AutoScalingGroupsApi GroupsServersFindById Get /groups/{groupId}/servers/{serverId} Get VM Auto Scaling Group Server by ID
AutoScalingGroupsApi GroupsServersGet Get /groups/{groupId}/servers Get VM Auto Scaling Group Servers

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

support@cloud.ionos.com

Documentation

Index

Constants

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "1.0.1"
)
View Source
const (
	IonosUsernameEnvVar   = "IONOS_USERNAME"
	IonosPasswordEnvVar   = "IONOS_PASSWORD"
	IonosTokenEnvVar      = "IONOS_TOKEN"
	IonosApiUrlEnvVar     = "IONOS_API_URL"
	IonosPinnedCertEnvVar = "IONOS_PINNED_CERT"
	IonosLogLevelEnvVar   = "IONOS_LOG_LEVEL"
	DefaultIonosServerUrl = "https://api.ionos.com/autoscaling"
	DefaultIonosBasePath  = "/autoscaling"
)

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

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 PtrBool

func PtrBool(v bool) *bool

PtrBool - returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 - returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 - returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt - returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 - returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 - returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString - returns a pointer to given string value.

func PtrTime

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

PtrTime - returns a pointer to given Time value.

func SliceToValueDefault

func SliceToValueDefault[T any](ptrSlice *[]T) []T

func ToBool

func ToBool(ptr *bool) bool

ToBool - returns the value of the bool pointer passed in

func ToBoolDefault

func ToBoolDefault(ptr *bool) bool

ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil

func ToBoolSlice

func ToBoolSlice(ptrSlice *[]bool) []bool

ToBoolSlice - returns a bool slice of the pointer passed in

func ToByte

func ToByte(ptr *byte) byte

ToByte - returns the value of the byte pointer passed in

func ToByteDefault

func ToByteDefault(ptr *byte) byte

ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil

func ToByteSlice

func ToByteSlice(ptrSlice *[]byte) []byte

ToByteSlice - returns a byte slice of the pointer passed in

func ToFloat32

func ToFloat32(ptr *float32) float32

ToFloat32 - returns the value of the float32 pointer passed in

func ToFloat32Default

func ToFloat32Default(ptr *float32) float32

ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil

func ToFloat32Slice

func ToFloat32Slice(ptrSlice *[]float32) []float32

ToFloat32Slice - returns a float32 slice of the pointer passed in

func ToFloat64

func ToFloat64(ptr *float64) float64

ToFloat64 - returns the value of the float64 pointer passed in

func ToFloat64Default

func ToFloat64Default(ptr *float64) float64

ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil

func ToFloat64Slice

func ToFloat64Slice(ptrSlice *[]float64) []float64

ToFloat64Slice - returns a float64 slice of the pointer passed in

func ToInt

func ToInt(ptr *int) int

ToInt - returns the value of the int pointer passed in

func ToInt16

func ToInt16(ptr *int16) int16

ToInt16 - returns the value of the int16 pointer passed in

func ToInt16Default

func ToInt16Default(ptr *int16) int16

ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil

func ToInt16Slice

func ToInt16Slice(ptrSlice *[]int16) []int16

ToInt16Slice - returns a int16 slice of the pointer passed in

func ToInt32

func ToInt32(ptr *int32) int32

ToInt32 - returns the value of the int32 pointer passed in

func ToInt32Default

func ToInt32Default(ptr *int32) int32

ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil

func ToInt32Slice

func ToInt32Slice(ptrSlice *[]int32) []int32

ToInt32Slice - returns a int32 slice of the pointer passed in

func ToInt64

func ToInt64(ptr *int64) int64

ToInt64 - returns the value of the int64 pointer passed in

func ToInt64Default

func ToInt64Default(ptr *int64) int64

ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil

func ToInt64Slice

func ToInt64Slice(ptrSlice *[]int64) []int64

ToInt64Slice - returns a int64 slice of the pointer passed in

func ToInt8

func ToInt8(ptr *int8) int8

ToInt8 - returns the value of the int8 pointer passed in

func ToInt8Default

func ToInt8Default(ptr *int8) int8

ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil

func ToInt8Slice

func ToInt8Slice(ptrSlice *[]int8) []int8

ToInt8Slice - returns a int8 slice of the pointer passed in

func ToIntDefault

func ToIntDefault(ptr *int) int

ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil

func ToIntSlice

func ToIntSlice(ptrSlice *[]int) []int

ToIntSlice - returns a int slice of the pointer passed in

func ToPtr

func ToPtr[T any](v T) *T

ToPtr - returns a pointer to the given value.

func ToString

func ToString(ptr *string) string

ToString - returns the value of the string pointer passed in

func ToStringDefault

func ToStringDefault(ptr *string) string

ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil

func ToStringSlice

func ToStringSlice(ptrSlice *[]string) []string

ToStringSlice - returns a string slice of the pointer passed in

func ToTime

func ToTime(ptr *time.Time) time.Time

ToTime - returns the value of the Time pointer passed in

func ToTimeDefault

func ToTimeDefault(ptr *time.Time) time.Time

ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil

func ToTimeSlice

func ToTimeSlice(ptrSlice *[]time.Time) []time.Time

ToTimeSlice - returns a Time slice of the pointer passed in

func ToUint

func ToUint(ptr *uint) uint

ToUint - returns the value of the uint pointer passed in

func ToUint16

func ToUint16(ptr *uint16) uint16

ToUint16 - returns the value of the uint16 pointer passed in

func ToUint16Default

func ToUint16Default(ptr *uint16) uint16

ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil

func ToUint16Slice

func ToUint16Slice(ptrSlice *[]uint16) []uint16

ToUint16Slice - returns a uint16 slice of the pointer passed in

func ToUint32

func ToUint32(ptr *uint32) uint32

ToUint32 - returns the value of the uint32 pointer passed in

func ToUint32Default

func ToUint32Default(ptr *uint32) uint32

ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil

func ToUint32Slice

func ToUint32Slice(ptrSlice *[]uint32) []uint32

ToUint32Slice - returns a uint32 slice of the pointer passed in

func ToUint64

func ToUint64(ptr *uint64) uint64

ToUint64 - returns the value of the uint64 pointer passed in

func ToUint64Default

func ToUint64Default(ptr *uint64) uint64

ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil

func ToUint64Slice

func ToUint64Slice(ptrSlice *[]uint64) []uint64

ToUint64Slice - returns a uint63 slice of the pointer passed in

func ToUint8

func ToUint8(ptr *uint8) uint8

ToUint8 -returns the value of the uint8 pointer passed in

func ToUint8Default

func ToUint8Default(ptr *uint8) uint8

ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil

func ToUint8Slice

func ToUint8Slice(ptrSlice *[]uint8) []uint8

ToUint8Slice - returns a uint8 slice of the pointer passed in

func ToUintDefault

func ToUintDefault(ptr *uint) uint

ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil

func ToUintSlice

func ToUintSlice(ptrSlice *[]uint) []uint

ToUintSlice - returns a uint slice of the pointer passed in

func ToValue

func ToValue[T any](ptr *T) T

ToValue - returns the value of the pointer passed in

func ToValueDefault

func ToValueDefault[T any](ptr *T) T

ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil

Types

type APIClient

type APIClient struct {
	AutoScalingGroupsApi *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the VM Auto Scaling API API v1-SDK.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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() *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 APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

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"`
	// RequestTime is the time duration from the moment the APIClient sends
	// the HTTP request to the moment it receives an HTTP response.
	RequestTime time.Duration `json:"duration,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.

func (*APIResponse) HttpNotFound

func (resp *APIResponse) HttpNotFound() bool

HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values

func (*APIResponse) LogInfo

func (resp *APIResponse) LogInfo()

LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values

type Action

type Action struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href       *string           `json:"href,omitempty"`
	Metadata   *MetadataBasic    `json:"metadata,omitempty"`
	Properties *ActionProperties `json:"properties,omitempty"`
}

Action The scaling action associated with a VM Auto Scaling Group.

func NewAction

func NewAction(id string) *Action

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

func NewActionWithDefaults

func NewActionWithDefaults() *Action

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

func (*Action) GetHref

func (o *Action) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*Action) GetHrefOk

func (o *Action) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*Action) GetId

func (o *Action) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*Action) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*Action) GetMetadata

func (o *Action) GetMetadata() *MetadataBasic

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataBasic will be returned

func (*Action) GetMetadataOk

func (o *Action) GetMetadataOk() (*MetadataBasic, bool)

GetMetadataOk returns a tuple with the Metadata field value 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 (*Action) GetProperties

func (o *Action) GetProperties() *ActionProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for ActionProperties will be returned

func (*Action) GetPropertiesOk

func (o *Action) GetPropertiesOk() (*ActionProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value 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 (*Action) GetType

func (o *Action) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Action) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*Action) HasHref

func (o *Action) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Action) HasId

func (o *Action) HasId() bool

HasId returns a boolean if a field has been set.

func (*Action) HasMetadata

func (o *Action) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Action) HasProperties

func (o *Action) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Action) HasType

func (o *Action) HasType() bool

HasType returns a boolean if a field has been set.

func (Action) MarshalJSON

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

func (*Action) SetHref

func (o *Action) SetHref(v string)

SetHref sets field value

func (*Action) SetId

func (o *Action) SetId(v string)

SetId sets field value

func (*Action) SetMetadata

func (o *Action) SetMetadata(v MetadataBasic)

SetMetadata sets field value

func (*Action) SetProperties

func (o *Action) SetProperties(v ActionProperties)

SetProperties sets field value

func (*Action) SetType

func (o *Action) SetType(v string)

SetType sets field value

type ActionAmount

type ActionAmount string

ActionAmount 'amountType=ABSOLUTE' specifies the absolute number of VMs that are added or removed. The value must be between 1 to 10. 'amountType=PERCENTAGE' specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200.

const (
	ACTIONAMOUNT_ABSOLUTE   ActionAmount = "ABSOLUTE"
	ACTIONAMOUNT_PERCENTAGE ActionAmount = "PERCENTAGE"
)

List of ActionAmount

func (ActionAmount) Ptr

func (v ActionAmount) Ptr() *ActionAmount

Ptr returns reference to ActionAmount value

func (*ActionAmount) UnmarshalJSON

func (v *ActionAmount) UnmarshalJSON(src []byte) error

type ActionCollection

type ActionCollection struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href  *string   `json:"href,omitempty"`
	Items *[]Action `json:"items,omitempty"`
}

ActionCollection struct for ActionCollection

func NewActionCollection

func NewActionCollection(id string) *ActionCollection

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

func NewActionCollectionWithDefaults

func NewActionCollectionWithDefaults() *ActionCollection

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

func (*ActionCollection) GetHref

func (o *ActionCollection) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ActionCollection) GetHrefOk

func (o *ActionCollection) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*ActionCollection) GetId

func (o *ActionCollection) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ActionCollection) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*ActionCollection) GetItems

func (o *ActionCollection) GetItems() *[]Action

GetItems returns the Items field value If the value is explicit nil, the zero value for []Action will be returned

func (*ActionCollection) GetItemsOk

func (o *ActionCollection) GetItemsOk() (*[]Action, bool)

GetItemsOk returns a tuple with the Items field value 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 (*ActionCollection) GetType

func (o *ActionCollection) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ActionCollection) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*ActionCollection) HasHref

func (o *ActionCollection) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ActionCollection) HasId

func (o *ActionCollection) HasId() bool

HasId returns a boolean if a field has been set.

func (*ActionCollection) HasItems

func (o *ActionCollection) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ActionCollection) HasType

func (o *ActionCollection) HasType() bool

HasType returns a boolean if a field has been set.

func (ActionCollection) MarshalJSON

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

func (*ActionCollection) SetHref

func (o *ActionCollection) SetHref(v string)

SetHref sets field value

func (*ActionCollection) SetId

func (o *ActionCollection) SetId(v string)

SetId sets field value

func (*ActionCollection) SetItems

func (o *ActionCollection) SetItems(v []Action)

SetItems sets field value

func (*ActionCollection) SetType

func (o *ActionCollection) SetType(v string)

SetType sets field value

type ActionProperties

type ActionProperties struct {
	ActionStatus *ActionStatus `json:"actionStatus"`
	ActionType   *ActionType   `json:"actionType"`
}

ActionProperties The properties of the resource; the content depends on the resource type.

func NewActionProperties

func NewActionProperties(actionStatus ActionStatus, actionType ActionType) *ActionProperties

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

func NewActionPropertiesWithDefaults

func NewActionPropertiesWithDefaults() *ActionProperties

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

func (*ActionProperties) GetActionStatus

func (o *ActionProperties) GetActionStatus() *ActionStatus

GetActionStatus returns the ActionStatus field value If the value is explicit nil, the zero value for ActionStatus will be returned

func (*ActionProperties) GetActionStatusOk

func (o *ActionProperties) GetActionStatusOk() (*ActionStatus, bool)

GetActionStatusOk returns a tuple with the ActionStatus field value 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 (*ActionProperties) GetActionType

func (o *ActionProperties) GetActionType() *ActionType

GetActionType returns the ActionType field value If the value is explicit nil, the zero value for ActionType will be returned

func (*ActionProperties) GetActionTypeOk

func (o *ActionProperties) GetActionTypeOk() (*ActionType, bool)

GetActionTypeOk returns a tuple with the ActionType field value 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 (*ActionProperties) HasActionStatus

func (o *ActionProperties) HasActionStatus() bool

HasActionStatus returns a boolean if a field has been set.

func (*ActionProperties) HasActionType

func (o *ActionProperties) HasActionType() bool

HasActionType returns a boolean if a field has been set.

func (ActionProperties) MarshalJSON

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

func (*ActionProperties) SetActionStatus

func (o *ActionProperties) SetActionStatus(v ActionStatus)

SetActionStatus sets field value

func (*ActionProperties) SetActionType

func (o *ActionProperties) SetActionType(v ActionType)

SetActionType sets field value

type ActionResource

type ActionResource struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

ActionResource struct for ActionResource

func NewActionResource

func NewActionResource(id string) *ActionResource

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

func NewActionResourceWithDefaults

func NewActionResourceWithDefaults() *ActionResource

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

func (*ActionResource) GetHref

func (o *ActionResource) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ActionResource) GetHrefOk

func (o *ActionResource) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*ActionResource) GetId

func (o *ActionResource) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ActionResource) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*ActionResource) GetType

func (o *ActionResource) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ActionResource) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*ActionResource) HasHref

func (o *ActionResource) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ActionResource) HasId

func (o *ActionResource) HasId() bool

HasId returns a boolean if a field has been set.

func (*ActionResource) HasType

func (o *ActionResource) HasType() bool

HasType returns a boolean if a field has been set.

func (ActionResource) MarshalJSON

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

func (*ActionResource) SetHref

func (o *ActionResource) SetHref(v string)

SetHref sets field value

func (*ActionResource) SetId

func (o *ActionResource) SetId(v string)

SetId sets field value

func (*ActionResource) SetType

func (o *ActionResource) SetType(v string)

SetType sets field value

type ActionStatus

type ActionStatus string

ActionStatus the model 'ActionStatus'

const (
	ACTIONSTATUS_FAILED      ActionStatus = "FAILED"
	ACTIONSTATUS_IN_PROGRESS ActionStatus = "IN_PROGRESS"
	ACTIONSTATUS_SUCCESSFUL  ActionStatus = "SUCCESSFUL"
)

List of ActionStatus

func (ActionStatus) Ptr

func (v ActionStatus) Ptr() *ActionStatus

Ptr returns reference to ActionStatus value

func (*ActionStatus) UnmarshalJSON

func (v *ActionStatus) UnmarshalJSON(src []byte) error

type ActionType

type ActionType string

ActionType The type of scaling action. A 'SCALE_IN' action deletes servers until the group has at most the number of servers. A 'SCALE_OUT' action creates servers until the group has at least the servers.

const (
	ACTIONTYPE_IN  ActionType = "SCALE_IN"
	ACTIONTYPE_OUT ActionType = "SCALE_OUT"
)

List of ActionType

func (ActionType) Ptr

func (v ActionType) Ptr() *ActionType

Ptr returns reference to ActionType value

func (*ActionType) UnmarshalJSON

func (v *ActionType) UnmarshalJSON(src []byte) error

type ActionsLinkResource

type ActionsLinkResource struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

ActionsLinkResource The scaling actions of the specified VM Auto Scaling Group.

func NewActionsLinkResource

func NewActionsLinkResource(id string) *ActionsLinkResource

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

func NewActionsLinkResourceWithDefaults

func NewActionsLinkResourceWithDefaults() *ActionsLinkResource

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

func (*ActionsLinkResource) GetHref

func (o *ActionsLinkResource) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ActionsLinkResource) GetHrefOk

func (o *ActionsLinkResource) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*ActionsLinkResource) GetId

func (o *ActionsLinkResource) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ActionsLinkResource) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*ActionsLinkResource) GetType

func (o *ActionsLinkResource) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ActionsLinkResource) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*ActionsLinkResource) HasHref

func (o *ActionsLinkResource) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ActionsLinkResource) HasId

func (o *ActionsLinkResource) HasId() bool

HasId returns a boolean if a field has been set.

func (*ActionsLinkResource) HasType

func (o *ActionsLinkResource) HasType() bool

HasType returns a boolean if a field has been set.

func (ActionsLinkResource) MarshalJSON

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

func (*ActionsLinkResource) SetHref

func (o *ActionsLinkResource) SetHref(v string)

SetHref sets field value

func (*ActionsLinkResource) SetId

func (o *ActionsLinkResource) SetId(v string)

SetId sets field value

func (*ActionsLinkResource) SetType

func (o *ActionsLinkResource) SetType(v string)

SetType sets field value

type ApiGroupsActionsFindByIdRequest

type ApiGroupsActionsFindByIdRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsActionsFindByIdRequest) Depth

func (ApiGroupsActionsFindByIdRequest) Execute

type ApiGroupsActionsGetRequest

type ApiGroupsActionsGetRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsActionsGetRequest) Depth

func (ApiGroupsActionsGetRequest) Execute

func (ApiGroupsActionsGetRequest) OrderBy

type ApiGroupsDeleteRequest

type ApiGroupsDeleteRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsDeleteRequest) Execute

func (r ApiGroupsDeleteRequest) Execute() (*APIResponse, error)

type ApiGroupsFindByIdRequest

type ApiGroupsFindByIdRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsFindByIdRequest) Depth

func (ApiGroupsFindByIdRequest) Execute

type ApiGroupsGetRequest

type ApiGroupsGetRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsGetRequest) Depth

func (ApiGroupsGetRequest) Execute

func (ApiGroupsGetRequest) OrderBy

func (r ApiGroupsGetRequest) OrderBy(orderBy string) ApiGroupsGetRequest

type ApiGroupsPostRequest

type ApiGroupsPostRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsPostRequest) Execute

func (ApiGroupsPostRequest) GroupPost

func (r ApiGroupsPostRequest) GroupPost(groupPost GroupPost) ApiGroupsPostRequest

type ApiGroupsPutRequest

type ApiGroupsPutRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsPutRequest) Execute

func (r ApiGroupsPutRequest) Execute() (Group, *APIResponse, error)

func (ApiGroupsPutRequest) GroupPut

func (r ApiGroupsPutRequest) GroupPut(groupPut GroupPut) ApiGroupsPutRequest

type ApiGroupsServersFindByIdRequest

type ApiGroupsServersFindByIdRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsServersFindByIdRequest) Depth

func (ApiGroupsServersFindByIdRequest) Execute

type ApiGroupsServersGetRequest

type ApiGroupsServersGetRequest struct {
	ApiService *AutoScalingGroupsApiService
	// contains filtered or unexported fields
}

func (ApiGroupsServersGetRequest) Depth

func (ApiGroupsServersGetRequest) Execute

func (ApiGroupsServersGetRequest) OrderBy

type AutoScalingGroupsApiService

type AutoScalingGroupsApiService service

AutoScalingGroupsApiService AutoScalingGroupsApi service

func (*AutoScalingGroupsApiService) GroupsActionsFindById

func (a *AutoScalingGroupsApiService) GroupsActionsFindById(ctx _context.Context, actionId string, groupId string) ApiGroupsActionsFindByIdRequest

* GroupsActionsFindById Get Scaling Action Details by ID * Retrieves the details of a scaling action specified by its ID. This operation returns metadata, properties, and the current status, for the specified scaling action * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param actionId * @param groupId * @return ApiGroupsActionsFindByIdRequest

func (*AutoScalingGroupsApiService) GroupsActionsFindByIdExecute

* Execute executes the request * @return Action

func (*AutoScalingGroupsApiService) GroupsActionsGet

* GroupsActionsGet Get Scaling Actions * Retrieves the list of the last Auto Scaling actions or jobs performed by the VM Auto Scaling.The actions are specified by its ID. Only the last 10 actions are available * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param groupId * @return ApiGroupsActionsGetRequest

func (*AutoScalingGroupsApiService) GroupsActionsGetExecute

* Execute executes the request * @return ActionCollection

func (*AutoScalingGroupsApiService) GroupsDelete

  • GroupsDelete Delete a VM Auto Scaling Group by ID
  • Deletes the VM Auto Scaling Group specified by its ID.

>Deleting the associated servers and disks is currently not implemented.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupId
  • @return ApiGroupsDeleteRequest

func (*AutoScalingGroupsApiService) GroupsDeleteExecute

* Execute executes the request

func (*AutoScalingGroupsApiService) GroupsFindById

* GroupsFindById Get an Auto Scaling by ID * Retrieves the VM Auto Scaling Group specified by its ID including the details. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param groupId * @return ApiGroupsFindByIdRequest

func (*AutoScalingGroupsApiService) GroupsFindByIdExecute

* Execute executes the request * @return Group

func (*AutoScalingGroupsApiService) GroupsGet

* GroupsGet Get VM Auto Scaling Groups * Lists all VM Auto Scaling Groups of your account. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGroupsGetRequest

func (*AutoScalingGroupsApiService) GroupsGetExecute

* Execute executes the request * @return GroupCollection

func (*AutoScalingGroupsApiService) GroupsPost

  • GroupsPost Create a VM Auto Scaling Group
  • Creates a VM Auto Scaling Group.

> Note that creating a group triggers the creation of two monitoring alarms for 'Scale-In' and 'Scale-Out' operations according to the 'Policy' settings.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiGroupsPostRequest

func (*AutoScalingGroupsApiService) GroupsPostExecute

* Execute executes the request * @return GroupPostResponse

func (*AutoScalingGroupsApiService) GroupsPut

* GroupsPut Update a VM Auto Scaling Group by ID * Updates the VM Auto Scaling Group specified by its ID. The IDs assigned by the system when the resource is created, such as 'properties.datacenter.id' and 'backupunitId', are immutable and cannot be updated. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param groupId * @return ApiGroupsPutRequest

func (*AutoScalingGroupsApiService) GroupsPutExecute

* Execute executes the request * @return Group

func (*AutoScalingGroupsApiService) GroupsServersFindById

func (a *AutoScalingGroupsApiService) GroupsServersFindById(ctx _context.Context, groupId string, serverId string) ApiGroupsServersFindByIdRequest
  • GroupsServersFindById Get VM Auto Scaling Group Server by ID
  • Retrieves the properties of the server specified by its ID.

>Note that the server IDs of the VM Auto Scaling Groups are different from and do not match the VM server IDs in the data center.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupId
  • @param serverId
  • @return ApiGroupsServersFindByIdRequest

func (*AutoScalingGroupsApiService) GroupsServersFindByIdExecute

* Execute executes the request * @return Server

func (*AutoScalingGroupsApiService) GroupsServersGet

  • GroupsServersGet Get VM Auto Scaling Group Servers
  • Retrieves all servers associated with the VM Auto Scaling Group specified by its ID.

>Note that the server IDs of the VM Auto Scaling Groups are different from and do not match the VM server IDs in the data center.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupId
  • @return ApiGroupsServersGetRequest

func (*AutoScalingGroupsApiService) GroupsServersGetExecute

* Execute executes the request * @return ServerCollection

type AvailabilityZone

type AvailabilityZone string

AvailabilityZone The zone where the VMs are created. The availability zone is always automatically set to 'AUTO' for performance reasons. Even if you set another value, e.g. 'null', or leave it empty.

const (
	AVAILABILITYZONE_AUTO AvailabilityZone = "AUTO"
)

List of AvailabilityZone

func (AvailabilityZone) Ptr

Ptr returns reference to AvailabilityZone value

func (*AvailabilityZone) UnmarshalJSON

func (v *AvailabilityZone) UnmarshalJSON(src []byte) error

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BusType

type BusType string

BusType The bus type of the volume. Default setting is 'VIRTIO'. The bus type 'IDE' is also supported.

const (
	BUSTYPE_VIRTIO BusType = "VIRTIO"
	BUSTYPE_IDE    BusType = "IDE"
)

List of BusType

func (BusType) Ptr

func (v BusType) Ptr() *BusType

Ptr returns reference to BusType value

func (*BusType) UnmarshalJSON

func (v *BusType) UnmarshalJSON(src []byte) error

type Configuration

type Configuration struct {
	Host               string            `json:"host,omitempty"`
	Scheme             string            `json:"scheme,omitempty"`
	DefaultHeader      map[string]string `json:"defaultHeader,omitempty"`
	DefaultQueryParams url.Values        `json:"defaultQueryParams,omitempty"`
	UserAgent          string            `json:"userAgent,omitempty"`
	Debug              bool              `json:"debug,omitempty"`
	Servers            ServerConfigurations
	OperationServers   map[string]ServerConfigurations
	HTTPClient         *http.Client
	LogLevel           LogLevel
	Logger             Logger
	Username           string        `json:"username,omitempty"`
	Password           string        `json:"password,omitempty"`
	Token              string        `json:"token,omitempty"`
	MaxRetries         int           `json:"maxRetries,omitempty"`
	WaitTime           time.Duration `json:"waitTime,omitempty"`
	MaxWaitTime        time.Duration `json:"maxWaitTime,omitempty"`
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration(username, password, token, hostUrl string) *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationFromEnv

func NewConfigurationFromEnv() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) AddDefaultQueryParam

func (c *Configuration) AddDefaultQueryParam(key string, value string)

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CpuFamily

type CpuFamily string

CpuFamily The CPU family for the VMs created with this configuration. If the value is 'null', the VM is created with the default CPU family for the assigned site.

const (
	CPUFAMILY_AMD_OPTERON   CpuFamily = "AMD_OPTERON"
	CPUFAMILY_INTEL_SKYLAKE CpuFamily = "INTEL_SKYLAKE"
	CPUFAMILY_INTEL_XEON    CpuFamily = "INTEL_XEON"
)

List of CpuFamily

func (CpuFamily) Ptr

func (v CpuFamily) Ptr() *CpuFamily

Ptr returns reference to CpuFamily value

func (*CpuFamily) UnmarshalJSON

func (v *CpuFamily) UnmarshalJSON(src []byte) error

type DatacenterServer

type DatacenterServer struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

DatacenterServer struct for DatacenterServer

func NewDatacenterServer

func NewDatacenterServer(id string) *DatacenterServer

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

func NewDatacenterServerWithDefaults

func NewDatacenterServerWithDefaults() *DatacenterServer

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

func (*DatacenterServer) GetHref

func (o *DatacenterServer) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*DatacenterServer) GetHrefOk

func (o *DatacenterServer) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*DatacenterServer) GetId

func (o *DatacenterServer) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*DatacenterServer) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*DatacenterServer) GetType

func (o *DatacenterServer) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*DatacenterServer) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*DatacenterServer) HasHref

func (o *DatacenterServer) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*DatacenterServer) HasId

func (o *DatacenterServer) HasId() bool

HasId returns a boolean if a field has been set.

func (*DatacenterServer) HasType

func (o *DatacenterServer) HasType() bool

HasType returns a boolean if a field has been set.

func (DatacenterServer) MarshalJSON

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

func (*DatacenterServer) SetHref

func (o *DatacenterServer) SetHref(v string)

SetHref sets field value

func (*DatacenterServer) SetId

func (o *DatacenterServer) SetId(v string)

SetId sets field value

func (*DatacenterServer) SetType

func (o *DatacenterServer) SetType(v string)

SetType sets field value

type Error401

type Error401 struct {
	HttpStatus *int32             `json:"httpStatus,omitempty"`
	Messages   *[]Error401Message `json:"messages,omitempty"`
}

Error401 struct for Error401

func NewError401

func NewError401() *Error401

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

func NewError401WithDefaults

func NewError401WithDefaults() *Error401

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

func (*Error401) GetHttpStatus

func (o *Error401) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*Error401) GetHttpStatusOk

func (o *Error401) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value 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 (*Error401) GetMessages

func (o *Error401) GetMessages() *[]Error401Message

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []Error401Message will be returned

func (*Error401) GetMessagesOk

func (o *Error401) GetMessagesOk() (*[]Error401Message, bool)

GetMessagesOk returns a tuple with the Messages field value 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 (*Error401) HasHttpStatus

func (o *Error401) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error401) HasMessages

func (o *Error401) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (Error401) MarshalJSON

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

func (*Error401) SetHttpStatus

func (o *Error401) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*Error401) SetMessages

func (o *Error401) SetMessages(v []Error401Message)

SetMessages sets field value

type Error401Message

type Error401Message struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

Error401Message struct for Error401Message

func NewError401Message

func NewError401Message() *Error401Message

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

func NewError401MessageWithDefaults

func NewError401MessageWithDefaults() *Error401Message

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

func (*Error401Message) GetErrorCode

func (o *Error401Message) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*Error401Message) GetErrorCodeOk

func (o *Error401Message) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value 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 (*Error401Message) GetMessage

func (o *Error401Message) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*Error401Message) GetMessageOk

func (o *Error401Message) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value 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 (*Error401Message) HasErrorCode

func (o *Error401Message) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*Error401Message) HasMessage

func (o *Error401Message) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Error401Message) MarshalJSON

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

func (*Error401Message) SetErrorCode

func (o *Error401Message) SetErrorCode(v string)

SetErrorCode sets field value

func (*Error401Message) SetMessage

func (o *Error401Message) SetMessage(v string)

SetMessage sets field value

type Error404

type Error404 struct {
	HttpStatus *int32             `json:"httpStatus,omitempty"`
	Messages   *[]Error404Message `json:"messages,omitempty"`
}

Error404 struct for Error404

func NewError404

func NewError404() *Error404

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

func NewError404WithDefaults

func NewError404WithDefaults() *Error404

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

func (*Error404) GetHttpStatus

func (o *Error404) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*Error404) GetHttpStatusOk

func (o *Error404) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value 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 (*Error404) GetMessages

func (o *Error404) GetMessages() *[]Error404Message

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []Error404Message will be returned

func (*Error404) GetMessagesOk

func (o *Error404) GetMessagesOk() (*[]Error404Message, bool)

GetMessagesOk returns a tuple with the Messages field value 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 (*Error404) HasHttpStatus

func (o *Error404) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error404) HasMessages

func (o *Error404) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (Error404) MarshalJSON

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

func (*Error404) SetHttpStatus

func (o *Error404) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*Error404) SetMessages

func (o *Error404) SetMessages(v []Error404Message)

SetMessages sets field value

type Error404Message

type Error404Message struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

Error404Message struct for Error404Message

func NewError404Message

func NewError404Message() *Error404Message

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

func NewError404MessageWithDefaults

func NewError404MessageWithDefaults() *Error404Message

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

func (*Error404Message) GetErrorCode

func (o *Error404Message) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*Error404Message) GetErrorCodeOk

func (o *Error404Message) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value 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 (*Error404Message) GetMessage

func (o *Error404Message) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*Error404Message) GetMessageOk

func (o *Error404Message) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value 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 (*Error404Message) HasErrorCode

func (o *Error404Message) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*Error404Message) HasMessage

func (o *Error404Message) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Error404Message) MarshalJSON

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

func (*Error404Message) SetErrorCode

func (o *Error404Message) SetErrorCode(v string)

SetErrorCode sets field value

func (*Error404Message) SetMessage

func (o *Error404Message) SetMessage(v string)

SetMessage sets field value

type ErrorAuthorize

type ErrorAuthorize struct {
	HttpStatus *int32                   `json:"httpStatus,omitempty"`
	Messages   *[]ErrorAuthorizeMessage `json:"messages,omitempty"`
}

ErrorAuthorize struct for ErrorAuthorize

func NewErrorAuthorize

func NewErrorAuthorize() *ErrorAuthorize

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

func NewErrorAuthorizeWithDefaults

func NewErrorAuthorizeWithDefaults() *ErrorAuthorize

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

func (*ErrorAuthorize) GetHttpStatus

func (o *ErrorAuthorize) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ErrorAuthorize) GetHttpStatusOk

func (o *ErrorAuthorize) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value 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 (*ErrorAuthorize) GetMessages

func (o *ErrorAuthorize) GetMessages() *[]ErrorAuthorizeMessage

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorAuthorizeMessage will be returned

func (*ErrorAuthorize) GetMessagesOk

func (o *ErrorAuthorize) GetMessagesOk() (*[]ErrorAuthorizeMessage, bool)

GetMessagesOk returns a tuple with the Messages field value 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 (*ErrorAuthorize) HasHttpStatus

func (o *ErrorAuthorize) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ErrorAuthorize) HasMessages

func (o *ErrorAuthorize) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ErrorAuthorize) MarshalJSON

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

func (*ErrorAuthorize) SetHttpStatus

func (o *ErrorAuthorize) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ErrorAuthorize) SetMessages

func (o *ErrorAuthorize) SetMessages(v []ErrorAuthorizeMessage)

SetMessages sets field value

type ErrorAuthorizeMessage

type ErrorAuthorizeMessage struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

ErrorAuthorizeMessage struct for ErrorAuthorizeMessage

func NewErrorAuthorizeMessage

func NewErrorAuthorizeMessage() *ErrorAuthorizeMessage

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

func NewErrorAuthorizeMessageWithDefaults

func NewErrorAuthorizeMessageWithDefaults() *ErrorAuthorizeMessage

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

func (*ErrorAuthorizeMessage) GetErrorCode

func (o *ErrorAuthorizeMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorAuthorizeMessage) GetErrorCodeOk

func (o *ErrorAuthorizeMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value 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 (*ErrorAuthorizeMessage) GetMessage

func (o *ErrorAuthorizeMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorAuthorizeMessage) GetMessageOk

func (o *ErrorAuthorizeMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value 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 (*ErrorAuthorizeMessage) HasErrorCode

func (o *ErrorAuthorizeMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorAuthorizeMessage) HasMessage

func (o *ErrorAuthorizeMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorAuthorizeMessage) MarshalJSON

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

func (*ErrorAuthorizeMessage) SetErrorCode

func (o *ErrorAuthorizeMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorAuthorizeMessage) SetMessage

func (o *ErrorAuthorizeMessage) SetMessage(v string)

SetMessage sets field value

type ErrorGroupValidate

type ErrorGroupValidate struct {
	HttpStatus *int32                       `json:"httpStatus,omitempty"`
	Messages   *[]ErrorGroupValidateMessage `json:"messages,omitempty"`
}

ErrorGroupValidate struct for ErrorGroupValidate

func NewErrorGroupValidate

func NewErrorGroupValidate() *ErrorGroupValidate

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

func NewErrorGroupValidateWithDefaults

func NewErrorGroupValidateWithDefaults() *ErrorGroupValidate

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

func (*ErrorGroupValidate) GetHttpStatus

func (o *ErrorGroupValidate) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ErrorGroupValidate) GetHttpStatusOk

func (o *ErrorGroupValidate) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value 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 (*ErrorGroupValidate) GetMessages

func (o *ErrorGroupValidate) GetMessages() *[]ErrorGroupValidateMessage

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorGroupValidateMessage will be returned

func (*ErrorGroupValidate) GetMessagesOk

func (o *ErrorGroupValidate) GetMessagesOk() (*[]ErrorGroupValidateMessage, bool)

GetMessagesOk returns a tuple with the Messages field value 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 (*ErrorGroupValidate) HasHttpStatus

func (o *ErrorGroupValidate) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ErrorGroupValidate) HasMessages

func (o *ErrorGroupValidate) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ErrorGroupValidate) MarshalJSON

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

func (*ErrorGroupValidate) SetHttpStatus

func (o *ErrorGroupValidate) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ErrorGroupValidate) SetMessages

func (o *ErrorGroupValidate) SetMessages(v []ErrorGroupValidateMessage)

SetMessages sets field value

type ErrorGroupValidateMessage

type ErrorGroupValidateMessage struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

ErrorGroupValidateMessage struct for ErrorGroupValidateMessage

func NewErrorGroupValidateMessage

func NewErrorGroupValidateMessage() *ErrorGroupValidateMessage

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

func NewErrorGroupValidateMessageWithDefaults

func NewErrorGroupValidateMessageWithDefaults() *ErrorGroupValidateMessage

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

func (*ErrorGroupValidateMessage) GetErrorCode

func (o *ErrorGroupValidateMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorGroupValidateMessage) GetErrorCodeOk

func (o *ErrorGroupValidateMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value 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 (*ErrorGroupValidateMessage) GetMessage

func (o *ErrorGroupValidateMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorGroupValidateMessage) GetMessageOk

func (o *ErrorGroupValidateMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value 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 (*ErrorGroupValidateMessage) HasErrorCode

func (o *ErrorGroupValidateMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorGroupValidateMessage) HasMessage

func (o *ErrorGroupValidateMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorGroupValidateMessage) MarshalJSON

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

func (*ErrorGroupValidateMessage) SetErrorCode

func (o *ErrorGroupValidateMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorGroupValidateMessage) SetMessage

func (o *ErrorGroupValidateMessage) SetMessage(v string)

SetMessage sets field value

type ErrorMessage

type ErrorMessage struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

ErrorMessage struct for ErrorMessage

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

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

func NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

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

func (*ErrorMessage) GetErrorCode

func (o *ErrorMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetErrorCodeOk

func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value 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 (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetMessageOk

func (o *ErrorMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value 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 (*ErrorMessage) HasErrorCode

func (o *ErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessage) MarshalJSON

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

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage sets field value

type ErrorMessageParse

type ErrorMessageParse struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

ErrorMessageParse struct for ErrorMessageParse

func NewErrorMessageParse

func NewErrorMessageParse() *ErrorMessageParse

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

func NewErrorMessageParseWithDefaults

func NewErrorMessageParseWithDefaults() *ErrorMessageParse

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

func (*ErrorMessageParse) GetErrorCode

func (o *ErrorMessageParse) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessageParse) GetErrorCodeOk

func (o *ErrorMessageParse) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value 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 (*ErrorMessageParse) GetMessage

func (o *ErrorMessageParse) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessageParse) GetMessageOk

func (o *ErrorMessageParse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value 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 (*ErrorMessageParse) HasErrorCode

func (o *ErrorMessageParse) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessageParse) HasMessage

func (o *ErrorMessageParse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessageParse) MarshalJSON

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

func (*ErrorMessageParse) SetErrorCode

func (o *ErrorMessageParse) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessageParse) SetMessage

func (o *ErrorMessageParse) SetMessage(v string)

SetMessage sets field value

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func NewGenericOpenAPIError

func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError

NewGenericOpenAPIError - constructor for GenericOpenAPIError

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

func (*GenericOpenAPIError) SetBody

func (e *GenericOpenAPIError) SetBody(body []byte)

SetBody sets the raw body of the error

func (*GenericOpenAPIError) SetError

func (e *GenericOpenAPIError) SetError(error string)

SetError sets the error string

func (*GenericOpenAPIError) SetModel

func (e *GenericOpenAPIError) SetModel(model interface{})

SetModel sets the model of the error

func (*GenericOpenAPIError) SetStatusCode

func (e *GenericOpenAPIError) SetStatusCode(statusCode int)

SetStatusCode sets the status code of the error

func (GenericOpenAPIError) StatusCode

func (e GenericOpenAPIError) StatusCode() int

StatusCode returns the status code of the error

type Group

type Group struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href       *string          `json:"href,omitempty"`
	Metadata   *Metadata        `json:"metadata,omitempty"`
	Properties *GroupProperties `json:"properties"`
	Entities   *GroupEntities   `json:"entities,omitempty"`
}

Group A group of virtual servers where the number of replicas can be scaled automatically.

func NewGroup

func NewGroup(id string, properties GroupProperties) *Group

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

func NewGroupWithDefaults

func NewGroupWithDefaults() *Group

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

func (*Group) GetEntities

func (o *Group) GetEntities() *GroupEntities

GetEntities returns the Entities field value If the value is explicit nil, the zero value for GroupEntities will be returned

func (*Group) GetEntitiesOk

func (o *Group) GetEntitiesOk() (*GroupEntities, bool)

GetEntitiesOk returns a tuple with the Entities field value 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 (*Group) GetHref

func (o *Group) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*Group) GetHrefOk

func (o *Group) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*Group) GetId

func (o *Group) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*Group) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*Group) GetMetadata

func (o *Group) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*Group) GetMetadataOk

func (o *Group) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value 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 (*Group) GetProperties

func (o *Group) GetProperties() *GroupProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for GroupProperties will be returned

func (*Group) GetPropertiesOk

func (o *Group) GetPropertiesOk() (*GroupProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value 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 (*Group) GetType

func (o *Group) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Group) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*Group) HasEntities

func (o *Group) HasEntities() bool

HasEntities returns a boolean if a field has been set.

func (*Group) HasHref

func (o *Group) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Group) HasId

func (o *Group) HasId() bool

HasId returns a boolean if a field has been set.

func (*Group) HasMetadata

func (o *Group) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Group) HasProperties

func (o *Group) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Group) HasType

func (o *Group) HasType() bool

HasType returns a boolean if a field has been set.

func (Group) MarshalJSON

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

func (*Group) SetEntities

func (o *Group) SetEntities(v GroupEntities)

SetEntities sets field value

func (*Group) SetHref

func (o *Group) SetHref(v string)

SetHref sets field value

func (*Group) SetId

func (o *Group) SetId(v string)

SetId sets field value

func (*Group) SetMetadata

func (o *Group) SetMetadata(v Metadata)

SetMetadata sets field value

func (*Group) SetProperties

func (o *Group) SetProperties(v GroupProperties)

SetProperties sets field value

func (*Group) SetType

func (o *Group) SetType(v string)

SetType sets field value

type GroupCollection

type GroupCollection struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href  *string  `json:"href,omitempty"`
	Items *[]Group `json:"items,omitempty"`
}

GroupCollection struct for GroupCollection

func NewGroupCollection

func NewGroupCollection(id string) *GroupCollection

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

func NewGroupCollectionWithDefaults

func NewGroupCollectionWithDefaults() *GroupCollection

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

func (*GroupCollection) GetHref

func (o *GroupCollection) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GroupCollection) GetHrefOk

func (o *GroupCollection) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*GroupCollection) GetId

func (o *GroupCollection) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupCollection) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*GroupCollection) GetItems

func (o *GroupCollection) GetItems() *[]Group

GetItems returns the Items field value If the value is explicit nil, the zero value for []Group will be returned

func (*GroupCollection) GetItemsOk

func (o *GroupCollection) GetItemsOk() (*[]Group, bool)

GetItemsOk returns a tuple with the Items field value 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 (*GroupCollection) GetType

func (o *GroupCollection) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupCollection) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*GroupCollection) HasHref

func (o *GroupCollection) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GroupCollection) HasId

func (o *GroupCollection) HasId() bool

HasId returns a boolean if a field has been set.

func (*GroupCollection) HasItems

func (o *GroupCollection) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*GroupCollection) HasType

func (o *GroupCollection) HasType() bool

HasType returns a boolean if a field has been set.

func (GroupCollection) MarshalJSON

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

func (*GroupCollection) SetHref

func (o *GroupCollection) SetHref(v string)

SetHref sets field value

func (*GroupCollection) SetId

func (o *GroupCollection) SetId(v string)

SetId sets field value

func (*GroupCollection) SetItems

func (o *GroupCollection) SetItems(v []Group)

SetItems sets field value

func (*GroupCollection) SetType

func (o *GroupCollection) SetType(v string)

SetType sets field value

type GroupEntities added in v1.0.1

type GroupEntities struct {
	Actions *ActionCollection `json:"actions,omitempty"`
	Servers *ServerCollection `json:"servers,omitempty"`
}

GroupEntities The entities associated with this resource. The content depends on the resource type.

func NewGroupEntities added in v1.0.1

func NewGroupEntities() *GroupEntities

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

func NewGroupEntitiesWithDefaults added in v1.0.1

func NewGroupEntitiesWithDefaults() *GroupEntities

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

func (*GroupEntities) GetActions added in v1.0.1

func (o *GroupEntities) GetActions() *ActionCollection

GetActions returns the Actions field value If the value is explicit nil, the zero value for ActionCollection will be returned

func (*GroupEntities) GetActionsOk added in v1.0.1

func (o *GroupEntities) GetActionsOk() (*ActionCollection, bool)

GetActionsOk returns a tuple with the Actions field value 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 (*GroupEntities) GetServers added in v1.0.1

func (o *GroupEntities) GetServers() *ServerCollection

GetServers returns the Servers field value If the value is explicit nil, the zero value for ServerCollection will be returned

func (*GroupEntities) GetServersOk added in v1.0.1

func (o *GroupEntities) GetServersOk() (*ServerCollection, bool)

GetServersOk returns a tuple with the Servers field value 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 (*GroupEntities) HasActions added in v1.0.1

func (o *GroupEntities) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*GroupEntities) HasServers added in v1.0.1

func (o *GroupEntities) HasServers() bool

HasServers returns a boolean if a field has been set.

func (GroupEntities) MarshalJSON added in v1.0.1

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

func (*GroupEntities) SetActions added in v1.0.1

func (o *GroupEntities) SetActions(v ActionCollection)

SetActions sets field value

func (*GroupEntities) SetServers added in v1.0.1

func (o *GroupEntities) SetServers(v ServerCollection)

SetServers sets field value

type GroupPolicy

type GroupPolicy struct {
	Metric *Metric `json:"metric"`
	// Specifies the time range for which the samples are to be aggregated. Must be >= 2 minutes.
	Range         *string                   `json:"range,omitempty"`
	ScaleInAction *GroupPolicyScaleInAction `json:"scaleInAction"`
	// The lower threshold for the value of the 'metric'. Used with the `less than` (<) operator. When this value is exceeded, a scale-in action is triggered, specified by the 'scaleInAction' property. The value must have a higher minimum delta to the 'scaleOutThreshold', depending on the 'metric', to avoid competing for actions at the same time.
	ScaleInThreshold *float32                   `json:"scaleInThreshold"`
	ScaleOutAction   *GroupPolicyScaleOutAction `json:"scaleOutAction"`
	// The upper threshold for the value of the 'metric'. Used with the 'greater than' (>) operator. A scale-out action is triggered when this value is exceeded, specified by the 'scaleOutAction' property. The value must have a lower minimum delta to the 'scaleInThreshold', depending on the metric, to avoid competing for actions simultaneously. If 'properties.policy.unit=TOTAL', a value >= 40 must be chosen.
	ScaleOutThreshold *float32   `json:"scaleOutThreshold"`
	Unit              *QueryUnit `json:"unit"`
}

GroupPolicy Defines the behavior of this VM Auto Scaling Group. A policy consists of triggers and actions, where an action is an automated behavior, and the trigger defines the circumstances under which the action is triggered. Currently, two separate actions are supported, namely scaling inward and outward, triggered by the thresholds defined for a particular metric.

func NewGroupPolicy

func NewGroupPolicy(metric Metric, scaleInAction GroupPolicyScaleInAction, scaleInThreshold float32, scaleOutAction GroupPolicyScaleOutAction, scaleOutThreshold float32, unit QueryUnit) *GroupPolicy

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

func NewGroupPolicyWithDefaults

func NewGroupPolicyWithDefaults() *GroupPolicy

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

func (*GroupPolicy) GetMetric

func (o *GroupPolicy) GetMetric() *Metric

GetMetric returns the Metric field value If the value is explicit nil, the zero value for Metric will be returned

func (*GroupPolicy) GetMetricOk

func (o *GroupPolicy) GetMetricOk() (*Metric, bool)

GetMetricOk returns a tuple with the Metric field value 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 (*GroupPolicy) GetRange

func (o *GroupPolicy) GetRange() *string

GetRange returns the Range field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPolicy) GetRangeOk

func (o *GroupPolicy) GetRangeOk() (*string, bool)

GetRangeOk returns a tuple with the Range field value 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 (*GroupPolicy) GetScaleInAction

func (o *GroupPolicy) GetScaleInAction() *GroupPolicyScaleInAction

GetScaleInAction returns the ScaleInAction field value If the value is explicit nil, the zero value for GroupPolicyScaleInAction will be returned

func (*GroupPolicy) GetScaleInActionOk

func (o *GroupPolicy) GetScaleInActionOk() (*GroupPolicyScaleInAction, bool)

GetScaleInActionOk returns a tuple with the ScaleInAction field value 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 (*GroupPolicy) GetScaleInThreshold

func (o *GroupPolicy) GetScaleInThreshold() *float32

GetScaleInThreshold returns the ScaleInThreshold field value If the value is explicit nil, the zero value for float32 will be returned

func (*GroupPolicy) GetScaleInThresholdOk

func (o *GroupPolicy) GetScaleInThresholdOk() (*float32, bool)

GetScaleInThresholdOk returns a tuple with the ScaleInThreshold field value 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 (*GroupPolicy) GetScaleOutAction

func (o *GroupPolicy) GetScaleOutAction() *GroupPolicyScaleOutAction

GetScaleOutAction returns the ScaleOutAction field value If the value is explicit nil, the zero value for GroupPolicyScaleOutAction will be returned

func (*GroupPolicy) GetScaleOutActionOk

func (o *GroupPolicy) GetScaleOutActionOk() (*GroupPolicyScaleOutAction, bool)

GetScaleOutActionOk returns a tuple with the ScaleOutAction field value 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 (*GroupPolicy) GetScaleOutThreshold

func (o *GroupPolicy) GetScaleOutThreshold() *float32

GetScaleOutThreshold returns the ScaleOutThreshold field value If the value is explicit nil, the zero value for float32 will be returned

func (*GroupPolicy) GetScaleOutThresholdOk

func (o *GroupPolicy) GetScaleOutThresholdOk() (*float32, bool)

GetScaleOutThresholdOk returns a tuple with the ScaleOutThreshold field value 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 (*GroupPolicy) GetUnit

func (o *GroupPolicy) GetUnit() *QueryUnit

GetUnit returns the Unit field value If the value is explicit nil, the zero value for QueryUnit will be returned

func (*GroupPolicy) GetUnitOk

func (o *GroupPolicy) GetUnitOk() (*QueryUnit, bool)

GetUnitOk returns a tuple with the Unit field value 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 (*GroupPolicy) HasMetric

func (o *GroupPolicy) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*GroupPolicy) HasRange

func (o *GroupPolicy) HasRange() bool

HasRange returns a boolean if a field has been set.

func (*GroupPolicy) HasScaleInAction

func (o *GroupPolicy) HasScaleInAction() bool

HasScaleInAction returns a boolean if a field has been set.

func (*GroupPolicy) HasScaleInThreshold

func (o *GroupPolicy) HasScaleInThreshold() bool

HasScaleInThreshold returns a boolean if a field has been set.

func (*GroupPolicy) HasScaleOutAction

func (o *GroupPolicy) HasScaleOutAction() bool

HasScaleOutAction returns a boolean if a field has been set.

func (*GroupPolicy) HasScaleOutThreshold

func (o *GroupPolicy) HasScaleOutThreshold() bool

HasScaleOutThreshold returns a boolean if a field has been set.

func (*GroupPolicy) HasUnit

func (o *GroupPolicy) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (GroupPolicy) MarshalJSON

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

func (*GroupPolicy) SetMetric

func (o *GroupPolicy) SetMetric(v Metric)

SetMetric sets field value

func (*GroupPolicy) SetRange

func (o *GroupPolicy) SetRange(v string)

SetRange sets field value

func (*GroupPolicy) SetScaleInAction

func (o *GroupPolicy) SetScaleInAction(v GroupPolicyScaleInAction)

SetScaleInAction sets field value

func (*GroupPolicy) SetScaleInThreshold

func (o *GroupPolicy) SetScaleInThreshold(v float32)

SetScaleInThreshold sets field value

func (*GroupPolicy) SetScaleOutAction

func (o *GroupPolicy) SetScaleOutAction(v GroupPolicyScaleOutAction)

SetScaleOutAction sets field value

func (*GroupPolicy) SetScaleOutThreshold

func (o *GroupPolicy) SetScaleOutThreshold(v float32)

SetScaleOutThreshold sets field value

func (*GroupPolicy) SetUnit

func (o *GroupPolicy) SetUnit(v QueryUnit)

SetUnit sets field value

type GroupPolicyScaleInAction

type GroupPolicyScaleInAction struct {
	// 'amountType=ABSOLUTE' specifies the absolute number of VMs that are added or removed. The value must be between 1 to 10.   'amountType=PERCENTAGE' specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200.   At least one VM is always added or removed.   Note that for 'SCALE_IN' operations, volumes are not deleted after the server is deleted.
	Amount     *float32      `json:"amount"`
	AmountType *ActionAmount `json:"amountType"`
	// The minimum time that elapses after the start of this scaling action until the next scaling action is started. With a scaling action in progress, no second scaling action is started for the same VM Auto Scaling Group. Instead, the metric is re-evaluated after the current scaling action completes (either successfully or with errors). This is currently validated with a minimum value of 2 minutes and a maximum value of 24 hours. The default value is 5 minutes if not specified.
	CooldownPeriod    *string                `json:"cooldownPeriod,omitempty"`
	TerminationPolicy *TerminationPolicyType `json:"terminationPolicy,omitempty"`
	// If set to `true`, when deleting an replica during scale in, any attached volume will also be deleted. When set to `false`, all volumes remain in the datacenter and must be deleted manually.  **Note**, that every scale-out creates new volumes. When they are not deleted, they will eventually use all of your contracts resource limits. At this point, scaling out would not be possible anymore.
	DeleteVolumes *bool `json:"deleteVolumes"`
}

GroupPolicyScaleInAction Defines the action to be taken when the 'scaleInThreshold' is exceeded. Here, scaling is always about removing VMs associated with this VM Auto Scaling Group. By default, the termination policy is 'OLDEST_SERVER_FIRST' is effective.

func NewGroupPolicyScaleInAction

func NewGroupPolicyScaleInAction(amount float32, amountType ActionAmount, deleteVolumes bool) *GroupPolicyScaleInAction

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

func NewGroupPolicyScaleInActionWithDefaults

func NewGroupPolicyScaleInActionWithDefaults() *GroupPolicyScaleInAction

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

func (*GroupPolicyScaleInAction) GetAmount

func (o *GroupPolicyScaleInAction) GetAmount() *float32

GetAmount returns the Amount field value If the value is explicit nil, the zero value for float32 will be returned

func (*GroupPolicyScaleInAction) GetAmountOk

func (o *GroupPolicyScaleInAction) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value 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 (*GroupPolicyScaleInAction) GetAmountType

func (o *GroupPolicyScaleInAction) GetAmountType() *ActionAmount

GetAmountType returns the AmountType field value If the value is explicit nil, the zero value for ActionAmount will be returned

func (*GroupPolicyScaleInAction) GetAmountTypeOk

func (o *GroupPolicyScaleInAction) GetAmountTypeOk() (*ActionAmount, bool)

GetAmountTypeOk returns a tuple with the AmountType field value 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 (*GroupPolicyScaleInAction) GetCooldownPeriod

func (o *GroupPolicyScaleInAction) GetCooldownPeriod() *string

GetCooldownPeriod returns the CooldownPeriod field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPolicyScaleInAction) GetCooldownPeriodOk

func (o *GroupPolicyScaleInAction) GetCooldownPeriodOk() (*string, bool)

GetCooldownPeriodOk returns a tuple with the CooldownPeriod field value 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 (*GroupPolicyScaleInAction) GetDeleteVolumes

func (o *GroupPolicyScaleInAction) GetDeleteVolumes() *bool

GetDeleteVolumes returns the DeleteVolumes field value If the value is explicit nil, the zero value for bool will be returned

func (*GroupPolicyScaleInAction) GetDeleteVolumesOk

func (o *GroupPolicyScaleInAction) GetDeleteVolumesOk() (*bool, bool)

GetDeleteVolumesOk returns a tuple with the DeleteVolumes field value 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 (*GroupPolicyScaleInAction) GetTerminationPolicy

func (o *GroupPolicyScaleInAction) GetTerminationPolicy() *TerminationPolicyType

GetTerminationPolicy returns the TerminationPolicy field value If the value is explicit nil, the zero value for TerminationPolicyType will be returned

func (*GroupPolicyScaleInAction) GetTerminationPolicyOk

func (o *GroupPolicyScaleInAction) GetTerminationPolicyOk() (*TerminationPolicyType, bool)

GetTerminationPolicyOk returns a tuple with the TerminationPolicy field value 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 (*GroupPolicyScaleInAction) HasAmount

func (o *GroupPolicyScaleInAction) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*GroupPolicyScaleInAction) HasAmountType

func (o *GroupPolicyScaleInAction) HasAmountType() bool

HasAmountType returns a boolean if a field has been set.

func (*GroupPolicyScaleInAction) HasCooldownPeriod

func (o *GroupPolicyScaleInAction) HasCooldownPeriod() bool

HasCooldownPeriod returns a boolean if a field has been set.

func (*GroupPolicyScaleInAction) HasDeleteVolumes

func (o *GroupPolicyScaleInAction) HasDeleteVolumes() bool

HasDeleteVolumes returns a boolean if a field has been set.

func (*GroupPolicyScaleInAction) HasTerminationPolicy

func (o *GroupPolicyScaleInAction) HasTerminationPolicy() bool

HasTerminationPolicy returns a boolean if a field has been set.

func (GroupPolicyScaleInAction) MarshalJSON

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

func (*GroupPolicyScaleInAction) SetAmount

func (o *GroupPolicyScaleInAction) SetAmount(v float32)

SetAmount sets field value

func (*GroupPolicyScaleInAction) SetAmountType

func (o *GroupPolicyScaleInAction) SetAmountType(v ActionAmount)

SetAmountType sets field value

func (*GroupPolicyScaleInAction) SetCooldownPeriod

func (o *GroupPolicyScaleInAction) SetCooldownPeriod(v string)

SetCooldownPeriod sets field value

func (*GroupPolicyScaleInAction) SetDeleteVolumes

func (o *GroupPolicyScaleInAction) SetDeleteVolumes(v bool)

SetDeleteVolumes sets field value

func (*GroupPolicyScaleInAction) SetTerminationPolicy

func (o *GroupPolicyScaleInAction) SetTerminationPolicy(v TerminationPolicyType)

SetTerminationPolicy sets field value

type GroupPolicyScaleOutAction

type GroupPolicyScaleOutAction struct {
	// 'amountType=ABSOLUTE' specifies the absolute number of VMs that are added or removed. The value must be between 1 to 10.   'amountType=PERCENTAGE' specifies the percentage value that is applied to the current number of replicas of the VM Auto Scaling Group. The value must be between 1 to 200.   At least one VM is always added or removed.   Note that for 'SCALE_IN' operations, volumes are not deleted after the server is deleted.
	Amount     *float32      `json:"amount"`
	AmountType *ActionAmount `json:"amountType"`
	// The minimum time that elapses after the start of this scaling action until the following scaling action is started. While a scaling action is in progress, no second action is initiated for the same VM Auto Scaling Group. Instead, the metric is re-evaluated after the current scaling action completes (either successfully or with errors). This is currently validated with a minimum value of 2 minutes and a maximum of 24 hours. The default value is 5 minutes if not specified.
	CooldownPeriod *string `json:"cooldownPeriod,omitempty"`
}

GroupPolicyScaleOutAction Defines the action to be performed when the 'scaleOutThreshold' is exceeded. Here, scaling is always about adding new VMs to this VM Auto Scaling Group.

func NewGroupPolicyScaleOutAction

func NewGroupPolicyScaleOutAction(amount float32, amountType ActionAmount) *GroupPolicyScaleOutAction

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

func NewGroupPolicyScaleOutActionWithDefaults

func NewGroupPolicyScaleOutActionWithDefaults() *GroupPolicyScaleOutAction

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

func (*GroupPolicyScaleOutAction) GetAmount

func (o *GroupPolicyScaleOutAction) GetAmount() *float32

GetAmount returns the Amount field value If the value is explicit nil, the zero value for float32 will be returned

func (*GroupPolicyScaleOutAction) GetAmountOk

func (o *GroupPolicyScaleOutAction) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value 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 (*GroupPolicyScaleOutAction) GetAmountType

func (o *GroupPolicyScaleOutAction) GetAmountType() *ActionAmount

GetAmountType returns the AmountType field value If the value is explicit nil, the zero value for ActionAmount will be returned

func (*GroupPolicyScaleOutAction) GetAmountTypeOk

func (o *GroupPolicyScaleOutAction) GetAmountTypeOk() (*ActionAmount, bool)

GetAmountTypeOk returns a tuple with the AmountType field value 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 (*GroupPolicyScaleOutAction) GetCooldownPeriod

func (o *GroupPolicyScaleOutAction) GetCooldownPeriod() *string

GetCooldownPeriod returns the CooldownPeriod field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPolicyScaleOutAction) GetCooldownPeriodOk

func (o *GroupPolicyScaleOutAction) GetCooldownPeriodOk() (*string, bool)

GetCooldownPeriodOk returns a tuple with the CooldownPeriod field value 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 (*GroupPolicyScaleOutAction) HasAmount

func (o *GroupPolicyScaleOutAction) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*GroupPolicyScaleOutAction) HasAmountType

func (o *GroupPolicyScaleOutAction) HasAmountType() bool

HasAmountType returns a boolean if a field has been set.

func (*GroupPolicyScaleOutAction) HasCooldownPeriod

func (o *GroupPolicyScaleOutAction) HasCooldownPeriod() bool

HasCooldownPeriod returns a boolean if a field has been set.

func (GroupPolicyScaleOutAction) MarshalJSON

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

func (*GroupPolicyScaleOutAction) SetAmount

func (o *GroupPolicyScaleOutAction) SetAmount(v float32)

SetAmount sets field value

func (*GroupPolicyScaleOutAction) SetAmountType

func (o *GroupPolicyScaleOutAction) SetAmountType(v ActionAmount)

SetAmountType sets field value

func (*GroupPolicyScaleOutAction) SetCooldownPeriod

func (o *GroupPolicyScaleOutAction) SetCooldownPeriod(v string)

SetCooldownPeriod sets field value

type GroupPost

type GroupPost struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href       *string            `json:"href,omitempty"`
	Metadata   *Metadata          `json:"metadata,omitempty"`
	Properties *GroupProperties   `json:"properties"`
	Entities   *GroupPostEntities `json:"entities,omitempty"`
}

GroupPost A group of virtual servers where the number of replicas can be scaled automatically.

func NewGroupPost

func NewGroupPost(id string, properties GroupProperties) *GroupPost

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

func NewGroupPostWithDefaults

func NewGroupPostWithDefaults() *GroupPost

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

func (*GroupPost) GetEntities

func (o *GroupPost) GetEntities() *GroupPostEntities

GetEntities returns the Entities field value If the value is explicit nil, the zero value for GroupPostEntities will be returned

func (*GroupPost) GetEntitiesOk

func (o *GroupPost) GetEntitiesOk() (*GroupPostEntities, bool)

GetEntitiesOk returns a tuple with the Entities field value 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 (*GroupPost) GetHref

func (o *GroupPost) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPost) GetHrefOk

func (o *GroupPost) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*GroupPost) GetId

func (o *GroupPost) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPost) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*GroupPost) GetMetadata

func (o *GroupPost) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*GroupPost) GetMetadataOk

func (o *GroupPost) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value 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 (*GroupPost) GetProperties

func (o *GroupPost) GetProperties() *GroupProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for GroupProperties will be returned

func (*GroupPost) GetPropertiesOk

func (o *GroupPost) GetPropertiesOk() (*GroupProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value 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 (*GroupPost) GetType

func (o *GroupPost) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPost) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*GroupPost) HasEntities

func (o *GroupPost) HasEntities() bool

HasEntities returns a boolean if a field has been set.

func (*GroupPost) HasHref

func (o *GroupPost) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GroupPost) HasId

func (o *GroupPost) HasId() bool

HasId returns a boolean if a field has been set.

func (*GroupPost) HasMetadata

func (o *GroupPost) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GroupPost) HasProperties

func (o *GroupPost) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*GroupPost) HasType

func (o *GroupPost) HasType() bool

HasType returns a boolean if a field has been set.

func (GroupPost) MarshalJSON

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

func (*GroupPost) SetEntities

func (o *GroupPost) SetEntities(v GroupPostEntities)

SetEntities sets field value

func (*GroupPost) SetHref

func (o *GroupPost) SetHref(v string)

SetHref sets field value

func (*GroupPost) SetId

func (o *GroupPost) SetId(v string)

SetId sets field value

func (*GroupPost) SetMetadata

func (o *GroupPost) SetMetadata(v Metadata)

SetMetadata sets field value

func (*GroupPost) SetProperties

func (o *GroupPost) SetProperties(v GroupProperties)

SetProperties sets field value

func (*GroupPost) SetType

func (o *GroupPost) SetType(v string)

SetType sets field value

type GroupPostEntities

type GroupPostEntities struct {
	Actions *ActionsLinkResource `json:"actions,omitempty"`
	Servers *ServersLinkResource `json:"servers,omitempty"`
}

GroupPostEntities The entities associated with this resource. The content depends on the resource type.

func NewGroupPostEntities

func NewGroupPostEntities() *GroupPostEntities

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

func NewGroupPostEntitiesWithDefaults

func NewGroupPostEntitiesWithDefaults() *GroupPostEntities

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

func (*GroupPostEntities) GetActions

func (o *GroupPostEntities) GetActions() *ActionsLinkResource

GetActions returns the Actions field value If the value is explicit nil, the zero value for ActionsLinkResource will be returned

func (*GroupPostEntities) GetActionsOk

func (o *GroupPostEntities) GetActionsOk() (*ActionsLinkResource, bool)

GetActionsOk returns a tuple with the Actions field value 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 (*GroupPostEntities) GetServers

func (o *GroupPostEntities) GetServers() *ServersLinkResource

GetServers returns the Servers field value If the value is explicit nil, the zero value for ServersLinkResource will be returned

func (*GroupPostEntities) GetServersOk

func (o *GroupPostEntities) GetServersOk() (*ServersLinkResource, bool)

GetServersOk returns a tuple with the Servers field value 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 (*GroupPostEntities) HasActions

func (o *GroupPostEntities) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*GroupPostEntities) HasServers

func (o *GroupPostEntities) HasServers() bool

HasServers returns a boolean if a field has been set.

func (GroupPostEntities) MarshalJSON

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

func (*GroupPostEntities) SetActions

func (o *GroupPostEntities) SetActions(v ActionsLinkResource)

SetActions sets field value

func (*GroupPostEntities) SetServers

func (o *GroupPostEntities) SetServers(v ServersLinkResource)

SetServers sets field value

type GroupPostResponse

type GroupPostResponse struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href       *string            `json:"href,omitempty"`
	Metadata   *Metadata          `json:"metadata,omitempty"`
	Properties *GroupProperties   `json:"properties"`
	Entities   *GroupPostEntities `json:"entities,omitempty"`
	// Any background activity caused by this request. You can use this to track the progress of such activities.
	StartedActions *[]ActionResource `json:"startedActions,omitempty"`
}

GroupPostResponse A group of virtual servers where the number of replicas can be scaled automatically.

func NewGroupPostResponse

func NewGroupPostResponse(id string, properties GroupProperties) *GroupPostResponse

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

func NewGroupPostResponseWithDefaults

func NewGroupPostResponseWithDefaults() *GroupPostResponse

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

func (*GroupPostResponse) GetEntities

func (o *GroupPostResponse) GetEntities() *GroupPostEntities

GetEntities returns the Entities field value If the value is explicit nil, the zero value for GroupPostEntities will be returned

func (*GroupPostResponse) GetEntitiesOk

func (o *GroupPostResponse) GetEntitiesOk() (*GroupPostEntities, bool)

GetEntitiesOk returns a tuple with the Entities field value 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 (*GroupPostResponse) GetHref

func (o *GroupPostResponse) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPostResponse) GetHrefOk

func (o *GroupPostResponse) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*GroupPostResponse) GetId

func (o *GroupPostResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPostResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*GroupPostResponse) GetMetadata

func (o *GroupPostResponse) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*GroupPostResponse) GetMetadataOk

func (o *GroupPostResponse) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value 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 (*GroupPostResponse) GetProperties

func (o *GroupPostResponse) GetProperties() *GroupProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for GroupProperties will be returned

func (*GroupPostResponse) GetPropertiesOk

func (o *GroupPostResponse) GetPropertiesOk() (*GroupProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value 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 (*GroupPostResponse) GetStartedActions

func (o *GroupPostResponse) GetStartedActions() *[]ActionResource

GetStartedActions returns the StartedActions field value If the value is explicit nil, the zero value for []ActionResource will be returned

func (*GroupPostResponse) GetStartedActionsOk

func (o *GroupPostResponse) GetStartedActionsOk() (*[]ActionResource, bool)

GetStartedActionsOk returns a tuple with the StartedActions field value 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 (*GroupPostResponse) GetType

func (o *GroupPostResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPostResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*GroupPostResponse) HasEntities

func (o *GroupPostResponse) HasEntities() bool

HasEntities returns a boolean if a field has been set.

func (*GroupPostResponse) HasHref

func (o *GroupPostResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GroupPostResponse) HasId

func (o *GroupPostResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*GroupPostResponse) HasMetadata

func (o *GroupPostResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GroupPostResponse) HasProperties

func (o *GroupPostResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*GroupPostResponse) HasStartedActions

func (o *GroupPostResponse) HasStartedActions() bool

HasStartedActions returns a boolean if a field has been set.

func (*GroupPostResponse) HasType

func (o *GroupPostResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (GroupPostResponse) MarshalJSON

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

func (*GroupPostResponse) SetEntities

func (o *GroupPostResponse) SetEntities(v GroupPostEntities)

SetEntities sets field value

func (*GroupPostResponse) SetHref

func (o *GroupPostResponse) SetHref(v string)

SetHref sets field value

func (*GroupPostResponse) SetId

func (o *GroupPostResponse) SetId(v string)

SetId sets field value

func (*GroupPostResponse) SetMetadata

func (o *GroupPostResponse) SetMetadata(v Metadata)

SetMetadata sets field value

func (*GroupPostResponse) SetProperties

func (o *GroupPostResponse) SetProperties(v GroupProperties)

SetProperties sets field value

func (*GroupPostResponse) SetStartedActions

func (o *GroupPostResponse) SetStartedActions(v []ActionResource)

SetStartedActions sets field value

func (*GroupPostResponse) SetType

func (o *GroupPostResponse) SetType(v string)

SetType sets field value

type GroupProperties

type GroupProperties struct {
	Datacenter *GroupPropertiesDatacenter `json:"datacenter,omitempty"`
	// The data center location.
	Location *string `json:"location"`
	// The maximum value for the number of replicas. Must be >= 0 and <= 100. Will be enforced for both automatic and manual changes.
	MaxReplicaCount *int64 `json:"maxReplicaCount,omitempty"`
	// The minimum value for the number of replicas. Must be >= 0 and <= 100. Will be enforced for both automatic and manual changes
	MinReplicaCount *int64 `json:"minReplicaCount,omitempty"`
	// The name of the VM Auto Scaling Group. This field must not be null or blank.
	Name                 *string                `json:"name,omitempty"`
	Policy               *GroupPolicy           `json:"policy,omitempty"`
	ReplicaConfiguration *ReplicaPropertiesPost `json:"replicaConfiguration,omitempty"`
}

GroupProperties struct for GroupProperties

func NewGroupProperties

func NewGroupProperties(location string) *GroupProperties

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

func NewGroupPropertiesWithDefaults

func NewGroupPropertiesWithDefaults() *GroupProperties

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

func (*GroupProperties) GetDatacenter

func (o *GroupProperties) GetDatacenter() *GroupPropertiesDatacenter

GetDatacenter returns the Datacenter field value If the value is explicit nil, the zero value for GroupPropertiesDatacenter will be returned

func (*GroupProperties) GetDatacenterOk

func (o *GroupProperties) GetDatacenterOk() (*GroupPropertiesDatacenter, bool)

GetDatacenterOk returns a tuple with the Datacenter field value 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 (*GroupProperties) GetLocation

func (o *GroupProperties) GetLocation() *string

GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned

func (*GroupProperties) GetLocationOk

func (o *GroupProperties) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value 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 (*GroupProperties) GetMaxReplicaCount

func (o *GroupProperties) GetMaxReplicaCount() *int64

GetMaxReplicaCount returns the MaxReplicaCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*GroupProperties) GetMaxReplicaCountOk

func (o *GroupProperties) GetMaxReplicaCountOk() (*int64, bool)

GetMaxReplicaCountOk returns a tuple with the MaxReplicaCount field value 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 (*GroupProperties) GetMinReplicaCount

func (o *GroupProperties) GetMinReplicaCount() *int64

GetMinReplicaCount returns the MinReplicaCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*GroupProperties) GetMinReplicaCountOk

func (o *GroupProperties) GetMinReplicaCountOk() (*int64, bool)

GetMinReplicaCountOk returns a tuple with the MinReplicaCount field value 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 (*GroupProperties) GetName

func (o *GroupProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*GroupProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*GroupProperties) GetPolicy

func (o *GroupProperties) GetPolicy() *GroupPolicy

GetPolicy returns the Policy field value If the value is explicit nil, the zero value for GroupPolicy will be returned

func (*GroupProperties) GetPolicyOk

func (o *GroupProperties) GetPolicyOk() (*GroupPolicy, bool)

GetPolicyOk returns a tuple with the Policy field value 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 (*GroupProperties) GetReplicaConfiguration

func (o *GroupProperties) GetReplicaConfiguration() *ReplicaPropertiesPost

GetReplicaConfiguration returns the ReplicaConfiguration field value If the value is explicit nil, the zero value for ReplicaPropertiesPost will be returned

func (*GroupProperties) GetReplicaConfigurationOk

func (o *GroupProperties) GetReplicaConfigurationOk() (*ReplicaPropertiesPost, bool)

GetReplicaConfigurationOk returns a tuple with the ReplicaConfiguration field value 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 (*GroupProperties) HasDatacenter

func (o *GroupProperties) HasDatacenter() bool

HasDatacenter returns a boolean if a field has been set.

func (*GroupProperties) HasLocation

func (o *GroupProperties) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*GroupProperties) HasMaxReplicaCount

func (o *GroupProperties) HasMaxReplicaCount() bool

HasMaxReplicaCount returns a boolean if a field has been set.

func (*GroupProperties) HasMinReplicaCount

func (o *GroupProperties) HasMinReplicaCount() bool

HasMinReplicaCount returns a boolean if a field has been set.

func (*GroupProperties) HasName

func (o *GroupProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*GroupProperties) HasPolicy

func (o *GroupProperties) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (*GroupProperties) HasReplicaConfiguration

func (o *GroupProperties) HasReplicaConfiguration() bool

HasReplicaConfiguration returns a boolean if a field has been set.

func (GroupProperties) MarshalJSON

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

func (*GroupProperties) SetDatacenter

func (o *GroupProperties) SetDatacenter(v GroupPropertiesDatacenter)

SetDatacenter sets field value

func (*GroupProperties) SetLocation

func (o *GroupProperties) SetLocation(v string)

SetLocation sets field value

func (*GroupProperties) SetMaxReplicaCount

func (o *GroupProperties) SetMaxReplicaCount(v int64)

SetMaxReplicaCount sets field value

func (*GroupProperties) SetMinReplicaCount

func (o *GroupProperties) SetMinReplicaCount(v int64)

SetMinReplicaCount sets field value

func (*GroupProperties) SetName

func (o *GroupProperties) SetName(v string)

SetName sets field value

func (*GroupProperties) SetPolicy

func (o *GroupProperties) SetPolicy(v GroupPolicy)

SetPolicy sets field value

func (*GroupProperties) SetReplicaConfiguration

func (o *GroupProperties) SetReplicaConfiguration(v ReplicaPropertiesPost)

SetReplicaConfiguration sets field value

type GroupPropertiesDatacenter

type GroupPropertiesDatacenter struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

GroupPropertiesDatacenter The VMs for this VM Auto Scaling Description are created in this virtual data center.

func NewGroupPropertiesDatacenter

func NewGroupPropertiesDatacenter(id string) *GroupPropertiesDatacenter

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

func NewGroupPropertiesDatacenterWithDefaults

func NewGroupPropertiesDatacenterWithDefaults() *GroupPropertiesDatacenter

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

func (*GroupPropertiesDatacenter) GetHref

func (o *GroupPropertiesDatacenter) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPropertiesDatacenter) GetHrefOk

func (o *GroupPropertiesDatacenter) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*GroupPropertiesDatacenter) GetId

func (o *GroupPropertiesDatacenter) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPropertiesDatacenter) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*GroupPropertiesDatacenter) GetType

func (o *GroupPropertiesDatacenter) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPropertiesDatacenter) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*GroupPropertiesDatacenter) HasHref

func (o *GroupPropertiesDatacenter) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GroupPropertiesDatacenter) HasId

func (o *GroupPropertiesDatacenter) HasId() bool

HasId returns a boolean if a field has been set.

func (*GroupPropertiesDatacenter) HasType

func (o *GroupPropertiesDatacenter) HasType() bool

HasType returns a boolean if a field has been set.

func (GroupPropertiesDatacenter) MarshalJSON

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

func (*GroupPropertiesDatacenter) SetHref

func (o *GroupPropertiesDatacenter) SetHref(v string)

SetHref sets field value

func (*GroupPropertiesDatacenter) SetId

func (o *GroupPropertiesDatacenter) SetId(v string)

SetId sets field value

func (*GroupPropertiesDatacenter) SetType

func (o *GroupPropertiesDatacenter) SetType(v string)

SetType sets field value

type GroupPut

type GroupPut struct {
	Properties *GroupPutProperties `json:"properties"`
}

GroupPut The update request for a VM Auto Scaling Group.

func NewGroupPut

func NewGroupPut(properties GroupPutProperties) *GroupPut

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

func NewGroupPutWithDefaults

func NewGroupPutWithDefaults() *GroupPut

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

func (*GroupPut) GetProperties

func (o *GroupPut) GetProperties() *GroupPutProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for GroupPutProperties will be returned

func (*GroupPut) GetPropertiesOk

func (o *GroupPut) GetPropertiesOk() (*GroupPutProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value 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 (*GroupPut) HasProperties

func (o *GroupPut) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (GroupPut) MarshalJSON

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

func (*GroupPut) SetProperties

func (o *GroupPut) SetProperties(v GroupPutProperties)

SetProperties sets field value

type GroupPutProperties

type GroupPutProperties struct {
	Datacenter *GroupPutPropertiesDatacenter `json:"datacenter,omitempty"`
	// The data center location.
	Location *string `json:"location"`
	// The maximum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes.
	MaxReplicaCount *int64 `json:"maxReplicaCount"`
	// The minimum value for the number of replicas on a VM Auto Scaling Group. Must be >= 0 and <= 200. Will be enforced for both automatic and manual changes
	MinReplicaCount *int64 `json:"minReplicaCount"`
	// The name of the VM Auto Scaling Group. This field must not be null or blank.
	Name                 *string                `json:"name"`
	Policy               *GroupPolicy           `json:"policy"`
	ReplicaConfiguration *ReplicaPropertiesPost `json:"replicaConfiguration"`
}

GroupPutProperties struct for GroupPutProperties

func NewGroupPutProperties

func NewGroupPutProperties(location string, maxReplicaCount int64, minReplicaCount int64, name string, policy GroupPolicy, replicaConfiguration ReplicaPropertiesPost) *GroupPutProperties

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

func NewGroupPutPropertiesWithDefaults

func NewGroupPutPropertiesWithDefaults() *GroupPutProperties

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

func (*GroupPutProperties) GetDatacenter

GetDatacenter returns the Datacenter field value If the value is explicit nil, the zero value for GroupPutPropertiesDatacenter will be returned

func (*GroupPutProperties) GetDatacenterOk

func (o *GroupPutProperties) GetDatacenterOk() (*GroupPutPropertiesDatacenter, bool)

GetDatacenterOk returns a tuple with the Datacenter field value 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 (*GroupPutProperties) GetLocation

func (o *GroupPutProperties) GetLocation() *string

GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPutProperties) GetLocationOk

func (o *GroupPutProperties) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value 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 (*GroupPutProperties) GetMaxReplicaCount

func (o *GroupPutProperties) GetMaxReplicaCount() *int64

GetMaxReplicaCount returns the MaxReplicaCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*GroupPutProperties) GetMaxReplicaCountOk

func (o *GroupPutProperties) GetMaxReplicaCountOk() (*int64, bool)

GetMaxReplicaCountOk returns a tuple with the MaxReplicaCount field value 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 (*GroupPutProperties) GetMinReplicaCount

func (o *GroupPutProperties) GetMinReplicaCount() *int64

GetMinReplicaCount returns the MinReplicaCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*GroupPutProperties) GetMinReplicaCountOk

func (o *GroupPutProperties) GetMinReplicaCountOk() (*int64, bool)

GetMinReplicaCountOk returns a tuple with the MinReplicaCount field value 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 (*GroupPutProperties) GetName

func (o *GroupPutProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPutProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*GroupPutProperties) GetPolicy

func (o *GroupPutProperties) GetPolicy() *GroupPolicy

GetPolicy returns the Policy field value If the value is explicit nil, the zero value for GroupPolicy will be returned

func (*GroupPutProperties) GetPolicyOk

func (o *GroupPutProperties) GetPolicyOk() (*GroupPolicy, bool)

GetPolicyOk returns a tuple with the Policy field value 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 (*GroupPutProperties) GetReplicaConfiguration

func (o *GroupPutProperties) GetReplicaConfiguration() *ReplicaPropertiesPost

GetReplicaConfiguration returns the ReplicaConfiguration field value If the value is explicit nil, the zero value for ReplicaPropertiesPost will be returned

func (*GroupPutProperties) GetReplicaConfigurationOk

func (o *GroupPutProperties) GetReplicaConfigurationOk() (*ReplicaPropertiesPost, bool)

GetReplicaConfigurationOk returns a tuple with the ReplicaConfiguration field value 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 (*GroupPutProperties) HasDatacenter

func (o *GroupPutProperties) HasDatacenter() bool

HasDatacenter returns a boolean if a field has been set.

func (*GroupPutProperties) HasLocation

func (o *GroupPutProperties) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*GroupPutProperties) HasMaxReplicaCount

func (o *GroupPutProperties) HasMaxReplicaCount() bool

HasMaxReplicaCount returns a boolean if a field has been set.

func (*GroupPutProperties) HasMinReplicaCount

func (o *GroupPutProperties) HasMinReplicaCount() bool

HasMinReplicaCount returns a boolean if a field has been set.

func (*GroupPutProperties) HasName

func (o *GroupPutProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*GroupPutProperties) HasPolicy

func (o *GroupPutProperties) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (*GroupPutProperties) HasReplicaConfiguration

func (o *GroupPutProperties) HasReplicaConfiguration() bool

HasReplicaConfiguration returns a boolean if a field has been set.

func (GroupPutProperties) MarshalJSON

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

func (*GroupPutProperties) SetDatacenter

SetDatacenter sets field value

func (*GroupPutProperties) SetLocation

func (o *GroupPutProperties) SetLocation(v string)

SetLocation sets field value

func (*GroupPutProperties) SetMaxReplicaCount

func (o *GroupPutProperties) SetMaxReplicaCount(v int64)

SetMaxReplicaCount sets field value

func (*GroupPutProperties) SetMinReplicaCount

func (o *GroupPutProperties) SetMinReplicaCount(v int64)

SetMinReplicaCount sets field value

func (*GroupPutProperties) SetName

func (o *GroupPutProperties) SetName(v string)

SetName sets field value

func (*GroupPutProperties) SetPolicy

func (o *GroupPutProperties) SetPolicy(v GroupPolicy)

SetPolicy sets field value

func (*GroupPutProperties) SetReplicaConfiguration

func (o *GroupPutProperties) SetReplicaConfiguration(v ReplicaPropertiesPost)

SetReplicaConfiguration sets field value

type GroupPutPropertiesDatacenter

type GroupPutPropertiesDatacenter struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

GroupPutPropertiesDatacenter The VMs for this VM Auto Scaling Group are created in this virtual data center.

func NewGroupPutPropertiesDatacenter

func NewGroupPutPropertiesDatacenter(id string) *GroupPutPropertiesDatacenter

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

func NewGroupPutPropertiesDatacenterWithDefaults

func NewGroupPutPropertiesDatacenterWithDefaults() *GroupPutPropertiesDatacenter

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

func (*GroupPutPropertiesDatacenter) GetHref

func (o *GroupPutPropertiesDatacenter) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPutPropertiesDatacenter) GetHrefOk

func (o *GroupPutPropertiesDatacenter) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*GroupPutPropertiesDatacenter) GetId

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPutPropertiesDatacenter) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*GroupPutPropertiesDatacenter) GetType

func (o *GroupPutPropertiesDatacenter) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupPutPropertiesDatacenter) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*GroupPutPropertiesDatacenter) HasHref

func (o *GroupPutPropertiesDatacenter) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GroupPutPropertiesDatacenter) HasId

HasId returns a boolean if a field has been set.

func (*GroupPutPropertiesDatacenter) HasType

func (o *GroupPutPropertiesDatacenter) HasType() bool

HasType returns a boolean if a field has been set.

func (GroupPutPropertiesDatacenter) MarshalJSON

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

func (*GroupPutPropertiesDatacenter) SetHref

func (o *GroupPutPropertiesDatacenter) SetHref(v string)

SetHref sets field value

func (*GroupPutPropertiesDatacenter) SetId

SetId sets field value

func (*GroupPutPropertiesDatacenter) SetType

func (o *GroupPutPropertiesDatacenter) SetType(v string)

SetType sets field value

type GroupResource

type GroupResource struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

GroupResource struct for GroupResource

func NewGroupResource

func NewGroupResource(id string) *GroupResource

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

func NewGroupResourceWithDefaults

func NewGroupResourceWithDefaults() *GroupResource

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

func (*GroupResource) GetHref

func (o *GroupResource) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResource) GetHrefOk

func (o *GroupResource) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*GroupResource) GetId

func (o *GroupResource) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResource) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*GroupResource) GetType

func (o *GroupResource) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResource) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*GroupResource) HasHref

func (o *GroupResource) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GroupResource) HasId

func (o *GroupResource) HasId() bool

HasId returns a boolean if a field has been set.

func (*GroupResource) HasType

func (o *GroupResource) HasType() bool

HasType returns a boolean if a field has been set.

func (GroupResource) MarshalJSON

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

func (*GroupResource) SetHref

func (o *GroupResource) SetHref(v string)

SetHref sets field value

func (*GroupResource) SetId

func (o *GroupResource) SetId(v string)

SetId sets field value

func (*GroupResource) SetType

func (o *GroupResource) SetType(v string)

SetType sets field value

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type LogLevel

type LogLevel uint
const (
	Off LogLevel = 0x100 * iota
	Debug
	// Trace We recommend you only set this field for debugging purposes.
	// Disable it in your production environments because it can log sensitive data.
	// It logs the full request and response without encryption, even for an HTTPS call.
	// Verbose request and response logging can also significantly impact your application's performance.
	Trace
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

type Logger

type Logger interface {
	Printf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger() Logger

type Metadata

type Metadata struct {
	// The user who created the resource.
	CreatedBy *string `json:"createdBy"`
	// The ID of the user who created the resource.
	CreatedByUserId *string `json:"createdByUserId"`
	// The date the resource was created.
	CreatedDate *IonosTime `json:"createdDate"`
	// The resource etag.
	Etag *string `json:"etag"`
	// The last user who modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy"`
	// The ID of the last user who modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId"`
	// The date the resource was last modified.
	LastModifiedDate *IonosTime     `json:"lastModifiedDate"`
	State            *MetadataState `json:"state"`
}

Metadata The resource metadata.

func NewMetadata

func NewMetadata(createdBy string, createdByUserId string, createdDate time.Time, etag string, lastModifiedBy string, lastModifiedByUserId string, lastModifiedDate time.Time, state MetadataState) *Metadata

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

func NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

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

func (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value 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 (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value 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 (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value 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 (*Metadata) GetEtag

func (o *Metadata) GetEtag() *string

GetEtag returns the Etag field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetEtagOk

func (o *Metadata) GetEtagOk() (*string, bool)

GetEtagOk returns a tuple with the Etag field value 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 (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value 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 (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value 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 (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value 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 (*Metadata) GetState

func (o *Metadata) GetState() *MetadataState

GetState returns the State field value If the value is explicit nil, the zero value for MetadataState will be returned

func (*Metadata) GetStateOk

func (o *Metadata) GetStateOk() (*MetadataState, bool)

GetStateOk returns a tuple with the State field value 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 (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasEtag

func (o *Metadata) HasEtag() bool

HasEtag returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasState

func (o *Metadata) HasState() bool

HasState returns a boolean if a field has been set.

func (Metadata) MarshalJSON

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

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetEtag

func (o *Metadata) SetEtag(v string)

SetEtag sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetState

func (o *Metadata) SetState(v MetadataState)

SetState sets field value

type MetadataBasic

type MetadataBasic struct {
	// The date the resource was created.
	CreatedDate *IonosTime `json:"createdDate"`
	// The resource etag.
	Etag *string `json:"etag"`
	// The date the resource was last modified.
	LastModifiedDate *IonosTime `json:"lastModifiedDate"`
	// The resource state.
	State *string `json:"state"`
}

MetadataBasic The resource metadata.

func NewMetadataBasic

func NewMetadataBasic(createdDate time.Time, etag string, lastModifiedDate time.Time, state string) *MetadataBasic

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

func NewMetadataBasicWithDefaults

func NewMetadataBasicWithDefaults() *MetadataBasic

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

func (*MetadataBasic) GetCreatedDate

func (o *MetadataBasic) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MetadataBasic) GetCreatedDateOk

func (o *MetadataBasic) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value 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 (*MetadataBasic) GetEtag

func (o *MetadataBasic) GetEtag() *string

GetEtag returns the Etag field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataBasic) GetEtagOk

func (o *MetadataBasic) GetEtagOk() (*string, bool)

GetEtagOk returns a tuple with the Etag field value 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 (*MetadataBasic) GetLastModifiedDate

func (o *MetadataBasic) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MetadataBasic) GetLastModifiedDateOk

func (o *MetadataBasic) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value 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 (*MetadataBasic) GetState

func (o *MetadataBasic) GetState() *string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataBasic) GetStateOk

func (o *MetadataBasic) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value 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 (*MetadataBasic) HasCreatedDate

func (o *MetadataBasic) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataBasic) HasEtag

func (o *MetadataBasic) HasEtag() bool

HasEtag returns a boolean if a field has been set.

func (*MetadataBasic) HasLastModifiedDate

func (o *MetadataBasic) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataBasic) HasState

func (o *MetadataBasic) HasState() bool

HasState returns a boolean if a field has been set.

func (MetadataBasic) MarshalJSON

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

func (*MetadataBasic) SetCreatedDate

func (o *MetadataBasic) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*MetadataBasic) SetEtag

func (o *MetadataBasic) SetEtag(v string)

SetEtag sets field value

func (*MetadataBasic) SetLastModifiedDate

func (o *MetadataBasic) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*MetadataBasic) SetState

func (o *MetadataBasic) SetState(v string)

SetState sets field value

type MetadataState

type MetadataState string

MetadataState The resource state.

const (
	METADATASTATE_AVAILABLE MetadataState = "AVAILABLE"
	METADATASTATE_BUSY      MetadataState = "BUSY"
	METADATASTATE_INACTIVE  MetadataState = "INACTIVE"
	METADATASTATE_SUSPENDED MetadataState = "SUSPENDED"
)

List of MetadataState

func (MetadataState) Ptr

func (v MetadataState) Ptr() *MetadataState

Ptr returns reference to MetadataState value

func (*MetadataState) UnmarshalJSON

func (v *MetadataState) UnmarshalJSON(src []byte) error

type Metric

type Metric string

Metric The metric that triggers the scaling actions. Metric values are checked at fixed intervals.

const (
	METRIC_CPU_UTILIZATION_AVERAGE Metric = "INSTANCE_CPU_UTILIZATION_AVERAGE"
	METRIC_NETWORK_IN_BYTES        Metric = "INSTANCE_NETWORK_IN_BYTES"
	METRIC_NETWORK_IN_PACKETS      Metric = "INSTANCE_NETWORK_IN_PACKETS"
	METRIC_NETWORK_OUT_BYTES       Metric = "INSTANCE_NETWORK_OUT_BYTES"
	METRIC_NETWORK_OUT_PACKETS     Metric = "INSTANCE_NETWORK_OUT_PACKETS"
)

List of Metric

func (Metric) Ptr

func (v Metric) Ptr() *Metric

Ptr returns reference to Metric value

func (*Metric) UnmarshalJSON

func (v *Metric) UnmarshalJSON(src []byte) error

type NicFirewallRule

type NicFirewallRule struct {
	// The name of the firewall rule.
	Name *string `json:"name,omitempty"`
	// The protocol for the rule. The property cannot be modified after its creation (not allowed in update requests).
	Protocol *string `json:"protocol"`
	// Only traffic originating from the respective MAC address is permitted. Valid format: 'aa:bb:cc:dd:ee:ff'. The value 'null' allows traffic from any MAC address.
	SourceMac *string `json:"sourceMac,omitempty"`
	// Only traffic originating from the respective IPv4 address is permitted. The value 'null' allows traffic from any IP address.
	SourceIp *string `json:"sourceIp,omitempty"`
	// If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. The value 'null' allows traffic to any target IP address.
	TargetIp *string `json:"targetIp,omitempty"`
	// Sets the allowed code (from 0 to 254) when ICMP protocol is selected. The value 'null” allows all codes.
	IcmpCode *int32 `json:"icmpCode,omitempty"`
	// Sets the allowed type (from 0 to 254) if the protocol ICMP is selected. The value 'null' allows all types.
	IcmpType *int32 `json:"icmpType,omitempty"`
	// Sets the initial range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'portRangeStart' and 'portRangeEnd' allows all ports.
	PortRangeStart *int32 `json:"portRangeStart,omitempty"`
	// Sets the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is selected. The value 'null' for 'portRangeStart' and 'portRangeEnd' allows all ports.
	PortRangeEnd *int32 `json:"portRangeEnd,omitempty"`
	// The firewall rule type. If not specified, the default value 'INGRESS' is used.
	Type *string `json:"type,omitempty"`
}

NicFirewallRule struct for NicFirewallRule

func NewNicFirewallRule

func NewNicFirewallRule(protocol string) *NicFirewallRule

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

func NewNicFirewallRuleWithDefaults

func NewNicFirewallRuleWithDefaults() *NicFirewallRule

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

func (*NicFirewallRule) GetIcmpCode

func (o *NicFirewallRule) GetIcmpCode() *int32

GetIcmpCode returns the IcmpCode field value If the value is explicit nil, the zero value for int32 will be returned

func (*NicFirewallRule) GetIcmpCodeOk

func (o *NicFirewallRule) GetIcmpCodeOk() (*int32, bool)

GetIcmpCodeOk returns a tuple with the IcmpCode field value 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 (*NicFirewallRule) GetIcmpType

func (o *NicFirewallRule) GetIcmpType() *int32

GetIcmpType returns the IcmpType field value If the value is explicit nil, the zero value for int32 will be returned

func (*NicFirewallRule) GetIcmpTypeOk

func (o *NicFirewallRule) GetIcmpTypeOk() (*int32, bool)

GetIcmpTypeOk returns a tuple with the IcmpType field value 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 (*NicFirewallRule) GetName

func (o *NicFirewallRule) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*NicFirewallRule) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*NicFirewallRule) GetPortRangeEnd

func (o *NicFirewallRule) GetPortRangeEnd() *int32

GetPortRangeEnd returns the PortRangeEnd field value If the value is explicit nil, the zero value for int32 will be returned

func (*NicFirewallRule) GetPortRangeEndOk

func (o *NicFirewallRule) GetPortRangeEndOk() (*int32, bool)

GetPortRangeEndOk returns a tuple with the PortRangeEnd field value 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 (*NicFirewallRule) GetPortRangeStart

func (o *NicFirewallRule) GetPortRangeStart() *int32

GetPortRangeStart returns the PortRangeStart field value If the value is explicit nil, the zero value for int32 will be returned

func (*NicFirewallRule) GetPortRangeStartOk

func (o *NicFirewallRule) GetPortRangeStartOk() (*int32, bool)

GetPortRangeStartOk returns a tuple with the PortRangeStart field value 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 (*NicFirewallRule) GetProtocol

func (o *NicFirewallRule) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*NicFirewallRule) GetProtocolOk

func (o *NicFirewallRule) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value 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 (*NicFirewallRule) GetSourceIp

func (o *NicFirewallRule) GetSourceIp() *string

GetSourceIp returns the SourceIp field value If the value is explicit nil, the zero value for string will be returned

func (*NicFirewallRule) GetSourceIpOk

func (o *NicFirewallRule) GetSourceIpOk() (*string, bool)

GetSourceIpOk returns a tuple with the SourceIp field value 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 (*NicFirewallRule) GetSourceMac

func (o *NicFirewallRule) GetSourceMac() *string

GetSourceMac returns the SourceMac field value If the value is explicit nil, the zero value for string will be returned

func (*NicFirewallRule) GetSourceMacOk

func (o *NicFirewallRule) GetSourceMacOk() (*string, bool)

GetSourceMacOk returns a tuple with the SourceMac field value 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 (*NicFirewallRule) GetTargetIp

func (o *NicFirewallRule) GetTargetIp() *string

GetTargetIp returns the TargetIp field value If the value is explicit nil, the zero value for string will be returned

func (*NicFirewallRule) GetTargetIpOk

func (o *NicFirewallRule) GetTargetIpOk() (*string, bool)

GetTargetIpOk returns a tuple with the TargetIp field value 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 (*NicFirewallRule) GetType

func (o *NicFirewallRule) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*NicFirewallRule) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*NicFirewallRule) HasIcmpCode

func (o *NicFirewallRule) HasIcmpCode() bool

HasIcmpCode returns a boolean if a field has been set.

func (*NicFirewallRule) HasIcmpType

func (o *NicFirewallRule) HasIcmpType() bool

HasIcmpType returns a boolean if a field has been set.

func (*NicFirewallRule) HasName

func (o *NicFirewallRule) HasName() bool

HasName returns a boolean if a field has been set.

func (*NicFirewallRule) HasPortRangeEnd

func (o *NicFirewallRule) HasPortRangeEnd() bool

HasPortRangeEnd returns a boolean if a field has been set.

func (*NicFirewallRule) HasPortRangeStart

func (o *NicFirewallRule) HasPortRangeStart() bool

HasPortRangeStart returns a boolean if a field has been set.

func (*NicFirewallRule) HasProtocol

func (o *NicFirewallRule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*NicFirewallRule) HasSourceIp

func (o *NicFirewallRule) HasSourceIp() bool

HasSourceIp returns a boolean if a field has been set.

func (*NicFirewallRule) HasSourceMac

func (o *NicFirewallRule) HasSourceMac() bool

HasSourceMac returns a boolean if a field has been set.

func (*NicFirewallRule) HasTargetIp

func (o *NicFirewallRule) HasTargetIp() bool

HasTargetIp returns a boolean if a field has been set.

func (*NicFirewallRule) HasType

func (o *NicFirewallRule) HasType() bool

HasType returns a boolean if a field has been set.

func (NicFirewallRule) MarshalJSON

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

func (*NicFirewallRule) SetIcmpCode

func (o *NicFirewallRule) SetIcmpCode(v int32)

SetIcmpCode sets field value

func (*NicFirewallRule) SetIcmpType

func (o *NicFirewallRule) SetIcmpType(v int32)

SetIcmpType sets field value

func (*NicFirewallRule) SetName

func (o *NicFirewallRule) SetName(v string)

SetName sets field value

func (*NicFirewallRule) SetPortRangeEnd

func (o *NicFirewallRule) SetPortRangeEnd(v int32)

SetPortRangeEnd sets field value

func (*NicFirewallRule) SetPortRangeStart

func (o *NicFirewallRule) SetPortRangeStart(v int32)

SetPortRangeStart sets field value

func (*NicFirewallRule) SetProtocol

func (o *NicFirewallRule) SetProtocol(v string)

SetProtocol sets field value

func (*NicFirewallRule) SetSourceIp

func (o *NicFirewallRule) SetSourceIp(v string)

SetSourceIp sets field value

func (*NicFirewallRule) SetSourceMac

func (o *NicFirewallRule) SetSourceMac(v string)

SetSourceMac sets field value

func (*NicFirewallRule) SetTargetIp

func (o *NicFirewallRule) SetTargetIp(v string)

SetTargetIp sets field value

func (*NicFirewallRule) SetType

func (o *NicFirewallRule) SetType(v string)

SetType sets field value

type NicFlowLog

type NicFlowLog struct {
	// The flow log name.
	Name *string `json:"name"`
	// Specifies the traffic action pattern.
	Action *string `json:"action"`
	// Specifies the traffic direction pattern.
	Direction *string `json:"direction"`
	// The S3 bucket name of an existing IONOS Cloud S3 bucket.
	Bucket *string `json:"bucket"`
}

NicFlowLog struct for NicFlowLog

func NewNicFlowLog

func NewNicFlowLog(name string, action string, direction string, bucket string) *NicFlowLog

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

func NewNicFlowLogWithDefaults

func NewNicFlowLogWithDefaults() *NicFlowLog

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

func (*NicFlowLog) GetAction

func (o *NicFlowLog) GetAction() *string

GetAction returns the Action field value If the value is explicit nil, the zero value for string will be returned

func (*NicFlowLog) GetActionOk

func (o *NicFlowLog) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value 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 (*NicFlowLog) GetBucket

func (o *NicFlowLog) GetBucket() *string

GetBucket returns the Bucket field value If the value is explicit nil, the zero value for string will be returned

func (*NicFlowLog) GetBucketOk

func (o *NicFlowLog) GetBucketOk() (*string, bool)

GetBucketOk returns a tuple with the Bucket field value 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 (*NicFlowLog) GetDirection

func (o *NicFlowLog) GetDirection() *string

GetDirection returns the Direction field value If the value is explicit nil, the zero value for string will be returned

func (*NicFlowLog) GetDirectionOk

func (o *NicFlowLog) GetDirectionOk() (*string, bool)

GetDirectionOk returns a tuple with the Direction field value 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 (*NicFlowLog) GetName

func (o *NicFlowLog) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*NicFlowLog) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*NicFlowLog) HasAction

func (o *NicFlowLog) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*NicFlowLog) HasBucket

func (o *NicFlowLog) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (*NicFlowLog) HasDirection

func (o *NicFlowLog) HasDirection() bool

HasDirection returns a boolean if a field has been set.

func (*NicFlowLog) HasName

func (o *NicFlowLog) HasName() bool

HasName returns a boolean if a field has been set.

func (NicFlowLog) MarshalJSON

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

func (*NicFlowLog) SetAction

func (o *NicFlowLog) SetAction(v string)

SetAction sets field value

func (*NicFlowLog) SetBucket

func (o *NicFlowLog) SetBucket(v string)

SetBucket sets field value

func (*NicFlowLog) SetDirection

func (o *NicFlowLog) SetDirection(v string)

SetDirection sets field value

func (*NicFlowLog) SetName

func (o *NicFlowLog) SetName(v string)

SetName sets field value

type NullableAction

type NullableAction struct {
	// contains filtered or unexported fields
}

func NewNullableAction

func NewNullableAction(val *Action) *NullableAction

func (NullableAction) Get

func (v NullableAction) Get() *Action

func (NullableAction) IsSet

func (v NullableAction) IsSet() bool

func (NullableAction) MarshalJSON

func (v NullableAction) MarshalJSON() ([]byte, error)

func (*NullableAction) Set

func (v *NullableAction) Set(val *Action)

func (*NullableAction) UnmarshalJSON

func (v *NullableAction) UnmarshalJSON(src []byte) error

func (*NullableAction) Unset

func (v *NullableAction) Unset()

type NullableActionAmount

type NullableActionAmount struct {
	// contains filtered or unexported fields
}

func NewNullableActionAmount

func NewNullableActionAmount(val *ActionAmount) *NullableActionAmount

func (NullableActionAmount) Get

func (NullableActionAmount) IsSet

func (v NullableActionAmount) IsSet() bool

func (NullableActionAmount) MarshalJSON

func (v NullableActionAmount) MarshalJSON() ([]byte, error)

func (*NullableActionAmount) Set

func (v *NullableActionAmount) Set(val *ActionAmount)

func (*NullableActionAmount) UnmarshalJSON

func (v *NullableActionAmount) UnmarshalJSON(src []byte) error

func (*NullableActionAmount) Unset

func (v *NullableActionAmount) Unset()

type NullableActionCollection

type NullableActionCollection struct {
	// contains filtered or unexported fields
}

func NewNullableActionCollection

func NewNullableActionCollection(val *ActionCollection) *NullableActionCollection

func (NullableActionCollection) Get

func (NullableActionCollection) IsSet

func (v NullableActionCollection) IsSet() bool

func (NullableActionCollection) MarshalJSON

func (v NullableActionCollection) MarshalJSON() ([]byte, error)

func (*NullableActionCollection) Set

func (*NullableActionCollection) UnmarshalJSON

func (v *NullableActionCollection) UnmarshalJSON(src []byte) error

func (*NullableActionCollection) Unset

func (v *NullableActionCollection) Unset()

type NullableActionProperties

type NullableActionProperties struct {
	// contains filtered or unexported fields
}

func NewNullableActionProperties

func NewNullableActionProperties(val *ActionProperties) *NullableActionProperties

func (NullableActionProperties) Get

func (NullableActionProperties) IsSet

func (v NullableActionProperties) IsSet() bool

func (NullableActionProperties) MarshalJSON

func (v NullableActionProperties) MarshalJSON() ([]byte, error)

func (*NullableActionProperties) Set

func (*NullableActionProperties) UnmarshalJSON

func (v *NullableActionProperties) UnmarshalJSON(src []byte) error

func (*NullableActionProperties) Unset

func (v *NullableActionProperties) Unset()

type NullableActionResource

type NullableActionResource struct {
	// contains filtered or unexported fields
}

func NewNullableActionResource

func NewNullableActionResource(val *ActionResource) *NullableActionResource

func (NullableActionResource) Get

func (NullableActionResource) IsSet

func (v NullableActionResource) IsSet() bool

func (NullableActionResource) MarshalJSON

func (v NullableActionResource) MarshalJSON() ([]byte, error)

func (*NullableActionResource) Set

func (*NullableActionResource) UnmarshalJSON

func (v *NullableActionResource) UnmarshalJSON(src []byte) error

func (*NullableActionResource) Unset

func (v *NullableActionResource) Unset()

type NullableActionStatus

type NullableActionStatus struct {
	// contains filtered or unexported fields
}

func NewNullableActionStatus

func NewNullableActionStatus(val *ActionStatus) *NullableActionStatus

func (NullableActionStatus) Get

func (NullableActionStatus) IsSet

func (v NullableActionStatus) IsSet() bool

func (NullableActionStatus) MarshalJSON

func (v NullableActionStatus) MarshalJSON() ([]byte, error)

func (*NullableActionStatus) Set

func (v *NullableActionStatus) Set(val *ActionStatus)

func (*NullableActionStatus) UnmarshalJSON

func (v *NullableActionStatus) UnmarshalJSON(src []byte) error

func (*NullableActionStatus) Unset

func (v *NullableActionStatus) Unset()

type NullableActionType

type NullableActionType struct {
	// contains filtered or unexported fields
}

func NewNullableActionType

func NewNullableActionType(val *ActionType) *NullableActionType

func (NullableActionType) Get

func (v NullableActionType) Get() *ActionType

func (NullableActionType) IsSet

func (v NullableActionType) IsSet() bool

func (NullableActionType) MarshalJSON

func (v NullableActionType) MarshalJSON() ([]byte, error)

func (*NullableActionType) Set

func (v *NullableActionType) Set(val *ActionType)

func (*NullableActionType) UnmarshalJSON

func (v *NullableActionType) UnmarshalJSON(src []byte) error

func (*NullableActionType) Unset

func (v *NullableActionType) Unset()

type NullableActionsLinkResource

type NullableActionsLinkResource struct {
	// contains filtered or unexported fields
}

func NewNullableActionsLinkResource

func NewNullableActionsLinkResource(val *ActionsLinkResource) *NullableActionsLinkResource

func (NullableActionsLinkResource) Get

func (NullableActionsLinkResource) IsSet

func (NullableActionsLinkResource) MarshalJSON

func (v NullableActionsLinkResource) MarshalJSON() ([]byte, error)

func (*NullableActionsLinkResource) Set

func (*NullableActionsLinkResource) UnmarshalJSON

func (v *NullableActionsLinkResource) UnmarshalJSON(src []byte) error

func (*NullableActionsLinkResource) Unset

func (v *NullableActionsLinkResource) Unset()

type NullableAvailabilityZone

type NullableAvailabilityZone struct {
	// contains filtered or unexported fields
}

func NewNullableAvailabilityZone

func NewNullableAvailabilityZone(val *AvailabilityZone) *NullableAvailabilityZone

func (NullableAvailabilityZone) Get

func (NullableAvailabilityZone) IsSet

func (v NullableAvailabilityZone) IsSet() bool

func (NullableAvailabilityZone) MarshalJSON

func (v NullableAvailabilityZone) MarshalJSON() ([]byte, error)

func (*NullableAvailabilityZone) Set

func (*NullableAvailabilityZone) UnmarshalJSON

func (v *NullableAvailabilityZone) UnmarshalJSON(src []byte) error

func (*NullableAvailabilityZone) Unset

func (v *NullableAvailabilityZone) 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 NullableBusType

type NullableBusType struct {
	// contains filtered or unexported fields
}

func NewNullableBusType

func NewNullableBusType(val *BusType) *NullableBusType

func (NullableBusType) Get

func (v NullableBusType) Get() *BusType

func (NullableBusType) IsSet

func (v NullableBusType) IsSet() bool

func (NullableBusType) MarshalJSON

func (v NullableBusType) MarshalJSON() ([]byte, error)

func (*NullableBusType) Set

func (v *NullableBusType) Set(val *BusType)

func (*NullableBusType) UnmarshalJSON

func (v *NullableBusType) UnmarshalJSON(src []byte) error

func (*NullableBusType) Unset

func (v *NullableBusType) Unset()

type NullableCpuFamily

type NullableCpuFamily struct {
	// contains filtered or unexported fields
}

func NewNullableCpuFamily

func NewNullableCpuFamily(val *CpuFamily) *NullableCpuFamily

func (NullableCpuFamily) Get

func (v NullableCpuFamily) Get() *CpuFamily

func (NullableCpuFamily) IsSet

func (v NullableCpuFamily) IsSet() bool

func (NullableCpuFamily) MarshalJSON

func (v NullableCpuFamily) MarshalJSON() ([]byte, error)

func (*NullableCpuFamily) Set

func (v *NullableCpuFamily) Set(val *CpuFamily)

func (*NullableCpuFamily) UnmarshalJSON

func (v *NullableCpuFamily) UnmarshalJSON(src []byte) error

func (*NullableCpuFamily) Unset

func (v *NullableCpuFamily) Unset()

type NullableDatacenterServer

type NullableDatacenterServer struct {
	// contains filtered or unexported fields
}

func NewNullableDatacenterServer

func NewNullableDatacenterServer(val *DatacenterServer) *NullableDatacenterServer

func (NullableDatacenterServer) Get

func (NullableDatacenterServer) IsSet

func (v NullableDatacenterServer) IsSet() bool

func (NullableDatacenterServer) MarshalJSON

func (v NullableDatacenterServer) MarshalJSON() ([]byte, error)

func (*NullableDatacenterServer) Set

func (*NullableDatacenterServer) UnmarshalJSON

func (v *NullableDatacenterServer) UnmarshalJSON(src []byte) error

func (*NullableDatacenterServer) Unset

func (v *NullableDatacenterServer) Unset()

type NullableError401

type NullableError401 struct {
	// contains filtered or unexported fields
}

func NewNullableError401

func NewNullableError401(val *Error401) *NullableError401

func (NullableError401) Get

func (v NullableError401) Get() *Error401

func (NullableError401) IsSet

func (v NullableError401) IsSet() bool

func (NullableError401) MarshalJSON

func (v NullableError401) MarshalJSON() ([]byte, error)

func (*NullableError401) Set

func (v *NullableError401) Set(val *Error401)

func (*NullableError401) UnmarshalJSON

func (v *NullableError401) UnmarshalJSON(src []byte) error

func (*NullableError401) Unset

func (v *NullableError401) Unset()

type NullableError401Message

type NullableError401Message struct {
	// contains filtered or unexported fields
}

func NewNullableError401Message

func NewNullableError401Message(val *Error401Message) *NullableError401Message

func (NullableError401Message) Get

func (NullableError401Message) IsSet

func (v NullableError401Message) IsSet() bool

func (NullableError401Message) MarshalJSON

func (v NullableError401Message) MarshalJSON() ([]byte, error)

func (*NullableError401Message) Set

func (*NullableError401Message) UnmarshalJSON

func (v *NullableError401Message) UnmarshalJSON(src []byte) error

func (*NullableError401Message) Unset

func (v *NullableError401Message) Unset()

type NullableError404

type NullableError404 struct {
	// contains filtered or unexported fields
}

func NewNullableError404

func NewNullableError404(val *Error404) *NullableError404

func (NullableError404) Get

func (v NullableError404) Get() *Error404

func (NullableError404) IsSet

func (v NullableError404) IsSet() bool

func (NullableError404) MarshalJSON

func (v NullableError404) MarshalJSON() ([]byte, error)

func (*NullableError404) Set

func (v *NullableError404) Set(val *Error404)

func (*NullableError404) UnmarshalJSON

func (v *NullableError404) UnmarshalJSON(src []byte) error

func (*NullableError404) Unset

func (v *NullableError404) Unset()

type NullableError404Message

type NullableError404Message struct {
	// contains filtered or unexported fields
}

func NewNullableError404Message

func NewNullableError404Message(val *Error404Message) *NullableError404Message

func (NullableError404Message) Get

func (NullableError404Message) IsSet

func (v NullableError404Message) IsSet() bool

func (NullableError404Message) MarshalJSON

func (v NullableError404Message) MarshalJSON() ([]byte, error)

func (*NullableError404Message) Set

func (*NullableError404Message) UnmarshalJSON

func (v *NullableError404Message) UnmarshalJSON(src []byte) error

func (*NullableError404Message) Unset

func (v *NullableError404Message) Unset()

type NullableErrorAuthorize

type NullableErrorAuthorize struct {
	// contains filtered or unexported fields
}

func NewNullableErrorAuthorize

func NewNullableErrorAuthorize(val *ErrorAuthorize) *NullableErrorAuthorize

func (NullableErrorAuthorize) Get

func (NullableErrorAuthorize) IsSet

func (v NullableErrorAuthorize) IsSet() bool

func (NullableErrorAuthorize) MarshalJSON

func (v NullableErrorAuthorize) MarshalJSON() ([]byte, error)

func (*NullableErrorAuthorize) Set

func (*NullableErrorAuthorize) UnmarshalJSON

func (v *NullableErrorAuthorize) UnmarshalJSON(src []byte) error

func (*NullableErrorAuthorize) Unset

func (v *NullableErrorAuthorize) Unset()

type NullableErrorAuthorizeMessage

type NullableErrorAuthorizeMessage struct {
	// contains filtered or unexported fields
}

func (NullableErrorAuthorizeMessage) Get

func (NullableErrorAuthorizeMessage) IsSet

func (NullableErrorAuthorizeMessage) MarshalJSON

func (v NullableErrorAuthorizeMessage) MarshalJSON() ([]byte, error)

func (*NullableErrorAuthorizeMessage) Set

func (*NullableErrorAuthorizeMessage) UnmarshalJSON

func (v *NullableErrorAuthorizeMessage) UnmarshalJSON(src []byte) error

func (*NullableErrorAuthorizeMessage) Unset

func (v *NullableErrorAuthorizeMessage) Unset()

type NullableErrorGroupValidate

type NullableErrorGroupValidate struct {
	// contains filtered or unexported fields
}

func NewNullableErrorGroupValidate

func NewNullableErrorGroupValidate(val *ErrorGroupValidate) *NullableErrorGroupValidate

func (NullableErrorGroupValidate) Get

func (NullableErrorGroupValidate) IsSet

func (v NullableErrorGroupValidate) IsSet() bool

func (NullableErrorGroupValidate) MarshalJSON

func (v NullableErrorGroupValidate) MarshalJSON() ([]byte, error)

func (*NullableErrorGroupValidate) Set

func (*NullableErrorGroupValidate) UnmarshalJSON

func (v *NullableErrorGroupValidate) UnmarshalJSON(src []byte) error

func (*NullableErrorGroupValidate) Unset

func (v *NullableErrorGroupValidate) Unset()

type NullableErrorGroupValidateMessage

type NullableErrorGroupValidateMessage struct {
	// contains filtered or unexported fields
}

func (NullableErrorGroupValidateMessage) Get

func (NullableErrorGroupValidateMessage) IsSet

func (NullableErrorGroupValidateMessage) MarshalJSON

func (v NullableErrorGroupValidateMessage) MarshalJSON() ([]byte, error)

func (*NullableErrorGroupValidateMessage) Set

func (*NullableErrorGroupValidateMessage) UnmarshalJSON

func (v *NullableErrorGroupValidateMessage) UnmarshalJSON(src []byte) error

func (*NullableErrorGroupValidateMessage) Unset

type NullableErrorMessage

type NullableErrorMessage struct {
	// contains filtered or unexported fields
}

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

func (v NullableErrorMessage) MarshalJSON() ([]byte, error)

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableErrorMessageParse

type NullableErrorMessageParse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorMessageParse

func NewNullableErrorMessageParse(val *ErrorMessageParse) *NullableErrorMessageParse

func (NullableErrorMessageParse) Get

func (NullableErrorMessageParse) IsSet

func (v NullableErrorMessageParse) IsSet() bool

func (NullableErrorMessageParse) MarshalJSON

func (v NullableErrorMessageParse) MarshalJSON() ([]byte, error)

func (*NullableErrorMessageParse) Set

func (*NullableErrorMessageParse) UnmarshalJSON

func (v *NullableErrorMessageParse) UnmarshalJSON(src []byte) error

func (*NullableErrorMessageParse) Unset

func (v *NullableErrorMessageParse) 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 NullableGroup

type NullableGroup struct {
	// contains filtered or unexported fields
}

func NewNullableGroup

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON

func (v NullableGroup) MarshalJSON() ([]byte, error)

func (*NullableGroup) Set

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON

func (v *NullableGroup) UnmarshalJSON(src []byte) error

func (*NullableGroup) Unset

func (v *NullableGroup) Unset()

type NullableGroupCollection

type NullableGroupCollection struct {
	// contains filtered or unexported fields
}

func NewNullableGroupCollection

func NewNullableGroupCollection(val *GroupCollection) *NullableGroupCollection

func (NullableGroupCollection) Get

func (NullableGroupCollection) IsSet

func (v NullableGroupCollection) IsSet() bool

func (NullableGroupCollection) MarshalJSON

func (v NullableGroupCollection) MarshalJSON() ([]byte, error)

func (*NullableGroupCollection) Set

func (*NullableGroupCollection) UnmarshalJSON

func (v *NullableGroupCollection) UnmarshalJSON(src []byte) error

func (*NullableGroupCollection) Unset

func (v *NullableGroupCollection) Unset()

type NullableGroupEntities added in v1.0.1

type NullableGroupEntities struct {
	// contains filtered or unexported fields
}

func NewNullableGroupEntities added in v1.0.1

func NewNullableGroupEntities(val *GroupEntities) *NullableGroupEntities

func (NullableGroupEntities) Get added in v1.0.1

func (NullableGroupEntities) IsSet added in v1.0.1

func (v NullableGroupEntities) IsSet() bool

func (NullableGroupEntities) MarshalJSON added in v1.0.1

func (v NullableGroupEntities) MarshalJSON() ([]byte, error)

func (*NullableGroupEntities) Set added in v1.0.1

func (v *NullableGroupEntities) Set(val *GroupEntities)

func (*NullableGroupEntities) UnmarshalJSON added in v1.0.1

func (v *NullableGroupEntities) UnmarshalJSON(src []byte) error

func (*NullableGroupEntities) Unset added in v1.0.1

func (v *NullableGroupEntities) Unset()

type NullableGroupPolicy

type NullableGroupPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableGroupPolicy

func NewNullableGroupPolicy(val *GroupPolicy) *NullableGroupPolicy

func (NullableGroupPolicy) Get

func (NullableGroupPolicy) IsSet

func (v NullableGroupPolicy) IsSet() bool

func (NullableGroupPolicy) MarshalJSON

func (v NullableGroupPolicy) MarshalJSON() ([]byte, error)

func (*NullableGroupPolicy) Set

func (v *NullableGroupPolicy) Set(val *GroupPolicy)

func (*NullableGroupPolicy) UnmarshalJSON

func (v *NullableGroupPolicy) UnmarshalJSON(src []byte) error

func (*NullableGroupPolicy) Unset

func (v *NullableGroupPolicy) Unset()

type NullableGroupPolicyScaleInAction

type NullableGroupPolicyScaleInAction struct {
	// contains filtered or unexported fields
}

func (NullableGroupPolicyScaleInAction) Get

func (NullableGroupPolicyScaleInAction) IsSet

func (NullableGroupPolicyScaleInAction) MarshalJSON

func (v NullableGroupPolicyScaleInAction) MarshalJSON() ([]byte, error)

func (*NullableGroupPolicyScaleInAction) Set

func (*NullableGroupPolicyScaleInAction) UnmarshalJSON

func (v *NullableGroupPolicyScaleInAction) UnmarshalJSON(src []byte) error

func (*NullableGroupPolicyScaleInAction) Unset

type NullableGroupPolicyScaleOutAction

type NullableGroupPolicyScaleOutAction struct {
	// contains filtered or unexported fields
}

func (NullableGroupPolicyScaleOutAction) Get

func (NullableGroupPolicyScaleOutAction) IsSet

func (NullableGroupPolicyScaleOutAction) MarshalJSON

func (v NullableGroupPolicyScaleOutAction) MarshalJSON() ([]byte, error)

func (*NullableGroupPolicyScaleOutAction) Set

func (*NullableGroupPolicyScaleOutAction) UnmarshalJSON

func (v *NullableGroupPolicyScaleOutAction) UnmarshalJSON(src []byte) error

func (*NullableGroupPolicyScaleOutAction) Unset

type NullableGroupPost

type NullableGroupPost struct {
	// contains filtered or unexported fields
}

func NewNullableGroupPost

func NewNullableGroupPost(val *GroupPost) *NullableGroupPost

func (NullableGroupPost) Get

func (v NullableGroupPost) Get() *GroupPost

func (NullableGroupPost) IsSet

func (v NullableGroupPost) IsSet() bool

func (NullableGroupPost) MarshalJSON

func (v NullableGroupPost) MarshalJSON() ([]byte, error)

func (*NullableGroupPost) Set

func (v *NullableGroupPost) Set(val *GroupPost)

func (*NullableGroupPost) UnmarshalJSON

func (v *NullableGroupPost) UnmarshalJSON(src []byte) error

func (*NullableGroupPost) Unset

func (v *NullableGroupPost) Unset()

type NullableGroupPostEntities

type NullableGroupPostEntities struct {
	// contains filtered or unexported fields
}

func NewNullableGroupPostEntities

func NewNullableGroupPostEntities(val *GroupPostEntities) *NullableGroupPostEntities

func (NullableGroupPostEntities) Get

func (NullableGroupPostEntities) IsSet

func (v NullableGroupPostEntities) IsSet() bool

func (NullableGroupPostEntities) MarshalJSON

func (v NullableGroupPostEntities) MarshalJSON() ([]byte, error)

func (*NullableGroupPostEntities) Set

func (*NullableGroupPostEntities) UnmarshalJSON

func (v *NullableGroupPostEntities) UnmarshalJSON(src []byte) error

func (*NullableGroupPostEntities) Unset

func (v *NullableGroupPostEntities) Unset()

type NullableGroupPostResponse

type NullableGroupPostResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGroupPostResponse

func NewNullableGroupPostResponse(val *GroupPostResponse) *NullableGroupPostResponse

func (NullableGroupPostResponse) Get

func (NullableGroupPostResponse) IsSet

func (v NullableGroupPostResponse) IsSet() bool

func (NullableGroupPostResponse) MarshalJSON

func (v NullableGroupPostResponse) MarshalJSON() ([]byte, error)

func (*NullableGroupPostResponse) Set

func (*NullableGroupPostResponse) UnmarshalJSON

func (v *NullableGroupPostResponse) UnmarshalJSON(src []byte) error

func (*NullableGroupPostResponse) Unset

func (v *NullableGroupPostResponse) Unset()

type NullableGroupProperties

type NullableGroupProperties struct {
	// contains filtered or unexported fields
}

func NewNullableGroupProperties

func NewNullableGroupProperties(val *GroupProperties) *NullableGroupProperties

func (NullableGroupProperties) Get

func (NullableGroupProperties) IsSet

func (v NullableGroupProperties) IsSet() bool

func (NullableGroupProperties) MarshalJSON

func (v NullableGroupProperties) MarshalJSON() ([]byte, error)

func (*NullableGroupProperties) Set

func (*NullableGroupProperties) UnmarshalJSON

func (v *NullableGroupProperties) UnmarshalJSON(src []byte) error

func (*NullableGroupProperties) Unset

func (v *NullableGroupProperties) Unset()

type NullableGroupPropertiesDatacenter

type NullableGroupPropertiesDatacenter struct {
	// contains filtered or unexported fields
}

func (NullableGroupPropertiesDatacenter) Get

func (NullableGroupPropertiesDatacenter) IsSet

func (NullableGroupPropertiesDatacenter) MarshalJSON

func (v NullableGroupPropertiesDatacenter) MarshalJSON() ([]byte, error)

func (*NullableGroupPropertiesDatacenter) Set

func (*NullableGroupPropertiesDatacenter) UnmarshalJSON

func (v *NullableGroupPropertiesDatacenter) UnmarshalJSON(src []byte) error

func (*NullableGroupPropertiesDatacenter) Unset

type NullableGroupPut

type NullableGroupPut struct {
	// contains filtered or unexported fields
}

func NewNullableGroupPut

func NewNullableGroupPut(val *GroupPut) *NullableGroupPut

func (NullableGroupPut) Get

func (v NullableGroupPut) Get() *GroupPut

func (NullableGroupPut) IsSet

func (v NullableGroupPut) IsSet() bool

func (NullableGroupPut) MarshalJSON

func (v NullableGroupPut) MarshalJSON() ([]byte, error)

func (*NullableGroupPut) Set

func (v *NullableGroupPut) Set(val *GroupPut)

func (*NullableGroupPut) UnmarshalJSON

func (v *NullableGroupPut) UnmarshalJSON(src []byte) error

func (*NullableGroupPut) Unset

func (v *NullableGroupPut) Unset()

type NullableGroupPutProperties

type NullableGroupPutProperties struct {
	// contains filtered or unexported fields
}

func NewNullableGroupPutProperties

func NewNullableGroupPutProperties(val *GroupPutProperties) *NullableGroupPutProperties

func (NullableGroupPutProperties) Get

func (NullableGroupPutProperties) IsSet

func (v NullableGroupPutProperties) IsSet() bool

func (NullableGroupPutProperties) MarshalJSON

func (v NullableGroupPutProperties) MarshalJSON() ([]byte, error)

func (*NullableGroupPutProperties) Set

func (*NullableGroupPutProperties) UnmarshalJSON

func (v *NullableGroupPutProperties) UnmarshalJSON(src []byte) error

func (*NullableGroupPutProperties) Unset

func (v *NullableGroupPutProperties) Unset()

type NullableGroupPutPropertiesDatacenter

type NullableGroupPutPropertiesDatacenter struct {
	// contains filtered or unexported fields
}

func (NullableGroupPutPropertiesDatacenter) Get

func (NullableGroupPutPropertiesDatacenter) IsSet

func (NullableGroupPutPropertiesDatacenter) MarshalJSON

func (v NullableGroupPutPropertiesDatacenter) MarshalJSON() ([]byte, error)

func (*NullableGroupPutPropertiesDatacenter) Set

func (*NullableGroupPutPropertiesDatacenter) UnmarshalJSON

func (v *NullableGroupPutPropertiesDatacenter) UnmarshalJSON(src []byte) error

func (*NullableGroupPutPropertiesDatacenter) Unset

type NullableGroupResource

type NullableGroupResource struct {
	// contains filtered or unexported fields
}

func NewNullableGroupResource

func NewNullableGroupResource(val *GroupResource) *NullableGroupResource

func (NullableGroupResource) Get

func (NullableGroupResource) IsSet

func (v NullableGroupResource) IsSet() bool

func (NullableGroupResource) MarshalJSON

func (v NullableGroupResource) MarshalJSON() ([]byte, error)

func (*NullableGroupResource) Set

func (v *NullableGroupResource) Set(val *GroupResource)

func (*NullableGroupResource) UnmarshalJSON

func (v *NullableGroupResource) UnmarshalJSON(src []byte) error

func (*NullableGroupResource) Unset

func (v *NullableGroupResource) 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 NullableMetadata

type NullableMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

func (v NullableMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

func (v *NullableMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableMetadataBasic

type NullableMetadataBasic struct {
	// contains filtered or unexported fields
}

func NewNullableMetadataBasic

func NewNullableMetadataBasic(val *MetadataBasic) *NullableMetadataBasic

func (NullableMetadataBasic) Get

func (NullableMetadataBasic) IsSet

func (v NullableMetadataBasic) IsSet() bool

func (NullableMetadataBasic) MarshalJSON

func (v NullableMetadataBasic) MarshalJSON() ([]byte, error)

func (*NullableMetadataBasic) Set

func (v *NullableMetadataBasic) Set(val *MetadataBasic)

func (*NullableMetadataBasic) UnmarshalJSON

func (v *NullableMetadataBasic) UnmarshalJSON(src []byte) error

func (*NullableMetadataBasic) Unset

func (v *NullableMetadataBasic) Unset()

type NullableMetadataState

type NullableMetadataState struct {
	// contains filtered or unexported fields
}

func NewNullableMetadataState

func NewNullableMetadataState(val *MetadataState) *NullableMetadataState

func (NullableMetadataState) Get

func (NullableMetadataState) IsSet

func (v NullableMetadataState) IsSet() bool

func (NullableMetadataState) MarshalJSON

func (v NullableMetadataState) MarshalJSON() ([]byte, error)

func (*NullableMetadataState) Set

func (v *NullableMetadataState) Set(val *MetadataState)

func (*NullableMetadataState) UnmarshalJSON

func (v *NullableMetadataState) UnmarshalJSON(src []byte) error

func (*NullableMetadataState) Unset

func (v *NullableMetadataState) Unset()

type NullableMetric

type NullableMetric struct {
	// contains filtered or unexported fields
}

func NewNullableMetric

func NewNullableMetric(val *Metric) *NullableMetric

func (NullableMetric) Get

func (v NullableMetric) Get() *Metric

func (NullableMetric) IsSet

func (v NullableMetric) IsSet() bool

func (NullableMetric) MarshalJSON

func (v NullableMetric) MarshalJSON() ([]byte, error)

func (*NullableMetric) Set

func (v *NullableMetric) Set(val *Metric)

func (*NullableMetric) UnmarshalJSON

func (v *NullableMetric) UnmarshalJSON(src []byte) error

func (*NullableMetric) Unset

func (v *NullableMetric) Unset()

type NullableNicFirewallRule

type NullableNicFirewallRule struct {
	// contains filtered or unexported fields
}

func NewNullableNicFirewallRule

func NewNullableNicFirewallRule(val *NicFirewallRule) *NullableNicFirewallRule

func (NullableNicFirewallRule) Get

func (NullableNicFirewallRule) IsSet

func (v NullableNicFirewallRule) IsSet() bool

func (NullableNicFirewallRule) MarshalJSON

func (v NullableNicFirewallRule) MarshalJSON() ([]byte, error)

func (*NullableNicFirewallRule) Set

func (*NullableNicFirewallRule) UnmarshalJSON

func (v *NullableNicFirewallRule) UnmarshalJSON(src []byte) error

func (*NullableNicFirewallRule) Unset

func (v *NullableNicFirewallRule) Unset()

type NullableNicFlowLog

type NullableNicFlowLog struct {
	// contains filtered or unexported fields
}

func NewNullableNicFlowLog

func NewNullableNicFlowLog(val *NicFlowLog) *NullableNicFlowLog

func (NullableNicFlowLog) Get

func (v NullableNicFlowLog) Get() *NicFlowLog

func (NullableNicFlowLog) IsSet

func (v NullableNicFlowLog) IsSet() bool

func (NullableNicFlowLog) MarshalJSON

func (v NullableNicFlowLog) MarshalJSON() ([]byte, error)

func (*NullableNicFlowLog) Set

func (v *NullableNicFlowLog) Set(val *NicFlowLog)

func (*NullableNicFlowLog) UnmarshalJSON

func (v *NullableNicFlowLog) UnmarshalJSON(src []byte) error

func (*NullableNicFlowLog) Unset

func (v *NullableNicFlowLog) Unset()

type NullableParseError

type NullableParseError struct {
	// contains filtered or unexported fields
}

func NewNullableParseError

func NewNullableParseError(val *ParseError) *NullableParseError

func (NullableParseError) Get

func (v NullableParseError) Get() *ParseError

func (NullableParseError) IsSet

func (v NullableParseError) IsSet() bool

func (NullableParseError) MarshalJSON

func (v NullableParseError) MarshalJSON() ([]byte, error)

func (*NullableParseError) Set

func (v *NullableParseError) Set(val *ParseError)

func (*NullableParseError) UnmarshalJSON

func (v *NullableParseError) UnmarshalJSON(src []byte) error

func (*NullableParseError) Unset

func (v *NullableParseError) Unset()

type NullableQueryUnit

type NullableQueryUnit struct {
	// contains filtered or unexported fields
}

func NewNullableQueryUnit

func NewNullableQueryUnit(val *QueryUnit) *NullableQueryUnit

func (NullableQueryUnit) Get

func (v NullableQueryUnit) Get() *QueryUnit

func (NullableQueryUnit) IsSet

func (v NullableQueryUnit) IsSet() bool

func (NullableQueryUnit) MarshalJSON

func (v NullableQueryUnit) MarshalJSON() ([]byte, error)

func (*NullableQueryUnit) Set

func (v *NullableQueryUnit) Set(val *QueryUnit)

func (*NullableQueryUnit) UnmarshalJSON

func (v *NullableQueryUnit) UnmarshalJSON(src []byte) error

func (*NullableQueryUnit) Unset

func (v *NullableQueryUnit) Unset()

type NullableReplicaNic

type NullableReplicaNic struct {
	// contains filtered or unexported fields
}

func NewNullableReplicaNic

func NewNullableReplicaNic(val *ReplicaNic) *NullableReplicaNic

func (NullableReplicaNic) Get

func (v NullableReplicaNic) Get() *ReplicaNic

func (NullableReplicaNic) IsSet

func (v NullableReplicaNic) IsSet() bool

func (NullableReplicaNic) MarshalJSON

func (v NullableReplicaNic) MarshalJSON() ([]byte, error)

func (*NullableReplicaNic) Set

func (v *NullableReplicaNic) Set(val *ReplicaNic)

func (*NullableReplicaNic) UnmarshalJSON

func (v *NullableReplicaNic) UnmarshalJSON(src []byte) error

func (*NullableReplicaNic) Unset

func (v *NullableReplicaNic) Unset()

type NullableReplicaPropertiesPost

type NullableReplicaPropertiesPost struct {
	// contains filtered or unexported fields
}

func (NullableReplicaPropertiesPost) Get

func (NullableReplicaPropertiesPost) IsSet

func (NullableReplicaPropertiesPost) MarshalJSON

func (v NullableReplicaPropertiesPost) MarshalJSON() ([]byte, error)

func (*NullableReplicaPropertiesPost) Set

func (*NullableReplicaPropertiesPost) UnmarshalJSON

func (v *NullableReplicaPropertiesPost) UnmarshalJSON(src []byte) error

func (*NullableReplicaPropertiesPost) Unset

func (v *NullableReplicaPropertiesPost) Unset()

type NullableReplicaVolumePost

type NullableReplicaVolumePost struct {
	// contains filtered or unexported fields
}

func NewNullableReplicaVolumePost

func NewNullableReplicaVolumePost(val *ReplicaVolumePost) *NullableReplicaVolumePost

func (NullableReplicaVolumePost) Get

func (NullableReplicaVolumePost) IsSet

func (v NullableReplicaVolumePost) IsSet() bool

func (NullableReplicaVolumePost) MarshalJSON

func (v NullableReplicaVolumePost) MarshalJSON() ([]byte, error)

func (*NullableReplicaVolumePost) Set

func (*NullableReplicaVolumePost) UnmarshalJSON

func (v *NullableReplicaVolumePost) UnmarshalJSON(src []byte) error

func (*NullableReplicaVolumePost) Unset

func (v *NullableReplicaVolumePost) Unset()

type NullableServer

type NullableServer struct {
	// contains filtered or unexported fields
}

func NewNullableServer

func NewNullableServer(val *Server) *NullableServer

func (NullableServer) Get

func (v NullableServer) Get() *Server

func (NullableServer) IsSet

func (v NullableServer) IsSet() bool

func (NullableServer) MarshalJSON

func (v NullableServer) MarshalJSON() ([]byte, error)

func (*NullableServer) Set

func (v *NullableServer) Set(val *Server)

func (*NullableServer) UnmarshalJSON

func (v *NullableServer) UnmarshalJSON(src []byte) error

func (*NullableServer) Unset

func (v *NullableServer) Unset()

type NullableServerCollection

type NullableServerCollection struct {
	// contains filtered or unexported fields
}

func NewNullableServerCollection

func NewNullableServerCollection(val *ServerCollection) *NullableServerCollection

func (NullableServerCollection) Get

func (NullableServerCollection) IsSet

func (v NullableServerCollection) IsSet() bool

func (NullableServerCollection) MarshalJSON

func (v NullableServerCollection) MarshalJSON() ([]byte, error)

func (*NullableServerCollection) Set

func (*NullableServerCollection) UnmarshalJSON

func (v *NullableServerCollection) UnmarshalJSON(src []byte) error

func (*NullableServerCollection) Unset

func (v *NullableServerCollection) Unset()

type NullableServerProperties

type NullableServerProperties struct {
	// contains filtered or unexported fields
}

func NewNullableServerProperties

func NewNullableServerProperties(val *ServerProperties) *NullableServerProperties

func (NullableServerProperties) Get

func (NullableServerProperties) IsSet

func (v NullableServerProperties) IsSet() bool

func (NullableServerProperties) MarshalJSON

func (v NullableServerProperties) MarshalJSON() ([]byte, error)

func (*NullableServerProperties) Set

func (*NullableServerProperties) UnmarshalJSON

func (v *NullableServerProperties) UnmarshalJSON(src []byte) error

func (*NullableServerProperties) Unset

func (v *NullableServerProperties) Unset()

type NullableServersLinkResource

type NullableServersLinkResource struct {
	// contains filtered or unexported fields
}

func NewNullableServersLinkResource

func NewNullableServersLinkResource(val *ServersLinkResource) *NullableServersLinkResource

func (NullableServersLinkResource) Get

func (NullableServersLinkResource) IsSet

func (NullableServersLinkResource) MarshalJSON

func (v NullableServersLinkResource) MarshalJSON() ([]byte, error)

func (*NullableServersLinkResource) Set

func (*NullableServersLinkResource) UnmarshalJSON

func (v *NullableServersLinkResource) UnmarshalJSON(src []byte) error

func (*NullableServersLinkResource) Unset

func (v *NullableServersLinkResource) 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 NullableTargetGroup

type NullableTargetGroup struct {
	// contains filtered or unexported fields
}

func NewNullableTargetGroup

func NewNullableTargetGroup(val *TargetGroup) *NullableTargetGroup

func (NullableTargetGroup) Get

func (NullableTargetGroup) IsSet

func (v NullableTargetGroup) IsSet() bool

func (NullableTargetGroup) MarshalJSON

func (v NullableTargetGroup) MarshalJSON() ([]byte, error)

func (*NullableTargetGroup) Set

func (v *NullableTargetGroup) Set(val *TargetGroup)

func (*NullableTargetGroup) UnmarshalJSON

func (v *NullableTargetGroup) UnmarshalJSON(src []byte) error

func (*NullableTargetGroup) Unset

func (v *NullableTargetGroup) Unset()

type NullableTerminationPolicyType

type NullableTerminationPolicyType struct {
	// contains filtered or unexported fields
}

func (NullableTerminationPolicyType) Get

func (NullableTerminationPolicyType) IsSet

func (NullableTerminationPolicyType) MarshalJSON

func (v NullableTerminationPolicyType) MarshalJSON() ([]byte, error)

func (*NullableTerminationPolicyType) Set

func (*NullableTerminationPolicyType) UnmarshalJSON

func (v *NullableTerminationPolicyType) UnmarshalJSON(src []byte) error

func (*NullableTerminationPolicyType) Unset

func (v *NullableTerminationPolicyType) 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 NullableVolumeHwType

type NullableVolumeHwType struct {
	// contains filtered or unexported fields
}

func NewNullableVolumeHwType

func NewNullableVolumeHwType(val *VolumeHwType) *NullableVolumeHwType

func (NullableVolumeHwType) Get

func (NullableVolumeHwType) IsSet

func (v NullableVolumeHwType) IsSet() bool

func (NullableVolumeHwType) MarshalJSON

func (v NullableVolumeHwType) MarshalJSON() ([]byte, error)

func (*NullableVolumeHwType) Set

func (v *NullableVolumeHwType) Set(val *VolumeHwType)

func (*NullableVolumeHwType) UnmarshalJSON

func (v *NullableVolumeHwType) UnmarshalJSON(src []byte) error

func (*NullableVolumeHwType) Unset

func (v *NullableVolumeHwType) Unset()

type ParseError

type ParseError struct {
	HttpStatus *int32               `json:"httpStatus,omitempty"`
	Messages   *[]ErrorMessageParse `json:"messages,omitempty"`
	ErrorUuid  *string              `json:"errorUuid,omitempty"`
}

ParseError struct for ParseError

func NewParseError

func NewParseError() *ParseError

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

func NewParseErrorWithDefaults

func NewParseErrorWithDefaults() *ParseError

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

func (*ParseError) GetErrorUuid

func (o *ParseError) GetErrorUuid() *string

GetErrorUuid returns the ErrorUuid field value If the value is explicit nil, the zero value for string will be returned

func (*ParseError) GetErrorUuidOk

func (o *ParseError) GetErrorUuidOk() (*string, bool)

GetErrorUuidOk returns a tuple with the ErrorUuid field value 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 (*ParseError) GetHttpStatus

func (o *ParseError) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ParseError) GetHttpStatusOk

func (o *ParseError) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value 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 (*ParseError) GetMessages

func (o *ParseError) GetMessages() *[]ErrorMessageParse

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessageParse will be returned

func (*ParseError) GetMessagesOk

func (o *ParseError) GetMessagesOk() (*[]ErrorMessageParse, bool)

GetMessagesOk returns a tuple with the Messages field value 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 (*ParseError) HasErrorUuid

func (o *ParseError) HasErrorUuid() bool

HasErrorUuid returns a boolean if a field has been set.

func (*ParseError) HasHttpStatus

func (o *ParseError) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ParseError) HasMessages

func (o *ParseError) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ParseError) MarshalJSON

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

func (*ParseError) SetErrorUuid

func (o *ParseError) SetErrorUuid(v string)

SetErrorUuid sets field value

func (*ParseError) SetHttpStatus

func (o *ParseError) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ParseError) SetMessages

func (o *ParseError) SetMessages(v []ErrorMessageParse)

SetMessages sets field value

type QueryUnit

type QueryUnit string

QueryUnit The units of the applied metric. 'TOTAL' can only be combined with 'INSTANCE_CPU_UTILIZATION_AVERAGE'.

const (
	QUERYUNIT_PER_HOUR   QueryUnit = "PER_HOUR"
	QUERYUNIT_PER_MINUTE QueryUnit = "PER_MINUTE"
	QUERYUNIT_PER_SECOND QueryUnit = "PER_SECOND"
	QUERYUNIT_TOTAL      QueryUnit = "TOTAL"
)

List of QueryUnit

func (QueryUnit) Ptr

func (v QueryUnit) Ptr() *QueryUnit

Ptr returns reference to QueryUnit value

func (*QueryUnit) UnmarshalJSON

func (v *QueryUnit) UnmarshalJSON(src []byte) error

type ReplicaNic

type ReplicaNic struct {
	// The LAN ID of this replica NIC.
	Lan *int32 `json:"lan"`
	// The replica NIC name.
	Name *string `json:"name"`
	// DHCP for this replica NIC. This is an optional attribute with the default value 'TRUE' if not specified in the request payload or as null.
	Dhcp *bool `json:"dhcp,omitempty"`
	// Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.
	FirewallActive *bool `json:"firewallActive,omitempty"`
	// The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.
	FirewallType *string `json:"firewallType,omitempty"`
	// List of all flow logs for the specified NIC.
	FlowLogs *[]NicFlowLog `json:"flowLogs,omitempty"`
	// List of all firewall rules for the specified NIC.
	FirewallRules *[]NicFirewallRule `json:"firewallRules,omitempty"`
	TargetGroup   *TargetGroup       `json:"targetGroup,omitempty"`
}

ReplicaNic struct for ReplicaNic

func NewReplicaNic

func NewReplicaNic(lan int32, name string) *ReplicaNic

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

func NewReplicaNicWithDefaults

func NewReplicaNicWithDefaults() *ReplicaNic

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

func (*ReplicaNic) GetDhcp

func (o *ReplicaNic) GetDhcp() *bool

GetDhcp returns the Dhcp field value If the value is explicit nil, the zero value for bool will be returned

func (*ReplicaNic) GetDhcpOk

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

GetDhcpOk returns a tuple with the Dhcp field value 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 (*ReplicaNic) GetFirewallActive

func (o *ReplicaNic) GetFirewallActive() *bool

GetFirewallActive returns the FirewallActive field value If the value is explicit nil, the zero value for bool will be returned

func (*ReplicaNic) GetFirewallActiveOk

func (o *ReplicaNic) GetFirewallActiveOk() (*bool, bool)

GetFirewallActiveOk returns a tuple with the FirewallActive field value 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 (*ReplicaNic) GetFirewallRules

func (o *ReplicaNic) GetFirewallRules() *[]NicFirewallRule

GetFirewallRules returns the FirewallRules field value If the value is explicit nil, the zero value for []NicFirewallRule will be returned

func (*ReplicaNic) GetFirewallRulesOk

func (o *ReplicaNic) GetFirewallRulesOk() (*[]NicFirewallRule, bool)

GetFirewallRulesOk returns a tuple with the FirewallRules field value 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 (*ReplicaNic) GetFirewallType

func (o *ReplicaNic) GetFirewallType() *string

GetFirewallType returns the FirewallType field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaNic) GetFirewallTypeOk

func (o *ReplicaNic) GetFirewallTypeOk() (*string, bool)

GetFirewallTypeOk returns a tuple with the FirewallType field value 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 (*ReplicaNic) GetFlowLogs

func (o *ReplicaNic) GetFlowLogs() *[]NicFlowLog

GetFlowLogs returns the FlowLogs field value If the value is explicit nil, the zero value for []NicFlowLog will be returned

func (*ReplicaNic) GetFlowLogsOk

func (o *ReplicaNic) GetFlowLogsOk() (*[]NicFlowLog, bool)

GetFlowLogsOk returns a tuple with the FlowLogs field value 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 (*ReplicaNic) GetLan

func (o *ReplicaNic) GetLan() *int32

GetLan returns the Lan field value If the value is explicit nil, the zero value for int32 will be returned

func (*ReplicaNic) GetLanOk

func (o *ReplicaNic) GetLanOk() (*int32, bool)

GetLanOk returns a tuple with the Lan field value 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 (*ReplicaNic) GetName

func (o *ReplicaNic) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaNic) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*ReplicaNic) GetTargetGroup

func (o *ReplicaNic) GetTargetGroup() *TargetGroup

GetTargetGroup returns the TargetGroup field value If the value is explicit nil, the zero value for TargetGroup will be returned

func (*ReplicaNic) GetTargetGroupOk

func (o *ReplicaNic) GetTargetGroupOk() (*TargetGroup, bool)

GetTargetGroupOk returns a tuple with the TargetGroup field value 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 (*ReplicaNic) HasDhcp

func (o *ReplicaNic) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*ReplicaNic) HasFirewallActive

func (o *ReplicaNic) HasFirewallActive() bool

HasFirewallActive returns a boolean if a field has been set.

func (*ReplicaNic) HasFirewallRules

func (o *ReplicaNic) HasFirewallRules() bool

HasFirewallRules returns a boolean if a field has been set.

func (*ReplicaNic) HasFirewallType

func (o *ReplicaNic) HasFirewallType() bool

HasFirewallType returns a boolean if a field has been set.

func (*ReplicaNic) HasFlowLogs

func (o *ReplicaNic) HasFlowLogs() bool

HasFlowLogs returns a boolean if a field has been set.

func (*ReplicaNic) HasLan

func (o *ReplicaNic) HasLan() bool

HasLan returns a boolean if a field has been set.

func (*ReplicaNic) HasName

func (o *ReplicaNic) HasName() bool

HasName returns a boolean if a field has been set.

func (*ReplicaNic) HasTargetGroup

func (o *ReplicaNic) HasTargetGroup() bool

HasTargetGroup returns a boolean if a field has been set.

func (ReplicaNic) MarshalJSON

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

func (*ReplicaNic) SetDhcp

func (o *ReplicaNic) SetDhcp(v bool)

SetDhcp sets field value

func (*ReplicaNic) SetFirewallActive

func (o *ReplicaNic) SetFirewallActive(v bool)

SetFirewallActive sets field value

func (*ReplicaNic) SetFirewallRules

func (o *ReplicaNic) SetFirewallRules(v []NicFirewallRule)

SetFirewallRules sets field value

func (*ReplicaNic) SetFirewallType

func (o *ReplicaNic) SetFirewallType(v string)

SetFirewallType sets field value

func (*ReplicaNic) SetFlowLogs

func (o *ReplicaNic) SetFlowLogs(v []NicFlowLog)

SetFlowLogs sets field value

func (*ReplicaNic) SetLan

func (o *ReplicaNic) SetLan(v int32)

SetLan sets field value

func (*ReplicaNic) SetName

func (o *ReplicaNic) SetName(v string)

SetName sets field value

func (*ReplicaNic) SetTargetGroup

func (o *ReplicaNic) SetTargetGroup(v TargetGroup)

SetTargetGroup sets field value

type ReplicaPropertiesPost

type ReplicaPropertiesPost struct {
	AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"`
	// The total number of cores for the VMs.
	Cores     *int32     `json:"cores"`
	CpuFamily *CpuFamily `json:"cpuFamily,omitempty"`
	// The list of NICs associated with this replica.
	Nics *[]ReplicaNic `json:"nics,omitempty"`
	// The size of the memory for the VMs in MB. The size must be in multiples of 256 MB, with a minimum of 256 MB; if you set 'ramHotPlug=TRUE', you must use at least 1024 MB. If you set the RAM size to more than 240 GB, 'ramHotPlug=FALSE' is fixed.
	Ram *int32 `json:"ram"`
	// List of volumes associated with this Replica.
	Volumes *[]ReplicaVolumePost `json:"volumes,omitempty"`
}

ReplicaPropertiesPost struct for ReplicaPropertiesPost

func NewReplicaPropertiesPost

func NewReplicaPropertiesPost(cores int32, ram int32) *ReplicaPropertiesPost

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

func NewReplicaPropertiesPostWithDefaults

func NewReplicaPropertiesPostWithDefaults() *ReplicaPropertiesPost

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

func (*ReplicaPropertiesPost) GetAvailabilityZone

func (o *ReplicaPropertiesPost) GetAvailabilityZone() *AvailabilityZone

GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned

func (*ReplicaPropertiesPost) GetAvailabilityZoneOk

func (o *ReplicaPropertiesPost) GetAvailabilityZoneOk() (*AvailabilityZone, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value 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 (*ReplicaPropertiesPost) GetCores

func (o *ReplicaPropertiesPost) GetCores() *int32

GetCores returns the Cores field value If the value is explicit nil, the zero value for int32 will be returned

func (*ReplicaPropertiesPost) GetCoresOk

func (o *ReplicaPropertiesPost) GetCoresOk() (*int32, bool)

GetCoresOk returns a tuple with the Cores field value 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 (*ReplicaPropertiesPost) GetCpuFamily

func (o *ReplicaPropertiesPost) GetCpuFamily() *CpuFamily

GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for CpuFamily will be returned

func (*ReplicaPropertiesPost) GetCpuFamilyOk

func (o *ReplicaPropertiesPost) GetCpuFamilyOk() (*CpuFamily, bool)

GetCpuFamilyOk returns a tuple with the CpuFamily field value 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 (*ReplicaPropertiesPost) GetNics

func (o *ReplicaPropertiesPost) GetNics() *[]ReplicaNic

GetNics returns the Nics field value If the value is explicit nil, the zero value for []ReplicaNic will be returned

func (*ReplicaPropertiesPost) GetNicsOk

func (o *ReplicaPropertiesPost) GetNicsOk() (*[]ReplicaNic, bool)

GetNicsOk returns a tuple with the Nics field value 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 (*ReplicaPropertiesPost) GetRam

func (o *ReplicaPropertiesPost) GetRam() *int32

GetRam returns the Ram field value If the value is explicit nil, the zero value for int32 will be returned

func (*ReplicaPropertiesPost) GetRamOk

func (o *ReplicaPropertiesPost) GetRamOk() (*int32, bool)

GetRamOk returns a tuple with the Ram field value 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 (*ReplicaPropertiesPost) GetVolumes

func (o *ReplicaPropertiesPost) GetVolumes() *[]ReplicaVolumePost

GetVolumes returns the Volumes field value If the value is explicit nil, the zero value for []ReplicaVolumePost will be returned

func (*ReplicaPropertiesPost) GetVolumesOk

func (o *ReplicaPropertiesPost) GetVolumesOk() (*[]ReplicaVolumePost, bool)

GetVolumesOk returns a tuple with the Volumes field value 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 (*ReplicaPropertiesPost) HasAvailabilityZone

func (o *ReplicaPropertiesPost) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*ReplicaPropertiesPost) HasCores

func (o *ReplicaPropertiesPost) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*ReplicaPropertiesPost) HasCpuFamily

func (o *ReplicaPropertiesPost) HasCpuFamily() bool

HasCpuFamily returns a boolean if a field has been set.

func (*ReplicaPropertiesPost) HasNics

func (o *ReplicaPropertiesPost) HasNics() bool

HasNics returns a boolean if a field has been set.

func (*ReplicaPropertiesPost) HasRam

func (o *ReplicaPropertiesPost) HasRam() bool

HasRam returns a boolean if a field has been set.

func (*ReplicaPropertiesPost) HasVolumes

func (o *ReplicaPropertiesPost) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (ReplicaPropertiesPost) MarshalJSON

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

func (*ReplicaPropertiesPost) SetAvailabilityZone

func (o *ReplicaPropertiesPost) SetAvailabilityZone(v AvailabilityZone)

SetAvailabilityZone sets field value

func (*ReplicaPropertiesPost) SetCores

func (o *ReplicaPropertiesPost) SetCores(v int32)

SetCores sets field value

func (*ReplicaPropertiesPost) SetCpuFamily

func (o *ReplicaPropertiesPost) SetCpuFamily(v CpuFamily)

SetCpuFamily sets field value

func (*ReplicaPropertiesPost) SetNics

func (o *ReplicaPropertiesPost) SetNics(v []ReplicaNic)

SetNics sets field value

func (*ReplicaPropertiesPost) SetRam

func (o *ReplicaPropertiesPost) SetRam(v int32)

SetRam sets field value

func (*ReplicaPropertiesPost) SetVolumes

func (o *ReplicaPropertiesPost) SetVolumes(v []ReplicaVolumePost)

SetVolumes sets field value

type ReplicaVolumePost

type ReplicaVolumePost struct {
	// The image installed on the disk. Currently, only the UUID of the image is supported.  >Note that either 'image' or 'imageAlias' must be specified, but not both.
	Image *string `json:"image,omitempty"`
	// The image installed on the volume. Must be an 'imageAlias' as specified via the images API. Note that one of 'image' or 'imageAlias' must be set, but not both.
	ImageAlias *string `json:"imageAlias,omitempty"`
	// The replica volume name.
	Name *string `json:"name"`
	// The size of this replica volume in GB.
	Size *int32 `json:"size"`
	// The SSH keys of this volume.
	SshKeys *[]string     `json:"sshKeys,omitempty"`
	Type    *VolumeHwType `json:"type"`
	// The user data (Cloud Init) for this replica volume.
	UserData *string  `json:"userData,omitempty"`
	Bus      *BusType `json:"bus,omitempty"`
	// The ID of the backup unit that the user has access to. The property is immutable and is only allowed to be set on creation of a new a volume. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
	BackupunitId *string `json:"backupunitId,omitempty"`
	// Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the voluem as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
	BootOrder *string `json:"bootOrder"`
	// The image password for this replica volume.
	ImagePassword *string `json:"imagePassword,omitempty"`
}

ReplicaVolumePost struct for ReplicaVolumePost

func NewReplicaVolumePost

func NewReplicaVolumePost(name string, size int32, type_ VolumeHwType, bootOrder string) *ReplicaVolumePost

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

func NewReplicaVolumePostWithDefaults

func NewReplicaVolumePostWithDefaults() *ReplicaVolumePost

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

func (*ReplicaVolumePost) GetBackupunitId

func (o *ReplicaVolumePost) GetBackupunitId() *string

GetBackupunitId returns the BackupunitId field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetBackupunitIdOk

func (o *ReplicaVolumePost) GetBackupunitIdOk() (*string, bool)

GetBackupunitIdOk returns a tuple with the BackupunitId field value 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 (*ReplicaVolumePost) GetBootOrder

func (o *ReplicaVolumePost) GetBootOrder() *string

GetBootOrder returns the BootOrder field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetBootOrderOk

func (o *ReplicaVolumePost) GetBootOrderOk() (*string, bool)

GetBootOrderOk returns a tuple with the BootOrder field value 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 (*ReplicaVolumePost) GetBus

func (o *ReplicaVolumePost) GetBus() *BusType

GetBus returns the Bus field value If the value is explicit nil, the zero value for BusType will be returned

func (*ReplicaVolumePost) GetBusOk

func (o *ReplicaVolumePost) GetBusOk() (*BusType, bool)

GetBusOk returns a tuple with the Bus field value 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 (*ReplicaVolumePost) GetImage

func (o *ReplicaVolumePost) GetImage() *string

GetImage returns the Image field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetImageAlias

func (o *ReplicaVolumePost) GetImageAlias() *string

GetImageAlias returns the ImageAlias field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetImageAliasOk

func (o *ReplicaVolumePost) GetImageAliasOk() (*string, bool)

GetImageAliasOk returns a tuple with the ImageAlias field value 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 (*ReplicaVolumePost) GetImageOk

func (o *ReplicaVolumePost) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field value 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 (*ReplicaVolumePost) GetImagePassword

func (o *ReplicaVolumePost) GetImagePassword() *string

GetImagePassword returns the ImagePassword field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetImagePasswordOk

func (o *ReplicaVolumePost) GetImagePasswordOk() (*string, bool)

GetImagePasswordOk returns a tuple with the ImagePassword field value 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 (*ReplicaVolumePost) GetName

func (o *ReplicaVolumePost) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*ReplicaVolumePost) GetSize

func (o *ReplicaVolumePost) GetSize() *int32

GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned

func (*ReplicaVolumePost) GetSizeOk

func (o *ReplicaVolumePost) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value 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 (*ReplicaVolumePost) GetSshKeys

func (o *ReplicaVolumePost) GetSshKeys() *[]string

GetSshKeys returns the SshKeys field value If the value is explicit nil, the zero value for []string will be returned

func (*ReplicaVolumePost) GetSshKeysOk

func (o *ReplicaVolumePost) GetSshKeysOk() (*[]string, bool)

GetSshKeysOk returns a tuple with the SshKeys field value 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 (*ReplicaVolumePost) GetType

func (o *ReplicaVolumePost) GetType() *VolumeHwType

GetType returns the Type field value If the value is explicit nil, the zero value for VolumeHwType will be returned

func (*ReplicaVolumePost) GetTypeOk

func (o *ReplicaVolumePost) GetTypeOk() (*VolumeHwType, bool)

GetTypeOk returns a tuple with the Type field value 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 (*ReplicaVolumePost) GetUserData

func (o *ReplicaVolumePost) GetUserData() *string

GetUserData returns the UserData field value If the value is explicit nil, the zero value for string will be returned

func (*ReplicaVolumePost) GetUserDataOk

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

GetUserDataOk returns a tuple with the UserData field value 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 (*ReplicaVolumePost) HasBackupunitId

func (o *ReplicaVolumePost) HasBackupunitId() bool

HasBackupunitId returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasBootOrder

func (o *ReplicaVolumePost) HasBootOrder() bool

HasBootOrder returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasBus

func (o *ReplicaVolumePost) HasBus() bool

HasBus returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasImage

func (o *ReplicaVolumePost) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasImageAlias

func (o *ReplicaVolumePost) HasImageAlias() bool

HasImageAlias returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasImagePassword

func (o *ReplicaVolumePost) HasImagePassword() bool

HasImagePassword returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasName

func (o *ReplicaVolumePost) HasName() bool

HasName returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasSize

func (o *ReplicaVolumePost) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasSshKeys

func (o *ReplicaVolumePost) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasType

func (o *ReplicaVolumePost) HasType() bool

HasType returns a boolean if a field has been set.

func (*ReplicaVolumePost) HasUserData

func (o *ReplicaVolumePost) HasUserData() bool

HasUserData returns a boolean if a field has been set.

func (ReplicaVolumePost) MarshalJSON

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

func (*ReplicaVolumePost) SetBackupunitId

func (o *ReplicaVolumePost) SetBackupunitId(v string)

SetBackupunitId sets field value

func (*ReplicaVolumePost) SetBootOrder

func (o *ReplicaVolumePost) SetBootOrder(v string)

SetBootOrder sets field value

func (*ReplicaVolumePost) SetBus

func (o *ReplicaVolumePost) SetBus(v BusType)

SetBus sets field value

func (*ReplicaVolumePost) SetImage

func (o *ReplicaVolumePost) SetImage(v string)

SetImage sets field value

func (*ReplicaVolumePost) SetImageAlias

func (o *ReplicaVolumePost) SetImageAlias(v string)

SetImageAlias sets field value

func (*ReplicaVolumePost) SetImagePassword

func (o *ReplicaVolumePost) SetImagePassword(v string)

SetImagePassword sets field value

func (*ReplicaVolumePost) SetName

func (o *ReplicaVolumePost) SetName(v string)

SetName sets field value

func (*ReplicaVolumePost) SetSize

func (o *ReplicaVolumePost) SetSize(v int32)

SetSize sets field value

func (*ReplicaVolumePost) SetSshKeys

func (o *ReplicaVolumePost) SetSshKeys(v []string)

SetSshKeys sets field value

func (*ReplicaVolumePost) SetType

func (o *ReplicaVolumePost) SetType(v VolumeHwType)

SetType sets field value

func (*ReplicaVolumePost) SetUserData

func (o *ReplicaVolumePost) SetUserData(v string)

SetUserData sets field value

type Server

type Server struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href       *string           `json:"href,omitempty"`
	Metadata   *MetadataBasic    `json:"metadata,omitempty"`
	Properties *ServerProperties `json:"properties,omitempty"`
}

Server Links a data center server to an autoAuto Scaling scaling group. Note that this entities UUID is different from that of the data center server, whose UUID is stored in the `datacenterServer` property.

func NewServer

func NewServer(id string) *Server

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

func NewServerWithDefaults

func NewServerWithDefaults() *Server

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

func (*Server) GetHref

func (o *Server) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*Server) GetHrefOk

func (o *Server) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*Server) GetId

func (o *Server) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*Server) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*Server) GetMetadata

func (o *Server) GetMetadata() *MetadataBasic

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataBasic will be returned

func (*Server) GetMetadataOk

func (o *Server) GetMetadataOk() (*MetadataBasic, bool)

GetMetadataOk returns a tuple with the Metadata field value 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 (*Server) GetProperties

func (o *Server) GetProperties() *ServerProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for ServerProperties will be returned

func (*Server) GetPropertiesOk

func (o *Server) GetPropertiesOk() (*ServerProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value 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 (*Server) GetType

func (o *Server) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Server) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*Server) HasHref

func (o *Server) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Server) HasId

func (o *Server) HasId() bool

HasId returns a boolean if a field has been set.

func (*Server) HasMetadata

func (o *Server) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Server) HasProperties

func (o *Server) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Server) HasType

func (o *Server) HasType() bool

HasType returns a boolean if a field has been set.

func (Server) MarshalJSON

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

func (*Server) SetHref

func (o *Server) SetHref(v string)

SetHref sets field value

func (*Server) SetId

func (o *Server) SetId(v string)

SetId sets field value

func (*Server) SetMetadata

func (o *Server) SetMetadata(v MetadataBasic)

SetMetadata sets field value

func (*Server) SetProperties

func (o *Server) SetProperties(v ServerProperties)

SetProperties sets field value

func (*Server) SetType

func (o *Server) SetType(v string)

SetType sets field value

type ServerCollection

type ServerCollection struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href  *string   `json:"href,omitempty"`
	Items *[]Server `json:"items,omitempty"`
}

ServerCollection struct for ServerCollection

func NewServerCollection

func NewServerCollection(id string) *ServerCollection

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

func NewServerCollectionWithDefaults

func NewServerCollectionWithDefaults() *ServerCollection

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

func (*ServerCollection) GetHref

func (o *ServerCollection) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ServerCollection) GetHrefOk

func (o *ServerCollection) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*ServerCollection) GetId

func (o *ServerCollection) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ServerCollection) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*ServerCollection) GetItems

func (o *ServerCollection) GetItems() *[]Server

GetItems returns the Items field value If the value is explicit nil, the zero value for []Server will be returned

func (*ServerCollection) GetItemsOk

func (o *ServerCollection) GetItemsOk() (*[]Server, bool)

GetItemsOk returns a tuple with the Items field value 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 (*ServerCollection) GetType

func (o *ServerCollection) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ServerCollection) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*ServerCollection) HasHref

func (o *ServerCollection) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ServerCollection) HasId

func (o *ServerCollection) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServerCollection) HasItems

func (o *ServerCollection) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ServerCollection) HasType

func (o *ServerCollection) HasType() bool

HasType returns a boolean if a field has been set.

func (ServerCollection) MarshalJSON

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

func (*ServerCollection) SetHref

func (o *ServerCollection) SetHref(v string)

SetHref sets field value

func (*ServerCollection) SetId

func (o *ServerCollection) SetId(v string)

SetId sets field value

func (*ServerCollection) SetItems

func (o *ServerCollection) SetItems(v []Server)

SetItems sets field value

func (*ServerCollection) SetType

func (o *ServerCollection) SetType(v string)

SetType sets field value

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerProperties

type ServerProperties struct {
	DatacenterServer *DatacenterServer `json:"datacenterServer"`
	Name             *string           `json:"name,omitempty"`
}

ServerProperties struct for ServerProperties

func NewServerProperties

func NewServerProperties(datacenterServer DatacenterServer) *ServerProperties

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

func NewServerPropertiesWithDefaults

func NewServerPropertiesWithDefaults() *ServerProperties

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

func (*ServerProperties) GetDatacenterServer

func (o *ServerProperties) GetDatacenterServer() *DatacenterServer

GetDatacenterServer returns the DatacenterServer field value If the value is explicit nil, the zero value for DatacenterServer will be returned

func (*ServerProperties) GetDatacenterServerOk

func (o *ServerProperties) GetDatacenterServerOk() (*DatacenterServer, bool)

GetDatacenterServerOk returns a tuple with the DatacenterServer field value 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 (*ServerProperties) GetName

func (o *ServerProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*ServerProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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 (*ServerProperties) HasDatacenterServer

func (o *ServerProperties) HasDatacenterServer() bool

HasDatacenterServer returns a boolean if a field has been set.

func (*ServerProperties) HasName

func (o *ServerProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (ServerProperties) MarshalJSON

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

func (*ServerProperties) SetDatacenterServer

func (o *ServerProperties) SetDatacenterServer(v DatacenterServer)

SetDatacenterServer sets field value

func (*ServerProperties) SetName

func (o *ServerProperties) SetName(v string)

SetName sets field value

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServersLinkResource

type ServersLinkResource struct {
	// The unique resource identifier.
	Id *string `json:"id"`
	// The resource type.
	Type *string `json:"type,omitempty"`
	// The absolute URL to the resource's representation.
	Href *string `json:"href,omitempty"`
}

ServersLinkResource The servers linked to the VM Auto Scaling Group.

func NewServersLinkResource

func NewServersLinkResource(id string) *ServersLinkResource

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

func NewServersLinkResourceWithDefaults

func NewServersLinkResourceWithDefaults() *ServersLinkResource

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

func (*ServersLinkResource) GetHref

func (o *ServersLinkResource) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ServersLinkResource) GetHrefOk

func (o *ServersLinkResource) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value 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 (*ServersLinkResource) GetId

func (o *ServersLinkResource) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ServersLinkResource) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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 (*ServersLinkResource) GetType

func (o *ServersLinkResource) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ServersLinkResource) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value 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 (*ServersLinkResource) HasHref

func (o *ServersLinkResource) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ServersLinkResource) HasId

func (o *ServersLinkResource) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServersLinkResource) HasType

func (o *ServersLinkResource) HasType() bool

HasType returns a boolean if a field has been set.

func (ServersLinkResource) MarshalJSON

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

func (*ServersLinkResource) SetHref

func (o *ServersLinkResource) SetHref(v string)

SetHref sets field value

func (*ServersLinkResource) SetId

func (o *ServersLinkResource) SetId(v string)

SetId sets field value

func (*ServersLinkResource) SetType

func (o *ServersLinkResource) SetType(v string)

SetType sets field value

type TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

type TargetGroup

type TargetGroup struct {
	// id
	TargetGroupId *string `json:"targetGroupId"`
	// port
	Port *int32 `json:"port"`
	// weight
	Weight *int32 `json:"weight"`
}

TargetGroup In order to link VM to ALB, target group must be provided

func NewTargetGroup

func NewTargetGroup(targetGroupId string, port int32, weight int32) *TargetGroup

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

func NewTargetGroupWithDefaults

func NewTargetGroupWithDefaults() *TargetGroup

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

func (*TargetGroup) GetPort

func (o *TargetGroup) GetPort() *int32

GetPort returns the Port field value If the value is explicit nil, the zero value for int32 will be returned

func (*TargetGroup) GetPortOk

func (o *TargetGroup) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value 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 (*TargetGroup) GetTargetGroupId

func (o *TargetGroup) GetTargetGroupId() *string

GetTargetGroupId returns the TargetGroupId field value If the value is explicit nil, the zero value for string will be returned

func (*TargetGroup) GetTargetGroupIdOk

func (o *TargetGroup) GetTargetGroupIdOk() (*string, bool)

GetTargetGroupIdOk returns a tuple with the TargetGroupId field value 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 (*TargetGroup) GetWeight

func (o *TargetGroup) GetWeight() *int32

GetWeight returns the Weight field value If the value is explicit nil, the zero value for int32 will be returned

func (*TargetGroup) GetWeightOk

func (o *TargetGroup) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value 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 (*TargetGroup) HasPort

func (o *TargetGroup) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*TargetGroup) HasTargetGroupId

func (o *TargetGroup) HasTargetGroupId() bool

HasTargetGroupId returns a boolean if a field has been set.

func (*TargetGroup) HasWeight

func (o *TargetGroup) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (TargetGroup) MarshalJSON

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

func (*TargetGroup) SetPort

func (o *TargetGroup) SetPort(v int32)

SetPort sets field value

func (*TargetGroup) SetTargetGroupId

func (o *TargetGroup) SetTargetGroupId(v string)

SetTargetGroupId sets field value

func (*TargetGroup) SetWeight

func (o *TargetGroup) SetWeight(v int32)

SetWeight sets field value

type TerminationPolicyType

type TerminationPolicyType string

TerminationPolicyType The type of termination policy for the VM Auto Scaling Group to follow a specific pattern for scaling-in replicas. The default termination policy is 'OLDEST_SERVER_FIRST'.

const (
	TERMINATIONPOLICYTYPE_OLDEST_SERVER_FIRST TerminationPolicyType = "OLDEST_SERVER_FIRST"
	TERMINATIONPOLICYTYPE_NEWEST_SERVER_FIRST TerminationPolicyType = "NEWEST_SERVER_FIRST"
	TERMINATIONPOLICYTYPE_RANDOM              TerminationPolicyType = "RANDOM"
)

List of TerminationPolicyType

func (TerminationPolicyType) Ptr

Ptr returns reference to TerminationPolicyType value

func (*TerminationPolicyType) UnmarshalJSON

func (v *TerminationPolicyType) UnmarshalJSON(src []byte) error

type VolumeHwType

type VolumeHwType string

VolumeHwType The storage type of this replica volume (SSD or HDD).

const (
	VOLUMEHWTYPE_HDD          VolumeHwType = "HDD"
	VOLUMEHWTYPE_SSD          VolumeHwType = "SSD"
	VOLUMEHWTYPE_SSD_PREMIUM  VolumeHwType = "SSD_PREMIUM"
	VOLUMEHWTYPE_SSD_STANDARD VolumeHwType = "SSD_STANDARD"
)

List of VolumeHwType

func (VolumeHwType) Ptr

func (v VolumeHwType) Ptr() *VolumeHwType

Ptr returns reference to VolumeHwType value

func (*VolumeHwType) UnmarshalJSON

func (v *VolumeHwType) UnmarshalJSON(src []byte) error

Source Files

Jump to

Keyboard shortcuts

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