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 ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateInstanceRequest
- type ApiDeleteInstanceByNameRequest
- type ApiDeleteInstanceRequest
- type ApiGetInstanceByNameRequest
- type ApiGetInstanceRequest
- type ApiGetKubeconfigByInstanceIdRequest
- type ApiGetKubeconfigByInstanceNameRequest
- type ApiGetTokenByInstanceIdRequest
- type ApiGetTokenByInstanceNameRequest
- type ApiListInstancesRequest
- type ApiListPlansGlobalRequest
- type ApiListPlansProjectRequest
- type ApiUpdateInstanceByNameRequest
- type ApiUpdateInstanceRequest
- type BadRequest
- func (o *BadRequest) GetCode() string
- func (o *BadRequest) GetCodeOk() (*string, bool)
- func (o *BadRequest) GetMessage() string
- func (o *BadRequest) GetMessageOk() (*string, bool)
- func (o *BadRequest) HasCode() bool
- func (o *BadRequest) HasMessage() bool
- func (o BadRequest) MarshalJSON() ([]byte, error)
- func (o *BadRequest) SetCode(v string)
- func (o *BadRequest) SetMessage(v string)
- func (o BadRequest) ToMap() (map[string]interface{}, error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetDescription() string
- func (o *CreateInstancePayload) GetDescriptionOk() (*string, bool)
- func (o *CreateInstancePayload) GetDisplayName() string
- func (o *CreateInstancePayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateInstancePayload) GetPlanId() string
- func (o *CreateInstancePayload) GetPlanIdOk() (*string, bool)
- func (o *CreateInstancePayload) HasDescription() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetDescription(v string)
- func (o *CreateInstancePayload) SetDisplayName(v string)
- func (o *CreateInstancePayload) SetPlanId(v string)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
- func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest
- func (a *DefaultAPIService) DeleteInstanceByNameExecute(r ApiDeleteInstanceByNameRequest) error
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest
- func (a *DefaultAPIService) GetInstanceByNameExecute(r ApiGetInstanceByNameRequest) (*Instance, error)
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
- func (a *DefaultAPIService) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest
- func (a *DefaultAPIService) GetKubeconfigByInstanceIdExecute(r ApiGetKubeconfigByInstanceIdRequest) (*Kubeconfig, error)
- func (a *DefaultAPIService) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest
- func (a *DefaultAPIService) GetKubeconfigByInstanceNameExecute(r ApiGetKubeconfigByInstanceNameRequest) (*Kubeconfig, error)
- func (a *DefaultAPIService) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest
- func (a *DefaultAPIService) GetTokenByInstanceIdExecute(r ApiGetTokenByInstanceIdRequest) (*Token, error)
- func (a *DefaultAPIService) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest
- func (a *DefaultAPIService) GetTokenByInstanceNameExecute(r ApiGetTokenByInstanceNameRequest) (*Token, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*InstanceList, error)
- func (a *DefaultAPIService) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
- func (a *DefaultAPIService) ListPlansGlobalExecute(r ApiListPlansGlobalRequest) (*PlanList, error)
- func (a *DefaultAPIService) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest
- func (a *DefaultAPIService) ListPlansProjectExecute(r ApiListPlansProjectRequest) (*PlanList, error)
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest
- func (a *DefaultAPIService) UpdateInstanceByNameExecute(r ApiUpdateInstanceByNameRequest) error
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest
- func (a DefaultAPIServiceMock) DeleteInstanceByNameExecute(r ApiDeleteInstanceByNameRequest) error
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest
- func (a DefaultAPIServiceMock) GetInstanceByNameExecute(r ApiGetInstanceByNameRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest
- func (a DefaultAPIServiceMock) GetKubeconfigByInstanceIdExecute(r ApiGetKubeconfigByInstanceIdRequest) (*Kubeconfig, error)
- func (a DefaultAPIServiceMock) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest
- func (a DefaultAPIServiceMock) GetKubeconfigByInstanceNameExecute(r ApiGetKubeconfigByInstanceNameRequest) (*Kubeconfig, error)
- func (a DefaultAPIServiceMock) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest
- func (a DefaultAPIServiceMock) GetTokenByInstanceIdExecute(r ApiGetTokenByInstanceIdRequest) (*Token, error)
- func (a DefaultAPIServiceMock) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest
- func (a DefaultAPIServiceMock) GetTokenByInstanceNameExecute(r ApiGetTokenByInstanceNameRequest) (*Token, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*InstanceList, error)
- func (a DefaultAPIServiceMock) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
- func (a DefaultAPIServiceMock) ListPlansGlobalExecute(r ApiListPlansGlobalRequest) (*PlanList, error)deprecated
- func (a DefaultAPIServiceMock) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest
- func (a DefaultAPIServiceMock) ListPlansProjectExecute(r ApiListPlansProjectRequest) (*PlanList, error)
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest
- func (a DefaultAPIServiceMock) UpdateInstanceByNameExecute(r ApiUpdateInstanceByNameRequest) error
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- type Instance
- func (o *Instance) GetCreated() time.Time
- func (o *Instance) GetCreatedOk() (*time.Time, bool)
- func (o *Instance) GetDescription() string
- func (o *Instance) GetDescriptionOk() (*string, bool)
- func (o *Instance) GetDisplayName() string
- func (o *Instance) GetDisplayNameOk() (*string, bool)
- func (o *Instance) GetFrontendUrl() string
- func (o *Instance) GetFrontendUrlOk() (*string, bool)
- func (o *Instance) GetId() string
- func (o *Instance) GetIdOk() (*string, bool)
- func (o *Instance) GetPlanId() string
- func (o *Instance) GetPlanIdOk() (*string, bool)
- func (o *Instance) GetStatus() string
- func (o *Instance) GetStatusOk() (*string, bool)
- func (o *Instance) HasDescription() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetCreated(v time.Time)
- func (o *Instance) SetDescription(v string)
- func (o *Instance) SetDisplayName(v string)
- func (o *Instance) SetFrontendUrl(v string)
- func (o *Instance) SetId(v string)
- func (o *Instance) SetPlanId(v string)
- func (o *Instance) SetStatus(v string)
- func (o Instance) ToMap() (map[string]interface{}, error)
- func (o *Instance) UnmarshalJSON(data []byte) (err error)
- type InstanceList
- func (o *InstanceList) GetInstances() []Instance
- func (o *InstanceList) GetInstancesOk() ([]Instance, bool)
- func (o InstanceList) MarshalJSON() ([]byte, error)
- func (o *InstanceList) SetInstances(v []Instance)
- func (o InstanceList) ToMap() (map[string]interface{}, error)
- func (o *InstanceList) UnmarshalJSON(data []byte) (err error)
- type Kubeconfig
- func (o *Kubeconfig) GetKubeconfig() map[string]interface{}
- func (o *Kubeconfig) GetKubeconfigOk() (map[string]interface{}, bool)
- func (o Kubeconfig) MarshalJSON() ([]byte, error)
- func (o *Kubeconfig) SetKubeconfig(v map[string]interface{})
- func (o Kubeconfig) ToMap() (map[string]interface{}, error)
- func (o *Kubeconfig) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBadRequest
- type NullableBool
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInstance
- type NullableInstanceList
- func (v NullableInstanceList) Get() *InstanceList
- func (v NullableInstanceList) IsSet() bool
- func (v NullableInstanceList) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceList) Set(val *InstanceList)
- func (v *NullableInstanceList) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceList) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKubeconfig
- type NullablePlan
- type NullablePlanList
- type NullableString
- type NullableTime
- type NullableToken
- type NullableUnauthorizedRequest
- func (v NullableUnauthorizedRequest) Get() *UnauthorizedRequest
- func (v NullableUnauthorizedRequest) IsSet() bool
- func (v NullableUnauthorizedRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUnauthorizedRequest) Set(val *UnauthorizedRequest)
- func (v *NullableUnauthorizedRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUnauthorizedRequest) Unset()
- type NullableUpdateInstanceByNamePayload
- func (v NullableUpdateInstanceByNamePayload) Get() *UpdateInstanceByNamePayload
- func (v NullableUpdateInstanceByNamePayload) IsSet() bool
- func (v NullableUpdateInstanceByNamePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstanceByNamePayload) Set(val *UpdateInstanceByNamePayload)
- func (v *NullableUpdateInstanceByNamePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstanceByNamePayload) Unset()
- type NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUser
- type Plan
- func (o *Plan) GetDescription() string
- func (o *Plan) GetDescriptionOk() (*string, bool)
- func (o *Plan) GetId() string
- func (o *Plan) GetIdOk() (*string, bool)
- func (o *Plan) GetMaxEdgeHosts() int32
- func (o *Plan) GetMaxEdgeHostsOk() (*int32, bool)
- func (o *Plan) GetName() string
- func (o *Plan) GetNameOk() (*string, bool)
- func (o *Plan) HasDescription() bool
- func (o *Plan) HasId() bool
- func (o *Plan) HasMaxEdgeHosts() bool
- func (o *Plan) HasName() bool
- func (o Plan) MarshalJSON() ([]byte, error)
- func (o *Plan) SetDescription(v string)
- func (o *Plan) SetId(v string)
- func (o *Plan) SetMaxEdgeHosts(v int32)
- func (o *Plan) SetName(v string)
- func (o Plan) ToMap() (map[string]interface{}, error)
- type PlanList
- type Token
- type UnauthorizedRequest
- func (o *UnauthorizedRequest) GetCode() string
- func (o *UnauthorizedRequest) GetCodeOk() (*string, bool)
- func (o *UnauthorizedRequest) GetMessage() string
- func (o *UnauthorizedRequest) GetMessageOk() (*string, bool)
- func (o *UnauthorizedRequest) HasCode() bool
- func (o *UnauthorizedRequest) HasMessage() bool
- func (o UnauthorizedRequest) MarshalJSON() ([]byte, error)
- func (o *UnauthorizedRequest) SetCode(v string)
- func (o *UnauthorizedRequest) SetMessage(v string)
- func (o UnauthorizedRequest) ToMap() (map[string]interface{}, error)
- type UpdateInstanceByNamePayload
- func (o *UpdateInstanceByNamePayload) GetDescription() string
- func (o *UpdateInstanceByNamePayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateInstanceByNamePayload) GetPlanId() string
- func (o *UpdateInstanceByNamePayload) GetPlanIdOk() (*string, bool)
- func (o *UpdateInstanceByNamePayload) HasDescription() bool
- func (o *UpdateInstanceByNamePayload) HasPlanId() bool
- func (o UpdateInstanceByNamePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstanceByNamePayload) SetDescription(v string)
- func (o *UpdateInstanceByNamePayload) SetPlanId(v string)
- func (o UpdateInstanceByNamePayload) ToMap() (map[string]interface{}, error)
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetDescription() string
- func (o *UpdateInstancePayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateInstancePayload) GetPlanId() string
- func (o *UpdateInstancePayload) GetPlanIdOk() (*string, bool)
- func (o *UpdateInstancePayload) HasDescription() bool
- func (o *UpdateInstancePayload) HasPlanId() bool
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetDescription(v string)
- func (o *UpdateInstancePayload) SetPlanId(v string)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- type User
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetInternalId() string
- func (o *User) GetInternalIdOk() (*string, bool)
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetEmail(v string)
- func (o *User) SetInternalId(v string)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
func (r ApiDeleteInstanceByNameRequest) Execute() error
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 (r ApiGetKubeconfigByInstanceIdRequest) Execute() (*Kubeconfig, error)
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 (r ApiGetKubeconfigByInstanceNameRequest) Execute() (*Kubeconfig, error)
func (ApiGetKubeconfigByInstanceNameRequest) ExpirationSeconds ¶
func (r ApiGetKubeconfigByInstanceNameRequest) ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceNameRequest
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 (r ApiGetTokenByInstanceNameRequest) Execute() (*Token, error)
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 (r ApiUpdateInstanceByNameRequest) Execute() error
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 ¶
func (a *DefaultAPIService) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
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 ¶
func (a DefaultAPIServiceMock) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
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 ¶
GetCreated returns the Created field value
func (*Instance) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Instance) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Instance) GetDescriptionOk ¶
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 ¶
GetDisplayName returns the DisplayName field value
func (*Instance) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Instance) GetFrontendUrl ¶
GetFrontendUrl returns the FrontendUrl field value
func (*Instance) GetFrontendUrlOk ¶
GetFrontendUrlOk returns a tuple with the FrontendUrl field value and a boolean to check if the value has been set.
func (*Instance) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Instance) GetPlanIdOk ¶
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*Instance) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Instance) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
func (*Instance) SetCreated ¶
SetCreated sets field value
func (*Instance) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Instance) SetDisplayName ¶
SetDisplayName sets field value
func (*Instance) SetFrontendUrl ¶
SetFrontendUrl sets field value
func (*Instance) UnmarshalJSON ¶
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 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 NewNullableCreateInstancePayload ¶
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
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 (v NullableInstanceList) Get() *InstanceList
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 (v NullableUnauthorizedRequest) Get() *UnauthorizedRequest
func (NullableUnauthorizedRequest) IsSet ¶
func (v NullableUnauthorizedRequest) IsSet() bool
func (NullableUnauthorizedRequest) MarshalJSON ¶
func (v NullableUnauthorizedRequest) MarshalJSON() ([]byte, error)
func (*NullableUnauthorizedRequest) Set ¶
func (v *NullableUnauthorizedRequest) Set(val *UnauthorizedRequest)
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 NewNullableUpdateInstanceByNamePayload ¶
func NewNullableUpdateInstanceByNamePayload(val *UpdateInstanceByNamePayload) *NullableUpdateInstanceByNamePayload
func (NullableUpdateInstanceByNamePayload) Get ¶
func (v NullableUpdateInstanceByNamePayload) Get() *UpdateInstanceByNamePayload
func (NullableUpdateInstanceByNamePayload) IsSet ¶
func (v NullableUpdateInstanceByNamePayload) IsSet() bool
func (NullableUpdateInstanceByNamePayload) MarshalJSON ¶
func (v NullableUpdateInstanceByNamePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstanceByNamePayload) Set ¶
func (v *NullableUpdateInstanceByNamePayload) Set(val *UpdateInstanceByNamePayload)
func (*NullableUpdateInstanceByNamePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstanceByNamePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstanceByNamePayload) Unset ¶
func (v *NullableUpdateInstanceByNamePayload) Unset()
type NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayload ¶
func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload
func (NullableUpdateInstancePayload) Get ¶
func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
func (NullableUpdateInstancePayload) IsSet ¶
func (v NullableUpdateInstancePayload) IsSet() bool
func (NullableUpdateInstancePayload) MarshalJSON ¶
func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayload) Set ¶
func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Plan) GetDescriptionOk ¶
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) GetIdOk ¶
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 ¶
GetMaxEdgeHosts returns the MaxEdgeHosts field value if set, zero value otherwise.
func (*Plan) GetMaxEdgeHostsOk ¶
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) GetNameOk ¶
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 ¶
HasDescription returns a boolean if a field has been set.
func (*Plan) HasMaxEdgeHosts ¶
HasMaxEdgeHosts returns a boolean if a field has been set.
func (Plan) MarshalJSON ¶
func (*Plan) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Plan) SetMaxEdgeHosts ¶
SetMaxEdgeHosts gets a reference to the given int32 and assigns it to the MaxEdgeHosts field.
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 ¶
GetValidPlans returns the ValidPlans field value if set, zero value otherwise.
func (*PlanList) GetValidPlansOk ¶
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 ¶
HasValidPlans returns a boolean if a field has been set.
func (PlanList) MarshalJSON ¶
func (*PlanList) SetValidPlans ¶
SetValidPlans gets a reference to the given []Plan and assigns it to the ValidPlans field.
type Token ¶
type Token struct {
// The token for the instance.
Token string `json:"token"`
}
Token struct for Token
func NewToken ¶
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) GetTokenOk ¶
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (Token) MarshalJSON ¶
func (*Token) UnmarshalJSON ¶
type UnauthorizedRequest ¶
type UnauthorizedRequest struct {
}
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 ¶
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) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetInternalId ¶
GetInternalId returns the InternalId field value
func (*User) GetInternalIdOk ¶
GetInternalIdOk returns a tuple with the InternalId field value and a boolean to check if the value has been set.
func (User) MarshalJSON ¶
func (*User) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_bad_request.go
- model_create_instance_payload.go
- model_instance.go
- model_instance_list.go
- model_kubeconfig.go
- model_plan.go
- model_plan_list.go
- model_token.go
- model_unauthorized_request.go
- model_update_instance_by_name_payload.go
- model_update_instance_payload.go
- model_user.go
- response.go
- utils.go