v1beta1api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

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 NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

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 {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Edge Cloud API API v1beta1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

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() *config.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 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 ApiCreateInstanceRequest

type ApiCreateInstanceRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

func (ApiCreateInstanceRequest) Execute

func (r ApiCreateInstanceRequest) Execute() (*Instance, error)

type ApiDeleteInstanceByNameRequest

type ApiDeleteInstanceByNameRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteInstanceByNameRequest) Execute

type ApiDeleteInstanceRequest

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

func (ApiDeleteInstanceRequest) Execute

func (r ApiDeleteInstanceRequest) Execute() error

type ApiGetInstanceByNameRequest

type ApiGetInstanceByNameRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetInstanceByNameRequest) Execute

func (r ApiGetInstanceByNameRequest) Execute() (*Instance, error)

type ApiGetInstanceRequest

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

func (ApiGetInstanceRequest) Execute

func (r ApiGetInstanceRequest) Execute() (*Instance, error)

type ApiGetKubeconfigByInstanceIdRequest

type ApiGetKubeconfigByInstanceIdRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetKubeconfigByInstanceIdRequest) Execute

func (ApiGetKubeconfigByInstanceIdRequest) ExpirationSeconds

func (r ApiGetKubeconfigByInstanceIdRequest) ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceIdRequest

Expiration of the included token in seconds

type ApiGetKubeconfigByInstanceNameRequest

type ApiGetKubeconfigByInstanceNameRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetKubeconfigByInstanceNameRequest) Execute

func (ApiGetKubeconfigByInstanceNameRequest) ExpirationSeconds

Expiration of the included token in seconds

type ApiGetTokenByInstanceIdRequest

type ApiGetTokenByInstanceIdRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetTokenByInstanceIdRequest) Execute

func (r ApiGetTokenByInstanceIdRequest) Execute() (*Token, error)

func (ApiGetTokenByInstanceIdRequest) ExpirationSeconds

func (r ApiGetTokenByInstanceIdRequest) ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceIdRequest

Expiration of the token in seconds

type ApiGetTokenByInstanceNameRequest

type ApiGetTokenByInstanceNameRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetTokenByInstanceNameRequest) Execute

func (ApiGetTokenByInstanceNameRequest) ExpirationSeconds

func (r ApiGetTokenByInstanceNameRequest) ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceNameRequest

Expiration of the included token in seconds

type ApiListInstancesRequest

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

func (ApiListInstancesRequest) Execute

func (r ApiListInstancesRequest) Execute() (*InstanceList, error)

type ApiListPlansGlobalRequest

type ApiListPlansGlobalRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListPlansGlobalRequest) Execute

func (r ApiListPlansGlobalRequest) Execute() (*PlanList, error)

type ApiListPlansProjectRequest

type ApiListPlansProjectRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListPlansProjectRequest) Execute

func (r ApiListPlansProjectRequest) Execute() (*PlanList, error)

type ApiUpdateInstanceByNameRequest

type ApiUpdateInstanceByNameRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateInstanceByNameRequest) Execute

func (ApiUpdateInstanceByNameRequest) UpdateInstanceByNamePayload

func (r ApiUpdateInstanceByNameRequest) UpdateInstanceByNamePayload(updateInstanceByNamePayload UpdateInstanceByNamePayload) ApiUpdateInstanceByNameRequest

type ApiUpdateInstanceRequest

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

func (ApiUpdateInstanceRequest) Execute

func (r ApiUpdateInstanceRequest) Execute() error

func (ApiUpdateInstanceRequest) UpdateInstancePayload

func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest

type BadRequest

type BadRequest struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

BadRequest struct for BadRequest

func NewBadRequest

func NewBadRequest() *BadRequest

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

func NewBadRequestWithDefaults

func NewBadRequestWithDefaults() *BadRequest

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

func (*BadRequest) GetCode

func (o *BadRequest) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*BadRequest) GetCodeOk

func (o *BadRequest) GetCodeOk() (*string, bool)

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

func (*BadRequest) GetMessage

func (o *BadRequest) GetMessage() string

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

func (*BadRequest) GetMessageOk

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

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

func (*BadRequest) HasCode

func (o *BadRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*BadRequest) HasMessage

func (o *BadRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (BadRequest) MarshalJSON

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

func (*BadRequest) SetCode

func (o *BadRequest) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*BadRequest) SetMessage

func (o *BadRequest) SetMessage(v string)

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

func (BadRequest) ToMap

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

type CreateInstancePayload

type CreateInstancePayload struct {
	// A user chosen description to distinguish multiple instances.
	Description *string `json:"description,omitempty"`
	// The displayed name to distinguish multiple instances.
	DisplayName string `json:"displayName"`
	// Service Plan configures the size of the Instance.
	PlanId string `json:"planId"`
}

CreateInstancePayload struct for CreateInstancePayload

func NewCreateInstancePayload

func NewCreateInstancePayload(displayName string, planId string) *CreateInstancePayload

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

func NewCreateInstancePayloadWithDefaults

func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload

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

func (*CreateInstancePayload) GetDescription

func (o *CreateInstancePayload) GetDescription() string

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

func (*CreateInstancePayload) GetDescriptionOk

func (o *CreateInstancePayload) 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 (*CreateInstancePayload) GetDisplayName

func (o *CreateInstancePayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateInstancePayload) GetDisplayNameOk

func (o *CreateInstancePayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateInstancePayload) GetPlanId

func (o *CreateInstancePayload) GetPlanId() string

GetPlanId returns the PlanId field value

func (*CreateInstancePayload) GetPlanIdOk

func (o *CreateInstancePayload) GetPlanIdOk() (*string, bool)

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

func (*CreateInstancePayload) HasDescription

func (o *CreateInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateInstancePayload) MarshalJSON

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

func (*CreateInstancePayload) SetDescription

func (o *CreateInstancePayload) SetDescription(v string)

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

func (*CreateInstancePayload) SetDisplayName

func (o *CreateInstancePayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateInstancePayload) SetPlanId

func (o *CreateInstancePayload) SetPlanId(v string)

SetPlanId sets field value

func (CreateInstancePayload) ToMap

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

func (*CreateInstancePayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateInstance Method for CreateInstance

		Creates a new instance within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@return ApiCreateInstanceRequest
	*/
	CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest

	// CreateInstanceExecute executes the request
	//  @return Instance
	CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)

	/*
		DeleteInstance Method for DeleteInstance

		Deletes the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiDeleteInstanceRequest
	*/
	DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest

	// DeleteInstanceExecute executes the request
	DeleteInstanceExecute(r ApiDeleteInstanceRequest) error

	/*
		DeleteInstanceByName Method for DeleteInstanceByName

		Deletes the given instance by name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiDeleteInstanceByNameRequest
	*/
	DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest

	// DeleteInstanceByNameExecute executes the request
	DeleteInstanceByNameExecute(r ApiDeleteInstanceByNameRequest) error

	/*
		GetInstance Method for GetInstance

		Returns the details for the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest

	// GetInstanceExecute executes the request
	//  @return Instance
	GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)

	/*
		GetInstanceByName Method for GetInstanceByName

		Returns the details for the given instance by name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiGetInstanceByNameRequest
	*/
	GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest

	// GetInstanceByNameExecute executes the request
	//  @return Instance
	GetInstanceByNameExecute(r ApiGetInstanceByNameRequest) (*Instance, error)

	/*
		GetKubeconfigByInstanceId Method for GetKubeconfigByInstanceId

		Returns the kubeconfig for the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiGetKubeconfigByInstanceIdRequest
	*/
	GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest

	// GetKubeconfigByInstanceIdExecute executes the request
	//  @return Kubeconfig
	GetKubeconfigByInstanceIdExecute(r ApiGetKubeconfigByInstanceIdRequest) (*Kubeconfig, error)

	/*
		GetKubeconfigByInstanceName Method for GetKubeconfigByInstanceName

		Returns the kubeconfig for the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiGetKubeconfigByInstanceNameRequest
	*/
	GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest

	// GetKubeconfigByInstanceNameExecute executes the request
	//  @return Kubeconfig
	GetKubeconfigByInstanceNameExecute(r ApiGetKubeconfigByInstanceNameRequest) (*Kubeconfig, error)

	/*
		GetTokenByInstanceId Method for GetTokenByInstanceId

		Returns an ServiceAccount token.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The instance UUID.
		@return ApiGetTokenByInstanceIdRequest
	*/
	GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest

	// GetTokenByInstanceIdExecute executes the request
	//  @return Token
	GetTokenByInstanceIdExecute(r ApiGetTokenByInstanceIdRequest) (*Token, error)

	/*
		GetTokenByInstanceName Method for GetTokenByInstanceName

		Returns an ServiceAccount token.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiGetTokenByInstanceNameRequest
	*/
	GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest

	// GetTokenByInstanceNameExecute executes the request
	//  @return Token
	GetTokenByInstanceNameExecute(r ApiGetTokenByInstanceNameRequest) (*Token, error)

	/*
		ListInstances Method for ListInstances

		Returns a list of all instances within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@return ApiListInstancesRequest
	*/
	ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest

	// ListInstancesExecute executes the request
	//  @return InstanceList
	ListInstancesExecute(r ApiListInstancesRequest) (*InstanceList, error)

	/*
		ListPlansGlobal Method for ListPlansGlobal

		DEPRECATED: Will be removed at the 28 of february 2026. Use list-plans-project instead.

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

		Deprecated
	*/
	ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest

	// ListPlansGlobalExecute executes the request
	//  @return PlanList
	// Deprecated
	ListPlansGlobalExecute(r ApiListPlansGlobalRequest) (*PlanList, error)

	/*
		ListPlansProject Method for ListPlansProject

		List all possible plans for the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the plan is part of.
		@return ApiListPlansProjectRequest
	*/
	ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest

	// ListPlansProjectExecute executes the request
	//  @return PlanList
	ListPlansProjectExecute(r ApiListPlansProjectRequest) (*PlanList, error)

	/*
		UpdateInstance Method for UpdateInstance

		Updates the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param instanceId The full ID of the instance, <display_name>-<project_hash>.
		@return ApiUpdateInstanceRequest
	*/
	UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest

	// UpdateInstanceExecute executes the request
	UpdateInstanceExecute(r ApiUpdateInstanceRequest) error

	/*
		UpdateInstanceByName Method for UpdateInstanceByName

		Updates the given instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the instance is part of.
		@param regionId The STACKIT region the instance is part of.
		@param displayName The instance display name.
		@return ApiUpdateInstanceByNameRequest
	*/
	UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest

	// UpdateInstanceByNameExecute executes the request
	UpdateInstanceByNameExecute(r ApiUpdateInstanceByNameRequest) error
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateInstance

func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest

CreateInstance Method for CreateInstance

Creates a new instance within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return ApiCreateInstanceRequest

func (*DefaultAPIService) CreateInstanceExecute

func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)

Execute executes the request

@return Instance

func (*DefaultAPIService) DeleteInstance

func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest

DeleteInstance Method for DeleteInstance

Deletes the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiDeleteInstanceRequest

func (*DefaultAPIService) DeleteInstanceByName

func (a *DefaultAPIService) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest

DeleteInstanceByName Method for DeleteInstanceByName

Deletes the given instance by name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiDeleteInstanceByNameRequest

func (*DefaultAPIService) DeleteInstanceByNameExecute

func (a *DefaultAPIService) DeleteInstanceByNameExecute(r ApiDeleteInstanceByNameRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteInstanceExecute

func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error

Execute executes the request

func (*DefaultAPIService) GetInstance

func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest

GetInstance Method for GetInstance

Returns the details for the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiGetInstanceRequest

func (*DefaultAPIService) GetInstanceByName

func (a *DefaultAPIService) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest

GetInstanceByName Method for GetInstanceByName

Returns the details for the given instance by name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetInstanceByNameRequest

func (*DefaultAPIService) GetInstanceByNameExecute

func (a *DefaultAPIService) GetInstanceByNameExecute(r ApiGetInstanceByNameRequest) (*Instance, error)

Execute executes the request

@return Instance

func (*DefaultAPIService) GetInstanceExecute

func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)

Execute executes the request

@return Instance

func (*DefaultAPIService) GetKubeconfigByInstanceId

func (a *DefaultAPIService) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest

GetKubeconfigByInstanceId Method for GetKubeconfigByInstanceId

Returns the kubeconfig for the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiGetKubeconfigByInstanceIdRequest

func (*DefaultAPIService) GetKubeconfigByInstanceIdExecute

func (a *DefaultAPIService) GetKubeconfigByInstanceIdExecute(r ApiGetKubeconfigByInstanceIdRequest) (*Kubeconfig, error)

Execute executes the request

@return Kubeconfig

func (*DefaultAPIService) GetKubeconfigByInstanceName

func (a *DefaultAPIService) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest

GetKubeconfigByInstanceName Method for GetKubeconfigByInstanceName

Returns the kubeconfig for the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetKubeconfigByInstanceNameRequest

func (*DefaultAPIService) GetKubeconfigByInstanceNameExecute

func (a *DefaultAPIService) GetKubeconfigByInstanceNameExecute(r ApiGetKubeconfigByInstanceNameRequest) (*Kubeconfig, error)

Execute executes the request

@return Kubeconfig

func (*DefaultAPIService) GetTokenByInstanceId

func (a *DefaultAPIService) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest

GetTokenByInstanceId Method for GetTokenByInstanceId

Returns an ServiceAccount token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The instance UUID.
@return ApiGetTokenByInstanceIdRequest

func (*DefaultAPIService) GetTokenByInstanceIdExecute

func (a *DefaultAPIService) GetTokenByInstanceIdExecute(r ApiGetTokenByInstanceIdRequest) (*Token, error)

Execute executes the request

@return Token

func (*DefaultAPIService) GetTokenByInstanceName

func (a *DefaultAPIService) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest

GetTokenByInstanceName Method for GetTokenByInstanceName

Returns an ServiceAccount token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetTokenByInstanceNameRequest

func (*DefaultAPIService) GetTokenByInstanceNameExecute

func (a *DefaultAPIService) GetTokenByInstanceNameExecute(r ApiGetTokenByInstanceNameRequest) (*Token, error)

Execute executes the request

@return Token

func (*DefaultAPIService) ListInstances

func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest

ListInstances Method for ListInstances

Returns a list of all instances within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return ApiListInstancesRequest

func (*DefaultAPIService) ListInstancesExecute

func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*InstanceList, error)

Execute executes the request

@return InstanceList

func (*DefaultAPIService) ListPlansGlobal

ListPlansGlobal Method for ListPlansGlobal

DEPRECATED: Will be removed at the 28 of february 2026. Use list-plans-project instead.

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

Deprecated

func (*DefaultAPIService) ListPlansGlobalExecute

func (a *DefaultAPIService) ListPlansGlobalExecute(r ApiListPlansGlobalRequest) (*PlanList, error)

Execute executes the request

@return PlanList

Deprecated

func (*DefaultAPIService) ListPlansProject

func (a *DefaultAPIService) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest

ListPlansProject Method for ListPlansProject

List all possible plans for the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the plan is part of.
@return ApiListPlansProjectRequest

func (*DefaultAPIService) ListPlansProjectExecute

func (a *DefaultAPIService) ListPlansProjectExecute(r ApiListPlansProjectRequest) (*PlanList, error)

Execute executes the request

@return PlanList

func (*DefaultAPIService) UpdateInstance

func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest

UpdateInstance Method for UpdateInstance

Updates the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiUpdateInstanceRequest

func (*DefaultAPIService) UpdateInstanceByName

func (a *DefaultAPIService) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest

UpdateInstanceByName Method for UpdateInstanceByName

Updates the given instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiUpdateInstanceByNameRequest

func (*DefaultAPIService) UpdateInstanceByNameExecute

func (a *DefaultAPIService) UpdateInstanceByNameExecute(r ApiUpdateInstanceByNameRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateInstanceExecute

func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error

Execute executes the request

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
	CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*Instance, error)
	// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
	DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
	// DeleteInstanceByNameExecuteMock can be populated to implement the behavior of the DeleteInstanceByNameExecute function of this mock
	DeleteInstanceByNameExecuteMock *func(r ApiDeleteInstanceByNameRequest) error
	// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
	GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*Instance, error)
	// GetInstanceByNameExecuteMock can be populated to implement the behavior of the GetInstanceByNameExecute function of this mock
	GetInstanceByNameExecuteMock *func(r ApiGetInstanceByNameRequest) (*Instance, error)
	// GetKubeconfigByInstanceIdExecuteMock can be populated to implement the behavior of the GetKubeconfigByInstanceIdExecute function of this mock
	GetKubeconfigByInstanceIdExecuteMock *func(r ApiGetKubeconfigByInstanceIdRequest) (*Kubeconfig, error)
	// GetKubeconfigByInstanceNameExecuteMock can be populated to implement the behavior of the GetKubeconfigByInstanceNameExecute function of this mock
	GetKubeconfigByInstanceNameExecuteMock *func(r ApiGetKubeconfigByInstanceNameRequest) (*Kubeconfig, error)
	// GetTokenByInstanceIdExecuteMock can be populated to implement the behavior of the GetTokenByInstanceIdExecute function of this mock
	GetTokenByInstanceIdExecuteMock *func(r ApiGetTokenByInstanceIdRequest) (*Token, error)
	// GetTokenByInstanceNameExecuteMock can be populated to implement the behavior of the GetTokenByInstanceNameExecute function of this mock
	GetTokenByInstanceNameExecuteMock *func(r ApiGetTokenByInstanceNameRequest) (*Token, error)
	// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
	ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*InstanceList, error)
	// Deprecated: ListPlansGlobalExecuteMock can be populated to implement the behavior of the ListPlansGlobalExecute function of this mock
	ListPlansGlobalExecuteMock *func(r ApiListPlansGlobalRequest) (*PlanList, error)
	// ListPlansProjectExecuteMock can be populated to implement the behavior of the ListPlansProjectExecute function of this mock
	ListPlansProjectExecuteMock *func(r ApiListPlansProjectRequest) (*PlanList, error)
	// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
	UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) error
	// UpdateInstanceByNameExecuteMock can be populated to implement the behavior of the UpdateInstanceByNameExecute function of this mock
	UpdateInstanceByNameExecuteMock *func(r ApiUpdateInstanceByNameRequest) error
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateInstance

func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest

func (DefaultAPIServiceMock) CreateInstanceExecute

func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)

CreateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteInstance

func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest

func (DefaultAPIServiceMock) DeleteInstanceByName

func (a DefaultAPIServiceMock) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest

func (DefaultAPIServiceMock) DeleteInstanceByNameExecute

func (a DefaultAPIServiceMock) DeleteInstanceByNameExecute(r ApiDeleteInstanceByNameRequest) error

DeleteInstanceByNameExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceByNameExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteInstanceExecute

func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error

DeleteInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetInstance

func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest

func (DefaultAPIServiceMock) GetInstanceByName

func (a DefaultAPIServiceMock) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest

func (DefaultAPIServiceMock) GetInstanceByNameExecute

func (a DefaultAPIServiceMock) GetInstanceByNameExecute(r ApiGetInstanceByNameRequest) (*Instance, error)

GetInstanceByNameExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceByNameExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetInstanceExecute

func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)

GetInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKubeconfigByInstanceId

func (a DefaultAPIServiceMock) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest

func (DefaultAPIServiceMock) GetKubeconfigByInstanceIdExecute

func (a DefaultAPIServiceMock) GetKubeconfigByInstanceIdExecute(r ApiGetKubeconfigByInstanceIdRequest) (*Kubeconfig, error)

GetKubeconfigByInstanceIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKubeconfigByInstanceIdExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKubeconfigByInstanceName

func (a DefaultAPIServiceMock) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest

func (DefaultAPIServiceMock) GetKubeconfigByInstanceNameExecute

func (a DefaultAPIServiceMock) GetKubeconfigByInstanceNameExecute(r ApiGetKubeconfigByInstanceNameRequest) (*Kubeconfig, error)

GetKubeconfigByInstanceNameExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKubeconfigByInstanceNameExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetTokenByInstanceId

func (a DefaultAPIServiceMock) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest

func (DefaultAPIServiceMock) GetTokenByInstanceIdExecute

func (a DefaultAPIServiceMock) GetTokenByInstanceIdExecute(r ApiGetTokenByInstanceIdRequest) (*Token, error)

GetTokenByInstanceIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetTokenByInstanceIdExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetTokenByInstanceName

func (a DefaultAPIServiceMock) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest

func (DefaultAPIServiceMock) GetTokenByInstanceNameExecute

func (a DefaultAPIServiceMock) GetTokenByInstanceNameExecute(r ApiGetTokenByInstanceNameRequest) (*Token, error)

GetTokenByInstanceNameExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetTokenByInstanceNameExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListInstances

func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest

func (DefaultAPIServiceMock) ListInstancesExecute

func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*InstanceList, error)

ListInstancesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstancesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPlansGlobal

Deprecated

func (DefaultAPIServiceMock) ListPlansGlobalExecute deprecated

func (a DefaultAPIServiceMock) ListPlansGlobalExecute(r ApiListPlansGlobalRequest) (*PlanList, error)

Deprecated: ListPlansGlobalExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansGlobalExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPlansProject

func (a DefaultAPIServiceMock) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest

func (DefaultAPIServiceMock) ListPlansProjectExecute

func (a DefaultAPIServiceMock) ListPlansProjectExecute(r ApiListPlansProjectRequest) (*PlanList, error)

ListPlansProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansProjectExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateInstance

func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest

func (DefaultAPIServiceMock) UpdateInstanceByName

func (a DefaultAPIServiceMock) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest

func (DefaultAPIServiceMock) UpdateInstanceByNameExecute

func (a DefaultAPIServiceMock) UpdateInstanceByNameExecute(r ApiUpdateInstanceByNameRequest) error

UpdateInstanceByNameExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceByNameExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateInstanceExecute

func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error

UpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.

type Instance

type Instance struct {
	// The date and time the creation of the instance was triggered.
	Created time.Time `json:"created"`
	// A user chosen description to distinguish multiple instances.
	Description *string `json:"description,omitempty"`
	// The displayed name of the instance.
	DisplayName string `json:"displayName"`
	// URL to the Management UI of the Instance.
	FrontendUrl string `json:"frontendUrl"`
	// A auto generated unique id which identifies the instance.
	Id string `json:"id"`
	// Service Plan configures the size of the Instance.
	PlanId string `json:"planId"`
	// The current status of the instance.
	Status string `json:"status"`
}

Instance struct for Instance

func NewInstance

func NewInstance(created time.Time, displayName string, frontendUrl string, id string, planId string, status string) *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) GetCreated

func (o *Instance) GetCreated() time.Time

GetCreated returns the Created field value

func (*Instance) GetCreatedOk

func (o *Instance) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value 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) GetDisplayName

func (o *Instance) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Instance) GetDisplayNameOk

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

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

func (*Instance) GetFrontendUrl

func (o *Instance) GetFrontendUrl() string

GetFrontendUrl returns the FrontendUrl field value

func (*Instance) GetFrontendUrlOk

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

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

func (*Instance) GetId

func (o *Instance) GetId() string

GetId returns the Id field value

func (*Instance) GetIdOk

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

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

func (*Instance) GetPlanId

func (o *Instance) GetPlanId() string

GetPlanId returns the PlanId field value

func (*Instance) GetPlanIdOk

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

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

func (*Instance) GetStatus

func (o *Instance) GetStatus() string

GetStatus returns the Status field value

func (*Instance) GetStatusOk

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

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

func (*Instance) HasDescription

func (o *Instance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (Instance) MarshalJSON

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

func (*Instance) SetCreated

func (o *Instance) SetCreated(v time.Time)

SetCreated sets field value

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

func (o *Instance) SetDisplayName(v string)

SetDisplayName sets field value

func (*Instance) SetFrontendUrl

func (o *Instance) SetFrontendUrl(v string)

SetFrontendUrl sets field value

func (*Instance) SetId

func (o *Instance) SetId(v string)

SetId sets field value

func (*Instance) SetPlanId

func (o *Instance) SetPlanId(v string)

SetPlanId sets field value

func (*Instance) SetStatus

func (o *Instance) SetStatus(v string)

SetStatus sets field value

func (Instance) ToMap

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

func (*Instance) UnmarshalJSON

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

type InstanceList

type InstanceList struct {
	Instances []Instance `json:"instances"`
}

InstanceList struct for InstanceList

func NewInstanceList

func NewInstanceList(instances []Instance) *InstanceList

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

func NewInstanceListWithDefaults

func NewInstanceListWithDefaults() *InstanceList

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

func (*InstanceList) GetInstances

func (o *InstanceList) GetInstances() []Instance

GetInstances returns the Instances field value

func (*InstanceList) GetInstancesOk

func (o *InstanceList) GetInstancesOk() ([]Instance, bool)

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

func (InstanceList) MarshalJSON

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

func (*InstanceList) SetInstances

func (o *InstanceList) SetInstances(v []Instance)

SetInstances sets field value

func (InstanceList) ToMap

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

func (*InstanceList) UnmarshalJSON

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

type Kubeconfig

type Kubeconfig struct {
	// The kubeconfig for the instance.
	Kubeconfig map[string]interface{} `json:"kubeconfig"`
}

Kubeconfig struct for Kubeconfig

func NewKubeconfig

func NewKubeconfig(kubeconfig map[string]interface{}) *Kubeconfig

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

func NewKubeconfigWithDefaults

func NewKubeconfigWithDefaults() *Kubeconfig

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

func (*Kubeconfig) GetKubeconfig

func (o *Kubeconfig) GetKubeconfig() map[string]interface{}

GetKubeconfig returns the Kubeconfig field value

func (*Kubeconfig) GetKubeconfigOk

func (o *Kubeconfig) GetKubeconfigOk() (map[string]interface{}, bool)

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

func (Kubeconfig) MarshalJSON

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

func (*Kubeconfig) SetKubeconfig

func (o *Kubeconfig) SetKubeconfig(v map[string]interface{})

SetKubeconfig sets field value

func (Kubeconfig) ToMap

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

func (*Kubeconfig) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBadRequest

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

func NewNullableBadRequest

func NewNullableBadRequest(val *BadRequest) *NullableBadRequest

func (NullableBadRequest) Get

func (v NullableBadRequest) Get() *BadRequest

func (NullableBadRequest) IsSet

func (v NullableBadRequest) IsSet() bool

func (NullableBadRequest) MarshalJSON

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

func (*NullableBadRequest) Set

func (v *NullableBadRequest) Set(val *BadRequest)

func (*NullableBadRequest) UnmarshalJSON

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

func (*NullableBadRequest) Unset

func (v *NullableBadRequest) 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 NullableCreateInstancePayload

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

func (NullableCreateInstancePayload) Get

func (NullableCreateInstancePayload) IsSet

func (NullableCreateInstancePayload) MarshalJSON

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

func (*NullableCreateInstancePayload) Set

func (*NullableCreateInstancePayload) UnmarshalJSON

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

func (*NullableCreateInstancePayload) Unset

func (v *NullableCreateInstancePayload) 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 NullableInstanceList

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

func NewNullableInstanceList

func NewNullableInstanceList(val *InstanceList) *NullableInstanceList

func (NullableInstanceList) Get

func (NullableInstanceList) IsSet

func (v NullableInstanceList) IsSet() bool

func (NullableInstanceList) MarshalJSON

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

func (*NullableInstanceList) Set

func (v *NullableInstanceList) Set(val *InstanceList)

func (*NullableInstanceList) UnmarshalJSON

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

func (*NullableInstanceList) Unset

func (v *NullableInstanceList) 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 NullableKubeconfig

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

func NewNullableKubeconfig

func NewNullableKubeconfig(val *Kubeconfig) *NullableKubeconfig

func (NullableKubeconfig) Get

func (v NullableKubeconfig) Get() *Kubeconfig

func (NullableKubeconfig) IsSet

func (v NullableKubeconfig) IsSet() bool

func (NullableKubeconfig) MarshalJSON

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

func (*NullableKubeconfig) Set

func (v *NullableKubeconfig) Set(val *Kubeconfig)

func (*NullableKubeconfig) UnmarshalJSON

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

func (*NullableKubeconfig) Unset

func (v *NullableKubeconfig) Unset()

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePlanList

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

func NewNullablePlanList

func NewNullablePlanList(val *PlanList) *NullablePlanList

func (NullablePlanList) Get

func (v NullablePlanList) Get() *PlanList

func (NullablePlanList) IsSet

func (v NullablePlanList) IsSet() bool

func (NullablePlanList) MarshalJSON

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

func (*NullablePlanList) Set

func (v *NullablePlanList) Set(val *PlanList)

func (*NullablePlanList) UnmarshalJSON

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

func (*NullablePlanList) Unset

func (v *NullablePlanList) 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 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 NullableToken

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

func NewNullableToken

func NewNullableToken(val *Token) *NullableToken

func (NullableToken) Get

func (v NullableToken) Get() *Token

func (NullableToken) IsSet

func (v NullableToken) IsSet() bool

func (NullableToken) MarshalJSON

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

func (*NullableToken) Set

func (v *NullableToken) Set(val *Token)

func (*NullableToken) UnmarshalJSON

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

func (*NullableToken) Unset

func (v *NullableToken) Unset()

type NullableUnauthorizedRequest

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

func NewNullableUnauthorizedRequest

func NewNullableUnauthorizedRequest(val *UnauthorizedRequest) *NullableUnauthorizedRequest

func (NullableUnauthorizedRequest) Get

func (NullableUnauthorizedRequest) IsSet

func (NullableUnauthorizedRequest) MarshalJSON

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

func (*NullableUnauthorizedRequest) Set

func (*NullableUnauthorizedRequest) UnmarshalJSON

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

func (*NullableUnauthorizedRequest) Unset

func (v *NullableUnauthorizedRequest) Unset()

type NullableUpdateInstanceByNamePayload

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

func (NullableUpdateInstanceByNamePayload) Get

func (NullableUpdateInstanceByNamePayload) IsSet

func (NullableUpdateInstanceByNamePayload) MarshalJSON

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

func (*NullableUpdateInstanceByNamePayload) Set

func (*NullableUpdateInstanceByNamePayload) UnmarshalJSON

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

func (*NullableUpdateInstanceByNamePayload) Unset

type NullableUpdateInstancePayload

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

func (NullableUpdateInstancePayload) Get

func (NullableUpdateInstancePayload) IsSet

func (NullableUpdateInstancePayload) MarshalJSON

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

func (*NullableUpdateInstancePayload) Set

func (*NullableUpdateInstancePayload) UnmarshalJSON

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

func (*NullableUpdateInstancePayload) Unset

func (v *NullableUpdateInstancePayload) 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 Plan

type Plan struct {
	// Description
	Description *string `json:"description,omitempty"`
	// Service Plan Identifier
	Id *string `json:"id,omitempty"`
	// Maximum number of EdgeHosts
	MaxEdgeHosts *int32 `json:"maxEdgeHosts,omitempty"`
	// Service Plan Name
	Name *string `json:"name,omitempty"`
}

Plan struct for Plan

func NewPlan

func NewPlan() *Plan

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

func NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

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

func (*Plan) GetDescription

func (o *Plan) GetDescription() string

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

func (*Plan) GetDescriptionOk

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

func (o *Plan) GetId() string

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

func (*Plan) GetIdOk

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

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

func (*Plan) GetMaxEdgeHosts

func (o *Plan) GetMaxEdgeHosts() int32

GetMaxEdgeHosts returns the MaxEdgeHosts field value if set, zero value otherwise.

func (*Plan) GetMaxEdgeHostsOk

func (o *Plan) GetMaxEdgeHostsOk() (*int32, bool)

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

func (*Plan) GetName

func (o *Plan) GetName() string

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

func (*Plan) GetNameOk

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

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

func (*Plan) HasDescription

func (o *Plan) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Plan) HasId

func (o *Plan) HasId() bool

HasId returns a boolean if a field has been set.

func (*Plan) HasMaxEdgeHosts

func (o *Plan) HasMaxEdgeHosts() bool

HasMaxEdgeHosts returns a boolean if a field has been set.

func (*Plan) HasName

func (o *Plan) HasName() bool

HasName returns a boolean if a field has been set.

func (Plan) MarshalJSON

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

func (*Plan) SetDescription

func (o *Plan) SetDescription(v string)

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

func (*Plan) SetId

func (o *Plan) SetId(v string)

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

func (*Plan) SetMaxEdgeHosts

func (o *Plan) SetMaxEdgeHosts(v int32)

SetMaxEdgeHosts gets a reference to the given int32 and assigns it to the MaxEdgeHosts field.

func (*Plan) SetName

func (o *Plan) SetName(v string)

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

func (Plan) ToMap

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

type PlanList

type PlanList struct {
	ValidPlans []Plan `json:"validPlans,omitempty"`
}

PlanList struct for PlanList

func NewPlanList

func NewPlanList() *PlanList

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

func NewPlanListWithDefaults

func NewPlanListWithDefaults() *PlanList

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

func (*PlanList) GetValidPlans

func (o *PlanList) GetValidPlans() []Plan

GetValidPlans returns the ValidPlans field value if set, zero value otherwise.

func (*PlanList) GetValidPlansOk

func (o *PlanList) GetValidPlansOk() ([]Plan, bool)

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

func (*PlanList) HasValidPlans

func (o *PlanList) HasValidPlans() bool

HasValidPlans returns a boolean if a field has been set.

func (PlanList) MarshalJSON

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

func (*PlanList) SetValidPlans

func (o *PlanList) SetValidPlans(v []Plan)

SetValidPlans gets a reference to the given []Plan and assigns it to the ValidPlans field.

func (PlanList) ToMap

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

type Token

type Token struct {
	// The token for the instance.
	Token string `json:"token"`
}

Token struct for Token

func NewToken

func NewToken(token string) *Token

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

func NewTokenWithDefaults

func NewTokenWithDefaults() *Token

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

func (*Token) GetToken

func (o *Token) GetToken() string

GetToken returns the Token field value

func (*Token) GetTokenOk

func (o *Token) GetTokenOk() (*string, bool)

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

func (Token) MarshalJSON

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

func (*Token) SetToken

func (o *Token) SetToken(v string)

SetToken sets field value

func (Token) ToMap

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

func (*Token) UnmarshalJSON

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

type UnauthorizedRequest

type UnauthorizedRequest struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

UnauthorizedRequest struct for UnauthorizedRequest

func NewUnauthorizedRequest

func NewUnauthorizedRequest() *UnauthorizedRequest

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

func NewUnauthorizedRequestWithDefaults

func NewUnauthorizedRequestWithDefaults() *UnauthorizedRequest

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

func (*UnauthorizedRequest) GetCode

func (o *UnauthorizedRequest) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*UnauthorizedRequest) GetCodeOk

func (o *UnauthorizedRequest) GetCodeOk() (*string, bool)

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

func (*UnauthorizedRequest) GetMessage

func (o *UnauthorizedRequest) GetMessage() string

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

func (*UnauthorizedRequest) GetMessageOk

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

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

func (*UnauthorizedRequest) HasCode

func (o *UnauthorizedRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*UnauthorizedRequest) HasMessage

func (o *UnauthorizedRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UnauthorizedRequest) MarshalJSON

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

func (*UnauthorizedRequest) SetCode

func (o *UnauthorizedRequest) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UnauthorizedRequest) SetMessage

func (o *UnauthorizedRequest) SetMessage(v string)

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

func (UnauthorizedRequest) ToMap

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

type UpdateInstanceByNamePayload

type UpdateInstanceByNamePayload struct {
	// A user chosen description to distinguish multiple instances.
	Description *string `json:"description,omitempty"`
	// Service Plan configures the size of the Instance.
	PlanId *string `json:"planId,omitempty"`
}

UpdateInstanceByNamePayload struct for UpdateInstanceByNamePayload

func NewUpdateInstanceByNamePayload

func NewUpdateInstanceByNamePayload() *UpdateInstanceByNamePayload

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

func NewUpdateInstanceByNamePayloadWithDefaults

func NewUpdateInstanceByNamePayloadWithDefaults() *UpdateInstanceByNamePayload

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

func (*UpdateInstanceByNamePayload) GetDescription

func (o *UpdateInstanceByNamePayload) GetDescription() string

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

func (*UpdateInstanceByNamePayload) GetDescriptionOk

func (o *UpdateInstanceByNamePayload) 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 (*UpdateInstanceByNamePayload) GetPlanId

func (o *UpdateInstanceByNamePayload) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*UpdateInstanceByNamePayload) GetPlanIdOk

func (o *UpdateInstanceByNamePayload) GetPlanIdOk() (*string, bool)

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

func (*UpdateInstanceByNamePayload) HasDescription

func (o *UpdateInstanceByNamePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateInstanceByNamePayload) HasPlanId

func (o *UpdateInstanceByNamePayload) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (UpdateInstanceByNamePayload) MarshalJSON

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

func (*UpdateInstanceByNamePayload) SetDescription

func (o *UpdateInstanceByNamePayload) SetDescription(v string)

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

func (*UpdateInstanceByNamePayload) SetPlanId

func (o *UpdateInstanceByNamePayload) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (UpdateInstanceByNamePayload) ToMap

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

type UpdateInstancePayload

type UpdateInstancePayload struct {
	// A user chosen description to distinguish multiple instances.
	Description *string `json:"description,omitempty"`
	// Service Plan configures the size of the Instance.
	PlanId *string `json:"planId,omitempty"`
}

UpdateInstancePayload struct for UpdateInstancePayload

func NewUpdateInstancePayload

func NewUpdateInstancePayload() *UpdateInstancePayload

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

func NewUpdateInstancePayloadWithDefaults

func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload

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

func (*UpdateInstancePayload) GetDescription

func (o *UpdateInstancePayload) GetDescription() string

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

func (*UpdateInstancePayload) GetDescriptionOk

func (o *UpdateInstancePayload) 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 (*UpdateInstancePayload) GetPlanId

func (o *UpdateInstancePayload) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*UpdateInstancePayload) GetPlanIdOk

func (o *UpdateInstancePayload) GetPlanIdOk() (*string, bool)

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

func (*UpdateInstancePayload) HasDescription

func (o *UpdateInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateInstancePayload) HasPlanId

func (o *UpdateInstancePayload) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (UpdateInstancePayload) MarshalJSON

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

func (*UpdateInstancePayload) SetDescription

func (o *UpdateInstancePayload) SetDescription(v string)

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

func (*UpdateInstancePayload) SetPlanId

func (o *UpdateInstancePayload) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (UpdateInstancePayload) ToMap

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

type User

type User struct {
	// The email of the user.
	Email string `json:"email"`
	// The UUID of the user.
	InternalId string `json:"internalId"`
}

User struct for User

func NewUser

func NewUser(email string, internalId 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) 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) GetInternalId

func (o *User) GetInternalId() string

GetInternalId returns the InternalId field value

func (*User) GetInternalIdOk

func (o *User) GetInternalIdOk() (*string, bool)

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

func (User) MarshalJSON

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

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail sets field value

func (*User) SetInternalId

func (o *User) SetInternalId(v string)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL