iaas

package module
v0.0.0-...-f18e262 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 20 Imported by: 0

README

Go API client for iaas

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

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

  • API version: 1.0.0
  • Package version: 1.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 iaas "github.com/hamidfzm/arvancloud-go/iaas"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

ctx := context.WithValue(context.Background(), iaas.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 sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://napi.arvancloud.ir/ecc/v1

Class Method HTTP request Description
FloatingIPsAPI AttachFloatIPToServer Patch /regions/:region/float-ips/:id/attach
FloatingIPsAPI CreateFloatingIP Post /regions/:region/float-ips
FloatingIPsAPI DeleteFloatingIP Delete /regions/:region/float-ips/:id
FloatingIPsAPI DetachFloatIPFromServer Patch /regions/:region/float-ips/detach
FloatingIPsAPI GetAllFloatingIPs Get /regions/:region/float-ips
FloatingIPsAPI GetFloatingIPInternalIPs Get /regions/:region/float-ips/ips
ImagesAPI AppendDataToImage Patch /regions/:region/images/:id
ImagesAPI DeleteImage Delete /regions/:region/images/:id
ImagesAPI GetImages Get /regions/:region/images
ImagesAPI ImportImageFromURL Post /regions/:region/images/import
ImagesAPI UploadImage Post /regions/:region/images
NetworksAPI AttachNetworkToServer Patch /regions/:region/networks/:id/attach
NetworksAPI DetachNetworkFromServer Patch /regions/:region/networks/:id/detach
NetworksAPI GetAllNetworks Get /regions/:region/networks
PTRAPI CreatePTR Post /regions/:region/ptr/
PTRAPI DeletePTR Delete /regions/:region/ptr/:ip
PlansAPI GetAllRegionPlans Get /regions/:region/sizes
PlansAPI GetPlanByID Get /regions/:region/sizes/:id
PortsAPI DisablePort Patch /regions/:region/ports/:id/disable
PortsAPI DisablePortSecurity Patch /regions/:region/ports/:id/disablePortSecurity
PortsAPI EnablePort Patch /regions/:region/ports/:id/enable
PortsAPI EnablePortSecurity Patch /regions/:region/ports/:id/enablePortSecurity
QuotaAPI GetUserLimits Get /regions/:region/quota
ReportsAPI GetReportMetric Get /regions/:region/reports/:id/:metric
ReportsAPI GetServerReports Get /regions/:region/reports/:id
SSHKeysAPI CreateSSHKey Post /regions/:region/ssh-keys
SSHKeysAPI DeleteSSHKey Post /regions/:region/ssh-keys/:name
SSHKeysAPI GetAllSSHKeys Get /regions/:region/ssh-keys
SSHKeysAPI GetSSHKey Get /regions/:region/ssh-keys/:name
SecurityGroupsAPI CreateSecurityGroup Post /regions/:region/securities
SecurityGroupsAPI CreateSecurityGroupRule Post /regions/:region/securities/securitiy-rules/:id
SecurityGroupsAPI DeleteSecurityGroup Delete /regions/:region/securities/:id
SecurityGroupsAPI DeleteSecurityGroupRule Delete /regions/:region/securities/securitiy-rules/:id
SecurityGroupsAPI GetAllSecurityGroups Get /regions/:region/securities
SecurityGroupsAPI GetSecurityGroupRules Get /regions/:region/securities/security-rules/:id
SecurityGroupsAPI ImportCDNSecurityGroup Post /regions/:region/securities/securitiy-rules/cdn
ServersAPI AddServerPublicIP Post /regions/:region/servers/:id/add-public-ip
ServersAPI AttachServerRootVolume Put /regions/:region/servers/:id/attachRoot
ServersAPI AttachServerToSecurityGroup Post /regions/:region/servers/:id/add-security-group
ServersAPI CreateServer Post /regions/:region/servers
ServersAPI DeleteServer Delete /regions/:region/servers/:id
ServersAPI DetachServerFromSecurityGroup Post /regions/:region/servers/:id/remove-security-group
ServersAPI DetachServerRootVolume Put /regions/:region/servers/:id/detachRoot
ServersAPI GetAllServers Get /regions/:region/servers
ServersAPI GetDeleteReasons Get /regions/:region/servers/delete-reasons
ServersAPI GetRegionServerCreationOptions Get /regions/:region/servers/options
ServersAPI GetServerAvailableActions Get /regions/:region/servers/:id/actions
ServersAPI GetServerDetails Get /regions/:region/servers/:id
ServersAPI GetServerVNC Get /regions/:region/servers/:id/vnc
ServersAPI HardRebootServer Post /regions/:region/servers/:id/hard-reboot
ServersAPI PowerOffServer Post /regions/:region/servers/:id/power-off
ServersAPI PowerOnServer Post /regions/:region/servers/:id/power-on
ServersAPI RebootServer Post /regions/:region/servers/:id/reboot
ServersAPI RebuildServer Post /regions/:region/servers/:id/rebuild
ServersAPI RenameServer Post /regions/:region/servers/:id/rename
ServersAPI RescueServer Post /regions/:region/servers/:id/rescue
ServersAPI ResetRootPassword Post /regions/:region/servers/:id/reset-root-password
ServersAPI ResizeServer Post /regions/:region/servers/:id/resize
ServersAPI ResizeServerRootVolume Put /regions/:region/servers/:id/resizeRoot
ServersAPI TakeServerSnapshot Post /regions/:region/servers/:id/snapshot
ServersAPI ToggleInstanceHA Post /regions/:region/servers/:id/instance-ha/:action
ServersAPI UnrescueServer Post /regions/:region/servers/:id/unrescue
SnapshotsAPI CreateImageFromSnapshot Post /regions/:region/snapshots/:id/images/
SnapshotsAPI CreateSnapshotFromServer Post /regions/:region/snapshots/servers/:id
SnapshotsAPI CreateSnapshotFromVolume Post /regions/:region/snapshots/volumes/:id/
SnapshotsAPI CreateVolumeFromSnapshot Post /regions/:region/snapshots/:id/volumes/
SnapshotsAPI DeleteSnapshot Delete /regions/:region/snapshots/:id
SnapshotsAPI GetAllSnapshots Get /regions/:region/snapshots
SnapshotsAPI RevertSnapshot Put /regions/:region/snapshots/:id/revert
SnapshotsAPI UpdateSnapshot Put /regions/:region/snapshots/:id
SubnetsAPI CreatePrivateNetwork Post /regions/:region/subnets
SubnetsAPI DeletePrivateNetwork Delete /regions/:region/subnets/:id
SubnetsAPI GetPrivateNetwork Get /regions/:region/subnets/:id
SubnetsAPI UpdatePrivateNetwork Patch /regions/:region/subnets
TagsAPI AttachTag Put /regions/:region/tags/:id/attach
TagsAPI CreateTag Post /regions/:region/tags
TagsAPI DeleteTag Delete /regions/:region/tags/:id
TagsAPI DetachTag Post /regions/:region/tags/:id/detach
TagsAPI GetAllUserTags Get /regions/:region/tags
TagsAPI TagMultipleInstances Post /regions/:region/tags/batch
TagsAPI UpdateTag Put /regions/:region/tags/:id
VolumesAPI AttachVolumeToServer Patch /regions/:region/volumes/attach
VolumesAPI CreateOSVolumeFromSnapshot Post /regions/:region/volumes/snapshots/:id/os-volume
VolumesAPI CreateVolume Post /regions/:region/volumes
VolumesAPI CreateVolumeFromSnapshot Post /regions/:region/volumes/snapshots/:id/create-volume
VolumesAPI DeleteVolume Delete /regions/:region/volumes/:id
VolumesAPI DeleteVolumeSnapshot Delete /regions/:region/volumes/:id/snapshot
VolumesAPI DetachVolumeFromServer Patch /regions/:region/volumes/detach
VolumesAPI GetAllOSVolumes Get /regions/:region/volumes/os-volumes
VolumesAPI GetAllVolumes Get /regions/:region/volumes
VolumesAPI GetVolumeLimits Get /regions/:region/volumes/limits
VolumesAPI GetVolumeOptions Get /regions/:region/volumes/options
VolumesAPI GetVolumeSnapshots Get /regions/:region/volumes/snapshots
VolumesAPI RevertVolumeSnapshot Put /regions/:region/volumes/:id/snapshot/revert
VolumesAPI UpdateVolume Patch /regions/:region/volumes/:id
VolumesAPI UpdateVolumeSnapshot Put /regions/:region/volumes/:id/snapshot

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

key
  • Type: API key
  • API key parameter name: Apikey
  • Location: HTTP header

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

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Apikey": {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 (
	// 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")
)

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 {
	FloatingIPsAPI *FloatingIPsAPIService

	ImagesAPI *ImagesAPIService

	NetworksAPI *NetworksAPIService

	PTRAPI *PTRAPIService

	PlansAPI *PlansAPIService

	PortsAPI *PortsAPIService

	QuotaAPI *QuotaAPIService

	ReportsAPI *ReportsAPIService

	SSHKeysAPI *SSHKeysAPIService

	SecurityGroupsAPI *SecurityGroupsAPIService

	ServersAPI *ServersAPIService

	SnapshotsAPI *SnapshotsAPIService

	SubnetsAPI *SubnetsAPIService

	TagsAPI *TagsAPIService

	VolumesAPI *VolumesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the API v1.0.0 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 AddServerPublicIPRequest

type AddServerPublicIPRequest struct {
	SecurityGroup  *string  `json:"security_group,omitempty"`
	SecurityGroups []string `json:"security_groups,omitempty"`
}

AddServerPublicIPRequest struct for AddServerPublicIPRequest

func NewAddServerPublicIPRequest

func NewAddServerPublicIPRequest() *AddServerPublicIPRequest

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

func NewAddServerPublicIPRequestWithDefaults

func NewAddServerPublicIPRequestWithDefaults() *AddServerPublicIPRequest

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

func (*AddServerPublicIPRequest) GetSecurityGroup

func (o *AddServerPublicIPRequest) GetSecurityGroup() string

GetSecurityGroup returns the SecurityGroup field value if set, zero value otherwise.

func (*AddServerPublicIPRequest) GetSecurityGroupOk

func (o *AddServerPublicIPRequest) GetSecurityGroupOk() (*string, bool)

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

func (*AddServerPublicIPRequest) GetSecurityGroups

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

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

func (*AddServerPublicIPRequest) GetSecurityGroupsOk

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

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

func (*AddServerPublicIPRequest) HasSecurityGroup

func (o *AddServerPublicIPRequest) HasSecurityGroup() bool

HasSecurityGroup returns a boolean if a field has been set.

func (*AddServerPublicIPRequest) HasSecurityGroups

func (o *AddServerPublicIPRequest) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (AddServerPublicIPRequest) MarshalJSON

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

func (*AddServerPublicIPRequest) SetSecurityGroup

func (o *AddServerPublicIPRequest) SetSecurityGroup(v string)

SetSecurityGroup gets a reference to the given string and assigns it to the SecurityGroup field.

func (*AddServerPublicIPRequest) SetSecurityGroups

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

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

func (AddServerPublicIPRequest) ToMap

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

type AllocationPool

type AllocationPool struct {
	End   *string `json:"end,omitempty"`
	Start *string `json:"start,omitempty"`
}

AllocationPool struct for AllocationPool

func NewAllocationPool

func NewAllocationPool() *AllocationPool

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

func NewAllocationPoolWithDefaults

func NewAllocationPoolWithDefaults() *AllocationPool

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

func (*AllocationPool) GetEnd

func (o *AllocationPool) GetEnd() string

GetEnd returns the End field value if set, zero value otherwise.

func (*AllocationPool) GetEndOk

func (o *AllocationPool) GetEndOk() (*string, bool)

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

func (*AllocationPool) GetStart

func (o *AllocationPool) GetStart() string

GetStart returns the Start field value if set, zero value otherwise.

func (*AllocationPool) GetStartOk

func (o *AllocationPool) GetStartOk() (*string, bool)

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

func (*AllocationPool) HasEnd

func (o *AllocationPool) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*AllocationPool) HasStart

func (o *AllocationPool) HasStart() bool

HasStart returns a boolean if a field has been set.

func (AllocationPool) MarshalJSON

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

func (*AllocationPool) SetEnd

func (o *AllocationPool) SetEnd(v string)

SetEnd gets a reference to the given string and assigns it to the End field.

func (*AllocationPool) SetStart

func (o *AllocationPool) SetStart(v string)

SetStart gets a reference to the given string and assigns it to the Start field.

func (AllocationPool) ToMap

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

type AttachPortSecurityRequest

type AttachPortSecurityRequest struct {
	SecurityGroupId *string `json:"security_group_id,omitempty"`
}

AttachPortSecurityRequest struct for AttachPortSecurityRequest

func NewAttachPortSecurityRequest

func NewAttachPortSecurityRequest() *AttachPortSecurityRequest

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

func NewAttachPortSecurityRequestWithDefaults

func NewAttachPortSecurityRequestWithDefaults() *AttachPortSecurityRequest

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

func (*AttachPortSecurityRequest) GetSecurityGroupId

func (o *AttachPortSecurityRequest) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*AttachPortSecurityRequest) GetSecurityGroupIdOk

func (o *AttachPortSecurityRequest) GetSecurityGroupIdOk() (*string, bool)

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

func (*AttachPortSecurityRequest) HasSecurityGroupId

func (o *AttachPortSecurityRequest) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (AttachPortSecurityRequest) MarshalJSON

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

func (*AttachPortSecurityRequest) SetSecurityGroupId

func (o *AttachPortSecurityRequest) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (AttachPortSecurityRequest) ToMap

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

type AttachServerRootVolumeRequest

type AttachServerRootVolumeRequest struct {
	VolumeId *string `json:"volume_id,omitempty"`
}

AttachServerRootVolumeRequest struct for AttachServerRootVolumeRequest

func NewAttachServerRootVolumeRequest

func NewAttachServerRootVolumeRequest() *AttachServerRootVolumeRequest

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

func NewAttachServerRootVolumeRequestWithDefaults

func NewAttachServerRootVolumeRequestWithDefaults() *AttachServerRootVolumeRequest

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

func (*AttachServerRootVolumeRequest) GetVolumeId

func (o *AttachServerRootVolumeRequest) GetVolumeId() string

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

func (*AttachServerRootVolumeRequest) GetVolumeIdOk

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

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

func (*AttachServerRootVolumeRequest) HasVolumeId

func (o *AttachServerRootVolumeRequest) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (AttachServerRootVolumeRequest) MarshalJSON

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

func (*AttachServerRootVolumeRequest) SetVolumeId

func (o *AttachServerRootVolumeRequest) SetVolumeId(v string)

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

func (AttachServerRootVolumeRequest) ToMap

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

type AttachServerToNetworkRequest

type AttachServerToNetworkRequest struct {
	EnablePortSecurity *bool   `json:"enablePortSecurity,omitempty"`
	Ip                 *string `json:"ip,omitempty"`
	ServerId           *string `json:"server_id,omitempty"`
	SubnetId           *string `json:"subnet_id,omitempty"`
}

AttachServerToNetworkRequest struct for AttachServerToNetworkRequest

func NewAttachServerToNetworkRequest

func NewAttachServerToNetworkRequest() *AttachServerToNetworkRequest

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

func NewAttachServerToNetworkRequestWithDefaults

func NewAttachServerToNetworkRequestWithDefaults() *AttachServerToNetworkRequest

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

func (*AttachServerToNetworkRequest) GetEnablePortSecurity

func (o *AttachServerToNetworkRequest) GetEnablePortSecurity() bool

GetEnablePortSecurity returns the EnablePortSecurity field value if set, zero value otherwise.

func (*AttachServerToNetworkRequest) GetEnablePortSecurityOk

func (o *AttachServerToNetworkRequest) GetEnablePortSecurityOk() (*bool, bool)

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

func (*AttachServerToNetworkRequest) GetIp

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

func (*AttachServerToNetworkRequest) GetIpOk

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

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

func (*AttachServerToNetworkRequest) GetServerId

func (o *AttachServerToNetworkRequest) GetServerId() string

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

func (*AttachServerToNetworkRequest) GetServerIdOk

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

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

func (*AttachServerToNetworkRequest) GetSubnetId

func (o *AttachServerToNetworkRequest) GetSubnetId() string

GetSubnetId returns the SubnetId field value if set, zero value otherwise.

func (*AttachServerToNetworkRequest) GetSubnetIdOk

func (o *AttachServerToNetworkRequest) GetSubnetIdOk() (*string, bool)

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

func (*AttachServerToNetworkRequest) HasEnablePortSecurity

func (o *AttachServerToNetworkRequest) HasEnablePortSecurity() bool

HasEnablePortSecurity returns a boolean if a field has been set.

func (*AttachServerToNetworkRequest) HasIp

HasIp returns a boolean if a field has been set.

func (*AttachServerToNetworkRequest) HasServerId

func (o *AttachServerToNetworkRequest) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*AttachServerToNetworkRequest) HasSubnetId

func (o *AttachServerToNetworkRequest) HasSubnetId() bool

HasSubnetId returns a boolean if a field has been set.

func (AttachServerToNetworkRequest) MarshalJSON

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

func (*AttachServerToNetworkRequest) SetEnablePortSecurity

func (o *AttachServerToNetworkRequest) SetEnablePortSecurity(v bool)

SetEnablePortSecurity gets a reference to the given bool and assigns it to the EnablePortSecurity field.

func (*AttachServerToNetworkRequest) SetIp

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

func (*AttachServerToNetworkRequest) SetServerId

func (o *AttachServerToNetworkRequest) SetServerId(v string)

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

func (*AttachServerToNetworkRequest) SetSubnetId

func (o *AttachServerToNetworkRequest) SetSubnetId(v string)

SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.

func (AttachServerToNetworkRequest) ToMap

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

type AttachServerToSecurityGroupRequest

type AttachServerToSecurityGroupRequest struct {
	SecurityGroupId *string `json:"security_group_id,omitempty"`
}

AttachServerToSecurityGroupRequest struct for AttachServerToSecurityGroupRequest

func NewAttachServerToSecurityGroupRequest

func NewAttachServerToSecurityGroupRequest() *AttachServerToSecurityGroupRequest

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

func NewAttachServerToSecurityGroupRequestWithDefaults

func NewAttachServerToSecurityGroupRequestWithDefaults() *AttachServerToSecurityGroupRequest

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

func (*AttachServerToSecurityGroupRequest) GetSecurityGroupId

func (o *AttachServerToSecurityGroupRequest) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*AttachServerToSecurityGroupRequest) GetSecurityGroupIdOk

func (o *AttachServerToSecurityGroupRequest) GetSecurityGroupIdOk() (*string, bool)

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

func (*AttachServerToSecurityGroupRequest) HasSecurityGroupId

func (o *AttachServerToSecurityGroupRequest) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (AttachServerToSecurityGroupRequest) MarshalJSON

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

func (*AttachServerToSecurityGroupRequest) SetSecurityGroupId

func (o *AttachServerToSecurityGroupRequest) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (AttachServerToSecurityGroupRequest) ToMap

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

type AttachTagRequest

type AttachTagRequest struct {
	InstanceId *string `json:"instance_id,omitempty"`
	// describes the type of resource, values: `server`, `network`, `image`, `volume`, `float_ip`, `security_group`
	InstanceType *string `json:"instance_type,omitempty"`
}

AttachTagRequest struct for AttachTagRequest

func NewAttachTagRequest

func NewAttachTagRequest() *AttachTagRequest

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

func NewAttachTagRequestWithDefaults

func NewAttachTagRequestWithDefaults() *AttachTagRequest

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

func (*AttachTagRequest) GetInstanceId

func (o *AttachTagRequest) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*AttachTagRequest) GetInstanceIdOk

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

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

func (*AttachTagRequest) GetInstanceType

func (o *AttachTagRequest) GetInstanceType() string

GetInstanceType returns the InstanceType field value if set, zero value otherwise.

func (*AttachTagRequest) GetInstanceTypeOk

func (o *AttachTagRequest) GetInstanceTypeOk() (*string, bool)

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

func (*AttachTagRequest) HasInstanceId

func (o *AttachTagRequest) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (*AttachTagRequest) HasInstanceType

func (o *AttachTagRequest) HasInstanceType() bool

HasInstanceType returns a boolean if a field has been set.

func (AttachTagRequest) MarshalJSON

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

func (*AttachTagRequest) SetInstanceId

func (o *AttachTagRequest) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (*AttachTagRequest) SetInstanceType

func (o *AttachTagRequest) SetInstanceType(v string)

SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.

func (AttachTagRequest) ToMap

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

type Attachment

type Attachment struct {
	AttachedAt   *string `json:"attached_at,omitempty"`
	AttachmentId *string `json:"attachment_id,omitempty"`
	Device       *string `json:"device,omitempty"`
	HostName     *string `json:"host_name,omitempty"`
	Id           *string `json:"id,omitempty"`
	ServerId     *string `json:"server_id,omitempty"`
	ServerName   *string `json:"server_name,omitempty"`
	VolumeId     *string `json:"volume_id,omitempty"`
}

Attachment struct for Attachment

func NewAttachment

func NewAttachment() *Attachment

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

func NewAttachmentWithDefaults

func NewAttachmentWithDefaults() *Attachment

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

func (*Attachment) GetAttachedAt

func (o *Attachment) GetAttachedAt() string

GetAttachedAt returns the AttachedAt field value if set, zero value otherwise.

func (*Attachment) GetAttachedAtOk

func (o *Attachment) GetAttachedAtOk() (*string, bool)

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

func (*Attachment) GetAttachmentId

func (o *Attachment) GetAttachmentId() string

GetAttachmentId returns the AttachmentId field value if set, zero value otherwise.

func (*Attachment) GetAttachmentIdOk

func (o *Attachment) GetAttachmentIdOk() (*string, bool)

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

func (*Attachment) GetDevice

func (o *Attachment) GetDevice() string

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

func (*Attachment) GetDeviceOk

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

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

func (*Attachment) GetHostName

func (o *Attachment) GetHostName() string

GetHostName returns the HostName field value if set, zero value otherwise.

func (*Attachment) GetHostNameOk

func (o *Attachment) GetHostNameOk() (*string, bool)

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

func (*Attachment) GetId

func (o *Attachment) GetId() string

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

func (*Attachment) GetIdOk

func (o *Attachment) 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 (*Attachment) GetServerId

func (o *Attachment) GetServerId() string

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

func (*Attachment) GetServerIdOk

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

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

func (*Attachment) GetServerName

func (o *Attachment) GetServerName() string

GetServerName returns the ServerName field value if set, zero value otherwise.

func (*Attachment) GetServerNameOk

func (o *Attachment) GetServerNameOk() (*string, bool)

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

func (*Attachment) GetVolumeId

func (o *Attachment) GetVolumeId() string

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

func (*Attachment) GetVolumeIdOk

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

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

func (*Attachment) HasAttachedAt

func (o *Attachment) HasAttachedAt() bool

HasAttachedAt returns a boolean if a field has been set.

func (*Attachment) HasAttachmentId

func (o *Attachment) HasAttachmentId() bool

HasAttachmentId returns a boolean if a field has been set.

func (*Attachment) HasDevice

func (o *Attachment) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*Attachment) HasHostName

func (o *Attachment) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*Attachment) HasId

func (o *Attachment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Attachment) HasServerId

func (o *Attachment) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*Attachment) HasServerName

func (o *Attachment) HasServerName() bool

HasServerName returns a boolean if a field has been set.

func (*Attachment) HasVolumeId

func (o *Attachment) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (Attachment) MarshalJSON

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

func (*Attachment) SetAttachedAt

func (o *Attachment) SetAttachedAt(v string)

SetAttachedAt gets a reference to the given string and assigns it to the AttachedAt field.

func (*Attachment) SetAttachmentId

func (o *Attachment) SetAttachmentId(v string)

SetAttachmentId gets a reference to the given string and assigns it to the AttachmentId field.

func (*Attachment) SetDevice

func (o *Attachment) SetDevice(v string)

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

func (*Attachment) SetHostName

func (o *Attachment) SetHostName(v string)

SetHostName gets a reference to the given string and assigns it to the HostName field.

func (*Attachment) SetId

func (o *Attachment) SetId(v string)

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

func (*Attachment) SetServerId

func (o *Attachment) SetServerId(v string)

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

func (*Attachment) SetServerName

func (o *Attachment) SetServerName(v string)

SetServerName gets a reference to the given string and assigns it to the ServerName field.

func (*Attachment) SetVolumeId

func (o *Attachment) SetVolumeId(v string)

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

func (Attachment) ToMap

func (o Attachment) ToMap() (map[string]interface{}, 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 BatchTagRequest

type BatchTagRequest struct {
	InstanceList []string `json:"instance_list,omitempty"`
	InstanceType *string  `json:"instance_type,omitempty"`
	TagList      []string `json:"tag_list,omitempty"`
}

BatchTagRequest struct for BatchTagRequest

func NewBatchTagRequest

func NewBatchTagRequest() *BatchTagRequest

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

func NewBatchTagRequestWithDefaults

func NewBatchTagRequestWithDefaults() *BatchTagRequest

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

func (*BatchTagRequest) GetInstanceList

func (o *BatchTagRequest) GetInstanceList() []string

GetInstanceList returns the InstanceList field value if set, zero value otherwise.

func (*BatchTagRequest) GetInstanceListOk

func (o *BatchTagRequest) GetInstanceListOk() ([]string, bool)

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

func (*BatchTagRequest) GetInstanceType

func (o *BatchTagRequest) GetInstanceType() string

GetInstanceType returns the InstanceType field value if set, zero value otherwise.

func (*BatchTagRequest) GetInstanceTypeOk

func (o *BatchTagRequest) GetInstanceTypeOk() (*string, bool)

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

func (*BatchTagRequest) GetTagList

func (o *BatchTagRequest) GetTagList() []string

GetTagList returns the TagList field value if set, zero value otherwise.

func (*BatchTagRequest) GetTagListOk

func (o *BatchTagRequest) GetTagListOk() ([]string, bool)

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

func (*BatchTagRequest) HasInstanceList

func (o *BatchTagRequest) HasInstanceList() bool

HasInstanceList returns a boolean if a field has been set.

func (*BatchTagRequest) HasInstanceType

func (o *BatchTagRequest) HasInstanceType() bool

HasInstanceType returns a boolean if a field has been set.

func (*BatchTagRequest) HasTagList

func (o *BatchTagRequest) HasTagList() bool

HasTagList returns a boolean if a field has been set.

func (BatchTagRequest) MarshalJSON

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

func (*BatchTagRequest) SetInstanceList

func (o *BatchTagRequest) SetInstanceList(v []string)

SetInstanceList gets a reference to the given []string and assigns it to the InstanceList field.

func (*BatchTagRequest) SetInstanceType

func (o *BatchTagRequest) SetInstanceType(v string)

SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.

func (*BatchTagRequest) SetTagList

func (o *BatchTagRequest) SetTagList(v []string)

SetTagList gets a reference to the given []string and assigns it to the TagList field.

func (BatchTagRequest) ToMap

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

type Chart

type Chart struct {
	Categories []string       `json:"categories,omitempty"`
	Series     []ChartDataset `json:"series,omitempty"`
	Title      *string        `json:"title,omitempty"`
}

Chart struct for Chart

func NewChart

func NewChart() *Chart

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

func NewChartWithDefaults

func NewChartWithDefaults() *Chart

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

func (*Chart) GetCategories

func (o *Chart) GetCategories() []string

GetCategories returns the Categories field value if set, zero value otherwise.

func (*Chart) GetCategoriesOk

func (o *Chart) GetCategoriesOk() ([]string, bool)

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

func (*Chart) GetSeries

func (o *Chart) GetSeries() []ChartDataset

GetSeries returns the Series field value if set, zero value otherwise.

func (*Chart) GetSeriesOk

func (o *Chart) GetSeriesOk() ([]ChartDataset, bool)

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

func (*Chart) GetTitle

func (o *Chart) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Chart) GetTitleOk

func (o *Chart) GetTitleOk() (*string, bool)

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

func (*Chart) HasCategories

func (o *Chart) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*Chart) HasSeries

func (o *Chart) HasSeries() bool

HasSeries returns a boolean if a field has been set.

func (*Chart) HasTitle

func (o *Chart) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (Chart) MarshalJSON

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

func (*Chart) SetCategories

func (o *Chart) SetCategories(v []string)

SetCategories gets a reference to the given []string and assigns it to the Categories field.

func (*Chart) SetSeries

func (o *Chart) SetSeries(v []ChartDataset)

SetSeries gets a reference to the given []ChartDataset and assigns it to the Series field.

func (*Chart) SetTitle

func (o *Chart) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (Chart) ToMap

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

type ChartCollection

type ChartCollection struct {
	Cpu        *Chart   `json:"cpu,omitempty"`
	Disk       *Chart   `json:"disk,omitempty"`
	Network    *Chart   `json:"network,omitempty"`
	Ram        *Chart   `json:"ram,omitempty"`
	Statistics []string `json:"statistics,omitempty"`
}

ChartCollection struct for ChartCollection

func NewChartCollection

func NewChartCollection() *ChartCollection

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

func NewChartCollectionWithDefaults

func NewChartCollectionWithDefaults() *ChartCollection

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

func (*ChartCollection) GetCpu

func (o *ChartCollection) GetCpu() Chart

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*ChartCollection) GetCpuOk

func (o *ChartCollection) GetCpuOk() (*Chart, bool)

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

func (*ChartCollection) GetDisk

func (o *ChartCollection) GetDisk() Chart

GetDisk returns the Disk field value if set, zero value otherwise.

func (*ChartCollection) GetDiskOk

func (o *ChartCollection) GetDiskOk() (*Chart, bool)

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

func (*ChartCollection) GetNetwork

func (o *ChartCollection) GetNetwork() Chart

GetNetwork returns the Network field value if set, zero value otherwise.

func (*ChartCollection) GetNetworkOk

func (o *ChartCollection) GetNetworkOk() (*Chart, bool)

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

func (*ChartCollection) GetRam

func (o *ChartCollection) GetRam() Chart

GetRam returns the Ram field value if set, zero value otherwise.

func (*ChartCollection) GetRamOk

func (o *ChartCollection) GetRamOk() (*Chart, bool)

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

func (*ChartCollection) GetStatistics

func (o *ChartCollection) GetStatistics() []string

GetStatistics returns the Statistics field value if set, zero value otherwise.

func (*ChartCollection) GetStatisticsOk

func (o *ChartCollection) GetStatisticsOk() ([]string, bool)

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

func (*ChartCollection) HasCpu

func (o *ChartCollection) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*ChartCollection) HasDisk

func (o *ChartCollection) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*ChartCollection) HasNetwork

func (o *ChartCollection) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*ChartCollection) HasRam

func (o *ChartCollection) HasRam() bool

HasRam returns a boolean if a field has been set.

func (*ChartCollection) HasStatistics

func (o *ChartCollection) HasStatistics() bool

HasStatistics returns a boolean if a field has been set.

func (ChartCollection) MarshalJSON

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

func (*ChartCollection) SetCpu

func (o *ChartCollection) SetCpu(v Chart)

SetCpu gets a reference to the given Chart and assigns it to the Cpu field.

func (*ChartCollection) SetDisk

func (o *ChartCollection) SetDisk(v Chart)

SetDisk gets a reference to the given Chart and assigns it to the Disk field.

func (*ChartCollection) SetNetwork

func (o *ChartCollection) SetNetwork(v Chart)

SetNetwork gets a reference to the given Chart and assigns it to the Network field.

func (*ChartCollection) SetRam

func (o *ChartCollection) SetRam(v Chart)

SetRam gets a reference to the given Chart and assigns it to the Ram field.

func (*ChartCollection) SetStatistics

func (o *ChartCollection) SetStatistics(v []string)

SetStatistics gets a reference to the given []string and assigns it to the Statistics field.

func (ChartCollection) ToMap

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

type ChartDataset

type ChartDataset struct {
	Data []float64 `json:"data,omitempty"`
	Name *string   `json:"name,omitempty"`
}

ChartDataset struct for ChartDataset

func NewChartDataset

func NewChartDataset() *ChartDataset

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

func NewChartDatasetWithDefaults

func NewChartDatasetWithDefaults() *ChartDataset

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

func (*ChartDataset) GetData

func (o *ChartDataset) GetData() []float64

GetData returns the Data field value if set, zero value otherwise.

func (*ChartDataset) GetDataOk

func (o *ChartDataset) GetDataOk() ([]float64, bool)

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

func (*ChartDataset) GetName

func (o *ChartDataset) GetName() string

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

func (*ChartDataset) GetNameOk

func (o *ChartDataset) 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 (*ChartDataset) HasData

func (o *ChartDataset) HasData() bool

HasData returns a boolean if a field has been set.

func (*ChartDataset) HasName

func (o *ChartDataset) HasName() bool

HasName returns a boolean if a field has been set.

func (ChartDataset) MarshalJSON

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

func (*ChartDataset) SetData

func (o *ChartDataset) SetData(v []float64)

SetData gets a reference to the given []float64 and assigns it to the Data field.

func (*ChartDataset) SetName

func (o *ChartDataset) SetName(v string)

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

func (ChartDataset) ToMap

func (o ChartDataset) ToMap() (map[string]interface{}, 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 CreateFloatIPRequest

type CreateFloatIPRequest struct {
	Description *string `json:"description,omitempty"`
}

CreateFloatIPRequest struct for CreateFloatIPRequest

func NewCreateFloatIPRequest

func NewCreateFloatIPRequest() *CreateFloatIPRequest

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

func NewCreateFloatIPRequestWithDefaults

func NewCreateFloatIPRequestWithDefaults() *CreateFloatIPRequest

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

func (*CreateFloatIPRequest) GetDescription

func (o *CreateFloatIPRequest) GetDescription() string

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

func (*CreateFloatIPRequest) GetDescriptionOk

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

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

func (*CreateFloatIPRequest) HasDescription

func (o *CreateFloatIPRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateFloatIPRequest) MarshalJSON

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

func (*CreateFloatIPRequest) SetDescription

func (o *CreateFloatIPRequest) SetDescription(v string)

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

func (CreateFloatIPRequest) ToMap

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

type CreateImageFromSnapshotRequest

type CreateImageFromSnapshotRequest struct {
	Name *string `json:"name,omitempty"`
}

CreateImageFromSnapshotRequest struct for CreateImageFromSnapshotRequest

func NewCreateImageFromSnapshotRequest

func NewCreateImageFromSnapshotRequest() *CreateImageFromSnapshotRequest

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

func NewCreateImageFromSnapshotRequestWithDefaults

func NewCreateImageFromSnapshotRequestWithDefaults() *CreateImageFromSnapshotRequest

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

func (*CreateImageFromSnapshotRequest) GetName

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

func (*CreateImageFromSnapshotRequest) GetNameOk

func (o *CreateImageFromSnapshotRequest) 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 (*CreateImageFromSnapshotRequest) HasName

func (o *CreateImageFromSnapshotRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateImageFromSnapshotRequest) MarshalJSON

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

func (*CreateImageFromSnapshotRequest) SetName

func (o *CreateImageFromSnapshotRequest) SetName(v string)

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

func (CreateImageFromSnapshotRequest) ToMap

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

type CreatePTRRequest

type CreatePTRRequest struct {
	Domain *string `json:"domain,omitempty"`
	Ip     *string `json:"ip,omitempty"`
}

CreatePTRRequest struct for CreatePTRRequest

func NewCreatePTRRequest

func NewCreatePTRRequest() *CreatePTRRequest

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

func NewCreatePTRRequestWithDefaults

func NewCreatePTRRequestWithDefaults() *CreatePTRRequest

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

func (*CreatePTRRequest) GetDomain

func (o *CreatePTRRequest) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*CreatePTRRequest) GetDomainOk

func (o *CreatePTRRequest) GetDomainOk() (*string, bool)

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

func (*CreatePTRRequest) GetIp

func (o *CreatePTRRequest) GetIp() string

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

func (*CreatePTRRequest) GetIpOk

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

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

func (*CreatePTRRequest) HasDomain

func (o *CreatePTRRequest) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*CreatePTRRequest) HasIp

func (o *CreatePTRRequest) HasIp() bool

HasIp returns a boolean if a field has been set.

func (CreatePTRRequest) MarshalJSON

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

func (*CreatePTRRequest) SetDomain

func (o *CreatePTRRequest) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*CreatePTRRequest) SetIp

func (o *CreatePTRRequest) SetIp(v string)

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

func (CreatePTRRequest) ToMap

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

type CreatePrivateNetworkRequest

type CreatePrivateNetworkRequest struct {
	Description   *string `json:"description,omitempty"`
	Dhcp          *string `json:"dhcp,omitempty"`
	DnsServers    *string `json:"dns_servers,omitempty"`
	EnableDhcp    *bool   `json:"enable_dhcp,omitempty"`
	EnableGateway *bool   `json:"enable_gateway,omitempty"`
	Name          *string `json:"name,omitempty"`
	NetworkId     *string `json:"network_id,omitempty"`
	SubnetGateway *string `json:"subnet_gateway,omitempty"`
	SubnetId      *string `json:"subnet_id,omitempty"`
	SubnetIp      *string `json:"subnet_ip,omitempty"`
}

CreatePrivateNetworkRequest struct for CreatePrivateNetworkRequest

func NewCreatePrivateNetworkRequest

func NewCreatePrivateNetworkRequest() *CreatePrivateNetworkRequest

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

func NewCreatePrivateNetworkRequestWithDefaults

func NewCreatePrivateNetworkRequestWithDefaults() *CreatePrivateNetworkRequest

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

func (*CreatePrivateNetworkRequest) GetDescription

func (o *CreatePrivateNetworkRequest) GetDescription() string

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

func (*CreatePrivateNetworkRequest) GetDescriptionOk

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

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

func (*CreatePrivateNetworkRequest) GetDhcp

func (o *CreatePrivateNetworkRequest) GetDhcp() string

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

func (*CreatePrivateNetworkRequest) GetDhcpOk

func (o *CreatePrivateNetworkRequest) GetDhcpOk() (*string, bool)

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

func (*CreatePrivateNetworkRequest) GetDnsServers

func (o *CreatePrivateNetworkRequest) GetDnsServers() string

GetDnsServers returns the DnsServers field value if set, zero value otherwise.

func (*CreatePrivateNetworkRequest) GetDnsServersOk

func (o *CreatePrivateNetworkRequest) GetDnsServersOk() (*string, bool)

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

func (*CreatePrivateNetworkRequest) GetEnableDhcp

func (o *CreatePrivateNetworkRequest) GetEnableDhcp() bool

GetEnableDhcp returns the EnableDhcp field value if set, zero value otherwise.

func (*CreatePrivateNetworkRequest) GetEnableDhcpOk

func (o *CreatePrivateNetworkRequest) GetEnableDhcpOk() (*bool, bool)

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

func (*CreatePrivateNetworkRequest) GetEnableGateway

func (o *CreatePrivateNetworkRequest) GetEnableGateway() bool

GetEnableGateway returns the EnableGateway field value if set, zero value otherwise.

func (*CreatePrivateNetworkRequest) GetEnableGatewayOk

func (o *CreatePrivateNetworkRequest) GetEnableGatewayOk() (*bool, bool)

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

func (*CreatePrivateNetworkRequest) GetName

func (o *CreatePrivateNetworkRequest) GetName() string

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

func (*CreatePrivateNetworkRequest) GetNameOk

func (o *CreatePrivateNetworkRequest) 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 (*CreatePrivateNetworkRequest) GetNetworkId

func (o *CreatePrivateNetworkRequest) GetNetworkId() string

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

func (*CreatePrivateNetworkRequest) GetNetworkIdOk

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

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

func (*CreatePrivateNetworkRequest) GetSubnetGateway

func (o *CreatePrivateNetworkRequest) GetSubnetGateway() string

GetSubnetGateway returns the SubnetGateway field value if set, zero value otherwise.

func (*CreatePrivateNetworkRequest) GetSubnetGatewayOk

func (o *CreatePrivateNetworkRequest) GetSubnetGatewayOk() (*string, bool)

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

func (*CreatePrivateNetworkRequest) GetSubnetId

func (o *CreatePrivateNetworkRequest) GetSubnetId() string

GetSubnetId returns the SubnetId field value if set, zero value otherwise.

func (*CreatePrivateNetworkRequest) GetSubnetIdOk

func (o *CreatePrivateNetworkRequest) GetSubnetIdOk() (*string, bool)

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

func (*CreatePrivateNetworkRequest) GetSubnetIp

func (o *CreatePrivateNetworkRequest) GetSubnetIp() string

GetSubnetIp returns the SubnetIp field value if set, zero value otherwise.

func (*CreatePrivateNetworkRequest) GetSubnetIpOk

func (o *CreatePrivateNetworkRequest) GetSubnetIpOk() (*string, bool)

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

func (*CreatePrivateNetworkRequest) HasDescription

func (o *CreatePrivateNetworkRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasDhcp

func (o *CreatePrivateNetworkRequest) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasDnsServers

func (o *CreatePrivateNetworkRequest) HasDnsServers() bool

HasDnsServers returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasEnableDhcp

func (o *CreatePrivateNetworkRequest) HasEnableDhcp() bool

HasEnableDhcp returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasEnableGateway

func (o *CreatePrivateNetworkRequest) HasEnableGateway() bool

HasEnableGateway returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasName

func (o *CreatePrivateNetworkRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasNetworkId

func (o *CreatePrivateNetworkRequest) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasSubnetGateway

func (o *CreatePrivateNetworkRequest) HasSubnetGateway() bool

HasSubnetGateway returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasSubnetId

func (o *CreatePrivateNetworkRequest) HasSubnetId() bool

HasSubnetId returns a boolean if a field has been set.

func (*CreatePrivateNetworkRequest) HasSubnetIp

func (o *CreatePrivateNetworkRequest) HasSubnetIp() bool

HasSubnetIp returns a boolean if a field has been set.

func (CreatePrivateNetworkRequest) MarshalJSON

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

func (*CreatePrivateNetworkRequest) SetDescription

func (o *CreatePrivateNetworkRequest) SetDescription(v string)

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

func (*CreatePrivateNetworkRequest) SetDhcp

func (o *CreatePrivateNetworkRequest) SetDhcp(v string)

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

func (*CreatePrivateNetworkRequest) SetDnsServers

func (o *CreatePrivateNetworkRequest) SetDnsServers(v string)

SetDnsServers gets a reference to the given string and assigns it to the DnsServers field.

func (*CreatePrivateNetworkRequest) SetEnableDhcp

func (o *CreatePrivateNetworkRequest) SetEnableDhcp(v bool)

SetEnableDhcp gets a reference to the given bool and assigns it to the EnableDhcp field.

func (*CreatePrivateNetworkRequest) SetEnableGateway

func (o *CreatePrivateNetworkRequest) SetEnableGateway(v bool)

SetEnableGateway gets a reference to the given bool and assigns it to the EnableGateway field.

func (*CreatePrivateNetworkRequest) SetName

func (o *CreatePrivateNetworkRequest) SetName(v string)

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

func (*CreatePrivateNetworkRequest) SetNetworkId

func (o *CreatePrivateNetworkRequest) SetNetworkId(v string)

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

func (*CreatePrivateNetworkRequest) SetSubnetGateway

func (o *CreatePrivateNetworkRequest) SetSubnetGateway(v string)

SetSubnetGateway gets a reference to the given string and assigns it to the SubnetGateway field.

func (*CreatePrivateNetworkRequest) SetSubnetId

func (o *CreatePrivateNetworkRequest) SetSubnetId(v string)

SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.

func (*CreatePrivateNetworkRequest) SetSubnetIp

func (o *CreatePrivateNetworkRequest) SetSubnetIp(v string)

SetSubnetIp gets a reference to the given string and assigns it to the SubnetIp field.

func (CreatePrivateNetworkRequest) ToMap

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

type CreateSSHKeyRequest

type CreateSSHKeyRequest struct {
	Name      *string `json:"name,omitempty"`
	PublicKey *string `json:"public_key,omitempty"`
}

CreateSSHKeyRequest struct for CreateSSHKeyRequest

func NewCreateSSHKeyRequest

func NewCreateSSHKeyRequest() *CreateSSHKeyRequest

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

func NewCreateSSHKeyRequestWithDefaults

func NewCreateSSHKeyRequestWithDefaults() *CreateSSHKeyRequest

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

func (*CreateSSHKeyRequest) GetName

func (o *CreateSSHKeyRequest) GetName() string

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

func (*CreateSSHKeyRequest) GetNameOk

func (o *CreateSSHKeyRequest) 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 (*CreateSSHKeyRequest) GetPublicKey

func (o *CreateSSHKeyRequest) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*CreateSSHKeyRequest) GetPublicKeyOk

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

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

func (*CreateSSHKeyRequest) HasName

func (o *CreateSSHKeyRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateSSHKeyRequest) HasPublicKey

func (o *CreateSSHKeyRequest) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (CreateSSHKeyRequest) MarshalJSON

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

func (*CreateSSHKeyRequest) SetName

func (o *CreateSSHKeyRequest) SetName(v string)

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

func (*CreateSSHKeyRequest) SetPublicKey

func (o *CreateSSHKeyRequest) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (CreateSSHKeyRequest) ToMap

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

type CreateSecurityGroupRequest

type CreateSecurityGroupRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

CreateSecurityGroupRequest struct for CreateSecurityGroupRequest

func NewCreateSecurityGroupRequest

func NewCreateSecurityGroupRequest() *CreateSecurityGroupRequest

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

func NewCreateSecurityGroupRequestWithDefaults

func NewCreateSecurityGroupRequestWithDefaults() *CreateSecurityGroupRequest

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

func (*CreateSecurityGroupRequest) GetDescription

func (o *CreateSecurityGroupRequest) GetDescription() string

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

func (*CreateSecurityGroupRequest) GetDescriptionOk

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

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

func (*CreateSecurityGroupRequest) GetName

func (o *CreateSecurityGroupRequest) GetName() string

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

func (*CreateSecurityGroupRequest) GetNameOk

func (o *CreateSecurityGroupRequest) 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 (*CreateSecurityGroupRequest) HasDescription

func (o *CreateSecurityGroupRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateSecurityGroupRequest) HasName

func (o *CreateSecurityGroupRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateSecurityGroupRequest) MarshalJSON

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

func (*CreateSecurityGroupRequest) SetDescription

func (o *CreateSecurityGroupRequest) SetDescription(v string)

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

func (*CreateSecurityGroupRequest) SetName

func (o *CreateSecurityGroupRequest) SetName(v string)

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

func (CreateSecurityGroupRequest) ToMap

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

type CreateSecurityGroupRuleRequest

type CreateSecurityGroupRuleRequest struct {
	Description *string `json:"description,omitempty"`
	// connection direction, either `ingress` or `egress`
	Direction *string  `json:"direction,omitempty"`
	Ips       []string `json:"ips,omitempty"`
	// starting port, ex. 443
	PortFrom map[string]interface{} `json:"port_from,omitempty"`
	// ending port, ex. 8080
	PortTo map[string]interface{} `json:"port_to,omitempty"`
	// `udp` or `tcp`
	Protocol *string `json:"protocol,omitempty"`
}

CreateSecurityGroupRuleRequest struct for CreateSecurityGroupRuleRequest

func NewCreateSecurityGroupRuleRequest

func NewCreateSecurityGroupRuleRequest() *CreateSecurityGroupRuleRequest

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

func NewCreateSecurityGroupRuleRequestWithDefaults

func NewCreateSecurityGroupRuleRequestWithDefaults() *CreateSecurityGroupRuleRequest

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

func (*CreateSecurityGroupRuleRequest) GetDescription

func (o *CreateSecurityGroupRuleRequest) GetDescription() string

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

func (*CreateSecurityGroupRuleRequest) GetDescriptionOk

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

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

func (*CreateSecurityGroupRuleRequest) GetDirection

func (o *CreateSecurityGroupRuleRequest) GetDirection() string

GetDirection returns the Direction field value if set, zero value otherwise.

func (*CreateSecurityGroupRuleRequest) GetDirectionOk

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

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

func (*CreateSecurityGroupRuleRequest) GetIps

func (o *CreateSecurityGroupRuleRequest) GetIps() []string

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

func (*CreateSecurityGroupRuleRequest) GetIpsOk

func (o *CreateSecurityGroupRuleRequest) GetIpsOk() ([]string, 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 (*CreateSecurityGroupRuleRequest) GetPortFrom

func (o *CreateSecurityGroupRuleRequest) GetPortFrom() map[string]interface{}

GetPortFrom returns the PortFrom field value if set, zero value otherwise.

func (*CreateSecurityGroupRuleRequest) GetPortFromOk

func (o *CreateSecurityGroupRuleRequest) GetPortFromOk() (map[string]interface{}, bool)

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

func (*CreateSecurityGroupRuleRequest) GetPortTo

func (o *CreateSecurityGroupRuleRequest) GetPortTo() map[string]interface{}

GetPortTo returns the PortTo field value if set, zero value otherwise.

func (*CreateSecurityGroupRuleRequest) GetPortToOk

func (o *CreateSecurityGroupRuleRequest) GetPortToOk() (map[string]interface{}, bool)

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

func (*CreateSecurityGroupRuleRequest) GetProtocol

func (o *CreateSecurityGroupRuleRequest) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*CreateSecurityGroupRuleRequest) GetProtocolOk

func (o *CreateSecurityGroupRuleRequest) 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 (*CreateSecurityGroupRuleRequest) HasDescription

func (o *CreateSecurityGroupRuleRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateSecurityGroupRuleRequest) HasDirection

func (o *CreateSecurityGroupRuleRequest) HasDirection() bool

HasDirection returns a boolean if a field has been set.

func (*CreateSecurityGroupRuleRequest) HasIps

HasIps returns a boolean if a field has been set.

func (*CreateSecurityGroupRuleRequest) HasPortFrom

func (o *CreateSecurityGroupRuleRequest) HasPortFrom() bool

HasPortFrom returns a boolean if a field has been set.

func (*CreateSecurityGroupRuleRequest) HasPortTo

func (o *CreateSecurityGroupRuleRequest) HasPortTo() bool

HasPortTo returns a boolean if a field has been set.

func (*CreateSecurityGroupRuleRequest) HasProtocol

func (o *CreateSecurityGroupRuleRequest) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (CreateSecurityGroupRuleRequest) MarshalJSON

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

func (*CreateSecurityGroupRuleRequest) SetDescription

func (o *CreateSecurityGroupRuleRequest) SetDescription(v string)

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

func (*CreateSecurityGroupRuleRequest) SetDirection

func (o *CreateSecurityGroupRuleRequest) SetDirection(v string)

SetDirection gets a reference to the given string and assigns it to the Direction field.

func (*CreateSecurityGroupRuleRequest) SetIps

func (o *CreateSecurityGroupRuleRequest) SetIps(v []string)

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

func (*CreateSecurityGroupRuleRequest) SetPortFrom

func (o *CreateSecurityGroupRuleRequest) SetPortFrom(v map[string]interface{})

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

func (*CreateSecurityGroupRuleRequest) SetPortTo

func (o *CreateSecurityGroupRuleRequest) SetPortTo(v map[string]interface{})

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

func (*CreateSecurityGroupRuleRequest) SetProtocol

func (o *CreateSecurityGroupRuleRequest) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (CreateSecurityGroupRuleRequest) ToMap

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

type CreateServerRequest

type CreateServerRequest struct {
	BackupId       *string                `json:"backup_id,omitempty"`
	Count          *int64                 `json:"count,omitempty"`
	CreateType     *string                `json:"create_type,omitempty"`
	DiskSize       *int64                 `json:"disk_size,omitempty"`
	FlavorId       *string                `json:"flavor_id,omitempty"`
	HaEnabled      *bool                  `json:"ha_enabled,omitempty"`
	ImageId        *string                `json:"image_id,omitempty"`
	InitScript     *string                `json:"init_script,omitempty"`
	IsSandbox      *bool                  `json:"is_sandbox,omitempty"`
	KeyName        map[string]interface{} `json:"key_name,omitempty"`
	Name           *string                `json:"name,omitempty"`
	NetworkId      *string                `json:"network_id,omitempty"`
	NetworkIds     []string               `json:"network_ids,omitempty"`
	OsVolumeId     *string                `json:"os_volume_id,omitempty"`
	SecurityGroups []SecurityGroupName    `json:"security_groups,omitempty"`
	ServerVolumes  []ServerVolume         `json:"server_volumes,omitempty"`
	SshKey         *bool                  `json:"ssh_key,omitempty"`
}

CreateServerRequest struct for CreateServerRequest

func NewCreateServerRequest

func NewCreateServerRequest() *CreateServerRequest

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

func NewCreateServerRequestWithDefaults

func NewCreateServerRequestWithDefaults() *CreateServerRequest

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

func (*CreateServerRequest) GetBackupId

func (o *CreateServerRequest) GetBackupId() string

GetBackupId returns the BackupId field value if set, zero value otherwise.

func (*CreateServerRequest) GetBackupIdOk

func (o *CreateServerRequest) GetBackupIdOk() (*string, bool)

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

func (*CreateServerRequest) GetCount

func (o *CreateServerRequest) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*CreateServerRequest) GetCountOk

func (o *CreateServerRequest) GetCountOk() (*int64, bool)

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

func (*CreateServerRequest) GetCreateType

func (o *CreateServerRequest) GetCreateType() string

GetCreateType returns the CreateType field value if set, zero value otherwise.

func (*CreateServerRequest) GetCreateTypeOk

func (o *CreateServerRequest) GetCreateTypeOk() (*string, bool)

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

func (*CreateServerRequest) GetDiskSize

func (o *CreateServerRequest) GetDiskSize() int64

GetDiskSize returns the DiskSize field value if set, zero value otherwise.

func (*CreateServerRequest) GetDiskSizeOk

func (o *CreateServerRequest) GetDiskSizeOk() (*int64, bool)

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

func (*CreateServerRequest) GetFlavorId

func (o *CreateServerRequest) GetFlavorId() string

GetFlavorId returns the FlavorId field value if set, zero value otherwise.

func (*CreateServerRequest) GetFlavorIdOk

func (o *CreateServerRequest) GetFlavorIdOk() (*string, bool)

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

func (*CreateServerRequest) GetHaEnabled

func (o *CreateServerRequest) GetHaEnabled() bool

GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.

func (*CreateServerRequest) GetHaEnabledOk

func (o *CreateServerRequest) GetHaEnabledOk() (*bool, bool)

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

func (*CreateServerRequest) GetImageId

func (o *CreateServerRequest) GetImageId() string

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

func (*CreateServerRequest) GetImageIdOk

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

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

func (*CreateServerRequest) GetInitScript

func (o *CreateServerRequest) GetInitScript() string

GetInitScript returns the InitScript field value if set, zero value otherwise.

func (*CreateServerRequest) GetInitScriptOk

func (o *CreateServerRequest) GetInitScriptOk() (*string, bool)

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

func (*CreateServerRequest) GetIsSandbox

func (o *CreateServerRequest) GetIsSandbox() bool

GetIsSandbox returns the IsSandbox field value if set, zero value otherwise.

func (*CreateServerRequest) GetIsSandboxOk

func (o *CreateServerRequest) GetIsSandboxOk() (*bool, bool)

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

func (*CreateServerRequest) GetKeyName

func (o *CreateServerRequest) GetKeyName() map[string]interface{}

GetKeyName returns the KeyName field value if set, zero value otherwise.

func (*CreateServerRequest) GetKeyNameOk

func (o *CreateServerRequest) GetKeyNameOk() (map[string]interface{}, bool)

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

func (*CreateServerRequest) GetName

func (o *CreateServerRequest) GetName() string

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

func (*CreateServerRequest) GetNameOk

func (o *CreateServerRequest) 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 (*CreateServerRequest) GetNetworkId

func (o *CreateServerRequest) GetNetworkId() string

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

func (*CreateServerRequest) GetNetworkIdOk

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

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

func (*CreateServerRequest) GetNetworkIds

func (o *CreateServerRequest) GetNetworkIds() []string

GetNetworkIds returns the NetworkIds field value if set, zero value otherwise.

func (*CreateServerRequest) GetNetworkIdsOk

func (o *CreateServerRequest) GetNetworkIdsOk() ([]string, bool)

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

func (*CreateServerRequest) GetOsVolumeId

func (o *CreateServerRequest) GetOsVolumeId() string

GetOsVolumeId returns the OsVolumeId field value if set, zero value otherwise.

func (*CreateServerRequest) GetOsVolumeIdOk

func (o *CreateServerRequest) GetOsVolumeIdOk() (*string, bool)

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

func (*CreateServerRequest) GetSecurityGroups

func (o *CreateServerRequest) GetSecurityGroups() []SecurityGroupName

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

func (*CreateServerRequest) GetSecurityGroupsOk

func (o *CreateServerRequest) GetSecurityGroupsOk() ([]SecurityGroupName, bool)

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

func (*CreateServerRequest) GetServerVolumes

func (o *CreateServerRequest) GetServerVolumes() []ServerVolume

GetServerVolumes returns the ServerVolumes field value if set, zero value otherwise.

func (*CreateServerRequest) GetServerVolumesOk

func (o *CreateServerRequest) GetServerVolumesOk() ([]ServerVolume, bool)

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

func (*CreateServerRequest) GetSshKey

func (o *CreateServerRequest) GetSshKey() bool

GetSshKey returns the SshKey field value if set, zero value otherwise.

func (*CreateServerRequest) GetSshKeyOk

func (o *CreateServerRequest) GetSshKeyOk() (*bool, 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 (*CreateServerRequest) HasBackupId

func (o *CreateServerRequest) HasBackupId() bool

HasBackupId returns a boolean if a field has been set.

func (*CreateServerRequest) HasCount

func (o *CreateServerRequest) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*CreateServerRequest) HasCreateType

func (o *CreateServerRequest) HasCreateType() bool

HasCreateType returns a boolean if a field has been set.

func (*CreateServerRequest) HasDiskSize

func (o *CreateServerRequest) HasDiskSize() bool

HasDiskSize returns a boolean if a field has been set.

func (*CreateServerRequest) HasFlavorId

func (o *CreateServerRequest) HasFlavorId() bool

HasFlavorId returns a boolean if a field has been set.

func (*CreateServerRequest) HasHaEnabled

func (o *CreateServerRequest) HasHaEnabled() bool

HasHaEnabled returns a boolean if a field has been set.

func (*CreateServerRequest) HasImageId

func (o *CreateServerRequest) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*CreateServerRequest) HasInitScript

func (o *CreateServerRequest) HasInitScript() bool

HasInitScript returns a boolean if a field has been set.

func (*CreateServerRequest) HasIsSandbox

func (o *CreateServerRequest) HasIsSandbox() bool

HasIsSandbox returns a boolean if a field has been set.

func (*CreateServerRequest) HasKeyName

func (o *CreateServerRequest) HasKeyName() bool

HasKeyName returns a boolean if a field has been set.

func (*CreateServerRequest) HasName

func (o *CreateServerRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateServerRequest) HasNetworkId

func (o *CreateServerRequest) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*CreateServerRequest) HasNetworkIds

func (o *CreateServerRequest) HasNetworkIds() bool

HasNetworkIds returns a boolean if a field has been set.

func (*CreateServerRequest) HasOsVolumeId

func (o *CreateServerRequest) HasOsVolumeId() bool

HasOsVolumeId returns a boolean if a field has been set.

func (*CreateServerRequest) HasSecurityGroups

func (o *CreateServerRequest) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*CreateServerRequest) HasServerVolumes

func (o *CreateServerRequest) HasServerVolumes() bool

HasServerVolumes returns a boolean if a field has been set.

func (*CreateServerRequest) HasSshKey

func (o *CreateServerRequest) HasSshKey() bool

HasSshKey returns a boolean if a field has been set.

func (CreateServerRequest) MarshalJSON

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

func (*CreateServerRequest) SetBackupId

func (o *CreateServerRequest) SetBackupId(v string)

SetBackupId gets a reference to the given string and assigns it to the BackupId field.

func (*CreateServerRequest) SetCount

func (o *CreateServerRequest) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*CreateServerRequest) SetCreateType

func (o *CreateServerRequest) SetCreateType(v string)

SetCreateType gets a reference to the given string and assigns it to the CreateType field.

func (*CreateServerRequest) SetDiskSize

func (o *CreateServerRequest) SetDiskSize(v int64)

SetDiskSize gets a reference to the given int64 and assigns it to the DiskSize field.

func (*CreateServerRequest) SetFlavorId

func (o *CreateServerRequest) SetFlavorId(v string)

SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.

func (*CreateServerRequest) SetHaEnabled

func (o *CreateServerRequest) SetHaEnabled(v bool)

SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.

func (*CreateServerRequest) SetImageId

func (o *CreateServerRequest) SetImageId(v string)

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

func (*CreateServerRequest) SetInitScript

func (o *CreateServerRequest) SetInitScript(v string)

SetInitScript gets a reference to the given string and assigns it to the InitScript field.

func (*CreateServerRequest) SetIsSandbox

func (o *CreateServerRequest) SetIsSandbox(v bool)

SetIsSandbox gets a reference to the given bool and assigns it to the IsSandbox field.

func (*CreateServerRequest) SetKeyName

func (o *CreateServerRequest) SetKeyName(v map[string]interface{})

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

func (*CreateServerRequest) SetName

func (o *CreateServerRequest) SetName(v string)

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

func (*CreateServerRequest) SetNetworkId

func (o *CreateServerRequest) SetNetworkId(v string)

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

func (*CreateServerRequest) SetNetworkIds

func (o *CreateServerRequest) SetNetworkIds(v []string)

SetNetworkIds gets a reference to the given []string and assigns it to the NetworkIds field.

func (*CreateServerRequest) SetOsVolumeId

func (o *CreateServerRequest) SetOsVolumeId(v string)

SetOsVolumeId gets a reference to the given string and assigns it to the OsVolumeId field.

func (*CreateServerRequest) SetSecurityGroups

func (o *CreateServerRequest) SetSecurityGroups(v []SecurityGroupName)

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

func (*CreateServerRequest) SetServerVolumes

func (o *CreateServerRequest) SetServerVolumes(v []ServerVolume)

SetServerVolumes gets a reference to the given []ServerVolume and assigns it to the ServerVolumes field.

func (*CreateServerRequest) SetSshKey

func (o *CreateServerRequest) SetSshKey(v bool)

SetSshKey gets a reference to the given bool and assigns it to the SshKey field.

func (CreateServerRequest) ToMap

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

type CreateSnapshotFromVolumeRequest

type CreateSnapshotFromVolumeRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

CreateSnapshotFromVolumeRequest struct for CreateSnapshotFromVolumeRequest

func NewCreateSnapshotFromVolumeRequest

func NewCreateSnapshotFromVolumeRequest() *CreateSnapshotFromVolumeRequest

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

func NewCreateSnapshotFromVolumeRequestWithDefaults

func NewCreateSnapshotFromVolumeRequestWithDefaults() *CreateSnapshotFromVolumeRequest

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

func (*CreateSnapshotFromVolumeRequest) GetDescription

func (o *CreateSnapshotFromVolumeRequest) GetDescription() string

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

func (*CreateSnapshotFromVolumeRequest) GetDescriptionOk

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

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

func (*CreateSnapshotFromVolumeRequest) GetName

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

func (*CreateSnapshotFromVolumeRequest) GetNameOk

func (o *CreateSnapshotFromVolumeRequest) 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 (*CreateSnapshotFromVolumeRequest) HasDescription

func (o *CreateSnapshotFromVolumeRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateSnapshotFromVolumeRequest) HasName

HasName returns a boolean if a field has been set.

func (CreateSnapshotFromVolumeRequest) MarshalJSON

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

func (*CreateSnapshotFromVolumeRequest) SetDescription

func (o *CreateSnapshotFromVolumeRequest) SetDescription(v string)

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

func (*CreateSnapshotFromVolumeRequest) SetName

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

func (CreateSnapshotFromVolumeRequest) ToMap

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

type CreateTagRequest

type CreateTagRequest struct {
	TagName *string `json:"tag_name,omitempty"`
}

CreateTagRequest struct for CreateTagRequest

func NewCreateTagRequest

func NewCreateTagRequest() *CreateTagRequest

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

func NewCreateTagRequestWithDefaults

func NewCreateTagRequestWithDefaults() *CreateTagRequest

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

func (*CreateTagRequest) GetTagName

func (o *CreateTagRequest) GetTagName() string

GetTagName returns the TagName field value if set, zero value otherwise.

func (*CreateTagRequest) GetTagNameOk

func (o *CreateTagRequest) GetTagNameOk() (*string, bool)

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

func (*CreateTagRequest) HasTagName

func (o *CreateTagRequest) HasTagName() bool

HasTagName returns a boolean if a field has been set.

func (CreateTagRequest) MarshalJSON

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

func (*CreateTagRequest) SetTagName

func (o *CreateTagRequest) SetTagName(v string)

SetTagName gets a reference to the given string and assigns it to the TagName field.

func (CreateTagRequest) ToMap

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

type CreateVolumeFromSnapshotRequest

type CreateVolumeFromSnapshotRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

CreateVolumeFromSnapshotRequest struct for CreateVolumeFromSnapshotRequest

func NewCreateVolumeFromSnapshotRequest

func NewCreateVolumeFromSnapshotRequest() *CreateVolumeFromSnapshotRequest

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

func NewCreateVolumeFromSnapshotRequestWithDefaults

func NewCreateVolumeFromSnapshotRequestWithDefaults() *CreateVolumeFromSnapshotRequest

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

func (*CreateVolumeFromSnapshotRequest) GetDescription

func (o *CreateVolumeFromSnapshotRequest) GetDescription() string

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

func (*CreateVolumeFromSnapshotRequest) GetDescriptionOk

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

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

func (*CreateVolumeFromSnapshotRequest) GetName

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

func (*CreateVolumeFromSnapshotRequest) GetNameOk

func (o *CreateVolumeFromSnapshotRequest) 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 (*CreateVolumeFromSnapshotRequest) HasDescription

func (o *CreateVolumeFromSnapshotRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateVolumeFromSnapshotRequest) HasName

HasName returns a boolean if a field has been set.

func (CreateVolumeFromSnapshotRequest) MarshalJSON

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

func (*CreateVolumeFromSnapshotRequest) SetDescription

func (o *CreateVolumeFromSnapshotRequest) SetDescription(v string)

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

func (*CreateVolumeFromSnapshotRequest) SetName

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

func (CreateVolumeFromSnapshotRequest) ToMap

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

type CreateVolumeRequest

type CreateVolumeRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	// size of the disk in GB
	Size *int32 `json:"size,omitempty"`
}

CreateVolumeRequest struct for CreateVolumeRequest

func NewCreateVolumeRequest

func NewCreateVolumeRequest() *CreateVolumeRequest

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

func NewCreateVolumeRequestWithDefaults

func NewCreateVolumeRequestWithDefaults() *CreateVolumeRequest

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

func (*CreateVolumeRequest) GetDescription

func (o *CreateVolumeRequest) GetDescription() string

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

func (*CreateVolumeRequest) GetDescriptionOk

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

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

func (*CreateVolumeRequest) GetName

func (o *CreateVolumeRequest) GetName() string

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

func (*CreateVolumeRequest) GetNameOk

func (o *CreateVolumeRequest) 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 (*CreateVolumeRequest) GetSize

func (o *CreateVolumeRequest) GetSize() int32

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

func (*CreateVolumeRequest) GetSizeOk

func (o *CreateVolumeRequest) GetSizeOk() (*int32, bool)

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

func (*CreateVolumeRequest) HasDescription

func (o *CreateVolumeRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasName

func (o *CreateVolumeRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasSize

func (o *CreateVolumeRequest) HasSize() bool

HasSize returns a boolean if a field has been set.

func (CreateVolumeRequest) MarshalJSON

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

func (*CreateVolumeRequest) SetDescription

func (o *CreateVolumeRequest) SetDescription(v string)

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

func (*CreateVolumeRequest) SetName

func (o *CreateVolumeRequest) SetName(v string)

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

func (*CreateVolumeRequest) SetSize

func (o *CreateVolumeRequest) SetSize(v int32)

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

func (CreateVolumeRequest) ToMap

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

type DeleteServerReasonAnswer

type DeleteServerReasonAnswer struct {
	Answer *string `json:"answer,omitempty"`
	Id     *string `json:"id,omitempty"`
}

DeleteServerReasonAnswer struct for DeleteServerReasonAnswer

func NewDeleteServerReasonAnswer

func NewDeleteServerReasonAnswer() *DeleteServerReasonAnswer

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

func NewDeleteServerReasonAnswerWithDefaults

func NewDeleteServerReasonAnswerWithDefaults() *DeleteServerReasonAnswer

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

func (*DeleteServerReasonAnswer) GetAnswer

func (o *DeleteServerReasonAnswer) GetAnswer() string

GetAnswer returns the Answer field value if set, zero value otherwise.

func (*DeleteServerReasonAnswer) GetAnswerOk

func (o *DeleteServerReasonAnswer) GetAnswerOk() (*string, bool)

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

func (*DeleteServerReasonAnswer) GetId

func (o *DeleteServerReasonAnswer) GetId() string

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

func (*DeleteServerReasonAnswer) GetIdOk

func (o *DeleteServerReasonAnswer) 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 (*DeleteServerReasonAnswer) HasAnswer

func (o *DeleteServerReasonAnswer) HasAnswer() bool

HasAnswer returns a boolean if a field has been set.

func (*DeleteServerReasonAnswer) HasId

func (o *DeleteServerReasonAnswer) HasId() bool

HasId returns a boolean if a field has been set.

func (DeleteServerReasonAnswer) MarshalJSON

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

func (*DeleteServerReasonAnswer) SetAnswer

func (o *DeleteServerReasonAnswer) SetAnswer(v string)

SetAnswer gets a reference to the given string and assigns it to the Answer field.

func (*DeleteServerReasonAnswer) SetId

func (o *DeleteServerReasonAnswer) SetId(v string)

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

func (DeleteServerReasonAnswer) ToMap

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

type DeleteServerReasons

type DeleteServerReasons struct {
	Reasons []DeleteServerReasonAnswer `json:"reasons,omitempty"`
}

DeleteServerReasons struct for DeleteServerReasons

func NewDeleteServerReasons

func NewDeleteServerReasons() *DeleteServerReasons

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

func NewDeleteServerReasonsWithDefaults

func NewDeleteServerReasonsWithDefaults() *DeleteServerReasons

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

func (*DeleteServerReasons) GetReasons

GetReasons returns the Reasons field value if set, zero value otherwise.

func (*DeleteServerReasons) GetReasonsOk

func (o *DeleteServerReasons) GetReasonsOk() ([]DeleteServerReasonAnswer, bool)

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

func (*DeleteServerReasons) HasReasons

func (o *DeleteServerReasons) HasReasons() bool

HasReasons returns a boolean if a field has been set.

func (DeleteServerReasons) MarshalJSON

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

func (*DeleteServerReasons) SetReasons

func (o *DeleteServerReasons) SetReasons(v []DeleteServerReasonAnswer)

SetReasons gets a reference to the given []DeleteServerReasonAnswer and assigns it to the Reasons field.

func (DeleteServerReasons) ToMap

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

type DetachFloatIPRequest

type DetachFloatIPRequest struct {
	PortId *string `json:"port_id,omitempty"`
}

DetachFloatIPRequest struct for DetachFloatIPRequest

func NewDetachFloatIPRequest

func NewDetachFloatIPRequest() *DetachFloatIPRequest

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

func NewDetachFloatIPRequestWithDefaults

func NewDetachFloatIPRequestWithDefaults() *DetachFloatIPRequest

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

func (*DetachFloatIPRequest) GetPortId

func (o *DetachFloatIPRequest) GetPortId() string

GetPortId returns the PortId field value if set, zero value otherwise.

func (*DetachFloatIPRequest) GetPortIdOk

func (o *DetachFloatIPRequest) GetPortIdOk() (*string, bool)

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

func (*DetachFloatIPRequest) HasPortId

func (o *DetachFloatIPRequest) HasPortId() bool

HasPortId returns a boolean if a field has been set.

func (DetachFloatIPRequest) MarshalJSON

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

func (*DetachFloatIPRequest) SetPortId

func (o *DetachFloatIPRequest) SetPortId(v string)

SetPortId gets a reference to the given string and assigns it to the PortId field.

func (DetachFloatIPRequest) ToMap

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

type DetachNetworkFromServerRequest

type DetachNetworkFromServerRequest struct {
	ServerId *string `json:"server_id,omitempty"`
}

DetachNetworkFromServerRequest struct for DetachNetworkFromServerRequest

func NewDetachNetworkFromServerRequest

func NewDetachNetworkFromServerRequest() *DetachNetworkFromServerRequest

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

func NewDetachNetworkFromServerRequestWithDefaults

func NewDetachNetworkFromServerRequestWithDefaults() *DetachNetworkFromServerRequest

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

func (*DetachNetworkFromServerRequest) GetServerId

func (o *DetachNetworkFromServerRequest) GetServerId() string

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

func (*DetachNetworkFromServerRequest) GetServerIdOk

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

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

func (*DetachNetworkFromServerRequest) HasServerId

func (o *DetachNetworkFromServerRequest) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (DetachNetworkFromServerRequest) MarshalJSON

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

func (*DetachNetworkFromServerRequest) SetServerId

func (o *DetachNetworkFromServerRequest) SetServerId(v string)

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

func (DetachNetworkFromServerRequest) ToMap

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

type DetachPortSecurityRequest

type DetachPortSecurityRequest struct {
	SecurityGroupId *string `json:"security_group_id,omitempty"`
}

DetachPortSecurityRequest struct for DetachPortSecurityRequest

func NewDetachPortSecurityRequest

func NewDetachPortSecurityRequest() *DetachPortSecurityRequest

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

func NewDetachPortSecurityRequestWithDefaults

func NewDetachPortSecurityRequestWithDefaults() *DetachPortSecurityRequest

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

func (*DetachPortSecurityRequest) GetSecurityGroupId

func (o *DetachPortSecurityRequest) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*DetachPortSecurityRequest) GetSecurityGroupIdOk

func (o *DetachPortSecurityRequest) GetSecurityGroupIdOk() (*string, bool)

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

func (*DetachPortSecurityRequest) HasSecurityGroupId

func (o *DetachPortSecurityRequest) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (DetachPortSecurityRequest) MarshalJSON

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

func (*DetachPortSecurityRequest) SetSecurityGroupId

func (o *DetachPortSecurityRequest) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (DetachPortSecurityRequest) ToMap

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

type DetachTagRequest

type DetachTagRequest struct {
	InstanceId *string `json:"instance_id,omitempty"`
	// describes the type of resource, values: `server`, `network`, `image`, `volume`, `float_ip`, `security_group`
	InstanceType *string `json:"instance_type,omitempty"`
}

DetachTagRequest struct for DetachTagRequest

func NewDetachTagRequest

func NewDetachTagRequest() *DetachTagRequest

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

func NewDetachTagRequestWithDefaults

func NewDetachTagRequestWithDefaults() *DetachTagRequest

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

func (*DetachTagRequest) GetInstanceId

func (o *DetachTagRequest) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*DetachTagRequest) GetInstanceIdOk

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

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

func (*DetachTagRequest) GetInstanceType

func (o *DetachTagRequest) GetInstanceType() string

GetInstanceType returns the InstanceType field value if set, zero value otherwise.

func (*DetachTagRequest) GetInstanceTypeOk

func (o *DetachTagRequest) GetInstanceTypeOk() (*string, bool)

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

func (*DetachTagRequest) HasInstanceId

func (o *DetachTagRequest) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (*DetachTagRequest) HasInstanceType

func (o *DetachTagRequest) HasInstanceType() bool

HasInstanceType returns a boolean if a field has been set.

func (DetachTagRequest) MarshalJSON

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

func (*DetachTagRequest) SetInstanceId

func (o *DetachTagRequest) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (*DetachTagRequest) SetInstanceType

func (o *DetachTagRequest) SetInstanceType(v string)

SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.

func (DetachTagRequest) ToMap

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

type ErrorResponse

type ErrorResponse struct {
	Errors  []string `json:"errors,omitempty"`
	Message *string  `json:"message,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

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

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

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

func (*ErrorResponse) GetErrors

func (o *ErrorResponse) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*ErrorResponse) GetErrorsOk

func (o *ErrorResponse) GetErrorsOk() ([]string, bool)

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

func (*ErrorResponse) GetMessage

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorResponse) GetMessageOk

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

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

func (*ErrorResponse) HasErrors

func (o *ErrorResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ErrorResponse) HasMessage

func (o *ErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetErrors

func (o *ErrorResponse) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorResponse) ToMap

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

type FloatIP

type FloatIP struct {
	CreatedAt         *string       `json:"created_at,omitempty"`
	Description       *string       `json:"description,omitempty"`
	FixedIpAddress    *string       `json:"fixed_ip_address,omitempty"`
	FloatingIpAddress *string       `json:"floating_ip_address,omitempty"`
	FloatingNetworkId *string       `json:"floating_network_id,omitempty"`
	Id                *string       `json:"id,omitempty"`
	PortId            *string       `json:"port_id,omitempty"`
	RevisionNumber    *string       `json:"revision_number,omitempty"`
	RouterId          *string       `json:"router_id,omitempty"`
	Server            *ServerDetail `json:"server,omitempty"`
	Status            *string       `json:"status,omitempty"`
	Tags              []string      `json:"tags,omitempty"`
	UpdatedAt         *string       `json:"updated_at,omitempty"`
}

FloatIP struct for FloatIP

func NewFloatIP

func NewFloatIP() *FloatIP

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

func NewFloatIPWithDefaults

func NewFloatIPWithDefaults() *FloatIP

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

func (*FloatIP) GetCreatedAt

func (o *FloatIP) GetCreatedAt() string

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

func (*FloatIP) GetCreatedAtOk

func (o *FloatIP) GetCreatedAtOk() (*string, bool)

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

func (*FloatIP) GetDescription

func (o *FloatIP) GetDescription() string

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

func (*FloatIP) GetDescriptionOk

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

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

func (*FloatIP) GetFixedIpAddress

func (o *FloatIP) GetFixedIpAddress() string

GetFixedIpAddress returns the FixedIpAddress field value if set, zero value otherwise.

func (*FloatIP) GetFixedIpAddressOk

func (o *FloatIP) GetFixedIpAddressOk() (*string, bool)

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

func (*FloatIP) GetFloatingIpAddress

func (o *FloatIP) GetFloatingIpAddress() string

GetFloatingIpAddress returns the FloatingIpAddress field value if set, zero value otherwise.

func (*FloatIP) GetFloatingIpAddressOk

func (o *FloatIP) GetFloatingIpAddressOk() (*string, bool)

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

func (*FloatIP) GetFloatingNetworkId

func (o *FloatIP) GetFloatingNetworkId() string

GetFloatingNetworkId returns the FloatingNetworkId field value if set, zero value otherwise.

func (*FloatIP) GetFloatingNetworkIdOk

func (o *FloatIP) GetFloatingNetworkIdOk() (*string, bool)

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

func (*FloatIP) GetId

func (o *FloatIP) GetId() string

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

func (*FloatIP) GetIdOk

func (o *FloatIP) 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 (*FloatIP) GetPortId

func (o *FloatIP) GetPortId() string

GetPortId returns the PortId field value if set, zero value otherwise.

func (*FloatIP) GetPortIdOk

func (o *FloatIP) GetPortIdOk() (*string, bool)

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

func (*FloatIP) GetRevisionNumber

func (o *FloatIP) GetRevisionNumber() string

GetRevisionNumber returns the RevisionNumber field value if set, zero value otherwise.

func (*FloatIP) GetRevisionNumberOk

func (o *FloatIP) GetRevisionNumberOk() (*string, bool)

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

func (*FloatIP) GetRouterId

func (o *FloatIP) GetRouterId() string

GetRouterId returns the RouterId field value if set, zero value otherwise.

func (*FloatIP) GetRouterIdOk

func (o *FloatIP) GetRouterIdOk() (*string, bool)

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

func (*FloatIP) GetServer

func (o *FloatIP) GetServer() ServerDetail

GetServer returns the Server field value if set, zero value otherwise.

func (*FloatIP) GetServerOk

func (o *FloatIP) GetServerOk() (*ServerDetail, bool)

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

func (*FloatIP) GetStatus

func (o *FloatIP) GetStatus() string

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

func (*FloatIP) GetStatusOk

func (o *FloatIP) 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 (*FloatIP) GetTags

func (o *FloatIP) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FloatIP) GetTagsOk

func (o *FloatIP) GetTagsOk() ([]string, bool)

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

func (*FloatIP) GetUpdatedAt

func (o *FloatIP) GetUpdatedAt() string

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

func (*FloatIP) GetUpdatedAtOk

func (o *FloatIP) GetUpdatedAtOk() (*string, bool)

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

func (*FloatIP) HasCreatedAt

func (o *FloatIP) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FloatIP) HasDescription

func (o *FloatIP) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FloatIP) HasFixedIpAddress

func (o *FloatIP) HasFixedIpAddress() bool

HasFixedIpAddress returns a boolean if a field has been set.

func (*FloatIP) HasFloatingIpAddress

func (o *FloatIP) HasFloatingIpAddress() bool

HasFloatingIpAddress returns a boolean if a field has been set.

func (*FloatIP) HasFloatingNetworkId

func (o *FloatIP) HasFloatingNetworkId() bool

HasFloatingNetworkId returns a boolean if a field has been set.

func (*FloatIP) HasId

func (o *FloatIP) HasId() bool

HasId returns a boolean if a field has been set.

func (*FloatIP) HasPortId

func (o *FloatIP) HasPortId() bool

HasPortId returns a boolean if a field has been set.

func (*FloatIP) HasRevisionNumber

func (o *FloatIP) HasRevisionNumber() bool

HasRevisionNumber returns a boolean if a field has been set.

func (*FloatIP) HasRouterId

func (o *FloatIP) HasRouterId() bool

HasRouterId returns a boolean if a field has been set.

func (*FloatIP) HasServer

func (o *FloatIP) HasServer() bool

HasServer returns a boolean if a field has been set.

func (*FloatIP) HasStatus

func (o *FloatIP) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*FloatIP) HasTags

func (o *FloatIP) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*FloatIP) HasUpdatedAt

func (o *FloatIP) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FloatIP) MarshalJSON

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

func (*FloatIP) SetCreatedAt

func (o *FloatIP) SetCreatedAt(v string)

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

func (*FloatIP) SetDescription

func (o *FloatIP) SetDescription(v string)

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

func (*FloatIP) SetFixedIpAddress

func (o *FloatIP) SetFixedIpAddress(v string)

SetFixedIpAddress gets a reference to the given string and assigns it to the FixedIpAddress field.

func (*FloatIP) SetFloatingIpAddress

func (o *FloatIP) SetFloatingIpAddress(v string)

SetFloatingIpAddress gets a reference to the given string and assigns it to the FloatingIpAddress field.

func (*FloatIP) SetFloatingNetworkId

func (o *FloatIP) SetFloatingNetworkId(v string)

SetFloatingNetworkId gets a reference to the given string and assigns it to the FloatingNetworkId field.

func (*FloatIP) SetId

func (o *FloatIP) SetId(v string)

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

func (*FloatIP) SetPortId

func (o *FloatIP) SetPortId(v string)

SetPortId gets a reference to the given string and assigns it to the PortId field.

func (*FloatIP) SetRevisionNumber

func (o *FloatIP) SetRevisionNumber(v string)

SetRevisionNumber gets a reference to the given string and assigns it to the RevisionNumber field.

func (*FloatIP) SetRouterId

func (o *FloatIP) SetRouterId(v string)

SetRouterId gets a reference to the given string and assigns it to the RouterId field.

func (*FloatIP) SetServer

func (o *FloatIP) SetServer(v ServerDetail)

SetServer gets a reference to the given ServerDetail and assigns it to the Server field.

func (*FloatIP) SetStatus

func (o *FloatIP) SetStatus(v string)

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

func (*FloatIP) SetTags

func (o *FloatIP) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FloatIP) SetUpdatedAt

func (o *FloatIP) SetUpdatedAt(v string)

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

func (FloatIP) ToMap

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

type FloatIPAttachRequest

type FloatIPAttachRequest struct {
	PortId   *string `json:"port_id,omitempty"`
	ServerId *string `json:"server_id,omitempty"`
	SubnetId *string `json:"subnet_id,omitempty"`
}

FloatIPAttachRequest struct for FloatIPAttachRequest

func NewFloatIPAttachRequest

func NewFloatIPAttachRequest() *FloatIPAttachRequest

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

func NewFloatIPAttachRequestWithDefaults

func NewFloatIPAttachRequestWithDefaults() *FloatIPAttachRequest

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

func (*FloatIPAttachRequest) GetPortId

func (o *FloatIPAttachRequest) GetPortId() string

GetPortId returns the PortId field value if set, zero value otherwise.

func (*FloatIPAttachRequest) GetPortIdOk

func (o *FloatIPAttachRequest) GetPortIdOk() (*string, bool)

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

func (*FloatIPAttachRequest) GetServerId

func (o *FloatIPAttachRequest) GetServerId() string

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

func (*FloatIPAttachRequest) GetServerIdOk

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

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

func (*FloatIPAttachRequest) GetSubnetId

func (o *FloatIPAttachRequest) GetSubnetId() string

GetSubnetId returns the SubnetId field value if set, zero value otherwise.

func (*FloatIPAttachRequest) GetSubnetIdOk

func (o *FloatIPAttachRequest) GetSubnetIdOk() (*string, bool)

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

func (*FloatIPAttachRequest) HasPortId

func (o *FloatIPAttachRequest) HasPortId() bool

HasPortId returns a boolean if a field has been set.

func (*FloatIPAttachRequest) HasServerId

func (o *FloatIPAttachRequest) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*FloatIPAttachRequest) HasSubnetId

func (o *FloatIPAttachRequest) HasSubnetId() bool

HasSubnetId returns a boolean if a field has been set.

func (FloatIPAttachRequest) MarshalJSON

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

func (*FloatIPAttachRequest) SetPortId

func (o *FloatIPAttachRequest) SetPortId(v string)

SetPortId gets a reference to the given string and assigns it to the PortId field.

func (*FloatIPAttachRequest) SetServerId

func (o *FloatIPAttachRequest) SetServerId(v string)

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

func (*FloatIPAttachRequest) SetSubnetId

func (o *FloatIPAttachRequest) SetSubnetId(v string)

SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.

func (FloatIPAttachRequest) ToMap

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

type FloatingIPsAPIAttachFloatIPToServerRequest

type FloatingIPsAPIAttachFloatIPToServerRequest struct {
	ApiService *FloatingIPsAPIService
	// contains filtered or unexported fields
}

func (FloatingIPsAPIAttachFloatIPToServerRequest) Execute

func (FloatingIPsAPIAttachFloatIPToServerRequest) FloatIPAttachRequest

Floating-ip attachment info

type FloatingIPsAPICreateFloatingIPRequest

type FloatingIPsAPICreateFloatingIPRequest struct {
	ApiService *FloatingIPsAPIService
	// contains filtered or unexported fields
}

func (FloatingIPsAPICreateFloatingIPRequest) CreateFloatIPRequest

Info about the new float-ip to be created

func (FloatingIPsAPICreateFloatingIPRequest) Execute

type FloatingIPsAPIDeleteFloatingIPRequest

type FloatingIPsAPIDeleteFloatingIPRequest struct {
	ApiService *FloatingIPsAPIService
	// contains filtered or unexported fields
}

func (FloatingIPsAPIDeleteFloatingIPRequest) Execute

type FloatingIPsAPIDetachFloatIPFromServerRequest

type FloatingIPsAPIDetachFloatIPFromServerRequest struct {
	ApiService *FloatingIPsAPIService
	// contains filtered or unexported fields
}

func (FloatingIPsAPIDetachFloatIPFromServerRequest) DetachFloatIPRequest

Floating-ip attachment info

func (FloatingIPsAPIDetachFloatIPFromServerRequest) Execute

type FloatingIPsAPIGetAllFloatingIPsRequest

type FloatingIPsAPIGetAllFloatingIPsRequest struct {
	ApiService *FloatingIPsAPIService
	// contains filtered or unexported fields
}

func (FloatingIPsAPIGetAllFloatingIPsRequest) Execute

type FloatingIPsAPIGetFloatingIPInternalIPsRequest

type FloatingIPsAPIGetFloatingIPInternalIPsRequest struct {
	ApiService *FloatingIPsAPIService
	// contains filtered or unexported fields
}

func (FloatingIPsAPIGetFloatingIPInternalIPsRequest) Execute

type FloatingIPsAPIService

type FloatingIPsAPIService service

FloatingIPsAPIService FloatingIPsAPI service

func (*FloatingIPsAPIService) AttachFloatIPToServer

AttachFloatIPToServer Method for AttachFloatIPToServer

Attaches a floating-ip to a server port

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id float-ip id
@return FloatingIPsAPIAttachFloatIPToServerRequest

func (*FloatingIPsAPIService) AttachFloatIPToServerExecute

Execute executes the request

@return MessageResponse

func (*FloatingIPsAPIService) CreateFloatingIP

CreateFloatingIP Method for CreateFloatingIP

Creates a new floating-ip

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

func (*FloatingIPsAPIService) CreateFloatingIPExecute

Execute executes the request

@return FloatIP

func (*FloatingIPsAPIService) DeleteFloatingIP

DeleteFloatingIP Method for DeleteFloatingIP

Deletes a floating-ip

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

func (*FloatingIPsAPIService) DeleteFloatingIPExecute

Execute executes the request

@return MessageResponse

func (*FloatingIPsAPIService) DetachFloatIPFromServer

DetachFloatIPFromServer Method for DetachFloatIPFromServer

Detaches a floating-ip from a server port

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

func (*FloatingIPsAPIService) DetachFloatIPFromServerExecute

Execute executes the request

@return MessageResponse

func (*FloatingIPsAPIService) GetAllFloatingIPs

GetAllFloatingIPs Method for GetAllFloatingIPs

Returns all floating-ips

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

func (*FloatingIPsAPIService) GetAllFloatingIPsExecute

Execute executes the request

@return FloatIP

func (*FloatingIPsAPIService) GetFloatingIPInternalIPs

GetFloatingIPInternalIPs Method for GetFloatingIPInternalIPs

Returns info about the IPs of the attachments to server ports

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

func (*FloatingIPsAPIService) GetFloatingIPInternalIPsExecute

Execute executes the request

@return ServerIPInfo

type FullIP

type FullIP struct {
	FloatIp             map[string]interface{} `json:"float_ip,omitempty"`
	Ip                  *string                `json:"ip,omitempty"`
	MacAddress          *string                `json:"mac_address,omitempty"`
	PortId              *string                `json:"port_id,omitempty"`
	PortSecurityEnabled *bool                  `json:"port_security_enabled,omitempty"`
	Ptr                 map[string]interface{} `json:"ptr,omitempty"`
	Public              *bool                  `json:"public,omitempty"`
	SecurityGroups      []PortSecGroupData     `json:"security_groups,omitempty"`
	SubnetId            *string                `json:"subnet_id,omitempty"`
	SubnetName          *string                `json:"subnet_name,omitempty"`
	Version             *string                `json:"version,omitempty"`
}

FullIP struct for FullIP

func NewFullIP

func NewFullIP() *FullIP

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

func NewFullIPWithDefaults

func NewFullIPWithDefaults() *FullIP

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

func (*FullIP) GetFloatIp

func (o *FullIP) GetFloatIp() map[string]interface{}

GetFloatIp returns the FloatIp field value if set, zero value otherwise.

func (*FullIP) GetFloatIpOk

func (o *FullIP) GetFloatIpOk() (map[string]interface{}, bool)

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

func (*FullIP) GetIp

func (o *FullIP) GetIp() string

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

func (*FullIP) GetIpOk

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

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

func (*FullIP) GetMacAddress

func (o *FullIP) GetMacAddress() string

GetMacAddress returns the MacAddress field value if set, zero value otherwise.

func (*FullIP) GetMacAddressOk

func (o *FullIP) GetMacAddressOk() (*string, bool)

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

func (*FullIP) GetPortId

func (o *FullIP) GetPortId() string

GetPortId returns the PortId field value if set, zero value otherwise.

func (*FullIP) GetPortIdOk

func (o *FullIP) GetPortIdOk() (*string, bool)

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

func (*FullIP) GetPortSecurityEnabled

func (o *FullIP) GetPortSecurityEnabled() bool

GetPortSecurityEnabled returns the PortSecurityEnabled field value if set, zero value otherwise.

func (*FullIP) GetPortSecurityEnabledOk

func (o *FullIP) GetPortSecurityEnabledOk() (*bool, bool)

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

func (*FullIP) GetPtr

func (o *FullIP) GetPtr() map[string]interface{}

GetPtr returns the Ptr field value if set, zero value otherwise.

func (*FullIP) GetPtrOk

func (o *FullIP) GetPtrOk() (map[string]interface{}, bool)

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

func (*FullIP) GetPublic

func (o *FullIP) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*FullIP) GetPublicOk

func (o *FullIP) GetPublicOk() (*bool, bool)

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

func (*FullIP) GetSecurityGroups

func (o *FullIP) GetSecurityGroups() []PortSecGroupData

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

func (*FullIP) GetSecurityGroupsOk

func (o *FullIP) GetSecurityGroupsOk() ([]PortSecGroupData, bool)

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

func (*FullIP) GetSubnetId

func (o *FullIP) GetSubnetId() string

GetSubnetId returns the SubnetId field value if set, zero value otherwise.

func (*FullIP) GetSubnetIdOk

func (o *FullIP) GetSubnetIdOk() (*string, bool)

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

func (*FullIP) GetSubnetName

func (o *FullIP) GetSubnetName() string

GetSubnetName returns the SubnetName field value if set, zero value otherwise.

func (*FullIP) GetSubnetNameOk

func (o *FullIP) GetSubnetNameOk() (*string, bool)

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

func (*FullIP) GetVersion

func (o *FullIP) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*FullIP) GetVersionOk

func (o *FullIP) 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.

func (*FullIP) HasFloatIp

func (o *FullIP) HasFloatIp() bool

HasFloatIp returns a boolean if a field has been set.

func (*FullIP) HasIp

func (o *FullIP) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*FullIP) HasMacAddress

func (o *FullIP) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

func (*FullIP) HasPortId

func (o *FullIP) HasPortId() bool

HasPortId returns a boolean if a field has been set.

func (*FullIP) HasPortSecurityEnabled

func (o *FullIP) HasPortSecurityEnabled() bool

HasPortSecurityEnabled returns a boolean if a field has been set.

func (*FullIP) HasPtr

func (o *FullIP) HasPtr() bool

HasPtr returns a boolean if a field has been set.

func (*FullIP) HasPublic

func (o *FullIP) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*FullIP) HasSecurityGroups

func (o *FullIP) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*FullIP) HasSubnetId

func (o *FullIP) HasSubnetId() bool

HasSubnetId returns a boolean if a field has been set.

func (*FullIP) HasSubnetName

func (o *FullIP) HasSubnetName() bool

HasSubnetName returns a boolean if a field has been set.

func (*FullIP) HasVersion

func (o *FullIP) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (FullIP) MarshalJSON

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

func (*FullIP) SetFloatIp

func (o *FullIP) SetFloatIp(v map[string]interface{})

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

func (*FullIP) SetIp

func (o *FullIP) SetIp(v string)

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

func (*FullIP) SetMacAddress

func (o *FullIP) SetMacAddress(v string)

SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.

func (*FullIP) SetPortId

func (o *FullIP) SetPortId(v string)

SetPortId gets a reference to the given string and assigns it to the PortId field.

func (*FullIP) SetPortSecurityEnabled

func (o *FullIP) SetPortSecurityEnabled(v bool)

SetPortSecurityEnabled gets a reference to the given bool and assigns it to the PortSecurityEnabled field.

func (*FullIP) SetPtr

func (o *FullIP) SetPtr(v map[string]interface{})

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

func (*FullIP) SetPublic

func (o *FullIP) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*FullIP) SetSecurityGroups

func (o *FullIP) SetSecurityGroups(v []PortSecGroupData)

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

func (*FullIP) SetSubnetId

func (o *FullIP) SetSubnetId(v string)

SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.

func (*FullIP) SetSubnetName

func (o *FullIP) SetSubnetName(v string)

SetSubnetName gets a reference to the given string and assigns it to the SubnetName field.

func (*FullIP) SetVersion

func (o *FullIP) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (FullIP) ToMap

func (o FullIP) ToMap() (map[string]interface{}, 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 GetServerActionsResponse

type GetServerActionsResponse struct {
	Action    *string `json:"action,omitempty"`
	Message   *string `json:"message,omitempty"`
	StartTime *string `json:"start_time,omitempty"`
}

GetServerActionsResponse struct for GetServerActionsResponse

func NewGetServerActionsResponse

func NewGetServerActionsResponse() *GetServerActionsResponse

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

func NewGetServerActionsResponseWithDefaults

func NewGetServerActionsResponseWithDefaults() *GetServerActionsResponse

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

func (*GetServerActionsResponse) GetAction

func (o *GetServerActionsResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*GetServerActionsResponse) GetActionOk

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

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

func (*GetServerActionsResponse) GetMessage

func (o *GetServerActionsResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetServerActionsResponse) GetMessageOk

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

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

func (*GetServerActionsResponse) GetStartTime

func (o *GetServerActionsResponse) GetStartTime() string

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*GetServerActionsResponse) GetStartTimeOk

func (o *GetServerActionsResponse) GetStartTimeOk() (*string, bool)

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

func (*GetServerActionsResponse) HasAction

func (o *GetServerActionsResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*GetServerActionsResponse) HasMessage

func (o *GetServerActionsResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GetServerActionsResponse) HasStartTime

func (o *GetServerActionsResponse) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (GetServerActionsResponse) MarshalJSON

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

func (*GetServerActionsResponse) SetAction

func (o *GetServerActionsResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*GetServerActionsResponse) SetMessage

func (o *GetServerActionsResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*GetServerActionsResponse) SetStartTime

func (o *GetServerActionsResponse) SetStartTime(v string)

SetStartTime gets a reference to the given string and assigns it to the StartTime field.

func (GetServerActionsResponse) ToMap

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

type GetServerVNCRequest

type GetServerVNCRequest struct {
	Url *string `json:"url,omitempty"`
}

GetServerVNCRequest struct for GetServerVNCRequest

func NewGetServerVNCRequest

func NewGetServerVNCRequest() *GetServerVNCRequest

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

func NewGetServerVNCRequestWithDefaults

func NewGetServerVNCRequestWithDefaults() *GetServerVNCRequest

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

func (*GetServerVNCRequest) GetUrl

func (o *GetServerVNCRequest) GetUrl() string

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

func (*GetServerVNCRequest) GetUrlOk

func (o *GetServerVNCRequest) 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 (*GetServerVNCRequest) HasUrl

func (o *GetServerVNCRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (GetServerVNCRequest) MarshalJSON

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

func (*GetServerVNCRequest) SetUrl

func (o *GetServerVNCRequest) SetUrl(v string)

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

func (GetServerVNCRequest) ToMap

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

type GroupInstance

type GroupInstance struct {
	Id   *string  `json:"id,omitempty"`
	Ips  []string `json:"ips,omitempty"`
	Name *string  `json:"name,omitempty"`
}

GroupInstance struct for GroupInstance

func NewGroupInstance

func NewGroupInstance() *GroupInstance

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

func NewGroupInstanceWithDefaults

func NewGroupInstanceWithDefaults() *GroupInstance

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

func (*GroupInstance) GetId

func (o *GroupInstance) GetId() string

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

func (*GroupInstance) GetIdOk

func (o *GroupInstance) 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 (*GroupInstance) GetIps

func (o *GroupInstance) GetIps() []string

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

func (*GroupInstance) GetIpsOk

func (o *GroupInstance) GetIpsOk() ([]string, 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 (*GroupInstance) GetName

func (o *GroupInstance) GetName() string

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

func (*GroupInstance) GetNameOk

func (o *GroupInstance) 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 (*GroupInstance) HasId

func (o *GroupInstance) HasId() bool

HasId returns a boolean if a field has been set.

func (*GroupInstance) HasIps

func (o *GroupInstance) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*GroupInstance) HasName

func (o *GroupInstance) HasName() bool

HasName returns a boolean if a field has been set.

func (GroupInstance) MarshalJSON

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

func (*GroupInstance) SetId

func (o *GroupInstance) SetId(v string)

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

func (*GroupInstance) SetIps

func (o *GroupInstance) SetIps(v []string)

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

func (*GroupInstance) SetName

func (o *GroupInstance) SetName(v string)

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

func (GroupInstance) ToMap

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

type HostRoute

type HostRoute struct {
	Destination *string `json:"destination,omitempty"`
	Nexthop     *string `json:"nexthop,omitempty"`
}

HostRoute struct for HostRoute

func NewHostRoute

func NewHostRoute() *HostRoute

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

func NewHostRouteWithDefaults

func NewHostRouteWithDefaults() *HostRoute

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

func (*HostRoute) GetDestination

func (o *HostRoute) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*HostRoute) GetDestinationOk

func (o *HostRoute) GetDestinationOk() (*string, bool)

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

func (*HostRoute) GetNexthop

func (o *HostRoute) GetNexthop() string

GetNexthop returns the Nexthop field value if set, zero value otherwise.

func (*HostRoute) GetNexthopOk

func (o *HostRoute) GetNexthopOk() (*string, bool)

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

func (*HostRoute) HasDestination

func (o *HostRoute) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*HostRoute) HasNexthop

func (o *HostRoute) HasNexthop() bool

HasNexthop returns a boolean if a field has been set.

func (HostRoute) MarshalJSON

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

func (*HostRoute) SetDestination

func (o *HostRoute) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

func (*HostRoute) SetNexthop

func (o *HostRoute) SetNexthop(v string)

SetNexthop gets a reference to the given string and assigns it to the Nexthop field.

func (HostRoute) ToMap

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

type IOPSAndThroughput

type IOPSAndThroughput struct {
	Hdd *int64 `json:"hdd,omitempty"`
	Ssd *int64 `json:"ssd,omitempty"`
}

IOPSAndThroughput struct for IOPSAndThroughput

func NewIOPSAndThroughput

func NewIOPSAndThroughput() *IOPSAndThroughput

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

func NewIOPSAndThroughputWithDefaults

func NewIOPSAndThroughputWithDefaults() *IOPSAndThroughput

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

func (*IOPSAndThroughput) GetHdd

func (o *IOPSAndThroughput) GetHdd() int64

GetHdd returns the Hdd field value if set, zero value otherwise.

func (*IOPSAndThroughput) GetHddOk

func (o *IOPSAndThroughput) GetHddOk() (*int64, bool)

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

func (*IOPSAndThroughput) GetSsd

func (o *IOPSAndThroughput) GetSsd() int64

GetSsd returns the Ssd field value if set, zero value otherwise.

func (*IOPSAndThroughput) GetSsdOk

func (o *IOPSAndThroughput) GetSsdOk() (*int64, bool)

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

func (*IOPSAndThroughput) HasHdd

func (o *IOPSAndThroughput) HasHdd() bool

HasHdd returns a boolean if a field has been set.

func (*IOPSAndThroughput) HasSsd

func (o *IOPSAndThroughput) HasSsd() bool

HasSsd returns a boolean if a field has been set.

func (IOPSAndThroughput) MarshalJSON

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

func (*IOPSAndThroughput) SetHdd

func (o *IOPSAndThroughput) SetHdd(v int64)

SetHdd gets a reference to the given int64 and assigns it to the Hdd field.

func (*IOPSAndThroughput) SetSsd

func (o *IOPSAndThroughput) SetSsd(v int64)

SetSsd gets a reference to the given int64 and assigns it to the Ssd field.

func (IOPSAndThroughput) ToMap

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

type IPInfo

type IPInfo struct {
	Address        *string `json:"address,omitempty"`
	GatewayAddress *string `json:"gateway_address,omitempty"`
	PortId         *string `json:"port_id,omitempty"`
	SubnetId       *string `json:"subnet_id,omitempty"`
	Type           *string `json:"type,omitempty"`
}

IPInfo struct for IPInfo

func NewIPInfo

func NewIPInfo() *IPInfo

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

func NewIPInfoWithDefaults

func NewIPInfoWithDefaults() *IPInfo

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

func (*IPInfo) GetAddress

func (o *IPInfo) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*IPInfo) GetAddressOk

func (o *IPInfo) GetAddressOk() (*string, bool)

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

func (*IPInfo) GetGatewayAddress

func (o *IPInfo) GetGatewayAddress() string

GetGatewayAddress returns the GatewayAddress field value if set, zero value otherwise.

func (*IPInfo) GetGatewayAddressOk

func (o *IPInfo) GetGatewayAddressOk() (*string, bool)

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

func (*IPInfo) GetPortId

func (o *IPInfo) GetPortId() string

GetPortId returns the PortId field value if set, zero value otherwise.

func (*IPInfo) GetPortIdOk

func (o *IPInfo) GetPortIdOk() (*string, bool)

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

func (*IPInfo) GetSubnetId

func (o *IPInfo) GetSubnetId() string

GetSubnetId returns the SubnetId field value if set, zero value otherwise.

func (*IPInfo) GetSubnetIdOk

func (o *IPInfo) GetSubnetIdOk() (*string, bool)

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

func (*IPInfo) GetType

func (o *IPInfo) GetType() string

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

func (*IPInfo) GetTypeOk

func (o *IPInfo) 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 (*IPInfo) HasAddress

func (o *IPInfo) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*IPInfo) HasGatewayAddress

func (o *IPInfo) HasGatewayAddress() bool

HasGatewayAddress returns a boolean if a field has been set.

func (*IPInfo) HasPortId

func (o *IPInfo) HasPortId() bool

HasPortId returns a boolean if a field has been set.

func (*IPInfo) HasSubnetId

func (o *IPInfo) HasSubnetId() bool

HasSubnetId returns a boolean if a field has been set.

func (*IPInfo) HasType

func (o *IPInfo) HasType() bool

HasType returns a boolean if a field has been set.

func (IPInfo) MarshalJSON

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

func (*IPInfo) SetAddress

func (o *IPInfo) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*IPInfo) SetGatewayAddress

func (o *IPInfo) SetGatewayAddress(v string)

SetGatewayAddress gets a reference to the given string and assigns it to the GatewayAddress field.

func (*IPInfo) SetPortId

func (o *IPInfo) SetPortId(v string)

SetPortId gets a reference to the given string and assigns it to the PortId field.

func (*IPInfo) SetSubnetId

func (o *IPInfo) SetSubnetId(v string)

SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.

func (*IPInfo) SetType

func (o *IPInfo) SetType(v string)

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

func (IPInfo) ToMap

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

type ImageList

type ImageList struct {
	Display *bool                 `json:"display,omitempty"`
	Images  []ImgDistributionItem `json:"images,omitempty"`
	Name    *string               `json:"name,omitempty"`
}

ImageList struct for ImageList

func NewImageList

func NewImageList() *ImageList

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

func NewImageListWithDefaults

func NewImageListWithDefaults() *ImageList

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

func (*ImageList) GetDisplay

func (o *ImageList) GetDisplay() bool

GetDisplay returns the Display field value if set, zero value otherwise.

func (*ImageList) GetDisplayOk

func (o *ImageList) GetDisplayOk() (*bool, bool)

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

func (*ImageList) GetImages

func (o *ImageList) GetImages() []ImgDistributionItem

GetImages returns the Images field value if set, zero value otherwise.

func (*ImageList) GetImagesOk

func (o *ImageList) GetImagesOk() ([]ImgDistributionItem, 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 (*ImageList) GetName

func (o *ImageList) GetName() string

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

func (*ImageList) GetNameOk

func (o *ImageList) 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 (*ImageList) HasDisplay

func (o *ImageList) HasDisplay() bool

HasDisplay returns a boolean if a field has been set.

func (*ImageList) HasImages

func (o *ImageList) HasImages() bool

HasImages returns a boolean if a field has been set.

func (*ImageList) HasName

func (o *ImageList) HasName() bool

HasName returns a boolean if a field has been set.

func (ImageList) MarshalJSON

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

func (*ImageList) SetDisplay

func (o *ImageList) SetDisplay(v bool)

SetDisplay gets a reference to the given bool and assigns it to the Display field.

func (*ImageList) SetImages

func (o *ImageList) SetImages(v []ImgDistributionItem)

SetImages gets a reference to the given []ImgDistributionItem and assigns it to the Images field.

func (*ImageList) SetName

func (o *ImageList) SetName(v string)

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

func (ImageList) ToMap

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

type ImagesAPIAppendDataToImageRequest

type ImagesAPIAppendDataToImageRequest struct {
	ApiService *ImagesAPIService
	// contains filtered or unexported fields
}

func (ImagesAPIAppendDataToImageRequest) Execute

type ImagesAPIDeleteImageRequest

type ImagesAPIDeleteImageRequest struct {
	ApiService *ImagesAPIService
	// contains filtered or unexported fields
}

func (ImagesAPIDeleteImageRequest) Execute

type ImagesAPIGetImagesRequest

type ImagesAPIGetImagesRequest struct {
	ApiService *ImagesAPIService
	// contains filtered or unexported fields
}

func (ImagesAPIGetImagesRequest) Execute

func (ImagesAPIGetImagesRequest) Type_

`private`, `arvan`, `distro`, `migrate`, `distributions`

type ImagesAPIImportImageFromURLRequest

type ImagesAPIImportImageFromURLRequest struct {
	ApiService *ImagesAPIService
	// contains filtered or unexported fields
}

func (ImagesAPIImportImageFromURLRequest) Execute

func (ImagesAPIImportImageFromURLRequest) ImportImageRequest

type ImagesAPIService

type ImagesAPIService service

ImagesAPIService ImagesAPI service

func (*ImagesAPIService) AppendDataToImage

func (a *ImagesAPIService) AppendDataToImage(ctx context.Context, region string) ImagesAPIAppendDataToImageRequest

AppendDataToImage Method for AppendDataToImage

Append bytes to existing image, this is done by TUS. See https://tus.io

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

func (*ImagesAPIService) AppendDataToImageExecute

Execute executes the request

@return MessageResponse

func (*ImagesAPIService) DeleteImage

func (a *ImagesAPIService) DeleteImage(ctx context.Context, region string, id string) ImagesAPIDeleteImageRequest

DeleteImage Method for DeleteImage

Delete user's image

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id id of the image to be deleted
@return ImagesAPIDeleteImageRequest

func (*ImagesAPIService) DeleteImageExecute

Execute executes the request

@return MessageResponse

func (*ImagesAPIService) GetImages

GetImages Method for GetImages

Returns all user's images

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

func (*ImagesAPIService) GetImagesExecute

Execute executes the request

@return ImageList

func (*ImagesAPIService) ImportImageFromURL

func (a *ImagesAPIService) ImportImageFromURL(ctx context.Context, region string) ImagesAPIImportImageFromURLRequest

ImportImageFromURL Method for ImportImageFromURL

Download image from given URL

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

func (*ImagesAPIService) ImportImageFromURLExecute

Execute executes the request

@return MessageResponse

func (*ImagesAPIService) UploadImage

UploadImage Method for UploadImage

Upload an image to user's personal images. Currently only supporting TUS. See https://tus.io

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

func (*ImagesAPIService) UploadImageExecute

Execute executes the request

@return MessageResponse

type ImagesAPIUploadImageRequest

type ImagesAPIUploadImageRequest struct {
	ApiService *ImagesAPIService
	// contains filtered or unexported fields
}

func (ImagesAPIUploadImageRequest) Execute

func (ImagesAPIUploadImageRequest) TusResumable

func (r ImagesAPIUploadImageRequest) TusResumable(tusResumable string) ImagesAPIUploadImageRequest

version of TUS that is used

func (ImagesAPIUploadImageRequest) UploadLength

func (r ImagesAPIUploadImageRequest) UploadLength(uploadLength int32) ImagesAPIUploadImageRequest

The size of entire file in bytes

func (ImagesAPIUploadImageRequest) UploadMetadata

func (r ImagesAPIUploadImageRequest) UploadMetadata(uploadMetadata string) ImagesAPIUploadImageRequest

Additional file metadata, containing `filename`, `filetype`, `data`

type ImgDistributionItem

type ImgDistributionItem struct {
	Disk             *int64  `json:"disk,omitempty"`
	DistributionName *string `json:"distribution_name,omitempty"`
	Id               *string `json:"id,omitempty"`
	Name             *string `json:"name,omitempty"`
	OsDescription    *string `json:"os_description,omitempty"`
	Ram              *int64  `json:"ram,omitempty"`
	SshKey           *bool   `json:"ssh_key,omitempty"`
	SshPassword      *bool   `json:"ssh_password,omitempty"`
}

ImgDistributionItem struct for ImgDistributionItem

func NewImgDistributionItem

func NewImgDistributionItem() *ImgDistributionItem

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

func NewImgDistributionItemWithDefaults

func NewImgDistributionItemWithDefaults() *ImgDistributionItem

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

func (*ImgDistributionItem) GetDisk

func (o *ImgDistributionItem) GetDisk() int64

GetDisk returns the Disk field value if set, zero value otherwise.

func (*ImgDistributionItem) GetDiskOk

func (o *ImgDistributionItem) GetDiskOk() (*int64, bool)

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

func (*ImgDistributionItem) GetDistributionName

func (o *ImgDistributionItem) GetDistributionName() string

GetDistributionName returns the DistributionName field value if set, zero value otherwise.

func (*ImgDistributionItem) GetDistributionNameOk

func (o *ImgDistributionItem) GetDistributionNameOk() (*string, bool)

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

func (*ImgDistributionItem) GetId

func (o *ImgDistributionItem) GetId() string

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

func (*ImgDistributionItem) GetIdOk

func (o *ImgDistributionItem) 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 (*ImgDistributionItem) GetName

func (o *ImgDistributionItem) GetName() string

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

func (*ImgDistributionItem) GetNameOk

func (o *ImgDistributionItem) 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 (*ImgDistributionItem) GetOsDescription

func (o *ImgDistributionItem) GetOsDescription() string

GetOsDescription returns the OsDescription field value if set, zero value otherwise.

func (*ImgDistributionItem) GetOsDescriptionOk

func (o *ImgDistributionItem) GetOsDescriptionOk() (*string, bool)

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

func (*ImgDistributionItem) GetRam

func (o *ImgDistributionItem) GetRam() int64

GetRam returns the Ram field value if set, zero value otherwise.

func (*ImgDistributionItem) GetRamOk

func (o *ImgDistributionItem) GetRamOk() (*int64, bool)

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

func (*ImgDistributionItem) GetSshKey

func (o *ImgDistributionItem) GetSshKey() bool

GetSshKey returns the SshKey field value if set, zero value otherwise.

func (*ImgDistributionItem) GetSshKeyOk

func (o *ImgDistributionItem) GetSshKeyOk() (*bool, 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 (*ImgDistributionItem) GetSshPassword

func (o *ImgDistributionItem) GetSshPassword() bool

GetSshPassword returns the SshPassword field value if set, zero value otherwise.

func (*ImgDistributionItem) GetSshPasswordOk

func (o *ImgDistributionItem) GetSshPasswordOk() (*bool, bool)

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

func (*ImgDistributionItem) HasDisk

func (o *ImgDistributionItem) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*ImgDistributionItem) HasDistributionName

func (o *ImgDistributionItem) HasDistributionName() bool

HasDistributionName returns a boolean if a field has been set.

func (*ImgDistributionItem) HasId

func (o *ImgDistributionItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*ImgDistributionItem) HasName

func (o *ImgDistributionItem) HasName() bool

HasName returns a boolean if a field has been set.

func (*ImgDistributionItem) HasOsDescription

func (o *ImgDistributionItem) HasOsDescription() bool

HasOsDescription returns a boolean if a field has been set.

func (*ImgDistributionItem) HasRam

func (o *ImgDistributionItem) HasRam() bool

HasRam returns a boolean if a field has been set.

func (*ImgDistributionItem) HasSshKey

func (o *ImgDistributionItem) HasSshKey() bool

HasSshKey returns a boolean if a field has been set.

func (*ImgDistributionItem) HasSshPassword

func (o *ImgDistributionItem) HasSshPassword() bool

HasSshPassword returns a boolean if a field has been set.

func (ImgDistributionItem) MarshalJSON

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

func (*ImgDistributionItem) SetDisk

func (o *ImgDistributionItem) SetDisk(v int64)

SetDisk gets a reference to the given int64 and assigns it to the Disk field.

func (*ImgDistributionItem) SetDistributionName

func (o *ImgDistributionItem) SetDistributionName(v string)

SetDistributionName gets a reference to the given string and assigns it to the DistributionName field.

func (*ImgDistributionItem) SetId

func (o *ImgDistributionItem) SetId(v string)

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

func (*ImgDistributionItem) SetName

func (o *ImgDistributionItem) SetName(v string)

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

func (*ImgDistributionItem) SetOsDescription

func (o *ImgDistributionItem) SetOsDescription(v string)

SetOsDescription gets a reference to the given string and assigns it to the OsDescription field.

func (*ImgDistributionItem) SetRam

func (o *ImgDistributionItem) SetRam(v int64)

SetRam gets a reference to the given int64 and assigns it to the Ram field.

func (*ImgDistributionItem) SetSshKey

func (o *ImgDistributionItem) SetSshKey(v bool)

SetSshKey gets a reference to the given bool and assigns it to the SshKey field.

func (*ImgDistributionItem) SetSshPassword

func (o *ImgDistributionItem) SetSshPassword(v bool)

SetSshPassword gets a reference to the given bool and assigns it to the SshPassword field.

func (ImgDistributionItem) ToMap

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

type ImgDoc

type ImgDoc struct {
	Link *string `json:"link,omitempty"`
	Name *string `json:"name,omitempty"`
}

ImgDoc struct for ImgDoc

func NewImgDoc

func NewImgDoc() *ImgDoc

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

func NewImgDocWithDefaults

func NewImgDocWithDefaults() *ImgDoc

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

func (o *ImgDoc) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*ImgDoc) GetLinkOk

func (o *ImgDoc) GetLinkOk() (*string, bool)

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

func (*ImgDoc) GetName

func (o *ImgDoc) GetName() string

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

func (*ImgDoc) GetNameOk

func (o *ImgDoc) 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 (o *ImgDoc) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*ImgDoc) HasName

func (o *ImgDoc) HasName() bool

HasName returns a boolean if a field has been set.

func (ImgDoc) MarshalJSON

func (o ImgDoc) MarshalJSON() ([]byte, error)
func (o *ImgDoc) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*ImgDoc) SetName

func (o *ImgDoc) SetName(v string)

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

func (ImgDoc) ToMap

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

type ImportImageRequest

type ImportImageRequest struct {
	MinDisk *int64  `json:"minDisk,omitempty"`
	MinRam  *int64  `json:"minRam,omitempty"`
	Name    *string `json:"name,omitempty"`
	Url     *string `json:"url,omitempty"`
}

ImportImageRequest struct for ImportImageRequest

func NewImportImageRequest

func NewImportImageRequest() *ImportImageRequest

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

func NewImportImageRequestWithDefaults

func NewImportImageRequestWithDefaults() *ImportImageRequest

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

func (*ImportImageRequest) GetMinDisk

func (o *ImportImageRequest) GetMinDisk() int64

GetMinDisk returns the MinDisk field value if set, zero value otherwise.

func (*ImportImageRequest) GetMinDiskOk

func (o *ImportImageRequest) GetMinDiskOk() (*int64, bool)

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

func (*ImportImageRequest) GetMinRam

func (o *ImportImageRequest) GetMinRam() int64

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

func (*ImportImageRequest) GetMinRamOk

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

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

func (*ImportImageRequest) GetName

func (o *ImportImageRequest) GetName() string

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

func (*ImportImageRequest) GetNameOk

func (o *ImportImageRequest) 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 (*ImportImageRequest) GetUrl

func (o *ImportImageRequest) GetUrl() string

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

func (*ImportImageRequest) GetUrlOk

func (o *ImportImageRequest) 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 (*ImportImageRequest) HasMinDisk

func (o *ImportImageRequest) HasMinDisk() bool

HasMinDisk returns a boolean if a field has been set.

func (*ImportImageRequest) HasMinRam

func (o *ImportImageRequest) HasMinRam() bool

HasMinRam returns a boolean if a field has been set.

func (*ImportImageRequest) HasName

func (o *ImportImageRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*ImportImageRequest) HasUrl

func (o *ImportImageRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ImportImageRequest) MarshalJSON

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

func (*ImportImageRequest) SetMinDisk

func (o *ImportImageRequest) SetMinDisk(v int64)

SetMinDisk gets a reference to the given int64 and assigns it to the MinDisk field.

func (*ImportImageRequest) SetMinRam

func (o *ImportImageRequest) SetMinRam(v int64)

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

func (*ImportImageRequest) SetName

func (o *ImportImageRequest) SetName(v string)

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

func (*ImportImageRequest) SetUrl

func (o *ImportImageRequest) SetUrl(v string)

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

func (ImportImageRequest) ToMap

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MaxIOPSAndThroughput

type MaxIOPSAndThroughput struct {
	Hdd *string `json:"hdd,omitempty"`
	Ssd *string `json:"ssd,omitempty"`
}

MaxIOPSAndThroughput struct for MaxIOPSAndThroughput

func NewMaxIOPSAndThroughput

func NewMaxIOPSAndThroughput() *MaxIOPSAndThroughput

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

func NewMaxIOPSAndThroughputWithDefaults

func NewMaxIOPSAndThroughputWithDefaults() *MaxIOPSAndThroughput

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

func (*MaxIOPSAndThroughput) GetHdd

func (o *MaxIOPSAndThroughput) GetHdd() string

GetHdd returns the Hdd field value if set, zero value otherwise.

func (*MaxIOPSAndThroughput) GetHddOk

func (o *MaxIOPSAndThroughput) GetHddOk() (*string, bool)

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

func (*MaxIOPSAndThroughput) GetSsd

func (o *MaxIOPSAndThroughput) GetSsd() string

GetSsd returns the Ssd field value if set, zero value otherwise.

func (*MaxIOPSAndThroughput) GetSsdOk

func (o *MaxIOPSAndThroughput) GetSsdOk() (*string, bool)

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

func (*MaxIOPSAndThroughput) HasHdd

func (o *MaxIOPSAndThroughput) HasHdd() bool

HasHdd returns a boolean if a field has been set.

func (*MaxIOPSAndThroughput) HasSsd

func (o *MaxIOPSAndThroughput) HasSsd() bool

HasSsd returns a boolean if a field has been set.

func (MaxIOPSAndThroughput) MarshalJSON

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

func (*MaxIOPSAndThroughput) SetHdd

func (o *MaxIOPSAndThroughput) SetHdd(v string)

SetHdd gets a reference to the given string and assigns it to the Hdd field.

func (*MaxIOPSAndThroughput) SetSsd

func (o *MaxIOPSAndThroughput) SetSsd(v string)

SetSsd gets a reference to the given string and assigns it to the Ssd field.

func (MaxIOPSAndThroughput) ToMap

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

type MessageResponse

type MessageResponse struct {
	Message *string `json:"message,omitempty"`
}

MessageResponse struct for MessageResponse

func NewMessageResponse

func NewMessageResponse() *MessageResponse

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

func NewMessageResponseWithDefaults

func NewMessageResponseWithDefaults() *MessageResponse

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

func (*MessageResponse) GetMessage

func (o *MessageResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*MessageResponse) GetMessageOk

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

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

func (*MessageResponse) HasMessage

func (o *MessageResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (MessageResponse) MarshalJSON

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

func (*MessageResponse) SetMessage

func (o *MessageResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (MessageResponse) ToMap

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

type Network

type Network struct {
	AdminStateUp          *bool    `json:"admin_state_up,omitempty"`
	AvailabilityZoneHints []string `json:"availability_zone_hints,omitempty"`
	AvailabilityZones     []string `json:"availability_zones,omitempty"`
	CreatedAt             *string  `json:"created_at,omitempty"`
	Description           *string  `json:"description,omitempty"`
	DhcpIp                *string  `json:"dhcp_ip,omitempty"`
	Id                    *string  `json:"id,omitempty"`
	Ipv4AddressScope      *string  `json:"ipv4_address_scope,omitempty"`
	Ipv6AddressScope      *string  `json:"ipv6_address_scope,omitempty"`
	Mtu                   *int64   `json:"mtu,omitempty"`
	Name                  *string  `json:"name,omitempty"`
	PortSecurityEnabled   *bool    `json:"port_security_enabled,omitempty"`
	QosPolicyId           *string  `json:"qos_policy_id,omitempty"`
	RevisionNumber        *int64   `json:"revision_number,omitempty"`
	Routerexternal        *bool    `json:"router:external,omitempty"`
	Shared                *bool    `json:"shared,omitempty"`
	Status                *string  `json:"status,omitempty"`
	Subnets               []Subnet `json:"subnets,omitempty"`
	Tags                  []string `json:"tags,omitempty"`
	TenantId              *string  `json:"tenant_id,omitempty"`
	UpdatedAt             *string  `json:"updated_at,omitempty"`
}

Network struct for Network

func NewNetwork

func NewNetwork() *Network

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

func NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

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

func (*Network) GetAdminStateUp

func (o *Network) GetAdminStateUp() bool

GetAdminStateUp returns the AdminStateUp field value if set, zero value otherwise.

func (*Network) GetAdminStateUpOk

func (o *Network) GetAdminStateUpOk() (*bool, bool)

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

func (*Network) GetAvailabilityZoneHints

func (o *Network) GetAvailabilityZoneHints() []string

GetAvailabilityZoneHints returns the AvailabilityZoneHints field value if set, zero value otherwise.

func (*Network) GetAvailabilityZoneHintsOk

func (o *Network) GetAvailabilityZoneHintsOk() ([]string, bool)

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

func (*Network) GetAvailabilityZones

func (o *Network) GetAvailabilityZones() []string

GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.

func (*Network) GetAvailabilityZonesOk

func (o *Network) GetAvailabilityZonesOk() ([]string, bool)

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

func (*Network) GetCreatedAt

func (o *Network) GetCreatedAt() string

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

func (*Network) GetCreatedAtOk

func (o *Network) GetCreatedAtOk() (*string, bool)

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

func (*Network) GetDescription

func (o *Network) GetDescription() string

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

func (*Network) GetDescriptionOk

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

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

func (*Network) GetDhcpIp

func (o *Network) GetDhcpIp() string

GetDhcpIp returns the DhcpIp field value if set, zero value otherwise.

func (*Network) GetDhcpIpOk

func (o *Network) GetDhcpIpOk() (*string, bool)

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

func (*Network) GetId

func (o *Network) GetId() string

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

func (*Network) GetIdOk

func (o *Network) 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 (*Network) GetIpv4AddressScope

func (o *Network) GetIpv4AddressScope() string

GetIpv4AddressScope returns the Ipv4AddressScope field value if set, zero value otherwise.

func (*Network) GetIpv4AddressScopeOk

func (o *Network) GetIpv4AddressScopeOk() (*string, bool)

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

func (*Network) GetIpv6AddressScope

func (o *Network) GetIpv6AddressScope() string

GetIpv6AddressScope returns the Ipv6AddressScope field value if set, zero value otherwise.

func (*Network) GetIpv6AddressScopeOk

func (o *Network) GetIpv6AddressScopeOk() (*string, bool)

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

func (*Network) GetMtu

func (o *Network) GetMtu() int64

GetMtu returns the Mtu field value if set, zero value otherwise.

func (*Network) GetMtuOk

func (o *Network) GetMtuOk() (*int64, bool)

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

func (*Network) GetName

func (o *Network) GetName() string

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

func (*Network) GetNameOk

func (o *Network) 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 (*Network) GetPortSecurityEnabled

func (o *Network) GetPortSecurityEnabled() bool

GetPortSecurityEnabled returns the PortSecurityEnabled field value if set, zero value otherwise.

func (*Network) GetPortSecurityEnabledOk

func (o *Network) GetPortSecurityEnabledOk() (*bool, bool)

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

func (*Network) GetQosPolicyId

func (o *Network) GetQosPolicyId() string

GetQosPolicyId returns the QosPolicyId field value if set, zero value otherwise.

func (*Network) GetQosPolicyIdOk

func (o *Network) GetQosPolicyIdOk() (*string, bool)

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

func (*Network) GetRevisionNumber

func (o *Network) GetRevisionNumber() int64

GetRevisionNumber returns the RevisionNumber field value if set, zero value otherwise.

func (*Network) GetRevisionNumberOk

func (o *Network) GetRevisionNumberOk() (*int64, bool)

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

func (*Network) GetRouterexternal

func (o *Network) GetRouterexternal() bool

GetRouterexternal returns the Routerexternal field value if set, zero value otherwise.

func (*Network) GetRouterexternalOk

func (o *Network) GetRouterexternalOk() (*bool, bool)

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

func (*Network) GetShared

func (o *Network) GetShared() bool

GetShared returns the Shared field value if set, zero value otherwise.

func (*Network) GetSharedOk

func (o *Network) GetSharedOk() (*bool, bool)

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

func (*Network) GetStatus

func (o *Network) GetStatus() string

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

func (*Network) GetStatusOk

func (o *Network) 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 (*Network) GetSubnets

func (o *Network) GetSubnets() []Subnet

GetSubnets returns the Subnets field value if set, zero value otherwise.

func (*Network) GetSubnetsOk

func (o *Network) GetSubnetsOk() ([]Subnet, bool)

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

func (*Network) GetTags

func (o *Network) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Network) GetTagsOk

func (o *Network) GetTagsOk() ([]string, bool)

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

func (*Network) GetTenantId

func (o *Network) GetTenantId() string

GetTenantId returns the TenantId field value if set, zero value otherwise.

func (*Network) GetTenantIdOk

func (o *Network) GetTenantIdOk() (*string, bool)

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

func (*Network) GetUpdatedAt

func (o *Network) GetUpdatedAt() string

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

func (*Network) GetUpdatedAtOk

func (o *Network) GetUpdatedAtOk() (*string, bool)

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

func (*Network) HasAdminStateUp

func (o *Network) HasAdminStateUp() bool

HasAdminStateUp returns a boolean if a field has been set.

func (*Network) HasAvailabilityZoneHints

func (o *Network) HasAvailabilityZoneHints() bool

HasAvailabilityZoneHints returns a boolean if a field has been set.

func (*Network) HasAvailabilityZones

func (o *Network) HasAvailabilityZones() bool

HasAvailabilityZones returns a boolean if a field has been set.

func (*Network) HasCreatedAt

func (o *Network) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Network) HasDescription

func (o *Network) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Network) HasDhcpIp

func (o *Network) HasDhcpIp() bool

HasDhcpIp returns a boolean if a field has been set.

func (*Network) HasId

func (o *Network) HasId() bool

HasId returns a boolean if a field has been set.

func (*Network) HasIpv4AddressScope

func (o *Network) HasIpv4AddressScope() bool

HasIpv4AddressScope returns a boolean if a field has been set.

func (*Network) HasIpv6AddressScope

func (o *Network) HasIpv6AddressScope() bool

HasIpv6AddressScope returns a boolean if a field has been set.

func (*Network) HasMtu

func (o *Network) HasMtu() bool

HasMtu returns a boolean if a field has been set.

func (*Network) HasName

func (o *Network) HasName() bool

HasName returns a boolean if a field has been set.

func (*Network) HasPortSecurityEnabled

func (o *Network) HasPortSecurityEnabled() bool

HasPortSecurityEnabled returns a boolean if a field has been set.

func (*Network) HasQosPolicyId

func (o *Network) HasQosPolicyId() bool

HasQosPolicyId returns a boolean if a field has been set.

func (*Network) HasRevisionNumber

func (o *Network) HasRevisionNumber() bool

HasRevisionNumber returns a boolean if a field has been set.

func (*Network) HasRouterexternal

func (o *Network) HasRouterexternal() bool

HasRouterexternal returns a boolean if a field has been set.

func (*Network) HasShared

func (o *Network) HasShared() bool

HasShared returns a boolean if a field has been set.

func (*Network) HasStatus

func (o *Network) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Network) HasSubnets

func (o *Network) HasSubnets() bool

HasSubnets returns a boolean if a field has been set.

func (*Network) HasTags

func (o *Network) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Network) HasTenantId

func (o *Network) HasTenantId() bool

HasTenantId returns a boolean if a field has been set.

func (*Network) HasUpdatedAt

func (o *Network) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Network) MarshalJSON

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

func (*Network) SetAdminStateUp

func (o *Network) SetAdminStateUp(v bool)

SetAdminStateUp gets a reference to the given bool and assigns it to the AdminStateUp field.

func (*Network) SetAvailabilityZoneHints

func (o *Network) SetAvailabilityZoneHints(v []string)

SetAvailabilityZoneHints gets a reference to the given []string and assigns it to the AvailabilityZoneHints field.

func (*Network) SetAvailabilityZones

func (o *Network) SetAvailabilityZones(v []string)

SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.

func (*Network) SetCreatedAt

func (o *Network) SetCreatedAt(v string)

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

func (*Network) SetDescription

func (o *Network) SetDescription(v string)

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

func (*Network) SetDhcpIp

func (o *Network) SetDhcpIp(v string)

SetDhcpIp gets a reference to the given string and assigns it to the DhcpIp field.

func (*Network) SetId

func (o *Network) SetId(v string)

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

func (*Network) SetIpv4AddressScope

func (o *Network) SetIpv4AddressScope(v string)

SetIpv4AddressScope gets a reference to the given string and assigns it to the Ipv4AddressScope field.

func (*Network) SetIpv6AddressScope

func (o *Network) SetIpv6AddressScope(v string)

SetIpv6AddressScope gets a reference to the given string and assigns it to the Ipv6AddressScope field.

func (*Network) SetMtu

func (o *Network) SetMtu(v int64)

SetMtu gets a reference to the given int64 and assigns it to the Mtu field.

func (*Network) SetName

func (o *Network) SetName(v string)

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

func (*Network) SetPortSecurityEnabled

func (o *Network) SetPortSecurityEnabled(v bool)

SetPortSecurityEnabled gets a reference to the given bool and assigns it to the PortSecurityEnabled field.

func (*Network) SetQosPolicyId

func (o *Network) SetQosPolicyId(v string)

SetQosPolicyId gets a reference to the given string and assigns it to the QosPolicyId field.

func (*Network) SetRevisionNumber

func (o *Network) SetRevisionNumber(v int64)

SetRevisionNumber gets a reference to the given int64 and assigns it to the RevisionNumber field.

func (*Network) SetRouterexternal

func (o *Network) SetRouterexternal(v bool)

SetRouterexternal gets a reference to the given bool and assigns it to the Routerexternal field.

func (*Network) SetShared

func (o *Network) SetShared(v bool)

SetShared gets a reference to the given bool and assigns it to the Shared field.

func (*Network) SetStatus

func (o *Network) SetStatus(v string)

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

func (*Network) SetSubnets

func (o *Network) SetSubnets(v []Subnet)

SetSubnets gets a reference to the given []Subnet and assigns it to the Subnets field.

func (*Network) SetTags

func (o *Network) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Network) SetTenantId

func (o *Network) SetTenantId(v string)

SetTenantId gets a reference to the given string and assigns it to the TenantId field.

func (*Network) SetUpdatedAt

func (o *Network) SetUpdatedAt(v string)

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

func (Network) ToMap

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

type NetworkServer

type NetworkServer struct {
	Addresses      *map[string][]ServerAddress `json:"addresses,omitempty"`
	Id             *string                     `json:"id,omitempty"`
	Ips            []FullIP                    `json:"ips,omitempty"`
	Name           *string                     `json:"name,omitempty"`
	PublicIp       []PublicIP                  `json:"public_ip,omitempty"`
	SecurityGroups []string                    `json:"security_groups,omitempty"`
}

NetworkServer struct for NetworkServer

func NewNetworkServer

func NewNetworkServer() *NetworkServer

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

func NewNetworkServerWithDefaults

func NewNetworkServerWithDefaults() *NetworkServer

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

func (*NetworkServer) GetAddresses

func (o *NetworkServer) GetAddresses() map[string][]ServerAddress

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*NetworkServer) GetAddressesOk

func (o *NetworkServer) GetAddressesOk() (*map[string][]ServerAddress, bool)

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

func (*NetworkServer) GetId

func (o *NetworkServer) GetId() string

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

func (*NetworkServer) GetIdOk

func (o *NetworkServer) 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 (*NetworkServer) GetIps

func (o *NetworkServer) GetIps() []FullIP

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

func (*NetworkServer) GetIpsOk

func (o *NetworkServer) GetIpsOk() ([]FullIP, 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 (*NetworkServer) GetName

func (o *NetworkServer) GetName() string

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

func (*NetworkServer) GetNameOk

func (o *NetworkServer) 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 (*NetworkServer) GetPublicIp

func (o *NetworkServer) GetPublicIp() []PublicIP

GetPublicIp returns the PublicIp field value if set, zero value otherwise.

func (*NetworkServer) GetPublicIpOk

func (o *NetworkServer) GetPublicIpOk() ([]PublicIP, bool)

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

func (*NetworkServer) GetSecurityGroups

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

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

func (*NetworkServer) GetSecurityGroupsOk

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

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

func (*NetworkServer) HasAddresses

func (o *NetworkServer) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (*NetworkServer) HasId

func (o *NetworkServer) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkServer) HasIps

func (o *NetworkServer) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*NetworkServer) HasName

func (o *NetworkServer) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkServer) HasPublicIp

func (o *NetworkServer) HasPublicIp() bool

HasPublicIp returns a boolean if a field has been set.

func (*NetworkServer) HasSecurityGroups

func (o *NetworkServer) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (NetworkServer) MarshalJSON

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

func (*NetworkServer) SetAddresses

func (o *NetworkServer) SetAddresses(v map[string][]ServerAddress)

SetAddresses gets a reference to the given map[string][]ServerAddress and assigns it to the Addresses field.

func (*NetworkServer) SetId

func (o *NetworkServer) SetId(v string)

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

func (*NetworkServer) SetIps

func (o *NetworkServer) SetIps(v []FullIP)

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

func (*NetworkServer) SetName

func (o *NetworkServer) SetName(v string)

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

func (*NetworkServer) SetPublicIp

func (o *NetworkServer) SetPublicIp(v []PublicIP)

SetPublicIp gets a reference to the given []PublicIP and assigns it to the PublicIp field.

func (*NetworkServer) SetSecurityGroups

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

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

func (NetworkServer) ToMap

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

type NetworksAPIAttachNetworkToServerRequest

type NetworksAPIAttachNetworkToServerRequest struct {
	ApiService *NetworksAPIService
	// contains filtered or unexported fields
}

func (NetworksAPIAttachNetworkToServerRequest) AttachServerToNetworkRequest

func (r NetworksAPIAttachNetworkToServerRequest) AttachServerToNetworkRequest(attachServerToNetworkRequest AttachServerToNetworkRequest) NetworksAPIAttachNetworkToServerRequest

id of the server which needs to be detached

func (NetworksAPIAttachNetworkToServerRequest) Execute

type NetworksAPIDetachNetworkFromServerRequest

type NetworksAPIDetachNetworkFromServerRequest struct {
	ApiService *NetworksAPIService
	// contains filtered or unexported fields
}

func (NetworksAPIDetachNetworkFromServerRequest) DetachNetworkFromServerRequest

func (r NetworksAPIDetachNetworkFromServerRequest) DetachNetworkFromServerRequest(detachNetworkFromServerRequest DetachNetworkFromServerRequest) NetworksAPIDetachNetworkFromServerRequest

id of the server which needs to be detached

func (NetworksAPIDetachNetworkFromServerRequest) Execute

type NetworksAPIGetAllNetworksRequest

type NetworksAPIGetAllNetworksRequest struct {
	ApiService *NetworksAPIService
	// contains filtered or unexported fields
}

func (NetworksAPIGetAllNetworksRequest) Execute

type NetworksAPIService

type NetworksAPIService service

NetworksAPIService NetworksAPI service

func (*NetworksAPIService) AttachNetworkToServer

func (a *NetworksAPIService) AttachNetworkToServer(ctx context.Context, region string, id string) NetworksAPIAttachNetworkToServerRequest

AttachNetworkToServer Method for AttachNetworkToServer

Attach specified network to a server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id network id
@return NetworksAPIAttachNetworkToServerRequest

func (*NetworksAPIService) AttachNetworkToServerExecute

Execute executes the request

@return MessageResponse

func (*NetworksAPIService) DetachNetworkFromServer

func (a *NetworksAPIService) DetachNetworkFromServer(ctx context.Context, region string, id string) NetworksAPIDetachNetworkFromServerRequest

DetachNetworkFromServer Method for DetachNetworkFromServer

Detach a network from server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id network id
@return NetworksAPIDetachNetworkFromServerRequest

func (*NetworksAPIService) DetachNetworkFromServerExecute

Execute executes the request

@return MessageResponse

func (*NetworksAPIService) GetAllNetworks

GetAllNetworks Method for GetAllNetworks

Get all user's networks

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

func (*NetworksAPIService) GetAllNetworksExecute

Execute executes the request

@return Network

type NullableAddServerPublicIPRequest

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

func (NullableAddServerPublicIPRequest) Get

func (NullableAddServerPublicIPRequest) IsSet

func (NullableAddServerPublicIPRequest) MarshalJSON

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

func (*NullableAddServerPublicIPRequest) Set

func (*NullableAddServerPublicIPRequest) UnmarshalJSON

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

func (*NullableAddServerPublicIPRequest) Unset

type NullableAllocationPool

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

func NewNullableAllocationPool

func NewNullableAllocationPool(val *AllocationPool) *NullableAllocationPool

func (NullableAllocationPool) Get

func (NullableAllocationPool) IsSet

func (v NullableAllocationPool) IsSet() bool

func (NullableAllocationPool) MarshalJSON

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

func (*NullableAllocationPool) Set

func (*NullableAllocationPool) UnmarshalJSON

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

func (*NullableAllocationPool) Unset

func (v *NullableAllocationPool) Unset()

type NullableAttachPortSecurityRequest

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

func (NullableAttachPortSecurityRequest) Get

func (NullableAttachPortSecurityRequest) IsSet

func (NullableAttachPortSecurityRequest) MarshalJSON

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

func (*NullableAttachPortSecurityRequest) Set

func (*NullableAttachPortSecurityRequest) UnmarshalJSON

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

func (*NullableAttachPortSecurityRequest) Unset

type NullableAttachServerRootVolumeRequest

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

func (NullableAttachServerRootVolumeRequest) Get

func (NullableAttachServerRootVolumeRequest) IsSet

func (NullableAttachServerRootVolumeRequest) MarshalJSON

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

func (*NullableAttachServerRootVolumeRequest) Set

func (*NullableAttachServerRootVolumeRequest) UnmarshalJSON

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

func (*NullableAttachServerRootVolumeRequest) Unset

type NullableAttachServerToNetworkRequest

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

func (NullableAttachServerToNetworkRequest) Get

func (NullableAttachServerToNetworkRequest) IsSet

func (NullableAttachServerToNetworkRequest) MarshalJSON

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

func (*NullableAttachServerToNetworkRequest) Set

func (*NullableAttachServerToNetworkRequest) UnmarshalJSON

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

func (*NullableAttachServerToNetworkRequest) Unset

type NullableAttachServerToSecurityGroupRequest

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

func (NullableAttachServerToSecurityGroupRequest) Get

func (NullableAttachServerToSecurityGroupRequest) IsSet

func (NullableAttachServerToSecurityGroupRequest) MarshalJSON

func (*NullableAttachServerToSecurityGroupRequest) Set

func (*NullableAttachServerToSecurityGroupRequest) UnmarshalJSON

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

func (*NullableAttachServerToSecurityGroupRequest) Unset

type NullableAttachTagRequest

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

func NewNullableAttachTagRequest

func NewNullableAttachTagRequest(val *AttachTagRequest) *NullableAttachTagRequest

func (NullableAttachTagRequest) Get

func (NullableAttachTagRequest) IsSet

func (v NullableAttachTagRequest) IsSet() bool

func (NullableAttachTagRequest) MarshalJSON

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

func (*NullableAttachTagRequest) Set

func (*NullableAttachTagRequest) UnmarshalJSON

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

func (*NullableAttachTagRequest) Unset

func (v *NullableAttachTagRequest) Unset()

type NullableAttachment

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

func NewNullableAttachment

func NewNullableAttachment(val *Attachment) *NullableAttachment

func (NullableAttachment) Get

func (v NullableAttachment) Get() *Attachment

func (NullableAttachment) IsSet

func (v NullableAttachment) IsSet() bool

func (NullableAttachment) MarshalJSON

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

func (*NullableAttachment) Set

func (v *NullableAttachment) Set(val *Attachment)

func (*NullableAttachment) UnmarshalJSON

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

func (*NullableAttachment) Unset

func (v *NullableAttachment) Unset()

type NullableBatchTagRequest

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

func NewNullableBatchTagRequest

func NewNullableBatchTagRequest(val *BatchTagRequest) *NullableBatchTagRequest

func (NullableBatchTagRequest) Get

func (NullableBatchTagRequest) IsSet

func (v NullableBatchTagRequest) IsSet() bool

func (NullableBatchTagRequest) MarshalJSON

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

func (*NullableBatchTagRequest) Set

func (*NullableBatchTagRequest) UnmarshalJSON

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

func (*NullableBatchTagRequest) Unset

func (v *NullableBatchTagRequest) 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 NullableChart

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

func NewNullableChart

func NewNullableChart(val *Chart) *NullableChart

func (NullableChart) Get

func (v NullableChart) Get() *Chart

func (NullableChart) IsSet

func (v NullableChart) IsSet() bool

func (NullableChart) MarshalJSON

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

func (*NullableChart) Set

func (v *NullableChart) Set(val *Chart)

func (*NullableChart) UnmarshalJSON

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

func (*NullableChart) Unset

func (v *NullableChart) Unset()

type NullableChartCollection

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

func NewNullableChartCollection

func NewNullableChartCollection(val *ChartCollection) *NullableChartCollection

func (NullableChartCollection) Get

func (NullableChartCollection) IsSet

func (v NullableChartCollection) IsSet() bool

func (NullableChartCollection) MarshalJSON

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

func (*NullableChartCollection) Set

func (*NullableChartCollection) UnmarshalJSON

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

func (*NullableChartCollection) Unset

func (v *NullableChartCollection) Unset()

type NullableChartDataset

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

func NewNullableChartDataset

func NewNullableChartDataset(val *ChartDataset) *NullableChartDataset

func (NullableChartDataset) Get

func (NullableChartDataset) IsSet

func (v NullableChartDataset) IsSet() bool

func (NullableChartDataset) MarshalJSON

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

func (*NullableChartDataset) Set

func (v *NullableChartDataset) Set(val *ChartDataset)

func (*NullableChartDataset) UnmarshalJSON

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

func (*NullableChartDataset) Unset

func (v *NullableChartDataset) Unset()

type NullableCreateFloatIPRequest

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

func NewNullableCreateFloatIPRequest

func NewNullableCreateFloatIPRequest(val *CreateFloatIPRequest) *NullableCreateFloatIPRequest

func (NullableCreateFloatIPRequest) Get

func (NullableCreateFloatIPRequest) IsSet

func (NullableCreateFloatIPRequest) MarshalJSON

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

func (*NullableCreateFloatIPRequest) Set

func (*NullableCreateFloatIPRequest) UnmarshalJSON

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

func (*NullableCreateFloatIPRequest) Unset

func (v *NullableCreateFloatIPRequest) Unset()

type NullableCreateImageFromSnapshotRequest

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

func (NullableCreateImageFromSnapshotRequest) Get

func (NullableCreateImageFromSnapshotRequest) IsSet

func (NullableCreateImageFromSnapshotRequest) MarshalJSON

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

func (*NullableCreateImageFromSnapshotRequest) Set

func (*NullableCreateImageFromSnapshotRequest) UnmarshalJSON

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

func (*NullableCreateImageFromSnapshotRequest) Unset

type NullableCreatePTRRequest

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

func NewNullableCreatePTRRequest

func NewNullableCreatePTRRequest(val *CreatePTRRequest) *NullableCreatePTRRequest

func (NullableCreatePTRRequest) Get

func (NullableCreatePTRRequest) IsSet

func (v NullableCreatePTRRequest) IsSet() bool

func (NullableCreatePTRRequest) MarshalJSON

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

func (*NullableCreatePTRRequest) Set

func (*NullableCreatePTRRequest) UnmarshalJSON

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

func (*NullableCreatePTRRequest) Unset

func (v *NullableCreatePTRRequest) Unset()

type NullableCreatePrivateNetworkRequest

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

func (NullableCreatePrivateNetworkRequest) Get

func (NullableCreatePrivateNetworkRequest) IsSet

func (NullableCreatePrivateNetworkRequest) MarshalJSON

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

func (*NullableCreatePrivateNetworkRequest) Set

func (*NullableCreatePrivateNetworkRequest) UnmarshalJSON

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

func (*NullableCreatePrivateNetworkRequest) Unset

type NullableCreateSSHKeyRequest

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

func NewNullableCreateSSHKeyRequest

func NewNullableCreateSSHKeyRequest(val *CreateSSHKeyRequest) *NullableCreateSSHKeyRequest

func (NullableCreateSSHKeyRequest) Get

func (NullableCreateSSHKeyRequest) IsSet

func (NullableCreateSSHKeyRequest) MarshalJSON

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

func (*NullableCreateSSHKeyRequest) Set

func (*NullableCreateSSHKeyRequest) UnmarshalJSON

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

func (*NullableCreateSSHKeyRequest) Unset

func (v *NullableCreateSSHKeyRequest) Unset()

type NullableCreateSecurityGroupRequest

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

func (NullableCreateSecurityGroupRequest) Get

func (NullableCreateSecurityGroupRequest) IsSet

func (NullableCreateSecurityGroupRequest) MarshalJSON

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

func (*NullableCreateSecurityGroupRequest) Set

func (*NullableCreateSecurityGroupRequest) UnmarshalJSON

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

func (*NullableCreateSecurityGroupRequest) Unset

type NullableCreateSecurityGroupRuleRequest

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

func (NullableCreateSecurityGroupRuleRequest) Get

func (NullableCreateSecurityGroupRuleRequest) IsSet

func (NullableCreateSecurityGroupRuleRequest) MarshalJSON

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

func (*NullableCreateSecurityGroupRuleRequest) Set

func (*NullableCreateSecurityGroupRuleRequest) UnmarshalJSON

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

func (*NullableCreateSecurityGroupRuleRequest) Unset

type NullableCreateServerRequest

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

func NewNullableCreateServerRequest

func NewNullableCreateServerRequest(val *CreateServerRequest) *NullableCreateServerRequest

func (NullableCreateServerRequest) Get

func (NullableCreateServerRequest) IsSet

func (NullableCreateServerRequest) MarshalJSON

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

func (*NullableCreateServerRequest) Set

func (*NullableCreateServerRequest) UnmarshalJSON

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

func (*NullableCreateServerRequest) Unset

func (v *NullableCreateServerRequest) Unset()

type NullableCreateSnapshotFromVolumeRequest

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

func (NullableCreateSnapshotFromVolumeRequest) Get

func (NullableCreateSnapshotFromVolumeRequest) IsSet

func (NullableCreateSnapshotFromVolumeRequest) MarshalJSON

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

func (*NullableCreateSnapshotFromVolumeRequest) Set

func (*NullableCreateSnapshotFromVolumeRequest) UnmarshalJSON

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

func (*NullableCreateSnapshotFromVolumeRequest) Unset

type NullableCreateTagRequest

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

func NewNullableCreateTagRequest

func NewNullableCreateTagRequest(val *CreateTagRequest) *NullableCreateTagRequest

func (NullableCreateTagRequest) Get

func (NullableCreateTagRequest) IsSet

func (v NullableCreateTagRequest) IsSet() bool

func (NullableCreateTagRequest) MarshalJSON

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

func (*NullableCreateTagRequest) Set

func (*NullableCreateTagRequest) UnmarshalJSON

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

func (*NullableCreateTagRequest) Unset

func (v *NullableCreateTagRequest) Unset()

type NullableCreateVolumeFromSnapshotRequest

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

func (NullableCreateVolumeFromSnapshotRequest) Get

func (NullableCreateVolumeFromSnapshotRequest) IsSet

func (NullableCreateVolumeFromSnapshotRequest) MarshalJSON

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

func (*NullableCreateVolumeFromSnapshotRequest) Set

func (*NullableCreateVolumeFromSnapshotRequest) UnmarshalJSON

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

func (*NullableCreateVolumeFromSnapshotRequest) Unset

type NullableCreateVolumeRequest

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

func NewNullableCreateVolumeRequest

func NewNullableCreateVolumeRequest(val *CreateVolumeRequest) *NullableCreateVolumeRequest

func (NullableCreateVolumeRequest) Get

func (NullableCreateVolumeRequest) IsSet

func (NullableCreateVolumeRequest) MarshalJSON

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

func (*NullableCreateVolumeRequest) Set

func (*NullableCreateVolumeRequest) UnmarshalJSON

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

func (*NullableCreateVolumeRequest) Unset

func (v *NullableCreateVolumeRequest) Unset()

type NullableDeleteServerReasonAnswer

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

func (NullableDeleteServerReasonAnswer) Get

func (NullableDeleteServerReasonAnswer) IsSet

func (NullableDeleteServerReasonAnswer) MarshalJSON

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

func (*NullableDeleteServerReasonAnswer) Set

func (*NullableDeleteServerReasonAnswer) UnmarshalJSON

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

func (*NullableDeleteServerReasonAnswer) Unset

type NullableDeleteServerReasons

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

func NewNullableDeleteServerReasons

func NewNullableDeleteServerReasons(val *DeleteServerReasons) *NullableDeleteServerReasons

func (NullableDeleteServerReasons) Get

func (NullableDeleteServerReasons) IsSet

func (NullableDeleteServerReasons) MarshalJSON

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

func (*NullableDeleteServerReasons) Set

func (*NullableDeleteServerReasons) UnmarshalJSON

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

func (*NullableDeleteServerReasons) Unset

func (v *NullableDeleteServerReasons) Unset()

type NullableDetachFloatIPRequest

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

func NewNullableDetachFloatIPRequest

func NewNullableDetachFloatIPRequest(val *DetachFloatIPRequest) *NullableDetachFloatIPRequest

func (NullableDetachFloatIPRequest) Get

func (NullableDetachFloatIPRequest) IsSet

func (NullableDetachFloatIPRequest) MarshalJSON

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

func (*NullableDetachFloatIPRequest) Set

func (*NullableDetachFloatIPRequest) UnmarshalJSON

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

func (*NullableDetachFloatIPRequest) Unset

func (v *NullableDetachFloatIPRequest) Unset()

type NullableDetachNetworkFromServerRequest

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

func (NullableDetachNetworkFromServerRequest) Get

func (NullableDetachNetworkFromServerRequest) IsSet

func (NullableDetachNetworkFromServerRequest) MarshalJSON

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

func (*NullableDetachNetworkFromServerRequest) Set

func (*NullableDetachNetworkFromServerRequest) UnmarshalJSON

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

func (*NullableDetachNetworkFromServerRequest) Unset

type NullableDetachPortSecurityRequest

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

func (NullableDetachPortSecurityRequest) Get

func (NullableDetachPortSecurityRequest) IsSet

func (NullableDetachPortSecurityRequest) MarshalJSON

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

func (*NullableDetachPortSecurityRequest) Set

func (*NullableDetachPortSecurityRequest) UnmarshalJSON

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

func (*NullableDetachPortSecurityRequest) Unset

type NullableDetachTagRequest

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

func NewNullableDetachTagRequest

func NewNullableDetachTagRequest(val *DetachTagRequest) *NullableDetachTagRequest

func (NullableDetachTagRequest) Get

func (NullableDetachTagRequest) IsSet

func (v NullableDetachTagRequest) IsSet() bool

func (NullableDetachTagRequest) MarshalJSON

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

func (*NullableDetachTagRequest) Set

func (*NullableDetachTagRequest) UnmarshalJSON

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

func (*NullableDetachTagRequest) Unset

func (v *NullableDetachTagRequest) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 NullableFloatIP

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

func NewNullableFloatIP

func NewNullableFloatIP(val *FloatIP) *NullableFloatIP

func (NullableFloatIP) Get

func (v NullableFloatIP) Get() *FloatIP

func (NullableFloatIP) IsSet

func (v NullableFloatIP) IsSet() bool

func (NullableFloatIP) MarshalJSON

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

func (*NullableFloatIP) Set

func (v *NullableFloatIP) Set(val *FloatIP)

func (*NullableFloatIP) UnmarshalJSON

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

func (*NullableFloatIP) Unset

func (v *NullableFloatIP) Unset()

type NullableFloatIPAttachRequest

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

func NewNullableFloatIPAttachRequest

func NewNullableFloatIPAttachRequest(val *FloatIPAttachRequest) *NullableFloatIPAttachRequest

func (NullableFloatIPAttachRequest) Get

func (NullableFloatIPAttachRequest) IsSet

func (NullableFloatIPAttachRequest) MarshalJSON

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

func (*NullableFloatIPAttachRequest) Set

func (*NullableFloatIPAttachRequest) UnmarshalJSON

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

func (*NullableFloatIPAttachRequest) Unset

func (v *NullableFloatIPAttachRequest) Unset()

type NullableFullIP

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

func NewNullableFullIP

func NewNullableFullIP(val *FullIP) *NullableFullIP

func (NullableFullIP) Get

func (v NullableFullIP) Get() *FullIP

func (NullableFullIP) IsSet

func (v NullableFullIP) IsSet() bool

func (NullableFullIP) MarshalJSON

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

func (*NullableFullIP) Set

func (v *NullableFullIP) Set(val *FullIP)

func (*NullableFullIP) UnmarshalJSON

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

func (*NullableFullIP) Unset

func (v *NullableFullIP) Unset()

type NullableGetServerActionsResponse

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

func (NullableGetServerActionsResponse) Get

func (NullableGetServerActionsResponse) IsSet

func (NullableGetServerActionsResponse) MarshalJSON

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

func (*NullableGetServerActionsResponse) Set

func (*NullableGetServerActionsResponse) UnmarshalJSON

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

func (*NullableGetServerActionsResponse) Unset

type NullableGetServerVNCRequest

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

func NewNullableGetServerVNCRequest

func NewNullableGetServerVNCRequest(val *GetServerVNCRequest) *NullableGetServerVNCRequest

func (NullableGetServerVNCRequest) Get

func (NullableGetServerVNCRequest) IsSet

func (NullableGetServerVNCRequest) MarshalJSON

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

func (*NullableGetServerVNCRequest) Set

func (*NullableGetServerVNCRequest) UnmarshalJSON

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

func (*NullableGetServerVNCRequest) Unset

func (v *NullableGetServerVNCRequest) Unset()

type NullableGroupInstance

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

func NewNullableGroupInstance

func NewNullableGroupInstance(val *GroupInstance) *NullableGroupInstance

func (NullableGroupInstance) Get

func (NullableGroupInstance) IsSet

func (v NullableGroupInstance) IsSet() bool

func (NullableGroupInstance) MarshalJSON

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

func (*NullableGroupInstance) Set

func (v *NullableGroupInstance) Set(val *GroupInstance)

func (*NullableGroupInstance) UnmarshalJSON

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

func (*NullableGroupInstance) Unset

func (v *NullableGroupInstance) Unset()

type NullableHostRoute

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

func NewNullableHostRoute

func NewNullableHostRoute(val *HostRoute) *NullableHostRoute

func (NullableHostRoute) Get

func (v NullableHostRoute) Get() *HostRoute

func (NullableHostRoute) IsSet

func (v NullableHostRoute) IsSet() bool

func (NullableHostRoute) MarshalJSON

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

func (*NullableHostRoute) Set

func (v *NullableHostRoute) Set(val *HostRoute)

func (*NullableHostRoute) UnmarshalJSON

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

func (*NullableHostRoute) Unset

func (v *NullableHostRoute) Unset()

type NullableIOPSAndThroughput

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

func NewNullableIOPSAndThroughput

func NewNullableIOPSAndThroughput(val *IOPSAndThroughput) *NullableIOPSAndThroughput

func (NullableIOPSAndThroughput) Get

func (NullableIOPSAndThroughput) IsSet

func (v NullableIOPSAndThroughput) IsSet() bool

func (NullableIOPSAndThroughput) MarshalJSON

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

func (*NullableIOPSAndThroughput) Set

func (*NullableIOPSAndThroughput) UnmarshalJSON

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

func (*NullableIOPSAndThroughput) Unset

func (v *NullableIOPSAndThroughput) Unset()

type NullableIPInfo

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

func NewNullableIPInfo

func NewNullableIPInfo(val *IPInfo) *NullableIPInfo

func (NullableIPInfo) Get

func (v NullableIPInfo) Get() *IPInfo

func (NullableIPInfo) IsSet

func (v NullableIPInfo) IsSet() bool

func (NullableIPInfo) MarshalJSON

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

func (*NullableIPInfo) Set

func (v *NullableIPInfo) Set(val *IPInfo)

func (*NullableIPInfo) UnmarshalJSON

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

func (*NullableIPInfo) Unset

func (v *NullableIPInfo) Unset()

type NullableImageList

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

func NewNullableImageList

func NewNullableImageList(val *ImageList) *NullableImageList

func (NullableImageList) Get

func (v NullableImageList) Get() *ImageList

func (NullableImageList) IsSet

func (v NullableImageList) IsSet() bool

func (NullableImageList) MarshalJSON

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

func (*NullableImageList) Set

func (v *NullableImageList) Set(val *ImageList)

func (*NullableImageList) UnmarshalJSON

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

func (*NullableImageList) Unset

func (v *NullableImageList) Unset()

type NullableImgDistributionItem

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

func NewNullableImgDistributionItem

func NewNullableImgDistributionItem(val *ImgDistributionItem) *NullableImgDistributionItem

func (NullableImgDistributionItem) Get

func (NullableImgDistributionItem) IsSet

func (NullableImgDistributionItem) MarshalJSON

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

func (*NullableImgDistributionItem) Set

func (*NullableImgDistributionItem) UnmarshalJSON

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

func (*NullableImgDistributionItem) Unset

func (v *NullableImgDistributionItem) Unset()

type NullableImgDoc

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

func NewNullableImgDoc

func NewNullableImgDoc(val *ImgDoc) *NullableImgDoc

func (NullableImgDoc) Get

func (v NullableImgDoc) Get() *ImgDoc

func (NullableImgDoc) IsSet

func (v NullableImgDoc) IsSet() bool

func (NullableImgDoc) MarshalJSON

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

func (*NullableImgDoc) Set

func (v *NullableImgDoc) Set(val *ImgDoc)

func (*NullableImgDoc) UnmarshalJSON

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

func (*NullableImgDoc) Unset

func (v *NullableImgDoc) Unset()

type NullableImportImageRequest

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

func NewNullableImportImageRequest

func NewNullableImportImageRequest(val *ImportImageRequest) *NullableImportImageRequest

func (NullableImportImageRequest) Get

func (NullableImportImageRequest) IsSet

func (v NullableImportImageRequest) IsSet() bool

func (NullableImportImageRequest) MarshalJSON

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

func (*NullableImportImageRequest) Set

func (*NullableImportImageRequest) UnmarshalJSON

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

func (*NullableImportImageRequest) Unset

func (v *NullableImportImageRequest) 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 NullableMaxIOPSAndThroughput

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

func NewNullableMaxIOPSAndThroughput

func NewNullableMaxIOPSAndThroughput(val *MaxIOPSAndThroughput) *NullableMaxIOPSAndThroughput

func (NullableMaxIOPSAndThroughput) Get

func (NullableMaxIOPSAndThroughput) IsSet

func (NullableMaxIOPSAndThroughput) MarshalJSON

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

func (*NullableMaxIOPSAndThroughput) Set

func (*NullableMaxIOPSAndThroughput) UnmarshalJSON

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

func (*NullableMaxIOPSAndThroughput) Unset

func (v *NullableMaxIOPSAndThroughput) Unset()

type NullableMessageResponse

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

func NewNullableMessageResponse

func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse

func (NullableMessageResponse) Get

func (NullableMessageResponse) IsSet

func (v NullableMessageResponse) IsSet() bool

func (NullableMessageResponse) MarshalJSON

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

func (*NullableMessageResponse) Set

func (*NullableMessageResponse) UnmarshalJSON

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

func (*NullableMessageResponse) Unset

func (v *NullableMessageResponse) Unset()

type NullableNetwork

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

func NewNullableNetwork

func NewNullableNetwork(val *Network) *NullableNetwork

func (NullableNetwork) Get

func (v NullableNetwork) Get() *Network

func (NullableNetwork) IsSet

func (v NullableNetwork) IsSet() bool

func (NullableNetwork) MarshalJSON

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

func (*NullableNetwork) Set

func (v *NullableNetwork) Set(val *Network)

func (*NullableNetwork) UnmarshalJSON

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

func (*NullableNetwork) Unset

func (v *NullableNetwork) Unset()

type NullableNetworkServer

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

func NewNullableNetworkServer

func NewNullableNetworkServer(val *NetworkServer) *NullableNetworkServer

func (NullableNetworkServer) Get

func (NullableNetworkServer) IsSet

func (v NullableNetworkServer) IsSet() bool

func (NullableNetworkServer) MarshalJSON

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

func (*NullableNetworkServer) Set

func (v *NullableNetworkServer) Set(val *NetworkServer)

func (*NullableNetworkServer) UnmarshalJSON

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

func (*NullableNetworkServer) Unset

func (v *NullableNetworkServer) Unset()

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePortSecGroupData

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

func NewNullablePortSecGroupData

func NewNullablePortSecGroupData(val *PortSecGroupData) *NullablePortSecGroupData

func (NullablePortSecGroupData) Get

func (NullablePortSecGroupData) IsSet

func (v NullablePortSecGroupData) IsSet() bool

func (NullablePortSecGroupData) MarshalJSON

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

func (*NullablePortSecGroupData) Set

func (*NullablePortSecGroupData) UnmarshalJSON

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

func (*NullablePortSecGroupData) Unset

func (v *NullablePortSecGroupData) Unset()

type NullablePublicIP

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

func NewNullablePublicIP

func NewNullablePublicIP(val *PublicIP) *NullablePublicIP

func (NullablePublicIP) Get

func (v NullablePublicIP) Get() *PublicIP

func (NullablePublicIP) IsSet

func (v NullablePublicIP) IsSet() bool

func (NullablePublicIP) MarshalJSON

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

func (*NullablePublicIP) Set

func (v *NullablePublicIP) Set(val *PublicIP)

func (*NullablePublicIP) UnmarshalJSON

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

func (*NullablePublicIP) Unset

func (v *NullablePublicIP) Unset()

type NullableQuota

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

func NewNullableQuota

func NewNullableQuota(val *Quota) *NullableQuota

func (NullableQuota) Get

func (v NullableQuota) Get() *Quota

func (NullableQuota) IsSet

func (v NullableQuota) IsSet() bool

func (NullableQuota) MarshalJSON

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

func (*NullableQuota) Set

func (v *NullableQuota) Set(val *Quota)

func (*NullableQuota) UnmarshalJSON

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

func (*NullableQuota) Unset

func (v *NullableQuota) Unset()

type NullableQuotaValue

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

func NewNullableQuotaValue

func NewNullableQuotaValue(val *QuotaValue) *NullableQuotaValue

func (NullableQuotaValue) Get

func (v NullableQuotaValue) Get() *QuotaValue

func (NullableQuotaValue) IsSet

func (v NullableQuotaValue) IsSet() bool

func (NullableQuotaValue) MarshalJSON

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

func (*NullableQuotaValue) Set

func (v *NullableQuotaValue) Set(val *QuotaValue)

func (*NullableQuotaValue) UnmarshalJSON

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

func (*NullableQuotaValue) Unset

func (v *NullableQuotaValue) Unset()

type NullableRebuildImageRequest

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

func NewNullableRebuildImageRequest

func NewNullableRebuildImageRequest(val *RebuildImageRequest) *NullableRebuildImageRequest

func (NullableRebuildImageRequest) Get

func (NullableRebuildImageRequest) IsSet

func (NullableRebuildImageRequest) MarshalJSON

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

func (*NullableRebuildImageRequest) Set

func (*NullableRebuildImageRequest) UnmarshalJSON

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

func (*NullableRebuildImageRequest) Unset

func (v *NullableRebuildImageRequest) 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 NullableRegionServerCreateOptions

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

func (NullableRegionServerCreateOptions) Get

func (NullableRegionServerCreateOptions) IsSet

func (NullableRegionServerCreateOptions) MarshalJSON

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

func (*NullableRegionServerCreateOptions) Set

func (*NullableRegionServerCreateOptions) UnmarshalJSON

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

func (*NullableRegionServerCreateOptions) Unset

type NullableRenameServerRequest

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

func NewNullableRenameServerRequest

func NewNullableRenameServerRequest(val *RenameServerRequest) *NullableRenameServerRequest

func (NullableRenameServerRequest) Get

func (NullableRenameServerRequest) IsSet

func (NullableRenameServerRequest) MarshalJSON

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

func (*NullableRenameServerRequest) Set

func (*NullableRenameServerRequest) UnmarshalJSON

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

func (*NullableRenameServerRequest) Unset

func (v *NullableRenameServerRequest) Unset()

type NullableRescueServerRequest

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

func NewNullableRescueServerRequest

func NewNullableRescueServerRequest(val *RescueServerRequest) *NullableRescueServerRequest

func (NullableRescueServerRequest) Get

func (NullableRescueServerRequest) IsSet

func (NullableRescueServerRequest) MarshalJSON

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

func (*NullableRescueServerRequest) Set

func (*NullableRescueServerRequest) UnmarshalJSON

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

func (*NullableRescueServerRequest) Unset

func (v *NullableRescueServerRequest) Unset()

type NullableResizeRootVolumeRequest

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

func (NullableResizeRootVolumeRequest) Get

func (NullableResizeRootVolumeRequest) IsSet

func (NullableResizeRootVolumeRequest) MarshalJSON

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

func (*NullableResizeRootVolumeRequest) Set

func (*NullableResizeRootVolumeRequest) UnmarshalJSON

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

func (*NullableResizeRootVolumeRequest) Unset

type NullableResizeServerRequest

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

func NewNullableResizeServerRequest

func NewNullableResizeServerRequest(val *ResizeServerRequest) *NullableResizeServerRequest

func (NullableResizeServerRequest) Get

func (NullableResizeServerRequest) IsSet

func (NullableResizeServerRequest) MarshalJSON

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

func (*NullableResizeServerRequest) Set

func (*NullableResizeServerRequest) UnmarshalJSON

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

func (*NullableResizeServerRequest) Unset

func (v *NullableResizeServerRequest) Unset()

type NullableRevertSnapshotRequest

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

func (NullableRevertSnapshotRequest) Get

func (NullableRevertSnapshotRequest) IsSet

func (NullableRevertSnapshotRequest) MarshalJSON

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

func (*NullableRevertSnapshotRequest) Set

func (*NullableRevertSnapshotRequest) UnmarshalJSON

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

func (*NullableRevertSnapshotRequest) Unset

func (v *NullableRevertSnapshotRequest) Unset()

type NullableRule

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

func NewNullableRule

func NewNullableRule(val *Rule) *NullableRule

func (NullableRule) Get

func (v NullableRule) Get() *Rule

func (NullableRule) IsSet

func (v NullableRule) IsSet() bool

func (NullableRule) MarshalJSON

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

func (*NullableRule) Set

func (v *NullableRule) Set(val *Rule)

func (*NullableRule) UnmarshalJSON

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

func (*NullableRule) Unset

func (v *NullableRule) Unset()

type NullableSSHKey

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

func NewNullableSSHKey

func NewNullableSSHKey(val *SSHKey) *NullableSSHKey

func (NullableSSHKey) Get

func (v NullableSSHKey) Get() *SSHKey

func (NullableSSHKey) IsSet

func (v NullableSSHKey) IsSet() bool

func (NullableSSHKey) MarshalJSON

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

func (*NullableSSHKey) Set

func (v *NullableSSHKey) Set(val *SSHKey)

func (*NullableSSHKey) UnmarshalJSON

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

func (*NullableSSHKey) Unset

func (v *NullableSSHKey) Unset()

type NullableSecurityGroup

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

func NewNullableSecurityGroup

func NewNullableSecurityGroup(val *SecurityGroup) *NullableSecurityGroup

func (NullableSecurityGroup) Get

func (NullableSecurityGroup) IsSet

func (v NullableSecurityGroup) IsSet() bool

func (NullableSecurityGroup) MarshalJSON

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

func (*NullableSecurityGroup) Set

func (v *NullableSecurityGroup) Set(val *SecurityGroup)

func (*NullableSecurityGroup) UnmarshalJSON

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

func (*NullableSecurityGroup) Unset

func (v *NullableSecurityGroup) Unset()

type NullableSecurityGroupName

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

func NewNullableSecurityGroupName

func NewNullableSecurityGroupName(val *SecurityGroupName) *NullableSecurityGroupName

func (NullableSecurityGroupName) Get

func (NullableSecurityGroupName) IsSet

func (v NullableSecurityGroupName) IsSet() bool

func (NullableSecurityGroupName) MarshalJSON

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

func (*NullableSecurityGroupName) Set

func (*NullableSecurityGroupName) UnmarshalJSON

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

func (*NullableSecurityGroupName) Unset

func (v *NullableSecurityGroupName) Unset()

type NullableSecurityGroupRule

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

func NewNullableSecurityGroupRule

func NewNullableSecurityGroupRule(val *SecurityGroupRule) *NullableSecurityGroupRule

func (NullableSecurityGroupRule) Get

func (NullableSecurityGroupRule) IsSet

func (v NullableSecurityGroupRule) IsSet() bool

func (NullableSecurityGroupRule) MarshalJSON

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

func (*NullableSecurityGroupRule) Set

func (*NullableSecurityGroupRule) UnmarshalJSON

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

func (*NullableSecurityGroupRule) Unset

func (v *NullableSecurityGroupRule) Unset()

type NullableServerAddress

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

func NewNullableServerAddress

func NewNullableServerAddress(val *ServerAddress) *NullableServerAddress

func (NullableServerAddress) Get

func (NullableServerAddress) IsSet

func (v NullableServerAddress) IsSet() bool

func (NullableServerAddress) MarshalJSON

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

func (*NullableServerAddress) Set

func (v *NullableServerAddress) Set(val *ServerAddress)

func (*NullableServerAddress) UnmarshalJSON

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

func (*NullableServerAddress) Unset

func (v *NullableServerAddress) Unset()

type NullableServerDetail

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

func NewNullableServerDetail

func NewNullableServerDetail(val *ServerDetail) *NullableServerDetail

func (NullableServerDetail) Get

func (NullableServerDetail) IsSet

func (v NullableServerDetail) IsSet() bool

func (NullableServerDetail) MarshalJSON

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

func (*NullableServerDetail) Set

func (v *NullableServerDetail) Set(val *ServerDetail)

func (*NullableServerDetail) UnmarshalJSON

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

func (*NullableServerDetail) Unset

func (v *NullableServerDetail) Unset()

type NullableServerFlavor

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

func NewNullableServerFlavor

func NewNullableServerFlavor(val *ServerFlavor) *NullableServerFlavor

func (NullableServerFlavor) Get

func (NullableServerFlavor) IsSet

func (v NullableServerFlavor) IsSet() bool

func (NullableServerFlavor) MarshalJSON

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

func (*NullableServerFlavor) Set

func (v *NullableServerFlavor) Set(val *ServerFlavor)

func (*NullableServerFlavor) UnmarshalJSON

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

func (*NullableServerFlavor) Unset

func (v *NullableServerFlavor) Unset()

type NullableServerIPInfo

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

func NewNullableServerIPInfo

func NewNullableServerIPInfo(val *ServerIPInfo) *NullableServerIPInfo

func (NullableServerIPInfo) Get

func (NullableServerIPInfo) IsSet

func (v NullableServerIPInfo) IsSet() bool

func (NullableServerIPInfo) MarshalJSON

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

func (*NullableServerIPInfo) Set

func (v *NullableServerIPInfo) Set(val *ServerIPInfo)

func (*NullableServerIPInfo) UnmarshalJSON

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

func (*NullableServerIPInfo) Unset

func (v *NullableServerIPInfo) Unset()

type NullableServerImage

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

func NewNullableServerImage

func NewNullableServerImage(val *ServerImage) *NullableServerImage

func (NullableServerImage) Get

func (NullableServerImage) IsSet

func (v NullableServerImage) IsSet() bool

func (NullableServerImage) MarshalJSON

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

func (*NullableServerImage) Set

func (v *NullableServerImage) Set(val *ServerImage)

func (*NullableServerImage) UnmarshalJSON

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

func (*NullableServerImage) Unset

func (v *NullableServerImage) Unset()

type NullableServerReports

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

func NewNullableServerReports

func NewNullableServerReports(val *ServerReports) *NullableServerReports

func (NullableServerReports) Get

func (NullableServerReports) IsSet

func (v NullableServerReports) IsSet() bool

func (NullableServerReports) MarshalJSON

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

func (*NullableServerReports) Set

func (v *NullableServerReports) Set(val *ServerReports)

func (*NullableServerReports) UnmarshalJSON

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

func (*NullableServerReports) Unset

func (v *NullableServerReports) Unset()

type NullableServerVolume

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

func NewNullableServerVolume

func NewNullableServerVolume(val *ServerVolume) *NullableServerVolume

func (NullableServerVolume) Get

func (NullableServerVolume) IsSet

func (v NullableServerVolume) IsSet() bool

func (NullableServerVolume) MarshalJSON

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

func (*NullableServerVolume) Set

func (v *NullableServerVolume) Set(val *ServerVolume)

func (*NullableServerVolume) UnmarshalJSON

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

func (*NullableServerVolume) Unset

func (v *NullableServerVolume) Unset()

type NullableSinglePlan

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

func NewNullableSinglePlan

func NewNullableSinglePlan(val *SinglePlan) *NullableSinglePlan

func (NullableSinglePlan) Get

func (v NullableSinglePlan) Get() *SinglePlan

func (NullableSinglePlan) IsSet

func (v NullableSinglePlan) IsSet() bool

func (NullableSinglePlan) MarshalJSON

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

func (*NullableSinglePlan) Set

func (v *NullableSinglePlan) Set(val *SinglePlan)

func (*NullableSinglePlan) UnmarshalJSON

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

func (*NullableSinglePlan) Unset

func (v *NullableSinglePlan) Unset()

type NullableSnapshotCreateRequest

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

func (NullableSnapshotCreateRequest) Get

func (NullableSnapshotCreateRequest) IsSet

func (NullableSnapshotCreateRequest) MarshalJSON

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

func (*NullableSnapshotCreateRequest) Set

func (*NullableSnapshotCreateRequest) UnmarshalJSON

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

func (*NullableSnapshotCreateRequest) Unset

func (v *NullableSnapshotCreateRequest) 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 NullableSubnet

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

func NewNullableSubnet

func NewNullableSubnet(val *Subnet) *NullableSubnet

func (NullableSubnet) Get

func (v NullableSubnet) Get() *Subnet

func (NullableSubnet) IsSet

func (v NullableSubnet) IsSet() bool

func (NullableSubnet) MarshalJSON

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

func (*NullableSubnet) Set

func (v *NullableSubnet) Set(val *Subnet)

func (*NullableSubnet) UnmarshalJSON

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

func (*NullableSubnet) Unset

func (v *NullableSubnet) Unset()

type NullableTag

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

func NewNullableTag

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON

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

func (*NullableTag) Set

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON

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

func (*NullableTag) Unset

func (v *NullableTag) 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 NullableUpdateTagRequest

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

func NewNullableUpdateTagRequest

func NewNullableUpdateTagRequest(val *UpdateTagRequest) *NullableUpdateTagRequest

func (NullableUpdateTagRequest) Get

func (NullableUpdateTagRequest) IsSet

func (v NullableUpdateTagRequest) IsSet() bool

func (NullableUpdateTagRequest) MarshalJSON

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

func (*NullableUpdateTagRequest) Set

func (*NullableUpdateTagRequest) UnmarshalJSON

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

func (*NullableUpdateTagRequest) Unset

func (v *NullableUpdateTagRequest) Unset()

type NullableUpdateVolumeRequest

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

func NewNullableUpdateVolumeRequest

func NewNullableUpdateVolumeRequest(val *UpdateVolumeRequest) *NullableUpdateVolumeRequest

func (NullableUpdateVolumeRequest) Get

func (NullableUpdateVolumeRequest) IsSet

func (NullableUpdateVolumeRequest) MarshalJSON

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

func (*NullableUpdateVolumeRequest) Set

func (*NullableUpdateVolumeRequest) UnmarshalJSON

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

func (*NullableUpdateVolumeRequest) Unset

func (v *NullableUpdateVolumeRequest) Unset()

type NullableUpdateVolumeSnapshotRequest

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

func (NullableUpdateVolumeSnapshotRequest) Get

func (NullableUpdateVolumeSnapshotRequest) IsSet

func (NullableUpdateVolumeSnapshotRequest) MarshalJSON

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

func (*NullableUpdateVolumeSnapshotRequest) Set

func (*NullableUpdateVolumeSnapshotRequest) UnmarshalJSON

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

func (*NullableUpdateVolumeSnapshotRequest) Unset

type NullableVolume

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

func NewNullableVolume

func NewNullableVolume(val *Volume) *NullableVolume

func (NullableVolume) Get

func (v NullableVolume) Get() *Volume

func (NullableVolume) IsSet

func (v NullableVolume) IsSet() bool

func (NullableVolume) MarshalJSON

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

func (*NullableVolume) Set

func (v *NullableVolume) Set(val *Volume)

func (*NullableVolume) UnmarshalJSON

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

func (*NullableVolume) Unset

func (v *NullableVolume) Unset()

type NullableVolumeAttachDetachRequest

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

func (NullableVolumeAttachDetachRequest) Get

func (NullableVolumeAttachDetachRequest) IsSet

func (NullableVolumeAttachDetachRequest) MarshalJSON

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

func (*NullableVolumeAttachDetachRequest) Set

func (*NullableVolumeAttachDetachRequest) UnmarshalJSON

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

func (*NullableVolumeAttachDetachRequest) Unset

type NullableVolumeLimits

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

func NewNullableVolumeLimits

func NewNullableVolumeLimits(val *VolumeLimits) *NullableVolumeLimits

func (NullableVolumeLimits) Get

func (NullableVolumeLimits) IsSet

func (v NullableVolumeLimits) IsSet() bool

func (NullableVolumeLimits) MarshalJSON

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

func (*NullableVolumeLimits) Set

func (v *NullableVolumeLimits) Set(val *VolumeLimits)

func (*NullableVolumeLimits) UnmarshalJSON

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

func (*NullableVolumeLimits) Unset

func (v *NullableVolumeLimits) Unset()

type NullableVolumeOptions

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

func NewNullableVolumeOptions

func NewNullableVolumeOptions(val *VolumeOptions) *NullableVolumeOptions

func (NullableVolumeOptions) Get

func (NullableVolumeOptions) IsSet

func (v NullableVolumeOptions) IsSet() bool

func (NullableVolumeOptions) MarshalJSON

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

func (*NullableVolumeOptions) Set

func (v *NullableVolumeOptions) Set(val *VolumeOptions)

func (*NullableVolumeOptions) UnmarshalJSON

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

func (*NullableVolumeOptions) Unset

func (v *NullableVolumeOptions) Unset()

type NullableVolumeSnapshot

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

func NewNullableVolumeSnapshot

func NewNullableVolumeSnapshot(val *VolumeSnapshot) *NullableVolumeSnapshot

func (NullableVolumeSnapshot) Get

func (NullableVolumeSnapshot) IsSet

func (v NullableVolumeSnapshot) IsSet() bool

func (NullableVolumeSnapshot) MarshalJSON

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

func (*NullableVolumeSnapshot) Set

func (*NullableVolumeSnapshot) UnmarshalJSON

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

func (*NullableVolumeSnapshot) Unset

func (v *NullableVolumeSnapshot) Unset()

type PTRAPICreatePTRRequest

type PTRAPICreatePTRRequest struct {
	ApiService *PTRAPIService
	// contains filtered or unexported fields
}

func (PTRAPICreatePTRRequest) CreatePTRRequest

func (r PTRAPICreatePTRRequest) CreatePTRRequest(createPTRRequest CreatePTRRequest) PTRAPICreatePTRRequest

IP and domain info of the PTR record

func (PTRAPICreatePTRRequest) Execute

type PTRAPIDeletePTRRequest

type PTRAPIDeletePTRRequest struct {
	ApiService *PTRAPIService
	// contains filtered or unexported fields
}

func (PTRAPIDeletePTRRequest) Execute

type PTRAPIService

type PTRAPIService service

PTRAPIService PTRAPI service

func (*PTRAPIService) CreatePTR

func (a *PTRAPIService) CreatePTR(ctx context.Context, region string) PTRAPICreatePTRRequest

CreatePTR Method for CreatePTR

Creates a PTR record on an IP

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

func (*PTRAPIService) CreatePTRExecute

Execute executes the request

@return MessageResponse

func (*PTRAPIService) DeletePTR

func (a *PTRAPIService) DeletePTR(ctx context.Context, region string, ip string) PTRAPIDeletePTRRequest

DeletePTR Method for DeletePTR

Deletes a PTR record pointing to the specified ip address

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param ip the IP which PTR record points to
@return PTRAPIDeletePTRRequest

func (*PTRAPIService) DeletePTRExecute

Execute executes the request

@return MessageResponse

type Plan

type Plan struct {
	BandwidthInBytes *int64   `json:"bandwidth_in_bytes,omitempty"`
	BasePackage      *string  `json:"base_package,omitempty"`
	Canary           *bool    `json:"canary,omitempty"`
	CpuCount         *int64   `json:"cpu_count,omitempty"`
	CpuShare         *string  `json:"cpu_share,omitempty"`
	CreateType       *string  `json:"create_type,omitempty"`
	Disk             *int64   `json:"disk,omitempty"`
	DiskInBytes      *int64   `json:"disk_in_bytes,omitempty"`
	Generation       *string  `json:"generation,omitempty"`
	Id               *string  `json:"id,omitempty"`
	IopsMaxHdd       *int64   `json:"iops_max_hdd,omitempty"`
	IopsMaxSsd       *int64   `json:"iops_max_ssd,omitempty"`
	Memory           *float64 `json:"memory,omitempty"`
	MemoryInBytes    *int64   `json:"memory_in_bytes,omitempty"`
	Name             *string  `json:"name,omitempty"`
	Off              *string  `json:"off,omitempty"`
	OffPercent       *string  `json:"off_percent,omitempty"`
	Order            *string  `json:"order,omitempty"`
	Outbound         *int64   `json:"outbound,omitempty"`
	PortSpeed        *float64 `json:"port_speed,omitempty"`
	Pps              []int64  `json:"pps,omitempty"`
	PricePerHour     *int64   `json:"price_per_hour,omitempty"`
	PricePerMonth    *int64   `json:"price_per_month,omitempty"`
	Subtype          *string  `json:"subtype,omitempty"`
	Throughput       *int64   `json:"throughput,omitempty"`
	Type             *string  `json:"type,omitempty"`
}

Plan struct for Plan

func NewPlan

func NewPlan() *Plan

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

func NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

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

func (*Plan) GetBandwidthInBytes

func (o *Plan) GetBandwidthInBytes() int64

GetBandwidthInBytes returns the BandwidthInBytes field value if set, zero value otherwise.

func (*Plan) GetBandwidthInBytesOk

func (o *Plan) GetBandwidthInBytesOk() (*int64, bool)

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

func (*Plan) GetBasePackage

func (o *Plan) GetBasePackage() string

GetBasePackage returns the BasePackage field value if set, zero value otherwise.

func (*Plan) GetBasePackageOk

func (o *Plan) GetBasePackageOk() (*string, bool)

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

func (*Plan) GetCanary

func (o *Plan) GetCanary() bool

GetCanary returns the Canary field value if set, zero value otherwise.

func (*Plan) GetCanaryOk

func (o *Plan) GetCanaryOk() (*bool, bool)

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

func (*Plan) GetCpuCount

func (o *Plan) GetCpuCount() int64

GetCpuCount returns the CpuCount field value if set, zero value otherwise.

func (*Plan) GetCpuCountOk

func (o *Plan) GetCpuCountOk() (*int64, bool)

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

func (*Plan) GetCpuShare

func (o *Plan) GetCpuShare() string

GetCpuShare returns the CpuShare field value if set, zero value otherwise.

func (*Plan) GetCpuShareOk

func (o *Plan) GetCpuShareOk() (*string, bool)

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

func (*Plan) GetCreateType

func (o *Plan) GetCreateType() string

GetCreateType returns the CreateType field value if set, zero value otherwise.

func (*Plan) GetCreateTypeOk

func (o *Plan) GetCreateTypeOk() (*string, bool)

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

func (*Plan) GetDisk

func (o *Plan) GetDisk() int64

GetDisk returns the Disk field value if set, zero value otherwise.

func (*Plan) GetDiskInBytes

func (o *Plan) GetDiskInBytes() int64

GetDiskInBytes returns the DiskInBytes field value if set, zero value otherwise.

func (*Plan) GetDiskInBytesOk

func (o *Plan) GetDiskInBytesOk() (*int64, bool)

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

func (*Plan) GetDiskOk

func (o *Plan) GetDiskOk() (*int64, bool)

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

func (*Plan) GetGeneration

func (o *Plan) GetGeneration() string

GetGeneration returns the Generation field value if set, zero value otherwise.

func (*Plan) GetGenerationOk

func (o *Plan) GetGenerationOk() (*string, bool)

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

func (*Plan) GetId

func (o *Plan) GetId() string

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

func (*Plan) GetIdOk

func (o *Plan) 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 (*Plan) GetIopsMaxHdd

func (o *Plan) GetIopsMaxHdd() int64

GetIopsMaxHdd returns the IopsMaxHdd field value if set, zero value otherwise.

func (*Plan) GetIopsMaxHddOk

func (o *Plan) GetIopsMaxHddOk() (*int64, bool)

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

func (*Plan) GetIopsMaxSsd

func (o *Plan) GetIopsMaxSsd() int64

GetIopsMaxSsd returns the IopsMaxSsd field value if set, zero value otherwise.

func (*Plan) GetIopsMaxSsdOk

func (o *Plan) GetIopsMaxSsdOk() (*int64, bool)

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

func (*Plan) GetMemory

func (o *Plan) GetMemory() float64

GetMemory returns the Memory field value if set, zero value otherwise.

func (*Plan) GetMemoryInBytes

func (o *Plan) GetMemoryInBytes() int64

GetMemoryInBytes returns the MemoryInBytes field value if set, zero value otherwise.

func (*Plan) GetMemoryInBytesOk

func (o *Plan) GetMemoryInBytesOk() (*int64, bool)

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

func (*Plan) GetMemoryOk

func (o *Plan) GetMemoryOk() (*float64, bool)

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

func (*Plan) GetName

func (o *Plan) GetName() string

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

func (*Plan) GetNameOk

func (o *Plan) 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 (*Plan) GetOff

func (o *Plan) GetOff() string

GetOff returns the Off field value if set, zero value otherwise.

func (*Plan) GetOffOk

func (o *Plan) GetOffOk() (*string, bool)

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

func (*Plan) GetOffPercent

func (o *Plan) GetOffPercent() string

GetOffPercent returns the OffPercent field value if set, zero value otherwise.

func (*Plan) GetOffPercentOk

func (o *Plan) GetOffPercentOk() (*string, bool)

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

func (*Plan) GetOrder

func (o *Plan) GetOrder() string

GetOrder returns the Order field value if set, zero value otherwise.

func (*Plan) GetOrderOk

func (o *Plan) GetOrderOk() (*string, bool)

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

func (*Plan) GetOutbound

func (o *Plan) GetOutbound() int64

GetOutbound returns the Outbound field value if set, zero value otherwise.

func (*Plan) GetOutboundOk

func (o *Plan) GetOutboundOk() (*int64, bool)

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

func (*Plan) GetPortSpeed

func (o *Plan) GetPortSpeed() float64

GetPortSpeed returns the PortSpeed field value if set, zero value otherwise.

func (*Plan) GetPortSpeedOk

func (o *Plan) GetPortSpeedOk() (*float64, bool)

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

func (*Plan) GetPps

func (o *Plan) GetPps() []int64

GetPps returns the Pps field value if set, zero value otherwise.

func (*Plan) GetPpsOk

func (o *Plan) GetPpsOk() ([]int64, bool)

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

func (*Plan) GetPricePerHour

func (o *Plan) GetPricePerHour() int64

GetPricePerHour returns the PricePerHour field value if set, zero value otherwise.

func (*Plan) GetPricePerHourOk

func (o *Plan) GetPricePerHourOk() (*int64, bool)

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

func (*Plan) GetPricePerMonth

func (o *Plan) GetPricePerMonth() int64

GetPricePerMonth returns the PricePerMonth field value if set, zero value otherwise.

func (*Plan) GetPricePerMonthOk

func (o *Plan) GetPricePerMonthOk() (*int64, bool)

GetPricePerMonthOk returns a tuple with the PricePerMonth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetSubtype

func (o *Plan) GetSubtype() string

GetSubtype returns the Subtype field value if set, zero value otherwise.

func (*Plan) GetSubtypeOk

func (o *Plan) GetSubtypeOk() (*string, bool)

GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetThroughput

func (o *Plan) GetThroughput() int64

GetThroughput returns the Throughput field value if set, zero value otherwise.

func (*Plan) GetThroughputOk

func (o *Plan) GetThroughputOk() (*int64, bool)

GetThroughputOk returns a tuple with the Throughput field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetType

func (o *Plan) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Plan) GetTypeOk

func (o *Plan) 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 (*Plan) HasBandwidthInBytes

func (o *Plan) HasBandwidthInBytes() bool

HasBandwidthInBytes returns a boolean if a field has been set.

func (*Plan) HasBasePackage

func (o *Plan) HasBasePackage() bool

HasBasePackage returns a boolean if a field has been set.

func (*Plan) HasCanary

func (o *Plan) HasCanary() bool

HasCanary returns a boolean if a field has been set.

func (*Plan) HasCpuCount

func (o *Plan) HasCpuCount() bool

HasCpuCount returns a boolean if a field has been set.

func (*Plan) HasCpuShare

func (o *Plan) HasCpuShare() bool

HasCpuShare returns a boolean if a field has been set.

func (*Plan) HasCreateType

func (o *Plan) HasCreateType() bool

HasCreateType returns a boolean if a field has been set.

func (*Plan) HasDisk

func (o *Plan) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*Plan) HasDiskInBytes

func (o *Plan) HasDiskInBytes() bool

HasDiskInBytes returns a boolean if a field has been set.

func (*Plan) HasGeneration

func (o *Plan) HasGeneration() bool

HasGeneration returns a boolean if a field has been set.

func (*Plan) HasId

func (o *Plan) HasId() bool

HasId returns a boolean if a field has been set.

func (*Plan) HasIopsMaxHdd

func (o *Plan) HasIopsMaxHdd() bool

HasIopsMaxHdd returns a boolean if a field has been set.

func (*Plan) HasIopsMaxSsd

func (o *Plan) HasIopsMaxSsd() bool

HasIopsMaxSsd returns a boolean if a field has been set.

func (*Plan) HasMemory

func (o *Plan) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*Plan) HasMemoryInBytes

func (o *Plan) HasMemoryInBytes() bool

HasMemoryInBytes returns a boolean if a field has been set.

func (*Plan) HasName

func (o *Plan) HasName() bool

HasName returns a boolean if a field has been set.

func (*Plan) HasOff

func (o *Plan) HasOff() bool

HasOff returns a boolean if a field has been set.

func (*Plan) HasOffPercent

func (o *Plan) HasOffPercent() bool

HasOffPercent returns a boolean if a field has been set.

func (*Plan) HasOrder

func (o *Plan) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*Plan) HasOutbound

func (o *Plan) HasOutbound() bool

HasOutbound returns a boolean if a field has been set.

func (*Plan) HasPortSpeed

func (o *Plan) HasPortSpeed() bool

HasPortSpeed returns a boolean if a field has been set.

func (*Plan) HasPps

func (o *Plan) HasPps() bool

HasPps returns a boolean if a field has been set.

func (*Plan) HasPricePerHour

func (o *Plan) HasPricePerHour() bool

HasPricePerHour returns a boolean if a field has been set.

func (*Plan) HasPricePerMonth

func (o *Plan) HasPricePerMonth() bool

HasPricePerMonth returns a boolean if a field has been set.

func (*Plan) HasSubtype

func (o *Plan) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

func (*Plan) HasThroughput

func (o *Plan) HasThroughput() bool

HasThroughput returns a boolean if a field has been set.

func (*Plan) HasType

func (o *Plan) HasType() bool

HasType returns a boolean if a field has been set.

func (Plan) MarshalJSON

func (o Plan) MarshalJSON() ([]byte, error)

func (*Plan) SetBandwidthInBytes

func (o *Plan) SetBandwidthInBytes(v int64)

SetBandwidthInBytes gets a reference to the given int64 and assigns it to the BandwidthInBytes field.

func (*Plan) SetBasePackage

func (o *Plan) SetBasePackage(v string)

SetBasePackage gets a reference to the given string and assigns it to the BasePackage field.

func (*Plan) SetCanary

func (o *Plan) SetCanary(v bool)

SetCanary gets a reference to the given bool and assigns it to the Canary field.

func (*Plan) SetCpuCount

func (o *Plan) SetCpuCount(v int64)

SetCpuCount gets a reference to the given int64 and assigns it to the CpuCount field.

func (*Plan) SetCpuShare

func (o *Plan) SetCpuShare(v string)

SetCpuShare gets a reference to the given string and assigns it to the CpuShare field.

func (*Plan) SetCreateType

func (o *Plan) SetCreateType(v string)

SetCreateType gets a reference to the given string and assigns it to the CreateType field.

func (*Plan) SetDisk

func (o *Plan) SetDisk(v int64)

SetDisk gets a reference to the given int64 and assigns it to the Disk field.

func (*Plan) SetDiskInBytes

func (o *Plan) SetDiskInBytes(v int64)

SetDiskInBytes gets a reference to the given int64 and assigns it to the DiskInBytes field.

func (*Plan) SetGeneration

func (o *Plan) SetGeneration(v string)

SetGeneration gets a reference to the given string and assigns it to the Generation field.

func (*Plan) SetId

func (o *Plan) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Plan) SetIopsMaxHdd

func (o *Plan) SetIopsMaxHdd(v int64)

SetIopsMaxHdd gets a reference to the given int64 and assigns it to the IopsMaxHdd field.

func (*Plan) SetIopsMaxSsd

func (o *Plan) SetIopsMaxSsd(v int64)

SetIopsMaxSsd gets a reference to the given int64 and assigns it to the IopsMaxSsd field.

func (*Plan) SetMemory

func (o *Plan) SetMemory(v float64)

SetMemory gets a reference to the given float64 and assigns it to the Memory field.

func (*Plan) SetMemoryInBytes

func (o *Plan) SetMemoryInBytes(v int64)

SetMemoryInBytes gets a reference to the given int64 and assigns it to the MemoryInBytes field.

func (*Plan) SetName

func (o *Plan) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Plan) SetOff

func (o *Plan) SetOff(v string)

SetOff gets a reference to the given string and assigns it to the Off field.

func (*Plan) SetOffPercent

func (o *Plan) SetOffPercent(v string)

SetOffPercent gets a reference to the given string and assigns it to the OffPercent field.

func (*Plan) SetOrder

func (o *Plan) SetOrder(v string)

SetOrder gets a reference to the given string and assigns it to the Order field.

func (*Plan) SetOutbound

func (o *Plan) SetOutbound(v int64)

SetOutbound gets a reference to the given int64 and assigns it to the Outbound field.

func (*Plan) SetPortSpeed

func (o *Plan) SetPortSpeed(v float64)

SetPortSpeed gets a reference to the given float64 and assigns it to the PortSpeed field.

func (*Plan) SetPps

func (o *Plan) SetPps(v []int64)

SetPps gets a reference to the given []int64 and assigns it to the Pps field.

func (*Plan) SetPricePerHour

func (o *Plan) SetPricePerHour(v int64)

SetPricePerHour gets a reference to the given int64 and assigns it to the PricePerHour field.

func (*Plan) SetPricePerMonth

func (o *Plan) SetPricePerMonth(v int64)

SetPricePerMonth gets a reference to the given int64 and assigns it to the PricePerMonth field.

func (*Plan) SetSubtype

func (o *Plan) SetSubtype(v string)

SetSubtype gets a reference to the given string and assigns it to the Subtype field.

func (*Plan) SetThroughput

func (o *Plan) SetThroughput(v int64)

SetThroughput gets a reference to the given int64 and assigns it to the Throughput field.

func (*Plan) SetType

func (o *Plan) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Plan) ToMap

func (o Plan) ToMap() (map[string]interface{}, error)

type PlansAPIGetAllRegionPlansRequest

type PlansAPIGetAllRegionPlansRequest struct {
	ApiService *PlansAPIService
	// contains filtered or unexported fields
}

func (PlansAPIGetAllRegionPlansRequest) Cpu

filters based on cpu core count if exists

func (PlansAPIGetAllRegionPlansRequest) Disk

filters based on disk GB if exists

func (PlansAPIGetAllRegionPlansRequest) Execute

func (PlansAPIGetAllRegionPlansRequest) Ram

filters based on RAM MB if exists

type PlansAPIGetPlanByIDRequest

type PlansAPIGetPlanByIDRequest struct {
	ApiService *PlansAPIService
	// contains filtered or unexported fields
}

func (PlansAPIGetPlanByIDRequest) Execute

type PlansAPIService

type PlansAPIService service

PlansAPIService PlansAPI service

func (*PlansAPIService) GetAllRegionPlans

func (a *PlansAPIService) GetAllRegionPlans(ctx context.Context, region string) PlansAPIGetAllRegionPlansRequest

GetAllRegionPlans Method for GetAllRegionPlans

Returns info about a region's available plans

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return PlansAPIGetAllRegionPlansRequest

func (*PlansAPIService) GetAllRegionPlansExecute

func (a *PlansAPIService) GetAllRegionPlansExecute(r PlansAPIGetAllRegionPlansRequest) (*Plan, *http.Response, error)

Execute executes the request

@return Plan

func (*PlansAPIService) GetPlanByID

func (a *PlansAPIService) GetPlanByID(ctx context.Context, region string, id string) PlansAPIGetPlanByIDRequest

GetPlanByID Method for GetPlanByID

Returns a specific plan based on its code

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id plan id
@return PlansAPIGetPlanByIDRequest

func (*PlansAPIService) GetPlanByIDExecute

Execute executes the request

@return SinglePlan

type PortSecGroupData

type PortSecGroupData struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

PortSecGroupData struct for PortSecGroupData

func NewPortSecGroupData

func NewPortSecGroupData() *PortSecGroupData

NewPortSecGroupData instantiates a new PortSecGroupData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortSecGroupDataWithDefaults

func NewPortSecGroupDataWithDefaults() *PortSecGroupData

NewPortSecGroupDataWithDefaults instantiates a new PortSecGroupData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortSecGroupData) GetId

func (o *PortSecGroupData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PortSecGroupData) GetIdOk

func (o *PortSecGroupData) 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 (*PortSecGroupData) GetName

func (o *PortSecGroupData) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PortSecGroupData) GetNameOk

func (o *PortSecGroupData) 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 (*PortSecGroupData) HasId

func (o *PortSecGroupData) HasId() bool

HasId returns a boolean if a field has been set.

func (*PortSecGroupData) HasName

func (o *PortSecGroupData) HasName() bool

HasName returns a boolean if a field has been set.

func (PortSecGroupData) MarshalJSON

func (o PortSecGroupData) MarshalJSON() ([]byte, error)

func (*PortSecGroupData) SetId

func (o *PortSecGroupData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PortSecGroupData) SetName

func (o *PortSecGroupData) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (PortSecGroupData) ToMap

func (o PortSecGroupData) ToMap() (map[string]interface{}, error)

type PortsAPIDisablePortRequest

type PortsAPIDisablePortRequest struct {
	ApiService *PortsAPIService
	// contains filtered or unexported fields
}

func (PortsAPIDisablePortRequest) Execute

type PortsAPIDisablePortSecurityRequest

type PortsAPIDisablePortSecurityRequest struct {
	ApiService *PortsAPIService
	// contains filtered or unexported fields
}

func (PortsAPIDisablePortSecurityRequest) Execute

type PortsAPIEnablePortRequest

type PortsAPIEnablePortRequest struct {
	ApiService *PortsAPIService
	// contains filtered or unexported fields
}

func (PortsAPIEnablePortRequest) Execute

type PortsAPIEnablePortSecurityRequest

type PortsAPIEnablePortSecurityRequest struct {
	ApiService *PortsAPIService
	// contains filtered or unexported fields
}

func (PortsAPIEnablePortSecurityRequest) Execute

type PortsAPIService

type PortsAPIService service

PortsAPIService PortsAPI service

func (*PortsAPIService) DisablePort

func (a *PortsAPIService) DisablePort(ctx context.Context, region string, id string) PortsAPIDisablePortRequest

DisablePort Method for DisablePort

Disable a port, which disables its interface in the attached server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id port id
@return PortsAPIDisablePortRequest

func (*PortsAPIService) DisablePortExecute

Execute executes the request

@return MessageResponse

func (*PortsAPIService) DisablePortSecurity

func (a *PortsAPIService) DisablePortSecurity(ctx context.Context, region string, id string) PortsAPIDisablePortSecurityRequest

DisablePortSecurity Method for DisablePortSecurity

Disable port security on given port. If disabled, security groups can't be assigned to this port

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id port id
@return PortsAPIDisablePortSecurityRequest

func (*PortsAPIService) DisablePortSecurityExecute

Execute executes the request

@return MessageResponse

func (*PortsAPIService) EnablePort

func (a *PortsAPIService) EnablePort(ctx context.Context, region string, id string) PortsAPIEnablePortRequest

EnablePort Method for EnablePort

Enable a port, this enables its interface in the attached server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id port id
@return PortsAPIEnablePortRequest

func (*PortsAPIService) EnablePortExecute

Execute executes the request

@return MessageResponse

func (*PortsAPIService) EnablePortSecurity

func (a *PortsAPIService) EnablePortSecurity(ctx context.Context, region string, id string) PortsAPIEnablePortSecurityRequest

EnablePortSecurity Method for EnablePortSecurity

Enables port security on a port

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id port id
@return PortsAPIEnablePortSecurityRequest

func (*PortsAPIService) EnablePortSecurityExecute

Execute executes the request

@return MessageResponse

type PublicIP

type PublicIP struct {
	IpAddress *string `json:"ip_address,omitempty"`
	SubnetId  *string `json:"subnet_id,omitempty"`
}

PublicIP struct for PublicIP

func NewPublicIP

func NewPublicIP() *PublicIP

NewPublicIP instantiates a new PublicIP object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPublicIPWithDefaults

func NewPublicIPWithDefaults() *PublicIP

NewPublicIPWithDefaults instantiates a new PublicIP object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PublicIP) GetIpAddress

func (o *PublicIP) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*PublicIP) GetIpAddressOk

func (o *PublicIP) GetIpAddressOk() (*string, bool)

GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PublicIP) GetSubnetId

func (o *PublicIP) GetSubnetId() string

GetSubnetId returns the SubnetId field value if set, zero value otherwise.

func (*PublicIP) GetSubnetIdOk

func (o *PublicIP) GetSubnetIdOk() (*string, bool)

GetSubnetIdOk returns a tuple with the SubnetId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PublicIP) HasIpAddress

func (o *PublicIP) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*PublicIP) HasSubnetId

func (o *PublicIP) HasSubnetId() bool

HasSubnetId returns a boolean if a field has been set.

func (PublicIP) MarshalJSON

func (o PublicIP) MarshalJSON() ([]byte, error)

func (*PublicIP) SetIpAddress

func (o *PublicIP) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

func (*PublicIP) SetSubnetId

func (o *PublicIP) SetSubnetId(v string)

SetSubnetId gets a reference to the given string and assigns it to the SubnetId field.

func (PublicIP) ToMap

func (o PublicIP) ToMap() (map[string]interface{}, error)

type Quota

type Quota struct {
	MaxImageMeta            *QuotaValue `json:"max_image_meta,omitempty"`
	MaxPersonality          *QuotaValue `json:"max_personality,omitempty"`
	MaxPersonalitySize      *QuotaValue `json:"max_personality_size,omitempty"`
	MaxSecurityGroupRules   *QuotaValue `json:"max_security_group_rules,omitempty"`
	MaxSecurityGroups       *QuotaValue `json:"max_security_groups,omitempty"`
	MaxServerGroupMembers   *QuotaValue `json:"max_server_group_members,omitempty"`
	MaxServerGroups         *QuotaValue `json:"max_server_groups,omitempty"`
	MaxServerMeta           *QuotaValue `json:"max_server_meta,omitempty"`
	MaxTotalCores           *QuotaValue `json:"max_total_cores,omitempty"`
	MaxTotalFloatingIps     *QuotaValue `json:"max_total_floating_ips,omitempty"`
	MaxTotalInstances       *QuotaValue `json:"max_total_instances,omitempty"`
	MaxTotalKeypairs        *QuotaValue `json:"max_total_keypairs,omitempty"`
	MaxTotalRamSize         *QuotaValue `json:"max_total_ram_size,omitempty"`
	TotalCoresUsed          *int64      `json:"total_cores_used,omitempty"`
	TotalFloatingIpsUsed    *int64      `json:"total_floating_ips_used,omitempty"`
	TotalInstancesUsed      *int64      `json:"total_instances_used,omitempty"`
	TotalRamUsed            *int64      `json:"total_ram_used,omitempty"`
	TotalSecurityGroupsUsed *int64      `json:"total_security_groups_used,omitempty"`
	TotalServerGroupsUsed   *int64      `json:"total_server_groups_used,omitempty"`
}

Quota struct for Quota

func NewQuota

func NewQuota() *Quota

NewQuota instantiates a new Quota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuotaWithDefaults

func NewQuotaWithDefaults() *Quota

NewQuotaWithDefaults instantiates a new Quota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Quota) GetMaxImageMeta

func (o *Quota) GetMaxImageMeta() QuotaValue

GetMaxImageMeta returns the MaxImageMeta field value if set, zero value otherwise.

func (*Quota) GetMaxImageMetaOk

func (o *Quota) GetMaxImageMetaOk() (*QuotaValue, bool)

GetMaxImageMetaOk returns a tuple with the MaxImageMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxPersonality

func (o *Quota) GetMaxPersonality() QuotaValue

GetMaxPersonality returns the MaxPersonality field value if set, zero value otherwise.

func (*Quota) GetMaxPersonalityOk

func (o *Quota) GetMaxPersonalityOk() (*QuotaValue, bool)

GetMaxPersonalityOk returns a tuple with the MaxPersonality field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxPersonalitySize

func (o *Quota) GetMaxPersonalitySize() QuotaValue

GetMaxPersonalitySize returns the MaxPersonalitySize field value if set, zero value otherwise.

func (*Quota) GetMaxPersonalitySizeOk

func (o *Quota) GetMaxPersonalitySizeOk() (*QuotaValue, bool)

GetMaxPersonalitySizeOk returns a tuple with the MaxPersonalitySize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxSecurityGroupRules

func (o *Quota) GetMaxSecurityGroupRules() QuotaValue

GetMaxSecurityGroupRules returns the MaxSecurityGroupRules field value if set, zero value otherwise.

func (*Quota) GetMaxSecurityGroupRulesOk

func (o *Quota) GetMaxSecurityGroupRulesOk() (*QuotaValue, bool)

GetMaxSecurityGroupRulesOk returns a tuple with the MaxSecurityGroupRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxSecurityGroups

func (o *Quota) GetMaxSecurityGroups() QuotaValue

GetMaxSecurityGroups returns the MaxSecurityGroups field value if set, zero value otherwise.

func (*Quota) GetMaxSecurityGroupsOk

func (o *Quota) GetMaxSecurityGroupsOk() (*QuotaValue, bool)

GetMaxSecurityGroupsOk returns a tuple with the MaxSecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxServerGroupMembers

func (o *Quota) GetMaxServerGroupMembers() QuotaValue

GetMaxServerGroupMembers returns the MaxServerGroupMembers field value if set, zero value otherwise.

func (*Quota) GetMaxServerGroupMembersOk

func (o *Quota) GetMaxServerGroupMembersOk() (*QuotaValue, bool)

GetMaxServerGroupMembersOk returns a tuple with the MaxServerGroupMembers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxServerGroups

func (o *Quota) GetMaxServerGroups() QuotaValue

GetMaxServerGroups returns the MaxServerGroups field value if set, zero value otherwise.

func (*Quota) GetMaxServerGroupsOk

func (o *Quota) GetMaxServerGroupsOk() (*QuotaValue, bool)

GetMaxServerGroupsOk returns a tuple with the MaxServerGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxServerMeta

func (o *Quota) GetMaxServerMeta() QuotaValue

GetMaxServerMeta returns the MaxServerMeta field value if set, zero value otherwise.

func (*Quota) GetMaxServerMetaOk

func (o *Quota) GetMaxServerMetaOk() (*QuotaValue, bool)

GetMaxServerMetaOk returns a tuple with the MaxServerMeta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxTotalCores

func (o *Quota) GetMaxTotalCores() QuotaValue

GetMaxTotalCores returns the MaxTotalCores field value if set, zero value otherwise.

func (*Quota) GetMaxTotalCoresOk

func (o *Quota) GetMaxTotalCoresOk() (*QuotaValue, bool)

GetMaxTotalCoresOk returns a tuple with the MaxTotalCores field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxTotalFloatingIps

func (o *Quota) GetMaxTotalFloatingIps() QuotaValue

GetMaxTotalFloatingIps returns the MaxTotalFloatingIps field value if set, zero value otherwise.

func (*Quota) GetMaxTotalFloatingIpsOk

func (o *Quota) GetMaxTotalFloatingIpsOk() (*QuotaValue, bool)

GetMaxTotalFloatingIpsOk returns a tuple with the MaxTotalFloatingIps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxTotalInstances

func (o *Quota) GetMaxTotalInstances() QuotaValue

GetMaxTotalInstances returns the MaxTotalInstances field value if set, zero value otherwise.

func (*Quota) GetMaxTotalInstancesOk

func (o *Quota) GetMaxTotalInstancesOk() (*QuotaValue, bool)

GetMaxTotalInstancesOk returns a tuple with the MaxTotalInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxTotalKeypairs

func (o *Quota) GetMaxTotalKeypairs() QuotaValue

GetMaxTotalKeypairs returns the MaxTotalKeypairs field value if set, zero value otherwise.

func (*Quota) GetMaxTotalKeypairsOk

func (o *Quota) GetMaxTotalKeypairsOk() (*QuotaValue, bool)

GetMaxTotalKeypairsOk returns a tuple with the MaxTotalKeypairs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetMaxTotalRamSize

func (o *Quota) GetMaxTotalRamSize() QuotaValue

GetMaxTotalRamSize returns the MaxTotalRamSize field value if set, zero value otherwise.

func (*Quota) GetMaxTotalRamSizeOk

func (o *Quota) GetMaxTotalRamSizeOk() (*QuotaValue, bool)

GetMaxTotalRamSizeOk returns a tuple with the MaxTotalRamSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotalCoresUsed

func (o *Quota) GetTotalCoresUsed() int64

GetTotalCoresUsed returns the TotalCoresUsed field value if set, zero value otherwise.

func (*Quota) GetTotalCoresUsedOk

func (o *Quota) GetTotalCoresUsedOk() (*int64, bool)

GetTotalCoresUsedOk returns a tuple with the TotalCoresUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotalFloatingIpsUsed

func (o *Quota) GetTotalFloatingIpsUsed() int64

GetTotalFloatingIpsUsed returns the TotalFloatingIpsUsed field value if set, zero value otherwise.

func (*Quota) GetTotalFloatingIpsUsedOk

func (o *Quota) GetTotalFloatingIpsUsedOk() (*int64, bool)

GetTotalFloatingIpsUsedOk returns a tuple with the TotalFloatingIpsUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotalInstancesUsed

func (o *Quota) GetTotalInstancesUsed() int64

GetTotalInstancesUsed returns the TotalInstancesUsed field value if set, zero value otherwise.

func (*Quota) GetTotalInstancesUsedOk

func (o *Quota) GetTotalInstancesUsedOk() (*int64, bool)

GetTotalInstancesUsedOk returns a tuple with the TotalInstancesUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotalRamUsed

func (o *Quota) GetTotalRamUsed() int64

GetTotalRamUsed returns the TotalRamUsed field value if set, zero value otherwise.

func (*Quota) GetTotalRamUsedOk

func (o *Quota) GetTotalRamUsedOk() (*int64, bool)

GetTotalRamUsedOk returns a tuple with the TotalRamUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotalSecurityGroupsUsed

func (o *Quota) GetTotalSecurityGroupsUsed() int64

GetTotalSecurityGroupsUsed returns the TotalSecurityGroupsUsed field value if set, zero value otherwise.

func (*Quota) GetTotalSecurityGroupsUsedOk

func (o *Quota) GetTotalSecurityGroupsUsedOk() (*int64, bool)

GetTotalSecurityGroupsUsedOk returns a tuple with the TotalSecurityGroupsUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotalServerGroupsUsed

func (o *Quota) GetTotalServerGroupsUsed() int64

GetTotalServerGroupsUsed returns the TotalServerGroupsUsed field value if set, zero value otherwise.

func (*Quota) GetTotalServerGroupsUsedOk

func (o *Quota) GetTotalServerGroupsUsedOk() (*int64, bool)

GetTotalServerGroupsUsedOk returns a tuple with the TotalServerGroupsUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) HasMaxImageMeta

func (o *Quota) HasMaxImageMeta() bool

HasMaxImageMeta returns a boolean if a field has been set.

func (*Quota) HasMaxPersonality

func (o *Quota) HasMaxPersonality() bool

HasMaxPersonality returns a boolean if a field has been set.

func (*Quota) HasMaxPersonalitySize

func (o *Quota) HasMaxPersonalitySize() bool

HasMaxPersonalitySize returns a boolean if a field has been set.

func (*Quota) HasMaxSecurityGroupRules

func (o *Quota) HasMaxSecurityGroupRules() bool

HasMaxSecurityGroupRules returns a boolean if a field has been set.

func (*Quota) HasMaxSecurityGroups

func (o *Quota) HasMaxSecurityGroups() bool

HasMaxSecurityGroups returns a boolean if a field has been set.

func (*Quota) HasMaxServerGroupMembers

func (o *Quota) HasMaxServerGroupMembers() bool

HasMaxServerGroupMembers returns a boolean if a field has been set.

func (*Quota) HasMaxServerGroups

func (o *Quota) HasMaxServerGroups() bool

HasMaxServerGroups returns a boolean if a field has been set.

func (*Quota) HasMaxServerMeta

func (o *Quota) HasMaxServerMeta() bool

HasMaxServerMeta returns a boolean if a field has been set.

func (*Quota) HasMaxTotalCores

func (o *Quota) HasMaxTotalCores() bool

HasMaxTotalCores returns a boolean if a field has been set.

func (*Quota) HasMaxTotalFloatingIps

func (o *Quota) HasMaxTotalFloatingIps() bool

HasMaxTotalFloatingIps returns a boolean if a field has been set.

func (*Quota) HasMaxTotalInstances

func (o *Quota) HasMaxTotalInstances() bool

HasMaxTotalInstances returns a boolean if a field has been set.

func (*Quota) HasMaxTotalKeypairs

func (o *Quota) HasMaxTotalKeypairs() bool

HasMaxTotalKeypairs returns a boolean if a field has been set.

func (*Quota) HasMaxTotalRamSize

func (o *Quota) HasMaxTotalRamSize() bool

HasMaxTotalRamSize returns a boolean if a field has been set.

func (*Quota) HasTotalCoresUsed

func (o *Quota) HasTotalCoresUsed() bool

HasTotalCoresUsed returns a boolean if a field has been set.

func (*Quota) HasTotalFloatingIpsUsed

func (o *Quota) HasTotalFloatingIpsUsed() bool

HasTotalFloatingIpsUsed returns a boolean if a field has been set.

func (*Quota) HasTotalInstancesUsed

func (o *Quota) HasTotalInstancesUsed() bool

HasTotalInstancesUsed returns a boolean if a field has been set.

func (*Quota) HasTotalRamUsed

func (o *Quota) HasTotalRamUsed() bool

HasTotalRamUsed returns a boolean if a field has been set.

func (*Quota) HasTotalSecurityGroupsUsed

func (o *Quota) HasTotalSecurityGroupsUsed() bool

HasTotalSecurityGroupsUsed returns a boolean if a field has been set.

func (*Quota) HasTotalServerGroupsUsed

func (o *Quota) HasTotalServerGroupsUsed() bool

HasTotalServerGroupsUsed returns a boolean if a field has been set.

func (Quota) MarshalJSON

func (o Quota) MarshalJSON() ([]byte, error)

func (*Quota) SetMaxImageMeta

func (o *Quota) SetMaxImageMeta(v QuotaValue)

SetMaxImageMeta gets a reference to the given QuotaValue and assigns it to the MaxImageMeta field.

func (*Quota) SetMaxPersonality

func (o *Quota) SetMaxPersonality(v QuotaValue)

SetMaxPersonality gets a reference to the given QuotaValue and assigns it to the MaxPersonality field.

func (*Quota) SetMaxPersonalitySize

func (o *Quota) SetMaxPersonalitySize(v QuotaValue)

SetMaxPersonalitySize gets a reference to the given QuotaValue and assigns it to the MaxPersonalitySize field.

func (*Quota) SetMaxSecurityGroupRules

func (o *Quota) SetMaxSecurityGroupRules(v QuotaValue)

SetMaxSecurityGroupRules gets a reference to the given QuotaValue and assigns it to the MaxSecurityGroupRules field.

func (*Quota) SetMaxSecurityGroups

func (o *Quota) SetMaxSecurityGroups(v QuotaValue)

SetMaxSecurityGroups gets a reference to the given QuotaValue and assigns it to the MaxSecurityGroups field.

func (*Quota) SetMaxServerGroupMembers

func (o *Quota) SetMaxServerGroupMembers(v QuotaValue)

SetMaxServerGroupMembers gets a reference to the given QuotaValue and assigns it to the MaxServerGroupMembers field.

func (*Quota) SetMaxServerGroups

func (o *Quota) SetMaxServerGroups(v QuotaValue)

SetMaxServerGroups gets a reference to the given QuotaValue and assigns it to the MaxServerGroups field.

func (*Quota) SetMaxServerMeta

func (o *Quota) SetMaxServerMeta(v QuotaValue)

SetMaxServerMeta gets a reference to the given QuotaValue and assigns it to the MaxServerMeta field.

func (*Quota) SetMaxTotalCores

func (o *Quota) SetMaxTotalCores(v QuotaValue)

SetMaxTotalCores gets a reference to the given QuotaValue and assigns it to the MaxTotalCores field.

func (*Quota) SetMaxTotalFloatingIps

func (o *Quota) SetMaxTotalFloatingIps(v QuotaValue)

SetMaxTotalFloatingIps gets a reference to the given QuotaValue and assigns it to the MaxTotalFloatingIps field.

func (*Quota) SetMaxTotalInstances

func (o *Quota) SetMaxTotalInstances(v QuotaValue)

SetMaxTotalInstances gets a reference to the given QuotaValue and assigns it to the MaxTotalInstances field.

func (*Quota) SetMaxTotalKeypairs

func (o *Quota) SetMaxTotalKeypairs(v QuotaValue)

SetMaxTotalKeypairs gets a reference to the given QuotaValue and assigns it to the MaxTotalKeypairs field.

func (*Quota) SetMaxTotalRamSize

func (o *Quota) SetMaxTotalRamSize(v QuotaValue)

SetMaxTotalRamSize gets a reference to the given QuotaValue and assigns it to the MaxTotalRamSize field.

func (*Quota) SetTotalCoresUsed

func (o *Quota) SetTotalCoresUsed(v int64)

SetTotalCoresUsed gets a reference to the given int64 and assigns it to the TotalCoresUsed field.

func (*Quota) SetTotalFloatingIpsUsed

func (o *Quota) SetTotalFloatingIpsUsed(v int64)

SetTotalFloatingIpsUsed gets a reference to the given int64 and assigns it to the TotalFloatingIpsUsed field.

func (*Quota) SetTotalInstancesUsed

func (o *Quota) SetTotalInstancesUsed(v int64)

SetTotalInstancesUsed gets a reference to the given int64 and assigns it to the TotalInstancesUsed field.

func (*Quota) SetTotalRamUsed

func (o *Quota) SetTotalRamUsed(v int64)

SetTotalRamUsed gets a reference to the given int64 and assigns it to the TotalRamUsed field.

func (*Quota) SetTotalSecurityGroupsUsed

func (o *Quota) SetTotalSecurityGroupsUsed(v int64)

SetTotalSecurityGroupsUsed gets a reference to the given int64 and assigns it to the TotalSecurityGroupsUsed field.

func (*Quota) SetTotalServerGroupsUsed

func (o *Quota) SetTotalServerGroupsUsed(v int64)

SetTotalServerGroupsUsed gets a reference to the given int64 and assigns it to the TotalServerGroupsUsed field.

func (Quota) ToMap

func (o Quota) ToMap() (map[string]interface{}, error)

type QuotaAPIGetUserLimitsRequest

type QuotaAPIGetUserLimitsRequest struct {
	ApiService *QuotaAPIService
	// contains filtered or unexported fields
}

func (QuotaAPIGetUserLimitsRequest) Execute

type QuotaAPIService

type QuotaAPIService service

QuotaAPIService QuotaAPI service

func (*QuotaAPIService) GetUserLimits

func (a *QuotaAPIService) GetUserLimits(ctx context.Context, region string) QuotaAPIGetUserLimitsRequest

GetUserLimits Method for GetUserLimits

Returns the limit of resources the user can allocate

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return QuotaAPIGetUserLimitsRequest

func (*QuotaAPIService) GetUserLimitsExecute

func (a *QuotaAPIService) GetUserLimitsExecute(r QuotaAPIGetUserLimitsRequest) (*Quota, *http.Response, error)

Execute executes the request

@return Quota

type QuotaValue

type QuotaValue struct {
	Unlimited *bool  `json:"unlimited,omitempty"`
	Value     *int64 `json:"value,omitempty"`
}

QuotaValue struct for QuotaValue

func NewQuotaValue

func NewQuotaValue() *QuotaValue

NewQuotaValue instantiates a new QuotaValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuotaValueWithDefaults

func NewQuotaValueWithDefaults() *QuotaValue

NewQuotaValueWithDefaults instantiates a new QuotaValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*QuotaValue) GetUnlimited

func (o *QuotaValue) GetUnlimited() bool

GetUnlimited returns the Unlimited field value if set, zero value otherwise.

func (*QuotaValue) GetUnlimitedOk

func (o *QuotaValue) GetUnlimitedOk() (*bool, bool)

GetUnlimitedOk returns a tuple with the Unlimited field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QuotaValue) GetValue

func (o *QuotaValue) GetValue() int64

GetValue returns the Value field value if set, zero value otherwise.

func (*QuotaValue) GetValueOk

func (o *QuotaValue) GetValueOk() (*int64, 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 (*QuotaValue) HasUnlimited

func (o *QuotaValue) HasUnlimited() bool

HasUnlimited returns a boolean if a field has been set.

func (*QuotaValue) HasValue

func (o *QuotaValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (QuotaValue) MarshalJSON

func (o QuotaValue) MarshalJSON() ([]byte, error)

func (*QuotaValue) SetUnlimited

func (o *QuotaValue) SetUnlimited(v bool)

SetUnlimited gets a reference to the given bool and assigns it to the Unlimited field.

func (*QuotaValue) SetValue

func (o *QuotaValue) SetValue(v int64)

SetValue gets a reference to the given int64 and assigns it to the Value field.

func (QuotaValue) ToMap

func (o QuotaValue) ToMap() (map[string]interface{}, error)

type RebuildImageRequest

type RebuildImageRequest struct {
	ImageId *string `json:"image_id,omitempty"`
}

RebuildImageRequest struct for RebuildImageRequest

func NewRebuildImageRequest

func NewRebuildImageRequest() *RebuildImageRequest

NewRebuildImageRequest instantiates a new RebuildImageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRebuildImageRequestWithDefaults

func NewRebuildImageRequestWithDefaults() *RebuildImageRequest

NewRebuildImageRequestWithDefaults instantiates a new RebuildImageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RebuildImageRequest) GetImageId

func (o *RebuildImageRequest) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*RebuildImageRequest) GetImageIdOk

func (o *RebuildImageRequest) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RebuildImageRequest) HasImageId

func (o *RebuildImageRequest) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (RebuildImageRequest) MarshalJSON

func (o RebuildImageRequest) MarshalJSON() ([]byte, error)

func (*RebuildImageRequest) SetImageId

func (o *RebuildImageRequest) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (RebuildImageRequest) ToMap

func (o RebuildImageRequest) ToMap() (map[string]interface{}, error)

type Region

type Region struct {
	Beta         *bool   `json:"beta,omitempty"`
	City         *string `json:"city,omitempty"`
	CityCode     *string `json:"city_code,omitempty"`
	Code         *string `json:"code,omitempty"`
	Country      *string `json:"country,omitempty"`
	Create       *bool   `json:"create,omitempty"`
	Dc           *string `json:"dc,omitempty"`
	DcCode       *string `json:"dc_code,omitempty"`
	Default      *bool   `json:"default,omitempty"`
	Flag         *string `json:"flag,omitempty"`
	New          *bool   `json:"new,omitempty"`
	Region       *string `json:"region,omitempty"`
	Soon         *bool   `json:"soon,omitempty"`
	Visible      *bool   `json:"visible,omitempty"`
	VolumeBacked *bool   `json:"volume_backed,omitempty"`
}

Region struct for Region

func NewRegion

func NewRegion() *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) GetBeta

func (o *Region) GetBeta() bool

GetBeta returns the Beta field value if set, zero value otherwise.

func (*Region) GetBetaOk

func (o *Region) GetBetaOk() (*bool, bool)

GetBetaOk returns a tuple with the Beta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetCity

func (o *Region) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*Region) GetCityCode

func (o *Region) GetCityCode() string

GetCityCode returns the CityCode field value if set, zero value otherwise.

func (*Region) GetCityCodeOk

func (o *Region) GetCityCodeOk() (*string, bool)

GetCityCodeOk returns a tuple with the CityCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetCityOk

func (o *Region) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetCode

func (o *Region) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Region) GetCodeOk

func (o *Region) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetCountry

func (o *Region) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*Region) GetCountryOk

func (o *Region) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetCreate

func (o *Region) GetCreate() bool

GetCreate returns the Create field value if set, zero value otherwise.

func (*Region) GetCreateOk

func (o *Region) GetCreateOk() (*bool, bool)

GetCreateOk returns a tuple with the Create field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetDc

func (o *Region) GetDc() string

GetDc returns the Dc field value if set, zero value otherwise.

func (*Region) GetDcCode

func (o *Region) GetDcCode() string

GetDcCode returns the DcCode field value if set, zero value otherwise.

func (*Region) GetDcCodeOk

func (o *Region) GetDcCodeOk() (*string, bool)

GetDcCodeOk returns a tuple with the DcCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetDcOk

func (o *Region) GetDcOk() (*string, bool)

GetDcOk returns a tuple with the Dc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetDefault

func (o *Region) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*Region) GetDefaultOk

func (o *Region) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetFlag

func (o *Region) GetFlag() string

GetFlag returns the Flag field value if set, zero value otherwise.

func (*Region) GetFlagOk

func (o *Region) GetFlagOk() (*string, bool)

GetFlagOk returns a tuple with the Flag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetNew

func (o *Region) GetNew() bool

GetNew returns the New field value if set, zero value otherwise.

func (*Region) GetNewOk

func (o *Region) GetNewOk() (*bool, bool)

GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetRegion

func (o *Region) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*Region) GetRegionOk

func (o *Region) GetRegionOk() (*string, 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 (*Region) GetSoon

func (o *Region) GetSoon() bool

GetSoon returns the Soon field value if set, zero value otherwise.

func (*Region) GetSoonOk

func (o *Region) GetSoonOk() (*bool, bool)

GetSoonOk returns a tuple with the Soon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetVisible

func (o *Region) GetVisible() bool

GetVisible returns the Visible field value if set, zero value otherwise.

func (*Region) GetVisibleOk

func (o *Region) GetVisibleOk() (*bool, bool)

GetVisibleOk returns a tuple with the Visible field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetVolumeBacked

func (o *Region) GetVolumeBacked() bool

GetVolumeBacked returns the VolumeBacked field value if set, zero value otherwise.

func (*Region) GetVolumeBackedOk

func (o *Region) GetVolumeBackedOk() (*bool, bool)

GetVolumeBackedOk returns a tuple with the VolumeBacked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) HasBeta

func (o *Region) HasBeta() bool

HasBeta returns a boolean if a field has been set.

func (*Region) HasCity

func (o *Region) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*Region) HasCityCode

func (o *Region) HasCityCode() bool

HasCityCode returns a boolean if a field has been set.

func (*Region) HasCode

func (o *Region) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Region) HasCountry

func (o *Region) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*Region) HasCreate

func (o *Region) HasCreate() bool

HasCreate returns a boolean if a field has been set.

func (*Region) HasDc

func (o *Region) HasDc() bool

HasDc returns a boolean if a field has been set.

func (*Region) HasDcCode

func (o *Region) HasDcCode() bool

HasDcCode returns a boolean if a field has been set.

func (*Region) HasDefault

func (o *Region) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*Region) HasFlag

func (o *Region) HasFlag() bool

HasFlag returns a boolean if a field has been set.

func (*Region) HasNew

func (o *Region) HasNew() bool

HasNew returns a boolean if a field has been set.

func (*Region) HasRegion

func (o *Region) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*Region) HasSoon

func (o *Region) HasSoon() bool

HasSoon returns a boolean if a field has been set.

func (*Region) HasVisible

func (o *Region) HasVisible() bool

HasVisible returns a boolean if a field has been set.

func (*Region) HasVolumeBacked

func (o *Region) HasVolumeBacked() bool

HasVolumeBacked returns a boolean if a field has been set.

func (Region) MarshalJSON

func (o Region) MarshalJSON() ([]byte, error)

func (*Region) SetBeta

func (o *Region) SetBeta(v bool)

SetBeta gets a reference to the given bool and assigns it to the Beta field.

func (*Region) SetCity

func (o *Region) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*Region) SetCityCode

func (o *Region) SetCityCode(v string)

SetCityCode gets a reference to the given string and assigns it to the CityCode field.

func (*Region) SetCode

func (o *Region) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Region) SetCountry

func (o *Region) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*Region) SetCreate

func (o *Region) SetCreate(v bool)

SetCreate gets a reference to the given bool and assigns it to the Create field.

func (*Region) SetDc

func (o *Region) SetDc(v string)

SetDc gets a reference to the given string and assigns it to the Dc field.

func (*Region) SetDcCode

func (o *Region) SetDcCode(v string)

SetDcCode gets a reference to the given string and assigns it to the DcCode field.

func (*Region) SetDefault

func (o *Region) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*Region) SetFlag

func (o *Region) SetFlag(v string)

SetFlag gets a reference to the given string and assigns it to the Flag field.

func (*Region) SetNew

func (o *Region) SetNew(v bool)

SetNew gets a reference to the given bool and assigns it to the New field.

func (*Region) SetRegion

func (o *Region) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*Region) SetSoon

func (o *Region) SetSoon(v bool)

SetSoon gets a reference to the given bool and assigns it to the Soon field.

func (*Region) SetVisible

func (o *Region) SetVisible(v bool)

SetVisible gets a reference to the given bool and assigns it to the Visible field.

func (*Region) SetVolumeBacked

func (o *Region) SetVolumeBacked(v bool)

SetVolumeBacked gets a reference to the given bool and assigns it to the VolumeBacked field.

func (Region) ToMap

func (o Region) ToMap() (map[string]interface{}, error)

type RegionServerCreateOptions

type RegionServerCreateOptions struct {
	Currency              *string `json:"currency,omitempty"`
	DropletCount          *int64  `json:"droplet_count,omitempty"`
	DropletLimit          *int64  `json:"droplet_limit,omitempty"`
	ImageName             *string `json:"image_name,omitempty"`
	ImageVersion          *string `json:"image_version,omitempty"`
	NetworkId             *string `json:"network_id,omitempty"`
	RegionId              *int64  `json:"region_id,omitempty"`
	RequiresPaymentMethod *bool   `json:"requires_payment_method,omitempty"`
}

RegionServerCreateOptions struct for RegionServerCreateOptions

func NewRegionServerCreateOptions

func NewRegionServerCreateOptions() *RegionServerCreateOptions

NewRegionServerCreateOptions instantiates a new RegionServerCreateOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegionServerCreateOptionsWithDefaults

func NewRegionServerCreateOptionsWithDefaults() *RegionServerCreateOptions

NewRegionServerCreateOptionsWithDefaults instantiates a new RegionServerCreateOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegionServerCreateOptions) GetCurrency

func (o *RegionServerCreateOptions) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetCurrencyOk

func (o *RegionServerCreateOptions) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetDropletCount

func (o *RegionServerCreateOptions) GetDropletCount() int64

GetDropletCount returns the DropletCount field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetDropletCountOk

func (o *RegionServerCreateOptions) GetDropletCountOk() (*int64, bool)

GetDropletCountOk returns a tuple with the DropletCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetDropletLimit

func (o *RegionServerCreateOptions) GetDropletLimit() int64

GetDropletLimit returns the DropletLimit field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetDropletLimitOk

func (o *RegionServerCreateOptions) GetDropletLimitOk() (*int64, bool)

GetDropletLimitOk returns a tuple with the DropletLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetImageName

func (o *RegionServerCreateOptions) GetImageName() string

GetImageName returns the ImageName field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetImageNameOk

func (o *RegionServerCreateOptions) GetImageNameOk() (*string, bool)

GetImageNameOk returns a tuple with the ImageName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetImageVersion

func (o *RegionServerCreateOptions) GetImageVersion() string

GetImageVersion returns the ImageVersion field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetImageVersionOk

func (o *RegionServerCreateOptions) GetImageVersionOk() (*string, bool)

GetImageVersionOk returns a tuple with the ImageVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetNetworkId

func (o *RegionServerCreateOptions) GetNetworkId() string

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetNetworkIdOk

func (o *RegionServerCreateOptions) GetNetworkIdOk() (*string, bool)

GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetRegionId

func (o *RegionServerCreateOptions) GetRegionId() int64

GetRegionId returns the RegionId field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetRegionIdOk

func (o *RegionServerCreateOptions) GetRegionIdOk() (*int64, bool)

GetRegionIdOk returns a tuple with the RegionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) GetRequiresPaymentMethod

func (o *RegionServerCreateOptions) GetRequiresPaymentMethod() bool

GetRequiresPaymentMethod returns the RequiresPaymentMethod field value if set, zero value otherwise.

func (*RegionServerCreateOptions) GetRequiresPaymentMethodOk

func (o *RegionServerCreateOptions) GetRequiresPaymentMethodOk() (*bool, bool)

GetRequiresPaymentMethodOk returns a tuple with the RequiresPaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegionServerCreateOptions) HasCurrency

func (o *RegionServerCreateOptions) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasDropletCount

func (o *RegionServerCreateOptions) HasDropletCount() bool

HasDropletCount returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasDropletLimit

func (o *RegionServerCreateOptions) HasDropletLimit() bool

HasDropletLimit returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasImageName

func (o *RegionServerCreateOptions) HasImageName() bool

HasImageName returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasImageVersion

func (o *RegionServerCreateOptions) HasImageVersion() bool

HasImageVersion returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasNetworkId

func (o *RegionServerCreateOptions) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasRegionId

func (o *RegionServerCreateOptions) HasRegionId() bool

HasRegionId returns a boolean if a field has been set.

func (*RegionServerCreateOptions) HasRequiresPaymentMethod

func (o *RegionServerCreateOptions) HasRequiresPaymentMethod() bool

HasRequiresPaymentMethod returns a boolean if a field has been set.

func (RegionServerCreateOptions) MarshalJSON

func (o RegionServerCreateOptions) MarshalJSON() ([]byte, error)

func (*RegionServerCreateOptions) SetCurrency

func (o *RegionServerCreateOptions) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*RegionServerCreateOptions) SetDropletCount

func (o *RegionServerCreateOptions) SetDropletCount(v int64)

SetDropletCount gets a reference to the given int64 and assigns it to the DropletCount field.

func (*RegionServerCreateOptions) SetDropletLimit

func (o *RegionServerCreateOptions) SetDropletLimit(v int64)

SetDropletLimit gets a reference to the given int64 and assigns it to the DropletLimit field.

func (*RegionServerCreateOptions) SetImageName

func (o *RegionServerCreateOptions) SetImageName(v string)

SetImageName gets a reference to the given string and assigns it to the ImageName field.

func (*RegionServerCreateOptions) SetImageVersion

func (o *RegionServerCreateOptions) SetImageVersion(v string)

SetImageVersion gets a reference to the given string and assigns it to the ImageVersion field.

func (*RegionServerCreateOptions) SetNetworkId

func (o *RegionServerCreateOptions) SetNetworkId(v string)

SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.

func (*RegionServerCreateOptions) SetRegionId

func (o *RegionServerCreateOptions) SetRegionId(v int64)

SetRegionId gets a reference to the given int64 and assigns it to the RegionId field.

func (*RegionServerCreateOptions) SetRequiresPaymentMethod

func (o *RegionServerCreateOptions) SetRequiresPaymentMethod(v bool)

SetRequiresPaymentMethod gets a reference to the given bool and assigns it to the RequiresPaymentMethod field.

func (RegionServerCreateOptions) ToMap

func (o RegionServerCreateOptions) ToMap() (map[string]interface{}, error)

type RenameServerRequest

type RenameServerRequest struct {
	Name *string `json:"name,omitempty"`
}

RenameServerRequest struct for RenameServerRequest

func NewRenameServerRequest

func NewRenameServerRequest() *RenameServerRequest

NewRenameServerRequest instantiates a new RenameServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRenameServerRequestWithDefaults

func NewRenameServerRequestWithDefaults() *RenameServerRequest

NewRenameServerRequestWithDefaults instantiates a new RenameServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RenameServerRequest) GetName

func (o *RenameServerRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*RenameServerRequest) GetNameOk

func (o *RenameServerRequest) 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 (*RenameServerRequest) HasName

func (o *RenameServerRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (RenameServerRequest) MarshalJSON

func (o RenameServerRequest) MarshalJSON() ([]byte, error)

func (*RenameServerRequest) SetName

func (o *RenameServerRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (RenameServerRequest) ToMap

func (o RenameServerRequest) ToMap() (map[string]interface{}, error)

type ReportsAPIGetReportMetricRequest

type ReportsAPIGetReportMetricRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ReportsAPIGetReportMetricRequest) Execute

type ReportsAPIGetServerReportsRequest

type ReportsAPIGetServerReportsRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ReportsAPIGetServerReportsRequest) Execute

type ReportsAPIService

type ReportsAPIService service

ReportsAPIService ReportsAPI service

func (*ReportsAPIService) GetReportMetric

func (a *ReportsAPIService) GetReportMetric(ctx context.Context, region string, id string, metric string) ReportsAPIGetReportMetricRequest

GetReportMetric Method for GetReportMetric

Returns metrics for a report

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@param metric the metric name to be returned
@return ReportsAPIGetReportMetricRequest

func (*ReportsAPIService) GetReportMetricExecute

Execute executes the request

@return ServerReports

func (*ReportsAPIService) GetServerReports

func (a *ReportsAPIService) GetServerReports(ctx context.Context, region string, id string, period string) ReportsAPIGetServerReportsRequest

GetServerReports Method for GetServerReports

Returns usage reports of a specific server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@param period period of the reports, ex. `1m`, `1h`, `1d`
@return ReportsAPIGetServerReportsRequest

func (*ReportsAPIService) GetServerReportsExecute

Execute executes the request

@return ServerReports

type RescueServerRequest

type RescueServerRequest struct {
	// The name of the rescue image
	Name *string `json:"name,omitempty"`
}

RescueServerRequest struct for RescueServerRequest

func NewRescueServerRequest

func NewRescueServerRequest() *RescueServerRequest

NewRescueServerRequest instantiates a new RescueServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRescueServerRequestWithDefaults

func NewRescueServerRequestWithDefaults() *RescueServerRequest

NewRescueServerRequestWithDefaults instantiates a new RescueServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RescueServerRequest) GetName

func (o *RescueServerRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*RescueServerRequest) GetNameOk

func (o *RescueServerRequest) 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 (*RescueServerRequest) HasName

func (o *RescueServerRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (RescueServerRequest) MarshalJSON

func (o RescueServerRequest) MarshalJSON() ([]byte, error)

func (*RescueServerRequest) SetName

func (o *RescueServerRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (RescueServerRequest) ToMap

func (o RescueServerRequest) ToMap() (map[string]interface{}, error)

type ResizeRootVolumeRequest

type ResizeRootVolumeRequest struct {
	NewSize *int64 `json:"new_size,omitempty"`
}

ResizeRootVolumeRequest struct for ResizeRootVolumeRequest

func NewResizeRootVolumeRequest

func NewResizeRootVolumeRequest() *ResizeRootVolumeRequest

NewResizeRootVolumeRequest instantiates a new ResizeRootVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResizeRootVolumeRequestWithDefaults

func NewResizeRootVolumeRequestWithDefaults() *ResizeRootVolumeRequest

NewResizeRootVolumeRequestWithDefaults instantiates a new ResizeRootVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResizeRootVolumeRequest) GetNewSize

func (o *ResizeRootVolumeRequest) GetNewSize() int64

GetNewSize returns the NewSize field value if set, zero value otherwise.

func (*ResizeRootVolumeRequest) GetNewSizeOk

func (o *ResizeRootVolumeRequest) GetNewSizeOk() (*int64, bool)

GetNewSizeOk returns a tuple with the NewSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResizeRootVolumeRequest) HasNewSize

func (o *ResizeRootVolumeRequest) HasNewSize() bool

HasNewSize returns a boolean if a field has been set.

func (ResizeRootVolumeRequest) MarshalJSON

func (o ResizeRootVolumeRequest) MarshalJSON() ([]byte, error)

func (*ResizeRootVolumeRequest) SetNewSize

func (o *ResizeRootVolumeRequest) SetNewSize(v int64)

SetNewSize gets a reference to the given int64 and assigns it to the NewSize field.

func (ResizeRootVolumeRequest) ToMap

func (o ResizeRootVolumeRequest) ToMap() (map[string]interface{}, error)

type ResizeServerRequest

type ResizeServerRequest struct {
	FlavorId *string `json:"flavor_id,omitempty"`
}

ResizeServerRequest struct for ResizeServerRequest

func NewResizeServerRequest

func NewResizeServerRequest() *ResizeServerRequest

NewResizeServerRequest instantiates a new ResizeServerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResizeServerRequestWithDefaults

func NewResizeServerRequestWithDefaults() *ResizeServerRequest

NewResizeServerRequestWithDefaults instantiates a new ResizeServerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResizeServerRequest) GetFlavorId

func (o *ResizeServerRequest) GetFlavorId() string

GetFlavorId returns the FlavorId field value if set, zero value otherwise.

func (*ResizeServerRequest) GetFlavorIdOk

func (o *ResizeServerRequest) GetFlavorIdOk() (*string, bool)

GetFlavorIdOk returns a tuple with the FlavorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResizeServerRequest) HasFlavorId

func (o *ResizeServerRequest) HasFlavorId() bool

HasFlavorId returns a boolean if a field has been set.

func (ResizeServerRequest) MarshalJSON

func (o ResizeServerRequest) MarshalJSON() ([]byte, error)

func (*ResizeServerRequest) SetFlavorId

func (o *ResizeServerRequest) SetFlavorId(v string)

SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.

func (ResizeServerRequest) ToMap

func (o ResizeServerRequest) ToMap() (map[string]interface{}, error)

type RevertSnapshotRequest

type RevertSnapshotRequest struct {
	SnapshotId *string `json:"snapshot_id,omitempty"`
}

RevertSnapshotRequest struct for RevertSnapshotRequest

func NewRevertSnapshotRequest

func NewRevertSnapshotRequest() *RevertSnapshotRequest

NewRevertSnapshotRequest instantiates a new RevertSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRevertSnapshotRequestWithDefaults

func NewRevertSnapshotRequestWithDefaults() *RevertSnapshotRequest

NewRevertSnapshotRequestWithDefaults instantiates a new RevertSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RevertSnapshotRequest) GetSnapshotId

func (o *RevertSnapshotRequest) GetSnapshotId() string

GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.

func (*RevertSnapshotRequest) GetSnapshotIdOk

func (o *RevertSnapshotRequest) GetSnapshotIdOk() (*string, bool)

GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevertSnapshotRequest) HasSnapshotId

func (o *RevertSnapshotRequest) HasSnapshotId() bool

HasSnapshotId returns a boolean if a field has been set.

func (RevertSnapshotRequest) MarshalJSON

func (o RevertSnapshotRequest) MarshalJSON() ([]byte, error)

func (*RevertSnapshotRequest) SetSnapshotId

func (o *RevertSnapshotRequest) SetSnapshotId(v string)

SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.

func (RevertSnapshotRequest) ToMap

func (o RevertSnapshotRequest) ToMap() (map[string]interface{}, error)

type Rule

type Rule struct {
	CreatedAt   *string `json:"created_at,omitempty"`
	Description *string `json:"description,omitempty"`
	Direction   *string `json:"direction,omitempty"`
	EtherType   *string `json:"ether_type,omitempty"`
	GroupId     *string `json:"group_id,omitempty"`
	Id          *string `json:"id,omitempty"`
	Ip          *string `json:"ip,omitempty"`
	PortEnd     *int32  `json:"port_end,omitempty"`
	PortStart   *int32  `json:"port_start,omitempty"`
	Protocol    *string `json:"protocol,omitempty"`
	UpdatedAt   *string `json:"updated_at,omitempty"`
}

Rule struct for Rule

func NewRule

func NewRule() *Rule

NewRule instantiates a new Rule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRuleWithDefaults

func NewRuleWithDefaults() *Rule

NewRuleWithDefaults instantiates a new Rule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Rule) GetCreatedAt

func (o *Rule) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Rule) GetCreatedAtOk

func (o *Rule) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetDescription

func (o *Rule) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Rule) GetDescriptionOk

func (o *Rule) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetDirection

func (o *Rule) GetDirection() string

GetDirection returns the Direction field value if set, zero value otherwise.

func (*Rule) GetDirectionOk

func (o *Rule) GetDirectionOk() (*string, bool)

GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetEtherType

func (o *Rule) GetEtherType() string

GetEtherType returns the EtherType field value if set, zero value otherwise.

func (*Rule) GetEtherTypeOk

func (o *Rule) GetEtherTypeOk() (*string, bool)

GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetGroupId

func (o *Rule) GetGroupId() string

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*Rule) GetGroupIdOk

func (o *Rule) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetId

func (o *Rule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Rule) GetIdOk

func (o *Rule) 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 (*Rule) GetIp

func (o *Rule) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*Rule) GetIpOk

func (o *Rule) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetPortEnd

func (o *Rule) GetPortEnd() int32

GetPortEnd returns the PortEnd field value if set, zero value otherwise.

func (*Rule) GetPortEndOk

func (o *Rule) GetPortEndOk() (*int32, bool)

GetPortEndOk returns a tuple with the PortEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetPortStart

func (o *Rule) GetPortStart() int32

GetPortStart returns the PortStart field value if set, zero value otherwise.

func (*Rule) GetPortStartOk

func (o *Rule) GetPortStartOk() (*int32, bool)

GetPortStartOk returns a tuple with the PortStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetProtocol

func (o *Rule) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*Rule) GetProtocolOk

func (o *Rule) 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 (*Rule) GetUpdatedAt

func (o *Rule) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Rule) GetUpdatedAtOk

func (o *Rule) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) HasCreatedAt

func (o *Rule) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Rule) HasDescription

func (o *Rule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Rule) HasDirection

func (o *Rule) HasDirection() bool

HasDirection returns a boolean if a field has been set.

func (*Rule) HasEtherType

func (o *Rule) HasEtherType() bool

HasEtherType returns a boolean if a field has been set.

func (*Rule) HasGroupId

func (o *Rule) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*Rule) HasId

func (o *Rule) HasId() bool

HasId returns a boolean if a field has been set.

func (*Rule) HasIp

func (o *Rule) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*Rule) HasPortEnd

func (o *Rule) HasPortEnd() bool

HasPortEnd returns a boolean if a field has been set.

func (*Rule) HasPortStart

func (o *Rule) HasPortStart() bool

HasPortStart returns a boolean if a field has been set.

func (*Rule) HasProtocol

func (o *Rule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*Rule) HasUpdatedAt

func (o *Rule) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Rule) MarshalJSON

func (o Rule) MarshalJSON() ([]byte, error)

func (*Rule) SetCreatedAt

func (o *Rule) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Rule) SetDescription

func (o *Rule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Rule) SetDirection

func (o *Rule) SetDirection(v string)

SetDirection gets a reference to the given string and assigns it to the Direction field.

func (*Rule) SetEtherType

func (o *Rule) SetEtherType(v string)

SetEtherType gets a reference to the given string and assigns it to the EtherType field.

func (*Rule) SetGroupId

func (o *Rule) SetGroupId(v string)

SetGroupId gets a reference to the given string and assigns it to the GroupId field.

func (*Rule) SetId

func (o *Rule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Rule) SetIp

func (o *Rule) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*Rule) SetPortEnd

func (o *Rule) SetPortEnd(v int32)

SetPortEnd gets a reference to the given int32 and assigns it to the PortEnd field.

func (*Rule) SetPortStart

func (o *Rule) SetPortStart(v int32)

SetPortStart gets a reference to the given int32 and assigns it to the PortStart field.

func (*Rule) SetProtocol

func (o *Rule) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*Rule) SetUpdatedAt

func (o *Rule) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (Rule) ToMap

func (o Rule) ToMap() (map[string]interface{}, error)

type SSHKey

type SSHKey struct {
	CreatedAt   *string `json:"created_at,omitempty"`
	Fingerprint *string `json:"fingerprint,omitempty"`
	Name        *string `json:"name,omitempty"`
	PublicKey   *string `json:"public_key,omitempty"`
}

SSHKey struct for SSHKey

func NewSSHKey

func NewSSHKey() *SSHKey

NewSSHKey instantiates a new SSHKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSSHKeyWithDefaults

func NewSSHKeyWithDefaults() *SSHKey

NewSSHKeyWithDefaults instantiates a new SSHKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SSHKey) GetCreatedAt

func (o *SSHKey) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SSHKey) GetCreatedAtOk

func (o *SSHKey) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetFingerprint

func (o *SSHKey) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*SSHKey) GetFingerprintOk

func (o *SSHKey) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetName

func (o *SSHKey) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SSHKey) GetNameOk

func (o *SSHKey) 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 (*SSHKey) GetPublicKey

func (o *SSHKey) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*SSHKey) GetPublicKeyOk

func (o *SSHKey) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) HasCreatedAt

func (o *SSHKey) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SSHKey) HasFingerprint

func (o *SSHKey) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*SSHKey) HasName

func (o *SSHKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*SSHKey) HasPublicKey

func (o *SSHKey) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (SSHKey) MarshalJSON

func (o SSHKey) MarshalJSON() ([]byte, error)

func (*SSHKey) SetCreatedAt

func (o *SSHKey) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*SSHKey) SetFingerprint

func (o *SSHKey) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*SSHKey) SetName

func (o *SSHKey) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SSHKey) SetPublicKey

func (o *SSHKey) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (SSHKey) ToMap

func (o SSHKey) ToMap() (map[string]interface{}, error)

type SSHKeysAPICreateSSHKeyRequest

type SSHKeysAPICreateSSHKeyRequest struct {
	ApiService *SSHKeysAPIService
	// contains filtered or unexported fields
}

func (SSHKeysAPICreateSSHKeyRequest) CreateSSHKeyRequest

func (r SSHKeysAPICreateSSHKeyRequest) CreateSSHKeyRequest(createSSHKeyRequest CreateSSHKeyRequest) SSHKeysAPICreateSSHKeyRequest

info about the new SSH key to be created

func (SSHKeysAPICreateSSHKeyRequest) Execute

type SSHKeysAPIDeleteSSHKeyRequest

type SSHKeysAPIDeleteSSHKeyRequest struct {
	ApiService *SSHKeysAPIService
	// contains filtered or unexported fields
}

func (SSHKeysAPIDeleteSSHKeyRequest) Execute

type SSHKeysAPIGetAllSSHKeysRequest

type SSHKeysAPIGetAllSSHKeysRequest struct {
	ApiService *SSHKeysAPIService
	// contains filtered or unexported fields
}

func (SSHKeysAPIGetAllSSHKeysRequest) Execute

type SSHKeysAPIGetSSHKeyRequest

type SSHKeysAPIGetSSHKeyRequest struct {
	ApiService *SSHKeysAPIService
	// contains filtered or unexported fields
}

func (SSHKeysAPIGetSSHKeyRequest) Execute

type SSHKeysAPIService

type SSHKeysAPIService service

SSHKeysAPIService SSHKeysAPI service

func (*SSHKeysAPIService) CreateSSHKey

CreateSSHKey Method for CreateSSHKey

Creates a SSH key on the specified region

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SSHKeysAPICreateSSHKeyRequest

func (*SSHKeysAPIService) CreateSSHKeyExecute

Execute executes the request

@return MessageResponse

func (*SSHKeysAPIService) DeleteSSHKey

func (a *SSHKeysAPIService) DeleteSSHKey(ctx context.Context, region string, name string) SSHKeysAPIDeleteSSHKeyRequest

DeleteSSHKey Method for DeleteSSHKey

Deletes a SSH key based on its name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param name SSH key name
@return SSHKeysAPIDeleteSSHKeyRequest

func (*SSHKeysAPIService) DeleteSSHKeyExecute

Execute executes the request

@return MessageResponse

func (*SSHKeysAPIService) GetAllSSHKeys

GetAllSSHKeys Method for GetAllSSHKeys

Reverts a volume or server to its snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SSHKeysAPIGetAllSSHKeysRequest

func (*SSHKeysAPIService) GetAllSSHKeysExecute

func (a *SSHKeysAPIService) GetAllSSHKeysExecute(r SSHKeysAPIGetAllSSHKeysRequest) (*SSHKey, *http.Response, error)

Execute executes the request

@return SSHKey

func (*SSHKeysAPIService) GetSSHKey

func (a *SSHKeysAPIService) GetSSHKey(ctx context.Context, region string, name string) SSHKeysAPIGetSSHKeyRequest

GetSSHKey Method for GetSSHKey

Returns a SSH key based on its name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param name SSH key name
@return SSHKeysAPIGetSSHKeyRequest

func (*SSHKeysAPIService) GetSSHKeyExecute

Execute executes the request

@return SSHKey

type SecurityGroup

type SecurityGroup struct {
	Default     *bool    `json:"default,omitempty"`
	Description *string  `json:"description,omitempty"`
	Id          *string  `json:"id,omitempty"`
	IpAddresses []string `json:"ip_addresses,omitempty"`
	Name        *string  `json:"name,omitempty"`
	Readonly    *string  `json:"readonly,omitempty"`
	RealName    *string  `json:"real_name,omitempty"`
	Rules       []Rule   `json:"rules,omitempty"`
}

SecurityGroup struct for SecurityGroup

func NewSecurityGroup

func NewSecurityGroup() *SecurityGroup

NewSecurityGroup instantiates a new SecurityGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityGroupWithDefaults

func NewSecurityGroupWithDefaults() *SecurityGroup

NewSecurityGroupWithDefaults instantiates a new SecurityGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityGroup) GetDefault

func (o *SecurityGroup) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*SecurityGroup) GetDefaultOk

func (o *SecurityGroup) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetDescription

func (o *SecurityGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SecurityGroup) GetDescriptionOk

func (o *SecurityGroup) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetId

func (o *SecurityGroup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityGroup) GetIdOk

func (o *SecurityGroup) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetIpAddresses

func (o *SecurityGroup) GetIpAddresses() []string

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*SecurityGroup) GetIpAddressesOk

func (o *SecurityGroup) GetIpAddressesOk() ([]string, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetName

func (o *SecurityGroup) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityGroup) GetNameOk

func (o *SecurityGroup) 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 (*SecurityGroup) GetReadonly

func (o *SecurityGroup) GetReadonly() string

GetReadonly returns the Readonly field value if set, zero value otherwise.

func (*SecurityGroup) GetReadonlyOk

func (o *SecurityGroup) GetReadonlyOk() (*string, bool)

GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetRealName

func (o *SecurityGroup) GetRealName() string

GetRealName returns the RealName field value if set, zero value otherwise.

func (*SecurityGroup) GetRealNameOk

func (o *SecurityGroup) GetRealNameOk() (*string, bool)

GetRealNameOk returns a tuple with the RealName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) GetRules

func (o *SecurityGroup) GetRules() []Rule

GetRules returns the Rules field value if set, zero value otherwise.

func (*SecurityGroup) GetRulesOk

func (o *SecurityGroup) GetRulesOk() ([]Rule, bool)

GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroup) HasDefault

func (o *SecurityGroup) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*SecurityGroup) HasDescription

func (o *SecurityGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SecurityGroup) HasId

func (o *SecurityGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*SecurityGroup) HasIpAddresses

func (o *SecurityGroup) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*SecurityGroup) HasName

func (o *SecurityGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityGroup) HasReadonly

func (o *SecurityGroup) HasReadonly() bool

HasReadonly returns a boolean if a field has been set.

func (*SecurityGroup) HasRealName

func (o *SecurityGroup) HasRealName() bool

HasRealName returns a boolean if a field has been set.

func (*SecurityGroup) HasRules

func (o *SecurityGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (SecurityGroup) MarshalJSON

func (o SecurityGroup) MarshalJSON() ([]byte, error)

func (*SecurityGroup) SetDefault

func (o *SecurityGroup) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*SecurityGroup) SetDescription

func (o *SecurityGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SecurityGroup) SetId

func (o *SecurityGroup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityGroup) SetIpAddresses

func (o *SecurityGroup) SetIpAddresses(v []string)

SetIpAddresses gets a reference to the given []string and assigns it to the IpAddresses field.

func (*SecurityGroup) SetName

func (o *SecurityGroup) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityGroup) SetReadonly

func (o *SecurityGroup) SetReadonly(v string)

SetReadonly gets a reference to the given string and assigns it to the Readonly field.

func (*SecurityGroup) SetRealName

func (o *SecurityGroup) SetRealName(v string)

SetRealName gets a reference to the given string and assigns it to the RealName field.

func (*SecurityGroup) SetRules

func (o *SecurityGroup) SetRules(v []Rule)

SetRules gets a reference to the given []Rule and assigns it to the Rules field.

func (SecurityGroup) ToMap

func (o SecurityGroup) ToMap() (map[string]interface{}, error)

type SecurityGroupName

type SecurityGroupName struct {
	Name *string `json:"name,omitempty"`
}

SecurityGroupName struct for SecurityGroupName

func NewSecurityGroupName

func NewSecurityGroupName() *SecurityGroupName

NewSecurityGroupName instantiates a new SecurityGroupName object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityGroupNameWithDefaults

func NewSecurityGroupNameWithDefaults() *SecurityGroupName

NewSecurityGroupNameWithDefaults instantiates a new SecurityGroupName object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityGroupName) GetName

func (o *SecurityGroupName) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityGroupName) GetNameOk

func (o *SecurityGroupName) 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 (*SecurityGroupName) HasName

func (o *SecurityGroupName) HasName() bool

HasName returns a boolean if a field has been set.

func (SecurityGroupName) MarshalJSON

func (o SecurityGroupName) MarshalJSON() ([]byte, error)

func (*SecurityGroupName) SetName

func (o *SecurityGroupName) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SecurityGroupName) ToMap

func (o SecurityGroupName) ToMap() (map[string]interface{}, error)

type SecurityGroupRule

type SecurityGroupRule struct {
	CreatedAt   *string `json:"created_at,omitempty"`
	Description *string `json:"description,omitempty"`
	Direction   *string `json:"direction,omitempty"`
	EtherType   *string `json:"ether_type,omitempty"`
	GroupId     *string `json:"group_id,omitempty"`
	Id          *string `json:"id,omitempty"`
	Ip          *string `json:"ip,omitempty"`
	PortEnd     *int64  `json:"port_end,omitempty"`
	PortStart   *int64  `json:"port_start,omitempty"`
	Protocol    *string `json:"protocol,omitempty"`
	UpdatedAt   *string `json:"updated_at,omitempty"`
}

SecurityGroupRule struct for SecurityGroupRule

func NewSecurityGroupRule

func NewSecurityGroupRule() *SecurityGroupRule

NewSecurityGroupRule instantiates a new SecurityGroupRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityGroupRuleWithDefaults

func NewSecurityGroupRuleWithDefaults() *SecurityGroupRule

NewSecurityGroupRuleWithDefaults instantiates a new SecurityGroupRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityGroupRule) GetCreatedAt

func (o *SecurityGroupRule) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityGroupRule) GetCreatedAtOk

func (o *SecurityGroupRule) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetDescription

func (o *SecurityGroupRule) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SecurityGroupRule) GetDescriptionOk

func (o *SecurityGroupRule) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetDirection

func (o *SecurityGroupRule) GetDirection() string

GetDirection returns the Direction field value if set, zero value otherwise.

func (*SecurityGroupRule) GetDirectionOk

func (o *SecurityGroupRule) GetDirectionOk() (*string, bool)

GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetEtherType

func (o *SecurityGroupRule) GetEtherType() string

GetEtherType returns the EtherType field value if set, zero value otherwise.

func (*SecurityGroupRule) GetEtherTypeOk

func (o *SecurityGroupRule) GetEtherTypeOk() (*string, bool)

GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetGroupId

func (o *SecurityGroupRule) GetGroupId() string

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*SecurityGroupRule) GetGroupIdOk

func (o *SecurityGroupRule) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetId

func (o *SecurityGroupRule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityGroupRule) GetIdOk

func (o *SecurityGroupRule) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetIp

func (o *SecurityGroupRule) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*SecurityGroupRule) GetIpOk

func (o *SecurityGroupRule) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetPortEnd

func (o *SecurityGroupRule) GetPortEnd() int64

GetPortEnd returns the PortEnd field value if set, zero value otherwise.

func (*SecurityGroupRule) GetPortEndOk

func (o *SecurityGroupRule) GetPortEndOk() (*int64, bool)

GetPortEndOk returns a tuple with the PortEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetPortStart

func (o *SecurityGroupRule) GetPortStart() int64

GetPortStart returns the PortStart field value if set, zero value otherwise.

func (*SecurityGroupRule) GetPortStartOk

func (o *SecurityGroupRule) GetPortStartOk() (*int64, bool)

GetPortStartOk returns a tuple with the PortStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) GetProtocol

func (o *SecurityGroupRule) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*SecurityGroupRule) GetProtocolOk

func (o *SecurityGroupRule) 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 (*SecurityGroupRule) GetUpdatedAt

func (o *SecurityGroupRule) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SecurityGroupRule) GetUpdatedAtOk

func (o *SecurityGroupRule) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityGroupRule) HasCreatedAt

func (o *SecurityGroupRule) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityGroupRule) HasDescription

func (o *SecurityGroupRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SecurityGroupRule) HasDirection

func (o *SecurityGroupRule) HasDirection() bool

HasDirection returns a boolean if a field has been set.

func (*SecurityGroupRule) HasEtherType

func (o *SecurityGroupRule) HasEtherType() bool

HasEtherType returns a boolean if a field has been set.

func (*SecurityGroupRule) HasGroupId

func (o *SecurityGroupRule) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*SecurityGroupRule) HasId

func (o *SecurityGroupRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*SecurityGroupRule) HasIp

func (o *SecurityGroupRule) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*SecurityGroupRule) HasPortEnd

func (o *SecurityGroupRule) HasPortEnd() bool

HasPortEnd returns a boolean if a field has been set.

func (*SecurityGroupRule) HasPortStart

func (o *SecurityGroupRule) HasPortStart() bool

HasPortStart returns a boolean if a field has been set.

func (*SecurityGroupRule) HasProtocol

func (o *SecurityGroupRule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*SecurityGroupRule) HasUpdatedAt

func (o *SecurityGroupRule) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SecurityGroupRule) MarshalJSON

func (o SecurityGroupRule) MarshalJSON() ([]byte, error)

func (*SecurityGroupRule) SetCreatedAt

func (o *SecurityGroupRule) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*SecurityGroupRule) SetDescription

func (o *SecurityGroupRule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SecurityGroupRule) SetDirection

func (o *SecurityGroupRule) SetDirection(v string)

SetDirection gets a reference to the given string and assigns it to the Direction field.

func (*SecurityGroupRule) SetEtherType

func (o *SecurityGroupRule) SetEtherType(v string)

SetEtherType gets a reference to the given string and assigns it to the EtherType field.

func (*SecurityGroupRule) SetGroupId

func (o *SecurityGroupRule) SetGroupId(v string)

SetGroupId gets a reference to the given string and assigns it to the GroupId field.

func (*SecurityGroupRule) SetId

func (o *SecurityGroupRule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityGroupRule) SetIp

func (o *SecurityGroupRule) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*SecurityGroupRule) SetPortEnd

func (o *SecurityGroupRule) SetPortEnd(v int64)

SetPortEnd gets a reference to the given int64 and assigns it to the PortEnd field.

func (*SecurityGroupRule) SetPortStart

func (o *SecurityGroupRule) SetPortStart(v int64)

SetPortStart gets a reference to the given int64 and assigns it to the PortStart field.

func (*SecurityGroupRule) SetProtocol

func (o *SecurityGroupRule) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*SecurityGroupRule) SetUpdatedAt

func (o *SecurityGroupRule) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (SecurityGroupRule) ToMap

func (o SecurityGroupRule) ToMap() (map[string]interface{}, error)

type SecurityGroupsAPICreateSecurityGroupRequest

type SecurityGroupsAPICreateSecurityGroupRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPICreateSecurityGroupRequest) CreateSecurityGroupRequest

Info about the security group to be created

func (SecurityGroupsAPICreateSecurityGroupRequest) Execute

type SecurityGroupsAPICreateSecurityGroupRuleRequest

type SecurityGroupsAPICreateSecurityGroupRuleRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPICreateSecurityGroupRuleRequest) CreateSecurityGroupRuleRequest

Security group rule info

func (SecurityGroupsAPICreateSecurityGroupRuleRequest) Execute

type SecurityGroupsAPIDeleteSecurityGroupRequest

type SecurityGroupsAPIDeleteSecurityGroupRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPIDeleteSecurityGroupRequest) Execute

type SecurityGroupsAPIDeleteSecurityGroupRuleRequest

type SecurityGroupsAPIDeleteSecurityGroupRuleRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPIDeleteSecurityGroupRuleRequest) Execute

type SecurityGroupsAPIGetAllSecurityGroupsRequest

type SecurityGroupsAPIGetAllSecurityGroupsRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPIGetAllSecurityGroupsRequest) Execute

type SecurityGroupsAPIGetSecurityGroupRulesRequest

type SecurityGroupsAPIGetSecurityGroupRulesRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPIGetSecurityGroupRulesRequest) Execute

type SecurityGroupsAPIImportCDNSecurityGroupRequest

type SecurityGroupsAPIImportCDNSecurityGroupRequest struct {
	ApiService *SecurityGroupsAPIService
	// contains filtered or unexported fields
}

func (SecurityGroupsAPIImportCDNSecurityGroupRequest) Execute

type SecurityGroupsAPIService

type SecurityGroupsAPIService service

SecurityGroupsAPIService SecurityGroupsAPI service

func (*SecurityGroupsAPIService) CreateSecurityGroup

CreateSecurityGroup Method for CreateSecurityGroup

Creates a security group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SecurityGroupsAPICreateSecurityGroupRequest

func (*SecurityGroupsAPIService) CreateSecurityGroupExecute

Execute executes the request

@return SecurityGroup

func (*SecurityGroupsAPIService) CreateSecurityGroupRule

CreateSecurityGroupRule Method for CreateSecurityGroupRule

Creates a rule for the specified security group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id Security group id
@return SecurityGroupsAPICreateSecurityGroupRuleRequest

func (*SecurityGroupsAPIService) CreateSecurityGroupRuleExecute

Execute executes the request

@return MessageResponse

func (*SecurityGroupsAPIService) DeleteSecurityGroup

DeleteSecurityGroup Method for DeleteSecurityGroup

Deletes a security group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SecurityGroupsAPIDeleteSecurityGroupRequest

func (*SecurityGroupsAPIService) DeleteSecurityGroupExecute

Execute executes the request

@return MessageResponse

func (*SecurityGroupsAPIService) DeleteSecurityGroupRule

DeleteSecurityGroupRule Method for DeleteSecurityGroupRule

Deletes a security group rule

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SecurityGroupsAPIDeleteSecurityGroupRuleRequest

func (*SecurityGroupsAPIService) DeleteSecurityGroupRuleExecute

Execute executes the request

@return SecurityGroup

func (*SecurityGroupsAPIService) GetAllSecurityGroups

GetAllSecurityGroups Method for GetAllSecurityGroups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SecurityGroupsAPIGetAllSecurityGroupsRequest

func (*SecurityGroupsAPIService) GetAllSecurityGroupsExecute

Execute executes the request

@return SecurityGroup

func (*SecurityGroupsAPIService) GetSecurityGroupRules

GetSecurityGroupRules Method for GetSecurityGroupRules

Returns rules for a security group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SecurityGroupsAPIGetSecurityGroupRulesRequest

func (*SecurityGroupsAPIService) GetSecurityGroupRulesExecute

Execute executes the request

@return SecurityGroup

func (*SecurityGroupsAPIService) ImportCDNSecurityGroup

ImportCDNSecurityGroup Method for ImportCDNSecurityGroup

Creates a security group based on Arvan CDN. This allows CDN IPs in security rules of newly created group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SecurityGroupsAPIImportCDNSecurityGroupRequest

func (*SecurityGroupsAPIService) ImportCDNSecurityGroupExecute

Execute executes the request

@return MessageResponse

type ServerAddress

type ServerAddress struct {
	Addr     *string `json:"addr,omitempty"`
	IsPublic *bool   `json:"is_public,omitempty"`
	MacAddr  *string `json:"mac_addr,omitempty"`
	Type     *string `json:"type,omitempty"`
	Version  *string `json:"version,omitempty"`
}

ServerAddress struct for ServerAddress

func NewServerAddress

func NewServerAddress() *ServerAddress

NewServerAddress instantiates a new ServerAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerAddressWithDefaults

func NewServerAddressWithDefaults() *ServerAddress

NewServerAddressWithDefaults instantiates a new ServerAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerAddress) GetAddr

func (o *ServerAddress) GetAddr() string

GetAddr returns the Addr field value if set, zero value otherwise.

func (*ServerAddress) GetAddrOk

func (o *ServerAddress) GetAddrOk() (*string, bool)

GetAddrOk returns a tuple with the Addr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerAddress) GetIsPublic

func (o *ServerAddress) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*ServerAddress) GetIsPublicOk

func (o *ServerAddress) GetIsPublicOk() (*bool, bool)

GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerAddress) GetMacAddr

func (o *ServerAddress) GetMacAddr() string

GetMacAddr returns the MacAddr field value if set, zero value otherwise.

func (*ServerAddress) GetMacAddrOk

func (o *ServerAddress) GetMacAddrOk() (*string, bool)

GetMacAddrOk returns a tuple with the MacAddr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerAddress) GetType

func (o *ServerAddress) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ServerAddress) GetTypeOk

func (o *ServerAddress) 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 (*ServerAddress) GetVersion

func (o *ServerAddress) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*ServerAddress) GetVersionOk

func (o *ServerAddress) 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.

func (*ServerAddress) HasAddr

func (o *ServerAddress) HasAddr() bool

HasAddr returns a boolean if a field has been set.

func (*ServerAddress) HasIsPublic

func (o *ServerAddress) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*ServerAddress) HasMacAddr

func (o *ServerAddress) HasMacAddr() bool

HasMacAddr returns a boolean if a field has been set.

func (*ServerAddress) HasType

func (o *ServerAddress) HasType() bool

HasType returns a boolean if a field has been set.

func (*ServerAddress) HasVersion

func (o *ServerAddress) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ServerAddress) MarshalJSON

func (o ServerAddress) MarshalJSON() ([]byte, error)

func (*ServerAddress) SetAddr

func (o *ServerAddress) SetAddr(v string)

SetAddr gets a reference to the given string and assigns it to the Addr field.

func (*ServerAddress) SetIsPublic

func (o *ServerAddress) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*ServerAddress) SetMacAddr

func (o *ServerAddress) SetMacAddr(v string)

SetMacAddr gets a reference to the given string and assigns it to the MacAddr field.

func (*ServerAddress) SetType

func (o *ServerAddress) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ServerAddress) SetVersion

func (o *ServerAddress) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (ServerAddress) ToMap

func (o ServerAddress) ToMap() (map[string]interface{}, 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 ServerDetail

type ServerDetail struct {
	Addresses      *map[string][]ServerAddress `json:"addresses,omitempty"`
	ArNext         *string                     `json:"ar_next,omitempty"`
	Created        *string                     `json:"created,omitempty"`
	Flavor         *ServerFlavor               `json:"flavor,omitempty"`
	HaEnabled      *bool                       `json:"ha_enabled,omitempty"`
	Id             *string                     `json:"id,omitempty"`
	Image          *ServerImage                `json:"image,omitempty"`
	KeyName        *string                     `json:"key_name,omitempty"`
	Name           *string                     `json:"name,omitempty"`
	Password       *string                     `json:"password,omitempty"`
	SecurityGroups []SecurityGroup             `json:"security_groups,omitempty"`
	Status         *string                     `json:"status,omitempty"`
	Tags           []Tag                       `json:"tags,omitempty"`
	TaskState      *string                     `json:"task_state,omitempty"`
}

ServerDetail struct for ServerDetail

func NewServerDetail

func NewServerDetail() *ServerDetail

NewServerDetail instantiates a new ServerDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerDetailWithDefaults

func NewServerDetailWithDefaults() *ServerDetail

NewServerDetailWithDefaults instantiates a new ServerDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerDetail) GetAddresses

func (o *ServerDetail) GetAddresses() map[string][]ServerAddress

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*ServerDetail) GetAddressesOk

func (o *ServerDetail) GetAddressesOk() (*map[string][]ServerAddress, bool)

GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetArNext

func (o *ServerDetail) GetArNext() string

GetArNext returns the ArNext field value if set, zero value otherwise.

func (*ServerDetail) GetArNextOk

func (o *ServerDetail) GetArNextOk() (*string, bool)

GetArNextOk returns a tuple with the ArNext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetCreated

func (o *ServerDetail) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*ServerDetail) GetCreatedOk

func (o *ServerDetail) GetCreatedOk() (*string, 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 (*ServerDetail) GetFlavor

func (o *ServerDetail) GetFlavor() ServerFlavor

GetFlavor returns the Flavor field value if set, zero value otherwise.

func (*ServerDetail) GetFlavorOk

func (o *ServerDetail) GetFlavorOk() (*ServerFlavor, bool)

GetFlavorOk returns a tuple with the Flavor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetHaEnabled

func (o *ServerDetail) GetHaEnabled() bool

GetHaEnabled returns the HaEnabled field value if set, zero value otherwise.

func (*ServerDetail) GetHaEnabledOk

func (o *ServerDetail) GetHaEnabledOk() (*bool, bool)

GetHaEnabledOk returns a tuple with the HaEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetId

func (o *ServerDetail) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ServerDetail) GetIdOk

func (o *ServerDetail) 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 (*ServerDetail) GetImage

func (o *ServerDetail) GetImage() ServerImage

GetImage returns the Image field value if set, zero value otherwise.

func (*ServerDetail) GetImageOk

func (o *ServerDetail) GetImageOk() (*ServerImage, 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 (*ServerDetail) GetKeyName

func (o *ServerDetail) GetKeyName() string

GetKeyName returns the KeyName field value if set, zero value otherwise.

func (*ServerDetail) GetKeyNameOk

func (o *ServerDetail) GetKeyNameOk() (*string, bool)

GetKeyNameOk returns a tuple with the KeyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetName

func (o *ServerDetail) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServerDetail) GetNameOk

func (o *ServerDetail) 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 (*ServerDetail) GetPassword

func (o *ServerDetail) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*ServerDetail) GetPasswordOk

func (o *ServerDetail) 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 (*ServerDetail) GetSecurityGroups

func (o *ServerDetail) GetSecurityGroups() []SecurityGroup

GetSecurityGroups returns the SecurityGroups field value if set, zero value otherwise.

func (*ServerDetail) GetSecurityGroupsOk

func (o *ServerDetail) GetSecurityGroupsOk() ([]SecurityGroup, bool)

GetSecurityGroupsOk returns a tuple with the SecurityGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetStatus

func (o *ServerDetail) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ServerDetail) GetStatusOk

func (o *ServerDetail) 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 (*ServerDetail) GetTags

func (o *ServerDetail) GetTags() []Tag

GetTags returns the Tags field value if set, zero value otherwise.

func (*ServerDetail) GetTagsOk

func (o *ServerDetail) GetTagsOk() ([]Tag, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) GetTaskState

func (o *ServerDetail) GetTaskState() string

GetTaskState returns the TaskState field value if set, zero value otherwise.

func (*ServerDetail) GetTaskStateOk

func (o *ServerDetail) GetTaskStateOk() (*string, bool)

GetTaskStateOk returns a tuple with the TaskState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerDetail) HasAddresses

func (o *ServerDetail) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (*ServerDetail) HasArNext

func (o *ServerDetail) HasArNext() bool

HasArNext returns a boolean if a field has been set.

func (*ServerDetail) HasCreated

func (o *ServerDetail) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*ServerDetail) HasFlavor

func (o *ServerDetail) HasFlavor() bool

HasFlavor returns a boolean if a field has been set.

func (*ServerDetail) HasHaEnabled

func (o *ServerDetail) HasHaEnabled() bool

HasHaEnabled returns a boolean if a field has been set.

func (*ServerDetail) HasId

func (o *ServerDetail) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServerDetail) HasImage

func (o *ServerDetail) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*ServerDetail) HasKeyName

func (o *ServerDetail) HasKeyName() bool

HasKeyName returns a boolean if a field has been set.

func (*ServerDetail) HasName

func (o *ServerDetail) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServerDetail) HasPassword

func (o *ServerDetail) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*ServerDetail) HasSecurityGroups

func (o *ServerDetail) HasSecurityGroups() bool

HasSecurityGroups returns a boolean if a field has been set.

func (*ServerDetail) HasStatus

func (o *ServerDetail) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ServerDetail) HasTags

func (o *ServerDetail) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ServerDetail) HasTaskState

func (o *ServerDetail) HasTaskState() bool

HasTaskState returns a boolean if a field has been set.

func (ServerDetail) MarshalJSON

func (o ServerDetail) MarshalJSON() ([]byte, error)

func (*ServerDetail) SetAddresses

func (o *ServerDetail) SetAddresses(v map[string][]ServerAddress)

SetAddresses gets a reference to the given map[string][]ServerAddress and assigns it to the Addresses field.

func (*ServerDetail) SetArNext

func (o *ServerDetail) SetArNext(v string)

SetArNext gets a reference to the given string and assigns it to the ArNext field.

func (*ServerDetail) SetCreated

func (o *ServerDetail) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*ServerDetail) SetFlavor

func (o *ServerDetail) SetFlavor(v ServerFlavor)

SetFlavor gets a reference to the given ServerFlavor and assigns it to the Flavor field.

func (*ServerDetail) SetHaEnabled

func (o *ServerDetail) SetHaEnabled(v bool)

SetHaEnabled gets a reference to the given bool and assigns it to the HaEnabled field.

func (*ServerDetail) SetId

func (o *ServerDetail) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ServerDetail) SetImage

func (o *ServerDetail) SetImage(v ServerImage)

SetImage gets a reference to the given ServerImage and assigns it to the Image field.

func (*ServerDetail) SetKeyName

func (o *ServerDetail) SetKeyName(v string)

SetKeyName gets a reference to the given string and assigns it to the KeyName field.

func (*ServerDetail) SetName

func (o *ServerDetail) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServerDetail) SetPassword

func (o *ServerDetail) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*ServerDetail) SetSecurityGroups

func (o *ServerDetail) SetSecurityGroups(v []SecurityGroup)

SetSecurityGroups gets a reference to the given []SecurityGroup and assigns it to the SecurityGroups field.

func (*ServerDetail) SetStatus

func (o *ServerDetail) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ServerDetail) SetTags

func (o *ServerDetail) SetTags(v []Tag)

SetTags gets a reference to the given []Tag and assigns it to the Tags field.

func (*ServerDetail) SetTaskState

func (o *ServerDetail) SetTaskState(v string)

SetTaskState gets a reference to the given string and assigns it to the TaskState field.

func (ServerDetail) ToMap

func (o ServerDetail) ToMap() (map[string]interface{}, error)

type ServerFlavor

type ServerFlavor struct {
	Disk  *int32   `json:"disk,omitempty"`
	Id    *string  `json:"id,omitempty"`
	Name  *string  `json:"name,omitempty"`
	Ram   *float64 `json:"ram,omitempty"`
	Swap  *string  `json:"swap,omitempty"`
	Vcpus *int32   `json:"vcpus,omitempty"`
}

ServerFlavor struct for ServerFlavor

func NewServerFlavor

func NewServerFlavor() *ServerFlavor

NewServerFlavor instantiates a new ServerFlavor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerFlavorWithDefaults

func NewServerFlavorWithDefaults() *ServerFlavor

NewServerFlavorWithDefaults instantiates a new ServerFlavor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerFlavor) GetDisk

func (o *ServerFlavor) GetDisk() int32

GetDisk returns the Disk field value if set, zero value otherwise.

func (*ServerFlavor) GetDiskOk

func (o *ServerFlavor) GetDiskOk() (*int32, bool)

GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerFlavor) GetId

func (o *ServerFlavor) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ServerFlavor) GetIdOk

func (o *ServerFlavor) 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 (*ServerFlavor) GetName

func (o *ServerFlavor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServerFlavor) GetNameOk

func (o *ServerFlavor) 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 (*ServerFlavor) GetRam

func (o *ServerFlavor) GetRam() float64

GetRam returns the Ram field value if set, zero value otherwise.

func (*ServerFlavor) GetRamOk

func (o *ServerFlavor) GetRamOk() (*float64, bool)

GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerFlavor) GetSwap

func (o *ServerFlavor) GetSwap() string

GetSwap returns the Swap field value if set, zero value otherwise.

func (*ServerFlavor) GetSwapOk

func (o *ServerFlavor) GetSwapOk() (*string, bool)

GetSwapOk returns a tuple with the Swap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerFlavor) GetVcpus

func (o *ServerFlavor) GetVcpus() int32

GetVcpus returns the Vcpus field value if set, zero value otherwise.

func (*ServerFlavor) GetVcpusOk

func (o *ServerFlavor) GetVcpusOk() (*int32, bool)

GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerFlavor) HasDisk

func (o *ServerFlavor) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*ServerFlavor) HasId

func (o *ServerFlavor) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServerFlavor) HasName

func (o *ServerFlavor) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServerFlavor) HasRam

func (o *ServerFlavor) HasRam() bool

HasRam returns a boolean if a field has been set.

func (*ServerFlavor) HasSwap

func (o *ServerFlavor) HasSwap() bool

HasSwap returns a boolean if a field has been set.

func (*ServerFlavor) HasVcpus

func (o *ServerFlavor) HasVcpus() bool

HasVcpus returns a boolean if a field has been set.

func (ServerFlavor) MarshalJSON

func (o ServerFlavor) MarshalJSON() ([]byte, error)

func (*ServerFlavor) SetDisk

func (o *ServerFlavor) SetDisk(v int32)

SetDisk gets a reference to the given int32 and assigns it to the Disk field.

func (*ServerFlavor) SetId

func (o *ServerFlavor) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ServerFlavor) SetName

func (o *ServerFlavor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServerFlavor) SetRam

func (o *ServerFlavor) SetRam(v float64)

SetRam gets a reference to the given float64 and assigns it to the Ram field.

func (*ServerFlavor) SetSwap

func (o *ServerFlavor) SetSwap(v string)

SetSwap gets a reference to the given string and assigns it to the Swap field.

func (*ServerFlavor) SetVcpus

func (o *ServerFlavor) SetVcpus(v int32)

SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.

func (ServerFlavor) ToMap

func (o ServerFlavor) ToMap() (map[string]interface{}, error)

type ServerIPInfo

type ServerIPInfo struct {
	CreationDate *string  `json:"creation_date,omitempty"`
	HasPublicIp  *bool    `json:"has_public_ip,omitempty"`
	Id           *string  `json:"id,omitempty"`
	IpData       []IPInfo `json:"ip_data,omitempty"`
	Name         *string  `json:"name,omitempty"`
	Status       *string  `json:"status,omitempty"`
}

ServerIPInfo struct for ServerIPInfo

func NewServerIPInfo

func NewServerIPInfo() *ServerIPInfo

NewServerIPInfo instantiates a new ServerIPInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerIPInfoWithDefaults

func NewServerIPInfoWithDefaults() *ServerIPInfo

NewServerIPInfoWithDefaults instantiates a new ServerIPInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerIPInfo) GetCreationDate

func (o *ServerIPInfo) GetCreationDate() string

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*ServerIPInfo) GetCreationDateOk

func (o *ServerIPInfo) GetCreationDateOk() (*string, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerIPInfo) GetHasPublicIp

func (o *ServerIPInfo) GetHasPublicIp() bool

GetHasPublicIp returns the HasPublicIp field value if set, zero value otherwise.

func (*ServerIPInfo) GetHasPublicIpOk

func (o *ServerIPInfo) GetHasPublicIpOk() (*bool, bool)

GetHasPublicIpOk returns a tuple with the HasPublicIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerIPInfo) GetId

func (o *ServerIPInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ServerIPInfo) GetIdOk

func (o *ServerIPInfo) 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 (*ServerIPInfo) GetIpData

func (o *ServerIPInfo) GetIpData() []IPInfo

GetIpData returns the IpData field value if set, zero value otherwise.

func (*ServerIPInfo) GetIpDataOk

func (o *ServerIPInfo) GetIpDataOk() ([]IPInfo, bool)

GetIpDataOk returns a tuple with the IpData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerIPInfo) GetName

func (o *ServerIPInfo) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServerIPInfo) GetNameOk

func (o *ServerIPInfo) 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 (*ServerIPInfo) GetStatus

func (o *ServerIPInfo) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ServerIPInfo) GetStatusOk

func (o *ServerIPInfo) 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 (*ServerIPInfo) HasCreationDate

func (o *ServerIPInfo) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*ServerIPInfo) HasHasPublicIp

func (o *ServerIPInfo) HasHasPublicIp() bool

HasHasPublicIp returns a boolean if a field has been set.

func (*ServerIPInfo) HasId

func (o *ServerIPInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServerIPInfo) HasIpData

func (o *ServerIPInfo) HasIpData() bool

HasIpData returns a boolean if a field has been set.

func (*ServerIPInfo) HasName

func (o *ServerIPInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServerIPInfo) HasStatus

func (o *ServerIPInfo) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ServerIPInfo) MarshalJSON

func (o ServerIPInfo) MarshalJSON() ([]byte, error)

func (*ServerIPInfo) SetCreationDate

func (o *ServerIPInfo) SetCreationDate(v string)

SetCreationDate gets a reference to the given string and assigns it to the CreationDate field.

func (*ServerIPInfo) SetHasPublicIp

func (o *ServerIPInfo) SetHasPublicIp(v bool)

SetHasPublicIp gets a reference to the given bool and assigns it to the HasPublicIp field.

func (*ServerIPInfo) SetId

func (o *ServerIPInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ServerIPInfo) SetIpData

func (o *ServerIPInfo) SetIpData(v []IPInfo)

SetIpData gets a reference to the given []IPInfo and assigns it to the IpData field.

func (*ServerIPInfo) SetName

func (o *ServerIPInfo) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServerIPInfo) SetStatus

func (o *ServerIPInfo) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (ServerIPInfo) ToMap

func (o ServerIPInfo) ToMap() (map[string]interface{}, error)

type ServerImage

type ServerImage struct {
	Created   *string            `json:"created,omitempty"`
	Documents []ImgDoc           `json:"documents,omitempty"`
	Id        *string            `json:"id,omitempty"`
	Metadata  *map[string]string `json:"metadata,omitempty"`
	MinDisk   *int32             `json:"min_disk,omitempty"`
	MinRam    *int32             `json:"min_ram,omitempty"`
	Name      *string            `json:"name,omitempty"`
	Os        *string            `json:"os,omitempty"`
	OsVersion *string            `json:"os_version,omitempty"`
	Progress  *int32             `json:"progress,omitempty"`
	Size      *int64             `json:"size,omitempty"`
	Status    *string            `json:"status,omitempty"`
	Username  *string            `json:"username,omitempty"`
}

ServerImage struct for ServerImage

func NewServerImage

func NewServerImage() *ServerImage

NewServerImage instantiates a new ServerImage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerImageWithDefaults

func NewServerImageWithDefaults() *ServerImage

NewServerImageWithDefaults instantiates a new ServerImage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerImage) GetCreated

func (o *ServerImage) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*ServerImage) GetCreatedOk

func (o *ServerImage) GetCreatedOk() (*string, 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 (*ServerImage) GetDocuments

func (o *ServerImage) GetDocuments() []ImgDoc

GetDocuments returns the Documents field value if set, zero value otherwise.

func (*ServerImage) GetDocumentsOk

func (o *ServerImage) GetDocumentsOk() ([]ImgDoc, bool)

GetDocumentsOk returns a tuple with the Documents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetId

func (o *ServerImage) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ServerImage) GetIdOk

func (o *ServerImage) 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 (*ServerImage) GetMetadata

func (o *ServerImage) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ServerImage) GetMetadataOk

func (o *ServerImage) GetMetadataOk() (*map[string]string, 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 (*ServerImage) GetMinDisk

func (o *ServerImage) GetMinDisk() int32

GetMinDisk returns the MinDisk field value if set, zero value otherwise.

func (*ServerImage) GetMinDiskOk

func (o *ServerImage) GetMinDiskOk() (*int32, bool)

GetMinDiskOk returns a tuple with the MinDisk field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetMinRam

func (o *ServerImage) GetMinRam() int32

GetMinRam returns the MinRam field value if set, zero value otherwise.

func (*ServerImage) GetMinRamOk

func (o *ServerImage) GetMinRamOk() (*int32, bool)

GetMinRamOk returns a tuple with the MinRam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetName

func (o *ServerImage) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServerImage) GetNameOk

func (o *ServerImage) 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 (*ServerImage) GetOs

func (o *ServerImage) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*ServerImage) GetOsOk

func (o *ServerImage) GetOsOk() (*string, bool)

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetOsVersion

func (o *ServerImage) GetOsVersion() string

GetOsVersion returns the OsVersion field value if set, zero value otherwise.

func (*ServerImage) GetOsVersionOk

func (o *ServerImage) GetOsVersionOk() (*string, bool)

GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetProgress

func (o *ServerImage) GetProgress() int32

GetProgress returns the Progress field value if set, zero value otherwise.

func (*ServerImage) GetProgressOk

func (o *ServerImage) GetProgressOk() (*int32, bool)

GetProgressOk returns a tuple with the Progress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetSize

func (o *ServerImage) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*ServerImage) GetSizeOk

func (o *ServerImage) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerImage) GetStatus

func (o *ServerImage) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ServerImage) GetStatusOk

func (o *ServerImage) 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 (*ServerImage) GetUsername

func (o *ServerImage) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*ServerImage) GetUsernameOk

func (o *ServerImage) 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 (*ServerImage) HasCreated

func (o *ServerImage) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*ServerImage) HasDocuments

func (o *ServerImage) HasDocuments() bool

HasDocuments returns a boolean if a field has been set.

func (*ServerImage) HasId

func (o *ServerImage) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServerImage) HasMetadata

func (o *ServerImage) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ServerImage) HasMinDisk

func (o *ServerImage) HasMinDisk() bool

HasMinDisk returns a boolean if a field has been set.

func (*ServerImage) HasMinRam

func (o *ServerImage) HasMinRam() bool

HasMinRam returns a boolean if a field has been set.

func (*ServerImage) HasName

func (o *ServerImage) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServerImage) HasOs

func (o *ServerImage) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*ServerImage) HasOsVersion

func (o *ServerImage) HasOsVersion() bool

HasOsVersion returns a boolean if a field has been set.

func (*ServerImage) HasProgress

func (o *ServerImage) HasProgress() bool

HasProgress returns a boolean if a field has been set.

func (*ServerImage) HasSize

func (o *ServerImage) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*ServerImage) HasStatus

func (o *ServerImage) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ServerImage) HasUsername

func (o *ServerImage) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ServerImage) MarshalJSON

func (o ServerImage) MarshalJSON() ([]byte, error)

func (*ServerImage) SetCreated

func (o *ServerImage) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*ServerImage) SetDocuments

func (o *ServerImage) SetDocuments(v []ImgDoc)

SetDocuments gets a reference to the given []ImgDoc and assigns it to the Documents field.

func (*ServerImage) SetId

func (o *ServerImage) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ServerImage) SetMetadata

func (o *ServerImage) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*ServerImage) SetMinDisk

func (o *ServerImage) SetMinDisk(v int32)

SetMinDisk gets a reference to the given int32 and assigns it to the MinDisk field.

func (*ServerImage) SetMinRam

func (o *ServerImage) SetMinRam(v int32)

SetMinRam gets a reference to the given int32 and assigns it to the MinRam field.

func (*ServerImage) SetName

func (o *ServerImage) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServerImage) SetOs

func (o *ServerImage) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*ServerImage) SetOsVersion

func (o *ServerImage) SetOsVersion(v string)

SetOsVersion gets a reference to the given string and assigns it to the OsVersion field.

func (*ServerImage) SetProgress

func (o *ServerImage) SetProgress(v int32)

SetProgress gets a reference to the given int32 and assigns it to the Progress field.

func (*ServerImage) SetSize

func (o *ServerImage) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*ServerImage) SetStatus

func (o *ServerImage) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ServerImage) SetUsername

func (o *ServerImage) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (ServerImage) ToMap

func (o ServerImage) ToMap() (map[string]interface{}, error)

type ServerReports

type ServerReports struct {
	Charts *ChartCollection `json:"charts,omitempty"`
}

ServerReports struct for ServerReports

func NewServerReports

func NewServerReports() *ServerReports

NewServerReports instantiates a new ServerReports object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerReportsWithDefaults

func NewServerReportsWithDefaults() *ServerReports

NewServerReportsWithDefaults instantiates a new ServerReports object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerReports) GetCharts

func (o *ServerReports) GetCharts() ChartCollection

GetCharts returns the Charts field value if set, zero value otherwise.

func (*ServerReports) GetChartsOk

func (o *ServerReports) GetChartsOk() (*ChartCollection, bool)

GetChartsOk returns a tuple with the Charts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerReports) HasCharts

func (o *ServerReports) HasCharts() bool

HasCharts returns a boolean if a field has been set.

func (ServerReports) MarshalJSON

func (o ServerReports) MarshalJSON() ([]byte, error)

func (*ServerReports) SetCharts

func (o *ServerReports) SetCharts(v ChartCollection)

SetCharts gets a reference to the given ChartCollection and assigns it to the Charts field.

func (ServerReports) ToMap

func (o ServerReports) ToMap() (map[string]interface{}, error)

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServerVolume

type ServerVolume struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	Size        *int32  `json:"size,omitempty"`
}

ServerVolume struct for ServerVolume

func NewServerVolume

func NewServerVolume() *ServerVolume

NewServerVolume instantiates a new ServerVolume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerVolumeWithDefaults

func NewServerVolumeWithDefaults() *ServerVolume

NewServerVolumeWithDefaults instantiates a new ServerVolume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerVolume) GetDescription

func (o *ServerVolume) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ServerVolume) GetDescriptionOk

func (o *ServerVolume) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerVolume) GetName

func (o *ServerVolume) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServerVolume) GetNameOk

func (o *ServerVolume) 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 (*ServerVolume) GetSize

func (o *ServerVolume) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*ServerVolume) GetSizeOk

func (o *ServerVolume) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerVolume) HasDescription

func (o *ServerVolume) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServerVolume) HasName

func (o *ServerVolume) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServerVolume) HasSize

func (o *ServerVolume) HasSize() bool

HasSize returns a boolean if a field has been set.

func (ServerVolume) MarshalJSON

func (o ServerVolume) MarshalJSON() ([]byte, error)

func (*ServerVolume) SetDescription

func (o *ServerVolume) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ServerVolume) SetName

func (o *ServerVolume) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServerVolume) SetSize

func (o *ServerVolume) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (ServerVolume) ToMap

func (o ServerVolume) ToMap() (map[string]interface{}, error)

type ServersAPIAddServerPublicIPRequest

type ServersAPIAddServerPublicIPRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIAddServerPublicIPRequest) AddServerPublicIPRequest

func (r ServersAPIAddServerPublicIPRequest) AddServerPublicIPRequest(addServerPublicIPRequest AddServerPublicIPRequest) ServersAPIAddServerPublicIPRequest

security groups to be applied to newly added public ip

func (ServersAPIAddServerPublicIPRequest) Execute

type ServersAPIAttachServerRootVolumeRequest

type ServersAPIAttachServerRootVolumeRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIAttachServerRootVolumeRequest) AttachServerRootVolumeRequest

func (r ServersAPIAttachServerRootVolumeRequest) AttachServerRootVolumeRequest(attachServerRootVolumeRequest AttachServerRootVolumeRequest) ServersAPIAttachServerRootVolumeRequest

volume id to be attached as root

func (ServersAPIAttachServerRootVolumeRequest) Execute

type ServersAPIAttachServerToSecurityGroupRequest

type ServersAPIAttachServerToSecurityGroupRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIAttachServerToSecurityGroupRequest) AttachServerToSecurityGroupRequest

func (r ServersAPIAttachServerToSecurityGroupRequest) AttachServerToSecurityGroupRequest(attachServerToSecurityGroupRequest AttachServerToSecurityGroupRequest) ServersAPIAttachServerToSecurityGroupRequest

security group info

func (ServersAPIAttachServerToSecurityGroupRequest) Execute

type ServersAPICreateServerRequest

type ServersAPICreateServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPICreateServerRequest) CreateServerRequest

func (r ServersAPICreateServerRequest) CreateServerRequest(createServerRequest CreateServerRequest) ServersAPICreateServerRequest

func (ServersAPICreateServerRequest) Execute

type ServersAPIDeleteServerRequest

type ServersAPIDeleteServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIDeleteServerRequest) DeleteServerReasons

func (r ServersAPIDeleteServerRequest) DeleteServerReasons(deleteServerReasons map[string]interface{}) ServersAPIDeleteServerRequest

The reason why this server is being deleted

func (ServersAPIDeleteServerRequest) Execute

func (ServersAPIDeleteServerRequest) ForceDelete

Force delete server. If true, the server will be forcibly deleted

type ServersAPIDetachServerFromSecurityGroupRequest

type ServersAPIDetachServerFromSecurityGroupRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIDetachServerFromSecurityGroupRequest) AttachServerToSecurityGroupRequest

func (r ServersAPIDetachServerFromSecurityGroupRequest) AttachServerToSecurityGroupRequest(attachServerToSecurityGroupRequest AttachServerToSecurityGroupRequest) ServersAPIDetachServerFromSecurityGroupRequest

security group info

func (ServersAPIDetachServerFromSecurityGroupRequest) Execute

type ServersAPIDetachServerRootVolumeRequest

type ServersAPIDetachServerRootVolumeRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIDetachServerRootVolumeRequest) Execute

type ServersAPIGetAllServersRequest

type ServersAPIGetAllServersRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIGetAllServersRequest) Execute

type ServersAPIGetDeleteReasonsRequest

type ServersAPIGetDeleteReasonsRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIGetDeleteReasonsRequest) Execute

type ServersAPIGetRegionServerCreationOptionsRequest

type ServersAPIGetRegionServerCreationOptionsRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIGetRegionServerCreationOptionsRequest) Execute

type ServersAPIGetServerAvailableActionsRequest

type ServersAPIGetServerAvailableActionsRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIGetServerAvailableActionsRequest) Execute

type ServersAPIGetServerDetailsRequest

type ServersAPIGetServerDetailsRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIGetServerDetailsRequest) Execute

type ServersAPIGetServerVNCRequest

type ServersAPIGetServerVNCRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIGetServerVNCRequest) Execute

type ServersAPIHardRebootServerRequest

type ServersAPIHardRebootServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIHardRebootServerRequest) Execute

type ServersAPIPowerOffServerRequest

type ServersAPIPowerOffServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIPowerOffServerRequest) Execute

type ServersAPIPowerOnServerRequest

type ServersAPIPowerOnServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIPowerOnServerRequest) Execute

type ServersAPIRebootServerRequest

type ServersAPIRebootServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIRebootServerRequest) Execute

type ServersAPIRebuildServerRequest

type ServersAPIRebuildServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIRebuildServerRequest) Execute

func (ServersAPIRebuildServerRequest) RebuildImageRequest

func (r ServersAPIRebuildServerRequest) RebuildImageRequest(rebuildImageRequest RebuildImageRequest) ServersAPIRebuildServerRequest

image info for the newly built server

type ServersAPIRenameServerRequest

type ServersAPIRenameServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIRenameServerRequest) Execute

func (ServersAPIRenameServerRequest) RenameServerRequest

func (r ServersAPIRenameServerRequest) RenameServerRequest(renameServerRequest RenameServerRequest) ServersAPIRenameServerRequest

server's new name

type ServersAPIRescueServerRequest

type ServersAPIRescueServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIRescueServerRequest) Execute

func (ServersAPIRescueServerRequest) RescueServerRequest

func (r ServersAPIRescueServerRequest) RescueServerRequest(rescueServerRequest RescueServerRequest) ServersAPIRescueServerRequest

rescue image info

type ServersAPIResetRootPasswordRequest

type ServersAPIResetRootPasswordRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIResetRootPasswordRequest) Execute

type ServersAPIResizeServerRequest

type ServersAPIResizeServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIResizeServerRequest) Execute

func (ServersAPIResizeServerRequest) ResizeServerRequest

func (r ServersAPIResizeServerRequest) ResizeServerRequest(resizeServerRequest ResizeServerRequest) ServersAPIResizeServerRequest

new flavor info

type ServersAPIResizeServerRootVolumeRequest

type ServersAPIResizeServerRootVolumeRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIResizeServerRootVolumeRequest) Execute

func (ServersAPIResizeServerRootVolumeRequest) ResizeRootVolumeRequest

New root volume size

type ServersAPIService

type ServersAPIService service

ServersAPIService ServersAPI service

func (*ServersAPIService) AddServerPublicIP

func (a *ServersAPIService) AddServerPublicIP(ctx context.Context, region string, id string) ServersAPIAddServerPublicIPRequest

AddServerPublicIP Method for AddServerPublicIP

Add a new public ip to the server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIAddServerPublicIPRequest

func (*ServersAPIService) AddServerPublicIPExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) AttachServerRootVolume

func (a *ServersAPIService) AttachServerRootVolume(ctx context.Context, region string, id string) ServersAPIAttachServerRootVolumeRequest

AttachServerRootVolume Method for AttachServerRootVolume

Attaches a volume to a server as its root volume. In order to do this, the volume MUST be bootable and detached

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIAttachServerRootVolumeRequest

func (*ServersAPIService) AttachServerRootVolumeExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) AttachServerToSecurityGroup

func (a *ServersAPIService) AttachServerToSecurityGroup(ctx context.Context, region string, id string) ServersAPIAttachServerToSecurityGroupRequest

AttachServerToSecurityGroup Method for AttachServerToSecurityGroup

Attach a security group(firewall) to the server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIAttachServerToSecurityGroupRequest

func (*ServersAPIService) AttachServerToSecurityGroupExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) CreateServer

CreateServer Method for CreateServer

Creates a server in specified region

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return ServersAPICreateServerRequest

func (*ServersAPIService) CreateServerExecute

Execute executes the request

@return ServerDetail

func (*ServersAPIService) DeleteServer

DeleteServer Method for DeleteServer

Delete a server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIDeleteServerRequest

func (*ServersAPIService) DeleteServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) DetachServerFromSecurityGroup

func (a *ServersAPIService) DetachServerFromSecurityGroup(ctx context.Context, region string, id string) ServersAPIDetachServerFromSecurityGroupRequest

DetachServerFromSecurityGroup Method for DetachServerFromSecurityGroup

Detaches a server from its security group(firewall)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIDetachServerFromSecurityGroupRequest

func (*ServersAPIService) DetachServerFromSecurityGroupExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) DetachServerRootVolume

func (a *ServersAPIService) DetachServerRootVolume(ctx context.Context, region string, id string) ServersAPIDetachServerRootVolumeRequest

DetachServerRootVolume Method for DetachServerRootVolume

Detaches server root volume. The server MUST be turned off in order to be detached from its root volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIDetachServerRootVolumeRequest

func (*ServersAPIService) DetachServerRootVolumeExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) GetAllServers

GetAllServers Method for GetAllServers

Lists all user's servers in specified region

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return ServersAPIGetAllServersRequest

func (*ServersAPIService) GetAllServersExecute

Execute executes the request

@return ServerDetail

func (*ServersAPIService) GetDeleteReasons

GetDeleteReasons Method for GetDeleteReasons

Get all delete reasons for server deletion. The response ids will be used in server deletion API endpoint

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return ServersAPIGetDeleteReasonsRequest

func (*ServersAPIService) GetDeleteReasonsExecute

Execute executes the request

@return DeleteServerReasons

func (*ServersAPIService) GetRegionServerCreationOptions

func (a *ServersAPIService) GetRegionServerCreationOptions(ctx context.Context, region string) ServersAPIGetRegionServerCreationOptionsRequest

GetRegionServerCreationOptions Method for GetRegionServerCreationOptions

Returns info about the server creation options in the specified region

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return ServersAPIGetRegionServerCreationOptionsRequest

func (*ServersAPIService) GetRegionServerCreationOptionsExecute

Execute executes the request

@return RegionServerCreateOptions

func (*ServersAPIService) GetServerAvailableActions

func (a *ServersAPIService) GetServerAvailableActions(ctx context.Context, region string, id string) ServersAPIGetServerAvailableActionsRequest

GetServerAvailableActions Method for GetServerAvailableActions

Returns a list of actions which are permitted to be applied on the server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIGetServerAvailableActionsRequest

func (*ServersAPIService) GetServerAvailableActionsExecute

Execute executes the request

@return GetServerActionsResponse

func (*ServersAPIService) GetServerDetails

func (a *ServersAPIService) GetServerDetails(ctx context.Context, region string, id string) ServersAPIGetServerDetailsRequest

GetServerDetails Method for GetServerDetails

Get a server details by its ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIGetServerDetailsRequest

func (*ServersAPIService) GetServerDetailsExecute

Execute executes the request

@return ServerDetail

func (*ServersAPIService) GetServerVNC

GetServerVNC Method for GetServerVNC

Returns a noVNC url which can be used to interact with server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIGetServerVNCRequest

func (*ServersAPIService) GetServerVNCExecute

Execute executes the request

@return GetServerVNCRequest

func (*ServersAPIService) HardRebootServer

func (a *ServersAPIService) HardRebootServer(ctx context.Context, region string, id string) ServersAPIHardRebootServerRequest

HardRebootServer Method for HardRebootServer

Restart server, this operation might cause data loss

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIHardRebootServerRequest

func (*ServersAPIService) HardRebootServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) PowerOffServer

PowerOffServer Method for PowerOffServer

Power-Off the specified server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIPowerOffServerRequest

func (*ServersAPIService) PowerOffServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) PowerOnServer

PowerOnServer Method for PowerOnServer

Turns on the specified server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIPowerOnServerRequest

func (*ServersAPIService) PowerOnServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) RebootServer

RebootServer Method for RebootServer

Reboot server gracefully

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIRebootServerRequest

func (*ServersAPIService) RebootServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) RebuildServer

RebuildServer Method for RebuildServer

Rebuild server based on a new image

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIRebuildServerRequest

func (*ServersAPIService) RebuildServerExecute

Execute executes the request

@return ServerDetail

func (*ServersAPIService) RenameServer

RenameServer Method for RenameServer

Change server's display name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIRenameServerRequest

func (*ServersAPIService) RenameServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) RescueServer

RescueServer Method for RescueServer

Restart server and boot into rescue mode

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIRescueServerRequest

func (*ServersAPIService) RescueServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) ResetRootPassword

func (a *ServersAPIService) ResetRootPassword(ctx context.Context, region string, id string) ServersAPIResetRootPasswordRequest

ResetRootPassword Method for ResetRootPassword

Reset linux based server's root password

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIResetRootPasswordRequest

func (*ServersAPIService) ResetRootPasswordExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) ResizeServer

ResizeServer Method for ResizeServer

Change server's flavor

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIResizeServerRequest

func (*ServersAPIService) ResizeServerExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) ResizeServerRootVolume

func (a *ServersAPIService) ResizeServerRootVolume(ctx context.Context, region string, id string) ServersAPIResizeServerRootVolumeRequest

ResizeServerRootVolume Method for ResizeServerRootVolume

Resizes server root volume without changing its flavor

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIResizeServerRootVolumeRequest

func (*ServersAPIService) ResizeServerRootVolumeExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) TakeServerSnapshot

func (a *ServersAPIService) TakeServerSnapshot(ctx context.Context, region string, id string) ServersAPITakeServerSnapshotRequest

TakeServerSnapshot Method for TakeServerSnapshot

Makes a snapshot from server's root volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPITakeServerSnapshotRequest

func (*ServersAPIService) TakeServerSnapshotExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) ToggleInstanceHA

func (a *ServersAPIService) ToggleInstanceHA(ctx context.Context, region string, id string, action string) ServersAPIToggleInstanceHARequest

ToggleInstanceHA Method for ToggleInstanceHA

Enables HA(Esfandiar eyes) Feature on server. This makes sure that servers are not affected from compute failures

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@param action action on the feature, either `enable` or `disable`
@return ServersAPIToggleInstanceHARequest

func (*ServersAPIService) ToggleInstanceHAExecute

Execute executes the request

@return MessageResponse

func (*ServersAPIService) UnrescueServer

UnrescueServer Method for UnrescueServer

Restart server from rescue mode into normal mode

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server id
@return ServersAPIUnrescueServerRequest

func (*ServersAPIService) UnrescueServerExecute

Execute executes the request

@return MessageResponse

type ServersAPITakeServerSnapshotRequest

type ServersAPITakeServerSnapshotRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPITakeServerSnapshotRequest) Execute

func (ServersAPITakeServerSnapshotRequest) Payload

snapshot info

type ServersAPIToggleInstanceHARequest

type ServersAPIToggleInstanceHARequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIToggleInstanceHARequest) Execute

type ServersAPIUnrescueServerRequest

type ServersAPIUnrescueServerRequest struct {
	ApiService *ServersAPIService
	// contains filtered or unexported fields
}

func (ServersAPIUnrescueServerRequest) Execute

type SinglePlan

type SinglePlan struct {
	BandwidthInBytes *int64   `json:"bandwidth_in_bytes,omitempty"`
	BasePackage      *string  `json:"base_package,omitempty"`
	CpuCount         *int64   `json:"cpu_count,omitempty"`
	CpuShare         *string  `json:"cpu_share,omitempty"`
	CreateType       *string  `json:"create_type,omitempty"`
	Disk             *int64   `json:"disk,omitempty"`
	Id               *string  `json:"id,omitempty"`
	IopsMaxHdd       *int64   `json:"iops_max_hdd,omitempty"`
	IopsMaxSsd       *int64   `json:"iops_max_ssd,omitempty"`
	Memory           *float64 `json:"memory,omitempty"`
	Name             *string  `json:"name,omitempty"`
	Off              *string  `json:"off,omitempty"`
	OffPercent       *string  `json:"off_percent,omitempty"`
	PortSpeed        *float64 `json:"port_speed,omitempty"`
	Pps              []int64  `json:"pps,omitempty"`
	PricePerHour     *int64   `json:"price_per_hour,omitempty"`
	PricePerMonth    *int64   `json:"price_per_month,omitempty"`
	Subtype          *string  `json:"subtype,omitempty"`
	Swap             *string  `json:"swap,omitempty"`
	Throughput       *int64   `json:"throughput,omitempty"`
	Type             *string  `json:"type,omitempty"`
}

SinglePlan struct for SinglePlan

func NewSinglePlan

func NewSinglePlan() *SinglePlan

NewSinglePlan instantiates a new SinglePlan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSinglePlanWithDefaults

func NewSinglePlanWithDefaults() *SinglePlan

NewSinglePlanWithDefaults instantiates a new SinglePlan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SinglePlan) GetBandwidthInBytes

func (o *SinglePlan) GetBandwidthInBytes() int64

GetBandwidthInBytes returns the BandwidthInBytes field value if set, zero value otherwise.

func (*SinglePlan) GetBandwidthInBytesOk

func (o *SinglePlan) GetBandwidthInBytesOk() (*int64, bool)

GetBandwidthInBytesOk returns a tuple with the BandwidthInBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetBasePackage

func (o *SinglePlan) GetBasePackage() string

GetBasePackage returns the BasePackage field value if set, zero value otherwise.

func (*SinglePlan) GetBasePackageOk

func (o *SinglePlan) GetBasePackageOk() (*string, bool)

GetBasePackageOk returns a tuple with the BasePackage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetCpuCount

func (o *SinglePlan) GetCpuCount() int64

GetCpuCount returns the CpuCount field value if set, zero value otherwise.

func (*SinglePlan) GetCpuCountOk

func (o *SinglePlan) GetCpuCountOk() (*int64, bool)

GetCpuCountOk returns a tuple with the CpuCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetCpuShare

func (o *SinglePlan) GetCpuShare() string

GetCpuShare returns the CpuShare field value if set, zero value otherwise.

func (*SinglePlan) GetCpuShareOk

func (o *SinglePlan) GetCpuShareOk() (*string, bool)

GetCpuShareOk returns a tuple with the CpuShare field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetCreateType

func (o *SinglePlan) GetCreateType() string

GetCreateType returns the CreateType field value if set, zero value otherwise.

func (*SinglePlan) GetCreateTypeOk

func (o *SinglePlan) GetCreateTypeOk() (*string, bool)

GetCreateTypeOk returns a tuple with the CreateType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetDisk

func (o *SinglePlan) GetDisk() int64

GetDisk returns the Disk field value if set, zero value otherwise.

func (*SinglePlan) GetDiskOk

func (o *SinglePlan) GetDiskOk() (*int64, bool)

GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetId

func (o *SinglePlan) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SinglePlan) GetIdOk

func (o *SinglePlan) 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 (*SinglePlan) GetIopsMaxHdd

func (o *SinglePlan) GetIopsMaxHdd() int64

GetIopsMaxHdd returns the IopsMaxHdd field value if set, zero value otherwise.

func (*SinglePlan) GetIopsMaxHddOk

func (o *SinglePlan) GetIopsMaxHddOk() (*int64, bool)

GetIopsMaxHddOk returns a tuple with the IopsMaxHdd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetIopsMaxSsd

func (o *SinglePlan) GetIopsMaxSsd() int64

GetIopsMaxSsd returns the IopsMaxSsd field value if set, zero value otherwise.

func (*SinglePlan) GetIopsMaxSsdOk

func (o *SinglePlan) GetIopsMaxSsdOk() (*int64, bool)

GetIopsMaxSsdOk returns a tuple with the IopsMaxSsd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetMemory

func (o *SinglePlan) GetMemory() float64

GetMemory returns the Memory field value if set, zero value otherwise.

func (*SinglePlan) GetMemoryOk

func (o *SinglePlan) GetMemoryOk() (*float64, bool)

GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetName

func (o *SinglePlan) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SinglePlan) GetNameOk

func (o *SinglePlan) 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 (*SinglePlan) GetOff

func (o *SinglePlan) GetOff() string

GetOff returns the Off field value if set, zero value otherwise.

func (*SinglePlan) GetOffOk

func (o *SinglePlan) GetOffOk() (*string, bool)

GetOffOk returns a tuple with the Off field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetOffPercent

func (o *SinglePlan) GetOffPercent() string

GetOffPercent returns the OffPercent field value if set, zero value otherwise.

func (*SinglePlan) GetOffPercentOk

func (o *SinglePlan) GetOffPercentOk() (*string, bool)

GetOffPercentOk returns a tuple with the OffPercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetPortSpeed

func (o *SinglePlan) GetPortSpeed() float64

GetPortSpeed returns the PortSpeed field value if set, zero value otherwise.

func (*SinglePlan) GetPortSpeedOk

func (o *SinglePlan) GetPortSpeedOk() (*float64, bool)

GetPortSpeedOk returns a tuple with the PortSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetPps

func (o *SinglePlan) GetPps() []int64

GetPps returns the Pps field value if set, zero value otherwise.

func (*SinglePlan) GetPpsOk

func (o *SinglePlan) GetPpsOk() ([]int64, bool)

GetPpsOk returns a tuple with the Pps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetPricePerHour

func (o *SinglePlan) GetPricePerHour() int64

GetPricePerHour returns the PricePerHour field value if set, zero value otherwise.

func (*SinglePlan) GetPricePerHourOk

func (o *SinglePlan) GetPricePerHourOk() (*int64, bool)

GetPricePerHourOk returns a tuple with the PricePerHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetPricePerMonth

func (o *SinglePlan) GetPricePerMonth() int64

GetPricePerMonth returns the PricePerMonth field value if set, zero value otherwise.

func (*SinglePlan) GetPricePerMonthOk

func (o *SinglePlan) GetPricePerMonthOk() (*int64, bool)

GetPricePerMonthOk returns a tuple with the PricePerMonth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetSubtype

func (o *SinglePlan) GetSubtype() string

GetSubtype returns the Subtype field value if set, zero value otherwise.

func (*SinglePlan) GetSubtypeOk

func (o *SinglePlan) GetSubtypeOk() (*string, bool)

GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetSwap

func (o *SinglePlan) GetSwap() string

GetSwap returns the Swap field value if set, zero value otherwise.

func (*SinglePlan) GetSwapOk

func (o *SinglePlan) GetSwapOk() (*string, bool)

GetSwapOk returns a tuple with the Swap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetThroughput

func (o *SinglePlan) GetThroughput() int64

GetThroughput returns the Throughput field value if set, zero value otherwise.

func (*SinglePlan) GetThroughputOk

func (o *SinglePlan) GetThroughputOk() (*int64, bool)

GetThroughputOk returns a tuple with the Throughput field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SinglePlan) GetType

func (o *SinglePlan) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SinglePlan) GetTypeOk

func (o *SinglePlan) 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 (*SinglePlan) HasBandwidthInBytes

func (o *SinglePlan) HasBandwidthInBytes() bool

HasBandwidthInBytes returns a boolean if a field has been set.

func (*SinglePlan) HasBasePackage

func (o *SinglePlan) HasBasePackage() bool

HasBasePackage returns a boolean if a field has been set.

func (*SinglePlan) HasCpuCount

func (o *SinglePlan) HasCpuCount() bool

HasCpuCount returns a boolean if a field has been set.

func (*SinglePlan) HasCpuShare

func (o *SinglePlan) HasCpuShare() bool

HasCpuShare returns a boolean if a field has been set.

func (*SinglePlan) HasCreateType

func (o *SinglePlan) HasCreateType() bool

HasCreateType returns a boolean if a field has been set.

func (*SinglePlan) HasDisk

func (o *SinglePlan) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*SinglePlan) HasId

func (o *SinglePlan) HasId() bool

HasId returns a boolean if a field has been set.

func (*SinglePlan) HasIopsMaxHdd

func (o *SinglePlan) HasIopsMaxHdd() bool

HasIopsMaxHdd returns a boolean if a field has been set.

func (*SinglePlan) HasIopsMaxSsd

func (o *SinglePlan) HasIopsMaxSsd() bool

HasIopsMaxSsd returns a boolean if a field has been set.

func (*SinglePlan) HasMemory

func (o *SinglePlan) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*SinglePlan) HasName

func (o *SinglePlan) HasName() bool

HasName returns a boolean if a field has been set.

func (*SinglePlan) HasOff

func (o *SinglePlan) HasOff() bool

HasOff returns a boolean if a field has been set.

func (*SinglePlan) HasOffPercent

func (o *SinglePlan) HasOffPercent() bool

HasOffPercent returns a boolean if a field has been set.

func (*SinglePlan) HasPortSpeed

func (o *SinglePlan) HasPortSpeed() bool

HasPortSpeed returns a boolean if a field has been set.

func (*SinglePlan) HasPps

func (o *SinglePlan) HasPps() bool

HasPps returns a boolean if a field has been set.

func (*SinglePlan) HasPricePerHour

func (o *SinglePlan) HasPricePerHour() bool

HasPricePerHour returns a boolean if a field has been set.

func (*SinglePlan) HasPricePerMonth

func (o *SinglePlan) HasPricePerMonth() bool

HasPricePerMonth returns a boolean if a field has been set.

func (*SinglePlan) HasSubtype

func (o *SinglePlan) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

func (*SinglePlan) HasSwap

func (o *SinglePlan) HasSwap() bool

HasSwap returns a boolean if a field has been set.

func (*SinglePlan) HasThroughput

func (o *SinglePlan) HasThroughput() bool

HasThroughput returns a boolean if a field has been set.

func (*SinglePlan) HasType

func (o *SinglePlan) HasType() bool

HasType returns a boolean if a field has been set.

func (SinglePlan) MarshalJSON

func (o SinglePlan) MarshalJSON() ([]byte, error)

func (*SinglePlan) SetBandwidthInBytes

func (o *SinglePlan) SetBandwidthInBytes(v int64)

SetBandwidthInBytes gets a reference to the given int64 and assigns it to the BandwidthInBytes field.

func (*SinglePlan) SetBasePackage

func (o *SinglePlan) SetBasePackage(v string)

SetBasePackage gets a reference to the given string and assigns it to the BasePackage field.

func (*SinglePlan) SetCpuCount

func (o *SinglePlan) SetCpuCount(v int64)

SetCpuCount gets a reference to the given int64 and assigns it to the CpuCount field.

func (*SinglePlan) SetCpuShare

func (o *SinglePlan) SetCpuShare(v string)

SetCpuShare gets a reference to the given string and assigns it to the CpuShare field.

func (*SinglePlan) SetCreateType

func (o *SinglePlan) SetCreateType(v string)

SetCreateType gets a reference to the given string and assigns it to the CreateType field.

func (*SinglePlan) SetDisk

func (o *SinglePlan) SetDisk(v int64)

SetDisk gets a reference to the given int64 and assigns it to the Disk field.

func (*SinglePlan) SetId

func (o *SinglePlan) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SinglePlan) SetIopsMaxHdd

func (o *SinglePlan) SetIopsMaxHdd(v int64)

SetIopsMaxHdd gets a reference to the given int64 and assigns it to the IopsMaxHdd field.

func (*SinglePlan) SetIopsMaxSsd

func (o *SinglePlan) SetIopsMaxSsd(v int64)

SetIopsMaxSsd gets a reference to the given int64 and assigns it to the IopsMaxSsd field.

func (*SinglePlan) SetMemory

func (o *SinglePlan) SetMemory(v float64)

SetMemory gets a reference to the given float64 and assigns it to the Memory field.

func (*SinglePlan) SetName

func (o *SinglePlan) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SinglePlan) SetOff

func (o *SinglePlan) SetOff(v string)

SetOff gets a reference to the given string and assigns it to the Off field.

func (*SinglePlan) SetOffPercent

func (o *SinglePlan) SetOffPercent(v string)

SetOffPercent gets a reference to the given string and assigns it to the OffPercent field.

func (*SinglePlan) SetPortSpeed

func (o *SinglePlan) SetPortSpeed(v float64)

SetPortSpeed gets a reference to the given float64 and assigns it to the PortSpeed field.

func (*SinglePlan) SetPps

func (o *SinglePlan) SetPps(v []int64)

SetPps gets a reference to the given []int64 and assigns it to the Pps field.

func (*SinglePlan) SetPricePerHour

func (o *SinglePlan) SetPricePerHour(v int64)

SetPricePerHour gets a reference to the given int64 and assigns it to the PricePerHour field.

func (*SinglePlan) SetPricePerMonth

func (o *SinglePlan) SetPricePerMonth(v int64)

SetPricePerMonth gets a reference to the given int64 and assigns it to the PricePerMonth field.

func (*SinglePlan) SetSubtype

func (o *SinglePlan) SetSubtype(v string)

SetSubtype gets a reference to the given string and assigns it to the Subtype field.

func (*SinglePlan) SetSwap

func (o *SinglePlan) SetSwap(v string)

SetSwap gets a reference to the given string and assigns it to the Swap field.

func (*SinglePlan) SetThroughput

func (o *SinglePlan) SetThroughput(v int64)

SetThroughput gets a reference to the given int64 and assigns it to the Throughput field.

func (*SinglePlan) SetType

func (o *SinglePlan) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (SinglePlan) ToMap

func (o SinglePlan) ToMap() (map[string]interface{}, error)

type SnapshotCreateRequest

type SnapshotCreateRequest struct {
	Name *string `json:"name,omitempty"`
}

SnapshotCreateRequest struct for SnapshotCreateRequest

func NewSnapshotCreateRequest

func NewSnapshotCreateRequest() *SnapshotCreateRequest

NewSnapshotCreateRequest instantiates a new SnapshotCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnapshotCreateRequestWithDefaults

func NewSnapshotCreateRequestWithDefaults() *SnapshotCreateRequest

NewSnapshotCreateRequestWithDefaults instantiates a new SnapshotCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SnapshotCreateRequest) GetName

func (o *SnapshotCreateRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SnapshotCreateRequest) GetNameOk

func (o *SnapshotCreateRequest) 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 (*SnapshotCreateRequest) HasName

func (o *SnapshotCreateRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (SnapshotCreateRequest) MarshalJSON

func (o SnapshotCreateRequest) MarshalJSON() ([]byte, error)

func (*SnapshotCreateRequest) SetName

func (o *SnapshotCreateRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SnapshotCreateRequest) ToMap

func (o SnapshotCreateRequest) ToMap() (map[string]interface{}, error)

type SnapshotsAPICreateImageFromSnapshotRequest

type SnapshotsAPICreateImageFromSnapshotRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPICreateImageFromSnapshotRequest) CreateVolumeFromSnapshotRequest

func (r SnapshotsAPICreateImageFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) SnapshotsAPICreateImageFromSnapshotRequest

snapshot info to be reverted

func (SnapshotsAPICreateImageFromSnapshotRequest) Execute

type SnapshotsAPICreateSnapshotFromServerRequest

type SnapshotsAPICreateSnapshotFromServerRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPICreateSnapshotFromServerRequest) CreateSnapshotFromVolumeRequest

func (r SnapshotsAPICreateSnapshotFromServerRequest) CreateSnapshotFromVolumeRequest(createSnapshotFromVolumeRequest CreateSnapshotFromVolumeRequest) SnapshotsAPICreateSnapshotFromServerRequest

info about the snapshot to be created

func (SnapshotsAPICreateSnapshotFromServerRequest) Execute

type SnapshotsAPICreateSnapshotFromVolumeRequest

type SnapshotsAPICreateSnapshotFromVolumeRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPICreateSnapshotFromVolumeRequest) CreateSnapshotFromVolumeRequest

func (r SnapshotsAPICreateSnapshotFromVolumeRequest) CreateSnapshotFromVolumeRequest(createSnapshotFromVolumeRequest CreateSnapshotFromVolumeRequest) SnapshotsAPICreateSnapshotFromVolumeRequest

info about the snapshot to be created

func (SnapshotsAPICreateSnapshotFromVolumeRequest) Execute

type SnapshotsAPICreateVolumeFromSnapshotRequest

type SnapshotsAPICreateVolumeFromSnapshotRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest

func (r SnapshotsAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) SnapshotsAPICreateVolumeFromSnapshotRequest

snapshot info to be reverted

func (SnapshotsAPICreateVolumeFromSnapshotRequest) Execute

type SnapshotsAPIDeleteSnapshotRequest

type SnapshotsAPIDeleteSnapshotRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPIDeleteSnapshotRequest) Execute

type SnapshotsAPIGetAllSnapshotsRequest

type SnapshotsAPIGetAllSnapshotsRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPIGetAllSnapshotsRequest) Execute

type SnapshotsAPIRevertSnapshotRequest

type SnapshotsAPIRevertSnapshotRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPIRevertSnapshotRequest) Execute

func (SnapshotsAPIRevertSnapshotRequest) RevertSnapshotRequest

func (r SnapshotsAPIRevertSnapshotRequest) RevertSnapshotRequest(revertSnapshotRequest RevertSnapshotRequest) SnapshotsAPIRevertSnapshotRequest

snapshot info to be reverted

type SnapshotsAPIService

type SnapshotsAPIService service

SnapshotsAPIService SnapshotsAPI service

func (*SnapshotsAPIService) CreateImageFromSnapshot

func (a *SnapshotsAPIService) CreateImageFromSnapshot(ctx context.Context, region string, id string) SnapshotsAPICreateImageFromSnapshotRequest

CreateImageFromSnapshot Method for CreateImageFromSnapshot

Creates an image as a `Personal OS` from snapshot. Note this method is deprecated, use `Volumes/CreateOSVolumeFromSnapshot`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return SnapshotsAPICreateImageFromSnapshotRequest

func (*SnapshotsAPIService) CreateImageFromSnapshotExecute

Execute executes the request

@return MessageResponse

func (*SnapshotsAPIService) CreateSnapshotFromServer

func (a *SnapshotsAPIService) CreateSnapshotFromServer(ctx context.Context, region string, id string) SnapshotsAPICreateSnapshotFromServerRequest

CreateSnapshotFromServer Method for CreateSnapshotFromServer

Creates a snapshot from server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id volume id
@return SnapshotsAPICreateSnapshotFromServerRequest

func (*SnapshotsAPIService) CreateSnapshotFromServerExecute

Execute executes the request

@return MessageResponse

func (*SnapshotsAPIService) CreateSnapshotFromVolume

func (a *SnapshotsAPIService) CreateSnapshotFromVolume(ctx context.Context, region string, id string) SnapshotsAPICreateSnapshotFromVolumeRequest

CreateSnapshotFromVolume Method for CreateSnapshotFromVolume

Creates a snapshot from volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id volume id
@return SnapshotsAPICreateSnapshotFromVolumeRequest

func (*SnapshotsAPIService) CreateSnapshotFromVolumeExecute

Execute executes the request

@return MessageResponse

func (*SnapshotsAPIService) CreateVolumeFromSnapshot

func (a *SnapshotsAPIService) CreateVolumeFromSnapshot(ctx context.Context, region string, id string) SnapshotsAPICreateVolumeFromSnapshotRequest

CreateVolumeFromSnapshot Method for CreateVolumeFromSnapshot

Creates a volume from snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return SnapshotsAPICreateVolumeFromSnapshotRequest

func (*SnapshotsAPIService) CreateVolumeFromSnapshotExecute

Execute executes the request

@return MessageResponse

func (*SnapshotsAPIService) DeleteSnapshot

DeleteSnapshot Method for DeleteSnapshot

Deletes a snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return SnapshotsAPIDeleteSnapshotRequest

func (*SnapshotsAPIService) DeleteSnapshotExecute

Execute executes the request

@return MessageResponse

func (*SnapshotsAPIService) GetAllSnapshots

GetAllSnapshots Method for GetAllSnapshots

Returns all user's snapshots

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SnapshotsAPIGetAllSnapshotsRequest

func (*SnapshotsAPIService) GetAllSnapshotsExecute

Execute executes the request

@return VolumeSnapshot

func (*SnapshotsAPIService) RevertSnapshot

RevertSnapshot Method for RevertSnapshot

Reverts a volume or server to its snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id server or volume id which the snapshot belongs to
@return SnapshotsAPIRevertSnapshotRequest

func (*SnapshotsAPIService) RevertSnapshotExecute

Execute executes the request

@return MessageResponse

func (*SnapshotsAPIService) UpdateSnapshot

UpdateSnapshot Method for UpdateSnapshot

Updates snapshot info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return SnapshotsAPIUpdateSnapshotRequest

func (*SnapshotsAPIService) UpdateSnapshotExecute

Execute executes the request

@return MessageResponse

type SnapshotsAPIUpdateSnapshotRequest

type SnapshotsAPIUpdateSnapshotRequest struct {
	ApiService *SnapshotsAPIService
	// contains filtered or unexported fields
}

func (SnapshotsAPIUpdateSnapshotRequest) Execute

func (SnapshotsAPIUpdateSnapshotRequest) UpdateVolumeSnapshotRequest

func (r SnapshotsAPIUpdateSnapshotRequest) UpdateVolumeSnapshotRequest(updateVolumeSnapshotRequest UpdateVolumeSnapshotRequest) SnapshotsAPIUpdateSnapshotRequest

new info for volume snapshot

type Subnet

type Subnet struct {
	// Sub-ranges of CIDR available for dynamic allocation to ports. See AllocationPool.
	AllocationPools []AllocationPool `json:"allocation_pools,omitempty"`
	// CIDR representing IP range for this subnet, based on IP version.
	Cidr *string `json:"cidr,omitempty"`
	// Description for the subnet.
	Description *string `json:"description,omitempty"`
	// DNS name servers used by hosts in this subnet.
	DnsNameservers []string `json:"dns_nameservers,omitempty"`
	// Specifies whether DHCP is enabled for this subnet or not.
	EnableDhcp *bool `json:"enable_dhcp,omitempty"`
	// Default gateway used by devices in this subnet.
	GatewayIp *string `json:"gateway_ip,omitempty"`
	// Routes that should be used by devices with IPs from this subnet (not including local subnet route).
	HostRoutes []HostRoute `json:"host_routes,omitempty"`
	Id         *string     `json:"id,omitempty"`
	// IP version, either `4' or `6'.
	IpVersion *string `json:"ip_version,omitempty"`
	// The IPv6 address modes specifies mechanisms for assigning IPv6 IP addresses.
	Ipv6AddressMode *string `json:"ipv6_address_mode,omitempty"`
	// The IPv6 router advertisement specifies whether the networking service should transmit ICMPv6 packets.
	Ipv6RaMode *string `json:"ipv6_ra_mode,omitempty"`
	// Human-readable name for the subnet. Might not be unique.
	Name *string `json:"name,omitempty"`
	// UUID of the parent network.
	NetworkId *string `json:"network_id,omitempty"`
	// ProjectID is the project owner of the subnet.
	ProjectId      *string         `json:"project_id,omitempty"`
	RevisionNumber *int64          `json:"revision_number,omitempty"`
	Servers        []NetworkServer `json:"servers,omitempty"`
	ServiceTypes   []string        `json:"service_types,omitempty"`
	// SubnetPoolID is the id of the subnet pool associated with the subnet.
	SubnetpoolId *string  `json:"subnetpool_id,omitempty"`
	Tags         []string `json:"tags,omitempty"`
	// TenantID is the project owner of the subnet.
	TenantId *string `json:"tenant_id,omitempty"`
}

Subnet struct for Subnet

func NewSubnet

func NewSubnet() *Subnet

NewSubnet instantiates a new Subnet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubnetWithDefaults

func NewSubnetWithDefaults() *Subnet

NewSubnetWithDefaults instantiates a new Subnet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Subnet) GetAllocationPools

func (o *Subnet) GetAllocationPools() []AllocationPool

GetAllocationPools returns the AllocationPools field value if set, zero value otherwise.

func (*Subnet) GetAllocationPoolsOk

func (o *Subnet) GetAllocationPoolsOk() ([]AllocationPool, bool)

GetAllocationPoolsOk returns a tuple with the AllocationPools field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetCidr

func (o *Subnet) GetCidr() string

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*Subnet) GetCidrOk

func (o *Subnet) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetDescription

func (o *Subnet) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Subnet) GetDescriptionOk

func (o *Subnet) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetDnsNameservers

func (o *Subnet) GetDnsNameservers() []string

GetDnsNameservers returns the DnsNameservers field value if set, zero value otherwise.

func (*Subnet) GetDnsNameserversOk

func (o *Subnet) GetDnsNameserversOk() ([]string, bool)

GetDnsNameserversOk returns a tuple with the DnsNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetEnableDhcp

func (o *Subnet) GetEnableDhcp() bool

GetEnableDhcp returns the EnableDhcp field value if set, zero value otherwise.

func (*Subnet) GetEnableDhcpOk

func (o *Subnet) GetEnableDhcpOk() (*bool, bool)

GetEnableDhcpOk returns a tuple with the EnableDhcp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetGatewayIp

func (o *Subnet) GetGatewayIp() string

GetGatewayIp returns the GatewayIp field value if set, zero value otherwise.

func (*Subnet) GetGatewayIpOk

func (o *Subnet) GetGatewayIpOk() (*string, bool)

GetGatewayIpOk returns a tuple with the GatewayIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetHostRoutes

func (o *Subnet) GetHostRoutes() []HostRoute

GetHostRoutes returns the HostRoutes field value if set, zero value otherwise.

func (*Subnet) GetHostRoutesOk

func (o *Subnet) GetHostRoutesOk() ([]HostRoute, bool)

GetHostRoutesOk returns a tuple with the HostRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetId

func (o *Subnet) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Subnet) GetIdOk

func (o *Subnet) 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 (*Subnet) GetIpVersion

func (o *Subnet) GetIpVersion() string

GetIpVersion returns the IpVersion field value if set, zero value otherwise.

func (*Subnet) GetIpVersionOk

func (o *Subnet) GetIpVersionOk() (*string, bool)

GetIpVersionOk returns a tuple with the IpVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetIpv6AddressMode

func (o *Subnet) GetIpv6AddressMode() string

GetIpv6AddressMode returns the Ipv6AddressMode field value if set, zero value otherwise.

func (*Subnet) GetIpv6AddressModeOk

func (o *Subnet) GetIpv6AddressModeOk() (*string, bool)

GetIpv6AddressModeOk returns a tuple with the Ipv6AddressMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetIpv6RaMode

func (o *Subnet) GetIpv6RaMode() string

GetIpv6RaMode returns the Ipv6RaMode field value if set, zero value otherwise.

func (*Subnet) GetIpv6RaModeOk

func (o *Subnet) GetIpv6RaModeOk() (*string, bool)

GetIpv6RaModeOk returns a tuple with the Ipv6RaMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetName

func (o *Subnet) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Subnet) GetNameOk

func (o *Subnet) 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 (*Subnet) GetNetworkId

func (o *Subnet) GetNetworkId() string

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*Subnet) GetNetworkIdOk

func (o *Subnet) GetNetworkIdOk() (*string, bool)

GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetProjectId

func (o *Subnet) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*Subnet) GetProjectIdOk

func (o *Subnet) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetRevisionNumber

func (o *Subnet) GetRevisionNumber() int64

GetRevisionNumber returns the RevisionNumber field value if set, zero value otherwise.

func (*Subnet) GetRevisionNumberOk

func (o *Subnet) GetRevisionNumberOk() (*int64, bool)

GetRevisionNumberOk returns a tuple with the RevisionNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetServers

func (o *Subnet) GetServers() []NetworkServer

GetServers returns the Servers field value if set, zero value otherwise.

func (*Subnet) GetServersOk

func (o *Subnet) GetServersOk() ([]NetworkServer, bool)

GetServersOk returns a tuple with the Servers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetServiceTypes

func (o *Subnet) GetServiceTypes() []string

GetServiceTypes returns the ServiceTypes field value if set, zero value otherwise.

func (*Subnet) GetServiceTypesOk

func (o *Subnet) GetServiceTypesOk() ([]string, bool)

GetServiceTypesOk returns a tuple with the ServiceTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetSubnetpoolId

func (o *Subnet) GetSubnetpoolId() string

GetSubnetpoolId returns the SubnetpoolId field value if set, zero value otherwise.

func (*Subnet) GetSubnetpoolIdOk

func (o *Subnet) GetSubnetpoolIdOk() (*string, bool)

GetSubnetpoolIdOk returns a tuple with the SubnetpoolId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetTags

func (o *Subnet) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Subnet) GetTagsOk

func (o *Subnet) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) GetTenantId

func (o *Subnet) GetTenantId() string

GetTenantId returns the TenantId field value if set, zero value otherwise.

func (*Subnet) GetTenantIdOk

func (o *Subnet) GetTenantIdOk() (*string, bool)

GetTenantIdOk returns a tuple with the TenantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subnet) HasAllocationPools

func (o *Subnet) HasAllocationPools() bool

HasAllocationPools returns a boolean if a field has been set.

func (*Subnet) HasCidr

func (o *Subnet) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*Subnet) HasDescription

func (o *Subnet) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Subnet) HasDnsNameservers

func (o *Subnet) HasDnsNameservers() bool

HasDnsNameservers returns a boolean if a field has been set.

func (*Subnet) HasEnableDhcp

func (o *Subnet) HasEnableDhcp() bool

HasEnableDhcp returns a boolean if a field has been set.

func (*Subnet) HasGatewayIp

func (o *Subnet) HasGatewayIp() bool

HasGatewayIp returns a boolean if a field has been set.

func (*Subnet) HasHostRoutes

func (o *Subnet) HasHostRoutes() bool

HasHostRoutes returns a boolean if a field has been set.

func (*Subnet) HasId

func (o *Subnet) HasId() bool

HasId returns a boolean if a field has been set.

func (*Subnet) HasIpVersion

func (o *Subnet) HasIpVersion() bool

HasIpVersion returns a boolean if a field has been set.

func (*Subnet) HasIpv6AddressMode

func (o *Subnet) HasIpv6AddressMode() bool

HasIpv6AddressMode returns a boolean if a field has been set.

func (*Subnet) HasIpv6RaMode

func (o *Subnet) HasIpv6RaMode() bool

HasIpv6RaMode returns a boolean if a field has been set.

func (*Subnet) HasName

func (o *Subnet) HasName() bool

HasName returns a boolean if a field has been set.

func (*Subnet) HasNetworkId

func (o *Subnet) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*Subnet) HasProjectId

func (o *Subnet) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*Subnet) HasRevisionNumber

func (o *Subnet) HasRevisionNumber() bool

HasRevisionNumber returns a boolean if a field has been set.

func (*Subnet) HasServers

func (o *Subnet) HasServers() bool

HasServers returns a boolean if a field has been set.

func (*Subnet) HasServiceTypes

func (o *Subnet) HasServiceTypes() bool

HasServiceTypes returns a boolean if a field has been set.

func (*Subnet) HasSubnetpoolId

func (o *Subnet) HasSubnetpoolId() bool

HasSubnetpoolId returns a boolean if a field has been set.

func (*Subnet) HasTags

func (o *Subnet) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Subnet) HasTenantId

func (o *Subnet) HasTenantId() bool

HasTenantId returns a boolean if a field has been set.

func (Subnet) MarshalJSON

func (o Subnet) MarshalJSON() ([]byte, error)

func (*Subnet) SetAllocationPools

func (o *Subnet) SetAllocationPools(v []AllocationPool)

SetAllocationPools gets a reference to the given []AllocationPool and assigns it to the AllocationPools field.

func (*Subnet) SetCidr

func (o *Subnet) SetCidr(v string)

SetCidr gets a reference to the given string and assigns it to the Cidr field.

func (*Subnet) SetDescription

func (o *Subnet) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Subnet) SetDnsNameservers

func (o *Subnet) SetDnsNameservers(v []string)

SetDnsNameservers gets a reference to the given []string and assigns it to the DnsNameservers field.

func (*Subnet) SetEnableDhcp

func (o *Subnet) SetEnableDhcp(v bool)

SetEnableDhcp gets a reference to the given bool and assigns it to the EnableDhcp field.

func (*Subnet) SetGatewayIp

func (o *Subnet) SetGatewayIp(v string)

SetGatewayIp gets a reference to the given string and assigns it to the GatewayIp field.

func (*Subnet) SetHostRoutes

func (o *Subnet) SetHostRoutes(v []HostRoute)

SetHostRoutes gets a reference to the given []HostRoute and assigns it to the HostRoutes field.

func (*Subnet) SetId

func (o *Subnet) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Subnet) SetIpVersion

func (o *Subnet) SetIpVersion(v string)

SetIpVersion gets a reference to the given string and assigns it to the IpVersion field.

func (*Subnet) SetIpv6AddressMode

func (o *Subnet) SetIpv6AddressMode(v string)

SetIpv6AddressMode gets a reference to the given string and assigns it to the Ipv6AddressMode field.

func (*Subnet) SetIpv6RaMode

func (o *Subnet) SetIpv6RaMode(v string)

SetIpv6RaMode gets a reference to the given string and assigns it to the Ipv6RaMode field.

func (*Subnet) SetName

func (o *Subnet) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Subnet) SetNetworkId

func (o *Subnet) SetNetworkId(v string)

SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.

func (*Subnet) SetProjectId

func (o *Subnet) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*Subnet) SetRevisionNumber

func (o *Subnet) SetRevisionNumber(v int64)

SetRevisionNumber gets a reference to the given int64 and assigns it to the RevisionNumber field.

func (*Subnet) SetServers

func (o *Subnet) SetServers(v []NetworkServer)

SetServers gets a reference to the given []NetworkServer and assigns it to the Servers field.

func (*Subnet) SetServiceTypes

func (o *Subnet) SetServiceTypes(v []string)

SetServiceTypes gets a reference to the given []string and assigns it to the ServiceTypes field.

func (*Subnet) SetSubnetpoolId

func (o *Subnet) SetSubnetpoolId(v string)

SetSubnetpoolId gets a reference to the given string and assigns it to the SubnetpoolId field.

func (*Subnet) SetTags

func (o *Subnet) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Subnet) SetTenantId

func (o *Subnet) SetTenantId(v string)

SetTenantId gets a reference to the given string and assigns it to the TenantId field.

func (Subnet) ToMap

func (o Subnet) ToMap() (map[string]interface{}, error)

type SubnetsAPICreatePrivateNetworkRequest

type SubnetsAPICreatePrivateNetworkRequest struct {
	ApiService *SubnetsAPIService
	// contains filtered or unexported fields
}

func (SubnetsAPICreatePrivateNetworkRequest) CreatePrivateNetworkRequest

func (r SubnetsAPICreatePrivateNetworkRequest) CreatePrivateNetworkRequest(createPrivateNetworkRequest CreatePrivateNetworkRequest) SubnetsAPICreatePrivateNetworkRequest

info about new private network to be created

func (SubnetsAPICreatePrivateNetworkRequest) Execute

type SubnetsAPIDeletePrivateNetworkRequest

type SubnetsAPIDeletePrivateNetworkRequest struct {
	ApiService *SubnetsAPIService
	// contains filtered or unexported fields
}

func (SubnetsAPIDeletePrivateNetworkRequest) Execute

type SubnetsAPIGetPrivateNetworkRequest

type SubnetsAPIGetPrivateNetworkRequest struct {
	ApiService *SubnetsAPIService
	// contains filtered or unexported fields
}

func (SubnetsAPIGetPrivateNetworkRequest) Execute

type SubnetsAPIService

type SubnetsAPIService service

SubnetsAPIService SubnetsAPI service

func (*SubnetsAPIService) CreatePrivateNetwork

func (a *SubnetsAPIService) CreatePrivateNetwork(ctx context.Context, region string) SubnetsAPICreatePrivateNetworkRequest

CreatePrivateNetwork Method for CreatePrivateNetwork

Creates a private network

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SubnetsAPICreatePrivateNetworkRequest

func (*SubnetsAPIService) CreatePrivateNetworkExecute

Execute executes the request

@return MessageResponse

func (*SubnetsAPIService) DeletePrivateNetwork

func (a *SubnetsAPIService) DeletePrivateNetwork(ctx context.Context, region string, id string) SubnetsAPIDeletePrivateNetworkRequest

DeletePrivateNetwork Method for DeletePrivateNetwork

Deletes a private network

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id private network id
@return SubnetsAPIDeletePrivateNetworkRequest

func (*SubnetsAPIService) DeletePrivateNetworkExecute

Execute executes the request

@return MessageResponse

func (*SubnetsAPIService) GetPrivateNetwork

func (a *SubnetsAPIService) GetPrivateNetwork(ctx context.Context, region string, id string) SubnetsAPIGetPrivateNetworkRequest

GetPrivateNetwork Method for GetPrivateNetwork

Deletes a private network

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id private network id
@return SubnetsAPIGetPrivateNetworkRequest

func (*SubnetsAPIService) GetPrivateNetworkExecute

Execute executes the request

@return MessageResponse

func (*SubnetsAPIService) UpdatePrivateNetwork

func (a *SubnetsAPIService) UpdatePrivateNetwork(ctx context.Context, region string) SubnetsAPIUpdatePrivateNetworkRequest

UpdatePrivateNetwork Method for UpdatePrivateNetwork

Updates a private network info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return SubnetsAPIUpdatePrivateNetworkRequest

func (*SubnetsAPIService) UpdatePrivateNetworkExecute

Execute executes the request

@return MessageResponse

type SubnetsAPIUpdatePrivateNetworkRequest

type SubnetsAPIUpdatePrivateNetworkRequest struct {
	ApiService *SubnetsAPIService
	// contains filtered or unexported fields
}

func (SubnetsAPIUpdatePrivateNetworkRequest) CreatePrivateNetworkRequest

func (r SubnetsAPIUpdatePrivateNetworkRequest) CreatePrivateNetworkRequest(createPrivateNetworkRequest CreatePrivateNetworkRequest) SubnetsAPIUpdatePrivateNetworkRequest

id and info of the private network to be updated

func (SubnetsAPIUpdatePrivateNetworkRequest) Execute

type Tag

type Tag struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

Tag struct for Tag

func NewTag

func NewTag() *Tag

NewTag instantiates a new Tag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagWithDefaults

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tag) GetId

func (o *Tag) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Tag) GetIdOk

func (o *Tag) 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 (*Tag) GetName

func (o *Tag) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Tag) GetNameOk

func (o *Tag) 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 (*Tag) HasId

func (o *Tag) HasId() bool

HasId returns a boolean if a field has been set.

func (*Tag) HasName

func (o *Tag) HasName() bool

HasName returns a boolean if a field has been set.

func (Tag) MarshalJSON

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetId

func (o *Tag) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Tag) SetName

func (o *Tag) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Tag) ToMap

func (o Tag) ToMap() (map[string]interface{}, error)

type TagsAPIAttachTagRequest

type TagsAPIAttachTagRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPIAttachTagRequest) AttachTagRequest

func (r TagsAPIAttachTagRequest) AttachTagRequest(attachTagRequest AttachTagRequest) TagsAPIAttachTagRequest

instance info

func (TagsAPIAttachTagRequest) Execute

type TagsAPICreateTagRequest

type TagsAPICreateTagRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPICreateTagRequest) CreateTagRequest

func (r TagsAPICreateTagRequest) CreateTagRequest(createTagRequest CreateTagRequest) TagsAPICreateTagRequest

tag name

func (TagsAPICreateTagRequest) Execute

type TagsAPIDeleteTagRequest

type TagsAPIDeleteTagRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPIDeleteTagRequest) Execute

type TagsAPIDetachTagRequest

type TagsAPIDetachTagRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPIDetachTagRequest) DetachTagRequest

func (r TagsAPIDetachTagRequest) DetachTagRequest(detachTagRequest DetachTagRequest) TagsAPIDetachTagRequest

instance info

func (TagsAPIDetachTagRequest) Execute

type TagsAPIGetAllUserTagsRequest

type TagsAPIGetAllUserTagsRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPIGetAllUserTagsRequest) Execute

type TagsAPIService

type TagsAPIService service

TagsAPIService TagsAPI service

func (*TagsAPIService) AttachTag

func (a *TagsAPIService) AttachTag(ctx context.Context, region string, id string) TagsAPIAttachTagRequest

AttachTag Method for AttachTag

Attach tag to an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id tag id
@return TagsAPIAttachTagRequest

func (*TagsAPIService) AttachTagExecute

Execute executes the request

@return MessageResponse

func (*TagsAPIService) CreateTag

func (a *TagsAPIService) CreateTag(ctx context.Context, region string) TagsAPICreateTagRequest

CreateTag Method for CreateTag

Add a new tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return TagsAPICreateTagRequest

func (*TagsAPIService) CreateTagExecute

Execute executes the request

@return MessageResponse

func (*TagsAPIService) DeleteTag

func (a *TagsAPIService) DeleteTag(ctx context.Context, region string, id string) TagsAPIDeleteTagRequest

DeleteTag Method for DeleteTag

Delete a tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id tag id
@return TagsAPIDeleteTagRequest

func (*TagsAPIService) DeleteTagExecute

Execute executes the request

@return MessageResponse

func (*TagsAPIService) DetachTag

func (a *TagsAPIService) DetachTag(ctx context.Context, region string, id string) TagsAPIDetachTagRequest

DetachTag Method for DetachTag

Detaches a tag from its attached instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id tag id
@return TagsAPIDetachTagRequest

func (*TagsAPIService) DetachTagExecute

Execute executes the request

@return MessageResponse

func (*TagsAPIService) GetAllUserTags

func (a *TagsAPIService) GetAllUserTags(ctx context.Context, region string) TagsAPIGetAllUserTagsRequest

GetAllUserTags Method for GetAllUserTags

Returns all user's tags

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return TagsAPIGetAllUserTagsRequest

func (*TagsAPIService) GetAllUserTagsExecute

func (a *TagsAPIService) GetAllUserTagsExecute(r TagsAPIGetAllUserTagsRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

func (*TagsAPIService) TagMultipleInstances

func (a *TagsAPIService) TagMultipleInstances(ctx context.Context, region string) TagsAPITagMultipleInstancesRequest

TagMultipleInstances Method for TagMultipleInstances

Tags multiple instances in batch mode

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return TagsAPITagMultipleInstancesRequest

func (*TagsAPIService) TagMultipleInstancesExecute

func (a *TagsAPIService) TagMultipleInstancesExecute(r TagsAPITagMultipleInstancesRequest) (*MessageResponse, *http.Response, error)

Execute executes the request

@return MessageResponse

func (*TagsAPIService) UpdateTag

func (a *TagsAPIService) UpdateTag(ctx context.Context, region string, id string) TagsAPIUpdateTagRequest

UpdateTag Method for UpdateTag

Update a tag

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id tag id
@return TagsAPIUpdateTagRequest

func (*TagsAPIService) UpdateTagExecute

Execute executes the request

@return MessageResponse

type TagsAPITagMultipleInstancesRequest

type TagsAPITagMultipleInstancesRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPITagMultipleInstancesRequest) BatchTagRequest

tag name

func (TagsAPITagMultipleInstancesRequest) Execute

type TagsAPIUpdateTagRequest

type TagsAPIUpdateTagRequest struct {
	ApiService *TagsAPIService
	// contains filtered or unexported fields
}

func (TagsAPIUpdateTagRequest) Execute

func (TagsAPIUpdateTagRequest) UpdateTagRequest

func (r TagsAPIUpdateTagRequest) UpdateTagRequest(updateTagRequest UpdateTagRequest) TagsAPIUpdateTagRequest

tag update info

type UpdateTagRequest

type UpdateTagRequest struct {
	TagName *string `json:"tag_name,omitempty"`
}

UpdateTagRequest struct for UpdateTagRequest

func NewUpdateTagRequest

func NewUpdateTagRequest() *UpdateTagRequest

NewUpdateTagRequest instantiates a new UpdateTagRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateTagRequestWithDefaults

func NewUpdateTagRequestWithDefaults() *UpdateTagRequest

NewUpdateTagRequestWithDefaults instantiates a new UpdateTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateTagRequest) GetTagName

func (o *UpdateTagRequest) GetTagName() string

GetTagName returns the TagName field value if set, zero value otherwise.

func (*UpdateTagRequest) GetTagNameOk

func (o *UpdateTagRequest) GetTagNameOk() (*string, bool)

GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateTagRequest) HasTagName

func (o *UpdateTagRequest) HasTagName() bool

HasTagName returns a boolean if a field has been set.

func (UpdateTagRequest) MarshalJSON

func (o UpdateTagRequest) MarshalJSON() ([]byte, error)

func (*UpdateTagRequest) SetTagName

func (o *UpdateTagRequest) SetTagName(v string)

SetTagName gets a reference to the given string and assigns it to the TagName field.

func (UpdateTagRequest) ToMap

func (o UpdateTagRequest) ToMap() (map[string]interface{}, error)

type UpdateVolumeRequest

type UpdateVolumeRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

UpdateVolumeRequest struct for UpdateVolumeRequest

func NewUpdateVolumeRequest

func NewUpdateVolumeRequest() *UpdateVolumeRequest

NewUpdateVolumeRequest instantiates a new UpdateVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateVolumeRequestWithDefaults

func NewUpdateVolumeRequestWithDefaults() *UpdateVolumeRequest

NewUpdateVolumeRequestWithDefaults instantiates a new UpdateVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateVolumeRequest) GetDescription

func (o *UpdateVolumeRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVolumeRequest) GetDescriptionOk

func (o *UpdateVolumeRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumeRequest) GetName

func (o *UpdateVolumeRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVolumeRequest) GetNameOk

func (o *UpdateVolumeRequest) 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 (*UpdateVolumeRequest) HasDescription

func (o *UpdateVolumeRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVolumeRequest) HasName

func (o *UpdateVolumeRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateVolumeRequest) MarshalJSON

func (o UpdateVolumeRequest) MarshalJSON() ([]byte, error)

func (*UpdateVolumeRequest) SetDescription

func (o *UpdateVolumeRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVolumeRequest) SetName

func (o *UpdateVolumeRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UpdateVolumeRequest) ToMap

func (o UpdateVolumeRequest) ToMap() (map[string]interface{}, error)

type UpdateVolumeSnapshotRequest

type UpdateVolumeSnapshotRequest struct {
	Description  *string `json:"description,omitempty"`
	InstanceName *string `json:"instance_name,omitempty"`
	Name         *string `json:"name,omitempty"`
	VolumeName   *string `json:"volume_name,omitempty"`
}

UpdateVolumeSnapshotRequest struct for UpdateVolumeSnapshotRequest

func NewUpdateVolumeSnapshotRequest

func NewUpdateVolumeSnapshotRequest() *UpdateVolumeSnapshotRequest

NewUpdateVolumeSnapshotRequest instantiates a new UpdateVolumeSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateVolumeSnapshotRequestWithDefaults

func NewUpdateVolumeSnapshotRequestWithDefaults() *UpdateVolumeSnapshotRequest

NewUpdateVolumeSnapshotRequestWithDefaults instantiates a new UpdateVolumeSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateVolumeSnapshotRequest) GetDescription

func (o *UpdateVolumeSnapshotRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVolumeSnapshotRequest) GetDescriptionOk

func (o *UpdateVolumeSnapshotRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumeSnapshotRequest) GetInstanceName

func (o *UpdateVolumeSnapshotRequest) GetInstanceName() string

GetInstanceName returns the InstanceName field value if set, zero value otherwise.

func (*UpdateVolumeSnapshotRequest) GetInstanceNameOk

func (o *UpdateVolumeSnapshotRequest) GetInstanceNameOk() (*string, bool)

GetInstanceNameOk returns a tuple with the InstanceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumeSnapshotRequest) GetName

func (o *UpdateVolumeSnapshotRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVolumeSnapshotRequest) GetNameOk

func (o *UpdateVolumeSnapshotRequest) 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 (*UpdateVolumeSnapshotRequest) GetVolumeName

func (o *UpdateVolumeSnapshotRequest) GetVolumeName() string

GetVolumeName returns the VolumeName field value if set, zero value otherwise.

func (*UpdateVolumeSnapshotRequest) GetVolumeNameOk

func (o *UpdateVolumeSnapshotRequest) GetVolumeNameOk() (*string, bool)

GetVolumeNameOk returns a tuple with the VolumeName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumeSnapshotRequest) HasDescription

func (o *UpdateVolumeSnapshotRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVolumeSnapshotRequest) HasInstanceName

func (o *UpdateVolumeSnapshotRequest) HasInstanceName() bool

HasInstanceName returns a boolean if a field has been set.

func (*UpdateVolumeSnapshotRequest) HasName

func (o *UpdateVolumeSnapshotRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateVolumeSnapshotRequest) HasVolumeName

func (o *UpdateVolumeSnapshotRequest) HasVolumeName() bool

HasVolumeName returns a boolean if a field has been set.

func (UpdateVolumeSnapshotRequest) MarshalJSON

func (o UpdateVolumeSnapshotRequest) MarshalJSON() ([]byte, error)

func (*UpdateVolumeSnapshotRequest) SetDescription

func (o *UpdateVolumeSnapshotRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVolumeSnapshotRequest) SetInstanceName

func (o *UpdateVolumeSnapshotRequest) SetInstanceName(v string)

SetInstanceName gets a reference to the given string and assigns it to the InstanceName field.

func (*UpdateVolumeSnapshotRequest) SetName

func (o *UpdateVolumeSnapshotRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateVolumeSnapshotRequest) SetVolumeName

func (o *UpdateVolumeSnapshotRequest) SetVolumeName(v string)

SetVolumeName gets a reference to the given string and assigns it to the VolumeName field.

func (UpdateVolumeSnapshotRequest) ToMap

func (o UpdateVolumeSnapshotRequest) ToMap() (map[string]interface{}, error)

type Volume

type Volume struct {
	Attachments    []Attachment `json:"attachments,omitempty"`
	Bootable       *string      `json:"bootable,omitempty"`
	CreatedAt      *string      `json:"created_at,omitempty"`
	Description    *string      `json:"description,omitempty"`
	Id             *string      `json:"id,omitempty"`
	Name           *string      `json:"name,omitempty"`
	Size           *int32       `json:"size,omitempty"`
	SnapshotId     *string      `json:"snapshot_id,omitempty"`
	SourceVolumeId *string      `json:"source_volume_id,omitempty"`
	Status         *string      `json:"status,omitempty"`
	VolumeTypeName *string      `json:"volume_type_name,omitempty"`
}

Volume struct for Volume

func NewVolume

func NewVolume() *Volume

NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVolumeWithDefaults

func NewVolumeWithDefaults() *Volume

NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Volume) GetAttachments

func (o *Volume) GetAttachments() []Attachment

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*Volume) GetAttachmentsOk

func (o *Volume) GetAttachmentsOk() ([]Attachment, bool)

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBootable

func (o *Volume) GetBootable() string

GetBootable returns the Bootable field value if set, zero value otherwise.

func (*Volume) GetBootableOk

func (o *Volume) GetBootableOk() (*string, bool)

GetBootableOk returns a tuple with the Bootable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetCreatedAt

func (o *Volume) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Volume) GetCreatedAtOk

func (o *Volume) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetDescription

func (o *Volume) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Volume) GetDescriptionOk

func (o *Volume) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetId

func (o *Volume) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Volume) GetIdOk

func (o *Volume) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetName

func (o *Volume) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Volume) GetNameOk

func (o *Volume) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetSize

func (o *Volume) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Volume) GetSizeOk

func (o *Volume) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetSnapshotId

func (o *Volume) GetSnapshotId() string

GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.

func (*Volume) GetSnapshotIdOk

func (o *Volume) GetSnapshotIdOk() (*string, bool)

GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetSourceVolumeId

func (o *Volume) GetSourceVolumeId() string

GetSourceVolumeId returns the SourceVolumeId field value if set, zero value otherwise.

func (*Volume) GetSourceVolumeIdOk

func (o *Volume) GetSourceVolumeIdOk() (*string, bool)

GetSourceVolumeIdOk returns a tuple with the SourceVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetStatus

func (o *Volume) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Volume) GetStatusOk

func (o *Volume) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetVolumeTypeName

func (o *Volume) GetVolumeTypeName() string

GetVolumeTypeName returns the VolumeTypeName field value if set, zero value otherwise.

func (*Volume) GetVolumeTypeNameOk

func (o *Volume) GetVolumeTypeNameOk() (*string, bool)

GetVolumeTypeNameOk returns a tuple with the VolumeTypeName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) HasAttachments

func (o *Volume) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*Volume) HasBootable

func (o *Volume) HasBootable() bool

HasBootable returns a boolean if a field has been set.

func (*Volume) HasCreatedAt

func (o *Volume) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Volume) HasDescription

func (o *Volume) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Volume) HasId

func (o *Volume) HasId() bool

HasId returns a boolean if a field has been set.

func (*Volume) HasName

func (o *Volume) HasName() bool

HasName returns a boolean if a field has been set.

func (*Volume) HasSize

func (o *Volume) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Volume) HasSnapshotId

func (o *Volume) HasSnapshotId() bool

HasSnapshotId returns a boolean if a field has been set.

func (*Volume) HasSourceVolumeId

func (o *Volume) HasSourceVolumeId() bool

HasSourceVolumeId returns a boolean if a field has been set.

func (*Volume) HasStatus

func (o *Volume) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Volume) HasVolumeTypeName

func (o *Volume) HasVolumeTypeName() bool

HasVolumeTypeName returns a boolean if a field has been set.

func (Volume) MarshalJSON

func (o Volume) MarshalJSON() ([]byte, error)

func (*Volume) SetAttachments

func (o *Volume) SetAttachments(v []Attachment)

SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.

func (*Volume) SetBootable

func (o *Volume) SetBootable(v string)

SetBootable gets a reference to the given string and assigns it to the Bootable field.

func (*Volume) SetCreatedAt

func (o *Volume) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Volume) SetDescription

func (o *Volume) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Volume) SetId

func (o *Volume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Volume) SetName

func (o *Volume) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Volume) SetSize

func (o *Volume) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Volume) SetSnapshotId

func (o *Volume) SetSnapshotId(v string)

SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.

func (*Volume) SetSourceVolumeId

func (o *Volume) SetSourceVolumeId(v string)

SetSourceVolumeId gets a reference to the given string and assigns it to the SourceVolumeId field.

func (*Volume) SetStatus

func (o *Volume) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Volume) SetVolumeTypeName

func (o *Volume) SetVolumeTypeName(v string)

SetVolumeTypeName gets a reference to the given string and assigns it to the VolumeTypeName field.

func (Volume) ToMap

func (o Volume) ToMap() (map[string]interface{}, error)

type VolumeAttachDetachRequest

type VolumeAttachDetachRequest struct {
	ServerId *string `json:"server_id,omitempty"`
	VolumeId *string `json:"volume_id,omitempty"`
}

VolumeAttachDetachRequest struct for VolumeAttachDetachRequest

func NewVolumeAttachDetachRequest

func NewVolumeAttachDetachRequest() *VolumeAttachDetachRequest

NewVolumeAttachDetachRequest instantiates a new VolumeAttachDetachRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVolumeAttachDetachRequestWithDefaults

func NewVolumeAttachDetachRequestWithDefaults() *VolumeAttachDetachRequest

NewVolumeAttachDetachRequestWithDefaults instantiates a new VolumeAttachDetachRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VolumeAttachDetachRequest) GetServerId

func (o *VolumeAttachDetachRequest) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*VolumeAttachDetachRequest) GetServerIdOk

func (o *VolumeAttachDetachRequest) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeAttachDetachRequest) GetVolumeId

func (o *VolumeAttachDetachRequest) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*VolumeAttachDetachRequest) GetVolumeIdOk

func (o *VolumeAttachDetachRequest) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeAttachDetachRequest) HasServerId

func (o *VolumeAttachDetachRequest) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*VolumeAttachDetachRequest) HasVolumeId

func (o *VolumeAttachDetachRequest) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (VolumeAttachDetachRequest) MarshalJSON

func (o VolumeAttachDetachRequest) MarshalJSON() ([]byte, error)

func (*VolumeAttachDetachRequest) SetServerId

func (o *VolumeAttachDetachRequest) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*VolumeAttachDetachRequest) SetVolumeId

func (o *VolumeAttachDetachRequest) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (VolumeAttachDetachRequest) ToMap

func (o VolumeAttachDetachRequest) ToMap() (map[string]interface{}, error)

type VolumeLimits

type VolumeLimits struct {
	MaxTotalBackupGigabytes  *int32 `json:"max_total_backup_gigabytes,omitempty"`
	MaxTotalBackups          *int32 `json:"max_total_backups,omitempty"`
	MaxTotalSnapshots        *int32 `json:"max_total_snapshots,omitempty"`
	MaxTotalVolumeGigabytes  *int32 `json:"max_total_volume_gigabytes,omitempty"`
	MaxTotalVolumes          *int32 `json:"max_total_volumes,omitempty"`
	TotalBackupGigabytesUsed *int32 `json:"total_backup_gigabytes_used,omitempty"`
	TotalBackupsUsed         *int32 `json:"total_backups_used,omitempty"`
	TotalGigabytesUsed       *int32 `json:"total_gigabytes_used,omitempty"`
	TotalSnapshotsUsed       *int32 `json:"total_snapshots_used,omitempty"`
	TotalVolumesUsed         *int32 `json:"total_volumes_used,omitempty"`
}

VolumeLimits struct for VolumeLimits

func NewVolumeLimits

func NewVolumeLimits() *VolumeLimits

NewVolumeLimits instantiates a new VolumeLimits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVolumeLimitsWithDefaults

func NewVolumeLimitsWithDefaults() *VolumeLimits

NewVolumeLimitsWithDefaults instantiates a new VolumeLimits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VolumeLimits) GetMaxTotalBackupGigabytes

func (o *VolumeLimits) GetMaxTotalBackupGigabytes() int32

GetMaxTotalBackupGigabytes returns the MaxTotalBackupGigabytes field value if set, zero value otherwise.

func (*VolumeLimits) GetMaxTotalBackupGigabytesOk

func (o *VolumeLimits) GetMaxTotalBackupGigabytesOk() (*int32, bool)

GetMaxTotalBackupGigabytesOk returns a tuple with the MaxTotalBackupGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetMaxTotalBackups

func (o *VolumeLimits) GetMaxTotalBackups() int32

GetMaxTotalBackups returns the MaxTotalBackups field value if set, zero value otherwise.

func (*VolumeLimits) GetMaxTotalBackupsOk

func (o *VolumeLimits) GetMaxTotalBackupsOk() (*int32, bool)

GetMaxTotalBackupsOk returns a tuple with the MaxTotalBackups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetMaxTotalSnapshots

func (o *VolumeLimits) GetMaxTotalSnapshots() int32

GetMaxTotalSnapshots returns the MaxTotalSnapshots field value if set, zero value otherwise.

func (*VolumeLimits) GetMaxTotalSnapshotsOk

func (o *VolumeLimits) GetMaxTotalSnapshotsOk() (*int32, bool)

GetMaxTotalSnapshotsOk returns a tuple with the MaxTotalSnapshots field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetMaxTotalVolumeGigabytes

func (o *VolumeLimits) GetMaxTotalVolumeGigabytes() int32

GetMaxTotalVolumeGigabytes returns the MaxTotalVolumeGigabytes field value if set, zero value otherwise.

func (*VolumeLimits) GetMaxTotalVolumeGigabytesOk

func (o *VolumeLimits) GetMaxTotalVolumeGigabytesOk() (*int32, bool)

GetMaxTotalVolumeGigabytesOk returns a tuple with the MaxTotalVolumeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetMaxTotalVolumes

func (o *VolumeLimits) GetMaxTotalVolumes() int32

GetMaxTotalVolumes returns the MaxTotalVolumes field value if set, zero value otherwise.

func (*VolumeLimits) GetMaxTotalVolumesOk

func (o *VolumeLimits) GetMaxTotalVolumesOk() (*int32, bool)

GetMaxTotalVolumesOk returns a tuple with the MaxTotalVolumes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetTotalBackupGigabytesUsed

func (o *VolumeLimits) GetTotalBackupGigabytesUsed() int32

GetTotalBackupGigabytesUsed returns the TotalBackupGigabytesUsed field value if set, zero value otherwise.

func (*VolumeLimits) GetTotalBackupGigabytesUsedOk

func (o *VolumeLimits) GetTotalBackupGigabytesUsedOk() (*int32, bool)

GetTotalBackupGigabytesUsedOk returns a tuple with the TotalBackupGigabytesUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetTotalBackupsUsed

func (o *VolumeLimits) GetTotalBackupsUsed() int32

GetTotalBackupsUsed returns the TotalBackupsUsed field value if set, zero value otherwise.

func (*VolumeLimits) GetTotalBackupsUsedOk

func (o *VolumeLimits) GetTotalBackupsUsedOk() (*int32, bool)

GetTotalBackupsUsedOk returns a tuple with the TotalBackupsUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetTotalGigabytesUsed

func (o *VolumeLimits) GetTotalGigabytesUsed() int32

GetTotalGigabytesUsed returns the TotalGigabytesUsed field value if set, zero value otherwise.

func (*VolumeLimits) GetTotalGigabytesUsedOk

func (o *VolumeLimits) GetTotalGigabytesUsedOk() (*int32, bool)

GetTotalGigabytesUsedOk returns a tuple with the TotalGigabytesUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetTotalSnapshotsUsed

func (o *VolumeLimits) GetTotalSnapshotsUsed() int32

GetTotalSnapshotsUsed returns the TotalSnapshotsUsed field value if set, zero value otherwise.

func (*VolumeLimits) GetTotalSnapshotsUsedOk

func (o *VolumeLimits) GetTotalSnapshotsUsedOk() (*int32, bool)

GetTotalSnapshotsUsedOk returns a tuple with the TotalSnapshotsUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) GetTotalVolumesUsed

func (o *VolumeLimits) GetTotalVolumesUsed() int32

GetTotalVolumesUsed returns the TotalVolumesUsed field value if set, zero value otherwise.

func (*VolumeLimits) GetTotalVolumesUsedOk

func (o *VolumeLimits) GetTotalVolumesUsedOk() (*int32, bool)

GetTotalVolumesUsedOk returns a tuple with the TotalVolumesUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeLimits) HasMaxTotalBackupGigabytes

func (o *VolumeLimits) HasMaxTotalBackupGigabytes() bool

HasMaxTotalBackupGigabytes returns a boolean if a field has been set.

func (*VolumeLimits) HasMaxTotalBackups

func (o *VolumeLimits) HasMaxTotalBackups() bool

HasMaxTotalBackups returns a boolean if a field has been set.

func (*VolumeLimits) HasMaxTotalSnapshots

func (o *VolumeLimits) HasMaxTotalSnapshots() bool

HasMaxTotalSnapshots returns a boolean if a field has been set.

func (*VolumeLimits) HasMaxTotalVolumeGigabytes

func (o *VolumeLimits) HasMaxTotalVolumeGigabytes() bool

HasMaxTotalVolumeGigabytes returns a boolean if a field has been set.

func (*VolumeLimits) HasMaxTotalVolumes

func (o *VolumeLimits) HasMaxTotalVolumes() bool

HasMaxTotalVolumes returns a boolean if a field has been set.

func (*VolumeLimits) HasTotalBackupGigabytesUsed

func (o *VolumeLimits) HasTotalBackupGigabytesUsed() bool

HasTotalBackupGigabytesUsed returns a boolean if a field has been set.

func (*VolumeLimits) HasTotalBackupsUsed

func (o *VolumeLimits) HasTotalBackupsUsed() bool

HasTotalBackupsUsed returns a boolean if a field has been set.

func (*VolumeLimits) HasTotalGigabytesUsed

func (o *VolumeLimits) HasTotalGigabytesUsed() bool

HasTotalGigabytesUsed returns a boolean if a field has been set.

func (*VolumeLimits) HasTotalSnapshotsUsed

func (o *VolumeLimits) HasTotalSnapshotsUsed() bool

HasTotalSnapshotsUsed returns a boolean if a field has been set.

func (*VolumeLimits) HasTotalVolumesUsed

func (o *VolumeLimits) HasTotalVolumesUsed() bool

HasTotalVolumesUsed returns a boolean if a field has been set.

func (VolumeLimits) MarshalJSON

func (o VolumeLimits) MarshalJSON() ([]byte, error)

func (*VolumeLimits) SetMaxTotalBackupGigabytes

func (o *VolumeLimits) SetMaxTotalBackupGigabytes(v int32)

SetMaxTotalBackupGigabytes gets a reference to the given int32 and assigns it to the MaxTotalBackupGigabytes field.

func (*VolumeLimits) SetMaxTotalBackups

func (o *VolumeLimits) SetMaxTotalBackups(v int32)

SetMaxTotalBackups gets a reference to the given int32 and assigns it to the MaxTotalBackups field.

func (*VolumeLimits) SetMaxTotalSnapshots

func (o *VolumeLimits) SetMaxTotalSnapshots(v int32)

SetMaxTotalSnapshots gets a reference to the given int32 and assigns it to the MaxTotalSnapshots field.

func (*VolumeLimits) SetMaxTotalVolumeGigabytes

func (o *VolumeLimits) SetMaxTotalVolumeGigabytes(v int32)

SetMaxTotalVolumeGigabytes gets a reference to the given int32 and assigns it to the MaxTotalVolumeGigabytes field.

func (*VolumeLimits) SetMaxTotalVolumes

func (o *VolumeLimits) SetMaxTotalVolumes(v int32)

SetMaxTotalVolumes gets a reference to the given int32 and assigns it to the MaxTotalVolumes field.

func (*VolumeLimits) SetTotalBackupGigabytesUsed

func (o *VolumeLimits) SetTotalBackupGigabytesUsed(v int32)

SetTotalBackupGigabytesUsed gets a reference to the given int32 and assigns it to the TotalBackupGigabytesUsed field.

func (*VolumeLimits) SetTotalBackupsUsed

func (o *VolumeLimits) SetTotalBackupsUsed(v int32)

SetTotalBackupsUsed gets a reference to the given int32 and assigns it to the TotalBackupsUsed field.

func (*VolumeLimits) SetTotalGigabytesUsed

func (o *VolumeLimits) SetTotalGigabytesUsed(v int32)

SetTotalGigabytesUsed gets a reference to the given int32 and assigns it to the TotalGigabytesUsed field.

func (*VolumeLimits) SetTotalSnapshotsUsed

func (o *VolumeLimits) SetTotalSnapshotsUsed(v int32)

SetTotalSnapshotsUsed gets a reference to the given int32 and assigns it to the TotalSnapshotsUsed field.

func (*VolumeLimits) SetTotalVolumesUsed

func (o *VolumeLimits) SetTotalVolumesUsed(v int32)

SetTotalVolumesUsed gets a reference to the given int32 and assigns it to the TotalVolumesUsed field.

func (VolumeLimits) ToMap

func (o VolumeLimits) ToMap() (map[string]interface{}, error)

type VolumeOptions

type VolumeOptions struct {
	IopsPerGig         *IOPSAndThroughput    `json:"iops_per_gig,omitempty"`
	IopsSecMax         *MaxIOPSAndThroughput `json:"iops_sec_max,omitempty"`
	ThroughputKbPerGig *IOPSAndThroughput    `json:"throughput_kb_per_gig,omitempty"`
	ThroughputSecMax   *MaxIOPSAndThroughput `json:"throughput_sec_max,omitempty"`
	ThroughputSecMin   *IOPSAndThroughput    `json:"throughput_sec_min,omitempty"`
}

VolumeOptions struct for VolumeOptions

func NewVolumeOptions

func NewVolumeOptions() *VolumeOptions

NewVolumeOptions instantiates a new VolumeOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVolumeOptionsWithDefaults

func NewVolumeOptionsWithDefaults() *VolumeOptions

NewVolumeOptionsWithDefaults instantiates a new VolumeOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VolumeOptions) GetIopsPerGig

func (o *VolumeOptions) GetIopsPerGig() IOPSAndThroughput

GetIopsPerGig returns the IopsPerGig field value if set, zero value otherwise.

func (*VolumeOptions) GetIopsPerGigOk

func (o *VolumeOptions) GetIopsPerGigOk() (*IOPSAndThroughput, bool)

GetIopsPerGigOk returns a tuple with the IopsPerGig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeOptions) GetIopsSecMax

func (o *VolumeOptions) GetIopsSecMax() MaxIOPSAndThroughput

GetIopsSecMax returns the IopsSecMax field value if set, zero value otherwise.

func (*VolumeOptions) GetIopsSecMaxOk

func (o *VolumeOptions) GetIopsSecMaxOk() (*MaxIOPSAndThroughput, bool)

GetIopsSecMaxOk returns a tuple with the IopsSecMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeOptions) GetThroughputKbPerGig

func (o *VolumeOptions) GetThroughputKbPerGig() IOPSAndThroughput

GetThroughputKbPerGig returns the ThroughputKbPerGig field value if set, zero value otherwise.

func (*VolumeOptions) GetThroughputKbPerGigOk

func (o *VolumeOptions) GetThroughputKbPerGigOk() (*IOPSAndThroughput, bool)

GetThroughputKbPerGigOk returns a tuple with the ThroughputKbPerGig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeOptions) GetThroughputSecMax

func (o *VolumeOptions) GetThroughputSecMax() MaxIOPSAndThroughput

GetThroughputSecMax returns the ThroughputSecMax field value if set, zero value otherwise.

func (*VolumeOptions) GetThroughputSecMaxOk

func (o *VolumeOptions) GetThroughputSecMaxOk() (*MaxIOPSAndThroughput, bool)

GetThroughputSecMaxOk returns a tuple with the ThroughputSecMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeOptions) GetThroughputSecMin

func (o *VolumeOptions) GetThroughputSecMin() IOPSAndThroughput

GetThroughputSecMin returns the ThroughputSecMin field value if set, zero value otherwise.

func (*VolumeOptions) GetThroughputSecMinOk

func (o *VolumeOptions) GetThroughputSecMinOk() (*IOPSAndThroughput, bool)

GetThroughputSecMinOk returns a tuple with the ThroughputSecMin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeOptions) HasIopsPerGig

func (o *VolumeOptions) HasIopsPerGig() bool

HasIopsPerGig returns a boolean if a field has been set.

func (*VolumeOptions) HasIopsSecMax

func (o *VolumeOptions) HasIopsSecMax() bool

HasIopsSecMax returns a boolean if a field has been set.

func (*VolumeOptions) HasThroughputKbPerGig

func (o *VolumeOptions) HasThroughputKbPerGig() bool

HasThroughputKbPerGig returns a boolean if a field has been set.

func (*VolumeOptions) HasThroughputSecMax

func (o *VolumeOptions) HasThroughputSecMax() bool

HasThroughputSecMax returns a boolean if a field has been set.

func (*VolumeOptions) HasThroughputSecMin

func (o *VolumeOptions) HasThroughputSecMin() bool

HasThroughputSecMin returns a boolean if a field has been set.

func (VolumeOptions) MarshalJSON

func (o VolumeOptions) MarshalJSON() ([]byte, error)

func (*VolumeOptions) SetIopsPerGig

func (o *VolumeOptions) SetIopsPerGig(v IOPSAndThroughput)

SetIopsPerGig gets a reference to the given IOPSAndThroughput and assigns it to the IopsPerGig field.

func (*VolumeOptions) SetIopsSecMax

func (o *VolumeOptions) SetIopsSecMax(v MaxIOPSAndThroughput)

SetIopsSecMax gets a reference to the given MaxIOPSAndThroughput and assigns it to the IopsSecMax field.

func (*VolumeOptions) SetThroughputKbPerGig

func (o *VolumeOptions) SetThroughputKbPerGig(v IOPSAndThroughput)

SetThroughputKbPerGig gets a reference to the given IOPSAndThroughput and assigns it to the ThroughputKbPerGig field.

func (*VolumeOptions) SetThroughputSecMax

func (o *VolumeOptions) SetThroughputSecMax(v MaxIOPSAndThroughput)

SetThroughputSecMax gets a reference to the given MaxIOPSAndThroughput and assigns it to the ThroughputSecMax field.

func (*VolumeOptions) SetThroughputSecMin

func (o *VolumeOptions) SetThroughputSecMin(v IOPSAndThroughput)

SetThroughputSecMin gets a reference to the given IOPSAndThroughput and assigns it to the ThroughputSecMin field.

func (VolumeOptions) ToMap

func (o VolumeOptions) ToMap() (map[string]interface{}, error)

type VolumeSnapshot

type VolumeSnapshot struct {
	CreatedAt      *string `json:"created_at,omitempty"`
	Description    *string `json:"description,omitempty"`
	Id             *string `json:"id,omitempty"`
	ImageId        *string `json:"image_id,omitempty"`
	Name           *string `json:"name,omitempty"`
	RealSize       *int64  `json:"real_size,omitempty"`
	RealSizeStatus *bool   `json:"real_size_status,omitempty"`
	RevertedOn     *string `json:"reverted_on,omitempty"`
	ServerId       *string `json:"server_id,omitempty"`
	ServerName     *string `json:"server_name,omitempty"`
	Size           *int32  `json:"size,omitempty"`
	Status         *string `json:"status,omitempty"`
	Type           *string `json:"type,omitempty"`
	VolumeId       *string `json:"volume_id,omitempty"`
	VolumeName     *string `json:"volume_name,omitempty"`
}

VolumeSnapshot struct for VolumeSnapshot

func NewVolumeSnapshot

func NewVolumeSnapshot() *VolumeSnapshot

NewVolumeSnapshot instantiates a new VolumeSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVolumeSnapshotWithDefaults

func NewVolumeSnapshotWithDefaults() *VolumeSnapshot

NewVolumeSnapshotWithDefaults instantiates a new VolumeSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VolumeSnapshot) GetCreatedAt

func (o *VolumeSnapshot) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VolumeSnapshot) GetCreatedAtOk

func (o *VolumeSnapshot) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetDescription

func (o *VolumeSnapshot) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VolumeSnapshot) GetDescriptionOk

func (o *VolumeSnapshot) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetId

func (o *VolumeSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VolumeSnapshot) GetIdOk

func (o *VolumeSnapshot) 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 (*VolumeSnapshot) GetImageId

func (o *VolumeSnapshot) GetImageId() string

GetImageId returns the ImageId field value if set, zero value otherwise.

func (*VolumeSnapshot) GetImageIdOk

func (o *VolumeSnapshot) GetImageIdOk() (*string, bool)

GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetName

func (o *VolumeSnapshot) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VolumeSnapshot) GetNameOk

func (o *VolumeSnapshot) 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 (*VolumeSnapshot) GetRealSize

func (o *VolumeSnapshot) GetRealSize() int64

GetRealSize returns the RealSize field value if set, zero value otherwise.

func (*VolumeSnapshot) GetRealSizeOk

func (o *VolumeSnapshot) GetRealSizeOk() (*int64, bool)

GetRealSizeOk returns a tuple with the RealSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetRealSizeStatus

func (o *VolumeSnapshot) GetRealSizeStatus() bool

GetRealSizeStatus returns the RealSizeStatus field value if set, zero value otherwise.

func (*VolumeSnapshot) GetRealSizeStatusOk

func (o *VolumeSnapshot) GetRealSizeStatusOk() (*bool, bool)

GetRealSizeStatusOk returns a tuple with the RealSizeStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetRevertedOn

func (o *VolumeSnapshot) GetRevertedOn() string

GetRevertedOn returns the RevertedOn field value if set, zero value otherwise.

func (*VolumeSnapshot) GetRevertedOnOk

func (o *VolumeSnapshot) GetRevertedOnOk() (*string, bool)

GetRevertedOnOk returns a tuple with the RevertedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetServerId

func (o *VolumeSnapshot) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*VolumeSnapshot) GetServerIdOk

func (o *VolumeSnapshot) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetServerName

func (o *VolumeSnapshot) GetServerName() string

GetServerName returns the ServerName field value if set, zero value otherwise.

func (*VolumeSnapshot) GetServerNameOk

func (o *VolumeSnapshot) GetServerNameOk() (*string, bool)

GetServerNameOk returns a tuple with the ServerName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetSize

func (o *VolumeSnapshot) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*VolumeSnapshot) GetSizeOk

func (o *VolumeSnapshot) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetStatus

func (o *VolumeSnapshot) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*VolumeSnapshot) GetStatusOk

func (o *VolumeSnapshot) 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 (*VolumeSnapshot) GetType

func (o *VolumeSnapshot) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*VolumeSnapshot) GetTypeOk

func (o *VolumeSnapshot) 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 (*VolumeSnapshot) GetVolumeId

func (o *VolumeSnapshot) GetVolumeId() string

GetVolumeId returns the VolumeId field value if set, zero value otherwise.

func (*VolumeSnapshot) GetVolumeIdOk

func (o *VolumeSnapshot) GetVolumeIdOk() (*string, bool)

GetVolumeIdOk returns a tuple with the VolumeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetVolumeName

func (o *VolumeSnapshot) GetVolumeName() string

GetVolumeName returns the VolumeName field value if set, zero value otherwise.

func (*VolumeSnapshot) GetVolumeNameOk

func (o *VolumeSnapshot) GetVolumeNameOk() (*string, bool)

GetVolumeNameOk returns a tuple with the VolumeName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) HasCreatedAt

func (o *VolumeSnapshot) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VolumeSnapshot) HasDescription

func (o *VolumeSnapshot) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VolumeSnapshot) HasId

func (o *VolumeSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*VolumeSnapshot) HasImageId

func (o *VolumeSnapshot) HasImageId() bool

HasImageId returns a boolean if a field has been set.

func (*VolumeSnapshot) HasName

func (o *VolumeSnapshot) HasName() bool

HasName returns a boolean if a field has been set.

func (*VolumeSnapshot) HasRealSize

func (o *VolumeSnapshot) HasRealSize() bool

HasRealSize returns a boolean if a field has been set.

func (*VolumeSnapshot) HasRealSizeStatus

func (o *VolumeSnapshot) HasRealSizeStatus() bool

HasRealSizeStatus returns a boolean if a field has been set.

func (*VolumeSnapshot) HasRevertedOn

func (o *VolumeSnapshot) HasRevertedOn() bool

HasRevertedOn returns a boolean if a field has been set.

func (*VolumeSnapshot) HasServerId

func (o *VolumeSnapshot) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*VolumeSnapshot) HasServerName

func (o *VolumeSnapshot) HasServerName() bool

HasServerName returns a boolean if a field has been set.

func (*VolumeSnapshot) HasSize

func (o *VolumeSnapshot) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*VolumeSnapshot) HasStatus

func (o *VolumeSnapshot) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*VolumeSnapshot) HasType

func (o *VolumeSnapshot) HasType() bool

HasType returns a boolean if a field has been set.

func (*VolumeSnapshot) HasVolumeId

func (o *VolumeSnapshot) HasVolumeId() bool

HasVolumeId returns a boolean if a field has been set.

func (*VolumeSnapshot) HasVolumeName

func (o *VolumeSnapshot) HasVolumeName() bool

HasVolumeName returns a boolean if a field has been set.

func (VolumeSnapshot) MarshalJSON

func (o VolumeSnapshot) MarshalJSON() ([]byte, error)

func (*VolumeSnapshot) SetCreatedAt

func (o *VolumeSnapshot) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*VolumeSnapshot) SetDescription

func (o *VolumeSnapshot) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VolumeSnapshot) SetId

func (o *VolumeSnapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VolumeSnapshot) SetImageId

func (o *VolumeSnapshot) SetImageId(v string)

SetImageId gets a reference to the given string and assigns it to the ImageId field.

func (*VolumeSnapshot) SetName

func (o *VolumeSnapshot) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VolumeSnapshot) SetRealSize

func (o *VolumeSnapshot) SetRealSize(v int64)

SetRealSize gets a reference to the given int64 and assigns it to the RealSize field.

func (*VolumeSnapshot) SetRealSizeStatus

func (o *VolumeSnapshot) SetRealSizeStatus(v bool)

SetRealSizeStatus gets a reference to the given bool and assigns it to the RealSizeStatus field.

func (*VolumeSnapshot) SetRevertedOn

func (o *VolumeSnapshot) SetRevertedOn(v string)

SetRevertedOn gets a reference to the given string and assigns it to the RevertedOn field.

func (*VolumeSnapshot) SetServerId

func (o *VolumeSnapshot) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*VolumeSnapshot) SetServerName

func (o *VolumeSnapshot) SetServerName(v string)

SetServerName gets a reference to the given string and assigns it to the ServerName field.

func (*VolumeSnapshot) SetSize

func (o *VolumeSnapshot) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*VolumeSnapshot) SetStatus

func (o *VolumeSnapshot) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*VolumeSnapshot) SetType

func (o *VolumeSnapshot) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*VolumeSnapshot) SetVolumeId

func (o *VolumeSnapshot) SetVolumeId(v string)

SetVolumeId gets a reference to the given string and assigns it to the VolumeId field.

func (*VolumeSnapshot) SetVolumeName

func (o *VolumeSnapshot) SetVolumeName(v string)

SetVolumeName gets a reference to the given string and assigns it to the VolumeName field.

func (VolumeSnapshot) ToMap

func (o VolumeSnapshot) ToMap() (map[string]interface{}, error)

type VolumesAPIAttachVolumeToServerRequest

type VolumesAPIAttachVolumeToServerRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIAttachVolumeToServerRequest) Execute

func (VolumesAPIAttachVolumeToServerRequest) VolumeAttachDetachRequest

func (r VolumesAPIAttachVolumeToServerRequest) VolumeAttachDetachRequest(volumeAttachDetachRequest VolumeAttachDetachRequest) VolumesAPIAttachVolumeToServerRequest

volume and instance id for attachment

type VolumesAPICreateOSVolumeFromSnapshotRequest

type VolumesAPICreateOSVolumeFromSnapshotRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPICreateOSVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest

func (r VolumesAPICreateOSVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) VolumesAPICreateOSVolumeFromSnapshotRequest

new volume info

func (VolumesAPICreateOSVolumeFromSnapshotRequest) Execute

type VolumesAPICreateVolumeFromSnapshotRequest

type VolumesAPICreateVolumeFromSnapshotRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest

func (r VolumesAPICreateVolumeFromSnapshotRequest) CreateVolumeFromSnapshotRequest(createVolumeFromSnapshotRequest CreateVolumeFromSnapshotRequest) VolumesAPICreateVolumeFromSnapshotRequest

new volume info

func (VolumesAPICreateVolumeFromSnapshotRequest) Execute

type VolumesAPICreateVolumeRequest

type VolumesAPICreateVolumeRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPICreateVolumeRequest) CreateVolumeRequest

func (r VolumesAPICreateVolumeRequest) CreateVolumeRequest(createVolumeRequest CreateVolumeRequest) VolumesAPICreateVolumeRequest

info about new volume to be created

func (VolumesAPICreateVolumeRequest) Execute

type VolumesAPIDeleteVolumeRequest

type VolumesAPIDeleteVolumeRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIDeleteVolumeRequest) Execute

type VolumesAPIDeleteVolumeSnapshotRequest

type VolumesAPIDeleteVolumeSnapshotRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIDeleteVolumeSnapshotRequest) Execute

type VolumesAPIDetachVolumeFromServerRequest

type VolumesAPIDetachVolumeFromServerRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIDetachVolumeFromServerRequest) Execute

func (VolumesAPIDetachVolumeFromServerRequest) VolumeAttachDetachRequest

volume and instance id for attachment

type VolumesAPIGetAllOSVolumesRequest

type VolumesAPIGetAllOSVolumesRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIGetAllOSVolumesRequest) Execute

type VolumesAPIGetAllVolumesRequest

type VolumesAPIGetAllVolumesRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIGetAllVolumesRequest) Execute

type VolumesAPIGetVolumeLimitsRequest

type VolumesAPIGetVolumeLimitsRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIGetVolumeLimitsRequest) Execute

type VolumesAPIGetVolumeOptionsRequest

type VolumesAPIGetVolumeOptionsRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIGetVolumeOptionsRequest) Execute

type VolumesAPIGetVolumeSnapshotsRequest

type VolumesAPIGetVolumeSnapshotsRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIGetVolumeSnapshotsRequest) Execute

type VolumesAPIRevertVolumeSnapshotRequest

type VolumesAPIRevertVolumeSnapshotRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIRevertVolumeSnapshotRequest) Execute

func (VolumesAPIRevertVolumeSnapshotRequest) RevertSnapshotRequest

new volume info

type VolumesAPIService

type VolumesAPIService service

VolumesAPIService VolumesAPI service

func (*VolumesAPIService) AttachVolumeToServer

func (a *VolumesAPIService) AttachVolumeToServer(ctx context.Context, region string) VolumesAPIAttachVolumeToServerRequest

AttachVolumeToServer Method for AttachVolumeToServer

Attach a volume to an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIAttachVolumeToServerRequest

func (*VolumesAPIService) AttachVolumeToServerExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) CreateOSVolumeFromSnapshot

func (a *VolumesAPIService) CreateOSVolumeFromSnapshot(ctx context.Context, region string, id string) VolumesAPICreateOSVolumeFromSnapshotRequest

CreateOSVolumeFromSnapshot Method for CreateOSVolumeFromSnapshot

Creates an OS Volume from snapshot, which can later be used to boot up a new instance from that volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return VolumesAPICreateOSVolumeFromSnapshotRequest

func (*VolumesAPIService) CreateOSVolumeFromSnapshotExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) CreateVolume

CreateVolume Method for CreateVolume

Creates a volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id tag id
@return VolumesAPICreateVolumeRequest

func (*VolumesAPIService) CreateVolumeExecute

func (a *VolumesAPIService) CreateVolumeExecute(r VolumesAPICreateVolumeRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumesAPIService) CreateVolumeFromSnapshot

func (a *VolumesAPIService) CreateVolumeFromSnapshot(ctx context.Context, region string, id string) VolumesAPICreateVolumeFromSnapshotRequest

CreateVolumeFromSnapshot Method for CreateVolumeFromSnapshot

Create a volume from specified snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return VolumesAPICreateVolumeFromSnapshotRequest

func (*VolumesAPIService) CreateVolumeFromSnapshotExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) DeleteVolume

DeleteVolume Method for DeleteVolume

Deletes a specified volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id volume id
@return VolumesAPIDeleteVolumeRequest

func (*VolumesAPIService) DeleteVolumeExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) DeleteVolumeSnapshot

func (a *VolumesAPIService) DeleteVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIDeleteVolumeSnapshotRequest

DeleteVolumeSnapshot Method for DeleteVolumeSnapshot

Delete volume snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return VolumesAPIDeleteVolumeSnapshotRequest

func (*VolumesAPIService) DeleteVolumeSnapshotExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) DetachVolumeFromServer

func (a *VolumesAPIService) DetachVolumeFromServer(ctx context.Context, region string) VolumesAPIDetachVolumeFromServerRequest

DetachVolumeFromServer Method for DetachVolumeFromServer

Attach a volume to an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIDetachVolumeFromServerRequest

func (*VolumesAPIService) DetachVolumeFromServerExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) GetAllOSVolumes

GetAllOSVolumes Method for GetAllOSVolumes

Lists all OS Volumes, These volumes are bootable volumes which can be used to create an instance from a snapshot

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIGetAllOSVolumesRequest

func (*VolumesAPIService) GetAllOSVolumesExecute

func (a *VolumesAPIService) GetAllOSVolumesExecute(r VolumesAPIGetAllOSVolumesRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumesAPIService) GetAllVolumes

GetAllVolumes Method for GetAllVolumes

Lists all volumes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIGetAllVolumesRequest

func (*VolumesAPIService) GetAllVolumesExecute

func (a *VolumesAPIService) GetAllVolumesExecute(r VolumesAPIGetAllVolumesRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumesAPIService) GetVolumeLimits

GetVolumeLimits Method for GetVolumeLimits

Attach a volume to an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIGetVolumeLimitsRequest

func (*VolumesAPIService) GetVolumeLimitsExecute

Execute executes the request

@return VolumeLimits

func (*VolumesAPIService) GetVolumeOptions

GetVolumeOptions Method for GetVolumeOptions

Returns available options for a volume

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIGetVolumeOptionsRequest

func (*VolumesAPIService) GetVolumeOptionsExecute

Execute executes the request

@return VolumeOptions

func (*VolumesAPIService) GetVolumeSnapshots

func (a *VolumesAPIService) GetVolumeSnapshots(ctx context.Context, region string) VolumesAPIGetVolumeSnapshotsRequest

GetVolumeSnapshots Method for GetVolumeSnapshots

Returns snapshots taken from user's volumes

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@return VolumesAPIGetVolumeSnapshotsRequest

func (*VolumesAPIService) GetVolumeSnapshotsExecute

func (a *VolumesAPIService) GetVolumeSnapshotsExecute(r VolumesAPIGetVolumeSnapshotsRequest) (*http.Response, error)

Execute executes the request

func (*VolumesAPIService) RevertVolumeSnapshot

func (a *VolumesAPIService) RevertVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIRevertVolumeSnapshotRequest

RevertVolumeSnapshot Method for RevertVolumeSnapshot

Reverts snapshot to a volume NOTE: currently snapshot revert is not possible for volumes, this feature will be added soon until then, you can create a new volume from snapshot and use it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id volume id
@return VolumesAPIRevertVolumeSnapshotRequest

func (*VolumesAPIService) RevertVolumeSnapshotExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) UpdateVolume

UpdateVolume Method for UpdateVolume

Updates volume info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id volume id
@return VolumesAPIUpdateVolumeRequest

func (*VolumesAPIService) UpdateVolumeExecute

Execute executes the request

@return MessageResponse

func (*VolumesAPIService) UpdateVolumeSnapshot

func (a *VolumesAPIService) UpdateVolumeSnapshot(ctx context.Context, region string, id string) VolumesAPIUpdateVolumeSnapshotRequest

UpdateVolumeSnapshot Method for UpdateVolumeSnapshot

Update a volume snapshot info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region region code
@param id snapshot id
@return VolumesAPIUpdateVolumeSnapshotRequest

func (*VolumesAPIService) UpdateVolumeSnapshotExecute

Execute executes the request

@return MessageResponse

type VolumesAPIUpdateVolumeRequest

type VolumesAPIUpdateVolumeRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIUpdateVolumeRequest) Execute

func (VolumesAPIUpdateVolumeRequest) UpdateVolumeRequest

func (r VolumesAPIUpdateVolumeRequest) UpdateVolumeRequest(updateVolumeRequest UpdateVolumeRequest) VolumesAPIUpdateVolumeRequest

new volume info

type VolumesAPIUpdateVolumeSnapshotRequest

type VolumesAPIUpdateVolumeSnapshotRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (VolumesAPIUpdateVolumeSnapshotRequest) Execute

func (VolumesAPIUpdateVolumeSnapshotRequest) UpdateVolumeSnapshotRequest

func (r VolumesAPIUpdateVolumeSnapshotRequest) UpdateVolumeSnapshotRequest(updateVolumeSnapshotRequest UpdateVolumeSnapshotRequest) VolumesAPIUpdateVolumeSnapshotRequest

new info for snapshot

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL