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 ApiCreateInstanceTokenRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteInstanceTokenRequest
- type ApiGetInstanceRequest
- type ApiGetInstanceTokenRequest
- type ApiListInstanceTokensRequest
- type ApiListInstancesRequest
- type ApiPartialUpdateInstanceRequest
- type ApiPartialUpdateInstanceTokenRequest
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetDeletedExperimentRetention() string
- func (o *CreateInstancePayload) GetDeletedExperimentRetentionOk() (*string, bool)
- func (o *CreateInstancePayload) GetDescription() string
- func (o *CreateInstancePayload) GetDescriptionOk() (*string, bool)
- func (o *CreateInstancePayload) GetLabels() map[string]string
- func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) HasDeletedExperimentRetention() bool
- func (o *CreateInstancePayload) HasDescription() bool
- func (o *CreateInstancePayload) HasLabels() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetDeletedExperimentRetention(v string)
- func (o *CreateInstancePayload) SetDescription(v string)
- func (o *CreateInstancePayload) SetLabels(v map[string]string)
- func (o *CreateInstancePayload) SetName(v string)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceResponse
- func (o *CreateInstanceResponse) GetInstance() Instance
- func (o *CreateInstanceResponse) GetInstanceOk() (*Instance, bool)
- func (o *CreateInstanceResponse) GetMessage() string
- func (o *CreateInstanceResponse) GetMessageOk() (*string, bool)
- func (o *CreateInstanceResponse) HasMessage() bool
- func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceResponse) SetInstance(v Instance)
- func (o *CreateInstanceResponse) SetMessage(v string)
- func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceTokenPayload
- func (o *CreateInstanceTokenPayload) GetDescription() string
- func (o *CreateInstanceTokenPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateInstanceTokenPayload) GetLabels() map[string]string
- func (o *CreateInstanceTokenPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateInstanceTokenPayload) GetName() string
- func (o *CreateInstanceTokenPayload) GetNameOk() (*string, bool)
- func (o *CreateInstanceTokenPayload) GetTtlDuration() string
- func (o *CreateInstanceTokenPayload) GetTtlDurationOk() (*string, bool)
- func (o *CreateInstanceTokenPayload) HasDescription() bool
- func (o *CreateInstanceTokenPayload) HasLabels() bool
- func (o *CreateInstanceTokenPayload) HasTtlDuration() bool
- func (o CreateInstanceTokenPayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceTokenPayload) SetDescription(v string)
- func (o *CreateInstanceTokenPayload) SetLabels(v map[string]string)
- func (o *CreateInstanceTokenPayload) SetName(v string)
- func (o *CreateInstanceTokenPayload) SetTtlDuration(v string)
- func (o CreateInstanceTokenPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstanceTokenPayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceTokenResponse
- func (o *CreateInstanceTokenResponse) GetMessage() string
- func (o *CreateInstanceTokenResponse) GetMessageOk() (*string, bool)
- func (o *CreateInstanceTokenResponse) GetToken() Token
- func (o *CreateInstanceTokenResponse) GetTokenOk() (*Token, bool)
- func (o *CreateInstanceTokenResponse) HasMessage() bool
- func (o CreateInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceTokenResponse) SetMessage(v string)
- func (o *CreateInstanceTokenResponse) SetToken(v Token)
- func (o CreateInstanceTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateInstanceTokenResponse) 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) (*CreateInstanceResponse, error)
- func (a *DefaultAPIService) CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest
- func (a *DefaultAPIService) CreateInstanceTokenExecute(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)
- func (a *DefaultAPIService) DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, ...) ApiDeleteInstanceTokenRequest
- func (a *DefaultAPIService) DeleteInstanceTokenExecute(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a *DefaultAPIService) GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, ...) ApiGetInstanceTokenRequest
- func (a *DefaultAPIService) GetInstanceTokenExecute(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
- func (a *DefaultAPIService) ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest
- func (a *DefaultAPIService) ListInstanceTokensExecute(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
- func (a *DefaultAPIService) PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, ...) ApiPartialUpdateInstanceTokenRequest
- func (a *DefaultAPIService) PartialUpdateInstanceTokenExecute(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest
- func (a DefaultAPIServiceMock) CreateInstanceTokenExecute(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)
- func (a DefaultAPIServiceMock) DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, ...) ApiDeleteInstanceTokenRequest
- func (a DefaultAPIServiceMock) DeleteInstanceTokenExecute(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a DefaultAPIServiceMock) GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, ...) ApiGetInstanceTokenRequest
- func (a DefaultAPIServiceMock) GetInstanceTokenExecute(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
- func (a DefaultAPIServiceMock) ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest
- func (a DefaultAPIServiceMock) ListInstanceTokensExecute(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a DefaultAPIServiceMock) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, ...) ApiPartialUpdateInstanceTokenRequest
- func (a DefaultAPIServiceMock) PartialUpdateInstanceTokenExecute(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, error)
- type DeleteInstanceResponse
- func (o *DeleteInstanceResponse) GetInstance() Instance
- func (o *DeleteInstanceResponse) GetInstanceOk() (*Instance, bool)
- func (o *DeleteInstanceResponse) GetMessage() string
- func (o *DeleteInstanceResponse) GetMessageOk() (*string, bool)
- func (o *DeleteInstanceResponse) HasMessage() bool
- func (o DeleteInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteInstanceResponse) SetInstance(v Instance)
- func (o *DeleteInstanceResponse) SetMessage(v string)
- func (o DeleteInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *DeleteInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type DeleteInstanceTokenResponse
- func (o *DeleteInstanceTokenResponse) GetMessage() string
- func (o *DeleteInstanceTokenResponse) GetMessageOk() (*string, bool)
- func (o *DeleteInstanceTokenResponse) GetToken() TokenMetadata
- func (o *DeleteInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)
- func (o *DeleteInstanceTokenResponse) HasMessage() bool
- func (o DeleteInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteInstanceTokenResponse) SetMessage(v string)
- func (o *DeleteInstanceTokenResponse) SetToken(v TokenMetadata)
- func (o DeleteInstanceTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *DeleteInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetCode() int32
- func (o *ErrorResponse) GetCodeOk() (*int32, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() string
- func (o *ErrorResponse) GetStatusOk() (*string, bool)
- func (o *ErrorResponse) HasStatus() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetCode(v int32)
- func (o *ErrorResponse) SetMessage(v string)
- func (o *ErrorResponse) SetStatus(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GetInstanceResponse
- func (o *GetInstanceResponse) GetInstance() Instance
- func (o *GetInstanceResponse) GetInstanceOk() (*Instance, bool)
- func (o *GetInstanceResponse) GetMessage() string
- func (o *GetInstanceResponse) GetMessageOk() (*string, bool)
- func (o *GetInstanceResponse) HasMessage() bool
- func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *GetInstanceResponse) SetInstance(v Instance)
- func (o *GetInstanceResponse) SetMessage(v string)
- func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *GetInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type GetInstanceTokenResponse
- func (o *GetInstanceTokenResponse) GetMessage() string
- func (o *GetInstanceTokenResponse) GetMessageOk() (*string, bool)
- func (o *GetInstanceTokenResponse) GetToken() TokenMetadata
- func (o *GetInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)
- func (o *GetInstanceTokenResponse) HasMessage() bool
- func (o GetInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (o *GetInstanceTokenResponse) SetMessage(v string)
- func (o *GetInstanceTokenResponse) SetToken(v TokenMetadata)
- func (o GetInstanceTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *GetInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
- type Instance
- func (o *Instance) GetBucketName() string
- func (o *Instance) GetBucketNameOk() (*string, bool)
- func (o *Instance) GetDeletedExperimentRetention() string
- func (o *Instance) GetDeletedExperimentRetentionOk() (*string, bool)
- func (o *Instance) GetDescription() string
- func (o *Instance) GetDescriptionOk() (*string, bool)
- func (o *Instance) GetErrorMessage() string
- func (o *Instance) GetErrorMessageOk() (*string, bool)
- func (o *Instance) GetId() string
- func (o *Instance) GetIdOk() (*string, bool)
- func (o *Instance) GetLabels() map[string]string
- func (o *Instance) GetLabelsOk() (*map[string]string, bool)
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetRegion() string
- func (o *Instance) GetRegionOk() (*string, bool)
- func (o *Instance) GetState() InstanceState
- func (o *Instance) GetStateOk() (*InstanceState, bool)
- func (o *Instance) GetUrl() string
- func (o *Instance) GetUrlOk() (*string, bool)
- func (o *Instance) HasBucketName() bool
- func (o *Instance) HasDeletedExperimentRetention() bool
- func (o *Instance) HasDescription() bool
- func (o *Instance) HasErrorMessage() bool
- func (o *Instance) HasLabels() bool
- func (o *Instance) HasRegion() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetBucketName(v string)
- func (o *Instance) SetDeletedExperimentRetention(v string)
- func (o *Instance) SetDescription(v string)
- func (o *Instance) SetErrorMessage(v string)
- func (o *Instance) SetId(v string)
- func (o *Instance) SetLabels(v map[string]string)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetRegion(v string)
- func (o *Instance) SetState(v InstanceState)
- func (o *Instance) SetUrl(v string)
- func (o Instance) ToMap() (map[string]interface{}, error)
- func (o *Instance) UnmarshalJSON(data []byte) (err error)
- type InstanceState
- type ListInstanceTokensResponse
- func (o *ListInstanceTokensResponse) GetMessage() string
- func (o *ListInstanceTokensResponse) GetMessageOk() (*string, bool)
- func (o *ListInstanceTokensResponse) GetTokens() []TokenMetadata
- func (o *ListInstanceTokensResponse) GetTokensOk() ([]TokenMetadata, bool)
- func (o *ListInstanceTokensResponse) HasMessage() bool
- func (o ListInstanceTokensResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstanceTokensResponse) SetMessage(v string)
- func (o *ListInstanceTokensResponse) SetTokens(v []TokenMetadata)
- func (o ListInstanceTokensResponse) ToMap() (map[string]interface{}, error)
- func (o *ListInstanceTokensResponse) UnmarshalJSON(data []byte) (err error)
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetInstances() []Instance
- func (o *ListInstancesResponse) GetInstancesOk() ([]Instance, bool)
- func (o *ListInstancesResponse) GetMessage() string
- func (o *ListInstancesResponse) GetMessageOk() (*string, bool)
- func (o *ListInstancesResponse) HasMessage() bool
- func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstancesResponse) SetInstances(v []Instance)
- func (o *ListInstancesResponse) SetMessage(v string)
- func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- 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 NullableCreateInstanceResponse
- func (v NullableCreateInstanceResponse) Get() *CreateInstanceResponse
- func (v NullableCreateInstanceResponse) IsSet() bool
- func (v NullableCreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceResponse) Set(val *CreateInstanceResponse)
- func (v *NullableCreateInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceResponse) Unset()
- type NullableCreateInstanceTokenPayload
- func (v NullableCreateInstanceTokenPayload) Get() *CreateInstanceTokenPayload
- func (v NullableCreateInstanceTokenPayload) IsSet() bool
- func (v NullableCreateInstanceTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceTokenPayload) Set(val *CreateInstanceTokenPayload)
- func (v *NullableCreateInstanceTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceTokenPayload) Unset()
- type NullableCreateInstanceTokenResponse
- func (v NullableCreateInstanceTokenResponse) Get() *CreateInstanceTokenResponse
- func (v NullableCreateInstanceTokenResponse) IsSet() bool
- func (v NullableCreateInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceTokenResponse) Set(val *CreateInstanceTokenResponse)
- func (v *NullableCreateInstanceTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceTokenResponse) Unset()
- type NullableDeleteInstanceResponse
- func (v NullableDeleteInstanceResponse) Get() *DeleteInstanceResponse
- func (v NullableDeleteInstanceResponse) IsSet() bool
- func (v NullableDeleteInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteInstanceResponse) Set(val *DeleteInstanceResponse)
- func (v *NullableDeleteInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteInstanceResponse) Unset()
- type NullableDeleteInstanceTokenResponse
- func (v NullableDeleteInstanceTokenResponse) Get() *DeleteInstanceTokenResponse
- func (v NullableDeleteInstanceTokenResponse) IsSet() bool
- func (v NullableDeleteInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteInstanceTokenResponse) Set(val *DeleteInstanceTokenResponse)
- func (v *NullableDeleteInstanceTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteInstanceTokenResponse) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetInstanceResponse
- func (v NullableGetInstanceResponse) Get() *GetInstanceResponse
- func (v NullableGetInstanceResponse) IsSet() bool
- func (v NullableGetInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetInstanceResponse) Set(val *GetInstanceResponse)
- func (v *NullableGetInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetInstanceResponse) Unset()
- type NullableGetInstanceTokenResponse
- func (v NullableGetInstanceTokenResponse) Get() *GetInstanceTokenResponse
- func (v NullableGetInstanceTokenResponse) IsSet() bool
- func (v NullableGetInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetInstanceTokenResponse) Set(val *GetInstanceTokenResponse)
- func (v *NullableGetInstanceTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetInstanceTokenResponse) Unset()
- type NullableInstance
- type NullableInstanceState
- func (v NullableInstanceState) Get() *InstanceState
- func (v NullableInstanceState) IsSet() bool
- func (v NullableInstanceState) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceState) Set(val *InstanceState)
- func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceState) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListInstanceTokensResponse
- func (v NullableListInstanceTokensResponse) Get() *ListInstanceTokensResponse
- func (v NullableListInstanceTokensResponse) IsSet() bool
- func (v NullableListInstanceTokensResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListInstanceTokensResponse) Set(val *ListInstanceTokensResponse)
- func (v *NullableListInstanceTokensResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListInstanceTokensResponse) Unset()
- type NullableListInstancesResponse
- func (v NullableListInstancesResponse) Get() *ListInstancesResponse
- func (v NullableListInstancesResponse) IsSet() bool
- func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
- func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListInstancesResponse) Unset()
- type NullablePartialUpdateInstancePayload
- func (v NullablePartialUpdateInstancePayload) Get() *PartialUpdateInstancePayload
- func (v NullablePartialUpdateInstancePayload) IsSet() bool
- func (v NullablePartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateInstancePayload) Set(val *PartialUpdateInstancePayload)
- func (v *NullablePartialUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateInstancePayload) Unset()
- type NullablePartialUpdateInstanceResponse
- func (v NullablePartialUpdateInstanceResponse) Get() *PartialUpdateInstanceResponse
- func (v NullablePartialUpdateInstanceResponse) IsSet() bool
- func (v NullablePartialUpdateInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateInstanceResponse) Set(val *PartialUpdateInstanceResponse)
- func (v *NullablePartialUpdateInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateInstanceResponse) Unset()
- type NullablePartialUpdateInstanceTokenPayload
- func (v NullablePartialUpdateInstanceTokenPayload) Get() *PartialUpdateInstanceTokenPayload
- func (v NullablePartialUpdateInstanceTokenPayload) IsSet() bool
- func (v NullablePartialUpdateInstanceTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateInstanceTokenPayload) Set(val *PartialUpdateInstanceTokenPayload)
- func (v *NullablePartialUpdateInstanceTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateInstanceTokenPayload) Unset()
- type NullablePartialUpdateInstanceTokenResponse
- func (v NullablePartialUpdateInstanceTokenResponse) Get() *PartialUpdateInstanceTokenResponse
- func (v NullablePartialUpdateInstanceTokenResponse) IsSet() bool
- func (v NullablePartialUpdateInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateInstanceTokenResponse) Set(val *PartialUpdateInstanceTokenResponse)
- func (v *NullablePartialUpdateInstanceTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateInstanceTokenResponse) Unset()
- type NullableString
- type NullableTime
- type NullableToken
- type NullableTokenMetadata
- func (v NullableTokenMetadata) Get() *TokenMetadata
- func (v NullableTokenMetadata) IsSet() bool
- func (v NullableTokenMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableTokenMetadata) Set(val *TokenMetadata)
- func (v *NullableTokenMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableTokenMetadata) Unset()
- type NullableTokenState
- type PartialUpdateInstancePayload
- func (o *PartialUpdateInstancePayload) GetDeletedExperimentRetention() string
- func (o *PartialUpdateInstancePayload) GetDeletedExperimentRetentionOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetDescription() string
- func (o *PartialUpdateInstancePayload) GetDescriptionOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetLabels() map[string]string
- func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateInstancePayload) GetName() string
- func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) HasDeletedExperimentRetention() bool
- func (o *PartialUpdateInstancePayload) HasDescription() bool
- func (o *PartialUpdateInstancePayload) HasLabels() bool
- func (o *PartialUpdateInstancePayload) HasName() bool
- func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstancePayload) SetDeletedExperimentRetention(v string)
- func (o *PartialUpdateInstancePayload) SetDescription(v string)
- func (o *PartialUpdateInstancePayload) SetLabels(v map[string]string)
- func (o *PartialUpdateInstancePayload) SetName(v string)
- func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateInstanceResponse
- func (o *PartialUpdateInstanceResponse) GetInstance() Instance
- func (o *PartialUpdateInstanceResponse) GetInstanceOk() (*Instance, bool)
- func (o *PartialUpdateInstanceResponse) GetMessage() string
- func (o *PartialUpdateInstanceResponse) GetMessageOk() (*string, bool)
- func (o *PartialUpdateInstanceResponse) HasMessage() bool
- func (o PartialUpdateInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstanceResponse) SetInstance(v Instance)
- func (o *PartialUpdateInstanceResponse) SetMessage(v string)
- func (o PartialUpdateInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateInstanceTokenPayload
- func (o *PartialUpdateInstanceTokenPayload) GetDescription() string
- func (o *PartialUpdateInstanceTokenPayload) GetDescriptionOk() (*string, bool)
- func (o *PartialUpdateInstanceTokenPayload) GetLabels() map[string]string
- func (o *PartialUpdateInstanceTokenPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateInstanceTokenPayload) GetName() string
- func (o *PartialUpdateInstanceTokenPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateInstanceTokenPayload) HasDescription() bool
- func (o *PartialUpdateInstanceTokenPayload) HasLabels() bool
- func (o *PartialUpdateInstanceTokenPayload) HasName() bool
- func (o PartialUpdateInstanceTokenPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstanceTokenPayload) SetDescription(v string)
- func (o *PartialUpdateInstanceTokenPayload) SetLabels(v map[string]string)
- func (o *PartialUpdateInstanceTokenPayload) SetName(v string)
- func (o PartialUpdateInstanceTokenPayload) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateInstanceTokenPayload) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateInstanceTokenResponse
- func (o *PartialUpdateInstanceTokenResponse) GetMessage() string
- func (o *PartialUpdateInstanceTokenResponse) GetMessageOk() (*string, bool)
- func (o *PartialUpdateInstanceTokenResponse) GetToken() TokenMetadata
- func (o *PartialUpdateInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)
- func (o *PartialUpdateInstanceTokenResponse) HasMessage() bool
- func (o PartialUpdateInstanceTokenResponse) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstanceTokenResponse) SetMessage(v string)
- func (o *PartialUpdateInstanceTokenResponse) SetToken(v TokenMetadata)
- func (o PartialUpdateInstanceTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
- type Token
- func (o *Token) GetContent() string
- func (o *Token) GetContentOk() (*string, bool)
- func (o *Token) GetDescription() string
- func (o *Token) GetDescriptionOk() (*string, bool)
- func (o *Token) GetId() string
- func (o *Token) GetIdOk() (*string, bool)
- func (o *Token) GetLabels() map[string]string
- func (o *Token) GetLabelsOk() (*map[string]string, bool)
- func (o *Token) GetName() string
- func (o *Token) GetNameOk() (*string, bool)
- func (o *Token) GetRegion() string
- func (o *Token) GetRegionOk() (*string, bool)
- func (o *Token) GetState() TokenState
- func (o *Token) GetStateOk() (*TokenState, bool)
- func (o *Token) GetValidUntil() time.Time
- func (o *Token) GetValidUntilOk() (*time.Time, bool)
- func (o *Token) HasDescription() bool
- func (o *Token) HasLabels() bool
- func (o Token) MarshalJSON() ([]byte, error)
- func (o *Token) SetContent(v string)
- func (o *Token) SetDescription(v string)
- func (o *Token) SetId(v string)
- func (o *Token) SetLabels(v map[string]string)
- func (o *Token) SetName(v string)
- func (o *Token) SetRegion(v string)
- func (o *Token) SetState(v TokenState)
- func (o *Token) SetValidUntil(v time.Time)
- func (o Token) ToMap() (map[string]interface{}, error)
- func (o *Token) UnmarshalJSON(data []byte) (err error)
- type TokenMetadata
- func (o *TokenMetadata) GetDescription() string
- func (o *TokenMetadata) GetDescriptionOk() (*string, bool)
- func (o *TokenMetadata) GetId() string
- func (o *TokenMetadata) GetIdOk() (*string, bool)
- func (o *TokenMetadata) GetLabels() map[string]string
- func (o *TokenMetadata) GetLabelsOk() (*map[string]string, bool)
- func (o *TokenMetadata) GetName() string
- func (o *TokenMetadata) GetNameOk() (*string, bool)
- func (o *TokenMetadata) GetRegion() string
- func (o *TokenMetadata) GetRegionOk() (*string, bool)
- func (o *TokenMetadata) GetState() TokenState
- func (o *TokenMetadata) GetStateOk() (*TokenState, bool)
- func (o *TokenMetadata) GetValidUntil() time.Time
- func (o *TokenMetadata) GetValidUntilOk() (*time.Time, bool)
- func (o *TokenMetadata) HasDescription() bool
- func (o *TokenMetadata) HasLabels() bool
- func (o TokenMetadata) MarshalJSON() ([]byte, error)
- func (o *TokenMetadata) SetDescription(v string)
- func (o *TokenMetadata) SetId(v string)
- func (o *TokenMetadata) SetLabels(v map[string]string)
- func (o *TokenMetadata) SetName(v string)
- func (o *TokenMetadata) SetRegion(v string)
- func (o *TokenMetadata) SetState(v TokenState)
- func (o *TokenMetadata) SetValidUntil(v time.Time)
- func (o TokenMetadata) ToMap() (map[string]interface{}, error)
- func (o *TokenMetadata) UnmarshalJSON(data []byte) (err error)
- type TokenState
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedInstanceStateEnumValues = []InstanceState{
"pending",
"creating",
"updating",
"active",
"deleting",
"impaired",
"reconciling",
"unknown_default_open_api",
}
All allowed values of InstanceState enum
var AllowedTokenStateEnumValues = []TokenState{
"creating",
"active",
"deleting",
"inactive",
"unknown_default_open_api",
}
All allowed values of TokenState enum
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 AI Model Experiments API API v1.0.0 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() (*CreateInstanceResponse, error)
type ApiCreateInstanceTokenRequest ¶
type ApiCreateInstanceTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateInstanceTokenRequest) CreateInstanceTokenPayload ¶
func (r ApiCreateInstanceTokenRequest) CreateInstanceTokenPayload(createInstanceTokenPayload CreateInstanceTokenPayload) ApiCreateInstanceTokenRequest
func (ApiCreateInstanceTokenRequest) Execute ¶
func (r ApiCreateInstanceTokenRequest) Execute() (*CreateInstanceTokenResponse, error)
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() (*DeleteInstanceResponse, error)
type ApiDeleteInstanceTokenRequest ¶
type ApiDeleteInstanceTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceTokenRequest) Execute ¶
func (r ApiDeleteInstanceTokenRequest) Execute() (*DeleteInstanceTokenResponse, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*GetInstanceResponse, error)
type ApiGetInstanceTokenRequest ¶
type ApiGetInstanceTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceTokenRequest) Execute ¶
func (r ApiGetInstanceTokenRequest) Execute() (*GetInstanceTokenResponse, error)
type ApiListInstanceTokensRequest ¶
type ApiListInstanceTokensRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstanceTokensRequest) Execute ¶
func (r ApiListInstanceTokensRequest) Execute() (*ListInstanceTokensResponse, error)
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
type ApiPartialUpdateInstanceRequest ¶
type ApiPartialUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateInstanceRequest) Execute ¶
func (r ApiPartialUpdateInstanceRequest) Execute() (*PartialUpdateInstanceResponse, error)
func (ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload ¶
func (r ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload(partialUpdateInstancePayload PartialUpdateInstancePayload) ApiPartialUpdateInstanceRequest
type ApiPartialUpdateInstanceTokenRequest ¶
type ApiPartialUpdateInstanceTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateInstanceTokenRequest) Execute ¶
func (r ApiPartialUpdateInstanceTokenRequest) Execute() (*PartialUpdateInstanceTokenResponse, error)
func (ApiPartialUpdateInstanceTokenRequest) PartialUpdateInstanceTokenPayload ¶
func (r ApiPartialUpdateInstanceTokenRequest) PartialUpdateInstanceTokenPayload(partialUpdateInstanceTokenPayload PartialUpdateInstanceTokenPayload) ApiPartialUpdateInstanceTokenRequest
type CreateInstancePayload ¶
type CreateInstancePayload struct {
// The duration to retain experiments marked for deletion before they are permanently purged. Min: 1d, Max: 90d.
DeletedExperimentRetention *string `` /* 160-byte string literal not displayed */
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
AdditionalProperties map[string]interface{}
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶
func NewCreateInstancePayload(name 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) GetDeletedExperimentRetention ¶
func (o *CreateInstancePayload) GetDeletedExperimentRetention() string
GetDeletedExperimentRetention returns the DeletedExperimentRetention field value if set, zero value otherwise.
func (*CreateInstancePayload) GetDeletedExperimentRetentionOk ¶
func (o *CreateInstancePayload) GetDeletedExperimentRetentionOk() (*string, bool)
GetDeletedExperimentRetentionOk returns a tuple with the DeletedExperimentRetention field value if set, nil otherwise and a boolean to check if the value has been 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) GetLabels ¶
func (o *CreateInstancePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateInstancePayload) GetLabelsOk ¶
func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶
func (o *CreateInstancePayload) GetName() string
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶
func (o *CreateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasDeletedExperimentRetention ¶
func (o *CreateInstancePayload) HasDeletedExperimentRetention() bool
HasDeletedExperimentRetention returns a boolean if a field has been set.
func (*CreateInstancePayload) HasDescription ¶
func (o *CreateInstancePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateInstancePayload) HasLabels ¶
func (o *CreateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateInstancePayload) MarshalJSON ¶
func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
func (*CreateInstancePayload) SetDeletedExperimentRetention ¶
func (o *CreateInstancePayload) SetDeletedExperimentRetention(v string)
SetDeletedExperimentRetention gets a reference to the given string and assigns it to the DeletedExperimentRetention field.
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) SetLabels ¶
func (o *CreateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateInstancePayload) SetName ¶
func (o *CreateInstancePayload) SetName(v string)
SetName 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 CreateInstanceResponse ¶
type CreateInstanceResponse struct {
Instance Instance `json:"instance"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateInstanceResponse struct for CreateInstanceResponse
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse(instance Instance) *CreateInstanceResponse
NewCreateInstanceResponse instantiates a new CreateInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceResponseWithDefaults ¶
func NewCreateInstanceResponseWithDefaults() *CreateInstanceResponse
NewCreateInstanceResponseWithDefaults instantiates a new CreateInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceResponse) GetInstance ¶
func (o *CreateInstanceResponse) GetInstance() Instance
GetInstance returns the Instance field value
func (*CreateInstanceResponse) GetInstanceOk ¶
func (o *CreateInstanceResponse) GetInstanceOk() (*Instance, bool)
GetInstanceOk returns a tuple with the Instance field value and a boolean to check if the value has been set.
func (*CreateInstanceResponse) GetMessage ¶
func (o *CreateInstanceResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateInstanceResponse) GetMessageOk ¶
func (o *CreateInstanceResponse) 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 (*CreateInstanceResponse) HasMessage ¶
func (o *CreateInstanceResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (CreateInstanceResponse) MarshalJSON ¶
func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*CreateInstanceResponse) SetInstance ¶
func (o *CreateInstanceResponse) SetInstance(v Instance)
SetInstance sets field value
func (*CreateInstanceResponse) SetMessage ¶
func (o *CreateInstanceResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (CreateInstanceResponse) ToMap ¶
func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
func (*CreateInstanceResponse) UnmarshalJSON ¶
func (o *CreateInstanceResponse) UnmarshalJSON(data []byte) (err error)
type CreateInstanceTokenPayload ¶
type CreateInstanceTokenPayload struct {
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
// time to live duration. Must be valid duration string. Maximum allowed duration is 6 months. If not set, defaults to 6 months.
TtlDuration *string `json:"ttlDuration,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateInstanceTokenPayload struct for CreateInstanceTokenPayload
func NewCreateInstanceTokenPayload ¶
func NewCreateInstanceTokenPayload(name string) *CreateInstanceTokenPayload
NewCreateInstanceTokenPayload instantiates a new CreateInstanceTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceTokenPayloadWithDefaults ¶
func NewCreateInstanceTokenPayloadWithDefaults() *CreateInstanceTokenPayload
NewCreateInstanceTokenPayloadWithDefaults instantiates a new CreateInstanceTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceTokenPayload) GetDescription ¶
func (o *CreateInstanceTokenPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateInstanceTokenPayload) GetDescriptionOk ¶
func (o *CreateInstanceTokenPayload) 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 (*CreateInstanceTokenPayload) GetLabels ¶
func (o *CreateInstanceTokenPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateInstanceTokenPayload) GetLabelsOk ¶
func (o *CreateInstanceTokenPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceTokenPayload) GetName ¶
func (o *CreateInstanceTokenPayload) GetName() string
GetName returns the Name field value
func (*CreateInstanceTokenPayload) GetNameOk ¶
func (o *CreateInstanceTokenPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstanceTokenPayload) GetTtlDuration ¶
func (o *CreateInstanceTokenPayload) GetTtlDuration() string
GetTtlDuration returns the TtlDuration field value if set, zero value otherwise.
func (*CreateInstanceTokenPayload) GetTtlDurationOk ¶
func (o *CreateInstanceTokenPayload) GetTtlDurationOk() (*string, bool)
GetTtlDurationOk returns a tuple with the TtlDuration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceTokenPayload) HasDescription ¶
func (o *CreateInstanceTokenPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateInstanceTokenPayload) HasLabels ¶
func (o *CreateInstanceTokenPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateInstanceTokenPayload) HasTtlDuration ¶
func (o *CreateInstanceTokenPayload) HasTtlDuration() bool
HasTtlDuration returns a boolean if a field has been set.
func (CreateInstanceTokenPayload) MarshalJSON ¶
func (o CreateInstanceTokenPayload) MarshalJSON() ([]byte, error)
func (*CreateInstanceTokenPayload) SetDescription ¶
func (o *CreateInstanceTokenPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateInstanceTokenPayload) SetLabels ¶
func (o *CreateInstanceTokenPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateInstanceTokenPayload) SetName ¶
func (o *CreateInstanceTokenPayload) SetName(v string)
SetName sets field value
func (*CreateInstanceTokenPayload) SetTtlDuration ¶
func (o *CreateInstanceTokenPayload) SetTtlDuration(v string)
SetTtlDuration gets a reference to the given string and assigns it to the TtlDuration field.
func (CreateInstanceTokenPayload) ToMap ¶
func (o CreateInstanceTokenPayload) ToMap() (map[string]interface{}, error)
func (*CreateInstanceTokenPayload) UnmarshalJSON ¶
func (o *CreateInstanceTokenPayload) UnmarshalJSON(data []byte) (err error)
type CreateInstanceTokenResponse ¶
type CreateInstanceTokenResponse struct {
Message *string `json:"message,omitempty"`
Token Token `json:"token"`
AdditionalProperties map[string]interface{}
}
CreateInstanceTokenResponse struct for CreateInstanceTokenResponse
func NewCreateInstanceTokenResponse ¶
func NewCreateInstanceTokenResponse(token Token) *CreateInstanceTokenResponse
NewCreateInstanceTokenResponse instantiates a new CreateInstanceTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceTokenResponseWithDefaults ¶
func NewCreateInstanceTokenResponseWithDefaults() *CreateInstanceTokenResponse
NewCreateInstanceTokenResponseWithDefaults instantiates a new CreateInstanceTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceTokenResponse) GetMessage ¶
func (o *CreateInstanceTokenResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateInstanceTokenResponse) GetMessageOk ¶
func (o *CreateInstanceTokenResponse) 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 (*CreateInstanceTokenResponse) GetToken ¶
func (o *CreateInstanceTokenResponse) GetToken() Token
GetToken returns the Token field value
func (*CreateInstanceTokenResponse) GetTokenOk ¶
func (o *CreateInstanceTokenResponse) GetTokenOk() (*Token, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*CreateInstanceTokenResponse) HasMessage ¶
func (o *CreateInstanceTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (CreateInstanceTokenResponse) MarshalJSON ¶
func (o CreateInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*CreateInstanceTokenResponse) SetMessage ¶
func (o *CreateInstanceTokenResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateInstanceTokenResponse) SetToken ¶
func (o *CreateInstanceTokenResponse) SetToken(v Token)
SetToken sets field value
func (CreateInstanceTokenResponse) ToMap ¶
func (o CreateInstanceTokenResponse) ToMap() (map[string]interface{}, error)
func (*CreateInstanceTokenResponse) UnmarshalJSON ¶
func (o *CreateInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateInstance create an instance in a project
create an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
// CreateInstanceExecute executes the request
// @return CreateInstanceResponse
CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
/*
CreateInstanceToken create an auth token for an instance
create an auth token for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiCreateInstanceTokenRequest
*/
CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest
// CreateInstanceTokenExecute executes the request
// @return CreateInstanceTokenResponse
CreateInstanceTokenExecute(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
/*
DeleteInstance delete an instance in a project
delete an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
// DeleteInstanceExecute executes the request
// @return DeleteInstanceResponse
DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)
/*
DeleteInstanceToken delete an auth token in an instance
delete an auth token in an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param tokenId token id
@param instanceId instance id
@return ApiDeleteInstanceTokenRequest
*/
DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiDeleteInstanceTokenRequest
// DeleteInstanceTokenExecute executes the request
// @return DeleteInstanceTokenResponse
DeleteInstanceTokenExecute(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
/*
GetInstance get an instance in a project
get an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
// GetInstanceExecute executes the request
// @return GetInstanceResponse
GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
/*
GetInstanceToken get an auth token for an instance
get an auth token for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param tokenId token id
@param instanceId instance id
@return ApiGetInstanceTokenRequest
*/
GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiGetInstanceTokenRequest
// GetInstanceTokenExecute executes the request
// @return GetInstanceTokenResponse
GetInstanceTokenExecute(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
/*
ListInstanceTokens list all auth tokens for an instance
list all auth tokens for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiListInstanceTokensRequest
*/
ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest
// ListInstanceTokensExecute executes the request
// @return ListInstanceTokensResponse
ListInstanceTokensExecute(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
/*
ListInstances list instances in a project
list instances in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
// ListInstancesExecute executes the request
// @return ListInstancesResponse
ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
/*
PartialUpdateInstance partial update an instance in a project
partial update an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param instanceId instance id
@return ApiPartialUpdateInstanceRequest
*/
PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest
// PartialUpdateInstanceExecute executes the request
// @return PartialUpdateInstanceResponse
PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
/*
PartialUpdateInstanceToken partial update an auth token for an instance
partial update an auth token for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId portal project id
@param regionId region id
@param tokenId token id
@param instanceId instance id
@return ApiPartialUpdateInstanceTokenRequest
*/
PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiPartialUpdateInstanceTokenRequest
// PartialUpdateInstanceTokenExecute executes the request
// @return PartialUpdateInstanceTokenResponse
PartialUpdateInstanceTokenExecute(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, 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 create an instance in a project
create an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @return ApiCreateInstanceRequest
func (*DefaultAPIService) CreateInstanceExecute ¶
func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
Execute executes the request
@return CreateInstanceResponse
func (*DefaultAPIService) CreateInstanceToken ¶
func (a *DefaultAPIService) CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest
CreateInstanceToken create an auth token for an instance
create an auth token for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param instanceId instance id @return ApiCreateInstanceTokenRequest
func (*DefaultAPIService) CreateInstanceTokenExecute ¶
func (a *DefaultAPIService) CreateInstanceTokenExecute(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
Execute executes the request
@return CreateInstanceTokenResponse
func (*DefaultAPIService) DeleteInstance ¶
func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance delete an instance in a project
delete an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param instanceId instance id @return ApiDeleteInstanceRequest
func (*DefaultAPIService) DeleteInstanceExecute ¶
func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)
Execute executes the request
@return DeleteInstanceResponse
func (*DefaultAPIService) DeleteInstanceToken ¶
func (a *DefaultAPIService) DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiDeleteInstanceTokenRequest
DeleteInstanceToken delete an auth token in an instance
delete an auth token in an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param tokenId token id @param instanceId instance id @return ApiDeleteInstanceTokenRequest
func (*DefaultAPIService) DeleteInstanceTokenExecute ¶
func (a *DefaultAPIService) DeleteInstanceTokenExecute(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
Execute executes the request
@return DeleteInstanceTokenResponse
func (*DefaultAPIService) GetInstance ¶
func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
GetInstance get an instance in a project
get an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param instanceId instance id @return ApiGetInstanceRequest
func (*DefaultAPIService) GetInstanceExecute ¶
func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
Execute executes the request
@return GetInstanceResponse
func (*DefaultAPIService) GetInstanceToken ¶
func (a *DefaultAPIService) GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiGetInstanceTokenRequest
GetInstanceToken get an auth token for an instance
get an auth token for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param tokenId token id @param instanceId instance id @return ApiGetInstanceTokenRequest
func (*DefaultAPIService) GetInstanceTokenExecute ¶
func (a *DefaultAPIService) GetInstanceTokenExecute(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
Execute executes the request
@return GetInstanceTokenResponse
func (*DefaultAPIService) ListInstanceTokens ¶
func (a *DefaultAPIService) ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest
ListInstanceTokens list all auth tokens for an instance
list all auth tokens for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param instanceId instance id @return ApiListInstanceTokensRequest
func (*DefaultAPIService) ListInstanceTokensExecute ¶
func (a *DefaultAPIService) ListInstanceTokensExecute(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
Execute executes the request
@return ListInstanceTokensResponse
func (*DefaultAPIService) ListInstances ¶
func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
ListInstances list instances in a project
list instances in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @return ApiListInstancesRequest
func (*DefaultAPIService) ListInstancesExecute ¶
func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) PartialUpdateInstance ¶
func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest
PartialUpdateInstance partial update an instance in a project
partial update an instance in a project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param instanceId instance id @return ApiPartialUpdateInstanceRequest
func (*DefaultAPIService) PartialUpdateInstanceExecute ¶
func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
Execute executes the request
@return PartialUpdateInstanceResponse
func (*DefaultAPIService) PartialUpdateInstanceToken ¶
func (a *DefaultAPIService) PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiPartialUpdateInstanceTokenRequest
PartialUpdateInstanceToken partial update an auth token for an instance
partial update an auth token for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId portal project id @param regionId region id @param tokenId token id @param instanceId instance id @return ApiPartialUpdateInstanceTokenRequest
func (*DefaultAPIService) PartialUpdateInstanceTokenExecute ¶
func (a *DefaultAPIService) PartialUpdateInstanceTokenExecute(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, error)
Execute executes the request
@return PartialUpdateInstanceTokenResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
// CreateInstanceTokenExecuteMock can be populated to implement the behavior of the CreateInstanceTokenExecute function of this mock
CreateInstanceTokenExecuteMock *func(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, error)
// DeleteInstanceTokenExecuteMock can be populated to implement the behavior of the DeleteInstanceTokenExecute function of this mock
DeleteInstanceTokenExecuteMock *func(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
// GetInstanceTokenExecuteMock can be populated to implement the behavior of the GetInstanceTokenExecute function of this mock
GetInstanceTokenExecuteMock *func(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
// ListInstanceTokensExecuteMock can be populated to implement the behavior of the ListInstanceTokensExecute function of this mock
ListInstanceTokensExecuteMock *func(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
// PartialUpdateInstanceExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceExecute function of this mock
PartialUpdateInstanceExecuteMock *func(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
// PartialUpdateInstanceTokenExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceTokenExecute function of this mock
PartialUpdateInstanceTokenExecuteMock *func(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, 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) (*CreateInstanceResponse, 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) CreateInstanceToken ¶
func (a DefaultAPIServiceMock) CreateInstanceToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateInstanceTokenRequest
func (DefaultAPIServiceMock) CreateInstanceTokenExecute ¶
func (a DefaultAPIServiceMock) CreateInstanceTokenExecute(r ApiCreateInstanceTokenRequest) (*CreateInstanceTokenResponse, error)
CreateInstanceTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceTokenExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteInstance ¶
func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
func (DefaultAPIServiceMock) DeleteInstanceExecute ¶
func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*DeleteInstanceResponse, 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) DeleteInstanceToken ¶
func (a DefaultAPIServiceMock) DeleteInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiDeleteInstanceTokenRequest
func (DefaultAPIServiceMock) DeleteInstanceTokenExecute ¶
func (a DefaultAPIServiceMock) DeleteInstanceTokenExecute(r ApiDeleteInstanceTokenRequest) (*DeleteInstanceTokenResponse, error)
DeleteInstanceTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceTokenExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstance ¶
func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
func (DefaultAPIServiceMock) GetInstanceExecute ¶
func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, 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) GetInstanceToken ¶
func (a DefaultAPIServiceMock) GetInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiGetInstanceTokenRequest
func (DefaultAPIServiceMock) GetInstanceTokenExecute ¶
func (a DefaultAPIServiceMock) GetInstanceTokenExecute(r ApiGetInstanceTokenRequest) (*GetInstanceTokenResponse, error)
GetInstanceTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceTokenExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListInstanceTokens ¶
func (a DefaultAPIServiceMock) ListInstanceTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListInstanceTokensRequest
func (DefaultAPIServiceMock) ListInstanceTokensExecute ¶
func (a DefaultAPIServiceMock) ListInstanceTokensExecute(r ApiListInstanceTokensRequest) (*ListInstanceTokensResponse, error)
ListInstanceTokensExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstanceTokensExecuteMock 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) (*ListInstancesResponse, 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) PartialUpdateInstance ¶
func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiPartialUpdateInstanceRequest
func (DefaultAPIServiceMock) PartialUpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*PartialUpdateInstanceResponse, error)
PartialUpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateInstanceToken ¶
func (a DefaultAPIServiceMock) PartialUpdateInstanceToken(ctx context.Context, projectId string, regionId string, tokenId string, instanceId string) ApiPartialUpdateInstanceTokenRequest
func (DefaultAPIServiceMock) PartialUpdateInstanceTokenExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateInstanceTokenExecute(r ApiPartialUpdateInstanceTokenRequest) (*PartialUpdateInstanceTokenResponse, error)
PartialUpdateInstanceTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateInstanceTokenExecuteMock field in the DefaultAPIServiceMock struct.
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct {
Instance Instance `json:"instance"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteInstanceResponse struct for DeleteInstanceResponse
func NewDeleteInstanceResponse ¶
func NewDeleteInstanceResponse(instance Instance) *DeleteInstanceResponse
NewDeleteInstanceResponse instantiates a new DeleteInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteInstanceResponseWithDefaults ¶
func NewDeleteInstanceResponseWithDefaults() *DeleteInstanceResponse
NewDeleteInstanceResponseWithDefaults instantiates a new DeleteInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteInstanceResponse) GetInstance ¶
func (o *DeleteInstanceResponse) GetInstance() Instance
GetInstance returns the Instance field value
func (*DeleteInstanceResponse) GetInstanceOk ¶
func (o *DeleteInstanceResponse) GetInstanceOk() (*Instance, bool)
GetInstanceOk returns a tuple with the Instance field value and a boolean to check if the value has been set.
func (*DeleteInstanceResponse) GetMessage ¶
func (o *DeleteInstanceResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*DeleteInstanceResponse) GetMessageOk ¶
func (o *DeleteInstanceResponse) 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 (*DeleteInstanceResponse) HasMessage ¶
func (o *DeleteInstanceResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (DeleteInstanceResponse) MarshalJSON ¶
func (o DeleteInstanceResponse) MarshalJSON() ([]byte, error)
func (*DeleteInstanceResponse) SetInstance ¶
func (o *DeleteInstanceResponse) SetInstance(v Instance)
SetInstance sets field value
func (*DeleteInstanceResponse) SetMessage ¶
func (o *DeleteInstanceResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (DeleteInstanceResponse) ToMap ¶
func (o DeleteInstanceResponse) ToMap() (map[string]interface{}, error)
func (*DeleteInstanceResponse) UnmarshalJSON ¶
func (o *DeleteInstanceResponse) UnmarshalJSON(data []byte) (err error)
type DeleteInstanceTokenResponse ¶
type DeleteInstanceTokenResponse struct {
Message *string `json:"message,omitempty"`
Token TokenMetadata `json:"token"`
AdditionalProperties map[string]interface{}
}
DeleteInstanceTokenResponse struct for DeleteInstanceTokenResponse
func NewDeleteInstanceTokenResponse ¶
func NewDeleteInstanceTokenResponse(token TokenMetadata) *DeleteInstanceTokenResponse
NewDeleteInstanceTokenResponse instantiates a new DeleteInstanceTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteInstanceTokenResponseWithDefaults ¶
func NewDeleteInstanceTokenResponseWithDefaults() *DeleteInstanceTokenResponse
NewDeleteInstanceTokenResponseWithDefaults instantiates a new DeleteInstanceTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteInstanceTokenResponse) GetMessage ¶
func (o *DeleteInstanceTokenResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*DeleteInstanceTokenResponse) GetMessageOk ¶
func (o *DeleteInstanceTokenResponse) 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 (*DeleteInstanceTokenResponse) GetToken ¶
func (o *DeleteInstanceTokenResponse) GetToken() TokenMetadata
GetToken returns the Token field value
func (*DeleteInstanceTokenResponse) GetTokenOk ¶
func (o *DeleteInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*DeleteInstanceTokenResponse) HasMessage ¶
func (o *DeleteInstanceTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (DeleteInstanceTokenResponse) MarshalJSON ¶
func (o DeleteInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*DeleteInstanceTokenResponse) SetMessage ¶
func (o *DeleteInstanceTokenResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*DeleteInstanceTokenResponse) SetToken ¶
func (o *DeleteInstanceTokenResponse) SetToken(v TokenMetadata)
SetToken sets field value
func (DeleteInstanceTokenResponse) ToMap ¶
func (o DeleteInstanceTokenResponse) ToMap() (map[string]interface{}, error)
func (*DeleteInstanceTokenResponse) UnmarshalJSON ¶
func (o *DeleteInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶
type ErrorResponse struct {
// The HTTP status code.
Code int32 `json:"code"`
// User facing error message.
Message string `json:"message"`
// The canonical error code.
Status *string `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(code int32, message string) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetCode ¶
func (o *ErrorResponse) GetCode() int32
GetCode returns the Code field value
func (*ErrorResponse) GetCodeOk ¶
func (o *ErrorResponse) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶
func (o *ErrorResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasStatus ¶
func (o *ErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*ErrorResponse) SetStatus ¶
func (o *ErrorResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type GetInstanceResponse ¶
type GetInstanceResponse struct {
Instance Instance `json:"instance"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
GetInstanceResponse struct for GetInstanceResponse
func NewGetInstanceResponse ¶
func NewGetInstanceResponse(instance Instance) *GetInstanceResponse
NewGetInstanceResponse instantiates a new GetInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetInstanceResponseWithDefaults ¶
func NewGetInstanceResponseWithDefaults() *GetInstanceResponse
NewGetInstanceResponseWithDefaults instantiates a new GetInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetInstanceResponse) GetInstance ¶
func (o *GetInstanceResponse) GetInstance() Instance
GetInstance returns the Instance field value
func (*GetInstanceResponse) GetInstanceOk ¶
func (o *GetInstanceResponse) GetInstanceOk() (*Instance, bool)
GetInstanceOk returns a tuple with the Instance field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetMessage ¶
func (o *GetInstanceResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetInstanceResponse) GetMessageOk ¶
func (o *GetInstanceResponse) 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 (*GetInstanceResponse) HasMessage ¶
func (o *GetInstanceResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (GetInstanceResponse) MarshalJSON ¶
func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceResponse) SetInstance ¶
func (o *GetInstanceResponse) SetInstance(v Instance)
SetInstance sets field value
func (*GetInstanceResponse) SetMessage ¶
func (o *GetInstanceResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (GetInstanceResponse) ToMap ¶
func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
func (*GetInstanceResponse) UnmarshalJSON ¶
func (o *GetInstanceResponse) UnmarshalJSON(data []byte) (err error)
type GetInstanceTokenResponse ¶
type GetInstanceTokenResponse struct {
Message *string `json:"message,omitempty"`
Token TokenMetadata `json:"token"`
AdditionalProperties map[string]interface{}
}
GetInstanceTokenResponse struct for GetInstanceTokenResponse
func NewGetInstanceTokenResponse ¶
func NewGetInstanceTokenResponse(token TokenMetadata) *GetInstanceTokenResponse
NewGetInstanceTokenResponse instantiates a new GetInstanceTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetInstanceTokenResponseWithDefaults ¶
func NewGetInstanceTokenResponseWithDefaults() *GetInstanceTokenResponse
NewGetInstanceTokenResponseWithDefaults instantiates a new GetInstanceTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetInstanceTokenResponse) GetMessage ¶
func (o *GetInstanceTokenResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetInstanceTokenResponse) GetMessageOk ¶
func (o *GetInstanceTokenResponse) 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 (*GetInstanceTokenResponse) GetToken ¶
func (o *GetInstanceTokenResponse) GetToken() TokenMetadata
GetToken returns the Token field value
func (*GetInstanceTokenResponse) GetTokenOk ¶
func (o *GetInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*GetInstanceTokenResponse) HasMessage ¶
func (o *GetInstanceTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (GetInstanceTokenResponse) MarshalJSON ¶
func (o GetInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceTokenResponse) SetMessage ¶
func (o *GetInstanceTokenResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetInstanceTokenResponse) SetToken ¶
func (o *GetInstanceTokenResponse) SetToken(v TokenMetadata)
SetToken sets field value
func (GetInstanceTokenResponse) ToMap ¶
func (o GetInstanceTokenResponse) ToMap() (map[string]interface{}, error)
func (*GetInstanceTokenResponse) UnmarshalJSON ¶
func (o *GetInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
type Instance ¶
type Instance struct {
BucketName *string `json:"bucketName,omitempty" validate:"regexp=^model-experiments-[a-zA-Z0-9]+$"`
// The duration to retain experiments marked for deletion before they are permanently purged. Min: 1d, Max: 90d.
DeletedExperimentRetention *string `` /* 160-byte string literal not displayed */
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
ErrorMessage *string `json:"errorMessage,omitempty"`
Id string `json:"id"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
Region *string `json:"region,omitempty"`
State InstanceState `json:"state"`
Url string `json:"url" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
AdditionalProperties map[string]interface{}
}
Instance struct for Instance
func NewInstance ¶
func NewInstance(id string, name string, state InstanceState, url 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) GetBucketName ¶
GetBucketName returns the BucketName field value if set, zero value otherwise.
func (*Instance) GetBucketNameOk ¶
GetBucketNameOk returns a tuple with the BucketName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetDeletedExperimentRetention ¶
GetDeletedExperimentRetention returns the DeletedExperimentRetention field value if set, zero value otherwise.
func (*Instance) GetDeletedExperimentRetentionOk ¶
GetDeletedExperimentRetentionOk returns a tuple with the DeletedExperimentRetention field value if set, nil otherwise 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) GetErrorMessage ¶
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*Instance) GetErrorMessageOk ¶
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Instance) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Instance) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetState ¶
func (o *Instance) GetState() InstanceState
GetState returns the State field value
func (*Instance) GetStateOk ¶
func (o *Instance) GetStateOk() (*InstanceState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Instance) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Instance) HasBucketName ¶
HasBucketName returns a boolean if a field has been set.
func (*Instance) HasDeletedExperimentRetention ¶
HasDeletedExperimentRetention returns a boolean if a field has been set.
func (*Instance) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Instance) HasErrorMessage ¶
HasErrorMessage returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
func (*Instance) SetBucketName ¶
SetBucketName gets a reference to the given string and assigns it to the BucketName field.
func (*Instance) SetDeletedExperimentRetention ¶
SetDeletedExperimentRetention gets a reference to the given string and assigns it to the DeletedExperimentRetention field.
func (*Instance) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Instance) SetErrorMessage ¶
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
func (*Instance) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Instance) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*Instance) UnmarshalJSON ¶
type InstanceState ¶
type InstanceState string
InstanceState the model 'InstanceState'
const ( INSTANCESTATE_PENDING InstanceState = "pending" INSTANCESTATE_CREATING InstanceState = "creating" INSTANCESTATE_UPDATING InstanceState = "updating" INSTANCESTATE_ACTIVE InstanceState = "active" INSTANCESTATE_DELETING InstanceState = "deleting" INSTANCESTATE_IMPAIRED InstanceState = "impaired" INSTANCESTATE_RECONCILING InstanceState = "reconciling" INSTANCESTATE_UNKNOWN_DEFAULT_OPEN_API InstanceState = "unknown_default_open_api" )
List of Instance_state
func NewInstanceStateFromValue ¶
func NewInstanceStateFromValue(v string) (*InstanceState, error)
NewInstanceStateFromValue returns a pointer to a valid InstanceState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceState) IsValid ¶
func (v InstanceState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceState) Ptr ¶
func (v InstanceState) Ptr() *InstanceState
Ptr returns reference to Instance_state value
func (*InstanceState) UnmarshalJSON ¶
func (v *InstanceState) UnmarshalJSON(src []byte) error
type ListInstanceTokensResponse ¶
type ListInstanceTokensResponse struct {
Message *string `json:"message,omitempty"`
Tokens []TokenMetadata `json:"tokens"`
AdditionalProperties map[string]interface{}
}
ListInstanceTokensResponse struct for ListInstanceTokensResponse
func NewListInstanceTokensResponse ¶
func NewListInstanceTokensResponse(tokens []TokenMetadata) *ListInstanceTokensResponse
NewListInstanceTokensResponse instantiates a new ListInstanceTokensResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInstanceTokensResponseWithDefaults ¶
func NewListInstanceTokensResponseWithDefaults() *ListInstanceTokensResponse
NewListInstanceTokensResponseWithDefaults instantiates a new ListInstanceTokensResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInstanceTokensResponse) GetMessage ¶
func (o *ListInstanceTokensResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListInstanceTokensResponse) GetMessageOk ¶
func (o *ListInstanceTokensResponse) 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 (*ListInstanceTokensResponse) GetTokens ¶
func (o *ListInstanceTokensResponse) GetTokens() []TokenMetadata
GetTokens returns the Tokens field value
func (*ListInstanceTokensResponse) GetTokensOk ¶
func (o *ListInstanceTokensResponse) GetTokensOk() ([]TokenMetadata, bool)
GetTokensOk returns a tuple with the Tokens field value and a boolean to check if the value has been set.
func (*ListInstanceTokensResponse) HasMessage ¶
func (o *ListInstanceTokensResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ListInstanceTokensResponse) MarshalJSON ¶
func (o ListInstanceTokensResponse) MarshalJSON() ([]byte, error)
func (*ListInstanceTokensResponse) SetMessage ¶
func (o *ListInstanceTokensResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListInstanceTokensResponse) SetTokens ¶
func (o *ListInstanceTokensResponse) SetTokens(v []TokenMetadata)
SetTokens sets field value
func (ListInstanceTokensResponse) ToMap ¶
func (o ListInstanceTokensResponse) ToMap() (map[string]interface{}, error)
func (*ListInstanceTokensResponse) UnmarshalJSON ¶
func (o *ListInstanceTokensResponse) UnmarshalJSON(data []byte) (err error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Instances []Instance `json:"instances"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListInstancesResponse struct for ListInstancesResponse
func NewListInstancesResponse ¶
func NewListInstancesResponse(instances []Instance) *ListInstancesResponse
NewListInstancesResponse instantiates a new ListInstancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInstancesResponseWithDefaults ¶
func NewListInstancesResponseWithDefaults() *ListInstancesResponse
NewListInstancesResponseWithDefaults instantiates a new ListInstancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInstancesResponse) GetInstances ¶
func (o *ListInstancesResponse) GetInstances() []Instance
GetInstances returns the Instances field value
func (*ListInstancesResponse) GetInstancesOk ¶
func (o *ListInstancesResponse) GetInstancesOk() ([]Instance, bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (*ListInstancesResponse) GetMessage ¶
func (o *ListInstancesResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListInstancesResponse) GetMessageOk ¶
func (o *ListInstancesResponse) 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 (*ListInstancesResponse) HasMessage ¶
func (o *ListInstancesResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ListInstancesResponse) MarshalJSON ¶
func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
func (*ListInstancesResponse) SetInstances ¶
func (o *ListInstancesResponse) SetInstances(v []Instance)
SetInstances sets field value
func (*ListInstancesResponse) SetMessage ¶
func (o *ListInstancesResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ListInstancesResponse) ToMap ¶
func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
func (*ListInstancesResponse) UnmarshalJSON ¶
func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
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 NullableCreateInstanceResponse ¶
type NullableCreateInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceResponse ¶
func NewNullableCreateInstanceResponse(val *CreateInstanceResponse) *NullableCreateInstanceResponse
func (NullableCreateInstanceResponse) Get ¶
func (v NullableCreateInstanceResponse) Get() *CreateInstanceResponse
func (NullableCreateInstanceResponse) IsSet ¶
func (v NullableCreateInstanceResponse) IsSet() bool
func (NullableCreateInstanceResponse) MarshalJSON ¶
func (v NullableCreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceResponse) Set ¶
func (v *NullableCreateInstanceResponse) Set(val *CreateInstanceResponse)
func (*NullableCreateInstanceResponse) UnmarshalJSON ¶
func (v *NullableCreateInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceResponse) Unset ¶
func (v *NullableCreateInstanceResponse) Unset()
type NullableCreateInstanceTokenPayload ¶
type NullableCreateInstanceTokenPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceTokenPayload ¶
func NewNullableCreateInstanceTokenPayload(val *CreateInstanceTokenPayload) *NullableCreateInstanceTokenPayload
func (NullableCreateInstanceTokenPayload) Get ¶
func (v NullableCreateInstanceTokenPayload) Get() *CreateInstanceTokenPayload
func (NullableCreateInstanceTokenPayload) IsSet ¶
func (v NullableCreateInstanceTokenPayload) IsSet() bool
func (NullableCreateInstanceTokenPayload) MarshalJSON ¶
func (v NullableCreateInstanceTokenPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceTokenPayload) Set ¶
func (v *NullableCreateInstanceTokenPayload) Set(val *CreateInstanceTokenPayload)
func (*NullableCreateInstanceTokenPayload) UnmarshalJSON ¶
func (v *NullableCreateInstanceTokenPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceTokenPayload) Unset ¶
func (v *NullableCreateInstanceTokenPayload) Unset()
type NullableCreateInstanceTokenResponse ¶
type NullableCreateInstanceTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceTokenResponse ¶
func NewNullableCreateInstanceTokenResponse(val *CreateInstanceTokenResponse) *NullableCreateInstanceTokenResponse
func (NullableCreateInstanceTokenResponse) Get ¶
func (v NullableCreateInstanceTokenResponse) Get() *CreateInstanceTokenResponse
func (NullableCreateInstanceTokenResponse) IsSet ¶
func (v NullableCreateInstanceTokenResponse) IsSet() bool
func (NullableCreateInstanceTokenResponse) MarshalJSON ¶
func (v NullableCreateInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceTokenResponse) Set ¶
func (v *NullableCreateInstanceTokenResponse) Set(val *CreateInstanceTokenResponse)
func (*NullableCreateInstanceTokenResponse) UnmarshalJSON ¶
func (v *NullableCreateInstanceTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceTokenResponse) Unset ¶
func (v *NullableCreateInstanceTokenResponse) Unset()
type NullableDeleteInstanceResponse ¶
type NullableDeleteInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteInstanceResponse ¶
func NewNullableDeleteInstanceResponse(val *DeleteInstanceResponse) *NullableDeleteInstanceResponse
func (NullableDeleteInstanceResponse) Get ¶
func (v NullableDeleteInstanceResponse) Get() *DeleteInstanceResponse
func (NullableDeleteInstanceResponse) IsSet ¶
func (v NullableDeleteInstanceResponse) IsSet() bool
func (NullableDeleteInstanceResponse) MarshalJSON ¶
func (v NullableDeleteInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteInstanceResponse) Set ¶
func (v *NullableDeleteInstanceResponse) Set(val *DeleteInstanceResponse)
func (*NullableDeleteInstanceResponse) UnmarshalJSON ¶
func (v *NullableDeleteInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteInstanceResponse) Unset ¶
func (v *NullableDeleteInstanceResponse) Unset()
type NullableDeleteInstanceTokenResponse ¶
type NullableDeleteInstanceTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteInstanceTokenResponse ¶
func NewNullableDeleteInstanceTokenResponse(val *DeleteInstanceTokenResponse) *NullableDeleteInstanceTokenResponse
func (NullableDeleteInstanceTokenResponse) Get ¶
func (v NullableDeleteInstanceTokenResponse) Get() *DeleteInstanceTokenResponse
func (NullableDeleteInstanceTokenResponse) IsSet ¶
func (v NullableDeleteInstanceTokenResponse) IsSet() bool
func (NullableDeleteInstanceTokenResponse) MarshalJSON ¶
func (v NullableDeleteInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteInstanceTokenResponse) Set ¶
func (v *NullableDeleteInstanceTokenResponse) Set(val *DeleteInstanceTokenResponse)
func (*NullableDeleteInstanceTokenResponse) UnmarshalJSON ¶
func (v *NullableDeleteInstanceTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteInstanceTokenResponse) Unset ¶
func (v *NullableDeleteInstanceTokenResponse) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetInstanceResponse ¶
type NullableGetInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetInstanceResponse ¶
func NewNullableGetInstanceResponse(val *GetInstanceResponse) *NullableGetInstanceResponse
func (NullableGetInstanceResponse) Get ¶
func (v NullableGetInstanceResponse) Get() *GetInstanceResponse
func (NullableGetInstanceResponse) IsSet ¶
func (v NullableGetInstanceResponse) IsSet() bool
func (NullableGetInstanceResponse) MarshalJSON ¶
func (v NullableGetInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetInstanceResponse) Set ¶
func (v *NullableGetInstanceResponse) Set(val *GetInstanceResponse)
func (*NullableGetInstanceResponse) UnmarshalJSON ¶
func (v *NullableGetInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetInstanceResponse) Unset ¶
func (v *NullableGetInstanceResponse) Unset()
type NullableGetInstanceTokenResponse ¶
type NullableGetInstanceTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetInstanceTokenResponse ¶
func NewNullableGetInstanceTokenResponse(val *GetInstanceTokenResponse) *NullableGetInstanceTokenResponse
func (NullableGetInstanceTokenResponse) Get ¶
func (v NullableGetInstanceTokenResponse) Get() *GetInstanceTokenResponse
func (NullableGetInstanceTokenResponse) IsSet ¶
func (v NullableGetInstanceTokenResponse) IsSet() bool
func (NullableGetInstanceTokenResponse) MarshalJSON ¶
func (v NullableGetInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableGetInstanceTokenResponse) Set ¶
func (v *NullableGetInstanceTokenResponse) Set(val *GetInstanceTokenResponse)
func (*NullableGetInstanceTokenResponse) UnmarshalJSON ¶
func (v *NullableGetInstanceTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableGetInstanceTokenResponse) Unset ¶
func (v *NullableGetInstanceTokenResponse) 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 NullableInstanceState ¶
type NullableInstanceState struct {
// contains filtered or unexported fields
}
func NewNullableInstanceState ¶
func NewNullableInstanceState(val *InstanceState) *NullableInstanceState
func (NullableInstanceState) Get ¶
func (v NullableInstanceState) Get() *InstanceState
func (NullableInstanceState) IsSet ¶
func (v NullableInstanceState) IsSet() bool
func (NullableInstanceState) MarshalJSON ¶
func (v NullableInstanceState) MarshalJSON() ([]byte, error)
func (*NullableInstanceState) Set ¶
func (v *NullableInstanceState) Set(val *InstanceState)
func (*NullableInstanceState) UnmarshalJSON ¶
func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
func (*NullableInstanceState) Unset ¶
func (v *NullableInstanceState) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListInstanceTokensResponse ¶
type NullableListInstanceTokensResponse struct {
// contains filtered or unexported fields
}
func NewNullableListInstanceTokensResponse ¶
func NewNullableListInstanceTokensResponse(val *ListInstanceTokensResponse) *NullableListInstanceTokensResponse
func (NullableListInstanceTokensResponse) Get ¶
func (v NullableListInstanceTokensResponse) Get() *ListInstanceTokensResponse
func (NullableListInstanceTokensResponse) IsSet ¶
func (v NullableListInstanceTokensResponse) IsSet() bool
func (NullableListInstanceTokensResponse) MarshalJSON ¶
func (v NullableListInstanceTokensResponse) MarshalJSON() ([]byte, error)
func (*NullableListInstanceTokensResponse) Set ¶
func (v *NullableListInstanceTokensResponse) Set(val *ListInstanceTokensResponse)
func (*NullableListInstanceTokensResponse) UnmarshalJSON ¶
func (v *NullableListInstanceTokensResponse) UnmarshalJSON(src []byte) error
func (*NullableListInstanceTokensResponse) Unset ¶
func (v *NullableListInstanceTokensResponse) Unset()
type NullableListInstancesResponse ¶
type NullableListInstancesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListInstancesResponse ¶
func NewNullableListInstancesResponse(val *ListInstancesResponse) *NullableListInstancesResponse
func (NullableListInstancesResponse) Get ¶
func (v NullableListInstancesResponse) Get() *ListInstancesResponse
func (NullableListInstancesResponse) IsSet ¶
func (v NullableListInstancesResponse) IsSet() bool
func (NullableListInstancesResponse) MarshalJSON ¶
func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
func (*NullableListInstancesResponse) Set ¶
func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
func (*NullableListInstancesResponse) UnmarshalJSON ¶
func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
func (*NullableListInstancesResponse) Unset ¶
func (v *NullableListInstancesResponse) Unset()
type NullablePartialUpdateInstancePayload ¶
type NullablePartialUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateInstancePayload ¶
func NewNullablePartialUpdateInstancePayload(val *PartialUpdateInstancePayload) *NullablePartialUpdateInstancePayload
func (NullablePartialUpdateInstancePayload) Get ¶
func (v NullablePartialUpdateInstancePayload) Get() *PartialUpdateInstancePayload
func (NullablePartialUpdateInstancePayload) IsSet ¶
func (v NullablePartialUpdateInstancePayload) IsSet() bool
func (NullablePartialUpdateInstancePayload) MarshalJSON ¶
func (v NullablePartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateInstancePayload) Set ¶
func (v *NullablePartialUpdateInstancePayload) Set(val *PartialUpdateInstancePayload)
func (*NullablePartialUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateInstancePayload) Unset ¶
func (v *NullablePartialUpdateInstancePayload) Unset()
type NullablePartialUpdateInstanceResponse ¶
type NullablePartialUpdateInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateInstanceResponse ¶
func NewNullablePartialUpdateInstanceResponse(val *PartialUpdateInstanceResponse) *NullablePartialUpdateInstanceResponse
func (NullablePartialUpdateInstanceResponse) Get ¶
func (v NullablePartialUpdateInstanceResponse) Get() *PartialUpdateInstanceResponse
func (NullablePartialUpdateInstanceResponse) IsSet ¶
func (v NullablePartialUpdateInstanceResponse) IsSet() bool
func (NullablePartialUpdateInstanceResponse) MarshalJSON ¶
func (v NullablePartialUpdateInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateInstanceResponse) Set ¶
func (v *NullablePartialUpdateInstanceResponse) Set(val *PartialUpdateInstanceResponse)
func (*NullablePartialUpdateInstanceResponse) UnmarshalJSON ¶
func (v *NullablePartialUpdateInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateInstanceResponse) Unset ¶
func (v *NullablePartialUpdateInstanceResponse) Unset()
type NullablePartialUpdateInstanceTokenPayload ¶
type NullablePartialUpdateInstanceTokenPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateInstanceTokenPayload ¶
func NewNullablePartialUpdateInstanceTokenPayload(val *PartialUpdateInstanceTokenPayload) *NullablePartialUpdateInstanceTokenPayload
func (NullablePartialUpdateInstanceTokenPayload) IsSet ¶
func (v NullablePartialUpdateInstanceTokenPayload) IsSet() bool
func (NullablePartialUpdateInstanceTokenPayload) MarshalJSON ¶
func (v NullablePartialUpdateInstanceTokenPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateInstanceTokenPayload) Set ¶
func (v *NullablePartialUpdateInstanceTokenPayload) Set(val *PartialUpdateInstanceTokenPayload)
func (*NullablePartialUpdateInstanceTokenPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateInstanceTokenPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateInstanceTokenPayload) Unset ¶
func (v *NullablePartialUpdateInstanceTokenPayload) Unset()
type NullablePartialUpdateInstanceTokenResponse ¶
type NullablePartialUpdateInstanceTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateInstanceTokenResponse ¶
func NewNullablePartialUpdateInstanceTokenResponse(val *PartialUpdateInstanceTokenResponse) *NullablePartialUpdateInstanceTokenResponse
func (NullablePartialUpdateInstanceTokenResponse) IsSet ¶
func (v NullablePartialUpdateInstanceTokenResponse) IsSet() bool
func (NullablePartialUpdateInstanceTokenResponse) MarshalJSON ¶
func (v NullablePartialUpdateInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateInstanceTokenResponse) Set ¶
func (v *NullablePartialUpdateInstanceTokenResponse) Set(val *PartialUpdateInstanceTokenResponse)
func (*NullablePartialUpdateInstanceTokenResponse) UnmarshalJSON ¶
func (v *NullablePartialUpdateInstanceTokenResponse) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateInstanceTokenResponse) Unset ¶
func (v *NullablePartialUpdateInstanceTokenResponse) 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 NullableTokenMetadata ¶
type NullableTokenMetadata struct {
// contains filtered or unexported fields
}
func NewNullableTokenMetadata ¶
func NewNullableTokenMetadata(val *TokenMetadata) *NullableTokenMetadata
func (NullableTokenMetadata) Get ¶
func (v NullableTokenMetadata) Get() *TokenMetadata
func (NullableTokenMetadata) IsSet ¶
func (v NullableTokenMetadata) IsSet() bool
func (NullableTokenMetadata) MarshalJSON ¶
func (v NullableTokenMetadata) MarshalJSON() ([]byte, error)
func (*NullableTokenMetadata) Set ¶
func (v *NullableTokenMetadata) Set(val *TokenMetadata)
func (*NullableTokenMetadata) UnmarshalJSON ¶
func (v *NullableTokenMetadata) UnmarshalJSON(src []byte) error
func (*NullableTokenMetadata) Unset ¶
func (v *NullableTokenMetadata) Unset()
type NullableTokenState ¶
type NullableTokenState struct {
// contains filtered or unexported fields
}
func NewNullableTokenState ¶
func NewNullableTokenState(val *TokenState) *NullableTokenState
func (NullableTokenState) Get ¶
func (v NullableTokenState) Get() *TokenState
func (NullableTokenState) IsSet ¶
func (v NullableTokenState) IsSet() bool
func (NullableTokenState) MarshalJSON ¶
func (v NullableTokenState) MarshalJSON() ([]byte, error)
func (*NullableTokenState) Set ¶
func (v *NullableTokenState) Set(val *TokenState)
func (*NullableTokenState) UnmarshalJSON ¶
func (v *NullableTokenState) UnmarshalJSON(src []byte) error
func (*NullableTokenState) Unset ¶
func (v *NullableTokenState) Unset()
type PartialUpdateInstancePayload ¶
type PartialUpdateInstancePayload struct {
// The duration to retain experiments marked for deletion before they are permanently purged. Min: 1d, Max: 90d.
DeletedExperimentRetention *string `` /* 160-byte string literal not displayed */
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s_-]*$"`
AdditionalProperties map[string]interface{}
}
PartialUpdateInstancePayload struct for PartialUpdateInstancePayload
func NewPartialUpdateInstancePayload ¶
func NewPartialUpdateInstancePayload() *PartialUpdateInstancePayload
NewPartialUpdateInstancePayload instantiates a new PartialUpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateInstancePayloadWithDefaults ¶
func NewPartialUpdateInstancePayloadWithDefaults() *PartialUpdateInstancePayload
NewPartialUpdateInstancePayloadWithDefaults instantiates a new PartialUpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateInstancePayload) GetDeletedExperimentRetention ¶
func (o *PartialUpdateInstancePayload) GetDeletedExperimentRetention() string
GetDeletedExperimentRetention returns the DeletedExperimentRetention field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetDeletedExperimentRetentionOk ¶
func (o *PartialUpdateInstancePayload) GetDeletedExperimentRetentionOk() (*string, bool)
GetDeletedExperimentRetentionOk returns a tuple with the DeletedExperimentRetention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetDescription ¶
func (o *PartialUpdateInstancePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetDescriptionOk ¶
func (o *PartialUpdateInstancePayload) 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 (*PartialUpdateInstancePayload) GetLabels ¶
func (o *PartialUpdateInstancePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetLabelsOk ¶
func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetName ¶
func (o *PartialUpdateInstancePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetNameOk ¶
func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) HasDeletedExperimentRetention ¶
func (o *PartialUpdateInstancePayload) HasDeletedExperimentRetention() bool
HasDeletedExperimentRetention returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasDescription ¶
func (o *PartialUpdateInstancePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasLabels ¶
func (o *PartialUpdateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasName ¶
func (o *PartialUpdateInstancePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialUpdateInstancePayload) MarshalJSON ¶
func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateInstancePayload) SetDeletedExperimentRetention ¶
func (o *PartialUpdateInstancePayload) SetDeletedExperimentRetention(v string)
SetDeletedExperimentRetention gets a reference to the given string and assigns it to the DeletedExperimentRetention field.
func (*PartialUpdateInstancePayload) SetDescription ¶
func (o *PartialUpdateInstancePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PartialUpdateInstancePayload) SetLabels ¶
func (o *PartialUpdateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PartialUpdateInstancePayload) SetName ¶
func (o *PartialUpdateInstancePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateInstancePayload) ToMap ¶
func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
func (*PartialUpdateInstancePayload) UnmarshalJSON ¶
func (o *PartialUpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
type PartialUpdateInstanceResponse ¶
type PartialUpdateInstanceResponse struct {
Instance Instance `json:"instance"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
PartialUpdateInstanceResponse struct for PartialUpdateInstanceResponse
func NewPartialUpdateInstanceResponse ¶
func NewPartialUpdateInstanceResponse(instance Instance) *PartialUpdateInstanceResponse
NewPartialUpdateInstanceResponse instantiates a new PartialUpdateInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateInstanceResponseWithDefaults ¶
func NewPartialUpdateInstanceResponseWithDefaults() *PartialUpdateInstanceResponse
NewPartialUpdateInstanceResponseWithDefaults instantiates a new PartialUpdateInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateInstanceResponse) GetInstance ¶
func (o *PartialUpdateInstanceResponse) GetInstance() Instance
GetInstance returns the Instance field value
func (*PartialUpdateInstanceResponse) GetInstanceOk ¶
func (o *PartialUpdateInstanceResponse) GetInstanceOk() (*Instance, bool)
GetInstanceOk returns a tuple with the Instance field value and a boolean to check if the value has been set.
func (*PartialUpdateInstanceResponse) GetMessage ¶
func (o *PartialUpdateInstanceResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*PartialUpdateInstanceResponse) GetMessageOk ¶
func (o *PartialUpdateInstanceResponse) 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 (*PartialUpdateInstanceResponse) HasMessage ¶
func (o *PartialUpdateInstanceResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (PartialUpdateInstanceResponse) MarshalJSON ¶
func (o PartialUpdateInstanceResponse) MarshalJSON() ([]byte, error)
func (*PartialUpdateInstanceResponse) SetInstance ¶
func (o *PartialUpdateInstanceResponse) SetInstance(v Instance)
SetInstance sets field value
func (*PartialUpdateInstanceResponse) SetMessage ¶
func (o *PartialUpdateInstanceResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (PartialUpdateInstanceResponse) ToMap ¶
func (o PartialUpdateInstanceResponse) ToMap() (map[string]interface{}, error)
func (*PartialUpdateInstanceResponse) UnmarshalJSON ¶
func (o *PartialUpdateInstanceResponse) UnmarshalJSON(data []byte) (err error)
type PartialUpdateInstanceTokenPayload ¶
type PartialUpdateInstanceTokenPayload struct {
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]*$"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s_-]*$"`
AdditionalProperties map[string]interface{}
}
PartialUpdateInstanceTokenPayload struct for PartialUpdateInstanceTokenPayload
func NewPartialUpdateInstanceTokenPayload ¶
func NewPartialUpdateInstanceTokenPayload() *PartialUpdateInstanceTokenPayload
NewPartialUpdateInstanceTokenPayload instantiates a new PartialUpdateInstanceTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateInstanceTokenPayloadWithDefaults ¶
func NewPartialUpdateInstanceTokenPayloadWithDefaults() *PartialUpdateInstanceTokenPayload
NewPartialUpdateInstanceTokenPayloadWithDefaults instantiates a new PartialUpdateInstanceTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateInstanceTokenPayload) GetDescription ¶
func (o *PartialUpdateInstanceTokenPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PartialUpdateInstanceTokenPayload) GetDescriptionOk ¶
func (o *PartialUpdateInstanceTokenPayload) 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 (*PartialUpdateInstanceTokenPayload) GetLabels ¶
func (o *PartialUpdateInstanceTokenPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateInstanceTokenPayload) GetLabelsOk ¶
func (o *PartialUpdateInstanceTokenPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstanceTokenPayload) GetName ¶
func (o *PartialUpdateInstanceTokenPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateInstanceTokenPayload) GetNameOk ¶
func (o *PartialUpdateInstanceTokenPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstanceTokenPayload) HasDescription ¶
func (o *PartialUpdateInstanceTokenPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PartialUpdateInstanceTokenPayload) HasLabels ¶
func (o *PartialUpdateInstanceTokenPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateInstanceTokenPayload) HasName ¶
func (o *PartialUpdateInstanceTokenPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialUpdateInstanceTokenPayload) MarshalJSON ¶
func (o PartialUpdateInstanceTokenPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateInstanceTokenPayload) SetDescription ¶
func (o *PartialUpdateInstanceTokenPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PartialUpdateInstanceTokenPayload) SetLabels ¶
func (o *PartialUpdateInstanceTokenPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PartialUpdateInstanceTokenPayload) SetName ¶
func (o *PartialUpdateInstanceTokenPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PartialUpdateInstanceTokenPayload) ToMap ¶
func (o PartialUpdateInstanceTokenPayload) ToMap() (map[string]interface{}, error)
func (*PartialUpdateInstanceTokenPayload) UnmarshalJSON ¶
func (o *PartialUpdateInstanceTokenPayload) UnmarshalJSON(data []byte) (err error)
type PartialUpdateInstanceTokenResponse ¶
type PartialUpdateInstanceTokenResponse struct {
Message *string `json:"message,omitempty"`
Token TokenMetadata `json:"token"`
AdditionalProperties map[string]interface{}
}
PartialUpdateInstanceTokenResponse struct for PartialUpdateInstanceTokenResponse
func NewPartialUpdateInstanceTokenResponse ¶
func NewPartialUpdateInstanceTokenResponse(token TokenMetadata) *PartialUpdateInstanceTokenResponse
NewPartialUpdateInstanceTokenResponse instantiates a new PartialUpdateInstanceTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateInstanceTokenResponseWithDefaults ¶
func NewPartialUpdateInstanceTokenResponseWithDefaults() *PartialUpdateInstanceTokenResponse
NewPartialUpdateInstanceTokenResponseWithDefaults instantiates a new PartialUpdateInstanceTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateInstanceTokenResponse) GetMessage ¶
func (o *PartialUpdateInstanceTokenResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*PartialUpdateInstanceTokenResponse) GetMessageOk ¶
func (o *PartialUpdateInstanceTokenResponse) 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 (*PartialUpdateInstanceTokenResponse) GetToken ¶
func (o *PartialUpdateInstanceTokenResponse) GetToken() TokenMetadata
GetToken returns the Token field value
func (*PartialUpdateInstanceTokenResponse) GetTokenOk ¶
func (o *PartialUpdateInstanceTokenResponse) GetTokenOk() (*TokenMetadata, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*PartialUpdateInstanceTokenResponse) HasMessage ¶
func (o *PartialUpdateInstanceTokenResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (PartialUpdateInstanceTokenResponse) MarshalJSON ¶
func (o PartialUpdateInstanceTokenResponse) MarshalJSON() ([]byte, error)
func (*PartialUpdateInstanceTokenResponse) SetMessage ¶
func (o *PartialUpdateInstanceTokenResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*PartialUpdateInstanceTokenResponse) SetToken ¶
func (o *PartialUpdateInstanceTokenResponse) SetToken(v TokenMetadata)
SetToken sets field value
func (PartialUpdateInstanceTokenResponse) ToMap ¶
func (o PartialUpdateInstanceTokenResponse) ToMap() (map[string]interface{}, error)
func (*PartialUpdateInstanceTokenResponse) UnmarshalJSON ¶
func (o *PartialUpdateInstanceTokenResponse) UnmarshalJSON(data []byte) (err error)
type Token ¶
type Token struct {
Content string `json:"content" validate:"regexp=^[A-Za-z0-9-_]+\\\\.[A-Za-z0-9-_]+\\\\.[A-Za-z0-9-_]+$"`
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
Id string `json:"id"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
Region string `json:"region"`
State TokenState `json:"state"`
ValidUntil time.Time `json:"validUntil"`
AdditionalProperties map[string]interface{}
}
Token struct for Token
func NewToken ¶
func NewToken(content string, id string, name string, region string, state TokenState, validUntil time.Time) *Token
NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenWithDefaults ¶
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Token) GetContent ¶
GetContent returns the Content field value
func (*Token) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Token) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Token) 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 (*Token) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Token) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Token) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Token) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Token) GetState ¶
func (o *Token) GetState() TokenState
GetState returns the State field value
func (*Token) GetStateOk ¶
func (o *Token) GetStateOk() (*TokenState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Token) GetValidUntil ¶
GetValidUntil returns the ValidUntil field value
func (*Token) GetValidUntilOk ¶
GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.
func (*Token) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Token) MarshalJSON ¶
func (*Token) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Token) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Token) SetValidUntil ¶
SetValidUntil sets field value
func (*Token) UnmarshalJSON ¶
type TokenMetadata ¶
type TokenMetadata struct {
Description *string `json:"description,omitempty" validate:"regexp=^[0-9a-zA-Z\\\\s.:\\/\\\\-]+$"`
Id string `json:"id"`
// Object that represents the labels of an object. Regex for keys: `^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. The `stackit-` prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
Name string `json:"name" validate:"regexp=^[0-9a-zA-Z\\\\s_-]+$"`
Region string `json:"region"`
State TokenState `json:"state"`
ValidUntil time.Time `json:"validUntil"`
AdditionalProperties map[string]interface{}
}
TokenMetadata struct for TokenMetadata
func NewTokenMetadata ¶
func NewTokenMetadata(id string, name string, region string, state TokenState, validUntil time.Time) *TokenMetadata
NewTokenMetadata instantiates a new TokenMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenMetadataWithDefaults ¶
func NewTokenMetadataWithDefaults() *TokenMetadata
NewTokenMetadataWithDefaults instantiates a new TokenMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TokenMetadata) GetDescription ¶
func (o *TokenMetadata) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TokenMetadata) GetDescriptionOk ¶
func (o *TokenMetadata) 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 (*TokenMetadata) GetId ¶
func (o *TokenMetadata) GetId() string
GetId returns the Id field value
func (*TokenMetadata) GetIdOk ¶
func (o *TokenMetadata) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TokenMetadata) GetLabels ¶
func (o *TokenMetadata) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*TokenMetadata) GetLabelsOk ¶
func (o *TokenMetadata) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenMetadata) GetName ¶
func (o *TokenMetadata) GetName() string
GetName returns the Name field value
func (*TokenMetadata) GetNameOk ¶
func (o *TokenMetadata) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TokenMetadata) GetRegion ¶
func (o *TokenMetadata) GetRegion() string
GetRegion returns the Region field value
func (*TokenMetadata) GetRegionOk ¶
func (o *TokenMetadata) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*TokenMetadata) GetState ¶
func (o *TokenMetadata) GetState() TokenState
GetState returns the State field value
func (*TokenMetadata) GetStateOk ¶
func (o *TokenMetadata) GetStateOk() (*TokenState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*TokenMetadata) GetValidUntil ¶
func (o *TokenMetadata) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value
func (*TokenMetadata) GetValidUntilOk ¶
func (o *TokenMetadata) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.
func (*TokenMetadata) HasDescription ¶
func (o *TokenMetadata) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TokenMetadata) HasLabels ¶
func (o *TokenMetadata) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (TokenMetadata) MarshalJSON ¶
func (o TokenMetadata) MarshalJSON() ([]byte, error)
func (*TokenMetadata) SetDescription ¶
func (o *TokenMetadata) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TokenMetadata) SetLabels ¶
func (o *TokenMetadata) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*TokenMetadata) SetRegion ¶
func (o *TokenMetadata) SetRegion(v string)
SetRegion sets field value
func (*TokenMetadata) SetState ¶
func (o *TokenMetadata) SetState(v TokenState)
SetState sets field value
func (*TokenMetadata) SetValidUntil ¶
func (o *TokenMetadata) SetValidUntil(v time.Time)
SetValidUntil sets field value
func (TokenMetadata) ToMap ¶
func (o TokenMetadata) ToMap() (map[string]interface{}, error)
func (*TokenMetadata) UnmarshalJSON ¶
func (o *TokenMetadata) UnmarshalJSON(data []byte) (err error)
type TokenState ¶
type TokenState string
TokenState The lifecycle state of the token.
const ( TOKENSTATE_CREATING TokenState = "creating" TOKENSTATE_ACTIVE TokenState = "active" TOKENSTATE_DELETING TokenState = "deleting" TOKENSTATE_INACTIVE TokenState = "inactive" TOKENSTATE_UNKNOWN_DEFAULT_OPEN_API TokenState = "unknown_default_open_api" )
List of TokenState
func NewTokenStateFromValue ¶
func NewTokenStateFromValue(v string) (*TokenState, error)
NewTokenStateFromValue returns a pointer to a valid TokenState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TokenState) IsValid ¶
func (v TokenState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TokenState) Ptr ¶
func (v TokenState) Ptr() *TokenState
Ptr returns reference to TokenState value
func (*TokenState) UnmarshalJSON ¶
func (v *TokenState) UnmarshalJSON(src []byte) error
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_create_instance_payload.go
- model_create_instance_response.go
- model_create_instance_token_payload.go
- model_create_instance_token_response.go
- model_delete_instance_response.go
- model_delete_instance_token_response.go
- model_error_response.go
- model_get_instance_response.go
- model_get_instance_token_response.go
- model_instance.go
- model_instance_state.go
- model_list_instance_tokens_response.go
- model_list_instances_response.go
- model_partial_update_instance_payload.go
- model_partial_update_instance_response.go
- model_partial_update_instance_token_payload.go
- model_partial_update_instance_token_response.go
- model_token.go
- model_token_metadata.go
- model_token_state.go
- response.go
- utils.go