client

package
v0.52.5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

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 {
	AdapterAPI *AdapterAPIService

	AgentAPI *AgentAPIService

	InstanceAPI *InstanceAPIService

	KaktusAPI *KaktusAPIService

	KawaiiAPI *KawaiiAPIService

	KiwiAPI *KiwiAPIService

	KomputeAPI *KomputeAPIService

	KonveyAPI *KonveyAPIService

	KyloAPI *KyloAPIService

	NfsAPI *NfsAPIService

	PoolAPI *PoolAPIService

	ProjectAPI *ProjectAPIService

	RecordAPI *RecordAPIService

	RegionAPI *RegionAPIService

	SubnetAPI *SubnetAPIService

	TeamAPI *TeamAPIService

	TemplateAPI *TemplateAPIService

	TokenAPI *TokenAPIService

	UserAPI *UserAPIService

	VnetAPI *VnetAPIService

	VolumeAPI *VolumeAPIService

	ZoneAPI *ZoneAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Kowabunga API documentation API v0.52.5 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 Adapter

type Adapter struct {
	// The network adapter ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The network adapter name.
	Name string `json:"name"`
	// The network adapter description.
	Description *string `json:"description,omitempty"`
	// The network adapter hardware address (e.g. 00:11:22:33:44:55). Auto-generated if unspecified.
	Mac *string `json:"mac,omitempty"`
	// The network adapter list of associated IPv4 addresses.
	Addresses []string `json:"addresses,omitempty"`
	// The network adapter is a reserved adapter (e.g. router), where the same hardware address can be reused over several subnets.
	Reserved *bool `json:"reserved,omitempty"`
}

Adapter A network adapter.

func NewAdapter

func NewAdapter(name string) *Adapter

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

func NewAdapterWithDefaults

func NewAdapterWithDefaults() *Adapter

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

func (*Adapter) GetAddresses

func (o *Adapter) GetAddresses() []string

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*Adapter) GetAddressesOk

func (o *Adapter) GetAddressesOk() ([]string, 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 (*Adapter) GetDescription

func (o *Adapter) GetDescription() string

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

func (*Adapter) GetDescriptionOk

func (o *Adapter) 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 (*Adapter) GetId

func (o *Adapter) GetId() string

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

func (*Adapter) GetIdOk

func (o *Adapter) 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 (*Adapter) GetMac

func (o *Adapter) GetMac() string

GetMac returns the Mac field value if set, zero value otherwise.

func (*Adapter) GetMacOk

func (o *Adapter) GetMacOk() (*string, bool)

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

func (*Adapter) GetName

func (o *Adapter) GetName() string

GetName returns the Name field value

func (*Adapter) GetNameOk

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

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

func (*Adapter) GetReserved

func (o *Adapter) GetReserved() bool

GetReserved returns the Reserved field value if set, zero value otherwise.

func (*Adapter) GetReservedOk

func (o *Adapter) GetReservedOk() (*bool, bool)

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

func (*Adapter) HasAddresses

func (o *Adapter) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (*Adapter) HasDescription

func (o *Adapter) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Adapter) HasId

func (o *Adapter) HasId() bool

HasId returns a boolean if a field has been set.

func (*Adapter) HasMac

func (o *Adapter) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*Adapter) HasReserved

func (o *Adapter) HasReserved() bool

HasReserved returns a boolean if a field has been set.

func (Adapter) MarshalJSON

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

func (*Adapter) SetAddresses

func (o *Adapter) SetAddresses(v []string)

SetAddresses gets a reference to the given []string and assigns it to the Addresses field.

func (*Adapter) SetDescription

func (o *Adapter) SetDescription(v string)

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

func (*Adapter) SetId

func (o *Adapter) SetId(v string)

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

func (*Adapter) SetMac

func (o *Adapter) SetMac(v string)

SetMac gets a reference to the given string and assigns it to the Mac field.

func (*Adapter) SetName

func (o *Adapter) SetName(v string)

SetName sets field value

func (*Adapter) SetReserved

func (o *Adapter) SetReserved(v bool)

SetReserved gets a reference to the given bool and assigns it to the Reserved field.

func (Adapter) ToMap

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

func (*Adapter) UnmarshalJSON

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

type AdapterAPIService

type AdapterAPIService service

AdapterAPIService AdapterAPI service

func (*AdapterAPIService) DeleteAdapter

func (a *AdapterAPIService) DeleteAdapter(ctx context.Context, adapterId string) ApiDeleteAdapterRequest

DeleteAdapter Method for DeleteAdapter

Deletes an existing network adapter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param adapterId The ID of the network adapter.
@return ApiDeleteAdapterRequest

func (*AdapterAPIService) DeleteAdapterExecute

func (a *AdapterAPIService) DeleteAdapterExecute(r ApiDeleteAdapterRequest) (*http.Response, error)

Execute executes the request

func (*AdapterAPIService) ListAdapters

ListAdapters Method for ListAdapters

Returns the IDs of network adapter objects.

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

func (*AdapterAPIService) ListAdaptersExecute

func (a *AdapterAPIService) ListAdaptersExecute(r ApiListAdaptersRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*AdapterAPIService) ReadAdapter

func (a *AdapterAPIService) ReadAdapter(ctx context.Context, adapterId string) ApiReadAdapterRequest

ReadAdapter Method for ReadAdapter

Returns a network adapter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param adapterId The ID of the network adapter.
@return ApiReadAdapterRequest

func (*AdapterAPIService) ReadAdapterExecute

func (a *AdapterAPIService) ReadAdapterExecute(r ApiReadAdapterRequest) (*Adapter, *http.Response, error)

Execute executes the request

@return Adapter

func (*AdapterAPIService) UpdateAdapter

func (a *AdapterAPIService) UpdateAdapter(ctx context.Context, adapterId string) ApiUpdateAdapterRequest

UpdateAdapter Method for UpdateAdapter

Updates a network adapter configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param adapterId The ID of the network adapter.
@return ApiUpdateAdapterRequest

func (*AdapterAPIService) UpdateAdapterExecute

func (a *AdapterAPIService) UpdateAdapterExecute(r ApiUpdateAdapterRequest) (*Adapter, *http.Response, error)

Execute executes the request

@return Adapter

type Agent

type Agent struct {
	// The Kowabunga remote agent ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kowabunga remote agent name.
	Name string `json:"name"`
	// The Kowabunga remote agent description.
	Description *string `json:"description,omitempty"`
	// The Kowabunga agent type.
	Type string `json:"type"`
}

Agent A Kowabunga remote agent.

func NewAgent

func NewAgent(name string, type_ string) *Agent

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

func NewAgentWithDefaults

func NewAgentWithDefaults() *Agent

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

func (*Agent) GetDescription

func (o *Agent) GetDescription() string

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

func (*Agent) GetDescriptionOk

func (o *Agent) 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 (*Agent) GetId

func (o *Agent) GetId() string

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

func (*Agent) GetIdOk

func (o *Agent) 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 (*Agent) GetName

func (o *Agent) GetName() string

GetName returns the Name field value

func (*Agent) GetNameOk

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

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

func (*Agent) GetType

func (o *Agent) GetType() string

GetType returns the Type field value

func (*Agent) GetTypeOk

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

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

func (*Agent) HasDescription

func (o *Agent) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Agent) HasId

func (o *Agent) HasId() bool

HasId returns a boolean if a field has been set.

func (Agent) MarshalJSON

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

func (*Agent) SetDescription

func (o *Agent) SetDescription(v string)

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

func (*Agent) SetId

func (o *Agent) SetId(v string)

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

func (*Agent) SetName

func (o *Agent) SetName(v string)

SetName sets field value

func (*Agent) SetType

func (o *Agent) SetType(v string)

SetType sets field value

func (Agent) ToMap

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

func (*Agent) UnmarshalJSON

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

type AgentAPIService

type AgentAPIService service

AgentAPIService AgentAPI service

func (*AgentAPIService) CreateAgent

CreateAgent Method for CreateAgent

Creates a new Kowabunga remote agent.

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

func (*AgentAPIService) CreateAgentExecute

func (a *AgentAPIService) CreateAgentExecute(r ApiCreateAgentRequest) (*Agent, *http.Response, error)

Execute executes the request

@return Agent

func (*AgentAPIService) DeleteAgent

func (a *AgentAPIService) DeleteAgent(ctx context.Context, agentId string) ApiDeleteAgentRequest

DeleteAgent Method for DeleteAgent

Deletes an existing Kowabunga remote agent.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId The ID of the Kowabunga remote agent.
@return ApiDeleteAgentRequest

func (*AgentAPIService) DeleteAgentExecute

func (a *AgentAPIService) DeleteAgentExecute(r ApiDeleteAgentRequest) (*http.Response, error)

Execute executes the request

func (*AgentAPIService) ListAgents

ListAgents Method for ListAgents

Returns the IDs of Kowabunga remote agent objects.

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

func (*AgentAPIService) ListAgentsExecute

func (a *AgentAPIService) ListAgentsExecute(r ApiListAgentsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*AgentAPIService) ReadAgent

func (a *AgentAPIService) ReadAgent(ctx context.Context, agentId string) ApiReadAgentRequest

ReadAgent Method for ReadAgent

Returns a Kowabunga remote agent.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId The ID of the Kowabunga remote agent.
@return ApiReadAgentRequest

func (*AgentAPIService) ReadAgentExecute

func (a *AgentAPIService) ReadAgentExecute(r ApiReadAgentRequest) (*Agent, *http.Response, error)

Execute executes the request

@return Agent

func (*AgentAPIService) SetAgentApiToken

func (a *AgentAPIService) SetAgentApiToken(ctx context.Context, agentId string) ApiSetAgentApiTokenRequest

SetAgentApiToken Method for SetAgentApiToken

Performs a Kowabunga remote agent setting of API token (will replace any existing one).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId The ID of the Kowabunga remote agent.
@return ApiSetAgentApiTokenRequest

func (*AgentAPIService) SetAgentApiTokenExecute

func (a *AgentAPIService) SetAgentApiTokenExecute(r ApiSetAgentApiTokenRequest) (*ApiToken, *http.Response, error)

Execute executes the request

@return ApiToken

func (*AgentAPIService) UpdateAgent

func (a *AgentAPIService) UpdateAgent(ctx context.Context, agentId string) ApiUpdateAgentRequest

UpdateAgent Method for UpdateAgent

Updates a Kowabunga remote agent configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId The ID of the Kowabunga remote agent.
@return ApiUpdateAgentRequest

func (*AgentAPIService) UpdateAgentExecute

func (a *AgentAPIService) UpdateAgentExecute(r ApiUpdateAgentRequest) (*Agent, *http.Response, error)

Execute executes the request

@return Agent

type ApiCreateAdapterRequest

type ApiCreateAdapterRequest struct {
	ApiService *SubnetAPIService
	// contains filtered or unexported fields
}

func (ApiCreateAdapterRequest) Adapter

Adapter payload.

func (ApiCreateAdapterRequest) AssignIP

Whether Kowabunga should pick and assign an IP address to this adapter.

func (ApiCreateAdapterRequest) Execute

type ApiCreateAgentRequest

type ApiCreateAgentRequest struct {
	ApiService *AgentAPIService
	// contains filtered or unexported fields
}

func (ApiCreateAgentRequest) Agent

Agent payload.

func (ApiCreateAgentRequest) Execute

func (r ApiCreateAgentRequest) Execute() (*Agent, *http.Response, error)

type ApiCreateKaktusRequest

type ApiCreateKaktusRequest struct {
	ApiService *ZoneAPIService
	// contains filtered or unexported fields
}

func (ApiCreateKaktusRequest) Execute

func (r ApiCreateKaktusRequest) Execute() (*Kaktus, *http.Response, error)

func (ApiCreateKaktusRequest) Kaktus

Kaktus payload.

type ApiCreateKawaiiIpSecRequest

type ApiCreateKawaiiIpSecRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiCreateKawaiiIpSecRequest) Execute

func (ApiCreateKawaiiIpSecRequest) KawaiiIpSec

KawaiiIpSec payload.

type ApiCreateKiwiRequest

type ApiCreateKiwiRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateKiwiRequest) Execute

func (r ApiCreateKiwiRequest) Execute() (*Kiwi, *http.Response, error)

func (ApiCreateKiwiRequest) Kiwi

Kiwi payload.

type ApiCreateProjectDnsRecordRequest

type ApiCreateProjectDnsRecordRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectDnsRecordRequest) DnsRecord

DnsRecord payload.

func (ApiCreateProjectDnsRecordRequest) Execute

type ApiCreateProjectRegionKawaiiRequest

type ApiCreateProjectRegionKawaiiRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRegionKawaiiRequest) Execute

func (ApiCreateProjectRegionKawaiiRequest) Kawaii

Kawaii payload.

type ApiCreateProjectRegionKonveyRequest

type ApiCreateProjectRegionKonveyRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRegionKonveyRequest) Execute

func (ApiCreateProjectRegionKonveyRequest) Konvey

Konvey payload.

type ApiCreateProjectRegionKyloRequest

type ApiCreateProjectRegionKyloRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRegionKyloRequest) Execute

func (ApiCreateProjectRegionKyloRequest) Kylo

Kylo payload.

func (ApiCreateProjectRegionKyloRequest) NfsId

NFS storage ID (optional, region's default if unspecified).

type ApiCreateProjectRegionVolumeRequest

type ApiCreateProjectRegionVolumeRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRegionVolumeRequest) Execute

func (ApiCreateProjectRegionVolumeRequest) PoolId

Storage pool ID (optional, region's default if unspecified).

func (ApiCreateProjectRegionVolumeRequest) TemplateId

Template to clone the storage volume from (optional, region's default if unspecified).

func (ApiCreateProjectRegionVolumeRequest) Volume

Volume payload.

type ApiCreateProjectRequest

type ApiCreateProjectRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRequest) Execute

func (ApiCreateProjectRequest) Project

Project payload.

func (ApiCreateProjectRequest) SubnetSize

func (r ApiCreateProjectRequest) SubnetSize(subnetSize int32) ApiCreateProjectRequest

The minimum VPC subnet size to be affected to the project. WARNING, this cannot be changed later.

type ApiCreateProjectZoneInstanceRequest

type ApiCreateProjectZoneInstanceRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectZoneInstanceRequest) Execute

func (ApiCreateProjectZoneInstanceRequest) Instance

Instance payload.

type ApiCreateProjectZoneKomputeRequest

type ApiCreateProjectZoneKomputeRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectZoneKomputeRequest) Execute

func (ApiCreateProjectZoneKomputeRequest) Kompute

Kompute payload.

func (ApiCreateProjectZoneKomputeRequest) PoolId

Storage pool ID (optional, region's default if unspecified).

func (ApiCreateProjectZoneKomputeRequest) Public

Should Kompute be exposed over public Internet ? (a public IPv4 address will then be auto-assigned, default to false).

func (ApiCreateProjectZoneKomputeRequest) TemplateId

Template to clone the storage volume from (optional, region's default if unspecified).

type ApiCreateProjectZoneKonveyRequest

type ApiCreateProjectZoneKonveyRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectZoneKonveyRequest) Execute

func (ApiCreateProjectZoneKonveyRequest) Konvey

Konvey payload.

type ApiCreateRegionRequest

type ApiCreateRegionRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateRegionRequest) Execute

func (r ApiCreateRegionRequest) Execute() (*Region, *http.Response, error)

func (ApiCreateRegionRequest) Region

Region payload.

type ApiCreateStorageNFSRequest

type ApiCreateStorageNFSRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateStorageNFSRequest) Execute

func (ApiCreateStorageNFSRequest) PoolId

Storage pool ID (optional, region's default if unspecified).

func (ApiCreateStorageNFSRequest) StorageNFS

StorageNFS payload.

type ApiCreateStoragePoolRequest

type ApiCreateStoragePoolRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateStoragePoolRequest) Execute

func (ApiCreateStoragePoolRequest) StoragePool

StoragePool payload.

type ApiCreateSubnetRequest

type ApiCreateSubnetRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiCreateSubnetRequest) Execute

func (r ApiCreateSubnetRequest) Execute() (*Subnet, *http.Response, error)

func (ApiCreateSubnetRequest) Subnet

Subnet payload.

type ApiCreateTeamRequest

type ApiCreateTeamRequest struct {
	ApiService *TeamAPIService
	// contains filtered or unexported fields
}

func (ApiCreateTeamRequest) Execute

func (r ApiCreateTeamRequest) Execute() (*Team, *http.Response, error)

func (ApiCreateTeamRequest) Team

Team payload.

type ApiCreateTemplateRequest

type ApiCreateTemplateRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiCreateTemplateRequest) Execute

func (ApiCreateTemplateRequest) Template

Template payload.

type ApiCreateUserRequest

type ApiCreateUserRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) Execute

func (r ApiCreateUserRequest) Execute() (*User, *http.Response, error)

func (ApiCreateUserRequest) User

User payload.

type ApiCreateVNetRequest

type ApiCreateVNetRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateVNetRequest) Execute

func (r ApiCreateVNetRequest) Execute() (*VNet, *http.Response, error)

func (ApiCreateVNetRequest) VNet

VNet payload.

type ApiCreateZoneRequest

type ApiCreateZoneRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateZoneRequest) Execute

func (r ApiCreateZoneRequest) Execute() (*Zone, *http.Response, error)

func (ApiCreateZoneRequest) Zone

Zone payload.

type ApiDeleteAdapterRequest

type ApiDeleteAdapterRequest struct {
	ApiService *AdapterAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteAdapterRequest) Execute

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

type ApiDeleteAgentRequest

type ApiDeleteAgentRequest struct {
	ApiService *AgentAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteAgentRequest) Execute

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

type ApiDeleteApiTokenRequest

type ApiDeleteApiTokenRequest struct {
	ApiService *TokenAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteApiTokenRequest) Execute

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

type ApiDeleteDnsRecordRequest

type ApiDeleteDnsRecordRequest struct {
	ApiService *RecordAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteDnsRecordRequest) Execute

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

type ApiDeleteInstanceRequest

type ApiDeleteInstanceRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteInstanceRequest) Execute

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

type ApiDeleteKaktusRequest

type ApiDeleteKaktusRequest struct {
	ApiService *KaktusAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKaktusRequest) Execute

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

type ApiDeleteKawaiiIpSecRequest

type ApiDeleteKawaiiIpSecRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKawaiiIpSecRequest) Execute

type ApiDeleteKawaiiRequest

type ApiDeleteKawaiiRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKawaiiRequest) Execute

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

type ApiDeleteKiwiRequest

type ApiDeleteKiwiRequest struct {
	ApiService *KiwiAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKiwiRequest) Execute

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

type ApiDeleteKomputeRequest

type ApiDeleteKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKomputeRequest) Execute

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

type ApiDeleteKonveyRequest

type ApiDeleteKonveyRequest struct {
	ApiService *KonveyAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKonveyRequest) Execute

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

type ApiDeleteKyloRequest

type ApiDeleteKyloRequest struct {
	ApiService *KyloAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteKyloRequest) Execute

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

type ApiDeleteProjectRequest

type ApiDeleteProjectRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteProjectRequest) Execute

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

type ApiDeleteRegionRequest

type ApiDeleteRegionRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteRegionRequest) Execute

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

type ApiDeleteStorageNFSRequest

type ApiDeleteStorageNFSRequest struct {
	ApiService *NfsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteStorageNFSRequest) Execute

type ApiDeleteStoragePoolRequest

type ApiDeleteStoragePoolRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteStoragePoolRequest) Execute

type ApiDeleteSubnetRequest

type ApiDeleteSubnetRequest struct {
	ApiService *SubnetAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteSubnetRequest) Execute

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

type ApiDeleteTeamRequest

type ApiDeleteTeamRequest struct {
	ApiService *TeamAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteTeamRequest) Execute

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

type ApiDeleteTemplateRequest

type ApiDeleteTemplateRequest struct {
	ApiService *TemplateAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteTemplateRequest) Execute

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

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

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

type ApiDeleteVNetRequest

type ApiDeleteVNetRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteVNetRequest) Execute

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

type ApiDeleteVolumeRequest

type ApiDeleteVolumeRequest struct {
	ApiService *VolumeAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteVolumeRequest) Execute

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

type ApiDeleteZoneRequest

type ApiDeleteZoneRequest struct {
	ApiService *ZoneAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteZoneRequest) Execute

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

type ApiErrorBadRequest

type ApiErrorBadRequest struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorBadRequest struct for ApiErrorBadRequest

func NewApiErrorBadRequest

func NewApiErrorBadRequest(status int32, error_ string, reason string) *ApiErrorBadRequest

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

func NewApiErrorBadRequestWithDefaults

func NewApiErrorBadRequestWithDefaults() *ApiErrorBadRequest

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

func (*ApiErrorBadRequest) GetError

func (o *ApiErrorBadRequest) GetError() string

GetError returns the Error field value

func (*ApiErrorBadRequest) GetErrorOk

func (o *ApiErrorBadRequest) GetErrorOk() (*string, bool)

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

func (*ApiErrorBadRequest) GetReason

func (o *ApiErrorBadRequest) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorBadRequest) GetReasonOk

func (o *ApiErrorBadRequest) GetReasonOk() (*string, bool)

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

func (*ApiErrorBadRequest) GetStatus

func (o *ApiErrorBadRequest) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorBadRequest) GetStatusOk

func (o *ApiErrorBadRequest) GetStatusOk() (*int32, bool)

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

func (ApiErrorBadRequest) MarshalJSON

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

func (*ApiErrorBadRequest) SetError

func (o *ApiErrorBadRequest) SetError(v string)

SetError sets field value

func (*ApiErrorBadRequest) SetReason

func (o *ApiErrorBadRequest) SetReason(v string)

SetReason sets field value

func (*ApiErrorBadRequest) SetStatus

func (o *ApiErrorBadRequest) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorBadRequest) ToMap

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

func (*ApiErrorBadRequest) UnmarshalJSON

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

type ApiErrorConflict

type ApiErrorConflict struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorConflict struct for ApiErrorConflict

func NewApiErrorConflict

func NewApiErrorConflict(status int32, error_ string, reason string) *ApiErrorConflict

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

func NewApiErrorConflictWithDefaults

func NewApiErrorConflictWithDefaults() *ApiErrorConflict

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

func (*ApiErrorConflict) GetError

func (o *ApiErrorConflict) GetError() string

GetError returns the Error field value

func (*ApiErrorConflict) GetErrorOk

func (o *ApiErrorConflict) GetErrorOk() (*string, bool)

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

func (*ApiErrorConflict) GetReason

func (o *ApiErrorConflict) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorConflict) GetReasonOk

func (o *ApiErrorConflict) GetReasonOk() (*string, bool)

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

func (*ApiErrorConflict) GetStatus

func (o *ApiErrorConflict) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorConflict) GetStatusOk

func (o *ApiErrorConflict) GetStatusOk() (*int32, bool)

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

func (ApiErrorConflict) MarshalJSON

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

func (*ApiErrorConflict) SetError

func (o *ApiErrorConflict) SetError(v string)

SetError sets field value

func (*ApiErrorConflict) SetReason

func (o *ApiErrorConflict) SetReason(v string)

SetReason sets field value

func (*ApiErrorConflict) SetStatus

func (o *ApiErrorConflict) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorConflict) ToMap

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

func (*ApiErrorConflict) UnmarshalJSON

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

type ApiErrorForbidden

type ApiErrorForbidden struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorForbidden struct for ApiErrorForbidden

func NewApiErrorForbidden

func NewApiErrorForbidden(status int32, error_ string, reason string) *ApiErrorForbidden

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

func NewApiErrorForbiddenWithDefaults

func NewApiErrorForbiddenWithDefaults() *ApiErrorForbidden

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

func (*ApiErrorForbidden) GetError

func (o *ApiErrorForbidden) GetError() string

GetError returns the Error field value

func (*ApiErrorForbidden) GetErrorOk

func (o *ApiErrorForbidden) GetErrorOk() (*string, bool)

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

func (*ApiErrorForbidden) GetReason

func (o *ApiErrorForbidden) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorForbidden) GetReasonOk

func (o *ApiErrorForbidden) GetReasonOk() (*string, bool)

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

func (*ApiErrorForbidden) GetStatus

func (o *ApiErrorForbidden) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorForbidden) GetStatusOk

func (o *ApiErrorForbidden) GetStatusOk() (*int32, bool)

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

func (ApiErrorForbidden) MarshalJSON

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

func (*ApiErrorForbidden) SetError

func (o *ApiErrorForbidden) SetError(v string)

SetError sets field value

func (*ApiErrorForbidden) SetReason

func (o *ApiErrorForbidden) SetReason(v string)

SetReason sets field value

func (*ApiErrorForbidden) SetStatus

func (o *ApiErrorForbidden) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorForbidden) ToMap

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

func (*ApiErrorForbidden) UnmarshalJSON

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

type ApiErrorInsufficientResource added in v0.52.5

type ApiErrorInsufficientResource struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorInsufficientResource struct for ApiErrorInsufficientResource

func NewApiErrorInsufficientResource added in v0.52.5

func NewApiErrorInsufficientResource(status int32, error_ string, reason string) *ApiErrorInsufficientResource

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

func NewApiErrorInsufficientResourceWithDefaults added in v0.52.5

func NewApiErrorInsufficientResourceWithDefaults() *ApiErrorInsufficientResource

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

func (*ApiErrorInsufficientResource) GetError added in v0.52.5

func (o *ApiErrorInsufficientResource) GetError() string

GetError returns the Error field value

func (*ApiErrorInsufficientResource) GetErrorOk added in v0.52.5

func (o *ApiErrorInsufficientResource) GetErrorOk() (*string, bool)

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

func (*ApiErrorInsufficientResource) GetReason added in v0.52.5

func (o *ApiErrorInsufficientResource) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorInsufficientResource) GetReasonOk added in v0.52.5

func (o *ApiErrorInsufficientResource) GetReasonOk() (*string, bool)

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

func (*ApiErrorInsufficientResource) GetStatus added in v0.52.5

func (o *ApiErrorInsufficientResource) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorInsufficientResource) GetStatusOk added in v0.52.5

func (o *ApiErrorInsufficientResource) GetStatusOk() (*int32, bool)

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

func (ApiErrorInsufficientResource) MarshalJSON added in v0.52.5

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

func (*ApiErrorInsufficientResource) SetError added in v0.52.5

func (o *ApiErrorInsufficientResource) SetError(v string)

SetError sets field value

func (*ApiErrorInsufficientResource) SetReason added in v0.52.5

func (o *ApiErrorInsufficientResource) SetReason(v string)

SetReason sets field value

func (*ApiErrorInsufficientResource) SetStatus added in v0.52.5

func (o *ApiErrorInsufficientResource) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorInsufficientResource) ToMap added in v0.52.5

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

func (*ApiErrorInsufficientResource) UnmarshalJSON added in v0.52.5

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

type ApiErrorNotFound

type ApiErrorNotFound struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorNotFound struct for ApiErrorNotFound

func NewApiErrorNotFound

func NewApiErrorNotFound(status int32, error_ string, reason string) *ApiErrorNotFound

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

func NewApiErrorNotFoundWithDefaults

func NewApiErrorNotFoundWithDefaults() *ApiErrorNotFound

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

func (*ApiErrorNotFound) GetError

func (o *ApiErrorNotFound) GetError() string

GetError returns the Error field value

func (*ApiErrorNotFound) GetErrorOk

func (o *ApiErrorNotFound) GetErrorOk() (*string, bool)

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

func (*ApiErrorNotFound) GetReason

func (o *ApiErrorNotFound) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorNotFound) GetReasonOk

func (o *ApiErrorNotFound) GetReasonOk() (*string, bool)

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

func (*ApiErrorNotFound) GetStatus

func (o *ApiErrorNotFound) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorNotFound) GetStatusOk

func (o *ApiErrorNotFound) GetStatusOk() (*int32, bool)

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

func (ApiErrorNotFound) MarshalJSON

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

func (*ApiErrorNotFound) SetError

func (o *ApiErrorNotFound) SetError(v string)

SetError sets field value

func (*ApiErrorNotFound) SetReason

func (o *ApiErrorNotFound) SetReason(v string)

SetReason sets field value

func (*ApiErrorNotFound) SetStatus

func (o *ApiErrorNotFound) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorNotFound) ToMap

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

func (*ApiErrorNotFound) UnmarshalJSON

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

type ApiErrorUnauthorized

type ApiErrorUnauthorized struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorUnauthorized struct for ApiErrorUnauthorized

func NewApiErrorUnauthorized

func NewApiErrorUnauthorized(status int32, error_ string, reason string) *ApiErrorUnauthorized

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

func NewApiErrorUnauthorizedWithDefaults

func NewApiErrorUnauthorizedWithDefaults() *ApiErrorUnauthorized

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

func (*ApiErrorUnauthorized) GetError

func (o *ApiErrorUnauthorized) GetError() string

GetError returns the Error field value

func (*ApiErrorUnauthorized) GetErrorOk

func (o *ApiErrorUnauthorized) GetErrorOk() (*string, bool)

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

func (*ApiErrorUnauthorized) GetReason

func (o *ApiErrorUnauthorized) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorUnauthorized) GetReasonOk

func (o *ApiErrorUnauthorized) GetReasonOk() (*string, bool)

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

func (*ApiErrorUnauthorized) GetStatus

func (o *ApiErrorUnauthorized) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorUnauthorized) GetStatusOk

func (o *ApiErrorUnauthorized) GetStatusOk() (*int32, bool)

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

func (ApiErrorUnauthorized) MarshalJSON

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

func (*ApiErrorUnauthorized) SetError

func (o *ApiErrorUnauthorized) SetError(v string)

SetError sets field value

func (*ApiErrorUnauthorized) SetReason

func (o *ApiErrorUnauthorized) SetReason(v string)

SetReason sets field value

func (*ApiErrorUnauthorized) SetStatus

func (o *ApiErrorUnauthorized) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorUnauthorized) ToMap

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

func (*ApiErrorUnauthorized) UnmarshalJSON

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

type ApiErrorUnprocessableEntity

type ApiErrorUnprocessableEntity struct {
	Status int32  `json:"status"`
	Error  string `json:"error"`
	Reason string `json:"reason"`
}

ApiErrorUnprocessableEntity struct for ApiErrorUnprocessableEntity

func NewApiErrorUnprocessableEntity

func NewApiErrorUnprocessableEntity(status int32, error_ string, reason string) *ApiErrorUnprocessableEntity

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

func NewApiErrorUnprocessableEntityWithDefaults

func NewApiErrorUnprocessableEntityWithDefaults() *ApiErrorUnprocessableEntity

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

func (*ApiErrorUnprocessableEntity) GetError

func (o *ApiErrorUnprocessableEntity) GetError() string

GetError returns the Error field value

func (*ApiErrorUnprocessableEntity) GetErrorOk

func (o *ApiErrorUnprocessableEntity) GetErrorOk() (*string, bool)

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

func (*ApiErrorUnprocessableEntity) GetReason

func (o *ApiErrorUnprocessableEntity) GetReason() string

GetReason returns the Reason field value

func (*ApiErrorUnprocessableEntity) GetReasonOk

func (o *ApiErrorUnprocessableEntity) GetReasonOk() (*string, bool)

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

func (*ApiErrorUnprocessableEntity) GetStatus

func (o *ApiErrorUnprocessableEntity) GetStatus() int32

GetStatus returns the Status field value

func (*ApiErrorUnprocessableEntity) GetStatusOk

func (o *ApiErrorUnprocessableEntity) GetStatusOk() (*int32, bool)

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

func (ApiErrorUnprocessableEntity) MarshalJSON

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

func (*ApiErrorUnprocessableEntity) SetError

func (o *ApiErrorUnprocessableEntity) SetError(v string)

SetError sets field value

func (*ApiErrorUnprocessableEntity) SetReason

func (o *ApiErrorUnprocessableEntity) SetReason(v string)

SetReason sets field value

func (*ApiErrorUnprocessableEntity) SetStatus

func (o *ApiErrorUnprocessableEntity) SetStatus(v int32)

SetStatus sets field value

func (ApiErrorUnprocessableEntity) ToMap

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

func (*ApiErrorUnprocessableEntity) UnmarshalJSON

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

type ApiListAdaptersRequest

type ApiListAdaptersRequest struct {
	ApiService *AdapterAPIService
	// contains filtered or unexported fields
}

func (ApiListAdaptersRequest) Execute

func (r ApiListAdaptersRequest) Execute() ([]string, *http.Response, error)

type ApiListAgentsRequest

type ApiListAgentsRequest struct {
	ApiService *AgentAPIService
	// contains filtered or unexported fields
}

func (ApiListAgentsRequest) Execute

func (r ApiListAgentsRequest) Execute() ([]string, *http.Response, error)

type ApiListApiTokensRequest

type ApiListApiTokensRequest struct {
	ApiService *TokenAPIService
	// contains filtered or unexported fields
}

func (ApiListApiTokensRequest) Execute

func (r ApiListApiTokensRequest) Execute() ([]string, *http.Response, error)

type ApiListInstancesRequest

type ApiListInstancesRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiListInstancesRequest) Execute

func (r ApiListInstancesRequest) Execute() ([]string, *http.Response, error)

type ApiListKaktusInstancesRequest

type ApiListKaktusInstancesRequest struct {
	ApiService *KaktusAPIService
	// contains filtered or unexported fields
}

func (ApiListKaktusInstancesRequest) Execute

type ApiListKaktussRequest

type ApiListKaktussRequest struct {
	ApiService *KaktusAPIService
	// contains filtered or unexported fields
}

func (ApiListKaktussRequest) Execute

func (r ApiListKaktussRequest) Execute() ([]string, *http.Response, error)

type ApiListKawaiiIpSecsRequest

type ApiListKawaiiIpSecsRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiListKawaiiIpSecsRequest) Execute

type ApiListKawaiisRequest

type ApiListKawaiisRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiListKawaiisRequest) Execute

func (r ApiListKawaiisRequest) Execute() ([]string, *http.Response, error)

type ApiListKiwisRequest

type ApiListKiwisRequest struct {
	ApiService *KiwiAPIService
	// contains filtered or unexported fields
}

func (ApiListKiwisRequest) Execute

func (r ApiListKiwisRequest) Execute() ([]string, *http.Response, error)

type ApiListKomputesRequest

type ApiListKomputesRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiListKomputesRequest) Execute

func (r ApiListKomputesRequest) Execute() ([]string, *http.Response, error)

type ApiListKonveysRequest

type ApiListKonveysRequest struct {
	ApiService *KonveyAPIService
	// contains filtered or unexported fields
}

func (ApiListKonveysRequest) Execute

func (r ApiListKonveysRequest) Execute() ([]string, *http.Response, error)

type ApiListKylosRequest

type ApiListKylosRequest struct {
	ApiService *KyloAPIService
	// contains filtered or unexported fields
}

func (ApiListKylosRequest) Execute

func (r ApiListKylosRequest) Execute() ([]string, *http.Response, error)

type ApiListProjectDnsRecordsRequest

type ApiListProjectDnsRecordsRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectDnsRecordsRequest) Execute

type ApiListProjectRegionKawaiisRequest

type ApiListProjectRegionKawaiisRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectRegionKawaiisRequest) Execute

type ApiListProjectRegionKonveysRequest

type ApiListProjectRegionKonveysRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectRegionKonveysRequest) Execute

type ApiListProjectRegionKylosRequest

type ApiListProjectRegionKylosRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectRegionKylosRequest) Execute

func (ApiListProjectRegionKylosRequest) NfsId

NFS storage ID (optional, region's default if unspecified).

type ApiListProjectRegionVolumesRequest

type ApiListProjectRegionVolumesRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectRegionVolumesRequest) Execute

type ApiListProjectZoneInstancesRequest

type ApiListProjectZoneInstancesRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectZoneInstancesRequest) Execute

type ApiListProjectZoneKomputesRequest

type ApiListProjectZoneKomputesRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectZoneKomputesRequest) Execute

type ApiListProjectZoneKonveysRequest

type ApiListProjectZoneKonveysRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectZoneKonveysRequest) Execute

type ApiListProjectsRequest

type ApiListProjectsRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiListProjectsRequest) Execute

func (r ApiListProjectsRequest) Execute() ([]string, *http.Response, error)

func (ApiListProjectsRequest) SubnetSize

func (r ApiListProjectsRequest) SubnetSize(subnetSize int32) ApiListProjectsRequest

The minimum VPC subnet size to be affected to the project. WARNING, this cannot be changed later.

type ApiListRegionKiwisRequest

type ApiListRegionKiwisRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiListRegionKiwisRequest) Execute

func (r ApiListRegionKiwisRequest) Execute() ([]string, *http.Response, error)

type ApiListRegionStorageNFSsRequest

type ApiListRegionStorageNFSsRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiListRegionStorageNFSsRequest) Execute

func (ApiListRegionStorageNFSsRequest) PoolId

Storage pool ID (optional, region's default if unspecified).

type ApiListRegionStoragePoolsRequest

type ApiListRegionStoragePoolsRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiListRegionStoragePoolsRequest) Execute

type ApiListRegionVNetsRequest

type ApiListRegionVNetsRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiListRegionVNetsRequest) Execute

func (r ApiListRegionVNetsRequest) Execute() ([]string, *http.Response, error)

type ApiListRegionZonesRequest

type ApiListRegionZonesRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiListRegionZonesRequest) Execute

func (r ApiListRegionZonesRequest) Execute() ([]string, *http.Response, error)

type ApiListRegionsRequest

type ApiListRegionsRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiListRegionsRequest) Execute

func (r ApiListRegionsRequest) Execute() ([]string, *http.Response, error)

type ApiListStorageNFSKylosRequest

type ApiListStorageNFSKylosRequest struct {
	ApiService *NfsAPIService
	// contains filtered or unexported fields
}

func (ApiListStorageNFSKylosRequest) Execute

type ApiListStorageNFSsRequest

type ApiListStorageNFSsRequest struct {
	ApiService *NfsAPIService
	// contains filtered or unexported fields
}

func (ApiListStorageNFSsRequest) Execute

func (r ApiListStorageNFSsRequest) Execute() ([]string, *http.Response, error)

type ApiListStoragePoolTemplatesRequest

type ApiListStoragePoolTemplatesRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiListStoragePoolTemplatesRequest) Execute

type ApiListStoragePoolVolumesRequest

type ApiListStoragePoolVolumesRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiListStoragePoolVolumesRequest) Execute

type ApiListStoragePoolsRequest

type ApiListStoragePoolsRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiListStoragePoolsRequest) Execute

type ApiListSubnetAdaptersRequest

type ApiListSubnetAdaptersRequest struct {
	ApiService *SubnetAPIService
	// contains filtered or unexported fields
}

func (ApiListSubnetAdaptersRequest) Execute

type ApiListSubnetsRequest

type ApiListSubnetsRequest struct {
	ApiService *SubnetAPIService
	// contains filtered or unexported fields
}

func (ApiListSubnetsRequest) Execute

func (r ApiListSubnetsRequest) Execute() ([]string, *http.Response, error)

type ApiListTeamsRequest

type ApiListTeamsRequest struct {
	ApiService *TeamAPIService
	// contains filtered or unexported fields
}

func (ApiListTeamsRequest) Execute

func (r ApiListTeamsRequest) Execute() ([]string, *http.Response, error)

type ApiListTemplatesRequest

type ApiListTemplatesRequest struct {
	ApiService *TemplateAPIService
	// contains filtered or unexported fields
}

func (ApiListTemplatesRequest) Execute

func (r ApiListTemplatesRequest) Execute() ([]string, *http.Response, error)

type ApiListUsersRequest

type ApiListUsersRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Execute

func (r ApiListUsersRequest) Execute() ([]string, *http.Response, error)

type ApiListVNetSubnetsRequest

type ApiListVNetSubnetsRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiListVNetSubnetsRequest) Execute

func (r ApiListVNetSubnetsRequest) Execute() ([]string, *http.Response, error)

type ApiListVNetsRequest

type ApiListVNetsRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiListVNetsRequest) Execute

func (r ApiListVNetsRequest) Execute() ([]string, *http.Response, error)

type ApiListVolumesRequest

type ApiListVolumesRequest struct {
	ApiService *VolumeAPIService
	// contains filtered or unexported fields
}

func (ApiListVolumesRequest) Execute

func (r ApiListVolumesRequest) Execute() ([]string, *http.Response, error)

type ApiListZoneKaktusesRequest

type ApiListZoneKaktusesRequest struct {
	ApiService *ZoneAPIService
	// contains filtered or unexported fields
}

func (ApiListZoneKaktusesRequest) Execute

type ApiListZonesRequest

type ApiListZonesRequest struct {
	ApiService *ZoneAPIService
	// contains filtered or unexported fields
}

func (ApiListZonesRequest) Execute

func (r ApiListZonesRequest) Execute() ([]string, *http.Response, error)

type ApiLoginRequest

type ApiLoginRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiLoginRequest) Execute

func (ApiLoginRequest) UserCredentials

func (r ApiLoginRequest) UserCredentials(userCredentials UserCredentials) ApiLoginRequest

UserCredentials payload.

type ApiLogoutRequest

type ApiLogoutRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiLogoutRequest) Execute

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

type ApiReadAdapterRequest

type ApiReadAdapterRequest struct {
	ApiService *AdapterAPIService
	// contains filtered or unexported fields
}

func (ApiReadAdapterRequest) Execute

func (r ApiReadAdapterRequest) Execute() (*Adapter, *http.Response, error)

type ApiReadAgentRequest

type ApiReadAgentRequest struct {
	ApiService *AgentAPIService
	// contains filtered or unexported fields
}

func (ApiReadAgentRequest) Execute

func (r ApiReadAgentRequest) Execute() (*Agent, *http.Response, error)

type ApiReadApiTokenRequest

type ApiReadApiTokenRequest struct {
	ApiService *TokenAPIService
	// contains filtered or unexported fields
}

func (ApiReadApiTokenRequest) Execute

type ApiReadDnsRecordRequest

type ApiReadDnsRecordRequest struct {
	ApiService *RecordAPIService
	// contains filtered or unexported fields
}

func (ApiReadDnsRecordRequest) Execute

type ApiReadInstanceRemoteConnectionRequest

type ApiReadInstanceRemoteConnectionRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiReadInstanceRemoteConnectionRequest) Execute

type ApiReadInstanceRequest

type ApiReadInstanceRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiReadInstanceRequest) Execute

type ApiReadInstanceStateRequest

type ApiReadInstanceStateRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiReadInstanceStateRequest) Execute

type ApiReadKaktusCapsRequest

type ApiReadKaktusCapsRequest struct {
	ApiService *KaktusAPIService
	// contains filtered or unexported fields
}

func (ApiReadKaktusCapsRequest) Execute

type ApiReadKaktusRequest

type ApiReadKaktusRequest struct {
	ApiService *KaktusAPIService
	// contains filtered or unexported fields
}

func (ApiReadKaktusRequest) Execute

func (r ApiReadKaktusRequest) Execute() (*Kaktus, *http.Response, error)

type ApiReadKawaiiIpSecRequest

type ApiReadKawaiiIpSecRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiReadKawaiiIpSecRequest) Execute

type ApiReadKawaiiRequest

type ApiReadKawaiiRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiReadKawaiiRequest) Execute

func (r ApiReadKawaiiRequest) Execute() (*Kawaii, *http.Response, error)

type ApiReadKiwiRequest

type ApiReadKiwiRequest struct {
	ApiService *KiwiAPIService
	// contains filtered or unexported fields
}

func (ApiReadKiwiRequest) Execute

func (r ApiReadKiwiRequest) Execute() (*Kiwi, *http.Response, error)

type ApiReadKomputeRequest

type ApiReadKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiReadKomputeRequest) Execute

func (r ApiReadKomputeRequest) Execute() (*Kompute, *http.Response, error)

type ApiReadKomputeStateRequest

type ApiReadKomputeStateRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiReadKomputeStateRequest) Execute

type ApiReadKonveyRequest

type ApiReadKonveyRequest struct {
	ApiService *KonveyAPIService
	// contains filtered or unexported fields
}

func (ApiReadKonveyRequest) Execute

func (r ApiReadKonveyRequest) Execute() (*Konvey, *http.Response, error)

type ApiReadKyloRequest

type ApiReadKyloRequest struct {
	ApiService *KyloAPIService
	// contains filtered or unexported fields
}

func (ApiReadKyloRequest) Execute

func (r ApiReadKyloRequest) Execute() (*Kylo, *http.Response, error)

type ApiReadProjectCostRequest

type ApiReadProjectCostRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiReadProjectCostRequest) Execute

func (r ApiReadProjectCostRequest) Execute() (*Cost, *http.Response, error)

type ApiReadProjectRequest

type ApiReadProjectRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiReadProjectRequest) Execute

func (r ApiReadProjectRequest) Execute() (*Project, *http.Response, error)

type ApiReadProjectUsageRequest

type ApiReadProjectUsageRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiReadProjectUsageRequest) Execute

type ApiReadRegionRequest

type ApiReadRegionRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiReadRegionRequest) Execute

func (r ApiReadRegionRequest) Execute() (*Region, *http.Response, error)

type ApiReadStorageNFSRequest

type ApiReadStorageNFSRequest struct {
	ApiService *NfsAPIService
	// contains filtered or unexported fields
}

func (ApiReadStorageNFSRequest) Execute

type ApiReadStoragePoolRequest

type ApiReadStoragePoolRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiReadStoragePoolRequest) Execute

type ApiReadSubnetRequest

type ApiReadSubnetRequest struct {
	ApiService *SubnetAPIService
	// contains filtered or unexported fields
}

func (ApiReadSubnetRequest) Execute

func (r ApiReadSubnetRequest) Execute() (*Subnet, *http.Response, error)

type ApiReadTeamRequest

type ApiReadTeamRequest struct {
	ApiService *TeamAPIService
	// contains filtered or unexported fields
}

func (ApiReadTeamRequest) Execute

func (r ApiReadTeamRequest) Execute() (*Team, *http.Response, error)

type ApiReadTemplateRequest

type ApiReadTemplateRequest struct {
	ApiService *TemplateAPIService
	// contains filtered or unexported fields
}

func (ApiReadTemplateRequest) Execute

type ApiReadUserRequest

type ApiReadUserRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiReadUserRequest) Execute

func (r ApiReadUserRequest) Execute() (*User, *http.Response, error)

type ApiReadVNetRequest

type ApiReadVNetRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiReadVNetRequest) Execute

func (r ApiReadVNetRequest) Execute() (*VNet, *http.Response, error)

type ApiReadVolumeRequest

type ApiReadVolumeRequest struct {
	ApiService *VolumeAPIService
	// contains filtered or unexported fields
}

func (ApiReadVolumeRequest) Execute

func (r ApiReadVolumeRequest) Execute() (*Volume, *http.Response, error)

type ApiReadZoneRequest

type ApiReadZoneRequest struct {
	ApiService *ZoneAPIService
	// contains filtered or unexported fields
}

func (ApiReadZoneRequest) Execute

func (r ApiReadZoneRequest) Execute() (*Zone, *http.Response, error)

type ApiRebootInstanceRequest

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

func (ApiRebootInstanceRequest) Execute

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

type ApiRebootKomputeRequest

type ApiRebootKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiRebootKomputeRequest) Execute

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

type ApiResetInstanceRequest

type ApiResetInstanceRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiResetInstanceRequest) Execute

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

type ApiResetKomputeRequest

type ApiResetKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiResetKomputeRequest) Execute

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

type ApiResetPasswordRequest

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

func (ApiResetPasswordRequest) Execute

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

func (ApiResetPasswordRequest) UserEmail

UserEmail payload.

type ApiResetUserPasswordRequest

type ApiResetUserPasswordRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiResetUserPasswordRequest) Execute

type ApiResumeInstanceRequest

type ApiResumeInstanceRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiResumeInstanceRequest) Execute

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

type ApiResumeKomputeRequest

type ApiResumeKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiResumeKomputeRequest) Execute

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

type ApiSetAgentApiTokenRequest

type ApiSetAgentApiTokenRequest struct {
	ApiService *AgentAPIService
	// contains filtered or unexported fields
}

func (ApiSetAgentApiTokenRequest) Execute

func (ApiSetAgentApiTokenRequest) ExpirationDate

func (r ApiSetAgentApiTokenRequest) ExpirationDate(expirationDate string) ApiSetAgentApiTokenRequest

Token's expiration date (YYYY-MM-DD format).

func (ApiSetAgentApiTokenRequest) Expire

Whether or not the token should expire.

type ApiSetRegionDefaultStorageNFSRequest

type ApiSetRegionDefaultStorageNFSRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiSetRegionDefaultStorageNFSRequest) Execute

type ApiSetRegionDefaultStoragePoolRequest

type ApiSetRegionDefaultStoragePoolRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiSetRegionDefaultStoragePoolRequest) Execute

type ApiSetStoragePoolDefaultTemplateRequest

type ApiSetStoragePoolDefaultTemplateRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiSetStoragePoolDefaultTemplateRequest) Execute

type ApiSetUserApiTokenRequest

type ApiSetUserApiTokenRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiSetUserApiTokenRequest) Execute

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

func (ApiSetUserApiTokenRequest) ExpirationDate

func (r ApiSetUserApiTokenRequest) ExpirationDate(expirationDate string) ApiSetUserApiTokenRequest

Token's expiration date (YYYY-MM-DD format).

func (ApiSetUserApiTokenRequest) Expire

Whether or not the token should expire.

type ApiSetUserPasswordRequest

type ApiSetUserPasswordRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiSetUserPasswordRequest) Execute

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

func (ApiSetUserPasswordRequest) Password

Password payload.

type ApiSetVNetDefaultSubnetRequest

type ApiSetVNetDefaultSubnetRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiSetVNetDefaultSubnetRequest) Execute

type ApiShutdownInstanceRequest

type ApiShutdownInstanceRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiShutdownInstanceRequest) Execute

type ApiShutdownKomputeRequest

type ApiShutdownKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiShutdownKomputeRequest) Execute

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

type ApiStartInstanceRequest

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

func (ApiStartInstanceRequest) Execute

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

type ApiStartKomputeRequest

type ApiStartKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiStartKomputeRequest) Execute

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

type ApiStopInstanceRequest

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

func (ApiStopInstanceRequest) Execute

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

type ApiStopKomputeRequest

type ApiStopKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiStopKomputeRequest) Execute

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

type ApiSuspendInstanceRequest

type ApiSuspendInstanceRequest struct {
	ApiService *InstanceAPIService
	// contains filtered or unexported fields
}

func (ApiSuspendInstanceRequest) Execute

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

type ApiSuspendKomputeRequest

type ApiSuspendKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiSuspendKomputeRequest) Execute

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

type ApiToken

type ApiToken struct {
	// The server-to-server authentication security token ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The server-to-server authentication security token name.
	Name string `json:"name"`
	// The server-to-server authentication security token description.
	Description *string `json:"description,omitempty"`
	// Does the API token expires at some stage ?.
	Expire bool `json:"expire"`
	// Expiration date of the token (YYYY-MM-DD format).
	ExpirationDate *string `json:"expiration_date,omitempty"`
}

ApiToken A Kowabunga authentication security token consists of an API key granting access to resources.

func NewApiToken

func NewApiToken(name string, expire bool) *ApiToken

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

func NewApiTokenWithDefaults

func NewApiTokenWithDefaults() *ApiToken

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

func (*ApiToken) GetDescription

func (o *ApiToken) GetDescription() string

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

func (*ApiToken) GetDescriptionOk

func (o *ApiToken) 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 (*ApiToken) GetExpirationDate

func (o *ApiToken) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*ApiToken) GetExpirationDateOk

func (o *ApiToken) GetExpirationDateOk() (*string, bool)

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

func (*ApiToken) GetExpire

func (o *ApiToken) GetExpire() bool

GetExpire returns the Expire field value

func (*ApiToken) GetExpireOk

func (o *ApiToken) GetExpireOk() (*bool, bool)

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

func (*ApiToken) GetId

func (o *ApiToken) GetId() string

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

func (*ApiToken) GetIdOk

func (o *ApiToken) 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 (*ApiToken) GetName

func (o *ApiToken) GetName() string

GetName returns the Name field value

func (*ApiToken) GetNameOk

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

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

func (*ApiToken) HasDescription

func (o *ApiToken) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ApiToken) HasExpirationDate

func (o *ApiToken) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*ApiToken) HasId

func (o *ApiToken) HasId() bool

HasId returns a boolean if a field has been set.

func (ApiToken) MarshalJSON

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

func (*ApiToken) SetDescription

func (o *ApiToken) SetDescription(v string)

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

func (*ApiToken) SetExpirationDate

func (o *ApiToken) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.

func (*ApiToken) SetExpire

func (o *ApiToken) SetExpire(v bool)

SetExpire sets field value

func (*ApiToken) SetId

func (o *ApiToken) SetId(v string)

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

func (*ApiToken) SetName

func (o *ApiToken) SetName(v string)

SetName sets field value

func (ApiToken) ToMap

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

func (*ApiToken) UnmarshalJSON

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

type ApiUpdateAdapterRequest

type ApiUpdateAdapterRequest struct {
	ApiService *AdapterAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateAdapterRequest) Adapter

Adapter payload.

func (ApiUpdateAdapterRequest) Execute

type ApiUpdateAgentRequest

type ApiUpdateAgentRequest struct {
	ApiService *AgentAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateAgentRequest) Agent

Agent payload.

func (ApiUpdateAgentRequest) Execute

func (r ApiUpdateAgentRequest) Execute() (*Agent, *http.Response, error)

type ApiUpdateApiTokenRequest

type ApiUpdateApiTokenRequest struct {
	ApiService *TokenAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateApiTokenRequest) ApiToken

ApiToken payload.

func (ApiUpdateApiTokenRequest) Execute

type ApiUpdateDnsRecordRequest

type ApiUpdateDnsRecordRequest struct {
	ApiService *RecordAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateDnsRecordRequest) DnsRecord

DnsRecord payload.

func (ApiUpdateDnsRecordRequest) Execute

type ApiUpdateInstanceRequest

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

func (ApiUpdateInstanceRequest) Execute

func (ApiUpdateInstanceRequest) Instance

Instance payload.

type ApiUpdateKaktusRequest

type ApiUpdateKaktusRequest struct {
	ApiService *KaktusAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKaktusRequest) Execute

func (r ApiUpdateKaktusRequest) Execute() (*Kaktus, *http.Response, error)

func (ApiUpdateKaktusRequest) Kaktus

Kaktus payload.

type ApiUpdateKawaiiIpSecRequest

type ApiUpdateKawaiiIpSecRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKawaiiIpSecRequest) Execute

func (ApiUpdateKawaiiIpSecRequest) KawaiiIpSec

KawaiiIpSec payload.

type ApiUpdateKawaiiRequest

type ApiUpdateKawaiiRequest struct {
	ApiService *KawaiiAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKawaiiRequest) Execute

func (r ApiUpdateKawaiiRequest) Execute() (*Kawaii, *http.Response, error)

func (ApiUpdateKawaiiRequest) Kawaii

Kawaii payload.

type ApiUpdateKiwiRequest

type ApiUpdateKiwiRequest struct {
	ApiService *KiwiAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKiwiRequest) Execute

func (r ApiUpdateKiwiRequest) Execute() (*Kiwi, *http.Response, error)

func (ApiUpdateKiwiRequest) Kiwi

Kiwi payload.

type ApiUpdateKomputeRequest

type ApiUpdateKomputeRequest struct {
	ApiService *KomputeAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKomputeRequest) Execute

func (ApiUpdateKomputeRequest) Kompute

Kompute payload.

type ApiUpdateKonveyRequest

type ApiUpdateKonveyRequest struct {
	ApiService *KonveyAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKonveyRequest) Execute

func (r ApiUpdateKonveyRequest) Execute() (*Konvey, *http.Response, error)

func (ApiUpdateKonveyRequest) Konvey

Konvey payload.

type ApiUpdateKyloRequest

type ApiUpdateKyloRequest struct {
	ApiService *KyloAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateKyloRequest) Execute

func (r ApiUpdateKyloRequest) Execute() (*Kylo, *http.Response, error)

func (ApiUpdateKyloRequest) Kylo

Kylo payload.

type ApiUpdateProjectRequest

type ApiUpdateProjectRequest struct {
	ApiService *ProjectAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateProjectRequest) Execute

func (ApiUpdateProjectRequest) Project

Project payload.

type ApiUpdateRegionRequest

type ApiUpdateRegionRequest struct {
	ApiService *RegionAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateRegionRequest) Execute

func (r ApiUpdateRegionRequest) Execute() (*Region, *http.Response, error)

func (ApiUpdateRegionRequest) Region

Region payload.

type ApiUpdateStorageNFSRequest

type ApiUpdateStorageNFSRequest struct {
	ApiService *NfsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateStorageNFSRequest) Execute

func (ApiUpdateStorageNFSRequest) StorageNFS

StorageNFS payload.

type ApiUpdateStoragePoolRequest

type ApiUpdateStoragePoolRequest struct {
	ApiService *PoolAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateStoragePoolRequest) Execute

func (ApiUpdateStoragePoolRequest) StoragePool

StoragePool payload.

type ApiUpdateSubnetRequest

type ApiUpdateSubnetRequest struct {
	ApiService *SubnetAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateSubnetRequest) Execute

func (r ApiUpdateSubnetRequest) Execute() (*Subnet, *http.Response, error)

func (ApiUpdateSubnetRequest) Subnet

Subnet payload.

type ApiUpdateTeamRequest

type ApiUpdateTeamRequest struct {
	ApiService *TeamAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateTeamRequest) Execute

func (r ApiUpdateTeamRequest) Execute() (*Team, *http.Response, error)

func (ApiUpdateTeamRequest) Team

Team payload.

type ApiUpdateTemplateRequest

type ApiUpdateTemplateRequest struct {
	ApiService *TemplateAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateTemplateRequest) Execute

func (ApiUpdateTemplateRequest) Template

Template payload.

type ApiUpdateUserRequest

type ApiUpdateUserRequest struct {
	ApiService *UserAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute

func (r ApiUpdateUserRequest) Execute() (*User, *http.Response, error)

func (ApiUpdateUserRequest) User

User payload.

type ApiUpdateVNetRequest

type ApiUpdateVNetRequest struct {
	ApiService *VnetAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateVNetRequest) Execute

func (r ApiUpdateVNetRequest) Execute() (*VNet, *http.Response, error)

func (ApiUpdateVNetRequest) VNet

VNet payload.

type ApiUpdateVolumeRequest

type ApiUpdateVolumeRequest struct {
	ApiService *VolumeAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateVolumeRequest) Execute

func (r ApiUpdateVolumeRequest) Execute() (*Volume, *http.Response, error)

func (ApiUpdateVolumeRequest) Volume

Volume payload.

type ApiUpdateZoneRequest

type ApiUpdateZoneRequest struct {
	ApiService *ZoneAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateZoneRequest) Execute

func (r ApiUpdateZoneRequest) Execute() (*Zone, *http.Response, error)

func (ApiUpdateZoneRequest) Zone

Zone payload.

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

type Cost struct {
	// The unit price information.
	Price float32 `json:"price"`
	// The associated currency.
	Currency string `json:"currency"`
}

Cost A resource cost.

func NewCost

func NewCost(price float32, currency string) *Cost

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

func NewCostWithDefaults

func NewCostWithDefaults() *Cost

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

func (*Cost) GetCurrency

func (o *Cost) GetCurrency() string

GetCurrency returns the Currency field value

func (*Cost) GetCurrencyOk

func (o *Cost) GetCurrencyOk() (*string, bool)

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

func (*Cost) GetPrice

func (o *Cost) GetPrice() float32

GetPrice returns the Price field value

func (*Cost) GetPriceOk

func (o *Cost) GetPriceOk() (*float32, bool)

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

func (Cost) MarshalJSON

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

func (*Cost) SetCurrency

func (o *Cost) SetCurrency(v string)

SetCurrency sets field value

func (*Cost) SetPrice

func (o *Cost) SetPrice(v float32)

SetPrice sets field value

func (Cost) ToMap

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

func (*Cost) UnmarshalJSON

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

type DnsRecord

type DnsRecord struct {
	// The DNS record ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The DNS record name.
	Name string `json:"name"`
	// The DNS record description.
	Description *string `json:"description,omitempty"`
	// The DNS record associated domain (inherited from associated project).
	Domain *string `json:"domain,omitempty"`
	// A list of IPv4 addresses to be associated to the record.
	Addresses []string `json:"addresses"`
}

DnsRecord A DNS record.

func NewDnsRecord

func NewDnsRecord(name string, addresses []string) *DnsRecord

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

func NewDnsRecordWithDefaults

func NewDnsRecordWithDefaults() *DnsRecord

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

func (*DnsRecord) GetAddresses

func (o *DnsRecord) GetAddresses() []string

GetAddresses returns the Addresses field value

func (*DnsRecord) GetAddressesOk

func (o *DnsRecord) GetAddressesOk() ([]string, bool)

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

func (*DnsRecord) GetDescription

func (o *DnsRecord) GetDescription() string

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

func (*DnsRecord) GetDescriptionOk

func (o *DnsRecord) 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 (*DnsRecord) GetDomain

func (o *DnsRecord) GetDomain() string

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

func (*DnsRecord) GetDomainOk

func (o *DnsRecord) 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 (*DnsRecord) GetId

func (o *DnsRecord) GetId() string

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

func (*DnsRecord) GetIdOk

func (o *DnsRecord) 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 (*DnsRecord) GetName

func (o *DnsRecord) GetName() string

GetName returns the Name field value

func (*DnsRecord) GetNameOk

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

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

func (*DnsRecord) HasDescription

func (o *DnsRecord) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DnsRecord) HasDomain

func (o *DnsRecord) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*DnsRecord) HasId

func (o *DnsRecord) HasId() bool

HasId returns a boolean if a field has been set.

func (DnsRecord) MarshalJSON

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

func (*DnsRecord) SetAddresses

func (o *DnsRecord) SetAddresses(v []string)

SetAddresses sets field value

func (*DnsRecord) SetDescription

func (o *DnsRecord) SetDescription(v string)

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

func (*DnsRecord) SetDomain

func (o *DnsRecord) SetDomain(v string)

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

func (*DnsRecord) SetId

func (o *DnsRecord) SetId(v string)

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

func (*DnsRecord) SetName

func (o *DnsRecord) SetName(v string)

SetName sets field value

func (DnsRecord) ToMap

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

func (*DnsRecord) UnmarshalJSON

func (o *DnsRecord) UnmarshalJSON(data []byte) (err 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 Instance

type Instance struct {
	// The virtual machine instance ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The virtual machine instance name.
	Name string `json:"name"`
	// The virtual machine instance description.
	Description *string `json:"description,omitempty"`
	// The virtual machine instance memory size (in bytes).
	Memory int64 `json:"memory"`
	// The virtual machine instance number of vCPUs.
	Vcpus int64 `json:"vcpus"`
	// a list of existing network adapters to be connected to the instance.
	Adapters []string `json:"adapters,omitempty"`
	// volumes list of existing storage volumes (i.e. disks) to be connected to the instance.
	Volumes []string `json:"volumes,omitempty"`
}

Instance A virtual machine instance.

func NewInstance

func NewInstance(name string, memory int64, vcpus int64) *Instance

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

func NewInstanceWithDefaults

func NewInstanceWithDefaults() *Instance

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

func (*Instance) GetAdapters

func (o *Instance) GetAdapters() []string

GetAdapters returns the Adapters field value if set, zero value otherwise.

func (*Instance) GetAdaptersOk

func (o *Instance) GetAdaptersOk() ([]string, bool)

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

func (*Instance) GetDescription

func (o *Instance) GetDescription() string

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

func (*Instance) GetDescriptionOk

func (o *Instance) 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 (*Instance) GetId

func (o *Instance) GetId() string

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

func (*Instance) GetIdOk

func (o *Instance) 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 (*Instance) GetMemory

func (o *Instance) GetMemory() int64

GetMemory returns the Memory field value

func (*Instance) GetMemoryOk

func (o *Instance) GetMemoryOk() (*int64, bool)

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

func (*Instance) GetName

func (o *Instance) GetName() string

GetName returns the Name field value

func (*Instance) GetNameOk

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

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

func (*Instance) GetVcpus

func (o *Instance) GetVcpus() int64

GetVcpus returns the Vcpus field value

func (*Instance) GetVcpusOk

func (o *Instance) GetVcpusOk() (*int64, bool)

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

func (*Instance) GetVolumes

func (o *Instance) GetVolumes() []string

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Instance) GetVolumesOk

func (o *Instance) GetVolumesOk() ([]string, bool)

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

func (*Instance) HasAdapters

func (o *Instance) HasAdapters() bool

HasAdapters returns a boolean if a field has been set.

func (*Instance) HasDescription

func (o *Instance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Instance) HasId

func (o *Instance) HasId() bool

HasId returns a boolean if a field has been set.

func (*Instance) HasVolumes

func (o *Instance) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (Instance) MarshalJSON

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

func (*Instance) SetAdapters

func (o *Instance) SetAdapters(v []string)

SetAdapters gets a reference to the given []string and assigns it to the Adapters field.

func (*Instance) SetDescription

func (o *Instance) SetDescription(v string)

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

func (*Instance) SetId

func (o *Instance) SetId(v string)

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

func (*Instance) SetMemory

func (o *Instance) SetMemory(v int64)

SetMemory sets field value

func (*Instance) SetName

func (o *Instance) SetName(v string)

SetName sets field value

func (*Instance) SetVcpus

func (o *Instance) SetVcpus(v int64)

SetVcpus sets field value

func (*Instance) SetVolumes

func (o *Instance) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

func (Instance) ToMap

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

func (*Instance) UnmarshalJSON

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

type InstanceAPIService

type InstanceAPIService service

InstanceAPIService InstanceAPI service

func (*InstanceAPIService) DeleteInstance

func (a *InstanceAPIService) DeleteInstance(ctx context.Context, instanceId string) ApiDeleteInstanceRequest

DeleteInstance Method for DeleteInstance

Deletes an existing virtual machine instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiDeleteInstanceRequest

func (*InstanceAPIService) DeleteInstanceExecute

func (a *InstanceAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) ListInstances

ListInstances Method for ListInstances

Returns the IDs of virtual machine instance objects.

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

func (*InstanceAPIService) ListInstancesExecute

func (a *InstanceAPIService) ListInstancesExecute(r ApiListInstancesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*InstanceAPIService) ReadInstance

func (a *InstanceAPIService) ReadInstance(ctx context.Context, instanceId string) ApiReadInstanceRequest

ReadInstance Method for ReadInstance

Returns a virtual machine instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiReadInstanceRequest

func (*InstanceAPIService) ReadInstanceExecute

func (a *InstanceAPIService) ReadInstanceExecute(r ApiReadInstanceRequest) (*Instance, *http.Response, error)

Execute executes the request

@return Instance

func (*InstanceAPIService) ReadInstanceRemoteConnection

func (a *InstanceAPIService) ReadInstanceRemoteConnection(ctx context.Context, instanceId string) ApiReadInstanceRemoteConnectionRequest

ReadInstanceRemoteConnection Method for ReadInstanceRemoteConnection

Returns a virtual machine instance remote access characteristics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiReadInstanceRemoteConnectionRequest

func (*InstanceAPIService) ReadInstanceRemoteConnectionExecute

func (a *InstanceAPIService) ReadInstanceRemoteConnectionExecute(r ApiReadInstanceRemoteConnectionRequest) (*InstanceRemoteAccess, *http.Response, error)

Execute executes the request

@return InstanceRemoteAccess

func (*InstanceAPIService) ReadInstanceState

func (a *InstanceAPIService) ReadInstanceState(ctx context.Context, instanceId string) ApiReadInstanceStateRequest

ReadInstanceState Method for ReadInstanceState

Returns a virtual machine instance state.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiReadInstanceStateRequest

func (*InstanceAPIService) ReadInstanceStateExecute

func (a *InstanceAPIService) ReadInstanceStateExecute(r ApiReadInstanceStateRequest) (*InstanceState, *http.Response, error)

Execute executes the request

@return InstanceState

func (*InstanceAPIService) RebootInstance

func (a *InstanceAPIService) RebootInstance(ctx context.Context, instanceId string) ApiRebootInstanceRequest

RebootInstance Method for RebootInstance

Performs a virtual machine instance software reboot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiRebootInstanceRequest

func (*InstanceAPIService) RebootInstanceExecute

func (a *InstanceAPIService) RebootInstanceExecute(r ApiRebootInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) ResetInstance

func (a *InstanceAPIService) ResetInstance(ctx context.Context, instanceId string) ApiResetInstanceRequest

ResetInstance Method for ResetInstance

Performs a virtual machine instance hardware reset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiResetInstanceRequest

func (*InstanceAPIService) ResetInstanceExecute

func (a *InstanceAPIService) ResetInstanceExecute(r ApiResetInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) ResumeInstance

func (a *InstanceAPIService) ResumeInstance(ctx context.Context, instanceId string) ApiResumeInstanceRequest

ResumeInstance Method for ResumeInstance

Performs a virtual machine instance software PM resume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiResumeInstanceRequest

func (*InstanceAPIService) ResumeInstanceExecute

func (a *InstanceAPIService) ResumeInstanceExecute(r ApiResumeInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) ShutdownInstance

func (a *InstanceAPIService) ShutdownInstance(ctx context.Context, instanceId string) ApiShutdownInstanceRequest

ShutdownInstance Method for ShutdownInstance

Performs a virtual machine instance software shutdown.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiShutdownInstanceRequest

func (*InstanceAPIService) ShutdownInstanceExecute

func (a *InstanceAPIService) ShutdownInstanceExecute(r ApiShutdownInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) StartInstance

func (a *InstanceAPIService) StartInstance(ctx context.Context, instanceId string) ApiStartInstanceRequest

StartInstance Method for StartInstance

Performs a virtual machine instance hardware boot-up.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiStartInstanceRequest

func (*InstanceAPIService) StartInstanceExecute

func (a *InstanceAPIService) StartInstanceExecute(r ApiStartInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) StopInstance

func (a *InstanceAPIService) StopInstance(ctx context.Context, instanceId string) ApiStopInstanceRequest

StopInstance Method for StopInstance

Performs a virtual machine instance hardware stop.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiStopInstanceRequest

func (*InstanceAPIService) StopInstanceExecute

func (a *InstanceAPIService) StopInstanceExecute(r ApiStopInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) SuspendInstance

func (a *InstanceAPIService) SuspendInstance(ctx context.Context, instanceId string) ApiSuspendInstanceRequest

SuspendInstance Method for SuspendInstance

Performs a virtual machine instance software PM suspend.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiSuspendInstanceRequest

func (*InstanceAPIService) SuspendInstanceExecute

func (a *InstanceAPIService) SuspendInstanceExecute(r ApiSuspendInstanceRequest) (*http.Response, error)

Execute executes the request

func (*InstanceAPIService) UpdateInstance

func (a *InstanceAPIService) UpdateInstance(ctx context.Context, instanceId string) ApiUpdateInstanceRequest

UpdateInstance Method for UpdateInstance

Updates a virtual machine instance configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId The ID of the virtual machine instance.
@return ApiUpdateInstanceRequest

func (*InstanceAPIService) UpdateInstanceExecute

func (a *InstanceAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*Instance, *http.Response, error)

Execute executes the request

@return Instance

type InstanceRemoteAccess

type InstanceRemoteAccess struct {
	// The virtual machine instance remote access URL.
	Url string `json:"url"`
}

InstanceRemoteAccess A virtual machine instance remote access characteristics.

func NewInstanceRemoteAccess

func NewInstanceRemoteAccess(url string) *InstanceRemoteAccess

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

func NewInstanceRemoteAccessWithDefaults

func NewInstanceRemoteAccessWithDefaults() *InstanceRemoteAccess

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

func (*InstanceRemoteAccess) GetUrl

func (o *InstanceRemoteAccess) GetUrl() string

GetUrl returns the Url field value

func (*InstanceRemoteAccess) GetUrlOk

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

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

func (InstanceRemoteAccess) MarshalJSON

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

func (*InstanceRemoteAccess) SetUrl

func (o *InstanceRemoteAccess) SetUrl(v string)

SetUrl sets field value

func (InstanceRemoteAccess) ToMap

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

func (*InstanceRemoteAccess) UnmarshalJSON

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

type InstanceState

type InstanceState struct {
	// The virtual machine instance state.
	State string `json:"state"`
	// The virtual machine instance reason of the state.
	Reason string `json:"reason"`
}

InstanceState A virtual machine instance state.

func NewInstanceState

func NewInstanceState(state string, reason string) *InstanceState

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

func NewInstanceStateWithDefaults

func NewInstanceStateWithDefaults() *InstanceState

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

func (*InstanceState) GetReason

func (o *InstanceState) GetReason() string

GetReason returns the Reason field value

func (*InstanceState) GetReasonOk

func (o *InstanceState) GetReasonOk() (*string, bool)

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

func (*InstanceState) GetState

func (o *InstanceState) GetState() string

GetState returns the State field value

func (*InstanceState) GetStateOk

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

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

func (InstanceState) MarshalJSON

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

func (*InstanceState) SetReason

func (o *InstanceState) SetReason(v string)

SetReason sets field value

func (*InstanceState) SetState

func (o *InstanceState) SetState(v string)

SetState sets field value

func (InstanceState) ToMap

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

func (*InstanceState) UnmarshalJSON

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

type IpRange

type IpRange struct {
	// The range's first IP address.
	First string `json:"first"`
	// The range's last IP address.
	Last string `json:"last"`
}

IpRange A reserved IPv4 addresses pool range, non-addressable by Kowabunga.

func NewIpRange

func NewIpRange(first string, last string) *IpRange

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

func NewIpRangeWithDefaults

func NewIpRangeWithDefaults() *IpRange

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

func (*IpRange) GetFirst

func (o *IpRange) GetFirst() string

GetFirst returns the First field value

func (*IpRange) GetFirstOk

func (o *IpRange) GetFirstOk() (*string, bool)

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

func (*IpRange) GetLast

func (o *IpRange) GetLast() string

GetLast returns the Last field value

func (*IpRange) GetLastOk

func (o *IpRange) GetLastOk() (*string, bool)

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

func (IpRange) MarshalJSON

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

func (*IpRange) SetFirst

func (o *IpRange) SetFirst(v string)

SetFirst sets field value

func (*IpRange) SetLast

func (o *IpRange) SetLast(v string)

SetLast sets field value

func (IpRange) ToMap

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

func (*IpRange) UnmarshalJSON

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

type Kaktus

type Kaktus struct {
	// The Kaktus computing node ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kaktus computing node name.
	Name string `json:"name"`
	// The Kaktus computing node description.
	Description *string `json:"description,omitempty"`
	// Cost associated to the Kaktus node's CPU resources.
	CpuCost Cost `json:"cpu_cost,omitempty"`
	// Cost associated to the Kaktus node's memory resources.
	MemoryCost Cost `json:"memory_cost,omitempty"`
	// The Kaktus node CPU resource over-commit ratio. Overcommitting CPU resources for VMs means allocating more virtual CPUs (vCPUs) to the virtual machines (VMs) than the physical cores available on the node. This can help optimize the utilization of the node CPU and increase the density of VMs per node.
	OvercommitCpuRatio *int64 `json:"overcommit_cpu_ratio,omitempty"`
	// The Kaktus node memory resource over-commit ratio. Memory overcommitment is a concept in computing that covers the assignment of more memory to virtual computing devices (or processes) than the physical machine they are hosted, or running on, actually has.
	OvercommitMemoryRatio *int64 `json:"overcommit_memory_ratio,omitempty"`
	// a list of existing remote agents managing the Kaktus node.
	Agents []string `json:"agents"`
}

Kaktus A Kaktus (Kowabunga Affordable KVM and Tight Underneath Storage) is an hyper-converged infrastructure (HCI) bare-metal node offering computing and distributed storage capabilites.

func NewKaktus

func NewKaktus(name string, agents []string) *Kaktus

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

func NewKaktusWithDefaults

func NewKaktusWithDefaults() *Kaktus

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

func (*Kaktus) GetAgents

func (o *Kaktus) GetAgents() []string

GetAgents returns the Agents field value

func (*Kaktus) GetAgentsOk

func (o *Kaktus) GetAgentsOk() ([]string, bool)

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

func (*Kaktus) GetCpuCost

func (o *Kaktus) GetCpuCost() Cost

GetCpuCost returns the CpuCost field value if set, zero value otherwise.

func (*Kaktus) GetCpuCostOk

func (o *Kaktus) GetCpuCostOk() (Cost, bool)

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

func (*Kaktus) GetDescription

func (o *Kaktus) GetDescription() string

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

func (*Kaktus) GetDescriptionOk

func (o *Kaktus) 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 (*Kaktus) GetId

func (o *Kaktus) GetId() string

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

func (*Kaktus) GetIdOk

func (o *Kaktus) 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 (*Kaktus) GetMemoryCost

func (o *Kaktus) GetMemoryCost() Cost

GetMemoryCost returns the MemoryCost field value if set, zero value otherwise.

func (*Kaktus) GetMemoryCostOk

func (o *Kaktus) GetMemoryCostOk() (Cost, bool)

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

func (*Kaktus) GetName

func (o *Kaktus) GetName() string

GetName returns the Name field value

func (*Kaktus) GetNameOk

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

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

func (*Kaktus) GetOvercommitCpuRatio

func (o *Kaktus) GetOvercommitCpuRatio() int64

GetOvercommitCpuRatio returns the OvercommitCpuRatio field value if set, zero value otherwise.

func (*Kaktus) GetOvercommitCpuRatioOk

func (o *Kaktus) GetOvercommitCpuRatioOk() (*int64, bool)

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

func (*Kaktus) GetOvercommitMemoryRatio

func (o *Kaktus) GetOvercommitMemoryRatio() int64

GetOvercommitMemoryRatio returns the OvercommitMemoryRatio field value if set, zero value otherwise.

func (*Kaktus) GetOvercommitMemoryRatioOk

func (o *Kaktus) GetOvercommitMemoryRatioOk() (*int64, bool)

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

func (*Kaktus) HasCpuCost

func (o *Kaktus) HasCpuCost() bool

HasCpuCost returns a boolean if a field has been set.

func (*Kaktus) HasDescription

func (o *Kaktus) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Kaktus) HasId

func (o *Kaktus) HasId() bool

HasId returns a boolean if a field has been set.

func (*Kaktus) HasMemoryCost

func (o *Kaktus) HasMemoryCost() bool

HasMemoryCost returns a boolean if a field has been set.

func (*Kaktus) HasOvercommitCpuRatio

func (o *Kaktus) HasOvercommitCpuRatio() bool

HasOvercommitCpuRatio returns a boolean if a field has been set.

func (*Kaktus) HasOvercommitMemoryRatio

func (o *Kaktus) HasOvercommitMemoryRatio() bool

HasOvercommitMemoryRatio returns a boolean if a field has been set.

func (Kaktus) MarshalJSON

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

func (*Kaktus) SetAgents

func (o *Kaktus) SetAgents(v []string)

SetAgents sets field value

func (*Kaktus) SetCpuCost

func (o *Kaktus) SetCpuCost(v Cost)

SetCpuCost gets a reference to the given Cost and assigns it to the CpuCost field.

func (*Kaktus) SetDescription

func (o *Kaktus) SetDescription(v string)

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

func (*Kaktus) SetId

func (o *Kaktus) SetId(v string)

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

func (*Kaktus) SetMemoryCost

func (o *Kaktus) SetMemoryCost(v Cost)

SetMemoryCost gets a reference to the given Cost and assigns it to the MemoryCost field.

func (*Kaktus) SetName

func (o *Kaktus) SetName(v string)

SetName sets field value

func (*Kaktus) SetOvercommitCpuRatio

func (o *Kaktus) SetOvercommitCpuRatio(v int64)

SetOvercommitCpuRatio gets a reference to the given int64 and assigns it to the OvercommitCpuRatio field.

func (*Kaktus) SetOvercommitMemoryRatio

func (o *Kaktus) SetOvercommitMemoryRatio(v int64)

SetOvercommitMemoryRatio gets a reference to the given int64 and assigns it to the OvercommitMemoryRatio field.

func (Kaktus) ToMap

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

func (*Kaktus) UnmarshalJSON

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

type KaktusAPIService

type KaktusAPIService service

KaktusAPIService KaktusAPI service

func (*KaktusAPIService) DeleteKaktus

func (a *KaktusAPIService) DeleteKaktus(ctx context.Context, kaktusId string) ApiDeleteKaktusRequest

DeleteKaktus Method for DeleteKaktus

Deletes an existing Kaktus computing node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kaktusId The ID of the Kaktus computing node.
@return ApiDeleteKaktusRequest

func (*KaktusAPIService) DeleteKaktusExecute

func (a *KaktusAPIService) DeleteKaktusExecute(r ApiDeleteKaktusRequest) (*http.Response, error)

Execute executes the request

func (*KaktusAPIService) ListKaktusInstances

func (a *KaktusAPIService) ListKaktusInstances(ctx context.Context, kaktusId string) ApiListKaktusInstancesRequest

ListKaktusInstances Method for ListKaktusInstances

Returns the IDs of virtual machine instance objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kaktusId The ID of the Kaktus computing node.
@return ApiListKaktusInstancesRequest

func (*KaktusAPIService) ListKaktusInstancesExecute

func (a *KaktusAPIService) ListKaktusInstancesExecute(r ApiListKaktusInstancesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KaktusAPIService) ListKaktuss

ListKaktuss Method for ListKaktuss

Returns the IDs of Kaktus computing node objects.

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

func (*KaktusAPIService) ListKaktussExecute

func (a *KaktusAPIService) ListKaktussExecute(r ApiListKaktussRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KaktusAPIService) ReadKaktus

func (a *KaktusAPIService) ReadKaktus(ctx context.Context, kaktusId string) ApiReadKaktusRequest

ReadKaktus Method for ReadKaktus

Returns a Kaktus computing node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kaktusId The ID of the Kaktus computing node.
@return ApiReadKaktusRequest

func (*KaktusAPIService) ReadKaktusCaps

func (a *KaktusAPIService) ReadKaktusCaps(ctx context.Context, kaktusId string) ApiReadKaktusCapsRequest

ReadKaktusCaps Method for ReadKaktusCaps

Returns a Kaktus computing node capability.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kaktusId The ID of the Kaktus computing node.
@return ApiReadKaktusCapsRequest

func (*KaktusAPIService) ReadKaktusCapsExecute

func (a *KaktusAPIService) ReadKaktusCapsExecute(r ApiReadKaktusCapsRequest) (*KaktusCaps, *http.Response, error)

Execute executes the request

@return KaktusCaps

func (*KaktusAPIService) ReadKaktusExecute

func (a *KaktusAPIService) ReadKaktusExecute(r ApiReadKaktusRequest) (*Kaktus, *http.Response, error)

Execute executes the request

@return Kaktus

func (*KaktusAPIService) UpdateKaktus

func (a *KaktusAPIService) UpdateKaktus(ctx context.Context, kaktusId string) ApiUpdateKaktusRequest

UpdateKaktus Method for UpdateKaktus

Updates a Kaktus computing node configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kaktusId The ID of the Kaktus computing node.
@return ApiUpdateKaktusRequest

func (*KaktusAPIService) UpdateKaktusExecute

func (a *KaktusAPIService) UpdateKaktusExecute(r ApiUpdateKaktusRequest) (*Kaktus, *http.Response, error)

Execute executes the request

@return Kaktus

type KaktusCPU

type KaktusCPU struct {
	// The Kaktus computing node CPU architecture.
	Arch string `json:"arch"`
	// The Kaktus computing node CPU model.
	Model string `json:"model"`
	// The Kaktus computing node CPU vendor.
	Vendor string `json:"vendor"`
	// The Kaktus computing node CPU number of sockets.
	Sockets int64 `json:"sockets"`
	// The Kaktus computing node CPU number of cores.
	Cores int64 `json:"cores"`
	// The Kaktus computing node CPU number of threads.
	Threads int64 `json:"threads"`
}

KaktusCPU A Kaktus computing node CPU characteristics.

func NewKaktusCPU

func NewKaktusCPU(arch string, model string, vendor string, sockets int64, cores int64, threads int64) *KaktusCPU

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

func NewKaktusCPUWithDefaults

func NewKaktusCPUWithDefaults() *KaktusCPU

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

func (*KaktusCPU) GetArch

func (o *KaktusCPU) GetArch() string

GetArch returns the Arch field value

func (*KaktusCPU) GetArchOk

func (o *KaktusCPU) GetArchOk() (*string, bool)

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

func (*KaktusCPU) GetCores

func (o *KaktusCPU) GetCores() int64

GetCores returns the Cores field value

func (*KaktusCPU) GetCoresOk

func (o *KaktusCPU) GetCoresOk() (*int64, bool)

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

func (*KaktusCPU) GetModel

func (o *KaktusCPU) GetModel() string

GetModel returns the Model field value

func (*KaktusCPU) GetModelOk

func (o *KaktusCPU) GetModelOk() (*string, bool)

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

func (*KaktusCPU) GetSockets

func (o *KaktusCPU) GetSockets() int64

GetSockets returns the Sockets field value

func (*KaktusCPU) GetSocketsOk

func (o *KaktusCPU) GetSocketsOk() (*int64, bool)

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

func (*KaktusCPU) GetThreads

func (o *KaktusCPU) GetThreads() int64

GetThreads returns the Threads field value

func (*KaktusCPU) GetThreadsOk

func (o *KaktusCPU) GetThreadsOk() (*int64, bool)

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

func (*KaktusCPU) GetVendor

func (o *KaktusCPU) GetVendor() string

GetVendor returns the Vendor field value

func (*KaktusCPU) GetVendorOk

func (o *KaktusCPU) GetVendorOk() (*string, bool)

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

func (KaktusCPU) MarshalJSON

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

func (*KaktusCPU) SetArch

func (o *KaktusCPU) SetArch(v string)

SetArch sets field value

func (*KaktusCPU) SetCores

func (o *KaktusCPU) SetCores(v int64)

SetCores sets field value

func (*KaktusCPU) SetModel

func (o *KaktusCPU) SetModel(v string)

SetModel sets field value

func (*KaktusCPU) SetSockets

func (o *KaktusCPU) SetSockets(v int64)

SetSockets sets field value

func (*KaktusCPU) SetThreads

func (o *KaktusCPU) SetThreads(v int64)

SetThreads sets field value

func (*KaktusCPU) SetVendor

func (o *KaktusCPU) SetVendor(v string)

SetVendor sets field value

func (KaktusCPU) ToMap

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

func (*KaktusCPU) UnmarshalJSON

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

type KaktusCaps

type KaktusCaps struct {
	// The Kaktus computing node CPU characteristics.
	Cpu KaktusCPU `json:"cpu"`
	// The Kaktus computing node memory size (bytes).
	Memory int64 `json:"memory"`
}

KaktusCaps A Kaktus computing node capability.

func NewKaktusCaps

func NewKaktusCaps(cpu KaktusCPU, memory int64) *KaktusCaps

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

func NewKaktusCapsWithDefaults

func NewKaktusCapsWithDefaults() *KaktusCaps

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

func (*KaktusCaps) GetCpu

func (o *KaktusCaps) GetCpu() KaktusCPU

GetCpu returns the Cpu field value

func (*KaktusCaps) GetCpuOk

func (o *KaktusCaps) GetCpuOk() (KaktusCPU, bool)

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

func (*KaktusCaps) GetMemory

func (o *KaktusCaps) GetMemory() int64

GetMemory returns the Memory field value

func (*KaktusCaps) GetMemoryOk

func (o *KaktusCaps) GetMemoryOk() (*int64, bool)

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

func (KaktusCaps) MarshalJSON

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

func (*KaktusCaps) SetCpu

func (o *KaktusCaps) SetCpu(v KaktusCPU)

SetCpu sets field value

func (*KaktusCaps) SetMemory

func (o *KaktusCaps) SetMemory(v int64)

SetMemory sets field value

func (KaktusCaps) ToMap

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

func (*KaktusCaps) UnmarshalJSON

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

type Kawaii

type Kawaii struct {
	// The Kawaii ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kawaii name.
	Name *string `json:"name,omitempty"`
	// The Kawaii description.
	Description *string `json:"description,omitempty"`
	// The Kawaii list of assigned virtual IPs per-zone addresses (read-only).
	Netip KawaiiNetIp `json:"netip,omitempty"`
	// The Kawaii firewall settings from/to public Internet).
	Firewall KawaiiFirewall `json:"firewall,omitempty"`
	// The Kawaii list of NAT forwarding entries. Kawaii will forward public Internet traffic from all public virtual IPs to requested private subnet IP addresses.
	Dnat []KawaiiDNatRule `json:"dnat,omitempty"`
	// The Kawaii list of Kowabunga private VPC subnet peering entries.
	VpcPeerings []KawaiiVpcPeering `json:"vpc_peerings,omitempty"`
	// The Kawaii list of Kowabunga IPsec connections.
	IpsecConnections []KawaiiIpSec `json:"ipsec_connections,omitempty"`
}

Kawaii A Kawaii (Kowabunga Adapative WAn Intelligent Interface) is a network gateway used for your Internet inbound and outbound traffic.

func NewKawaii

func NewKawaii() *Kawaii

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

func NewKawaiiWithDefaults

func NewKawaiiWithDefaults() *Kawaii

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

func (*Kawaii) GetDescription

func (o *Kawaii) GetDescription() string

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

func (*Kawaii) GetDescriptionOk

func (o *Kawaii) 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 (*Kawaii) GetDnat

func (o *Kawaii) GetDnat() []KawaiiDNatRule

GetDnat returns the Dnat field value if set, zero value otherwise.

func (*Kawaii) GetDnatOk

func (o *Kawaii) GetDnatOk() ([]KawaiiDNatRule, bool)

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

func (*Kawaii) GetFirewall

func (o *Kawaii) GetFirewall() KawaiiFirewall

GetFirewall returns the Firewall field value if set, zero value otherwise.

func (*Kawaii) GetFirewallOk

func (o *Kawaii) GetFirewallOk() (KawaiiFirewall, bool)

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

func (*Kawaii) GetId

func (o *Kawaii) GetId() string

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

func (*Kawaii) GetIdOk

func (o *Kawaii) 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 (*Kawaii) GetIpsecConnections

func (o *Kawaii) GetIpsecConnections() []KawaiiIpSec

GetIpsecConnections returns the IpsecConnections field value if set, zero value otherwise.

func (*Kawaii) GetIpsecConnectionsOk

func (o *Kawaii) GetIpsecConnectionsOk() ([]KawaiiIpSec, bool)

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

func (*Kawaii) GetName

func (o *Kawaii) GetName() string

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

func (*Kawaii) GetNameOk

func (o *Kawaii) 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 (*Kawaii) GetNetip

func (o *Kawaii) GetNetip() KawaiiNetIp

GetNetip returns the Netip field value if set, zero value otherwise.

func (*Kawaii) GetNetipOk

func (o *Kawaii) GetNetipOk() (KawaiiNetIp, bool)

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

func (*Kawaii) GetVpcPeerings

func (o *Kawaii) GetVpcPeerings() []KawaiiVpcPeering

GetVpcPeerings returns the VpcPeerings field value if set, zero value otherwise.

func (*Kawaii) GetVpcPeeringsOk

func (o *Kawaii) GetVpcPeeringsOk() ([]KawaiiVpcPeering, bool)

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

func (*Kawaii) HasDescription

func (o *Kawaii) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Kawaii) HasDnat

func (o *Kawaii) HasDnat() bool

HasDnat returns a boolean if a field has been set.

func (*Kawaii) HasFirewall

func (o *Kawaii) HasFirewall() bool

HasFirewall returns a boolean if a field has been set.

func (*Kawaii) HasId

func (o *Kawaii) HasId() bool

HasId returns a boolean if a field has been set.

func (*Kawaii) HasIpsecConnections

func (o *Kawaii) HasIpsecConnections() bool

HasIpsecConnections returns a boolean if a field has been set.

func (*Kawaii) HasName

func (o *Kawaii) HasName() bool

HasName returns a boolean if a field has been set.

func (*Kawaii) HasNetip

func (o *Kawaii) HasNetip() bool

HasNetip returns a boolean if a field has been set.

func (*Kawaii) HasVpcPeerings

func (o *Kawaii) HasVpcPeerings() bool

HasVpcPeerings returns a boolean if a field has been set.

func (Kawaii) MarshalJSON

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

func (*Kawaii) SetDescription

func (o *Kawaii) SetDescription(v string)

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

func (*Kawaii) SetDnat

func (o *Kawaii) SetDnat(v []KawaiiDNatRule)

SetDnat gets a reference to the given []KawaiiDNatRule and assigns it to the Dnat field.

func (*Kawaii) SetFirewall

func (o *Kawaii) SetFirewall(v KawaiiFirewall)

SetFirewall gets a reference to the given KawaiiFirewall and assigns it to the Firewall field.

func (*Kawaii) SetId

func (o *Kawaii) SetId(v string)

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

func (*Kawaii) SetIpsecConnections

func (o *Kawaii) SetIpsecConnections(v []KawaiiIpSec)

SetIpsecConnections gets a reference to the given []KawaiiIpSec and assigns it to the IpsecConnections field.

func (*Kawaii) SetName

func (o *Kawaii) SetName(v string)

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

func (*Kawaii) SetNetip

func (o *Kawaii) SetNetip(v KawaiiNetIp)

SetNetip gets a reference to the given KawaiiNetIp and assigns it to the Netip field.

func (*Kawaii) SetVpcPeerings

func (o *Kawaii) SetVpcPeerings(v []KawaiiVpcPeering)

SetVpcPeerings gets a reference to the given []KawaiiVpcPeering and assigns it to the VpcPeerings field.

func (Kawaii) ToMap

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

type KawaiiAPIService

type KawaiiAPIService service

KawaiiAPIService KawaiiAPI service

func (*KawaiiAPIService) CreateKawaiiIpSec

func (a *KawaiiAPIService) CreateKawaiiIpSec(ctx context.Context, kawaiiId string) ApiCreateKawaiiIpSecRequest

CreateKawaiiIpSec Method for CreateKawaiiIpSec

Creates a new Kawaii IPsec connection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@return ApiCreateKawaiiIpSecRequest

func (*KawaiiAPIService) CreateKawaiiIpSecExecute

func (a *KawaiiAPIService) CreateKawaiiIpSecExecute(r ApiCreateKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)

Execute executes the request

@return KawaiiIpSec

func (*KawaiiAPIService) DeleteKawaii

func (a *KawaiiAPIService) DeleteKawaii(ctx context.Context, kawaiiId string) ApiDeleteKawaiiRequest

DeleteKawaii Method for DeleteKawaii

Deletes an existing Kawaii.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@return ApiDeleteKawaiiRequest

func (*KawaiiAPIService) DeleteKawaiiExecute

func (a *KawaiiAPIService) DeleteKawaiiExecute(r ApiDeleteKawaiiRequest) (*http.Response, error)

Execute executes the request

func (*KawaiiAPIService) DeleteKawaiiIpSec

func (a *KawaiiAPIService) DeleteKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiDeleteKawaiiIpSecRequest

DeleteKawaiiIpSec Method for DeleteKawaiiIpSec

Deletes an existing Kawaii IPsec connection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@param kawaiiIpSecId The ID of the Kawaii IPsec connection.
@return ApiDeleteKawaiiIpSecRequest

func (*KawaiiAPIService) DeleteKawaiiIpSecExecute

func (a *KawaiiAPIService) DeleteKawaiiIpSecExecute(r ApiDeleteKawaiiIpSecRequest) (*http.Response, error)

Execute executes the request

func (*KawaiiAPIService) ListKawaiiIpSecs

func (a *KawaiiAPIService) ListKawaiiIpSecs(ctx context.Context, kawaiiId string) ApiListKawaiiIpSecsRequest

ListKawaiiIpSecs Method for ListKawaiiIpSecs

Returns the IDs of Kawaii IPsec connection objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@return ApiListKawaiiIpSecsRequest

func (*KawaiiAPIService) ListKawaiiIpSecsExecute

func (a *KawaiiAPIService) ListKawaiiIpSecsExecute(r ApiListKawaiiIpSecsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KawaiiAPIService) ListKawaiis

ListKawaiis Method for ListKawaiis

Returns the IDs of Kawaii objects.

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

func (*KawaiiAPIService) ListKawaiisExecute

func (a *KawaiiAPIService) ListKawaiisExecute(r ApiListKawaiisRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KawaiiAPIService) ReadKawaii

func (a *KawaiiAPIService) ReadKawaii(ctx context.Context, kawaiiId string) ApiReadKawaiiRequest

ReadKawaii Method for ReadKawaii

Returns a Kawaii.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@return ApiReadKawaiiRequest

func (*KawaiiAPIService) ReadKawaiiExecute

func (a *KawaiiAPIService) ReadKawaiiExecute(r ApiReadKawaiiRequest) (*Kawaii, *http.Response, error)

Execute executes the request

@return Kawaii

func (*KawaiiAPIService) ReadKawaiiIpSec

func (a *KawaiiAPIService) ReadKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiReadKawaiiIpSecRequest

ReadKawaiiIpSec Method for ReadKawaiiIpSec

Returns a Kawaii IPsec connection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@param kawaiiIpSecId The ID of the Kawaii IPsec connection.
@return ApiReadKawaiiIpSecRequest

func (*KawaiiAPIService) ReadKawaiiIpSecExecute

func (a *KawaiiAPIService) ReadKawaiiIpSecExecute(r ApiReadKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)

Execute executes the request

@return KawaiiIpSec

func (*KawaiiAPIService) UpdateKawaii

func (a *KawaiiAPIService) UpdateKawaii(ctx context.Context, kawaiiId string) ApiUpdateKawaiiRequest

UpdateKawaii Method for UpdateKawaii

Updates a Kawaii configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@return ApiUpdateKawaiiRequest

func (*KawaiiAPIService) UpdateKawaiiExecute

func (a *KawaiiAPIService) UpdateKawaiiExecute(r ApiUpdateKawaiiRequest) (*Kawaii, *http.Response, error)

Execute executes the request

@return Kawaii

func (*KawaiiAPIService) UpdateKawaiiIpSec

func (a *KawaiiAPIService) UpdateKawaiiIpSec(ctx context.Context, kawaiiId string, kawaiiIpSecId string) ApiUpdateKawaiiIpSecRequest

UpdateKawaiiIpSec Method for UpdateKawaiiIpSec

Updates a Kawaii IPsec connection configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kawaiiId The ID of the Kawaii.
@param kawaiiIpSecId The ID of the Kawaii IPsec connection.
@return ApiUpdateKawaiiIpSecRequest

func (*KawaiiAPIService) UpdateKawaiiIpSecExecute

func (a *KawaiiAPIService) UpdateKawaiiIpSecExecute(r ApiUpdateKawaiiIpSecRequest) (*KawaiiIpSec, *http.Response, error)

Execute executes the request

@return KawaiiIpSec

type KawaiiDNatRule

type KawaiiDNatRule struct {
	// Target private IP address to forward public traffic to.
	Destination string `json:"destination"`
	// The transport layer protocol to forward public traffic to.
	Protocol *string `json:"protocol,omitempty"`
	// The port (or list of ports) to forward public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005).
	Ports string `json:"ports"`
}

KawaiiDNatRule A Kawaii public firewall destination NAT rule.

func NewKawaiiDNatRule

func NewKawaiiDNatRule(destination string, ports string) *KawaiiDNatRule

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

func NewKawaiiDNatRuleWithDefaults

func NewKawaiiDNatRuleWithDefaults() *KawaiiDNatRule

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

func (*KawaiiDNatRule) GetDestination

func (o *KawaiiDNatRule) GetDestination() string

GetDestination returns the Destination field value

func (*KawaiiDNatRule) GetDestinationOk

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

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

func (*KawaiiDNatRule) GetPorts

func (o *KawaiiDNatRule) GetPorts() string

GetPorts returns the Ports field value

func (*KawaiiDNatRule) GetPortsOk

func (o *KawaiiDNatRule) GetPortsOk() (*string, bool)

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

func (*KawaiiDNatRule) GetProtocol

func (o *KawaiiDNatRule) GetProtocol() string

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

func (*KawaiiDNatRule) GetProtocolOk

func (o *KawaiiDNatRule) 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 (*KawaiiDNatRule) HasProtocol

func (o *KawaiiDNatRule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (KawaiiDNatRule) MarshalJSON

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

func (*KawaiiDNatRule) SetDestination

func (o *KawaiiDNatRule) SetDestination(v string)

SetDestination sets field value

func (*KawaiiDNatRule) SetPorts

func (o *KawaiiDNatRule) SetPorts(v string)

SetPorts sets field value

func (*KawaiiDNatRule) SetProtocol

func (o *KawaiiDNatRule) SetProtocol(v string)

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

func (KawaiiDNatRule) ToMap

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

func (*KawaiiDNatRule) UnmarshalJSON

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

type KawaiiFirewall

type KawaiiFirewall struct {
	// The Kawaii public firewall list of ingress rules. Kawaii default policy is to drop all incoming traffic, including ICMP. Specified ruleset will be explicitly accepted.
	Ingress []KawaiiFirewallIngressRule `json:"ingress,omitempty"`
	// The default public traffic egress policy.
	EgressPolicy *string `json:"egress_policy,omitempty"`
	// The Kawaii public firewall list of egress rules. Kawaii default policy is to accept all outgoing traffic, including ICMP. Specified ruleset will be explicitly dropped if egress_policy is set to accept, and explicitly accepted if egress policy is set to drop..
	Egress []KawaiiFirewallEgressRule `json:"egress,omitempty"`
}

KawaiiFirewall A Kawaii public firewall settings.

func NewKawaiiFirewall

func NewKawaiiFirewall() *KawaiiFirewall

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

func NewKawaiiFirewallWithDefaults

func NewKawaiiFirewallWithDefaults() *KawaiiFirewall

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

func (*KawaiiFirewall) GetEgress

func (o *KawaiiFirewall) GetEgress() []KawaiiFirewallEgressRule

GetEgress returns the Egress field value if set, zero value otherwise.

func (*KawaiiFirewall) GetEgressOk

func (o *KawaiiFirewall) GetEgressOk() ([]KawaiiFirewallEgressRule, bool)

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

func (*KawaiiFirewall) GetEgressPolicy

func (o *KawaiiFirewall) GetEgressPolicy() string

GetEgressPolicy returns the EgressPolicy field value if set, zero value otherwise.

func (*KawaiiFirewall) GetEgressPolicyOk

func (o *KawaiiFirewall) GetEgressPolicyOk() (*string, bool)

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

func (*KawaiiFirewall) GetIngress

func (o *KawaiiFirewall) GetIngress() []KawaiiFirewallIngressRule

GetIngress returns the Ingress field value if set, zero value otherwise.

func (*KawaiiFirewall) GetIngressOk

func (o *KawaiiFirewall) GetIngressOk() ([]KawaiiFirewallIngressRule, bool)

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

func (*KawaiiFirewall) HasEgress

func (o *KawaiiFirewall) HasEgress() bool

HasEgress returns a boolean if a field has been set.

func (*KawaiiFirewall) HasEgressPolicy

func (o *KawaiiFirewall) HasEgressPolicy() bool

HasEgressPolicy returns a boolean if a field has been set.

func (*KawaiiFirewall) HasIngress

func (o *KawaiiFirewall) HasIngress() bool

HasIngress returns a boolean if a field has been set.

func (KawaiiFirewall) MarshalJSON

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

func (*KawaiiFirewall) SetEgress

func (o *KawaiiFirewall) SetEgress(v []KawaiiFirewallEgressRule)

SetEgress gets a reference to the given []KawaiiFirewallEgressRule and assigns it to the Egress field.

func (*KawaiiFirewall) SetEgressPolicy

func (o *KawaiiFirewall) SetEgressPolicy(v string)

SetEgressPolicy gets a reference to the given string and assigns it to the EgressPolicy field.

func (*KawaiiFirewall) SetIngress

func (o *KawaiiFirewall) SetIngress(v []KawaiiFirewallIngressRule)

SetIngress gets a reference to the given []KawaiiFirewallIngressRule and assigns it to the Ingress field.

func (KawaiiFirewall) ToMap

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

type KawaiiFirewallEgressRule

type KawaiiFirewallEgressRule struct {
	// The destination IP or CIDR to accept/drop public traffic to.
	Destination *string `json:"destination,omitempty"`
	// The transport layer protocol to accept/drop public traffic to.
	Protocol *string `json:"protocol,omitempty"`
	// The port (or list of ports) to accept/drop public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005).
	Ports string `json:"ports"`
}

KawaiiFirewallEgressRule A Kawaii public firewall egress rule.

func NewKawaiiFirewallEgressRule

func NewKawaiiFirewallEgressRule(ports string) *KawaiiFirewallEgressRule

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

func NewKawaiiFirewallEgressRuleWithDefaults

func NewKawaiiFirewallEgressRuleWithDefaults() *KawaiiFirewallEgressRule

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

func (*KawaiiFirewallEgressRule) GetDestination

func (o *KawaiiFirewallEgressRule) GetDestination() string

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

func (*KawaiiFirewallEgressRule) GetDestinationOk

func (o *KawaiiFirewallEgressRule) 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 (*KawaiiFirewallEgressRule) GetPorts

func (o *KawaiiFirewallEgressRule) GetPorts() string

GetPorts returns the Ports field value

func (*KawaiiFirewallEgressRule) GetPortsOk

func (o *KawaiiFirewallEgressRule) GetPortsOk() (*string, bool)

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

func (*KawaiiFirewallEgressRule) GetProtocol

func (o *KawaiiFirewallEgressRule) GetProtocol() string

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

func (*KawaiiFirewallEgressRule) GetProtocolOk

func (o *KawaiiFirewallEgressRule) 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 (*KawaiiFirewallEgressRule) HasDestination

func (o *KawaiiFirewallEgressRule) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*KawaiiFirewallEgressRule) HasProtocol

func (o *KawaiiFirewallEgressRule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (KawaiiFirewallEgressRule) MarshalJSON

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

func (*KawaiiFirewallEgressRule) SetDestination

func (o *KawaiiFirewallEgressRule) SetDestination(v string)

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

func (*KawaiiFirewallEgressRule) SetPorts

func (o *KawaiiFirewallEgressRule) SetPorts(v string)

SetPorts sets field value

func (*KawaiiFirewallEgressRule) SetProtocol

func (o *KawaiiFirewallEgressRule) SetProtocol(v string)

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

func (KawaiiFirewallEgressRule) ToMap

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

func (*KawaiiFirewallEgressRule) UnmarshalJSON

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

type KawaiiFirewallIngressRule

type KawaiiFirewallIngressRule struct {
	// The source IP or CIDR to accept public traffic from.
	Source *string `json:"source,omitempty"`
	// The transport layer protocol to accept public traffic from.
	Protocol *string `json:"protocol,omitempty"`
	// The port (or list of ports) to accept public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005).
	Ports string `json:"ports"`
}

KawaiiFirewallIngressRule A Kawaii public firewall ingress rule.

func NewKawaiiFirewallIngressRule

func NewKawaiiFirewallIngressRule(ports string) *KawaiiFirewallIngressRule

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

func NewKawaiiFirewallIngressRuleWithDefaults

func NewKawaiiFirewallIngressRuleWithDefaults() *KawaiiFirewallIngressRule

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

func (*KawaiiFirewallIngressRule) GetPorts

func (o *KawaiiFirewallIngressRule) GetPorts() string

GetPorts returns the Ports field value

func (*KawaiiFirewallIngressRule) GetPortsOk

func (o *KawaiiFirewallIngressRule) GetPortsOk() (*string, bool)

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

func (*KawaiiFirewallIngressRule) GetProtocol

func (o *KawaiiFirewallIngressRule) GetProtocol() string

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

func (*KawaiiFirewallIngressRule) GetProtocolOk

func (o *KawaiiFirewallIngressRule) 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 (*KawaiiFirewallIngressRule) GetSource

func (o *KawaiiFirewallIngressRule) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*KawaiiFirewallIngressRule) GetSourceOk

func (o *KawaiiFirewallIngressRule) GetSourceOk() (*string, bool)

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

func (*KawaiiFirewallIngressRule) HasProtocol

func (o *KawaiiFirewallIngressRule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*KawaiiFirewallIngressRule) HasSource

func (o *KawaiiFirewallIngressRule) HasSource() bool

HasSource returns a boolean if a field has been set.

func (KawaiiFirewallIngressRule) MarshalJSON

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

func (*KawaiiFirewallIngressRule) SetPorts

func (o *KawaiiFirewallIngressRule) SetPorts(v string)

SetPorts sets field value

func (*KawaiiFirewallIngressRule) SetProtocol

func (o *KawaiiFirewallIngressRule) SetProtocol(v string)

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

func (*KawaiiFirewallIngressRule) SetSource

func (o *KawaiiFirewallIngressRule) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (KawaiiFirewallIngressRule) ToMap

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

func (*KawaiiFirewallIngressRule) UnmarshalJSON

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

type KawaiiIpSec

type KawaiiIpSec struct {
	// The Kawaii IPsec connection ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kawaii IPsec connection name.
	Name string `json:"name"`
	// The Kawaii IPsec connection description.
	Description *string `json:"description,omitempty"`
	// The Kawaii IPsec connection IPSec IP.
	Ip *string `json:"ip,omitempty"`
	// The Kawaii IPsec connection remote peer VPN Gateway.
	RemoteIp string `json:"remote_ip"`
	// The Kawaii IPsec connection remote subnet.
	RemoteSubnet string `json:"remote_subnet"`
	// The Kawaii IPsec connection pre-shared key(PSK).
	PreSharedKey string `json:"pre_shared_key"`
	// The Kawaii IPsec connection Dead Peer Detection Action (clear,restart or trap).
	DpdTimeoutAction *string `json:"dpd_timeout_action,omitempty"`
	// The Kawaii IPsec connection Dead Peer Detection Timeout.
	DpdTimeout *string `json:"dpd_timeout,omitempty"`
	// The Kawaii IPsec connection start action (none, start, trap).
	StartAction *string `json:"start_action,omitempty"`
	// The Kawaii IPsec connection rekey time. Default is 2h.
	RekeyTime *string `json:"rekey_time,omitempty"`
	// The Kawaii IPsec connection Lifetime for phase 1 negociation. Default is 1h.
	Phase1Lifetime *string `json:"phase1_lifetime,omitempty"`
	// The Kawaii IPsec connection phase 1 Diffie Hellman IANA algorithm.
	Phase1DhGroupNumber int64 `json:"phase1_dh_group_number"`
	// The Kawaii IPsec connection phase 1 integrity algorithm..
	Phase1IntegrityAlgorithm string `json:"phase1_integrity_algorithm"`
	// The Kawaii IPsec connection phase 1 encryption algorithm..
	Phase1EncryptionAlgorithm string `json:"phase1_encryption_algorithm"`
	// The Kawaii IPsec connection Lifetime for phase 2 negociation. Default is 1h.
	Phase2Lifetime *string `json:"phase2_lifetime,omitempty"`
	// The Kawaii IPsec connection phase 2 Diffie Hellman IANA algorithm.
	Phase2DhGroupNumber int64 `json:"phase2_dh_group_number"`
	// The Kawaii IPsec connection phase 2 integrity algorithm..
	Phase2IntegrityAlgorithm string `json:"phase2_integrity_algorithm"`
	// The Kawaii IPsec connection phase 2 encryption algorithm..
	Phase2EncryptionAlgorithm string `json:"phase2_encryption_algorithm"`
	// The Kawaii IPsec connection firewall settings on the IPsec interface.
	Firewall KawaiiFirewall `json:"firewall,omitempty"`
}

KawaiiIpSec A Kawaii IPsec connection.

func NewKawaiiIpSec

func NewKawaiiIpSec(name string, remoteIp string, remoteSubnet string, preSharedKey string, phase1DhGroupNumber int64, phase1IntegrityAlgorithm string, phase1EncryptionAlgorithm string, phase2DhGroupNumber int64, phase2IntegrityAlgorithm string, phase2EncryptionAlgorithm string) *KawaiiIpSec

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

func NewKawaiiIpSecWithDefaults

func NewKawaiiIpSecWithDefaults() *KawaiiIpSec

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

func (*KawaiiIpSec) GetDescription

func (o *KawaiiIpSec) GetDescription() string

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

func (*KawaiiIpSec) GetDescriptionOk

func (o *KawaiiIpSec) 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 (*KawaiiIpSec) GetDpdTimeout

func (o *KawaiiIpSec) GetDpdTimeout() string

GetDpdTimeout returns the DpdTimeout field value if set, zero value otherwise.

func (*KawaiiIpSec) GetDpdTimeoutAction

func (o *KawaiiIpSec) GetDpdTimeoutAction() string

GetDpdTimeoutAction returns the DpdTimeoutAction field value if set, zero value otherwise.

func (*KawaiiIpSec) GetDpdTimeoutActionOk

func (o *KawaiiIpSec) GetDpdTimeoutActionOk() (*string, bool)

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

func (*KawaiiIpSec) GetDpdTimeoutOk

func (o *KawaiiIpSec) GetDpdTimeoutOk() (*string, bool)

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

func (*KawaiiIpSec) GetFirewall

func (o *KawaiiIpSec) GetFirewall() KawaiiFirewall

GetFirewall returns the Firewall field value if set, zero value otherwise.

func (*KawaiiIpSec) GetFirewallOk

func (o *KawaiiIpSec) GetFirewallOk() (KawaiiFirewall, bool)

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

func (*KawaiiIpSec) GetId

func (o *KawaiiIpSec) GetId() string

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

func (*KawaiiIpSec) GetIdOk

func (o *KawaiiIpSec) 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 (*KawaiiIpSec) GetIp

func (o *KawaiiIpSec) GetIp() string

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

func (*KawaiiIpSec) GetIpOk

func (o *KawaiiIpSec) 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 (*KawaiiIpSec) GetName

func (o *KawaiiIpSec) GetName() string

GetName returns the Name field value

func (*KawaiiIpSec) GetNameOk

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

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

func (*KawaiiIpSec) GetPhase1DhGroupNumber

func (o *KawaiiIpSec) GetPhase1DhGroupNumber() int64

GetPhase1DhGroupNumber returns the Phase1DhGroupNumber field value

func (*KawaiiIpSec) GetPhase1DhGroupNumberOk

func (o *KawaiiIpSec) GetPhase1DhGroupNumberOk() (*int64, bool)

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

func (*KawaiiIpSec) GetPhase1EncryptionAlgorithm

func (o *KawaiiIpSec) GetPhase1EncryptionAlgorithm() string

GetPhase1EncryptionAlgorithm returns the Phase1EncryptionAlgorithm field value

func (*KawaiiIpSec) GetPhase1EncryptionAlgorithmOk

func (o *KawaiiIpSec) GetPhase1EncryptionAlgorithmOk() (*string, bool)

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

func (*KawaiiIpSec) GetPhase1IntegrityAlgorithm

func (o *KawaiiIpSec) GetPhase1IntegrityAlgorithm() string

GetPhase1IntegrityAlgorithm returns the Phase1IntegrityAlgorithm field value

func (*KawaiiIpSec) GetPhase1IntegrityAlgorithmOk

func (o *KawaiiIpSec) GetPhase1IntegrityAlgorithmOk() (*string, bool)

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

func (*KawaiiIpSec) GetPhase1Lifetime

func (o *KawaiiIpSec) GetPhase1Lifetime() string

GetPhase1Lifetime returns the Phase1Lifetime field value if set, zero value otherwise.

func (*KawaiiIpSec) GetPhase1LifetimeOk

func (o *KawaiiIpSec) GetPhase1LifetimeOk() (*string, bool)

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

func (*KawaiiIpSec) GetPhase2DhGroupNumber

func (o *KawaiiIpSec) GetPhase2DhGroupNumber() int64

GetPhase2DhGroupNumber returns the Phase2DhGroupNumber field value

func (*KawaiiIpSec) GetPhase2DhGroupNumberOk

func (o *KawaiiIpSec) GetPhase2DhGroupNumberOk() (*int64, bool)

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

func (*KawaiiIpSec) GetPhase2EncryptionAlgorithm

func (o *KawaiiIpSec) GetPhase2EncryptionAlgorithm() string

GetPhase2EncryptionAlgorithm returns the Phase2EncryptionAlgorithm field value

func (*KawaiiIpSec) GetPhase2EncryptionAlgorithmOk

func (o *KawaiiIpSec) GetPhase2EncryptionAlgorithmOk() (*string, bool)

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

func (*KawaiiIpSec) GetPhase2IntegrityAlgorithm

func (o *KawaiiIpSec) GetPhase2IntegrityAlgorithm() string

GetPhase2IntegrityAlgorithm returns the Phase2IntegrityAlgorithm field value

func (*KawaiiIpSec) GetPhase2IntegrityAlgorithmOk

func (o *KawaiiIpSec) GetPhase2IntegrityAlgorithmOk() (*string, bool)

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

func (*KawaiiIpSec) GetPhase2Lifetime

func (o *KawaiiIpSec) GetPhase2Lifetime() string

GetPhase2Lifetime returns the Phase2Lifetime field value if set, zero value otherwise.

func (*KawaiiIpSec) GetPhase2LifetimeOk

func (o *KawaiiIpSec) GetPhase2LifetimeOk() (*string, bool)

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

func (*KawaiiIpSec) GetPreSharedKey

func (o *KawaiiIpSec) GetPreSharedKey() string

GetPreSharedKey returns the PreSharedKey field value

func (*KawaiiIpSec) GetPreSharedKeyOk

func (o *KawaiiIpSec) GetPreSharedKeyOk() (*string, bool)

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

func (*KawaiiIpSec) GetRekeyTime

func (o *KawaiiIpSec) GetRekeyTime() string

GetRekeyTime returns the RekeyTime field value if set, zero value otherwise.

func (*KawaiiIpSec) GetRekeyTimeOk

func (o *KawaiiIpSec) GetRekeyTimeOk() (*string, bool)

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

func (*KawaiiIpSec) GetRemoteIp

func (o *KawaiiIpSec) GetRemoteIp() string

GetRemoteIp returns the RemoteIp field value

func (*KawaiiIpSec) GetRemoteIpOk

func (o *KawaiiIpSec) GetRemoteIpOk() (*string, bool)

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

func (*KawaiiIpSec) GetRemoteSubnet

func (o *KawaiiIpSec) GetRemoteSubnet() string

GetRemoteSubnet returns the RemoteSubnet field value

func (*KawaiiIpSec) GetRemoteSubnetOk

func (o *KawaiiIpSec) GetRemoteSubnetOk() (*string, bool)

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

func (*KawaiiIpSec) GetStartAction

func (o *KawaiiIpSec) GetStartAction() string

GetStartAction returns the StartAction field value if set, zero value otherwise.

func (*KawaiiIpSec) GetStartActionOk

func (o *KawaiiIpSec) GetStartActionOk() (*string, bool)

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

func (*KawaiiIpSec) HasDescription

func (o *KawaiiIpSec) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*KawaiiIpSec) HasDpdTimeout

func (o *KawaiiIpSec) HasDpdTimeout() bool

HasDpdTimeout returns a boolean if a field has been set.

func (*KawaiiIpSec) HasDpdTimeoutAction

func (o *KawaiiIpSec) HasDpdTimeoutAction() bool

HasDpdTimeoutAction returns a boolean if a field has been set.

func (*KawaiiIpSec) HasFirewall

func (o *KawaiiIpSec) HasFirewall() bool

HasFirewall returns a boolean if a field has been set.

func (*KawaiiIpSec) HasId

func (o *KawaiiIpSec) HasId() bool

HasId returns a boolean if a field has been set.

func (*KawaiiIpSec) HasIp

func (o *KawaiiIpSec) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*KawaiiIpSec) HasPhase1Lifetime

func (o *KawaiiIpSec) HasPhase1Lifetime() bool

HasPhase1Lifetime returns a boolean if a field has been set.

func (*KawaiiIpSec) HasPhase2Lifetime

func (o *KawaiiIpSec) HasPhase2Lifetime() bool

HasPhase2Lifetime returns a boolean if a field has been set.

func (*KawaiiIpSec) HasRekeyTime

func (o *KawaiiIpSec) HasRekeyTime() bool

HasRekeyTime returns a boolean if a field has been set.

func (*KawaiiIpSec) HasStartAction

func (o *KawaiiIpSec) HasStartAction() bool

HasStartAction returns a boolean if a field has been set.

func (KawaiiIpSec) MarshalJSON

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

func (*KawaiiIpSec) SetDescription

func (o *KawaiiIpSec) SetDescription(v string)

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

func (*KawaiiIpSec) SetDpdTimeout

func (o *KawaiiIpSec) SetDpdTimeout(v string)

SetDpdTimeout gets a reference to the given string and assigns it to the DpdTimeout field.

func (*KawaiiIpSec) SetDpdTimeoutAction

func (o *KawaiiIpSec) SetDpdTimeoutAction(v string)

SetDpdTimeoutAction gets a reference to the given string and assigns it to the DpdTimeoutAction field.

func (*KawaiiIpSec) SetFirewall

func (o *KawaiiIpSec) SetFirewall(v KawaiiFirewall)

SetFirewall gets a reference to the given KawaiiFirewall and assigns it to the Firewall field.

func (*KawaiiIpSec) SetId

func (o *KawaiiIpSec) SetId(v string)

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

func (*KawaiiIpSec) SetIp

func (o *KawaiiIpSec) SetIp(v string)

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

func (*KawaiiIpSec) SetName

func (o *KawaiiIpSec) SetName(v string)

SetName sets field value

func (*KawaiiIpSec) SetPhase1DhGroupNumber

func (o *KawaiiIpSec) SetPhase1DhGroupNumber(v int64)

SetPhase1DhGroupNumber sets field value

func (*KawaiiIpSec) SetPhase1EncryptionAlgorithm

func (o *KawaiiIpSec) SetPhase1EncryptionAlgorithm(v string)

SetPhase1EncryptionAlgorithm sets field value

func (*KawaiiIpSec) SetPhase1IntegrityAlgorithm

func (o *KawaiiIpSec) SetPhase1IntegrityAlgorithm(v string)

SetPhase1IntegrityAlgorithm sets field value

func (*KawaiiIpSec) SetPhase1Lifetime

func (o *KawaiiIpSec) SetPhase1Lifetime(v string)

SetPhase1Lifetime gets a reference to the given string and assigns it to the Phase1Lifetime field.

func (*KawaiiIpSec) SetPhase2DhGroupNumber

func (o *KawaiiIpSec) SetPhase2DhGroupNumber(v int64)

SetPhase2DhGroupNumber sets field value

func (*KawaiiIpSec) SetPhase2EncryptionAlgorithm

func (o *KawaiiIpSec) SetPhase2EncryptionAlgorithm(v string)

SetPhase2EncryptionAlgorithm sets field value

func (*KawaiiIpSec) SetPhase2IntegrityAlgorithm

func (o *KawaiiIpSec) SetPhase2IntegrityAlgorithm(v string)

SetPhase2IntegrityAlgorithm sets field value

func (*KawaiiIpSec) SetPhase2Lifetime

func (o *KawaiiIpSec) SetPhase2Lifetime(v string)

SetPhase2Lifetime gets a reference to the given string and assigns it to the Phase2Lifetime field.

func (*KawaiiIpSec) SetPreSharedKey

func (o *KawaiiIpSec) SetPreSharedKey(v string)

SetPreSharedKey sets field value

func (*KawaiiIpSec) SetRekeyTime

func (o *KawaiiIpSec) SetRekeyTime(v string)

SetRekeyTime gets a reference to the given string and assigns it to the RekeyTime field.

func (*KawaiiIpSec) SetRemoteIp

func (o *KawaiiIpSec) SetRemoteIp(v string)

SetRemoteIp sets field value

func (*KawaiiIpSec) SetRemoteSubnet

func (o *KawaiiIpSec) SetRemoteSubnet(v string)

SetRemoteSubnet sets field value

func (*KawaiiIpSec) SetStartAction

func (o *KawaiiIpSec) SetStartAction(v string)

SetStartAction gets a reference to the given string and assigns it to the StartAction field.

func (KawaiiIpSec) ToMap

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

func (*KawaiiIpSec) UnmarshalJSON

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

type KawaiiNetIp

type KawaiiNetIp struct {
	// The Kawaii global public gateways virtual IP addresses (read-only).
	Public []string `json:"public"`
	// The Kawaii global private gateways virtual IP addresses (read-only).
	Private []string `json:"private"`
	// The Kawaii per-zone list of Kowabunga virtual IP addresses.
	Zones []KawaiiNetIpZone `json:"zones"`
}

KawaiiNetIp A Kawaii Network IP settings.

func NewKawaiiNetIp

func NewKawaiiNetIp(public []string, private []string, zones []KawaiiNetIpZone) *KawaiiNetIp

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

func NewKawaiiNetIpWithDefaults

func NewKawaiiNetIpWithDefaults() *KawaiiNetIp

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

func (*KawaiiNetIp) GetPrivate

func (o *KawaiiNetIp) GetPrivate() []string

GetPrivate returns the Private field value

func (*KawaiiNetIp) GetPrivateOk

func (o *KawaiiNetIp) GetPrivateOk() ([]string, bool)

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

func (*KawaiiNetIp) GetPublic

func (o *KawaiiNetIp) GetPublic() []string

GetPublic returns the Public field value

func (*KawaiiNetIp) GetPublicOk

func (o *KawaiiNetIp) GetPublicOk() ([]string, bool)

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

func (*KawaiiNetIp) GetZones

func (o *KawaiiNetIp) GetZones() []KawaiiNetIpZone

GetZones returns the Zones field value

func (*KawaiiNetIp) GetZonesOk

func (o *KawaiiNetIp) GetZonesOk() ([]KawaiiNetIpZone, bool)

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

func (KawaiiNetIp) MarshalJSON

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

func (*KawaiiNetIp) SetPrivate

func (o *KawaiiNetIp) SetPrivate(v []string)

SetPrivate sets field value

func (*KawaiiNetIp) SetPublic

func (o *KawaiiNetIp) SetPublic(v []string)

SetPublic sets field value

func (*KawaiiNetIp) SetZones

func (o *KawaiiNetIp) SetZones(v []KawaiiNetIpZone)

SetZones sets field value

func (KawaiiNetIp) ToMap

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

func (*KawaiiNetIp) UnmarshalJSON

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

type KawaiiNetIpZone

type KawaiiNetIpZone struct {
	// The Kawaii zone name (read-only).
	Zone string `json:"zone"`
	// The Kawaii zone gateway public virtual IP (read-only).
	Public string `json:"public"`
	// The Kawaii zone gateway private virtual IP (read-only).
	Private string `json:"private"`
}

KawaiiNetIpZone A Kawaii Network IP zone settings.

func NewKawaiiNetIpZone

func NewKawaiiNetIpZone(zone string, public string, private string) *KawaiiNetIpZone

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

func NewKawaiiNetIpZoneWithDefaults

func NewKawaiiNetIpZoneWithDefaults() *KawaiiNetIpZone

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

func (*KawaiiNetIpZone) GetPrivate

func (o *KawaiiNetIpZone) GetPrivate() string

GetPrivate returns the Private field value

func (*KawaiiNetIpZone) GetPrivateOk

func (o *KawaiiNetIpZone) GetPrivateOk() (*string, bool)

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

func (*KawaiiNetIpZone) GetPublic

func (o *KawaiiNetIpZone) GetPublic() string

GetPublic returns the Public field value

func (*KawaiiNetIpZone) GetPublicOk

func (o *KawaiiNetIpZone) GetPublicOk() (*string, bool)

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

func (*KawaiiNetIpZone) GetZone

func (o *KawaiiNetIpZone) GetZone() string

GetZone returns the Zone field value

func (*KawaiiNetIpZone) GetZoneOk

func (o *KawaiiNetIpZone) GetZoneOk() (*string, bool)

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

func (KawaiiNetIpZone) MarshalJSON

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

func (*KawaiiNetIpZone) SetPrivate

func (o *KawaiiNetIpZone) SetPrivate(v string)

SetPrivate sets field value

func (*KawaiiNetIpZone) SetPublic

func (o *KawaiiNetIpZone) SetPublic(v string)

SetPublic sets field value

func (*KawaiiNetIpZone) SetZone

func (o *KawaiiNetIpZone) SetZone(v string)

SetZone sets field value

func (KawaiiNetIpZone) ToMap

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

func (*KawaiiNetIpZone) UnmarshalJSON

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

type KawaiiVpcForwardRule

type KawaiiVpcForwardRule struct {
	// The transport layer protocol to forward public traffic to.
	Protocol *string `json:"protocol,omitempty"`
	// The port (or list of ports) to forward public traffic from. Ranges are accepted. Format is a-b,c-d (e.g. 443; 22,80,443; 80,443,3000-3005).
	Ports string `json:"ports"`
}

KawaiiVpcForwardRule A Kawaii VPC firewall forwarding rule.

func NewKawaiiVpcForwardRule

func NewKawaiiVpcForwardRule(ports string) *KawaiiVpcForwardRule

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

func NewKawaiiVpcForwardRuleWithDefaults

func NewKawaiiVpcForwardRuleWithDefaults() *KawaiiVpcForwardRule

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

func (*KawaiiVpcForwardRule) GetPorts

func (o *KawaiiVpcForwardRule) GetPorts() string

GetPorts returns the Ports field value

func (*KawaiiVpcForwardRule) GetPortsOk

func (o *KawaiiVpcForwardRule) GetPortsOk() (*string, bool)

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

func (*KawaiiVpcForwardRule) GetProtocol

func (o *KawaiiVpcForwardRule) GetProtocol() string

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

func (*KawaiiVpcForwardRule) GetProtocolOk

func (o *KawaiiVpcForwardRule) 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 (*KawaiiVpcForwardRule) HasProtocol

func (o *KawaiiVpcForwardRule) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (KawaiiVpcForwardRule) MarshalJSON

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

func (*KawaiiVpcForwardRule) SetPorts

func (o *KawaiiVpcForwardRule) SetPorts(v string)

SetPorts sets field value

func (*KawaiiVpcForwardRule) SetProtocol

func (o *KawaiiVpcForwardRule) SetProtocol(v string)

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

func (KawaiiVpcForwardRule) ToMap

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

func (*KawaiiVpcForwardRule) UnmarshalJSON

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

type KawaiiVpcNetIpZone

type KawaiiVpcNetIpZone struct {
	// The Kawaii zone name (read-only).
	Zone string `json:"zone"`
	// The Kawaii zone gateway private IP address in VPC peered subnet  (read-only).
	Private string `json:"private"`
}

KawaiiVpcNetIpZone A Kawaii VPC Network IP zone settings.

func NewKawaiiVpcNetIpZone

func NewKawaiiVpcNetIpZone(zone string, private string) *KawaiiVpcNetIpZone

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

func NewKawaiiVpcNetIpZoneWithDefaults

func NewKawaiiVpcNetIpZoneWithDefaults() *KawaiiVpcNetIpZone

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

func (*KawaiiVpcNetIpZone) GetPrivate

func (o *KawaiiVpcNetIpZone) GetPrivate() string

GetPrivate returns the Private field value

func (*KawaiiVpcNetIpZone) GetPrivateOk

func (o *KawaiiVpcNetIpZone) GetPrivateOk() (*string, bool)

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

func (*KawaiiVpcNetIpZone) GetZone

func (o *KawaiiVpcNetIpZone) GetZone() string

GetZone returns the Zone field value

func (*KawaiiVpcNetIpZone) GetZoneOk

func (o *KawaiiVpcNetIpZone) GetZoneOk() (*string, bool)

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

func (KawaiiVpcNetIpZone) MarshalJSON

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

func (*KawaiiVpcNetIpZone) SetPrivate

func (o *KawaiiVpcNetIpZone) SetPrivate(v string)

SetPrivate sets field value

func (*KawaiiVpcNetIpZone) SetZone

func (o *KawaiiVpcNetIpZone) SetZone(v string)

SetZone sets field value

func (KawaiiVpcNetIpZone) ToMap

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

func (*KawaiiVpcNetIpZone) UnmarshalJSON

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

type KawaiiVpcPeering

type KawaiiVpcPeering struct {
	// Kowabunga Subnet ID to be peered with (subnet local IP addresses will be automatically assigned to Kawaii instances)..
	Subnet string `json:"subnet"`
	// The default VPC traffic forwarding policy.
	Policy *string `json:"policy,omitempty"`
	// The firewall list of forwarding ingress rules from VPC peered subnet. ICMP traffic is always accepted. The specified ruleset will be explicitly accepted if drop is the default policy (useless otherwise).
	Ingress []KawaiiVpcForwardRule `json:"ingress,omitempty"`
	// The firewall list of forwarding egress rules to VPC peered subnet. ICMP traffic is always accepted. The specified ruleset will be explicitly accepted if drop is the default policy (useless otherwise).
	Egress []KawaiiVpcForwardRule `json:"egress,omitempty"`
	// The per-zone auto-assigned private IPs in peered subnet (read-only).
	Netip []KawaiiVpcNetIpZone `json:"netip,omitempty"`
}

KawaiiVpcPeering A Kawaii internal VPC subnet peering.

func NewKawaiiVpcPeering

func NewKawaiiVpcPeering(subnet string) *KawaiiVpcPeering

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

func NewKawaiiVpcPeeringWithDefaults

func NewKawaiiVpcPeeringWithDefaults() *KawaiiVpcPeering

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

func (*KawaiiVpcPeering) GetEgress

func (o *KawaiiVpcPeering) GetEgress() []KawaiiVpcForwardRule

GetEgress returns the Egress field value if set, zero value otherwise.

func (*KawaiiVpcPeering) GetEgressOk

func (o *KawaiiVpcPeering) GetEgressOk() ([]KawaiiVpcForwardRule, bool)

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

func (*KawaiiVpcPeering) GetIngress

func (o *KawaiiVpcPeering) GetIngress() []KawaiiVpcForwardRule

GetIngress returns the Ingress field value if set, zero value otherwise.

func (*KawaiiVpcPeering) GetIngressOk

func (o *KawaiiVpcPeering) GetIngressOk() ([]KawaiiVpcForwardRule, bool)

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

func (*KawaiiVpcPeering) GetNetip

func (o *KawaiiVpcPeering) GetNetip() []KawaiiVpcNetIpZone

GetNetip returns the Netip field value if set, zero value otherwise.

func (*KawaiiVpcPeering) GetNetipOk

func (o *KawaiiVpcPeering) GetNetipOk() ([]KawaiiVpcNetIpZone, bool)

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

func (*KawaiiVpcPeering) GetPolicy

func (o *KawaiiVpcPeering) GetPolicy() string

GetPolicy returns the Policy field value if set, zero value otherwise.

func (*KawaiiVpcPeering) GetPolicyOk

func (o *KawaiiVpcPeering) GetPolicyOk() (*string, bool)

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

func (*KawaiiVpcPeering) GetSubnet

func (o *KawaiiVpcPeering) GetSubnet() string

GetSubnet returns the Subnet field value

func (*KawaiiVpcPeering) GetSubnetOk

func (o *KawaiiVpcPeering) GetSubnetOk() (*string, bool)

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

func (*KawaiiVpcPeering) HasEgress

func (o *KawaiiVpcPeering) HasEgress() bool

HasEgress returns a boolean if a field has been set.

func (*KawaiiVpcPeering) HasIngress

func (o *KawaiiVpcPeering) HasIngress() bool

HasIngress returns a boolean if a field has been set.

func (*KawaiiVpcPeering) HasNetip

func (o *KawaiiVpcPeering) HasNetip() bool

HasNetip returns a boolean if a field has been set.

func (*KawaiiVpcPeering) HasPolicy

func (o *KawaiiVpcPeering) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (KawaiiVpcPeering) MarshalJSON

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

func (*KawaiiVpcPeering) SetEgress

func (o *KawaiiVpcPeering) SetEgress(v []KawaiiVpcForwardRule)

SetEgress gets a reference to the given []KawaiiVpcForwardRule and assigns it to the Egress field.

func (*KawaiiVpcPeering) SetIngress

func (o *KawaiiVpcPeering) SetIngress(v []KawaiiVpcForwardRule)

SetIngress gets a reference to the given []KawaiiVpcForwardRule and assigns it to the Ingress field.

func (*KawaiiVpcPeering) SetNetip

func (o *KawaiiVpcPeering) SetNetip(v []KawaiiVpcNetIpZone)

SetNetip gets a reference to the given []KawaiiVpcNetIpZone and assigns it to the Netip field.

func (*KawaiiVpcPeering) SetPolicy

func (o *KawaiiVpcPeering) SetPolicy(v string)

SetPolicy gets a reference to the given string and assigns it to the Policy field.

func (*KawaiiVpcPeering) SetSubnet

func (o *KawaiiVpcPeering) SetSubnet(v string)

SetSubnet sets field value

func (KawaiiVpcPeering) ToMap

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

func (*KawaiiVpcPeering) UnmarshalJSON

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

type Kiwi

type Kiwi struct {
	// The Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. name.
	Name string `json:"name"`
	// The Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. description.
	Description *string `json:"description,omitempty"`
	// a list of existing remote agents managing the network gateway.
	Agents []string `json:"agents,omitempty"`
}

Kiwi A Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..

func NewKiwi

func NewKiwi(name string) *Kiwi

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

func NewKiwiWithDefaults

func NewKiwiWithDefaults() *Kiwi

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

func (*Kiwi) GetAgents

func (o *Kiwi) GetAgents() []string

GetAgents returns the Agents field value if set, zero value otherwise.

func (*Kiwi) GetAgentsOk

func (o *Kiwi) GetAgentsOk() ([]string, bool)

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

func (*Kiwi) GetDescription

func (o *Kiwi) GetDescription() string

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

func (*Kiwi) GetDescriptionOk

func (o *Kiwi) 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 (*Kiwi) GetId

func (o *Kiwi) GetId() string

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

func (*Kiwi) GetIdOk

func (o *Kiwi) 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 (*Kiwi) GetName

func (o *Kiwi) GetName() string

GetName returns the Name field value

func (*Kiwi) GetNameOk

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

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

func (*Kiwi) HasAgents

func (o *Kiwi) HasAgents() bool

HasAgents returns a boolean if a field has been set.

func (*Kiwi) HasDescription

func (o *Kiwi) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Kiwi) HasId

func (o *Kiwi) HasId() bool

HasId returns a boolean if a field has been set.

func (Kiwi) MarshalJSON

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

func (*Kiwi) SetAgents

func (o *Kiwi) SetAgents(v []string)

SetAgents gets a reference to the given []string and assigns it to the Agents field.

func (*Kiwi) SetDescription

func (o *Kiwi) SetDescription(v string)

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

func (*Kiwi) SetId

func (o *Kiwi) SetId(v string)

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

func (*Kiwi) SetName

func (o *Kiwi) SetName(v string)

SetName sets field value

func (Kiwi) ToMap

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

func (*Kiwi) UnmarshalJSON

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

type KiwiAPIService

type KiwiAPIService service

KiwiAPIService KiwiAPI service

func (*KiwiAPIService) DeleteKiwi

func (a *KiwiAPIService) DeleteKiwi(ctx context.Context, kiwiId string) ApiDeleteKiwiRequest

DeleteKiwi Method for DeleteKiwi

Deletes an existing Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kiwiId The ID of the Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
@return ApiDeleteKiwiRequest

func (*KiwiAPIService) DeleteKiwiExecute

func (a *KiwiAPIService) DeleteKiwiExecute(r ApiDeleteKiwiRequest) (*http.Response, error)

Execute executes the request

func (*KiwiAPIService) ListKiwis

ListKiwis Method for ListKiwis

Returns the IDs of Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. objects.

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

func (*KiwiAPIService) ListKiwisExecute

func (a *KiwiAPIService) ListKiwisExecute(r ApiListKiwisRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KiwiAPIService) ReadKiwi

func (a *KiwiAPIService) ReadKiwi(ctx context.Context, kiwiId string) ApiReadKiwiRequest

ReadKiwi Method for ReadKiwi

Returns a Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kiwiId The ID of the Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
@return ApiReadKiwiRequest

func (*KiwiAPIService) ReadKiwiExecute

func (a *KiwiAPIService) ReadKiwiExecute(r ApiReadKiwiRequest) (*Kiwi, *http.Response, error)

Execute executes the request

@return Kiwi

func (*KiwiAPIService) UpdateKiwi

func (a *KiwiAPIService) UpdateKiwi(ctx context.Context, kiwiId string) ApiUpdateKiwiRequest

UpdateKiwi Method for UpdateKiwi

Updates a Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kiwiId The ID of the Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..
@return ApiUpdateKiwiRequest

func (*KiwiAPIService) UpdateKiwiExecute

func (a *KiwiAPIService) UpdateKiwiExecute(r ApiUpdateKiwiRequest) (*Kiwi, *http.Response, error)

Execute executes the request

@return Kiwi

type Kompute

type Kompute struct {
	// The Kompute ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kompute name.
	Name string `json:"name"`
	// The Kompute description.
	Description *string `json:"description,omitempty"`
	// The Kompute memory size (in bytes).
	Memory int64 `json:"memory"`
	// The Kompute number of vCPUs.
	Vcpus int64 `json:"vcpus"`
	// The Kompute OS disk size (in bytes).
	Disk int64 `json:"disk"`
	// The Kompute extra data disk size (in bytes). If unspecified, no extra data disk will be assigned.
	DataDisk *int64 `json:"data_disk,omitempty"`
	// The Kompute assigned private IPv4 address (read-only).
	Ip *string `json:"ip,omitempty"`
}

Kompute A Kompute is a wrapper object for bare virtual machines. It consists of an instance, one to several attached volumes and 2 network adapters (a private one, a public one). This is the prefered way for creating virtual machines. IP addresses will be automatically assigned.

func NewKompute

func NewKompute(name string, memory int64, vcpus int64, disk int64) *Kompute

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

func NewKomputeWithDefaults

func NewKomputeWithDefaults() *Kompute

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

func (*Kompute) GetDataDisk

func (o *Kompute) GetDataDisk() int64

GetDataDisk returns the DataDisk field value if set, zero value otherwise.

func (*Kompute) GetDataDiskOk

func (o *Kompute) GetDataDiskOk() (*int64, bool)

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

func (*Kompute) GetDescription

func (o *Kompute) GetDescription() string

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

func (*Kompute) GetDescriptionOk

func (o *Kompute) 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 (*Kompute) GetDisk

func (o *Kompute) GetDisk() int64

GetDisk returns the Disk field value

func (*Kompute) GetDiskOk

func (o *Kompute) GetDiskOk() (*int64, bool)

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

func (*Kompute) GetId

func (o *Kompute) GetId() string

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

func (*Kompute) GetIdOk

func (o *Kompute) 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 (*Kompute) GetIp

func (o *Kompute) GetIp() string

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

func (*Kompute) GetIpOk

func (o *Kompute) 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 (*Kompute) GetMemory

func (o *Kompute) GetMemory() int64

GetMemory returns the Memory field value

func (*Kompute) GetMemoryOk

func (o *Kompute) GetMemoryOk() (*int64, bool)

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

func (*Kompute) GetName

func (o *Kompute) GetName() string

GetName returns the Name field value

func (*Kompute) GetNameOk

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

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

func (*Kompute) GetVcpus

func (o *Kompute) GetVcpus() int64

GetVcpus returns the Vcpus field value

func (*Kompute) GetVcpusOk

func (o *Kompute) GetVcpusOk() (*int64, bool)

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

func (*Kompute) HasDataDisk

func (o *Kompute) HasDataDisk() bool

HasDataDisk returns a boolean if a field has been set.

func (*Kompute) HasDescription

func (o *Kompute) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Kompute) HasId

func (o *Kompute) HasId() bool

HasId returns a boolean if a field has been set.

func (*Kompute) HasIp

func (o *Kompute) HasIp() bool

HasIp returns a boolean if a field has been set.

func (Kompute) MarshalJSON

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

func (*Kompute) SetDataDisk

func (o *Kompute) SetDataDisk(v int64)

SetDataDisk gets a reference to the given int64 and assigns it to the DataDisk field.

func (*Kompute) SetDescription

func (o *Kompute) SetDescription(v string)

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

func (*Kompute) SetDisk

func (o *Kompute) SetDisk(v int64)

SetDisk sets field value

func (*Kompute) SetId

func (o *Kompute) SetId(v string)

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

func (*Kompute) SetIp

func (o *Kompute) SetIp(v string)

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

func (*Kompute) SetMemory

func (o *Kompute) SetMemory(v int64)

SetMemory sets field value

func (*Kompute) SetName

func (o *Kompute) SetName(v string)

SetName sets field value

func (*Kompute) SetVcpus

func (o *Kompute) SetVcpus(v int64)

SetVcpus sets field value

func (Kompute) ToMap

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

func (*Kompute) UnmarshalJSON

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

type KomputeAPIService

type KomputeAPIService service

KomputeAPIService KomputeAPI service

func (*KomputeAPIService) DeleteKompute

func (a *KomputeAPIService) DeleteKompute(ctx context.Context, komputeId string) ApiDeleteKomputeRequest

DeleteKompute Method for DeleteKompute

Deletes an existing Kompute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiDeleteKomputeRequest

func (*KomputeAPIService) DeleteKomputeExecute

func (a *KomputeAPIService) DeleteKomputeExecute(r ApiDeleteKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) ListKomputes

ListKomputes Method for ListKomputes

Returns the IDs of Kompute objects.

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

func (*KomputeAPIService) ListKomputesExecute

func (a *KomputeAPIService) ListKomputesExecute(r ApiListKomputesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KomputeAPIService) ReadKompute

func (a *KomputeAPIService) ReadKompute(ctx context.Context, komputeId string) ApiReadKomputeRequest

ReadKompute Method for ReadKompute

Returns a Kompute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiReadKomputeRequest

func (*KomputeAPIService) ReadKomputeExecute

func (a *KomputeAPIService) ReadKomputeExecute(r ApiReadKomputeRequest) (*Kompute, *http.Response, error)

Execute executes the request

@return Kompute

func (*KomputeAPIService) ReadKomputeState

func (a *KomputeAPIService) ReadKomputeState(ctx context.Context, komputeId string) ApiReadKomputeStateRequest

ReadKomputeState Method for ReadKomputeState

Returns a virtual machine instance state.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiReadKomputeStateRequest

func (*KomputeAPIService) ReadKomputeStateExecute

func (a *KomputeAPIService) ReadKomputeStateExecute(r ApiReadKomputeStateRequest) (*InstanceState, *http.Response, error)

Execute executes the request

@return InstanceState

func (*KomputeAPIService) RebootKompute

func (a *KomputeAPIService) RebootKompute(ctx context.Context, komputeId string) ApiRebootKomputeRequest

RebootKompute Method for RebootKompute

Performs a Kompute software reboot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiRebootKomputeRequest

func (*KomputeAPIService) RebootKomputeExecute

func (a *KomputeAPIService) RebootKomputeExecute(r ApiRebootKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) ResetKompute

func (a *KomputeAPIService) ResetKompute(ctx context.Context, komputeId string) ApiResetKomputeRequest

ResetKompute Method for ResetKompute

Performs a Kompute hardware reset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiResetKomputeRequest

func (*KomputeAPIService) ResetKomputeExecute

func (a *KomputeAPIService) ResetKomputeExecute(r ApiResetKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) ResumeKompute

func (a *KomputeAPIService) ResumeKompute(ctx context.Context, komputeId string) ApiResumeKomputeRequest

ResumeKompute Method for ResumeKompute

Performs a Kompute software PM resume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiResumeKomputeRequest

func (*KomputeAPIService) ResumeKomputeExecute

func (a *KomputeAPIService) ResumeKomputeExecute(r ApiResumeKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) ShutdownKompute

func (a *KomputeAPIService) ShutdownKompute(ctx context.Context, komputeId string) ApiShutdownKomputeRequest

ShutdownKompute Method for ShutdownKompute

Performs a Kompute software shutdown.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiShutdownKomputeRequest

func (*KomputeAPIService) ShutdownKomputeExecute

func (a *KomputeAPIService) ShutdownKomputeExecute(r ApiShutdownKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) StartKompute

func (a *KomputeAPIService) StartKompute(ctx context.Context, komputeId string) ApiStartKomputeRequest

StartKompute Method for StartKompute

Performs a Kompute hardware boot-up.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiStartKomputeRequest

func (*KomputeAPIService) StartKomputeExecute

func (a *KomputeAPIService) StartKomputeExecute(r ApiStartKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) StopKompute

func (a *KomputeAPIService) StopKompute(ctx context.Context, komputeId string) ApiStopKomputeRequest

StopKompute Method for StopKompute

Performs a Kompute hardware stop.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiStopKomputeRequest

func (*KomputeAPIService) StopKomputeExecute

func (a *KomputeAPIService) StopKomputeExecute(r ApiStopKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) SuspendKompute

func (a *KomputeAPIService) SuspendKompute(ctx context.Context, komputeId string) ApiSuspendKomputeRequest

SuspendKompute Method for SuspendKompute

Performs a Kompute software PM suspend.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiSuspendKomputeRequest

func (*KomputeAPIService) SuspendKomputeExecute

func (a *KomputeAPIService) SuspendKomputeExecute(r ApiSuspendKomputeRequest) (*http.Response, error)

Execute executes the request

func (*KomputeAPIService) UpdateKompute

func (a *KomputeAPIService) UpdateKompute(ctx context.Context, komputeId string) ApiUpdateKomputeRequest

UpdateKompute Method for UpdateKompute

Updates a Kompute configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param komputeId The ID of the Kompute.
@return ApiUpdateKomputeRequest

func (*KomputeAPIService) UpdateKomputeExecute

func (a *KomputeAPIService) UpdateKomputeExecute(r ApiUpdateKomputeRequest) (*Kompute, *http.Response, error)

Execute executes the request

@return Kompute

type Konvey

type Konvey struct {
	// The Konvey (Kowabunga Network Load-Balancer) ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Konvey (Kowabunga Network Load-Balancer) name.
	Name *string `json:"name,omitempty"`
	// The Konvey (Kowabunga Network Load-Balancer) description.
	Description *string `json:"description,omitempty"`
	// The Konvey (Kowabunga Network Load-Balancer) assigned private virtual IP address (read-only).
	Vip *string `json:"vip,omitempty"`
	// Whether Konvey (Kowabunga Network Load-Balancer) must be deployed in a highly-available replicated state to support service failover.
	Failover *bool `json:"failover,omitempty"`
	// The Konvey (Kowabunga Network Load-Balancer) list of load-balanced endpoints.
	Endpoints []KonveyEndpoint `json:"endpoints"`
}

Konvey A Kowabunga Konvey is a layer-4 network load-balancer used to distribute service requests to associated backend instances.

func NewKonvey

func NewKonvey(endpoints []KonveyEndpoint) *Konvey

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

func NewKonveyWithDefaults

func NewKonveyWithDefaults() *Konvey

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

func (*Konvey) GetDescription

func (o *Konvey) GetDescription() string

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

func (*Konvey) GetDescriptionOk

func (o *Konvey) 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 (*Konvey) GetEndpoints

func (o *Konvey) GetEndpoints() []KonveyEndpoint

GetEndpoints returns the Endpoints field value

func (*Konvey) GetEndpointsOk

func (o *Konvey) GetEndpointsOk() ([]KonveyEndpoint, bool)

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

func (*Konvey) GetFailover

func (o *Konvey) GetFailover() bool

GetFailover returns the Failover field value if set, zero value otherwise.

func (*Konvey) GetFailoverOk

func (o *Konvey) GetFailoverOk() (*bool, bool)

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

func (*Konvey) GetId

func (o *Konvey) GetId() string

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

func (*Konvey) GetIdOk

func (o *Konvey) 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 (*Konvey) GetName

func (o *Konvey) GetName() string

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

func (*Konvey) GetNameOk

func (o *Konvey) 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 (*Konvey) GetVip

func (o *Konvey) GetVip() string

GetVip returns the Vip field value if set, zero value otherwise.

func (*Konvey) GetVipOk

func (o *Konvey) GetVipOk() (*string, bool)

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

func (*Konvey) HasDescription

func (o *Konvey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Konvey) HasFailover

func (o *Konvey) HasFailover() bool

HasFailover returns a boolean if a field has been set.

func (*Konvey) HasId

func (o *Konvey) HasId() bool

HasId returns a boolean if a field has been set.

func (*Konvey) HasName

func (o *Konvey) HasName() bool

HasName returns a boolean if a field has been set.

func (*Konvey) HasVip

func (o *Konvey) HasVip() bool

HasVip returns a boolean if a field has been set.

func (Konvey) MarshalJSON

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

func (*Konvey) SetDescription

func (o *Konvey) SetDescription(v string)

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

func (*Konvey) SetEndpoints

func (o *Konvey) SetEndpoints(v []KonveyEndpoint)

SetEndpoints sets field value

func (*Konvey) SetFailover

func (o *Konvey) SetFailover(v bool)

SetFailover gets a reference to the given bool and assigns it to the Failover field.

func (*Konvey) SetId

func (o *Konvey) SetId(v string)

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

func (*Konvey) SetName

func (o *Konvey) SetName(v string)

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

func (*Konvey) SetVip

func (o *Konvey) SetVip(v string)

SetVip gets a reference to the given string and assigns it to the Vip field.

func (Konvey) ToMap

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

func (*Konvey) UnmarshalJSON

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

type KonveyAPIService

type KonveyAPIService service

KonveyAPIService KonveyAPI service

func (*KonveyAPIService) DeleteKonvey

func (a *KonveyAPIService) DeleteKonvey(ctx context.Context, konveyId string) ApiDeleteKonveyRequest

DeleteKonvey Method for DeleteKonvey

Deletes an existing Konvey (Kowabunga Network Load-Balancer).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param konveyId The ID of the Konvey (Kowabunga Network Load-Balancer).
@return ApiDeleteKonveyRequest

func (*KonveyAPIService) DeleteKonveyExecute

func (a *KonveyAPIService) DeleteKonveyExecute(r ApiDeleteKonveyRequest) (*http.Response, error)

Execute executes the request

func (*KonveyAPIService) ListKonveys

ListKonveys Method for ListKonveys

Returns the IDs of Konvey (Kowabunga Network Load-Balancer) objects.

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

func (*KonveyAPIService) ListKonveysExecute

func (a *KonveyAPIService) ListKonveysExecute(r ApiListKonveysRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KonveyAPIService) ReadKonvey

func (a *KonveyAPIService) ReadKonvey(ctx context.Context, konveyId string) ApiReadKonveyRequest

ReadKonvey Method for ReadKonvey

Returns a Konvey (Kowabunga Network Load-Balancer).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param konveyId The ID of the Konvey (Kowabunga Network Load-Balancer).
@return ApiReadKonveyRequest

func (*KonveyAPIService) ReadKonveyExecute

func (a *KonveyAPIService) ReadKonveyExecute(r ApiReadKonveyRequest) (*Konvey, *http.Response, error)

Execute executes the request

@return Konvey

func (*KonveyAPIService) UpdateKonvey

func (a *KonveyAPIService) UpdateKonvey(ctx context.Context, konveyId string) ApiUpdateKonveyRequest

UpdateKonvey Method for UpdateKonvey

Updates a Konvey (Kowabunga Network Load-Balancer) configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param konveyId The ID of the Konvey (Kowabunga Network Load-Balancer).
@return ApiUpdateKonveyRequest

func (*KonveyAPIService) UpdateKonveyExecute

func (a *KonveyAPIService) UpdateKonveyExecute(r ApiUpdateKonveyRequest) (*Konvey, *http.Response, error)

Execute executes the request

@return Konvey

type KonveyBackends

type KonveyBackends struct {
	// The Konvey (Kowabunga Network Load-Balancer) endpoint list of load-balanced backend hosts.
	Hosts []string `json:"hosts"`
	// The Konvey (Kowabunga Network Load-Balancer) endpoint backend service port.
	Port int64 `json:"port"`
}

KonveyBackends A Konvey Backends settings.

func NewKonveyBackends

func NewKonveyBackends(hosts []string, port int64) *KonveyBackends

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

func NewKonveyBackendsWithDefaults

func NewKonveyBackendsWithDefaults() *KonveyBackends

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

func (*KonveyBackends) GetHosts

func (o *KonveyBackends) GetHosts() []string

GetHosts returns the Hosts field value

func (*KonveyBackends) GetHostsOk

func (o *KonveyBackends) GetHostsOk() ([]string, bool)

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

func (*KonveyBackends) GetPort

func (o *KonveyBackends) GetPort() int64

GetPort returns the Port field value

func (*KonveyBackends) GetPortOk

func (o *KonveyBackends) GetPortOk() (*int64, bool)

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

func (KonveyBackends) MarshalJSON

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

func (*KonveyBackends) SetHosts

func (o *KonveyBackends) SetHosts(v []string)

SetHosts sets field value

func (*KonveyBackends) SetPort

func (o *KonveyBackends) SetPort(v int64)

SetPort sets field value

func (KonveyBackends) ToMap

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

func (*KonveyBackends) UnmarshalJSON

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

type KonveyEndpoint

type KonveyEndpoint struct {
	// The Konvey (Kowabunga Network Load-Balancer) endpoint name.
	Name string `json:"name"`
	// The port to be exposed.
	Port int64 `json:"port"`
	// The transport layer protocol to be exposed.
	Protocol string `json:"protocol"`
	// The Konvey (Kowabunga Network Load-Balancer) list of load-balanced backends.
	Backends KonveyBackends `json:"backends"`
}

KonveyEndpoint A Konvey Endpoint Service settings.

func NewKonveyEndpoint

func NewKonveyEndpoint(name string, port int64, protocol string, backends KonveyBackends) *KonveyEndpoint

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

func NewKonveyEndpointWithDefaults

func NewKonveyEndpointWithDefaults() *KonveyEndpoint

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

func (*KonveyEndpoint) GetBackends

func (o *KonveyEndpoint) GetBackends() KonveyBackends

GetBackends returns the Backends field value

func (*KonveyEndpoint) GetBackendsOk

func (o *KonveyEndpoint) GetBackendsOk() (KonveyBackends, bool)

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

func (*KonveyEndpoint) GetName

func (o *KonveyEndpoint) GetName() string

GetName returns the Name field value

func (*KonveyEndpoint) GetNameOk

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

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

func (*KonveyEndpoint) GetPort

func (o *KonveyEndpoint) GetPort() int64

GetPort returns the Port field value

func (*KonveyEndpoint) GetPortOk

func (o *KonveyEndpoint) GetPortOk() (*int64, bool)

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

func (*KonveyEndpoint) GetProtocol

func (o *KonveyEndpoint) GetProtocol() string

GetProtocol returns the Protocol field value

func (*KonveyEndpoint) GetProtocolOk

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

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

func (KonveyEndpoint) MarshalJSON

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

func (*KonveyEndpoint) SetBackends

func (o *KonveyEndpoint) SetBackends(v KonveyBackends)

SetBackends sets field value

func (*KonveyEndpoint) SetName

func (o *KonveyEndpoint) SetName(v string)

SetName sets field value

func (*KonveyEndpoint) SetPort

func (o *KonveyEndpoint) SetPort(v int64)

SetPort sets field value

func (*KonveyEndpoint) SetProtocol

func (o *KonveyEndpoint) SetProtocol(v string)

SetProtocol sets field value

func (KonveyEndpoint) ToMap

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

func (*KonveyEndpoint) UnmarshalJSON

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

type Kylo

type Kylo struct {
	// The Kylo ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kylo name.
	Name string `json:"name"`
	// The Kylo description.
	Description *string `json:"description,omitempty"`
	// The Kylo volume access type.
	Access *string `json:"access,omitempty"`
	// The Kylo NFS protocol versions to be supported.
	Protocols []int32 `json:"protocols,omitempty"`
	// The Kylo endpoint FQDN (read-only).
	Endpoint *string `json:"endpoint,omitempty"`
	// The Kylo volume bytes used (read-only).
	Size *int64 `json:"size,omitempty"`
}

Kylo A Kylo provides an elastic NFS-like remote storage volume.

func NewKylo

func NewKylo(name string) *Kylo

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

func NewKyloWithDefaults

func NewKyloWithDefaults() *Kylo

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

func (*Kylo) GetAccess

func (o *Kylo) GetAccess() string

GetAccess returns the Access field value if set, zero value otherwise.

func (*Kylo) GetAccessOk

func (o *Kylo) GetAccessOk() (*string, bool)

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

func (*Kylo) GetDescription

func (o *Kylo) GetDescription() string

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

func (*Kylo) GetDescriptionOk

func (o *Kylo) 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 (*Kylo) GetEndpoint

func (o *Kylo) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*Kylo) GetEndpointOk

func (o *Kylo) GetEndpointOk() (*string, bool)

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

func (*Kylo) GetId

func (o *Kylo) GetId() string

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

func (*Kylo) GetIdOk

func (o *Kylo) 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 (*Kylo) GetName

func (o *Kylo) GetName() string

GetName returns the Name field value

func (*Kylo) GetNameOk

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

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

func (*Kylo) GetProtocols

func (o *Kylo) GetProtocols() []int32

GetProtocols returns the Protocols field value if set, zero value otherwise.

func (*Kylo) GetProtocolsOk

func (o *Kylo) GetProtocolsOk() ([]int32, bool)

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

func (*Kylo) GetSize

func (o *Kylo) GetSize() int64

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

func (*Kylo) GetSizeOk

func (o *Kylo) 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 (*Kylo) HasAccess

func (o *Kylo) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*Kylo) HasDescription

func (o *Kylo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Kylo) HasEndpoint

func (o *Kylo) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*Kylo) HasId

func (o *Kylo) HasId() bool

HasId returns a boolean if a field has been set.

func (*Kylo) HasProtocols

func (o *Kylo) HasProtocols() bool

HasProtocols returns a boolean if a field has been set.

func (*Kylo) HasSize

func (o *Kylo) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Kylo) MarshalJSON

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

func (*Kylo) SetAccess

func (o *Kylo) SetAccess(v string)

SetAccess gets a reference to the given string and assigns it to the Access field.

func (*Kylo) SetDescription

func (o *Kylo) SetDescription(v string)

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

func (*Kylo) SetEndpoint

func (o *Kylo) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*Kylo) SetId

func (o *Kylo) SetId(v string)

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

func (*Kylo) SetName

func (o *Kylo) SetName(v string)

SetName sets field value

func (*Kylo) SetProtocols

func (o *Kylo) SetProtocols(v []int32)

SetProtocols gets a reference to the given []int32 and assigns it to the Protocols field.

func (*Kylo) SetSize

func (o *Kylo) SetSize(v int64)

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

func (Kylo) ToMap

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

func (*Kylo) UnmarshalJSON

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

type KyloAPIService

type KyloAPIService service

KyloAPIService KyloAPI service

func (*KyloAPIService) DeleteKylo

func (a *KyloAPIService) DeleteKylo(ctx context.Context, kyloId string) ApiDeleteKyloRequest

DeleteKylo Method for DeleteKylo

Deletes an existing Kylo.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kyloId The ID of the Kylo.
@return ApiDeleteKyloRequest

func (*KyloAPIService) DeleteKyloExecute

func (a *KyloAPIService) DeleteKyloExecute(r ApiDeleteKyloRequest) (*http.Response, error)

Execute executes the request

func (*KyloAPIService) ListKylos

ListKylos Method for ListKylos

Returns the IDs of Kylo objects.

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

func (*KyloAPIService) ListKylosExecute

func (a *KyloAPIService) ListKylosExecute(r ApiListKylosRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*KyloAPIService) ReadKylo

func (a *KyloAPIService) ReadKylo(ctx context.Context, kyloId string) ApiReadKyloRequest

ReadKylo Method for ReadKylo

Returns a Kylo.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kyloId The ID of the Kylo.
@return ApiReadKyloRequest

func (*KyloAPIService) ReadKyloExecute

func (a *KyloAPIService) ReadKyloExecute(r ApiReadKyloRequest) (*Kylo, *http.Response, error)

Execute executes the request

@return Kylo

func (*KyloAPIService) UpdateKylo

func (a *KyloAPIService) UpdateKylo(ctx context.Context, kyloId string) ApiUpdateKyloRequest

UpdateKylo Method for UpdateKylo

Updates a Kylo configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param kyloId The ID of the Kylo.
@return ApiUpdateKyloRequest

func (*KyloAPIService) UpdateKyloExecute

func (a *KyloAPIService) UpdateKyloExecute(r ApiUpdateKyloRequest) (*Kylo, *http.Response, error)

Execute executes the request

@return Kylo

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Metadata

type Metadata struct {
	// The metadata key.
	Key string `json:"key"`
	// The metadata value.
	Value string `json:"value"`
}

Metadata A key/value metadata.

func NewMetadata

func NewMetadata(key string, value string) *Metadata

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

func NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

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

func (*Metadata) GetKey

func (o *Metadata) GetKey() string

GetKey returns the Key field value

func (*Metadata) GetKeyOk

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

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

func (*Metadata) GetValue

func (o *Metadata) GetValue() string

GetValue returns the Value field value

func (*Metadata) GetValueOk

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

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

func (Metadata) MarshalJSON

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

func (*Metadata) SetKey

func (o *Metadata) SetKey(v string)

SetKey sets field value

func (*Metadata) SetValue

func (o *Metadata) SetValue(v string)

SetValue sets field value

func (Metadata) ToMap

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

func (*Metadata) UnmarshalJSON

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

type NfsAPIService

type NfsAPIService service

NfsAPIService NfsAPI service

func (*NfsAPIService) DeleteStorageNFS

func (a *NfsAPIService) DeleteStorageNFS(ctx context.Context, nfsId string) ApiDeleteStorageNFSRequest

DeleteStorageNFS Method for DeleteStorageNFS

Deletes an existing NFS storage.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nfsId The ID of the NFS storage.
@return ApiDeleteStorageNFSRequest

func (*NfsAPIService) DeleteStorageNFSExecute

func (a *NfsAPIService) DeleteStorageNFSExecute(r ApiDeleteStorageNFSRequest) (*http.Response, error)

Execute executes the request

func (*NfsAPIService) ListStorageNFSKylos

func (a *NfsAPIService) ListStorageNFSKylos(ctx context.Context, nfsId string) ApiListStorageNFSKylosRequest

ListStorageNFSKylos Method for ListStorageNFSKylos

Returns the IDs of Kylo objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nfsId The ID of the NFS storage.
@return ApiListStorageNFSKylosRequest

func (*NfsAPIService) ListStorageNFSKylosExecute

func (a *NfsAPIService) ListStorageNFSKylosExecute(r ApiListStorageNFSKylosRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*NfsAPIService) ListStorageNFSs

func (a *NfsAPIService) ListStorageNFSs(ctx context.Context) ApiListStorageNFSsRequest

ListStorageNFSs Method for ListStorageNFSs

Returns the IDs of NFS storage objects.

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

func (*NfsAPIService) ListStorageNFSsExecute

func (a *NfsAPIService) ListStorageNFSsExecute(r ApiListStorageNFSsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*NfsAPIService) ReadStorageNFS

func (a *NfsAPIService) ReadStorageNFS(ctx context.Context, nfsId string) ApiReadStorageNFSRequest

ReadStorageNFS Method for ReadStorageNFS

Returns a NFS storage.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nfsId The ID of the NFS storage.
@return ApiReadStorageNFSRequest

func (*NfsAPIService) ReadStorageNFSExecute

func (a *NfsAPIService) ReadStorageNFSExecute(r ApiReadStorageNFSRequest) (*StorageNFS, *http.Response, error)

Execute executes the request

@return StorageNFS

func (*NfsAPIService) UpdateStorageNFS

func (a *NfsAPIService) UpdateStorageNFS(ctx context.Context, nfsId string) ApiUpdateStorageNFSRequest

UpdateStorageNFS Method for UpdateStorageNFS

Updates a NFS storage configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nfsId The ID of the NFS storage.
@return ApiUpdateStorageNFSRequest

func (*NfsAPIService) UpdateStorageNFSExecute

func (a *NfsAPIService) UpdateStorageNFSExecute(r ApiUpdateStorageNFSRequest) (*StorageNFS, *http.Response, error)

Execute executes the request

@return StorageNFS

type NullableAdapter

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

func NewNullableAdapter

func NewNullableAdapter(val *Adapter) *NullableAdapter

func (NullableAdapter) Get

func (v NullableAdapter) Get() *Adapter

func (NullableAdapter) IsSet

func (v NullableAdapter) IsSet() bool

func (NullableAdapter) MarshalJSON

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

func (*NullableAdapter) Set

func (v *NullableAdapter) Set(val *Adapter)

func (*NullableAdapter) UnmarshalJSON

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

func (*NullableAdapter) Unset

func (v *NullableAdapter) Unset()

type NullableAgent

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

func NewNullableAgent

func NewNullableAgent(val *Agent) *NullableAgent

func (NullableAgent) Get

func (v NullableAgent) Get() *Agent

func (NullableAgent) IsSet

func (v NullableAgent) IsSet() bool

func (NullableAgent) MarshalJSON

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

func (*NullableAgent) Set

func (v *NullableAgent) Set(val *Agent)

func (*NullableAgent) UnmarshalJSON

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

func (*NullableAgent) Unset

func (v *NullableAgent) Unset()

type NullableApiErrorBadRequest

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

func NewNullableApiErrorBadRequest

func NewNullableApiErrorBadRequest(val *ApiErrorBadRequest) *NullableApiErrorBadRequest

func (NullableApiErrorBadRequest) Get

func (NullableApiErrorBadRequest) IsSet

func (v NullableApiErrorBadRequest) IsSet() bool

func (NullableApiErrorBadRequest) MarshalJSON

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

func (*NullableApiErrorBadRequest) Set

func (*NullableApiErrorBadRequest) UnmarshalJSON

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

func (*NullableApiErrorBadRequest) Unset

func (v *NullableApiErrorBadRequest) Unset()

type NullableApiErrorConflict

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

func NewNullableApiErrorConflict

func NewNullableApiErrorConflict(val *ApiErrorConflict) *NullableApiErrorConflict

func (NullableApiErrorConflict) Get

func (NullableApiErrorConflict) IsSet

func (v NullableApiErrorConflict) IsSet() bool

func (NullableApiErrorConflict) MarshalJSON

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

func (*NullableApiErrorConflict) Set

func (*NullableApiErrorConflict) UnmarshalJSON

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

func (*NullableApiErrorConflict) Unset

func (v *NullableApiErrorConflict) Unset()

type NullableApiErrorForbidden

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

func NewNullableApiErrorForbidden

func NewNullableApiErrorForbidden(val *ApiErrorForbidden) *NullableApiErrorForbidden

func (NullableApiErrorForbidden) Get

func (NullableApiErrorForbidden) IsSet

func (v NullableApiErrorForbidden) IsSet() bool

func (NullableApiErrorForbidden) MarshalJSON

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

func (*NullableApiErrorForbidden) Set

func (*NullableApiErrorForbidden) UnmarshalJSON

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

func (*NullableApiErrorForbidden) Unset

func (v *NullableApiErrorForbidden) Unset()

type NullableApiErrorInsufficientResource added in v0.52.5

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

func NewNullableApiErrorInsufficientResource added in v0.52.5

func NewNullableApiErrorInsufficientResource(val *ApiErrorInsufficientResource) *NullableApiErrorInsufficientResource

func (NullableApiErrorInsufficientResource) Get added in v0.52.5

func (NullableApiErrorInsufficientResource) IsSet added in v0.52.5

func (NullableApiErrorInsufficientResource) MarshalJSON added in v0.52.5

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

func (*NullableApiErrorInsufficientResource) Set added in v0.52.5

func (*NullableApiErrorInsufficientResource) UnmarshalJSON added in v0.52.5

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

func (*NullableApiErrorInsufficientResource) Unset added in v0.52.5

type NullableApiErrorNotFound

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

func NewNullableApiErrorNotFound

func NewNullableApiErrorNotFound(val *ApiErrorNotFound) *NullableApiErrorNotFound

func (NullableApiErrorNotFound) Get

func (NullableApiErrorNotFound) IsSet

func (v NullableApiErrorNotFound) IsSet() bool

func (NullableApiErrorNotFound) MarshalJSON

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

func (*NullableApiErrorNotFound) Set

func (*NullableApiErrorNotFound) UnmarshalJSON

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

func (*NullableApiErrorNotFound) Unset

func (v *NullableApiErrorNotFound) Unset()

type NullableApiErrorUnauthorized

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

func NewNullableApiErrorUnauthorized

func NewNullableApiErrorUnauthorized(val *ApiErrorUnauthorized) *NullableApiErrorUnauthorized

func (NullableApiErrorUnauthorized) Get

func (NullableApiErrorUnauthorized) IsSet

func (NullableApiErrorUnauthorized) MarshalJSON

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

func (*NullableApiErrorUnauthorized) Set

func (*NullableApiErrorUnauthorized) UnmarshalJSON

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

func (*NullableApiErrorUnauthorized) Unset

func (v *NullableApiErrorUnauthorized) Unset()

type NullableApiErrorUnprocessableEntity

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

func (NullableApiErrorUnprocessableEntity) Get

func (NullableApiErrorUnprocessableEntity) IsSet

func (NullableApiErrorUnprocessableEntity) MarshalJSON

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

func (*NullableApiErrorUnprocessableEntity) Set

func (*NullableApiErrorUnprocessableEntity) UnmarshalJSON

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

func (*NullableApiErrorUnprocessableEntity) Unset

type NullableApiToken

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

func NewNullableApiToken

func NewNullableApiToken(val *ApiToken) *NullableApiToken

func (NullableApiToken) Get

func (v NullableApiToken) Get() *ApiToken

func (NullableApiToken) IsSet

func (v NullableApiToken) IsSet() bool

func (NullableApiToken) MarshalJSON

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

func (*NullableApiToken) Set

func (v *NullableApiToken) Set(val *ApiToken)

func (*NullableApiToken) UnmarshalJSON

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

func (*NullableApiToken) Unset

func (v *NullableApiToken) 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 NullableCost

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

func NewNullableCost

func NewNullableCost(val *Cost) *NullableCost

func (NullableCost) Get

func (v NullableCost) Get() *Cost

func (NullableCost) IsSet

func (v NullableCost) IsSet() bool

func (NullableCost) MarshalJSON

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

func (*NullableCost) Set

func (v *NullableCost) Set(val *Cost)

func (*NullableCost) UnmarshalJSON

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

func (*NullableCost) Unset

func (v *NullableCost) Unset()

type NullableDnsRecord

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

func NewNullableDnsRecord

func NewNullableDnsRecord(val *DnsRecord) *NullableDnsRecord

func (NullableDnsRecord) Get

func (v NullableDnsRecord) Get() *DnsRecord

func (NullableDnsRecord) IsSet

func (v NullableDnsRecord) IsSet() bool

func (NullableDnsRecord) MarshalJSON

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

func (*NullableDnsRecord) Set

func (v *NullableDnsRecord) Set(val *DnsRecord)

func (*NullableDnsRecord) UnmarshalJSON

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

func (*NullableDnsRecord) Unset

func (v *NullableDnsRecord) 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 NullableInstance

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

func NewNullableInstance

func NewNullableInstance(val *Instance) *NullableInstance

func (NullableInstance) Get

func (v NullableInstance) Get() *Instance

func (NullableInstance) IsSet

func (v NullableInstance) IsSet() bool

func (NullableInstance) MarshalJSON

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

func (*NullableInstance) Set

func (v *NullableInstance) Set(val *Instance)

func (*NullableInstance) UnmarshalJSON

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

func (*NullableInstance) Unset

func (v *NullableInstance) Unset()

type NullableInstanceRemoteAccess

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

func NewNullableInstanceRemoteAccess

func NewNullableInstanceRemoteAccess(val *InstanceRemoteAccess) *NullableInstanceRemoteAccess

func (NullableInstanceRemoteAccess) Get

func (NullableInstanceRemoteAccess) IsSet

func (NullableInstanceRemoteAccess) MarshalJSON

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

func (*NullableInstanceRemoteAccess) Set

func (*NullableInstanceRemoteAccess) UnmarshalJSON

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

func (*NullableInstanceRemoteAccess) Unset

func (v *NullableInstanceRemoteAccess) Unset()

type NullableInstanceState

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

func NewNullableInstanceState

func NewNullableInstanceState(val *InstanceState) *NullableInstanceState

func (NullableInstanceState) Get

func (NullableInstanceState) IsSet

func (v NullableInstanceState) IsSet() bool

func (NullableInstanceState) MarshalJSON

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

func (*NullableInstanceState) Set

func (v *NullableInstanceState) Set(val *InstanceState)

func (*NullableInstanceState) UnmarshalJSON

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

func (*NullableInstanceState) Unset

func (v *NullableInstanceState) 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 NullableIpRange

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

func NewNullableIpRange

func NewNullableIpRange(val *IpRange) *NullableIpRange

func (NullableIpRange) Get

func (v NullableIpRange) Get() *IpRange

func (NullableIpRange) IsSet

func (v NullableIpRange) IsSet() bool

func (NullableIpRange) MarshalJSON

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

func (*NullableIpRange) Set

func (v *NullableIpRange) Set(val *IpRange)

func (*NullableIpRange) UnmarshalJSON

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

func (*NullableIpRange) Unset

func (v *NullableIpRange) Unset()

type NullableKaktus

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

func NewNullableKaktus

func NewNullableKaktus(val *Kaktus) *NullableKaktus

func (NullableKaktus) Get

func (v NullableKaktus) Get() *Kaktus

func (NullableKaktus) IsSet

func (v NullableKaktus) IsSet() bool

func (NullableKaktus) MarshalJSON

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

func (*NullableKaktus) Set

func (v *NullableKaktus) Set(val *Kaktus)

func (*NullableKaktus) UnmarshalJSON

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

func (*NullableKaktus) Unset

func (v *NullableKaktus) Unset()

type NullableKaktusCPU

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

func NewNullableKaktusCPU

func NewNullableKaktusCPU(val *KaktusCPU) *NullableKaktusCPU

func (NullableKaktusCPU) Get

func (v NullableKaktusCPU) Get() *KaktusCPU

func (NullableKaktusCPU) IsSet

func (v NullableKaktusCPU) IsSet() bool

func (NullableKaktusCPU) MarshalJSON

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

func (*NullableKaktusCPU) Set

func (v *NullableKaktusCPU) Set(val *KaktusCPU)

func (*NullableKaktusCPU) UnmarshalJSON

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

func (*NullableKaktusCPU) Unset

func (v *NullableKaktusCPU) Unset()

type NullableKaktusCaps

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

func NewNullableKaktusCaps

func NewNullableKaktusCaps(val *KaktusCaps) *NullableKaktusCaps

func (NullableKaktusCaps) Get

func (v NullableKaktusCaps) Get() *KaktusCaps

func (NullableKaktusCaps) IsSet

func (v NullableKaktusCaps) IsSet() bool

func (NullableKaktusCaps) MarshalJSON

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

func (*NullableKaktusCaps) Set

func (v *NullableKaktusCaps) Set(val *KaktusCaps)

func (*NullableKaktusCaps) UnmarshalJSON

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

func (*NullableKaktusCaps) Unset

func (v *NullableKaktusCaps) Unset()

type NullableKawaii

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

func NewNullableKawaii

func NewNullableKawaii(val *Kawaii) *NullableKawaii

func (NullableKawaii) Get

func (v NullableKawaii) Get() *Kawaii

func (NullableKawaii) IsSet

func (v NullableKawaii) IsSet() bool

func (NullableKawaii) MarshalJSON

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

func (*NullableKawaii) Set

func (v *NullableKawaii) Set(val *Kawaii)

func (*NullableKawaii) UnmarshalJSON

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

func (*NullableKawaii) Unset

func (v *NullableKawaii) Unset()

type NullableKawaiiDNatRule

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

func NewNullableKawaiiDNatRule

func NewNullableKawaiiDNatRule(val *KawaiiDNatRule) *NullableKawaiiDNatRule

func (NullableKawaiiDNatRule) Get

func (NullableKawaiiDNatRule) IsSet

func (v NullableKawaiiDNatRule) IsSet() bool

func (NullableKawaiiDNatRule) MarshalJSON

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

func (*NullableKawaiiDNatRule) Set

func (*NullableKawaiiDNatRule) UnmarshalJSON

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

func (*NullableKawaiiDNatRule) Unset

func (v *NullableKawaiiDNatRule) Unset()

type NullableKawaiiFirewall

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

func NewNullableKawaiiFirewall

func NewNullableKawaiiFirewall(val *KawaiiFirewall) *NullableKawaiiFirewall

func (NullableKawaiiFirewall) Get

func (NullableKawaiiFirewall) IsSet

func (v NullableKawaiiFirewall) IsSet() bool

func (NullableKawaiiFirewall) MarshalJSON

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

func (*NullableKawaiiFirewall) Set

func (*NullableKawaiiFirewall) UnmarshalJSON

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

func (*NullableKawaiiFirewall) Unset

func (v *NullableKawaiiFirewall) Unset()

type NullableKawaiiFirewallEgressRule

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

func (NullableKawaiiFirewallEgressRule) Get

func (NullableKawaiiFirewallEgressRule) IsSet

func (NullableKawaiiFirewallEgressRule) MarshalJSON

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

func (*NullableKawaiiFirewallEgressRule) Set

func (*NullableKawaiiFirewallEgressRule) UnmarshalJSON

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

func (*NullableKawaiiFirewallEgressRule) Unset

type NullableKawaiiFirewallIngressRule

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

func (NullableKawaiiFirewallIngressRule) Get

func (NullableKawaiiFirewallIngressRule) IsSet

func (NullableKawaiiFirewallIngressRule) MarshalJSON

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

func (*NullableKawaiiFirewallIngressRule) Set

func (*NullableKawaiiFirewallIngressRule) UnmarshalJSON

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

func (*NullableKawaiiFirewallIngressRule) Unset

type NullableKawaiiIpSec

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

func NewNullableKawaiiIpSec

func NewNullableKawaiiIpSec(val *KawaiiIpSec) *NullableKawaiiIpSec

func (NullableKawaiiIpSec) Get

func (NullableKawaiiIpSec) IsSet

func (v NullableKawaiiIpSec) IsSet() bool

func (NullableKawaiiIpSec) MarshalJSON

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

func (*NullableKawaiiIpSec) Set

func (v *NullableKawaiiIpSec) Set(val *KawaiiIpSec)

func (*NullableKawaiiIpSec) UnmarshalJSON

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

func (*NullableKawaiiIpSec) Unset

func (v *NullableKawaiiIpSec) Unset()

type NullableKawaiiNetIp

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

func NewNullableKawaiiNetIp

func NewNullableKawaiiNetIp(val *KawaiiNetIp) *NullableKawaiiNetIp

func (NullableKawaiiNetIp) Get

func (NullableKawaiiNetIp) IsSet

func (v NullableKawaiiNetIp) IsSet() bool

func (NullableKawaiiNetIp) MarshalJSON

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

func (*NullableKawaiiNetIp) Set

func (v *NullableKawaiiNetIp) Set(val *KawaiiNetIp)

func (*NullableKawaiiNetIp) UnmarshalJSON

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

func (*NullableKawaiiNetIp) Unset

func (v *NullableKawaiiNetIp) Unset()

type NullableKawaiiNetIpZone

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

func NewNullableKawaiiNetIpZone

func NewNullableKawaiiNetIpZone(val *KawaiiNetIpZone) *NullableKawaiiNetIpZone

func (NullableKawaiiNetIpZone) Get

func (NullableKawaiiNetIpZone) IsSet

func (v NullableKawaiiNetIpZone) IsSet() bool

func (NullableKawaiiNetIpZone) MarshalJSON

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

func (*NullableKawaiiNetIpZone) Set

func (*NullableKawaiiNetIpZone) UnmarshalJSON

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

func (*NullableKawaiiNetIpZone) Unset

func (v *NullableKawaiiNetIpZone) Unset()

type NullableKawaiiVpcForwardRule

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

func NewNullableKawaiiVpcForwardRule

func NewNullableKawaiiVpcForwardRule(val *KawaiiVpcForwardRule) *NullableKawaiiVpcForwardRule

func (NullableKawaiiVpcForwardRule) Get

func (NullableKawaiiVpcForwardRule) IsSet

func (NullableKawaiiVpcForwardRule) MarshalJSON

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

func (*NullableKawaiiVpcForwardRule) Set

func (*NullableKawaiiVpcForwardRule) UnmarshalJSON

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

func (*NullableKawaiiVpcForwardRule) Unset

func (v *NullableKawaiiVpcForwardRule) Unset()

type NullableKawaiiVpcNetIpZone

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

func NewNullableKawaiiVpcNetIpZone

func NewNullableKawaiiVpcNetIpZone(val *KawaiiVpcNetIpZone) *NullableKawaiiVpcNetIpZone

func (NullableKawaiiVpcNetIpZone) Get

func (NullableKawaiiVpcNetIpZone) IsSet

func (v NullableKawaiiVpcNetIpZone) IsSet() bool

func (NullableKawaiiVpcNetIpZone) MarshalJSON

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

func (*NullableKawaiiVpcNetIpZone) Set

func (*NullableKawaiiVpcNetIpZone) UnmarshalJSON

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

func (*NullableKawaiiVpcNetIpZone) Unset

func (v *NullableKawaiiVpcNetIpZone) Unset()

type NullableKawaiiVpcPeering

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

func NewNullableKawaiiVpcPeering

func NewNullableKawaiiVpcPeering(val *KawaiiVpcPeering) *NullableKawaiiVpcPeering

func (NullableKawaiiVpcPeering) Get

func (NullableKawaiiVpcPeering) IsSet

func (v NullableKawaiiVpcPeering) IsSet() bool

func (NullableKawaiiVpcPeering) MarshalJSON

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

func (*NullableKawaiiVpcPeering) Set

func (*NullableKawaiiVpcPeering) UnmarshalJSON

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

func (*NullableKawaiiVpcPeering) Unset

func (v *NullableKawaiiVpcPeering) Unset()

type NullableKiwi

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

func NewNullableKiwi

func NewNullableKiwi(val *Kiwi) *NullableKiwi

func (NullableKiwi) Get

func (v NullableKiwi) Get() *Kiwi

func (NullableKiwi) IsSet

func (v NullableKiwi) IsSet() bool

func (NullableKiwi) MarshalJSON

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

func (*NullableKiwi) Set

func (v *NullableKiwi) Set(val *Kiwi)

func (*NullableKiwi) UnmarshalJSON

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

func (*NullableKiwi) Unset

func (v *NullableKiwi) Unset()

type NullableKompute

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

func NewNullableKompute

func NewNullableKompute(val *Kompute) *NullableKompute

func (NullableKompute) Get

func (v NullableKompute) Get() *Kompute

func (NullableKompute) IsSet

func (v NullableKompute) IsSet() bool

func (NullableKompute) MarshalJSON

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

func (*NullableKompute) Set

func (v *NullableKompute) Set(val *Kompute)

func (*NullableKompute) UnmarshalJSON

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

func (*NullableKompute) Unset

func (v *NullableKompute) Unset()

type NullableKonvey

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

func NewNullableKonvey

func NewNullableKonvey(val *Konvey) *NullableKonvey

func (NullableKonvey) Get

func (v NullableKonvey) Get() *Konvey

func (NullableKonvey) IsSet

func (v NullableKonvey) IsSet() bool

func (NullableKonvey) MarshalJSON

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

func (*NullableKonvey) Set

func (v *NullableKonvey) Set(val *Konvey)

func (*NullableKonvey) UnmarshalJSON

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

func (*NullableKonvey) Unset

func (v *NullableKonvey) Unset()

type NullableKonveyBackends

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

func NewNullableKonveyBackends

func NewNullableKonveyBackends(val *KonveyBackends) *NullableKonveyBackends

func (NullableKonveyBackends) Get

func (NullableKonveyBackends) IsSet

func (v NullableKonveyBackends) IsSet() bool

func (NullableKonveyBackends) MarshalJSON

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

func (*NullableKonveyBackends) Set

func (*NullableKonveyBackends) UnmarshalJSON

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

func (*NullableKonveyBackends) Unset

func (v *NullableKonveyBackends) Unset()

type NullableKonveyEndpoint

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

func NewNullableKonveyEndpoint

func NewNullableKonveyEndpoint(val *KonveyEndpoint) *NullableKonveyEndpoint

func (NullableKonveyEndpoint) Get

func (NullableKonveyEndpoint) IsSet

func (v NullableKonveyEndpoint) IsSet() bool

func (NullableKonveyEndpoint) MarshalJSON

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

func (*NullableKonveyEndpoint) Set

func (*NullableKonveyEndpoint) UnmarshalJSON

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

func (*NullableKonveyEndpoint) Unset

func (v *NullableKonveyEndpoint) Unset()

type NullableKylo

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

func NewNullableKylo

func NewNullableKylo(val *Kylo) *NullableKylo

func (NullableKylo) Get

func (v NullableKylo) Get() *Kylo

func (NullableKylo) IsSet

func (v NullableKylo) IsSet() bool

func (NullableKylo) MarshalJSON

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

func (*NullableKylo) Set

func (v *NullableKylo) Set(val *Kylo)

func (*NullableKylo) UnmarshalJSON

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

func (*NullableKylo) Unset

func (v *NullableKylo) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullablePassword

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

func NewNullablePassword

func NewNullablePassword(val *Password) *NullablePassword

func (NullablePassword) Get

func (v NullablePassword) Get() *Password

func (NullablePassword) IsSet

func (v NullablePassword) IsSet() bool

func (NullablePassword) MarshalJSON

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

func (*NullablePassword) Set

func (v *NullablePassword) Set(val *Password)

func (*NullablePassword) UnmarshalJSON

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

func (*NullablePassword) Unset

func (v *NullablePassword) Unset()

type NullableProject

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

func NewNullableProject

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get

func (v NullableProject) Get() *Project

func (NullableProject) IsSet

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON

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

func (*NullableProject) Set

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON

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

func (*NullableProject) Unset

func (v *NullableProject) Unset()

type NullableProjectResources

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

func NewNullableProjectResources

func NewNullableProjectResources(val *ProjectResources) *NullableProjectResources

func (NullableProjectResources) Get

func (NullableProjectResources) IsSet

func (v NullableProjectResources) IsSet() bool

func (NullableProjectResources) MarshalJSON

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

func (*NullableProjectResources) Set

func (*NullableProjectResources) UnmarshalJSON

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

func (*NullableProjectResources) Unset

func (v *NullableProjectResources) 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 NullableRegionSubnet

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

func NewNullableRegionSubnet

func NewNullableRegionSubnet(val *RegionSubnet) *NullableRegionSubnet

func (NullableRegionSubnet) Get

func (NullableRegionSubnet) IsSet

func (v NullableRegionSubnet) IsSet() bool

func (NullableRegionSubnet) MarshalJSON

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

func (*NullableRegionSubnet) Set

func (v *NullableRegionSubnet) Set(val *RegionSubnet)

func (*NullableRegionSubnet) UnmarshalJSON

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

func (*NullableRegionSubnet) Unset

func (v *NullableRegionSubnet) Unset()

type NullableStorageNFS

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

func NewNullableStorageNFS

func NewNullableStorageNFS(val *StorageNFS) *NullableStorageNFS

func (NullableStorageNFS) Get

func (v NullableStorageNFS) Get() *StorageNFS

func (NullableStorageNFS) IsSet

func (v NullableStorageNFS) IsSet() bool

func (NullableStorageNFS) MarshalJSON

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

func (*NullableStorageNFS) Set

func (v *NullableStorageNFS) Set(val *StorageNFS)

func (*NullableStorageNFS) UnmarshalJSON

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

func (*NullableStorageNFS) Unset

func (v *NullableStorageNFS) Unset()

type NullableStoragePool

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

func NewNullableStoragePool

func NewNullableStoragePool(val *StoragePool) *NullableStoragePool

func (NullableStoragePool) Get

func (NullableStoragePool) IsSet

func (v NullableStoragePool) IsSet() bool

func (NullableStoragePool) MarshalJSON

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

func (*NullableStoragePool) Set

func (v *NullableStoragePool) Set(val *StoragePool)

func (*NullableStoragePool) UnmarshalJSON

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

func (*NullableStoragePool) Unset

func (v *NullableStoragePool) 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 NullableTeam

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

func NewNullableTeam

func NewNullableTeam(val *Team) *NullableTeam

func (NullableTeam) Get

func (v NullableTeam) Get() *Team

func (NullableTeam) IsSet

func (v NullableTeam) IsSet() bool

func (NullableTeam) MarshalJSON

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

func (*NullableTeam) Set

func (v *NullableTeam) Set(val *Team)

func (*NullableTeam) UnmarshalJSON

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

func (*NullableTeam) Unset

func (v *NullableTeam) Unset()

type NullableTemplate

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

func NewNullableTemplate

func NewNullableTemplate(val *Template) *NullableTemplate

func (NullableTemplate) Get

func (v NullableTemplate) Get() *Template

func (NullableTemplate) IsSet

func (v NullableTemplate) IsSet() bool

func (NullableTemplate) MarshalJSON

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

func (*NullableTemplate) Set

func (v *NullableTemplate) Set(val *Template)

func (*NullableTemplate) UnmarshalJSON

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

func (*NullableTemplate) Unset

func (v *NullableTemplate) 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 NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableUserCredentials

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

func NewNullableUserCredentials

func NewNullableUserCredentials(val *UserCredentials) *NullableUserCredentials

func (NullableUserCredentials) Get

func (NullableUserCredentials) IsSet

func (v NullableUserCredentials) IsSet() bool

func (NullableUserCredentials) MarshalJSON

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

func (*NullableUserCredentials) Set

func (*NullableUserCredentials) UnmarshalJSON

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

func (*NullableUserCredentials) Unset

func (v *NullableUserCredentials) Unset()

type NullableUserEmail

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

func NewNullableUserEmail

func NewNullableUserEmail(val *UserEmail) *NullableUserEmail

func (NullableUserEmail) Get

func (v NullableUserEmail) Get() *UserEmail

func (NullableUserEmail) IsSet

func (v NullableUserEmail) IsSet() bool

func (NullableUserEmail) MarshalJSON

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

func (*NullableUserEmail) Set

func (v *NullableUserEmail) Set(val *UserEmail)

func (*NullableUserEmail) UnmarshalJSON

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

func (*NullableUserEmail) Unset

func (v *NullableUserEmail) Unset()

type NullableVNet

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

func NewNullableVNet

func NewNullableVNet(val *VNet) *NullableVNet

func (NullableVNet) Get

func (v NullableVNet) Get() *VNet

func (NullableVNet) IsSet

func (v NullableVNet) IsSet() bool

func (NullableVNet) MarshalJSON

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

func (*NullableVNet) Set

func (v *NullableVNet) Set(val *VNet)

func (*NullableVNet) UnmarshalJSON

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

func (*NullableVNet) Unset

func (v *NullableVNet) 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 NullableZone

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

func NewNullableZone

func NewNullableZone(val *Zone) *NullableZone

func (NullableZone) Get

func (v NullableZone) Get() *Zone

func (NullableZone) IsSet

func (v NullableZone) IsSet() bool

func (NullableZone) MarshalJSON

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

func (*NullableZone) Set

func (v *NullableZone) Set(val *Zone)

func (*NullableZone) UnmarshalJSON

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

func (*NullableZone) Unset

func (v *NullableZone) Unset()

type Password

type Password struct {
	// The plain-text password.
	Value string `json:"value"`
}

Password A user plain-text password.

func NewPassword

func NewPassword(value string) *Password

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

func NewPasswordWithDefaults

func NewPasswordWithDefaults() *Password

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

func (*Password) GetValue

func (o *Password) GetValue() string

GetValue returns the Value field value

func (*Password) GetValueOk

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

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

func (Password) MarshalJSON

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

func (*Password) SetValue

func (o *Password) SetValue(v string)

SetValue sets field value

func (Password) ToMap

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

func (*Password) UnmarshalJSON

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

type PoolAPIService

type PoolAPIService service

PoolAPIService PoolAPI service

func (*PoolAPIService) CreateTemplate

func (a *PoolAPIService) CreateTemplate(ctx context.Context, poolId string) ApiCreateTemplateRequest

CreateTemplate Method for CreateTemplate

Creates a new image template.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@return ApiCreateTemplateRequest

func (*PoolAPIService) CreateTemplateExecute

func (a *PoolAPIService) CreateTemplateExecute(r ApiCreateTemplateRequest) (*Template, *http.Response, error)

Execute executes the request

@return Template

func (*PoolAPIService) DeleteStoragePool

func (a *PoolAPIService) DeleteStoragePool(ctx context.Context, poolId string) ApiDeleteStoragePoolRequest

DeleteStoragePool Method for DeleteStoragePool

Deletes an existing storage pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@return ApiDeleteStoragePoolRequest

func (*PoolAPIService) DeleteStoragePoolExecute

func (a *PoolAPIService) DeleteStoragePoolExecute(r ApiDeleteStoragePoolRequest) (*http.Response, error)

Execute executes the request

func (*PoolAPIService) ListStoragePoolTemplates

func (a *PoolAPIService) ListStoragePoolTemplates(ctx context.Context, poolId string) ApiListStoragePoolTemplatesRequest

ListStoragePoolTemplates Method for ListStoragePoolTemplates

Returns the IDs of image template objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@return ApiListStoragePoolTemplatesRequest

func (*PoolAPIService) ListStoragePoolTemplatesExecute

func (a *PoolAPIService) ListStoragePoolTemplatesExecute(r ApiListStoragePoolTemplatesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*PoolAPIService) ListStoragePoolVolumes

func (a *PoolAPIService) ListStoragePoolVolumes(ctx context.Context, poolId string) ApiListStoragePoolVolumesRequest

ListStoragePoolVolumes Method for ListStoragePoolVolumes

Returns the IDs of storage volume objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@return ApiListStoragePoolVolumesRequest

func (*PoolAPIService) ListStoragePoolVolumesExecute

func (a *PoolAPIService) ListStoragePoolVolumesExecute(r ApiListStoragePoolVolumesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*PoolAPIService) ListStoragePools

func (a *PoolAPIService) ListStoragePools(ctx context.Context) ApiListStoragePoolsRequest

ListStoragePools Method for ListStoragePools

Returns the IDs of storage pool objects.

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

func (*PoolAPIService) ListStoragePoolsExecute

func (a *PoolAPIService) ListStoragePoolsExecute(r ApiListStoragePoolsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*PoolAPIService) ReadStoragePool

func (a *PoolAPIService) ReadStoragePool(ctx context.Context, poolId string) ApiReadStoragePoolRequest

ReadStoragePool Method for ReadStoragePool

Returns a storage pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@return ApiReadStoragePoolRequest

func (*PoolAPIService) ReadStoragePoolExecute

func (a *PoolAPIService) ReadStoragePoolExecute(r ApiReadStoragePoolRequest) (*StoragePool, *http.Response, error)

Execute executes the request

@return StoragePool

func (*PoolAPIService) SetStoragePoolDefaultTemplate

func (a *PoolAPIService) SetStoragePoolDefaultTemplate(ctx context.Context, poolId string, templateId string) ApiSetStoragePoolDefaultTemplateRequest

SetStoragePoolDefaultTemplate Method for SetStoragePoolDefaultTemplate

Performs a storage pool setting of default template.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@param templateId The ID of the image template.
@return ApiSetStoragePoolDefaultTemplateRequest

func (*PoolAPIService) SetStoragePoolDefaultTemplateExecute

func (a *PoolAPIService) SetStoragePoolDefaultTemplateExecute(r ApiSetStoragePoolDefaultTemplateRequest) (*http.Response, error)

Execute executes the request

func (*PoolAPIService) UpdateStoragePool

func (a *PoolAPIService) UpdateStoragePool(ctx context.Context, poolId string) ApiUpdateStoragePoolRequest

UpdateStoragePool Method for UpdateStoragePool

Updates a storage pool configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param poolId The ID of the storage pool.
@return ApiUpdateStoragePoolRequest

func (*PoolAPIService) UpdateStoragePoolExecute

func (a *PoolAPIService) UpdateStoragePoolExecute(r ApiUpdateStoragePoolRequest) (*StoragePool, *http.Response, error)

Execute executes the request

@return StoragePool

type Project

type Project struct {
	// The project ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The project name.
	Name string `json:"name"`
	// The project description.
	Description *string `json:"description,omitempty"`
	// Internal domain name (e.g. myproject.acme.com).
	Domain *string `json:"domain,omitempty"`
	// Default root password, set at cloud-init instance bootstrap phase. Will be randomly auto-generated at each instance creation if unspecified.
	RootPassword *string `json:"root_password,omitempty"`
	// Default service user name, created at cloud-init instance bootstrap phase. Will use Kowabunga's default configuration one if unspecified.
	BootstrapUser *string `json:"bootstrap_user,omitempty"`
	// Default public SSH key, to be associated to bootstrap user. Will use Kowabunga's default configuration one if unspecified.
	BootstrapPubkey *string `json:"bootstrap_pubkey,omitempty"`
	// A list of tags to be associated to the project.
	Tags []string `json:"tags,omitempty"`
	// A list of metadata to be associated to the project.
	Metadatas []Metadata `json:"metadatas,omitempty"`
	// The global project resource quotas (0 for unlimited).
	Quotas ProjectResources `json:"quotas,omitempty"`
	// The assigned project VPC private subnets IDs (read-only).
	PrivateSubnets []RegionSubnet `json:"private_subnets,omitempty"`
	// The list of VRRP IDs used by -as-a-service resources within the project virtual network (read-only). Should your application use VRRP for service redundancy, you should use different IDs to prevent issues..
	ReservedVrrpIds []int32 `json:"reserved_vrrp_ids,omitempty"`
	// A list of user teams allowed to administrate the project (i.e. capable of managing internal resources).
	Teams []string `json:"teams"`
	// A list of Kowabunga regions the project is managing resources from.
	Regions []string `json:"regions"`
}

Project A Kowabunga project corresponds to a single tenant, isolated set of resources.

func NewProject

func NewProject(name string, teams []string, regions []string) *Project

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

func NewProjectWithDefaults

func NewProjectWithDefaults() *Project

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

func (*Project) GetBootstrapPubkey

func (o *Project) GetBootstrapPubkey() string

GetBootstrapPubkey returns the BootstrapPubkey field value if set, zero value otherwise.

func (*Project) GetBootstrapPubkeyOk

func (o *Project) GetBootstrapPubkeyOk() (*string, bool)

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

func (*Project) GetBootstrapUser

func (o *Project) GetBootstrapUser() string

GetBootstrapUser returns the BootstrapUser field value if set, zero value otherwise.

func (*Project) GetBootstrapUserOk

func (o *Project) GetBootstrapUserOk() (*string, bool)

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

func (*Project) GetDescription

func (o *Project) GetDescription() string

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

func (*Project) GetDescriptionOk

func (o *Project) 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 (*Project) GetDomain

func (o *Project) GetDomain() string

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

func (*Project) GetDomainOk

func (o *Project) 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 (*Project) GetId

func (o *Project) GetId() string

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

func (*Project) GetIdOk

func (o *Project) 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 (*Project) GetMetadatas

func (o *Project) GetMetadatas() []Metadata

GetMetadatas returns the Metadatas field value if set, zero value otherwise.

func (*Project) GetMetadatasOk

func (o *Project) GetMetadatasOk() ([]Metadata, bool)

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

func (*Project) GetName

func (o *Project) GetName() string

GetName returns the Name field value

func (*Project) GetNameOk

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

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

func (*Project) GetPrivateSubnets

func (o *Project) GetPrivateSubnets() []RegionSubnet

GetPrivateSubnets returns the PrivateSubnets field value if set, zero value otherwise.

func (*Project) GetPrivateSubnetsOk

func (o *Project) GetPrivateSubnetsOk() ([]RegionSubnet, bool)

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

func (*Project) GetQuotas

func (o *Project) GetQuotas() ProjectResources

GetQuotas returns the Quotas field value if set, zero value otherwise.

func (*Project) GetQuotasOk

func (o *Project) GetQuotasOk() (ProjectResources, bool)

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

func (*Project) GetRegions

func (o *Project) GetRegions() []string

GetRegions returns the Regions field value

func (*Project) GetRegionsOk

func (o *Project) GetRegionsOk() ([]string, bool)

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

func (*Project) GetReservedVrrpIds

func (o *Project) GetReservedVrrpIds() []int32

GetReservedVrrpIds returns the ReservedVrrpIds field value if set, zero value otherwise.

func (*Project) GetReservedVrrpIdsOk

func (o *Project) GetReservedVrrpIdsOk() ([]int32, bool)

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

func (*Project) GetRootPassword

func (o *Project) GetRootPassword() string

GetRootPassword returns the RootPassword field value if set, zero value otherwise.

func (*Project) GetRootPasswordOk

func (o *Project) GetRootPasswordOk() (*string, bool)

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

func (*Project) GetTags

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

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

func (*Project) GetTagsOk

func (o *Project) 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 (*Project) GetTeams

func (o *Project) GetTeams() []string

GetTeams returns the Teams field value

func (*Project) GetTeamsOk

func (o *Project) GetTeamsOk() ([]string, bool)

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

func (*Project) HasBootstrapPubkey

func (o *Project) HasBootstrapPubkey() bool

HasBootstrapPubkey returns a boolean if a field has been set.

func (*Project) HasBootstrapUser

func (o *Project) HasBootstrapUser() bool

HasBootstrapUser returns a boolean if a field has been set.

func (*Project) HasDescription

func (o *Project) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Project) HasDomain

func (o *Project) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*Project) HasId

func (o *Project) HasId() bool

HasId returns a boolean if a field has been set.

func (*Project) HasMetadatas

func (o *Project) HasMetadatas() bool

HasMetadatas returns a boolean if a field has been set.

func (*Project) HasPrivateSubnets

func (o *Project) HasPrivateSubnets() bool

HasPrivateSubnets returns a boolean if a field has been set.

func (*Project) HasQuotas

func (o *Project) HasQuotas() bool

HasQuotas returns a boolean if a field has been set.

func (*Project) HasReservedVrrpIds

func (o *Project) HasReservedVrrpIds() bool

HasReservedVrrpIds returns a boolean if a field has been set.

func (*Project) HasRootPassword

func (o *Project) HasRootPassword() bool

HasRootPassword returns a boolean if a field has been set.

func (*Project) HasTags

func (o *Project) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Project) MarshalJSON

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

func (*Project) SetBootstrapPubkey

func (o *Project) SetBootstrapPubkey(v string)

SetBootstrapPubkey gets a reference to the given string and assigns it to the BootstrapPubkey field.

func (*Project) SetBootstrapUser

func (o *Project) SetBootstrapUser(v string)

SetBootstrapUser gets a reference to the given string and assigns it to the BootstrapUser field.

func (*Project) SetDescription

func (o *Project) SetDescription(v string)

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

func (*Project) SetDomain

func (o *Project) SetDomain(v string)

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

func (*Project) SetId

func (o *Project) SetId(v string)

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

func (*Project) SetMetadatas

func (o *Project) SetMetadatas(v []Metadata)

SetMetadatas gets a reference to the given []Metadata and assigns it to the Metadatas field.

func (*Project) SetName

func (o *Project) SetName(v string)

SetName sets field value

func (*Project) SetPrivateSubnets

func (o *Project) SetPrivateSubnets(v []RegionSubnet)

SetPrivateSubnets gets a reference to the given []RegionSubnet and assigns it to the PrivateSubnets field.

func (*Project) SetQuotas

func (o *Project) SetQuotas(v ProjectResources)

SetQuotas gets a reference to the given ProjectResources and assigns it to the Quotas field.

func (*Project) SetRegions

func (o *Project) SetRegions(v []string)

SetRegions sets field value

func (*Project) SetReservedVrrpIds

func (o *Project) SetReservedVrrpIds(v []int32)

SetReservedVrrpIds gets a reference to the given []int32 and assigns it to the ReservedVrrpIds field.

func (*Project) SetRootPassword

func (o *Project) SetRootPassword(v string)

SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.

func (*Project) SetTags

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

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

func (*Project) SetTeams

func (o *Project) SetTeams(v []string)

SetTeams sets field value

func (Project) ToMap

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

func (*Project) UnmarshalJSON

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

type ProjectAPIService

type ProjectAPIService service

ProjectAPIService ProjectAPI service

func (*ProjectAPIService) CreateProject

CreateProject Method for CreateProject

Creates a new project.

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

func (*ProjectAPIService) CreateProjectDnsRecord

func (a *ProjectAPIService) CreateProjectDnsRecord(ctx context.Context, projectId string) ApiCreateProjectDnsRecordRequest

CreateProjectDnsRecord Method for CreateProjectDnsRecord

Creates a new DNS record.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiCreateProjectDnsRecordRequest

func (*ProjectAPIService) CreateProjectDnsRecordExecute

func (a *ProjectAPIService) CreateProjectDnsRecordExecute(r ApiCreateProjectDnsRecordRequest) (*DnsRecord, *http.Response, error)

Execute executes the request

@return DnsRecord

func (*ProjectAPIService) CreateProjectExecute

func (a *ProjectAPIService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectAPIService) CreateProjectRegionKawaii

func (a *ProjectAPIService) CreateProjectRegionKawaii(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKawaiiRequest

CreateProjectRegionKawaii Method for CreateProjectRegionKawaii

Creates a new Kawaii.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiCreateProjectRegionKawaiiRequest

func (*ProjectAPIService) CreateProjectRegionKawaiiExecute

func (a *ProjectAPIService) CreateProjectRegionKawaiiExecute(r ApiCreateProjectRegionKawaiiRequest) (*Kawaii, *http.Response, error)

Execute executes the request

@return Kawaii

func (*ProjectAPIService) CreateProjectRegionKonvey

func (a *ProjectAPIService) CreateProjectRegionKonvey(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKonveyRequest

CreateProjectRegionKonvey Method for CreateProjectRegionKonvey

Creates a new Konvey (Kowabunga Network Load-Balancer).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiCreateProjectRegionKonveyRequest

func (*ProjectAPIService) CreateProjectRegionKonveyExecute

func (a *ProjectAPIService) CreateProjectRegionKonveyExecute(r ApiCreateProjectRegionKonveyRequest) (*Konvey, *http.Response, error)

Execute executes the request

@return Konvey

func (*ProjectAPIService) CreateProjectRegionKylo

func (a *ProjectAPIService) CreateProjectRegionKylo(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionKyloRequest

CreateProjectRegionKylo Method for CreateProjectRegionKylo

Creates a new Kylo.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiCreateProjectRegionKyloRequest

func (*ProjectAPIService) CreateProjectRegionKyloExecute

func (a *ProjectAPIService) CreateProjectRegionKyloExecute(r ApiCreateProjectRegionKyloRequest) (*Kylo, *http.Response, error)

Execute executes the request

@return Kylo

func (*ProjectAPIService) CreateProjectRegionVolume

func (a *ProjectAPIService) CreateProjectRegionVolume(ctx context.Context, projectId string, regionId string) ApiCreateProjectRegionVolumeRequest

CreateProjectRegionVolume Method for CreateProjectRegionVolume

Creates a new storage volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiCreateProjectRegionVolumeRequest

func (*ProjectAPIService) CreateProjectRegionVolumeExecute

func (a *ProjectAPIService) CreateProjectRegionVolumeExecute(r ApiCreateProjectRegionVolumeRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*ProjectAPIService) CreateProjectZoneInstance

func (a *ProjectAPIService) CreateProjectZoneInstance(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneInstanceRequest

CreateProjectZoneInstance Method for CreateProjectZoneInstance

Creates a new virtual machine instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param zoneId The ID of the availability zone.
@return ApiCreateProjectZoneInstanceRequest

func (*ProjectAPIService) CreateProjectZoneInstanceExecute

func (a *ProjectAPIService) CreateProjectZoneInstanceExecute(r ApiCreateProjectZoneInstanceRequest) (*Instance, *http.Response, error)

Execute executes the request

@return Instance

func (*ProjectAPIService) CreateProjectZoneKompute

func (a *ProjectAPIService) CreateProjectZoneKompute(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneKomputeRequest

CreateProjectZoneKompute Method for CreateProjectZoneKompute

Creates a new Kompute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param zoneId The ID of the availability zone.
@return ApiCreateProjectZoneKomputeRequest

func (*ProjectAPIService) CreateProjectZoneKomputeExecute

func (a *ProjectAPIService) CreateProjectZoneKomputeExecute(r ApiCreateProjectZoneKomputeRequest) (*Kompute, *http.Response, error)

Execute executes the request

@return Kompute

func (*ProjectAPIService) CreateProjectZoneKonvey

func (a *ProjectAPIService) CreateProjectZoneKonvey(ctx context.Context, projectId string, zoneId string) ApiCreateProjectZoneKonveyRequest

CreateProjectZoneKonvey Method for CreateProjectZoneKonvey

Creates a new Konvey (Kowabunga Network Load-Balancer).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param zoneId The ID of the availability zone.
@return ApiCreateProjectZoneKonveyRequest

func (*ProjectAPIService) CreateProjectZoneKonveyExecute

func (a *ProjectAPIService) CreateProjectZoneKonveyExecute(r ApiCreateProjectZoneKonveyRequest) (*Konvey, *http.Response, error)

Execute executes the request

@return Konvey

func (*ProjectAPIService) DeleteProject

func (a *ProjectAPIService) DeleteProject(ctx context.Context, projectId string) ApiDeleteProjectRequest

DeleteProject Method for DeleteProject

Deletes an existing project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiDeleteProjectRequest

func (*ProjectAPIService) DeleteProjectExecute

func (a *ProjectAPIService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)

Execute executes the request

func (*ProjectAPIService) ListProjectDnsRecords

func (a *ProjectAPIService) ListProjectDnsRecords(ctx context.Context, projectId string) ApiListProjectDnsRecordsRequest

ListProjectDnsRecords Method for ListProjectDnsRecords

Returns the IDs of DNS record objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiListProjectDnsRecordsRequest

func (*ProjectAPIService) ListProjectDnsRecordsExecute

func (a *ProjectAPIService) ListProjectDnsRecordsExecute(r ApiListProjectDnsRecordsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectRegionKawaiis

func (a *ProjectAPIService) ListProjectRegionKawaiis(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKawaiisRequest

ListProjectRegionKawaiis Method for ListProjectRegionKawaiis

Returns the IDs of Kawaii objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiListProjectRegionKawaiisRequest

func (*ProjectAPIService) ListProjectRegionKawaiisExecute

func (a *ProjectAPIService) ListProjectRegionKawaiisExecute(r ApiListProjectRegionKawaiisRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectRegionKonveys

func (a *ProjectAPIService) ListProjectRegionKonveys(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKonveysRequest

ListProjectRegionKonveys Method for ListProjectRegionKonveys

Returns the IDs of Konvey (Kowabunga Network Load-Balancer) objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiListProjectRegionKonveysRequest

func (*ProjectAPIService) ListProjectRegionKonveysExecute

func (a *ProjectAPIService) ListProjectRegionKonveysExecute(r ApiListProjectRegionKonveysRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectRegionKylos

func (a *ProjectAPIService) ListProjectRegionKylos(ctx context.Context, projectId string, regionId string) ApiListProjectRegionKylosRequest

ListProjectRegionKylos Method for ListProjectRegionKylos

Returns the IDs of Kylo objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiListProjectRegionKylosRequest

func (*ProjectAPIService) ListProjectRegionKylosExecute

func (a *ProjectAPIService) ListProjectRegionKylosExecute(r ApiListProjectRegionKylosRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectRegionVolumes

func (a *ProjectAPIService) ListProjectRegionVolumes(ctx context.Context, projectId string, regionId string) ApiListProjectRegionVolumesRequest

ListProjectRegionVolumes Method for ListProjectRegionVolumes

Returns the IDs of storage volume objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param regionId The ID of the region.
@return ApiListProjectRegionVolumesRequest

func (*ProjectAPIService) ListProjectRegionVolumesExecute

func (a *ProjectAPIService) ListProjectRegionVolumesExecute(r ApiListProjectRegionVolumesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectZoneInstances

func (a *ProjectAPIService) ListProjectZoneInstances(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneInstancesRequest

ListProjectZoneInstances Method for ListProjectZoneInstances

Returns the IDs of virtual machine instance objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param zoneId The ID of the availability zone.
@return ApiListProjectZoneInstancesRequest

func (*ProjectAPIService) ListProjectZoneInstancesExecute

func (a *ProjectAPIService) ListProjectZoneInstancesExecute(r ApiListProjectZoneInstancesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectZoneKomputes

func (a *ProjectAPIService) ListProjectZoneKomputes(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneKomputesRequest

ListProjectZoneKomputes Method for ListProjectZoneKomputes

Returns the IDs of Kompute objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param zoneId The ID of the availability zone.
@return ApiListProjectZoneKomputesRequest

func (*ProjectAPIService) ListProjectZoneKomputesExecute

func (a *ProjectAPIService) ListProjectZoneKomputesExecute(r ApiListProjectZoneKomputesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjectZoneKonveys

func (a *ProjectAPIService) ListProjectZoneKonveys(ctx context.Context, projectId string, zoneId string) ApiListProjectZoneKonveysRequest

ListProjectZoneKonveys Method for ListProjectZoneKonveys

Returns the IDs of Konvey (Kowabunga Network Load-Balancer) objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param zoneId The ID of the availability zone.
@return ApiListProjectZoneKonveysRequest

func (*ProjectAPIService) ListProjectZoneKonveysExecute

func (a *ProjectAPIService) ListProjectZoneKonveysExecute(r ApiListProjectZoneKonveysRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ListProjects

ListProjects Method for ListProjects

Returns the IDs of project objects.

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

func (*ProjectAPIService) ListProjectsExecute

func (a *ProjectAPIService) ListProjectsExecute(r ApiListProjectsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ProjectAPIService) ReadProject

func (a *ProjectAPIService) ReadProject(ctx context.Context, projectId string) ApiReadProjectRequest

ReadProject Method for ReadProject

Returns a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiReadProjectRequest

func (*ProjectAPIService) ReadProjectCost

func (a *ProjectAPIService) ReadProjectCost(ctx context.Context, projectId string) ApiReadProjectCostRequest

ReadProjectCost Method for ReadProjectCost

Returns a resource cost.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiReadProjectCostRequest

func (*ProjectAPIService) ReadProjectCostExecute

func (a *ProjectAPIService) ReadProjectCostExecute(r ApiReadProjectCostRequest) (*Cost, *http.Response, error)

Execute executes the request

@return Cost

func (*ProjectAPIService) ReadProjectExecute

func (a *ProjectAPIService) ReadProjectExecute(r ApiReadProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectAPIService) ReadProjectUsage

func (a *ProjectAPIService) ReadProjectUsage(ctx context.Context, projectId string) ApiReadProjectUsageRequest

ReadProjectUsage Method for ReadProjectUsage

Returns a global project resource quotas/usage (0 for unlimited).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiReadProjectUsageRequest

func (*ProjectAPIService) ReadProjectUsageExecute

Execute executes the request

@return ProjectResources

func (*ProjectAPIService) UpdateProject

func (a *ProjectAPIService) UpdateProject(ctx context.Context, projectId string) ApiUpdateProjectRequest

UpdateProject Method for UpdateProject

Updates a project configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiUpdateProjectRequest

func (*ProjectAPIService) UpdateProjectExecute

func (a *ProjectAPIService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

type ProjectResources

type ProjectResources struct {
	// The maximum total number of vCPUs allowed to be consumed by sum of all instances.
	Vcpus *int32 `json:"vcpus,omitempty"`
	// The maximum total memory (in bytes) allowed to be consumed by sum of all instances.
	Memory *int64 `json:"memory,omitempty"`
	// The maximum total disk capacity allowed to be consumed by sum of all instances.
	Storage *int64 `json:"storage,omitempty"`
	// The maximum number of instances allowed to be spawned.
	Instances *int32 `json:"instances,omitempty"`
}

ProjectResources A global project resource quotas/usage (0 for unlimited).

func NewProjectResources

func NewProjectResources() *ProjectResources

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

func NewProjectResourcesWithDefaults

func NewProjectResourcesWithDefaults() *ProjectResources

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

func (*ProjectResources) GetInstances

func (o *ProjectResources) GetInstances() int32

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

func (*ProjectResources) GetInstancesOk

func (o *ProjectResources) GetInstancesOk() (*int32, bool)

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

func (*ProjectResources) GetMemory

func (o *ProjectResources) GetMemory() int64

GetMemory returns the Memory field value if set, zero value otherwise.

func (*ProjectResources) GetMemoryOk

func (o *ProjectResources) GetMemoryOk() (*int64, 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 (*ProjectResources) GetStorage

func (o *ProjectResources) GetStorage() int64

GetStorage returns the Storage field value if set, zero value otherwise.

func (*ProjectResources) GetStorageOk

func (o *ProjectResources) GetStorageOk() (*int64, bool)

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

func (*ProjectResources) GetVcpus

func (o *ProjectResources) GetVcpus() int32

GetVcpus returns the Vcpus field value if set, zero value otherwise.

func (*ProjectResources) GetVcpusOk

func (o *ProjectResources) 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 (*ProjectResources) HasInstances

func (o *ProjectResources) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*ProjectResources) HasMemory

func (o *ProjectResources) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*ProjectResources) HasStorage

func (o *ProjectResources) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*ProjectResources) HasVcpus

func (o *ProjectResources) HasVcpus() bool

HasVcpus returns a boolean if a field has been set.

func (ProjectResources) MarshalJSON

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

func (*ProjectResources) SetInstances

func (o *ProjectResources) SetInstances(v int32)

SetInstances gets a reference to the given int32 and assigns it to the Instances field.

func (*ProjectResources) SetMemory

func (o *ProjectResources) SetMemory(v int64)

SetMemory gets a reference to the given int64 and assigns it to the Memory field.

func (*ProjectResources) SetStorage

func (o *ProjectResources) SetStorage(v int64)

SetStorage gets a reference to the given int64 and assigns it to the Storage field.

func (*ProjectResources) SetVcpus

func (o *ProjectResources) SetVcpus(v int32)

SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.

func (ProjectResources) ToMap

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

type RecordAPIService

type RecordAPIService service

RecordAPIService RecordAPI service

func (*RecordAPIService) DeleteDnsRecord

func (a *RecordAPIService) DeleteDnsRecord(ctx context.Context, recordId string) ApiDeleteDnsRecordRequest

DeleteDnsRecord Method for DeleteDnsRecord

Deletes an existing DNS record.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param recordId The ID of the DNS record.
@return ApiDeleteDnsRecordRequest

func (*RecordAPIService) DeleteDnsRecordExecute

func (a *RecordAPIService) DeleteDnsRecordExecute(r ApiDeleteDnsRecordRequest) (*http.Response, error)

Execute executes the request

func (*RecordAPIService) ReadDnsRecord

func (a *RecordAPIService) ReadDnsRecord(ctx context.Context, recordId string) ApiReadDnsRecordRequest

ReadDnsRecord Method for ReadDnsRecord

Returns a DNS record.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param recordId The ID of the DNS record.
@return ApiReadDnsRecordRequest

func (*RecordAPIService) ReadDnsRecordExecute

func (a *RecordAPIService) ReadDnsRecordExecute(r ApiReadDnsRecordRequest) (*DnsRecord, *http.Response, error)

Execute executes the request

@return DnsRecord

func (*RecordAPIService) UpdateDnsRecord

func (a *RecordAPIService) UpdateDnsRecord(ctx context.Context, recordId string) ApiUpdateDnsRecordRequest

UpdateDnsRecord Method for UpdateDnsRecord

Updates a DNS record configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param recordId The ID of the DNS record.
@return ApiUpdateDnsRecordRequest

func (*RecordAPIService) UpdateDnsRecordExecute

func (a *RecordAPIService) UpdateDnsRecordExecute(r ApiUpdateDnsRecordRequest) (*DnsRecord, *http.Response, error)

Execute executes the request

@return DnsRecord

type Region

type Region struct {
	// The region ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The region name.
	Name string `json:"name"`
	// The region description.
	Description *string `json:"description,omitempty"`
}

Region A region.

func NewRegion

func NewRegion(name string) *Region

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

func NewRegionWithDefaults

func NewRegionWithDefaults() *Region

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

func (*Region) GetDescription

func (o *Region) GetDescription() string

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

func (*Region) GetDescriptionOk

func (o *Region) 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 (*Region) GetId

func (o *Region) GetId() string

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

func (*Region) GetIdOk

func (o *Region) 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 (*Region) GetName

func (o *Region) GetName() string

GetName returns the Name field value

func (*Region) GetNameOk

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

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

func (*Region) HasDescription

func (o *Region) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Region) HasId

func (o *Region) HasId() bool

HasId returns a boolean if a field has been set.

func (Region) MarshalJSON

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

func (*Region) SetDescription

func (o *Region) SetDescription(v string)

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

func (*Region) SetId

func (o *Region) SetId(v string)

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

func (*Region) SetName

func (o *Region) SetName(v string)

SetName sets field value

func (Region) ToMap

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

func (*Region) UnmarshalJSON

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

type RegionAPIService

type RegionAPIService service

RegionAPIService RegionAPI service

func (*RegionAPIService) CreateKiwi

func (a *RegionAPIService) CreateKiwi(ctx context.Context, regionId string) ApiCreateKiwiRequest

CreateKiwi Method for CreateKiwi

Creates a new Kiwi (Kowabunga Inner Wan Interface) provides edge-network services..

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiCreateKiwiRequest

func (*RegionAPIService) CreateKiwiExecute

func (a *RegionAPIService) CreateKiwiExecute(r ApiCreateKiwiRequest) (*Kiwi, *http.Response, error)

Execute executes the request

@return Kiwi

func (*RegionAPIService) CreateRegion

CreateRegion Method for CreateRegion

Creates a new region.

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

func (*RegionAPIService) CreateRegionExecute

func (a *RegionAPIService) CreateRegionExecute(r ApiCreateRegionRequest) (*Region, *http.Response, error)

Execute executes the request

@return Region

func (*RegionAPIService) CreateStorageNFS

func (a *RegionAPIService) CreateStorageNFS(ctx context.Context, regionId string) ApiCreateStorageNFSRequest

CreateStorageNFS Method for CreateStorageNFS

Creates a new NFS storage.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiCreateStorageNFSRequest

func (*RegionAPIService) CreateStorageNFSExecute

func (a *RegionAPIService) CreateStorageNFSExecute(r ApiCreateStorageNFSRequest) (*StorageNFS, *http.Response, error)

Execute executes the request

@return StorageNFS

func (*RegionAPIService) CreateStoragePool

func (a *RegionAPIService) CreateStoragePool(ctx context.Context, regionId string) ApiCreateStoragePoolRequest

CreateStoragePool Method for CreateStoragePool

Creates a new storage pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiCreateStoragePoolRequest

func (*RegionAPIService) CreateStoragePoolExecute

func (a *RegionAPIService) CreateStoragePoolExecute(r ApiCreateStoragePoolRequest) (*StoragePool, *http.Response, error)

Execute executes the request

@return StoragePool

func (*RegionAPIService) CreateVNet

func (a *RegionAPIService) CreateVNet(ctx context.Context, regionId string) ApiCreateVNetRequest

CreateVNet Method for CreateVNet

Creates a new virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiCreateVNetRequest

func (*RegionAPIService) CreateVNetExecute

func (a *RegionAPIService) CreateVNetExecute(r ApiCreateVNetRequest) (*VNet, *http.Response, error)

Execute executes the request

@return VNet

func (*RegionAPIService) CreateZone

func (a *RegionAPIService) CreateZone(ctx context.Context, regionId string) ApiCreateZoneRequest

CreateZone Method for CreateZone

Creates a new availability zone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiCreateZoneRequest

func (*RegionAPIService) CreateZoneExecute

func (a *RegionAPIService) CreateZoneExecute(r ApiCreateZoneRequest) (*Zone, *http.Response, error)

Execute executes the request

@return Zone

func (*RegionAPIService) DeleteRegion

func (a *RegionAPIService) DeleteRegion(ctx context.Context, regionId string) ApiDeleteRegionRequest

DeleteRegion Method for DeleteRegion

Deletes an existing region.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiDeleteRegionRequest

func (*RegionAPIService) DeleteRegionExecute

func (a *RegionAPIService) DeleteRegionExecute(r ApiDeleteRegionRequest) (*http.Response, error)

Execute executes the request

func (*RegionAPIService) ListRegionKiwis

func (a *RegionAPIService) ListRegionKiwis(ctx context.Context, regionId string) ApiListRegionKiwisRequest

ListRegionKiwis Method for ListRegionKiwis

Returns the IDs of Kiwi (Kowabunga Inner Wan Interface) provides edge-network services. objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiListRegionKiwisRequest

func (*RegionAPIService) ListRegionKiwisExecute

func (a *RegionAPIService) ListRegionKiwisExecute(r ApiListRegionKiwisRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*RegionAPIService) ListRegionStorageNFSs

func (a *RegionAPIService) ListRegionStorageNFSs(ctx context.Context, regionId string) ApiListRegionStorageNFSsRequest

ListRegionStorageNFSs Method for ListRegionStorageNFSs

Returns the IDs of NFS storage objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiListRegionStorageNFSsRequest

func (*RegionAPIService) ListRegionStorageNFSsExecute

func (a *RegionAPIService) ListRegionStorageNFSsExecute(r ApiListRegionStorageNFSsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*RegionAPIService) ListRegionStoragePools

func (a *RegionAPIService) ListRegionStoragePools(ctx context.Context, regionId string) ApiListRegionStoragePoolsRequest

ListRegionStoragePools Method for ListRegionStoragePools

Returns the IDs of storage pool objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiListRegionStoragePoolsRequest

func (*RegionAPIService) ListRegionStoragePoolsExecute

func (a *RegionAPIService) ListRegionStoragePoolsExecute(r ApiListRegionStoragePoolsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*RegionAPIService) ListRegionVNets

func (a *RegionAPIService) ListRegionVNets(ctx context.Context, regionId string) ApiListRegionVNetsRequest

ListRegionVNets Method for ListRegionVNets

Returns the IDs of virtual network objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiListRegionVNetsRequest

func (*RegionAPIService) ListRegionVNetsExecute

func (a *RegionAPIService) ListRegionVNetsExecute(r ApiListRegionVNetsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*RegionAPIService) ListRegionZones

func (a *RegionAPIService) ListRegionZones(ctx context.Context, regionId string) ApiListRegionZonesRequest

ListRegionZones Method for ListRegionZones

Returns the IDs of availability zone objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiListRegionZonesRequest

func (*RegionAPIService) ListRegionZonesExecute

func (a *RegionAPIService) ListRegionZonesExecute(r ApiListRegionZonesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*RegionAPIService) ListRegions

ListRegions Method for ListRegions

Returns the IDs of region objects.

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

func (*RegionAPIService) ListRegionsExecute

func (a *RegionAPIService) ListRegionsExecute(r ApiListRegionsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*RegionAPIService) ReadRegion

func (a *RegionAPIService) ReadRegion(ctx context.Context, regionId string) ApiReadRegionRequest

ReadRegion Method for ReadRegion

Returns a region.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiReadRegionRequest

func (*RegionAPIService) ReadRegionExecute

func (a *RegionAPIService) ReadRegionExecute(r ApiReadRegionRequest) (*Region, *http.Response, error)

Execute executes the request

@return Region

func (*RegionAPIService) SetRegionDefaultStorageNFS

func (a *RegionAPIService) SetRegionDefaultStorageNFS(ctx context.Context, regionId string, nfsId string) ApiSetRegionDefaultStorageNFSRequest

SetRegionDefaultStorageNFS Method for SetRegionDefaultStorageNFS

Performs a region setting of default NFS storage.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@param nfsId The ID of the NFS storage.
@return ApiSetRegionDefaultStorageNFSRequest

func (*RegionAPIService) SetRegionDefaultStorageNFSExecute

func (a *RegionAPIService) SetRegionDefaultStorageNFSExecute(r ApiSetRegionDefaultStorageNFSRequest) (*http.Response, error)

Execute executes the request

func (*RegionAPIService) SetRegionDefaultStoragePool

func (a *RegionAPIService) SetRegionDefaultStoragePool(ctx context.Context, regionId string, poolId string) ApiSetRegionDefaultStoragePoolRequest

SetRegionDefaultStoragePool Method for SetRegionDefaultStoragePool

Performs a region setting of default storage pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@param poolId The ID of the storage pool.
@return ApiSetRegionDefaultStoragePoolRequest

func (*RegionAPIService) SetRegionDefaultStoragePoolExecute

func (a *RegionAPIService) SetRegionDefaultStoragePoolExecute(r ApiSetRegionDefaultStoragePoolRequest) (*http.Response, error)

Execute executes the request

func (*RegionAPIService) UpdateRegion

func (a *RegionAPIService) UpdateRegion(ctx context.Context, regionId string) ApiUpdateRegionRequest

UpdateRegion Method for UpdateRegion

Updates a region configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The ID of the region.
@return ApiUpdateRegionRequest

func (*RegionAPIService) UpdateRegionExecute

func (a *RegionAPIService) UpdateRegionExecute(r ApiUpdateRegionRequest) (*Region, *http.Response, error)

Execute executes the request

@return Region

type RegionSubnet

type RegionSubnet struct {
	// The region key.
	Key *string `json:"key,omitempty"`
	// The subnet ID.
	Value *string `json:"value,omitempty"`
}

RegionSubnet A region/subnet map.

func NewRegionSubnet

func NewRegionSubnet() *RegionSubnet

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

func NewRegionSubnetWithDefaults

func NewRegionSubnetWithDefaults() *RegionSubnet

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

func (*RegionSubnet) GetKey

func (o *RegionSubnet) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*RegionSubnet) GetKeyOk

func (o *RegionSubnet) GetKeyOk() (*string, bool)

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

func (*RegionSubnet) GetValue

func (o *RegionSubnet) GetValue() string

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

func (*RegionSubnet) GetValueOk

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

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

func (*RegionSubnet) HasKey

func (o *RegionSubnet) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*RegionSubnet) HasValue

func (o *RegionSubnet) HasValue() bool

HasValue returns a boolean if a field has been set.

func (RegionSubnet) MarshalJSON

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

func (*RegionSubnet) SetKey

func (o *RegionSubnet) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*RegionSubnet) SetValue

func (o *RegionSubnet) SetValue(v string)

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

func (RegionSubnet) ToMap

func (o RegionSubnet) 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 ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StorageNFS

type StorageNFS struct {
	// The NFS storage ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The NFS storage name.
	Name string `json:"name"`
	// The NFS storage description.
	Description *string `json:"description,omitempty"`
	// The associated NFS endpoint FQDN.
	Endpoint string `json:"endpoint"`
	// The underlying associated Ceph volume name.
	Fs *string `json:"fs,omitempty"`
	// List of NFS Ganesha API server IP addresses.
	Backends []string `json:"backends,omitempty"`
	// NFS Ganesha API server port (default 54934).
	Port *int64 `json:"port,omitempty"`
}

StorageNFS A NFS storage.

func NewStorageNFS

func NewStorageNFS(name string, endpoint string) *StorageNFS

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

func NewStorageNFSWithDefaults

func NewStorageNFSWithDefaults() *StorageNFS

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

func (*StorageNFS) GetBackends

func (o *StorageNFS) GetBackends() []string

GetBackends returns the Backends field value if set, zero value otherwise.

func (*StorageNFS) GetBackendsOk

func (o *StorageNFS) GetBackendsOk() ([]string, bool)

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

func (*StorageNFS) GetDescription

func (o *StorageNFS) GetDescription() string

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

func (*StorageNFS) GetDescriptionOk

func (o *StorageNFS) 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 (*StorageNFS) GetEndpoint

func (o *StorageNFS) GetEndpoint() string

GetEndpoint returns the Endpoint field value

func (*StorageNFS) GetEndpointOk

func (o *StorageNFS) GetEndpointOk() (*string, bool)

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

func (*StorageNFS) GetFs

func (o *StorageNFS) GetFs() string

GetFs returns the Fs field value if set, zero value otherwise.

func (*StorageNFS) GetFsOk

func (o *StorageNFS) GetFsOk() (*string, bool)

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

func (*StorageNFS) GetId

func (o *StorageNFS) GetId() string

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

func (*StorageNFS) GetIdOk

func (o *StorageNFS) 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 (*StorageNFS) GetName

func (o *StorageNFS) GetName() string

GetName returns the Name field value

func (*StorageNFS) GetNameOk

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

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

func (*StorageNFS) GetPort

func (o *StorageNFS) GetPort() int64

GetPort returns the Port field value if set, zero value otherwise.

func (*StorageNFS) GetPortOk

func (o *StorageNFS) GetPortOk() (*int64, bool)

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

func (*StorageNFS) HasBackends

func (o *StorageNFS) HasBackends() bool

HasBackends returns a boolean if a field has been set.

func (*StorageNFS) HasDescription

func (o *StorageNFS) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StorageNFS) HasFs

func (o *StorageNFS) HasFs() bool

HasFs returns a boolean if a field has been set.

func (*StorageNFS) HasId

func (o *StorageNFS) HasId() bool

HasId returns a boolean if a field has been set.

func (*StorageNFS) HasPort

func (o *StorageNFS) HasPort() bool

HasPort returns a boolean if a field has been set.

func (StorageNFS) MarshalJSON

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

func (*StorageNFS) SetBackends

func (o *StorageNFS) SetBackends(v []string)

SetBackends gets a reference to the given []string and assigns it to the Backends field.

func (*StorageNFS) SetDescription

func (o *StorageNFS) SetDescription(v string)

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

func (*StorageNFS) SetEndpoint

func (o *StorageNFS) SetEndpoint(v string)

SetEndpoint sets field value

func (*StorageNFS) SetFs

func (o *StorageNFS) SetFs(v string)

SetFs gets a reference to the given string and assigns it to the Fs field.

func (*StorageNFS) SetId

func (o *StorageNFS) SetId(v string)

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

func (*StorageNFS) SetName

func (o *StorageNFS) SetName(v string)

SetName sets field value

func (*StorageNFS) SetPort

func (o *StorageNFS) SetPort(v int64)

SetPort gets a reference to the given int64 and assigns it to the Port field.

func (StorageNFS) ToMap

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

func (*StorageNFS) UnmarshalJSON

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

type StoragePool

type StoragePool struct {
	// The storage pool ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The storage pool name.
	Name string `json:"name"`
	// The storage pool description.
	Description *string `json:"description,omitempty"`
	// Ceph pool name.
	Pool string `json:"pool"`
	// Ceph Monitor(s) address or FQDN.
	CephAddress *string `json:"ceph_address,omitempty"`
	// Ceph Monitor(s) port (default 3300).
	CephPort *int64 `json:"ceph_port,omitempty"`
	// The libvirt secret UUID for CephX authentication.
	CephSecretUuid *string `json:"ceph_secret_uuid,omitempty"`
	// Cost associated to the storage pool.
	Cost Cost `json:"cost,omitempty"`
	// a list of existing remote agents managing the storage pool.
	Agents []string `json:"agents"`
}

StoragePool A storage pool.

func NewStoragePool

func NewStoragePool(name string, pool string, agents []string) *StoragePool

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

func NewStoragePoolWithDefaults

func NewStoragePoolWithDefaults() *StoragePool

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

func (*StoragePool) GetAgents

func (o *StoragePool) GetAgents() []string

GetAgents returns the Agents field value

func (*StoragePool) GetAgentsOk

func (o *StoragePool) GetAgentsOk() ([]string, bool)

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

func (*StoragePool) GetCephAddress

func (o *StoragePool) GetCephAddress() string

GetCephAddress returns the CephAddress field value if set, zero value otherwise.

func (*StoragePool) GetCephAddressOk

func (o *StoragePool) GetCephAddressOk() (*string, bool)

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

func (*StoragePool) GetCephPort

func (o *StoragePool) GetCephPort() int64

GetCephPort returns the CephPort field value if set, zero value otherwise.

func (*StoragePool) GetCephPortOk

func (o *StoragePool) GetCephPortOk() (*int64, bool)

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

func (*StoragePool) GetCephSecretUuid

func (o *StoragePool) GetCephSecretUuid() string

GetCephSecretUuid returns the CephSecretUuid field value if set, zero value otherwise.

func (*StoragePool) GetCephSecretUuidOk

func (o *StoragePool) GetCephSecretUuidOk() (*string, bool)

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

func (*StoragePool) GetCost

func (o *StoragePool) GetCost() Cost

GetCost returns the Cost field value if set, zero value otherwise.

func (*StoragePool) GetCostOk

func (o *StoragePool) GetCostOk() (Cost, bool)

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

func (*StoragePool) GetDescription

func (o *StoragePool) GetDescription() string

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

func (*StoragePool) GetDescriptionOk

func (o *StoragePool) 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 (*StoragePool) GetId

func (o *StoragePool) GetId() string

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

func (*StoragePool) GetIdOk

func (o *StoragePool) 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 (*StoragePool) GetName

func (o *StoragePool) GetName() string

GetName returns the Name field value

func (*StoragePool) GetNameOk

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

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

func (*StoragePool) GetPool

func (o *StoragePool) GetPool() string

GetPool returns the Pool field value

func (*StoragePool) GetPoolOk

func (o *StoragePool) GetPoolOk() (*string, bool)

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

func (*StoragePool) HasCephAddress

func (o *StoragePool) HasCephAddress() bool

HasCephAddress returns a boolean if a field has been set.

func (*StoragePool) HasCephPort

func (o *StoragePool) HasCephPort() bool

HasCephPort returns a boolean if a field has been set.

func (*StoragePool) HasCephSecretUuid

func (o *StoragePool) HasCephSecretUuid() bool

HasCephSecretUuid returns a boolean if a field has been set.

func (*StoragePool) HasCost

func (o *StoragePool) HasCost() bool

HasCost returns a boolean if a field has been set.

func (*StoragePool) HasDescription

func (o *StoragePool) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StoragePool) HasId

func (o *StoragePool) HasId() bool

HasId returns a boolean if a field has been set.

func (StoragePool) MarshalJSON

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

func (*StoragePool) SetAgents

func (o *StoragePool) SetAgents(v []string)

SetAgents sets field value

func (*StoragePool) SetCephAddress

func (o *StoragePool) SetCephAddress(v string)

SetCephAddress gets a reference to the given string and assigns it to the CephAddress field.

func (*StoragePool) SetCephPort

func (o *StoragePool) SetCephPort(v int64)

SetCephPort gets a reference to the given int64 and assigns it to the CephPort field.

func (*StoragePool) SetCephSecretUuid

func (o *StoragePool) SetCephSecretUuid(v string)

SetCephSecretUuid gets a reference to the given string and assigns it to the CephSecretUuid field.

func (*StoragePool) SetCost

func (o *StoragePool) SetCost(v Cost)

SetCost gets a reference to the given Cost and assigns it to the Cost field.

func (*StoragePool) SetDescription

func (o *StoragePool) SetDescription(v string)

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

func (*StoragePool) SetId

func (o *StoragePool) SetId(v string)

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

func (*StoragePool) SetName

func (o *StoragePool) SetName(v string)

SetName sets field value

func (*StoragePool) SetPool

func (o *StoragePool) SetPool(v string)

SetPool sets field value

func (StoragePool) ToMap

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

func (*StoragePool) UnmarshalJSON

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

type Subnet

type Subnet struct {
	// The network subnet ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The network subnet name.
	Name string `json:"name"`
	// The network subnet description.
	Description *string `json:"description,omitempty"`
	// The network subnet CIDR (e.g. 192.168.0.0/24).
	Cidr string `json:"cidr"`
	// The network subnet router/gateway IP address (e.g. 192.168.0.254).
	Gateway string `json:"gateway"`
	// The network subnet DNS server IP address (gateway value if unspecified).
	Dns *string `json:"dns,omitempty"`
	// The list of extra routes to be access through designated gateway (format is 10.0.0.0/8).
	ExtraRoutes []string `json:"extra_routes,omitempty"`
	// The network subnet reserved IPv4 ranges (i.e. no IP address can be assigned from there).
	Reserved []IpRange `json:"reserved,omitempty"`
	// The network subnet IPv4 ranges reserved for per-zone local network gateways (range size must be at least equal to region number of zones).
	GwPool []IpRange `json:"gw_pool,omitempty"`
	// Optional application service type.
	Application *string `json:"application,omitempty"`
}

Subnet A network subnet.

func NewSubnet

func NewSubnet(name string, cidr string, gateway string) *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) GetApplication

func (o *Subnet) GetApplication() string

GetApplication returns the Application field value if set, zero value otherwise.

func (*Subnet) GetApplicationOk

func (o *Subnet) GetApplicationOk() (*string, bool)

GetApplicationOk returns a tuple with the Application 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

func (*Subnet) GetCidrOk

func (o *Subnet) GetCidrOk() (*string, bool)

GetCidrOk returns a tuple with the Cidr field value 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) GetDns

func (o *Subnet) GetDns() string

GetDns returns the Dns field value if set, zero value otherwise.

func (*Subnet) GetDnsOk

func (o *Subnet) GetDnsOk() (*string, bool)

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

func (*Subnet) GetExtraRoutes

func (o *Subnet) GetExtraRoutes() []string

GetExtraRoutes returns the ExtraRoutes field value if set, zero value otherwise.

func (*Subnet) GetExtraRoutesOk

func (o *Subnet) GetExtraRoutesOk() ([]string, bool)

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

func (*Subnet) GetGateway

func (o *Subnet) GetGateway() string

GetGateway returns the Gateway field value

func (*Subnet) GetGatewayOk

func (o *Subnet) GetGatewayOk() (*string, bool)

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

func (*Subnet) GetGwPool

func (o *Subnet) GetGwPool() []IpRange

GetGwPool returns the GwPool field value if set, zero value otherwise.

func (*Subnet) GetGwPoolOk

func (o *Subnet) GetGwPoolOk() ([]IpRange, bool)

GetGwPoolOk returns a tuple with the GwPool 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) GetName

func (o *Subnet) GetName() string

GetName returns the Name field value

func (*Subnet) GetNameOk

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

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

func (*Subnet) GetReserved

func (o *Subnet) GetReserved() []IpRange

GetReserved returns the Reserved field value if set, zero value otherwise.

func (*Subnet) GetReservedOk

func (o *Subnet) GetReservedOk() ([]IpRange, bool)

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

func (*Subnet) HasApplication

func (o *Subnet) HasApplication() bool

HasApplication 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) HasDns

func (o *Subnet) HasDns() bool

HasDns returns a boolean if a field has been set.

func (*Subnet) HasExtraRoutes

func (o *Subnet) HasExtraRoutes() bool

HasExtraRoutes returns a boolean if a field has been set.

func (*Subnet) HasGwPool

func (o *Subnet) HasGwPool() bool

HasGwPool 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) HasReserved

func (o *Subnet) HasReserved() bool

HasReserved returns a boolean if a field has been set.

func (Subnet) MarshalJSON

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

func (*Subnet) SetApplication

func (o *Subnet) SetApplication(v string)

SetApplication gets a reference to the given string and assigns it to the Application field.

func (*Subnet) SetCidr

func (o *Subnet) SetCidr(v string)

SetCidr sets field value

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

func (o *Subnet) SetDns(v string)

SetDns gets a reference to the given string and assigns it to the Dns field.

func (*Subnet) SetExtraRoutes

func (o *Subnet) SetExtraRoutes(v []string)

SetExtraRoutes gets a reference to the given []string and assigns it to the ExtraRoutes field.

func (*Subnet) SetGateway

func (o *Subnet) SetGateway(v string)

SetGateway sets field value

func (*Subnet) SetGwPool

func (o *Subnet) SetGwPool(v []IpRange)

SetGwPool gets a reference to the given []IpRange and assigns it to the GwPool 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) SetName

func (o *Subnet) SetName(v string)

SetName sets field value

func (*Subnet) SetReserved

func (o *Subnet) SetReserved(v []IpRange)

SetReserved gets a reference to the given []IpRange and assigns it to the Reserved field.

func (Subnet) ToMap

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

func (*Subnet) UnmarshalJSON

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

type SubnetAPIService

type SubnetAPIService service

SubnetAPIService SubnetAPI service

func (*SubnetAPIService) CreateAdapter

func (a *SubnetAPIService) CreateAdapter(ctx context.Context, subnetId string) ApiCreateAdapterRequest

CreateAdapter Method for CreateAdapter

Creates a new network adapter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subnetId The ID of the network subnet.
@return ApiCreateAdapterRequest

func (*SubnetAPIService) CreateAdapterExecute

func (a *SubnetAPIService) CreateAdapterExecute(r ApiCreateAdapterRequest) (*Adapter, *http.Response, error)

Execute executes the request

@return Adapter

func (*SubnetAPIService) DeleteSubnet

func (a *SubnetAPIService) DeleteSubnet(ctx context.Context, subnetId string) ApiDeleteSubnetRequest

DeleteSubnet Method for DeleteSubnet

Deletes an existing network subnet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subnetId The ID of the network subnet.
@return ApiDeleteSubnetRequest

func (*SubnetAPIService) DeleteSubnetExecute

func (a *SubnetAPIService) DeleteSubnetExecute(r ApiDeleteSubnetRequest) (*http.Response, error)

Execute executes the request

func (*SubnetAPIService) ListSubnetAdapters

func (a *SubnetAPIService) ListSubnetAdapters(ctx context.Context, subnetId string) ApiListSubnetAdaptersRequest

ListSubnetAdapters Method for ListSubnetAdapters

Returns the IDs of network adapter objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subnetId The ID of the network subnet.
@return ApiListSubnetAdaptersRequest

func (*SubnetAPIService) ListSubnetAdaptersExecute

func (a *SubnetAPIService) ListSubnetAdaptersExecute(r ApiListSubnetAdaptersRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*SubnetAPIService) ListSubnets

ListSubnets Method for ListSubnets

Returns the IDs of network subnet objects.

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

func (*SubnetAPIService) ListSubnetsExecute

func (a *SubnetAPIService) ListSubnetsExecute(r ApiListSubnetsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*SubnetAPIService) ReadSubnet

func (a *SubnetAPIService) ReadSubnet(ctx context.Context, subnetId string) ApiReadSubnetRequest

ReadSubnet Method for ReadSubnet

Returns a network subnet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subnetId The ID of the network subnet.
@return ApiReadSubnetRequest

func (*SubnetAPIService) ReadSubnetExecute

func (a *SubnetAPIService) ReadSubnetExecute(r ApiReadSubnetRequest) (*Subnet, *http.Response, error)

Execute executes the request

@return Subnet

func (*SubnetAPIService) UpdateSubnet

func (a *SubnetAPIService) UpdateSubnet(ctx context.Context, subnetId string) ApiUpdateSubnetRequest

UpdateSubnet Method for UpdateSubnet

Updates a network subnet configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subnetId The ID of the network subnet.
@return ApiUpdateSubnetRequest

func (*SubnetAPIService) UpdateSubnetExecute

func (a *SubnetAPIService) UpdateSubnetExecute(r ApiUpdateSubnetRequest) (*Subnet, *http.Response, error)

Execute executes the request

@return Subnet

type Team

type Team struct {
	// The Kowabunga users team ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kowabunga users team name.
	Name string `json:"name"`
	// The Kowabunga users team description.
	Description *string `json:"description,omitempty"`
	// List of user IDs that are part of the team.
	Users []string `json:"users"`
}

Team A Kowabunga users team.

func NewTeam

func NewTeam(name string, users []string) *Team

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

func NewTeamWithDefaults

func NewTeamWithDefaults() *Team

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

func (*Team) GetDescription

func (o *Team) GetDescription() string

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

func (*Team) GetDescriptionOk

func (o *Team) 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 (*Team) GetId

func (o *Team) GetId() string

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

func (*Team) GetIdOk

func (o *Team) 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 (*Team) GetName

func (o *Team) GetName() string

GetName returns the Name field value

func (*Team) GetNameOk

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

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

func (*Team) GetUsers

func (o *Team) GetUsers() []string

GetUsers returns the Users field value

func (*Team) GetUsersOk

func (o *Team) GetUsersOk() ([]string, bool)

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

func (*Team) HasDescription

func (o *Team) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Team) HasId

func (o *Team) HasId() bool

HasId returns a boolean if a field has been set.

func (Team) MarshalJSON

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

func (*Team) SetDescription

func (o *Team) SetDescription(v string)

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

func (*Team) SetId

func (o *Team) SetId(v string)

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

func (*Team) SetName

func (o *Team) SetName(v string)

SetName sets field value

func (*Team) SetUsers

func (o *Team) SetUsers(v []string)

SetUsers sets field value

func (Team) ToMap

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

func (*Team) UnmarshalJSON

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

type TeamAPIService

type TeamAPIService service

TeamAPIService TeamAPI service

func (*TeamAPIService) CreateTeam

CreateTeam Method for CreateTeam

Creates a new Kowabunga users team.

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

func (*TeamAPIService) CreateTeamExecute

func (a *TeamAPIService) CreateTeamExecute(r ApiCreateTeamRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

func (*TeamAPIService) DeleteTeam

func (a *TeamAPIService) DeleteTeam(ctx context.Context, teamId string) ApiDeleteTeamRequest

DeleteTeam Method for DeleteTeam

Deletes an existing Kowabunga users team.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId The ID of the Kowabunga users team.
@return ApiDeleteTeamRequest

func (*TeamAPIService) DeleteTeamExecute

func (a *TeamAPIService) DeleteTeamExecute(r ApiDeleteTeamRequest) (*http.Response, error)

Execute executes the request

func (*TeamAPIService) ListTeams

ListTeams Method for ListTeams

Returns the IDs of Kowabunga users team objects.

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

func (*TeamAPIService) ListTeamsExecute

func (a *TeamAPIService) ListTeamsExecute(r ApiListTeamsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*TeamAPIService) ReadTeam

func (a *TeamAPIService) ReadTeam(ctx context.Context, teamId string) ApiReadTeamRequest

ReadTeam Method for ReadTeam

Returns a Kowabunga users team.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId The ID of the Kowabunga users team.
@return ApiReadTeamRequest

func (*TeamAPIService) ReadTeamExecute

func (a *TeamAPIService) ReadTeamExecute(r ApiReadTeamRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

func (*TeamAPIService) UpdateTeam

func (a *TeamAPIService) UpdateTeam(ctx context.Context, teamId string) ApiUpdateTeamRequest

UpdateTeam Method for UpdateTeam

Updates a Kowabunga users team configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param teamId The ID of the Kowabunga users team.
@return ApiUpdateTeamRequest

func (*TeamAPIService) UpdateTeamExecute

func (a *TeamAPIService) UpdateTeamExecute(r ApiUpdateTeamRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

type Template

type Template struct {
	// The image template ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The image template name.
	Name string `json:"name"`
	// The image template description.
	Description *string `json:"description,omitempty"`
	// Type of operating system if OS kind (useful to determine cloud-init parameters for instance).
	Os *string `json:"os,omitempty"`
	// HTTP(s) source URL of the KVM-ready OS image.
	Source string `json:"source"`
}

Template A image template.

func NewTemplate

func NewTemplate(name string, source string) *Template

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

func NewTemplateWithDefaults

func NewTemplateWithDefaults() *Template

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

func (*Template) GetDescription

func (o *Template) GetDescription() string

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

func (*Template) GetDescriptionOk

func (o *Template) 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 (*Template) GetId

func (o *Template) GetId() string

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

func (*Template) GetIdOk

func (o *Template) 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 (*Template) GetName

func (o *Template) GetName() string

GetName returns the Name field value

func (*Template) GetNameOk

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

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

func (*Template) GetOs

func (o *Template) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*Template) GetOsOk

func (o *Template) 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 (*Template) GetSource

func (o *Template) GetSource() string

GetSource returns the Source field value

func (*Template) GetSourceOk

func (o *Template) GetSourceOk() (*string, bool)

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

func (*Template) HasDescription

func (o *Template) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Template) HasId

func (o *Template) HasId() bool

HasId returns a boolean if a field has been set.

func (*Template) HasOs

func (o *Template) HasOs() bool

HasOs returns a boolean if a field has been set.

func (Template) MarshalJSON

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

func (*Template) SetDescription

func (o *Template) SetDescription(v string)

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

func (*Template) SetId

func (o *Template) SetId(v string)

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

func (*Template) SetName

func (o *Template) SetName(v string)

SetName sets field value

func (*Template) SetOs

func (o *Template) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*Template) SetSource

func (o *Template) SetSource(v string)

SetSource sets field value

func (Template) ToMap

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

func (*Template) UnmarshalJSON

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

type TemplateAPIService

type TemplateAPIService service

TemplateAPIService TemplateAPI service

func (*TemplateAPIService) DeleteTemplate

func (a *TemplateAPIService) DeleteTemplate(ctx context.Context, templateId string) ApiDeleteTemplateRequest

DeleteTemplate Method for DeleteTemplate

Deletes an existing image template.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param templateId The ID of the image template.
@return ApiDeleteTemplateRequest

func (*TemplateAPIService) DeleteTemplateExecute

func (a *TemplateAPIService) DeleteTemplateExecute(r ApiDeleteTemplateRequest) (*http.Response, error)

Execute executes the request

func (*TemplateAPIService) ListTemplates

ListTemplates Method for ListTemplates

Returns the IDs of image template objects.

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

func (*TemplateAPIService) ListTemplatesExecute

func (a *TemplateAPIService) ListTemplatesExecute(r ApiListTemplatesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*TemplateAPIService) ReadTemplate

func (a *TemplateAPIService) ReadTemplate(ctx context.Context, templateId string) ApiReadTemplateRequest

ReadTemplate Method for ReadTemplate

Returns a image template.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param templateId The ID of the image template.
@return ApiReadTemplateRequest

func (*TemplateAPIService) ReadTemplateExecute

func (a *TemplateAPIService) ReadTemplateExecute(r ApiReadTemplateRequest) (*Template, *http.Response, error)

Execute executes the request

@return Template

func (*TemplateAPIService) UpdateTemplate

func (a *TemplateAPIService) UpdateTemplate(ctx context.Context, templateId string) ApiUpdateTemplateRequest

UpdateTemplate Method for UpdateTemplate

Updates a image template configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param templateId The ID of the image template.
@return ApiUpdateTemplateRequest

func (*TemplateAPIService) UpdateTemplateExecute

func (a *TemplateAPIService) UpdateTemplateExecute(r ApiUpdateTemplateRequest) (*Template, *http.Response, error)

Execute executes the request

@return Template

type TokenAPIService

type TokenAPIService service

TokenAPIService TokenAPI service

func (*TokenAPIService) DeleteApiToken

func (a *TokenAPIService) DeleteApiToken(ctx context.Context, tokenId string) ApiDeleteApiTokenRequest

DeleteApiToken Method for DeleteApiToken

Deletes an existing server-to-server authentication security token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tokenId The ID of the server-to-server authentication security token.
@return ApiDeleteApiTokenRequest

func (*TokenAPIService) DeleteApiTokenExecute

func (a *TokenAPIService) DeleteApiTokenExecute(r ApiDeleteApiTokenRequest) (*http.Response, error)

Execute executes the request

func (*TokenAPIService) ListApiTokens

ListApiTokens Method for ListApiTokens

Returns the IDs of server-to-server authentication security token objects.

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

func (*TokenAPIService) ListApiTokensExecute

func (a *TokenAPIService) ListApiTokensExecute(r ApiListApiTokensRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*TokenAPIService) ReadApiToken

func (a *TokenAPIService) ReadApiToken(ctx context.Context, tokenId string) ApiReadApiTokenRequest

ReadApiToken Method for ReadApiToken

Returns a server-to-server authentication security token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tokenId The ID of the server-to-server authentication security token.
@return ApiReadApiTokenRequest

func (*TokenAPIService) ReadApiTokenExecute

func (a *TokenAPIService) ReadApiTokenExecute(r ApiReadApiTokenRequest) (*ApiToken, *http.Response, error)

Execute executes the request

@return ApiToken

func (*TokenAPIService) UpdateApiToken

func (a *TokenAPIService) UpdateApiToken(ctx context.Context, tokenId string) ApiUpdateApiTokenRequest

UpdateApiToken Method for UpdateApiToken

Updates a server-to-server authentication security token configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param tokenId The ID of the server-to-server authentication security token.
@return ApiUpdateApiTokenRequest

func (*TokenAPIService) UpdateApiTokenExecute

func (a *TokenAPIService) UpdateApiTokenExecute(r ApiUpdateApiTokenRequest) (*ApiToken, *http.Response, error)

Execute executes the request

@return ApiToken

type User

type User struct {
	// The Kowabunga user ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The Kowabunga user name.
	Name string `json:"name"`
	// The Kowabunga user description.
	Description *string `json:"description,omitempty"`
	// User email address.
	Email string `json:"email"`
	// The Kowabunga user role.
	Role string `json:"role"`
	// Whether or not to receive email notifications on events.
	Notifications *bool `json:"notifications,omitempty"`
}

User A Kowabunga user.

func NewUser

func NewUser(name string, email string, role string) *User

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

func NewUserWithDefaults

func NewUserWithDefaults() *User

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

func (*User) GetDescription

func (o *User) GetDescription() string

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

func (*User) GetDescriptionOk

func (o *User) 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 (*User) GetEmail

func (o *User) GetEmail() string

GetEmail returns the Email field value

func (*User) GetEmailOk

func (o *User) GetEmailOk() (*string, bool)

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

func (*User) GetId

func (o *User) GetId() string

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

func (*User) GetIdOk

func (o *User) 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 (*User) GetName

func (o *User) GetName() string

GetName returns the Name field value

func (*User) GetNameOk

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

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

func (*User) GetNotifications

func (o *User) GetNotifications() bool

GetNotifications returns the Notifications field value if set, zero value otherwise.

func (*User) GetNotificationsOk

func (o *User) GetNotificationsOk() (*bool, bool)

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

func (*User) GetRole

func (o *User) GetRole() string

GetRole returns the Role field value

func (*User) GetRoleOk

func (o *User) GetRoleOk() (*string, bool)

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

func (*User) HasDescription

func (o *User) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*User) HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasNotifications

func (o *User) HasNotifications() bool

HasNotifications returns a boolean if a field has been set.

func (User) MarshalJSON

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

func (*User) SetDescription

func (o *User) SetDescription(v string)

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

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail sets field value

func (*User) SetId

func (o *User) SetId(v string)

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

func (*User) SetName

func (o *User) SetName(v string)

SetName sets field value

func (*User) SetNotifications

func (o *User) SetNotifications(v bool)

SetNotifications gets a reference to the given bool and assigns it to the Notifications field.

func (*User) SetRole

func (o *User) SetRole(v string)

SetRole sets field value

func (User) ToMap

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

func (*User) UnmarshalJSON

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

type UserAPIService

type UserAPIService service

UserAPIService UserAPI service

func (*UserAPIService) CreateUser

CreateUser Method for CreateUser

Creates a new Kowabunga user.

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

func (*UserAPIService) CreateUserExecute

func (a *UserAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UserAPIService) DeleteUser

func (a *UserAPIService) DeleteUser(ctx context.Context, userId string) ApiDeleteUserRequest

DeleteUser Method for DeleteUser

Deletes an existing Kowabunga user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The ID of the Kowabunga user.
@return ApiDeleteUserRequest

func (*UserAPIService) DeleteUserExecute

func (a *UserAPIService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UserAPIService) ListUsers

ListUsers Method for ListUsers

Returns the IDs of Kowabunga user objects.

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

func (*UserAPIService) ListUsersExecute

func (a *UserAPIService) ListUsersExecute(r ApiListUsersRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*UserAPIService) Login

Login Method for Login

Creates a new Kowabunga user login credentials.

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

func (*UserAPIService) LoginExecute

Execute executes the request

@return UserCredentials

func (*UserAPIService) Logout

Logout Method for Logout

Creates a new Kowabunga user logout session.

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

func (*UserAPIService) LogoutExecute

func (a *UserAPIService) LogoutExecute(r ApiLogoutRequest) (*http.Response, error)

Execute executes the request

func (*UserAPIService) ReadUser

func (a *UserAPIService) ReadUser(ctx context.Context, userId string) ApiReadUserRequest

ReadUser Method for ReadUser

Returns a Kowabunga user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The ID of the Kowabunga user.
@return ApiReadUserRequest

func (*UserAPIService) ReadUserExecute

func (a *UserAPIService) ReadUserExecute(r ApiReadUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UserAPIService) ResetPassword

func (a *UserAPIService) ResetPassword(ctx context.Context) ApiResetPasswordRequest

ResetPassword Method for ResetPassword

Updates a Kowabunga userreset of password for the provided email (server-side generated, will replace any existing one) configuration.

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

func (*UserAPIService) ResetPasswordExecute

func (a *UserAPIService) ResetPasswordExecute(r ApiResetPasswordRequest) (*http.Response, error)

Execute executes the request

func (*UserAPIService) ResetUserPassword

func (a *UserAPIService) ResetUserPassword(ctx context.Context, userId string) ApiResetUserPasswordRequest

ResetUserPassword Method for ResetUserPassword

Performs a Kowabunga user reset of password (server-side generated, will replace any existing one).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The ID of the Kowabunga user.
@return ApiResetUserPasswordRequest

func (*UserAPIService) ResetUserPasswordExecute

func (a *UserAPIService) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*http.Response, error)

Execute executes the request

func (*UserAPIService) SetUserApiToken

func (a *UserAPIService) SetUserApiToken(ctx context.Context, userId string) ApiSetUserApiTokenRequest

SetUserApiToken Method for SetUserApiToken

Performs a Kowabunga user setting of API token (will replace any existing one).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The ID of the Kowabunga user.
@return ApiSetUserApiTokenRequest

func (*UserAPIService) SetUserApiTokenExecute

func (a *UserAPIService) SetUserApiTokenExecute(r ApiSetUserApiTokenRequest) (*http.Response, error)

Execute executes the request

func (*UserAPIService) SetUserPassword

func (a *UserAPIService) SetUserPassword(ctx context.Context, userId string) ApiSetUserPasswordRequest

SetUserPassword Method for SetUserPassword

Updates a Kowabunga user password (will replace any existing one) configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The ID of the Kowabunga user.
@return ApiSetUserPasswordRequest

func (*UserAPIService) SetUserPasswordExecute

func (a *UserAPIService) SetUserPasswordExecute(r ApiSetUserPasswordRequest) (*http.Response, error)

Execute executes the request

func (*UserAPIService) UpdateUser

func (a *UserAPIService) UpdateUser(ctx context.Context, userId string) ApiUpdateUserRequest

UpdateUser Method for UpdateUser

Updates a Kowabunga user configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId The ID of the Kowabunga user.
@return ApiUpdateUserRequest

func (*UserAPIService) UpdateUserExecute

func (a *UserAPIService) UpdateUserExecute(r ApiUpdateUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

type UserCredentials

type UserCredentials struct {
	// The user email address for login.
	Email string `json:"email"`
	// The user password for login.
	Password string `json:"password"`
	// The resulting server-generated JWT token for Bearer Authentication (read-only).
	Jwt *string `json:"jwt,omitempty"`
}

UserCredentials A Kowabunga user login credentials.

func NewUserCredentials

func NewUserCredentials(email string, password string) *UserCredentials

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

func NewUserCredentialsWithDefaults

func NewUserCredentialsWithDefaults() *UserCredentials

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

func (*UserCredentials) GetEmail

func (o *UserCredentials) GetEmail() string

GetEmail returns the Email field value

func (*UserCredentials) GetEmailOk

func (o *UserCredentials) GetEmailOk() (*string, bool)

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

func (*UserCredentials) GetJwt

func (o *UserCredentials) GetJwt() string

GetJwt returns the Jwt field value if set, zero value otherwise.

func (*UserCredentials) GetJwtOk

func (o *UserCredentials) GetJwtOk() (*string, bool)

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

func (*UserCredentials) GetPassword

func (o *UserCredentials) GetPassword() string

GetPassword returns the Password field value

func (*UserCredentials) GetPasswordOk

func (o *UserCredentials) GetPasswordOk() (*string, bool)

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

func (*UserCredentials) HasJwt

func (o *UserCredentials) HasJwt() bool

HasJwt returns a boolean if a field has been set.

func (UserCredentials) MarshalJSON

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

func (*UserCredentials) SetEmail

func (o *UserCredentials) SetEmail(v string)

SetEmail sets field value

func (*UserCredentials) SetJwt

func (o *UserCredentials) SetJwt(v string)

SetJwt gets a reference to the given string and assigns it to the Jwt field.

func (*UserCredentials) SetPassword

func (o *UserCredentials) SetPassword(v string)

SetPassword sets field value

func (UserCredentials) ToMap

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

func (*UserCredentials) UnmarshalJSON

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

type UserEmail

type UserEmail struct {
	// The user email address used for login.
	Email string `json:"email"`
}

UserEmail A Kowabunga user email.

func NewUserEmail

func NewUserEmail(email string) *UserEmail

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

func NewUserEmailWithDefaults

func NewUserEmailWithDefaults() *UserEmail

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

func (*UserEmail) GetEmail

func (o *UserEmail) GetEmail() string

GetEmail returns the Email field value

func (*UserEmail) GetEmailOk

func (o *UserEmail) GetEmailOk() (*string, bool)

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

func (UserEmail) MarshalJSON

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

func (*UserEmail) SetEmail

func (o *UserEmail) SetEmail(v string)

SetEmail sets field value

func (UserEmail) ToMap

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

func (*UserEmail) UnmarshalJSON

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

type VNet

type VNet struct {
	// The virtual network ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The virtual network name.
	Name string `json:"name"`
	// The virtual network description.
	Description *string `json:"description,omitempty"`
	// The VLAN identifier (0 if unspecified).
	Vlan *int64 `json:"vlan,omitempty"`
	// The libvirt's bridge network interface (brX).
	Interface string `json:"interface"`
	// Is the virtual network adapter connected to private (LAN) or public (WAN) physical network ?.
	Private *bool `json:"private,omitempty"`
}

VNet A virtual network.

func NewVNet

func NewVNet(name string, interface_ string) *VNet

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

func NewVNetWithDefaults

func NewVNetWithDefaults() *VNet

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

func (*VNet) GetDescription

func (o *VNet) GetDescription() string

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

func (*VNet) GetDescriptionOk

func (o *VNet) 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 (*VNet) GetId

func (o *VNet) GetId() string

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

func (*VNet) GetIdOk

func (o *VNet) 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 (*VNet) GetInterface

func (o *VNet) GetInterface() string

GetInterface returns the Interface field value

func (*VNet) GetInterfaceOk

func (o *VNet) GetInterfaceOk() (*string, bool)

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

func (*VNet) GetName

func (o *VNet) GetName() string

GetName returns the Name field value

func (*VNet) GetNameOk

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

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

func (*VNet) GetPrivate

func (o *VNet) GetPrivate() bool

GetPrivate returns the Private field value if set, zero value otherwise.

func (*VNet) GetPrivateOk

func (o *VNet) GetPrivateOk() (*bool, bool)

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

func (*VNet) GetVlan

func (o *VNet) GetVlan() int64

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*VNet) GetVlanOk

func (o *VNet) GetVlanOk() (*int64, bool)

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

func (*VNet) HasDescription

func (o *VNet) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VNet) HasId

func (o *VNet) HasId() bool

HasId returns a boolean if a field has been set.

func (*VNet) HasPrivate added in v0.52.3

func (o *VNet) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

func (*VNet) HasVlan

func (o *VNet) HasVlan() bool

HasVlan returns a boolean if a field has been set.

func (VNet) MarshalJSON

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

func (*VNet) SetDescription

func (o *VNet) SetDescription(v string)

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

func (*VNet) SetId

func (o *VNet) SetId(v string)

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

func (*VNet) SetInterface

func (o *VNet) SetInterface(v string)

SetInterface sets field value

func (*VNet) SetName

func (o *VNet) SetName(v string)

SetName sets field value

func (*VNet) SetPrivate

func (o *VNet) SetPrivate(v bool)

SetPrivate gets a reference to the given bool and assigns it to the Private field.

func (*VNet) SetVlan

func (o *VNet) SetVlan(v int64)

SetVlan gets a reference to the given int64 and assigns it to the Vlan field.

func (VNet) ToMap

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

func (*VNet) UnmarshalJSON

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

type VnetAPIService

type VnetAPIService service

VnetAPIService VnetAPI service

func (*VnetAPIService) CreateSubnet

func (a *VnetAPIService) CreateSubnet(ctx context.Context, vnetId string) ApiCreateSubnetRequest

CreateSubnet Method for CreateSubnet

Creates a new network subnet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vnetId The ID of the virtual network.
@return ApiCreateSubnetRequest

func (*VnetAPIService) CreateSubnetExecute

func (a *VnetAPIService) CreateSubnetExecute(r ApiCreateSubnetRequest) (*Subnet, *http.Response, error)

Execute executes the request

@return Subnet

func (*VnetAPIService) DeleteVNet

func (a *VnetAPIService) DeleteVNet(ctx context.Context, vnetId string) ApiDeleteVNetRequest

DeleteVNet Method for DeleteVNet

Deletes an existing virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vnetId The ID of the virtual network.
@return ApiDeleteVNetRequest

func (*VnetAPIService) DeleteVNetExecute

func (a *VnetAPIService) DeleteVNetExecute(r ApiDeleteVNetRequest) (*http.Response, error)

Execute executes the request

func (*VnetAPIService) ListVNetSubnets

func (a *VnetAPIService) ListVNetSubnets(ctx context.Context, vnetId string) ApiListVNetSubnetsRequest

ListVNetSubnets Method for ListVNetSubnets

Returns the IDs of network subnet objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vnetId The ID of the virtual network.
@return ApiListVNetSubnetsRequest

func (*VnetAPIService) ListVNetSubnetsExecute

func (a *VnetAPIService) ListVNetSubnetsExecute(r ApiListVNetSubnetsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*VnetAPIService) ListVNets

ListVNets Method for ListVNets

Returns the IDs of virtual network objects.

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

func (*VnetAPIService) ListVNetsExecute

func (a *VnetAPIService) ListVNetsExecute(r ApiListVNetsRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*VnetAPIService) ReadVNet

func (a *VnetAPIService) ReadVNet(ctx context.Context, vnetId string) ApiReadVNetRequest

ReadVNet Method for ReadVNet

Returns a virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vnetId The ID of the virtual network.
@return ApiReadVNetRequest

func (*VnetAPIService) ReadVNetExecute

func (a *VnetAPIService) ReadVNetExecute(r ApiReadVNetRequest) (*VNet, *http.Response, error)

Execute executes the request

@return VNet

func (*VnetAPIService) SetVNetDefaultSubnet

func (a *VnetAPIService) SetVNetDefaultSubnet(ctx context.Context, vnetId string, subnetId string) ApiSetVNetDefaultSubnetRequest

SetVNetDefaultSubnet Method for SetVNetDefaultSubnet

Performs a virtual network setting of default network subnet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vnetId The ID of the virtual network.
@param subnetId The ID of the network subnet.
@return ApiSetVNetDefaultSubnetRequest

func (*VnetAPIService) SetVNetDefaultSubnetExecute

func (a *VnetAPIService) SetVNetDefaultSubnetExecute(r ApiSetVNetDefaultSubnetRequest) (*http.Response, error)

Execute executes the request

func (*VnetAPIService) UpdateVNet

func (a *VnetAPIService) UpdateVNet(ctx context.Context, vnetId string) ApiUpdateVNetRequest

UpdateVNet Method for UpdateVNet

Updates a virtual network configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vnetId The ID of the virtual network.
@return ApiUpdateVNetRequest

func (*VnetAPIService) UpdateVNetExecute

func (a *VnetAPIService) UpdateVNetExecute(r ApiUpdateVNetRequest) (*VNet, *http.Response, error)

Execute executes the request

@return VNet

type Volume

type Volume struct {
	// The storage volume ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The storage volume name.
	Name string `json:"name"`
	// The storage volume description.
	Description *string `json:"description,omitempty"`
	// The storage volume type.
	Type string `json:"type"`
	// The storage volume size (in bytes).
	Size int64 `json:"size"`
}

Volume A storage volume.

func NewVolume

func NewVolume(name string, type_ string, size int64) *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) 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

func (*Volume) GetNameOk

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

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

func (*Volume) GetSize

func (o *Volume) GetSize() int64

GetSize returns the Size field value

func (*Volume) GetSizeOk

func (o *Volume) GetSizeOk() (*int64, bool)

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

func (*Volume) GetType

func (o *Volume) GetType() string

GetType returns the Type field value

func (*Volume) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value 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) MarshalJSON

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

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 sets field value

func (*Volume) SetSize

func (o *Volume) SetSize(v int64)

SetSize sets field value

func (*Volume) SetType

func (o *Volume) SetType(v string)

SetType sets field value

func (Volume) ToMap

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

func (*Volume) UnmarshalJSON

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

type VolumeAPIService

type VolumeAPIService service

VolumeAPIService VolumeAPI service

func (*VolumeAPIService) DeleteVolume

func (a *VolumeAPIService) DeleteVolume(ctx context.Context, volumeId string) ApiDeleteVolumeRequest

DeleteVolume Method for DeleteVolume

Deletes an existing storage volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param volumeId The ID of the storage volume.
@return ApiDeleteVolumeRequest

func (*VolumeAPIService) DeleteVolumeExecute

func (a *VolumeAPIService) DeleteVolumeExecute(r ApiDeleteVolumeRequest) (*http.Response, error)

Execute executes the request

func (*VolumeAPIService) ListVolumes

ListVolumes Method for ListVolumes

Returns the IDs of storage volume objects.

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

func (*VolumeAPIService) ListVolumesExecute

func (a *VolumeAPIService) ListVolumesExecute(r ApiListVolumesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*VolumeAPIService) ReadVolume

func (a *VolumeAPIService) ReadVolume(ctx context.Context, volumeId string) ApiReadVolumeRequest

ReadVolume Method for ReadVolume

Returns a storage volume.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param volumeId The ID of the storage volume.
@return ApiReadVolumeRequest

func (*VolumeAPIService) ReadVolumeExecute

func (a *VolumeAPIService) ReadVolumeExecute(r ApiReadVolumeRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumeAPIService) UpdateVolume

func (a *VolumeAPIService) UpdateVolume(ctx context.Context, volumeId string) ApiUpdateVolumeRequest

UpdateVolume Method for UpdateVolume

Updates a storage volume configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param volumeId The ID of the storage volume.
@return ApiUpdateVolumeRequest

func (*VolumeAPIService) UpdateVolumeExecute

func (a *VolumeAPIService) UpdateVolumeExecute(r ApiUpdateVolumeRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

type Zone

type Zone struct {
	// The availability zone ID (auto-generated).
	Id *string `json:"id,omitempty"`
	// The availability zone name.
	Name string `json:"name"`
	// The availability zone description.
	Description *string `json:"description,omitempty"`
}

Zone A availability zone.

func NewZone

func NewZone(name string) *Zone

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

func NewZoneWithDefaults

func NewZoneWithDefaults() *Zone

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

func (*Zone) GetDescription

func (o *Zone) GetDescription() string

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

func (*Zone) GetDescriptionOk

func (o *Zone) 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 (*Zone) GetId

func (o *Zone) GetId() string

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

func (*Zone) GetIdOk

func (o *Zone) 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 (*Zone) GetName

func (o *Zone) GetName() string

GetName returns the Name field value

func (*Zone) GetNameOk

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

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

func (*Zone) HasDescription

func (o *Zone) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Zone) HasId

func (o *Zone) HasId() bool

HasId returns a boolean if a field has been set.

func (Zone) MarshalJSON

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

func (*Zone) SetDescription

func (o *Zone) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Zone) SetId

func (o *Zone) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Zone) SetName

func (o *Zone) SetName(v string)

SetName sets field value

func (Zone) ToMap

func (o Zone) ToMap() (map[string]interface{}, error)

func (*Zone) UnmarshalJSON

func (o *Zone) UnmarshalJSON(data []byte) (err error)

type ZoneAPIService

type ZoneAPIService service

ZoneAPIService ZoneAPI service

func (*ZoneAPIService) CreateKaktus

func (a *ZoneAPIService) CreateKaktus(ctx context.Context, zoneId string) ApiCreateKaktusRequest

CreateKaktus Method for CreateKaktus

Creates a new Kaktus computing node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The ID of the availability zone.
@return ApiCreateKaktusRequest

func (*ZoneAPIService) CreateKaktusExecute

func (a *ZoneAPIService) CreateKaktusExecute(r ApiCreateKaktusRequest) (*Kaktus, *http.Response, error)

Execute executes the request

@return Kaktus

func (*ZoneAPIService) DeleteZone

func (a *ZoneAPIService) DeleteZone(ctx context.Context, zoneId string) ApiDeleteZoneRequest

DeleteZone Method for DeleteZone

Deletes an existing availability zone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The ID of the availability zone.
@return ApiDeleteZoneRequest

func (*ZoneAPIService) DeleteZoneExecute

func (a *ZoneAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (*http.Response, error)

Execute executes the request

func (*ZoneAPIService) ListZoneKaktuses

func (a *ZoneAPIService) ListZoneKaktuses(ctx context.Context, zoneId string) ApiListZoneKaktusesRequest

ListZoneKaktuses Method for ListZoneKaktuses

Returns the IDs of Kaktus computing node objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The ID of the availability zone.
@return ApiListZoneKaktusesRequest

func (*ZoneAPIService) ListZoneKaktusesExecute

func (a *ZoneAPIService) ListZoneKaktusesExecute(r ApiListZoneKaktusesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ZoneAPIService) ListZones

ListZones Method for ListZones

Returns the IDs of availability zone objects.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListZonesRequest

func (*ZoneAPIService) ListZonesExecute

func (a *ZoneAPIService) ListZonesExecute(r ApiListZonesRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ZoneAPIService) ReadZone

func (a *ZoneAPIService) ReadZone(ctx context.Context, zoneId string) ApiReadZoneRequest

ReadZone Method for ReadZone

Returns a availability zone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The ID of the availability zone.
@return ApiReadZoneRequest

func (*ZoneAPIService) ReadZoneExecute

func (a *ZoneAPIService) ReadZoneExecute(r ApiReadZoneRequest) (*Zone, *http.Response, error)

Execute executes the request

@return Zone

func (*ZoneAPIService) UpdateZone

func (a *ZoneAPIService) UpdateZone(ctx context.Context, zoneId string) ApiUpdateZoneRequest

UpdateZone Method for UpdateZone

Updates a availability zone configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The ID of the availability zone.
@return ApiUpdateZoneRequest

func (*ZoneAPIService) UpdateZoneExecute

func (a *ZoneAPIService) UpdateZoneExecute(r ApiUpdateZoneRequest) (*Zone, *http.Response, error)

Execute executes the request

@return Zone

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL