Documentation ¶
Index ¶
- Constants
- Variables
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- func SliceToValueDefault[T any](ptrSlice *[]T) []T
- func ToBool(ptr *bool) bool
- func ToBoolDefault(ptr *bool) bool
- func ToBoolSlice(ptrSlice *[]bool) []bool
- func ToByte(ptr *byte) byte
- func ToByteDefault(ptr *byte) byte
- func ToByteSlice(ptrSlice *[]byte) []byte
- func ToFloat32(ptr *float32) float32
- func ToFloat32Default(ptr *float32) float32
- func ToFloat32Slice(ptrSlice *[]float32) []float32
- func ToFloat64(ptr *float64) float64
- func ToFloat64Default(ptr *float64) float64
- func ToFloat64Slice(ptrSlice *[]float64) []float64
- func ToInt(ptr *int) int
- func ToInt16(ptr *int16) int16
- func ToInt16Default(ptr *int16) int16
- func ToInt16Slice(ptrSlice *[]int16) []int16
- func ToInt32(ptr *int32) int32
- func ToInt32Default(ptr *int32) int32
- func ToInt32Slice(ptrSlice *[]int32) []int32
- func ToInt64(ptr *int64) int64
- func ToInt64Default(ptr *int64) int64
- func ToInt64Slice(ptrSlice *[]int64) []int64
- func ToInt8(ptr *int8) int8
- func ToInt8Default(ptr *int8) int8
- func ToInt8Slice(ptrSlice *[]int8) []int8
- func ToIntDefault(ptr *int) int
- func ToIntSlice(ptrSlice *[]int) []int
- func ToPtr[T any](v T) *T
- func ToString(ptr *string) string
- func ToStringDefault(ptr *string) string
- func ToStringSlice(ptrSlice *[]string) []string
- func ToTime(ptr *time.Time) time.Time
- func ToTimeDefault(ptr *time.Time) time.Time
- func ToTimeSlice(ptrSlice *[]time.Time) []time.Time
- func ToUint(ptr *uint) uint
- func ToUint16(ptr *uint16) uint16
- func ToUint16Default(ptr *uint16) uint16
- func ToUint16Slice(ptrSlice *[]uint16) []uint16
- func ToUint32(ptr *uint32) uint32
- func ToUint32Default(ptr *uint32) uint32
- func ToUint32Slice(ptrSlice *[]uint32) []uint32
- func ToUint64(ptr *uint64) uint64
- func ToUint64Default(ptr *uint64) uint64
- func ToUint64Slice(ptrSlice *[]uint64) []uint64
- func ToUint8(ptr *uint8) uint8
- func ToUint8Default(ptr *uint8) uint8
- func ToUint8Slice(ptrSlice *[]uint8) []uint8
- func ToUintDefault(ptr *uint) uint
- func ToUintSlice(ptrSlice *[]uint) []uint
- func ToValue[T any](ptr *T) T
- func ToValueDefault[T any](ptr *T) T
- type APIClient
- type APIKey
- type APIResponse
- type Action
- func (o *Action) GetHref() *string
- func (o *Action) GetHrefOk() (*string, bool)
- func (o *Action) GetId() *string
- func (o *Action) GetIdOk() (*string, bool)
- func (o *Action) GetMetadata() *MetadataBasic
- func (o *Action) GetMetadataOk() (*MetadataBasic, bool)
- func (o *Action) GetProperties() *ActionProperties
- func (o *Action) GetPropertiesOk() (*ActionProperties, bool)
- func (o *Action) GetType() *string
- func (o *Action) GetTypeOk() (*string, bool)
- func (o *Action) HasHref() bool
- func (o *Action) HasId() bool
- func (o *Action) HasMetadata() bool
- func (o *Action) HasProperties() bool
- func (o *Action) HasType() bool
- func (o Action) MarshalJSON() ([]byte, error)
- func (o *Action) SetHref(v string)
- func (o *Action) SetId(v string)
- func (o *Action) SetMetadata(v MetadataBasic)
- func (o *Action) SetProperties(v ActionProperties)
- func (o *Action) SetType(v string)
- type ActionAmount
- type ActionCollection
- func (o *ActionCollection) GetHref() *string
- func (o *ActionCollection) GetHrefOk() (*string, bool)
- func (o *ActionCollection) GetId() *string
- func (o *ActionCollection) GetIdOk() (*string, bool)
- func (o *ActionCollection) GetItems() *[]Action
- func (o *ActionCollection) GetItemsOk() (*[]Action, bool)
- func (o *ActionCollection) GetType() *string
- func (o *ActionCollection) GetTypeOk() (*string, bool)
- func (o *ActionCollection) HasHref() bool
- func (o *ActionCollection) HasId() bool
- func (o *ActionCollection) HasItems() bool
- func (o *ActionCollection) HasType() bool
- func (o ActionCollection) MarshalJSON() ([]byte, error)
- func (o *ActionCollection) SetHref(v string)
- func (o *ActionCollection) SetId(v string)
- func (o *ActionCollection) SetItems(v []Action)
- func (o *ActionCollection) SetType(v string)
- type ActionProperties
- func (o *ActionProperties) GetActionStatus() *ActionStatus
- func (o *ActionProperties) GetActionStatusOk() (*ActionStatus, bool)
- func (o *ActionProperties) GetActionType() *ActionType
- func (o *ActionProperties) GetActionTypeOk() (*ActionType, bool)
- func (o *ActionProperties) HasActionStatus() bool
- func (o *ActionProperties) HasActionType() bool
- func (o ActionProperties) MarshalJSON() ([]byte, error)
- func (o *ActionProperties) SetActionStatus(v ActionStatus)
- func (o *ActionProperties) SetActionType(v ActionType)
- type ActionResource
- func (o *ActionResource) GetHref() *string
- func (o *ActionResource) GetHrefOk() (*string, bool)
- func (o *ActionResource) GetId() *string
- func (o *ActionResource) GetIdOk() (*string, bool)
- func (o *ActionResource) GetType() *string
- func (o *ActionResource) GetTypeOk() (*string, bool)
- func (o *ActionResource) HasHref() bool
- func (o *ActionResource) HasId() bool
- func (o *ActionResource) HasType() bool
- func (o ActionResource) MarshalJSON() ([]byte, error)
- func (o *ActionResource) SetHref(v string)
- func (o *ActionResource) SetId(v string)
- func (o *ActionResource) SetType(v string)
- type ActionStatus
- type ActionType
- type ActionsLinkResource
- func (o *ActionsLinkResource) GetHref() *string
- func (o *ActionsLinkResource) GetHrefOk() (*string, bool)
- func (o *ActionsLinkResource) GetId() *string
- func (o *ActionsLinkResource) GetIdOk() (*string, bool)
- func (o *ActionsLinkResource) GetType() *string
- func (o *ActionsLinkResource) GetTypeOk() (*string, bool)
- func (o *ActionsLinkResource) HasHref() bool
- func (o *ActionsLinkResource) HasId() bool
- func (o *ActionsLinkResource) HasType() bool
- func (o ActionsLinkResource) MarshalJSON() ([]byte, error)
- func (o *ActionsLinkResource) SetHref(v string)
- func (o *ActionsLinkResource) SetId(v string)
- func (o *ActionsLinkResource) SetType(v string)
- type ApiGroupsActionsFindByIdRequest
- type ApiGroupsActionsGetRequest
- type ApiGroupsDeleteRequest
- type ApiGroupsFindByIdRequest
- type ApiGroupsGetRequest
- type ApiGroupsPostRequest
- type ApiGroupsPutRequest
- type ApiGroupsServersFindByIdRequest
- type ApiGroupsServersGetRequest
- type AutoScalingGroupsApiService
- func (a *AutoScalingGroupsApiService) GroupsActionsFindById(ctx _context.Context, actionId string, groupId string) ApiGroupsActionsFindByIdRequest
- func (a *AutoScalingGroupsApiService) GroupsActionsFindByIdExecute(r ApiGroupsActionsFindByIdRequest) (Action, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsActionsGet(ctx _context.Context, groupId string) ApiGroupsActionsGetRequest
- func (a *AutoScalingGroupsApiService) GroupsActionsGetExecute(r ApiGroupsActionsGetRequest) (ActionCollection, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsDelete(ctx _context.Context, groupId string) ApiGroupsDeleteRequest
- func (a *AutoScalingGroupsApiService) GroupsDeleteExecute(r ApiGroupsDeleteRequest) (*APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsFindById(ctx _context.Context, groupId string) ApiGroupsFindByIdRequest
- func (a *AutoScalingGroupsApiService) GroupsFindByIdExecute(r ApiGroupsFindByIdRequest) (Group, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsGet(ctx _context.Context) ApiGroupsGetRequest
- func (a *AutoScalingGroupsApiService) GroupsGetExecute(r ApiGroupsGetRequest) (GroupCollection, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsPost(ctx _context.Context) ApiGroupsPostRequest
- func (a *AutoScalingGroupsApiService) GroupsPostExecute(r ApiGroupsPostRequest) (GroupPostResponse, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsPut(ctx _context.Context, groupId string) ApiGroupsPutRequest
- func (a *AutoScalingGroupsApiService) GroupsPutExecute(r ApiGroupsPutRequest) (Group, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsServersFindById(ctx _context.Context, groupId string, serverId string) ApiGroupsServersFindByIdRequest
- func (a *AutoScalingGroupsApiService) GroupsServersFindByIdExecute(r ApiGroupsServersFindByIdRequest) (Server, *APIResponse, error)
- func (a *AutoScalingGroupsApiService) GroupsServersGet(ctx _context.Context, groupId string) ApiGroupsServersGetRequest
- func (a *AutoScalingGroupsApiService) GroupsServersGetExecute(r ApiGroupsServersGetRequest) (ServerCollection, *APIResponse, error)
- type AvailabilityZone
- type BasicAuth
- type BusType
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) AddDefaultQueryParam(key string, value string)
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- type CpuFamily
- type DatacenterServer
- func (o *DatacenterServer) GetHref() *string
- func (o *DatacenterServer) GetHrefOk() (*string, bool)
- func (o *DatacenterServer) GetId() *string
- func (o *DatacenterServer) GetIdOk() (*string, bool)
- func (o *DatacenterServer) GetType() *string
- func (o *DatacenterServer) GetTypeOk() (*string, bool)
- func (o *DatacenterServer) HasHref() bool
- func (o *DatacenterServer) HasId() bool
- func (o *DatacenterServer) HasType() bool
- func (o DatacenterServer) MarshalJSON() ([]byte, error)
- func (o *DatacenterServer) SetHref(v string)
- func (o *DatacenterServer) SetId(v string)
- func (o *DatacenterServer) SetType(v string)
- type Error401
- func (o *Error401) GetHttpStatus() *int32
- func (o *Error401) GetHttpStatusOk() (*int32, bool)
- func (o *Error401) GetMessages() *[]Error401Message
- func (o *Error401) GetMessagesOk() (*[]Error401Message, bool)
- func (o *Error401) HasHttpStatus() bool
- func (o *Error401) HasMessages() bool
- func (o Error401) MarshalJSON() ([]byte, error)
- func (o *Error401) SetHttpStatus(v int32)
- func (o *Error401) SetMessages(v []Error401Message)
- type Error401Message
- func (o *Error401Message) GetErrorCode() *string
- func (o *Error401Message) GetErrorCodeOk() (*string, bool)
- func (o *Error401Message) GetMessage() *string
- func (o *Error401Message) GetMessageOk() (*string, bool)
- func (o *Error401Message) HasErrorCode() bool
- func (o *Error401Message) HasMessage() bool
- func (o Error401Message) MarshalJSON() ([]byte, error)
- func (o *Error401Message) SetErrorCode(v string)
- func (o *Error401Message) SetMessage(v string)
- type Error404
- func (o *Error404) GetHttpStatus() *int32
- func (o *Error404) GetHttpStatusOk() (*int32, bool)
- func (o *Error404) GetMessages() *[]Error404Message
- func (o *Error404) GetMessagesOk() (*[]Error404Message, bool)
- func (o *Error404) HasHttpStatus() bool
- func (o *Error404) HasMessages() bool
- func (o Error404) MarshalJSON() ([]byte, error)
- func (o *Error404) SetHttpStatus(v int32)
- func (o *Error404) SetMessages(v []Error404Message)
- type Error404Message
- func (o *Error404Message) GetErrorCode() *string
- func (o *Error404Message) GetErrorCodeOk() (*string, bool)
- func (o *Error404Message) GetMessage() *string
- func (o *Error404Message) GetMessageOk() (*string, bool)
- func (o *Error404Message) HasErrorCode() bool
- func (o *Error404Message) HasMessage() bool
- func (o Error404Message) MarshalJSON() ([]byte, error)
- func (o *Error404Message) SetErrorCode(v string)
- func (o *Error404Message) SetMessage(v string)
- type ErrorAuthorize
- func (o *ErrorAuthorize) GetHttpStatus() *int32
- func (o *ErrorAuthorize) GetHttpStatusOk() (*int32, bool)
- func (o *ErrorAuthorize) GetMessages() *[]ErrorAuthorizeMessage
- func (o *ErrorAuthorize) GetMessagesOk() (*[]ErrorAuthorizeMessage, bool)
- func (o *ErrorAuthorize) HasHttpStatus() bool
- func (o *ErrorAuthorize) HasMessages() bool
- func (o ErrorAuthorize) MarshalJSON() ([]byte, error)
- func (o *ErrorAuthorize) SetHttpStatus(v int32)
- func (o *ErrorAuthorize) SetMessages(v []ErrorAuthorizeMessage)
- type ErrorAuthorizeMessage
- func (o *ErrorAuthorizeMessage) GetErrorCode() *string
- func (o *ErrorAuthorizeMessage) GetErrorCodeOk() (*string, bool)
- func (o *ErrorAuthorizeMessage) GetMessage() *string
- func (o *ErrorAuthorizeMessage) GetMessageOk() (*string, bool)
- func (o *ErrorAuthorizeMessage) HasErrorCode() bool
- func (o *ErrorAuthorizeMessage) HasMessage() bool
- func (o ErrorAuthorizeMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorAuthorizeMessage) SetErrorCode(v string)
- func (o *ErrorAuthorizeMessage) SetMessage(v string)
- type ErrorGroupValidate
- func (o *ErrorGroupValidate) GetHttpStatus() *int32
- func (o *ErrorGroupValidate) GetHttpStatusOk() (*int32, bool)
- func (o *ErrorGroupValidate) GetMessages() *[]ErrorGroupValidateMessage
- func (o *ErrorGroupValidate) GetMessagesOk() (*[]ErrorGroupValidateMessage, bool)
- func (o *ErrorGroupValidate) HasHttpStatus() bool
- func (o *ErrorGroupValidate) HasMessages() bool
- func (o ErrorGroupValidate) MarshalJSON() ([]byte, error)
- func (o *ErrorGroupValidate) SetHttpStatus(v int32)
- func (o *ErrorGroupValidate) SetMessages(v []ErrorGroupValidateMessage)
- type ErrorGroupValidateMessage
- func (o *ErrorGroupValidateMessage) GetErrorCode() *string
- func (o *ErrorGroupValidateMessage) GetErrorCodeOk() (*string, bool)
- func (o *ErrorGroupValidateMessage) GetMessage() *string
- func (o *ErrorGroupValidateMessage) GetMessageOk() (*string, bool)
- func (o *ErrorGroupValidateMessage) HasErrorCode() bool
- func (o *ErrorGroupValidateMessage) HasMessage() bool
- func (o ErrorGroupValidateMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorGroupValidateMessage) SetErrorCode(v string)
- func (o *ErrorGroupValidateMessage) SetMessage(v string)
- type ErrorMessage
- func (o *ErrorMessage) GetErrorCode() *string
- func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessage) GetMessage() *string
- func (o *ErrorMessage) GetMessageOk() (*string, bool)
- func (o *ErrorMessage) HasErrorCode() bool
- func (o *ErrorMessage) HasMessage() bool
- func (o ErrorMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorMessage) SetErrorCode(v string)
- func (o *ErrorMessage) SetMessage(v string)
- type ErrorMessageParse
- func (o *ErrorMessageParse) GetErrorCode() *string
- func (o *ErrorMessageParse) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessageParse) GetMessage() *string
- func (o *ErrorMessageParse) GetMessageOk() (*string, bool)
- func (o *ErrorMessageParse) HasErrorCode() bool
- func (o *ErrorMessageParse) HasMessage() bool
- func (o ErrorMessageParse) MarshalJSON() ([]byte, error)
- func (o *ErrorMessageParse) SetErrorCode(v string)
- func (o *ErrorMessageParse) SetMessage(v string)
- type GenericOpenAPIError
- func (e GenericOpenAPIError) Body() []byte
- func (e GenericOpenAPIError) Error() string
- func (e GenericOpenAPIError) Model() interface{}
- func (e *GenericOpenAPIError) SetBody(body []byte)
- func (e *GenericOpenAPIError) SetError(error string)
- func (e *GenericOpenAPIError) SetModel(model interface{})
- func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
- func (e GenericOpenAPIError) StatusCode() int
- type Group
- func (o *Group) GetEntities() *GroupEntities
- func (o *Group) GetEntitiesOk() (*GroupEntities, bool)
- func (o *Group) GetHref() *string
- func (o *Group) GetHrefOk() (*string, bool)
- func (o *Group) GetId() *string
- func (o *Group) GetIdOk() (*string, bool)
- func (o *Group) GetMetadata() *Metadata
- func (o *Group) GetMetadataOk() (*Metadata, bool)
- func (o *Group) GetProperties() *GroupProperties
- func (o *Group) GetPropertiesOk() (*GroupProperties, bool)
- func (o *Group) GetType() *string
- func (o *Group) GetTypeOk() (*string, bool)
- func (o *Group) HasEntities() bool
- func (o *Group) HasHref() bool
- func (o *Group) HasId() bool
- func (o *Group) HasMetadata() bool
- func (o *Group) HasProperties() bool
- func (o *Group) HasType() bool
- func (o Group) MarshalJSON() ([]byte, error)
- func (o *Group) SetEntities(v GroupEntities)
- func (o *Group) SetHref(v string)
- func (o *Group) SetId(v string)
- func (o *Group) SetMetadata(v Metadata)
- func (o *Group) SetProperties(v GroupProperties)
- func (o *Group) SetType(v string)
- type GroupCollection
- func (o *GroupCollection) GetHref() *string
- func (o *GroupCollection) GetHrefOk() (*string, bool)
- func (o *GroupCollection) GetId() *string
- func (o *GroupCollection) GetIdOk() (*string, bool)
- func (o *GroupCollection) GetItems() *[]Group
- func (o *GroupCollection) GetItemsOk() (*[]Group, bool)
- func (o *GroupCollection) GetType() *string
- func (o *GroupCollection) GetTypeOk() (*string, bool)
- func (o *GroupCollection) HasHref() bool
- func (o *GroupCollection) HasId() bool
- func (o *GroupCollection) HasItems() bool
- func (o *GroupCollection) HasType() bool
- func (o GroupCollection) MarshalJSON() ([]byte, error)
- func (o *GroupCollection) SetHref(v string)
- func (o *GroupCollection) SetId(v string)
- func (o *GroupCollection) SetItems(v []Group)
- func (o *GroupCollection) SetType(v string)
- type GroupEntities
- func (o *GroupEntities) GetActions() *ActionCollection
- func (o *GroupEntities) GetActionsOk() (*ActionCollection, bool)
- func (o *GroupEntities) GetServers() *ServerCollection
- func (o *GroupEntities) GetServersOk() (*ServerCollection, bool)
- func (o *GroupEntities) HasActions() bool
- func (o *GroupEntities) HasServers() bool
- func (o GroupEntities) MarshalJSON() ([]byte, error)
- func (o *GroupEntities) SetActions(v ActionCollection)
- func (o *GroupEntities) SetServers(v ServerCollection)
- type GroupPolicy
- func (o *GroupPolicy) GetMetric() *Metric
- func (o *GroupPolicy) GetMetricOk() (*Metric, bool)
- func (o *GroupPolicy) GetRange() *string
- func (o *GroupPolicy) GetRangeOk() (*string, bool)
- func (o *GroupPolicy) GetScaleInAction() *GroupPolicyScaleInAction
- func (o *GroupPolicy) GetScaleInActionOk() (*GroupPolicyScaleInAction, bool)
- func (o *GroupPolicy) GetScaleInThreshold() *float32
- func (o *GroupPolicy) GetScaleInThresholdOk() (*float32, bool)
- func (o *GroupPolicy) GetScaleOutAction() *GroupPolicyScaleOutAction
- func (o *GroupPolicy) GetScaleOutActionOk() (*GroupPolicyScaleOutAction, bool)
- func (o *GroupPolicy) GetScaleOutThreshold() *float32
- func (o *GroupPolicy) GetScaleOutThresholdOk() (*float32, bool)
- func (o *GroupPolicy) GetUnit() *QueryUnit
- func (o *GroupPolicy) GetUnitOk() (*QueryUnit, bool)
- func (o *GroupPolicy) HasMetric() bool
- func (o *GroupPolicy) HasRange() bool
- func (o *GroupPolicy) HasScaleInAction() bool
- func (o *GroupPolicy) HasScaleInThreshold() bool
- func (o *GroupPolicy) HasScaleOutAction() bool
- func (o *GroupPolicy) HasScaleOutThreshold() bool
- func (o *GroupPolicy) HasUnit() bool
- func (o GroupPolicy) MarshalJSON() ([]byte, error)
- func (o *GroupPolicy) SetMetric(v Metric)
- func (o *GroupPolicy) SetRange(v string)
- func (o *GroupPolicy) SetScaleInAction(v GroupPolicyScaleInAction)
- func (o *GroupPolicy) SetScaleInThreshold(v float32)
- func (o *GroupPolicy) SetScaleOutAction(v GroupPolicyScaleOutAction)
- func (o *GroupPolicy) SetScaleOutThreshold(v float32)
- func (o *GroupPolicy) SetUnit(v QueryUnit)
- type GroupPolicyScaleInAction
- func (o *GroupPolicyScaleInAction) GetAmount() *float32
- func (o *GroupPolicyScaleInAction) GetAmountOk() (*float32, bool)
- func (o *GroupPolicyScaleInAction) GetAmountType() *ActionAmount
- func (o *GroupPolicyScaleInAction) GetAmountTypeOk() (*ActionAmount, bool)
- func (o *GroupPolicyScaleInAction) GetCooldownPeriod() *string
- func (o *GroupPolicyScaleInAction) GetCooldownPeriodOk() (*string, bool)
- func (o *GroupPolicyScaleInAction) GetDeleteVolumes() *bool
- func (o *GroupPolicyScaleInAction) GetDeleteVolumesOk() (*bool, bool)
- func (o *GroupPolicyScaleInAction) GetTerminationPolicy() *TerminationPolicyType
- func (o *GroupPolicyScaleInAction) GetTerminationPolicyOk() (*TerminationPolicyType, bool)
- func (o *GroupPolicyScaleInAction) HasAmount() bool
- func (o *GroupPolicyScaleInAction) HasAmountType() bool
- func (o *GroupPolicyScaleInAction) HasCooldownPeriod() bool
- func (o *GroupPolicyScaleInAction) HasDeleteVolumes() bool
- func (o *GroupPolicyScaleInAction) HasTerminationPolicy() bool
- func (o GroupPolicyScaleInAction) MarshalJSON() ([]byte, error)
- func (o *GroupPolicyScaleInAction) SetAmount(v float32)
- func (o *GroupPolicyScaleInAction) SetAmountType(v ActionAmount)
- func (o *GroupPolicyScaleInAction) SetCooldownPeriod(v string)
- func (o *GroupPolicyScaleInAction) SetDeleteVolumes(v bool)
- func (o *GroupPolicyScaleInAction) SetTerminationPolicy(v TerminationPolicyType)
- type GroupPolicyScaleOutAction
- func (o *GroupPolicyScaleOutAction) GetAmount() *float32
- func (o *GroupPolicyScaleOutAction) GetAmountOk() (*float32, bool)
- func (o *GroupPolicyScaleOutAction) GetAmountType() *ActionAmount
- func (o *GroupPolicyScaleOutAction) GetAmountTypeOk() (*ActionAmount, bool)
- func (o *GroupPolicyScaleOutAction) GetCooldownPeriod() *string
- func (o *GroupPolicyScaleOutAction) GetCooldownPeriodOk() (*string, bool)
- func (o *GroupPolicyScaleOutAction) HasAmount() bool
- func (o *GroupPolicyScaleOutAction) HasAmountType() bool
- func (o *GroupPolicyScaleOutAction) HasCooldownPeriod() bool
- func (o GroupPolicyScaleOutAction) MarshalJSON() ([]byte, error)
- func (o *GroupPolicyScaleOutAction) SetAmount(v float32)
- func (o *GroupPolicyScaleOutAction) SetAmountType(v ActionAmount)
- func (o *GroupPolicyScaleOutAction) SetCooldownPeriod(v string)
- type GroupPost
- func (o *GroupPost) GetEntities() *GroupPostEntities
- func (o *GroupPost) GetEntitiesOk() (*GroupPostEntities, bool)
- func (o *GroupPost) GetHref() *string
- func (o *GroupPost) GetHrefOk() (*string, bool)
- func (o *GroupPost) GetId() *string
- func (o *GroupPost) GetIdOk() (*string, bool)
- func (o *GroupPost) GetMetadata() *Metadata
- func (o *GroupPost) GetMetadataOk() (*Metadata, bool)
- func (o *GroupPost) GetProperties() *GroupProperties
- func (o *GroupPost) GetPropertiesOk() (*GroupProperties, bool)
- func (o *GroupPost) GetType() *string
- func (o *GroupPost) GetTypeOk() (*string, bool)
- func (o *GroupPost) HasEntities() bool
- func (o *GroupPost) HasHref() bool
- func (o *GroupPost) HasId() bool
- func (o *GroupPost) HasMetadata() bool
- func (o *GroupPost) HasProperties() bool
- func (o *GroupPost) HasType() bool
- func (o GroupPost) MarshalJSON() ([]byte, error)
- func (o *GroupPost) SetEntities(v GroupPostEntities)
- func (o *GroupPost) SetHref(v string)
- func (o *GroupPost) SetId(v string)
- func (o *GroupPost) SetMetadata(v Metadata)
- func (o *GroupPost) SetProperties(v GroupProperties)
- func (o *GroupPost) SetType(v string)
- type GroupPostEntities
- func (o *GroupPostEntities) GetActions() *ActionsLinkResource
- func (o *GroupPostEntities) GetActionsOk() (*ActionsLinkResource, bool)
- func (o *GroupPostEntities) GetServers() *ServersLinkResource
- func (o *GroupPostEntities) GetServersOk() (*ServersLinkResource, bool)
- func (o *GroupPostEntities) HasActions() bool
- func (o *GroupPostEntities) HasServers() bool
- func (o GroupPostEntities) MarshalJSON() ([]byte, error)
- func (o *GroupPostEntities) SetActions(v ActionsLinkResource)
- func (o *GroupPostEntities) SetServers(v ServersLinkResource)
- type GroupPostResponse
- func (o *GroupPostResponse) GetEntities() *GroupPostEntities
- func (o *GroupPostResponse) GetEntitiesOk() (*GroupPostEntities, bool)
- func (o *GroupPostResponse) GetHref() *string
- func (o *GroupPostResponse) GetHrefOk() (*string, bool)
- func (o *GroupPostResponse) GetId() *string
- func (o *GroupPostResponse) GetIdOk() (*string, bool)
- func (o *GroupPostResponse) GetMetadata() *Metadata
- func (o *GroupPostResponse) GetMetadataOk() (*Metadata, bool)
- func (o *GroupPostResponse) GetProperties() *GroupProperties
- func (o *GroupPostResponse) GetPropertiesOk() (*GroupProperties, bool)
- func (o *GroupPostResponse) GetStartedActions() *[]ActionResource
- func (o *GroupPostResponse) GetStartedActionsOk() (*[]ActionResource, bool)
- func (o *GroupPostResponse) GetType() *string
- func (o *GroupPostResponse) GetTypeOk() (*string, bool)
- func (o *GroupPostResponse) HasEntities() bool
- func (o *GroupPostResponse) HasHref() bool
- func (o *GroupPostResponse) HasId() bool
- func (o *GroupPostResponse) HasMetadata() bool
- func (o *GroupPostResponse) HasProperties() bool
- func (o *GroupPostResponse) HasStartedActions() bool
- func (o *GroupPostResponse) HasType() bool
- func (o GroupPostResponse) MarshalJSON() ([]byte, error)
- func (o *GroupPostResponse) SetEntities(v GroupPostEntities)
- func (o *GroupPostResponse) SetHref(v string)
- func (o *GroupPostResponse) SetId(v string)
- func (o *GroupPostResponse) SetMetadata(v Metadata)
- func (o *GroupPostResponse) SetProperties(v GroupProperties)
- func (o *GroupPostResponse) SetStartedActions(v []ActionResource)
- func (o *GroupPostResponse) SetType(v string)
- type GroupProperties
- func (o *GroupProperties) GetDatacenter() *GroupPropertiesDatacenter
- func (o *GroupProperties) GetDatacenterOk() (*GroupPropertiesDatacenter, bool)
- func (o *GroupProperties) GetLocation() *string
- func (o *GroupProperties) GetLocationOk() (*string, bool)
- func (o *GroupProperties) GetMaxReplicaCount() *int64
- func (o *GroupProperties) GetMaxReplicaCountOk() (*int64, bool)
- func (o *GroupProperties) GetMinReplicaCount() *int64
- func (o *GroupProperties) GetMinReplicaCountOk() (*int64, bool)
- func (o *GroupProperties) GetName() *string
- func (o *GroupProperties) GetNameOk() (*string, bool)
- func (o *GroupProperties) GetPolicy() *GroupPolicy
- func (o *GroupProperties) GetPolicyOk() (*GroupPolicy, bool)
- func (o *GroupProperties) GetReplicaConfiguration() *ReplicaPropertiesPost
- func (o *GroupProperties) GetReplicaConfigurationOk() (*ReplicaPropertiesPost, bool)
- func (o *GroupProperties) HasDatacenter() bool
- func (o *GroupProperties) HasLocation() bool
- func (o *GroupProperties) HasMaxReplicaCount() bool
- func (o *GroupProperties) HasMinReplicaCount() bool
- func (o *GroupProperties) HasName() bool
- func (o *GroupProperties) HasPolicy() bool
- func (o *GroupProperties) HasReplicaConfiguration() bool
- func (o GroupProperties) MarshalJSON() ([]byte, error)
- func (o *GroupProperties) SetDatacenter(v GroupPropertiesDatacenter)
- func (o *GroupProperties) SetLocation(v string)
- func (o *GroupProperties) SetMaxReplicaCount(v int64)
- func (o *GroupProperties) SetMinReplicaCount(v int64)
- func (o *GroupProperties) SetName(v string)
- func (o *GroupProperties) SetPolicy(v GroupPolicy)
- func (o *GroupProperties) SetReplicaConfiguration(v ReplicaPropertiesPost)
- type GroupPropertiesDatacenter
- func (o *GroupPropertiesDatacenter) GetHref() *string
- func (o *GroupPropertiesDatacenter) GetHrefOk() (*string, bool)
- func (o *GroupPropertiesDatacenter) GetId() *string
- func (o *GroupPropertiesDatacenter) GetIdOk() (*string, bool)
- func (o *GroupPropertiesDatacenter) GetType() *string
- func (o *GroupPropertiesDatacenter) GetTypeOk() (*string, bool)
- func (o *GroupPropertiesDatacenter) HasHref() bool
- func (o *GroupPropertiesDatacenter) HasId() bool
- func (o *GroupPropertiesDatacenter) HasType() bool
- func (o GroupPropertiesDatacenter) MarshalJSON() ([]byte, error)
- func (o *GroupPropertiesDatacenter) SetHref(v string)
- func (o *GroupPropertiesDatacenter) SetId(v string)
- func (o *GroupPropertiesDatacenter) SetType(v string)
- type GroupPut
- type GroupPutProperties
- func (o *GroupPutProperties) GetDatacenter() *GroupPutPropertiesDatacenter
- func (o *GroupPutProperties) GetDatacenterOk() (*GroupPutPropertiesDatacenter, bool)
- func (o *GroupPutProperties) GetLocation() *string
- func (o *GroupPutProperties) GetLocationOk() (*string, bool)
- func (o *GroupPutProperties) GetMaxReplicaCount() *int64
- func (o *GroupPutProperties) GetMaxReplicaCountOk() (*int64, bool)
- func (o *GroupPutProperties) GetMinReplicaCount() *int64
- func (o *GroupPutProperties) GetMinReplicaCountOk() (*int64, bool)
- func (o *GroupPutProperties) GetName() *string
- func (o *GroupPutProperties) GetNameOk() (*string, bool)
- func (o *GroupPutProperties) GetPolicy() *GroupPolicy
- func (o *GroupPutProperties) GetPolicyOk() (*GroupPolicy, bool)
- func (o *GroupPutProperties) GetReplicaConfiguration() *ReplicaPropertiesPost
- func (o *GroupPutProperties) GetReplicaConfigurationOk() (*ReplicaPropertiesPost, bool)
- func (o *GroupPutProperties) HasDatacenter() bool
- func (o *GroupPutProperties) HasLocation() bool
- func (o *GroupPutProperties) HasMaxReplicaCount() bool
- func (o *GroupPutProperties) HasMinReplicaCount() bool
- func (o *GroupPutProperties) HasName() bool
- func (o *GroupPutProperties) HasPolicy() bool
- func (o *GroupPutProperties) HasReplicaConfiguration() bool
- func (o GroupPutProperties) MarshalJSON() ([]byte, error)
- func (o *GroupPutProperties) SetDatacenter(v GroupPutPropertiesDatacenter)
- func (o *GroupPutProperties) SetLocation(v string)
- func (o *GroupPutProperties) SetMaxReplicaCount(v int64)
- func (o *GroupPutProperties) SetMinReplicaCount(v int64)
- func (o *GroupPutProperties) SetName(v string)
- func (o *GroupPutProperties) SetPolicy(v GroupPolicy)
- func (o *GroupPutProperties) SetReplicaConfiguration(v ReplicaPropertiesPost)
- type GroupPutPropertiesDatacenter
- func (o *GroupPutPropertiesDatacenter) GetHref() *string
- func (o *GroupPutPropertiesDatacenter) GetHrefOk() (*string, bool)
- func (o *GroupPutPropertiesDatacenter) GetId() *string
- func (o *GroupPutPropertiesDatacenter) GetIdOk() (*string, bool)
- func (o *GroupPutPropertiesDatacenter) GetType() *string
- func (o *GroupPutPropertiesDatacenter) GetTypeOk() (*string, bool)
- func (o *GroupPutPropertiesDatacenter) HasHref() bool
- func (o *GroupPutPropertiesDatacenter) HasId() bool
- func (o *GroupPutPropertiesDatacenter) HasType() bool
- func (o GroupPutPropertiesDatacenter) MarshalJSON() ([]byte, error)
- func (o *GroupPutPropertiesDatacenter) SetHref(v string)
- func (o *GroupPutPropertiesDatacenter) SetId(v string)
- func (o *GroupPutPropertiesDatacenter) SetType(v string)
- type GroupResource
- func (o *GroupResource) GetHref() *string
- func (o *GroupResource) GetHrefOk() (*string, bool)
- func (o *GroupResource) GetId() *string
- func (o *GroupResource) GetIdOk() (*string, bool)
- func (o *GroupResource) GetType() *string
- func (o *GroupResource) GetTypeOk() (*string, bool)
- func (o *GroupResource) HasHref() bool
- func (o *GroupResource) HasId() bool
- func (o *GroupResource) HasType() bool
- func (o GroupResource) MarshalJSON() ([]byte, error)
- func (o *GroupResource) SetHref(v string)
- func (o *GroupResource) SetId(v string)
- func (o *GroupResource) SetType(v string)
- type IonosTime
- type LogLevel
- type Logger
- type Metadata
- func (o *Metadata) GetCreatedBy() *string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() *string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() *time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetEtag() *string
- func (o *Metadata) GetEtagOk() (*string, bool)
- func (o *Metadata) GetLastModifiedBy() *string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() *string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() *time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetState() *MetadataState
- func (o *Metadata) GetStateOk() (*MetadataState, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasEtag() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasState() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetEtag(v string)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetState(v MetadataState)
- type MetadataBasic
- func (o *MetadataBasic) GetCreatedDate() *time.Time
- func (o *MetadataBasic) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataBasic) GetEtag() *string
- func (o *MetadataBasic) GetEtagOk() (*string, bool)
- func (o *MetadataBasic) GetLastModifiedDate() *time.Time
- func (o *MetadataBasic) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataBasic) GetState() *string
- func (o *MetadataBasic) GetStateOk() (*string, bool)
- func (o *MetadataBasic) HasCreatedDate() bool
- func (o *MetadataBasic) HasEtag() bool
- func (o *MetadataBasic) HasLastModifiedDate() bool
- func (o *MetadataBasic) HasState() bool
- func (o MetadataBasic) MarshalJSON() ([]byte, error)
- func (o *MetadataBasic) SetCreatedDate(v time.Time)
- func (o *MetadataBasic) SetEtag(v string)
- func (o *MetadataBasic) SetLastModifiedDate(v time.Time)
- func (o *MetadataBasic) SetState(v string)
- type MetadataState
- type Metric
- type NicFirewallRule
- func (o *NicFirewallRule) GetIcmpCode() *int32
- func (o *NicFirewallRule) GetIcmpCodeOk() (*int32, bool)
- func (o *NicFirewallRule) GetIcmpType() *int32
- func (o *NicFirewallRule) GetIcmpTypeOk() (*int32, bool)
- func (o *NicFirewallRule) GetName() *string
- func (o *NicFirewallRule) GetNameOk() (*string, bool)
- func (o *NicFirewallRule) GetPortRangeEnd() *int32
- func (o *NicFirewallRule) GetPortRangeEndOk() (*int32, bool)
- func (o *NicFirewallRule) GetPortRangeStart() *int32
- func (o *NicFirewallRule) GetPortRangeStartOk() (*int32, bool)
- func (o *NicFirewallRule) GetProtocol() *string
- func (o *NicFirewallRule) GetProtocolOk() (*string, bool)
- func (o *NicFirewallRule) GetSourceIp() *string
- func (o *NicFirewallRule) GetSourceIpOk() (*string, bool)
- func (o *NicFirewallRule) GetSourceMac() *string
- func (o *NicFirewallRule) GetSourceMacOk() (*string, bool)
- func (o *NicFirewallRule) GetTargetIp() *string
- func (o *NicFirewallRule) GetTargetIpOk() (*string, bool)
- func (o *NicFirewallRule) GetType() *string
- func (o *NicFirewallRule) GetTypeOk() (*string, bool)
- func (o *NicFirewallRule) HasIcmpCode() bool
- func (o *NicFirewallRule) HasIcmpType() bool
- func (o *NicFirewallRule) HasName() bool
- func (o *NicFirewallRule) HasPortRangeEnd() bool
- func (o *NicFirewallRule) HasPortRangeStart() bool
- func (o *NicFirewallRule) HasProtocol() bool
- func (o *NicFirewallRule) HasSourceIp() bool
- func (o *NicFirewallRule) HasSourceMac() bool
- func (o *NicFirewallRule) HasTargetIp() bool
- func (o *NicFirewallRule) HasType() bool
- func (o NicFirewallRule) MarshalJSON() ([]byte, error)
- func (o *NicFirewallRule) SetIcmpCode(v int32)
- func (o *NicFirewallRule) SetIcmpType(v int32)
- func (o *NicFirewallRule) SetName(v string)
- func (o *NicFirewallRule) SetPortRangeEnd(v int32)
- func (o *NicFirewallRule) SetPortRangeStart(v int32)
- func (o *NicFirewallRule) SetProtocol(v string)
- func (o *NicFirewallRule) SetSourceIp(v string)
- func (o *NicFirewallRule) SetSourceMac(v string)
- func (o *NicFirewallRule) SetTargetIp(v string)
- func (o *NicFirewallRule) SetType(v string)
- type NicFlowLog
- func (o *NicFlowLog) GetAction() *string
- func (o *NicFlowLog) GetActionOk() (*string, bool)
- func (o *NicFlowLog) GetBucket() *string
- func (o *NicFlowLog) GetBucketOk() (*string, bool)
- func (o *NicFlowLog) GetDirection() *string
- func (o *NicFlowLog) GetDirectionOk() (*string, bool)
- func (o *NicFlowLog) GetName() *string
- func (o *NicFlowLog) GetNameOk() (*string, bool)
- func (o *NicFlowLog) HasAction() bool
- func (o *NicFlowLog) HasBucket() bool
- func (o *NicFlowLog) HasDirection() bool
- func (o *NicFlowLog) HasName() bool
- func (o NicFlowLog) MarshalJSON() ([]byte, error)
- func (o *NicFlowLog) SetAction(v string)
- func (o *NicFlowLog) SetBucket(v string)
- func (o *NicFlowLog) SetDirection(v string)
- func (o *NicFlowLog) SetName(v string)
- type NullableAction
- type NullableActionAmount
- func (v NullableActionAmount) Get() *ActionAmount
- func (v NullableActionAmount) IsSet() bool
- func (v NullableActionAmount) MarshalJSON() ([]byte, error)
- func (v *NullableActionAmount) Set(val *ActionAmount)
- func (v *NullableActionAmount) UnmarshalJSON(src []byte) error
- func (v *NullableActionAmount) Unset()
- type NullableActionCollection
- func (v NullableActionCollection) Get() *ActionCollection
- func (v NullableActionCollection) IsSet() bool
- func (v NullableActionCollection) MarshalJSON() ([]byte, error)
- func (v *NullableActionCollection) Set(val *ActionCollection)
- func (v *NullableActionCollection) UnmarshalJSON(src []byte) error
- func (v *NullableActionCollection) Unset()
- type NullableActionProperties
- func (v NullableActionProperties) Get() *ActionProperties
- func (v NullableActionProperties) IsSet() bool
- func (v NullableActionProperties) MarshalJSON() ([]byte, error)
- func (v *NullableActionProperties) Set(val *ActionProperties)
- func (v *NullableActionProperties) UnmarshalJSON(src []byte) error
- func (v *NullableActionProperties) Unset()
- type NullableActionResource
- func (v NullableActionResource) Get() *ActionResource
- func (v NullableActionResource) IsSet() bool
- func (v NullableActionResource) MarshalJSON() ([]byte, error)
- func (v *NullableActionResource) Set(val *ActionResource)
- func (v *NullableActionResource) UnmarshalJSON(src []byte) error
- func (v *NullableActionResource) Unset()
- type NullableActionStatus
- func (v NullableActionStatus) Get() *ActionStatus
- func (v NullableActionStatus) IsSet() bool
- func (v NullableActionStatus) MarshalJSON() ([]byte, error)
- func (v *NullableActionStatus) Set(val *ActionStatus)
- func (v *NullableActionStatus) UnmarshalJSON(src []byte) error
- func (v *NullableActionStatus) Unset()
- type NullableActionType
- type NullableActionsLinkResource
- func (v NullableActionsLinkResource) Get() *ActionsLinkResource
- func (v NullableActionsLinkResource) IsSet() bool
- func (v NullableActionsLinkResource) MarshalJSON() ([]byte, error)
- func (v *NullableActionsLinkResource) Set(val *ActionsLinkResource)
- func (v *NullableActionsLinkResource) UnmarshalJSON(src []byte) error
- func (v *NullableActionsLinkResource) Unset()
- type NullableAvailabilityZone
- func (v NullableAvailabilityZone) Get() *AvailabilityZone
- func (v NullableAvailabilityZone) IsSet() bool
- func (v NullableAvailabilityZone) MarshalJSON() ([]byte, error)
- func (v *NullableAvailabilityZone) Set(val *AvailabilityZone)
- func (v *NullableAvailabilityZone) UnmarshalJSON(src []byte) error
- func (v *NullableAvailabilityZone) Unset()
- type NullableBool
- type NullableBusType
- type NullableCpuFamily
- type NullableDatacenterServer
- func (v NullableDatacenterServer) Get() *DatacenterServer
- func (v NullableDatacenterServer) IsSet() bool
- func (v NullableDatacenterServer) MarshalJSON() ([]byte, error)
- func (v *NullableDatacenterServer) Set(val *DatacenterServer)
- func (v *NullableDatacenterServer) UnmarshalJSON(src []byte) error
- func (v *NullableDatacenterServer) Unset()
- type NullableError401
- type NullableError401Message
- func (v NullableError401Message) Get() *Error401Message
- func (v NullableError401Message) IsSet() bool
- func (v NullableError401Message) MarshalJSON() ([]byte, error)
- func (v *NullableError401Message) Set(val *Error401Message)
- func (v *NullableError401Message) UnmarshalJSON(src []byte) error
- func (v *NullableError401Message) Unset()
- type NullableError404
- type NullableError404Message
- func (v NullableError404Message) Get() *Error404Message
- func (v NullableError404Message) IsSet() bool
- func (v NullableError404Message) MarshalJSON() ([]byte, error)
- func (v *NullableError404Message) Set(val *Error404Message)
- func (v *NullableError404Message) UnmarshalJSON(src []byte) error
- func (v *NullableError404Message) Unset()
- type NullableErrorAuthorize
- func (v NullableErrorAuthorize) Get() *ErrorAuthorize
- func (v NullableErrorAuthorize) IsSet() bool
- func (v NullableErrorAuthorize) MarshalJSON() ([]byte, error)
- func (v *NullableErrorAuthorize) Set(val *ErrorAuthorize)
- func (v *NullableErrorAuthorize) UnmarshalJSON(src []byte) error
- func (v *NullableErrorAuthorize) Unset()
- type NullableErrorAuthorizeMessage
- func (v NullableErrorAuthorizeMessage) Get() *ErrorAuthorizeMessage
- func (v NullableErrorAuthorizeMessage) IsSet() bool
- func (v NullableErrorAuthorizeMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorAuthorizeMessage) Set(val *ErrorAuthorizeMessage)
- func (v *NullableErrorAuthorizeMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorAuthorizeMessage) Unset()
- type NullableErrorGroupValidate
- func (v NullableErrorGroupValidate) Get() *ErrorGroupValidate
- func (v NullableErrorGroupValidate) IsSet() bool
- func (v NullableErrorGroupValidate) MarshalJSON() ([]byte, error)
- func (v *NullableErrorGroupValidate) Set(val *ErrorGroupValidate)
- func (v *NullableErrorGroupValidate) UnmarshalJSON(src []byte) error
- func (v *NullableErrorGroupValidate) Unset()
- type NullableErrorGroupValidateMessage
- func (v NullableErrorGroupValidateMessage) Get() *ErrorGroupValidateMessage
- func (v NullableErrorGroupValidateMessage) IsSet() bool
- func (v NullableErrorGroupValidateMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorGroupValidateMessage) Set(val *ErrorGroupValidateMessage)
- func (v *NullableErrorGroupValidateMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorGroupValidateMessage) Unset()
- type NullableErrorMessage
- func (v NullableErrorMessage) Get() *ErrorMessage
- func (v NullableErrorMessage) IsSet() bool
- func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessage) Set(val *ErrorMessage)
- func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessage) Unset()
- type NullableErrorMessageParse
- func (v NullableErrorMessageParse) Get() *ErrorMessageParse
- func (v NullableErrorMessageParse) IsSet() bool
- func (v NullableErrorMessageParse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessageParse) Set(val *ErrorMessageParse)
- func (v *NullableErrorMessageParse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessageParse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGroup
- type NullableGroupCollection
- func (v NullableGroupCollection) Get() *GroupCollection
- func (v NullableGroupCollection) IsSet() bool
- func (v NullableGroupCollection) MarshalJSON() ([]byte, error)
- func (v *NullableGroupCollection) Set(val *GroupCollection)
- func (v *NullableGroupCollection) UnmarshalJSON(src []byte) error
- func (v *NullableGroupCollection) Unset()
- type NullableGroupEntities
- func (v NullableGroupEntities) Get() *GroupEntities
- func (v NullableGroupEntities) IsSet() bool
- func (v NullableGroupEntities) MarshalJSON() ([]byte, error)
- func (v *NullableGroupEntities) Set(val *GroupEntities)
- func (v *NullableGroupEntities) UnmarshalJSON(src []byte) error
- func (v *NullableGroupEntities) Unset()
- type NullableGroupPolicy
- func (v NullableGroupPolicy) Get() *GroupPolicy
- func (v NullableGroupPolicy) IsSet() bool
- func (v NullableGroupPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPolicy) Set(val *GroupPolicy)
- func (v *NullableGroupPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPolicy) Unset()
- type NullableGroupPolicyScaleInAction
- func (v NullableGroupPolicyScaleInAction) Get() *GroupPolicyScaleInAction
- func (v NullableGroupPolicyScaleInAction) IsSet() bool
- func (v NullableGroupPolicyScaleInAction) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPolicyScaleInAction) Set(val *GroupPolicyScaleInAction)
- func (v *NullableGroupPolicyScaleInAction) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPolicyScaleInAction) Unset()
- type NullableGroupPolicyScaleOutAction
- func (v NullableGroupPolicyScaleOutAction) Get() *GroupPolicyScaleOutAction
- func (v NullableGroupPolicyScaleOutAction) IsSet() bool
- func (v NullableGroupPolicyScaleOutAction) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPolicyScaleOutAction) Set(val *GroupPolicyScaleOutAction)
- func (v *NullableGroupPolicyScaleOutAction) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPolicyScaleOutAction) Unset()
- type NullableGroupPost
- type NullableGroupPostEntities
- func (v NullableGroupPostEntities) Get() *GroupPostEntities
- func (v NullableGroupPostEntities) IsSet() bool
- func (v NullableGroupPostEntities) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPostEntities) Set(val *GroupPostEntities)
- func (v *NullableGroupPostEntities) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPostEntities) Unset()
- type NullableGroupPostResponse
- func (v NullableGroupPostResponse) Get() *GroupPostResponse
- func (v NullableGroupPostResponse) IsSet() bool
- func (v NullableGroupPostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPostResponse) Set(val *GroupPostResponse)
- func (v *NullableGroupPostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPostResponse) Unset()
- type NullableGroupProperties
- func (v NullableGroupProperties) Get() *GroupProperties
- func (v NullableGroupProperties) IsSet() bool
- func (v NullableGroupProperties) MarshalJSON() ([]byte, error)
- func (v *NullableGroupProperties) Set(val *GroupProperties)
- func (v *NullableGroupProperties) UnmarshalJSON(src []byte) error
- func (v *NullableGroupProperties) Unset()
- type NullableGroupPropertiesDatacenter
- func (v NullableGroupPropertiesDatacenter) Get() *GroupPropertiesDatacenter
- func (v NullableGroupPropertiesDatacenter) IsSet() bool
- func (v NullableGroupPropertiesDatacenter) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPropertiesDatacenter) Set(val *GroupPropertiesDatacenter)
- func (v *NullableGroupPropertiesDatacenter) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPropertiesDatacenter) Unset()
- type NullableGroupPut
- type NullableGroupPutProperties
- func (v NullableGroupPutProperties) Get() *GroupPutProperties
- func (v NullableGroupPutProperties) IsSet() bool
- func (v NullableGroupPutProperties) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPutProperties) Set(val *GroupPutProperties)
- func (v *NullableGroupPutProperties) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPutProperties) Unset()
- type NullableGroupPutPropertiesDatacenter
- func (v NullableGroupPutPropertiesDatacenter) Get() *GroupPutPropertiesDatacenter
- func (v NullableGroupPutPropertiesDatacenter) IsSet() bool
- func (v NullableGroupPutPropertiesDatacenter) MarshalJSON() ([]byte, error)
- func (v *NullableGroupPutPropertiesDatacenter) Set(val *GroupPutPropertiesDatacenter)
- func (v *NullableGroupPutPropertiesDatacenter) UnmarshalJSON(src []byte) error
- func (v *NullableGroupPutPropertiesDatacenter) Unset()
- type NullableGroupResource
- func (v NullableGroupResource) Get() *GroupResource
- func (v NullableGroupResource) IsSet() bool
- func (v NullableGroupResource) MarshalJSON() ([]byte, error)
- func (v *NullableGroupResource) Set(val *GroupResource)
- func (v *NullableGroupResource) UnmarshalJSON(src []byte) error
- func (v *NullableGroupResource) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMetadata
- type NullableMetadataBasic
- func (v NullableMetadataBasic) Get() *MetadataBasic
- func (v NullableMetadataBasic) IsSet() bool
- func (v NullableMetadataBasic) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataBasic) Set(val *MetadataBasic)
- func (v *NullableMetadataBasic) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataBasic) Unset()
- type NullableMetadataState
- func (v NullableMetadataState) Get() *MetadataState
- func (v NullableMetadataState) IsSet() bool
- func (v NullableMetadataState) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataState) Set(val *MetadataState)
- func (v *NullableMetadataState) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataState) Unset()
- type NullableMetric
- type NullableNicFirewallRule
- func (v NullableNicFirewallRule) Get() *NicFirewallRule
- func (v NullableNicFirewallRule) IsSet() bool
- func (v NullableNicFirewallRule) MarshalJSON() ([]byte, error)
- func (v *NullableNicFirewallRule) Set(val *NicFirewallRule)
- func (v *NullableNicFirewallRule) UnmarshalJSON(src []byte) error
- func (v *NullableNicFirewallRule) Unset()
- type NullableNicFlowLog
- type NullableParseError
- type NullableQueryUnit
- type NullableReplicaNic
- type NullableReplicaPropertiesPost
- func (v NullableReplicaPropertiesPost) Get() *ReplicaPropertiesPost
- func (v NullableReplicaPropertiesPost) IsSet() bool
- func (v NullableReplicaPropertiesPost) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaPropertiesPost) Set(val *ReplicaPropertiesPost)
- func (v *NullableReplicaPropertiesPost) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaPropertiesPost) Unset()
- type NullableReplicaVolumePost
- func (v NullableReplicaVolumePost) Get() *ReplicaVolumePost
- func (v NullableReplicaVolumePost) IsSet() bool
- func (v NullableReplicaVolumePost) MarshalJSON() ([]byte, error)
- func (v *NullableReplicaVolumePost) Set(val *ReplicaVolumePost)
- func (v *NullableReplicaVolumePost) UnmarshalJSON(src []byte) error
- func (v *NullableReplicaVolumePost) Unset()
- type NullableServer
- type NullableServerCollection
- func (v NullableServerCollection) Get() *ServerCollection
- func (v NullableServerCollection) IsSet() bool
- func (v NullableServerCollection) MarshalJSON() ([]byte, error)
- func (v *NullableServerCollection) Set(val *ServerCollection)
- func (v *NullableServerCollection) UnmarshalJSON(src []byte) error
- func (v *NullableServerCollection) Unset()
- type NullableServerProperties
- func (v NullableServerProperties) Get() *ServerProperties
- func (v NullableServerProperties) IsSet() bool
- func (v NullableServerProperties) MarshalJSON() ([]byte, error)
- func (v *NullableServerProperties) Set(val *ServerProperties)
- func (v *NullableServerProperties) UnmarshalJSON(src []byte) error
- func (v *NullableServerProperties) Unset()
- type NullableServersLinkResource
- func (v NullableServersLinkResource) Get() *ServersLinkResource
- func (v NullableServersLinkResource) IsSet() bool
- func (v NullableServersLinkResource) MarshalJSON() ([]byte, error)
- func (v *NullableServersLinkResource) Set(val *ServersLinkResource)
- func (v *NullableServersLinkResource) UnmarshalJSON(src []byte) error
- func (v *NullableServersLinkResource) Unset()
- type NullableString
- type NullableTargetGroup
- func (v NullableTargetGroup) Get() *TargetGroup
- func (v NullableTargetGroup) IsSet() bool
- func (v NullableTargetGroup) MarshalJSON() ([]byte, error)
- func (v *NullableTargetGroup) Set(val *TargetGroup)
- func (v *NullableTargetGroup) UnmarshalJSON(src []byte) error
- func (v *NullableTargetGroup) Unset()
- type NullableTerminationPolicyType
- func (v NullableTerminationPolicyType) Get() *TerminationPolicyType
- func (v NullableTerminationPolicyType) IsSet() bool
- func (v NullableTerminationPolicyType) MarshalJSON() ([]byte, error)
- func (v *NullableTerminationPolicyType) Set(val *TerminationPolicyType)
- func (v *NullableTerminationPolicyType) UnmarshalJSON(src []byte) error
- func (v *NullableTerminationPolicyType) Unset()
- type NullableTime
- type NullableVolumeHwType
- func (v NullableVolumeHwType) Get() *VolumeHwType
- func (v NullableVolumeHwType) IsSet() bool
- func (v NullableVolumeHwType) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeHwType) Set(val *VolumeHwType)
- func (v *NullableVolumeHwType) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeHwType) Unset()
- type ParseError
- func (o *ParseError) GetErrorUuid() *string
- func (o *ParseError) GetErrorUuidOk() (*string, bool)
- func (o *ParseError) GetHttpStatus() *int32
- func (o *ParseError) GetHttpStatusOk() (*int32, bool)
- func (o *ParseError) GetMessages() *[]ErrorMessageParse
- func (o *ParseError) GetMessagesOk() (*[]ErrorMessageParse, bool)
- func (o *ParseError) HasErrorUuid() bool
- func (o *ParseError) HasHttpStatus() bool
- func (o *ParseError) HasMessages() bool
- func (o ParseError) MarshalJSON() ([]byte, error)
- func (o *ParseError) SetErrorUuid(v string)
- func (o *ParseError) SetHttpStatus(v int32)
- func (o *ParseError) SetMessages(v []ErrorMessageParse)
- type QueryUnit
- type ReplicaNic
- func (o *ReplicaNic) GetDhcp() *bool
- func (o *ReplicaNic) GetDhcpOk() (*bool, bool)
- func (o *ReplicaNic) GetFirewallActive() *bool
- func (o *ReplicaNic) GetFirewallActiveOk() (*bool, bool)
- func (o *ReplicaNic) GetFirewallRules() *[]NicFirewallRule
- func (o *ReplicaNic) GetFirewallRulesOk() (*[]NicFirewallRule, bool)
- func (o *ReplicaNic) GetFirewallType() *string
- func (o *ReplicaNic) GetFirewallTypeOk() (*string, bool)
- func (o *ReplicaNic) GetFlowLogs() *[]NicFlowLog
- func (o *ReplicaNic) GetFlowLogsOk() (*[]NicFlowLog, bool)
- func (o *ReplicaNic) GetLan() *int32
- func (o *ReplicaNic) GetLanOk() (*int32, bool)
- func (o *ReplicaNic) GetName() *string
- func (o *ReplicaNic) GetNameOk() (*string, bool)
- func (o *ReplicaNic) GetTargetGroup() *TargetGroup
- func (o *ReplicaNic) GetTargetGroupOk() (*TargetGroup, bool)
- func (o *ReplicaNic) HasDhcp() bool
- func (o *ReplicaNic) HasFirewallActive() bool
- func (o *ReplicaNic) HasFirewallRules() bool
- func (o *ReplicaNic) HasFirewallType() bool
- func (o *ReplicaNic) HasFlowLogs() bool
- func (o *ReplicaNic) HasLan() bool
- func (o *ReplicaNic) HasName() bool
- func (o *ReplicaNic) HasTargetGroup() bool
- func (o ReplicaNic) MarshalJSON() ([]byte, error)
- func (o *ReplicaNic) SetDhcp(v bool)
- func (o *ReplicaNic) SetFirewallActive(v bool)
- func (o *ReplicaNic) SetFirewallRules(v []NicFirewallRule)
- func (o *ReplicaNic) SetFirewallType(v string)
- func (o *ReplicaNic) SetFlowLogs(v []NicFlowLog)
- func (o *ReplicaNic) SetLan(v int32)
- func (o *ReplicaNic) SetName(v string)
- func (o *ReplicaNic) SetTargetGroup(v TargetGroup)
- type ReplicaPropertiesPost
- func (o *ReplicaPropertiesPost) GetAvailabilityZone() *AvailabilityZone
- func (o *ReplicaPropertiesPost) GetAvailabilityZoneOk() (*AvailabilityZone, bool)
- func (o *ReplicaPropertiesPost) GetCores() *int32
- func (o *ReplicaPropertiesPost) GetCoresOk() (*int32, bool)
- func (o *ReplicaPropertiesPost) GetCpuFamily() *CpuFamily
- func (o *ReplicaPropertiesPost) GetCpuFamilyOk() (*CpuFamily, bool)
- func (o *ReplicaPropertiesPost) GetNics() *[]ReplicaNic
- func (o *ReplicaPropertiesPost) GetNicsOk() (*[]ReplicaNic, bool)
- func (o *ReplicaPropertiesPost) GetRam() *int32
- func (o *ReplicaPropertiesPost) GetRamOk() (*int32, bool)
- func (o *ReplicaPropertiesPost) GetVolumes() *[]ReplicaVolumePost
- func (o *ReplicaPropertiesPost) GetVolumesOk() (*[]ReplicaVolumePost, bool)
- func (o *ReplicaPropertiesPost) HasAvailabilityZone() bool
- func (o *ReplicaPropertiesPost) HasCores() bool
- func (o *ReplicaPropertiesPost) HasCpuFamily() bool
- func (o *ReplicaPropertiesPost) HasNics() bool
- func (o *ReplicaPropertiesPost) HasRam() bool
- func (o *ReplicaPropertiesPost) HasVolumes() bool
- func (o ReplicaPropertiesPost) MarshalJSON() ([]byte, error)
- func (o *ReplicaPropertiesPost) SetAvailabilityZone(v AvailabilityZone)
- func (o *ReplicaPropertiesPost) SetCores(v int32)
- func (o *ReplicaPropertiesPost) SetCpuFamily(v CpuFamily)
- func (o *ReplicaPropertiesPost) SetNics(v []ReplicaNic)
- func (o *ReplicaPropertiesPost) SetRam(v int32)
- func (o *ReplicaPropertiesPost) SetVolumes(v []ReplicaVolumePost)
- type ReplicaVolumePost
- func (o *ReplicaVolumePost) GetBackupunitId() *string
- func (o *ReplicaVolumePost) GetBackupunitIdOk() (*string, bool)
- func (o *ReplicaVolumePost) GetBootOrder() *string
- func (o *ReplicaVolumePost) GetBootOrderOk() (*string, bool)
- func (o *ReplicaVolumePost) GetBus() *BusType
- func (o *ReplicaVolumePost) GetBusOk() (*BusType, bool)
- func (o *ReplicaVolumePost) GetImage() *string
- func (o *ReplicaVolumePost) GetImageAlias() *string
- func (o *ReplicaVolumePost) GetImageAliasOk() (*string, bool)
- func (o *ReplicaVolumePost) GetImageOk() (*string, bool)
- func (o *ReplicaVolumePost) GetImagePassword() *string
- func (o *ReplicaVolumePost) GetImagePasswordOk() (*string, bool)
- func (o *ReplicaVolumePost) GetName() *string
- func (o *ReplicaVolumePost) GetNameOk() (*string, bool)
- func (o *ReplicaVolumePost) GetSize() *int32
- func (o *ReplicaVolumePost) GetSizeOk() (*int32, bool)
- func (o *ReplicaVolumePost) GetSshKeys() *[]string
- func (o *ReplicaVolumePost) GetSshKeysOk() (*[]string, bool)
- func (o *ReplicaVolumePost) GetType() *VolumeHwType
- func (o *ReplicaVolumePost) GetTypeOk() (*VolumeHwType, bool)
- func (o *ReplicaVolumePost) GetUserData() *string
- func (o *ReplicaVolumePost) GetUserDataOk() (*string, bool)
- func (o *ReplicaVolumePost) HasBackupunitId() bool
- func (o *ReplicaVolumePost) HasBootOrder() bool
- func (o *ReplicaVolumePost) HasBus() bool
- func (o *ReplicaVolumePost) HasImage() bool
- func (o *ReplicaVolumePost) HasImageAlias() bool
- func (o *ReplicaVolumePost) HasImagePassword() bool
- func (o *ReplicaVolumePost) HasName() bool
- func (o *ReplicaVolumePost) HasSize() bool
- func (o *ReplicaVolumePost) HasSshKeys() bool
- func (o *ReplicaVolumePost) HasType() bool
- func (o *ReplicaVolumePost) HasUserData() bool
- func (o ReplicaVolumePost) MarshalJSON() ([]byte, error)
- func (o *ReplicaVolumePost) SetBackupunitId(v string)
- func (o *ReplicaVolumePost) SetBootOrder(v string)
- func (o *ReplicaVolumePost) SetBus(v BusType)
- func (o *ReplicaVolumePost) SetImage(v string)
- func (o *ReplicaVolumePost) SetImageAlias(v string)
- func (o *ReplicaVolumePost) SetImagePassword(v string)
- func (o *ReplicaVolumePost) SetName(v string)
- func (o *ReplicaVolumePost) SetSize(v int32)
- func (o *ReplicaVolumePost) SetSshKeys(v []string)
- func (o *ReplicaVolumePost) SetType(v VolumeHwType)
- func (o *ReplicaVolumePost) SetUserData(v string)
- type Server
- func (o *Server) GetHref() *string
- func (o *Server) GetHrefOk() (*string, bool)
- func (o *Server) GetId() *string
- func (o *Server) GetIdOk() (*string, bool)
- func (o *Server) GetMetadata() *MetadataBasic
- func (o *Server) GetMetadataOk() (*MetadataBasic, bool)
- func (o *Server) GetProperties() *ServerProperties
- func (o *Server) GetPropertiesOk() (*ServerProperties, bool)
- func (o *Server) GetType() *string
- func (o *Server) GetTypeOk() (*string, bool)
- func (o *Server) HasHref() bool
- func (o *Server) HasId() bool
- func (o *Server) HasMetadata() bool
- func (o *Server) HasProperties() bool
- func (o *Server) HasType() bool
- func (o Server) MarshalJSON() ([]byte, error)
- func (o *Server) SetHref(v string)
- func (o *Server) SetId(v string)
- func (o *Server) SetMetadata(v MetadataBasic)
- func (o *Server) SetProperties(v ServerProperties)
- func (o *Server) SetType(v string)
- type ServerCollection
- func (o *ServerCollection) GetHref() *string
- func (o *ServerCollection) GetHrefOk() (*string, bool)
- func (o *ServerCollection) GetId() *string
- func (o *ServerCollection) GetIdOk() (*string, bool)
- func (o *ServerCollection) GetItems() *[]Server
- func (o *ServerCollection) GetItemsOk() (*[]Server, bool)
- func (o *ServerCollection) GetType() *string
- func (o *ServerCollection) GetTypeOk() (*string, bool)
- func (o *ServerCollection) HasHref() bool
- func (o *ServerCollection) HasId() bool
- func (o *ServerCollection) HasItems() bool
- func (o *ServerCollection) HasType() bool
- func (o ServerCollection) MarshalJSON() ([]byte, error)
- func (o *ServerCollection) SetHref(v string)
- func (o *ServerCollection) SetId(v string)
- func (o *ServerCollection) SetItems(v []Server)
- func (o *ServerCollection) SetType(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerProperties
- func (o *ServerProperties) GetDatacenterServer() *DatacenterServer
- func (o *ServerProperties) GetDatacenterServerOk() (*DatacenterServer, bool)
- func (o *ServerProperties) GetName() *string
- func (o *ServerProperties) GetNameOk() (*string, bool)
- func (o *ServerProperties) HasDatacenterServer() bool
- func (o *ServerProperties) HasName() bool
- func (o ServerProperties) MarshalJSON() ([]byte, error)
- func (o *ServerProperties) SetDatacenterServer(v DatacenterServer)
- func (o *ServerProperties) SetName(v string)
- type ServerVariable
- type ServersLinkResource
- func (o *ServersLinkResource) GetHref() *string
- func (o *ServersLinkResource) GetHrefOk() (*string, bool)
- func (o *ServersLinkResource) GetId() *string
- func (o *ServersLinkResource) GetIdOk() (*string, bool)
- func (o *ServersLinkResource) GetType() *string
- func (o *ServersLinkResource) GetTypeOk() (*string, bool)
- func (o *ServersLinkResource) HasHref() bool
- func (o *ServersLinkResource) HasId() bool
- func (o *ServersLinkResource) HasType() bool
- func (o ServersLinkResource) MarshalJSON() ([]byte, error)
- func (o *ServersLinkResource) SetHref(v string)
- func (o *ServersLinkResource) SetId(v string)
- func (o *ServersLinkResource) SetType(v string)
- type TLSDial
- type TargetGroup
- func (o *TargetGroup) GetPort() *int32
- func (o *TargetGroup) GetPortOk() (*int32, bool)
- func (o *TargetGroup) GetTargetGroupId() *string
- func (o *TargetGroup) GetTargetGroupIdOk() (*string, bool)
- func (o *TargetGroup) GetWeight() *int32
- func (o *TargetGroup) GetWeightOk() (*int32, bool)
- func (o *TargetGroup) HasPort() bool
- func (o *TargetGroup) HasTargetGroupId() bool
- func (o *TargetGroup) HasWeight() bool
- func (o TargetGroup) MarshalJSON() ([]byte, error)
- func (o *TargetGroup) SetPort(v int32)
- func (o *TargetGroup) SetTargetGroupId(v string)
- func (o *TargetGroup) SetWeight(v int32)
- type TerminationPolicyType
- type VolumeHwType
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "1.0.1" )
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 ¶
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") )
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 - returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 - returns a pointer to given float value.
func SliceToValueDefault ¶
func SliceToValueDefault[T any](ptrSlice *[]T) []T
func ToBoolDefault ¶
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil
func ToBoolSlice ¶
ToBoolSlice - returns a bool slice of the pointer passed in
func ToByteDefault ¶
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil
func ToByteSlice ¶
ToByteSlice - returns a byte slice of the pointer passed in
func ToFloat32Default ¶
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil
func ToFloat32Slice ¶
ToFloat32Slice - returns a float32 slice of the pointer passed in
func ToFloat64Default ¶
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil
func ToFloat64Slice ¶
ToFloat64Slice - returns a float64 slice of the pointer passed in
func ToInt16Default ¶
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil
func ToInt16Slice ¶
ToInt16Slice - returns a int16 slice of the pointer passed in
func ToInt32Default ¶
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil
func ToInt32Slice ¶
ToInt32Slice - returns a int32 slice of the pointer passed in
func ToInt64Default ¶
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil
func ToInt64Slice ¶
ToInt64Slice - returns a int64 slice of the pointer passed in
func ToInt8Default ¶
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil
func ToInt8Slice ¶
ToInt8Slice - returns a int8 slice of the pointer passed in
func ToIntDefault ¶
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil
func ToIntSlice ¶
ToIntSlice - returns a int slice of the pointer passed in
func ToStringDefault ¶
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil
func ToStringSlice ¶
ToStringSlice - returns a string slice of the pointer passed in
func ToTimeDefault ¶
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 ¶
ToTimeSlice - returns a Time slice of the pointer passed in
func ToUint16Default ¶
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil
func ToUint16Slice ¶
ToUint16Slice - returns a uint16 slice of the pointer passed in
func ToUint32Default ¶
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil
func ToUint32Slice ¶
ToUint32Slice - returns a uint32 slice of the pointer passed in
func ToUint64Default ¶
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil
func ToUint64Slice ¶
ToUint64Slice - returns a uint63 slice of the pointer passed in
func ToUint8Default ¶
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil
func ToUint8Slice ¶
ToUint8Slice - returns a uint8 slice of the pointer passed in
func ToUintDefault ¶
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil
func ToUintSlice ¶
ToUintSlice - returns a uint slice 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 ¶
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 ¶
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 ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*Action) GetHrefOk ¶
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 ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*Action) GetIdOk ¶
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 ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*Action) GetTypeOk ¶
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) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Action) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (Action) MarshalJSON ¶
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
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) 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) 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 (r ApiGroupsActionsFindByIdRequest) Depth(depth float32) ApiGroupsActionsFindByIdRequest
func (ApiGroupsActionsFindByIdRequest) Execute ¶
func (r ApiGroupsActionsFindByIdRequest) Execute() (Action, *APIResponse, error)
type ApiGroupsActionsGetRequest ¶
type ApiGroupsActionsGetRequest struct { ApiService *AutoScalingGroupsApiService // contains filtered or unexported fields }
func (ApiGroupsActionsGetRequest) Depth ¶
func (r ApiGroupsActionsGetRequest) Depth(depth float32) ApiGroupsActionsGetRequest
func (ApiGroupsActionsGetRequest) Execute ¶
func (r ApiGroupsActionsGetRequest) Execute() (ActionCollection, *APIResponse, error)
func (ApiGroupsActionsGetRequest) OrderBy ¶
func (r ApiGroupsActionsGetRequest) OrderBy(orderBy string) ApiGroupsActionsGetRequest
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 (r ApiGroupsFindByIdRequest) Depth(depth float32) ApiGroupsFindByIdRequest
func (ApiGroupsFindByIdRequest) Execute ¶
func (r ApiGroupsFindByIdRequest) Execute() (Group, *APIResponse, error)
type ApiGroupsGetRequest ¶
type ApiGroupsGetRequest struct { ApiService *AutoScalingGroupsApiService // contains filtered or unexported fields }
func (ApiGroupsGetRequest) Depth ¶
func (r ApiGroupsGetRequest) Depth(depth float32) ApiGroupsGetRequest
func (ApiGroupsGetRequest) Execute ¶
func (r ApiGroupsGetRequest) Execute() (GroupCollection, *APIResponse, error)
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 (r ApiGroupsPostRequest) Execute() (GroupPostResponse, *APIResponse, error)
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 (r ApiGroupsServersFindByIdRequest) Depth(depth float32) ApiGroupsServersFindByIdRequest
func (ApiGroupsServersFindByIdRequest) Execute ¶
func (r ApiGroupsServersFindByIdRequest) Execute() (Server, *APIResponse, error)
type ApiGroupsServersGetRequest ¶
type ApiGroupsServersGetRequest struct { ApiService *AutoScalingGroupsApiService // contains filtered or unexported fields }
func (ApiGroupsServersGetRequest) Depth ¶
func (r ApiGroupsServersGetRequest) Depth(depth float32) ApiGroupsServersGetRequest
func (ApiGroupsServersGetRequest) Execute ¶
func (r ApiGroupsServersGetRequest) Execute() (ServerCollection, *APIResponse, error)
func (ApiGroupsServersGetRequest) OrderBy ¶
func (r ApiGroupsServersGetRequest) OrderBy(orderBy string) ApiGroupsServersGetRequest
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 ¶
func (a *AutoScalingGroupsApiService) GroupsActionsFindByIdExecute(r ApiGroupsActionsFindByIdRequest) (Action, *APIResponse, error)
* Execute executes the request * @return Action
func (*AutoScalingGroupsApiService) GroupsActionsGet ¶
func (a *AutoScalingGroupsApiService) GroupsActionsGet(ctx _context.Context, groupId string) ApiGroupsActionsGetRequest
* 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 ¶
func (a *AutoScalingGroupsApiService) GroupsActionsGetExecute(r ApiGroupsActionsGetRequest) (ActionCollection, *APIResponse, error)
* Execute executes the request * @return ActionCollection
func (*AutoScalingGroupsApiService) GroupsDelete ¶
func (a *AutoScalingGroupsApiService) GroupsDelete(ctx _context.Context, groupId string) ApiGroupsDeleteRequest
- 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 ¶
func (a *AutoScalingGroupsApiService) GroupsDeleteExecute(r ApiGroupsDeleteRequest) (*APIResponse, error)
* Execute executes the request
func (*AutoScalingGroupsApiService) GroupsFindById ¶
func (a *AutoScalingGroupsApiService) GroupsFindById(ctx _context.Context, groupId string) ApiGroupsFindByIdRequest
* 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 ¶
func (a *AutoScalingGroupsApiService) GroupsFindByIdExecute(r ApiGroupsFindByIdRequest) (Group, *APIResponse, error)
* Execute executes the request * @return Group
func (*AutoScalingGroupsApiService) GroupsGet ¶
func (a *AutoScalingGroupsApiService) GroupsGet(ctx _context.Context) ApiGroupsGetRequest
* 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 ¶
func (a *AutoScalingGroupsApiService) GroupsGetExecute(r ApiGroupsGetRequest) (GroupCollection, *APIResponse, error)
* Execute executes the request * @return GroupCollection
func (*AutoScalingGroupsApiService) GroupsPost ¶
func (a *AutoScalingGroupsApiService) GroupsPost(ctx _context.Context) ApiGroupsPostRequest
- 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 ¶
func (a *AutoScalingGroupsApiService) GroupsPostExecute(r ApiGroupsPostRequest) (GroupPostResponse, *APIResponse, error)
* Execute executes the request * @return GroupPostResponse
func (*AutoScalingGroupsApiService) GroupsPut ¶
func (a *AutoScalingGroupsApiService) GroupsPut(ctx _context.Context, groupId string) ApiGroupsPutRequest
* 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 ¶
func (a *AutoScalingGroupsApiService) GroupsPutExecute(r ApiGroupsPutRequest) (Group, *APIResponse, error)
* 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 ¶
func (a *AutoScalingGroupsApiService) GroupsServersFindByIdExecute(r ApiGroupsServersFindByIdRequest) (Server, *APIResponse, error)
* Execute executes the request * @return Server
func (*AutoScalingGroupsApiService) GroupsServersGet ¶
func (a *AutoScalingGroupsApiService) GroupsServersGet(ctx _context.Context, groupId string) ApiGroupsServersGetRequest
- 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 ¶
func (a *AutoScalingGroupsApiService) GroupsServersGetExecute(r ApiGroupsServersGetRequest) (ServerCollection, *APIResponse, error)
* 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 ¶
func (v AvailabilityZone) Ptr() *AvailabilityZone
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.
func (*BusType) UnmarshalJSON ¶
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) ServerURLWithContext ¶
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) UnmarshalJSON ¶
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) 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 ¶
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*Error401) GetHttpStatusOk ¶
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 ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error401) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (Error401) MarshalJSON ¶
func (*Error401) SetHttpStatus ¶
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 ¶
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*Error404) GetHttpStatusOk ¶
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 ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error404) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (Error404) MarshalJSON ¶
func (*Error404) SetHttpStatus ¶
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 ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*Group) GetHrefOk ¶
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 ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*Group) GetIdOk ¶
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 ¶
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*Group) GetMetadataOk ¶
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 ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*Group) GetTypeOk ¶
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 ¶
HasEntities returns a boolean if a field has been set.
func (*Group) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Group) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (Group) MarshalJSON ¶
func (*Group) SetEntities ¶
func (o *Group) SetEntities(v GroupEntities)
SetEntities sets field value
func (*Group) SetProperties ¶
func (o *Group) SetProperties(v GroupProperties)
SetProperties 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) 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) 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
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 ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*GroupPost) GetHrefOk ¶
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 ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*GroupPost) GetIdOk ¶
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 ¶
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*GroupPost) GetMetadataOk ¶
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 ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*GroupPost) GetTypeOk ¶
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 ¶
HasEntities returns a boolean if a field has been set.
func (*GroupPost) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*GroupPost) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (GroupPost) MarshalJSON ¶
func (*GroupPost) SetEntities ¶
func (o *GroupPost) SetEntities(v GroupPostEntities)
SetEntities sets field value
func (*GroupPost) SetMetadata ¶
SetMetadata sets field value
func (*GroupPost) SetProperties ¶
func (o *GroupPost) SetProperties(v GroupProperties)
SetProperties 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 ¶
HasProperties returns a boolean if a field has been set.
func (GroupPut) MarshalJSON ¶
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 ¶
func (o *GroupPutProperties) GetDatacenter() *GroupPutPropertiesDatacenter
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 ¶
func (o *GroupPutProperties) SetDatacenter(v GroupPutPropertiesDatacenter)
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 ¶
func (o *GroupPutPropertiesDatacenter) GetId() *string
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 ¶
func (o *GroupPutPropertiesDatacenter) HasId() bool
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 ¶
func (o *GroupPutPropertiesDatacenter) SetId(v string)
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)
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
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 )
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 ¶
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByOk ¶
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 ¶
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByUserIdOk ¶
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 ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
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 ¶
GetEtag returns the Etag field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetEtagOk ¶
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 ¶
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByOk ¶
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 ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByUserIdOk ¶
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 ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
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 ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId sets field value
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy sets field value
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate 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) 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) UnmarshalJSON ¶
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) SetDirection ¶
func (o *NicFlowLog) SetDirection(v string)
SetDirection 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 (v NullableActionAmount) Get() *ActionAmount
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 (v NullableActionCollection) Get() *ActionCollection
func (NullableActionCollection) IsSet ¶
func (v NullableActionCollection) IsSet() bool
func (NullableActionCollection) MarshalJSON ¶
func (v NullableActionCollection) MarshalJSON() ([]byte, error)
func (*NullableActionCollection) Set ¶
func (v *NullableActionCollection) Set(val *ActionCollection)
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 (v NullableActionProperties) Get() *ActionProperties
func (NullableActionProperties) IsSet ¶
func (v NullableActionProperties) IsSet() bool
func (NullableActionProperties) MarshalJSON ¶
func (v NullableActionProperties) MarshalJSON() ([]byte, error)
func (*NullableActionProperties) Set ¶
func (v *NullableActionProperties) Set(val *ActionProperties)
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 (v NullableActionResource) Get() *ActionResource
func (NullableActionResource) IsSet ¶
func (v NullableActionResource) IsSet() bool
func (NullableActionResource) MarshalJSON ¶
func (v NullableActionResource) MarshalJSON() ([]byte, error)
func (*NullableActionResource) Set ¶
func (v *NullableActionResource) Set(val *ActionResource)
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 (v NullableActionStatus) Get() *ActionStatus
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 (v NullableActionsLinkResource) Get() *ActionsLinkResource
func (NullableActionsLinkResource) IsSet ¶
func (v NullableActionsLinkResource) IsSet() bool
func (NullableActionsLinkResource) MarshalJSON ¶
func (v NullableActionsLinkResource) MarshalJSON() ([]byte, error)
func (*NullableActionsLinkResource) Set ¶
func (v *NullableActionsLinkResource) Set(val *ActionsLinkResource)
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 (v NullableAvailabilityZone) Get() *AvailabilityZone
func (NullableAvailabilityZone) IsSet ¶
func (v NullableAvailabilityZone) IsSet() bool
func (NullableAvailabilityZone) MarshalJSON ¶
func (v NullableAvailabilityZone) MarshalJSON() ([]byte, error)
func (*NullableAvailabilityZone) Set ¶
func (v *NullableAvailabilityZone) Set(val *AvailabilityZone)
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 (v NullableDatacenterServer) Get() *DatacenterServer
func (NullableDatacenterServer) IsSet ¶
func (v NullableDatacenterServer) IsSet() bool
func (NullableDatacenterServer) MarshalJSON ¶
func (v NullableDatacenterServer) MarshalJSON() ([]byte, error)
func (*NullableDatacenterServer) Set ¶
func (v *NullableDatacenterServer) Set(val *DatacenterServer)
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 (v NullableError401Message) Get() *Error401Message
func (NullableError401Message) IsSet ¶
func (v NullableError401Message) IsSet() bool
func (NullableError401Message) MarshalJSON ¶
func (v NullableError401Message) MarshalJSON() ([]byte, error)
func (*NullableError401Message) Set ¶
func (v *NullableError401Message) Set(val *Error401Message)
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 (v NullableError404Message) Get() *Error404Message
func (NullableError404Message) IsSet ¶
func (v NullableError404Message) IsSet() bool
func (NullableError404Message) MarshalJSON ¶
func (v NullableError404Message) MarshalJSON() ([]byte, error)
func (*NullableError404Message) Set ¶
func (v *NullableError404Message) Set(val *Error404Message)
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 (v NullableErrorAuthorize) Get() *ErrorAuthorize
func (NullableErrorAuthorize) IsSet ¶
func (v NullableErrorAuthorize) IsSet() bool
func (NullableErrorAuthorize) MarshalJSON ¶
func (v NullableErrorAuthorize) MarshalJSON() ([]byte, error)
func (*NullableErrorAuthorize) Set ¶
func (v *NullableErrorAuthorize) Set(val *ErrorAuthorize)
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 NewNullableErrorAuthorizeMessage ¶
func NewNullableErrorAuthorizeMessage(val *ErrorAuthorizeMessage) *NullableErrorAuthorizeMessage
func (NullableErrorAuthorizeMessage) Get ¶
func (v NullableErrorAuthorizeMessage) Get() *ErrorAuthorizeMessage
func (NullableErrorAuthorizeMessage) IsSet ¶
func (v NullableErrorAuthorizeMessage) IsSet() bool
func (NullableErrorAuthorizeMessage) MarshalJSON ¶
func (v NullableErrorAuthorizeMessage) MarshalJSON() ([]byte, error)
func (*NullableErrorAuthorizeMessage) Set ¶
func (v *NullableErrorAuthorizeMessage) Set(val *ErrorAuthorizeMessage)
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 (v NullableErrorGroupValidate) Get() *ErrorGroupValidate
func (NullableErrorGroupValidate) IsSet ¶
func (v NullableErrorGroupValidate) IsSet() bool
func (NullableErrorGroupValidate) MarshalJSON ¶
func (v NullableErrorGroupValidate) MarshalJSON() ([]byte, error)
func (*NullableErrorGroupValidate) Set ¶
func (v *NullableErrorGroupValidate) Set(val *ErrorGroupValidate)
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 NewNullableErrorGroupValidateMessage ¶
func NewNullableErrorGroupValidateMessage(val *ErrorGroupValidateMessage) *NullableErrorGroupValidateMessage
func (NullableErrorGroupValidateMessage) Get ¶
func (v NullableErrorGroupValidateMessage) Get() *ErrorGroupValidateMessage
func (NullableErrorGroupValidateMessage) IsSet ¶
func (v NullableErrorGroupValidateMessage) IsSet() bool
func (NullableErrorGroupValidateMessage) MarshalJSON ¶
func (v NullableErrorGroupValidateMessage) MarshalJSON() ([]byte, error)
func (*NullableErrorGroupValidateMessage) Set ¶
func (v *NullableErrorGroupValidateMessage) Set(val *ErrorGroupValidateMessage)
func (*NullableErrorGroupValidateMessage) UnmarshalJSON ¶
func (v *NullableErrorGroupValidateMessage) UnmarshalJSON(src []byte) error
func (*NullableErrorGroupValidateMessage) Unset ¶
func (v *NullableErrorGroupValidateMessage) Unset()
type NullableErrorMessage ¶
type NullableErrorMessage struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessage ¶
func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage
func (NullableErrorMessage) Get ¶
func (v NullableErrorMessage) Get() *ErrorMessage
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 (v NullableErrorMessageParse) Get() *ErrorMessageParse
func (NullableErrorMessageParse) IsSet ¶
func (v NullableErrorMessageParse) IsSet() bool
func (NullableErrorMessageParse) MarshalJSON ¶
func (v NullableErrorMessageParse) MarshalJSON() ([]byte, error)
func (*NullableErrorMessageParse) Set ¶
func (v *NullableErrorMessageParse) Set(val *ErrorMessageParse)
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 (v NullableGroupCollection) Get() *GroupCollection
func (NullableGroupCollection) IsSet ¶
func (v NullableGroupCollection) IsSet() bool
func (NullableGroupCollection) MarshalJSON ¶
func (v NullableGroupCollection) MarshalJSON() ([]byte, error)
func (*NullableGroupCollection) Set ¶
func (v *NullableGroupCollection) Set(val *GroupCollection)
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 (v NullableGroupEntities) Get() *GroupEntities
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 (v NullableGroupPolicy) Get() *GroupPolicy
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 NewNullableGroupPolicyScaleInAction ¶
func NewNullableGroupPolicyScaleInAction(val *GroupPolicyScaleInAction) *NullableGroupPolicyScaleInAction
func (NullableGroupPolicyScaleInAction) Get ¶
func (v NullableGroupPolicyScaleInAction) Get() *GroupPolicyScaleInAction
func (NullableGroupPolicyScaleInAction) IsSet ¶
func (v NullableGroupPolicyScaleInAction) IsSet() bool
func (NullableGroupPolicyScaleInAction) MarshalJSON ¶
func (v NullableGroupPolicyScaleInAction) MarshalJSON() ([]byte, error)
func (*NullableGroupPolicyScaleInAction) Set ¶
func (v *NullableGroupPolicyScaleInAction) Set(val *GroupPolicyScaleInAction)
func (*NullableGroupPolicyScaleInAction) UnmarshalJSON ¶
func (v *NullableGroupPolicyScaleInAction) UnmarshalJSON(src []byte) error
func (*NullableGroupPolicyScaleInAction) Unset ¶
func (v *NullableGroupPolicyScaleInAction) Unset()
type NullableGroupPolicyScaleOutAction ¶
type NullableGroupPolicyScaleOutAction struct {
// contains filtered or unexported fields
}
func NewNullableGroupPolicyScaleOutAction ¶
func NewNullableGroupPolicyScaleOutAction(val *GroupPolicyScaleOutAction) *NullableGroupPolicyScaleOutAction
func (NullableGroupPolicyScaleOutAction) Get ¶
func (v NullableGroupPolicyScaleOutAction) Get() *GroupPolicyScaleOutAction
func (NullableGroupPolicyScaleOutAction) IsSet ¶
func (v NullableGroupPolicyScaleOutAction) IsSet() bool
func (NullableGroupPolicyScaleOutAction) MarshalJSON ¶
func (v NullableGroupPolicyScaleOutAction) MarshalJSON() ([]byte, error)
func (*NullableGroupPolicyScaleOutAction) Set ¶
func (v *NullableGroupPolicyScaleOutAction) Set(val *GroupPolicyScaleOutAction)
func (*NullableGroupPolicyScaleOutAction) UnmarshalJSON ¶
func (v *NullableGroupPolicyScaleOutAction) UnmarshalJSON(src []byte) error
func (*NullableGroupPolicyScaleOutAction) Unset ¶
func (v *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 (v NullableGroupPostEntities) Get() *GroupPostEntities
func (NullableGroupPostEntities) IsSet ¶
func (v NullableGroupPostEntities) IsSet() bool
func (NullableGroupPostEntities) MarshalJSON ¶
func (v NullableGroupPostEntities) MarshalJSON() ([]byte, error)
func (*NullableGroupPostEntities) Set ¶
func (v *NullableGroupPostEntities) Set(val *GroupPostEntities)
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 (v NullableGroupPostResponse) Get() *GroupPostResponse
func (NullableGroupPostResponse) IsSet ¶
func (v NullableGroupPostResponse) IsSet() bool
func (NullableGroupPostResponse) MarshalJSON ¶
func (v NullableGroupPostResponse) MarshalJSON() ([]byte, error)
func (*NullableGroupPostResponse) Set ¶
func (v *NullableGroupPostResponse) Set(val *GroupPostResponse)
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 (v NullableGroupProperties) Get() *GroupProperties
func (NullableGroupProperties) IsSet ¶
func (v NullableGroupProperties) IsSet() bool
func (NullableGroupProperties) MarshalJSON ¶
func (v NullableGroupProperties) MarshalJSON() ([]byte, error)
func (*NullableGroupProperties) Set ¶
func (v *NullableGroupProperties) Set(val *GroupProperties)
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 NewNullableGroupPropertiesDatacenter ¶
func NewNullableGroupPropertiesDatacenter(val *GroupPropertiesDatacenter) *NullableGroupPropertiesDatacenter
func (NullableGroupPropertiesDatacenter) Get ¶
func (v NullableGroupPropertiesDatacenter) Get() *GroupPropertiesDatacenter
func (NullableGroupPropertiesDatacenter) IsSet ¶
func (v NullableGroupPropertiesDatacenter) IsSet() bool
func (NullableGroupPropertiesDatacenter) MarshalJSON ¶
func (v NullableGroupPropertiesDatacenter) MarshalJSON() ([]byte, error)
func (*NullableGroupPropertiesDatacenter) Set ¶
func (v *NullableGroupPropertiesDatacenter) Set(val *GroupPropertiesDatacenter)
func (*NullableGroupPropertiesDatacenter) UnmarshalJSON ¶
func (v *NullableGroupPropertiesDatacenter) UnmarshalJSON(src []byte) error
func (*NullableGroupPropertiesDatacenter) Unset ¶
func (v *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 (v NullableGroupPutProperties) Get() *GroupPutProperties
func (NullableGroupPutProperties) IsSet ¶
func (v NullableGroupPutProperties) IsSet() bool
func (NullableGroupPutProperties) MarshalJSON ¶
func (v NullableGroupPutProperties) MarshalJSON() ([]byte, error)
func (*NullableGroupPutProperties) Set ¶
func (v *NullableGroupPutProperties) Set(val *GroupPutProperties)
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 NewNullableGroupPutPropertiesDatacenter ¶
func NewNullableGroupPutPropertiesDatacenter(val *GroupPutPropertiesDatacenter) *NullableGroupPutPropertiesDatacenter
func (NullableGroupPutPropertiesDatacenter) Get ¶
func (v NullableGroupPutPropertiesDatacenter) Get() *GroupPutPropertiesDatacenter
func (NullableGroupPutPropertiesDatacenter) IsSet ¶
func (v NullableGroupPutPropertiesDatacenter) IsSet() bool
func (NullableGroupPutPropertiesDatacenter) MarshalJSON ¶
func (v NullableGroupPutPropertiesDatacenter) MarshalJSON() ([]byte, error)
func (*NullableGroupPutPropertiesDatacenter) Set ¶
func (v *NullableGroupPutPropertiesDatacenter) Set(val *GroupPutPropertiesDatacenter)
func (*NullableGroupPutPropertiesDatacenter) UnmarshalJSON ¶
func (v *NullableGroupPutPropertiesDatacenter) UnmarshalJSON(src []byte) error
func (*NullableGroupPutPropertiesDatacenter) Unset ¶
func (v *NullableGroupPutPropertiesDatacenter) Unset()
type NullableGroupResource ¶
type NullableGroupResource struct {
// contains filtered or unexported fields
}
func NewNullableGroupResource ¶
func NewNullableGroupResource(val *GroupResource) *NullableGroupResource
func (NullableGroupResource) Get ¶
func (v NullableGroupResource) Get() *GroupResource
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 (v NullableMetadataBasic) Get() *MetadataBasic
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 (v NullableMetadataState) Get() *MetadataState
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 (v NullableNicFirewallRule) Get() *NicFirewallRule
func (NullableNicFirewallRule) IsSet ¶
func (v NullableNicFirewallRule) IsSet() bool
func (NullableNicFirewallRule) MarshalJSON ¶
func (v NullableNicFirewallRule) MarshalJSON() ([]byte, error)
func (*NullableNicFirewallRule) Set ¶
func (v *NullableNicFirewallRule) Set(val *NicFirewallRule)
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 NewNullableReplicaPropertiesPost ¶
func NewNullableReplicaPropertiesPost(val *ReplicaPropertiesPost) *NullableReplicaPropertiesPost
func (NullableReplicaPropertiesPost) Get ¶
func (v NullableReplicaPropertiesPost) Get() *ReplicaPropertiesPost
func (NullableReplicaPropertiesPost) IsSet ¶
func (v NullableReplicaPropertiesPost) IsSet() bool
func (NullableReplicaPropertiesPost) MarshalJSON ¶
func (v NullableReplicaPropertiesPost) MarshalJSON() ([]byte, error)
func (*NullableReplicaPropertiesPost) Set ¶
func (v *NullableReplicaPropertiesPost) Set(val *ReplicaPropertiesPost)
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 (v NullableReplicaVolumePost) Get() *ReplicaVolumePost
func (NullableReplicaVolumePost) IsSet ¶
func (v NullableReplicaVolumePost) IsSet() bool
func (NullableReplicaVolumePost) MarshalJSON ¶
func (v NullableReplicaVolumePost) MarshalJSON() ([]byte, error)
func (*NullableReplicaVolumePost) Set ¶
func (v *NullableReplicaVolumePost) Set(val *ReplicaVolumePost)
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 (v NullableServerCollection) Get() *ServerCollection
func (NullableServerCollection) IsSet ¶
func (v NullableServerCollection) IsSet() bool
func (NullableServerCollection) MarshalJSON ¶
func (v NullableServerCollection) MarshalJSON() ([]byte, error)
func (*NullableServerCollection) Set ¶
func (v *NullableServerCollection) Set(val *ServerCollection)
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 (v NullableServerProperties) Get() *ServerProperties
func (NullableServerProperties) IsSet ¶
func (v NullableServerProperties) IsSet() bool
func (NullableServerProperties) MarshalJSON ¶
func (v NullableServerProperties) MarshalJSON() ([]byte, error)
func (*NullableServerProperties) Set ¶
func (v *NullableServerProperties) Set(val *ServerProperties)
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 (v NullableServersLinkResource) Get() *ServersLinkResource
func (NullableServersLinkResource) IsSet ¶
func (v NullableServersLinkResource) IsSet() bool
func (NullableServersLinkResource) MarshalJSON ¶
func (v NullableServersLinkResource) MarshalJSON() ([]byte, error)
func (*NullableServersLinkResource) Set ¶
func (v *NullableServersLinkResource) Set(val *ServersLinkResource)
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 (v NullableTargetGroup) Get() *TargetGroup
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 NewNullableTerminationPolicyType ¶
func NewNullableTerminationPolicyType(val *TerminationPolicyType) *NullableTerminationPolicyType
func (NullableTerminationPolicyType) Get ¶
func (v NullableTerminationPolicyType) Get() *TerminationPolicyType
func (NullableTerminationPolicyType) IsSet ¶
func (v NullableTerminationPolicyType) IsSet() bool
func (NullableTerminationPolicyType) MarshalJSON ¶
func (v NullableTerminationPolicyType) MarshalJSON() ([]byte, error)
func (*NullableTerminationPolicyType) Set ¶
func (v *NullableTerminationPolicyType) Set(val *TerminationPolicyType)
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 (v NullableVolumeHwType) Get() *VolumeHwType
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) UnmarshalJSON ¶
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) 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) 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 ¶
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 ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*Server) GetHrefOk ¶
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 ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*Server) GetIdOk ¶
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 ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*Server) GetTypeOk ¶
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) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Server) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (Server) MarshalJSON ¶
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
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) 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
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 ¶
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 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) SetTargetGroupId ¶
func (o *TargetGroup) SetTargetGroupId(v string)
SetTargetGroupId 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 ¶
func (v TerminationPolicyType) Ptr() *TerminationPolicyType
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 ¶
- api_auto_scaling_groups.go
- client.go
- configuration.go
- logger.go
- model_action.go
- model_action_amount.go
- model_action_collection.go
- model_action_properties.go
- model_action_resource.go
- model_action_status.go
- model_action_type.go
- model_actions_link_resource.go
- model_availability_zone.go
- model_bus_type.go
- model_cpu_family.go
- model_datacenter_server.go
- model_error401.go
- model_error401_message.go
- model_error404.go
- model_error404_message.go
- model_error_authorize.go
- model_error_authorize_message.go
- model_error_group_validate.go
- model_error_group_validate_message.go
- model_error_message.go
- model_error_message_parse.go
- model_group.go
- model_group_collection.go
- model_group_entities.go
- model_group_policy.go
- model_group_policy_scale_in_action.go
- model_group_policy_scale_out_action.go
- model_group_post.go
- model_group_post_entities.go
- model_group_post_response.go
- model_group_properties.go
- model_group_properties_datacenter.go
- model_group_put.go
- model_group_put_properties.go
- model_group_put_properties_datacenter.go
- model_group_resource.go
- model_metadata.go
- model_metadata_basic.go
- model_metadata_state.go
- model_metric.go
- model_nic_firewall_rule.go
- model_nic_flow_log.go
- model_parse_error.go
- model_query_unit.go
- model_replica_nic.go
- model_replica_properties_post.go
- model_replica_volume_post.go
- model_server.go
- model_server_collection.go
- model_server_properties.go
- model_servers_link_resource.go
- model_target_group.go
- model_termination_policy_type.go
- model_volume_hw_type.go
- response.go
- utils.go