publicCloud

package module
v0.0.0-...-4624f3e Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for publicCloud

The base URL for this API is: https://api.leaseweb.com/publicCloud/v1/_

This API provides ways to launch and manage Public Cloud instances.

BETA
This API is in BETA. Documentation might be incorrect or incomplete. Functionality might change with the final release.>

Overview

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

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import publicCloud "github.com/leaseweb/leaseweb-go-sdk/publicCloud"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using publicCloud.ContextOperationServerIndices and publicCloud.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), publicCloud.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), publicCloud.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.leaseweb.com/publicCloud/v1

Class Method HTTP request Description
PublicCloudAPI AddToPrivateNetwork Put /instances/{instanceId}/addToPrivateNetwork Add instance to Private Network
PublicCloudAPI AttachIso Post /instances/{instanceId}/attachIso Attach ISO to instance
PublicCloudAPI CancelInstanceTermination Post /instances/{instanceId}/cancelTermination Cancel instance termination
PublicCloudAPI CreateAutoScalingGroup Post /autoScalingGroups Create Auto Scaling Group
PublicCloudAPI CreateImage Post /images Create Custom Image
PublicCloudAPI CreateLoadBalancerListener Post /loadBalancers/{loadBalancerId}/listeners Create listener
PublicCloudAPI CreateSnapshot Post /instances/{instanceId}/snapshots Create instance snapshot
PublicCloudAPI DeleteAutoScalingGroup Delete /autoScalingGroups/{autoScalingGroupId} Delete Auto Scaling Group
PublicCloudAPI DeleteCredential Delete /instances/{instanceId}/credentials/{type}/{username} Delete credentials
PublicCloudAPI DeleteCredentials Delete /instances/{instanceId}/credentials Delete all instance credentials
PublicCloudAPI DeleteLoadBalancerListener Delete /loadBalancers/{loadBalancerId}/listeners/{listenerId} Delete load balancer listener
PublicCloudAPI DeleteSnapshot Delete /instances/{instanceId}/snapshots/{snapshotId} Delete instance snapshot
PublicCloudAPI DeregisterAutoScalingGroupLoadBalancer Post /autoScalingGroups/{autoScalingGroupId}/deregisterLoadBalancer Deregister Load balancer
PublicCloudAPI DeregisterLoadBalancerTargets Post /loadBalancers/{loadBalancerId}/deregisterTargets Deregister targets
PublicCloudAPI DetachIso Post /instances/{instanceId}/detachIso Detach ISO from instance
PublicCloudAPI GetAutoScalingGroup Get /autoScalingGroups/{autoScalingGroupId} Get Auto Scaling Group details
PublicCloudAPI GetAutoScalingGroupInstanceList Get /autoScalingGroups/{autoScalingGroupId}/instances Get list of instances belonging to an Auto Scaling Group
PublicCloudAPI GetAutoScalingGroupList Get /autoScalingGroups Get Auto Scaling Group list
PublicCloudAPI GetConsoleAccessToInstance Get /instances/{instanceId}/console Get console access
PublicCloudAPI GetCpuMetrics Get /instances/{instanceId}/metrics/cpu Get instance CPU metrics
PublicCloudAPI GetCredential Get /instances/{instanceId}/credentials/{type}/{username} Get credentials by type and username
PublicCloudAPI GetCredentialList Get /instances/{instanceId}/credentials List credentials stored for instance
PublicCloudAPI GetCredentialListByType Get /instances/{instanceId}/credentials/{type} Get credentials by type
PublicCloudAPI GetDataTrafficMetrics Get /instances/{instanceId}/metrics/datatraffic Get instance data traffic metrics
PublicCloudAPI GetExpenses Get /equipments/{equipmentId}/expenses Get costs for a given month.
PublicCloudAPI GetImageList Get /images List all available Images
PublicCloudAPI GetInstance Get /instances/{instanceId} Get instance details
PublicCloudAPI GetInstanceList Get /instances Get instance list
PublicCloudAPI GetInstanceTypeList Get /instanceTypes List instance types
PublicCloudAPI GetIp Get /instances/{instanceId}/ips/{ip} Get details about an instance's IP
PublicCloudAPI GetIpList Get /instances/{instanceId}/ips List instance's IPs
PublicCloudAPI GetIsoList Get /isos List available ISOs
PublicCloudAPI GetLoadBalancer Get /loadBalancers/{loadBalancerId} Get load balancer details
PublicCloudAPI GetLoadBalancerList Get /loadBalancers Get load balancer list
PublicCloudAPI GetLoadBalancerListener Get /loadBalancers/{loadBalancerId}/listeners/{listenerId} Get listener details
PublicCloudAPI GetLoadBalancerTargetList Get /loadBalancers/{loadBalancerId}/targets List registered targets
PublicCloudAPI GetMarketAppList Get /marketApps Get marketplace apps
PublicCloudAPI GetRegionList Get /regions List regions
PublicCloudAPI GetReinstallImageList Get /instances/{instanceId}/reinstall/images List images available for reinstall
PublicCloudAPI GetSnapshot Get /instances/{instanceId}/snapshots/{snapshotId} Get snapshot detail
PublicCloudAPI GetSnapshotList Get /instances/{instanceId}/snapshots List snapshots
PublicCloudAPI GetUpdateInstanceTypeList Get /instances/{instanceId}/instanceTypesUpdate List available instance types for update
PublicCloudAPI LaunchInstance Post /instances Launch instance
PublicCloudAPI LaunchLoadBalancer Post /loadBalancers Launch Load balancer
PublicCloudAPI NullRouteIp Post /instances/{instanceId}/ips/{ip}/null Null route IP
PublicCloudAPI RebootInstance Post /instances/{instanceId}/reboot Reboot instance
PublicCloudAPI RegisterAutoScalingGroupLoadBalancer Post /autoScalingGroups/{autoScalingGroupId}/registerLoadBalancer Register Load balancer
PublicCloudAPI RegisterLoadBalancerTargets Post /loadBalancers/{loadBalancerId}/registerTargets Register targets
PublicCloudAPI ReinstallInstance Put /instances/{instanceId}/reinstall Reinstall instance
PublicCloudAPI RemoveFromPrivateNetwork Delete /instances/{instanceId}/removeFromPrivateNetwork Remove instance from Private Network
PublicCloudAPI RemoveIpNullRoute Post /instances/{instanceId}/ips/{ip}/unnull Remove an IP null route
PublicCloudAPI ResetPassword Post /instances/{instanceId}/resetPassword Reset instance password
PublicCloudAPI RestoreSnapshot Put /instances/{instanceId}/snapshots/{snapshotId} Restore instance snapshot
PublicCloudAPI StartInstance Post /instances/{instanceId}/start Start instance
PublicCloudAPI StopInstance Post /instances/{instanceId}/stop Stop instance
PublicCloudAPI StoreCredential Post /instances/{instanceId}/credentials Store credentials
PublicCloudAPI TerminateInstance Delete /instances/{instanceId} Terminate instance
PublicCloudAPI TerminateLoadBalancer Delete /loadBalancers/{loadBalancerId} Delete load balancer
PublicCloudAPI UpdateAutoScalingGroup Put /autoScalingGroups/{autoScalingGroupId} Update Auto Scaling Group
PublicCloudAPI UpdateCredential Put /instances/{instanceId}/credentials/{type}/{username} Update credentials
PublicCloudAPI UpdateImage Put /images/{imageId} Update Custom Image
PublicCloudAPI UpdateInstance Put /instances/{instanceId} Update instance
PublicCloudAPI UpdateIp Put /instances/{instanceId}/ips/{ip} Update IP
PublicCloudAPI UpdateLoadBalancer Put /loadBalancers/{loadBalancerId} Update load balancer
PublicCloudAPI UpdateLoadBalancerListener Put /loadBalancers/{loadBalancerId}/listeners/{listenerId} Update a listener

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), publicCloud.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
X-LSW-Auth
  • Type: API key
  • API key parameter name: X-LSW-Auth
  • Location: HTTP header

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

Example

auth := context.WithValue(
		context.Background(),
		publicCloud.ContextAPIKeys,
		map[string]publicCloud.APIKey{
			"X-LSW-Auth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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")

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedAutoScalingGroupStateEnumValues = []AutoScalingGroupState{
	"ACTIVE",
	"CREATING",
	"CREATED",
	"DESTROYED",
	"DESTROYING",
	"SCALING",
	"UPDATING",
}

All allowed values of AutoScalingGroupState enum

View Source
var AllowedAutoScalingGroupTypeEnumValues = []AutoScalingGroupType{
	"MANUAL",
	"SCHEDULED",
	"CPU_BASED",
}

All allowed values of AutoScalingGroupType enum

View Source
var AllowedBalanceEnumValues = []Balance{
	"roundrobin",
	"leastconn",
	"source",
}

All allowed values of Balance enum

View Source
var AllowedBillingFrequencyEnumValues = []BillingFrequency{
	1,
	3,
	6,
	12,
}

All allowed values of BillingFrequency enum

View Source
var AllowedContractStateEnumValues = []ContractState{
	"ACTIVE",
	"DELETE_SCHEDULED",
}

All allowed values of ContractState enum

View Source
var AllowedContractTermEnumValues = []ContractTerm{
	0,
	1,
	3,
	6,
	12,
}

All allowed values of ContractTerm enum

View Source
var AllowedContractTypeEnumValues = []ContractType{
	"HOURLY",
	"MONTHLY",
}

All allowed values of ContractType enum

View Source
var AllowedCredentialTypeEnumValues = []CredentialType{
	"OPERATING_SYSTEM",
	"CONTROL_PANEL",
}

All allowed values of CredentialType enum

View Source
var AllowedFlavourEnumValues = []Flavour{
	"ubuntu",
	"debian",
	"freebsd",
	"centos",
	"almalinux",
	"rockylinux",
	"archlinux",
	"windows",
}

All allowed values of Flavour enum

View Source
var AllowedImageStateEnumValues = []ImageState{
	"CREATING",
	"READY",
	"DESTROYED",
	"DESTROYING",
	"FAILED",
}

All allowed values of ImageState enum

View Source
var AllowedIpVersionEnumValues = []IpVersion{
	4,
	6,
}

All allowed values of IpVersion enum

View Source
var AllowedMarketAppIdEnumValues = []MarketAppId{
	"CPANEL_30",
	"CPANEL_100",
	"PLESK_WEB_PRO",
	"PLESK_WEB_ADMIN",
}

All allowed values of MarketAppId enum

View Source
var AllowedNetworkTypeEnumValues = []NetworkType{
	"INTERNAL",
	"PUBLIC",
}

All allowed values of NetworkType enum

View Source
var AllowedRegionNameEnumValues = []RegionName{
	"eu-west-3",
	"us-east-1",
	"eu-central-1",
	"ap-southeast-1",
	"us-west-1",
	"eu-west-2",
	"ca-central-1",
}

All allowed values of RegionName enum

View Source
var AllowedStateEnumValues = []State{
	"CREATING",
	"DESTROYED",
	"DESTROYING",
	"FAILED",
	"RUNNING",
	"STARTING",
	"STOPPED",
	"STOPPING",
	"UNKNOWN",
}

All allowed values of State enum

View Source
var AllowedStorageTypeEnumValues = []StorageType{
	"LOCAL",
	"CENTRAL",
}

All allowed values of StorageType enum

View Source
var AllowedTypeNameEnumValues = []TypeName{
	"lsw.m3.large",
	"lsw.m3.xlarge",
	"lsw.m3.2xlarge",
	"lsw.m4.large",
	"lsw.m4.xlarge",
	"lsw.m4.2xlarge",
	"lsw.m4.4xlarge",
	"lsw.m5.large",
	"lsw.m5.xlarge",
	"lsw.m5.2xlarge",
	"lsw.m5.4xlarge",
	"lsw.m5a.large",
	"lsw.m5a.xlarge",
	"lsw.m5a.2xlarge",
	"lsw.m5a.4xlarge",
	"lsw.m5a.8xlarge",
	"lsw.m5a.12xlarge",
	"lsw.m6a.large",
	"lsw.m6a.xlarge",
	"lsw.m6a.2xlarge",
	"lsw.m6a.4xlarge",
	"lsw.m6a.8xlarge",
	"lsw.m6a.12xlarge",
	"lsw.m6a.16xlarge",
	"lsw.m6a.24xlarge",
	"lsw.c3.large",
	"lsw.c3.xlarge",
	"lsw.c3.2xlarge",
	"lsw.c3.4xlarge",
	"lsw.c4.large",
	"lsw.c4.xlarge",
	"lsw.c4.2xlarge",
	"lsw.c4.4xlarge",
	"lsw.c5.large",
	"lsw.c5.xlarge",
	"lsw.c5.2xlarge",
	"lsw.c5.4xlarge",
	"lsw.c5a.large",
	"lsw.c5a.xlarge",
	"lsw.c5a.2xlarge",
	"lsw.c5a.4xlarge",
	"lsw.c5a.9xlarge",
	"lsw.c5a.12xlarge",
	"lsw.c6a.large",
	"lsw.c6a.xlarge",
	"lsw.c6a.2xlarge",
	"lsw.c6a.4xlarge",
	"lsw.c6a.8xlarge",
	"lsw.c6a.12xlarge",
	"lsw.c6a.16xlarge",
	"lsw.c6a.24xlarge",
	"lsw.r3.large",
	"lsw.r3.xlarge",
	"lsw.r3.2xlarge",
	"lsw.r4.large",
	"lsw.r4.xlarge",
	"lsw.r4.2xlarge",
	"lsw.r5.large",
	"lsw.r5.xlarge",
	"lsw.r5.2xlarge",
	"lsw.r5a.large",
	"lsw.r5a.xlarge",
	"lsw.r5a.2xlarge",
	"lsw.r5a.4xlarge",
	"lsw.r5a.8xlarge",
	"lsw.r5a.12xlarge",
	"lsw.r6a.large",
	"lsw.r6a.xlarge",
	"lsw.r6a.2xlarge",
	"lsw.r6a.4xlarge",
	"lsw.r6a.8xlarge",
	"lsw.r6a.12xlarge",
	"lsw.r6a.16xlarge",
	"lsw.r6a.24xlarge",
}

All allowed values of TypeName enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the LeaseWeb API for launching and managing Public Cloud instances API vv1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiAddToPrivateNetworkRequest

type ApiAddToPrivateNetworkRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiAddToPrivateNetworkRequest) Execute

type ApiAttachIsoRequest

type ApiAttachIsoRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiAttachIsoRequest) AttachIsoOpts

func (r ApiAttachIsoRequest) AttachIsoOpts(attachIsoOpts AttachIsoOpts) ApiAttachIsoRequest

func (ApiAttachIsoRequest) Execute

func (r ApiAttachIsoRequest) Execute() (*http.Response, error)

type ApiCancelInstanceTerminationRequest

type ApiCancelInstanceTerminationRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiCancelInstanceTerminationRequest) Execute

type ApiCreateAutoScalingGroupRequest

type ApiCreateAutoScalingGroupRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiCreateAutoScalingGroupRequest) CreateAutoScalingGroupOpts

func (r ApiCreateAutoScalingGroupRequest) CreateAutoScalingGroupOpts(createAutoScalingGroupOpts CreateAutoScalingGroupOpts) ApiCreateAutoScalingGroupRequest

func (ApiCreateAutoScalingGroupRequest) Execute

type ApiCreateImageRequest

type ApiCreateImageRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiCreateImageRequest) CreateImageOpts

func (r ApiCreateImageRequest) CreateImageOpts(createImageOpts CreateImageOpts) ApiCreateImageRequest

func (ApiCreateImageRequest) Execute

type ApiCreateLoadBalancerListenerRequest

type ApiCreateLoadBalancerListenerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiCreateLoadBalancerListenerRequest) Execute

func (ApiCreateLoadBalancerListenerRequest) LoadBalancerListenerOpts

func (r ApiCreateLoadBalancerListenerRequest) LoadBalancerListenerOpts(loadBalancerListenerOpts LoadBalancerListenerOpts) ApiCreateLoadBalancerListenerRequest

type ApiCreateSnapshotRequest

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

func (ApiCreateSnapshotRequest) Execute

func (r ApiCreateSnapshotRequest) Execute() (*http.Response, error)

type ApiDeleteAutoScalingGroupRequest

type ApiDeleteAutoScalingGroupRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDeleteAutoScalingGroupRequest) Execute

type ApiDeleteCredentialRequest

type ApiDeleteCredentialRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDeleteCredentialRequest) Execute

type ApiDeleteCredentialsRequest

type ApiDeleteCredentialsRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDeleteCredentialsRequest) Execute

type ApiDeleteLoadBalancerListenerRequest

type ApiDeleteLoadBalancerListenerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDeleteLoadBalancerListenerRequest) Execute

type ApiDeleteSnapshotRequest

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

func (ApiDeleteSnapshotRequest) Execute

func (r ApiDeleteSnapshotRequest) Execute() (*http.Response, error)

type ApiDeregisterAutoScalingGroupLoadBalancerRequest

type ApiDeregisterAutoScalingGroupLoadBalancerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDeregisterAutoScalingGroupLoadBalancerRequest) Execute

type ApiDeregisterLoadBalancerTargetsRequest

type ApiDeregisterLoadBalancerTargetsRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDeregisterLoadBalancerTargetsRequest) Execute

func (ApiDeregisterLoadBalancerTargetsRequest) LoadBalancerTargetOpts

type ApiDetachIsoRequest

type ApiDetachIsoRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiDetachIsoRequest) Execute

func (r ApiDetachIsoRequest) Execute() (*http.Response, error)

type ApiGetAutoScalingGroupInstanceListRequest

type ApiGetAutoScalingGroupInstanceListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetAutoScalingGroupInstanceListRequest) Execute

func (ApiGetAutoScalingGroupInstanceListRequest) Limit

Limit the number of results returned.

func (ApiGetAutoScalingGroupInstanceListRequest) Offset

Return results starting from the given offset.

type ApiGetAutoScalingGroupListRequest

type ApiGetAutoScalingGroupListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetAutoScalingGroupListRequest) Execute

func (ApiGetAutoScalingGroupListRequest) Id

func (ApiGetAutoScalingGroupListRequest) InstanceId

func (ApiGetAutoScalingGroupListRequest) Limit

Limit the number of results returned.

func (ApiGetAutoScalingGroupListRequest) Offset

Return results starting from the given offset.

func (ApiGetAutoScalingGroupListRequest) Reference

The reference used to identify identifies the Auto Scaling Group

func (ApiGetAutoScalingGroupListRequest) Region

The region in which the Auto Scaling Group was created

func (ApiGetAutoScalingGroupListRequest) State

The Auto Scaling Group's current state

func (ApiGetAutoScalingGroupListRequest) Type_

The Auto Scaling Group's type

type ApiGetAutoScalingGroupRequest

type ApiGetAutoScalingGroupRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetAutoScalingGroupRequest) Execute

type ApiGetConsoleAccessToInstanceRequest

type ApiGetConsoleAccessToInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetConsoleAccessToInstanceRequest) Execute

type ApiGetCpuMetricsRequest

type ApiGetCpuMetricsRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetCpuMetricsRequest) Execute

func (ApiGetCpuMetricsRequest) From

The start of the interval to get the metric

func (ApiGetCpuMetricsRequest) Granularity

func (r ApiGetCpuMetricsRequest) Granularity(granularity string) ApiGetCpuMetricsRequest

How the metrics are grouped by

func (ApiGetCpuMetricsRequest) To

The end of the interval to get the metric. Must be greater than the date provided in `from`

type ApiGetCredentialListByTypeRequest

type ApiGetCredentialListByTypeRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetCredentialListByTypeRequest) Execute

type ApiGetCredentialListRequest

type ApiGetCredentialListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetCredentialListRequest) Execute

type ApiGetCredentialRequest

type ApiGetCredentialRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetCredentialRequest) Execute

type ApiGetDataTrafficMetricsRequest

type ApiGetDataTrafficMetricsRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetDataTrafficMetricsRequest) Aggregation

How the metrics are aggregated

func (ApiGetDataTrafficMetricsRequest) Execute

func (ApiGetDataTrafficMetricsRequest) From

The start of the interval to get the metric

func (ApiGetDataTrafficMetricsRequest) Granularity

How the metrics are grouped by

func (ApiGetDataTrafficMetricsRequest) To

The end of the interval to get the metric. Must be greater than the date provided in `from`

type ApiGetExpensesRequest

type ApiGetExpensesRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetExpensesRequest) Execute

func (ApiGetExpensesRequest) From

Start date of the period to get costs for. It must be the first day of the month

func (ApiGetExpensesRequest) To

End date of the period to get costs for. This date needs to be exactly one month after the 'from' date. If this value is not passed, it will be calculated based on 'from' parameter

type ApiGetImageListRequest

type ApiGetImageListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetImageListRequest) Custom

Filters the list to include only custom images.

func (ApiGetImageListRequest) Execute

func (ApiGetImageListRequest) Flavour

Filters the list by the flavour of standard images.

func (ApiGetImageListRequest) Limit

Limit the number of results returned.

func (ApiGetImageListRequest) MarketAppId

func (r ApiGetImageListRequest) MarketAppId(marketAppId MarketAppId) ApiGetImageListRequest

Filters the list by the market app of standard images.

func (ApiGetImageListRequest) Name

Filters the list by the name of images.

func (ApiGetImageListRequest) Offset

Return results starting from the given offset.

func (ApiGetImageListRequest) Region

Available regions can be found using the List Regions endpoint.

func (ApiGetImageListRequest) Standard

func (r ApiGetImageListRequest) Standard(standard bool) ApiGetImageListRequest

Filters the list to include only standard images.

func (ApiGetImageListRequest) State

Filters the list by the state of custom images.

func (ApiGetImageListRequest) StorageType

func (r ApiGetImageListRequest) StorageType(storageType StorageType) ApiGetImageListRequest

Filters the list by the market app of standard images.

type ApiGetInstanceListRequest

type ApiGetInstanceListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetInstanceListRequest) ContractState

func (r ApiGetInstanceListRequest) ContractState(contractState ContractState) ApiGetInstanceListRequest

func (ApiGetInstanceListRequest) ContractType

func (ApiGetInstanceListRequest) Execute

func (ApiGetInstanceListRequest) Id

func (ApiGetInstanceListRequest) ImageId

Available Images can be obtained using `/v1/images`.

func (ApiGetInstanceListRequest) Ip

func (ApiGetInstanceListRequest) Limit

Limit the number of results returned.

func (ApiGetInstanceListRequest) Offset

Return results starting from the given offset.

func (ApiGetInstanceListRequest) Reference

func (ApiGetInstanceListRequest) Region

Available regions can be obtained using `/v1/regions`

func (ApiGetInstanceListRequest) State

The instance's current state(s), separated by commas.

func (ApiGetInstanceListRequest) Type_

Available instance types for your region can be obtained using `/v1/instanceTypes`.

type ApiGetInstanceRequest

type ApiGetInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetInstanceRequest) Execute

type ApiGetInstanceTypeListRequest

type ApiGetInstanceTypeListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetInstanceTypeListRequest) Execute

func (ApiGetInstanceTypeListRequest) Limit

func (ApiGetInstanceTypeListRequest) Offset

func (ApiGetInstanceTypeListRequest) Region

type ApiGetIpListRequest

type ApiGetIpListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetIpListRequest) Execute

func (ApiGetIpListRequest) Ips

A list of IPs separated by `|`

func (ApiGetIpListRequest) NullRouted

func (r ApiGetIpListRequest) NullRouted(nullRouted bool) ApiGetIpListRequest

func (ApiGetIpListRequest) Version

func (r ApiGetIpListRequest) Version(version int32) ApiGetIpListRequest

type ApiGetIpRequest

type ApiGetIpRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetIpRequest) Execute

func (r ApiGetIpRequest) Execute() (*IpDetails, *http.Response, error)

type ApiGetIsoListRequest

type ApiGetIsoListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetIsoListRequest) Execute

func (ApiGetIsoListRequest) Limit

Limit the number of results returned.

func (ApiGetIsoListRequest) Offset

Return results starting from the given offset.

type ApiGetLoadBalancerListRequest

type ApiGetLoadBalancerListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetLoadBalancerListRequest) ContractState

func (ApiGetLoadBalancerListRequest) ContractType

func (ApiGetLoadBalancerListRequest) Execute

func (ApiGetLoadBalancerListRequest) Id

func (ApiGetLoadBalancerListRequest) Ip

func (ApiGetLoadBalancerListRequest) Limit

Limit the number of results returned.

func (ApiGetLoadBalancerListRequest) Offset

Return results starting from the given offset.

func (ApiGetLoadBalancerListRequest) Reference

func (ApiGetLoadBalancerListRequest) Region

Available regions can be found using the List Regions endpoint.

func (ApiGetLoadBalancerListRequest) State

func (ApiGetLoadBalancerListRequest) Type_

Available load balancer types can be found using the List Load Balancer Types endpoint.

type ApiGetLoadBalancerListenerRequest

type ApiGetLoadBalancerListenerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetLoadBalancerListenerRequest) Execute

type ApiGetLoadBalancerRequest

type ApiGetLoadBalancerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetLoadBalancerRequest) Execute

type ApiGetLoadBalancerTargetListRequest

type ApiGetLoadBalancerTargetListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetLoadBalancerTargetListRequest) Execute

type ApiGetMarketAppListRequest

type ApiGetMarketAppListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetMarketAppListRequest) Execute

type ApiGetRegionListRequest

type ApiGetRegionListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetRegionListRequest) Execute

func (ApiGetRegionListRequest) Limit

Limit the number of results returned.

func (ApiGetRegionListRequest) Offset

Return results starting from the given offset.

type ApiGetReinstallImageListRequest

type ApiGetReinstallImageListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetReinstallImageListRequest) Custom

Filters the list to include only custom images.

func (ApiGetReinstallImageListRequest) Execute

func (ApiGetReinstallImageListRequest) Limit

Limit the number of results returned.

func (ApiGetReinstallImageListRequest) Offset

Return results starting from the given offset.

func (ApiGetReinstallImageListRequest) Standard

Filters the list to include only standard images.

type ApiGetSnapshotListRequest

type ApiGetSnapshotListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetSnapshotListRequest) Execute

func (ApiGetSnapshotListRequest) Limit

Limit the number of results returned.

func (ApiGetSnapshotListRequest) Offset

Return results starting from the given offset.

type ApiGetSnapshotRequest

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

func (ApiGetSnapshotRequest) Execute

func (r ApiGetSnapshotRequest) Execute() (*Snapshot, *http.Response, error)

type ApiGetUpdateInstanceTypeListRequest

type ApiGetUpdateInstanceTypeListRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiGetUpdateInstanceTypeListRequest) Execute

func (ApiGetUpdateInstanceTypeListRequest) Limit

func (ApiGetUpdateInstanceTypeListRequest) Offset

type ApiLaunchInstanceRequest

type ApiLaunchInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiLaunchInstanceRequest) Execute

func (ApiLaunchInstanceRequest) LaunchInstanceOpts

func (r ApiLaunchInstanceRequest) LaunchInstanceOpts(launchInstanceOpts LaunchInstanceOpts) ApiLaunchInstanceRequest

type ApiLaunchLoadBalancerRequest

type ApiLaunchLoadBalancerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiLaunchLoadBalancerRequest) Execute

func (ApiLaunchLoadBalancerRequest) LaunchLoadBalancerOpts

func (r ApiLaunchLoadBalancerRequest) LaunchLoadBalancerOpts(launchLoadBalancerOpts LaunchLoadBalancerOpts) ApiLaunchLoadBalancerRequest

type ApiNullRouteIpRequest

type ApiNullRouteIpRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiNullRouteIpRequest) Execute

func (ApiNullRouteIpRequest) NullRouteIpOpts

func (r ApiNullRouteIpRequest) NullRouteIpOpts(nullRouteIpOpts NullRouteIpOpts) ApiNullRouteIpRequest

type ApiRebootInstanceRequest

type ApiRebootInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiRebootInstanceRequest) Execute

func (r ApiRebootInstanceRequest) Execute() (*http.Response, error)

type ApiRegisterAutoScalingGroupLoadBalancerRequest

type ApiRegisterAutoScalingGroupLoadBalancerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiRegisterAutoScalingGroupLoadBalancerRequest) Execute

func (ApiRegisterAutoScalingGroupLoadBalancerRequest) RegisterAutoScalingGroupLoadBalancerOpts

func (r ApiRegisterAutoScalingGroupLoadBalancerRequest) RegisterAutoScalingGroupLoadBalancerOpts(registerAutoScalingGroupLoadBalancerOpts RegisterAutoScalingGroupLoadBalancerOpts) ApiRegisterAutoScalingGroupLoadBalancerRequest

type ApiRegisterLoadBalancerTargetsRequest

type ApiRegisterLoadBalancerTargetsRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiRegisterLoadBalancerTargetsRequest) Execute

func (ApiRegisterLoadBalancerTargetsRequest) LoadBalancerTargetOpts

type ApiReinstallInstanceRequest

type ApiReinstallInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiReinstallInstanceRequest) Execute

func (ApiReinstallInstanceRequest) ReinstallInstanceOpts

func (r ApiReinstallInstanceRequest) ReinstallInstanceOpts(reinstallInstanceOpts ReinstallInstanceOpts) ApiReinstallInstanceRequest

type ApiRemoveFromPrivateNetworkRequest

type ApiRemoveFromPrivateNetworkRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiRemoveFromPrivateNetworkRequest) Execute

type ApiRemoveIpNullRouteRequest

type ApiRemoveIpNullRouteRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiRemoveIpNullRouteRequest) Execute

type ApiResetPasswordRequest

type ApiResetPasswordRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiResetPasswordRequest) Execute

func (r ApiResetPasswordRequest) Execute() (*http.Response, error)

type ApiRestoreSnapshotRequest

type ApiRestoreSnapshotRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiRestoreSnapshotRequest) Execute

func (r ApiRestoreSnapshotRequest) Execute() (*http.Response, error)

type ApiStartInstanceRequest

type ApiStartInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiStartInstanceRequest) Execute

func (r ApiStartInstanceRequest) Execute() (*http.Response, error)

type ApiStopInstanceRequest

type ApiStopInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiStopInstanceRequest) Execute

func (r ApiStopInstanceRequest) Execute() (*http.Response, error)

type ApiStoreCredentialRequest

type ApiStoreCredentialRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiStoreCredentialRequest) Execute

func (ApiStoreCredentialRequest) StoreCredentialOpts

func (r ApiStoreCredentialRequest) StoreCredentialOpts(storeCredentialOpts StoreCredentialOpts) ApiStoreCredentialRequest

type ApiTerminateInstanceRequest

type ApiTerminateInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiTerminateInstanceRequest) Execute

type ApiTerminateLoadBalancerRequest

type ApiTerminateLoadBalancerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiTerminateLoadBalancerRequest) Execute

type ApiUpdateAutoScalingGroupRequest

type ApiUpdateAutoScalingGroupRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiUpdateAutoScalingGroupRequest) Execute

func (ApiUpdateAutoScalingGroupRequest) UpdateAutoScalingGroupOpts

func (r ApiUpdateAutoScalingGroupRequest) UpdateAutoScalingGroupOpts(updateAutoScalingGroupOpts UpdateAutoScalingGroupOpts) ApiUpdateAutoScalingGroupRequest

type ApiUpdateCredentialRequest

type ApiUpdateCredentialRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiUpdateCredentialRequest) Execute

func (ApiUpdateCredentialRequest) UpdateCredentialOpts

func (r ApiUpdateCredentialRequest) UpdateCredentialOpts(updateCredentialOpts UpdateCredentialOpts) ApiUpdateCredentialRequest

type ApiUpdateImageRequest

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

func (ApiUpdateImageRequest) Execute

func (ApiUpdateImageRequest) UpdateImageOpts

func (r ApiUpdateImageRequest) UpdateImageOpts(updateImageOpts UpdateImageOpts) ApiUpdateImageRequest

type ApiUpdateInstanceRequest

type ApiUpdateInstanceRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiUpdateInstanceRequest) Execute

func (ApiUpdateInstanceRequest) UpdateInstanceOpts

func (r ApiUpdateInstanceRequest) UpdateInstanceOpts(updateInstanceOpts UpdateInstanceOpts) ApiUpdateInstanceRequest

type ApiUpdateIpRequest

type ApiUpdateIpRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiUpdateIpRequest) Execute

func (r ApiUpdateIpRequest) Execute() (*IpDetails, *http.Response, error)

func (ApiUpdateIpRequest) UpdateIpOpts

func (r ApiUpdateIpRequest) UpdateIpOpts(updateIpOpts UpdateIpOpts) ApiUpdateIpRequest

type ApiUpdateLoadBalancerListenerRequest

type ApiUpdateLoadBalancerListenerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiUpdateLoadBalancerListenerRequest) Execute

func (ApiUpdateLoadBalancerListenerRequest) LoadBalancerListenerOpts

func (r ApiUpdateLoadBalancerListenerRequest) LoadBalancerListenerOpts(loadBalancerListenerOpts LoadBalancerListenerOpts) ApiUpdateLoadBalancerListenerRequest

type ApiUpdateLoadBalancerRequest

type ApiUpdateLoadBalancerRequest struct {
	ApiService PublicCloudAPI
	// contains filtered or unexported fields
}

func (ApiUpdateLoadBalancerRequest) Execute

func (ApiUpdateLoadBalancerRequest) UpdateLoadBalancerOpts

func (r ApiUpdateLoadBalancerRequest) UpdateLoadBalancerOpts(updateLoadBalancerOpts UpdateLoadBalancerOpts) ApiUpdateLoadBalancerRequest

type AttachIsoOpts

type AttachIsoOpts struct {
	// The ISO ID, obtained using the ISO endpoints
	IsoId                string `json:"isoId"`
	AdditionalProperties map[string]interface{}
}

AttachIsoOpts struct for AttachIsoOpts

func NewAttachIsoOpts

func NewAttachIsoOpts(isoId string) *AttachIsoOpts

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

func NewAttachIsoOptsWithDefaults

func NewAttachIsoOptsWithDefaults() *AttachIsoOpts

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

func (*AttachIsoOpts) GetIsoId

func (o *AttachIsoOpts) GetIsoId() string

GetIsoId returns the IsoId field value

func (*AttachIsoOpts) GetIsoIdOk

func (o *AttachIsoOpts) GetIsoIdOk() (*string, bool)

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

func (AttachIsoOpts) MarshalJSON

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

func (*AttachIsoOpts) SetIsoId

func (o *AttachIsoOpts) SetIsoId(v string)

SetIsoId sets field value

func (AttachIsoOpts) ToMap

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

func (*AttachIsoOpts) UnmarshalJSON

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

type AutoScaledInstance

type AutoScaledInstance struct {
	// The unique identifier of the instance
	Id *string `json:"id,omitempty"`
	// The instance type, which determines the amount of resources
	Type      *string     `json:"type,omitempty"`
	Resources *Resources  `json:"resources,omitempty"`
	Region    *RegionName `json:"region,omitempty"`
	// The identifying name set to the instance
	Reference              *string     `json:"reference,omitempty"`
	State                  *State      `json:"state,omitempty"`
	ProductType            *string     `json:"productType,omitempty"`
	IncludesPrivateNetwork *bool       `json:"hasPrivateNetwork,omitempty"`
	Ips                    []IpDetails `json:"ips,omitempty"`
	AdditionalProperties   map[string]interface{}
}

AutoScaledInstance struct for AutoScaledInstance

func NewAutoScaledInstance

func NewAutoScaledInstance() *AutoScaledInstance

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

func NewAutoScaledInstanceWithDefaults

func NewAutoScaledInstanceWithDefaults() *AutoScaledInstance

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

func (*AutoScaledInstance) GetId

func (o *AutoScaledInstance) GetId() string

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

func (*AutoScaledInstance) GetIdOk

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

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

func (*AutoScaledInstance) GetIncludesPrivateNetwork

func (o *AutoScaledInstance) GetIncludesPrivateNetwork() bool

GetIncludesPrivateNetwork returns the IncludesPrivateNetwork field value if set, zero value otherwise.

func (*AutoScaledInstance) GetIncludesPrivateNetworkOk

func (o *AutoScaledInstance) GetIncludesPrivateNetworkOk() (*bool, bool)

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

func (*AutoScaledInstance) GetIps

func (o *AutoScaledInstance) GetIps() []IpDetails

GetIps returns the Ips field value if set, zero value otherwise.

func (*AutoScaledInstance) GetIpsOk

func (o *AutoScaledInstance) GetIpsOk() ([]IpDetails, bool)

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

func (*AutoScaledInstance) GetProductType

func (o *AutoScaledInstance) GetProductType() string

GetProductType returns the ProductType field value if set, zero value otherwise.

func (*AutoScaledInstance) GetProductTypeOk

func (o *AutoScaledInstance) GetProductTypeOk() (*string, bool)

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

func (*AutoScaledInstance) GetReference

func (o *AutoScaledInstance) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*AutoScaledInstance) GetReferenceOk

func (o *AutoScaledInstance) GetReferenceOk() (*string, bool)

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

func (*AutoScaledInstance) GetRegion

func (o *AutoScaledInstance) GetRegion() RegionName

GetRegion returns the Region field value if set, zero value otherwise.

func (*AutoScaledInstance) GetRegionOk

func (o *AutoScaledInstance) GetRegionOk() (*RegionName, bool)

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

func (*AutoScaledInstance) GetResources

func (o *AutoScaledInstance) GetResources() Resources

GetResources returns the Resources field value if set, zero value otherwise.

func (*AutoScaledInstance) GetResourcesOk

func (o *AutoScaledInstance) GetResourcesOk() (*Resources, bool)

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

func (*AutoScaledInstance) GetState

func (o *AutoScaledInstance) GetState() State

GetState returns the State field value if set, zero value otherwise.

func (*AutoScaledInstance) GetStateOk

func (o *AutoScaledInstance) GetStateOk() (*State, bool)

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

func (*AutoScaledInstance) GetType

func (o *AutoScaledInstance) GetType() string

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

func (*AutoScaledInstance) GetTypeOk

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

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

func (*AutoScaledInstance) HasId

func (o *AutoScaledInstance) HasId() bool

HasId returns a boolean if a field has been set.

func (*AutoScaledInstance) HasIncludesPrivateNetwork

func (o *AutoScaledInstance) HasIncludesPrivateNetwork() bool

HasIncludesPrivateNetwork returns a boolean if a field has been set.

func (*AutoScaledInstance) HasIps

func (o *AutoScaledInstance) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*AutoScaledInstance) HasProductType

func (o *AutoScaledInstance) HasProductType() bool

HasProductType returns a boolean if a field has been set.

func (*AutoScaledInstance) HasReference

func (o *AutoScaledInstance) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*AutoScaledInstance) HasRegion

func (o *AutoScaledInstance) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*AutoScaledInstance) HasResources

func (o *AutoScaledInstance) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*AutoScaledInstance) HasState

func (o *AutoScaledInstance) HasState() bool

HasState returns a boolean if a field has been set.

func (*AutoScaledInstance) HasType

func (o *AutoScaledInstance) HasType() bool

HasType returns a boolean if a field has been set.

func (AutoScaledInstance) MarshalJSON

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

func (*AutoScaledInstance) SetId

func (o *AutoScaledInstance) SetId(v string)

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

func (*AutoScaledInstance) SetIncludesPrivateNetwork

func (o *AutoScaledInstance) SetIncludesPrivateNetwork(v bool)

SetIncludesPrivateNetwork gets a reference to the given bool and assigns it to the IncludesPrivateNetwork field.

func (*AutoScaledInstance) SetIps

func (o *AutoScaledInstance) SetIps(v []IpDetails)

SetIps gets a reference to the given []IpDetails and assigns it to the Ips field.

func (*AutoScaledInstance) SetProductType

func (o *AutoScaledInstance) SetProductType(v string)

SetProductType gets a reference to the given string and assigns it to the ProductType field.

func (*AutoScaledInstance) SetReference

func (o *AutoScaledInstance) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*AutoScaledInstance) SetRegion

func (o *AutoScaledInstance) SetRegion(v RegionName)

SetRegion gets a reference to the given RegionName and assigns it to the Region field.

func (*AutoScaledInstance) SetResources

func (o *AutoScaledInstance) SetResources(v Resources)

SetResources gets a reference to the given Resources and assigns it to the Resources field.

func (*AutoScaledInstance) SetState

func (o *AutoScaledInstance) SetState(v State)

SetState gets a reference to the given State and assigns it to the State field.

func (*AutoScaledInstance) SetType

func (o *AutoScaledInstance) SetType(v string)

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

func (AutoScaledInstance) ToMap

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

func (*AutoScaledInstance) UnmarshalJSON

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

type AutoScalingGroup

type AutoScalingGroup struct {
	// The Auto Scaling Group unique identifier
	Id    string                `json:"id"`
	Type  AutoScalingGroupType  `json:"type"`
	State AutoScalingGroupState `json:"state"`
	// Number of instances that should be running
	DesiredAmount NullableInt32 `json:"desiredAmount"`
	Region        RegionName    `json:"region"`
	// The identifying name set to the auto scaling group
	Reference string `json:"reference"`
	// Date and time when the Auto Scaling Group was created
	CreatedAt time.Time `json:"createdAt"`
	// Date and time when the Auto Scaling Group was last updated
	UpdatedAt time.Time `json:"updatedAt"`
	// Only for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be launched
	StartsAt NullableTime `json:"startsAt"`
	// Only for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be terminated
	EndsAt NullableTime `json:"endsAt"`
	// The minimum number of instances that should be running
	MinimumAmount NullableInt32 `json:"minimumAmount"`
	// Only for \"CPU_BASED\" auto scaling group. The maximum number of instances that can be running
	MaximumAmount NullableInt32 `json:"maximumAmount"`
	// Only for \"CPU_BASED\" auto scaling group. The target average CPU utilization for scaling
	CpuThreshold NullableInt32 `json:"cpuThreshold"`
	// Only for \"CPU_BASED\" auto scaling group. Warm-up time in seconds for new instances
	WarmupTime NullableInt32 `json:"warmupTime"`
	// Only for \"CPU_BASED\" auto scaling group. Cool-down time in seconds for new instances
	CooldownTime         NullableInt32 `json:"cooldownTime"`
	AdditionalProperties map[string]interface{}
}

AutoScalingGroup struct for AutoScalingGroup

func NewAutoScalingGroup

func NewAutoScalingGroup(id string, type_ AutoScalingGroupType, state AutoScalingGroupState, desiredAmount NullableInt32, region RegionName, reference string, createdAt time.Time, updatedAt time.Time, startsAt NullableTime, endsAt NullableTime, minimumAmount NullableInt32, maximumAmount NullableInt32, cpuThreshold NullableInt32, warmupTime NullableInt32, cooldownTime NullableInt32) *AutoScalingGroup

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

func NewAutoScalingGroupWithDefaults

func NewAutoScalingGroupWithDefaults() *AutoScalingGroup

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

func (*AutoScalingGroup) GetCooldownTime

func (o *AutoScalingGroup) GetCooldownTime() int32

GetCooldownTime returns the CooldownTime field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroup) GetCooldownTimeOk

func (o *AutoScalingGroup) GetCooldownTimeOk() (*int32, bool)

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

func (*AutoScalingGroup) GetCpuThreshold

func (o *AutoScalingGroup) GetCpuThreshold() int32

GetCpuThreshold returns the CpuThreshold field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroup) GetCpuThresholdOk

func (o *AutoScalingGroup) GetCpuThresholdOk() (*int32, bool)

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

func (*AutoScalingGroup) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*AutoScalingGroup) GetCreatedAtOk

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

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

func (*AutoScalingGroup) GetDesiredAmount

func (o *AutoScalingGroup) GetDesiredAmount() int32

GetDesiredAmount returns the DesiredAmount field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroup) GetDesiredAmountOk

func (o *AutoScalingGroup) GetDesiredAmountOk() (*int32, bool)

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

func (*AutoScalingGroup) GetEndsAt

func (o *AutoScalingGroup) GetEndsAt() time.Time

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

func (*AutoScalingGroup) GetEndsAtOk

func (o *AutoScalingGroup) GetEndsAtOk() (*time.Time, bool)

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

func (*AutoScalingGroup) GetId

func (o *AutoScalingGroup) GetId() string

GetId returns the Id field value

func (*AutoScalingGroup) GetIdOk

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

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

func (*AutoScalingGroup) GetMaximumAmount

func (o *AutoScalingGroup) GetMaximumAmount() int32

GetMaximumAmount returns the MaximumAmount field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroup) GetMaximumAmountOk

func (o *AutoScalingGroup) GetMaximumAmountOk() (*int32, bool)

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

func (*AutoScalingGroup) GetMinimumAmount

func (o *AutoScalingGroup) GetMinimumAmount() int32

GetMinimumAmount returns the MinimumAmount field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroup) GetMinimumAmountOk

func (o *AutoScalingGroup) GetMinimumAmountOk() (*int32, bool)

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

func (*AutoScalingGroup) GetReference

func (o *AutoScalingGroup) GetReference() string

GetReference returns the Reference field value

func (*AutoScalingGroup) GetReferenceOk

func (o *AutoScalingGroup) GetReferenceOk() (*string, bool)

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

func (*AutoScalingGroup) GetRegion

func (o *AutoScalingGroup) GetRegion() RegionName

GetRegion returns the Region field value

func (*AutoScalingGroup) GetRegionOk

func (o *AutoScalingGroup) GetRegionOk() (*RegionName, bool)

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

func (*AutoScalingGroup) GetStartsAt

func (o *AutoScalingGroup) GetStartsAt() time.Time

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

func (*AutoScalingGroup) GetStartsAtOk

func (o *AutoScalingGroup) GetStartsAtOk() (*time.Time, bool)

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

func (*AutoScalingGroup) GetState

GetState returns the State field value

func (*AutoScalingGroup) GetStateOk

func (o *AutoScalingGroup) GetStateOk() (*AutoScalingGroupState, bool)

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

func (*AutoScalingGroup) GetType

GetType returns the Type field value

func (*AutoScalingGroup) GetTypeOk

func (o *AutoScalingGroup) GetTypeOk() (*AutoScalingGroupType, bool)

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

func (*AutoScalingGroup) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*AutoScalingGroup) GetUpdatedAtOk

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

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

func (*AutoScalingGroup) GetWarmupTime

func (o *AutoScalingGroup) GetWarmupTime() int32

GetWarmupTime returns the WarmupTime field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroup) GetWarmupTimeOk

func (o *AutoScalingGroup) GetWarmupTimeOk() (*int32, bool)

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

func (AutoScalingGroup) MarshalJSON

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

func (*AutoScalingGroup) SetCooldownTime

func (o *AutoScalingGroup) SetCooldownTime(v int32)

SetCooldownTime sets field value

func (*AutoScalingGroup) SetCpuThreshold

func (o *AutoScalingGroup) SetCpuThreshold(v int32)

SetCpuThreshold sets field value

func (*AutoScalingGroup) SetCreatedAt

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

SetCreatedAt sets field value

func (*AutoScalingGroup) SetDesiredAmount

func (o *AutoScalingGroup) SetDesiredAmount(v int32)

SetDesiredAmount sets field value

func (*AutoScalingGroup) SetEndsAt

func (o *AutoScalingGroup) SetEndsAt(v time.Time)

SetEndsAt sets field value

func (*AutoScalingGroup) SetId

func (o *AutoScalingGroup) SetId(v string)

SetId sets field value

func (*AutoScalingGroup) SetMaximumAmount

func (o *AutoScalingGroup) SetMaximumAmount(v int32)

SetMaximumAmount sets field value

func (*AutoScalingGroup) SetMinimumAmount

func (o *AutoScalingGroup) SetMinimumAmount(v int32)

SetMinimumAmount sets field value

func (*AutoScalingGroup) SetReference

func (o *AutoScalingGroup) SetReference(v string)

SetReference sets field value

func (*AutoScalingGroup) SetRegion

func (o *AutoScalingGroup) SetRegion(v RegionName)

SetRegion sets field value

func (*AutoScalingGroup) SetStartsAt

func (o *AutoScalingGroup) SetStartsAt(v time.Time)

SetStartsAt sets field value

func (*AutoScalingGroup) SetState

func (o *AutoScalingGroup) SetState(v AutoScalingGroupState)

SetState sets field value

func (*AutoScalingGroup) SetType

func (o *AutoScalingGroup) SetType(v AutoScalingGroupType)

SetType sets field value

func (*AutoScalingGroup) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*AutoScalingGroup) SetWarmupTime

func (o *AutoScalingGroup) SetWarmupTime(v int32)

SetWarmupTime sets field value

func (AutoScalingGroup) ToMap

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

func (*AutoScalingGroup) UnmarshalJSON

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

type AutoScalingGroupDetails

type AutoScalingGroupDetails struct {
	// The Auto Scaling Group unique identifier
	Id    string                `json:"id"`
	Type  AutoScalingGroupType  `json:"type"`
	State AutoScalingGroupState `json:"state"`
	// Number of instances that should be running
	DesiredAmount NullableInt32 `json:"desiredAmount"`
	Region        RegionName    `json:"region"`
	// The identifying name set to the auto scaling group
	Reference string `json:"reference"`
	// Date and time when the Auto Scaling Group was created
	CreatedAt time.Time `json:"createdAt"`
	// Date and time when the Auto Scaling Group was last updated
	UpdatedAt time.Time `json:"updatedAt"`
	// Only for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be launched
	StartsAt NullableTime `json:"startsAt"`
	// Only for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be terminated
	EndsAt NullableTime `json:"endsAt"`
	// The minimum number of instances that should be running
	MinimumAmount NullableInt32 `json:"minimumAmount"`
	// Only for \"CPU_BASED\" auto scaling group. The maximum number of instances that can be running
	MaximumAmount NullableInt32 `json:"maximumAmount"`
	// Only for \"CPU_BASED\" auto scaling group. The target average CPU utilization for scaling
	CpuThreshold NullableInt32 `json:"cpuThreshold"`
	// Only for \"CPU_BASED\" auto scaling group. Warm-up time in seconds for new instances
	WarmupTime NullableInt32 `json:"warmupTime"`
	// Only for \"CPU_BASED\" auto scaling group. Cool-down time in seconds for new instances
	CooldownTime         NullableInt32        `json:"cooldownTime"`
	LoadBalancer         NullableLoadBalancer `json:"loadBalancer"`
	AdditionalProperties map[string]interface{}
}

AutoScalingGroupDetails struct for AutoScalingGroupDetails

func NewAutoScalingGroupDetails

func NewAutoScalingGroupDetails(id string, type_ AutoScalingGroupType, state AutoScalingGroupState, desiredAmount NullableInt32, region RegionName, reference string, createdAt time.Time, updatedAt time.Time, startsAt NullableTime, endsAt NullableTime, minimumAmount NullableInt32, maximumAmount NullableInt32, cpuThreshold NullableInt32, warmupTime NullableInt32, cooldownTime NullableInt32, loadBalancer NullableLoadBalancer) *AutoScalingGroupDetails

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

func NewAutoScalingGroupDetailsWithDefaults

func NewAutoScalingGroupDetailsWithDefaults() *AutoScalingGroupDetails

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

func (*AutoScalingGroupDetails) GetCooldownTime

func (o *AutoScalingGroupDetails) GetCooldownTime() int32

GetCooldownTime returns the CooldownTime field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroupDetails) GetCooldownTimeOk

func (o *AutoScalingGroupDetails) GetCooldownTimeOk() (*int32, bool)

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

func (*AutoScalingGroupDetails) GetCpuThreshold

func (o *AutoScalingGroupDetails) GetCpuThreshold() int32

GetCpuThreshold returns the CpuThreshold field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroupDetails) GetCpuThresholdOk

func (o *AutoScalingGroupDetails) GetCpuThresholdOk() (*int32, bool)

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

func (*AutoScalingGroupDetails) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*AutoScalingGroupDetails) GetCreatedAtOk

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

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

func (*AutoScalingGroupDetails) GetDesiredAmount

func (o *AutoScalingGroupDetails) GetDesiredAmount() int32

GetDesiredAmount returns the DesiredAmount field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroupDetails) GetDesiredAmountOk

func (o *AutoScalingGroupDetails) GetDesiredAmountOk() (*int32, bool)

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

func (*AutoScalingGroupDetails) GetEndsAt

func (o *AutoScalingGroupDetails) GetEndsAt() time.Time

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

func (*AutoScalingGroupDetails) GetEndsAtOk

func (o *AutoScalingGroupDetails) GetEndsAtOk() (*time.Time, bool)

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

func (*AutoScalingGroupDetails) GetId

func (o *AutoScalingGroupDetails) GetId() string

GetId returns the Id field value

func (*AutoScalingGroupDetails) GetIdOk

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

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

func (*AutoScalingGroupDetails) GetLoadBalancer

func (o *AutoScalingGroupDetails) GetLoadBalancer() LoadBalancer

GetLoadBalancer returns the LoadBalancer field value If the value is explicit nil, the zero value for LoadBalancer will be returned

func (*AutoScalingGroupDetails) GetLoadBalancerOk

func (o *AutoScalingGroupDetails) GetLoadBalancerOk() (*LoadBalancer, bool)

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

func (*AutoScalingGroupDetails) GetMaximumAmount

func (o *AutoScalingGroupDetails) GetMaximumAmount() int32

GetMaximumAmount returns the MaximumAmount field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroupDetails) GetMaximumAmountOk

func (o *AutoScalingGroupDetails) GetMaximumAmountOk() (*int32, bool)

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

func (*AutoScalingGroupDetails) GetMinimumAmount

func (o *AutoScalingGroupDetails) GetMinimumAmount() int32

GetMinimumAmount returns the MinimumAmount field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroupDetails) GetMinimumAmountOk

func (o *AutoScalingGroupDetails) GetMinimumAmountOk() (*int32, bool)

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

func (*AutoScalingGroupDetails) GetReference

func (o *AutoScalingGroupDetails) GetReference() string

GetReference returns the Reference field value

func (*AutoScalingGroupDetails) GetReferenceOk

func (o *AutoScalingGroupDetails) GetReferenceOk() (*string, bool)

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

func (*AutoScalingGroupDetails) GetRegion

func (o *AutoScalingGroupDetails) GetRegion() RegionName

GetRegion returns the Region field value

func (*AutoScalingGroupDetails) GetRegionOk

func (o *AutoScalingGroupDetails) GetRegionOk() (*RegionName, bool)

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

func (*AutoScalingGroupDetails) GetStartsAt

func (o *AutoScalingGroupDetails) GetStartsAt() time.Time

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

func (*AutoScalingGroupDetails) GetStartsAtOk

func (o *AutoScalingGroupDetails) GetStartsAtOk() (*time.Time, bool)

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

func (*AutoScalingGroupDetails) GetState

GetState returns the State field value

func (*AutoScalingGroupDetails) GetStateOk

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

func (*AutoScalingGroupDetails) GetType

GetType returns the Type field value

func (*AutoScalingGroupDetails) GetTypeOk

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

func (*AutoScalingGroupDetails) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*AutoScalingGroupDetails) GetUpdatedAtOk

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

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

func (*AutoScalingGroupDetails) GetWarmupTime

func (o *AutoScalingGroupDetails) GetWarmupTime() int32

GetWarmupTime returns the WarmupTime field value If the value is explicit nil, the zero value for int32 will be returned

func (*AutoScalingGroupDetails) GetWarmupTimeOk

func (o *AutoScalingGroupDetails) GetWarmupTimeOk() (*int32, bool)

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

func (AutoScalingGroupDetails) MarshalJSON

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

func (*AutoScalingGroupDetails) SetCooldownTime

func (o *AutoScalingGroupDetails) SetCooldownTime(v int32)

SetCooldownTime sets field value

func (*AutoScalingGroupDetails) SetCpuThreshold

func (o *AutoScalingGroupDetails) SetCpuThreshold(v int32)

SetCpuThreshold sets field value

func (*AutoScalingGroupDetails) SetCreatedAt

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

SetCreatedAt sets field value

func (*AutoScalingGroupDetails) SetDesiredAmount

func (o *AutoScalingGroupDetails) SetDesiredAmount(v int32)

SetDesiredAmount sets field value

func (*AutoScalingGroupDetails) SetEndsAt

func (o *AutoScalingGroupDetails) SetEndsAt(v time.Time)

SetEndsAt sets field value

func (*AutoScalingGroupDetails) SetId

func (o *AutoScalingGroupDetails) SetId(v string)

SetId sets field value

func (*AutoScalingGroupDetails) SetLoadBalancer

func (o *AutoScalingGroupDetails) SetLoadBalancer(v LoadBalancer)

SetLoadBalancer sets field value

func (*AutoScalingGroupDetails) SetMaximumAmount

func (o *AutoScalingGroupDetails) SetMaximumAmount(v int32)

SetMaximumAmount sets field value

func (*AutoScalingGroupDetails) SetMinimumAmount

func (o *AutoScalingGroupDetails) SetMinimumAmount(v int32)

SetMinimumAmount sets field value

func (*AutoScalingGroupDetails) SetReference

func (o *AutoScalingGroupDetails) SetReference(v string)

SetReference sets field value

func (*AutoScalingGroupDetails) SetRegion

func (o *AutoScalingGroupDetails) SetRegion(v RegionName)

SetRegion sets field value

func (*AutoScalingGroupDetails) SetStartsAt

func (o *AutoScalingGroupDetails) SetStartsAt(v time.Time)

SetStartsAt sets field value

func (*AutoScalingGroupDetails) SetState

SetState sets field value

func (*AutoScalingGroupDetails) SetType

SetType sets field value

func (*AutoScalingGroupDetails) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*AutoScalingGroupDetails) SetWarmupTime

func (o *AutoScalingGroupDetails) SetWarmupTime(v int32)

SetWarmupTime sets field value

func (AutoScalingGroupDetails) ToMap

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

func (*AutoScalingGroupDetails) UnmarshalJSON

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

type AutoScalingGroupState

type AutoScalingGroupState string

AutoScalingGroupState The Auto Scaling Group's current state.

const (
	AUTOSCALINGGROUPSTATE_ACTIVE     AutoScalingGroupState = "ACTIVE"
	AUTOSCALINGGROUPSTATE_CREATING   AutoScalingGroupState = "CREATING"
	AUTOSCALINGGROUPSTATE_CREATED    AutoScalingGroupState = "CREATED"
	AUTOSCALINGGROUPSTATE_DESTROYED  AutoScalingGroupState = "DESTROYED"
	AUTOSCALINGGROUPSTATE_DESTROYING AutoScalingGroupState = "DESTROYING"
	AUTOSCALINGGROUPSTATE_SCALING    AutoScalingGroupState = "SCALING"
	AUTOSCALINGGROUPSTATE_UPDATING   AutoScalingGroupState = "UPDATING"
)

List of autoScalingGroupState

func NewAutoScalingGroupStateFromValue

func NewAutoScalingGroupStateFromValue(v string) (*AutoScalingGroupState, error)

NewAutoScalingGroupStateFromValue returns a pointer to a valid AutoScalingGroupState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AutoScalingGroupState) IsValid

func (v AutoScalingGroupState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AutoScalingGroupState) Ptr

Ptr returns reference to autoScalingGroupState value

func (*AutoScalingGroupState) UnmarshalJSON

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

type AutoScalingGroupType

type AutoScalingGroupType string

AutoScalingGroupType Auto Scaling Group type

const (
	AUTOSCALINGGROUPTYPE_MANUAL    AutoScalingGroupType = "MANUAL"
	AUTOSCALINGGROUPTYPE_SCHEDULED AutoScalingGroupType = "SCHEDULED"
	AUTOSCALINGGROUPTYPE_CPU_BASED AutoScalingGroupType = "CPU_BASED"
)

List of autoScalingGroupType

func NewAutoScalingGroupTypeFromValue

func NewAutoScalingGroupTypeFromValue(v string) (*AutoScalingGroupType, error)

NewAutoScalingGroupTypeFromValue returns a pointer to a valid AutoScalingGroupType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AutoScalingGroupType) IsValid

func (v AutoScalingGroupType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AutoScalingGroupType) Ptr

Ptr returns reference to autoScalingGroupType value

func (*AutoScalingGroupType) UnmarshalJSON

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

type Balance

type Balance string

Balance Algorithm to be used for load balancer

const (
	BALANCE_ROUNDROBIN Balance = "roundrobin"
	BALANCE_LEASTCONN  Balance = "leastconn"
	BALANCE_SOURCE     Balance = "source"
)

List of balance

func NewBalanceFromValue

func NewBalanceFromValue(v string) (*Balance, error)

NewBalanceFromValue returns a pointer to a valid Balance for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Balance) IsValid

func (v Balance) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Balance) Ptr

func (v Balance) Ptr() *Balance

Ptr returns reference to balance value

func (*Balance) UnmarshalJSON

func (v *Balance) 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 Billing

type Billing struct {
	// List of instances to be billed in the period
	Instances            []ExpenseResultInstance `json:"instances,omitempty"`
	Traffic              *Traffic                `json:"traffic,omitempty"`
	AdditionalProperties map[string]interface{}
}

Billing struct for Billing

func NewBilling

func NewBilling() *Billing

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

func NewBillingWithDefaults

func NewBillingWithDefaults() *Billing

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

func (*Billing) GetInstances

func (o *Billing) GetInstances() []ExpenseResultInstance

GetInstances returns the Instances field value if set, zero value otherwise.

func (*Billing) GetInstancesOk

func (o *Billing) GetInstancesOk() ([]ExpenseResultInstance, bool)

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

func (*Billing) GetTraffic

func (o *Billing) GetTraffic() Traffic

GetTraffic returns the Traffic field value if set, zero value otherwise.

func (*Billing) GetTrafficOk

func (o *Billing) GetTrafficOk() (*Traffic, bool)

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

func (*Billing) HasInstances

func (o *Billing) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*Billing) HasTraffic

func (o *Billing) HasTraffic() bool

HasTraffic returns a boolean if a field has been set.

func (Billing) MarshalJSON

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

func (*Billing) SetInstances

func (o *Billing) SetInstances(v []ExpenseResultInstance)

SetInstances gets a reference to the given []ExpenseResultInstance and assigns it to the Instances field.

func (*Billing) SetTraffic

func (o *Billing) SetTraffic(v Traffic)

SetTraffic gets a reference to the given Traffic and assigns it to the Traffic field.

func (Billing) ToMap

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

func (*Billing) UnmarshalJSON

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

type BillingFrequency

type BillingFrequency int32

BillingFrequency The billing frequency (in months) of the instance.

const (
	BILLINGFREQUENCY__1  BillingFrequency = 1
	BILLINGFREQUENCY__3  BillingFrequency = 3
	BILLINGFREQUENCY__6  BillingFrequency = 6
	BILLINGFREQUENCY__12 BillingFrequency = 12
)

List of billingFrequency

func NewBillingFrequencyFromValue

func NewBillingFrequencyFromValue(v int32) (*BillingFrequency, error)

NewBillingFrequencyFromValue returns a pointer to a valid BillingFrequency for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BillingFrequency) IsValid

func (v BillingFrequency) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BillingFrequency) Ptr

Ptr returns reference to billingFrequency value

func (*BillingFrequency) UnmarshalJSON

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

type Certificate

type Certificate struct {
	// Client Private Key. Required only if protocol is HTTPS
	PrivateKey *string `json:"privateKey,omitempty"`
	// Client Certificate. Required only if protocol is HTTPS
	Certificate *string `json:"certificate,omitempty"`
	// CA certificate. Not required, but can be added if protocol is HTTPS
	Chain                *string `json:"chain,omitempty"`
	AdditionalProperties map[string]interface{}
}

Certificate struct for Certificate

func NewCertificate

func NewCertificate() *Certificate

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

func NewCertificateWithDefaults

func NewCertificateWithDefaults() *Certificate

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

func (*Certificate) GetCertificate

func (o *Certificate) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*Certificate) GetCertificateOk

func (o *Certificate) GetCertificateOk() (*string, bool)

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

func (*Certificate) GetChain

func (o *Certificate) GetChain() string

GetChain returns the Chain field value if set, zero value otherwise.

func (*Certificate) GetChainOk

func (o *Certificate) GetChainOk() (*string, bool)

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

func (*Certificate) GetPrivateKey

func (o *Certificate) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.

func (*Certificate) GetPrivateKeyOk

func (o *Certificate) GetPrivateKeyOk() (*string, bool)

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

func (*Certificate) HasCertificate

func (o *Certificate) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*Certificate) HasChain

func (o *Certificate) HasChain() bool

HasChain returns a boolean if a field has been set.

func (*Certificate) HasPrivateKey

func (o *Certificate) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (Certificate) MarshalJSON

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

func (*Certificate) SetCertificate

func (o *Certificate) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*Certificate) SetChain

func (o *Certificate) SetChain(v string)

SetChain gets a reference to the given string and assigns it to the Chain field.

func (*Certificate) SetPrivateKey

func (o *Certificate) SetPrivateKey(v string)

SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.

func (Certificate) ToMap

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

func (*Certificate) UnmarshalJSON

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

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

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

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type Contract

type Contract struct {
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	Term             ContractTerm     `json:"term"`
	Type             ContractType     `json:"type"`
	EndsAt           NullableTime     `json:"endsAt"`
	// Date when the contract will be automatically renewed
	RenewalsAt time.Time `json:"renewalsAt"`
	// Date when the contract was created
	CreatedAt            time.Time     `json:"createdAt"`
	State                ContractState `json:"state"`
	AdditionalProperties map[string]interface{}
}

Contract struct for Contract

func NewContract

func NewContract(billingFrequency BillingFrequency, term ContractTerm, type_ ContractType, endsAt NullableTime, renewalsAt time.Time, createdAt time.Time, state ContractState) *Contract

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

func NewContractWithDefaults

func NewContractWithDefaults() *Contract

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

func (*Contract) GetBillingFrequency

func (o *Contract) GetBillingFrequency() BillingFrequency

GetBillingFrequency returns the BillingFrequency field value

func (*Contract) GetBillingFrequencyOk

func (o *Contract) GetBillingFrequencyOk() (*BillingFrequency, bool)

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

func (*Contract) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Contract) GetCreatedAtOk

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

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

func (*Contract) GetEndsAt

func (o *Contract) GetEndsAt() time.Time

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

func (*Contract) GetEndsAtOk

func (o *Contract) GetEndsAtOk() (*time.Time, bool)

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

func (*Contract) GetRenewalsAt

func (o *Contract) GetRenewalsAt() time.Time

GetRenewalsAt returns the RenewalsAt field value

func (*Contract) GetRenewalsAtOk

func (o *Contract) GetRenewalsAtOk() (*time.Time, bool)

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

func (*Contract) GetState

func (o *Contract) GetState() ContractState

GetState returns the State field value

func (*Contract) GetStateOk

func (o *Contract) GetStateOk() (*ContractState, bool)

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

func (*Contract) GetTerm

func (o *Contract) GetTerm() ContractTerm

GetTerm returns the Term field value

func (*Contract) GetTermOk

func (o *Contract) GetTermOk() (*ContractTerm, bool)

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

func (*Contract) GetType

func (o *Contract) GetType() ContractType

GetType returns the Type field value

func (*Contract) GetTypeOk

func (o *Contract) GetTypeOk() (*ContractType, bool)

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

func (Contract) MarshalJSON

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

func (*Contract) SetBillingFrequency

func (o *Contract) SetBillingFrequency(v BillingFrequency)

SetBillingFrequency sets field value

func (*Contract) SetCreatedAt

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

SetCreatedAt sets field value

func (*Contract) SetEndsAt

func (o *Contract) SetEndsAt(v time.Time)

SetEndsAt sets field value

func (*Contract) SetRenewalsAt

func (o *Contract) SetRenewalsAt(v time.Time)

SetRenewalsAt sets field value

func (*Contract) SetState

func (o *Contract) SetState(v ContractState)

SetState sets field value

func (*Contract) SetTerm

func (o *Contract) SetTerm(v ContractTerm)

SetTerm sets field value

func (*Contract) SetType

func (o *Contract) SetType(v ContractType)

SetType sets field value

func (Contract) ToMap

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

func (*Contract) UnmarshalJSON

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

type ContractState

type ContractState string

ContractState the model 'ContractState'

const (
	CONTRACTSTATE_ACTIVE           ContractState = "ACTIVE"
	CONTRACTSTATE_DELETE_SCHEDULED ContractState = "DELETE_SCHEDULED"
)

List of contractState

func NewContractStateFromValue

func NewContractStateFromValue(v string) (*ContractState, error)

NewContractStateFromValue returns a pointer to a valid ContractState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ContractState) IsValid

func (v ContractState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ContractState) Ptr

func (v ContractState) Ptr() *ContractState

Ptr returns reference to contractState value

func (*ContractState) UnmarshalJSON

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

type ContractTerm

type ContractTerm int32

ContractTerm Contract commitment. Used only when contract type is MONTHLY

const (
	CONTRACTTERM__0  ContractTerm = 0
	CONTRACTTERM__1  ContractTerm = 1
	CONTRACTTERM__3  ContractTerm = 3
	CONTRACTTERM__6  ContractTerm = 6
	CONTRACTTERM__12 ContractTerm = 12
)

List of contractTerm

func NewContractTermFromValue

func NewContractTermFromValue(v int32) (*ContractTerm, error)

NewContractTermFromValue returns a pointer to a valid ContractTerm for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ContractTerm) IsValid

func (v ContractTerm) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ContractTerm) Ptr

func (v ContractTerm) Ptr() *ContractTerm

Ptr returns reference to contractTerm value

func (*ContractTerm) UnmarshalJSON

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

type ContractType

type ContractType string

ContractType Select HOURLY for billing based on hourly usage, else MONTHLY for billing per month usage

const (
	CONTRACTTYPE_HOURLY  ContractType = "HOURLY"
	CONTRACTTYPE_MONTHLY ContractType = "MONTHLY"
)

List of contractType

func NewContractTypeFromValue

func NewContractTypeFromValue(v string) (*ContractType, error)

NewContractTypeFromValue returns a pointer to a valid ContractType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ContractType) IsValid

func (v ContractType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ContractType) Ptr

func (v ContractType) Ptr() *ContractType

Ptr returns reference to contractType value

func (*ContractType) UnmarshalJSON

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

type Cpu

type Cpu struct {
	Value                int32  `json:"value"`
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

Cpu Number of cores

func NewCpu

func NewCpu(value int32, unit string) *Cpu

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

func NewCpuWithDefaults

func NewCpuWithDefaults() *Cpu

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

func (*Cpu) GetUnit

func (o *Cpu) GetUnit() string

GetUnit returns the Unit field value

func (*Cpu) GetUnitOk

func (o *Cpu) GetUnitOk() (*string, bool)

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

func (*Cpu) GetValue

func (o *Cpu) GetValue() int32

GetValue returns the Value field value

func (*Cpu) GetValueOk

func (o *Cpu) GetValueOk() (*int32, bool)

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

func (Cpu) MarshalJSON

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

func (*Cpu) SetUnit

func (o *Cpu) SetUnit(v string)

SetUnit sets field value

func (*Cpu) SetValue

func (o *Cpu) SetValue(v int32)

SetValue sets field value

func (Cpu) ToMap

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

func (*Cpu) UnmarshalJSON

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

type CpuMetrics

type CpuMetrics struct {
	CpuMetrics           *CpuMetricsMetrics `json:"cpuMetrics,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetrics struct for CpuMetrics

func NewCpuMetrics

func NewCpuMetrics() *CpuMetrics

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

func NewCpuMetricsWithDefaults

func NewCpuMetricsWithDefaults() *CpuMetrics

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

func (*CpuMetrics) GetCpuMetrics

func (o *CpuMetrics) GetCpuMetrics() CpuMetricsMetrics

GetCpuMetrics returns the CpuMetrics field value if set, zero value otherwise.

func (*CpuMetrics) GetCpuMetricsOk

func (o *CpuMetrics) GetCpuMetricsOk() (*CpuMetricsMetrics, bool)

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

func (*CpuMetrics) HasCpuMetrics

func (o *CpuMetrics) HasCpuMetrics() bool

HasCpuMetrics returns a boolean if a field has been set.

func (CpuMetrics) MarshalJSON

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

func (*CpuMetrics) SetCpuMetrics

func (o *CpuMetrics) SetCpuMetrics(v CpuMetricsMetrics)

SetCpuMetrics gets a reference to the given CpuMetricsMetrics and assigns it to the CpuMetrics field.

func (CpuMetrics) ToMap

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

func (*CpuMetrics) UnmarshalJSON

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

type CpuMetricsMetadata

type CpuMetricsMetadata struct {
	From *time.Time `json:"from,omitempty"`
	To   *time.Time `json:"to,omitempty"`
	// The provided granularity
	Granularity          *string                    `json:"granularity,omitempty"`
	Summary              *CpuMetricsMetadataSummary `json:"summary,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetricsMetadata struct for CpuMetricsMetadata

func NewCpuMetricsMetadata

func NewCpuMetricsMetadata() *CpuMetricsMetadata

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

func NewCpuMetricsMetadataWithDefaults

func NewCpuMetricsMetadataWithDefaults() *CpuMetricsMetadata

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

func (*CpuMetricsMetadata) GetFrom

func (o *CpuMetricsMetadata) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*CpuMetricsMetadata) GetFromOk

func (o *CpuMetricsMetadata) GetFromOk() (*time.Time, bool)

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

func (*CpuMetricsMetadata) GetGranularity

func (o *CpuMetricsMetadata) GetGranularity() string

GetGranularity returns the Granularity field value if set, zero value otherwise.

func (*CpuMetricsMetadata) GetGranularityOk

func (o *CpuMetricsMetadata) GetGranularityOk() (*string, bool)

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

func (*CpuMetricsMetadata) GetSummary

GetSummary returns the Summary field value if set, zero value otherwise.

func (*CpuMetricsMetadata) GetSummaryOk

func (o *CpuMetricsMetadata) GetSummaryOk() (*CpuMetricsMetadataSummary, bool)

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

func (*CpuMetricsMetadata) GetTo

func (o *CpuMetricsMetadata) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*CpuMetricsMetadata) GetToOk

func (o *CpuMetricsMetadata) GetToOk() (*time.Time, bool)

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

func (*CpuMetricsMetadata) HasFrom

func (o *CpuMetricsMetadata) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*CpuMetricsMetadata) HasGranularity

func (o *CpuMetricsMetadata) HasGranularity() bool

HasGranularity returns a boolean if a field has been set.

func (*CpuMetricsMetadata) HasSummary

func (o *CpuMetricsMetadata) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*CpuMetricsMetadata) HasTo

func (o *CpuMetricsMetadata) HasTo() bool

HasTo returns a boolean if a field has been set.

func (CpuMetricsMetadata) MarshalJSON

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

func (*CpuMetricsMetadata) SetFrom

func (o *CpuMetricsMetadata) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*CpuMetricsMetadata) SetGranularity

func (o *CpuMetricsMetadata) SetGranularity(v string)

SetGranularity gets a reference to the given string and assigns it to the Granularity field.

func (*CpuMetricsMetadata) SetSummary

SetSummary gets a reference to the given CpuMetricsMetadataSummary and assigns it to the Summary field.

func (*CpuMetricsMetadata) SetTo

func (o *CpuMetricsMetadata) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (CpuMetricsMetadata) ToMap

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

func (*CpuMetricsMetadata) UnmarshalJSON

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

type CpuMetricsMetadataSummary

type CpuMetricsMetadataSummary struct {
	CpuMetrics           *CpuMetricsMetadataSummaryCpuMetrics `json:"cpuMetrics,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetricsMetadataSummary struct for CpuMetricsMetadataSummary

func NewCpuMetricsMetadataSummary

func NewCpuMetricsMetadataSummary() *CpuMetricsMetadataSummary

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

func NewCpuMetricsMetadataSummaryWithDefaults

func NewCpuMetricsMetadataSummaryWithDefaults() *CpuMetricsMetadataSummary

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

func (*CpuMetricsMetadataSummary) GetCpuMetrics

GetCpuMetrics returns the CpuMetrics field value if set, zero value otherwise.

func (*CpuMetricsMetadataSummary) GetCpuMetricsOk

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

func (*CpuMetricsMetadataSummary) HasCpuMetrics

func (o *CpuMetricsMetadataSummary) HasCpuMetrics() bool

HasCpuMetrics returns a boolean if a field has been set.

func (CpuMetricsMetadataSummary) MarshalJSON

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

func (*CpuMetricsMetadataSummary) SetCpuMetrics

SetCpuMetrics gets a reference to the given CpuMetricsMetadataSummaryCpuMetrics and assigns it to the CpuMetrics field.

func (CpuMetricsMetadataSummary) ToMap

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

func (*CpuMetricsMetadataSummary) UnmarshalJSON

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

type CpuMetricsMetadataSummaryCpuMetrics

type CpuMetricsMetadataSummaryCpuMetrics struct {
	// Average CPU based on the amount of grouped data points, in percentage
	Average *string `json:"average,omitempty"`
	// Expected CPU given the average times the amount of days between the `from` and `to` dates, in percentage
	Expected             *string                        `json:"expected,omitempty"`
	Peak                 *CpuMetricsMetadataSummaryPeak `json:"peak,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetricsMetadataSummaryCpuMetrics struct for CpuMetricsMetadataSummaryCpuMetrics

func NewCpuMetricsMetadataSummaryCpuMetrics

func NewCpuMetricsMetadataSummaryCpuMetrics() *CpuMetricsMetadataSummaryCpuMetrics

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

func NewCpuMetricsMetadataSummaryCpuMetricsWithDefaults

func NewCpuMetricsMetadataSummaryCpuMetricsWithDefaults() *CpuMetricsMetadataSummaryCpuMetrics

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

func (*CpuMetricsMetadataSummaryCpuMetrics) GetAverage

GetAverage returns the Average field value if set, zero value otherwise.

func (*CpuMetricsMetadataSummaryCpuMetrics) GetAverageOk

func (o *CpuMetricsMetadataSummaryCpuMetrics) GetAverageOk() (*string, bool)

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

func (*CpuMetricsMetadataSummaryCpuMetrics) GetExpected

GetExpected returns the Expected field value if set, zero value otherwise.

func (*CpuMetricsMetadataSummaryCpuMetrics) GetExpectedOk

func (o *CpuMetricsMetadataSummaryCpuMetrics) GetExpectedOk() (*string, bool)

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

func (*CpuMetricsMetadataSummaryCpuMetrics) GetPeak

GetPeak returns the Peak field value if set, zero value otherwise.

func (*CpuMetricsMetadataSummaryCpuMetrics) GetPeakOk

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

func (*CpuMetricsMetadataSummaryCpuMetrics) HasAverage

func (o *CpuMetricsMetadataSummaryCpuMetrics) HasAverage() bool

HasAverage returns a boolean if a field has been set.

func (*CpuMetricsMetadataSummaryCpuMetrics) HasExpected

func (o *CpuMetricsMetadataSummaryCpuMetrics) HasExpected() bool

HasExpected returns a boolean if a field has been set.

func (*CpuMetricsMetadataSummaryCpuMetrics) HasPeak

HasPeak returns a boolean if a field has been set.

func (CpuMetricsMetadataSummaryCpuMetrics) MarshalJSON

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

func (*CpuMetricsMetadataSummaryCpuMetrics) SetAverage

SetAverage gets a reference to the given string and assigns it to the Average field.

func (*CpuMetricsMetadataSummaryCpuMetrics) SetExpected

func (o *CpuMetricsMetadataSummaryCpuMetrics) SetExpected(v string)

SetExpected gets a reference to the given string and assigns it to the Expected field.

func (*CpuMetricsMetadataSummaryCpuMetrics) SetPeak

SetPeak gets a reference to the given CpuMetricsMetadataSummaryPeak and assigns it to the Peak field.

func (CpuMetricsMetadataSummaryCpuMetrics) ToMap

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

func (*CpuMetricsMetadataSummaryCpuMetrics) UnmarshalJSON

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

type CpuMetricsMetadataSummaryPeak

type CpuMetricsMetadataSummaryPeak struct {
	// The highest CPU usage given the provided aggregation and granularity
	Value                *string    `json:"value,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetricsMetadataSummaryPeak struct for CpuMetricsMetadataSummaryPeak

func NewCpuMetricsMetadataSummaryPeak

func NewCpuMetricsMetadataSummaryPeak() *CpuMetricsMetadataSummaryPeak

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

func NewCpuMetricsMetadataSummaryPeakWithDefaults

func NewCpuMetricsMetadataSummaryPeakWithDefaults() *CpuMetricsMetadataSummaryPeak

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

func (*CpuMetricsMetadataSummaryPeak) GetTimestamp

func (o *CpuMetricsMetadataSummaryPeak) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*CpuMetricsMetadataSummaryPeak) GetTimestampOk

func (o *CpuMetricsMetadataSummaryPeak) GetTimestampOk() (*time.Time, bool)

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

func (*CpuMetricsMetadataSummaryPeak) GetValue

func (o *CpuMetricsMetadataSummaryPeak) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*CpuMetricsMetadataSummaryPeak) GetValueOk

func (o *CpuMetricsMetadataSummaryPeak) GetValueOk() (*string, bool)

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

func (*CpuMetricsMetadataSummaryPeak) HasTimestamp

func (o *CpuMetricsMetadataSummaryPeak) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*CpuMetricsMetadataSummaryPeak) HasValue

func (o *CpuMetricsMetadataSummaryPeak) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CpuMetricsMetadataSummaryPeak) MarshalJSON

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

func (*CpuMetricsMetadataSummaryPeak) SetTimestamp

func (o *CpuMetricsMetadataSummaryPeak) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*CpuMetricsMetadataSummaryPeak) SetValue

func (o *CpuMetricsMetadataSummaryPeak) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (CpuMetricsMetadataSummaryPeak) ToMap

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

func (*CpuMetricsMetadataSummaryPeak) UnmarshalJSON

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

type CpuMetricsMetrics

type CpuMetricsMetrics struct {
	Values               []CpuMetricsValue `json:"values,omitempty"`
	Unit                 *string           `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetricsMetrics CPU usage metrics, in percentage

func NewCpuMetricsMetrics

func NewCpuMetricsMetrics() *CpuMetricsMetrics

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

func NewCpuMetricsMetricsWithDefaults

func NewCpuMetricsMetricsWithDefaults() *CpuMetricsMetrics

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

func (*CpuMetricsMetrics) GetUnit

func (o *CpuMetricsMetrics) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*CpuMetricsMetrics) GetUnitOk

func (o *CpuMetricsMetrics) GetUnitOk() (*string, bool)

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

func (*CpuMetricsMetrics) GetValues

func (o *CpuMetricsMetrics) GetValues() []CpuMetricsValue

GetValues returns the Values field value if set, zero value otherwise.

func (*CpuMetricsMetrics) GetValuesOk

func (o *CpuMetricsMetrics) GetValuesOk() ([]CpuMetricsValue, bool)

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

func (*CpuMetricsMetrics) HasUnit

func (o *CpuMetricsMetrics) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*CpuMetricsMetrics) HasValues

func (o *CpuMetricsMetrics) HasValues() bool

HasValues returns a boolean if a field has been set.

func (CpuMetricsMetrics) MarshalJSON

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

func (*CpuMetricsMetrics) SetUnit

func (o *CpuMetricsMetrics) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*CpuMetricsMetrics) SetValues

func (o *CpuMetricsMetrics) SetValues(v []CpuMetricsValue)

SetValues gets a reference to the given []CpuMetricsValue and assigns it to the Values field.

func (CpuMetricsMetrics) ToMap

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

func (*CpuMetricsMetrics) UnmarshalJSON

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

type CpuMetricsValue

type CpuMetricsValue struct {
	// CPU usage
	Value                *float32   `json:"value,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuMetricsValue struct for CpuMetricsValue

func NewCpuMetricsValue

func NewCpuMetricsValue() *CpuMetricsValue

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

func NewCpuMetricsValueWithDefaults

func NewCpuMetricsValueWithDefaults() *CpuMetricsValue

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

func (*CpuMetricsValue) GetTimestamp

func (o *CpuMetricsValue) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*CpuMetricsValue) GetTimestampOk

func (o *CpuMetricsValue) GetTimestampOk() (*time.Time, bool)

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

func (*CpuMetricsValue) GetValue

func (o *CpuMetricsValue) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*CpuMetricsValue) GetValueOk

func (o *CpuMetricsValue) GetValueOk() (*float32, bool)

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

func (*CpuMetricsValue) HasTimestamp

func (o *CpuMetricsValue) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*CpuMetricsValue) HasValue

func (o *CpuMetricsValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CpuMetricsValue) MarshalJSON

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

func (*CpuMetricsValue) SetTimestamp

func (o *CpuMetricsValue) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*CpuMetricsValue) SetValue

func (o *CpuMetricsValue) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

func (CpuMetricsValue) ToMap

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

func (*CpuMetricsValue) UnmarshalJSON

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

type CreateAutoScalingGroupOpts

type CreateAutoScalingGroupOpts struct {
	// Required for \"MANUAL\" and \"SCHEDULED\" auto scaling group. Number of instances to be launched
	DesiredAmount *int32 `json:"desiredAmount,omitempty"`
	// Required for \"CPU_BASED\". The minimum number of instances that should be running
	MinimumAmount *int32 `json:"minimumAmount,omitempty"`
	// Required for \"CPU_BASED\" auto scaling group. The maximum number of instances that can be running
	MaximumAmount *int32 `json:"maximumAmount,omitempty"`
	// Required for \"CPU_BASED\" auto scaling group. The target average CPU utilization for scaling
	CpuThreshold *int32 `json:"cpuThreshold,omitempty"`
	// Required for \"CPU_BASED\" auto scaling group. Warm-up time in seconds for new instances
	WarmupTime *int32 `json:"warmupTime,omitempty"`
	// Required for \"CPU_BASED\" auto scaling group. Cool-down time in seconds for new instances
	CooldownTime *int32 `json:"cooldownTime,omitempty"`
	// The instance on which instances will be based on. This instance needs to be either Running or Stopped
	InstanceId string `json:"instanceId"`
	// The identifying name set to the auto scaling group
	Reference string `json:"reference"`
	Type      string `json:"type"`
	// Required for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be launched
	StartsAt *time.Time `json:"startsAt,omitempty"`
	// Required for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be terminated
	EndsAt               *time.Time `json:"endsAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateAutoScalingGroupOpts struct for CreateAutoScalingGroupOpts

func NewCreateAutoScalingGroupOpts

func NewCreateAutoScalingGroupOpts(instanceId string, reference string, type_ string) *CreateAutoScalingGroupOpts

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

func NewCreateAutoScalingGroupOptsWithDefaults

func NewCreateAutoScalingGroupOptsWithDefaults() *CreateAutoScalingGroupOpts

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

func (*CreateAutoScalingGroupOpts) GetCooldownTime

func (o *CreateAutoScalingGroupOpts) GetCooldownTime() int32

GetCooldownTime returns the CooldownTime field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetCooldownTimeOk

func (o *CreateAutoScalingGroupOpts) GetCooldownTimeOk() (*int32, bool)

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

func (*CreateAutoScalingGroupOpts) GetCpuThreshold

func (o *CreateAutoScalingGroupOpts) GetCpuThreshold() int32

GetCpuThreshold returns the CpuThreshold field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetCpuThresholdOk

func (o *CreateAutoScalingGroupOpts) GetCpuThresholdOk() (*int32, bool)

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

func (*CreateAutoScalingGroupOpts) GetDesiredAmount

func (o *CreateAutoScalingGroupOpts) GetDesiredAmount() int32

GetDesiredAmount returns the DesiredAmount field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetDesiredAmountOk

func (o *CreateAutoScalingGroupOpts) GetDesiredAmountOk() (*int32, bool)

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

func (*CreateAutoScalingGroupOpts) GetEndsAt

func (o *CreateAutoScalingGroupOpts) GetEndsAt() time.Time

GetEndsAt returns the EndsAt field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetEndsAtOk

func (o *CreateAutoScalingGroupOpts) GetEndsAtOk() (*time.Time, bool)

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

func (*CreateAutoScalingGroupOpts) GetInstanceId

func (o *CreateAutoScalingGroupOpts) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*CreateAutoScalingGroupOpts) GetInstanceIdOk

func (o *CreateAutoScalingGroupOpts) GetInstanceIdOk() (*string, bool)

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

func (*CreateAutoScalingGroupOpts) GetMaximumAmount

func (o *CreateAutoScalingGroupOpts) GetMaximumAmount() int32

GetMaximumAmount returns the MaximumAmount field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetMaximumAmountOk

func (o *CreateAutoScalingGroupOpts) GetMaximumAmountOk() (*int32, bool)

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

func (*CreateAutoScalingGroupOpts) GetMinimumAmount

func (o *CreateAutoScalingGroupOpts) GetMinimumAmount() int32

GetMinimumAmount returns the MinimumAmount field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetMinimumAmountOk

func (o *CreateAutoScalingGroupOpts) GetMinimumAmountOk() (*int32, bool)

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

func (*CreateAutoScalingGroupOpts) GetReference

func (o *CreateAutoScalingGroupOpts) GetReference() string

GetReference returns the Reference field value

func (*CreateAutoScalingGroupOpts) GetReferenceOk

func (o *CreateAutoScalingGroupOpts) GetReferenceOk() (*string, bool)

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

func (*CreateAutoScalingGroupOpts) GetStartsAt

func (o *CreateAutoScalingGroupOpts) GetStartsAt() time.Time

GetStartsAt returns the StartsAt field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetStartsAtOk

func (o *CreateAutoScalingGroupOpts) GetStartsAtOk() (*time.Time, bool)

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

func (*CreateAutoScalingGroupOpts) GetType

func (o *CreateAutoScalingGroupOpts) GetType() string

GetType returns the Type field value

func (*CreateAutoScalingGroupOpts) GetTypeOk

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

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

func (*CreateAutoScalingGroupOpts) GetWarmupTime

func (o *CreateAutoScalingGroupOpts) GetWarmupTime() int32

GetWarmupTime returns the WarmupTime field value if set, zero value otherwise.

func (*CreateAutoScalingGroupOpts) GetWarmupTimeOk

func (o *CreateAutoScalingGroupOpts) GetWarmupTimeOk() (*int32, bool)

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

func (*CreateAutoScalingGroupOpts) HasCooldownTime

func (o *CreateAutoScalingGroupOpts) HasCooldownTime() bool

HasCooldownTime returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasCpuThreshold

func (o *CreateAutoScalingGroupOpts) HasCpuThreshold() bool

HasCpuThreshold returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasDesiredAmount

func (o *CreateAutoScalingGroupOpts) HasDesiredAmount() bool

HasDesiredAmount returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasEndsAt

func (o *CreateAutoScalingGroupOpts) HasEndsAt() bool

HasEndsAt returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasMaximumAmount

func (o *CreateAutoScalingGroupOpts) HasMaximumAmount() bool

HasMaximumAmount returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasMinimumAmount

func (o *CreateAutoScalingGroupOpts) HasMinimumAmount() bool

HasMinimumAmount returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasStartsAt

func (o *CreateAutoScalingGroupOpts) HasStartsAt() bool

HasStartsAt returns a boolean if a field has been set.

func (*CreateAutoScalingGroupOpts) HasWarmupTime

func (o *CreateAutoScalingGroupOpts) HasWarmupTime() bool

HasWarmupTime returns a boolean if a field has been set.

func (CreateAutoScalingGroupOpts) MarshalJSON

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

func (*CreateAutoScalingGroupOpts) SetCooldownTime

func (o *CreateAutoScalingGroupOpts) SetCooldownTime(v int32)

SetCooldownTime gets a reference to the given int32 and assigns it to the CooldownTime field.

func (*CreateAutoScalingGroupOpts) SetCpuThreshold

func (o *CreateAutoScalingGroupOpts) SetCpuThreshold(v int32)

SetCpuThreshold gets a reference to the given int32 and assigns it to the CpuThreshold field.

func (*CreateAutoScalingGroupOpts) SetDesiredAmount

func (o *CreateAutoScalingGroupOpts) SetDesiredAmount(v int32)

SetDesiredAmount gets a reference to the given int32 and assigns it to the DesiredAmount field.

func (*CreateAutoScalingGroupOpts) SetEndsAt

func (o *CreateAutoScalingGroupOpts) SetEndsAt(v time.Time)

SetEndsAt gets a reference to the given time.Time and assigns it to the EndsAt field.

func (*CreateAutoScalingGroupOpts) SetInstanceId

func (o *CreateAutoScalingGroupOpts) SetInstanceId(v string)

SetInstanceId sets field value

func (*CreateAutoScalingGroupOpts) SetMaximumAmount

func (o *CreateAutoScalingGroupOpts) SetMaximumAmount(v int32)

SetMaximumAmount gets a reference to the given int32 and assigns it to the MaximumAmount field.

func (*CreateAutoScalingGroupOpts) SetMinimumAmount

func (o *CreateAutoScalingGroupOpts) SetMinimumAmount(v int32)

SetMinimumAmount gets a reference to the given int32 and assigns it to the MinimumAmount field.

func (*CreateAutoScalingGroupOpts) SetReference

func (o *CreateAutoScalingGroupOpts) SetReference(v string)

SetReference sets field value

func (*CreateAutoScalingGroupOpts) SetStartsAt

func (o *CreateAutoScalingGroupOpts) SetStartsAt(v time.Time)

SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.

func (*CreateAutoScalingGroupOpts) SetType

func (o *CreateAutoScalingGroupOpts) SetType(v string)

SetType sets field value

func (*CreateAutoScalingGroupOpts) SetWarmupTime

func (o *CreateAutoScalingGroupOpts) SetWarmupTime(v int32)

SetWarmupTime gets a reference to the given int32 and assigns it to the WarmupTime field.

func (CreateAutoScalingGroupOpts) ToMap

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

func (*CreateAutoScalingGroupOpts) UnmarshalJSON

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

type CreateImageOpts

type CreateImageOpts struct {
	// The name of the custom image to be created.
	Name string `json:"name"`
	// The id of the instance from which the custom image will be created.
	InstanceId           string `json:"instanceId"`
	AdditionalProperties map[string]interface{}
}

CreateImageOpts struct for CreateImageOpts

func NewCreateImageOpts

func NewCreateImageOpts(name string, instanceId string) *CreateImageOpts

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

func NewCreateImageOptsWithDefaults

func NewCreateImageOptsWithDefaults() *CreateImageOpts

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

func (*CreateImageOpts) GetInstanceId

func (o *CreateImageOpts) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*CreateImageOpts) GetInstanceIdOk

func (o *CreateImageOpts) GetInstanceIdOk() (*string, bool)

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

func (*CreateImageOpts) GetName

func (o *CreateImageOpts) GetName() string

GetName returns the Name field value

func (*CreateImageOpts) GetNameOk

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

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

func (CreateImageOpts) MarshalJSON

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

func (*CreateImageOpts) SetInstanceId

func (o *CreateImageOpts) SetInstanceId(v string)

SetInstanceId sets field value

func (*CreateImageOpts) SetName

func (o *CreateImageOpts) SetName(v string)

SetName sets field value

func (CreateImageOpts) ToMap

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

func (*CreateImageOpts) UnmarshalJSON

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

type Credential

type Credential struct {
	Type                 *CredentialType `json:"type,omitempty"`
	Username             *string         `json:"username,omitempty"`
	AdditionalProperties map[string]interface{}
}

Credential struct for Credential

func NewCredential

func NewCredential() *Credential

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

func NewCredentialWithDefaults

func NewCredentialWithDefaults() *Credential

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

func (*Credential) GetType

func (o *Credential) GetType() CredentialType

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

func (*Credential) GetTypeOk

func (o *Credential) GetTypeOk() (*CredentialType, bool)

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

func (*Credential) GetUsername

func (o *Credential) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*Credential) GetUsernameOk

func (o *Credential) GetUsernameOk() (*string, bool)

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

func (*Credential) HasType

func (o *Credential) HasType() bool

HasType returns a boolean if a field has been set.

func (*Credential) HasUsername

func (o *Credential) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (Credential) MarshalJSON

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

func (*Credential) SetType

func (o *Credential) SetType(v CredentialType)

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

func (*Credential) SetUsername

func (o *Credential) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (Credential) ToMap

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

func (*Credential) UnmarshalJSON

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

type CredentialType

type CredentialType string

CredentialType the model 'CredentialType'

const (
	CREDENTIALTYPE_OPERATING_SYSTEM CredentialType = "OPERATING_SYSTEM"
	CREDENTIALTYPE_CONTROL_PANEL    CredentialType = "CONTROL_PANEL"
)

List of credentialType

func NewCredentialTypeFromValue

func NewCredentialTypeFromValue(v string) (*CredentialType, error)

NewCredentialTypeFromValue returns a pointer to a valid CredentialType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CredentialType) IsValid

func (v CredentialType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CredentialType) Ptr

func (v CredentialType) Ptr() *CredentialType

Ptr returns reference to credentialType value

func (*CredentialType) UnmarshalJSON

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

type DataTrafficMetrics

type DataTrafficMetrics struct {
	DOWN_PUBLIC          *TrafficMetric `json:"DOWN_PUBLIC,omitempty"`
	UP_PUBLIC            *TrafficMetric `json:"UP_PUBLIC,omitempty"`
	AdditionalProperties map[string]interface{}
}

DataTrafficMetrics struct for DataTrafficMetrics

func NewDataTrafficMetrics

func NewDataTrafficMetrics() *DataTrafficMetrics

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

func NewDataTrafficMetricsWithDefaults

func NewDataTrafficMetricsWithDefaults() *DataTrafficMetrics

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

func (*DataTrafficMetrics) GetDOWN_PUBLIC

func (o *DataTrafficMetrics) GetDOWN_PUBLIC() TrafficMetric

GetDOWN_PUBLIC returns the DOWN_PUBLIC field value if set, zero value otherwise.

func (*DataTrafficMetrics) GetDOWN_PUBLICOk

func (o *DataTrafficMetrics) GetDOWN_PUBLICOk() (*TrafficMetric, bool)

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

func (*DataTrafficMetrics) GetUP_PUBLIC

func (o *DataTrafficMetrics) GetUP_PUBLIC() TrafficMetric

GetUP_PUBLIC returns the UP_PUBLIC field value if set, zero value otherwise.

func (*DataTrafficMetrics) GetUP_PUBLICOk

func (o *DataTrafficMetrics) GetUP_PUBLICOk() (*TrafficMetric, bool)

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

func (*DataTrafficMetrics) HasDOWN_PUBLIC

func (o *DataTrafficMetrics) HasDOWN_PUBLIC() bool

HasDOWN_PUBLIC returns a boolean if a field has been set.

func (*DataTrafficMetrics) HasUP_PUBLIC

func (o *DataTrafficMetrics) HasUP_PUBLIC() bool

HasUP_PUBLIC returns a boolean if a field has been set.

func (DataTrafficMetrics) MarshalJSON

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

func (*DataTrafficMetrics) SetDOWN_PUBLIC

func (o *DataTrafficMetrics) SetDOWN_PUBLIC(v TrafficMetric)

SetDOWN_PUBLIC gets a reference to the given TrafficMetric and assigns it to the DOWN_PUBLIC field.

func (*DataTrafficMetrics) SetUP_PUBLIC

func (o *DataTrafficMetrics) SetUP_PUBLIC(v TrafficMetric)

SetUP_PUBLIC gets a reference to the given TrafficMetric and assigns it to the UP_PUBLIC field.

func (DataTrafficMetrics) ToMap

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

func (*DataTrafficMetrics) UnmarshalJSON

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

type Ddos

type Ddos struct {
	DetectionProfile     string `json:"detectionProfile"`
	ProtectionType       string `json:"protectionType"`
	AdditionalProperties map[string]interface{}
}

Ddos struct for Ddos

func NewDdos

func NewDdos(detectionProfile string, protectionType string) *Ddos

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

func NewDdosWithDefaults

func NewDdosWithDefaults() *Ddos

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

func (*Ddos) GetDetectionProfile

func (o *Ddos) GetDetectionProfile() string

GetDetectionProfile returns the DetectionProfile field value

func (*Ddos) GetDetectionProfileOk

func (o *Ddos) GetDetectionProfileOk() (*string, bool)

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

func (*Ddos) GetProtectionType

func (o *Ddos) GetProtectionType() string

GetProtectionType returns the ProtectionType field value

func (*Ddos) GetProtectionTypeOk

func (o *Ddos) GetProtectionTypeOk() (*string, bool)

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

func (Ddos) MarshalJSON

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

func (*Ddos) SetDetectionProfile

func (o *Ddos) SetDetectionProfile(v string)

SetDetectionProfile sets field value

func (*Ddos) SetProtectionType

func (o *Ddos) SetProtectionType(v string)

SetProtectionType sets field value

func (Ddos) ToMap

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

func (*Ddos) UnmarshalJSON

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

type ErrorResult

type ErrorResult struct {
	// The correlation ID of the current request.
	CorrelationId *string `json:"correlationId,omitempty"`
	// The error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human friendly description of the error.
	ErrorMessage         *string              `json:"errorMessage,omitempty"`
	ErrorDetails         *map[string][]string `json:"errorDetails,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorResult struct for ErrorResult

func NewErrorResult

func NewErrorResult() *ErrorResult

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

func NewErrorResultWithDefaults

func NewErrorResultWithDefaults() *ErrorResult

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

func (*ErrorResult) GetCorrelationId

func (o *ErrorResult) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value if set, zero value otherwise.

func (*ErrorResult) GetCorrelationIdOk

func (o *ErrorResult) GetCorrelationIdOk() (*string, bool)

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

func (*ErrorResult) GetErrorCode

func (o *ErrorResult) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorResult) GetErrorCodeOk

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

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

func (*ErrorResult) GetErrorDetails

func (o *ErrorResult) GetErrorDetails() map[string][]string

GetErrorDetails returns the ErrorDetails field value if set, zero value otherwise.

func (*ErrorResult) GetErrorDetailsOk

func (o *ErrorResult) GetErrorDetailsOk() (*map[string][]string, bool)

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

func (*ErrorResult) GetErrorMessage

func (o *ErrorResult) GetErrorMessage() string

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

func (*ErrorResult) GetErrorMessageOk

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

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

func (*ErrorResult) HasCorrelationId

func (o *ErrorResult) HasCorrelationId() bool

HasCorrelationId returns a boolean if a field has been set.

func (*ErrorResult) HasErrorCode

func (o *ErrorResult) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorResult) HasErrorDetails

func (o *ErrorResult) HasErrorDetails() bool

HasErrorDetails returns a boolean if a field has been set.

func (*ErrorResult) HasErrorMessage

func (o *ErrorResult) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (ErrorResult) MarshalJSON

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

func (*ErrorResult) SetCorrelationId

func (o *ErrorResult) SetCorrelationId(v string)

SetCorrelationId gets a reference to the given string and assigns it to the CorrelationId field.

func (*ErrorResult) SetErrorCode

func (o *ErrorResult) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorResult) SetErrorDetails

func (o *ErrorResult) SetErrorDetails(v map[string][]string)

SetErrorDetails gets a reference to the given map[string][]string and assigns it to the ErrorDetails field.

func (*ErrorResult) SetErrorMessage

func (o *ErrorResult) SetErrorMessage(v string)

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

func (ErrorResult) ToMap

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

func (*ErrorResult) UnmarshalJSON

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

type ExpenseResultInstance

type ExpenseResultInstance struct {
	// The unique identifier for the instance.
	Id *string `json:"id,omitempty"`
	// The reference of the instance.
	Reference *string    `json:"reference,omitempty"`
	Resources *Resources `json:"resources,omitempty"`
	Contract  *Contract  `json:"contract,omitempty"`
	// Date when the instance was started
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// Date when the instance ended
	EndedAt *time.Time `json:"endedAt,omitempty"`
	// The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances
	RootDiskSize        *int32       `json:"rootDiskSize,omitempty"`
	RootDiskStorageType *StorageType `json:"rootDiskStorageType,omitempty"`
	// The billing type of the instance. PREPAID is used for monthly commited instances, POSTPAID for hourly instances.
	BillingType *string `json:"billingType,omitempty"`
	// The number of hours the instance has been running.
	Hours *int32 `json:"hours,omitempty"`
	// The start date of the billing period.
	From *time.Time `json:"from,omitempty"`
	// The end date of the billing period.
	To *time.Time `json:"to,omitempty"`
	// The price of the instance for the billing period.
	Price                *string `json:"price,omitempty"`
	AdditionalProperties map[string]interface{}
}

ExpenseResultInstance struct for ExpenseResultInstance

func NewExpenseResultInstance

func NewExpenseResultInstance() *ExpenseResultInstance

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

func NewExpenseResultInstanceWithDefaults

func NewExpenseResultInstanceWithDefaults() *ExpenseResultInstance

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

func (*ExpenseResultInstance) GetBillingType

func (o *ExpenseResultInstance) GetBillingType() string

GetBillingType returns the BillingType field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetBillingTypeOk

func (o *ExpenseResultInstance) GetBillingTypeOk() (*string, bool)

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

func (*ExpenseResultInstance) GetContract

func (o *ExpenseResultInstance) GetContract() Contract

GetContract returns the Contract field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetContractOk

func (o *ExpenseResultInstance) GetContractOk() (*Contract, bool)

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

func (*ExpenseResultInstance) GetEndedAt

func (o *ExpenseResultInstance) GetEndedAt() time.Time

GetEndedAt returns the EndedAt field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetEndedAtOk

func (o *ExpenseResultInstance) GetEndedAtOk() (*time.Time, bool)

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

func (*ExpenseResultInstance) GetFrom

func (o *ExpenseResultInstance) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetFromOk

func (o *ExpenseResultInstance) GetFromOk() (*time.Time, bool)

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

func (*ExpenseResultInstance) GetHours

func (o *ExpenseResultInstance) GetHours() int32

GetHours returns the Hours field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetHoursOk

func (o *ExpenseResultInstance) GetHoursOk() (*int32, bool)

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

func (*ExpenseResultInstance) GetId

func (o *ExpenseResultInstance) GetId() string

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

func (*ExpenseResultInstance) GetIdOk

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

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

func (*ExpenseResultInstance) GetPrice

func (o *ExpenseResultInstance) GetPrice() string

GetPrice returns the Price field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetPriceOk

func (o *ExpenseResultInstance) GetPriceOk() (*string, bool)

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

func (*ExpenseResultInstance) GetReference

func (o *ExpenseResultInstance) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetReferenceOk

func (o *ExpenseResultInstance) GetReferenceOk() (*string, bool)

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

func (*ExpenseResultInstance) GetResources

func (o *ExpenseResultInstance) GetResources() Resources

GetResources returns the Resources field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetResourcesOk

func (o *ExpenseResultInstance) GetResourcesOk() (*Resources, bool)

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

func (*ExpenseResultInstance) GetRootDiskSize

func (o *ExpenseResultInstance) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetRootDiskSizeOk

func (o *ExpenseResultInstance) GetRootDiskSizeOk() (*int32, bool)

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

func (*ExpenseResultInstance) GetRootDiskStorageType

func (o *ExpenseResultInstance) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetRootDiskStorageTypeOk

func (o *ExpenseResultInstance) GetRootDiskStorageTypeOk() (*StorageType, bool)

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

func (*ExpenseResultInstance) GetStartedAt

func (o *ExpenseResultInstance) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetStartedAtOk

func (o *ExpenseResultInstance) GetStartedAtOk() (*time.Time, bool)

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

func (*ExpenseResultInstance) GetTo

func (o *ExpenseResultInstance) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*ExpenseResultInstance) GetToOk

func (o *ExpenseResultInstance) GetToOk() (*time.Time, bool)

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

func (*ExpenseResultInstance) HasBillingType

func (o *ExpenseResultInstance) HasBillingType() bool

HasBillingType returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasContract

func (o *ExpenseResultInstance) HasContract() bool

HasContract returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasEndedAt

func (o *ExpenseResultInstance) HasEndedAt() bool

HasEndedAt returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasFrom

func (o *ExpenseResultInstance) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasHours

func (o *ExpenseResultInstance) HasHours() bool

HasHours returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasId

func (o *ExpenseResultInstance) HasId() bool

HasId returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasPrice

func (o *ExpenseResultInstance) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasReference

func (o *ExpenseResultInstance) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasResources

func (o *ExpenseResultInstance) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasRootDiskSize

func (o *ExpenseResultInstance) HasRootDiskSize() bool

HasRootDiskSize returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasRootDiskStorageType

func (o *ExpenseResultInstance) HasRootDiskStorageType() bool

HasRootDiskStorageType returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasStartedAt

func (o *ExpenseResultInstance) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*ExpenseResultInstance) HasTo

func (o *ExpenseResultInstance) HasTo() bool

HasTo returns a boolean if a field has been set.

func (ExpenseResultInstance) MarshalJSON

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

func (*ExpenseResultInstance) SetBillingType

func (o *ExpenseResultInstance) SetBillingType(v string)

SetBillingType gets a reference to the given string and assigns it to the BillingType field.

func (*ExpenseResultInstance) SetContract

func (o *ExpenseResultInstance) SetContract(v Contract)

SetContract gets a reference to the given Contract and assigns it to the Contract field.

func (*ExpenseResultInstance) SetEndedAt

func (o *ExpenseResultInstance) SetEndedAt(v time.Time)

SetEndedAt gets a reference to the given time.Time and assigns it to the EndedAt field.

func (*ExpenseResultInstance) SetFrom

func (o *ExpenseResultInstance) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*ExpenseResultInstance) SetHours

func (o *ExpenseResultInstance) SetHours(v int32)

SetHours gets a reference to the given int32 and assigns it to the Hours field.

func (*ExpenseResultInstance) SetId

func (o *ExpenseResultInstance) SetId(v string)

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

func (*ExpenseResultInstance) SetPrice

func (o *ExpenseResultInstance) SetPrice(v string)

SetPrice gets a reference to the given string and assigns it to the Price field.

func (*ExpenseResultInstance) SetReference

func (o *ExpenseResultInstance) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*ExpenseResultInstance) SetResources

func (o *ExpenseResultInstance) SetResources(v Resources)

SetResources gets a reference to the given Resources and assigns it to the Resources field.

func (*ExpenseResultInstance) SetRootDiskSize

func (o *ExpenseResultInstance) SetRootDiskSize(v int32)

SetRootDiskSize gets a reference to the given int32 and assigns it to the RootDiskSize field.

func (*ExpenseResultInstance) SetRootDiskStorageType

func (o *ExpenseResultInstance) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType gets a reference to the given StorageType and assigns it to the RootDiskStorageType field.

func (*ExpenseResultInstance) SetStartedAt

func (o *ExpenseResultInstance) SetStartedAt(v time.Time)

SetStartedAt gets a reference to the given time.Time and assigns it to the StartedAt field.

func (*ExpenseResultInstance) SetTo

func (o *ExpenseResultInstance) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (ExpenseResultInstance) ToMap

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

func (*ExpenseResultInstance) UnmarshalJSON

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

type Flavour

type Flavour string

Flavour Standard images flavours

const (
	FLAVOUR_UBUNTU     Flavour = "ubuntu"
	FLAVOUR_DEBIAN     Flavour = "debian"
	FLAVOUR_FREEBSD    Flavour = "freebsd"
	FLAVOUR_CENTOS     Flavour = "centos"
	FLAVOUR_ALMALINUX  Flavour = "almalinux"
	FLAVOUR_ROCKYLINUX Flavour = "rockylinux"
	FLAVOUR_ARCHLINUX  Flavour = "archlinux"
	FLAVOUR_WINDOWS    Flavour = "windows"
)

List of flavour

func NewFlavourFromValue

func NewFlavourFromValue(v string) (*Flavour, error)

NewFlavourFromValue returns a pointer to a valid Flavour for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Flavour) IsValid

func (v Flavour) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Flavour) Ptr

func (v Flavour) Ptr() *Flavour

Ptr returns reference to flavour value

func (*Flavour) UnmarshalJSON

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

type GenericOpenAPIError

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

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

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

type GetAutoScalingGroupInstanceListResult

type GetAutoScalingGroupInstanceListResult struct {
	Instances            []AutoScaledInstance `json:"instances,omitempty"`
	Metadata             *Metadata            `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetAutoScalingGroupInstanceListResult struct for GetAutoScalingGroupInstanceListResult

func NewGetAutoScalingGroupInstanceListResult

func NewGetAutoScalingGroupInstanceListResult() *GetAutoScalingGroupInstanceListResult

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

func NewGetAutoScalingGroupInstanceListResultWithDefaults

func NewGetAutoScalingGroupInstanceListResultWithDefaults() *GetAutoScalingGroupInstanceListResult

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

func (*GetAutoScalingGroupInstanceListResult) GetInstances

GetInstances returns the Instances field value if set, zero value otherwise.

func (*GetAutoScalingGroupInstanceListResult) GetInstancesOk

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

func (*GetAutoScalingGroupInstanceListResult) GetMetadata

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

func (*GetAutoScalingGroupInstanceListResult) GetMetadataOk

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

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

func (*GetAutoScalingGroupInstanceListResult) HasInstances

func (o *GetAutoScalingGroupInstanceListResult) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*GetAutoScalingGroupInstanceListResult) HasMetadata

HasMetadata returns a boolean if a field has been set.

func (GetAutoScalingGroupInstanceListResult) MarshalJSON

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

func (*GetAutoScalingGroupInstanceListResult) SetInstances

SetInstances gets a reference to the given []AutoScaledInstance and assigns it to the Instances field.

func (*GetAutoScalingGroupInstanceListResult) SetMetadata

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetAutoScalingGroupInstanceListResult) ToMap

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

func (*GetAutoScalingGroupInstanceListResult) UnmarshalJSON

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

type GetAutoScalingGroupListResult

type GetAutoScalingGroupListResult struct {
	AutoScalingGroups    []AutoScalingGroup `json:"autoScalingGroups,omitempty"`
	Metadata             *Metadata          `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetAutoScalingGroupListResult struct for GetAutoScalingGroupListResult

func NewGetAutoScalingGroupListResult

func NewGetAutoScalingGroupListResult() *GetAutoScalingGroupListResult

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

func NewGetAutoScalingGroupListResultWithDefaults

func NewGetAutoScalingGroupListResultWithDefaults() *GetAutoScalingGroupListResult

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

func (*GetAutoScalingGroupListResult) GetAutoScalingGroups

func (o *GetAutoScalingGroupListResult) GetAutoScalingGroups() []AutoScalingGroup

GetAutoScalingGroups returns the AutoScalingGroups field value if set, zero value otherwise.

func (*GetAutoScalingGroupListResult) GetAutoScalingGroupsOk

func (o *GetAutoScalingGroupListResult) GetAutoScalingGroupsOk() ([]AutoScalingGroup, bool)

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

func (*GetAutoScalingGroupListResult) GetMetadata

func (o *GetAutoScalingGroupListResult) GetMetadata() Metadata

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

func (*GetAutoScalingGroupListResult) GetMetadataOk

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

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

func (*GetAutoScalingGroupListResult) HasAutoScalingGroups

func (o *GetAutoScalingGroupListResult) HasAutoScalingGroups() bool

HasAutoScalingGroups returns a boolean if a field has been set.

func (*GetAutoScalingGroupListResult) HasMetadata

func (o *GetAutoScalingGroupListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetAutoScalingGroupListResult) MarshalJSON

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

func (*GetAutoScalingGroupListResult) SetAutoScalingGroups

func (o *GetAutoScalingGroupListResult) SetAutoScalingGroups(v []AutoScalingGroup)

SetAutoScalingGroups gets a reference to the given []AutoScalingGroup and assigns it to the AutoScalingGroups field.

func (*GetAutoScalingGroupListResult) SetMetadata

func (o *GetAutoScalingGroupListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetAutoScalingGroupListResult) ToMap

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

func (*GetAutoScalingGroupListResult) UnmarshalJSON

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

type GetConsoleAccessToInstanceResult

type GetConsoleAccessToInstanceResult struct {
	// The URL to the console
	Url                  *string `json:"url,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetConsoleAccessToInstanceResult struct for GetConsoleAccessToInstanceResult

func NewGetConsoleAccessToInstanceResult

func NewGetConsoleAccessToInstanceResult() *GetConsoleAccessToInstanceResult

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

func NewGetConsoleAccessToInstanceResultWithDefaults

func NewGetConsoleAccessToInstanceResultWithDefaults() *GetConsoleAccessToInstanceResult

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

func (*GetConsoleAccessToInstanceResult) GetUrl

GetUrl returns the Url field value if set, zero value otherwise.

func (*GetConsoleAccessToInstanceResult) GetUrlOk

func (o *GetConsoleAccessToInstanceResult) GetUrlOk() (*string, bool)

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

func (*GetConsoleAccessToInstanceResult) HasUrl

HasUrl returns a boolean if a field has been set.

func (GetConsoleAccessToInstanceResult) MarshalJSON

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

func (*GetConsoleAccessToInstanceResult) SetUrl

SetUrl gets a reference to the given string and assigns it to the Url field.

func (GetConsoleAccessToInstanceResult) ToMap

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

func (*GetConsoleAccessToInstanceResult) UnmarshalJSON

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

type GetCpuMetricsResult

type GetCpuMetricsResult struct {
	Metrics              *CpuMetrics         `json:"metrics,omitempty"`
	Metadata             *CpuMetricsMetadata `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetCpuMetricsResult struct for GetCpuMetricsResult

func NewGetCpuMetricsResult

func NewGetCpuMetricsResult() *GetCpuMetricsResult

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

func NewGetCpuMetricsResultWithDefaults

func NewGetCpuMetricsResultWithDefaults() *GetCpuMetricsResult

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

func (*GetCpuMetricsResult) GetMetadata

func (o *GetCpuMetricsResult) GetMetadata() CpuMetricsMetadata

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

func (*GetCpuMetricsResult) GetMetadataOk

func (o *GetCpuMetricsResult) GetMetadataOk() (*CpuMetricsMetadata, bool)

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

func (*GetCpuMetricsResult) GetMetrics

func (o *GetCpuMetricsResult) GetMetrics() CpuMetrics

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*GetCpuMetricsResult) GetMetricsOk

func (o *GetCpuMetricsResult) GetMetricsOk() (*CpuMetrics, bool)

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

func (*GetCpuMetricsResult) HasMetadata

func (o *GetCpuMetricsResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetCpuMetricsResult) HasMetrics

func (o *GetCpuMetricsResult) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (GetCpuMetricsResult) MarshalJSON

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

func (*GetCpuMetricsResult) SetMetadata

func (o *GetCpuMetricsResult) SetMetadata(v CpuMetricsMetadata)

SetMetadata gets a reference to the given CpuMetricsMetadata and assigns it to the Metadata field.

func (*GetCpuMetricsResult) SetMetrics

func (o *GetCpuMetricsResult) SetMetrics(v CpuMetrics)

SetMetrics gets a reference to the given CpuMetrics and assigns it to the Metrics field.

func (GetCpuMetricsResult) ToMap

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

func (*GetCpuMetricsResult) UnmarshalJSON

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

type GetCredentialListByTypeResult

type GetCredentialListByTypeResult struct {
	Credentials          []Credential `json:"credentials,omitempty"`
	Metadata             *Metadata    `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetCredentialListByTypeResult struct for GetCredentialListByTypeResult

func NewGetCredentialListByTypeResult

func NewGetCredentialListByTypeResult() *GetCredentialListByTypeResult

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

func NewGetCredentialListByTypeResultWithDefaults

func NewGetCredentialListByTypeResultWithDefaults() *GetCredentialListByTypeResult

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

func (*GetCredentialListByTypeResult) GetCredentials

func (o *GetCredentialListByTypeResult) GetCredentials() []Credential

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*GetCredentialListByTypeResult) GetCredentialsOk

func (o *GetCredentialListByTypeResult) GetCredentialsOk() ([]Credential, bool)

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

func (*GetCredentialListByTypeResult) GetMetadata

func (o *GetCredentialListByTypeResult) GetMetadata() Metadata

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

func (*GetCredentialListByTypeResult) GetMetadataOk

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

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

func (*GetCredentialListByTypeResult) HasCredentials

func (o *GetCredentialListByTypeResult) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*GetCredentialListByTypeResult) HasMetadata

func (o *GetCredentialListByTypeResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetCredentialListByTypeResult) MarshalJSON

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

func (*GetCredentialListByTypeResult) SetCredentials

func (o *GetCredentialListByTypeResult) SetCredentials(v []Credential)

SetCredentials gets a reference to the given []Credential and assigns it to the Credentials field.

func (*GetCredentialListByTypeResult) SetMetadata

func (o *GetCredentialListByTypeResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetCredentialListByTypeResult) ToMap

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

func (*GetCredentialListByTypeResult) UnmarshalJSON

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

type GetCredentialListResult

type GetCredentialListResult struct {
	Credentials          []Credential `json:"credentials,omitempty"`
	Metadata             *Metadata    `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetCredentialListResult struct for GetCredentialListResult

func NewGetCredentialListResult

func NewGetCredentialListResult() *GetCredentialListResult

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

func NewGetCredentialListResultWithDefaults

func NewGetCredentialListResultWithDefaults() *GetCredentialListResult

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

func (*GetCredentialListResult) GetCredentials

func (o *GetCredentialListResult) GetCredentials() []Credential

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*GetCredentialListResult) GetCredentialsOk

func (o *GetCredentialListResult) GetCredentialsOk() ([]Credential, bool)

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

func (*GetCredentialListResult) GetMetadata

func (o *GetCredentialListResult) GetMetadata() Metadata

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

func (*GetCredentialListResult) GetMetadataOk

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

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

func (*GetCredentialListResult) HasCredentials

func (o *GetCredentialListResult) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*GetCredentialListResult) HasMetadata

func (o *GetCredentialListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetCredentialListResult) MarshalJSON

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

func (*GetCredentialListResult) SetCredentials

func (o *GetCredentialListResult) SetCredentials(v []Credential)

SetCredentials gets a reference to the given []Credential and assigns it to the Credentials field.

func (*GetCredentialListResult) SetMetadata

func (o *GetCredentialListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetCredentialListResult) ToMap

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

func (*GetCredentialListResult) UnmarshalJSON

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

type GetCredentialResult

type GetCredentialResult struct {
	Type                 *CredentialType `json:"type,omitempty"`
	Username             *string         `json:"username,omitempty"`
	Password             *string         `json:"password,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetCredentialResult struct for GetCredentialResult

func NewGetCredentialResult

func NewGetCredentialResult() *GetCredentialResult

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

func NewGetCredentialResultWithDefaults

func NewGetCredentialResultWithDefaults() *GetCredentialResult

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

func (*GetCredentialResult) GetPassword

func (o *GetCredentialResult) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*GetCredentialResult) GetPasswordOk

func (o *GetCredentialResult) GetPasswordOk() (*string, bool)

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

func (*GetCredentialResult) GetType

func (o *GetCredentialResult) GetType() CredentialType

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

func (*GetCredentialResult) GetTypeOk

func (o *GetCredentialResult) GetTypeOk() (*CredentialType, bool)

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

func (*GetCredentialResult) GetUsername

func (o *GetCredentialResult) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*GetCredentialResult) GetUsernameOk

func (o *GetCredentialResult) GetUsernameOk() (*string, bool)

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

func (*GetCredentialResult) HasPassword

func (o *GetCredentialResult) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*GetCredentialResult) HasType

func (o *GetCredentialResult) HasType() bool

HasType returns a boolean if a field has been set.

func (*GetCredentialResult) HasUsername

func (o *GetCredentialResult) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (GetCredentialResult) MarshalJSON

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

func (*GetCredentialResult) SetPassword

func (o *GetCredentialResult) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*GetCredentialResult) SetType

func (o *GetCredentialResult) SetType(v CredentialType)

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

func (*GetCredentialResult) SetUsername

func (o *GetCredentialResult) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (GetCredentialResult) ToMap

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

func (*GetCredentialResult) UnmarshalJSON

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

type GetDataTrafficMetricsResult

type GetDataTrafficMetricsResult struct {
	Metrics              *DataTrafficMetrics     `json:"metrics,omitempty"`
	Metadata             *TrafficMetricsMetaData `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetDataTrafficMetricsResult struct for GetDataTrafficMetricsResult

func NewGetDataTrafficMetricsResult

func NewGetDataTrafficMetricsResult() *GetDataTrafficMetricsResult

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

func NewGetDataTrafficMetricsResultWithDefaults

func NewGetDataTrafficMetricsResultWithDefaults() *GetDataTrafficMetricsResult

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

func (*GetDataTrafficMetricsResult) GetMetadata

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

func (*GetDataTrafficMetricsResult) GetMetadataOk

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

func (*GetDataTrafficMetricsResult) GetMetrics

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*GetDataTrafficMetricsResult) GetMetricsOk

func (o *GetDataTrafficMetricsResult) GetMetricsOk() (*DataTrafficMetrics, bool)

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

func (*GetDataTrafficMetricsResult) HasMetadata

func (o *GetDataTrafficMetricsResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetDataTrafficMetricsResult) HasMetrics

func (o *GetDataTrafficMetricsResult) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (GetDataTrafficMetricsResult) MarshalJSON

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

func (*GetDataTrafficMetricsResult) SetMetadata

SetMetadata gets a reference to the given TrafficMetricsMetaData and assigns it to the Metadata field.

func (*GetDataTrafficMetricsResult) SetMetrics

SetMetrics gets a reference to the given DataTrafficMetrics and assigns it to the Metrics field.

func (GetDataTrafficMetricsResult) ToMap

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

func (*GetDataTrafficMetricsResult) UnmarshalJSON

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

type GetExpensesResult

type GetExpensesResult struct {
	Billing              *Billing `json:"billing,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetExpensesResult struct for GetExpensesResult

func NewGetExpensesResult

func NewGetExpensesResult() *GetExpensesResult

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

func NewGetExpensesResultWithDefaults

func NewGetExpensesResultWithDefaults() *GetExpensesResult

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

func (*GetExpensesResult) GetBilling

func (o *GetExpensesResult) GetBilling() Billing

GetBilling returns the Billing field value if set, zero value otherwise.

func (*GetExpensesResult) GetBillingOk

func (o *GetExpensesResult) GetBillingOk() (*Billing, bool)

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

func (*GetExpensesResult) HasBilling

func (o *GetExpensesResult) HasBilling() bool

HasBilling returns a boolean if a field has been set.

func (GetExpensesResult) MarshalJSON

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

func (*GetExpensesResult) SetBilling

func (o *GetExpensesResult) SetBilling(v Billing)

SetBilling gets a reference to the given Billing and assigns it to the Billing field.

func (GetExpensesResult) ToMap

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

func (*GetExpensesResult) UnmarshalJSON

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

type GetImageListResult

type GetImageListResult struct {
	Images               []ImageDetails `json:"images,omitempty"`
	Metadata             *Metadata      `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetImageListResult struct for GetImageListResult

func NewGetImageListResult

func NewGetImageListResult() *GetImageListResult

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

func NewGetImageListResultWithDefaults

func NewGetImageListResultWithDefaults() *GetImageListResult

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

func (*GetImageListResult) GetImages

func (o *GetImageListResult) GetImages() []ImageDetails

GetImages returns the Images field value if set, zero value otherwise.

func (*GetImageListResult) GetImagesOk

func (o *GetImageListResult) GetImagesOk() ([]ImageDetails, bool)

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

func (*GetImageListResult) GetMetadata

func (o *GetImageListResult) GetMetadata() Metadata

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

func (*GetImageListResult) GetMetadataOk

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

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

func (*GetImageListResult) HasImages

func (o *GetImageListResult) HasImages() bool

HasImages returns a boolean if a field has been set.

func (*GetImageListResult) HasMetadata

func (o *GetImageListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetImageListResult) MarshalJSON

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

func (*GetImageListResult) SetImages

func (o *GetImageListResult) SetImages(v []ImageDetails)

SetImages gets a reference to the given []ImageDetails and assigns it to the Images field.

func (*GetImageListResult) SetMetadata

func (o *GetImageListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetImageListResult) ToMap

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

func (*GetImageListResult) UnmarshalJSON

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

type GetInstanceListResult

type GetInstanceListResult struct {
	Instances            []Instance `json:"instances,omitempty"`
	Metadata             *Metadata  `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetInstanceListResult struct for GetInstanceListResult

func NewGetInstanceListResult

func NewGetInstanceListResult() *GetInstanceListResult

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

func NewGetInstanceListResultWithDefaults

func NewGetInstanceListResultWithDefaults() *GetInstanceListResult

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

func (*GetInstanceListResult) GetInstances

func (o *GetInstanceListResult) GetInstances() []Instance

GetInstances returns the Instances field value if set, zero value otherwise.

func (*GetInstanceListResult) GetInstancesOk

func (o *GetInstanceListResult) GetInstancesOk() ([]Instance, bool)

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

func (*GetInstanceListResult) GetMetadata

func (o *GetInstanceListResult) GetMetadata() Metadata

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

func (*GetInstanceListResult) GetMetadataOk

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

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

func (*GetInstanceListResult) HasInstances

func (o *GetInstanceListResult) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*GetInstanceListResult) HasMetadata

func (o *GetInstanceListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetInstanceListResult) MarshalJSON

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

func (*GetInstanceListResult) SetInstances

func (o *GetInstanceListResult) SetInstances(v []Instance)

SetInstances gets a reference to the given []Instance and assigns it to the Instances field.

func (*GetInstanceListResult) SetMetadata

func (o *GetInstanceListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetInstanceListResult) ToMap

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

func (*GetInstanceListResult) UnmarshalJSON

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

type GetIpListResult

type GetIpListResult struct {
	Ips                  []IpDetails `json:"ips,omitempty"`
	Metadata             *Metadata   `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetIpListResult struct for GetIpListResult

func NewGetIpListResult

func NewGetIpListResult() *GetIpListResult

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

func NewGetIpListResultWithDefaults

func NewGetIpListResultWithDefaults() *GetIpListResult

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

func (*GetIpListResult) GetIps

func (o *GetIpListResult) GetIps() []IpDetails

GetIps returns the Ips field value if set, zero value otherwise.

func (*GetIpListResult) GetIpsOk

func (o *GetIpListResult) GetIpsOk() ([]IpDetails, bool)

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

func (*GetIpListResult) GetMetadata

func (o *GetIpListResult) GetMetadata() Metadata

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

func (*GetIpListResult) GetMetadataOk

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

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

func (*GetIpListResult) HasIps

func (o *GetIpListResult) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*GetIpListResult) HasMetadata

func (o *GetIpListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetIpListResult) MarshalJSON

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

func (*GetIpListResult) SetIps

func (o *GetIpListResult) SetIps(v []IpDetails)

SetIps gets a reference to the given []IpDetails and assigns it to the Ips field.

func (*GetIpListResult) SetMetadata

func (o *GetIpListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetIpListResult) ToMap

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

func (*GetIpListResult) UnmarshalJSON

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

type GetIsoListResult

type GetIsoListResult struct {
	Isos                 []Iso     `json:"isos,omitempty"`
	Metadata             *Metadata `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetIsoListResult struct for GetIsoListResult

func NewGetIsoListResult

func NewGetIsoListResult() *GetIsoListResult

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

func NewGetIsoListResultWithDefaults

func NewGetIsoListResultWithDefaults() *GetIsoListResult

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

func (*GetIsoListResult) GetIsos

func (o *GetIsoListResult) GetIsos() []Iso

GetIsos returns the Isos field value if set, zero value otherwise.

func (*GetIsoListResult) GetIsosOk

func (o *GetIsoListResult) GetIsosOk() ([]Iso, bool)

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

func (*GetIsoListResult) GetMetadata

func (o *GetIsoListResult) GetMetadata() Metadata

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

func (*GetIsoListResult) GetMetadataOk

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

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

func (*GetIsoListResult) HasIsos

func (o *GetIsoListResult) HasIsos() bool

HasIsos returns a boolean if a field has been set.

func (*GetIsoListResult) HasMetadata

func (o *GetIsoListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetIsoListResult) MarshalJSON

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

func (*GetIsoListResult) SetIsos

func (o *GetIsoListResult) SetIsos(v []Iso)

SetIsos gets a reference to the given []Iso and assigns it to the Isos field.

func (*GetIsoListResult) SetMetadata

func (o *GetIsoListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetIsoListResult) ToMap

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

func (*GetIsoListResult) UnmarshalJSON

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

type GetLoadBalancerListResult

type GetLoadBalancerListResult struct {
	LoadBalancers        []LoadBalancerDetails `json:"loadBalancers,omitempty"`
	Metadata             *Metadata             `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetLoadBalancerListResult struct for GetLoadBalancerListResult

func NewGetLoadBalancerListResult

func NewGetLoadBalancerListResult() *GetLoadBalancerListResult

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

func NewGetLoadBalancerListResultWithDefaults

func NewGetLoadBalancerListResultWithDefaults() *GetLoadBalancerListResult

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

func (*GetLoadBalancerListResult) GetLoadBalancers

func (o *GetLoadBalancerListResult) GetLoadBalancers() []LoadBalancerDetails

GetLoadBalancers returns the LoadBalancers field value if set, zero value otherwise.

func (*GetLoadBalancerListResult) GetLoadBalancersOk

func (o *GetLoadBalancerListResult) GetLoadBalancersOk() ([]LoadBalancerDetails, bool)

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

func (*GetLoadBalancerListResult) GetMetadata

func (o *GetLoadBalancerListResult) GetMetadata() Metadata

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

func (*GetLoadBalancerListResult) GetMetadataOk

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

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

func (*GetLoadBalancerListResult) HasLoadBalancers

func (o *GetLoadBalancerListResult) HasLoadBalancers() bool

HasLoadBalancers returns a boolean if a field has been set.

func (*GetLoadBalancerListResult) HasMetadata

func (o *GetLoadBalancerListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetLoadBalancerListResult) MarshalJSON

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

func (*GetLoadBalancerListResult) SetLoadBalancers

func (o *GetLoadBalancerListResult) SetLoadBalancers(v []LoadBalancerDetails)

SetLoadBalancers gets a reference to the given []LoadBalancerDetails and assigns it to the LoadBalancers field.

func (*GetLoadBalancerListResult) SetMetadata

func (o *GetLoadBalancerListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetLoadBalancerListResult) ToMap

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

func (*GetLoadBalancerListResult) UnmarshalJSON

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

type GetLoadBalancerTargetListResult

type GetLoadBalancerTargetListResult struct {
	Targets              []Target  `json:"targets,omitempty"`
	Metadata             *Metadata `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetLoadBalancerTargetListResult struct for GetLoadBalancerTargetListResult

func NewGetLoadBalancerTargetListResult

func NewGetLoadBalancerTargetListResult() *GetLoadBalancerTargetListResult

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

func NewGetLoadBalancerTargetListResultWithDefaults

func NewGetLoadBalancerTargetListResultWithDefaults() *GetLoadBalancerTargetListResult

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

func (*GetLoadBalancerTargetListResult) GetMetadata

func (o *GetLoadBalancerTargetListResult) GetMetadata() Metadata

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

func (*GetLoadBalancerTargetListResult) GetMetadataOk

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

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

func (*GetLoadBalancerTargetListResult) GetTargets

func (o *GetLoadBalancerTargetListResult) GetTargets() []Target

GetTargets returns the Targets field value if set, zero value otherwise.

func (*GetLoadBalancerTargetListResult) GetTargetsOk

func (o *GetLoadBalancerTargetListResult) GetTargetsOk() ([]Target, bool)

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

func (*GetLoadBalancerTargetListResult) HasMetadata

func (o *GetLoadBalancerTargetListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetLoadBalancerTargetListResult) HasTargets

func (o *GetLoadBalancerTargetListResult) HasTargets() bool

HasTargets returns a boolean if a field has been set.

func (GetLoadBalancerTargetListResult) MarshalJSON

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

func (*GetLoadBalancerTargetListResult) SetMetadata

func (o *GetLoadBalancerTargetListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetLoadBalancerTargetListResult) SetTargets

func (o *GetLoadBalancerTargetListResult) SetTargets(v []Target)

SetTargets gets a reference to the given []Target and assigns it to the Targets field.

func (GetLoadBalancerTargetListResult) ToMap

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

func (*GetLoadBalancerTargetListResult) UnmarshalJSON

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

type GetMarketAppListResult

type GetMarketAppListResult struct {
	MarketApps           []MarketApp `json:"marketApps,omitempty"`
	Metadata             *Metadata   `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetMarketAppListResult struct for GetMarketAppListResult

func NewGetMarketAppListResult

func NewGetMarketAppListResult() *GetMarketAppListResult

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

func NewGetMarketAppListResultWithDefaults

func NewGetMarketAppListResultWithDefaults() *GetMarketAppListResult

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

func (*GetMarketAppListResult) GetMarketApps

func (o *GetMarketAppListResult) GetMarketApps() []MarketApp

GetMarketApps returns the MarketApps field value if set, zero value otherwise.

func (*GetMarketAppListResult) GetMarketAppsOk

func (o *GetMarketAppListResult) GetMarketAppsOk() ([]MarketApp, bool)

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

func (*GetMarketAppListResult) GetMetadata

func (o *GetMarketAppListResult) GetMetadata() Metadata

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

func (*GetMarketAppListResult) GetMetadataOk

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

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

func (*GetMarketAppListResult) HasMarketApps

func (o *GetMarketAppListResult) HasMarketApps() bool

HasMarketApps returns a boolean if a field has been set.

func (*GetMarketAppListResult) HasMetadata

func (o *GetMarketAppListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetMarketAppListResult) MarshalJSON

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

func (*GetMarketAppListResult) SetMarketApps

func (o *GetMarketAppListResult) SetMarketApps(v []MarketApp)

SetMarketApps gets a reference to the given []MarketApp and assigns it to the MarketApps field.

func (*GetMarketAppListResult) SetMetadata

func (o *GetMarketAppListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetMarketAppListResult) ToMap

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

func (*GetMarketAppListResult) UnmarshalJSON

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

type GetRegionListResult

type GetRegionListResult struct {
	Regions              []Region  `json:"regions,omitempty"`
	Metadata             *Metadata `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetRegionListResult struct for GetRegionListResult

func NewGetRegionListResult

func NewGetRegionListResult() *GetRegionListResult

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

func NewGetRegionListResultWithDefaults

func NewGetRegionListResultWithDefaults() *GetRegionListResult

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

func (*GetRegionListResult) GetMetadata

func (o *GetRegionListResult) GetMetadata() Metadata

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

func (*GetRegionListResult) GetMetadataOk

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

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

func (*GetRegionListResult) GetRegions

func (o *GetRegionListResult) GetRegions() []Region

GetRegions returns the Regions field value if set, zero value otherwise.

func (*GetRegionListResult) GetRegionsOk

func (o *GetRegionListResult) GetRegionsOk() ([]Region, bool)

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

func (*GetRegionListResult) HasMetadata

func (o *GetRegionListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetRegionListResult) HasRegions

func (o *GetRegionListResult) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (GetRegionListResult) MarshalJSON

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

func (*GetRegionListResult) SetMetadata

func (o *GetRegionListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetRegionListResult) SetRegions

func (o *GetRegionListResult) SetRegions(v []Region)

SetRegions gets a reference to the given []Region and assigns it to the Regions field.

func (GetRegionListResult) ToMap

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

func (*GetRegionListResult) UnmarshalJSON

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

type GetReinstallImageListResult

type GetReinstallImageListResult struct {
	Images               []ImageDetails `json:"images,omitempty"`
	Metadata             *Metadata      `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetReinstallImageListResult struct for GetReinstallImageListResult

func NewGetReinstallImageListResult

func NewGetReinstallImageListResult() *GetReinstallImageListResult

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

func NewGetReinstallImageListResultWithDefaults

func NewGetReinstallImageListResultWithDefaults() *GetReinstallImageListResult

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

func (*GetReinstallImageListResult) GetImages

func (o *GetReinstallImageListResult) GetImages() []ImageDetails

GetImages returns the Images field value if set, zero value otherwise.

func (*GetReinstallImageListResult) GetImagesOk

func (o *GetReinstallImageListResult) GetImagesOk() ([]ImageDetails, bool)

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

func (*GetReinstallImageListResult) GetMetadata

func (o *GetReinstallImageListResult) GetMetadata() Metadata

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

func (*GetReinstallImageListResult) GetMetadataOk

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

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

func (*GetReinstallImageListResult) HasImages

func (o *GetReinstallImageListResult) HasImages() bool

HasImages returns a boolean if a field has been set.

func (*GetReinstallImageListResult) HasMetadata

func (o *GetReinstallImageListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetReinstallImageListResult) MarshalJSON

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

func (*GetReinstallImageListResult) SetImages

func (o *GetReinstallImageListResult) SetImages(v []ImageDetails)

SetImages gets a reference to the given []ImageDetails and assigns it to the Images field.

func (*GetReinstallImageListResult) SetMetadata

func (o *GetReinstallImageListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetReinstallImageListResult) ToMap

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

func (*GetReinstallImageListResult) UnmarshalJSON

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

type GetSnapshotListResult

type GetSnapshotListResult struct {
	Snapshots            []Snapshot `json:"snapshots,omitempty"`
	Metadata             *Metadata  `json:"_metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetSnapshotListResult struct for GetSnapshotListResult

func NewGetSnapshotListResult

func NewGetSnapshotListResult() *GetSnapshotListResult

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

func NewGetSnapshotListResultWithDefaults

func NewGetSnapshotListResultWithDefaults() *GetSnapshotListResult

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

func (*GetSnapshotListResult) GetMetadata

func (o *GetSnapshotListResult) GetMetadata() Metadata

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

func (*GetSnapshotListResult) GetMetadataOk

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

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

func (*GetSnapshotListResult) GetSnapshots

func (o *GetSnapshotListResult) GetSnapshots() []Snapshot

GetSnapshots returns the Snapshots field value if set, zero value otherwise.

func (*GetSnapshotListResult) GetSnapshotsOk

func (o *GetSnapshotListResult) GetSnapshotsOk() ([]Snapshot, bool)

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

func (*GetSnapshotListResult) HasMetadata

func (o *GetSnapshotListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetSnapshotListResult) HasSnapshots

func (o *GetSnapshotListResult) HasSnapshots() bool

HasSnapshots returns a boolean if a field has been set.

func (GetSnapshotListResult) MarshalJSON

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

func (*GetSnapshotListResult) SetMetadata

func (o *GetSnapshotListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetSnapshotListResult) SetSnapshots

func (o *GetSnapshotListResult) SetSnapshots(v []Snapshot)

SetSnapshots gets a reference to the given []Snapshot and assigns it to the Snapshots field.

func (GetSnapshotListResult) ToMap

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

func (*GetSnapshotListResult) UnmarshalJSON

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

type HealthCheck

type HealthCheck struct {
	// HTTP method to be used for health check
	Method string `json:"method"`
	// URI to check in the target instances
	Uri string `json:"uri"`
	// Host for the health check if any
	Host NullableString `json:"host"`
	// Port number
	Port                 int32 `json:"port"`
	AdditionalProperties map[string]interface{}
}

HealthCheck struct for HealthCheck

func NewHealthCheck

func NewHealthCheck(method string, uri string, host NullableString, port int32) *HealthCheck

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

func NewHealthCheckWithDefaults

func NewHealthCheckWithDefaults() *HealthCheck

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

func (*HealthCheck) GetHost

func (o *HealthCheck) GetHost() string

GetHost returns the Host field value If the value is explicit nil, the zero value for string will be returned

func (*HealthCheck) GetHostOk

func (o *HealthCheck) GetHostOk() (*string, bool)

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

func (*HealthCheck) GetMethod

func (o *HealthCheck) GetMethod() string

GetMethod returns the Method field value

func (*HealthCheck) GetMethodOk

func (o *HealthCheck) GetMethodOk() (*string, bool)

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

func (*HealthCheck) GetPort

func (o *HealthCheck) GetPort() int32

GetPort returns the Port field value

func (*HealthCheck) GetPortOk

func (o *HealthCheck) GetPortOk() (*int32, bool)

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

func (*HealthCheck) GetUri

func (o *HealthCheck) GetUri() string

GetUri returns the Uri field value

func (*HealthCheck) GetUriOk

func (o *HealthCheck) GetUriOk() (*string, bool)

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

func (HealthCheck) MarshalJSON

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

func (*HealthCheck) SetHost

func (o *HealthCheck) SetHost(v string)

SetHost sets field value

func (*HealthCheck) SetMethod

func (o *HealthCheck) SetMethod(v string)

SetMethod sets field value

func (*HealthCheck) SetPort

func (o *HealthCheck) SetPort(v int32)

SetPort sets field value

func (*HealthCheck) SetUri

func (o *HealthCheck) SetUri(v string)

SetUri sets field value

func (HealthCheck) ToMap

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

func (*HealthCheck) UnmarshalJSON

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

type HealthCheckStatus

type HealthCheckStatus struct {
	CheckStatus          *string `json:"checkStatus,omitempty"`
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

HealthCheckStatus struct for HealthCheckStatus

func NewHealthCheckStatus

func NewHealthCheckStatus() *HealthCheckStatus

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

func NewHealthCheckStatusWithDefaults

func NewHealthCheckStatusWithDefaults() *HealthCheckStatus

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

func (*HealthCheckStatus) GetCheckStatus

func (o *HealthCheckStatus) GetCheckStatus() string

GetCheckStatus returns the CheckStatus field value if set, zero value otherwise.

func (*HealthCheckStatus) GetCheckStatusOk

func (o *HealthCheckStatus) GetCheckStatusOk() (*string, bool)

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

func (*HealthCheckStatus) GetStatus

func (o *HealthCheckStatus) GetStatus() string

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

func (*HealthCheckStatus) GetStatusOk

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

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

func (*HealthCheckStatus) HasCheckStatus

func (o *HealthCheckStatus) HasCheckStatus() bool

HasCheckStatus returns a boolean if a field has been set.

func (*HealthCheckStatus) HasStatus

func (o *HealthCheckStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HealthCheckStatus) MarshalJSON

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

func (*HealthCheckStatus) SetCheckStatus

func (o *HealthCheckStatus) SetCheckStatus(v string)

SetCheckStatus gets a reference to the given string and assigns it to the CheckStatus field.

func (*HealthCheckStatus) SetStatus

func (o *HealthCheckStatus) SetStatus(v string)

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

func (HealthCheckStatus) ToMap

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

func (*HealthCheckStatus) UnmarshalJSON

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

type Image

type Image struct {
	// imageId can be either an Operating System or a UUID in case of a Custom Image
	Id      string `json:"id"`
	Name    string `json:"name"`
	Family  string `json:"family"`
	Flavour string `json:"flavour"`
	// Standard or Custom image
	Custom               bool `json:"custom"`
	AdditionalProperties map[string]interface{}
}

Image struct for Image

func NewImage

func NewImage(id string, name string, family string, flavour string, custom bool) *Image

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

func NewImageWithDefaults

func NewImageWithDefaults() *Image

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

func (*Image) GetCustom

func (o *Image) GetCustom() bool

GetCustom returns the Custom field value

func (*Image) GetCustomOk

func (o *Image) GetCustomOk() (*bool, bool)

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

func (*Image) GetFamily

func (o *Image) GetFamily() string

GetFamily returns the Family field value

func (*Image) GetFamilyOk

func (o *Image) GetFamilyOk() (*string, bool)

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

func (*Image) GetFlavour

func (o *Image) GetFlavour() string

GetFlavour returns the Flavour field value

func (*Image) GetFlavourOk

func (o *Image) GetFlavourOk() (*string, bool)

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

func (*Image) GetId

func (o *Image) GetId() string

GetId returns the Id field value

func (*Image) GetIdOk

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

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

func (*Image) GetName

func (o *Image) GetName() string

GetName returns the Name field value

func (*Image) GetNameOk

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

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

func (Image) MarshalJSON

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

func (*Image) SetCustom

func (o *Image) SetCustom(v bool)

SetCustom sets field value

func (*Image) SetFamily

func (o *Image) SetFamily(v string)

SetFamily sets field value

func (*Image) SetFlavour

func (o *Image) SetFlavour(v string)

SetFlavour sets field value

func (*Image) SetId

func (o *Image) SetId(v string)

SetId sets field value

func (*Image) SetName

func (o *Image) SetName(v string)

SetName sets field value

func (Image) ToMap

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

func (*Image) UnmarshalJSON

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

type ImageDetails

type ImageDetails struct {
	// imageId can be either an Operating System or a UUID in case of a Custom Image
	Id      string `json:"id"`
	Name    string `json:"name"`
	Family  string `json:"family"`
	Flavour string `json:"flavour"`
	// Standard or Custom image
	Custom      bool                `json:"custom"`
	StorageSize NullableStorageSize `json:"storageSize"`
	State       NullableString      `json:"state"`
	// The reason in case of failure
	StateReason NullableString     `json:"stateReason"`
	Region      NullableRegionName `json:"region"`
	// Date when the image was created
	CreatedAt NullableTime `json:"createdAt"`
	// Date when the image was updated
	UpdatedAt    NullableTime   `json:"updatedAt"`
	Version      NullableString `json:"version"`
	Architecture NullableString `json:"architecture"`
	MarketApps   []string       `json:"marketApps"`
	// The supported storage types for the instance type
	StorageTypes []string `json:"storageTypes"`
	// The image size in GB.
	MinDiskSize          NullableInt32 `json:"minDiskSize"`
	AdditionalProperties map[string]interface{}
}

ImageDetails struct for ImageDetails

func NewImageDetails

func NewImageDetails(id string, name string, family string, flavour string, custom bool, storageSize NullableStorageSize, state NullableString, stateReason NullableString, region NullableRegionName, createdAt NullableTime, updatedAt NullableTime, version NullableString, architecture NullableString, marketApps []string, storageTypes []string, minDiskSize NullableInt32) *ImageDetails

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

func NewImageDetailsWithDefaults

func NewImageDetailsWithDefaults() *ImageDetails

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

func (*ImageDetails) GetArchitecture

func (o *ImageDetails) GetArchitecture() string

GetArchitecture returns the Architecture field value If the value is explicit nil, the zero value for string will be returned

func (*ImageDetails) GetArchitectureOk

func (o *ImageDetails) GetArchitectureOk() (*string, bool)

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

func (*ImageDetails) GetCreatedAt

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

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

func (*ImageDetails) GetCreatedAtOk

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

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

func (*ImageDetails) GetCustom

func (o *ImageDetails) GetCustom() bool

GetCustom returns the Custom field value

func (*ImageDetails) GetCustomOk

func (o *ImageDetails) GetCustomOk() (*bool, bool)

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

func (*ImageDetails) GetFamily

func (o *ImageDetails) GetFamily() string

GetFamily returns the Family field value

func (*ImageDetails) GetFamilyOk

func (o *ImageDetails) GetFamilyOk() (*string, bool)

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

func (*ImageDetails) GetFlavour

func (o *ImageDetails) GetFlavour() string

GetFlavour returns the Flavour field value

func (*ImageDetails) GetFlavourOk

func (o *ImageDetails) GetFlavourOk() (*string, bool)

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

func (*ImageDetails) GetId

func (o *ImageDetails) GetId() string

GetId returns the Id field value

func (*ImageDetails) GetIdOk

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

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

func (*ImageDetails) GetMarketApps

func (o *ImageDetails) GetMarketApps() []string

GetMarketApps returns the MarketApps field value

func (*ImageDetails) GetMarketAppsOk

func (o *ImageDetails) GetMarketAppsOk() ([]string, bool)

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

func (*ImageDetails) GetMinDiskSize

func (o *ImageDetails) GetMinDiskSize() int32

GetMinDiskSize returns the MinDiskSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*ImageDetails) GetMinDiskSizeOk

func (o *ImageDetails) GetMinDiskSizeOk() (*int32, bool)

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

func (*ImageDetails) GetName

func (o *ImageDetails) GetName() string

GetName returns the Name field value

func (*ImageDetails) GetNameOk

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

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

func (*ImageDetails) GetRegion

func (o *ImageDetails) GetRegion() RegionName

GetRegion returns the Region field value If the value is explicit nil, the zero value for RegionName will be returned

func (*ImageDetails) GetRegionOk

func (o *ImageDetails) GetRegionOk() (*RegionName, bool)

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

func (*ImageDetails) GetState

func (o *ImageDetails) GetState() string

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

func (*ImageDetails) GetStateOk

func (o *ImageDetails) 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 (*ImageDetails) GetStateReason

func (o *ImageDetails) GetStateReason() string

GetStateReason returns the StateReason field value If the value is explicit nil, the zero value for string will be returned

func (*ImageDetails) GetStateReasonOk

func (o *ImageDetails) GetStateReasonOk() (*string, bool)

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

func (*ImageDetails) GetStorageSize

func (o *ImageDetails) GetStorageSize() StorageSize

GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for StorageSize will be returned

func (*ImageDetails) GetStorageSizeOk

func (o *ImageDetails) GetStorageSizeOk() (*StorageSize, bool)

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

func (*ImageDetails) GetStorageTypes

func (o *ImageDetails) GetStorageTypes() []string

GetStorageTypes returns the StorageTypes field value

func (*ImageDetails) GetStorageTypesOk

func (o *ImageDetails) GetStorageTypesOk() ([]string, bool)

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

func (*ImageDetails) GetUpdatedAt

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

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

func (*ImageDetails) GetUpdatedAtOk

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

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

func (*ImageDetails) GetVersion

func (o *ImageDetails) GetVersion() string

GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned

func (*ImageDetails) GetVersionOk

func (o *ImageDetails) GetVersionOk() (*string, bool)

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

func (ImageDetails) MarshalJSON

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

func (*ImageDetails) SetArchitecture

func (o *ImageDetails) SetArchitecture(v string)

SetArchitecture sets field value

func (*ImageDetails) SetCreatedAt

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

SetCreatedAt sets field value

func (*ImageDetails) SetCustom

func (o *ImageDetails) SetCustom(v bool)

SetCustom sets field value

func (*ImageDetails) SetFamily

func (o *ImageDetails) SetFamily(v string)

SetFamily sets field value

func (*ImageDetails) SetFlavour

func (o *ImageDetails) SetFlavour(v string)

SetFlavour sets field value

func (*ImageDetails) SetId

func (o *ImageDetails) SetId(v string)

SetId sets field value

func (*ImageDetails) SetMarketApps

func (o *ImageDetails) SetMarketApps(v []string)

SetMarketApps sets field value

func (*ImageDetails) SetMinDiskSize

func (o *ImageDetails) SetMinDiskSize(v int32)

SetMinDiskSize sets field value

func (*ImageDetails) SetName

func (o *ImageDetails) SetName(v string)

SetName sets field value

func (*ImageDetails) SetRegion

func (o *ImageDetails) SetRegion(v RegionName)

SetRegion sets field value

func (*ImageDetails) SetState

func (o *ImageDetails) SetState(v string)

SetState sets field value

func (*ImageDetails) SetStateReason

func (o *ImageDetails) SetStateReason(v string)

SetStateReason sets field value

func (*ImageDetails) SetStorageSize

func (o *ImageDetails) SetStorageSize(v StorageSize)

SetStorageSize sets field value

func (*ImageDetails) SetStorageTypes

func (o *ImageDetails) SetStorageTypes(v []string)

SetStorageTypes sets field value

func (*ImageDetails) SetUpdatedAt

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

SetUpdatedAt sets field value

func (*ImageDetails) SetVersion

func (o *ImageDetails) SetVersion(v string)

SetVersion sets field value

func (ImageDetails) ToMap

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

func (*ImageDetails) UnmarshalJSON

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

type ImageState

type ImageState string

ImageState Images state

const (
	IMAGESTATE_CREATING   ImageState = "CREATING"
	IMAGESTATE_READY      ImageState = "READY"
	IMAGESTATE_DESTROYED  ImageState = "DESTROYED"
	IMAGESTATE_DESTROYING ImageState = "DESTROYING"
	IMAGESTATE_FAILED     ImageState = "FAILED"
)

List of imageState

func NewImageStateFromValue

func NewImageStateFromValue(v string) (*ImageState, error)

NewImageStateFromValue returns a pointer to a valid ImageState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ImageState) IsValid

func (v ImageState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ImageState) Ptr

func (v ImageState) Ptr() *ImageState

Ptr returns reference to imageState value

func (*ImageState) UnmarshalJSON

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

type Instance

type Instance struct {
	// The unique identifier of the instance
	Id        string     `json:"id"`
	Type      TypeName   `json:"type"`
	Resources Resources  `json:"resources"`
	Region    RegionName `json:"region"`
	// The identifying name set to the instance
	Reference NullableString `json:"reference"`
	// Date and time when the instance was started for the first time, right after launching it
	StartedAt NullableTime `json:"startedAt"`
	// Market App ID that must be installed into the instance
	MarketAppId NullableString `json:"marketAppId"`
	State       State          `json:"state"`
	// The product type
	ProductType            string `json:"productType"`
	HasPublicIpV4          bool   `json:"hasPublicIpV4"`
	IncludesPrivateNetwork bool   `json:"hasPrivateNetwork"`
	// The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances
	RootDiskSize         int32                    `json:"rootDiskSize"`
	RootDiskStorageType  StorageType              `json:"rootDiskStorageType"`
	Contract             Contract                 `json:"contract"`
	AutoScalingGroup     NullableAutoScalingGroup `json:"autoScalingGroup"`
	Image                Image                    `json:"image"`
	Ips                  []Ip                     `json:"ips"`
	AdditionalProperties map[string]interface{}
}

Instance struct for Instance

func NewInstance

func NewInstance(id string, type_ TypeName, resources Resources, region RegionName, reference NullableString, startedAt NullableTime, marketAppId NullableString, state State, productType string, hasPublicIpV4 bool, includesPrivateNetwork bool, rootDiskSize int32, rootDiskStorageType StorageType, contract Contract, autoScalingGroup NullableAutoScalingGroup, image Image, ips []Ip) *Instance

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

func NewInstanceWithDefaults

func NewInstanceWithDefaults() *Instance

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

func (*Instance) GetAutoScalingGroup

func (o *Instance) GetAutoScalingGroup() AutoScalingGroup

GetAutoScalingGroup returns the AutoScalingGroup field value If the value is explicit nil, the zero value for AutoScalingGroup will be returned

func (*Instance) GetAutoScalingGroupOk

func (o *Instance) GetAutoScalingGroupOk() (*AutoScalingGroup, bool)

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

func (*Instance) GetContract

func (o *Instance) GetContract() Contract

GetContract returns the Contract field value

func (*Instance) GetContractOk

func (o *Instance) GetContractOk() (*Contract, bool)

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

func (*Instance) GetHasPublicIpV4

func (o *Instance) GetHasPublicIpV4() bool

GetHasPublicIpV4 returns the HasPublicIpV4 field value

func (*Instance) GetHasPublicIpV4Ok

func (o *Instance) GetHasPublicIpV4Ok() (*bool, bool)

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

func (*Instance) GetId

func (o *Instance) GetId() string

GetId returns the Id field value

func (*Instance) GetIdOk

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

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

func (*Instance) GetImage

func (o *Instance) GetImage() Image

GetImage returns the Image field value

func (*Instance) GetImageOk

func (o *Instance) GetImageOk() (*Image, bool)

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

func (*Instance) GetIncludesPrivateNetwork

func (o *Instance) GetIncludesPrivateNetwork() bool

GetIncludesPrivateNetwork returns the IncludesPrivateNetwork field value

func (*Instance) GetIncludesPrivateNetworkOk

func (o *Instance) GetIncludesPrivateNetworkOk() (*bool, bool)

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

func (*Instance) GetIps

func (o *Instance) GetIps() []Ip

GetIps returns the Ips field value

func (*Instance) GetIpsOk

func (o *Instance) GetIpsOk() ([]Ip, bool)

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

func (*Instance) GetMarketAppId

func (o *Instance) GetMarketAppId() string

GetMarketAppId returns the MarketAppId field value If the value is explicit nil, the zero value for string will be returned

func (*Instance) GetMarketAppIdOk

func (o *Instance) GetMarketAppIdOk() (*string, bool)

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

func (*Instance) GetProductType

func (o *Instance) GetProductType() string

GetProductType returns the ProductType field value

func (*Instance) GetProductTypeOk

func (o *Instance) GetProductTypeOk() (*string, bool)

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

func (*Instance) GetReference

func (o *Instance) GetReference() string

GetReference returns the Reference field value If the value is explicit nil, the zero value for string will be returned

func (*Instance) GetReferenceOk

func (o *Instance) GetReferenceOk() (*string, bool)

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

func (*Instance) GetRegion

func (o *Instance) GetRegion() RegionName

GetRegion returns the Region field value

func (*Instance) GetRegionOk

func (o *Instance) GetRegionOk() (*RegionName, bool)

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

func (*Instance) GetResources

func (o *Instance) GetResources() Resources

GetResources returns the Resources field value

func (*Instance) GetResourcesOk

func (o *Instance) GetResourcesOk() (*Resources, bool)

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

func (*Instance) GetRootDiskSize

func (o *Instance) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field value

func (*Instance) GetRootDiskSizeOk

func (o *Instance) GetRootDiskSizeOk() (*int32, bool)

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

func (*Instance) GetRootDiskStorageType

func (o *Instance) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field value

func (*Instance) GetRootDiskStorageTypeOk

func (o *Instance) GetRootDiskStorageTypeOk() (*StorageType, bool)

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

func (*Instance) GetStartedAt

func (o *Instance) GetStartedAt() time.Time

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

func (*Instance) GetStartedAtOk

func (o *Instance) GetStartedAtOk() (*time.Time, bool)

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

func (*Instance) GetState

func (o *Instance) GetState() State

GetState returns the State field value

func (*Instance) GetStateOk

func (o *Instance) GetStateOk() (*State, bool)

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

func (*Instance) GetType

func (o *Instance) GetType() TypeName

GetType returns the Type field value

func (*Instance) GetTypeOk

func (o *Instance) GetTypeOk() (*TypeName, bool)

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

func (Instance) MarshalJSON

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

func (*Instance) SetAutoScalingGroup

func (o *Instance) SetAutoScalingGroup(v AutoScalingGroup)

SetAutoScalingGroup sets field value

func (*Instance) SetContract

func (o *Instance) SetContract(v Contract)

SetContract sets field value

func (*Instance) SetHasPublicIpV4

func (o *Instance) SetHasPublicIpV4(v bool)

SetHasPublicIpV4 sets field value

func (*Instance) SetId

func (o *Instance) SetId(v string)

SetId sets field value

func (*Instance) SetImage

func (o *Instance) SetImage(v Image)

SetImage sets field value

func (*Instance) SetIncludesPrivateNetwork

func (o *Instance) SetIncludesPrivateNetwork(v bool)

SetIncludesPrivateNetwork sets field value

func (*Instance) SetIps

func (o *Instance) SetIps(v []Ip)

SetIps sets field value

func (*Instance) SetMarketAppId

func (o *Instance) SetMarketAppId(v string)

SetMarketAppId sets field value

func (*Instance) SetProductType

func (o *Instance) SetProductType(v string)

SetProductType sets field value

func (*Instance) SetReference

func (o *Instance) SetReference(v string)

SetReference sets field value

func (*Instance) SetRegion

func (o *Instance) SetRegion(v RegionName)

SetRegion sets field value

func (*Instance) SetResources

func (o *Instance) SetResources(v Resources)

SetResources sets field value

func (*Instance) SetRootDiskSize

func (o *Instance) SetRootDiskSize(v int32)

SetRootDiskSize sets field value

func (*Instance) SetRootDiskStorageType

func (o *Instance) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType sets field value

func (*Instance) SetStartedAt

func (o *Instance) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*Instance) SetState

func (o *Instance) SetState(v State)

SetState sets field value

func (*Instance) SetType

func (o *Instance) SetType(v TypeName)

SetType sets field value

func (Instance) ToMap

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

func (*Instance) UnmarshalJSON

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

type InstanceBase

type InstanceBase struct {
	// The unique identifier of the instance
	Id        string     `json:"id"`
	Type      TypeName   `json:"type"`
	Resources Resources  `json:"resources"`
	Region    RegionName `json:"region"`
	// The identifying name set to the instance
	Reference NullableString `json:"reference"`
	// Date and time when the instance was started for the first time, right after launching it
	StartedAt NullableTime `json:"startedAt"`
	// Market App ID that must be installed into the instance
	MarketAppId NullableString `json:"marketAppId"`
	State       State          `json:"state"`
	// The product type
	ProductType            string `json:"productType"`
	HasPublicIpV4          bool   `json:"hasPublicIpV4"`
	IncludesPrivateNetwork bool   `json:"hasPrivateNetwork"`
	// The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances
	RootDiskSize         int32                    `json:"rootDiskSize"`
	RootDiskStorageType  StorageType              `json:"rootDiskStorageType"`
	Contract             Contract                 `json:"contract"`
	AutoScalingGroup     NullableAutoScalingGroup `json:"autoScalingGroup"`
	Image                Image                    `json:"image"`
	AdditionalProperties map[string]interface{}
}

InstanceBase struct for InstanceBase

func NewInstanceBase

func NewInstanceBase(id string, type_ TypeName, resources Resources, region RegionName, reference NullableString, startedAt NullableTime, marketAppId NullableString, state State, productType string, hasPublicIpV4 bool, includesPrivateNetwork bool, rootDiskSize int32, rootDiskStorageType StorageType, contract Contract, autoScalingGroup NullableAutoScalingGroup, image Image) *InstanceBase

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

func NewInstanceBaseWithDefaults

func NewInstanceBaseWithDefaults() *InstanceBase

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

func (*InstanceBase) GetAutoScalingGroup

func (o *InstanceBase) GetAutoScalingGroup() AutoScalingGroup

GetAutoScalingGroup returns the AutoScalingGroup field value If the value is explicit nil, the zero value for AutoScalingGroup will be returned

func (*InstanceBase) GetAutoScalingGroupOk

func (o *InstanceBase) GetAutoScalingGroupOk() (*AutoScalingGroup, bool)

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

func (*InstanceBase) GetContract

func (o *InstanceBase) GetContract() Contract

GetContract returns the Contract field value

func (*InstanceBase) GetContractOk

func (o *InstanceBase) GetContractOk() (*Contract, bool)

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

func (*InstanceBase) GetHasPublicIpV4

func (o *InstanceBase) GetHasPublicIpV4() bool

GetHasPublicIpV4 returns the HasPublicIpV4 field value

func (*InstanceBase) GetHasPublicIpV4Ok

func (o *InstanceBase) GetHasPublicIpV4Ok() (*bool, bool)

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

func (*InstanceBase) GetId

func (o *InstanceBase) GetId() string

GetId returns the Id field value

func (*InstanceBase) GetIdOk

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

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

func (*InstanceBase) GetImage

func (o *InstanceBase) GetImage() Image

GetImage returns the Image field value

func (*InstanceBase) GetImageOk

func (o *InstanceBase) GetImageOk() (*Image, bool)

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

func (*InstanceBase) GetIncludesPrivateNetwork

func (o *InstanceBase) GetIncludesPrivateNetwork() bool

GetIncludesPrivateNetwork returns the IncludesPrivateNetwork field value

func (*InstanceBase) GetIncludesPrivateNetworkOk

func (o *InstanceBase) GetIncludesPrivateNetworkOk() (*bool, bool)

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

func (*InstanceBase) GetMarketAppId

func (o *InstanceBase) GetMarketAppId() string

GetMarketAppId returns the MarketAppId field value If the value is explicit nil, the zero value for string will be returned

func (*InstanceBase) GetMarketAppIdOk

func (o *InstanceBase) GetMarketAppIdOk() (*string, bool)

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

func (*InstanceBase) GetProductType

func (o *InstanceBase) GetProductType() string

GetProductType returns the ProductType field value

func (*InstanceBase) GetProductTypeOk

func (o *InstanceBase) GetProductTypeOk() (*string, bool)

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

func (*InstanceBase) GetReference

func (o *InstanceBase) GetReference() string

GetReference returns the Reference field value If the value is explicit nil, the zero value for string will be returned

func (*InstanceBase) GetReferenceOk

func (o *InstanceBase) GetReferenceOk() (*string, bool)

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

func (*InstanceBase) GetRegion

func (o *InstanceBase) GetRegion() RegionName

GetRegion returns the Region field value

func (*InstanceBase) GetRegionOk

func (o *InstanceBase) GetRegionOk() (*RegionName, bool)

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

func (*InstanceBase) GetResources

func (o *InstanceBase) GetResources() Resources

GetResources returns the Resources field value

func (*InstanceBase) GetResourcesOk

func (o *InstanceBase) GetResourcesOk() (*Resources, bool)

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

func (*InstanceBase) GetRootDiskSize

func (o *InstanceBase) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field value

func (*InstanceBase) GetRootDiskSizeOk

func (o *InstanceBase) GetRootDiskSizeOk() (*int32, bool)

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

func (*InstanceBase) GetRootDiskStorageType

func (o *InstanceBase) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field value

func (*InstanceBase) GetRootDiskStorageTypeOk

func (o *InstanceBase) GetRootDiskStorageTypeOk() (*StorageType, bool)

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

func (*InstanceBase) GetStartedAt

func (o *InstanceBase) GetStartedAt() time.Time

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

func (*InstanceBase) GetStartedAtOk

func (o *InstanceBase) GetStartedAtOk() (*time.Time, bool)

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

func (*InstanceBase) GetState

func (o *InstanceBase) GetState() State

GetState returns the State field value

func (*InstanceBase) GetStateOk

func (o *InstanceBase) GetStateOk() (*State, bool)

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

func (*InstanceBase) GetType

func (o *InstanceBase) GetType() TypeName

GetType returns the Type field value

func (*InstanceBase) GetTypeOk

func (o *InstanceBase) GetTypeOk() (*TypeName, bool)

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

func (InstanceBase) MarshalJSON

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

func (*InstanceBase) SetAutoScalingGroup

func (o *InstanceBase) SetAutoScalingGroup(v AutoScalingGroup)

SetAutoScalingGroup sets field value

func (*InstanceBase) SetContract

func (o *InstanceBase) SetContract(v Contract)

SetContract sets field value

func (*InstanceBase) SetHasPublicIpV4

func (o *InstanceBase) SetHasPublicIpV4(v bool)

SetHasPublicIpV4 sets field value

func (*InstanceBase) SetId

func (o *InstanceBase) SetId(v string)

SetId sets field value

func (*InstanceBase) SetImage

func (o *InstanceBase) SetImage(v Image)

SetImage sets field value

func (*InstanceBase) SetIncludesPrivateNetwork

func (o *InstanceBase) SetIncludesPrivateNetwork(v bool)

SetIncludesPrivateNetwork sets field value

func (*InstanceBase) SetMarketAppId

func (o *InstanceBase) SetMarketAppId(v string)

SetMarketAppId sets field value

func (*InstanceBase) SetProductType

func (o *InstanceBase) SetProductType(v string)

SetProductType sets field value

func (*InstanceBase) SetReference

func (o *InstanceBase) SetReference(v string)

SetReference sets field value

func (*InstanceBase) SetRegion

func (o *InstanceBase) SetRegion(v RegionName)

SetRegion sets field value

func (*InstanceBase) SetResources

func (o *InstanceBase) SetResources(v Resources)

SetResources sets field value

func (*InstanceBase) SetRootDiskSize

func (o *InstanceBase) SetRootDiskSize(v int32)

SetRootDiskSize sets field value

func (*InstanceBase) SetRootDiskStorageType

func (o *InstanceBase) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType sets field value

func (*InstanceBase) SetStartedAt

func (o *InstanceBase) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*InstanceBase) SetState

func (o *InstanceBase) SetState(v State)

SetState sets field value

func (*InstanceBase) SetType

func (o *InstanceBase) SetType(v TypeName)

SetType sets field value

func (InstanceBase) ToMap

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

func (*InstanceBase) UnmarshalJSON

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

type InstanceDetails

type InstanceDetails struct {
	// The unique identifier of the instance
	Id        string     `json:"id"`
	Type      TypeName   `json:"type"`
	Resources Resources  `json:"resources"`
	Region    RegionName `json:"region"`
	// The identifying name set to the instance
	Reference NullableString `json:"reference"`
	// Date and time when the instance was started for the first time, right after launching it
	StartedAt NullableTime `json:"startedAt"`
	// Market App ID that must be installed into the instance
	MarketAppId NullableString `json:"marketAppId"`
	State       State          `json:"state"`
	// The product type
	ProductType            string `json:"productType"`
	HasPublicIpV4          bool   `json:"hasPublicIpV4"`
	IncludesPrivateNetwork bool   `json:"hasPrivateNetwork"`
	// The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances
	RootDiskSize         int32                    `json:"rootDiskSize"`
	RootDiskStorageType  StorageType              `json:"rootDiskStorageType"`
	Contract             Contract                 `json:"contract"`
	AutoScalingGroup     NullableAutoScalingGroup `json:"autoScalingGroup"`
	Image                Image                    `json:"image"`
	Iso                  NullableIso              `json:"iso"`
	PrivateNetwork       NullablePrivateNetwork   `json:"privateNetwork"`
	Ips                  []IpDetails              `json:"ips"`
	AdditionalProperties map[string]interface{}
}

InstanceDetails struct for InstanceDetails

func NewInstanceDetails

func NewInstanceDetails(id string, type_ TypeName, resources Resources, region RegionName, reference NullableString, startedAt NullableTime, marketAppId NullableString, state State, productType string, hasPublicIpV4 bool, includesPrivateNetwork bool, rootDiskSize int32, rootDiskStorageType StorageType, contract Contract, autoScalingGroup NullableAutoScalingGroup, image Image, iso NullableIso, privateNetwork NullablePrivateNetwork, ips []IpDetails) *InstanceDetails

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

func NewInstanceDetailsWithDefaults

func NewInstanceDetailsWithDefaults() *InstanceDetails

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

func (*InstanceDetails) GetAutoScalingGroup

func (o *InstanceDetails) GetAutoScalingGroup() AutoScalingGroup

GetAutoScalingGroup returns the AutoScalingGroup field value If the value is explicit nil, the zero value for AutoScalingGroup will be returned

func (*InstanceDetails) GetAutoScalingGroupOk

func (o *InstanceDetails) GetAutoScalingGroupOk() (*AutoScalingGroup, bool)

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

func (*InstanceDetails) GetContract

func (o *InstanceDetails) GetContract() Contract

GetContract returns the Contract field value

func (*InstanceDetails) GetContractOk

func (o *InstanceDetails) GetContractOk() (*Contract, bool)

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

func (*InstanceDetails) GetHasPublicIpV4

func (o *InstanceDetails) GetHasPublicIpV4() bool

GetHasPublicIpV4 returns the HasPublicIpV4 field value

func (*InstanceDetails) GetHasPublicIpV4Ok

func (o *InstanceDetails) GetHasPublicIpV4Ok() (*bool, bool)

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

func (*InstanceDetails) GetId

func (o *InstanceDetails) GetId() string

GetId returns the Id field value

func (*InstanceDetails) GetIdOk

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

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

func (*InstanceDetails) GetImage

func (o *InstanceDetails) GetImage() Image

GetImage returns the Image field value

func (*InstanceDetails) GetImageOk

func (o *InstanceDetails) GetImageOk() (*Image, bool)

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

func (*InstanceDetails) GetIncludesPrivateNetwork

func (o *InstanceDetails) GetIncludesPrivateNetwork() bool

GetIncludesPrivateNetwork returns the IncludesPrivateNetwork field value

func (*InstanceDetails) GetIncludesPrivateNetworkOk

func (o *InstanceDetails) GetIncludesPrivateNetworkOk() (*bool, bool)

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

func (*InstanceDetails) GetIps

func (o *InstanceDetails) GetIps() []IpDetails

GetIps returns the Ips field value

func (*InstanceDetails) GetIpsOk

func (o *InstanceDetails) GetIpsOk() ([]IpDetails, bool)

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

func (*InstanceDetails) GetIso

func (o *InstanceDetails) GetIso() Iso

GetIso returns the Iso field value If the value is explicit nil, the zero value for Iso will be returned

func (*InstanceDetails) GetIsoOk

func (o *InstanceDetails) GetIsoOk() (*Iso, bool)

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

func (*InstanceDetails) GetMarketAppId

func (o *InstanceDetails) GetMarketAppId() string

GetMarketAppId returns the MarketAppId field value If the value is explicit nil, the zero value for string will be returned

func (*InstanceDetails) GetMarketAppIdOk

func (o *InstanceDetails) GetMarketAppIdOk() (*string, bool)

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

func (*InstanceDetails) GetPrivateNetwork

func (o *InstanceDetails) GetPrivateNetwork() PrivateNetwork

GetPrivateNetwork returns the PrivateNetwork field value If the value is explicit nil, the zero value for PrivateNetwork will be returned

func (*InstanceDetails) GetPrivateNetworkOk

func (o *InstanceDetails) GetPrivateNetworkOk() (*PrivateNetwork, bool)

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

func (*InstanceDetails) GetProductType

func (o *InstanceDetails) GetProductType() string

GetProductType returns the ProductType field value

func (*InstanceDetails) GetProductTypeOk

func (o *InstanceDetails) GetProductTypeOk() (*string, bool)

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

func (*InstanceDetails) GetReference

func (o *InstanceDetails) GetReference() string

GetReference returns the Reference field value If the value is explicit nil, the zero value for string will be returned

func (*InstanceDetails) GetReferenceOk

func (o *InstanceDetails) GetReferenceOk() (*string, bool)

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

func (*InstanceDetails) GetRegion

func (o *InstanceDetails) GetRegion() RegionName

GetRegion returns the Region field value

func (*InstanceDetails) GetRegionOk

func (o *InstanceDetails) GetRegionOk() (*RegionName, bool)

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

func (*InstanceDetails) GetResources

func (o *InstanceDetails) GetResources() Resources

GetResources returns the Resources field value

func (*InstanceDetails) GetResourcesOk

func (o *InstanceDetails) GetResourcesOk() (*Resources, bool)

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

func (*InstanceDetails) GetRootDiskSize

func (o *InstanceDetails) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field value

func (*InstanceDetails) GetRootDiskSizeOk

func (o *InstanceDetails) GetRootDiskSizeOk() (*int32, bool)

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

func (*InstanceDetails) GetRootDiskStorageType

func (o *InstanceDetails) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field value

func (*InstanceDetails) GetRootDiskStorageTypeOk

func (o *InstanceDetails) GetRootDiskStorageTypeOk() (*StorageType, bool)

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

func (*InstanceDetails) GetStartedAt

func (o *InstanceDetails) GetStartedAt() time.Time

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

func (*InstanceDetails) GetStartedAtOk

func (o *InstanceDetails) GetStartedAtOk() (*time.Time, bool)

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

func (*InstanceDetails) GetState

func (o *InstanceDetails) GetState() State

GetState returns the State field value

func (*InstanceDetails) GetStateOk

func (o *InstanceDetails) GetStateOk() (*State, bool)

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

func (*InstanceDetails) GetType

func (o *InstanceDetails) GetType() TypeName

GetType returns the Type field value

func (*InstanceDetails) GetTypeOk

func (o *InstanceDetails) GetTypeOk() (*TypeName, bool)

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

func (InstanceDetails) MarshalJSON

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

func (*InstanceDetails) SetAutoScalingGroup

func (o *InstanceDetails) SetAutoScalingGroup(v AutoScalingGroup)

SetAutoScalingGroup sets field value

func (*InstanceDetails) SetContract

func (o *InstanceDetails) SetContract(v Contract)

SetContract sets field value

func (*InstanceDetails) SetHasPublicIpV4

func (o *InstanceDetails) SetHasPublicIpV4(v bool)

SetHasPublicIpV4 sets field value

func (*InstanceDetails) SetId

func (o *InstanceDetails) SetId(v string)

SetId sets field value

func (*InstanceDetails) SetImage

func (o *InstanceDetails) SetImage(v Image)

SetImage sets field value

func (*InstanceDetails) SetIncludesPrivateNetwork

func (o *InstanceDetails) SetIncludesPrivateNetwork(v bool)

SetIncludesPrivateNetwork sets field value

func (*InstanceDetails) SetIps

func (o *InstanceDetails) SetIps(v []IpDetails)

SetIps sets field value

func (*InstanceDetails) SetIso

func (o *InstanceDetails) SetIso(v Iso)

SetIso sets field value

func (*InstanceDetails) SetMarketAppId

func (o *InstanceDetails) SetMarketAppId(v string)

SetMarketAppId sets field value

func (*InstanceDetails) SetPrivateNetwork

func (o *InstanceDetails) SetPrivateNetwork(v PrivateNetwork)

SetPrivateNetwork sets field value

func (*InstanceDetails) SetProductType

func (o *InstanceDetails) SetProductType(v string)

SetProductType sets field value

func (*InstanceDetails) SetReference

func (o *InstanceDetails) SetReference(v string)

SetReference sets field value

func (*InstanceDetails) SetRegion

func (o *InstanceDetails) SetRegion(v RegionName)

SetRegion sets field value

func (*InstanceDetails) SetResources

func (o *InstanceDetails) SetResources(v Resources)

SetResources sets field value

func (*InstanceDetails) SetRootDiskSize

func (o *InstanceDetails) SetRootDiskSize(v int32)

SetRootDiskSize sets field value

func (*InstanceDetails) SetRootDiskStorageType

func (o *InstanceDetails) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType sets field value

func (*InstanceDetails) SetStartedAt

func (o *InstanceDetails) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*InstanceDetails) SetState

func (o *InstanceDetails) SetState(v State)

SetState sets field value

func (*InstanceDetails) SetType

func (o *InstanceDetails) SetType(v TypeName)

SetType sets field value

func (InstanceDetails) ToMap

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

func (*InstanceDetails) UnmarshalJSON

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

type InstanceType

type InstanceType struct {
	Name      TypeName  `json:"name"`
	Resources Resources `json:"resources"`
	// The supported storage types for the instance type
	StorageTypes         []StorageType `json:"storageTypes"`
	Prices               Prices        `json:"prices"`
	AdditionalProperties map[string]interface{}
}

InstanceType struct for InstanceType

func NewInstanceType

func NewInstanceType(name TypeName, resources Resources, storageTypes []StorageType, prices Prices) *InstanceType

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

func NewInstanceTypeWithDefaults

func NewInstanceTypeWithDefaults() *InstanceType

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

func (*InstanceType) GetName

func (o *InstanceType) GetName() TypeName

GetName returns the Name field value

func (*InstanceType) GetNameOk

func (o *InstanceType) GetNameOk() (*TypeName, bool)

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

func (*InstanceType) GetPrices

func (o *InstanceType) GetPrices() Prices

GetPrices returns the Prices field value

func (*InstanceType) GetPricesOk

func (o *InstanceType) GetPricesOk() (*Prices, bool)

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

func (*InstanceType) GetResources

func (o *InstanceType) GetResources() Resources

GetResources returns the Resources field value

func (*InstanceType) GetResourcesOk

func (o *InstanceType) GetResourcesOk() (*Resources, bool)

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

func (*InstanceType) GetStorageTypes

func (o *InstanceType) GetStorageTypes() []StorageType

GetStorageTypes returns the StorageTypes field value If the value is explicit nil, the zero value for []StorageType will be returned

func (*InstanceType) GetStorageTypesOk

func (o *InstanceType) GetStorageTypesOk() ([]StorageType, bool)

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

func (InstanceType) MarshalJSON

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

func (*InstanceType) SetName

func (o *InstanceType) SetName(v TypeName)

SetName sets field value

func (*InstanceType) SetPrices

func (o *InstanceType) SetPrices(v Prices)

SetPrices sets field value

func (*InstanceType) SetResources

func (o *InstanceType) SetResources(v Resources)

SetResources sets field value

func (*InstanceType) SetStorageTypes

func (o *InstanceType) SetStorageTypes(v []StorageType)

SetStorageTypes sets field value

func (InstanceType) ToMap

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

func (*InstanceType) UnmarshalJSON

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

type InstanceTypes

type InstanceTypes struct {
	Metadata             *Metadata      `json:"_metadata,omitempty"`
	InstanceTypes        []InstanceType `json:"instanceTypes,omitempty"`
	AdditionalProperties map[string]interface{}
}

InstanceTypes struct for InstanceTypes

func NewInstanceTypes

func NewInstanceTypes() *InstanceTypes

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

func NewInstanceTypesWithDefaults

func NewInstanceTypesWithDefaults() *InstanceTypes

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

func (*InstanceTypes) GetInstanceTypes

func (o *InstanceTypes) GetInstanceTypes() []InstanceType

GetInstanceTypes returns the InstanceTypes field value if set, zero value otherwise.

func (*InstanceTypes) GetInstanceTypesOk

func (o *InstanceTypes) GetInstanceTypesOk() ([]InstanceType, bool)

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

func (*InstanceTypes) GetMetadata

func (o *InstanceTypes) GetMetadata() Metadata

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

func (*InstanceTypes) GetMetadataOk

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

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

func (*InstanceTypes) HasInstanceTypes

func (o *InstanceTypes) HasInstanceTypes() bool

HasInstanceTypes returns a boolean if a field has been set.

func (*InstanceTypes) HasMetadata

func (o *InstanceTypes) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (InstanceTypes) MarshalJSON

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

func (*InstanceTypes) SetInstanceTypes

func (o *InstanceTypes) SetInstanceTypes(v []InstanceType)

SetInstanceTypes gets a reference to the given []InstanceType and assigns it to the InstanceTypes field.

func (*InstanceTypes) SetMetadata

func (o *InstanceTypes) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (InstanceTypes) ToMap

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

func (*InstanceTypes) UnmarshalJSON

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

type Ip

type Ip struct {
	// Ip Address
	Ip string `json:"ip"`
	// The number of leading bits in the IP address
	PrefixLength string    `json:"prefixLength"`
	Version      IpVersion `json:"version"`
	// Whether or not the IP has been nulled
	NullRouted           bool           `json:"nullRouted"`
	MainIp               bool           `json:"mainIp"`
	NetworkType          NetworkType    `json:"networkType"`
	ReverseLookup        NullableString `json:"reverseLookup"`
	AdditionalProperties map[string]interface{}
}

Ip struct for Ip

func NewIp

func NewIp(ip string, prefixLength string, version IpVersion, nullRouted bool, mainIp bool, networkType NetworkType, reverseLookup NullableString) *Ip

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

func NewIpWithDefaults

func NewIpWithDefaults() *Ip

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

func (*Ip) GetIp

func (o *Ip) GetIp() string

GetIp returns the Ip field value

func (*Ip) GetIpOk

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

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

func (*Ip) GetMainIp

func (o *Ip) GetMainIp() bool

GetMainIp returns the MainIp field value

func (*Ip) GetMainIpOk

func (o *Ip) GetMainIpOk() (*bool, bool)

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

func (*Ip) GetNetworkType

func (o *Ip) GetNetworkType() NetworkType

GetNetworkType returns the NetworkType field value

func (*Ip) GetNetworkTypeOk

func (o *Ip) GetNetworkTypeOk() (*NetworkType, bool)

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

func (*Ip) GetNullRouted

func (o *Ip) GetNullRouted() bool

GetNullRouted returns the NullRouted field value

func (*Ip) GetNullRoutedOk

func (o *Ip) GetNullRoutedOk() (*bool, bool)

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

func (*Ip) GetPrefixLength

func (o *Ip) GetPrefixLength() string

GetPrefixLength returns the PrefixLength field value

func (*Ip) GetPrefixLengthOk

func (o *Ip) GetPrefixLengthOk() (*string, bool)

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

func (*Ip) GetReverseLookup

func (o *Ip) GetReverseLookup() string

GetReverseLookup returns the ReverseLookup field value If the value is explicit nil, the zero value for string will be returned

func (*Ip) GetReverseLookupOk

func (o *Ip) GetReverseLookupOk() (*string, bool)

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

func (*Ip) GetVersion

func (o *Ip) GetVersion() IpVersion

GetVersion returns the Version field value

func (*Ip) GetVersionOk

func (o *Ip) GetVersionOk() (*IpVersion, bool)

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

func (Ip) MarshalJSON

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

func (*Ip) SetIp

func (o *Ip) SetIp(v string)

SetIp sets field value

func (*Ip) SetMainIp

func (o *Ip) SetMainIp(v bool)

SetMainIp sets field value

func (*Ip) SetNetworkType

func (o *Ip) SetNetworkType(v NetworkType)

SetNetworkType sets field value

func (*Ip) SetNullRouted

func (o *Ip) SetNullRouted(v bool)

SetNullRouted sets field value

func (*Ip) SetPrefixLength

func (o *Ip) SetPrefixLength(v string)

SetPrefixLength sets field value

func (*Ip) SetReverseLookup

func (o *Ip) SetReverseLookup(v string)

SetReverseLookup sets field value

func (*Ip) SetVersion

func (o *Ip) SetVersion(v IpVersion)

SetVersion sets field value

func (Ip) ToMap

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

func (*Ip) UnmarshalJSON

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

type IpDetails

type IpDetails struct {
	// Ip Address
	Ip string `json:"ip"`
	// The number of leading bits in the IP address
	PrefixLength string    `json:"prefixLength"`
	Version      IpVersion `json:"version"`
	// Whether or not the IP has been nulled
	NullRouted           bool           `json:"nullRouted"`
	MainIp               bool           `json:"mainIp"`
	NetworkType          NetworkType    `json:"networkType"`
	ReverseLookup        NullableString `json:"reverseLookup"`
	Ddos                 NullableDdos   `json:"ddos"`
	AdditionalProperties map[string]interface{}
}

IpDetails struct for IpDetails

func NewIpDetails

func NewIpDetails(ip string, prefixLength string, version IpVersion, nullRouted bool, mainIp bool, networkType NetworkType, reverseLookup NullableString, ddos NullableDdos) *IpDetails

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

func NewIpDetailsWithDefaults

func NewIpDetailsWithDefaults() *IpDetails

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

func (*IpDetails) GetDdos

func (o *IpDetails) GetDdos() Ddos

GetDdos returns the Ddos field value If the value is explicit nil, the zero value for Ddos will be returned

func (*IpDetails) GetDdosOk

func (o *IpDetails) GetDdosOk() (*Ddos, bool)

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

func (*IpDetails) GetIp

func (o *IpDetails) GetIp() string

GetIp returns the Ip field value

func (*IpDetails) GetIpOk

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

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

func (*IpDetails) GetMainIp

func (o *IpDetails) GetMainIp() bool

GetMainIp returns the MainIp field value

func (*IpDetails) GetMainIpOk

func (o *IpDetails) GetMainIpOk() (*bool, bool)

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

func (*IpDetails) GetNetworkType

func (o *IpDetails) GetNetworkType() NetworkType

GetNetworkType returns the NetworkType field value

func (*IpDetails) GetNetworkTypeOk

func (o *IpDetails) GetNetworkTypeOk() (*NetworkType, bool)

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

func (*IpDetails) GetNullRouted

func (o *IpDetails) GetNullRouted() bool

GetNullRouted returns the NullRouted field value

func (*IpDetails) GetNullRoutedOk

func (o *IpDetails) GetNullRoutedOk() (*bool, bool)

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

func (*IpDetails) GetPrefixLength

func (o *IpDetails) GetPrefixLength() string

GetPrefixLength returns the PrefixLength field value

func (*IpDetails) GetPrefixLengthOk

func (o *IpDetails) GetPrefixLengthOk() (*string, bool)

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

func (*IpDetails) GetReverseLookup

func (o *IpDetails) GetReverseLookup() string

GetReverseLookup returns the ReverseLookup field value If the value is explicit nil, the zero value for string will be returned

func (*IpDetails) GetReverseLookupOk

func (o *IpDetails) GetReverseLookupOk() (*string, bool)

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

func (*IpDetails) GetVersion

func (o *IpDetails) GetVersion() IpVersion

GetVersion returns the Version field value

func (*IpDetails) GetVersionOk

func (o *IpDetails) GetVersionOk() (*IpVersion, bool)

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

func (IpDetails) MarshalJSON

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

func (*IpDetails) SetDdos

func (o *IpDetails) SetDdos(v Ddos)

SetDdos sets field value

func (*IpDetails) SetIp

func (o *IpDetails) SetIp(v string)

SetIp sets field value

func (*IpDetails) SetMainIp

func (o *IpDetails) SetMainIp(v bool)

SetMainIp sets field value

func (*IpDetails) SetNetworkType

func (o *IpDetails) SetNetworkType(v NetworkType)

SetNetworkType sets field value

func (*IpDetails) SetNullRouted

func (o *IpDetails) SetNullRouted(v bool)

SetNullRouted sets field value

func (*IpDetails) SetPrefixLength

func (o *IpDetails) SetPrefixLength(v string)

SetPrefixLength sets field value

func (*IpDetails) SetReverseLookup

func (o *IpDetails) SetReverseLookup(v string)

SetReverseLookup sets field value

func (*IpDetails) SetVersion

func (o *IpDetails) SetVersion(v IpVersion)

SetVersion sets field value

func (IpDetails) ToMap

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

func (*IpDetails) UnmarshalJSON

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

type IpVersion

type IpVersion int32

IpVersion Ip version

const (
	IPVERSION__4 IpVersion = 4
	IPVERSION__6 IpVersion = 6
)

List of ipVersion

func NewIpVersionFromValue

func NewIpVersionFromValue(v int32) (*IpVersion, error)

NewIpVersionFromValue returns a pointer to a valid IpVersion for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IpVersion) IsValid

func (v IpVersion) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IpVersion) Ptr

func (v IpVersion) Ptr() *IpVersion

Ptr returns reference to ipVersion value

func (*IpVersion) UnmarshalJSON

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

type Iso

type Iso struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

Iso struct for Iso

func NewIso

func NewIso(id string, name string) *Iso

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

func NewIsoWithDefaults

func NewIsoWithDefaults() *Iso

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

func (*Iso) GetId

func (o *Iso) GetId() string

GetId returns the Id field value

func (*Iso) GetIdOk

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

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

func (*Iso) GetName

func (o *Iso) GetName() string

GetName returns the Name field value

func (*Iso) GetNameOk

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

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

func (Iso) MarshalJSON

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

func (*Iso) SetId

func (o *Iso) SetId(v string)

SetId sets field value

func (*Iso) SetName

func (o *Iso) SetName(v string)

SetName sets field value

func (Iso) ToMap

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

func (*Iso) UnmarshalJSON

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

type LaunchInstanceOpts

type LaunchInstanceOpts struct {
	Region RegionName `json:"region"`
	Type   TypeName   `json:"type"`
	// imageId can be either an Operating System or a UUID in case of a Custom Image
	ImageId string `json:"imageId"`
	// Market App ID that must be installed into the instance
	MarketAppId *string `json:"marketAppId,omitempty"`
	// An identifying name you can refer to the instance
	Reference        *string          `json:"reference,omitempty"`
	ContractType     ContractType     `json:"contractType"`
	ContractTerm     ContractTerm     `json:"contractTerm"`
	BillingFrequency BillingFrequency `json:"billingFrequency"`
	// The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances
	RootDiskSize        *int32      `json:"rootDiskSize,omitempty"`
	RootDiskStorageType StorageType `json:"rootDiskStorageType"`
	// Public SSH key to be installed into the instance. Must be used only on Linux/FreeBSD instances
	SshKey               *string `json:"sshKey,omitempty"`
	AdditionalProperties map[string]interface{}
}

LaunchInstanceOpts struct for LaunchInstanceOpts

func NewLaunchInstanceOpts

func NewLaunchInstanceOpts(region RegionName, type_ TypeName, imageId string, contractType ContractType, contractTerm ContractTerm, billingFrequency BillingFrequency, rootDiskStorageType StorageType) *LaunchInstanceOpts

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

func NewLaunchInstanceOptsWithDefaults

func NewLaunchInstanceOptsWithDefaults() *LaunchInstanceOpts

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

func (*LaunchInstanceOpts) GetBillingFrequency

func (o *LaunchInstanceOpts) GetBillingFrequency() BillingFrequency

GetBillingFrequency returns the BillingFrequency field value

func (*LaunchInstanceOpts) GetBillingFrequencyOk

func (o *LaunchInstanceOpts) GetBillingFrequencyOk() (*BillingFrequency, bool)

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

func (*LaunchInstanceOpts) GetContractTerm

func (o *LaunchInstanceOpts) GetContractTerm() ContractTerm

GetContractTerm returns the ContractTerm field value

func (*LaunchInstanceOpts) GetContractTermOk

func (o *LaunchInstanceOpts) GetContractTermOk() (*ContractTerm, bool)

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

func (*LaunchInstanceOpts) GetContractType

func (o *LaunchInstanceOpts) GetContractType() ContractType

GetContractType returns the ContractType field value

func (*LaunchInstanceOpts) GetContractTypeOk

func (o *LaunchInstanceOpts) GetContractTypeOk() (*ContractType, bool)

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

func (*LaunchInstanceOpts) GetImageId

func (o *LaunchInstanceOpts) GetImageId() string

GetImageId returns the ImageId field value

func (*LaunchInstanceOpts) GetImageIdOk

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

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

func (*LaunchInstanceOpts) GetMarketAppId

func (o *LaunchInstanceOpts) GetMarketAppId() string

GetMarketAppId returns the MarketAppId field value if set, zero value otherwise.

func (*LaunchInstanceOpts) GetMarketAppIdOk

func (o *LaunchInstanceOpts) GetMarketAppIdOk() (*string, bool)

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

func (*LaunchInstanceOpts) GetReference

func (o *LaunchInstanceOpts) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*LaunchInstanceOpts) GetReferenceOk

func (o *LaunchInstanceOpts) GetReferenceOk() (*string, bool)

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

func (*LaunchInstanceOpts) GetRegion

func (o *LaunchInstanceOpts) GetRegion() RegionName

GetRegion returns the Region field value

func (*LaunchInstanceOpts) GetRegionOk

func (o *LaunchInstanceOpts) GetRegionOk() (*RegionName, bool)

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

func (*LaunchInstanceOpts) GetRootDiskSize

func (o *LaunchInstanceOpts) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field value if set, zero value otherwise.

func (*LaunchInstanceOpts) GetRootDiskSizeOk

func (o *LaunchInstanceOpts) GetRootDiskSizeOk() (*int32, bool)

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

func (*LaunchInstanceOpts) GetRootDiskStorageType

func (o *LaunchInstanceOpts) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field value

func (*LaunchInstanceOpts) GetRootDiskStorageTypeOk

func (o *LaunchInstanceOpts) GetRootDiskStorageTypeOk() (*StorageType, bool)

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

func (*LaunchInstanceOpts) GetSshKey

func (o *LaunchInstanceOpts) GetSshKey() string

GetSshKey returns the SshKey field value if set, zero value otherwise.

func (*LaunchInstanceOpts) GetSshKeyOk

func (o *LaunchInstanceOpts) GetSshKeyOk() (*string, bool)

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

func (*LaunchInstanceOpts) GetType

func (o *LaunchInstanceOpts) GetType() TypeName

GetType returns the Type field value

func (*LaunchInstanceOpts) GetTypeOk

func (o *LaunchInstanceOpts) GetTypeOk() (*TypeName, bool)

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

func (*LaunchInstanceOpts) HasMarketAppId

func (o *LaunchInstanceOpts) HasMarketAppId() bool

HasMarketAppId returns a boolean if a field has been set.

func (*LaunchInstanceOpts) HasReference

func (o *LaunchInstanceOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*LaunchInstanceOpts) HasRootDiskSize

func (o *LaunchInstanceOpts) HasRootDiskSize() bool

HasRootDiskSize returns a boolean if a field has been set.

func (*LaunchInstanceOpts) HasSshKey

func (o *LaunchInstanceOpts) HasSshKey() bool

HasSshKey returns a boolean if a field has been set.

func (LaunchInstanceOpts) MarshalJSON

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

func (*LaunchInstanceOpts) SetBillingFrequency

func (o *LaunchInstanceOpts) SetBillingFrequency(v BillingFrequency)

SetBillingFrequency sets field value

func (*LaunchInstanceOpts) SetContractTerm

func (o *LaunchInstanceOpts) SetContractTerm(v ContractTerm)

SetContractTerm sets field value

func (*LaunchInstanceOpts) SetContractType

func (o *LaunchInstanceOpts) SetContractType(v ContractType)

SetContractType sets field value

func (*LaunchInstanceOpts) SetImageId

func (o *LaunchInstanceOpts) SetImageId(v string)

SetImageId sets field value

func (*LaunchInstanceOpts) SetMarketAppId

func (o *LaunchInstanceOpts) SetMarketAppId(v string)

SetMarketAppId gets a reference to the given string and assigns it to the MarketAppId field.

func (*LaunchInstanceOpts) SetReference

func (o *LaunchInstanceOpts) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*LaunchInstanceOpts) SetRegion

func (o *LaunchInstanceOpts) SetRegion(v RegionName)

SetRegion sets field value

func (*LaunchInstanceOpts) SetRootDiskSize

func (o *LaunchInstanceOpts) SetRootDiskSize(v int32)

SetRootDiskSize gets a reference to the given int32 and assigns it to the RootDiskSize field.

func (*LaunchInstanceOpts) SetRootDiskStorageType

func (o *LaunchInstanceOpts) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType sets field value

func (*LaunchInstanceOpts) SetSshKey

func (o *LaunchInstanceOpts) SetSshKey(v string)

SetSshKey gets a reference to the given string and assigns it to the SshKey field.

func (*LaunchInstanceOpts) SetType

func (o *LaunchInstanceOpts) SetType(v TypeName)

SetType sets field value

func (LaunchInstanceOpts) ToMap

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

func (*LaunchInstanceOpts) UnmarshalJSON

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

type LaunchLoadBalancerOpts

type LaunchLoadBalancerOpts struct {
	Region RegionName `json:"region"`
	Type   TypeName   `json:"type"`
	// An identifying name you can refer to the load balancer
	Reference *string `json:"reference,omitempty"`
	// The contract applicable for the load balancer
	ContractType string `json:"contractType"`
	// How often you wish to be charged. Used only when contract type is MONTHLY. '1' means every month, '3' every three months and so on.
	BillingFrequency    int32       `json:"billingFrequency"`
	RootDiskStorageType StorageType `json:"rootDiskStorageType"`
	// The port that the registered instances listen to
	TargetPort           int32 `json:"targetPort"`
	AdditionalProperties map[string]interface{}
}

LaunchLoadBalancerOpts struct for LaunchLoadBalancerOpts

func NewLaunchLoadBalancerOpts

func NewLaunchLoadBalancerOpts(region RegionName, type_ TypeName, contractType string, billingFrequency int32, rootDiskStorageType StorageType, targetPort int32) *LaunchLoadBalancerOpts

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

func NewLaunchLoadBalancerOptsWithDefaults

func NewLaunchLoadBalancerOptsWithDefaults() *LaunchLoadBalancerOpts

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

func (*LaunchLoadBalancerOpts) GetBillingFrequency

func (o *LaunchLoadBalancerOpts) GetBillingFrequency() int32

GetBillingFrequency returns the BillingFrequency field value

func (*LaunchLoadBalancerOpts) GetBillingFrequencyOk

func (o *LaunchLoadBalancerOpts) GetBillingFrequencyOk() (*int32, bool)

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

func (*LaunchLoadBalancerOpts) GetContractType

func (o *LaunchLoadBalancerOpts) GetContractType() string

GetContractType returns the ContractType field value

func (*LaunchLoadBalancerOpts) GetContractTypeOk

func (o *LaunchLoadBalancerOpts) GetContractTypeOk() (*string, bool)

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

func (*LaunchLoadBalancerOpts) GetReference

func (o *LaunchLoadBalancerOpts) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*LaunchLoadBalancerOpts) GetReferenceOk

func (o *LaunchLoadBalancerOpts) GetReferenceOk() (*string, bool)

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

func (*LaunchLoadBalancerOpts) GetRegion

func (o *LaunchLoadBalancerOpts) GetRegion() RegionName

GetRegion returns the Region field value

func (*LaunchLoadBalancerOpts) GetRegionOk

func (o *LaunchLoadBalancerOpts) GetRegionOk() (*RegionName, bool)

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

func (*LaunchLoadBalancerOpts) GetRootDiskStorageType

func (o *LaunchLoadBalancerOpts) GetRootDiskStorageType() StorageType

GetRootDiskStorageType returns the RootDiskStorageType field value

func (*LaunchLoadBalancerOpts) GetRootDiskStorageTypeOk

func (o *LaunchLoadBalancerOpts) GetRootDiskStorageTypeOk() (*StorageType, bool)

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

func (*LaunchLoadBalancerOpts) GetTargetPort

func (o *LaunchLoadBalancerOpts) GetTargetPort() int32

GetTargetPort returns the TargetPort field value

func (*LaunchLoadBalancerOpts) GetTargetPortOk

func (o *LaunchLoadBalancerOpts) GetTargetPortOk() (*int32, bool)

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

func (*LaunchLoadBalancerOpts) GetType

func (o *LaunchLoadBalancerOpts) GetType() TypeName

GetType returns the Type field value

func (*LaunchLoadBalancerOpts) GetTypeOk

func (o *LaunchLoadBalancerOpts) GetTypeOk() (*TypeName, bool)

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

func (*LaunchLoadBalancerOpts) HasReference

func (o *LaunchLoadBalancerOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

func (LaunchLoadBalancerOpts) MarshalJSON

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

func (*LaunchLoadBalancerOpts) SetBillingFrequency

func (o *LaunchLoadBalancerOpts) SetBillingFrequency(v int32)

SetBillingFrequency sets field value

func (*LaunchLoadBalancerOpts) SetContractType

func (o *LaunchLoadBalancerOpts) SetContractType(v string)

SetContractType sets field value

func (*LaunchLoadBalancerOpts) SetReference

func (o *LaunchLoadBalancerOpts) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*LaunchLoadBalancerOpts) SetRegion

func (o *LaunchLoadBalancerOpts) SetRegion(v RegionName)

SetRegion sets field value

func (*LaunchLoadBalancerOpts) SetRootDiskStorageType

func (o *LaunchLoadBalancerOpts) SetRootDiskStorageType(v StorageType)

SetRootDiskStorageType sets field value

func (*LaunchLoadBalancerOpts) SetTargetPort

func (o *LaunchLoadBalancerOpts) SetTargetPort(v int32)

SetTargetPort sets field value

func (*LaunchLoadBalancerOpts) SetType

func (o *LaunchLoadBalancerOpts) SetType(v TypeName)

SetType sets field value

func (LaunchLoadBalancerOpts) ToMap

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

func (*LaunchLoadBalancerOpts) UnmarshalJSON

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

type LoadBalancer

type LoadBalancer struct {
	// The load balancer unique identifier
	Id        string    `json:"id"`
	Type      TypeName  `json:"type"`
	Resources Resources `json:"resources"`
	// The identifying name set to the load balancer
	Reference NullableString `json:"reference"`
	State     State          `json:"state"`
	// Date and time when the load balancer was started for the first time, right after launching it
	StartedAt            NullableTime `json:"startedAt"`
	AdditionalProperties map[string]interface{}
}

LoadBalancer struct for LoadBalancer

func NewLoadBalancer

func NewLoadBalancer(id string, type_ TypeName, resources Resources, reference NullableString, state State, startedAt NullableTime) *LoadBalancer

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

func NewLoadBalancerWithDefaults

func NewLoadBalancerWithDefaults() *LoadBalancer

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

func (*LoadBalancer) GetId

func (o *LoadBalancer) GetId() string

GetId returns the Id field value

func (*LoadBalancer) GetIdOk

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

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

func (*LoadBalancer) GetReference

func (o *LoadBalancer) GetReference() string

GetReference returns the Reference field value If the value is explicit nil, the zero value for string will be returned

func (*LoadBalancer) GetReferenceOk

func (o *LoadBalancer) GetReferenceOk() (*string, bool)

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

func (*LoadBalancer) GetResources

func (o *LoadBalancer) GetResources() Resources

GetResources returns the Resources field value

func (*LoadBalancer) GetResourcesOk

func (o *LoadBalancer) GetResourcesOk() (*Resources, bool)

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

func (*LoadBalancer) GetStartedAt

func (o *LoadBalancer) GetStartedAt() time.Time

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

func (*LoadBalancer) GetStartedAtOk

func (o *LoadBalancer) GetStartedAtOk() (*time.Time, bool)

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

func (*LoadBalancer) GetState

func (o *LoadBalancer) GetState() State

GetState returns the State field value

func (*LoadBalancer) GetStateOk

func (o *LoadBalancer) GetStateOk() (*State, bool)

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

func (*LoadBalancer) GetType

func (o *LoadBalancer) GetType() TypeName

GetType returns the Type field value

func (*LoadBalancer) GetTypeOk

func (o *LoadBalancer) GetTypeOk() (*TypeName, bool)

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

func (LoadBalancer) MarshalJSON

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

func (*LoadBalancer) SetId

func (o *LoadBalancer) SetId(v string)

SetId sets field value

func (*LoadBalancer) SetReference

func (o *LoadBalancer) SetReference(v string)

SetReference sets field value

func (*LoadBalancer) SetResources

func (o *LoadBalancer) SetResources(v Resources)

SetResources sets field value

func (*LoadBalancer) SetStartedAt

func (o *LoadBalancer) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*LoadBalancer) SetState

func (o *LoadBalancer) SetState(v State)

SetState sets field value

func (*LoadBalancer) SetType

func (o *LoadBalancer) SetType(v TypeName)

SetType sets field value

func (LoadBalancer) ToMap

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

func (*LoadBalancer) UnmarshalJSON

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

type LoadBalancerConfiguration

type LoadBalancerConfiguration struct {
	StickySession NullableStickySession `json:"stickySession"`
	Balance       Balance               `json:"balance"`
	HealthCheck   NullableHealthCheck   `json:"healthCheck"`
	// Is xForwardedFor header enabled or not
	XForwardedFor bool `json:"xForwardedFor"`
	// Time to close the connection if load balancer is idle
	IdleTimeOut int32 `json:"idleTimeOut"`
	// Port on which the backend (target) servers are listening to handle incoming requests
	TargetPort           int32 `json:"targetPort"`
	AdditionalProperties map[string]interface{}
}

LoadBalancerConfiguration Different configuration assigned for the load balancer

func NewLoadBalancerConfiguration

func NewLoadBalancerConfiguration(stickySession NullableStickySession, balance Balance, healthCheck NullableHealthCheck, xForwardedFor bool, idleTimeOut int32, targetPort int32) *LoadBalancerConfiguration

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

func NewLoadBalancerConfigurationWithDefaults

func NewLoadBalancerConfigurationWithDefaults() *LoadBalancerConfiguration

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

func (*LoadBalancerConfiguration) GetBalance

func (o *LoadBalancerConfiguration) GetBalance() Balance

GetBalance returns the Balance field value

func (*LoadBalancerConfiguration) GetBalanceOk

func (o *LoadBalancerConfiguration) GetBalanceOk() (*Balance, bool)

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

func (*LoadBalancerConfiguration) GetHealthCheck

func (o *LoadBalancerConfiguration) GetHealthCheck() HealthCheck

GetHealthCheck returns the HealthCheck field value If the value is explicit nil, the zero value for HealthCheck will be returned

func (*LoadBalancerConfiguration) GetHealthCheckOk

func (o *LoadBalancerConfiguration) GetHealthCheckOk() (*HealthCheck, bool)

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

func (*LoadBalancerConfiguration) GetIdleTimeOut

func (o *LoadBalancerConfiguration) GetIdleTimeOut() int32

GetIdleTimeOut returns the IdleTimeOut field value

func (*LoadBalancerConfiguration) GetIdleTimeOutOk

func (o *LoadBalancerConfiguration) GetIdleTimeOutOk() (*int32, bool)

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

func (*LoadBalancerConfiguration) GetStickySession

func (o *LoadBalancerConfiguration) GetStickySession() StickySession

GetStickySession returns the StickySession field value If the value is explicit nil, the zero value for StickySession will be returned

func (*LoadBalancerConfiguration) GetStickySessionOk

func (o *LoadBalancerConfiguration) GetStickySessionOk() (*StickySession, bool)

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

func (*LoadBalancerConfiguration) GetTargetPort

func (o *LoadBalancerConfiguration) GetTargetPort() int32

GetTargetPort returns the TargetPort field value

func (*LoadBalancerConfiguration) GetTargetPortOk

func (o *LoadBalancerConfiguration) GetTargetPortOk() (*int32, bool)

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

func (*LoadBalancerConfiguration) GetXForwardedFor

func (o *LoadBalancerConfiguration) GetXForwardedFor() bool

GetXForwardedFor returns the XForwardedFor field value

func (*LoadBalancerConfiguration) GetXForwardedForOk

func (o *LoadBalancerConfiguration) GetXForwardedForOk() (*bool, bool)

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

func (LoadBalancerConfiguration) MarshalJSON

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

func (*LoadBalancerConfiguration) SetBalance

func (o *LoadBalancerConfiguration) SetBalance(v Balance)

SetBalance sets field value

func (*LoadBalancerConfiguration) SetHealthCheck

func (o *LoadBalancerConfiguration) SetHealthCheck(v HealthCheck)

SetHealthCheck sets field value

func (*LoadBalancerConfiguration) SetIdleTimeOut

func (o *LoadBalancerConfiguration) SetIdleTimeOut(v int32)

SetIdleTimeOut sets field value

func (*LoadBalancerConfiguration) SetStickySession

func (o *LoadBalancerConfiguration) SetStickySession(v StickySession)

SetStickySession sets field value

func (*LoadBalancerConfiguration) SetTargetPort

func (o *LoadBalancerConfiguration) SetTargetPort(v int32)

SetTargetPort sets field value

func (*LoadBalancerConfiguration) SetXForwardedFor

func (o *LoadBalancerConfiguration) SetXForwardedFor(v bool)

SetXForwardedFor sets field value

func (LoadBalancerConfiguration) ToMap

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

func (*LoadBalancerConfiguration) UnmarshalJSON

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

type LoadBalancerDetails

type LoadBalancerDetails struct {
	// The load balancer unique identifier
	Id        string    `json:"id"`
	Type      TypeName  `json:"type"`
	Resources Resources `json:"resources"`
	// The identifying name set to the load balancer
	Reference NullableString `json:"reference"`
	State     State          `json:"state"`
	// Date and time when the load balancer was started for the first time, right after launching it
	StartedAt            NullableTime                      `json:"startedAt"`
	Ips                  []IpDetails                       `json:"ips"`
	Region               RegionName                        `json:"region"`
	Configuration        NullableLoadBalancerConfiguration `json:"configuration"`
	AutoScalingGroup     NullableAutoScalingGroup          `json:"autoScalingGroup"`
	PrivateNetwork       NullablePrivateNetwork            `json:"privateNetwork"`
	Contract             Contract                          `json:"contract"`
	AdditionalProperties map[string]interface{}
}

LoadBalancerDetails struct for LoadBalancerDetails

func NewLoadBalancerDetails

func NewLoadBalancerDetails(id string, type_ TypeName, resources Resources, reference NullableString, state State, startedAt NullableTime, ips []IpDetails, region RegionName, configuration NullableLoadBalancerConfiguration, autoScalingGroup NullableAutoScalingGroup, privateNetwork NullablePrivateNetwork, contract Contract) *LoadBalancerDetails

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

func NewLoadBalancerDetailsWithDefaults

func NewLoadBalancerDetailsWithDefaults() *LoadBalancerDetails

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

func (*LoadBalancerDetails) GetAutoScalingGroup

func (o *LoadBalancerDetails) GetAutoScalingGroup() AutoScalingGroup

GetAutoScalingGroup returns the AutoScalingGroup field value If the value is explicit nil, the zero value for AutoScalingGroup will be returned

func (*LoadBalancerDetails) GetAutoScalingGroupOk

func (o *LoadBalancerDetails) GetAutoScalingGroupOk() (*AutoScalingGroup, bool)

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

func (*LoadBalancerDetails) GetConfiguration

func (o *LoadBalancerDetails) GetConfiguration() LoadBalancerConfiguration

GetConfiguration returns the Configuration field value If the value is explicit nil, the zero value for LoadBalancerConfiguration will be returned

func (*LoadBalancerDetails) GetConfigurationOk

func (o *LoadBalancerDetails) GetConfigurationOk() (*LoadBalancerConfiguration, bool)

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

func (*LoadBalancerDetails) GetContract

func (o *LoadBalancerDetails) GetContract() Contract

GetContract returns the Contract field value

func (*LoadBalancerDetails) GetContractOk

func (o *LoadBalancerDetails) GetContractOk() (*Contract, bool)

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

func (*LoadBalancerDetails) GetId

func (o *LoadBalancerDetails) GetId() string

GetId returns the Id field value

func (*LoadBalancerDetails) GetIdOk

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

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

func (*LoadBalancerDetails) GetIps

func (o *LoadBalancerDetails) GetIps() []IpDetails

GetIps returns the Ips field value

func (*LoadBalancerDetails) GetIpsOk

func (o *LoadBalancerDetails) GetIpsOk() ([]IpDetails, bool)

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

func (*LoadBalancerDetails) GetPrivateNetwork

func (o *LoadBalancerDetails) GetPrivateNetwork() PrivateNetwork

GetPrivateNetwork returns the PrivateNetwork field value If the value is explicit nil, the zero value for PrivateNetwork will be returned

func (*LoadBalancerDetails) GetPrivateNetworkOk

func (o *LoadBalancerDetails) GetPrivateNetworkOk() (*PrivateNetwork, bool)

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

func (*LoadBalancerDetails) GetReference

func (o *LoadBalancerDetails) GetReference() string

GetReference returns the Reference field value If the value is explicit nil, the zero value for string will be returned

func (*LoadBalancerDetails) GetReferenceOk

func (o *LoadBalancerDetails) GetReferenceOk() (*string, bool)

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

func (*LoadBalancerDetails) GetRegion

func (o *LoadBalancerDetails) GetRegion() RegionName

GetRegion returns the Region field value

func (*LoadBalancerDetails) GetRegionOk

func (o *LoadBalancerDetails) GetRegionOk() (*RegionName, bool)

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

func (*LoadBalancerDetails) GetResources

func (o *LoadBalancerDetails) GetResources() Resources

GetResources returns the Resources field value

func (*LoadBalancerDetails) GetResourcesOk

func (o *LoadBalancerDetails) GetResourcesOk() (*Resources, bool)

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

func (*LoadBalancerDetails) GetStartedAt

func (o *LoadBalancerDetails) GetStartedAt() time.Time

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

func (*LoadBalancerDetails) GetStartedAtOk

func (o *LoadBalancerDetails) GetStartedAtOk() (*time.Time, bool)

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

func (*LoadBalancerDetails) GetState

func (o *LoadBalancerDetails) GetState() State

GetState returns the State field value

func (*LoadBalancerDetails) GetStateOk

func (o *LoadBalancerDetails) GetStateOk() (*State, bool)

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

func (*LoadBalancerDetails) GetType

func (o *LoadBalancerDetails) GetType() TypeName

GetType returns the Type field value

func (*LoadBalancerDetails) GetTypeOk

func (o *LoadBalancerDetails) GetTypeOk() (*TypeName, bool)

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

func (LoadBalancerDetails) MarshalJSON

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

func (*LoadBalancerDetails) SetAutoScalingGroup

func (o *LoadBalancerDetails) SetAutoScalingGroup(v AutoScalingGroup)

SetAutoScalingGroup sets field value

func (*LoadBalancerDetails) SetConfiguration

func (o *LoadBalancerDetails) SetConfiguration(v LoadBalancerConfiguration)

SetConfiguration sets field value

func (*LoadBalancerDetails) SetContract

func (o *LoadBalancerDetails) SetContract(v Contract)

SetContract sets field value

func (*LoadBalancerDetails) SetId

func (o *LoadBalancerDetails) SetId(v string)

SetId sets field value

func (*LoadBalancerDetails) SetIps

func (o *LoadBalancerDetails) SetIps(v []IpDetails)

SetIps sets field value

func (*LoadBalancerDetails) SetPrivateNetwork

func (o *LoadBalancerDetails) SetPrivateNetwork(v PrivateNetwork)

SetPrivateNetwork sets field value

func (*LoadBalancerDetails) SetReference

func (o *LoadBalancerDetails) SetReference(v string)

SetReference sets field value

func (*LoadBalancerDetails) SetRegion

func (o *LoadBalancerDetails) SetRegion(v RegionName)

SetRegion sets field value

func (*LoadBalancerDetails) SetResources

func (o *LoadBalancerDetails) SetResources(v Resources)

SetResources sets field value

func (*LoadBalancerDetails) SetStartedAt

func (o *LoadBalancerDetails) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*LoadBalancerDetails) SetState

func (o *LoadBalancerDetails) SetState(v State)

SetState sets field value

func (*LoadBalancerDetails) SetType

func (o *LoadBalancerDetails) SetType(v TypeName)

SetType sets field value

func (LoadBalancerDetails) ToMap

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

func (*LoadBalancerDetails) UnmarshalJSON

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

type LoadBalancerListener

type LoadBalancerListener struct {
	// Protocol of the listener.
	Protocol *string `json:"protocol,omitempty"`
	// Port for the listener
	Port *int32 `json:"port,omitempty"`
	// The listener unique identifier
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

LoadBalancerListener struct for LoadBalancerListener

func NewLoadBalancerListener

func NewLoadBalancerListener() *LoadBalancerListener

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

func NewLoadBalancerListenerWithDefaults

func NewLoadBalancerListenerWithDefaults() *LoadBalancerListener

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

func (*LoadBalancerListener) GetId

func (o *LoadBalancerListener) GetId() string

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

func (*LoadBalancerListener) GetIdOk

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

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

func (*LoadBalancerListener) GetPort

func (o *LoadBalancerListener) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*LoadBalancerListener) GetPortOk

func (o *LoadBalancerListener) GetPortOk() (*int32, bool)

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

func (*LoadBalancerListener) GetProtocol

func (o *LoadBalancerListener) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*LoadBalancerListener) GetProtocolOk

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

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

func (*LoadBalancerListener) HasId

func (o *LoadBalancerListener) HasId() bool

HasId returns a boolean if a field has been set.

func (*LoadBalancerListener) HasPort

func (o *LoadBalancerListener) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*LoadBalancerListener) HasProtocol

func (o *LoadBalancerListener) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (LoadBalancerListener) MarshalJSON

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

func (*LoadBalancerListener) SetId

func (o *LoadBalancerListener) SetId(v string)

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

func (*LoadBalancerListener) SetPort

func (o *LoadBalancerListener) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*LoadBalancerListener) SetProtocol

func (o *LoadBalancerListener) SetProtocol(v string)

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

func (LoadBalancerListener) ToMap

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

func (*LoadBalancerListener) UnmarshalJSON

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

type LoadBalancerListenerOpts

type LoadBalancerListenerOpts struct {
	Protocol string `json:"protocol"`
	// Port that the listener listens to
	Port                 int32        `json:"port"`
	Certificate          *Certificate `json:"certificate,omitempty"`
	AdditionalProperties map[string]interface{}
}

LoadBalancerListenerOpts struct for LoadBalancerListenerOpts

func NewLoadBalancerListenerOpts

func NewLoadBalancerListenerOpts(protocol string, port int32) *LoadBalancerListenerOpts

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

func NewLoadBalancerListenerOptsWithDefaults

func NewLoadBalancerListenerOptsWithDefaults() *LoadBalancerListenerOpts

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

func (*LoadBalancerListenerOpts) GetCertificate

func (o *LoadBalancerListenerOpts) GetCertificate() Certificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*LoadBalancerListenerOpts) GetCertificateOk

func (o *LoadBalancerListenerOpts) GetCertificateOk() (*Certificate, bool)

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

func (*LoadBalancerListenerOpts) GetPort

func (o *LoadBalancerListenerOpts) GetPort() int32

GetPort returns the Port field value

func (*LoadBalancerListenerOpts) GetPortOk

func (o *LoadBalancerListenerOpts) GetPortOk() (*int32, bool)

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

func (*LoadBalancerListenerOpts) GetProtocol

func (o *LoadBalancerListenerOpts) GetProtocol() string

GetProtocol returns the Protocol field value

func (*LoadBalancerListenerOpts) GetProtocolOk

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

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

func (*LoadBalancerListenerOpts) HasCertificate

func (o *LoadBalancerListenerOpts) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (LoadBalancerListenerOpts) MarshalJSON

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

func (*LoadBalancerListenerOpts) SetCertificate

func (o *LoadBalancerListenerOpts) SetCertificate(v Certificate)

SetCertificate gets a reference to the given Certificate and assigns it to the Certificate field.

func (*LoadBalancerListenerOpts) SetPort

func (o *LoadBalancerListenerOpts) SetPort(v int32)

SetPort sets field value

func (*LoadBalancerListenerOpts) SetProtocol

func (o *LoadBalancerListenerOpts) SetProtocol(v string)

SetProtocol sets field value

func (LoadBalancerListenerOpts) ToMap

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

func (*LoadBalancerListenerOpts) UnmarshalJSON

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

type LoadBalancerTargetOpt

type LoadBalancerTargetOpt struct {
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

LoadBalancerTargetOpt struct for LoadBalancerTargetOpt

func NewLoadBalancerTargetOpt

func NewLoadBalancerTargetOpt() *LoadBalancerTargetOpt

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

func NewLoadBalancerTargetOptWithDefaults

func NewLoadBalancerTargetOptWithDefaults() *LoadBalancerTargetOpt

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

func (*LoadBalancerTargetOpt) GetId

func (o *LoadBalancerTargetOpt) GetId() string

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

func (*LoadBalancerTargetOpt) GetIdOk

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

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

func (*LoadBalancerTargetOpt) HasId

func (o *LoadBalancerTargetOpt) HasId() bool

HasId returns a boolean if a field has been set.

func (LoadBalancerTargetOpt) MarshalJSON

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

func (*LoadBalancerTargetOpt) SetId

func (o *LoadBalancerTargetOpt) SetId(v string)

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

func (LoadBalancerTargetOpt) ToMap

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

func (*LoadBalancerTargetOpt) UnmarshalJSON

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

type LoadBalancerTargetOpts

type LoadBalancerTargetOpts struct {
	Targets              []LoadBalancerTargetOpt `json:"targets,omitempty"`
	AdditionalProperties map[string]interface{}
}

LoadBalancerTargetOpts struct for LoadBalancerTargetOpts

func NewLoadBalancerTargetOpts

func NewLoadBalancerTargetOpts() *LoadBalancerTargetOpts

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

func NewLoadBalancerTargetOptsWithDefaults

func NewLoadBalancerTargetOptsWithDefaults() *LoadBalancerTargetOpts

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

func (*LoadBalancerTargetOpts) GetTargets

GetTargets returns the Targets field value if set, zero value otherwise.

func (*LoadBalancerTargetOpts) GetTargetsOk

func (o *LoadBalancerTargetOpts) GetTargetsOk() ([]LoadBalancerTargetOpt, bool)

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

func (*LoadBalancerTargetOpts) HasTargets

func (o *LoadBalancerTargetOpts) HasTargets() bool

HasTargets returns a boolean if a field has been set.

func (LoadBalancerTargetOpts) MarshalJSON

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

func (*LoadBalancerTargetOpts) SetTargets

func (o *LoadBalancerTargetOpts) SetTargets(v []LoadBalancerTargetOpt)

SetTargets gets a reference to the given []LoadBalancerTargetOpt and assigns it to the Targets field.

func (LoadBalancerTargetOpts) ToMap

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

func (*LoadBalancerTargetOpts) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MarketApp

type MarketApp struct {
	Id                   *string        `json:"id,omitempty"`
	Name                 *string        `json:"name,omitempty"`
	Category             *string        `json:"category,omitempty"`
	Version              NullableString `json:"version,omitempty"`
	Family               *string        `json:"family,omitempty"`
	Image                *Image         `json:"image,omitempty"`
	AdditionalProperties map[string]interface{}
}

MarketApp struct for MarketApp

func NewMarketApp

func NewMarketApp() *MarketApp

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

func NewMarketAppWithDefaults

func NewMarketAppWithDefaults() *MarketApp

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

func (*MarketApp) GetCategory

func (o *MarketApp) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*MarketApp) GetCategoryOk

func (o *MarketApp) GetCategoryOk() (*string, bool)

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

func (*MarketApp) GetFamily

func (o *MarketApp) GetFamily() string

GetFamily returns the Family field value if set, zero value otherwise.

func (*MarketApp) GetFamilyOk

func (o *MarketApp) GetFamilyOk() (*string, bool)

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

func (*MarketApp) GetId

func (o *MarketApp) GetId() string

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

func (*MarketApp) GetIdOk

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

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

func (*MarketApp) GetImage

func (o *MarketApp) GetImage() Image

GetImage returns the Image field value if set, zero value otherwise.

func (*MarketApp) GetImageOk

func (o *MarketApp) GetImageOk() (*Image, bool)

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

func (*MarketApp) GetName

func (o *MarketApp) GetName() string

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

func (*MarketApp) GetNameOk

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

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

func (*MarketApp) GetVersion

func (o *MarketApp) GetVersion() string

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

func (*MarketApp) GetVersionOk

func (o *MarketApp) GetVersionOk() (*string, bool)

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

func (*MarketApp) HasCategory

func (o *MarketApp) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*MarketApp) HasFamily

func (o *MarketApp) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (*MarketApp) HasId

func (o *MarketApp) HasId() bool

HasId returns a boolean if a field has been set.

func (*MarketApp) HasImage

func (o *MarketApp) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*MarketApp) HasName

func (o *MarketApp) HasName() bool

HasName returns a boolean if a field has been set.

func (*MarketApp) HasVersion

func (o *MarketApp) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (MarketApp) MarshalJSON

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

func (*MarketApp) SetCategory

func (o *MarketApp) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*MarketApp) SetFamily

func (o *MarketApp) SetFamily(v string)

SetFamily gets a reference to the given string and assigns it to the Family field.

func (*MarketApp) SetId

func (o *MarketApp) SetId(v string)

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

func (*MarketApp) SetImage

func (o *MarketApp) SetImage(v Image)

SetImage gets a reference to the given Image and assigns it to the Image field.

func (*MarketApp) SetName

func (o *MarketApp) SetName(v string)

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

func (*MarketApp) SetVersion

func (o *MarketApp) SetVersion(v string)

SetVersion gets a reference to the given NullableString and assigns it to the Version field.

func (*MarketApp) SetVersionNil

func (o *MarketApp) SetVersionNil()

SetVersionNil sets the value for Version to be an explicit nil

func (MarketApp) ToMap

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

func (*MarketApp) UnmarshalJSON

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

func (*MarketApp) UnsetVersion

func (o *MarketApp) UnsetVersion()

UnsetVersion ensures that no value is present for Version, not even an explicit nil

type MarketAppId

type MarketAppId string

MarketAppId Standard images market apps

const (
	MARKETAPPID_CPANEL_30       MarketAppId = "CPANEL_30"
	MARKETAPPID_CPANEL_100      MarketAppId = "CPANEL_100"
	MARKETAPPID_PLESK_WEB_PRO   MarketAppId = "PLESK_WEB_PRO"
	MARKETAPPID_PLESK_WEB_ADMIN MarketAppId = "PLESK_WEB_ADMIN"
)

List of marketAppId

func NewMarketAppIdFromValue

func NewMarketAppIdFromValue(v string) (*MarketAppId, error)

NewMarketAppIdFromValue returns a pointer to a valid MarketAppId for the value passed as argument, or an error if the value passed is not allowed by the enum

func (MarketAppId) IsValid

func (v MarketAppId) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MarketAppId) Ptr

func (v MarketAppId) Ptr() *MarketAppId

Ptr returns reference to marketAppId value

func (*MarketAppId) UnmarshalJSON

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

type Memory

type Memory struct {
	Value                float32 `json:"value"`
	Unit                 string  `json:"unit"`
	AdditionalProperties map[string]interface{}
}

Memory Total memory in GiB

func NewMemory

func NewMemory(value float32, unit string) *Memory

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

func NewMemoryWithDefaults

func NewMemoryWithDefaults() *Memory

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

func (*Memory) GetUnit

func (o *Memory) GetUnit() string

GetUnit returns the Unit field value

func (*Memory) GetUnitOk

func (o *Memory) GetUnitOk() (*string, bool)

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

func (*Memory) GetValue

func (o *Memory) GetValue() float32

GetValue returns the Value field value

func (*Memory) GetValueOk

func (o *Memory) GetValueOk() (*float32, bool)

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

func (Memory) MarshalJSON

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

func (*Memory) SetUnit

func (o *Memory) SetUnit(v string)

SetUnit sets field value

func (*Memory) SetValue

func (o *Memory) SetValue(v float32)

SetValue sets field value

func (Memory) ToMap

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

func (*Memory) UnmarshalJSON

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

type Metadata

type Metadata struct {
	// Total amount of elements in this collection
	TotalCount int32 `json:"totalCount"`
	// The offset used to generate this response
	Offset int32 `json:"offset"`
	// The limit used to generate this response
	Limit                int32 `json:"limit"`
	AdditionalProperties map[string]interface{}
}

Metadata Metadata about the collection

func NewMetadata

func NewMetadata(totalCount int32, offset int32, limit int32) *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) GetLimit

func (o *Metadata) GetLimit() int32

GetLimit returns the Limit field value

func (*Metadata) GetLimitOk

func (o *Metadata) GetLimitOk() (*int32, bool)

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

func (*Metadata) GetOffset

func (o *Metadata) GetOffset() int32

GetOffset returns the Offset field value

func (*Metadata) GetOffsetOk

func (o *Metadata) GetOffsetOk() (*int32, bool)

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

func (*Metadata) GetTotalCount

func (o *Metadata) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*Metadata) GetTotalCountOk

func (o *Metadata) GetTotalCountOk() (*int32, bool)

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

func (Metadata) MarshalJSON

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

func (*Metadata) SetLimit

func (o *Metadata) SetLimit(v int32)

SetLimit sets field value

func (*Metadata) SetOffset

func (o *Metadata) SetOffset(v int32)

SetOffset sets field value

func (*Metadata) SetTotalCount

func (o *Metadata) SetTotalCount(v int32)

SetTotalCount sets field value

func (Metadata) ToMap

func (o Metadata) ToMap() (map[string]interface{}, error)

func (*Metadata) UnmarshalJSON

func (o *Metadata) UnmarshalJSON(data []byte) (err error)

type NetworkSpeed

type NetworkSpeed struct {
	Value                int32  `json:"value"`
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

NetworkSpeed Network speed in Gbps

func NewNetworkSpeed

func NewNetworkSpeed(value int32, unit string) *NetworkSpeed

NewNetworkSpeed instantiates a new NetworkSpeed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkSpeedWithDefaults

func NewNetworkSpeedWithDefaults() *NetworkSpeed

NewNetworkSpeedWithDefaults instantiates a new NetworkSpeed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkSpeed) GetUnit

func (o *NetworkSpeed) GetUnit() string

GetUnit returns the Unit field value

func (*NetworkSpeed) GetUnitOk

func (o *NetworkSpeed) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (*NetworkSpeed) GetValue

func (o *NetworkSpeed) GetValue() int32

GetValue returns the Value field value

func (*NetworkSpeed) GetValueOk

func (o *NetworkSpeed) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (NetworkSpeed) MarshalJSON

func (o NetworkSpeed) MarshalJSON() ([]byte, error)

func (*NetworkSpeed) SetUnit

func (o *NetworkSpeed) SetUnit(v string)

SetUnit sets field value

func (*NetworkSpeed) SetValue

func (o *NetworkSpeed) SetValue(v int32)

SetValue sets field value

func (NetworkSpeed) ToMap

func (o NetworkSpeed) ToMap() (map[string]interface{}, error)

func (*NetworkSpeed) UnmarshalJSON

func (o *NetworkSpeed) UnmarshalJSON(data []byte) (err error)

type NetworkType

type NetworkType string

NetworkType the model 'NetworkType'

const (
	NETWORKTYPE_INTERNAL NetworkType = "INTERNAL"
	NETWORKTYPE_PUBLIC   NetworkType = "PUBLIC"
)

List of networkType

func NewNetworkTypeFromValue

func NewNetworkTypeFromValue(v string) (*NetworkType, error)

NewNetworkTypeFromValue returns a pointer to a valid NetworkType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (NetworkType) IsValid

func (v NetworkType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (NetworkType) Ptr

func (v NetworkType) Ptr() *NetworkType

Ptr returns reference to networkType value

func (*NetworkType) UnmarshalJSON

func (v *NetworkType) UnmarshalJSON(src []byte) error

type NullRouteIpOpts

type NullRouteIpOpts struct {
	// The reason why the IP is being null-routed
	Comment *string `json:"comment,omitempty"`
	// If provided, reverts the operation automatically in the specified value, in hours
	AutomatedUnnulingAt  *int32 `json:"automatedUnnulingAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

NullRouteIpOpts struct for NullRouteIpOpts

func NewNullRouteIpOpts

func NewNullRouteIpOpts() *NullRouteIpOpts

NewNullRouteIpOpts instantiates a new NullRouteIpOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNullRouteIpOptsWithDefaults

func NewNullRouteIpOptsWithDefaults() *NullRouteIpOpts

NewNullRouteIpOptsWithDefaults instantiates a new NullRouteIpOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NullRouteIpOpts) GetAutomatedUnnulingAt

func (o *NullRouteIpOpts) GetAutomatedUnnulingAt() int32

GetAutomatedUnnulingAt returns the AutomatedUnnulingAt field value if set, zero value otherwise.

func (*NullRouteIpOpts) GetAutomatedUnnulingAtOk

func (o *NullRouteIpOpts) GetAutomatedUnnulingAtOk() (*int32, bool)

GetAutomatedUnnulingAtOk returns a tuple with the AutomatedUnnulingAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NullRouteIpOpts) GetComment

func (o *NullRouteIpOpts) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*NullRouteIpOpts) GetCommentOk

func (o *NullRouteIpOpts) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NullRouteIpOpts) HasAutomatedUnnulingAt

func (o *NullRouteIpOpts) HasAutomatedUnnulingAt() bool

HasAutomatedUnnulingAt returns a boolean if a field has been set.

func (*NullRouteIpOpts) HasComment

func (o *NullRouteIpOpts) HasComment() bool

HasComment returns a boolean if a field has been set.

func (NullRouteIpOpts) MarshalJSON

func (o NullRouteIpOpts) MarshalJSON() ([]byte, error)

func (*NullRouteIpOpts) SetAutomatedUnnulingAt

func (o *NullRouteIpOpts) SetAutomatedUnnulingAt(v int32)

SetAutomatedUnnulingAt gets a reference to the given int32 and assigns it to the AutomatedUnnulingAt field.

func (*NullRouteIpOpts) SetComment

func (o *NullRouteIpOpts) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (NullRouteIpOpts) ToMap

func (o NullRouteIpOpts) ToMap() (map[string]interface{}, error)

func (*NullRouteIpOpts) UnmarshalJSON

func (o *NullRouteIpOpts) UnmarshalJSON(data []byte) (err error)

type NullableAttachIsoOpts

type NullableAttachIsoOpts struct {
	// contains filtered or unexported fields
}

func NewNullableAttachIsoOpts

func NewNullableAttachIsoOpts(val *AttachIsoOpts) *NullableAttachIsoOpts

func (NullableAttachIsoOpts) Get

func (NullableAttachIsoOpts) IsSet

func (v NullableAttachIsoOpts) IsSet() bool

func (NullableAttachIsoOpts) MarshalJSON

func (v NullableAttachIsoOpts) MarshalJSON() ([]byte, error)

func (*NullableAttachIsoOpts) Set

func (v *NullableAttachIsoOpts) Set(val *AttachIsoOpts)

func (*NullableAttachIsoOpts) UnmarshalJSON

func (v *NullableAttachIsoOpts) UnmarshalJSON(src []byte) error

func (*NullableAttachIsoOpts) Unset

func (v *NullableAttachIsoOpts) Unset()

type NullableAutoScaledInstance

type NullableAutoScaledInstance struct {
	// contains filtered or unexported fields
}

func NewNullableAutoScaledInstance

func NewNullableAutoScaledInstance(val *AutoScaledInstance) *NullableAutoScaledInstance

func (NullableAutoScaledInstance) Get

func (NullableAutoScaledInstance) IsSet

func (v NullableAutoScaledInstance) IsSet() bool

func (NullableAutoScaledInstance) MarshalJSON

func (v NullableAutoScaledInstance) MarshalJSON() ([]byte, error)

func (*NullableAutoScaledInstance) Set

func (*NullableAutoScaledInstance) UnmarshalJSON

func (v *NullableAutoScaledInstance) UnmarshalJSON(src []byte) error

func (*NullableAutoScaledInstance) Unset

func (v *NullableAutoScaledInstance) Unset()

type NullableAutoScalingGroup

type NullableAutoScalingGroup struct {
	// contains filtered or unexported fields
}

func NewNullableAutoScalingGroup

func NewNullableAutoScalingGroup(val *AutoScalingGroup) *NullableAutoScalingGroup

func (NullableAutoScalingGroup) Get

func (NullableAutoScalingGroup) IsSet

func (v NullableAutoScalingGroup) IsSet() bool

func (NullableAutoScalingGroup) MarshalJSON

func (v NullableAutoScalingGroup) MarshalJSON() ([]byte, error)

func (*NullableAutoScalingGroup) Set

func (*NullableAutoScalingGroup) UnmarshalJSON

func (v *NullableAutoScalingGroup) UnmarshalJSON(src []byte) error

func (*NullableAutoScalingGroup) Unset

func (v *NullableAutoScalingGroup) Unset()

type NullableAutoScalingGroupDetails

type NullableAutoScalingGroupDetails struct {
	// contains filtered or unexported fields
}

func (NullableAutoScalingGroupDetails) Get

func (NullableAutoScalingGroupDetails) IsSet

func (NullableAutoScalingGroupDetails) MarshalJSON

func (v NullableAutoScalingGroupDetails) MarshalJSON() ([]byte, error)

func (*NullableAutoScalingGroupDetails) Set

func (*NullableAutoScalingGroupDetails) UnmarshalJSON

func (v *NullableAutoScalingGroupDetails) UnmarshalJSON(src []byte) error

func (*NullableAutoScalingGroupDetails) Unset

type NullableAutoScalingGroupState

type NullableAutoScalingGroupState struct {
	// contains filtered or unexported fields
}

func (NullableAutoScalingGroupState) Get

func (NullableAutoScalingGroupState) IsSet

func (NullableAutoScalingGroupState) MarshalJSON

func (v NullableAutoScalingGroupState) MarshalJSON() ([]byte, error)

func (*NullableAutoScalingGroupState) Set

func (*NullableAutoScalingGroupState) UnmarshalJSON

func (v *NullableAutoScalingGroupState) UnmarshalJSON(src []byte) error

func (*NullableAutoScalingGroupState) Unset

func (v *NullableAutoScalingGroupState) Unset()

type NullableAutoScalingGroupType

type NullableAutoScalingGroupType struct {
	// contains filtered or unexported fields
}

func NewNullableAutoScalingGroupType

func NewNullableAutoScalingGroupType(val *AutoScalingGroupType) *NullableAutoScalingGroupType

func (NullableAutoScalingGroupType) Get

func (NullableAutoScalingGroupType) IsSet

func (NullableAutoScalingGroupType) MarshalJSON

func (v NullableAutoScalingGroupType) MarshalJSON() ([]byte, error)

func (*NullableAutoScalingGroupType) Set

func (*NullableAutoScalingGroupType) UnmarshalJSON

func (v *NullableAutoScalingGroupType) UnmarshalJSON(src []byte) error

func (*NullableAutoScalingGroupType) Unset

func (v *NullableAutoScalingGroupType) Unset()

type NullableBalance

type NullableBalance struct {
	// contains filtered or unexported fields
}

func NewNullableBalance

func NewNullableBalance(val *Balance) *NullableBalance

func (NullableBalance) Get

func (v NullableBalance) Get() *Balance

func (NullableBalance) IsSet

func (v NullableBalance) IsSet() bool

func (NullableBalance) MarshalJSON

func (v NullableBalance) MarshalJSON() ([]byte, error)

func (*NullableBalance) Set

func (v *NullableBalance) Set(val *Balance)

func (*NullableBalance) UnmarshalJSON

func (v *NullableBalance) UnmarshalJSON(src []byte) error

func (*NullableBalance) Unset

func (v *NullableBalance) Unset()

type NullableBilling

type NullableBilling struct {
	// contains filtered or unexported fields
}

func NewNullableBilling

func NewNullableBilling(val *Billing) *NullableBilling

func (NullableBilling) Get

func (v NullableBilling) Get() *Billing

func (NullableBilling) IsSet

func (v NullableBilling) IsSet() bool

func (NullableBilling) MarshalJSON

func (v NullableBilling) MarshalJSON() ([]byte, error)

func (*NullableBilling) Set

func (v *NullableBilling) Set(val *Billing)

func (*NullableBilling) UnmarshalJSON

func (v *NullableBilling) UnmarshalJSON(src []byte) error

func (*NullableBilling) Unset

func (v *NullableBilling) Unset()

type NullableBillingFrequency

type NullableBillingFrequency struct {
	// contains filtered or unexported fields
}

func NewNullableBillingFrequency

func NewNullableBillingFrequency(val *BillingFrequency) *NullableBillingFrequency

func (NullableBillingFrequency) Get

func (NullableBillingFrequency) IsSet

func (v NullableBillingFrequency) IsSet() bool

func (NullableBillingFrequency) MarshalJSON

func (v NullableBillingFrequency) MarshalJSON() ([]byte, error)

func (*NullableBillingFrequency) Set

func (*NullableBillingFrequency) UnmarshalJSON

func (v *NullableBillingFrequency) UnmarshalJSON(src []byte) error

func (*NullableBillingFrequency) Unset

func (v *NullableBillingFrequency) 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 NullableCertificate

type NullableCertificate struct {
	// contains filtered or unexported fields
}

func NewNullableCertificate

func NewNullableCertificate(val *Certificate) *NullableCertificate

func (NullableCertificate) Get

func (NullableCertificate) IsSet

func (v NullableCertificate) IsSet() bool

func (NullableCertificate) MarshalJSON

func (v NullableCertificate) MarshalJSON() ([]byte, error)

func (*NullableCertificate) Set

func (v *NullableCertificate) Set(val *Certificate)

func (*NullableCertificate) UnmarshalJSON

func (v *NullableCertificate) UnmarshalJSON(src []byte) error

func (*NullableCertificate) Unset

func (v *NullableCertificate) Unset()

type NullableContract

type NullableContract struct {
	// contains filtered or unexported fields
}

func NewNullableContract

func NewNullableContract(val *Contract) *NullableContract

func (NullableContract) Get

func (v NullableContract) Get() *Contract

func (NullableContract) IsSet

func (v NullableContract) IsSet() bool

func (NullableContract) MarshalJSON

func (v NullableContract) MarshalJSON() ([]byte, error)

func (*NullableContract) Set

func (v *NullableContract) Set(val *Contract)

func (*NullableContract) UnmarshalJSON

func (v *NullableContract) UnmarshalJSON(src []byte) error

func (*NullableContract) Unset

func (v *NullableContract) Unset()

type NullableContractState

type NullableContractState struct {
	// contains filtered or unexported fields
}

func NewNullableContractState

func NewNullableContractState(val *ContractState) *NullableContractState

func (NullableContractState) Get

func (NullableContractState) IsSet

func (v NullableContractState) IsSet() bool

func (NullableContractState) MarshalJSON

func (v NullableContractState) MarshalJSON() ([]byte, error)

func (*NullableContractState) Set

func (v *NullableContractState) Set(val *ContractState)

func (*NullableContractState) UnmarshalJSON

func (v *NullableContractState) UnmarshalJSON(src []byte) error

func (*NullableContractState) Unset

func (v *NullableContractState) Unset()

type NullableContractTerm

type NullableContractTerm struct {
	// contains filtered or unexported fields
}

func NewNullableContractTerm

func NewNullableContractTerm(val *ContractTerm) *NullableContractTerm

func (NullableContractTerm) Get

func (NullableContractTerm) IsSet

func (v NullableContractTerm) IsSet() bool

func (NullableContractTerm) MarshalJSON

func (v NullableContractTerm) MarshalJSON() ([]byte, error)

func (*NullableContractTerm) Set

func (v *NullableContractTerm) Set(val *ContractTerm)

func (*NullableContractTerm) UnmarshalJSON

func (v *NullableContractTerm) UnmarshalJSON(src []byte) error

func (*NullableContractTerm) Unset

func (v *NullableContractTerm) Unset()

type NullableContractType

type NullableContractType struct {
	// contains filtered or unexported fields
}

func NewNullableContractType

func NewNullableContractType(val *ContractType) *NullableContractType

func (NullableContractType) Get

func (NullableContractType) IsSet

func (v NullableContractType) IsSet() bool

func (NullableContractType) MarshalJSON

func (v NullableContractType) MarshalJSON() ([]byte, error)

func (*NullableContractType) Set

func (v *NullableContractType) Set(val *ContractType)

func (*NullableContractType) UnmarshalJSON

func (v *NullableContractType) UnmarshalJSON(src []byte) error

func (*NullableContractType) Unset

func (v *NullableContractType) Unset()

type NullableCpu

type NullableCpu struct {
	// contains filtered or unexported fields
}

func NewNullableCpu

func NewNullableCpu(val *Cpu) *NullableCpu

func (NullableCpu) Get

func (v NullableCpu) Get() *Cpu

func (NullableCpu) IsSet

func (v NullableCpu) IsSet() bool

func (NullableCpu) MarshalJSON

func (v NullableCpu) MarshalJSON() ([]byte, error)

func (*NullableCpu) Set

func (v *NullableCpu) Set(val *Cpu)

func (*NullableCpu) UnmarshalJSON

func (v *NullableCpu) UnmarshalJSON(src []byte) error

func (*NullableCpu) Unset

func (v *NullableCpu) Unset()

type NullableCpuMetrics

type NullableCpuMetrics struct {
	// contains filtered or unexported fields
}

func NewNullableCpuMetrics

func NewNullableCpuMetrics(val *CpuMetrics) *NullableCpuMetrics

func (NullableCpuMetrics) Get

func (v NullableCpuMetrics) Get() *CpuMetrics

func (NullableCpuMetrics) IsSet

func (v NullableCpuMetrics) IsSet() bool

func (NullableCpuMetrics) MarshalJSON

func (v NullableCpuMetrics) MarshalJSON() ([]byte, error)

func (*NullableCpuMetrics) Set

func (v *NullableCpuMetrics) Set(val *CpuMetrics)

func (*NullableCpuMetrics) UnmarshalJSON

func (v *NullableCpuMetrics) UnmarshalJSON(src []byte) error

func (*NullableCpuMetrics) Unset

func (v *NullableCpuMetrics) Unset()

type NullableCpuMetricsMetadata

type NullableCpuMetricsMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableCpuMetricsMetadata

func NewNullableCpuMetricsMetadata(val *CpuMetricsMetadata) *NullableCpuMetricsMetadata

func (NullableCpuMetricsMetadata) Get

func (NullableCpuMetricsMetadata) IsSet

func (v NullableCpuMetricsMetadata) IsSet() bool

func (NullableCpuMetricsMetadata) MarshalJSON

func (v NullableCpuMetricsMetadata) MarshalJSON() ([]byte, error)

func (*NullableCpuMetricsMetadata) Set

func (*NullableCpuMetricsMetadata) UnmarshalJSON

func (v *NullableCpuMetricsMetadata) UnmarshalJSON(src []byte) error

func (*NullableCpuMetricsMetadata) Unset

func (v *NullableCpuMetricsMetadata) Unset()

type NullableCpuMetricsMetadataSummary

type NullableCpuMetricsMetadataSummary struct {
	// contains filtered or unexported fields
}

func (NullableCpuMetricsMetadataSummary) Get

func (NullableCpuMetricsMetadataSummary) IsSet

func (NullableCpuMetricsMetadataSummary) MarshalJSON

func (v NullableCpuMetricsMetadataSummary) MarshalJSON() ([]byte, error)

func (*NullableCpuMetricsMetadataSummary) Set

func (*NullableCpuMetricsMetadataSummary) UnmarshalJSON

func (v *NullableCpuMetricsMetadataSummary) UnmarshalJSON(src []byte) error

func (*NullableCpuMetricsMetadataSummary) Unset

type NullableCpuMetricsMetadataSummaryCpuMetrics

type NullableCpuMetricsMetadataSummaryCpuMetrics struct {
	// contains filtered or unexported fields
}

func (NullableCpuMetricsMetadataSummaryCpuMetrics) Get

func (NullableCpuMetricsMetadataSummaryCpuMetrics) IsSet

func (NullableCpuMetricsMetadataSummaryCpuMetrics) MarshalJSON

func (*NullableCpuMetricsMetadataSummaryCpuMetrics) Set

func (*NullableCpuMetricsMetadataSummaryCpuMetrics) UnmarshalJSON

func (v *NullableCpuMetricsMetadataSummaryCpuMetrics) UnmarshalJSON(src []byte) error

func (*NullableCpuMetricsMetadataSummaryCpuMetrics) Unset

type NullableCpuMetricsMetadataSummaryPeak

type NullableCpuMetricsMetadataSummaryPeak struct {
	// contains filtered or unexported fields
}

func (NullableCpuMetricsMetadataSummaryPeak) Get

func (NullableCpuMetricsMetadataSummaryPeak) IsSet

func (NullableCpuMetricsMetadataSummaryPeak) MarshalJSON

func (v NullableCpuMetricsMetadataSummaryPeak) MarshalJSON() ([]byte, error)

func (*NullableCpuMetricsMetadataSummaryPeak) Set

func (*NullableCpuMetricsMetadataSummaryPeak) UnmarshalJSON

func (v *NullableCpuMetricsMetadataSummaryPeak) UnmarshalJSON(src []byte) error

func (*NullableCpuMetricsMetadataSummaryPeak) Unset

type NullableCpuMetricsMetrics

type NullableCpuMetricsMetrics struct {
	// contains filtered or unexported fields
}

func NewNullableCpuMetricsMetrics

func NewNullableCpuMetricsMetrics(val *CpuMetricsMetrics) *NullableCpuMetricsMetrics

func (NullableCpuMetricsMetrics) Get

func (NullableCpuMetricsMetrics) IsSet

func (v NullableCpuMetricsMetrics) IsSet() bool

func (NullableCpuMetricsMetrics) MarshalJSON

func (v NullableCpuMetricsMetrics) MarshalJSON() ([]byte, error)

func (*NullableCpuMetricsMetrics) Set

func (*NullableCpuMetricsMetrics) UnmarshalJSON

func (v *NullableCpuMetricsMetrics) UnmarshalJSON(src []byte) error

func (*NullableCpuMetricsMetrics) Unset

func (v *NullableCpuMetricsMetrics) Unset()

type NullableCpuMetricsValue

type NullableCpuMetricsValue struct {
	// contains filtered or unexported fields
}

func NewNullableCpuMetricsValue

func NewNullableCpuMetricsValue(val *CpuMetricsValue) *NullableCpuMetricsValue

func (NullableCpuMetricsValue) Get

func (NullableCpuMetricsValue) IsSet

func (v NullableCpuMetricsValue) IsSet() bool

func (NullableCpuMetricsValue) MarshalJSON

func (v NullableCpuMetricsValue) MarshalJSON() ([]byte, error)

func (*NullableCpuMetricsValue) Set

func (*NullableCpuMetricsValue) UnmarshalJSON

func (v *NullableCpuMetricsValue) UnmarshalJSON(src []byte) error

func (*NullableCpuMetricsValue) Unset

func (v *NullableCpuMetricsValue) Unset()

type NullableCreateAutoScalingGroupOpts

type NullableCreateAutoScalingGroupOpts struct {
	// contains filtered or unexported fields
}

func (NullableCreateAutoScalingGroupOpts) Get

func (NullableCreateAutoScalingGroupOpts) IsSet

func (NullableCreateAutoScalingGroupOpts) MarshalJSON

func (v NullableCreateAutoScalingGroupOpts) MarshalJSON() ([]byte, error)

func (*NullableCreateAutoScalingGroupOpts) Set

func (*NullableCreateAutoScalingGroupOpts) UnmarshalJSON

func (v *NullableCreateAutoScalingGroupOpts) UnmarshalJSON(src []byte) error

func (*NullableCreateAutoScalingGroupOpts) Unset

type NullableCreateImageOpts

type NullableCreateImageOpts struct {
	// contains filtered or unexported fields
}

func NewNullableCreateImageOpts

func NewNullableCreateImageOpts(val *CreateImageOpts) *NullableCreateImageOpts

func (NullableCreateImageOpts) Get

func (NullableCreateImageOpts) IsSet

func (v NullableCreateImageOpts) IsSet() bool

func (NullableCreateImageOpts) MarshalJSON

func (v NullableCreateImageOpts) MarshalJSON() ([]byte, error)

func (*NullableCreateImageOpts) Set

func (*NullableCreateImageOpts) UnmarshalJSON

func (v *NullableCreateImageOpts) UnmarshalJSON(src []byte) error

func (*NullableCreateImageOpts) Unset

func (v *NullableCreateImageOpts) Unset()

type NullableCredential

type NullableCredential struct {
	// contains filtered or unexported fields
}

func NewNullableCredential

func NewNullableCredential(val *Credential) *NullableCredential

func (NullableCredential) Get

func (v NullableCredential) Get() *Credential

func (NullableCredential) IsSet

func (v NullableCredential) IsSet() bool

func (NullableCredential) MarshalJSON

func (v NullableCredential) MarshalJSON() ([]byte, error)

func (*NullableCredential) Set

func (v *NullableCredential) Set(val *Credential)

func (*NullableCredential) UnmarshalJSON

func (v *NullableCredential) UnmarshalJSON(src []byte) error

func (*NullableCredential) Unset

func (v *NullableCredential) Unset()

type NullableCredentialType

type NullableCredentialType struct {
	// contains filtered or unexported fields
}

func NewNullableCredentialType

func NewNullableCredentialType(val *CredentialType) *NullableCredentialType

func (NullableCredentialType) Get

func (NullableCredentialType) IsSet

func (v NullableCredentialType) IsSet() bool

func (NullableCredentialType) MarshalJSON

func (v NullableCredentialType) MarshalJSON() ([]byte, error)

func (*NullableCredentialType) Set

func (*NullableCredentialType) UnmarshalJSON

func (v *NullableCredentialType) UnmarshalJSON(src []byte) error

func (*NullableCredentialType) Unset

func (v *NullableCredentialType) Unset()

type NullableDataTrafficMetrics

type NullableDataTrafficMetrics struct {
	// contains filtered or unexported fields
}

func NewNullableDataTrafficMetrics

func NewNullableDataTrafficMetrics(val *DataTrafficMetrics) *NullableDataTrafficMetrics

func (NullableDataTrafficMetrics) Get

func (NullableDataTrafficMetrics) IsSet

func (v NullableDataTrafficMetrics) IsSet() bool

func (NullableDataTrafficMetrics) MarshalJSON

func (v NullableDataTrafficMetrics) MarshalJSON() ([]byte, error)

func (*NullableDataTrafficMetrics) Set

func (*NullableDataTrafficMetrics) UnmarshalJSON

func (v *NullableDataTrafficMetrics) UnmarshalJSON(src []byte) error

func (*NullableDataTrafficMetrics) Unset

func (v *NullableDataTrafficMetrics) Unset()

type NullableDdos

type NullableDdos struct {
	// contains filtered or unexported fields
}

func NewNullableDdos

func NewNullableDdos(val *Ddos) *NullableDdos

func (NullableDdos) Get

func (v NullableDdos) Get() *Ddos

func (NullableDdos) IsSet

func (v NullableDdos) IsSet() bool

func (NullableDdos) MarshalJSON

func (v NullableDdos) MarshalJSON() ([]byte, error)

func (*NullableDdos) Set

func (v *NullableDdos) Set(val *Ddos)

func (*NullableDdos) UnmarshalJSON

func (v *NullableDdos) UnmarshalJSON(src []byte) error

func (*NullableDdos) Unset

func (v *NullableDdos) Unset()

type NullableErrorResult

type NullableErrorResult struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResult

func NewNullableErrorResult(val *ErrorResult) *NullableErrorResult

func (NullableErrorResult) Get

func (NullableErrorResult) IsSet

func (v NullableErrorResult) IsSet() bool

func (NullableErrorResult) MarshalJSON

func (v NullableErrorResult) MarshalJSON() ([]byte, error)

func (*NullableErrorResult) Set

func (v *NullableErrorResult) Set(val *ErrorResult)

func (*NullableErrorResult) UnmarshalJSON

func (v *NullableErrorResult) UnmarshalJSON(src []byte) error

func (*NullableErrorResult) Unset

func (v *NullableErrorResult) Unset()

type NullableExpenseResultInstance

type NullableExpenseResultInstance struct {
	// contains filtered or unexported fields
}

func (NullableExpenseResultInstance) Get

func (NullableExpenseResultInstance) IsSet

func (NullableExpenseResultInstance) MarshalJSON

func (v NullableExpenseResultInstance) MarshalJSON() ([]byte, error)

func (*NullableExpenseResultInstance) Set

func (*NullableExpenseResultInstance) UnmarshalJSON

func (v *NullableExpenseResultInstance) UnmarshalJSON(src []byte) error

func (*NullableExpenseResultInstance) Unset

func (v *NullableExpenseResultInstance) Unset()

type NullableFlavour

type NullableFlavour struct {
	// contains filtered or unexported fields
}

func NewNullableFlavour

func NewNullableFlavour(val *Flavour) *NullableFlavour

func (NullableFlavour) Get

func (v NullableFlavour) Get() *Flavour

func (NullableFlavour) IsSet

func (v NullableFlavour) IsSet() bool

func (NullableFlavour) MarshalJSON

func (v NullableFlavour) MarshalJSON() ([]byte, error)

func (*NullableFlavour) Set

func (v *NullableFlavour) Set(val *Flavour)

func (*NullableFlavour) UnmarshalJSON

func (v *NullableFlavour) UnmarshalJSON(src []byte) error

func (*NullableFlavour) Unset

func (v *NullableFlavour) 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 NullableGetAutoScalingGroupInstanceListResult

type NullableGetAutoScalingGroupInstanceListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetAutoScalingGroupInstanceListResult) Get

func (NullableGetAutoScalingGroupInstanceListResult) IsSet

func (NullableGetAutoScalingGroupInstanceListResult) MarshalJSON

func (*NullableGetAutoScalingGroupInstanceListResult) Set

func (*NullableGetAutoScalingGroupInstanceListResult) UnmarshalJSON

func (*NullableGetAutoScalingGroupInstanceListResult) Unset

type NullableGetAutoScalingGroupListResult

type NullableGetAutoScalingGroupListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetAutoScalingGroupListResult) Get

func (NullableGetAutoScalingGroupListResult) IsSet

func (NullableGetAutoScalingGroupListResult) MarshalJSON

func (v NullableGetAutoScalingGroupListResult) MarshalJSON() ([]byte, error)

func (*NullableGetAutoScalingGroupListResult) Set

func (*NullableGetAutoScalingGroupListResult) UnmarshalJSON

func (v *NullableGetAutoScalingGroupListResult) UnmarshalJSON(src []byte) error

func (*NullableGetAutoScalingGroupListResult) Unset

type NullableGetConsoleAccessToInstanceResult

type NullableGetConsoleAccessToInstanceResult struct {
	// contains filtered or unexported fields
}

func (NullableGetConsoleAccessToInstanceResult) Get

func (NullableGetConsoleAccessToInstanceResult) IsSet

func (NullableGetConsoleAccessToInstanceResult) MarshalJSON

func (*NullableGetConsoleAccessToInstanceResult) Set

func (*NullableGetConsoleAccessToInstanceResult) UnmarshalJSON

func (v *NullableGetConsoleAccessToInstanceResult) UnmarshalJSON(src []byte) error

func (*NullableGetConsoleAccessToInstanceResult) Unset

type NullableGetCpuMetricsResult

type NullableGetCpuMetricsResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetCpuMetricsResult

func NewNullableGetCpuMetricsResult(val *GetCpuMetricsResult) *NullableGetCpuMetricsResult

func (NullableGetCpuMetricsResult) Get

func (NullableGetCpuMetricsResult) IsSet

func (NullableGetCpuMetricsResult) MarshalJSON

func (v NullableGetCpuMetricsResult) MarshalJSON() ([]byte, error)

func (*NullableGetCpuMetricsResult) Set

func (*NullableGetCpuMetricsResult) UnmarshalJSON

func (v *NullableGetCpuMetricsResult) UnmarshalJSON(src []byte) error

func (*NullableGetCpuMetricsResult) Unset

func (v *NullableGetCpuMetricsResult) Unset()

type NullableGetCredentialListByTypeResult

type NullableGetCredentialListByTypeResult struct {
	// contains filtered or unexported fields
}

func (NullableGetCredentialListByTypeResult) Get

func (NullableGetCredentialListByTypeResult) IsSet

func (NullableGetCredentialListByTypeResult) MarshalJSON

func (v NullableGetCredentialListByTypeResult) MarshalJSON() ([]byte, error)

func (*NullableGetCredentialListByTypeResult) Set

func (*NullableGetCredentialListByTypeResult) UnmarshalJSON

func (v *NullableGetCredentialListByTypeResult) UnmarshalJSON(src []byte) error

func (*NullableGetCredentialListByTypeResult) Unset

type NullableGetCredentialListResult

type NullableGetCredentialListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetCredentialListResult) Get

func (NullableGetCredentialListResult) IsSet

func (NullableGetCredentialListResult) MarshalJSON

func (v NullableGetCredentialListResult) MarshalJSON() ([]byte, error)

func (*NullableGetCredentialListResult) Set

func (*NullableGetCredentialListResult) UnmarshalJSON

func (v *NullableGetCredentialListResult) UnmarshalJSON(src []byte) error

func (*NullableGetCredentialListResult) Unset

type NullableGetCredentialResult

type NullableGetCredentialResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetCredentialResult

func NewNullableGetCredentialResult(val *GetCredentialResult) *NullableGetCredentialResult

func (NullableGetCredentialResult) Get

func (NullableGetCredentialResult) IsSet

func (NullableGetCredentialResult) MarshalJSON

func (v NullableGetCredentialResult) MarshalJSON() ([]byte, error)

func (*NullableGetCredentialResult) Set

func (*NullableGetCredentialResult) UnmarshalJSON

func (v *NullableGetCredentialResult) UnmarshalJSON(src []byte) error

func (*NullableGetCredentialResult) Unset

func (v *NullableGetCredentialResult) Unset()

type NullableGetDataTrafficMetricsResult

type NullableGetDataTrafficMetricsResult struct {
	// contains filtered or unexported fields
}

func (NullableGetDataTrafficMetricsResult) Get

func (NullableGetDataTrafficMetricsResult) IsSet

func (NullableGetDataTrafficMetricsResult) MarshalJSON

func (v NullableGetDataTrafficMetricsResult) MarshalJSON() ([]byte, error)

func (*NullableGetDataTrafficMetricsResult) Set

func (*NullableGetDataTrafficMetricsResult) UnmarshalJSON

func (v *NullableGetDataTrafficMetricsResult) UnmarshalJSON(src []byte) error

func (*NullableGetDataTrafficMetricsResult) Unset

type NullableGetExpensesResult

type NullableGetExpensesResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetExpensesResult

func NewNullableGetExpensesResult(val *GetExpensesResult) *NullableGetExpensesResult

func (NullableGetExpensesResult) Get

func (NullableGetExpensesResult) IsSet

func (v NullableGetExpensesResult) IsSet() bool

func (NullableGetExpensesResult) MarshalJSON

func (v NullableGetExpensesResult) MarshalJSON() ([]byte, error)

func (*NullableGetExpensesResult) Set

func (*NullableGetExpensesResult) UnmarshalJSON

func (v *NullableGetExpensesResult) UnmarshalJSON(src []byte) error

func (*NullableGetExpensesResult) Unset

func (v *NullableGetExpensesResult) Unset()

type NullableGetImageListResult

type NullableGetImageListResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetImageListResult

func NewNullableGetImageListResult(val *GetImageListResult) *NullableGetImageListResult

func (NullableGetImageListResult) Get

func (NullableGetImageListResult) IsSet

func (v NullableGetImageListResult) IsSet() bool

func (NullableGetImageListResult) MarshalJSON

func (v NullableGetImageListResult) MarshalJSON() ([]byte, error)

func (*NullableGetImageListResult) Set

func (*NullableGetImageListResult) UnmarshalJSON

func (v *NullableGetImageListResult) UnmarshalJSON(src []byte) error

func (*NullableGetImageListResult) Unset

func (v *NullableGetImageListResult) Unset()

type NullableGetInstanceListResult

type NullableGetInstanceListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetInstanceListResult) Get

func (NullableGetInstanceListResult) IsSet

func (NullableGetInstanceListResult) MarshalJSON

func (v NullableGetInstanceListResult) MarshalJSON() ([]byte, error)

func (*NullableGetInstanceListResult) Set

func (*NullableGetInstanceListResult) UnmarshalJSON

func (v *NullableGetInstanceListResult) UnmarshalJSON(src []byte) error

func (*NullableGetInstanceListResult) Unset

func (v *NullableGetInstanceListResult) Unset()

type NullableGetIpListResult

type NullableGetIpListResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetIpListResult

func NewNullableGetIpListResult(val *GetIpListResult) *NullableGetIpListResult

func (NullableGetIpListResult) Get

func (NullableGetIpListResult) IsSet

func (v NullableGetIpListResult) IsSet() bool

func (NullableGetIpListResult) MarshalJSON

func (v NullableGetIpListResult) MarshalJSON() ([]byte, error)

func (*NullableGetIpListResult) Set

func (*NullableGetIpListResult) UnmarshalJSON

func (v *NullableGetIpListResult) UnmarshalJSON(src []byte) error

func (*NullableGetIpListResult) Unset

func (v *NullableGetIpListResult) Unset()

type NullableGetIsoListResult

type NullableGetIsoListResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetIsoListResult

func NewNullableGetIsoListResult(val *GetIsoListResult) *NullableGetIsoListResult

func (NullableGetIsoListResult) Get

func (NullableGetIsoListResult) IsSet

func (v NullableGetIsoListResult) IsSet() bool

func (NullableGetIsoListResult) MarshalJSON

func (v NullableGetIsoListResult) MarshalJSON() ([]byte, error)

func (*NullableGetIsoListResult) Set

func (*NullableGetIsoListResult) UnmarshalJSON

func (v *NullableGetIsoListResult) UnmarshalJSON(src []byte) error

func (*NullableGetIsoListResult) Unset

func (v *NullableGetIsoListResult) Unset()

type NullableGetLoadBalancerListResult

type NullableGetLoadBalancerListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetLoadBalancerListResult) Get

func (NullableGetLoadBalancerListResult) IsSet

func (NullableGetLoadBalancerListResult) MarshalJSON

func (v NullableGetLoadBalancerListResult) MarshalJSON() ([]byte, error)

func (*NullableGetLoadBalancerListResult) Set

func (*NullableGetLoadBalancerListResult) UnmarshalJSON

func (v *NullableGetLoadBalancerListResult) UnmarshalJSON(src []byte) error

func (*NullableGetLoadBalancerListResult) Unset

type NullableGetLoadBalancerTargetListResult

type NullableGetLoadBalancerTargetListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetLoadBalancerTargetListResult) Get

func (NullableGetLoadBalancerTargetListResult) IsSet

func (NullableGetLoadBalancerTargetListResult) MarshalJSON

func (v NullableGetLoadBalancerTargetListResult) MarshalJSON() ([]byte, error)

func (*NullableGetLoadBalancerTargetListResult) Set

func (*NullableGetLoadBalancerTargetListResult) UnmarshalJSON

func (v *NullableGetLoadBalancerTargetListResult) UnmarshalJSON(src []byte) error

func (*NullableGetLoadBalancerTargetListResult) Unset

type NullableGetMarketAppListResult

type NullableGetMarketAppListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetMarketAppListResult) Get

func (NullableGetMarketAppListResult) IsSet

func (NullableGetMarketAppListResult) MarshalJSON

func (v NullableGetMarketAppListResult) MarshalJSON() ([]byte, error)

func (*NullableGetMarketAppListResult) Set

func (*NullableGetMarketAppListResult) UnmarshalJSON

func (v *NullableGetMarketAppListResult) UnmarshalJSON(src []byte) error

func (*NullableGetMarketAppListResult) Unset

func (v *NullableGetMarketAppListResult) Unset()

type NullableGetRegionListResult

type NullableGetRegionListResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetRegionListResult

func NewNullableGetRegionListResult(val *GetRegionListResult) *NullableGetRegionListResult

func (NullableGetRegionListResult) Get

func (NullableGetRegionListResult) IsSet

func (NullableGetRegionListResult) MarshalJSON

func (v NullableGetRegionListResult) MarshalJSON() ([]byte, error)

func (*NullableGetRegionListResult) Set

func (*NullableGetRegionListResult) UnmarshalJSON

func (v *NullableGetRegionListResult) UnmarshalJSON(src []byte) error

func (*NullableGetRegionListResult) Unset

func (v *NullableGetRegionListResult) Unset()

type NullableGetReinstallImageListResult

type NullableGetReinstallImageListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetReinstallImageListResult) Get

func (NullableGetReinstallImageListResult) IsSet

func (NullableGetReinstallImageListResult) MarshalJSON

func (v NullableGetReinstallImageListResult) MarshalJSON() ([]byte, error)

func (*NullableGetReinstallImageListResult) Set

func (*NullableGetReinstallImageListResult) UnmarshalJSON

func (v *NullableGetReinstallImageListResult) UnmarshalJSON(src []byte) error

func (*NullableGetReinstallImageListResult) Unset

type NullableGetSnapshotListResult

type NullableGetSnapshotListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetSnapshotListResult) Get

func (NullableGetSnapshotListResult) IsSet

func (NullableGetSnapshotListResult) MarshalJSON

func (v NullableGetSnapshotListResult) MarshalJSON() ([]byte, error)

func (*NullableGetSnapshotListResult) Set

func (*NullableGetSnapshotListResult) UnmarshalJSON

func (v *NullableGetSnapshotListResult) UnmarshalJSON(src []byte) error

func (*NullableGetSnapshotListResult) Unset

func (v *NullableGetSnapshotListResult) Unset()

type NullableHealthCheck

type NullableHealthCheck struct {
	// contains filtered or unexported fields
}

func NewNullableHealthCheck

func NewNullableHealthCheck(val *HealthCheck) *NullableHealthCheck

func (NullableHealthCheck) Get

func (NullableHealthCheck) IsSet

func (v NullableHealthCheck) IsSet() bool

func (NullableHealthCheck) MarshalJSON

func (v NullableHealthCheck) MarshalJSON() ([]byte, error)

func (*NullableHealthCheck) Set

func (v *NullableHealthCheck) Set(val *HealthCheck)

func (*NullableHealthCheck) UnmarshalJSON

func (v *NullableHealthCheck) UnmarshalJSON(src []byte) error

func (*NullableHealthCheck) Unset

func (v *NullableHealthCheck) Unset()

type NullableHealthCheckStatus

type NullableHealthCheckStatus struct {
	// contains filtered or unexported fields
}

func NewNullableHealthCheckStatus

func NewNullableHealthCheckStatus(val *HealthCheckStatus) *NullableHealthCheckStatus

func (NullableHealthCheckStatus) Get

func (NullableHealthCheckStatus) IsSet

func (v NullableHealthCheckStatus) IsSet() bool

func (NullableHealthCheckStatus) MarshalJSON

func (v NullableHealthCheckStatus) MarshalJSON() ([]byte, error)

func (*NullableHealthCheckStatus) Set

func (*NullableHealthCheckStatus) UnmarshalJSON

func (v *NullableHealthCheckStatus) UnmarshalJSON(src []byte) error

func (*NullableHealthCheckStatus) Unset

func (v *NullableHealthCheckStatus) Unset()

type NullableImage

type NullableImage struct {
	// contains filtered or unexported fields
}

func NewNullableImage

func NewNullableImage(val *Image) *NullableImage

func (NullableImage) Get

func (v NullableImage) Get() *Image

func (NullableImage) IsSet

func (v NullableImage) IsSet() bool

func (NullableImage) MarshalJSON

func (v NullableImage) MarshalJSON() ([]byte, error)

func (*NullableImage) Set

func (v *NullableImage) Set(val *Image)

func (*NullableImage) UnmarshalJSON

func (v *NullableImage) UnmarshalJSON(src []byte) error

func (*NullableImage) Unset

func (v *NullableImage) Unset()

type NullableImageDetails

type NullableImageDetails struct {
	// contains filtered or unexported fields
}

func NewNullableImageDetails

func NewNullableImageDetails(val *ImageDetails) *NullableImageDetails

func (NullableImageDetails) Get

func (NullableImageDetails) IsSet

func (v NullableImageDetails) IsSet() bool

func (NullableImageDetails) MarshalJSON

func (v NullableImageDetails) MarshalJSON() ([]byte, error)

func (*NullableImageDetails) Set

func (v *NullableImageDetails) Set(val *ImageDetails)

func (*NullableImageDetails) UnmarshalJSON

func (v *NullableImageDetails) UnmarshalJSON(src []byte) error

func (*NullableImageDetails) Unset

func (v *NullableImageDetails) Unset()

type NullableImageState

type NullableImageState struct {
	// contains filtered or unexported fields
}

func NewNullableImageState

func NewNullableImageState(val *ImageState) *NullableImageState

func (NullableImageState) Get

func (v NullableImageState) Get() *ImageState

func (NullableImageState) IsSet

func (v NullableImageState) IsSet() bool

func (NullableImageState) MarshalJSON

func (v NullableImageState) MarshalJSON() ([]byte, error)

func (*NullableImageState) Set

func (v *NullableImageState) Set(val *ImageState)

func (*NullableImageState) UnmarshalJSON

func (v *NullableImageState) UnmarshalJSON(src []byte) error

func (*NullableImageState) Unset

func (v *NullableImageState) Unset()

type NullableInstance

type NullableInstance struct {
	// contains filtered or unexported fields
}

func NewNullableInstance

func NewNullableInstance(val *Instance) *NullableInstance

func (NullableInstance) Get

func (v NullableInstance) Get() *Instance

func (NullableInstance) IsSet

func (v NullableInstance) IsSet() bool

func (NullableInstance) MarshalJSON

func (v NullableInstance) MarshalJSON() ([]byte, error)

func (*NullableInstance) Set

func (v *NullableInstance) Set(val *Instance)

func (*NullableInstance) UnmarshalJSON

func (v *NullableInstance) UnmarshalJSON(src []byte) error

func (*NullableInstance) Unset

func (v *NullableInstance) Unset()

type NullableInstanceBase

type NullableInstanceBase struct {
	// contains filtered or unexported fields
}

func NewNullableInstanceBase

func NewNullableInstanceBase(val *InstanceBase) *NullableInstanceBase

func (NullableInstanceBase) Get

func (NullableInstanceBase) IsSet

func (v NullableInstanceBase) IsSet() bool

func (NullableInstanceBase) MarshalJSON

func (v NullableInstanceBase) MarshalJSON() ([]byte, error)

func (*NullableInstanceBase) Set

func (v *NullableInstanceBase) Set(val *InstanceBase)

func (*NullableInstanceBase) UnmarshalJSON

func (v *NullableInstanceBase) UnmarshalJSON(src []byte) error

func (*NullableInstanceBase) Unset

func (v *NullableInstanceBase) Unset()

type NullableInstanceDetails

type NullableInstanceDetails struct {
	// contains filtered or unexported fields
}

func NewNullableInstanceDetails

func NewNullableInstanceDetails(val *InstanceDetails) *NullableInstanceDetails

func (NullableInstanceDetails) Get

func (NullableInstanceDetails) IsSet

func (v NullableInstanceDetails) IsSet() bool

func (NullableInstanceDetails) MarshalJSON

func (v NullableInstanceDetails) MarshalJSON() ([]byte, error)

func (*NullableInstanceDetails) Set

func (*NullableInstanceDetails) UnmarshalJSON

func (v *NullableInstanceDetails) UnmarshalJSON(src []byte) error

func (*NullableInstanceDetails) Unset

func (v *NullableInstanceDetails) Unset()

type NullableInstanceType

type NullableInstanceType struct {
	// contains filtered or unexported fields
}

func NewNullableInstanceType

func NewNullableInstanceType(val *InstanceType) *NullableInstanceType

func (NullableInstanceType) Get

func (NullableInstanceType) IsSet

func (v NullableInstanceType) IsSet() bool

func (NullableInstanceType) MarshalJSON

func (v NullableInstanceType) MarshalJSON() ([]byte, error)

func (*NullableInstanceType) Set

func (v *NullableInstanceType) Set(val *InstanceType)

func (*NullableInstanceType) UnmarshalJSON

func (v *NullableInstanceType) UnmarshalJSON(src []byte) error

func (*NullableInstanceType) Unset

func (v *NullableInstanceType) Unset()

type NullableInstanceTypes

type NullableInstanceTypes struct {
	// contains filtered or unexported fields
}

func NewNullableInstanceTypes

func NewNullableInstanceTypes(val *InstanceTypes) *NullableInstanceTypes

func (NullableInstanceTypes) Get

func (NullableInstanceTypes) IsSet

func (v NullableInstanceTypes) IsSet() bool

func (NullableInstanceTypes) MarshalJSON

func (v NullableInstanceTypes) MarshalJSON() ([]byte, error)

func (*NullableInstanceTypes) Set

func (v *NullableInstanceTypes) Set(val *InstanceTypes)

func (*NullableInstanceTypes) UnmarshalJSON

func (v *NullableInstanceTypes) UnmarshalJSON(src []byte) error

func (*NullableInstanceTypes) Unset

func (v *NullableInstanceTypes) 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 NullableIp

type NullableIp struct {
	// contains filtered or unexported fields
}

func NewNullableIp

func NewNullableIp(val *Ip) *NullableIp

func (NullableIp) Get

func (v NullableIp) Get() *Ip

func (NullableIp) IsSet

func (v NullableIp) IsSet() bool

func (NullableIp) MarshalJSON

func (v NullableIp) MarshalJSON() ([]byte, error)

func (*NullableIp) Set

func (v *NullableIp) Set(val *Ip)

func (*NullableIp) UnmarshalJSON

func (v *NullableIp) UnmarshalJSON(src []byte) error

func (*NullableIp) Unset

func (v *NullableIp) Unset()

type NullableIpDetails

type NullableIpDetails struct {
	// contains filtered or unexported fields
}

func NewNullableIpDetails

func NewNullableIpDetails(val *IpDetails) *NullableIpDetails

func (NullableIpDetails) Get

func (v NullableIpDetails) Get() *IpDetails

func (NullableIpDetails) IsSet

func (v NullableIpDetails) IsSet() bool

func (NullableIpDetails) MarshalJSON

func (v NullableIpDetails) MarshalJSON() ([]byte, error)

func (*NullableIpDetails) Set

func (v *NullableIpDetails) Set(val *IpDetails)

func (*NullableIpDetails) UnmarshalJSON

func (v *NullableIpDetails) UnmarshalJSON(src []byte) error

func (*NullableIpDetails) Unset

func (v *NullableIpDetails) Unset()

type NullableIpVersion

type NullableIpVersion struct {
	// contains filtered or unexported fields
}

func NewNullableIpVersion

func NewNullableIpVersion(val *IpVersion) *NullableIpVersion

func (NullableIpVersion) Get

func (v NullableIpVersion) Get() *IpVersion

func (NullableIpVersion) IsSet

func (v NullableIpVersion) IsSet() bool

func (NullableIpVersion) MarshalJSON

func (v NullableIpVersion) MarshalJSON() ([]byte, error)

func (*NullableIpVersion) Set

func (v *NullableIpVersion) Set(val *IpVersion)

func (*NullableIpVersion) UnmarshalJSON

func (v *NullableIpVersion) UnmarshalJSON(src []byte) error

func (*NullableIpVersion) Unset

func (v *NullableIpVersion) Unset()

type NullableIso

type NullableIso struct {
	// contains filtered or unexported fields
}

func NewNullableIso

func NewNullableIso(val *Iso) *NullableIso

func (NullableIso) Get

func (v NullableIso) Get() *Iso

func (NullableIso) IsSet

func (v NullableIso) IsSet() bool

func (NullableIso) MarshalJSON

func (v NullableIso) MarshalJSON() ([]byte, error)

func (*NullableIso) Set

func (v *NullableIso) Set(val *Iso)

func (*NullableIso) UnmarshalJSON

func (v *NullableIso) UnmarshalJSON(src []byte) error

func (*NullableIso) Unset

func (v *NullableIso) Unset()

type NullableLaunchInstanceOpts

type NullableLaunchInstanceOpts struct {
	// contains filtered or unexported fields
}

func NewNullableLaunchInstanceOpts

func NewNullableLaunchInstanceOpts(val *LaunchInstanceOpts) *NullableLaunchInstanceOpts

func (NullableLaunchInstanceOpts) Get

func (NullableLaunchInstanceOpts) IsSet

func (v NullableLaunchInstanceOpts) IsSet() bool

func (NullableLaunchInstanceOpts) MarshalJSON

func (v NullableLaunchInstanceOpts) MarshalJSON() ([]byte, error)

func (*NullableLaunchInstanceOpts) Set

func (*NullableLaunchInstanceOpts) UnmarshalJSON

func (v *NullableLaunchInstanceOpts) UnmarshalJSON(src []byte) error

func (*NullableLaunchInstanceOpts) Unset

func (v *NullableLaunchInstanceOpts) Unset()

type NullableLaunchLoadBalancerOpts

type NullableLaunchLoadBalancerOpts struct {
	// contains filtered or unexported fields
}

func (NullableLaunchLoadBalancerOpts) Get

func (NullableLaunchLoadBalancerOpts) IsSet

func (NullableLaunchLoadBalancerOpts) MarshalJSON

func (v NullableLaunchLoadBalancerOpts) MarshalJSON() ([]byte, error)

func (*NullableLaunchLoadBalancerOpts) Set

func (*NullableLaunchLoadBalancerOpts) UnmarshalJSON

func (v *NullableLaunchLoadBalancerOpts) UnmarshalJSON(src []byte) error

func (*NullableLaunchLoadBalancerOpts) Unset

func (v *NullableLaunchLoadBalancerOpts) Unset()

type NullableLoadBalancer

type NullableLoadBalancer struct {
	// contains filtered or unexported fields
}

func NewNullableLoadBalancer

func NewNullableLoadBalancer(val *LoadBalancer) *NullableLoadBalancer

func (NullableLoadBalancer) Get

func (NullableLoadBalancer) IsSet

func (v NullableLoadBalancer) IsSet() bool

func (NullableLoadBalancer) MarshalJSON

func (v NullableLoadBalancer) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancer) Set

func (v *NullableLoadBalancer) Set(val *LoadBalancer)

func (*NullableLoadBalancer) UnmarshalJSON

func (v *NullableLoadBalancer) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancer) Unset

func (v *NullableLoadBalancer) Unset()

type NullableLoadBalancerConfiguration

type NullableLoadBalancerConfiguration struct {
	// contains filtered or unexported fields
}

func (NullableLoadBalancerConfiguration) Get

func (NullableLoadBalancerConfiguration) IsSet

func (NullableLoadBalancerConfiguration) MarshalJSON

func (v NullableLoadBalancerConfiguration) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancerConfiguration) Set

func (*NullableLoadBalancerConfiguration) UnmarshalJSON

func (v *NullableLoadBalancerConfiguration) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancerConfiguration) Unset

type NullableLoadBalancerDetails

type NullableLoadBalancerDetails struct {
	// contains filtered or unexported fields
}

func NewNullableLoadBalancerDetails

func NewNullableLoadBalancerDetails(val *LoadBalancerDetails) *NullableLoadBalancerDetails

func (NullableLoadBalancerDetails) Get

func (NullableLoadBalancerDetails) IsSet

func (NullableLoadBalancerDetails) MarshalJSON

func (v NullableLoadBalancerDetails) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancerDetails) Set

func (*NullableLoadBalancerDetails) UnmarshalJSON

func (v *NullableLoadBalancerDetails) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancerDetails) Unset

func (v *NullableLoadBalancerDetails) Unset()

type NullableLoadBalancerListener

type NullableLoadBalancerListener struct {
	// contains filtered or unexported fields
}

func NewNullableLoadBalancerListener

func NewNullableLoadBalancerListener(val *LoadBalancerListener) *NullableLoadBalancerListener

func (NullableLoadBalancerListener) Get

func (NullableLoadBalancerListener) IsSet

func (NullableLoadBalancerListener) MarshalJSON

func (v NullableLoadBalancerListener) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancerListener) Set

func (*NullableLoadBalancerListener) UnmarshalJSON

func (v *NullableLoadBalancerListener) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancerListener) Unset

func (v *NullableLoadBalancerListener) Unset()

type NullableLoadBalancerListenerOpts

type NullableLoadBalancerListenerOpts struct {
	// contains filtered or unexported fields
}

func (NullableLoadBalancerListenerOpts) Get

func (NullableLoadBalancerListenerOpts) IsSet

func (NullableLoadBalancerListenerOpts) MarshalJSON

func (v NullableLoadBalancerListenerOpts) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancerListenerOpts) Set

func (*NullableLoadBalancerListenerOpts) UnmarshalJSON

func (v *NullableLoadBalancerListenerOpts) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancerListenerOpts) Unset

type NullableLoadBalancerTargetOpt

type NullableLoadBalancerTargetOpt struct {
	// contains filtered or unexported fields
}

func (NullableLoadBalancerTargetOpt) Get

func (NullableLoadBalancerTargetOpt) IsSet

func (NullableLoadBalancerTargetOpt) MarshalJSON

func (v NullableLoadBalancerTargetOpt) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancerTargetOpt) Set

func (*NullableLoadBalancerTargetOpt) UnmarshalJSON

func (v *NullableLoadBalancerTargetOpt) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancerTargetOpt) Unset

func (v *NullableLoadBalancerTargetOpt) Unset()

type NullableLoadBalancerTargetOpts

type NullableLoadBalancerTargetOpts struct {
	// contains filtered or unexported fields
}

func (NullableLoadBalancerTargetOpts) Get

func (NullableLoadBalancerTargetOpts) IsSet

func (NullableLoadBalancerTargetOpts) MarshalJSON

func (v NullableLoadBalancerTargetOpts) MarshalJSON() ([]byte, error)

func (*NullableLoadBalancerTargetOpts) Set

func (*NullableLoadBalancerTargetOpts) UnmarshalJSON

func (v *NullableLoadBalancerTargetOpts) UnmarshalJSON(src []byte) error

func (*NullableLoadBalancerTargetOpts) Unset

func (v *NullableLoadBalancerTargetOpts) Unset()

type NullableMarketApp

type NullableMarketApp struct {
	// contains filtered or unexported fields
}

func NewNullableMarketApp

func NewNullableMarketApp(val *MarketApp) *NullableMarketApp

func (NullableMarketApp) Get

func (v NullableMarketApp) Get() *MarketApp

func (NullableMarketApp) IsSet

func (v NullableMarketApp) IsSet() bool

func (NullableMarketApp) MarshalJSON

func (v NullableMarketApp) MarshalJSON() ([]byte, error)

func (*NullableMarketApp) Set

func (v *NullableMarketApp) Set(val *MarketApp)

func (*NullableMarketApp) UnmarshalJSON

func (v *NullableMarketApp) UnmarshalJSON(src []byte) error

func (*NullableMarketApp) Unset

func (v *NullableMarketApp) Unset()

type NullableMarketAppId

type NullableMarketAppId struct {
	// contains filtered or unexported fields
}

func NewNullableMarketAppId

func NewNullableMarketAppId(val *MarketAppId) *NullableMarketAppId

func (NullableMarketAppId) Get

func (NullableMarketAppId) IsSet

func (v NullableMarketAppId) IsSet() bool

func (NullableMarketAppId) MarshalJSON

func (v NullableMarketAppId) MarshalJSON() ([]byte, error)

func (*NullableMarketAppId) Set

func (v *NullableMarketAppId) Set(val *MarketAppId)

func (*NullableMarketAppId) UnmarshalJSON

func (v *NullableMarketAppId) UnmarshalJSON(src []byte) error

func (*NullableMarketAppId) Unset

func (v *NullableMarketAppId) Unset()

type NullableMemory

type NullableMemory struct {
	// contains filtered or unexported fields
}

func NewNullableMemory

func NewNullableMemory(val *Memory) *NullableMemory

func (NullableMemory) Get

func (v NullableMemory) Get() *Memory

func (NullableMemory) IsSet

func (v NullableMemory) IsSet() bool

func (NullableMemory) MarshalJSON

func (v NullableMemory) MarshalJSON() ([]byte, error)

func (*NullableMemory) Set

func (v *NullableMemory) Set(val *Memory)

func (*NullableMemory) UnmarshalJSON

func (v *NullableMemory) UnmarshalJSON(src []byte) error

func (*NullableMemory) Unset

func (v *NullableMemory) 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 NullableNetworkSpeed

type NullableNetworkSpeed struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkSpeed

func NewNullableNetworkSpeed(val *NetworkSpeed) *NullableNetworkSpeed

func (NullableNetworkSpeed) Get

func (NullableNetworkSpeed) IsSet

func (v NullableNetworkSpeed) IsSet() bool

func (NullableNetworkSpeed) MarshalJSON

func (v NullableNetworkSpeed) MarshalJSON() ([]byte, error)

func (*NullableNetworkSpeed) Set

func (v *NullableNetworkSpeed) Set(val *NetworkSpeed)

func (*NullableNetworkSpeed) UnmarshalJSON

func (v *NullableNetworkSpeed) UnmarshalJSON(src []byte) error

func (*NullableNetworkSpeed) Unset

func (v *NullableNetworkSpeed) Unset()

type NullableNetworkType

type NullableNetworkType struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkType

func NewNullableNetworkType(val *NetworkType) *NullableNetworkType

func (NullableNetworkType) Get

func (NullableNetworkType) IsSet

func (v NullableNetworkType) IsSet() bool

func (NullableNetworkType) MarshalJSON

func (v NullableNetworkType) MarshalJSON() ([]byte, error)

func (*NullableNetworkType) Set

func (v *NullableNetworkType) Set(val *NetworkType)

func (*NullableNetworkType) UnmarshalJSON

func (v *NullableNetworkType) UnmarshalJSON(src []byte) error

func (*NullableNetworkType) Unset

func (v *NullableNetworkType) Unset()

type NullableNullRouteIpOpts

type NullableNullRouteIpOpts struct {
	// contains filtered or unexported fields
}

func NewNullableNullRouteIpOpts

func NewNullableNullRouteIpOpts(val *NullRouteIpOpts) *NullableNullRouteIpOpts

func (NullableNullRouteIpOpts) Get

func (NullableNullRouteIpOpts) IsSet

func (v NullableNullRouteIpOpts) IsSet() bool

func (NullableNullRouteIpOpts) MarshalJSON

func (v NullableNullRouteIpOpts) MarshalJSON() ([]byte, error)

func (*NullableNullRouteIpOpts) Set

func (*NullableNullRouteIpOpts) UnmarshalJSON

func (v *NullableNullRouteIpOpts) UnmarshalJSON(src []byte) error

func (*NullableNullRouteIpOpts) Unset

func (v *NullableNullRouteIpOpts) Unset()

type NullablePeak

type NullablePeak struct {
	// contains filtered or unexported fields
}

func NewNullablePeak

func NewNullablePeak(val *Peak) *NullablePeak

func (NullablePeak) Get

func (v NullablePeak) Get() *Peak

func (NullablePeak) IsSet

func (v NullablePeak) IsSet() bool

func (NullablePeak) MarshalJSON

func (v NullablePeak) MarshalJSON() ([]byte, error)

func (*NullablePeak) Set

func (v *NullablePeak) Set(val *Peak)

func (*NullablePeak) UnmarshalJSON

func (v *NullablePeak) UnmarshalJSON(src []byte) error

func (*NullablePeak) Unset

func (v *NullablePeak) Unset()

type NullablePrice

type NullablePrice struct {
	// contains filtered or unexported fields
}

func NewNullablePrice

func NewNullablePrice(val *Price) *NullablePrice

func (NullablePrice) Get

func (v NullablePrice) Get() *Price

func (NullablePrice) IsSet

func (v NullablePrice) IsSet() bool

func (NullablePrice) MarshalJSON

func (v NullablePrice) MarshalJSON() ([]byte, error)

func (*NullablePrice) Set

func (v *NullablePrice) Set(val *Price)

func (*NullablePrice) UnmarshalJSON

func (v *NullablePrice) UnmarshalJSON(src []byte) error

func (*NullablePrice) Unset

func (v *NullablePrice) Unset()

type NullablePrices

type NullablePrices struct {
	// contains filtered or unexported fields
}

func NewNullablePrices

func NewNullablePrices(val *Prices) *NullablePrices

func (NullablePrices) Get

func (v NullablePrices) Get() *Prices

func (NullablePrices) IsSet

func (v NullablePrices) IsSet() bool

func (NullablePrices) MarshalJSON

func (v NullablePrices) MarshalJSON() ([]byte, error)

func (*NullablePrices) Set

func (v *NullablePrices) Set(val *Prices)

func (*NullablePrices) UnmarshalJSON

func (v *NullablePrices) UnmarshalJSON(src []byte) error

func (*NullablePrices) Unset

func (v *NullablePrices) Unset()

type NullablePrivateNetwork

type NullablePrivateNetwork struct {
	// contains filtered or unexported fields
}

func NewNullablePrivateNetwork

func NewNullablePrivateNetwork(val *PrivateNetwork) *NullablePrivateNetwork

func (NullablePrivateNetwork) Get

func (NullablePrivateNetwork) IsSet

func (v NullablePrivateNetwork) IsSet() bool

func (NullablePrivateNetwork) MarshalJSON

func (v NullablePrivateNetwork) MarshalJSON() ([]byte, error)

func (*NullablePrivateNetwork) Set

func (*NullablePrivateNetwork) UnmarshalJSON

func (v *NullablePrivateNetwork) UnmarshalJSON(src []byte) error

func (*NullablePrivateNetwork) Unset

func (v *NullablePrivateNetwork) Unset()

type NullableRegion

type NullableRegion struct {
	// contains filtered or unexported fields
}

func NewNullableRegion

func NewNullableRegion(val *Region) *NullableRegion

func (NullableRegion) Get

func (v NullableRegion) Get() *Region

func (NullableRegion) IsSet

func (v NullableRegion) IsSet() bool

func (NullableRegion) MarshalJSON

func (v NullableRegion) MarshalJSON() ([]byte, error)

func (*NullableRegion) Set

func (v *NullableRegion) Set(val *Region)

func (*NullableRegion) UnmarshalJSON

func (v *NullableRegion) UnmarshalJSON(src []byte) error

func (*NullableRegion) Unset

func (v *NullableRegion) Unset()

type NullableRegionName

type NullableRegionName struct {
	// contains filtered or unexported fields
}

func NewNullableRegionName

func NewNullableRegionName(val *RegionName) *NullableRegionName

func (NullableRegionName) Get

func (v NullableRegionName) Get() *RegionName

func (NullableRegionName) IsSet

func (v NullableRegionName) IsSet() bool

func (NullableRegionName) MarshalJSON

func (v NullableRegionName) MarshalJSON() ([]byte, error)

func (*NullableRegionName) Set

func (v *NullableRegionName) Set(val *RegionName)

func (*NullableRegionName) UnmarshalJSON

func (v *NullableRegionName) UnmarshalJSON(src []byte) error

func (*NullableRegionName) Unset

func (v *NullableRegionName) Unset()

type NullableRegisterAutoScalingGroupLoadBalancerOpts

type NullableRegisterAutoScalingGroupLoadBalancerOpts struct {
	// contains filtered or unexported fields
}

func (NullableRegisterAutoScalingGroupLoadBalancerOpts) Get

func (NullableRegisterAutoScalingGroupLoadBalancerOpts) IsSet

func (NullableRegisterAutoScalingGroupLoadBalancerOpts) MarshalJSON

func (*NullableRegisterAutoScalingGroupLoadBalancerOpts) Set

func (*NullableRegisterAutoScalingGroupLoadBalancerOpts) UnmarshalJSON

func (*NullableRegisterAutoScalingGroupLoadBalancerOpts) Unset

type NullableReinstallInstanceOpts

type NullableReinstallInstanceOpts struct {
	// contains filtered or unexported fields
}

func (NullableReinstallInstanceOpts) Get

func (NullableReinstallInstanceOpts) IsSet

func (NullableReinstallInstanceOpts) MarshalJSON

func (v NullableReinstallInstanceOpts) MarshalJSON() ([]byte, error)

func (*NullableReinstallInstanceOpts) Set

func (*NullableReinstallInstanceOpts) UnmarshalJSON

func (v *NullableReinstallInstanceOpts) UnmarshalJSON(src []byte) error

func (*NullableReinstallInstanceOpts) Unset

func (v *NullableReinstallInstanceOpts) Unset()

type NullableResources

type NullableResources struct {
	// contains filtered or unexported fields
}

func NewNullableResources

func NewNullableResources(val *Resources) *NullableResources

func (NullableResources) Get

func (v NullableResources) Get() *Resources

func (NullableResources) IsSet

func (v NullableResources) IsSet() bool

func (NullableResources) MarshalJSON

func (v NullableResources) MarshalJSON() ([]byte, error)

func (*NullableResources) Set

func (v *NullableResources) Set(val *Resources)

func (*NullableResources) UnmarshalJSON

func (v *NullableResources) UnmarshalJSON(src []byte) error

func (*NullableResources) Unset

func (v *NullableResources) Unset()

type NullableSnapshot

type NullableSnapshot struct {
	// contains filtered or unexported fields
}

func NewNullableSnapshot

func NewNullableSnapshot(val *Snapshot) *NullableSnapshot

func (NullableSnapshot) Get

func (v NullableSnapshot) Get() *Snapshot

func (NullableSnapshot) IsSet

func (v NullableSnapshot) IsSet() bool

func (NullableSnapshot) MarshalJSON

func (v NullableSnapshot) MarshalJSON() ([]byte, error)

func (*NullableSnapshot) Set

func (v *NullableSnapshot) Set(val *Snapshot)

func (*NullableSnapshot) UnmarshalJSON

func (v *NullableSnapshot) UnmarshalJSON(src []byte) error

func (*NullableSnapshot) Unset

func (v *NullableSnapshot) Unset()

type NullableState

type NullableState struct {
	// contains filtered or unexported fields
}

func NewNullableState

func NewNullableState(val *State) *NullableState

func (NullableState) Get

func (v NullableState) Get() *State

func (NullableState) IsSet

func (v NullableState) IsSet() bool

func (NullableState) MarshalJSON

func (v NullableState) MarshalJSON() ([]byte, error)

func (*NullableState) Set

func (v *NullableState) Set(val *State)

func (*NullableState) UnmarshalJSON

func (v *NullableState) UnmarshalJSON(src []byte) error

func (*NullableState) Unset

func (v *NullableState) Unset()

type NullableStickySession

type NullableStickySession struct {
	// contains filtered or unexported fields
}

func NewNullableStickySession

func NewNullableStickySession(val *StickySession) *NullableStickySession

func (NullableStickySession) Get

func (NullableStickySession) IsSet

func (v NullableStickySession) IsSet() bool

func (NullableStickySession) MarshalJSON

func (v NullableStickySession) MarshalJSON() ([]byte, error)

func (*NullableStickySession) Set

func (v *NullableStickySession) Set(val *StickySession)

func (*NullableStickySession) UnmarshalJSON

func (v *NullableStickySession) UnmarshalJSON(src []byte) error

func (*NullableStickySession) Unset

func (v *NullableStickySession) Unset()

type NullableStorage

type NullableStorage struct {
	// contains filtered or unexported fields
}

func NewNullableStorage

func NewNullableStorage(val *Storage) *NullableStorage

func (NullableStorage) Get

func (v NullableStorage) Get() *Storage

func (NullableStorage) IsSet

func (v NullableStorage) IsSet() bool

func (NullableStorage) MarshalJSON

func (v NullableStorage) MarshalJSON() ([]byte, error)

func (*NullableStorage) Set

func (v *NullableStorage) Set(val *Storage)

func (*NullableStorage) UnmarshalJSON

func (v *NullableStorage) UnmarshalJSON(src []byte) error

func (*NullableStorage) Unset

func (v *NullableStorage) Unset()

type NullableStorageSize

type NullableStorageSize struct {
	// contains filtered or unexported fields
}

func NewNullableStorageSize

func NewNullableStorageSize(val *StorageSize) *NullableStorageSize

func (NullableStorageSize) Get

func (NullableStorageSize) IsSet

func (v NullableStorageSize) IsSet() bool

func (NullableStorageSize) MarshalJSON

func (v NullableStorageSize) MarshalJSON() ([]byte, error)

func (*NullableStorageSize) Set

func (v *NullableStorageSize) Set(val *StorageSize)

func (*NullableStorageSize) UnmarshalJSON

func (v *NullableStorageSize) UnmarshalJSON(src []byte) error

func (*NullableStorageSize) Unset

func (v *NullableStorageSize) Unset()

type NullableStorageType

type NullableStorageType struct {
	// contains filtered or unexported fields
}

func NewNullableStorageType

func NewNullableStorageType(val *StorageType) *NullableStorageType

func (NullableStorageType) Get

func (NullableStorageType) IsSet

func (v NullableStorageType) IsSet() bool

func (NullableStorageType) MarshalJSON

func (v NullableStorageType) MarshalJSON() ([]byte, error)

func (*NullableStorageType) Set

func (v *NullableStorageType) Set(val *StorageType)

func (*NullableStorageType) UnmarshalJSON

func (v *NullableStorageType) UnmarshalJSON(src []byte) error

func (*NullableStorageType) Unset

func (v *NullableStorageType) Unset()

type NullableStoreCredentialOpts

type NullableStoreCredentialOpts struct {
	// contains filtered or unexported fields
}

func NewNullableStoreCredentialOpts

func NewNullableStoreCredentialOpts(val *StoreCredentialOpts) *NullableStoreCredentialOpts

func (NullableStoreCredentialOpts) Get

func (NullableStoreCredentialOpts) IsSet

func (NullableStoreCredentialOpts) MarshalJSON

func (v NullableStoreCredentialOpts) MarshalJSON() ([]byte, error)

func (*NullableStoreCredentialOpts) Set

func (*NullableStoreCredentialOpts) UnmarshalJSON

func (v *NullableStoreCredentialOpts) UnmarshalJSON(src []byte) error

func (*NullableStoreCredentialOpts) Unset

func (v *NullableStoreCredentialOpts) Unset()

type NullableStoreCredentialResult

type NullableStoreCredentialResult struct {
	// contains filtered or unexported fields
}

func (NullableStoreCredentialResult) Get

func (NullableStoreCredentialResult) IsSet

func (NullableStoreCredentialResult) MarshalJSON

func (v NullableStoreCredentialResult) MarshalJSON() ([]byte, error)

func (*NullableStoreCredentialResult) Set

func (*NullableStoreCredentialResult) UnmarshalJSON

func (v *NullableStoreCredentialResult) UnmarshalJSON(src []byte) error

func (*NullableStoreCredentialResult) Unset

func (v *NullableStoreCredentialResult) 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 NullableSummary

type NullableSummary struct {
	// contains filtered or unexported fields
}

func NewNullableSummary

func NewNullableSummary(val *Summary) *NullableSummary

func (NullableSummary) Get

func (v NullableSummary) Get() *Summary

func (NullableSummary) IsSet

func (v NullableSummary) IsSet() bool

func (NullableSummary) MarshalJSON

func (v NullableSummary) MarshalJSON() ([]byte, error)

func (*NullableSummary) Set

func (v *NullableSummary) Set(val *Summary)

func (*NullableSummary) UnmarshalJSON

func (v *NullableSummary) UnmarshalJSON(src []byte) error

func (*NullableSummary) Unset

func (v *NullableSummary) Unset()

type NullableTarget

type NullableTarget struct {
	// contains filtered or unexported fields
}

func NewNullableTarget

func NewNullableTarget(val *Target) *NullableTarget

func (NullableTarget) Get

func (v NullableTarget) Get() *Target

func (NullableTarget) IsSet

func (v NullableTarget) IsSet() bool

func (NullableTarget) MarshalJSON

func (v NullableTarget) MarshalJSON() ([]byte, error)

func (*NullableTarget) Set

func (v *NullableTarget) Set(val *Target)

func (*NullableTarget) UnmarshalJSON

func (v *NullableTarget) UnmarshalJSON(src []byte) error

func (*NullableTarget) Unset

func (v *NullableTarget) Unset()

type NullableTier

type NullableTier struct {
	// contains filtered or unexported fields
}

func NewNullableTier

func NewNullableTier(val *Tier) *NullableTier

func (NullableTier) Get

func (v NullableTier) Get() *Tier

func (NullableTier) IsSet

func (v NullableTier) IsSet() bool

func (NullableTier) MarshalJSON

func (v NullableTier) MarshalJSON() ([]byte, error)

func (*NullableTier) Set

func (v *NullableTier) Set(val *Tier)

func (*NullableTier) UnmarshalJSON

func (v *NullableTier) UnmarshalJSON(src []byte) error

func (*NullableTier) Unset

func (v *NullableTier) 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 NullableTraffic

type NullableTraffic struct {
	// contains filtered or unexported fields
}

func NewNullableTraffic

func NewNullableTraffic(val *Traffic) *NullableTraffic

func (NullableTraffic) Get

func (v NullableTraffic) Get() *Traffic

func (NullableTraffic) IsSet

func (v NullableTraffic) IsSet() bool

func (NullableTraffic) MarshalJSON

func (v NullableTraffic) MarshalJSON() ([]byte, error)

func (*NullableTraffic) Set

func (v *NullableTraffic) Set(val *Traffic)

func (*NullableTraffic) UnmarshalJSON

func (v *NullableTraffic) UnmarshalJSON(src []byte) error

func (*NullableTraffic) Unset

func (v *NullableTraffic) Unset()

type NullableTrafficMetric

type NullableTrafficMetric struct {
	// contains filtered or unexported fields
}

func NewNullableTrafficMetric

func NewNullableTrafficMetric(val *TrafficMetric) *NullableTrafficMetric

func (NullableTrafficMetric) Get

func (NullableTrafficMetric) IsSet

func (v NullableTrafficMetric) IsSet() bool

func (NullableTrafficMetric) MarshalJSON

func (v NullableTrafficMetric) MarshalJSON() ([]byte, error)

func (*NullableTrafficMetric) Set

func (v *NullableTrafficMetric) Set(val *TrafficMetric)

func (*NullableTrafficMetric) UnmarshalJSON

func (v *NullableTrafficMetric) UnmarshalJSON(src []byte) error

func (*NullableTrafficMetric) Unset

func (v *NullableTrafficMetric) Unset()

type NullableTrafficMetricSummary

type NullableTrafficMetricSummary struct {
	// contains filtered or unexported fields
}

func NewNullableTrafficMetricSummary

func NewNullableTrafficMetricSummary(val *TrafficMetricSummary) *NullableTrafficMetricSummary

func (NullableTrafficMetricSummary) Get

func (NullableTrafficMetricSummary) IsSet

func (NullableTrafficMetricSummary) MarshalJSON

func (v NullableTrafficMetricSummary) MarshalJSON() ([]byte, error)

func (*NullableTrafficMetricSummary) Set

func (*NullableTrafficMetricSummary) UnmarshalJSON

func (v *NullableTrafficMetricSummary) UnmarshalJSON(src []byte) error

func (*NullableTrafficMetricSummary) Unset

func (v *NullableTrafficMetricSummary) Unset()

type NullableTrafficMetricValue

type NullableTrafficMetricValue struct {
	// contains filtered or unexported fields
}

func NewNullableTrafficMetricValue

func NewNullableTrafficMetricValue(val *TrafficMetricValue) *NullableTrafficMetricValue

func (NullableTrafficMetricValue) Get

func (NullableTrafficMetricValue) IsSet

func (v NullableTrafficMetricValue) IsSet() bool

func (NullableTrafficMetricValue) MarshalJSON

func (v NullableTrafficMetricValue) MarshalJSON() ([]byte, error)

func (*NullableTrafficMetricValue) Set

func (*NullableTrafficMetricValue) UnmarshalJSON

func (v *NullableTrafficMetricValue) UnmarshalJSON(src []byte) error

func (*NullableTrafficMetricValue) Unset

func (v *NullableTrafficMetricValue) Unset()

type NullableTrafficMetricsMetaData

type NullableTrafficMetricsMetaData struct {
	// contains filtered or unexported fields
}

func (NullableTrafficMetricsMetaData) Get

func (NullableTrafficMetricsMetaData) IsSet

func (NullableTrafficMetricsMetaData) MarshalJSON

func (v NullableTrafficMetricsMetaData) MarshalJSON() ([]byte, error)

func (*NullableTrafficMetricsMetaData) Set

func (*NullableTrafficMetricsMetaData) UnmarshalJSON

func (v *NullableTrafficMetricsMetaData) UnmarshalJSON(src []byte) error

func (*NullableTrafficMetricsMetaData) Unset

func (v *NullableTrafficMetricsMetaData) Unset()

type NullableTypeName

type NullableTypeName struct {
	// contains filtered or unexported fields
}

func NewNullableTypeName

func NewNullableTypeName(val *TypeName) *NullableTypeName

func (NullableTypeName) Get

func (v NullableTypeName) Get() *TypeName

func (NullableTypeName) IsSet

func (v NullableTypeName) IsSet() bool

func (NullableTypeName) MarshalJSON

func (v NullableTypeName) MarshalJSON() ([]byte, error)

func (*NullableTypeName) Set

func (v *NullableTypeName) Set(val *TypeName)

func (*NullableTypeName) UnmarshalJSON

func (v *NullableTypeName) UnmarshalJSON(src []byte) error

func (*NullableTypeName) Unset

func (v *NullableTypeName) Unset()

type NullableUpdateAutoScalingGroupOpts

type NullableUpdateAutoScalingGroupOpts struct {
	// contains filtered or unexported fields
}

func (NullableUpdateAutoScalingGroupOpts) Get

func (NullableUpdateAutoScalingGroupOpts) IsSet

func (NullableUpdateAutoScalingGroupOpts) MarshalJSON

func (v NullableUpdateAutoScalingGroupOpts) MarshalJSON() ([]byte, error)

func (*NullableUpdateAutoScalingGroupOpts) Set

func (*NullableUpdateAutoScalingGroupOpts) UnmarshalJSON

func (v *NullableUpdateAutoScalingGroupOpts) UnmarshalJSON(src []byte) error

func (*NullableUpdateAutoScalingGroupOpts) Unset

type NullableUpdateCredentialOpts

type NullableUpdateCredentialOpts struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateCredentialOpts

func NewNullableUpdateCredentialOpts(val *UpdateCredentialOpts) *NullableUpdateCredentialOpts

func (NullableUpdateCredentialOpts) Get

func (NullableUpdateCredentialOpts) IsSet

func (NullableUpdateCredentialOpts) MarshalJSON

func (v NullableUpdateCredentialOpts) MarshalJSON() ([]byte, error)

func (*NullableUpdateCredentialOpts) Set

func (*NullableUpdateCredentialOpts) UnmarshalJSON

func (v *NullableUpdateCredentialOpts) UnmarshalJSON(src []byte) error

func (*NullableUpdateCredentialOpts) Unset

func (v *NullableUpdateCredentialOpts) Unset()

type NullableUpdateCredentialResult

type NullableUpdateCredentialResult struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCredentialResult) Get

func (NullableUpdateCredentialResult) IsSet

func (NullableUpdateCredentialResult) MarshalJSON

func (v NullableUpdateCredentialResult) MarshalJSON() ([]byte, error)

func (*NullableUpdateCredentialResult) Set

func (*NullableUpdateCredentialResult) UnmarshalJSON

func (v *NullableUpdateCredentialResult) UnmarshalJSON(src []byte) error

func (*NullableUpdateCredentialResult) Unset

func (v *NullableUpdateCredentialResult) Unset()

type NullableUpdateImageOpts

type NullableUpdateImageOpts struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateImageOpts

func NewNullableUpdateImageOpts(val *UpdateImageOpts) *NullableUpdateImageOpts

func (NullableUpdateImageOpts) Get

func (NullableUpdateImageOpts) IsSet

func (v NullableUpdateImageOpts) IsSet() bool

func (NullableUpdateImageOpts) MarshalJSON

func (v NullableUpdateImageOpts) MarshalJSON() ([]byte, error)

func (*NullableUpdateImageOpts) Set

func (*NullableUpdateImageOpts) UnmarshalJSON

func (v *NullableUpdateImageOpts) UnmarshalJSON(src []byte) error

func (*NullableUpdateImageOpts) Unset

func (v *NullableUpdateImageOpts) Unset()

type NullableUpdateInstanceOpts

type NullableUpdateInstanceOpts struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateInstanceOpts

func NewNullableUpdateInstanceOpts(val *UpdateInstanceOpts) *NullableUpdateInstanceOpts

func (NullableUpdateInstanceOpts) Get

func (NullableUpdateInstanceOpts) IsSet

func (v NullableUpdateInstanceOpts) IsSet() bool

func (NullableUpdateInstanceOpts) MarshalJSON

func (v NullableUpdateInstanceOpts) MarshalJSON() ([]byte, error)

func (*NullableUpdateInstanceOpts) Set

func (*NullableUpdateInstanceOpts) UnmarshalJSON

func (v *NullableUpdateInstanceOpts) UnmarshalJSON(src []byte) error

func (*NullableUpdateInstanceOpts) Unset

func (v *NullableUpdateInstanceOpts) Unset()

type NullableUpdateIpOpts

type NullableUpdateIpOpts struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateIpOpts

func NewNullableUpdateIpOpts(val *UpdateIpOpts) *NullableUpdateIpOpts

func (NullableUpdateIpOpts) Get

func (NullableUpdateIpOpts) IsSet

func (v NullableUpdateIpOpts) IsSet() bool

func (NullableUpdateIpOpts) MarshalJSON

func (v NullableUpdateIpOpts) MarshalJSON() ([]byte, error)

func (*NullableUpdateIpOpts) Set

func (v *NullableUpdateIpOpts) Set(val *UpdateIpOpts)

func (*NullableUpdateIpOpts) UnmarshalJSON

func (v *NullableUpdateIpOpts) UnmarshalJSON(src []byte) error

func (*NullableUpdateIpOpts) Unset

func (v *NullableUpdateIpOpts) Unset()

type NullableUpdateLoadBalancerOpts

type NullableUpdateLoadBalancerOpts struct {
	// contains filtered or unexported fields
}

func (NullableUpdateLoadBalancerOpts) Get

func (NullableUpdateLoadBalancerOpts) IsSet

func (NullableUpdateLoadBalancerOpts) MarshalJSON

func (v NullableUpdateLoadBalancerOpts) MarshalJSON() ([]byte, error)

func (*NullableUpdateLoadBalancerOpts) Set

func (*NullableUpdateLoadBalancerOpts) UnmarshalJSON

func (v *NullableUpdateLoadBalancerOpts) UnmarshalJSON(src []byte) error

func (*NullableUpdateLoadBalancerOpts) Unset

func (v *NullableUpdateLoadBalancerOpts) Unset()

type NullableValues

type NullableValues struct {
	// contains filtered or unexported fields
}

func NewNullableValues

func NewNullableValues(val *Values) *NullableValues

func (NullableValues) Get

func (v NullableValues) Get() *Values

func (NullableValues) IsSet

func (v NullableValues) IsSet() bool

func (NullableValues) MarshalJSON

func (v NullableValues) MarshalJSON() ([]byte, error)

func (*NullableValues) Set

func (v *NullableValues) Set(val *Values)

func (*NullableValues) UnmarshalJSON

func (v *NullableValues) UnmarshalJSON(src []byte) error

func (*NullableValues) Unset

func (v *NullableValues) Unset()

type Peak

type Peak struct {
	// The highest amount of incoming traffic given the provided aggregation and granularity
	Value                *string    `json:"value,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

Peak struct for Peak

func NewPeak

func NewPeak() *Peak

NewPeak instantiates a new Peak object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPeakWithDefaults

func NewPeakWithDefaults() *Peak

NewPeakWithDefaults instantiates a new Peak object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Peak) GetTimestamp

func (o *Peak) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*Peak) GetTimestampOk

func (o *Peak) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Peak) GetValue

func (o *Peak) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Peak) GetValueOk

func (o *Peak) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Peak) HasTimestamp

func (o *Peak) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*Peak) HasValue

func (o *Peak) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Peak) MarshalJSON

func (o Peak) MarshalJSON() ([]byte, error)

func (*Peak) SetTimestamp

func (o *Peak) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*Peak) SetValue

func (o *Peak) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (Peak) ToMap

func (o Peak) ToMap() (map[string]interface{}, error)

func (*Peak) UnmarshalJSON

func (o *Peak) UnmarshalJSON(data []byte) (err error)

type Price

type Price struct {
	HourlyPrice          string `json:"hourlyPrice"`
	MonthlyPrice         string `json:"monthlyPrice"`
	AdditionalProperties map[string]interface{}
}

Price struct for Price

func NewPrice

func NewPrice(hourlyPrice string, monthlyPrice string) *Price

NewPrice instantiates a new Price object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPriceWithDefaults

func NewPriceWithDefaults() *Price

NewPriceWithDefaults instantiates a new Price object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Price) GetHourlyPrice

func (o *Price) GetHourlyPrice() string

GetHourlyPrice returns the HourlyPrice field value

func (*Price) GetHourlyPriceOk

func (o *Price) GetHourlyPriceOk() (*string, bool)

GetHourlyPriceOk returns a tuple with the HourlyPrice field value and a boolean to check if the value has been set.

func (*Price) GetMonthlyPrice

func (o *Price) GetMonthlyPrice() string

GetMonthlyPrice returns the MonthlyPrice field value

func (*Price) GetMonthlyPriceOk

func (o *Price) GetMonthlyPriceOk() (*string, bool)

GetMonthlyPriceOk returns a tuple with the MonthlyPrice field value and a boolean to check if the value has been set.

func (Price) MarshalJSON

func (o Price) MarshalJSON() ([]byte, error)

func (*Price) SetHourlyPrice

func (o *Price) SetHourlyPrice(v string)

SetHourlyPrice sets field value

func (*Price) SetMonthlyPrice

func (o *Price) SetMonthlyPrice(v string)

SetMonthlyPrice sets field value

func (Price) ToMap

func (o Price) ToMap() (map[string]interface{}, error)

func (*Price) UnmarshalJSON

func (o *Price) UnmarshalJSON(data []byte) (err error)

type Prices

type Prices struct {
	Currency             string  `json:"currency"`
	CurrencySymbol       string  `json:"currencySymbol"`
	Compute              Price   `json:"compute"`
	Storage              Storage `json:"storage"`
	AdditionalProperties map[string]interface{}
}

Prices struct for Prices

func NewPrices

func NewPrices(currency string, currencySymbol string, compute Price, storage Storage) *Prices

NewPrices instantiates a new Prices object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPricesWithDefaults

func NewPricesWithDefaults() *Prices

NewPricesWithDefaults instantiates a new Prices object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Prices) GetCompute

func (o *Prices) GetCompute() Price

GetCompute returns the Compute field value

func (*Prices) GetComputeOk

func (o *Prices) GetComputeOk() (*Price, bool)

GetComputeOk returns a tuple with the Compute field value and a boolean to check if the value has been set.

func (*Prices) GetCurrency

func (o *Prices) GetCurrency() string

GetCurrency returns the Currency field value

func (*Prices) GetCurrencyOk

func (o *Prices) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*Prices) GetCurrencySymbol

func (o *Prices) GetCurrencySymbol() string

GetCurrencySymbol returns the CurrencySymbol field value

func (*Prices) GetCurrencySymbolOk

func (o *Prices) GetCurrencySymbolOk() (*string, bool)

GetCurrencySymbolOk returns a tuple with the CurrencySymbol field value and a boolean to check if the value has been set.

func (*Prices) GetStorage

func (o *Prices) GetStorage() Storage

GetStorage returns the Storage field value

func (*Prices) GetStorageOk

func (o *Prices) GetStorageOk() (*Storage, bool)

GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.

func (Prices) MarshalJSON

func (o Prices) MarshalJSON() ([]byte, error)

func (*Prices) SetCompute

func (o *Prices) SetCompute(v Price)

SetCompute sets field value

func (*Prices) SetCurrency

func (o *Prices) SetCurrency(v string)

SetCurrency sets field value

func (*Prices) SetCurrencySymbol

func (o *Prices) SetCurrencySymbol(v string)

SetCurrencySymbol sets field value

func (*Prices) SetStorage

func (o *Prices) SetStorage(v Storage)

SetStorage sets field value

func (Prices) ToMap

func (o Prices) ToMap() (map[string]interface{}, error)

func (*Prices) UnmarshalJSON

func (o *Prices) UnmarshalJSON(data []byte) (err error)

type PrivateNetwork

type PrivateNetwork struct {
	PrivateNetworkId     string `json:"privateNetworkId"`
	Status               string `json:"status"`
	Subnet               string `json:"subnet"`
	AdditionalProperties map[string]interface{}
}

PrivateNetwork struct for PrivateNetwork

func NewPrivateNetwork

func NewPrivateNetwork(privateNetworkId string, status string, subnet string) *PrivateNetwork

NewPrivateNetwork instantiates a new PrivateNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPrivateNetworkWithDefaults

func NewPrivateNetworkWithDefaults() *PrivateNetwork

NewPrivateNetworkWithDefaults instantiates a new PrivateNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PrivateNetwork) GetPrivateNetworkId

func (o *PrivateNetwork) GetPrivateNetworkId() string

GetPrivateNetworkId returns the PrivateNetworkId field value

func (*PrivateNetwork) GetPrivateNetworkIdOk

func (o *PrivateNetwork) GetPrivateNetworkIdOk() (*string, bool)

GetPrivateNetworkIdOk returns a tuple with the PrivateNetworkId field value and a boolean to check if the value has been set.

func (*PrivateNetwork) GetStatus

func (o *PrivateNetwork) GetStatus() string

GetStatus returns the Status field value

func (*PrivateNetwork) GetStatusOk

func (o *PrivateNetwork) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*PrivateNetwork) GetSubnet

func (o *PrivateNetwork) GetSubnet() string

GetSubnet returns the Subnet field value

func (*PrivateNetwork) GetSubnetOk

func (o *PrivateNetwork) GetSubnetOk() (*string, bool)

GetSubnetOk returns a tuple with the Subnet field value and a boolean to check if the value has been set.

func (PrivateNetwork) MarshalJSON

func (o PrivateNetwork) MarshalJSON() ([]byte, error)

func (*PrivateNetwork) SetPrivateNetworkId

func (o *PrivateNetwork) SetPrivateNetworkId(v string)

SetPrivateNetworkId sets field value

func (*PrivateNetwork) SetStatus

func (o *PrivateNetwork) SetStatus(v string)

SetStatus sets field value

func (*PrivateNetwork) SetSubnet

func (o *PrivateNetwork) SetSubnet(v string)

SetSubnet sets field value

func (PrivateNetwork) ToMap

func (o PrivateNetwork) ToMap() (map[string]interface{}, error)

func (*PrivateNetwork) UnmarshalJSON

func (o *PrivateNetwork) UnmarshalJSON(data []byte) (err error)

type PublicCloudAPI

type PublicCloudAPI interface {

	/*
		AddToPrivateNetwork Add instance to Private Network

		Add instance to Private Network.

	Cannot be performed when the instance has snapshots.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiAddToPrivateNetworkRequest
	*/
	AddToPrivateNetwork(ctx context.Context, instanceId string) ApiAddToPrivateNetworkRequest

	// AddToPrivateNetworkExecute executes the request
	AddToPrivateNetworkExecute(r ApiAddToPrivateNetworkRequest) (*http.Response, error)

	/*
		AttachIso Attach ISO to instance

		Instance must not have ISO attached, otherwise, it will return a validation error.

	Available ISOs can be obtained using `/v1/isos`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiAttachIsoRequest
	*/
	AttachIso(ctx context.Context, instanceId string) ApiAttachIsoRequest

	// AttachIsoExecute executes the request
	AttachIsoExecute(r ApiAttachIsoRequest) (*http.Response, error)

	/*
		CancelInstanceTermination Cancel instance termination

		Cancel the termination process of monthly instances. Must be executed prior to the instance's `contractEndsAt`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiCancelInstanceTerminationRequest
	*/
	CancelInstanceTermination(ctx context.Context, instanceId string) ApiCancelInstanceTerminationRequest

	// CancelInstanceTerminationExecute executes the request
	CancelInstanceTerminationExecute(r ApiCancelInstanceTerminationRequest) (*http.Response, error)

	/*
		CreateAutoScalingGroup Create Auto Scaling Group

		Create an Auto Scaling Group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateAutoScalingGroupRequest
	*/
	CreateAutoScalingGroup(ctx context.Context) ApiCreateAutoScalingGroupRequest

	// CreateAutoScalingGroupExecute executes the request
	//  @return AutoScalingGroupDetails
	CreateAutoScalingGroupExecute(r ApiCreateAutoScalingGroupRequest) (*AutoScalingGroupDetails, *http.Response, error)

	/*
		CreateImage Create Custom Image

		Create a Custom Image

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateImageRequest
	*/
	CreateImage(ctx context.Context) ApiCreateImageRequest

	// CreateImageExecute executes the request
	//  @return ImageDetails
	CreateImageExecute(r ApiCreateImageRequest) (*ImageDetails, *http.Response, error)

	/*
		CreateLoadBalancerListener Create listener

		Create listener

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiCreateLoadBalancerListenerRequest
	*/
	CreateLoadBalancerListener(ctx context.Context, loadBalancerId string) ApiCreateLoadBalancerListenerRequest

	// CreateLoadBalancerListenerExecute executes the request
	//  @return LoadBalancerListener
	CreateLoadBalancerListenerExecute(r ApiCreateLoadBalancerListenerRequest) (*LoadBalancerListener, *http.Response, error)

	/*
		CreateSnapshot Create instance snapshot

		The instance must be running before the execution.

	The time taken to create the snapshot depends on several factors, including memory size and usage.

	Allowed only one snapshot per instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiCreateSnapshotRequest
	*/
	CreateSnapshot(ctx context.Context, instanceId string) ApiCreateSnapshotRequest

	// CreateSnapshotExecute executes the request
	CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*http.Response, error)

	/*
		DeleteAutoScalingGroup Delete Auto Scaling Group

		Delete an Auto Scaling Group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param autoScalingGroupId Auto Scaling Group ID
		@return ApiDeleteAutoScalingGroupRequest
	*/
	DeleteAutoScalingGroup(ctx context.Context, autoScalingGroupId string) ApiDeleteAutoScalingGroupRequest

	// DeleteAutoScalingGroupExecute executes the request
	DeleteAutoScalingGroupExecute(r ApiDeleteAutoScalingGroupRequest) (*http.Response, error)

	/*
		DeleteCredential Delete credentials

		Delete credential for a given type and username

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param type_ Credential type
		@param username Username
		@return ApiDeleteCredentialRequest
	*/
	DeleteCredential(ctx context.Context, instanceId string, type_ string, username string) ApiDeleteCredentialRequest

	// DeleteCredentialExecute executes the request
	DeleteCredentialExecute(r ApiDeleteCredentialRequest) (*http.Response, error)

	/*
		DeleteCredentials Delete all instance credentials

		Delete all credentials stored for a given instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiDeleteCredentialsRequest
	*/
	DeleteCredentials(ctx context.Context, instanceId string) ApiDeleteCredentialsRequest

	// DeleteCredentialsExecute executes the request
	DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (*http.Response, error)

	/*
		DeleteLoadBalancerListener Delete load balancer listener

		Delete a listener

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@param listenerId Listener ID
		@return ApiDeleteLoadBalancerListenerRequest
	*/
	DeleteLoadBalancerListener(ctx context.Context, loadBalancerId string, listenerId string) ApiDeleteLoadBalancerListenerRequest

	// DeleteLoadBalancerListenerExecute executes the request
	DeleteLoadBalancerListenerExecute(r ApiDeleteLoadBalancerListenerRequest) (*http.Response, error)

	/*
		DeleteSnapshot Delete instance snapshot

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param snapshotId
		@return ApiDeleteSnapshotRequest
	*/
	DeleteSnapshot(ctx context.Context, instanceId string, snapshotId string) ApiDeleteSnapshotRequest

	// DeleteSnapshotExecute executes the request
	DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) (*http.Response, error)

	/*
		DeregisterAutoScalingGroupLoadBalancer Deregister Load balancer

		Disassociates a Load Balancer from an Auto Scaling Group, stopping the distribution of incoming traffic to the instances within the group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param autoScalingGroupId Auto Scaling Group ID
		@return ApiDeregisterAutoScalingGroupLoadBalancerRequest
	*/
	DeregisterAutoScalingGroupLoadBalancer(ctx context.Context, autoScalingGroupId string) ApiDeregisterAutoScalingGroupLoadBalancerRequest

	// DeregisterAutoScalingGroupLoadBalancerExecute executes the request
	//  @return AutoScalingGroupDetails
	DeregisterAutoScalingGroupLoadBalancerExecute(r ApiDeregisterAutoScalingGroupLoadBalancerRequest) (*AutoScalingGroupDetails, *http.Response, error)

	/*
		DeregisterLoadBalancerTargets Deregister targets

		Deregister targets registered in a load balancer.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiDeregisterLoadBalancerTargetsRequest
	*/
	DeregisterLoadBalancerTargets(ctx context.Context, loadBalancerId string) ApiDeregisterLoadBalancerTargetsRequest

	// DeregisterLoadBalancerTargetsExecute executes the request
	DeregisterLoadBalancerTargetsExecute(r ApiDeregisterLoadBalancerTargetsRequest) (*http.Response, error)

	/*
		DetachIso Detach ISO from instance

		Instance must have ISO attached, otherwise, it will return a validation error

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiDetachIsoRequest
	*/
	DetachIso(ctx context.Context, instanceId string) ApiDetachIsoRequest

	// DetachIsoExecute executes the request
	DetachIsoExecute(r ApiDetachIsoRequest) (*http.Response, error)

	/*
		GetAutoScalingGroup Get Auto Scaling Group details

		Get details about Auto Scaling Group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param autoScalingGroupId Auto Scaling Group ID
		@return ApiGetAutoScalingGroupRequest
	*/
	GetAutoScalingGroup(ctx context.Context, autoScalingGroupId string) ApiGetAutoScalingGroupRequest

	// GetAutoScalingGroupExecute executes the request
	//  @return AutoScalingGroupDetails
	GetAutoScalingGroupExecute(r ApiGetAutoScalingGroupRequest) (*AutoScalingGroupDetails, *http.Response, error)

	/*
		GetAutoScalingGroupInstanceList Get list of instances belonging to an Auto Scaling Group

		List instances belonging to an Auto Scaling Group

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param autoScalingGroupId Auto Scaling Group ID
		@return ApiGetAutoScalingGroupInstanceListRequest
	*/
	GetAutoScalingGroupInstanceList(ctx context.Context, autoScalingGroupId string) ApiGetAutoScalingGroupInstanceListRequest

	// GetAutoScalingGroupInstanceListExecute executes the request
	//  @return GetAutoScalingGroupInstanceListResult
	GetAutoScalingGroupInstanceListExecute(r ApiGetAutoScalingGroupInstanceListRequest) (*GetAutoScalingGroupInstanceListResult, *http.Response, error)

	/*
		GetAutoScalingGroupList Get Auto Scaling Group list

		List and filter Auto Scaling Groups

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetAutoScalingGroupListRequest
	*/
	GetAutoScalingGroupList(ctx context.Context) ApiGetAutoScalingGroupListRequest

	// GetAutoScalingGroupListExecute executes the request
	//  @return GetAutoScalingGroupListResult
	GetAutoScalingGroupListExecute(r ApiGetAutoScalingGroupListRequest) (*GetAutoScalingGroupListResult, *http.Response, error)

	/*
		GetConsoleAccessToInstance Get console access

		Get console access to the instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetConsoleAccessToInstanceRequest
	*/
	GetConsoleAccessToInstance(ctx context.Context, instanceId string) ApiGetConsoleAccessToInstanceRequest

	// GetConsoleAccessToInstanceExecute executes the request
	//  @return GetConsoleAccessToInstanceResult
	GetConsoleAccessToInstanceExecute(r ApiGetConsoleAccessToInstanceRequest) (*GetConsoleAccessToInstanceResult, *http.Response, error)

	/*
		GetCpuMetrics Get instance CPU metrics

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetCpuMetricsRequest
	*/
	GetCpuMetrics(ctx context.Context, instanceId string) ApiGetCpuMetricsRequest

	// GetCpuMetricsExecute executes the request
	//  @return GetCpuMetricsResult
	GetCpuMetricsExecute(r ApiGetCpuMetricsRequest) (*GetCpuMetricsResult, *http.Response, error)

	/*
		GetCredential Get credentials by type and username

		Get credentials by type and username

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param type_ Credential type
		@param username Username
		@return ApiGetCredentialRequest
	*/
	GetCredential(ctx context.Context, instanceId string, type_ string, username string) ApiGetCredentialRequest

	// GetCredentialExecute executes the request
	//  @return GetCredentialResult
	GetCredentialExecute(r ApiGetCredentialRequest) (*GetCredentialResult, *http.Response, error)

	/*
		GetCredentialList List credentials stored for instance

		Get all credentials stored for the instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetCredentialListRequest
	*/
	GetCredentialList(ctx context.Context, instanceId string) ApiGetCredentialListRequest

	// GetCredentialListExecute executes the request
	//  @return GetCredentialListResult
	GetCredentialListExecute(r ApiGetCredentialListRequest) (*GetCredentialListResult, *http.Response, error)

	/*
		GetCredentialListByType Get credentials by type

		Get credentials stored for the instance by their types

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param type_
		@return ApiGetCredentialListByTypeRequest
	*/
	GetCredentialListByType(ctx context.Context, instanceId string, type_ string) ApiGetCredentialListByTypeRequest

	// GetCredentialListByTypeExecute executes the request
	//  @return GetCredentialListByTypeResult
	GetCredentialListByTypeExecute(r ApiGetCredentialListByTypeRequest) (*GetCredentialListByTypeResult, *http.Response, error)

	/*
		GetDataTrafficMetrics Get instance data traffic metrics

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetDataTrafficMetricsRequest
	*/
	GetDataTrafficMetrics(ctx context.Context, instanceId string) ApiGetDataTrafficMetricsRequest

	// GetDataTrafficMetricsExecute executes the request
	//  @return GetDataTrafficMetricsResult
	GetDataTrafficMetricsExecute(r ApiGetDataTrafficMetricsRequest) (*GetDataTrafficMetricsResult, *http.Response, error)

	/*
		GetExpenses Get costs for a given month.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param equipmentId Equipment's UUID
		@return ApiGetExpensesRequest
	*/
	GetExpenses(ctx context.Context, equipmentId string) ApiGetExpensesRequest

	// GetExpensesExecute executes the request
	//  @return GetExpensesResult
	GetExpensesExecute(r ApiGetExpensesRequest) (*GetExpensesResult, *http.Response, error)

	/*
		GetImageList List all available Images

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetImageListRequest
	*/
	GetImageList(ctx context.Context) ApiGetImageListRequest

	// GetImageListExecute executes the request
	//  @return GetImageListResult
	GetImageListExecute(r ApiGetImageListRequest) (*GetImageListResult, *http.Response, error)

	/*
		GetInstance Get instance details

		Get details about the instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, instanceId string) ApiGetInstanceRequest

	// GetInstanceExecute executes the request
	//  @return InstanceDetails
	GetInstanceExecute(r ApiGetInstanceRequest) (*InstanceDetails, *http.Response, error)

	/*
		GetInstanceList Get instance list

		List and filter instances

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetInstanceListRequest
	*/
	GetInstanceList(ctx context.Context) ApiGetInstanceListRequest

	// GetInstanceListExecute executes the request
	//  @return GetInstanceListResult
	GetInstanceListExecute(r ApiGetInstanceListRequest) (*GetInstanceListResult, *http.Response, error)

	/*
		GetInstanceTypeList List instance types

		Get instance types

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetInstanceTypeListRequest
	*/
	GetInstanceTypeList(ctx context.Context) ApiGetInstanceTypeListRequest

	// GetInstanceTypeListExecute executes the request
	//  @return InstanceTypes
	GetInstanceTypeListExecute(r ApiGetInstanceTypeListRequest) (*InstanceTypes, *http.Response, error)

	/*
		GetIp Get details about an instance's IP

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param ip
		@return ApiGetIpRequest
	*/
	GetIp(ctx context.Context, instanceId string, ip string) ApiGetIpRequest

	// GetIpExecute executes the request
	//  @return IpDetails
	GetIpExecute(r ApiGetIpRequest) (*IpDetails, *http.Response, error)

	/*
		GetIpList List instance's IPs

		List the instance's IPs

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetIpListRequest
	*/
	GetIpList(ctx context.Context, instanceId string) ApiGetIpListRequest

	// GetIpListExecute executes the request
	//  @return GetIpListResult
	GetIpListExecute(r ApiGetIpListRequest) (*GetIpListResult, *http.Response, error)

	/*
		GetIsoList List available ISOs

		List all available ISO images

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetIsoListRequest
	*/
	GetIsoList(ctx context.Context) ApiGetIsoListRequest

	// GetIsoListExecute executes the request
	//  @return GetIsoListResult
	GetIsoListExecute(r ApiGetIsoListRequest) (*GetIsoListResult, *http.Response, error)

	/*
		GetLoadBalancer Get load balancer details

		Get details about the load balancer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiGetLoadBalancerRequest
	*/
	GetLoadBalancer(ctx context.Context, loadBalancerId string) ApiGetLoadBalancerRequest

	// GetLoadBalancerExecute executes the request
	//  @return LoadBalancerDetails
	GetLoadBalancerExecute(r ApiGetLoadBalancerRequest) (*LoadBalancerDetails, *http.Response, error)

	/*
		GetLoadBalancerList Get load balancer list

		List and filter load balancers

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetLoadBalancerListRequest
	*/
	GetLoadBalancerList(ctx context.Context) ApiGetLoadBalancerListRequest

	// GetLoadBalancerListExecute executes the request
	//  @return GetLoadBalancerListResult
	GetLoadBalancerListExecute(r ApiGetLoadBalancerListRequest) (*GetLoadBalancerListResult, *http.Response, error)

	/*
		GetLoadBalancerListener Get listener details

		Get details about a listener

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@param listenerId Listener ID
		@return ApiGetLoadBalancerListenerRequest
	*/
	GetLoadBalancerListener(ctx context.Context, loadBalancerId string, listenerId string) ApiGetLoadBalancerListenerRequest

	// GetLoadBalancerListenerExecute executes the request
	//  @return LoadBalancerListener
	GetLoadBalancerListenerExecute(r ApiGetLoadBalancerListenerRequest) (*LoadBalancerListener, *http.Response, error)

	/*
		GetLoadBalancerTargetList List registered targets

		List targets registered in a load balancer.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiGetLoadBalancerTargetListRequest
	*/
	GetLoadBalancerTargetList(ctx context.Context, loadBalancerId string) ApiGetLoadBalancerTargetListRequest

	// GetLoadBalancerTargetListExecute executes the request
	//  @return GetLoadBalancerTargetListResult
	GetLoadBalancerTargetListExecute(r ApiGetLoadBalancerTargetListRequest) (*GetLoadBalancerTargetListResult, *http.Response, error)

	/*
		GetMarketAppList Get marketplace apps

		Get all available marketplace apps.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetMarketAppListRequest
	*/
	GetMarketAppList(ctx context.Context) ApiGetMarketAppListRequest

	// GetMarketAppListExecute executes the request
	//  @return GetMarketAppListResult
	GetMarketAppListExecute(r ApiGetMarketAppListRequest) (*GetMarketAppListResult, *http.Response, error)

	/*
		GetRegionList List regions

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetRegionListRequest
	*/
	GetRegionList(ctx context.Context) ApiGetRegionListRequest

	// GetRegionListExecute executes the request
	//  @return GetRegionListResult
	GetRegionListExecute(r ApiGetRegionListRequest) (*GetRegionListResult, *http.Response, error)

	/*
		GetReinstallImageList List images available for reinstall

		List Images available for reinstall

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetReinstallImageListRequest
	*/
	GetReinstallImageList(ctx context.Context, instanceId string) ApiGetReinstallImageListRequest

	// GetReinstallImageListExecute executes the request
	//  @return GetReinstallImageListResult
	GetReinstallImageListExecute(r ApiGetReinstallImageListRequest) (*GetReinstallImageListResult, *http.Response, error)

	/*
		GetSnapshot Get snapshot detail

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param snapshotId
		@return ApiGetSnapshotRequest
	*/
	GetSnapshot(ctx context.Context, instanceId string, snapshotId string) ApiGetSnapshotRequest

	// GetSnapshotExecute executes the request
	//  @return Snapshot
	GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, *http.Response, error)

	/*
		GetSnapshotList List snapshots

		List instance snapshots

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetSnapshotListRequest
	*/
	GetSnapshotList(ctx context.Context, instanceId string) ApiGetSnapshotListRequest

	// GetSnapshotListExecute executes the request
	//  @return GetSnapshotListResult
	GetSnapshotListExecute(r ApiGetSnapshotListRequest) (*GetSnapshotListResult, *http.Response, error)

	/*
		GetUpdateInstanceTypeList List available instance types for update

		Get available instance types for update

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiGetUpdateInstanceTypeListRequest
	*/
	GetUpdateInstanceTypeList(ctx context.Context, instanceId string) ApiGetUpdateInstanceTypeListRequest

	// GetUpdateInstanceTypeListExecute executes the request
	//  @return InstanceTypes
	GetUpdateInstanceTypeListExecute(r ApiGetUpdateInstanceTypeListRequest) (*InstanceTypes, *http.Response, error)

	/*
		LaunchInstance Launch instance

		Launch a Public Cloud instance.

	Available regions can be obtained using `/v1/regions`.

	Available Images can be obtained using `/v1/images`.

	Available instance types for your region can be obtained using `/v1/instanceTypes`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiLaunchInstanceRequest
	*/
	LaunchInstance(ctx context.Context) ApiLaunchInstanceRequest

	// LaunchInstanceExecute executes the request
	//  @return Instance
	LaunchInstanceExecute(r ApiLaunchInstanceRequest) (*Instance, *http.Response, error)

	/*
		LaunchLoadBalancer Launch Load balancer

		Launch a Load balancer.

	Available regions can be obtained using `/v1/regions`.

	Available load balancer types for your region can be obtained using `/v1/loadBalancerTypes`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiLaunchLoadBalancerRequest
	*/
	LaunchLoadBalancer(ctx context.Context) ApiLaunchLoadBalancerRequest

	// LaunchLoadBalancerExecute executes the request
	//  @return LoadBalancerDetails
	LaunchLoadBalancerExecute(r ApiLaunchLoadBalancerRequest) (*LoadBalancerDetails, *http.Response, error)

	/*
		NullRouteIp Null route IP

		Null route an IP. It may take a few minutes before the change is propagated across the network.

	Only works for IPv4.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param ip
		@return ApiNullRouteIpRequest
	*/
	NullRouteIp(ctx context.Context, instanceId string, ip string) ApiNullRouteIpRequest

	// NullRouteIpExecute executes the request
	//  @return IpDetails
	NullRouteIpExecute(r ApiNullRouteIpRequest) (*IpDetails, *http.Response, error)

	/*
		RebootInstance Reboot instance

		The instance must be running before the execution

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiRebootInstanceRequest
	*/
	RebootInstance(ctx context.Context, instanceId string) ApiRebootInstanceRequest

	// RebootInstanceExecute executes the request
	RebootInstanceExecute(r ApiRebootInstanceRequest) (*http.Response, error)

	/*
		RegisterAutoScalingGroupLoadBalancer Register Load balancer

		Associates a Load Balancer with an Auto Scaling Group to distribute incoming traffic across the instances within the group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param autoScalingGroupId Auto Scaling Group ID
		@return ApiRegisterAutoScalingGroupLoadBalancerRequest
	*/
	RegisterAutoScalingGroupLoadBalancer(ctx context.Context, autoScalingGroupId string) ApiRegisterAutoScalingGroupLoadBalancerRequest

	// RegisterAutoScalingGroupLoadBalancerExecute executes the request
	//  @return AutoScalingGroupDetails
	RegisterAutoScalingGroupLoadBalancerExecute(r ApiRegisterAutoScalingGroupLoadBalancerRequest) (*AutoScalingGroupDetails, *http.Response, error)

	/*
		RegisterLoadBalancerTargets Register targets

		Register targets in a load balancer. Instances must be running and have private network enabled so they can be registered.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiRegisterLoadBalancerTargetsRequest
	*/
	RegisterLoadBalancerTargets(ctx context.Context, loadBalancerId string) ApiRegisterLoadBalancerTargetsRequest

	// RegisterLoadBalancerTargetsExecute executes the request
	RegisterLoadBalancerTargetsExecute(r ApiRegisterLoadBalancerTargetsRequest) (*http.Response, error)

	/*
		ReinstallInstance Reinstall instance

		Recreates the instance, with optionally different Image and Marketplace App.

	Cannot be performed when the instance has snapshots.

	Available Images can be obtained using `/v1/instances/{instanceId}/reinstall/images`.

	Available Marketplace Apps can be obtained using `/v1/images/{imageId}/marketApps`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiReinstallInstanceRequest
	*/
	ReinstallInstance(ctx context.Context, instanceId string) ApiReinstallInstanceRequest

	// ReinstallInstanceExecute executes the request
	ReinstallInstanceExecute(r ApiReinstallInstanceRequest) (*http.Response, error)

	/*
		RemoveFromPrivateNetwork Remove instance from Private Network

		Remove instance from Private Network.

	Cannot be performed when the instance has snapshots.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiRemoveFromPrivateNetworkRequest
	*/
	RemoveFromPrivateNetwork(ctx context.Context, instanceId string) ApiRemoveFromPrivateNetworkRequest

	// RemoveFromPrivateNetworkExecute executes the request
	RemoveFromPrivateNetworkExecute(r ApiRemoveFromPrivateNetworkRequest) (*http.Response, error)

	/*
		RemoveIpNullRoute Remove an IP null route

		Remove an IP null route. It may take a few minutes before the change is propagated across the network

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param ip
		@return ApiRemoveIpNullRouteRequest
	*/
	RemoveIpNullRoute(ctx context.Context, instanceId string, ip string) ApiRemoveIpNullRouteRequest

	// RemoveIpNullRouteExecute executes the request
	//  @return IpDetails
	RemoveIpNullRouteExecute(r ApiRemoveIpNullRouteRequest) (*IpDetails, *http.Response, error)

	/*
		ResetPassword Reset instance password

		The operation may take a few moments to complete.

	You can obtain the new credential using the credentials endpoints

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiResetPasswordRequest
	*/
	ResetPassword(ctx context.Context, instanceId string) ApiResetPasswordRequest

	// ResetPasswordExecute executes the request
	ResetPasswordExecute(r ApiResetPasswordRequest) (*http.Response, error)

	/*
		RestoreSnapshot Restore instance snapshot

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param snapshotId
		@return ApiRestoreSnapshotRequest
	*/
	RestoreSnapshot(ctx context.Context, instanceId string, snapshotId string) ApiRestoreSnapshotRequest

	// RestoreSnapshotExecute executes the request
	RestoreSnapshotExecute(r ApiRestoreSnapshotRequest) (*http.Response, error)

	/*
		StartInstance Start instance

		The instance must be stopped before the execution

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiStartInstanceRequest
	*/
	StartInstance(ctx context.Context, instanceId string) ApiStartInstanceRequest

	// StartInstanceExecute executes the request
	StartInstanceExecute(r ApiStartInstanceRequest) (*http.Response, error)

	/*
		StopInstance Stop instance

		The instance must be running before the execution

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiStopInstanceRequest
	*/
	StopInstance(ctx context.Context, instanceId string) ApiStopInstanceRequest

	// StopInstanceExecute executes the request
	StopInstanceExecute(r ApiStopInstanceRequest) (*http.Response, error)

	/*
		StoreCredential Store credentials

		Store credential used for the instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiStoreCredentialRequest
	*/
	StoreCredential(ctx context.Context, instanceId string) ApiStoreCredentialRequest

	// StoreCredentialExecute executes the request
	//  @return StoreCredentialResult
	StoreCredentialExecute(r ApiStoreCredentialRequest) (*StoreCredentialResult, *http.Response, error)

	/*
		TerminateInstance Terminate instance

		Terminate Public Cloud instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiTerminateInstanceRequest
	*/
	TerminateInstance(ctx context.Context, instanceId string) ApiTerminateInstanceRequest

	// TerminateInstanceExecute executes the request
	TerminateInstanceExecute(r ApiTerminateInstanceRequest) (*http.Response, error)

	/*
		TerminateLoadBalancer Delete load balancer

		Terminate a Load balancer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiTerminateLoadBalancerRequest
	*/
	TerminateLoadBalancer(ctx context.Context, loadBalancerId string) ApiTerminateLoadBalancerRequest

	// TerminateLoadBalancerExecute executes the request
	TerminateLoadBalancerExecute(r ApiTerminateLoadBalancerRequest) (*http.Response, error)

	/*
		UpdateAutoScalingGroup Update Auto Scaling Group

		Update an Auto Scaling Group.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param autoScalingGroupId Auto Scaling Group ID
		@return ApiUpdateAutoScalingGroupRequest
	*/
	UpdateAutoScalingGroup(ctx context.Context, autoScalingGroupId string) ApiUpdateAutoScalingGroupRequest

	// UpdateAutoScalingGroupExecute executes the request
	//  @return AutoScalingGroupDetails
	UpdateAutoScalingGroupExecute(r ApiUpdateAutoScalingGroupRequest) (*AutoScalingGroupDetails, *http.Response, error)

	/*
		UpdateCredential Update credentials

		Update credentials for a given type and username

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param type_ Credential type
		@param username Username
		@return ApiUpdateCredentialRequest
	*/
	UpdateCredential(ctx context.Context, instanceId string, type_ string, username string) ApiUpdateCredentialRequest

	// UpdateCredentialExecute executes the request
	//  @return UpdateCredentialResult
	UpdateCredentialExecute(r ApiUpdateCredentialRequest) (*UpdateCredentialResult, *http.Response, error)

	/*
		UpdateImage Update Custom Image

		Update a Custom Image

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param imageId Image's ID
		@return ApiUpdateImageRequest
	*/
	UpdateImage(ctx context.Context, imageId string) ApiUpdateImageRequest

	// UpdateImageExecute executes the request
	//  @return ImageDetails
	UpdateImageExecute(r ApiUpdateImageRequest) (*ImageDetails, *http.Response, error)

	/*
		UpdateInstance Update instance

		Update the instance's reference, type, storage or contract type.

	Eligible instance types for update can be obtained using `/v1/instances/{instanceId}/instanceTypesUpdate`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@return ApiUpdateInstanceRequest
	*/
	UpdateInstance(ctx context.Context, instanceId string) ApiUpdateInstanceRequest

	// UpdateInstanceExecute executes the request
	//  @return InstanceDetails
	UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*InstanceDetails, *http.Response, error)

	/*
		UpdateIp Update IP

		Allows you to set the reverse lookup for the IP

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param instanceId Instance's ID
		@param ip
		@return ApiUpdateIpRequest
	*/
	UpdateIp(ctx context.Context, instanceId string, ip string) ApiUpdateIpRequest

	// UpdateIpExecute executes the request
	//  @return IpDetails
	UpdateIpExecute(r ApiUpdateIpRequest) (*IpDetails, *http.Response, error)

	/*
		UpdateLoadBalancer Update load balancer

		Update load balancer configurations

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@return ApiUpdateLoadBalancerRequest
	*/
	UpdateLoadBalancer(ctx context.Context, loadBalancerId string) ApiUpdateLoadBalancerRequest

	// UpdateLoadBalancerExecute executes the request
	//  @return LoadBalancerDetails
	UpdateLoadBalancerExecute(r ApiUpdateLoadBalancerRequest) (*LoadBalancerDetails, *http.Response, error)

	/*
		UpdateLoadBalancerListener Update a listener

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param loadBalancerId Load balancer ID
		@param listenerId Listener ID
		@return ApiUpdateLoadBalancerListenerRequest
	*/
	UpdateLoadBalancerListener(ctx context.Context, loadBalancerId string, listenerId string) ApiUpdateLoadBalancerListenerRequest

	// UpdateLoadBalancerListenerExecute executes the request
	//  @return LoadBalancerListener
	UpdateLoadBalancerListenerExecute(r ApiUpdateLoadBalancerListenerRequest) (*LoadBalancerListener, *http.Response, error)
}

type PublicCloudAPIService

type PublicCloudAPIService service

PublicCloudAPIService PublicCloudAPI service

func (*PublicCloudAPIService) AddToPrivateNetwork

func (a *PublicCloudAPIService) AddToPrivateNetwork(ctx context.Context, instanceId string) ApiAddToPrivateNetworkRequest

AddToPrivateNetwork Add instance to Private Network

Add instance to Private Network.

Cannot be performed when the instance has snapshots.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiAddToPrivateNetworkRequest

func (*PublicCloudAPIService) AddToPrivateNetworkExecute

func (a *PublicCloudAPIService) AddToPrivateNetworkExecute(r ApiAddToPrivateNetworkRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) AttachIso

func (a *PublicCloudAPIService) AttachIso(ctx context.Context, instanceId string) ApiAttachIsoRequest

AttachIso Attach ISO to instance

Instance must not have ISO attached, otherwise, it will return a validation error.

Available ISOs can be obtained using `/v1/isos`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiAttachIsoRequest

func (*PublicCloudAPIService) AttachIsoExecute

func (a *PublicCloudAPIService) AttachIsoExecute(r ApiAttachIsoRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) CancelInstanceTermination

func (a *PublicCloudAPIService) CancelInstanceTermination(ctx context.Context, instanceId string) ApiCancelInstanceTerminationRequest

CancelInstanceTermination Cancel instance termination

Cancel the termination process of monthly instances. Must be executed prior to the instance's `contractEndsAt`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiCancelInstanceTerminationRequest

func (*PublicCloudAPIService) CancelInstanceTerminationExecute

func (a *PublicCloudAPIService) CancelInstanceTerminationExecute(r ApiCancelInstanceTerminationRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) CreateAutoScalingGroup

CreateAutoScalingGroup Create Auto Scaling Group

Create an Auto Scaling Group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateAutoScalingGroupRequest

func (*PublicCloudAPIService) CreateAutoScalingGroupExecute

Execute executes the request

@return AutoScalingGroupDetails

func (*PublicCloudAPIService) CreateImage

CreateImage Create Custom Image

Create a Custom Image

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateImageRequest

func (*PublicCloudAPIService) CreateImageExecute

Execute executes the request

@return ImageDetails

func (*PublicCloudAPIService) CreateLoadBalancerListener

func (a *PublicCloudAPIService) CreateLoadBalancerListener(ctx context.Context, loadBalancerId string) ApiCreateLoadBalancerListenerRequest

CreateLoadBalancerListener Create listener

Create listener

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiCreateLoadBalancerListenerRequest

func (*PublicCloudAPIService) CreateLoadBalancerListenerExecute

Execute executes the request

@return LoadBalancerListener

func (*PublicCloudAPIService) CreateSnapshot

func (a *PublicCloudAPIService) CreateSnapshot(ctx context.Context, instanceId string) ApiCreateSnapshotRequest

CreateSnapshot Create instance snapshot

The instance must be running before the execution.

The time taken to create the snapshot depends on several factors, including memory size and usage.

Allowed only one snapshot per instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiCreateSnapshotRequest

func (*PublicCloudAPIService) CreateSnapshotExecute

func (a *PublicCloudAPIService) CreateSnapshotExecute(r ApiCreateSnapshotRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DeleteAutoScalingGroup

func (a *PublicCloudAPIService) DeleteAutoScalingGroup(ctx context.Context, autoScalingGroupId string) ApiDeleteAutoScalingGroupRequest

DeleteAutoScalingGroup Delete Auto Scaling Group

Delete an Auto Scaling Group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param autoScalingGroupId Auto Scaling Group ID
@return ApiDeleteAutoScalingGroupRequest

func (*PublicCloudAPIService) DeleteAutoScalingGroupExecute

func (a *PublicCloudAPIService) DeleteAutoScalingGroupExecute(r ApiDeleteAutoScalingGroupRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DeleteCredential

func (a *PublicCloudAPIService) DeleteCredential(ctx context.Context, instanceId string, type_ string, username string) ApiDeleteCredentialRequest

DeleteCredential Delete credentials

Delete credential for a given type and username

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param type_ Credential type
@param username Username
@return ApiDeleteCredentialRequest

func (*PublicCloudAPIService) DeleteCredentialExecute

func (a *PublicCloudAPIService) DeleteCredentialExecute(r ApiDeleteCredentialRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DeleteCredentials

func (a *PublicCloudAPIService) DeleteCredentials(ctx context.Context, instanceId string) ApiDeleteCredentialsRequest

DeleteCredentials Delete all instance credentials

Delete all credentials stored for a given instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiDeleteCredentialsRequest

func (*PublicCloudAPIService) DeleteCredentialsExecute

func (a *PublicCloudAPIService) DeleteCredentialsExecute(r ApiDeleteCredentialsRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DeleteLoadBalancerListener

func (a *PublicCloudAPIService) DeleteLoadBalancerListener(ctx context.Context, loadBalancerId string, listenerId string) ApiDeleteLoadBalancerListenerRequest

DeleteLoadBalancerListener Delete load balancer listener

Delete a listener

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@param listenerId Listener ID
@return ApiDeleteLoadBalancerListenerRequest

func (*PublicCloudAPIService) DeleteLoadBalancerListenerExecute

func (a *PublicCloudAPIService) DeleteLoadBalancerListenerExecute(r ApiDeleteLoadBalancerListenerRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DeleteSnapshot

func (a *PublicCloudAPIService) DeleteSnapshot(ctx context.Context, instanceId string, snapshotId string) ApiDeleteSnapshotRequest

DeleteSnapshot Delete instance snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param snapshotId
@return ApiDeleteSnapshotRequest

func (*PublicCloudAPIService) DeleteSnapshotExecute

func (a *PublicCloudAPIService) DeleteSnapshotExecute(r ApiDeleteSnapshotRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DeregisterAutoScalingGroupLoadBalancer

func (a *PublicCloudAPIService) DeregisterAutoScalingGroupLoadBalancer(ctx context.Context, autoScalingGroupId string) ApiDeregisterAutoScalingGroupLoadBalancerRequest

DeregisterAutoScalingGroupLoadBalancer Deregister Load balancer

Disassociates a Load Balancer from an Auto Scaling Group, stopping the distribution of incoming traffic to the instances within the group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param autoScalingGroupId Auto Scaling Group ID
@return ApiDeregisterAutoScalingGroupLoadBalancerRequest

func (*PublicCloudAPIService) DeregisterAutoScalingGroupLoadBalancerExecute

Execute executes the request

@return AutoScalingGroupDetails

func (*PublicCloudAPIService) DeregisterLoadBalancerTargets

func (a *PublicCloudAPIService) DeregisterLoadBalancerTargets(ctx context.Context, loadBalancerId string) ApiDeregisterLoadBalancerTargetsRequest

DeregisterLoadBalancerTargets Deregister targets

Deregister targets registered in a load balancer.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiDeregisterLoadBalancerTargetsRequest

func (*PublicCloudAPIService) DeregisterLoadBalancerTargetsExecute

func (a *PublicCloudAPIService) DeregisterLoadBalancerTargetsExecute(r ApiDeregisterLoadBalancerTargetsRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) DetachIso

func (a *PublicCloudAPIService) DetachIso(ctx context.Context, instanceId string) ApiDetachIsoRequest

DetachIso Detach ISO from instance

Instance must have ISO attached, otherwise, it will return a validation error

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiDetachIsoRequest

func (*PublicCloudAPIService) DetachIsoExecute

func (a *PublicCloudAPIService) DetachIsoExecute(r ApiDetachIsoRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) GetAutoScalingGroup

func (a *PublicCloudAPIService) GetAutoScalingGroup(ctx context.Context, autoScalingGroupId string) ApiGetAutoScalingGroupRequest

GetAutoScalingGroup Get Auto Scaling Group details

Get details about Auto Scaling Group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param autoScalingGroupId Auto Scaling Group ID
@return ApiGetAutoScalingGroupRequest

func (*PublicCloudAPIService) GetAutoScalingGroupExecute

Execute executes the request

@return AutoScalingGroupDetails

func (*PublicCloudAPIService) GetAutoScalingGroupInstanceList

func (a *PublicCloudAPIService) GetAutoScalingGroupInstanceList(ctx context.Context, autoScalingGroupId string) ApiGetAutoScalingGroupInstanceListRequest

GetAutoScalingGroupInstanceList Get list of instances belonging to an Auto Scaling Group

List instances belonging to an Auto Scaling Group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param autoScalingGroupId Auto Scaling Group ID
@return ApiGetAutoScalingGroupInstanceListRequest

func (*PublicCloudAPIService) GetAutoScalingGroupInstanceListExecute

Execute executes the request

@return GetAutoScalingGroupInstanceListResult

func (*PublicCloudAPIService) GetAutoScalingGroupList

GetAutoScalingGroupList Get Auto Scaling Group list

List and filter Auto Scaling Groups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAutoScalingGroupListRequest

func (*PublicCloudAPIService) GetAutoScalingGroupListExecute

Execute executes the request

@return GetAutoScalingGroupListResult

func (*PublicCloudAPIService) GetConsoleAccessToInstance

func (a *PublicCloudAPIService) GetConsoleAccessToInstance(ctx context.Context, instanceId string) ApiGetConsoleAccessToInstanceRequest

GetConsoleAccessToInstance Get console access

Get console access to the instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetConsoleAccessToInstanceRequest

func (*PublicCloudAPIService) GetConsoleAccessToInstanceExecute

Execute executes the request

@return GetConsoleAccessToInstanceResult

func (*PublicCloudAPIService) GetCpuMetrics

func (a *PublicCloudAPIService) GetCpuMetrics(ctx context.Context, instanceId string) ApiGetCpuMetricsRequest

GetCpuMetrics Get instance CPU metrics

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetCpuMetricsRequest

func (*PublicCloudAPIService) GetCpuMetricsExecute

Execute executes the request

@return GetCpuMetricsResult

func (*PublicCloudAPIService) GetCredential

func (a *PublicCloudAPIService) GetCredential(ctx context.Context, instanceId string, type_ string, username string) ApiGetCredentialRequest

GetCredential Get credentials by type and username

Get credentials by type and username

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param type_ Credential type
@param username Username
@return ApiGetCredentialRequest

func (*PublicCloudAPIService) GetCredentialExecute

Execute executes the request

@return GetCredentialResult

func (*PublicCloudAPIService) GetCredentialList

func (a *PublicCloudAPIService) GetCredentialList(ctx context.Context, instanceId string) ApiGetCredentialListRequest

GetCredentialList List credentials stored for instance

Get all credentials stored for the instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetCredentialListRequest

func (*PublicCloudAPIService) GetCredentialListByType

func (a *PublicCloudAPIService) GetCredentialListByType(ctx context.Context, instanceId string, type_ string) ApiGetCredentialListByTypeRequest

GetCredentialListByType Get credentials by type

Get credentials stored for the instance by their types

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param type_
@return ApiGetCredentialListByTypeRequest

func (*PublicCloudAPIService) GetCredentialListByTypeExecute

Execute executes the request

@return GetCredentialListByTypeResult

func (*PublicCloudAPIService) GetCredentialListExecute

Execute executes the request

@return GetCredentialListResult

func (*PublicCloudAPIService) GetDataTrafficMetrics

func (a *PublicCloudAPIService) GetDataTrafficMetrics(ctx context.Context, instanceId string) ApiGetDataTrafficMetricsRequest

GetDataTrafficMetrics Get instance data traffic metrics

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetDataTrafficMetricsRequest

func (*PublicCloudAPIService) GetDataTrafficMetricsExecute

Execute executes the request

@return GetDataTrafficMetricsResult

func (*PublicCloudAPIService) GetExpenses

func (a *PublicCloudAPIService) GetExpenses(ctx context.Context, equipmentId string) ApiGetExpensesRequest

GetExpenses Get costs for a given month.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param equipmentId Equipment's UUID
@return ApiGetExpensesRequest

func (*PublicCloudAPIService) GetExpensesExecute

Execute executes the request

@return GetExpensesResult

func (*PublicCloudAPIService) GetImageList

GetImageList List all available Images

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetImageListRequest

func (*PublicCloudAPIService) GetImageListExecute

Execute executes the request

@return GetImageListResult

func (*PublicCloudAPIService) GetInstance

func (a *PublicCloudAPIService) GetInstance(ctx context.Context, instanceId string) ApiGetInstanceRequest

GetInstance Get instance details

Get details about the instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetInstanceRequest

func (*PublicCloudAPIService) GetInstanceExecute

Execute executes the request

@return InstanceDetails

func (*PublicCloudAPIService) GetInstanceList

GetInstanceList Get instance list

List and filter instances

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInstanceListRequest

func (*PublicCloudAPIService) GetInstanceListExecute

Execute executes the request

@return GetInstanceListResult

func (*PublicCloudAPIService) GetInstanceTypeList

GetInstanceTypeList List instance types

Get instance types

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInstanceTypeListRequest

func (*PublicCloudAPIService) GetInstanceTypeListExecute

Execute executes the request

@return InstanceTypes

func (*PublicCloudAPIService) GetIp

func (a *PublicCloudAPIService) GetIp(ctx context.Context, instanceId string, ip string) ApiGetIpRequest

GetIp Get details about an instance's IP

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param ip
@return ApiGetIpRequest

func (*PublicCloudAPIService) GetIpExecute

Execute executes the request

@return IpDetails

func (*PublicCloudAPIService) GetIpList

func (a *PublicCloudAPIService) GetIpList(ctx context.Context, instanceId string) ApiGetIpListRequest

GetIpList List instance's IPs

List the instance's IPs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetIpListRequest

func (*PublicCloudAPIService) GetIpListExecute

Execute executes the request

@return GetIpListResult

func (*PublicCloudAPIService) GetIsoList

GetIsoList List available ISOs

List all available ISO images

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetIsoListRequest

func (*PublicCloudAPIService) GetIsoListExecute

Execute executes the request

@return GetIsoListResult

func (*PublicCloudAPIService) GetLoadBalancer

func (a *PublicCloudAPIService) GetLoadBalancer(ctx context.Context, loadBalancerId string) ApiGetLoadBalancerRequest

GetLoadBalancer Get load balancer details

Get details about the load balancer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiGetLoadBalancerRequest

func (*PublicCloudAPIService) GetLoadBalancerExecute

Execute executes the request

@return LoadBalancerDetails

func (*PublicCloudAPIService) GetLoadBalancerList

GetLoadBalancerList Get load balancer list

List and filter load balancers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetLoadBalancerListRequest

func (*PublicCloudAPIService) GetLoadBalancerListExecute

Execute executes the request

@return GetLoadBalancerListResult

func (*PublicCloudAPIService) GetLoadBalancerListener

func (a *PublicCloudAPIService) GetLoadBalancerListener(ctx context.Context, loadBalancerId string, listenerId string) ApiGetLoadBalancerListenerRequest

GetLoadBalancerListener Get listener details

Get details about a listener

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@param listenerId Listener ID
@return ApiGetLoadBalancerListenerRequest

func (*PublicCloudAPIService) GetLoadBalancerListenerExecute

Execute executes the request

@return LoadBalancerListener

func (*PublicCloudAPIService) GetLoadBalancerTargetList

func (a *PublicCloudAPIService) GetLoadBalancerTargetList(ctx context.Context, loadBalancerId string) ApiGetLoadBalancerTargetListRequest

GetLoadBalancerTargetList List registered targets

List targets registered in a load balancer.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiGetLoadBalancerTargetListRequest

func (*PublicCloudAPIService) GetLoadBalancerTargetListExecute

Execute executes the request

@return GetLoadBalancerTargetListResult

func (*PublicCloudAPIService) GetMarketAppList

GetMarketAppList Get marketplace apps

Get all available marketplace apps.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetMarketAppListRequest

func (*PublicCloudAPIService) GetMarketAppListExecute

Execute executes the request

@return GetMarketAppListResult

func (*PublicCloudAPIService) GetRegionList

GetRegionList List regions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRegionListRequest

func (*PublicCloudAPIService) GetRegionListExecute

Execute executes the request

@return GetRegionListResult

func (*PublicCloudAPIService) GetReinstallImageList

func (a *PublicCloudAPIService) GetReinstallImageList(ctx context.Context, instanceId string) ApiGetReinstallImageListRequest

GetReinstallImageList List images available for reinstall

List Images available for reinstall

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetReinstallImageListRequest

func (*PublicCloudAPIService) GetReinstallImageListExecute

Execute executes the request

@return GetReinstallImageListResult

func (*PublicCloudAPIService) GetSnapshot

func (a *PublicCloudAPIService) GetSnapshot(ctx context.Context, instanceId string, snapshotId string) ApiGetSnapshotRequest

GetSnapshot Get snapshot detail

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param snapshotId
@return ApiGetSnapshotRequest

func (*PublicCloudAPIService) GetSnapshotExecute

func (a *PublicCloudAPIService) GetSnapshotExecute(r ApiGetSnapshotRequest) (*Snapshot, *http.Response, error)

Execute executes the request

@return Snapshot

func (*PublicCloudAPIService) GetSnapshotList

func (a *PublicCloudAPIService) GetSnapshotList(ctx context.Context, instanceId string) ApiGetSnapshotListRequest

GetSnapshotList List snapshots

List instance snapshots

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetSnapshotListRequest

func (*PublicCloudAPIService) GetSnapshotListExecute

Execute executes the request

@return GetSnapshotListResult

func (*PublicCloudAPIService) GetUpdateInstanceTypeList

func (a *PublicCloudAPIService) GetUpdateInstanceTypeList(ctx context.Context, instanceId string) ApiGetUpdateInstanceTypeListRequest

GetUpdateInstanceTypeList List available instance types for update

Get available instance types for update

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiGetUpdateInstanceTypeListRequest

func (*PublicCloudAPIService) GetUpdateInstanceTypeListExecute

func (a *PublicCloudAPIService) GetUpdateInstanceTypeListExecute(r ApiGetUpdateInstanceTypeListRequest) (*InstanceTypes, *http.Response, error)

Execute executes the request

@return InstanceTypes

func (*PublicCloudAPIService) LaunchInstance

LaunchInstance Launch instance

Launch a Public Cloud instance.

Available regions can be obtained using `/v1/regions`.

Available Images can be obtained using `/v1/images`.

Available instance types for your region can be obtained using `/v1/instanceTypes`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLaunchInstanceRequest

func (*PublicCloudAPIService) LaunchInstanceExecute

func (a *PublicCloudAPIService) LaunchInstanceExecute(r ApiLaunchInstanceRequest) (*Instance, *http.Response, error)

Execute executes the request

@return Instance

func (*PublicCloudAPIService) LaunchLoadBalancer

LaunchLoadBalancer Launch Load balancer

Launch a Load balancer.

Available regions can be obtained using `/v1/regions`.

Available load balancer types for your region can be obtained using `/v1/loadBalancerTypes`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLaunchLoadBalancerRequest

func (*PublicCloudAPIService) LaunchLoadBalancerExecute

Execute executes the request

@return LoadBalancerDetails

func (*PublicCloudAPIService) NullRouteIp

func (a *PublicCloudAPIService) NullRouteIp(ctx context.Context, instanceId string, ip string) ApiNullRouteIpRequest

NullRouteIp Null route IP

Null route an IP. It may take a few minutes before the change is propagated across the network.

Only works for IPv4.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param ip
@return ApiNullRouteIpRequest

func (*PublicCloudAPIService) NullRouteIpExecute

Execute executes the request

@return IpDetails

func (*PublicCloudAPIService) RebootInstance

func (a *PublicCloudAPIService) RebootInstance(ctx context.Context, instanceId string) ApiRebootInstanceRequest

RebootInstance Reboot instance

The instance must be running before the execution

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiRebootInstanceRequest

func (*PublicCloudAPIService) RebootInstanceExecute

func (a *PublicCloudAPIService) RebootInstanceExecute(r ApiRebootInstanceRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) RegisterAutoScalingGroupLoadBalancer

func (a *PublicCloudAPIService) RegisterAutoScalingGroupLoadBalancer(ctx context.Context, autoScalingGroupId string) ApiRegisterAutoScalingGroupLoadBalancerRequest

RegisterAutoScalingGroupLoadBalancer Register Load balancer

Associates a Load Balancer with an Auto Scaling Group to distribute incoming traffic across the instances within the group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param autoScalingGroupId Auto Scaling Group ID
@return ApiRegisterAutoScalingGroupLoadBalancerRequest

func (*PublicCloudAPIService) RegisterAutoScalingGroupLoadBalancerExecute

Execute executes the request

@return AutoScalingGroupDetails

func (*PublicCloudAPIService) RegisterLoadBalancerTargets

func (a *PublicCloudAPIService) RegisterLoadBalancerTargets(ctx context.Context, loadBalancerId string) ApiRegisterLoadBalancerTargetsRequest

RegisterLoadBalancerTargets Register targets

Register targets in a load balancer. Instances must be running and have private network enabled so they can be registered.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiRegisterLoadBalancerTargetsRequest

func (*PublicCloudAPIService) RegisterLoadBalancerTargetsExecute

func (a *PublicCloudAPIService) RegisterLoadBalancerTargetsExecute(r ApiRegisterLoadBalancerTargetsRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) ReinstallInstance

func (a *PublicCloudAPIService) ReinstallInstance(ctx context.Context, instanceId string) ApiReinstallInstanceRequest

ReinstallInstance Reinstall instance

Recreates the instance, with optionally different Image and Marketplace App.

Cannot be performed when the instance has snapshots.

Available Images can be obtained using `/v1/instances/{instanceId}/reinstall/images`.

Available Marketplace Apps can be obtained using `/v1/images/{imageId}/marketApps`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiReinstallInstanceRequest

func (*PublicCloudAPIService) ReinstallInstanceExecute

func (a *PublicCloudAPIService) ReinstallInstanceExecute(r ApiReinstallInstanceRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) RemoveFromPrivateNetwork

func (a *PublicCloudAPIService) RemoveFromPrivateNetwork(ctx context.Context, instanceId string) ApiRemoveFromPrivateNetworkRequest

RemoveFromPrivateNetwork Remove instance from Private Network

Remove instance from Private Network.

Cannot be performed when the instance has snapshots.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiRemoveFromPrivateNetworkRequest

func (*PublicCloudAPIService) RemoveFromPrivateNetworkExecute

func (a *PublicCloudAPIService) RemoveFromPrivateNetworkExecute(r ApiRemoveFromPrivateNetworkRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) RemoveIpNullRoute

func (a *PublicCloudAPIService) RemoveIpNullRoute(ctx context.Context, instanceId string, ip string) ApiRemoveIpNullRouteRequest

RemoveIpNullRoute Remove an IP null route

Remove an IP null route. It may take a few minutes before the change is propagated across the network

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param ip
@return ApiRemoveIpNullRouteRequest

func (*PublicCloudAPIService) RemoveIpNullRouteExecute

func (a *PublicCloudAPIService) RemoveIpNullRouteExecute(r ApiRemoveIpNullRouteRequest) (*IpDetails, *http.Response, error)

Execute executes the request

@return IpDetails

func (*PublicCloudAPIService) ResetPassword

func (a *PublicCloudAPIService) ResetPassword(ctx context.Context, instanceId string) ApiResetPasswordRequest

ResetPassword Reset instance password

The operation may take a few moments to complete.

You can obtain the new credential using the credentials endpoints

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiResetPasswordRequest

func (*PublicCloudAPIService) ResetPasswordExecute

func (a *PublicCloudAPIService) ResetPasswordExecute(r ApiResetPasswordRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) RestoreSnapshot

func (a *PublicCloudAPIService) RestoreSnapshot(ctx context.Context, instanceId string, snapshotId string) ApiRestoreSnapshotRequest

RestoreSnapshot Restore instance snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param snapshotId
@return ApiRestoreSnapshotRequest

func (*PublicCloudAPIService) RestoreSnapshotExecute

func (a *PublicCloudAPIService) RestoreSnapshotExecute(r ApiRestoreSnapshotRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) StartInstance

func (a *PublicCloudAPIService) StartInstance(ctx context.Context, instanceId string) ApiStartInstanceRequest

StartInstance Start instance

The instance must be stopped before the execution

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiStartInstanceRequest

func (*PublicCloudAPIService) StartInstanceExecute

func (a *PublicCloudAPIService) StartInstanceExecute(r ApiStartInstanceRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) StopInstance

func (a *PublicCloudAPIService) StopInstance(ctx context.Context, instanceId string) ApiStopInstanceRequest

StopInstance Stop instance

The instance must be running before the execution

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiStopInstanceRequest

func (*PublicCloudAPIService) StopInstanceExecute

func (a *PublicCloudAPIService) StopInstanceExecute(r ApiStopInstanceRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) StoreCredential

func (a *PublicCloudAPIService) StoreCredential(ctx context.Context, instanceId string) ApiStoreCredentialRequest

StoreCredential Store credentials

Store credential used for the instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiStoreCredentialRequest

func (*PublicCloudAPIService) StoreCredentialExecute

Execute executes the request

@return StoreCredentialResult

func (*PublicCloudAPIService) TerminateInstance

func (a *PublicCloudAPIService) TerminateInstance(ctx context.Context, instanceId string) ApiTerminateInstanceRequest

TerminateInstance Terminate instance

Terminate Public Cloud instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiTerminateInstanceRequest

func (*PublicCloudAPIService) TerminateInstanceExecute

func (a *PublicCloudAPIService) TerminateInstanceExecute(r ApiTerminateInstanceRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) TerminateLoadBalancer

func (a *PublicCloudAPIService) TerminateLoadBalancer(ctx context.Context, loadBalancerId string) ApiTerminateLoadBalancerRequest

TerminateLoadBalancer Delete load balancer

Terminate a Load balancer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiTerminateLoadBalancerRequest

func (*PublicCloudAPIService) TerminateLoadBalancerExecute

func (a *PublicCloudAPIService) TerminateLoadBalancerExecute(r ApiTerminateLoadBalancerRequest) (*http.Response, error)

Execute executes the request

func (*PublicCloudAPIService) UpdateAutoScalingGroup

func (a *PublicCloudAPIService) UpdateAutoScalingGroup(ctx context.Context, autoScalingGroupId string) ApiUpdateAutoScalingGroupRequest

UpdateAutoScalingGroup Update Auto Scaling Group

Update an Auto Scaling Group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param autoScalingGroupId Auto Scaling Group ID
@return ApiUpdateAutoScalingGroupRequest

func (*PublicCloudAPIService) UpdateAutoScalingGroupExecute

Execute executes the request

@return AutoScalingGroupDetails

func (*PublicCloudAPIService) UpdateCredential

func (a *PublicCloudAPIService) UpdateCredential(ctx context.Context, instanceId string, type_ string, username string) ApiUpdateCredentialRequest

UpdateCredential Update credentials

Update credentials for a given type and username

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param type_ Credential type
@param username Username
@return ApiUpdateCredentialRequest

func (*PublicCloudAPIService) UpdateCredentialExecute

Execute executes the request

@return UpdateCredentialResult

func (*PublicCloudAPIService) UpdateImage

func (a *PublicCloudAPIService) UpdateImage(ctx context.Context, imageId string) ApiUpdateImageRequest

UpdateImage Update Custom Image

Update a Custom Image

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param imageId Image's ID
@return ApiUpdateImageRequest

func (*PublicCloudAPIService) UpdateImageExecute

Execute executes the request

@return ImageDetails

func (*PublicCloudAPIService) UpdateInstance

func (a *PublicCloudAPIService) UpdateInstance(ctx context.Context, instanceId string) ApiUpdateInstanceRequest

UpdateInstance Update instance

Update the instance's reference, type, storage or contract type.

Eligible instance types for update can be obtained using `/v1/instances/{instanceId}/instanceTypesUpdate`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@return ApiUpdateInstanceRequest

func (*PublicCloudAPIService) UpdateInstanceExecute

Execute executes the request

@return InstanceDetails

func (*PublicCloudAPIService) UpdateIp

func (a *PublicCloudAPIService) UpdateIp(ctx context.Context, instanceId string, ip string) ApiUpdateIpRequest

UpdateIp Update IP

Allows you to set the reverse lookup for the IP

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance's ID
@param ip
@return ApiUpdateIpRequest

func (*PublicCloudAPIService) UpdateIpExecute

Execute executes the request

@return IpDetails

func (*PublicCloudAPIService) UpdateLoadBalancer

func (a *PublicCloudAPIService) UpdateLoadBalancer(ctx context.Context, loadBalancerId string) ApiUpdateLoadBalancerRequest

UpdateLoadBalancer Update load balancer

Update load balancer configurations

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@return ApiUpdateLoadBalancerRequest

func (*PublicCloudAPIService) UpdateLoadBalancerExecute

Execute executes the request

@return LoadBalancerDetails

func (*PublicCloudAPIService) UpdateLoadBalancerListener

func (a *PublicCloudAPIService) UpdateLoadBalancerListener(ctx context.Context, loadBalancerId string, listenerId string) ApiUpdateLoadBalancerListenerRequest

UpdateLoadBalancerListener Update a listener

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param loadBalancerId Load balancer ID
@param listenerId Listener ID
@return ApiUpdateLoadBalancerListenerRequest

func (*PublicCloudAPIService) UpdateLoadBalancerListenerExecute

Execute executes the request

@return LoadBalancerListener

type Region

type Region struct {
	Name RegionName `json:"name"`
	// The city where the region is located.
	Location             string `json:"location"`
	AdditionalProperties map[string]interface{}
}

Region struct for Region

func NewRegion

func NewRegion(name RegionName, location string) *Region

NewRegion instantiates a new Region object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegionWithDefaults

func NewRegionWithDefaults() *Region

NewRegionWithDefaults instantiates a new Region object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Region) GetLocation

func (o *Region) GetLocation() string

GetLocation returns the Location field value

func (*Region) GetLocationOk

func (o *Region) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.

func (*Region) GetName

func (o *Region) GetName() RegionName

GetName returns the Name field value

func (*Region) GetNameOk

func (o *Region) GetNameOk() (*RegionName, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (Region) MarshalJSON

func (o Region) MarshalJSON() ([]byte, error)

func (*Region) SetLocation

func (o *Region) SetLocation(v string)

SetLocation sets field value

func (*Region) SetName

func (o *Region) SetName(v RegionName)

SetName sets field value

func (Region) ToMap

func (o Region) ToMap() (map[string]interface{}, error)

func (*Region) UnmarshalJSON

func (o *Region) UnmarshalJSON(data []byte) (err error)

type RegionName

type RegionName string

RegionName region name

const (
	REGIONNAME_EU_WEST_3      RegionName = "eu-west-3"
	REGIONNAME_US_EAST_1      RegionName = "us-east-1"
	REGIONNAME_EU_CENTRAL_1   RegionName = "eu-central-1"
	REGIONNAME_AP_SOUTHEAST_1 RegionName = "ap-southeast-1"
	REGIONNAME_US_WEST_1      RegionName = "us-west-1"
	REGIONNAME_EU_WEST_2      RegionName = "eu-west-2"
	REGIONNAME_CA_CENTRAL_1   RegionName = "ca-central-1"
)

List of regionName

func NewRegionNameFromValue

func NewRegionNameFromValue(v string) (*RegionName, error)

NewRegionNameFromValue returns a pointer to a valid RegionName for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RegionName) IsValid

func (v RegionName) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RegionName) Ptr

func (v RegionName) Ptr() *RegionName

Ptr returns reference to regionName value

func (*RegionName) UnmarshalJSON

func (v *RegionName) UnmarshalJSON(src []byte) error

type RegisterAutoScalingGroupLoadBalancerOpts

type RegisterAutoScalingGroupLoadBalancerOpts struct {
	// Load balancer ID
	LoadBalancerId       string `json:"loadBalancerId"`
	AdditionalProperties map[string]interface{}
}

RegisterAutoScalingGroupLoadBalancerOpts struct for RegisterAutoScalingGroupLoadBalancerOpts

func NewRegisterAutoScalingGroupLoadBalancerOpts

func NewRegisterAutoScalingGroupLoadBalancerOpts(loadBalancerId string) *RegisterAutoScalingGroupLoadBalancerOpts

NewRegisterAutoScalingGroupLoadBalancerOpts instantiates a new RegisterAutoScalingGroupLoadBalancerOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegisterAutoScalingGroupLoadBalancerOptsWithDefaults

func NewRegisterAutoScalingGroupLoadBalancerOptsWithDefaults() *RegisterAutoScalingGroupLoadBalancerOpts

NewRegisterAutoScalingGroupLoadBalancerOptsWithDefaults instantiates a new RegisterAutoScalingGroupLoadBalancerOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegisterAutoScalingGroupLoadBalancerOpts) GetLoadBalancerId

func (o *RegisterAutoScalingGroupLoadBalancerOpts) GetLoadBalancerId() string

GetLoadBalancerId returns the LoadBalancerId field value

func (*RegisterAutoScalingGroupLoadBalancerOpts) GetLoadBalancerIdOk

func (o *RegisterAutoScalingGroupLoadBalancerOpts) GetLoadBalancerIdOk() (*string, bool)

GetLoadBalancerIdOk returns a tuple with the LoadBalancerId field value and a boolean to check if the value has been set.

func (RegisterAutoScalingGroupLoadBalancerOpts) MarshalJSON

func (*RegisterAutoScalingGroupLoadBalancerOpts) SetLoadBalancerId

func (o *RegisterAutoScalingGroupLoadBalancerOpts) SetLoadBalancerId(v string)

SetLoadBalancerId sets field value

func (RegisterAutoScalingGroupLoadBalancerOpts) ToMap

func (o RegisterAutoScalingGroupLoadBalancerOpts) ToMap() (map[string]interface{}, error)

func (*RegisterAutoScalingGroupLoadBalancerOpts) UnmarshalJSON

func (o *RegisterAutoScalingGroupLoadBalancerOpts) UnmarshalJSON(data []byte) (err error)

type ReinstallInstanceOpts

type ReinstallInstanceOpts struct {
	// The Image ID
	ImageId string `json:"imageId"`
	// The Market App to be installed
	MarketAppId          *string `json:"marketAppId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReinstallInstanceOpts struct for ReinstallInstanceOpts

func NewReinstallInstanceOpts

func NewReinstallInstanceOpts(imageId string) *ReinstallInstanceOpts

NewReinstallInstanceOpts instantiates a new ReinstallInstanceOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReinstallInstanceOptsWithDefaults

func NewReinstallInstanceOptsWithDefaults() *ReinstallInstanceOpts

NewReinstallInstanceOptsWithDefaults instantiates a new ReinstallInstanceOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReinstallInstanceOpts) GetImageId

func (o *ReinstallInstanceOpts) GetImageId() string

GetImageId returns the ImageId field value

func (*ReinstallInstanceOpts) GetImageIdOk

func (o *ReinstallInstanceOpts) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value and a boolean to check if the value has been set.

func (*ReinstallInstanceOpts) GetMarketAppId

func (o *ReinstallInstanceOpts) GetMarketAppId() string

GetMarketAppId returns the MarketAppId field value if set, zero value otherwise.

func (*ReinstallInstanceOpts) GetMarketAppIdOk

func (o *ReinstallInstanceOpts) GetMarketAppIdOk() (*string, bool)

GetMarketAppIdOk returns a tuple with the MarketAppId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReinstallInstanceOpts) HasMarketAppId

func (o *ReinstallInstanceOpts) HasMarketAppId() bool

HasMarketAppId returns a boolean if a field has been set.

func (ReinstallInstanceOpts) MarshalJSON

func (o ReinstallInstanceOpts) MarshalJSON() ([]byte, error)

func (*ReinstallInstanceOpts) SetImageId

func (o *ReinstallInstanceOpts) SetImageId(v string)

SetImageId sets field value

func (*ReinstallInstanceOpts) SetMarketAppId

func (o *ReinstallInstanceOpts) SetMarketAppId(v string)

SetMarketAppId gets a reference to the given string and assigns it to the MarketAppId field.

func (ReinstallInstanceOpts) ToMap

func (o ReinstallInstanceOpts) ToMap() (map[string]interface{}, error)

func (*ReinstallInstanceOpts) UnmarshalJSON

func (o *ReinstallInstanceOpts) UnmarshalJSON(data []byte) (err error)

type Resources

type Resources struct {
	Cpu                  Cpu          `json:"cpu"`
	Memory               Memory       `json:"memory"`
	PublicNetworkSpeed   NetworkSpeed `json:"publicNetworkSpeed"`
	PrivateNetworkSpeed  NetworkSpeed `json:"privateNetworkSpeed"`
	AdditionalProperties map[string]interface{}
}

Resources Available resources

func NewResources

func NewResources(cpu Cpu, memory Memory, publicNetworkSpeed NetworkSpeed, privateNetworkSpeed NetworkSpeed) *Resources

NewResources instantiates a new Resources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourcesWithDefaults

func NewResourcesWithDefaults() *Resources

NewResourcesWithDefaults instantiates a new Resources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Resources) GetCpu

func (o *Resources) GetCpu() Cpu

GetCpu returns the Cpu field value

func (*Resources) GetCpuOk

func (o *Resources) GetCpuOk() (*Cpu, bool)

GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.

func (*Resources) GetMemory

func (o *Resources) GetMemory() Memory

GetMemory returns the Memory field value

func (*Resources) GetMemoryOk

func (o *Resources) GetMemoryOk() (*Memory, bool)

GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.

func (*Resources) GetPrivateNetworkSpeed

func (o *Resources) GetPrivateNetworkSpeed() NetworkSpeed

GetPrivateNetworkSpeed returns the PrivateNetworkSpeed field value

func (*Resources) GetPrivateNetworkSpeedOk

func (o *Resources) GetPrivateNetworkSpeedOk() (*NetworkSpeed, bool)

GetPrivateNetworkSpeedOk returns a tuple with the PrivateNetworkSpeed field value and a boolean to check if the value has been set.

func (*Resources) GetPublicNetworkSpeed

func (o *Resources) GetPublicNetworkSpeed() NetworkSpeed

GetPublicNetworkSpeed returns the PublicNetworkSpeed field value

func (*Resources) GetPublicNetworkSpeedOk

func (o *Resources) GetPublicNetworkSpeedOk() (*NetworkSpeed, bool)

GetPublicNetworkSpeedOk returns a tuple with the PublicNetworkSpeed field value and a boolean to check if the value has been set.

func (Resources) MarshalJSON

func (o Resources) MarshalJSON() ([]byte, error)

func (*Resources) SetCpu

func (o *Resources) SetCpu(v Cpu)

SetCpu sets field value

func (*Resources) SetMemory

func (o *Resources) SetMemory(v Memory)

SetMemory sets field value

func (*Resources) SetPrivateNetworkSpeed

func (o *Resources) SetPrivateNetworkSpeed(v NetworkSpeed)

SetPrivateNetworkSpeed sets field value

func (*Resources) SetPublicNetworkSpeed

func (o *Resources) SetPublicNetworkSpeed(v NetworkSpeed)

SetPublicNetworkSpeed sets field value

func (Resources) ToMap

func (o Resources) ToMap() (map[string]interface{}, error)

func (*Resources) UnmarshalJSON

func (o *Resources) UnmarshalJSON(data []byte) (err error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Snapshot

type Snapshot struct {
	Id                   *string    `json:"id,omitempty"`
	DisplayName          *string    `json:"displayName,omitempty"`
	State                *string    `json:"state,omitempty"`
	Created              *time.Time `json:"created,omitempty"`
	AdditionalProperties map[string]interface{}
}

Snapshot struct for Snapshot

func NewSnapshot

func NewSnapshot() *Snapshot

NewSnapshot instantiates a new Snapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnapshotWithDefaults

func NewSnapshotWithDefaults() *Snapshot

NewSnapshotWithDefaults instantiates a new Snapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Snapshot) GetCreated

func (o *Snapshot) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*Snapshot) GetCreatedOk

func (o *Snapshot) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snapshot) GetDisplayName

func (o *Snapshot) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*Snapshot) GetDisplayNameOk

func (o *Snapshot) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snapshot) GetId

func (o *Snapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Snapshot) GetIdOk

func (o *Snapshot) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snapshot) GetState

func (o *Snapshot) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Snapshot) GetStateOk

func (o *Snapshot) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snapshot) HasCreated

func (o *Snapshot) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Snapshot) HasDisplayName

func (o *Snapshot) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Snapshot) HasId

func (o *Snapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*Snapshot) HasState

func (o *Snapshot) HasState() bool

HasState returns a boolean if a field has been set.

func (Snapshot) MarshalJSON

func (o Snapshot) MarshalJSON() ([]byte, error)

func (*Snapshot) SetCreated

func (o *Snapshot) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*Snapshot) SetDisplayName

func (o *Snapshot) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*Snapshot) SetId

func (o *Snapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Snapshot) SetState

func (o *Snapshot) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (Snapshot) ToMap

func (o Snapshot) ToMap() (map[string]interface{}, error)

func (*Snapshot) UnmarshalJSON

func (o *Snapshot) UnmarshalJSON(data []byte) (err error)

type State

type State string

State The current state

const (
	STATE_CREATING   State = "CREATING"
	STATE_DESTROYED  State = "DESTROYED"
	STATE_DESTROYING State = "DESTROYING"
	STATE_FAILED     State = "FAILED"
	STATE_RUNNING    State = "RUNNING"
	STATE_STARTING   State = "STARTING"
	STATE_STOPPED    State = "STOPPED"
	STATE_STOPPING   State = "STOPPING"
	STATE_UNKNOWN    State = "UNKNOWN"
)

List of state

func NewStateFromValue

func NewStateFromValue(v string) (*State, error)

NewStateFromValue returns a pointer to a valid State for the value passed as argument, or an error if the value passed is not allowed by the enum

func (State) IsValid

func (v State) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (State) Ptr

func (v State) Ptr() *State

Ptr returns reference to state value

func (*State) UnmarshalJSON

func (v *State) UnmarshalJSON(src []byte) error

type StickySession

type StickySession struct {
	// If sticky session is enabled or not
	Enabled bool `json:"enabled"`
	// Time that the Load Balancer routes the requests from one requester to the same target instance
	MaxLifeTime          int32 `json:"maxLifeTime"`
	AdditionalProperties map[string]interface{}
}

StickySession struct for StickySession

func NewStickySession

func NewStickySession(enabled bool, maxLifeTime int32) *StickySession

NewStickySession instantiates a new StickySession object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStickySessionWithDefaults

func NewStickySessionWithDefaults() *StickySession

NewStickySessionWithDefaults instantiates a new StickySession object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StickySession) GetEnabled

func (o *StickySession) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*StickySession) GetEnabledOk

func (o *StickySession) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*StickySession) GetMaxLifeTime

func (o *StickySession) GetMaxLifeTime() int32

GetMaxLifeTime returns the MaxLifeTime field value

func (*StickySession) GetMaxLifeTimeOk

func (o *StickySession) GetMaxLifeTimeOk() (*int32, bool)

GetMaxLifeTimeOk returns a tuple with the MaxLifeTime field value and a boolean to check if the value has been set.

func (StickySession) MarshalJSON

func (o StickySession) MarshalJSON() ([]byte, error)

func (*StickySession) SetEnabled

func (o *StickySession) SetEnabled(v bool)

SetEnabled sets field value

func (*StickySession) SetMaxLifeTime

func (o *StickySession) SetMaxLifeTime(v int32)

SetMaxLifeTime sets field value

func (StickySession) ToMap

func (o StickySession) ToMap() (map[string]interface{}, error)

func (*StickySession) UnmarshalJSON

func (o *StickySession) UnmarshalJSON(data []byte) (err error)

type Storage

type Storage struct {
	Local                Price `json:"local"`
	Central              Price `json:"central"`
	AdditionalProperties map[string]interface{}
}

Storage struct for Storage

func NewStorage

func NewStorage(local Price, central Price) *Storage

NewStorage instantiates a new Storage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStorageWithDefaults

func NewStorageWithDefaults() *Storage

NewStorageWithDefaults instantiates a new Storage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Storage) GetCentral

func (o *Storage) GetCentral() Price

GetCentral returns the Central field value

func (*Storage) GetCentralOk

func (o *Storage) GetCentralOk() (*Price, bool)

GetCentralOk returns a tuple with the Central field value and a boolean to check if the value has been set.

func (*Storage) GetLocal

func (o *Storage) GetLocal() Price

GetLocal returns the Local field value

func (*Storage) GetLocalOk

func (o *Storage) GetLocalOk() (*Price, bool)

GetLocalOk returns a tuple with the Local field value and a boolean to check if the value has been set.

func (Storage) MarshalJSON

func (o Storage) MarshalJSON() ([]byte, error)

func (*Storage) SetCentral

func (o *Storage) SetCentral(v Price)

SetCentral sets field value

func (*Storage) SetLocal

func (o *Storage) SetLocal(v Price)

SetLocal sets field value

func (Storage) ToMap

func (o Storage) ToMap() (map[string]interface{}, error)

func (*Storage) UnmarshalJSON

func (o *Storage) UnmarshalJSON(data []byte) (err error)

type StorageSize

type StorageSize struct {
	// The storage size
	Size float32 `json:"size"`
	// The storage size unit
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

StorageSize struct for StorageSize

func NewStorageSize

func NewStorageSize(size float32, unit string) *StorageSize

NewStorageSize instantiates a new StorageSize object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStorageSizeWithDefaults

func NewStorageSizeWithDefaults() *StorageSize

NewStorageSizeWithDefaults instantiates a new StorageSize object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StorageSize) GetSize

func (o *StorageSize) GetSize() float32

GetSize returns the Size field value

func (*StorageSize) GetSizeOk

func (o *StorageSize) GetSizeOk() (*float32, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (*StorageSize) GetUnit

func (o *StorageSize) GetUnit() string

GetUnit returns the Unit field value

func (*StorageSize) GetUnitOk

func (o *StorageSize) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (StorageSize) MarshalJSON

func (o StorageSize) MarshalJSON() ([]byte, error)

func (*StorageSize) SetSize

func (o *StorageSize) SetSize(v float32)

SetSize sets field value

func (*StorageSize) SetUnit

func (o *StorageSize) SetUnit(v string)

SetUnit sets field value

func (StorageSize) ToMap

func (o StorageSize) ToMap() (map[string]interface{}, error)

func (*StorageSize) UnmarshalJSON

func (o *StorageSize) UnmarshalJSON(data []byte) (err error)

type StorageType

type StorageType string

StorageType Storage type

const (
	STORAGETYPE_LOCAL   StorageType = "LOCAL"
	STORAGETYPE_CENTRAL StorageType = "CENTRAL"
)

List of storageType

func NewStorageTypeFromValue

func NewStorageTypeFromValue(v string) (*StorageType, error)

NewStorageTypeFromValue returns a pointer to a valid StorageType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (StorageType) IsValid

func (v StorageType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (StorageType) Ptr

func (v StorageType) Ptr() *StorageType

Ptr returns reference to storageType value

func (*StorageType) UnmarshalJSON

func (v *StorageType) UnmarshalJSON(src []byte) error

type StoreCredentialOpts

type StoreCredentialOpts struct {
	Type CredentialType `json:"type"`
	// Can contain only alphanumeric values and characters `@`, `.`, `-` and `_`
	Username string `json:"username"`
	// The password you'd like to store
	Password             string `json:"password"`
	AdditionalProperties map[string]interface{}
}

StoreCredentialOpts struct for StoreCredentialOpts

func NewStoreCredentialOpts

func NewStoreCredentialOpts(type_ CredentialType, username string, password string) *StoreCredentialOpts

NewStoreCredentialOpts instantiates a new StoreCredentialOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStoreCredentialOptsWithDefaults

func NewStoreCredentialOptsWithDefaults() *StoreCredentialOpts

NewStoreCredentialOptsWithDefaults instantiates a new StoreCredentialOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StoreCredentialOpts) GetPassword

func (o *StoreCredentialOpts) GetPassword() string

GetPassword returns the Password field value

func (*StoreCredentialOpts) GetPasswordOk

func (o *StoreCredentialOpts) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*StoreCredentialOpts) GetType

func (o *StoreCredentialOpts) GetType() CredentialType

GetType returns the Type field value

func (*StoreCredentialOpts) GetTypeOk

func (o *StoreCredentialOpts) GetTypeOk() (*CredentialType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*StoreCredentialOpts) GetUsername

func (o *StoreCredentialOpts) GetUsername() string

GetUsername returns the Username field value

func (*StoreCredentialOpts) GetUsernameOk

func (o *StoreCredentialOpts) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (StoreCredentialOpts) MarshalJSON

func (o StoreCredentialOpts) MarshalJSON() ([]byte, error)

func (*StoreCredentialOpts) SetPassword

func (o *StoreCredentialOpts) SetPassword(v string)

SetPassword sets field value

func (*StoreCredentialOpts) SetType

func (o *StoreCredentialOpts) SetType(v CredentialType)

SetType sets field value

func (*StoreCredentialOpts) SetUsername

func (o *StoreCredentialOpts) SetUsername(v string)

SetUsername sets field value

func (StoreCredentialOpts) ToMap

func (o StoreCredentialOpts) ToMap() (map[string]interface{}, error)

func (*StoreCredentialOpts) UnmarshalJSON

func (o *StoreCredentialOpts) UnmarshalJSON(data []byte) (err error)

type StoreCredentialResult

type StoreCredentialResult struct {
	Type *CredentialType `json:"type,omitempty"`
	// The provided username
	Username *string `json:"username,omitempty"`
	// The provided password
	Password             *string `json:"password,omitempty"`
	AdditionalProperties map[string]interface{}
}

StoreCredentialResult struct for StoreCredentialResult

func NewStoreCredentialResult

func NewStoreCredentialResult() *StoreCredentialResult

NewStoreCredentialResult instantiates a new StoreCredentialResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStoreCredentialResultWithDefaults

func NewStoreCredentialResultWithDefaults() *StoreCredentialResult

NewStoreCredentialResultWithDefaults instantiates a new StoreCredentialResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StoreCredentialResult) GetPassword

func (o *StoreCredentialResult) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*StoreCredentialResult) GetPasswordOk

func (o *StoreCredentialResult) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StoreCredentialResult) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*StoreCredentialResult) GetTypeOk

func (o *StoreCredentialResult) GetTypeOk() (*CredentialType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StoreCredentialResult) GetUsername

func (o *StoreCredentialResult) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*StoreCredentialResult) GetUsernameOk

func (o *StoreCredentialResult) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StoreCredentialResult) HasPassword

func (o *StoreCredentialResult) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*StoreCredentialResult) HasType

func (o *StoreCredentialResult) HasType() bool

HasType returns a boolean if a field has been set.

func (*StoreCredentialResult) HasUsername

func (o *StoreCredentialResult) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (StoreCredentialResult) MarshalJSON

func (o StoreCredentialResult) MarshalJSON() ([]byte, error)

func (*StoreCredentialResult) SetPassword

func (o *StoreCredentialResult) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*StoreCredentialResult) SetType

func (o *StoreCredentialResult) SetType(v CredentialType)

SetType gets a reference to the given CredentialType and assigns it to the Type field.

func (*StoreCredentialResult) SetUsername

func (o *StoreCredentialResult) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (StoreCredentialResult) ToMap

func (o StoreCredentialResult) ToMap() (map[string]interface{}, error)

func (*StoreCredentialResult) UnmarshalJSON

func (o *StoreCredentialResult) UnmarshalJSON(data []byte) (err error)

type Summary

type Summary struct {
	DOWN_PUBLIC          *TrafficMetricSummary `json:"DOWN_PUBLIC,omitempty"`
	UP_PUBLIC            *TrafficMetricSummary `json:"UP_PUBLIC,omitempty"`
	AdditionalProperties map[string]interface{}
}

Summary struct for Summary

func NewSummary

func NewSummary() *Summary

NewSummary instantiates a new Summary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSummaryWithDefaults

func NewSummaryWithDefaults() *Summary

NewSummaryWithDefaults instantiates a new Summary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Summary) GetDOWN_PUBLIC

func (o *Summary) GetDOWN_PUBLIC() TrafficMetricSummary

GetDOWN_PUBLIC returns the DOWN_PUBLIC field value if set, zero value otherwise.

func (*Summary) GetDOWN_PUBLICOk

func (o *Summary) GetDOWN_PUBLICOk() (*TrafficMetricSummary, bool)

GetDOWN_PUBLICOk returns a tuple with the DOWN_PUBLIC field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Summary) GetUP_PUBLIC

func (o *Summary) GetUP_PUBLIC() TrafficMetricSummary

GetUP_PUBLIC returns the UP_PUBLIC field value if set, zero value otherwise.

func (*Summary) GetUP_PUBLICOk

func (o *Summary) GetUP_PUBLICOk() (*TrafficMetricSummary, bool)

GetUP_PUBLICOk returns a tuple with the UP_PUBLIC field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Summary) HasDOWN_PUBLIC

func (o *Summary) HasDOWN_PUBLIC() bool

HasDOWN_PUBLIC returns a boolean if a field has been set.

func (*Summary) HasUP_PUBLIC

func (o *Summary) HasUP_PUBLIC() bool

HasUP_PUBLIC returns a boolean if a field has been set.

func (Summary) MarshalJSON

func (o Summary) MarshalJSON() ([]byte, error)

func (*Summary) SetDOWN_PUBLIC

func (o *Summary) SetDOWN_PUBLIC(v TrafficMetricSummary)

SetDOWN_PUBLIC gets a reference to the given TrafficMetricSummary and assigns it to the DOWN_PUBLIC field.

func (*Summary) SetUP_PUBLIC

func (o *Summary) SetUP_PUBLIC(v TrafficMetricSummary)

SetUP_PUBLIC gets a reference to the given TrafficMetricSummary and assigns it to the UP_PUBLIC field.

func (Summary) ToMap

func (o Summary) ToMap() (map[string]interface{}, error)

func (*Summary) UnmarshalJSON

func (o *Summary) UnmarshalJSON(data []byte) (err error)

type Target

type Target struct {
	// The instance unique identifier
	Id *string `json:"id,omitempty"`
	// The identifying name set to the instance
	Reference            *string            `json:"reference,omitempty"`
	Image                *Image             `json:"image,omitempty"`
	State                *State             `json:"state,omitempty"`
	HealthCheckStatus    *HealthCheckStatus `json:"healthCheckStatus,omitempty"`
	Ips                  []Ip               `json:"ips,omitempty"`
	AdditionalProperties map[string]interface{}
}

Target struct for Target

func NewTarget

func NewTarget() *Target

NewTarget instantiates a new Target object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTargetWithDefaults

func NewTargetWithDefaults() *Target

NewTargetWithDefaults instantiates a new Target object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Target) GetHealthCheckStatus

func (o *Target) GetHealthCheckStatus() HealthCheckStatus

GetHealthCheckStatus returns the HealthCheckStatus field value if set, zero value otherwise.

func (*Target) GetHealthCheckStatusOk

func (o *Target) GetHealthCheckStatusOk() (*HealthCheckStatus, bool)

GetHealthCheckStatusOk returns a tuple with the HealthCheckStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) GetId

func (o *Target) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Target) GetIdOk

func (o *Target) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) GetImage

func (o *Target) GetImage() Image

GetImage returns the Image field value if set, zero value otherwise.

func (*Target) GetImageOk

func (o *Target) GetImageOk() (*Image, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) GetIps

func (o *Target) GetIps() []Ip

GetIps returns the Ips field value if set, zero value otherwise.

func (*Target) GetIpsOk

func (o *Target) GetIpsOk() ([]Ip, bool)

GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) GetReference

func (o *Target) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*Target) GetReferenceOk

func (o *Target) GetReferenceOk() (*string, bool)

GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) GetState

func (o *Target) GetState() State

GetState returns the State field value if set, zero value otherwise.

func (*Target) GetStateOk

func (o *Target) GetStateOk() (*State, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Target) HasHealthCheckStatus

func (o *Target) HasHealthCheckStatus() bool

HasHealthCheckStatus returns a boolean if a field has been set.

func (*Target) HasId

func (o *Target) HasId() bool

HasId returns a boolean if a field has been set.

func (*Target) HasImage

func (o *Target) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*Target) HasIps

func (o *Target) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*Target) HasReference

func (o *Target) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*Target) HasState

func (o *Target) HasState() bool

HasState returns a boolean if a field has been set.

func (Target) MarshalJSON

func (o Target) MarshalJSON() ([]byte, error)

func (*Target) SetHealthCheckStatus

func (o *Target) SetHealthCheckStatus(v HealthCheckStatus)

SetHealthCheckStatus gets a reference to the given HealthCheckStatus and assigns it to the HealthCheckStatus field.

func (*Target) SetId

func (o *Target) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Target) SetImage

func (o *Target) SetImage(v Image)

SetImage gets a reference to the given Image and assigns it to the Image field.

func (*Target) SetIps

func (o *Target) SetIps(v []Ip)

SetIps gets a reference to the given []Ip and assigns it to the Ips field.

func (*Target) SetReference

func (o *Target) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*Target) SetState

func (o *Target) SetState(v State)

SetState gets a reference to the given State and assigns it to the State field.

func (Target) ToMap

func (o Target) ToMap() (map[string]interface{}, error)

func (*Target) UnmarshalJSON

func (o *Target) UnmarshalJSON(data []byte) (err error)

type Tier

type Tier struct {
	// Traffic sent, in GB
	Usage *float32 `json:"usage,omitempty"`
	// Total price of the tier, based on the usage. The first tier is free, so this will be 0 for the first tier. From tier 1 onwards, the usage has costs. Each tier has it own price.
	Price                *float32 `json:"price,omitempty"`
	AdditionalProperties map[string]interface{}
}

Tier struct for Tier

func NewTier

func NewTier() *Tier

NewTier instantiates a new Tier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTierWithDefaults

func NewTierWithDefaults() *Tier

NewTierWithDefaults instantiates a new Tier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tier) GetPrice

func (o *Tier) GetPrice() float32

GetPrice returns the Price field value if set, zero value otherwise.

func (*Tier) GetPriceOk

func (o *Tier) GetPriceOk() (*float32, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tier) GetUsage

func (o *Tier) GetUsage() float32

GetUsage returns the Usage field value if set, zero value otherwise.

func (*Tier) GetUsageOk

func (o *Tier) GetUsageOk() (*float32, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tier) HasPrice

func (o *Tier) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*Tier) HasUsage

func (o *Tier) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (Tier) MarshalJSON

func (o Tier) MarshalJSON() ([]byte, error)

func (*Tier) SetPrice

func (o *Tier) SetPrice(v float32)

SetPrice gets a reference to the given float32 and assigns it to the Price field.

func (*Tier) SetUsage

func (o *Tier) SetUsage(v float32)

SetUsage gets a reference to the given float32 and assigns it to the Usage field.

func (Tier) ToMap

func (o Tier) ToMap() (map[string]interface{}, error)

func (*Tier) UnmarshalJSON

func (o *Tier) UnmarshalJSON(data []byte) (err error)

type Traffic

type Traffic struct {
	Unit                 *string `json:"unit,omitempty"`
	Values               *Values `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

Traffic Traffic billing information, in tiers.

func NewTraffic

func NewTraffic() *Traffic

NewTraffic instantiates a new Traffic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrafficWithDefaults

func NewTrafficWithDefaults() *Traffic

NewTrafficWithDefaults instantiates a new Traffic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Traffic) GetUnit

func (o *Traffic) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*Traffic) GetUnitOk

func (o *Traffic) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Traffic) GetValues

func (o *Traffic) GetValues() Values

GetValues returns the Values field value if set, zero value otherwise.

func (*Traffic) GetValuesOk

func (o *Traffic) GetValuesOk() (*Values, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Traffic) HasUnit

func (o *Traffic) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Traffic) HasValues

func (o *Traffic) HasValues() bool

HasValues returns a boolean if a field has been set.

func (Traffic) MarshalJSON

func (o Traffic) MarshalJSON() ([]byte, error)

func (*Traffic) SetUnit

func (o *Traffic) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*Traffic) SetValues

func (o *Traffic) SetValues(v Values)

SetValues gets a reference to the given Values and assigns it to the Values field.

func (Traffic) ToMap

func (o Traffic) ToMap() (map[string]interface{}, error)

func (*Traffic) UnmarshalJSON

func (o *Traffic) UnmarshalJSON(data []byte) (err error)

type TrafficMetric

type TrafficMetric struct {
	Values               []TrafficMetricValue `json:"values,omitempty"`
	Unit                 *string              `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrafficMetric struct for TrafficMetric

func NewTrafficMetric

func NewTrafficMetric() *TrafficMetric

NewTrafficMetric instantiates a new TrafficMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrafficMetricWithDefaults

func NewTrafficMetricWithDefaults() *TrafficMetric

NewTrafficMetricWithDefaults instantiates a new TrafficMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TrafficMetric) GetUnit

func (o *TrafficMetric) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*TrafficMetric) GetUnitOk

func (o *TrafficMetric) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetric) GetValues

func (o *TrafficMetric) GetValues() []TrafficMetricValue

GetValues returns the Values field value if set, zero value otherwise.

func (*TrafficMetric) GetValuesOk

func (o *TrafficMetric) GetValuesOk() ([]TrafficMetricValue, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetric) HasUnit

func (o *TrafficMetric) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*TrafficMetric) HasValues

func (o *TrafficMetric) HasValues() bool

HasValues returns a boolean if a field has been set.

func (TrafficMetric) MarshalJSON

func (o TrafficMetric) MarshalJSON() ([]byte, error)

func (*TrafficMetric) SetUnit

func (o *TrafficMetric) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*TrafficMetric) SetValues

func (o *TrafficMetric) SetValues(v []TrafficMetricValue)

SetValues gets a reference to the given []TrafficMetricValue and assigns it to the Values field.

func (TrafficMetric) ToMap

func (o TrafficMetric) ToMap() (map[string]interface{}, error)

func (*TrafficMetric) UnmarshalJSON

func (o *TrafficMetric) UnmarshalJSON(data []byte) (err error)

type TrafficMetricSummary

type TrafficMetricSummary struct {
	// Average incoming traffic based on the amount of grouped data points, in human-readable format (KB, MB, GB)
	Average *string `json:"average,omitempty"`
	// Expected incoming traffic given the average times the amount of days between the `from` and `to` dates, in human-readable format (KB, MB, GB)
	Expected *string `json:"expected,omitempty"`
	// Total incoming traffic, in human-readable format (KB, MB, GB)
	Total                *string `json:"total,omitempty"`
	Peak                 *Peak   `json:"peak,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrafficMetricSummary struct for TrafficMetricSummary

func NewTrafficMetricSummary

func NewTrafficMetricSummary() *TrafficMetricSummary

NewTrafficMetricSummary instantiates a new TrafficMetricSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrafficMetricSummaryWithDefaults

func NewTrafficMetricSummaryWithDefaults() *TrafficMetricSummary

NewTrafficMetricSummaryWithDefaults instantiates a new TrafficMetricSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TrafficMetricSummary) GetAverage

func (o *TrafficMetricSummary) GetAverage() string

GetAverage returns the Average field value if set, zero value otherwise.

func (*TrafficMetricSummary) GetAverageOk

func (o *TrafficMetricSummary) GetAverageOk() (*string, bool)

GetAverageOk returns a tuple with the Average field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricSummary) GetExpected

func (o *TrafficMetricSummary) GetExpected() string

GetExpected returns the Expected field value if set, zero value otherwise.

func (*TrafficMetricSummary) GetExpectedOk

func (o *TrafficMetricSummary) GetExpectedOk() (*string, bool)

GetExpectedOk returns a tuple with the Expected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricSummary) GetPeak

func (o *TrafficMetricSummary) GetPeak() Peak

GetPeak returns the Peak field value if set, zero value otherwise.

func (*TrafficMetricSummary) GetPeakOk

func (o *TrafficMetricSummary) GetPeakOk() (*Peak, bool)

GetPeakOk returns a tuple with the Peak field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricSummary) GetTotal

func (o *TrafficMetricSummary) GetTotal() string

GetTotal returns the Total field value if set, zero value otherwise.

func (*TrafficMetricSummary) GetTotalOk

func (o *TrafficMetricSummary) GetTotalOk() (*string, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricSummary) HasAverage

func (o *TrafficMetricSummary) HasAverage() bool

HasAverage returns a boolean if a field has been set.

func (*TrafficMetricSummary) HasExpected

func (o *TrafficMetricSummary) HasExpected() bool

HasExpected returns a boolean if a field has been set.

func (*TrafficMetricSummary) HasPeak

func (o *TrafficMetricSummary) HasPeak() bool

HasPeak returns a boolean if a field has been set.

func (*TrafficMetricSummary) HasTotal

func (o *TrafficMetricSummary) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (TrafficMetricSummary) MarshalJSON

func (o TrafficMetricSummary) MarshalJSON() ([]byte, error)

func (*TrafficMetricSummary) SetAverage

func (o *TrafficMetricSummary) SetAverage(v string)

SetAverage gets a reference to the given string and assigns it to the Average field.

func (*TrafficMetricSummary) SetExpected

func (o *TrafficMetricSummary) SetExpected(v string)

SetExpected gets a reference to the given string and assigns it to the Expected field.

func (*TrafficMetricSummary) SetPeak

func (o *TrafficMetricSummary) SetPeak(v Peak)

SetPeak gets a reference to the given Peak and assigns it to the Peak field.

func (*TrafficMetricSummary) SetTotal

func (o *TrafficMetricSummary) SetTotal(v string)

SetTotal gets a reference to the given string and assigns it to the Total field.

func (TrafficMetricSummary) ToMap

func (o TrafficMetricSummary) ToMap() (map[string]interface{}, error)

func (*TrafficMetricSummary) UnmarshalJSON

func (o *TrafficMetricSummary) UnmarshalJSON(data []byte) (err error)

type TrafficMetricValue

type TrafficMetricValue struct {
	// Bytes consumed
	Value                *int32     `json:"value,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrafficMetricValue struct for TrafficMetricValue

func NewTrafficMetricValue

func NewTrafficMetricValue() *TrafficMetricValue

NewTrafficMetricValue instantiates a new TrafficMetricValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrafficMetricValueWithDefaults

func NewTrafficMetricValueWithDefaults() *TrafficMetricValue

NewTrafficMetricValueWithDefaults instantiates a new TrafficMetricValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TrafficMetricValue) GetTimestamp

func (o *TrafficMetricValue) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*TrafficMetricValue) GetTimestampOk

func (o *TrafficMetricValue) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricValue) GetValue

func (o *TrafficMetricValue) GetValue() int32

GetValue returns the Value field value if set, zero value otherwise.

func (*TrafficMetricValue) GetValueOk

func (o *TrafficMetricValue) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricValue) HasTimestamp

func (o *TrafficMetricValue) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*TrafficMetricValue) HasValue

func (o *TrafficMetricValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (TrafficMetricValue) MarshalJSON

func (o TrafficMetricValue) MarshalJSON() ([]byte, error)

func (*TrafficMetricValue) SetTimestamp

func (o *TrafficMetricValue) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*TrafficMetricValue) SetValue

func (o *TrafficMetricValue) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (TrafficMetricValue) ToMap

func (o TrafficMetricValue) ToMap() (map[string]interface{}, error)

func (*TrafficMetricValue) UnmarshalJSON

func (o *TrafficMetricValue) UnmarshalJSON(data []byte) (err error)

type TrafficMetricsMetaData

type TrafficMetricsMetaData struct {
	From *time.Time `json:"from,omitempty"`
	To   *time.Time `json:"to,omitempty"`
	// The provided granularity
	Granularity *string `json:"granularity,omitempty"`
	// The provided aggregation
	Aggregation          *string  `json:"aggregation,omitempty"`
	Summary              *Summary `json:"summary,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrafficMetricsMetaData struct for TrafficMetricsMetaData

func NewTrafficMetricsMetaData

func NewTrafficMetricsMetaData() *TrafficMetricsMetaData

NewTrafficMetricsMetaData instantiates a new TrafficMetricsMetaData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrafficMetricsMetaDataWithDefaults

func NewTrafficMetricsMetaDataWithDefaults() *TrafficMetricsMetaData

NewTrafficMetricsMetaDataWithDefaults instantiates a new TrafficMetricsMetaData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TrafficMetricsMetaData) GetAggregation

func (o *TrafficMetricsMetaData) GetAggregation() string

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*TrafficMetricsMetaData) GetAggregationOk

func (o *TrafficMetricsMetaData) GetAggregationOk() (*string, bool)

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricsMetaData) GetFrom

func (o *TrafficMetricsMetaData) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*TrafficMetricsMetaData) GetFromOk

func (o *TrafficMetricsMetaData) GetFromOk() (*time.Time, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricsMetaData) GetGranularity

func (o *TrafficMetricsMetaData) GetGranularity() string

GetGranularity returns the Granularity field value if set, zero value otherwise.

func (*TrafficMetricsMetaData) GetGranularityOk

func (o *TrafficMetricsMetaData) GetGranularityOk() (*string, bool)

GetGranularityOk returns a tuple with the Granularity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricsMetaData) GetSummary

func (o *TrafficMetricsMetaData) GetSummary() Summary

GetSummary returns the Summary field value if set, zero value otherwise.

func (*TrafficMetricsMetaData) GetSummaryOk

func (o *TrafficMetricsMetaData) GetSummaryOk() (*Summary, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricsMetaData) GetTo

func (o *TrafficMetricsMetaData) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*TrafficMetricsMetaData) GetToOk

func (o *TrafficMetricsMetaData) GetToOk() (*time.Time, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrafficMetricsMetaData) HasAggregation

func (o *TrafficMetricsMetaData) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*TrafficMetricsMetaData) HasFrom

func (o *TrafficMetricsMetaData) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*TrafficMetricsMetaData) HasGranularity

func (o *TrafficMetricsMetaData) HasGranularity() bool

HasGranularity returns a boolean if a field has been set.

func (*TrafficMetricsMetaData) HasSummary

func (o *TrafficMetricsMetaData) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*TrafficMetricsMetaData) HasTo

func (o *TrafficMetricsMetaData) HasTo() bool

HasTo returns a boolean if a field has been set.

func (TrafficMetricsMetaData) MarshalJSON

func (o TrafficMetricsMetaData) MarshalJSON() ([]byte, error)

func (*TrafficMetricsMetaData) SetAggregation

func (o *TrafficMetricsMetaData) SetAggregation(v string)

SetAggregation gets a reference to the given string and assigns it to the Aggregation field.

func (*TrafficMetricsMetaData) SetFrom

func (o *TrafficMetricsMetaData) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*TrafficMetricsMetaData) SetGranularity

func (o *TrafficMetricsMetaData) SetGranularity(v string)

SetGranularity gets a reference to the given string and assigns it to the Granularity field.

func (*TrafficMetricsMetaData) SetSummary

func (o *TrafficMetricsMetaData) SetSummary(v Summary)

SetSummary gets a reference to the given Summary and assigns it to the Summary field.

func (*TrafficMetricsMetaData) SetTo

func (o *TrafficMetricsMetaData) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (TrafficMetricsMetaData) ToMap

func (o TrafficMetricsMetaData) ToMap() (map[string]interface{}, error)

func (*TrafficMetricsMetaData) UnmarshalJSON

func (o *TrafficMetricsMetaData) UnmarshalJSON(data []byte) (err error)

type TypeName

type TypeName string

TypeName Instance/Load balancer type

const (
	TYPENAME_M3_LARGE     TypeName = "lsw.m3.large"
	TYPENAME_M3_XLARGE    TypeName = "lsw.m3.xlarge"
	TYPENAME_M3_2XLARGE   TypeName = "lsw.m3.2xlarge"
	TYPENAME_M4_LARGE     TypeName = "lsw.m4.large"
	TYPENAME_M4_XLARGE    TypeName = "lsw.m4.xlarge"
	TYPENAME_M4_2XLARGE   TypeName = "lsw.m4.2xlarge"
	TYPENAME_M4_4XLARGE   TypeName = "lsw.m4.4xlarge"
	TYPENAME_M5_LARGE     TypeName = "lsw.m5.large"
	TYPENAME_M5_XLARGE    TypeName = "lsw.m5.xlarge"
	TYPENAME_M5_2XLARGE   TypeName = "lsw.m5.2xlarge"
	TYPENAME_M5_4XLARGE   TypeName = "lsw.m5.4xlarge"
	TYPENAME_M5A_LARGE    TypeName = "lsw.m5a.large"
	TYPENAME_M5A_XLARGE   TypeName = "lsw.m5a.xlarge"
	TYPENAME_M5A_2XLARGE  TypeName = "lsw.m5a.2xlarge"
	TYPENAME_M5A_4XLARGE  TypeName = "lsw.m5a.4xlarge"
	TYPENAME_M5A_8XLARGE  TypeName = "lsw.m5a.8xlarge"
	TYPENAME_M5A_12XLARGE TypeName = "lsw.m5a.12xlarge"
	TYPENAME_M6A_LARGE    TypeName = "lsw.m6a.large"
	TYPENAME_M6A_XLARGE   TypeName = "lsw.m6a.xlarge"
	TYPENAME_M6A_2XLARGE  TypeName = "lsw.m6a.2xlarge"
	TYPENAME_M6A_4XLARGE  TypeName = "lsw.m6a.4xlarge"
	TYPENAME_M6A_8XLARGE  TypeName = "lsw.m6a.8xlarge"
	TYPENAME_M6A_12XLARGE TypeName = "lsw.m6a.12xlarge"
	TYPENAME_M6A_16XLARGE TypeName = "lsw.m6a.16xlarge"
	TYPENAME_M6A_24XLARGE TypeName = "lsw.m6a.24xlarge"
	TYPENAME_C3_LARGE     TypeName = "lsw.c3.large"
	TYPENAME_C3_XLARGE    TypeName = "lsw.c3.xlarge"
	TYPENAME_C3_2XLARGE   TypeName = "lsw.c3.2xlarge"
	TYPENAME_C3_4XLARGE   TypeName = "lsw.c3.4xlarge"
	TYPENAME_C4_LARGE     TypeName = "lsw.c4.large"
	TYPENAME_C4_XLARGE    TypeName = "lsw.c4.xlarge"
	TYPENAME_C4_2XLARGE   TypeName = "lsw.c4.2xlarge"
	TYPENAME_C4_4XLARGE   TypeName = "lsw.c4.4xlarge"
	TYPENAME_C5_LARGE     TypeName = "lsw.c5.large"
	TYPENAME_C5_XLARGE    TypeName = "lsw.c5.xlarge"
	TYPENAME_C5_2XLARGE   TypeName = "lsw.c5.2xlarge"
	TYPENAME_C5_4XLARGE   TypeName = "lsw.c5.4xlarge"
	TYPENAME_C5A_LARGE    TypeName = "lsw.c5a.large"
	TYPENAME_C5A_XLARGE   TypeName = "lsw.c5a.xlarge"
	TYPENAME_C5A_2XLARGE  TypeName = "lsw.c5a.2xlarge"
	TYPENAME_C5A_4XLARGE  TypeName = "lsw.c5a.4xlarge"
	TYPENAME_C5A_9XLARGE  TypeName = "lsw.c5a.9xlarge"
	TYPENAME_C5A_12XLARGE TypeName = "lsw.c5a.12xlarge"
	TYPENAME_C6A_LARGE    TypeName = "lsw.c6a.large"
	TYPENAME_C6A_XLARGE   TypeName = "lsw.c6a.xlarge"
	TYPENAME_C6A_2XLARGE  TypeName = "lsw.c6a.2xlarge"
	TYPENAME_C6A_4XLARGE  TypeName = "lsw.c6a.4xlarge"
	TYPENAME_C6A_8XLARGE  TypeName = "lsw.c6a.8xlarge"
	TYPENAME_C6A_12XLARGE TypeName = "lsw.c6a.12xlarge"
	TYPENAME_C6A_16XLARGE TypeName = "lsw.c6a.16xlarge"
	TYPENAME_C6A_24XLARGE TypeName = "lsw.c6a.24xlarge"
	TYPENAME_R3_LARGE     TypeName = "lsw.r3.large"
	TYPENAME_R3_XLARGE    TypeName = "lsw.r3.xlarge"
	TYPENAME_R3_2XLARGE   TypeName = "lsw.r3.2xlarge"
	TYPENAME_R4_LARGE     TypeName = "lsw.r4.large"
	TYPENAME_R4_XLARGE    TypeName = "lsw.r4.xlarge"
	TYPENAME_R4_2XLARGE   TypeName = "lsw.r4.2xlarge"
	TYPENAME_R5_LARGE     TypeName = "lsw.r5.large"
	TYPENAME_R5_XLARGE    TypeName = "lsw.r5.xlarge"
	TYPENAME_R5_2XLARGE   TypeName = "lsw.r5.2xlarge"
	TYPENAME_R5A_LARGE    TypeName = "lsw.r5a.large"
	TYPENAME_R5A_XLARGE   TypeName = "lsw.r5a.xlarge"
	TYPENAME_R5A_2XLARGE  TypeName = "lsw.r5a.2xlarge"
	TYPENAME_R5A_4XLARGE  TypeName = "lsw.r5a.4xlarge"
	TYPENAME_R5A_8XLARGE  TypeName = "lsw.r5a.8xlarge"
	TYPENAME_R5A_12XLARGE TypeName = "lsw.r5a.12xlarge"
	TYPENAME_R6A_LARGE    TypeName = "lsw.r6a.large"
	TYPENAME_R6A_XLARGE   TypeName = "lsw.r6a.xlarge"
	TYPENAME_R6A_2XLARGE  TypeName = "lsw.r6a.2xlarge"
	TYPENAME_R6A_4XLARGE  TypeName = "lsw.r6a.4xlarge"
	TYPENAME_R6A_8XLARGE  TypeName = "lsw.r6a.8xlarge"
	TYPENAME_R6A_12XLARGE TypeName = "lsw.r6a.12xlarge"
	TYPENAME_R6A_16XLARGE TypeName = "lsw.r6a.16xlarge"
	TYPENAME_R6A_24XLARGE TypeName = "lsw.r6a.24xlarge"
)

List of typeName

func NewTypeNameFromValue

func NewTypeNameFromValue(v string) (*TypeName, error)

NewTypeNameFromValue returns a pointer to a valid TypeName for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TypeName) IsValid

func (v TypeName) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TypeName) Ptr

func (v TypeName) Ptr() *TypeName

Ptr returns reference to typeName value

func (*TypeName) UnmarshalJSON

func (v *TypeName) UnmarshalJSON(src []byte) error

type UpdateAutoScalingGroupOpts

type UpdateAutoScalingGroupOpts struct {
	// When \"SCHEDULED\", the number of instances that need to be running at the specified date and time.    When \"MANUAL\", the number of instances that to be launched immediately.
	DesiredAmount *int32 `json:"desiredAmount,omitempty"`
	// The minimum number of instances that should be running
	MinimumAmount *int32 `json:"minimumAmount,omitempty"`
	// Only for \"CPU_BASED\" auto scaling group. The maximum number of instances that can be running
	MaximumAmount *int32 `json:"maximumAmount,omitempty"`
	// Only for \"CPU_BASED\" auto scaling group. The target average CPU utilization for scaling
	CpuThreshold *int32 `json:"cpuThreshold,omitempty"`
	// Only for \"CPU_BASED\" auto scaling group. Warm-up time in seconds for new instances
	WarmupTime *int32 `json:"warmupTime,omitempty"`
	// Only for \"CPU_BASED\" auto scaling group. Cool-down time in seconds for new instances
	CooldownTime *int32 `json:"cooldownTime,omitempty"`
	// The identifying name set to the auto scaling group
	Reference *string `json:"reference,omitempty"`
	// Only for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be launched. Must be changed along with \"endsAt\"
	StartsAt *time.Time `json:"startsAt,omitempty"`
	// Only for \"SCHEDULED\" auto scaling group. Date and time (UTC) that the instances need to be terminated. Must be changed along with \"startsAt\"
	EndsAt               *time.Time `json:"endsAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateAutoScalingGroupOpts struct for UpdateAutoScalingGroupOpts

func NewUpdateAutoScalingGroupOpts

func NewUpdateAutoScalingGroupOpts() *UpdateAutoScalingGroupOpts

NewUpdateAutoScalingGroupOpts instantiates a new UpdateAutoScalingGroupOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateAutoScalingGroupOptsWithDefaults

func NewUpdateAutoScalingGroupOptsWithDefaults() *UpdateAutoScalingGroupOpts

NewUpdateAutoScalingGroupOptsWithDefaults instantiates a new UpdateAutoScalingGroupOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateAutoScalingGroupOpts) GetCooldownTime

func (o *UpdateAutoScalingGroupOpts) GetCooldownTime() int32

GetCooldownTime returns the CooldownTime field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetCooldownTimeOk

func (o *UpdateAutoScalingGroupOpts) GetCooldownTimeOk() (*int32, bool)

GetCooldownTimeOk returns a tuple with the CooldownTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetCpuThreshold

func (o *UpdateAutoScalingGroupOpts) GetCpuThreshold() int32

GetCpuThreshold returns the CpuThreshold field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetCpuThresholdOk

func (o *UpdateAutoScalingGroupOpts) GetCpuThresholdOk() (*int32, bool)

GetCpuThresholdOk returns a tuple with the CpuThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetDesiredAmount

func (o *UpdateAutoScalingGroupOpts) GetDesiredAmount() int32

GetDesiredAmount returns the DesiredAmount field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetDesiredAmountOk

func (o *UpdateAutoScalingGroupOpts) GetDesiredAmountOk() (*int32, bool)

GetDesiredAmountOk returns a tuple with the DesiredAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetEndsAt

func (o *UpdateAutoScalingGroupOpts) GetEndsAt() time.Time

GetEndsAt returns the EndsAt field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetEndsAtOk

func (o *UpdateAutoScalingGroupOpts) GetEndsAtOk() (*time.Time, bool)

GetEndsAtOk returns a tuple with the EndsAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetMaximumAmount

func (o *UpdateAutoScalingGroupOpts) GetMaximumAmount() int32

GetMaximumAmount returns the MaximumAmount field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetMaximumAmountOk

func (o *UpdateAutoScalingGroupOpts) GetMaximumAmountOk() (*int32, bool)

GetMaximumAmountOk returns a tuple with the MaximumAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetMinimumAmount

func (o *UpdateAutoScalingGroupOpts) GetMinimumAmount() int32

GetMinimumAmount returns the MinimumAmount field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetMinimumAmountOk

func (o *UpdateAutoScalingGroupOpts) GetMinimumAmountOk() (*int32, bool)

GetMinimumAmountOk returns a tuple with the MinimumAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetReference

func (o *UpdateAutoScalingGroupOpts) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetReferenceOk

func (o *UpdateAutoScalingGroupOpts) GetReferenceOk() (*string, bool)

GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetStartsAt

func (o *UpdateAutoScalingGroupOpts) GetStartsAt() time.Time

GetStartsAt returns the StartsAt field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetStartsAtOk

func (o *UpdateAutoScalingGroupOpts) GetStartsAtOk() (*time.Time, bool)

GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) GetWarmupTime

func (o *UpdateAutoScalingGroupOpts) GetWarmupTime() int32

GetWarmupTime returns the WarmupTime field value if set, zero value otherwise.

func (*UpdateAutoScalingGroupOpts) GetWarmupTimeOk

func (o *UpdateAutoScalingGroupOpts) GetWarmupTimeOk() (*int32, bool)

GetWarmupTimeOk returns a tuple with the WarmupTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAutoScalingGroupOpts) HasCooldownTime

func (o *UpdateAutoScalingGroupOpts) HasCooldownTime() bool

HasCooldownTime returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasCpuThreshold

func (o *UpdateAutoScalingGroupOpts) HasCpuThreshold() bool

HasCpuThreshold returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasDesiredAmount

func (o *UpdateAutoScalingGroupOpts) HasDesiredAmount() bool

HasDesiredAmount returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasEndsAt

func (o *UpdateAutoScalingGroupOpts) HasEndsAt() bool

HasEndsAt returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasMaximumAmount

func (o *UpdateAutoScalingGroupOpts) HasMaximumAmount() bool

HasMaximumAmount returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasMinimumAmount

func (o *UpdateAutoScalingGroupOpts) HasMinimumAmount() bool

HasMinimumAmount returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasReference

func (o *UpdateAutoScalingGroupOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasStartsAt

func (o *UpdateAutoScalingGroupOpts) HasStartsAt() bool

HasStartsAt returns a boolean if a field has been set.

func (*UpdateAutoScalingGroupOpts) HasWarmupTime

func (o *UpdateAutoScalingGroupOpts) HasWarmupTime() bool

HasWarmupTime returns a boolean if a field has been set.

func (UpdateAutoScalingGroupOpts) MarshalJSON

func (o UpdateAutoScalingGroupOpts) MarshalJSON() ([]byte, error)

func (*UpdateAutoScalingGroupOpts) SetCooldownTime

func (o *UpdateAutoScalingGroupOpts) SetCooldownTime(v int32)

SetCooldownTime gets a reference to the given int32 and assigns it to the CooldownTime field.

func (*UpdateAutoScalingGroupOpts) SetCpuThreshold

func (o *UpdateAutoScalingGroupOpts) SetCpuThreshold(v int32)

SetCpuThreshold gets a reference to the given int32 and assigns it to the CpuThreshold field.

func (*UpdateAutoScalingGroupOpts) SetDesiredAmount

func (o *UpdateAutoScalingGroupOpts) SetDesiredAmount(v int32)

SetDesiredAmount gets a reference to the given int32 and assigns it to the DesiredAmount field.

func (*UpdateAutoScalingGroupOpts) SetEndsAt

func (o *UpdateAutoScalingGroupOpts) SetEndsAt(v time.Time)

SetEndsAt gets a reference to the given time.Time and assigns it to the EndsAt field.

func (*UpdateAutoScalingGroupOpts) SetMaximumAmount

func (o *UpdateAutoScalingGroupOpts) SetMaximumAmount(v int32)

SetMaximumAmount gets a reference to the given int32 and assigns it to the MaximumAmount field.

func (*UpdateAutoScalingGroupOpts) SetMinimumAmount

func (o *UpdateAutoScalingGroupOpts) SetMinimumAmount(v int32)

SetMinimumAmount gets a reference to the given int32 and assigns it to the MinimumAmount field.

func (*UpdateAutoScalingGroupOpts) SetReference

func (o *UpdateAutoScalingGroupOpts) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*UpdateAutoScalingGroupOpts) SetStartsAt

func (o *UpdateAutoScalingGroupOpts) SetStartsAt(v time.Time)

SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.

func (*UpdateAutoScalingGroupOpts) SetWarmupTime

func (o *UpdateAutoScalingGroupOpts) SetWarmupTime(v int32)

SetWarmupTime gets a reference to the given int32 and assigns it to the WarmupTime field.

func (UpdateAutoScalingGroupOpts) ToMap

func (o UpdateAutoScalingGroupOpts) ToMap() (map[string]interface{}, error)

func (*UpdateAutoScalingGroupOpts) UnmarshalJSON

func (o *UpdateAutoScalingGroupOpts) UnmarshalJSON(data []byte) (err error)

type UpdateCredentialOpts

type UpdateCredentialOpts struct {
	// The new password
	Password             string `json:"password"`
	AdditionalProperties map[string]interface{}
}

UpdateCredentialOpts struct for UpdateCredentialOpts

func NewUpdateCredentialOpts

func NewUpdateCredentialOpts(password string) *UpdateCredentialOpts

NewUpdateCredentialOpts instantiates a new UpdateCredentialOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateCredentialOptsWithDefaults

func NewUpdateCredentialOptsWithDefaults() *UpdateCredentialOpts

NewUpdateCredentialOptsWithDefaults instantiates a new UpdateCredentialOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateCredentialOpts) GetPassword

func (o *UpdateCredentialOpts) GetPassword() string

GetPassword returns the Password field value

func (*UpdateCredentialOpts) GetPasswordOk

func (o *UpdateCredentialOpts) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (UpdateCredentialOpts) MarshalJSON

func (o UpdateCredentialOpts) MarshalJSON() ([]byte, error)

func (*UpdateCredentialOpts) SetPassword

func (o *UpdateCredentialOpts) SetPassword(v string)

SetPassword sets field value

func (UpdateCredentialOpts) ToMap

func (o UpdateCredentialOpts) ToMap() (map[string]interface{}, error)

func (*UpdateCredentialOpts) UnmarshalJSON

func (o *UpdateCredentialOpts) UnmarshalJSON(data []byte) (err error)

type UpdateCredentialResult

type UpdateCredentialResult struct {
	Type *CredentialType `json:"type,omitempty"`
	// The provided username
	Username *string `json:"username,omitempty"`
	// The provided password
	Password             *string `json:"password,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateCredentialResult struct for UpdateCredentialResult

func NewUpdateCredentialResult

func NewUpdateCredentialResult() *UpdateCredentialResult

NewUpdateCredentialResult instantiates a new UpdateCredentialResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateCredentialResultWithDefaults

func NewUpdateCredentialResultWithDefaults() *UpdateCredentialResult

NewUpdateCredentialResultWithDefaults instantiates a new UpdateCredentialResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateCredentialResult) GetPassword

func (o *UpdateCredentialResult) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*UpdateCredentialResult) GetPasswordOk

func (o *UpdateCredentialResult) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCredentialResult) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*UpdateCredentialResult) GetTypeOk

func (o *UpdateCredentialResult) GetTypeOk() (*CredentialType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCredentialResult) GetUsername

func (o *UpdateCredentialResult) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*UpdateCredentialResult) GetUsernameOk

func (o *UpdateCredentialResult) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCredentialResult) HasPassword

func (o *UpdateCredentialResult) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*UpdateCredentialResult) HasType

func (o *UpdateCredentialResult) HasType() bool

HasType returns a boolean if a field has been set.

func (*UpdateCredentialResult) HasUsername

func (o *UpdateCredentialResult) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (UpdateCredentialResult) MarshalJSON

func (o UpdateCredentialResult) MarshalJSON() ([]byte, error)

func (*UpdateCredentialResult) SetPassword

func (o *UpdateCredentialResult) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*UpdateCredentialResult) SetType

func (o *UpdateCredentialResult) SetType(v CredentialType)

SetType gets a reference to the given CredentialType and assigns it to the Type field.

func (*UpdateCredentialResult) SetUsername

func (o *UpdateCredentialResult) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (UpdateCredentialResult) ToMap

func (o UpdateCredentialResult) ToMap() (map[string]interface{}, error)

func (*UpdateCredentialResult) UnmarshalJSON

func (o *UpdateCredentialResult) UnmarshalJSON(data []byte) (err error)

type UpdateImageOpts

type UpdateImageOpts struct {
	// The name of the custom image to be updated.
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

UpdateImageOpts struct for UpdateImageOpts

func NewUpdateImageOpts

func NewUpdateImageOpts(name string) *UpdateImageOpts

NewUpdateImageOpts instantiates a new UpdateImageOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateImageOptsWithDefaults

func NewUpdateImageOptsWithDefaults() *UpdateImageOpts

NewUpdateImageOptsWithDefaults instantiates a new UpdateImageOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateImageOpts) GetName

func (o *UpdateImageOpts) GetName() string

GetName returns the Name field value

func (*UpdateImageOpts) GetNameOk

func (o *UpdateImageOpts) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (UpdateImageOpts) MarshalJSON

func (o UpdateImageOpts) MarshalJSON() ([]byte, error)

func (*UpdateImageOpts) SetName

func (o *UpdateImageOpts) SetName(v string)

SetName sets field value

func (UpdateImageOpts) ToMap

func (o UpdateImageOpts) ToMap() (map[string]interface{}, error)

func (*UpdateImageOpts) UnmarshalJSON

func (o *UpdateImageOpts) UnmarshalJSON(data []byte) (err error)

type UpdateInstanceOpts

type UpdateInstanceOpts struct {
	Type *TypeName `json:"type,omitempty"`
	// An identifying name you can refer to the instance
	Reference        *string           `json:"reference,omitempty"`
	ContractType     *ContractType     `json:"contractType,omitempty"`
	ContractTerm     *ContractTerm     `json:"contractTerm,omitempty"`
	BillingFrequency *BillingFrequency `json:"billingFrequency,omitempty"`
	// The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances
	RootDiskSize         *int32 `json:"rootDiskSize,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateInstanceOpts struct for UpdateInstanceOpts

func NewUpdateInstanceOpts

func NewUpdateInstanceOpts() *UpdateInstanceOpts

NewUpdateInstanceOpts instantiates a new UpdateInstanceOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateInstanceOptsWithDefaults

func NewUpdateInstanceOptsWithDefaults() *UpdateInstanceOpts

NewUpdateInstanceOptsWithDefaults instantiates a new UpdateInstanceOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateInstanceOpts) GetBillingFrequency

func (o *UpdateInstanceOpts) GetBillingFrequency() BillingFrequency

GetBillingFrequency returns the BillingFrequency field value if set, zero value otherwise.

func (*UpdateInstanceOpts) GetBillingFrequencyOk

func (o *UpdateInstanceOpts) GetBillingFrequencyOk() (*BillingFrequency, bool)

GetBillingFrequencyOk returns a tuple with the BillingFrequency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateInstanceOpts) GetContractTerm

func (o *UpdateInstanceOpts) GetContractTerm() ContractTerm

GetContractTerm returns the ContractTerm field value if set, zero value otherwise.

func (*UpdateInstanceOpts) GetContractTermOk

func (o *UpdateInstanceOpts) GetContractTermOk() (*ContractTerm, bool)

GetContractTermOk returns a tuple with the ContractTerm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateInstanceOpts) GetContractType

func (o *UpdateInstanceOpts) GetContractType() ContractType

GetContractType returns the ContractType field value if set, zero value otherwise.

func (*UpdateInstanceOpts) GetContractTypeOk

func (o *UpdateInstanceOpts) GetContractTypeOk() (*ContractType, bool)

GetContractTypeOk returns a tuple with the ContractType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateInstanceOpts) GetReference

func (o *UpdateInstanceOpts) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*UpdateInstanceOpts) GetReferenceOk

func (o *UpdateInstanceOpts) GetReferenceOk() (*string, bool)

GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateInstanceOpts) GetRootDiskSize

func (o *UpdateInstanceOpts) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field value if set, zero value otherwise.

func (*UpdateInstanceOpts) GetRootDiskSizeOk

func (o *UpdateInstanceOpts) GetRootDiskSizeOk() (*int32, bool)

GetRootDiskSizeOk returns a tuple with the RootDiskSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateInstanceOpts) GetType

func (o *UpdateInstanceOpts) GetType() TypeName

GetType returns the Type field value if set, zero value otherwise.

func (*UpdateInstanceOpts) GetTypeOk

func (o *UpdateInstanceOpts) GetTypeOk() (*TypeName, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateInstanceOpts) HasBillingFrequency

func (o *UpdateInstanceOpts) HasBillingFrequency() bool

HasBillingFrequency returns a boolean if a field has been set.

func (*UpdateInstanceOpts) HasContractTerm

func (o *UpdateInstanceOpts) HasContractTerm() bool

HasContractTerm returns a boolean if a field has been set.

func (*UpdateInstanceOpts) HasContractType

func (o *UpdateInstanceOpts) HasContractType() bool

HasContractType returns a boolean if a field has been set.

func (*UpdateInstanceOpts) HasReference

func (o *UpdateInstanceOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*UpdateInstanceOpts) HasRootDiskSize

func (o *UpdateInstanceOpts) HasRootDiskSize() bool

HasRootDiskSize returns a boolean if a field has been set.

func (*UpdateInstanceOpts) HasType

func (o *UpdateInstanceOpts) HasType() bool

HasType returns a boolean if a field has been set.

func (UpdateInstanceOpts) MarshalJSON

func (o UpdateInstanceOpts) MarshalJSON() ([]byte, error)

func (*UpdateInstanceOpts) SetBillingFrequency

func (o *UpdateInstanceOpts) SetBillingFrequency(v BillingFrequency)

SetBillingFrequency gets a reference to the given BillingFrequency and assigns it to the BillingFrequency field.

func (*UpdateInstanceOpts) SetContractTerm

func (o *UpdateInstanceOpts) SetContractTerm(v ContractTerm)

SetContractTerm gets a reference to the given ContractTerm and assigns it to the ContractTerm field.

func (*UpdateInstanceOpts) SetContractType

func (o *UpdateInstanceOpts) SetContractType(v ContractType)

SetContractType gets a reference to the given ContractType and assigns it to the ContractType field.

func (*UpdateInstanceOpts) SetReference

func (o *UpdateInstanceOpts) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*UpdateInstanceOpts) SetRootDiskSize

func (o *UpdateInstanceOpts) SetRootDiskSize(v int32)

SetRootDiskSize gets a reference to the given int32 and assigns it to the RootDiskSize field.

func (*UpdateInstanceOpts) SetType

func (o *UpdateInstanceOpts) SetType(v TypeName)

SetType gets a reference to the given TypeName and assigns it to the Type field.

func (UpdateInstanceOpts) ToMap

func (o UpdateInstanceOpts) ToMap() (map[string]interface{}, error)

func (*UpdateInstanceOpts) UnmarshalJSON

func (o *UpdateInstanceOpts) UnmarshalJSON(data []byte) (err error)

type UpdateIpOpts

type UpdateIpOpts struct {
	ReverseLookup        string `json:"reverseLookup"`
	AdditionalProperties map[string]interface{}
}

UpdateIpOpts struct for UpdateIpOpts

func NewUpdateIpOpts

func NewUpdateIpOpts(reverseLookup string) *UpdateIpOpts

NewUpdateIpOpts instantiates a new UpdateIpOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateIpOptsWithDefaults

func NewUpdateIpOptsWithDefaults() *UpdateIpOpts

NewUpdateIpOptsWithDefaults instantiates a new UpdateIpOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateIpOpts) GetReverseLookup

func (o *UpdateIpOpts) GetReverseLookup() string

GetReverseLookup returns the ReverseLookup field value

func (*UpdateIpOpts) GetReverseLookupOk

func (o *UpdateIpOpts) GetReverseLookupOk() (*string, bool)

GetReverseLookupOk returns a tuple with the ReverseLookup field value and a boolean to check if the value has been set.

func (UpdateIpOpts) MarshalJSON

func (o UpdateIpOpts) MarshalJSON() ([]byte, error)

func (*UpdateIpOpts) SetReverseLookup

func (o *UpdateIpOpts) SetReverseLookup(v string)

SetReverseLookup sets field value

func (UpdateIpOpts) ToMap

func (o UpdateIpOpts) ToMap() (map[string]interface{}, error)

func (*UpdateIpOpts) UnmarshalJSON

func (o *UpdateIpOpts) UnmarshalJSON(data []byte) (err error)

type UpdateLoadBalancerOpts

type UpdateLoadBalancerOpts struct {
	Type *TypeName `json:"type,omitempty"`
	// An identifying name you can refer to the load balancer
	Reference     *string               `json:"reference,omitempty"`
	ContractType  *ContractType         `json:"contractType,omitempty"`
	StickySession NullableStickySession `json:"stickySession,omitempty"`
	Balance       *Balance              `json:"balance,omitempty"`
	HealthCheck   NullableHealthCheck   `json:"healthCheck,omitempty"`
	// Is xForwardedFor enabled or not
	XForwardedFor *bool `json:"xForwardedFor,omitempty"`
	// Time to close the connection if load balancer is idle
	IdleTimeOut *int32 `json:"idleTimeOut,omitempty"`
	// Port on which the backend (target) servers are listening to handle incoming requests
	TargetPort           *int32 `json:"targetPort,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateLoadBalancerOpts struct for UpdateLoadBalancerOpts

func NewUpdateLoadBalancerOpts

func NewUpdateLoadBalancerOpts() *UpdateLoadBalancerOpts

NewUpdateLoadBalancerOpts instantiates a new UpdateLoadBalancerOpts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateLoadBalancerOptsWithDefaults

func NewUpdateLoadBalancerOptsWithDefaults() *UpdateLoadBalancerOpts

NewUpdateLoadBalancerOptsWithDefaults instantiates a new UpdateLoadBalancerOpts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateLoadBalancerOpts) GetBalance

func (o *UpdateLoadBalancerOpts) GetBalance() Balance

GetBalance returns the Balance field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetBalanceOk

func (o *UpdateLoadBalancerOpts) GetBalanceOk() (*Balance, bool)

GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) GetContractType

func (o *UpdateLoadBalancerOpts) GetContractType() ContractType

GetContractType returns the ContractType field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetContractTypeOk

func (o *UpdateLoadBalancerOpts) GetContractTypeOk() (*ContractType, bool)

GetContractTypeOk returns a tuple with the ContractType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) GetHealthCheck

func (o *UpdateLoadBalancerOpts) GetHealthCheck() HealthCheck

GetHealthCheck returns the HealthCheck field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateLoadBalancerOpts) GetHealthCheckOk

func (o *UpdateLoadBalancerOpts) GetHealthCheckOk() (*HealthCheck, bool)

GetHealthCheckOk returns a tuple with the HealthCheck field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateLoadBalancerOpts) GetIdleTimeOut

func (o *UpdateLoadBalancerOpts) GetIdleTimeOut() int32

GetIdleTimeOut returns the IdleTimeOut field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetIdleTimeOutOk

func (o *UpdateLoadBalancerOpts) GetIdleTimeOutOk() (*int32, bool)

GetIdleTimeOutOk returns a tuple with the IdleTimeOut field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) GetReference

func (o *UpdateLoadBalancerOpts) GetReference() string

GetReference returns the Reference field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetReferenceOk

func (o *UpdateLoadBalancerOpts) GetReferenceOk() (*string, bool)

GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) GetStickySession

func (o *UpdateLoadBalancerOpts) GetStickySession() StickySession

GetStickySession returns the StickySession field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateLoadBalancerOpts) GetStickySessionOk

func (o *UpdateLoadBalancerOpts) GetStickySessionOk() (*StickySession, bool)

GetStickySessionOk returns a tuple with the StickySession field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateLoadBalancerOpts) GetTargetPort

func (o *UpdateLoadBalancerOpts) GetTargetPort() int32

GetTargetPort returns the TargetPort field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetTargetPortOk

func (o *UpdateLoadBalancerOpts) GetTargetPortOk() (*int32, bool)

GetTargetPortOk returns a tuple with the TargetPort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) GetType

func (o *UpdateLoadBalancerOpts) GetType() TypeName

GetType returns the Type field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetTypeOk

func (o *UpdateLoadBalancerOpts) GetTypeOk() (*TypeName, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) GetXForwardedFor

func (o *UpdateLoadBalancerOpts) GetXForwardedFor() bool

GetXForwardedFor returns the XForwardedFor field value if set, zero value otherwise.

func (*UpdateLoadBalancerOpts) GetXForwardedForOk

func (o *UpdateLoadBalancerOpts) GetXForwardedForOk() (*bool, bool)

GetXForwardedForOk returns a tuple with the XForwardedFor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateLoadBalancerOpts) HasBalance

func (o *UpdateLoadBalancerOpts) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasContractType

func (o *UpdateLoadBalancerOpts) HasContractType() bool

HasContractType returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasHealthCheck

func (o *UpdateLoadBalancerOpts) HasHealthCheck() bool

HasHealthCheck returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasIdleTimeOut

func (o *UpdateLoadBalancerOpts) HasIdleTimeOut() bool

HasIdleTimeOut returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasReference

func (o *UpdateLoadBalancerOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasStickySession

func (o *UpdateLoadBalancerOpts) HasStickySession() bool

HasStickySession returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasTargetPort

func (o *UpdateLoadBalancerOpts) HasTargetPort() bool

HasTargetPort returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasType

func (o *UpdateLoadBalancerOpts) HasType() bool

HasType returns a boolean if a field has been set.

func (*UpdateLoadBalancerOpts) HasXForwardedFor

func (o *UpdateLoadBalancerOpts) HasXForwardedFor() bool

HasXForwardedFor returns a boolean if a field has been set.

func (UpdateLoadBalancerOpts) MarshalJSON

func (o UpdateLoadBalancerOpts) MarshalJSON() ([]byte, error)

func (*UpdateLoadBalancerOpts) SetBalance

func (o *UpdateLoadBalancerOpts) SetBalance(v Balance)

SetBalance gets a reference to the given Balance and assigns it to the Balance field.

func (*UpdateLoadBalancerOpts) SetContractType

func (o *UpdateLoadBalancerOpts) SetContractType(v ContractType)

SetContractType gets a reference to the given ContractType and assigns it to the ContractType field.

func (*UpdateLoadBalancerOpts) SetHealthCheck

func (o *UpdateLoadBalancerOpts) SetHealthCheck(v HealthCheck)

SetHealthCheck gets a reference to the given NullableHealthCheck and assigns it to the HealthCheck field.

func (*UpdateLoadBalancerOpts) SetHealthCheckNil

func (o *UpdateLoadBalancerOpts) SetHealthCheckNil()

SetHealthCheckNil sets the value for HealthCheck to be an explicit nil

func (*UpdateLoadBalancerOpts) SetIdleTimeOut

func (o *UpdateLoadBalancerOpts) SetIdleTimeOut(v int32)

SetIdleTimeOut gets a reference to the given int32 and assigns it to the IdleTimeOut field.

func (*UpdateLoadBalancerOpts) SetReference

func (o *UpdateLoadBalancerOpts) SetReference(v string)

SetReference gets a reference to the given string and assigns it to the Reference field.

func (*UpdateLoadBalancerOpts) SetStickySession

func (o *UpdateLoadBalancerOpts) SetStickySession(v StickySession)

SetStickySession gets a reference to the given NullableStickySession and assigns it to the StickySession field.

func (*UpdateLoadBalancerOpts) SetStickySessionNil

func (o *UpdateLoadBalancerOpts) SetStickySessionNil()

SetStickySessionNil sets the value for StickySession to be an explicit nil

func (*UpdateLoadBalancerOpts) SetTargetPort

func (o *UpdateLoadBalancerOpts) SetTargetPort(v int32)

SetTargetPort gets a reference to the given int32 and assigns it to the TargetPort field.

func (*UpdateLoadBalancerOpts) SetType

func (o *UpdateLoadBalancerOpts) SetType(v TypeName)

SetType gets a reference to the given TypeName and assigns it to the Type field.

func (*UpdateLoadBalancerOpts) SetXForwardedFor

func (o *UpdateLoadBalancerOpts) SetXForwardedFor(v bool)

SetXForwardedFor gets a reference to the given bool and assigns it to the XForwardedFor field.

func (UpdateLoadBalancerOpts) ToMap

func (o UpdateLoadBalancerOpts) ToMap() (map[string]interface{}, error)

func (*UpdateLoadBalancerOpts) UnmarshalJSON

func (o *UpdateLoadBalancerOpts) UnmarshalJSON(data []byte) (err error)

func (*UpdateLoadBalancerOpts) UnsetHealthCheck

func (o *UpdateLoadBalancerOpts) UnsetHealthCheck()

UnsetHealthCheck ensures that no value is present for HealthCheck, not even an explicit nil

func (*UpdateLoadBalancerOpts) UnsetStickySession

func (o *UpdateLoadBalancerOpts) UnsetStickySession()

UnsetStickySession ensures that no value is present for StickySession, not even an explicit nil

type Values

type Values struct {
	Tier0                *Tier `json:"tier_0,omitempty"`
	Tier1                *Tier `json:"tier_1,omitempty"`
	Tier2                *Tier `json:"tier_2,omitempty"`
	Tier3                *Tier `json:"tier_3,omitempty"`
	AdditionalProperties map[string]interface{}
}

Values struct for Values

func NewValues

func NewValues() *Values

NewValues instantiates a new Values object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewValuesWithDefaults

func NewValuesWithDefaults() *Values

NewValuesWithDefaults instantiates a new Values object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Values) GetTier0

func (o *Values) GetTier0() Tier

GetTier0 returns the Tier0 field value if set, zero value otherwise.

func (*Values) GetTier0Ok

func (o *Values) GetTier0Ok() (*Tier, bool)

GetTier0Ok returns a tuple with the Tier0 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Values) GetTier1

func (o *Values) GetTier1() Tier

GetTier1 returns the Tier1 field value if set, zero value otherwise.

func (*Values) GetTier1Ok

func (o *Values) GetTier1Ok() (*Tier, bool)

GetTier1Ok returns a tuple with the Tier1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Values) GetTier2

func (o *Values) GetTier2() Tier

GetTier2 returns the Tier2 field value if set, zero value otherwise.

func (*Values) GetTier2Ok

func (o *Values) GetTier2Ok() (*Tier, bool)

GetTier2Ok returns a tuple with the Tier2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Values) GetTier3

func (o *Values) GetTier3() Tier

GetTier3 returns the Tier3 field value if set, zero value otherwise.

func (*Values) GetTier3Ok

func (o *Values) GetTier3Ok() (*Tier, bool)

GetTier3Ok returns a tuple with the Tier3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Values) HasTier0

func (o *Values) HasTier0() bool

HasTier0 returns a boolean if a field has been set.

func (*Values) HasTier1

func (o *Values) HasTier1() bool

HasTier1 returns a boolean if a field has been set.

func (*Values) HasTier2

func (o *Values) HasTier2() bool

HasTier2 returns a boolean if a field has been set.

func (*Values) HasTier3

func (o *Values) HasTier3() bool

HasTier3 returns a boolean if a field has been set.

func (Values) MarshalJSON

func (o Values) MarshalJSON() ([]byte, error)

func (*Values) SetTier0

func (o *Values) SetTier0(v Tier)

SetTier0 gets a reference to the given Tier and assigns it to the Tier0 field.

func (*Values) SetTier1

func (o *Values) SetTier1(v Tier)

SetTier1 gets a reference to the given Tier and assigns it to the Tier1 field.

func (*Values) SetTier2

func (o *Values) SetTier2(v Tier)

SetTier2 gets a reference to the given Tier and assigns it to the Tier2 field.

func (*Values) SetTier3

func (o *Values) SetTier3(v Tier)

SetTier3 gets a reference to the given Tier and assigns it to the Tier3 field.

func (Values) ToMap

func (o Values) ToMap() (map[string]interface{}, error)

func (*Values) UnmarshalJSON

func (o *Values) UnmarshalJSON(data []byte) (err error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL