v2api

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedTypeEnumValues = []Type{
	"NotFound",
	"Create",
	"Read",
	"Delete",
	"Update",
	"Validation",
}

All allowed values of Type enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type ACL

type ACL struct {
	Items []string `json:"items,omitempty"`
}

ACL struct for ACL

func NewACL

func NewACL() *ACL

NewACL instantiates a new ACL 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 NewACLWithDefaults

func NewACLWithDefaults() *ACL

NewACLWithDefaults instantiates a new ACL 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 (*ACL) GetItems

func (o *ACL) GetItems() []string

GetItems returns the Items field value if set, zero value otherwise.

func (*ACL) GetItemsOk

func (o *ACL) GetItemsOk() ([]string, bool)

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

func (*ACL) HasItems

func (o *ACL) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ACL) MarshalJSON

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

func (*ACL) SetItems

func (o *ACL) SetItems(v []string)

SetItems gets a reference to the given []string and assigns it to the Items field.

func (ACL) ToMap

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

type APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT MSSQL Service API API v2.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 ApiCreateDatabaseRequest

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

func (ApiCreateDatabaseRequest) CreateDatabasePayload

func (r ApiCreateDatabaseRequest) CreateDatabasePayload(createDatabasePayload CreateDatabasePayload) ApiCreateDatabaseRequest

Body

func (ApiCreateDatabaseRequest) Execute

type ApiCreateInstanceRequest

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

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

Body

func (ApiCreateInstanceRequest) Execute

type ApiCreateUserRequest

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

func (ApiCreateUserRequest) CreateUserPayload

func (r ApiCreateUserRequest) CreateUserPayload(createUserPayload CreateUserPayload) ApiCreateUserRequest

The request body contains a username, a list of roles and database. The possible roles can be fetched from the ListRoles endpoint.

func (ApiCreateUserRequest) Execute

type ApiDeleteDatabaseRequest

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

func (ApiDeleteDatabaseRequest) Execute

func (r ApiDeleteDatabaseRequest) Execute() error

type ApiDeleteInstanceRequest

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

func (ApiDeleteInstanceRequest) Execute

func (r ApiDeleteInstanceRequest) Execute() error

type ApiDeleteUserRequest

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

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() error

type ApiGetBackupRequest

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

func (ApiGetBackupRequest) Execute

type ApiGetDatabaseRequest

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

func (ApiGetDatabaseRequest) Execute

type ApiGetInstanceRequest

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

func (ApiGetInstanceRequest) Execute

type ApiGetUserRequest

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

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*GetUserResponse, error)

type ApiListBackupsRequest

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

func (ApiListBackupsRequest) Execute

type ApiListCollationsRequest

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

func (ApiListCollationsRequest) Execute

type ApiListCompatibilityRequest

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

func (ApiListCompatibilityRequest) Execute

type ApiListDatabasesRequest

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

func (ApiListDatabasesRequest) Execute

type ApiListFlavorsRequest

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

func (ApiListFlavorsRequest) Execute

type ApiListInstancesRequest

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

func (ApiListInstancesRequest) Execute

type ApiListMetricsRequest

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

func (ApiListMetricsRequest) End

The end of the timeframe as timestamp in ISO8601 (RFC3339) e.g. '2023-08-28T07:10:52.536Z'.

func (ApiListMetricsRequest) Execute

func (ApiListMetricsRequest) Granularity

func (r ApiListMetricsRequest) Granularity(granularity string) ApiListMetricsRequest

The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.

func (ApiListMetricsRequest) Period

The period in ISO8601 format e.g. 5 minutes are 'PT5M'. If no period is provided, the standard value of 5 minutes is used.

func (ApiListMetricsRequest) Start

The start of the timeframe as timestamp in ISO8601 (RFC3339) e.g. '2023-08-28T07:10:52.536Z'. If no start time is provided, current server time as UTC is used.

type ApiListRestoreJobsRequest

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

func (ApiListRestoreJobsRequest) Execute

type ApiListRolesRequest

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

func (ApiListRolesRequest) Execute

type ApiListStoragesRequest

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

func (ApiListStoragesRequest) Execute

type ApiListUsersRequest

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

func (ApiListUsersRequest) Execute

type ApiListVersionsRequest

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

func (ApiListVersionsRequest) Execute

func (ApiListVersionsRequest) InstanceId

func (r ApiListVersionsRequest) InstanceId(instanceId string) ApiListVersionsRequest

Instance ID

type ApiPartialUpdateInstanceRequest

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

func (ApiPartialUpdateInstanceRequest) Execute

func (ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload

func (r ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload(partialUpdateInstancePayload PartialUpdateInstancePayload) ApiPartialUpdateInstanceRequest

Body

type ApiResetUserRequest

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

func (ApiResetUserRequest) Execute

type ApiTerminateProjectRequest

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

func (ApiTerminateProjectRequest) Execute

func (r ApiTerminateProjectRequest) Execute() error

type ApiTriggerDatabaseBackupRequest

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

func (ApiTriggerDatabaseBackupRequest) Execute

type ApiTriggerDatabaseRestoreRequest

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

func (ApiTriggerDatabaseRestoreRequest) Execute

func (ApiTriggerDatabaseRestoreRequest) TriggerDatabaseRestorePayload

func (r ApiTriggerDatabaseRestoreRequest) TriggerDatabaseRestorePayload(triggerDatabaseRestorePayload TriggerDatabaseRestorePayload) ApiTriggerDatabaseRestoreRequest

Body

type ApiUpdateInstanceRequest

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

func (ApiUpdateInstanceRequest) Execute

func (ApiUpdateInstanceRequest) UpdateInstancePayload

func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest

Body

type Backup

type Backup struct {
	EndTime   *string            `json:"endTime,omitempty"`
	Error     *string            `json:"error,omitempty"`
	Id        *string            `json:"id,omitempty"`
	Labels    []string           `json:"labels,omitempty"`
	Name      *string            `json:"name,omitempty"`
	Options   *map[string]string `json:"options,omitempty"`
	Size      *int64             `json:"size,omitempty"`
	StartTime *string            `json:"startTime,omitempty"`
}

Backup struct for Backup

func NewBackup

func NewBackup() *Backup

NewBackup instantiates a new Backup 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 NewBackupWithDefaults

func NewBackupWithDefaults() *Backup

NewBackupWithDefaults instantiates a new Backup 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 (*Backup) GetEndTime

func (o *Backup) GetEndTime() string

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*Backup) GetEndTimeOk

func (o *Backup) GetEndTimeOk() (*string, bool)

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

func (*Backup) GetError

func (o *Backup) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Backup) GetErrorOk

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

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

func (*Backup) GetId

func (o *Backup) GetId() string

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

func (*Backup) GetIdOk

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

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

func (*Backup) GetLabels

func (o *Backup) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Backup) GetLabelsOk

func (o *Backup) GetLabelsOk() ([]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 (*Backup) GetName

func (o *Backup) GetName() string

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

func (*Backup) GetNameOk

func (o *Backup) 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 (*Backup) GetOptions

func (o *Backup) GetOptions() map[string]string

GetOptions returns the Options field value if set, zero value otherwise.

func (*Backup) GetOptionsOk

func (o *Backup) GetOptionsOk() (*map[string]string, bool)

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

func (*Backup) GetSize

func (o *Backup) GetSize() int64

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

func (*Backup) GetSizeOk

func (o *Backup) GetSizeOk() (*int64, bool)

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

func (*Backup) GetStartTime

func (o *Backup) GetStartTime() string

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

func (*Backup) GetStartTimeOk

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

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

func (*Backup) HasEndTime

func (o *Backup) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*Backup) HasError

func (o *Backup) HasError() bool

HasError returns a boolean if a field has been set.

func (*Backup) HasId

func (o *Backup) HasId() bool

HasId returns a boolean if a field has been set.

func (*Backup) HasLabels

func (o *Backup) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Backup) HasName

func (o *Backup) HasName() bool

HasName returns a boolean if a field has been set.

func (*Backup) HasOptions

func (o *Backup) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Backup) HasSize

func (o *Backup) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Backup) HasStartTime

func (o *Backup) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (Backup) MarshalJSON

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

func (*Backup) SetEndTime

func (o *Backup) SetEndTime(v string)

SetEndTime gets a reference to the given string and assigns it to the EndTime field.

func (*Backup) SetError

func (o *Backup) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Backup) SetId

func (o *Backup) SetId(v string)

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

func (*Backup) SetLabels

func (o *Backup) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*Backup) SetName

func (o *Backup) SetName(v string)

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

func (*Backup) SetOptions

func (o *Backup) SetOptions(v map[string]string)

SetOptions gets a reference to the given map[string]string and assigns it to the Options field.

func (*Backup) SetSize

func (o *Backup) SetSize(v int64)

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

func (*Backup) SetStartTime

func (o *Backup) SetStartTime(v string)

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

func (Backup) ToMap

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

type BackupListBackupsResponseGrouped

type BackupListBackupsResponseGrouped struct {
	Backups []Backup `json:"backups,omitempty"`
	Name    *string  `json:"name,omitempty"`
}

BackupListBackupsResponseGrouped struct for BackupListBackupsResponseGrouped

func NewBackupListBackupsResponseGrouped

func NewBackupListBackupsResponseGrouped() *BackupListBackupsResponseGrouped

NewBackupListBackupsResponseGrouped instantiates a new BackupListBackupsResponseGrouped 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 NewBackupListBackupsResponseGroupedWithDefaults

func NewBackupListBackupsResponseGroupedWithDefaults() *BackupListBackupsResponseGrouped

NewBackupListBackupsResponseGroupedWithDefaults instantiates a new BackupListBackupsResponseGrouped 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 (*BackupListBackupsResponseGrouped) GetBackups

func (o *BackupListBackupsResponseGrouped) GetBackups() []Backup

GetBackups returns the Backups field value if set, zero value otherwise.

func (*BackupListBackupsResponseGrouped) GetBackupsOk

func (o *BackupListBackupsResponseGrouped) GetBackupsOk() ([]Backup, bool)

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

func (*BackupListBackupsResponseGrouped) GetName

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

func (*BackupListBackupsResponseGrouped) GetNameOk

func (o *BackupListBackupsResponseGrouped) 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 (*BackupListBackupsResponseGrouped) HasBackups

func (o *BackupListBackupsResponseGrouped) HasBackups() bool

HasBackups returns a boolean if a field has been set.

func (*BackupListBackupsResponseGrouped) HasName

HasName returns a boolean if a field has been set.

func (BackupListBackupsResponseGrouped) MarshalJSON

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

func (*BackupListBackupsResponseGrouped) SetBackups

func (o *BackupListBackupsResponseGrouped) SetBackups(v []Backup)

SetBackups gets a reference to the given []Backup and assigns it to the Backups field.

func (*BackupListBackupsResponseGrouped) SetName

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

func (BackupListBackupsResponseGrouped) ToMap

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

type CreateDatabasePayload

type CreateDatabasePayload struct {
	Name    string                                            `json:"name"`
	Options DatabaseDocumentationCreateDatabaseRequestOptions `json:"options"`
}

CreateDatabasePayload struct for CreateDatabasePayload

func NewCreateDatabasePayload

NewCreateDatabasePayload instantiates a new CreateDatabasePayload 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 NewCreateDatabasePayloadWithDefaults

func NewCreateDatabasePayloadWithDefaults() *CreateDatabasePayload

NewCreateDatabasePayloadWithDefaults instantiates a new CreateDatabasePayload 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 (*CreateDatabasePayload) GetName

func (o *CreateDatabasePayload) GetName() string

GetName returns the Name field value

func (*CreateDatabasePayload) GetNameOk

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

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

func (*CreateDatabasePayload) GetOptions

GetOptions returns the Options field value

func (*CreateDatabasePayload) GetOptionsOk

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

func (CreateDatabasePayload) MarshalJSON

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

func (*CreateDatabasePayload) SetName

func (o *CreateDatabasePayload) SetName(v string)

SetName sets field value

func (*CreateDatabasePayload) SetOptions

SetOptions sets field value

func (CreateDatabasePayload) ToMap

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

func (*CreateDatabasePayload) UnmarshalJSON

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

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	Id *string `json:"id,omitempty"`
}

CreateDatabaseResponse struct for CreateDatabaseResponse

func NewCreateDatabaseResponse

func NewCreateDatabaseResponse() *CreateDatabaseResponse

NewCreateDatabaseResponse instantiates a new CreateDatabaseResponse 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 NewCreateDatabaseResponseWithDefaults

func NewCreateDatabaseResponseWithDefaults() *CreateDatabaseResponse

NewCreateDatabaseResponseWithDefaults instantiates a new CreateDatabaseResponse 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 (*CreateDatabaseResponse) GetId

func (o *CreateDatabaseResponse) GetId() string

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

func (*CreateDatabaseResponse) GetIdOk

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

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

func (*CreateDatabaseResponse) HasId

func (o *CreateDatabaseResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (CreateDatabaseResponse) MarshalJSON

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

func (*CreateDatabaseResponse) SetId

func (o *CreateDatabaseResponse) SetId(v string)

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

func (CreateDatabaseResponse) ToMap

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

type CreateInstancePayload

type CreateInstancePayload struct {
	// ACL is the Access Control List defining the IP ranges allowed to connect to the database
	Acl *InstanceDocumentationACL `json:"acl,omitempty"`
	// Cronjob for the daily full backup if not provided a job will generated between 00:00 and 04:59
	BackupSchedule *string `json:"backupSchedule,omitempty"`
	// Id of the selected flavor
	FlavorId string `json:"flavorId"`
	// Labels for the instance
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Name of the instance
	Name string `json:"name"`
	// Database instance specific options are requested via this field
	Options *InstanceDocumentationOptions `json:"options,omitempty"`
	// Storage for the instance
	Storage *InstanceDocumentationStorage `json:"storage,omitempty"`
	// Version of the MSSQL Server
	Version *string `json:"version,omitempty"`
}

CreateInstancePayload struct for CreateInstancePayload

func NewCreateInstancePayload

func NewCreateInstancePayload(flavorId string, 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) GetAcl

GetAcl returns the Acl field value if set, zero value otherwise.

func (*CreateInstancePayload) GetAclOk

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

func (*CreateInstancePayload) GetBackupSchedule

func (o *CreateInstancePayload) GetBackupSchedule() string

GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.

func (*CreateInstancePayload) GetBackupScheduleOk

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

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

func (*CreateInstancePayload) GetFlavorId

func (o *CreateInstancePayload) GetFlavorId() string

GetFlavorId returns the FlavorId field value

func (*CreateInstancePayload) GetFlavorIdOk

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

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

func (*CreateInstancePayload) GetLabels

func (o *CreateInstancePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateInstancePayload) GetLabelsOk

func (o *CreateInstancePayload) GetLabelsOk() (map[string]interface{}, 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) GetOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*CreateInstancePayload) GetOptionsOk

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

func (*CreateInstancePayload) GetStorage

GetStorage returns the Storage field value if set, zero value otherwise.

func (*CreateInstancePayload) GetStorageOk

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

func (*CreateInstancePayload) GetVersion

func (o *CreateInstancePayload) GetVersion() string

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

func (*CreateInstancePayload) GetVersionOk

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

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

func (*CreateInstancePayload) HasAcl

func (o *CreateInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*CreateInstancePayload) HasBackupSchedule

func (o *CreateInstancePayload) HasBackupSchedule() bool

HasBackupSchedule 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) HasOptions

func (o *CreateInstancePayload) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*CreateInstancePayload) HasStorage

func (o *CreateInstancePayload) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*CreateInstancePayload) HasVersion

func (o *CreateInstancePayload) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateInstancePayload) MarshalJSON

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

func (*CreateInstancePayload) SetAcl

SetAcl gets a reference to the given InstanceDocumentationACL and assigns it to the Acl field.

func (*CreateInstancePayload) SetBackupSchedule

func (o *CreateInstancePayload) SetBackupSchedule(v string)

SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.

func (*CreateInstancePayload) SetFlavorId

func (o *CreateInstancePayload) SetFlavorId(v string)

SetFlavorId sets field value

func (*CreateInstancePayload) SetLabels

func (o *CreateInstancePayload) SetLabels(v map[string]interface{})

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

func (*CreateInstancePayload) SetName

func (o *CreateInstancePayload) SetName(v string)

SetName sets field value

func (*CreateInstancePayload) SetOptions

SetOptions gets a reference to the given InstanceDocumentationOptions and assigns it to the Options field.

func (*CreateInstancePayload) SetStorage

SetStorage gets a reference to the given InstanceDocumentationStorage and assigns it to the Storage field.

func (*CreateInstancePayload) SetVersion

func (o *CreateInstancePayload) SetVersion(v string)

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

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 {
	Id *string `json:"id,omitempty"`
}

CreateInstanceResponse struct for CreateInstanceResponse

func NewCreateInstanceResponse

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

func (o *CreateInstanceResponse) GetId() string

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

func (*CreateInstanceResponse) GetIdOk

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

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

func (*CreateInstanceResponse) HasId

func (o *CreateInstanceResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (CreateInstanceResponse) MarshalJSON

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

func (*CreateInstanceResponse) SetId

func (o *CreateInstanceResponse) SetId(v string)

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

func (CreateInstanceResponse) ToMap

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

type CreateUserPayload

type CreateUserPayload struct {
	DefaultDatabase *string  `json:"default_database,omitempty"`
	Roles           []string `json:"roles"`
	Username        string   `json:"username"`
}

CreateUserPayload struct for CreateUserPayload

func NewCreateUserPayload

func NewCreateUserPayload(roles []string, username string) *CreateUserPayload

NewCreateUserPayload instantiates a new CreateUserPayload 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 NewCreateUserPayloadWithDefaults

func NewCreateUserPayloadWithDefaults() *CreateUserPayload

NewCreateUserPayloadWithDefaults instantiates a new CreateUserPayload 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 (*CreateUserPayload) GetDefaultDatabase

func (o *CreateUserPayload) GetDefaultDatabase() string

GetDefaultDatabase returns the DefaultDatabase field value if set, zero value otherwise.

func (*CreateUserPayload) GetDefaultDatabaseOk

func (o *CreateUserPayload) GetDefaultDatabaseOk() (*string, bool)

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

func (*CreateUserPayload) GetRoles

func (o *CreateUserPayload) GetRoles() []string

GetRoles returns the Roles field value

func (*CreateUserPayload) GetRolesOk

func (o *CreateUserPayload) GetRolesOk() ([]string, bool)

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

func (*CreateUserPayload) GetUsername

func (o *CreateUserPayload) GetUsername() string

GetUsername returns the Username field value

func (*CreateUserPayload) GetUsernameOk

func (o *CreateUserPayload) GetUsernameOk() (*string, bool)

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

func (*CreateUserPayload) HasDefaultDatabase

func (o *CreateUserPayload) HasDefaultDatabase() bool

HasDefaultDatabase returns a boolean if a field has been set.

func (CreateUserPayload) MarshalJSON

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

func (*CreateUserPayload) SetDefaultDatabase

func (o *CreateUserPayload) SetDefaultDatabase(v string)

SetDefaultDatabase gets a reference to the given string and assigns it to the DefaultDatabase field.

func (*CreateUserPayload) SetRoles

func (o *CreateUserPayload) SetRoles(v []string)

SetRoles sets field value

func (*CreateUserPayload) SetUsername

func (o *CreateUserPayload) SetUsername(v string)

SetUsername sets field value

func (CreateUserPayload) ToMap

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

func (*CreateUserPayload) UnmarshalJSON

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

type CreateUserResponse

type CreateUserResponse struct {
	Item *SingleUser `json:"item,omitempty"`
}

CreateUserResponse struct for CreateUserResponse

func NewCreateUserResponse

func NewCreateUserResponse() *CreateUserResponse

NewCreateUserResponse instantiates a new CreateUserResponse 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 NewCreateUserResponseWithDefaults

func NewCreateUserResponseWithDefaults() *CreateUserResponse

NewCreateUserResponseWithDefaults instantiates a new CreateUserResponse 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 (*CreateUserResponse) GetItem

func (o *CreateUserResponse) GetItem() SingleUser

GetItem returns the Item field value if set, zero value otherwise.

func (*CreateUserResponse) GetItemOk

func (o *CreateUserResponse) GetItemOk() (*SingleUser, bool)

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

func (*CreateUserResponse) HasItem

func (o *CreateUserResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (CreateUserResponse) MarshalJSON

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

func (*CreateUserResponse) SetItem

func (o *CreateUserResponse) SetItem(v SingleUser)

SetItem gets a reference to the given SingleUser and assigns it to the Item field.

func (CreateUserResponse) ToMap

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

type DataPoint

type DataPoint struct {
	Timestamp *string  `json:"timestamp,omitempty"`
	Value     *float32 `json:"value,omitempty"`
}

DataPoint struct for DataPoint

func NewDataPoint

func NewDataPoint() *DataPoint

NewDataPoint instantiates a new DataPoint 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 NewDataPointWithDefaults

func NewDataPointWithDefaults() *DataPoint

NewDataPointWithDefaults instantiates a new DataPoint 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 (*DataPoint) GetTimestamp

func (o *DataPoint) GetTimestamp() string

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*DataPoint) GetTimestampOk

func (o *DataPoint) GetTimestampOk() (*string, bool)

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

func (*DataPoint) GetValue

func (o *DataPoint) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*DataPoint) GetValueOk

func (o *DataPoint) GetValueOk() (*float32, bool)

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

func (*DataPoint) HasTimestamp

func (o *DataPoint) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*DataPoint) HasValue

func (o *DataPoint) HasValue() bool

HasValue returns a boolean if a field has been set.

func (DataPoint) MarshalJSON

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

func (*DataPoint) SetTimestamp

func (o *DataPoint) SetTimestamp(v string)

SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.

func (*DataPoint) SetValue

func (o *DataPoint) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

func (DataPoint) ToMap

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

type Database

type Database struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	// Database specific options
	Options map[string]interface{} `json:"options,omitempty"`
}

Database struct for Database

func NewDatabase

func NewDatabase() *Database

NewDatabase instantiates a new Database 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 NewDatabaseWithDefaults

func NewDatabaseWithDefaults() *Database

NewDatabaseWithDefaults instantiates a new Database 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 (*Database) GetId

func (o *Database) GetId() string

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

func (*Database) GetIdOk

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

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

func (*Database) GetName

func (o *Database) GetName() string

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

func (*Database) GetNameOk

func (o *Database) 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 (*Database) GetOptions

func (o *Database) GetOptions() map[string]interface{}

GetOptions returns the Options field value if set, zero value otherwise.

func (*Database) GetOptionsOk

func (o *Database) GetOptionsOk() (map[string]interface{}, bool)

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

func (*Database) HasId

func (o *Database) HasId() bool

HasId returns a boolean if a field has been set.

func (*Database) HasName

func (o *Database) HasName() bool

HasName returns a boolean if a field has been set.

func (*Database) HasOptions

func (o *Database) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (Database) MarshalJSON

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

func (*Database) SetId

func (o *Database) SetId(v string)

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

func (*Database) SetName

func (o *Database) SetName(v string)

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

func (*Database) SetOptions

func (o *Database) SetOptions(v map[string]interface{})

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

func (Database) ToMap

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

type DatabaseDocumentationCreateDatabaseRequestOptions

type DatabaseDocumentationCreateDatabaseRequestOptions struct {
	// Collation of the database
	Collation *string `json:"collation,omitempty"`
	// CompatibilityLevel of the Database.
	CompatibilityLevel *string `json:"compatibilityLevel,omitempty"`
	// Name of the owner of the database.
	Owner string `json:"owner"`
}

DatabaseDocumentationCreateDatabaseRequestOptions struct for DatabaseDocumentationCreateDatabaseRequestOptions

func NewDatabaseDocumentationCreateDatabaseRequestOptions

func NewDatabaseDocumentationCreateDatabaseRequestOptions(owner string) *DatabaseDocumentationCreateDatabaseRequestOptions

NewDatabaseDocumentationCreateDatabaseRequestOptions instantiates a new DatabaseDocumentationCreateDatabaseRequestOptions 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 NewDatabaseDocumentationCreateDatabaseRequestOptionsWithDefaults

func NewDatabaseDocumentationCreateDatabaseRequestOptionsWithDefaults() *DatabaseDocumentationCreateDatabaseRequestOptions

NewDatabaseDocumentationCreateDatabaseRequestOptionsWithDefaults instantiates a new DatabaseDocumentationCreateDatabaseRequestOptions 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 (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCollation

GetCollation returns the Collation field value if set, zero value otherwise.

func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCollationOk

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

func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevel

func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevel() string

GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.

func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevelOk

func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevelOk() (*string, bool)

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

func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetOwner

GetOwner returns the Owner field value

func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetOwnerOk

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

func (*DatabaseDocumentationCreateDatabaseRequestOptions) HasCollation

HasCollation returns a boolean if a field has been set.

func (*DatabaseDocumentationCreateDatabaseRequestOptions) HasCompatibilityLevel

func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCompatibilityLevel() bool

HasCompatibilityLevel returns a boolean if a field has been set.

func (DatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON

func (*DatabaseDocumentationCreateDatabaseRequestOptions) SetCollation

SetCollation gets a reference to the given string and assigns it to the Collation field.

func (*DatabaseDocumentationCreateDatabaseRequestOptions) SetCompatibilityLevel

func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetCompatibilityLevel(v string)

SetCompatibilityLevel gets a reference to the given string and assigns it to the CompatibilityLevel field.

func (*DatabaseDocumentationCreateDatabaseRequestOptions) SetOwner

SetOwner sets field value

func (DatabaseDocumentationCreateDatabaseRequestOptions) ToMap

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

func (*DatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON

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

type DatabaseOptions

type DatabaseOptions struct {
	// Name of the collation of the database
	CollationName *string `json:"collationName,omitempty"`
	// CompatibilityLevel of the Database.
	CompatibilityLevel *int64 `json:"compatibilityLevel,omitempty"`
	// Name of the owner of the database.
	Owner *string `json:"owner,omitempty"`
}

DatabaseOptions struct for DatabaseOptions

func NewDatabaseOptions

func NewDatabaseOptions() *DatabaseOptions

NewDatabaseOptions instantiates a new DatabaseOptions 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 NewDatabaseOptionsWithDefaults

func NewDatabaseOptionsWithDefaults() *DatabaseOptions

NewDatabaseOptionsWithDefaults instantiates a new DatabaseOptions 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 (*DatabaseOptions) GetCollationName

func (o *DatabaseOptions) GetCollationName() string

GetCollationName returns the CollationName field value if set, zero value otherwise.

func (*DatabaseOptions) GetCollationNameOk

func (o *DatabaseOptions) GetCollationNameOk() (*string, bool)

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

func (*DatabaseOptions) GetCompatibilityLevel

func (o *DatabaseOptions) GetCompatibilityLevel() int64

GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.

func (*DatabaseOptions) GetCompatibilityLevelOk

func (o *DatabaseOptions) GetCompatibilityLevelOk() (*int64, bool)

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

func (*DatabaseOptions) GetOwner

func (o *DatabaseOptions) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*DatabaseOptions) GetOwnerOk

func (o *DatabaseOptions) GetOwnerOk() (*string, bool)

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

func (*DatabaseOptions) HasCollationName

func (o *DatabaseOptions) HasCollationName() bool

HasCollationName returns a boolean if a field has been set.

func (*DatabaseOptions) HasCompatibilityLevel

func (o *DatabaseOptions) HasCompatibilityLevel() bool

HasCompatibilityLevel returns a boolean if a field has been set.

func (*DatabaseOptions) HasOwner

func (o *DatabaseOptions) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (DatabaseOptions) MarshalJSON

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

func (*DatabaseOptions) SetCollationName

func (o *DatabaseOptions) SetCollationName(v string)

SetCollationName gets a reference to the given string and assigns it to the CollationName field.

func (*DatabaseOptions) SetCompatibilityLevel

func (o *DatabaseOptions) SetCompatibilityLevel(v int64)

SetCompatibilityLevel gets a reference to the given int64 and assigns it to the CompatibilityLevel field.

func (*DatabaseOptions) SetOwner

func (o *DatabaseOptions) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (DatabaseOptions) ToMap

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateDatabase Create a Database

		Create a Database for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiCreateDatabaseRequest
	*/
	CreateDatabase(ctx context.Context, projectId string, instanceId string, region string) ApiCreateDatabaseRequest

	// CreateDatabaseExecute executes the request
	//  @return CreateDatabaseResponse
	CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)

	/*
		CreateInstance Create Instance

		Create a new instance of a sqlServerCRD database

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param region The region which should be addressed
		@return ApiCreateInstanceRequest
	*/
	CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest

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

	/*
		CreateUser Create User

		Create user for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiCreateUserRequest
	*/
	CreateUser(ctx context.Context, projectId string, instanceId string, region string) ApiCreateUserRequest

	// CreateUserExecute executes the request
	//  @return CreateUserResponse
	CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)

	/*
		DeleteDatabase Delete Database

		Delete Database for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param databaseName Database Name
		@param region The region which should be addressed
		@return ApiDeleteDatabaseRequest
	*/
	DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiDeleteDatabaseRequest

	// DeleteDatabaseExecute executes the request
	DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error

	/*
		DeleteInstance Delete Instance

		Delete available instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiDeleteInstanceRequest
	*/
	DeleteInstance(ctx context.Context, projectId string, instanceId string, region string) ApiDeleteInstanceRequest

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

	/*
		DeleteUser Delete User

		Delete user for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param userId User ID
		@param region The region which should be addressed
		@return ApiDeleteUserRequest
	*/
	DeleteUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiDeleteUserRequest

	// DeleteUserExecute executes the request
	DeleteUserExecute(r ApiDeleteUserRequest) error

	/*
		GetBackup Get specific backup

		Get specific available backup

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param backupId Backup ID
		@param region The region which should be addressed
		@return ApiGetBackupRequest
	*/
	GetBackup(ctx context.Context, projectId string, instanceId string, backupId string, region string) ApiGetBackupRequest

	// GetBackupExecute executes the request
	//  @return GetBackupResponse
	GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)

	/*
		GetDatabase Get specific Database

		Get specific available database

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param databaseName Database Name
		@param region The region which should be addressed
		@return ApiGetDatabaseRequest
	*/
	GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiGetDatabaseRequest

	// GetDatabaseExecute executes the request
	//  @return GetDatabaseResponse
	GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)

	/*
		GetInstance Get specific instance

		Get specific available instances

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, projectId string, instanceId string, region string) ApiGetInstanceRequest

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

	/*
		GetUser Get User

		Get specific available user for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param userId User ID
		@param region The region which should be addressed
		@return ApiGetUserRequest
	*/
	GetUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiGetUserRequest

	// GetUserExecute executes the request
	//  @return GetUserResponse
	GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)

	/*
		ListBackups List backups

		List all backups which are available for a specific instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiListBackupsRequest
	*/
	ListBackups(ctx context.Context, projectId string, instanceId string, region string) ApiListBackupsRequest

	// ListBackupsExecute executes the request
	//  @return ListBackupsResponse
	ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)

	/*
		ListCollations Get database collation list

		Returns a list of collations

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the STACKIT project
		@param instanceId The ID of the instance
		@param region The region which should be addressed
		@return ApiListCollationsRequest
	*/
	ListCollations(ctx context.Context, projectId string, instanceId string, region string) ApiListCollationsRequest

	// ListCollationsExecute executes the request
	//  @return ListCollationsResponse
	ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)

	/*
		ListCompatibility Get database compatibility list

		Returns a list of compatibility levels for creating a new database

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the STACKIT project
		@param instanceId The ID of the instance
		@param region The region which should be addressed
		@return ApiListCompatibilityRequest
	*/
	ListCompatibility(ctx context.Context, projectId string, instanceId string, region string) ApiListCompatibilityRequest

	// ListCompatibilityExecute executes the request
	//  @return ListCompatibilityResponse
	ListCompatibilityExecute(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)

	/*
		ListDatabases Get list of databases

		Get list of all databases in the instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiListDatabasesRequest
	*/
	ListDatabases(ctx context.Context, projectId string, instanceId string, region string) ApiListDatabasesRequest

	// ListDatabasesExecute executes the request
	//  @return ListDatabasesResponse
	ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)

	/*
		ListFlavors Get Flavors

		Get available flavors for a specific projectID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param region The region which should be addressed
		@return ApiListFlavorsRequest
	*/
	ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest

	// ListFlavorsExecute executes the request
	//  @return ListFlavorsResponse
	ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)

	/*
		ListInstances List Instances

		List available instances

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param region The region which should be addressed
		@return ApiListInstancesRequest
	*/
	ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest

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

	/*
		ListMetrics Get Metric

		Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The UUID of the project.
		@param instanceId The UUID of the instance.
		@param region The region which should be addressed
		@param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'.
		@return ApiListMetricsRequest
	*/
	ListMetrics(ctx context.Context, projectId string, instanceId string, region string, metric string) ApiListMetricsRequest

	// ListMetricsExecute executes the request
	//  @return ListMetricsResponse
	ListMetricsExecute(r ApiListMetricsRequest) (*ListMetricsResponse, error)

	/*
		ListRestoreJobs List current running restore jobs

		List all currently running restore jobs which are available for a specific instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiListRestoreJobsRequest
	*/
	ListRestoreJobs(ctx context.Context, projectId string, instanceId string, region string) ApiListRestoreJobsRequest

	// ListRestoreJobsExecute executes the request
	//  @return ListRestoreJobsResponse
	ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)

	/*
		ListRoles List Roles

		List available roles for an instance that can be assigned to a user

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiListRolesRequest
	*/
	ListRoles(ctx context.Context, projectId string, instanceId string, region string) ApiListRolesRequest

	// ListRolesExecute executes the request
	//  @return ListRolesResponse
	ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)

	/*
		ListStorages Get Storages

		Get available storages for a specific flavor

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param flavorId Flavor ID
		@param region The region which should be addressed
		@return ApiListStoragesRequest
	*/
	ListStorages(ctx context.Context, projectId string, flavorId string, region string) ApiListStoragesRequest

	// ListStoragesExecute executes the request
	//  @return ListStoragesResponse
	ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)

	/*
		ListUsers List Users

		List available users for an instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param region The region which should be addressed
		@return ApiListUsersRequest
	*/
	ListUsers(ctx context.Context, projectId string, instanceId string, region string) ApiListUsersRequest

	// ListUsersExecute executes the request
	//  @return ListUsersResponse
	ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)

	/*
		ListVersions Get Versions

		Get available versions for mssql database

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param region The region which should be addressed
		@return ApiListVersionsRequest
	*/
	ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest

	// ListVersionsExecute executes the request
	//  @return ListVersionsResponse
	ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)

	/*
			PartialUpdateInstance Update Instance

			Update available instance of a mssql database.

		**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Project ID
			@param instanceId Instance ID
			@param region The region which should be addressed
			@return ApiPartialUpdateInstanceRequest
	*/
	PartialUpdateInstance(ctx context.Context, projectId string, instanceId string, region string) ApiPartialUpdateInstanceRequest

	// PartialUpdateInstanceExecute executes the request
	//  @return UpdateInstanceResponse
	PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)

	/*
		ResetUser Reset User

		Reset user password for a mssql instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param userId user ID
		@param region The region which should be addressed
		@return ApiResetUserRequest
	*/
	ResetUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiResetUserRequest

	// ResetUserExecute executes the request
	//  @return ResetUserResponse
	ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)

	/*
		TerminateProject Terminate the Project

		Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param region The region which should be addressed
		@return ApiTerminateProjectRequest
	*/
	TerminateProject(ctx context.Context, projectId string, region string) ApiTerminateProjectRequest

	// TerminateProjectExecute executes the request
	TerminateProjectExecute(r ApiTerminateProjectRequest) error

	/*
		TriggerDatabaseBackup Trigger backup for a specific Database

		Trigger backup for a specific Database

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param databaseName Database Name
		@param region The region which should be addressed
		@return ApiTriggerDatabaseBackupRequest
	*/
	TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiTriggerDatabaseBackupRequest

	// TriggerDatabaseBackupExecute executes the request
	TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error

	/*
		TriggerDatabaseRestore Trigger restore for a specific Database

		Trigger restore for a specific Database

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project ID
		@param instanceId Instance ID
		@param databaseName Database Name
		@param region The region which should be addressed
		@return ApiTriggerDatabaseRestoreRequest
	*/
	TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiTriggerDatabaseRestoreRequest

	// TriggerDatabaseRestoreExecute executes the request
	TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error

	/*
			UpdateInstance Update Instance

			Update available instance of a mssql database.

		**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Project ID
			@param instanceId Instance ID
			@param region The region which should be addressed
			@return ApiUpdateInstanceRequest
	*/
	UpdateInstance(ctx context.Context, projectId string, instanceId string, region string) ApiUpdateInstanceRequest

	// UpdateInstanceExecute executes the request
	//  @return UpdateInstanceResponse
	UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateDatabase

func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, instanceId string, region string) ApiCreateDatabaseRequest

CreateDatabase Create a Database

Create a Database for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiCreateDatabaseRequest

func (*DefaultAPIService) CreateDatabaseExecute

Execute executes the request

@return CreateDatabaseResponse

func (*DefaultAPIService) CreateInstance

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

CreateInstance Create Instance

Create a new instance of a sqlServerCRD database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param region The region which should be addressed
@return ApiCreateInstanceRequest

func (*DefaultAPIService) CreateInstanceExecute

Execute executes the request

@return CreateInstanceResponse

func (*DefaultAPIService) CreateUser

func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, instanceId string, region string) ApiCreateUserRequest

CreateUser Create User

Create user for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiCreateUserRequest

func (*DefaultAPIService) CreateUserExecute

func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)

Execute executes the request

@return CreateUserResponse

func (*DefaultAPIService) DeleteDatabase

func (a *DefaultAPIService) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiDeleteDatabaseRequest

DeleteDatabase Delete Database

Delete Database for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@param region The region which should be addressed
@return ApiDeleteDatabaseRequest

func (*DefaultAPIService) DeleteDatabaseExecute

func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteInstance

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

DeleteInstance Delete Instance

Delete available instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiDeleteInstanceRequest

func (*DefaultAPIService) DeleteInstanceExecute

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

Execute executes the request

func (*DefaultAPIService) DeleteUser

func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiDeleteUserRequest

DeleteUser Delete User

Delete user for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param userId User ID
@param region The region which should be addressed
@return ApiDeleteUserRequest

func (*DefaultAPIService) DeleteUserExecute

func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error

Execute executes the request

func (*DefaultAPIService) GetBackup

func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, instanceId string, backupId string, region string) ApiGetBackupRequest

GetBackup Get specific backup

Get specific available backup

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param backupId Backup ID
@param region The region which should be addressed
@return ApiGetBackupRequest

func (*DefaultAPIService) GetBackupExecute

func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)

Execute executes the request

@return GetBackupResponse

func (*DefaultAPIService) GetDatabase

func (a *DefaultAPIService) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiGetDatabaseRequest

GetDatabase Get specific Database

Get specific available database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@param region The region which should be addressed
@return ApiGetDatabaseRequest

func (*DefaultAPIService) GetDatabaseExecute

Execute executes the request

@return GetDatabaseResponse

func (*DefaultAPIService) GetInstance

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

GetInstance Get specific instance

Get specific available instances

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiGetInstanceRequest

func (*DefaultAPIService) GetInstanceExecute

Execute executes the request

@return GetInstanceResponse

func (*DefaultAPIService) GetUser

func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiGetUserRequest

GetUser Get User

Get specific available user for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param userId User ID
@param region The region which should be addressed
@return ApiGetUserRequest

func (*DefaultAPIService) GetUserExecute

func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)

Execute executes the request

@return GetUserResponse

func (*DefaultAPIService) ListBackups

func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, instanceId string, region string) ApiListBackupsRequest

ListBackups List backups

List all backups which are available for a specific instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiListBackupsRequest

func (*DefaultAPIService) ListBackupsExecute

Execute executes the request

@return ListBackupsResponse

func (*DefaultAPIService) ListCollations

func (a *DefaultAPIService) ListCollations(ctx context.Context, projectId string, instanceId string, region string) ApiListCollationsRequest

ListCollations Get database collation list

Returns a list of collations

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the STACKIT project
@param instanceId The ID of the instance
@param region The region which should be addressed
@return ApiListCollationsRequest

func (*DefaultAPIService) ListCollationsExecute

Execute executes the request

@return ListCollationsResponse

func (*DefaultAPIService) ListCompatibility

func (a *DefaultAPIService) ListCompatibility(ctx context.Context, projectId string, instanceId string, region string) ApiListCompatibilityRequest

ListCompatibility Get database compatibility list

Returns a list of compatibility levels for creating a new database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the STACKIT project
@param instanceId The ID of the instance
@param region The region which should be addressed
@return ApiListCompatibilityRequest

func (*DefaultAPIService) ListCompatibilityExecute

Execute executes the request

@return ListCompatibilityResponse

func (*DefaultAPIService) ListDatabases

func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, instanceId string, region string) ApiListDatabasesRequest

ListDatabases Get list of databases

Get list of all databases in the instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiListDatabasesRequest

func (*DefaultAPIService) ListDatabasesExecute

Execute executes the request

@return ListDatabasesResponse

func (*DefaultAPIService) ListFlavors

func (a *DefaultAPIService) ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest

ListFlavors Get Flavors

Get available flavors for a specific projectID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param region The region which should be addressed
@return ApiListFlavorsRequest

func (*DefaultAPIService) ListFlavorsExecute

Execute executes the request

@return ListFlavorsResponse

func (*DefaultAPIService) ListInstances

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

ListInstances List Instances

List available instances

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param region The region which should be addressed
@return ApiListInstancesRequest

func (*DefaultAPIService) ListInstancesExecute

Execute executes the request

@return ListInstancesResponse

func (*DefaultAPIService) ListMetrics

func (a *DefaultAPIService) ListMetrics(ctx context.Context, projectId string, instanceId string, region string, metric string) ApiListMetricsRequest

ListMetrics Get Metric

Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The UUID of the project.
@param instanceId The UUID of the instance.
@param region The region which should be addressed
@param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'.
@return ApiListMetricsRequest

func (*DefaultAPIService) ListMetricsExecute

Execute executes the request

@return ListMetricsResponse

func (*DefaultAPIService) ListRestoreJobs

func (a *DefaultAPIService) ListRestoreJobs(ctx context.Context, projectId string, instanceId string, region string) ApiListRestoreJobsRequest

ListRestoreJobs List current running restore jobs

List all currently running restore jobs which are available for a specific instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiListRestoreJobsRequest

func (*DefaultAPIService) ListRestoreJobsExecute

Execute executes the request

@return ListRestoreJobsResponse

func (*DefaultAPIService) ListRoles

func (a *DefaultAPIService) ListRoles(ctx context.Context, projectId string, instanceId string, region string) ApiListRolesRequest

ListRoles List Roles

List available roles for an instance that can be assigned to a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiListRolesRequest

func (*DefaultAPIService) ListRolesExecute

func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)

Execute executes the request

@return ListRolesResponse

func (*DefaultAPIService) ListStorages

func (a *DefaultAPIService) ListStorages(ctx context.Context, projectId string, flavorId string, region string) ApiListStoragesRequest

ListStorages Get Storages

Get available storages for a specific flavor

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param flavorId Flavor ID
@param region The region which should be addressed
@return ApiListStoragesRequest

func (*DefaultAPIService) ListStoragesExecute

Execute executes the request

@return ListStoragesResponse

func (*DefaultAPIService) ListUsers

func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId string, region string) ApiListUsersRequest

ListUsers List Users

List available users for an instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiListUsersRequest

func (*DefaultAPIService) ListUsersExecute

func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)

Execute executes the request

@return ListUsersResponse

func (*DefaultAPIService) ListVersions

func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest

ListVersions Get Versions

Get available versions for mssql database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param region The region which should be addressed
@return ApiListVersionsRequest

func (*DefaultAPIService) ListVersionsExecute

Execute executes the request

@return ListVersionsResponse

func (*DefaultAPIService) PartialUpdateInstance

func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, instanceId string, region string) ApiPartialUpdateInstanceRequest

PartialUpdateInstance Update Instance

Update available instance of a mssql database.

**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiPartialUpdateInstanceRequest

func (*DefaultAPIService) PartialUpdateInstanceExecute

func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)

Execute executes the request

@return UpdateInstanceResponse

func (*DefaultAPIService) ResetUser

func (a *DefaultAPIService) ResetUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiResetUserRequest

ResetUser Reset User

Reset user password for a mssql instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param userId user ID
@param region The region which should be addressed
@return ApiResetUserRequest

func (*DefaultAPIService) ResetUserExecute

func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)

Execute executes the request

@return ResetUserResponse

func (*DefaultAPIService) TerminateProject

func (a *DefaultAPIService) TerminateProject(ctx context.Context, projectId string, region string) ApiTerminateProjectRequest

TerminateProject Terminate the Project

Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param region The region which should be addressed
@return ApiTerminateProjectRequest

func (*DefaultAPIService) TerminateProjectExecute

func (a *DefaultAPIService) TerminateProjectExecute(r ApiTerminateProjectRequest) error

Execute executes the request

func (*DefaultAPIService) TriggerDatabaseBackup

func (a *DefaultAPIService) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiTriggerDatabaseBackupRequest

TriggerDatabaseBackup Trigger backup for a specific Database

Trigger backup for a specific Database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@param region The region which should be addressed
@return ApiTriggerDatabaseBackupRequest

func (*DefaultAPIService) TriggerDatabaseBackupExecute

func (a *DefaultAPIService) TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error

Execute executes the request

func (*DefaultAPIService) TriggerDatabaseRestore

func (a *DefaultAPIService) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiTriggerDatabaseRestoreRequest

TriggerDatabaseRestore Trigger restore for a specific Database

Trigger restore for a specific Database

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@param region The region which should be addressed
@return ApiTriggerDatabaseRestoreRequest

func (*DefaultAPIService) TriggerDatabaseRestoreExecute

func (a *DefaultAPIService) TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateInstance

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

UpdateInstance Update Instance

Update available instance of a mssql database.

**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param region The region which should be addressed
@return ApiUpdateInstanceRequest

func (*DefaultAPIService) UpdateInstanceExecute

Execute executes the request

@return UpdateInstanceResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateDatabaseExecuteMock can be populated to implement the behavior of the CreateDatabaseExecute function of this mock
	CreateDatabaseExecuteMock *func(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
	// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
	CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
	// CreateUserExecuteMock can be populated to implement the behavior of the CreateUserExecute function of this mock
	CreateUserExecuteMock *func(r ApiCreateUserRequest) (*CreateUserResponse, error)
	// DeleteDatabaseExecuteMock can be populated to implement the behavior of the DeleteDatabaseExecute function of this mock
	DeleteDatabaseExecuteMock *func(r ApiDeleteDatabaseRequest) error
	// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
	DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
	// DeleteUserExecuteMock can be populated to implement the behavior of the DeleteUserExecute function of this mock
	DeleteUserExecuteMock *func(r ApiDeleteUserRequest) error
	// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
	GetBackupExecuteMock *func(r ApiGetBackupRequest) (*GetBackupResponse, error)
	// GetDatabaseExecuteMock can be populated to implement the behavior of the GetDatabaseExecute function of this mock
	GetDatabaseExecuteMock *func(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
	// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
	GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
	// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
	GetUserExecuteMock *func(r ApiGetUserRequest) (*GetUserResponse, error)
	// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
	ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*ListBackupsResponse, error)
	// ListCollationsExecuteMock can be populated to implement the behavior of the ListCollationsExecute function of this mock
	ListCollationsExecuteMock *func(r ApiListCollationsRequest) (*ListCollationsResponse, error)
	// ListCompatibilityExecuteMock can be populated to implement the behavior of the ListCompatibilityExecute function of this mock
	ListCompatibilityExecuteMock *func(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
	// ListDatabasesExecuteMock can be populated to implement the behavior of the ListDatabasesExecute function of this mock
	ListDatabasesExecuteMock *func(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
	// ListFlavorsExecuteMock can be populated to implement the behavior of the ListFlavorsExecute function of this mock
	ListFlavorsExecuteMock *func(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
	// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
	ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
	// ListMetricsExecuteMock can be populated to implement the behavior of the ListMetricsExecute function of this mock
	ListMetricsExecuteMock *func(r ApiListMetricsRequest) (*ListMetricsResponse, error)
	// ListRestoreJobsExecuteMock can be populated to implement the behavior of the ListRestoreJobsExecute function of this mock
	ListRestoreJobsExecuteMock *func(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
	// ListRolesExecuteMock can be populated to implement the behavior of the ListRolesExecute function of this mock
	ListRolesExecuteMock *func(r ApiListRolesRequest) (*ListRolesResponse, error)
	// ListStoragesExecuteMock can be populated to implement the behavior of the ListStoragesExecute function of this mock
	ListStoragesExecuteMock *func(r ApiListStoragesRequest) (*ListStoragesResponse, error)
	// ListUsersExecuteMock can be populated to implement the behavior of the ListUsersExecute function of this mock
	ListUsersExecuteMock *func(r ApiListUsersRequest) (*ListUsersResponse, error)
	// ListVersionsExecuteMock can be populated to implement the behavior of the ListVersionsExecute function of this mock
	ListVersionsExecuteMock *func(r ApiListVersionsRequest) (*ListVersionsResponse, error)
	// PartialUpdateInstanceExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceExecute function of this mock
	PartialUpdateInstanceExecuteMock *func(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
	// ResetUserExecuteMock can be populated to implement the behavior of the ResetUserExecute function of this mock
	ResetUserExecuteMock *func(r ApiResetUserRequest) (*ResetUserResponse, error)
	// TerminateProjectExecuteMock can be populated to implement the behavior of the TerminateProjectExecute function of this mock
	TerminateProjectExecuteMock *func(r ApiTerminateProjectRequest) error
	// TriggerDatabaseBackupExecuteMock can be populated to implement the behavior of the TriggerDatabaseBackupExecute function of this mock
	TriggerDatabaseBackupExecuteMock *func(r ApiTriggerDatabaseBackupRequest) error
	// TriggerDatabaseRestoreExecuteMock can be populated to implement the behavior of the TriggerDatabaseRestoreExecute function of this mock
	TriggerDatabaseRestoreExecuteMock *func(r ApiTriggerDatabaseRestoreRequest) error
	// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
	UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, 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) CreateDatabase

func (a DefaultAPIServiceMock) CreateDatabase(ctx context.Context, projectId string, instanceId string, region string) ApiCreateDatabaseRequest

func (DefaultAPIServiceMock) CreateDatabaseExecute

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

func (DefaultAPIServiceMock) CreateInstance

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

func (DefaultAPIServiceMock) CreateInstanceExecute

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

func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string, region string) ApiCreateUserRequest

func (DefaultAPIServiceMock) CreateUserExecute

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

func (DefaultAPIServiceMock) DeleteDatabase

func (a DefaultAPIServiceMock) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiDeleteDatabaseRequest

func (DefaultAPIServiceMock) DeleteDatabaseExecute

func (a DefaultAPIServiceMock) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error

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

func (DefaultAPIServiceMock) DeleteInstance

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

func (DefaultAPIServiceMock) DeleteInstanceExecute

func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error

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

func (DefaultAPIServiceMock) DeleteUser

func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiDeleteUserRequest

func (DefaultAPIServiceMock) DeleteUserExecute

func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error

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

func (DefaultAPIServiceMock) GetBackup

func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, instanceId string, backupId string, region string) ApiGetBackupRequest

func (DefaultAPIServiceMock) GetBackupExecute

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

func (DefaultAPIServiceMock) GetDatabase

func (a DefaultAPIServiceMock) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiGetDatabaseRequest

func (DefaultAPIServiceMock) GetDatabaseExecute

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

func (DefaultAPIServiceMock) GetInstance

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

func (DefaultAPIServiceMock) GetInstanceExecute

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

func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiGetUserRequest

func (DefaultAPIServiceMock) GetUserExecute

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

func (DefaultAPIServiceMock) ListBackups

func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, instanceId string, region string) ApiListBackupsRequest

func (DefaultAPIServiceMock) ListBackupsExecute

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

func (DefaultAPIServiceMock) ListCollations

func (a DefaultAPIServiceMock) ListCollations(ctx context.Context, projectId string, instanceId string, region string) ApiListCollationsRequest

func (DefaultAPIServiceMock) ListCollationsExecute

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

func (DefaultAPIServiceMock) ListCompatibility

func (a DefaultAPIServiceMock) ListCompatibility(ctx context.Context, projectId string, instanceId string, region string) ApiListCompatibilityRequest

func (DefaultAPIServiceMock) ListCompatibilityExecute

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

func (DefaultAPIServiceMock) ListDatabases

func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, instanceId string, region string) ApiListDatabasesRequest

func (DefaultAPIServiceMock) ListDatabasesExecute

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

func (DefaultAPIServiceMock) ListFlavors

func (a DefaultAPIServiceMock) ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest

func (DefaultAPIServiceMock) ListFlavorsExecute

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

func (DefaultAPIServiceMock) ListInstances

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

func (DefaultAPIServiceMock) ListInstancesExecute

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

func (a DefaultAPIServiceMock) ListMetrics(ctx context.Context, projectId string, instanceId string, region string, metric string) ApiListMetricsRequest

func (DefaultAPIServiceMock) ListMetricsExecute

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

func (DefaultAPIServiceMock) ListRestoreJobs

func (a DefaultAPIServiceMock) ListRestoreJobs(ctx context.Context, projectId string, instanceId string, region string) ApiListRestoreJobsRequest

func (DefaultAPIServiceMock) ListRestoreJobsExecute

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

func (DefaultAPIServiceMock) ListRoles

func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, projectId string, instanceId string, region string) ApiListRolesRequest

func (DefaultAPIServiceMock) ListRolesExecute

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

func (DefaultAPIServiceMock) ListStorages

func (a DefaultAPIServiceMock) ListStorages(ctx context.Context, projectId string, flavorId string, region string) ApiListStoragesRequest

func (DefaultAPIServiceMock) ListStoragesExecute

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

func (DefaultAPIServiceMock) ListUsers

func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, instanceId string, region string) ApiListUsersRequest

func (DefaultAPIServiceMock) ListUsersExecute

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

func (DefaultAPIServiceMock) ListVersions

func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest

func (DefaultAPIServiceMock) ListVersionsExecute

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

func (DefaultAPIServiceMock) PartialUpdateInstance

func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, instanceId string, region string) ApiPartialUpdateInstanceRequest

func (DefaultAPIServiceMock) PartialUpdateInstanceExecute

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

func (a DefaultAPIServiceMock) ResetUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiResetUserRequest

func (DefaultAPIServiceMock) ResetUserExecute

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

func (DefaultAPIServiceMock) TerminateProject

func (a DefaultAPIServiceMock) TerminateProject(ctx context.Context, projectId string, region string) ApiTerminateProjectRequest

func (DefaultAPIServiceMock) TerminateProjectExecute

func (a DefaultAPIServiceMock) TerminateProjectExecute(r ApiTerminateProjectRequest) error

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

func (DefaultAPIServiceMock) TriggerDatabaseBackup

func (a DefaultAPIServiceMock) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiTriggerDatabaseBackupRequest

func (DefaultAPIServiceMock) TriggerDatabaseBackupExecute

func (a DefaultAPIServiceMock) TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error

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

func (DefaultAPIServiceMock) TriggerDatabaseRestore

func (a DefaultAPIServiceMock) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string, region string) ApiTriggerDatabaseRestoreRequest

func (DefaultAPIServiceMock) TriggerDatabaseRestoreExecute

func (a DefaultAPIServiceMock) TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error

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

func (DefaultAPIServiceMock) UpdateInstance

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

func (DefaultAPIServiceMock) UpdateInstanceExecute

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

type Flavor

type Flavor struct {
	Cpu         *int32  `json:"cpu,omitempty"`
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`
	Memory      *int32  `json:"memory,omitempty"`
}

Flavor struct for Flavor

func NewFlavor

func NewFlavor() *Flavor

NewFlavor instantiates a new Flavor 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 NewFlavorWithDefaults

func NewFlavorWithDefaults() *Flavor

NewFlavorWithDefaults instantiates a new Flavor 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 (*Flavor) GetCpu

func (o *Flavor) GetCpu() int32

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

func (*Flavor) GetCpuOk

func (o *Flavor) GetCpuOk() (*int32, bool)

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

func (*Flavor) GetDescription

func (o *Flavor) GetDescription() string

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

func (*Flavor) GetDescriptionOk

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

func (o *Flavor) GetId() string

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

func (*Flavor) GetIdOk

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

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

func (*Flavor) GetMemory

func (o *Flavor) GetMemory() int32

GetMemory returns the Memory field value if set, zero value otherwise.

func (*Flavor) GetMemoryOk

func (o *Flavor) GetMemoryOk() (*int32, bool)

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

func (*Flavor) HasCpu

func (o *Flavor) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*Flavor) HasDescription

func (o *Flavor) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Flavor) HasId

func (o *Flavor) HasId() bool

HasId returns a boolean if a field has been set.

func (*Flavor) HasMemory

func (o *Flavor) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (Flavor) MarshalJSON

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

func (*Flavor) SetCpu

func (o *Flavor) SetCpu(v int32)

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

func (*Flavor) SetDescription

func (o *Flavor) SetDescription(v string)

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

func (*Flavor) SetId

func (o *Flavor) SetId(v string)

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

func (*Flavor) SetMemory

func (o *Flavor) SetMemory(v int32)

SetMemory gets a reference to the given int32 and assigns it to the Memory field.

func (Flavor) ToMap

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

type GetBackupResponse

type GetBackupResponse struct {
	// Backup end time represents local server time
	EndTime *string `json:"endTime,omitempty"`
	// Backup error
	Error *string `json:"error,omitempty"`
	// Backup id
	Id *string `json:"id,omitempty"`
	// Backup labels
	Labels []string `json:"labels,omitempty"`
	// Backup name
	Name *string `json:"name,omitempty"`
	// Backup specific options
	Options *map[string]string `json:"options,omitempty"`
	// Backup size in byte
	Size *int64 `json:"size,omitempty"`
	// Backup start time represents local server time
	StartTime *string `json:"startTime,omitempty"`
}

GetBackupResponse struct for GetBackupResponse

func NewGetBackupResponse

func NewGetBackupResponse() *GetBackupResponse

NewGetBackupResponse instantiates a new GetBackupResponse 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 NewGetBackupResponseWithDefaults

func NewGetBackupResponseWithDefaults() *GetBackupResponse

NewGetBackupResponseWithDefaults instantiates a new GetBackupResponse 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 (*GetBackupResponse) GetEndTime

func (o *GetBackupResponse) GetEndTime() string

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*GetBackupResponse) GetEndTimeOk

func (o *GetBackupResponse) GetEndTimeOk() (*string, bool)

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

func (*GetBackupResponse) GetError

func (o *GetBackupResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*GetBackupResponse) GetErrorOk

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

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

func (*GetBackupResponse) GetId

func (o *GetBackupResponse) GetId() string

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

func (*GetBackupResponse) GetIdOk

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

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

func (*GetBackupResponse) GetLabels

func (o *GetBackupResponse) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*GetBackupResponse) GetLabelsOk

func (o *GetBackupResponse) GetLabelsOk() ([]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 (*GetBackupResponse) GetName

func (o *GetBackupResponse) GetName() string

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

func (*GetBackupResponse) GetNameOk

func (o *GetBackupResponse) 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 (*GetBackupResponse) GetOptions

func (o *GetBackupResponse) GetOptions() map[string]string

GetOptions returns the Options field value if set, zero value otherwise.

func (*GetBackupResponse) GetOptionsOk

func (o *GetBackupResponse) GetOptionsOk() (*map[string]string, bool)

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

func (*GetBackupResponse) GetSize

func (o *GetBackupResponse) GetSize() int64

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

func (*GetBackupResponse) GetSizeOk

func (o *GetBackupResponse) GetSizeOk() (*int64, bool)

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

func (*GetBackupResponse) GetStartTime

func (o *GetBackupResponse) GetStartTime() string

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

func (*GetBackupResponse) GetStartTimeOk

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

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

func (*GetBackupResponse) HasEndTime

func (o *GetBackupResponse) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*GetBackupResponse) HasError

func (o *GetBackupResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*GetBackupResponse) HasId

func (o *GetBackupResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*GetBackupResponse) HasLabels

func (o *GetBackupResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*GetBackupResponse) HasName

func (o *GetBackupResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetBackupResponse) HasOptions

func (o *GetBackupResponse) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*GetBackupResponse) HasSize

func (o *GetBackupResponse) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*GetBackupResponse) HasStartTime

func (o *GetBackupResponse) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (GetBackupResponse) MarshalJSON

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

func (*GetBackupResponse) SetEndTime

func (o *GetBackupResponse) SetEndTime(v string)

SetEndTime gets a reference to the given string and assigns it to the EndTime field.

func (*GetBackupResponse) SetError

func (o *GetBackupResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*GetBackupResponse) SetId

func (o *GetBackupResponse) SetId(v string)

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

func (*GetBackupResponse) SetLabels

func (o *GetBackupResponse) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*GetBackupResponse) SetName

func (o *GetBackupResponse) SetName(v string)

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

func (*GetBackupResponse) SetOptions

func (o *GetBackupResponse) SetOptions(v map[string]string)

SetOptions gets a reference to the given map[string]string and assigns it to the Options field.

func (*GetBackupResponse) SetSize

func (o *GetBackupResponse) SetSize(v int64)

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

func (*GetBackupResponse) SetStartTime

func (o *GetBackupResponse) SetStartTime(v string)

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

func (GetBackupResponse) ToMap

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

type GetDatabaseResponse

type GetDatabaseResponse struct {
	Database *SingleDatabase `json:"database,omitempty"`
}

GetDatabaseResponse struct for GetDatabaseResponse

func NewGetDatabaseResponse

func NewGetDatabaseResponse() *GetDatabaseResponse

NewGetDatabaseResponse instantiates a new GetDatabaseResponse 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 NewGetDatabaseResponseWithDefaults

func NewGetDatabaseResponseWithDefaults() *GetDatabaseResponse

NewGetDatabaseResponseWithDefaults instantiates a new GetDatabaseResponse 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 (*GetDatabaseResponse) GetDatabase

func (o *GetDatabaseResponse) GetDatabase() SingleDatabase

GetDatabase returns the Database field value if set, zero value otherwise.

func (*GetDatabaseResponse) GetDatabaseOk

func (o *GetDatabaseResponse) GetDatabaseOk() (*SingleDatabase, bool)

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

func (*GetDatabaseResponse) HasDatabase

func (o *GetDatabaseResponse) HasDatabase() bool

HasDatabase returns a boolean if a field has been set.

func (GetDatabaseResponse) MarshalJSON

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

func (*GetDatabaseResponse) SetDatabase

func (o *GetDatabaseResponse) SetDatabase(v SingleDatabase)

SetDatabase gets a reference to the given SingleDatabase and assigns it to the Database field.

func (GetDatabaseResponse) ToMap

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

type GetInstanceResponse

type GetInstanceResponse struct {
	Item *Instance `json:"item,omitempty"`
}

GetInstanceResponse struct for GetInstanceResponse

func NewGetInstanceResponse

func NewGetInstanceResponse() *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) GetItem

func (o *GetInstanceResponse) GetItem() Instance

GetItem returns the Item field value if set, zero value otherwise.

func (*GetInstanceResponse) GetItemOk

func (o *GetInstanceResponse) GetItemOk() (*Instance, bool)

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

func (*GetInstanceResponse) HasItem

func (o *GetInstanceResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (GetInstanceResponse) MarshalJSON

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

func (*GetInstanceResponse) SetItem

func (o *GetInstanceResponse) SetItem(v Instance)

SetItem gets a reference to the given Instance and assigns it to the Item field.

func (GetInstanceResponse) ToMap

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

type GetUserResponse

type GetUserResponse struct {
	Item *UserResponseUser `json:"item,omitempty"`
}

GetUserResponse struct for GetUserResponse

func NewGetUserResponse

func NewGetUserResponse() *GetUserResponse

NewGetUserResponse instantiates a new GetUserResponse 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 NewGetUserResponseWithDefaults

func NewGetUserResponseWithDefaults() *GetUserResponse

NewGetUserResponseWithDefaults instantiates a new GetUserResponse 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 (*GetUserResponse) GetItem

func (o *GetUserResponse) GetItem() UserResponseUser

GetItem returns the Item field value if set, zero value otherwise.

func (*GetUserResponse) GetItemOk

func (o *GetUserResponse) GetItemOk() (*UserResponseUser, bool)

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

func (*GetUserResponse) HasItem

func (o *GetUserResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (GetUserResponse) MarshalJSON

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

func (*GetUserResponse) SetItem

func (o *GetUserResponse) SetItem(v UserResponseUser)

SetItem gets a reference to the given UserResponseUser and assigns it to the Item field.

func (GetUserResponse) ToMap

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

type Host

type Host struct {
	HostMetrics []HostMetric `json:"hostMetrics,omitempty"`
	Id          *string      `json:"id,omitempty"`
}

Host struct for Host

func NewHost

func NewHost() *Host

NewHost instantiates a new Host 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 NewHostWithDefaults

func NewHostWithDefaults() *Host

NewHostWithDefaults instantiates a new Host 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 (*Host) GetHostMetrics

func (o *Host) GetHostMetrics() []HostMetric

GetHostMetrics returns the HostMetrics field value if set, zero value otherwise.

func (*Host) GetHostMetricsOk

func (o *Host) GetHostMetricsOk() ([]HostMetric, bool)

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

func (*Host) GetId

func (o *Host) GetId() string

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

func (*Host) GetIdOk

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

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

func (*Host) HasHostMetrics

func (o *Host) HasHostMetrics() bool

HasHostMetrics returns a boolean if a field has been set.

func (*Host) HasId

func (o *Host) HasId() bool

HasId returns a boolean if a field has been set.

func (Host) MarshalJSON

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

func (*Host) SetHostMetrics

func (o *Host) SetHostMetrics(v []HostMetric)

SetHostMetrics gets a reference to the given []HostMetric and assigns it to the HostMetrics field.

func (*Host) SetId

func (o *Host) SetId(v string)

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

func (Host) ToMap

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

type HostMetric

type HostMetric struct {
	Datapoints []DataPoint `json:"datapoints,omitempty"`
	Name       *string     `json:"name,omitempty"`
	Units      *string     `json:"units,omitempty"`
}

HostMetric struct for HostMetric

func NewHostMetric

func NewHostMetric() *HostMetric

NewHostMetric instantiates a new HostMetric 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 NewHostMetricWithDefaults

func NewHostMetricWithDefaults() *HostMetric

NewHostMetricWithDefaults instantiates a new HostMetric 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 (*HostMetric) GetDatapoints

func (o *HostMetric) GetDatapoints() []DataPoint

GetDatapoints returns the Datapoints field value if set, zero value otherwise.

func (*HostMetric) GetDatapointsOk

func (o *HostMetric) GetDatapointsOk() ([]DataPoint, bool)

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

func (*HostMetric) GetName

func (o *HostMetric) GetName() string

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

func (*HostMetric) GetNameOk

func (o *HostMetric) 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 (*HostMetric) GetUnits

func (o *HostMetric) GetUnits() string

GetUnits returns the Units field value if set, zero value otherwise.

func (*HostMetric) GetUnitsOk

func (o *HostMetric) GetUnitsOk() (*string, bool)

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

func (*HostMetric) HasDatapoints

func (o *HostMetric) HasDatapoints() bool

HasDatapoints returns a boolean if a field has been set.

func (*HostMetric) HasName

func (o *HostMetric) HasName() bool

HasName returns a boolean if a field has been set.

func (*HostMetric) HasUnits

func (o *HostMetric) HasUnits() bool

HasUnits returns a boolean if a field has been set.

func (HostMetric) MarshalJSON

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

func (*HostMetric) SetDatapoints

func (o *HostMetric) SetDatapoints(v []DataPoint)

SetDatapoints gets a reference to the given []DataPoint and assigns it to the Datapoints field.

func (*HostMetric) SetName

func (o *HostMetric) SetName(v string)

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

func (*HostMetric) SetUnits

func (o *HostMetric) SetUnits(v string)

SetUnits gets a reference to the given string and assigns it to the Units field.

func (HostMetric) ToMap

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

type Instance

type Instance struct {
	Acl            *ACL               `json:"acl,omitempty"`
	BackupSchedule *string            `json:"backupSchedule,omitempty"`
	Flavor         *Flavor            `json:"flavor,omitempty"`
	Id             *string            `json:"id,omitempty"`
	Name           *string            `json:"name,omitempty"`
	Options        *map[string]string `json:"options,omitempty"`
	Replicas       *int32             `json:"replicas,omitempty"`
	Status         *string            `json:"status,omitempty"`
	Storage        *Storage           `json:"storage,omitempty"`
	Version        *string            `json:"version,omitempty"`
}

Instance struct for Instance

func NewInstance

func NewInstance() *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) GetAcl

func (o *Instance) GetAcl() ACL

GetAcl returns the Acl field value if set, zero value otherwise.

func (*Instance) GetAclOk

func (o *Instance) GetAclOk() (*ACL, bool)

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

func (*Instance) GetBackupSchedule

func (o *Instance) GetBackupSchedule() string

GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.

func (*Instance) GetBackupScheduleOk

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

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

func (*Instance) GetFlavor

func (o *Instance) GetFlavor() Flavor

GetFlavor returns the Flavor field value if set, zero value otherwise.

func (*Instance) GetFlavorOk

func (o *Instance) GetFlavorOk() (*Flavor, bool)

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

func (*Instance) GetId

func (o *Instance) GetId() string

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

func (*Instance) GetIdOk

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

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

func (*Instance) GetName

func (o *Instance) GetName() string

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

func (*Instance) GetNameOk

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

func (o *Instance) GetOptions() map[string]string

GetOptions returns the Options field value if set, zero value otherwise.

func (*Instance) GetOptionsOk

func (o *Instance) GetOptionsOk() (*map[string]string, bool)

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

func (*Instance) GetReplicas

func (o *Instance) GetReplicas() int32

GetReplicas returns the Replicas field value if set, zero value otherwise.

func (*Instance) GetReplicasOk

func (o *Instance) GetReplicasOk() (*int32, bool)

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

func (*Instance) GetStatus

func (o *Instance) GetStatus() string

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

func (*Instance) GetStatusOk

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

func (o *Instance) GetStorage() Storage

GetStorage returns the Storage field value if set, zero value otherwise.

func (*Instance) GetStorageOk

func (o *Instance) GetStorageOk() (*Storage, bool)

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

func (*Instance) GetVersion

func (o *Instance) GetVersion() string

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

func (*Instance) GetVersionOk

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

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

func (*Instance) HasAcl

func (o *Instance) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*Instance) HasBackupSchedule

func (o *Instance) HasBackupSchedule() bool

HasBackupSchedule returns a boolean if a field has been set.

func (*Instance) HasFlavor

func (o *Instance) HasFlavor() bool

HasFlavor returns a boolean if a field has been set.

func (*Instance) HasId

func (o *Instance) HasId() bool

HasId returns a boolean if a field has been set.

func (*Instance) HasName

func (o *Instance) HasName() bool

HasName returns a boolean if a field has been set.

func (*Instance) HasOptions

func (o *Instance) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Instance) HasReplicas

func (o *Instance) HasReplicas() bool

HasReplicas returns a boolean if a field has been set.

func (*Instance) HasStatus

func (o *Instance) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Instance) HasStorage

func (o *Instance) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*Instance) HasVersion

func (o *Instance) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Instance) MarshalJSON

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

func (*Instance) SetAcl

func (o *Instance) SetAcl(v ACL)

SetAcl gets a reference to the given ACL and assigns it to the Acl field.

func (*Instance) SetBackupSchedule

func (o *Instance) SetBackupSchedule(v string)

SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.

func (*Instance) SetFlavor

func (o *Instance) SetFlavor(v Flavor)

SetFlavor gets a reference to the given Flavor and assigns it to the Flavor field.

func (*Instance) SetId

func (o *Instance) SetId(v string)

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

func (*Instance) SetName

func (o *Instance) SetName(v string)

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

func (*Instance) SetOptions

func (o *Instance) SetOptions(v map[string]string)

SetOptions gets a reference to the given map[string]string and assigns it to the Options field.

func (*Instance) SetReplicas

func (o *Instance) SetReplicas(v int32)

SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.

func (*Instance) SetStatus

func (o *Instance) SetStatus(v string)

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

func (*Instance) SetStorage

func (o *Instance) SetStorage(v Storage)

SetStorage gets a reference to the given Storage and assigns it to the Storage field.

func (*Instance) SetVersion

func (o *Instance) SetVersion(v string)

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

func (Instance) ToMap

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

type InstanceDocumentationACL

type InstanceDocumentationACL struct {
	// a simple list with IP addresses with CIDR.
	Items []string `json:"items,omitempty"`
}

InstanceDocumentationACL struct for InstanceDocumentationACL

func NewInstanceDocumentationACL

func NewInstanceDocumentationACL() *InstanceDocumentationACL

NewInstanceDocumentationACL instantiates a new InstanceDocumentationACL 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 NewInstanceDocumentationACLWithDefaults

func NewInstanceDocumentationACLWithDefaults() *InstanceDocumentationACL

NewInstanceDocumentationACLWithDefaults instantiates a new InstanceDocumentationACL 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 (*InstanceDocumentationACL) GetItems

func (o *InstanceDocumentationACL) GetItems() []string

GetItems returns the Items field value if set, zero value otherwise.

func (*InstanceDocumentationACL) GetItemsOk

func (o *InstanceDocumentationACL) GetItemsOk() ([]string, bool)

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

func (*InstanceDocumentationACL) HasItems

func (o *InstanceDocumentationACL) HasItems() bool

HasItems returns a boolean if a field has been set.

func (InstanceDocumentationACL) MarshalJSON

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

func (*InstanceDocumentationACL) SetItems

func (o *InstanceDocumentationACL) SetItems(v []string)

SetItems gets a reference to the given []string and assigns it to the Items field.

func (InstanceDocumentationACL) ToMap

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

type InstanceDocumentationOptions

type InstanceDocumentationOptions struct {
	// Edition of the MSSQL server instance
	Edition *string `json:"edition,omitempty"`
	// The days for how long the backup files should be stored before cleaned up. 30 to 365
	RetentionDays *string `json:"retentionDays,omitempty"`
}

InstanceDocumentationOptions struct for InstanceDocumentationOptions

func NewInstanceDocumentationOptions

func NewInstanceDocumentationOptions() *InstanceDocumentationOptions

NewInstanceDocumentationOptions instantiates a new InstanceDocumentationOptions 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 NewInstanceDocumentationOptionsWithDefaults

func NewInstanceDocumentationOptionsWithDefaults() *InstanceDocumentationOptions

NewInstanceDocumentationOptionsWithDefaults instantiates a new InstanceDocumentationOptions 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 (*InstanceDocumentationOptions) GetEdition

func (o *InstanceDocumentationOptions) GetEdition() string

GetEdition returns the Edition field value if set, zero value otherwise.

func (*InstanceDocumentationOptions) GetEditionOk

func (o *InstanceDocumentationOptions) GetEditionOk() (*string, bool)

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

func (*InstanceDocumentationOptions) GetRetentionDays

func (o *InstanceDocumentationOptions) GetRetentionDays() string

GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.

func (*InstanceDocumentationOptions) GetRetentionDaysOk

func (o *InstanceDocumentationOptions) GetRetentionDaysOk() (*string, bool)

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

func (*InstanceDocumentationOptions) HasEdition

func (o *InstanceDocumentationOptions) HasEdition() bool

HasEdition returns a boolean if a field has been set.

func (*InstanceDocumentationOptions) HasRetentionDays

func (o *InstanceDocumentationOptions) HasRetentionDays() bool

HasRetentionDays returns a boolean if a field has been set.

func (InstanceDocumentationOptions) MarshalJSON

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

func (*InstanceDocumentationOptions) SetEdition

func (o *InstanceDocumentationOptions) SetEdition(v string)

SetEdition gets a reference to the given string and assigns it to the Edition field.

func (*InstanceDocumentationOptions) SetRetentionDays

func (o *InstanceDocumentationOptions) SetRetentionDays(v string)

SetRetentionDays gets a reference to the given string and assigns it to the RetentionDays field.

func (InstanceDocumentationOptions) ToMap

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

type InstanceDocumentationStorage

type InstanceDocumentationStorage struct {
	// Class of the instance.
	Class *string `json:"class,omitempty"`
	// Size of the instance storage in GB
	Size *int64 `json:"size,omitempty"`
}

InstanceDocumentationStorage struct for InstanceDocumentationStorage

func NewInstanceDocumentationStorage

func NewInstanceDocumentationStorage() *InstanceDocumentationStorage

NewInstanceDocumentationStorage instantiates a new InstanceDocumentationStorage 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 NewInstanceDocumentationStorageWithDefaults

func NewInstanceDocumentationStorageWithDefaults() *InstanceDocumentationStorage

NewInstanceDocumentationStorageWithDefaults instantiates a new InstanceDocumentationStorage 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 (*InstanceDocumentationStorage) GetClass

func (o *InstanceDocumentationStorage) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*InstanceDocumentationStorage) GetClassOk

func (o *InstanceDocumentationStorage) GetClassOk() (*string, bool)

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

func (*InstanceDocumentationStorage) GetSize

func (o *InstanceDocumentationStorage) GetSize() int64

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

func (*InstanceDocumentationStorage) GetSizeOk

func (o *InstanceDocumentationStorage) GetSizeOk() (*int64, bool)

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

func (*InstanceDocumentationStorage) HasClass

func (o *InstanceDocumentationStorage) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*InstanceDocumentationStorage) HasSize

func (o *InstanceDocumentationStorage) HasSize() bool

HasSize returns a boolean if a field has been set.

func (InstanceDocumentationStorage) MarshalJSON

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

func (*InstanceDocumentationStorage) SetClass

func (o *InstanceDocumentationStorage) SetClass(v string)

SetClass gets a reference to the given string and assigns it to the Class field.

func (*InstanceDocumentationStorage) SetSize

func (o *InstanceDocumentationStorage) SetSize(v int64)

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

func (InstanceDocumentationStorage) ToMap

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

type InstanceError

type InstanceError struct {
	Code    *int32               `json:"code,omitempty"`
	Fields  *map[string][]string `json:"fields,omitempty"`
	Message *string              `json:"message,omitempty"`
	Type    *Type                `json:"type,omitempty"`
}

InstanceError struct for InstanceError

func NewInstanceError

func NewInstanceError() *InstanceError

NewInstanceError instantiates a new InstanceError 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 NewInstanceErrorWithDefaults

func NewInstanceErrorWithDefaults() *InstanceError

NewInstanceErrorWithDefaults instantiates a new InstanceError 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 (*InstanceError) GetCode

func (o *InstanceError) GetCode() int32

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

func (*InstanceError) GetCodeOk

func (o *InstanceError) GetCodeOk() (*int32, bool)

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

func (*InstanceError) GetFields

func (o *InstanceError) GetFields() map[string][]string

GetFields returns the Fields field value if set, zero value otherwise.

func (*InstanceError) GetFieldsOk

func (o *InstanceError) GetFieldsOk() (*map[string][]string, bool)

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

func (*InstanceError) GetMessage

func (o *InstanceError) GetMessage() string

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

func (*InstanceError) GetMessageOk

func (o *InstanceError) 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 (*InstanceError) GetType

func (o *InstanceError) GetType() Type

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

func (*InstanceError) GetTypeOk

func (o *InstanceError) GetTypeOk() (*Type, bool)

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

func (*InstanceError) HasCode

func (o *InstanceError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*InstanceError) HasFields

func (o *InstanceError) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*InstanceError) HasMessage

func (o *InstanceError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*InstanceError) HasType

func (o *InstanceError) HasType() bool

HasType returns a boolean if a field has been set.

func (InstanceError) MarshalJSON

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

func (*InstanceError) SetCode

func (o *InstanceError) SetCode(v int32)

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

func (*InstanceError) SetFields

func (o *InstanceError) SetFields(v map[string][]string)

SetFields gets a reference to the given map[string][]string and assigns it to the Fields field.

func (*InstanceError) SetMessage

func (o *InstanceError) SetMessage(v string)

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

func (*InstanceError) SetType

func (o *InstanceError) SetType(v Type)

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

func (InstanceError) ToMap

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

type InstanceFlavorEntry

type InstanceFlavorEntry struct {
	Categories  *string `json:"categories,omitempty"`
	Cpu         *int32  `json:"cpu,omitempty"`
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`
	Memory      *int32  `json:"memory,omitempty"`
}

InstanceFlavorEntry struct for InstanceFlavorEntry

func NewInstanceFlavorEntry

func NewInstanceFlavorEntry() *InstanceFlavorEntry

NewInstanceFlavorEntry instantiates a new InstanceFlavorEntry 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 NewInstanceFlavorEntryWithDefaults

func NewInstanceFlavorEntryWithDefaults() *InstanceFlavorEntry

NewInstanceFlavorEntryWithDefaults instantiates a new InstanceFlavorEntry 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 (*InstanceFlavorEntry) GetCategories

func (o *InstanceFlavorEntry) GetCategories() string

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

func (*InstanceFlavorEntry) GetCategoriesOk

func (o *InstanceFlavorEntry) GetCategoriesOk() (*string, bool)

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

func (*InstanceFlavorEntry) GetCpu

func (o *InstanceFlavorEntry) GetCpu() int32

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

func (*InstanceFlavorEntry) GetCpuOk

func (o *InstanceFlavorEntry) GetCpuOk() (*int32, bool)

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

func (*InstanceFlavorEntry) GetDescription

func (o *InstanceFlavorEntry) GetDescription() string

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

func (*InstanceFlavorEntry) GetDescriptionOk

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

func (o *InstanceFlavorEntry) GetId() string

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

func (*InstanceFlavorEntry) GetIdOk

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

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

func (*InstanceFlavorEntry) GetMemory

func (o *InstanceFlavorEntry) GetMemory() int32

GetMemory returns the Memory field value if set, zero value otherwise.

func (*InstanceFlavorEntry) GetMemoryOk

func (o *InstanceFlavorEntry) GetMemoryOk() (*int32, bool)

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

func (*InstanceFlavorEntry) HasCategories

func (o *InstanceFlavorEntry) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*InstanceFlavorEntry) HasCpu

func (o *InstanceFlavorEntry) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*InstanceFlavorEntry) HasDescription

func (o *InstanceFlavorEntry) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*InstanceFlavorEntry) HasId

func (o *InstanceFlavorEntry) HasId() bool

HasId returns a boolean if a field has been set.

func (*InstanceFlavorEntry) HasMemory

func (o *InstanceFlavorEntry) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (InstanceFlavorEntry) MarshalJSON

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

func (*InstanceFlavorEntry) SetCategories

func (o *InstanceFlavorEntry) SetCategories(v string)

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

func (*InstanceFlavorEntry) SetCpu

func (o *InstanceFlavorEntry) SetCpu(v int32)

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

func (*InstanceFlavorEntry) SetDescription

func (o *InstanceFlavorEntry) SetDescription(v string)

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

func (*InstanceFlavorEntry) SetId

func (o *InstanceFlavorEntry) SetId(v string)

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

func (*InstanceFlavorEntry) SetMemory

func (o *InstanceFlavorEntry) SetMemory(v int32)

SetMemory gets a reference to the given int32 and assigns it to the Memory field.

func (InstanceFlavorEntry) ToMap

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

type InstanceListInstance

type InstanceListInstance struct {
	Id     *string `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Status *string `json:"status,omitempty"`
}

InstanceListInstance struct for InstanceListInstance

func NewInstanceListInstance

func NewInstanceListInstance() *InstanceListInstance

NewInstanceListInstance instantiates a new InstanceListInstance 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 NewInstanceListInstanceWithDefaults

func NewInstanceListInstanceWithDefaults() *InstanceListInstance

NewInstanceListInstanceWithDefaults instantiates a new InstanceListInstance 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 (*InstanceListInstance) GetId

func (o *InstanceListInstance) GetId() string

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

func (*InstanceListInstance) GetIdOk

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

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

func (*InstanceListInstance) GetName

func (o *InstanceListInstance) GetName() string

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

func (*InstanceListInstance) GetNameOk

func (o *InstanceListInstance) 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 (*InstanceListInstance) GetStatus

func (o *InstanceListInstance) GetStatus() string

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

func (*InstanceListInstance) GetStatusOk

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

func (o *InstanceListInstance) HasId() bool

HasId returns a boolean if a field has been set.

func (*InstanceListInstance) HasName

func (o *InstanceListInstance) HasName() bool

HasName returns a boolean if a field has been set.

func (*InstanceListInstance) HasStatus

func (o *InstanceListInstance) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (InstanceListInstance) MarshalJSON

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

func (*InstanceListInstance) SetId

func (o *InstanceListInstance) SetId(v string)

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

func (*InstanceListInstance) SetName

func (o *InstanceListInstance) SetName(v string)

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

func (*InstanceListInstance) SetStatus

func (o *InstanceListInstance) SetStatus(v string)

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

func (InstanceListInstance) ToMap

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

type InstanceListUser

type InstanceListUser struct {
	Id       *string `json:"id,omitempty"`
	Username *string `json:"username,omitempty"`
}

InstanceListUser struct for InstanceListUser

func NewInstanceListUser

func NewInstanceListUser() *InstanceListUser

NewInstanceListUser instantiates a new InstanceListUser 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 NewInstanceListUserWithDefaults

func NewInstanceListUserWithDefaults() *InstanceListUser

NewInstanceListUserWithDefaults instantiates a new InstanceListUser 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 (*InstanceListUser) GetId

func (o *InstanceListUser) GetId() string

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

func (*InstanceListUser) GetIdOk

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

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

func (*InstanceListUser) GetUsername

func (o *InstanceListUser) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*InstanceListUser) GetUsernameOk

func (o *InstanceListUser) GetUsernameOk() (*string, bool)

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

func (*InstanceListUser) HasId

func (o *InstanceListUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*InstanceListUser) HasUsername

func (o *InstanceListUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (InstanceListUser) MarshalJSON

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

func (*InstanceListUser) SetId

func (o *InstanceListUser) SetId(v string)

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

func (*InstanceListUser) SetUsername

func (o *InstanceListUser) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (InstanceListUser) ToMap

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

type ListBackupsResponse

type ListBackupsResponse struct {
	Databases []BackupListBackupsResponseGrouped `json:"databases,omitempty"`
}

ListBackupsResponse struct for ListBackupsResponse

func NewListBackupsResponse

func NewListBackupsResponse() *ListBackupsResponse

NewListBackupsResponse instantiates a new ListBackupsResponse 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 NewListBackupsResponseWithDefaults

func NewListBackupsResponseWithDefaults() *ListBackupsResponse

NewListBackupsResponseWithDefaults instantiates a new ListBackupsResponse 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 (*ListBackupsResponse) GetDatabases

GetDatabases returns the Databases field value if set, zero value otherwise.

func (*ListBackupsResponse) GetDatabasesOk

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

func (*ListBackupsResponse) HasDatabases

func (o *ListBackupsResponse) HasDatabases() bool

HasDatabases returns a boolean if a field has been set.

func (ListBackupsResponse) MarshalJSON

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

func (*ListBackupsResponse) SetDatabases

SetDatabases gets a reference to the given []BackupListBackupsResponseGrouped and assigns it to the Databases field.

func (ListBackupsResponse) ToMap

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

type ListCollationsResponse

type ListCollationsResponse struct {
	Collations []MssqlDatabaseCollation `json:"collations,omitempty"`
}

ListCollationsResponse struct for ListCollationsResponse

func NewListCollationsResponse

func NewListCollationsResponse() *ListCollationsResponse

NewListCollationsResponse instantiates a new ListCollationsResponse 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 NewListCollationsResponseWithDefaults

func NewListCollationsResponseWithDefaults() *ListCollationsResponse

NewListCollationsResponseWithDefaults instantiates a new ListCollationsResponse 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 (*ListCollationsResponse) GetCollations

func (o *ListCollationsResponse) GetCollations() []MssqlDatabaseCollation

GetCollations returns the Collations field value if set, zero value otherwise.

func (*ListCollationsResponse) GetCollationsOk

func (o *ListCollationsResponse) GetCollationsOk() ([]MssqlDatabaseCollation, bool)

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

func (*ListCollationsResponse) HasCollations

func (o *ListCollationsResponse) HasCollations() bool

HasCollations returns a boolean if a field has been set.

func (ListCollationsResponse) MarshalJSON

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

func (*ListCollationsResponse) SetCollations

func (o *ListCollationsResponse) SetCollations(v []MssqlDatabaseCollation)

SetCollations gets a reference to the given []MssqlDatabaseCollation and assigns it to the Collations field.

func (ListCollationsResponse) ToMap

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

type ListCompatibilityResponse

type ListCompatibilityResponse struct {
	Compatibilities []MssqlDatabaseCompatibility `json:"compatibilities,omitempty"`
}

ListCompatibilityResponse struct for ListCompatibilityResponse

func NewListCompatibilityResponse

func NewListCompatibilityResponse() *ListCompatibilityResponse

NewListCompatibilityResponse instantiates a new ListCompatibilityResponse 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 NewListCompatibilityResponseWithDefaults

func NewListCompatibilityResponseWithDefaults() *ListCompatibilityResponse

NewListCompatibilityResponseWithDefaults instantiates a new ListCompatibilityResponse 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 (*ListCompatibilityResponse) GetCompatibilities

func (o *ListCompatibilityResponse) GetCompatibilities() []MssqlDatabaseCompatibility

GetCompatibilities returns the Compatibilities field value if set, zero value otherwise.

func (*ListCompatibilityResponse) GetCompatibilitiesOk

func (o *ListCompatibilityResponse) GetCompatibilitiesOk() ([]MssqlDatabaseCompatibility, bool)

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

func (*ListCompatibilityResponse) HasCompatibilities

func (o *ListCompatibilityResponse) HasCompatibilities() bool

HasCompatibilities returns a boolean if a field has been set.

func (ListCompatibilityResponse) MarshalJSON

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

func (*ListCompatibilityResponse) SetCompatibilities

func (o *ListCompatibilityResponse) SetCompatibilities(v []MssqlDatabaseCompatibility)

SetCompatibilities gets a reference to the given []MssqlDatabaseCompatibility and assigns it to the Compatibilities field.

func (ListCompatibilityResponse) ToMap

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

type ListDatabasesResponse

type ListDatabasesResponse struct {
	Databases []Database `json:"databases,omitempty"`
}

ListDatabasesResponse struct for ListDatabasesResponse

func NewListDatabasesResponse

func NewListDatabasesResponse() *ListDatabasesResponse

NewListDatabasesResponse instantiates a new ListDatabasesResponse 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 NewListDatabasesResponseWithDefaults

func NewListDatabasesResponseWithDefaults() *ListDatabasesResponse

NewListDatabasesResponseWithDefaults instantiates a new ListDatabasesResponse 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 (*ListDatabasesResponse) GetDatabases

func (o *ListDatabasesResponse) GetDatabases() []Database

GetDatabases returns the Databases field value if set, zero value otherwise.

func (*ListDatabasesResponse) GetDatabasesOk

func (o *ListDatabasesResponse) GetDatabasesOk() ([]Database, bool)

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

func (*ListDatabasesResponse) HasDatabases

func (o *ListDatabasesResponse) HasDatabases() bool

HasDatabases returns a boolean if a field has been set.

func (ListDatabasesResponse) MarshalJSON

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

func (*ListDatabasesResponse) SetDatabases

func (o *ListDatabasesResponse) SetDatabases(v []Database)

SetDatabases gets a reference to the given []Database and assigns it to the Databases field.

func (ListDatabasesResponse) ToMap

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

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors []InstanceFlavorEntry `json:"flavors,omitempty"`
}

ListFlavorsResponse struct for ListFlavorsResponse

func NewListFlavorsResponse

func NewListFlavorsResponse() *ListFlavorsResponse

NewListFlavorsResponse instantiates a new ListFlavorsResponse 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 NewListFlavorsResponseWithDefaults

func NewListFlavorsResponseWithDefaults() *ListFlavorsResponse

NewListFlavorsResponseWithDefaults instantiates a new ListFlavorsResponse 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 (*ListFlavorsResponse) GetFlavors

func (o *ListFlavorsResponse) GetFlavors() []InstanceFlavorEntry

GetFlavors returns the Flavors field value if set, zero value otherwise.

func (*ListFlavorsResponse) GetFlavorsOk

func (o *ListFlavorsResponse) GetFlavorsOk() ([]InstanceFlavorEntry, bool)

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

func (*ListFlavorsResponse) HasFlavors

func (o *ListFlavorsResponse) HasFlavors() bool

HasFlavors returns a boolean if a field has been set.

func (ListFlavorsResponse) MarshalJSON

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

func (*ListFlavorsResponse) SetFlavors

func (o *ListFlavorsResponse) SetFlavors(v []InstanceFlavorEntry)

SetFlavors gets a reference to the given []InstanceFlavorEntry and assigns it to the Flavors field.

func (ListFlavorsResponse) ToMap

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

type ListInstancesResponse

type ListInstancesResponse struct {
	Count *int64                 `json:"count,omitempty"`
	Items []InstanceListInstance `json:"items,omitempty"`
}

ListInstancesResponse struct for ListInstancesResponse

func NewListInstancesResponse

func NewListInstancesResponse() *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) GetCount

func (o *ListInstancesResponse) GetCount() int64

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

func (*ListInstancesResponse) GetCountOk

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

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

func (*ListInstancesResponse) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*ListInstancesResponse) GetItemsOk

func (o *ListInstancesResponse) GetItemsOk() ([]InstanceListInstance, bool)

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

func (*ListInstancesResponse) HasCount

func (o *ListInstancesResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ListInstancesResponse) HasItems

func (o *ListInstancesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListInstancesResponse) MarshalJSON

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

func (*ListInstancesResponse) SetCount

func (o *ListInstancesResponse) SetCount(v int64)

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

func (*ListInstancesResponse) SetItems

SetItems gets a reference to the given []InstanceListInstance and assigns it to the Items field.

func (ListInstancesResponse) ToMap

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

type ListMetricsResponse

type ListMetricsResponse struct {
	Hosts []Host `json:"hosts,omitempty"`
}

ListMetricsResponse struct for ListMetricsResponse

func NewListMetricsResponse

func NewListMetricsResponse() *ListMetricsResponse

NewListMetricsResponse instantiates a new ListMetricsResponse 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 NewListMetricsResponseWithDefaults

func NewListMetricsResponseWithDefaults() *ListMetricsResponse

NewListMetricsResponseWithDefaults instantiates a new ListMetricsResponse 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 (*ListMetricsResponse) GetHosts

func (o *ListMetricsResponse) GetHosts() []Host

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*ListMetricsResponse) GetHostsOk

func (o *ListMetricsResponse) GetHostsOk() ([]Host, bool)

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

func (*ListMetricsResponse) HasHosts

func (o *ListMetricsResponse) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (ListMetricsResponse) MarshalJSON

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

func (*ListMetricsResponse) SetHosts

func (o *ListMetricsResponse) SetHosts(v []Host)

SetHosts gets a reference to the given []Host and assigns it to the Hosts field.

func (ListMetricsResponse) ToMap

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

type ListRestoreJobsResponse

type ListRestoreJobsResponse struct {
	RunningRestores []RestoreRunningRestore `json:"runningRestores,omitempty"`
}

ListRestoreJobsResponse struct for ListRestoreJobsResponse

func NewListRestoreJobsResponse

func NewListRestoreJobsResponse() *ListRestoreJobsResponse

NewListRestoreJobsResponse instantiates a new ListRestoreJobsResponse 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 NewListRestoreJobsResponseWithDefaults

func NewListRestoreJobsResponseWithDefaults() *ListRestoreJobsResponse

NewListRestoreJobsResponseWithDefaults instantiates a new ListRestoreJobsResponse 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 (*ListRestoreJobsResponse) GetRunningRestores

func (o *ListRestoreJobsResponse) GetRunningRestores() []RestoreRunningRestore

GetRunningRestores returns the RunningRestores field value if set, zero value otherwise.

func (*ListRestoreJobsResponse) GetRunningRestoresOk

func (o *ListRestoreJobsResponse) GetRunningRestoresOk() ([]RestoreRunningRestore, bool)

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

func (*ListRestoreJobsResponse) HasRunningRestores

func (o *ListRestoreJobsResponse) HasRunningRestores() bool

HasRunningRestores returns a boolean if a field has been set.

func (ListRestoreJobsResponse) MarshalJSON

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

func (*ListRestoreJobsResponse) SetRunningRestores

func (o *ListRestoreJobsResponse) SetRunningRestores(v []RestoreRunningRestore)

SetRunningRestores gets a reference to the given []RestoreRunningRestore and assigns it to the RunningRestores field.

func (ListRestoreJobsResponse) ToMap

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

type ListRolesResponse

type ListRolesResponse struct {
	Roles []string `json:"roles,omitempty"`
}

ListRolesResponse struct for ListRolesResponse

func NewListRolesResponse

func NewListRolesResponse() *ListRolesResponse

NewListRolesResponse instantiates a new ListRolesResponse 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 NewListRolesResponseWithDefaults

func NewListRolesResponseWithDefaults() *ListRolesResponse

NewListRolesResponseWithDefaults instantiates a new ListRolesResponse 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 (*ListRolesResponse) GetRoles

func (o *ListRolesResponse) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*ListRolesResponse) GetRolesOk

func (o *ListRolesResponse) GetRolesOk() ([]string, bool)

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

func (*ListRolesResponse) HasRoles

func (o *ListRolesResponse) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (ListRolesResponse) MarshalJSON

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

func (*ListRolesResponse) SetRoles

func (o *ListRolesResponse) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (ListRolesResponse) ToMap

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

type ListStoragesResponse

type ListStoragesResponse struct {
	StorageClasses []string      `json:"storageClasses,omitempty"`
	StorageRange   *StorageRange `json:"storageRange,omitempty"`
}

ListStoragesResponse struct for ListStoragesResponse

func NewListStoragesResponse

func NewListStoragesResponse() *ListStoragesResponse

NewListStoragesResponse instantiates a new ListStoragesResponse 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 NewListStoragesResponseWithDefaults

func NewListStoragesResponseWithDefaults() *ListStoragesResponse

NewListStoragesResponseWithDefaults instantiates a new ListStoragesResponse 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 (*ListStoragesResponse) GetStorageClasses

func (o *ListStoragesResponse) GetStorageClasses() []string

GetStorageClasses returns the StorageClasses field value if set, zero value otherwise.

func (*ListStoragesResponse) GetStorageClassesOk

func (o *ListStoragesResponse) GetStorageClassesOk() ([]string, bool)

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

func (*ListStoragesResponse) GetStorageRange

func (o *ListStoragesResponse) GetStorageRange() StorageRange

GetStorageRange returns the StorageRange field value if set, zero value otherwise.

func (*ListStoragesResponse) GetStorageRangeOk

func (o *ListStoragesResponse) GetStorageRangeOk() (*StorageRange, bool)

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

func (*ListStoragesResponse) HasStorageClasses

func (o *ListStoragesResponse) HasStorageClasses() bool

HasStorageClasses returns a boolean if a field has been set.

func (*ListStoragesResponse) HasStorageRange

func (o *ListStoragesResponse) HasStorageRange() bool

HasStorageRange returns a boolean if a field has been set.

func (ListStoragesResponse) MarshalJSON

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

func (*ListStoragesResponse) SetStorageClasses

func (o *ListStoragesResponse) SetStorageClasses(v []string)

SetStorageClasses gets a reference to the given []string and assigns it to the StorageClasses field.

func (*ListStoragesResponse) SetStorageRange

func (o *ListStoragesResponse) SetStorageRange(v StorageRange)

SetStorageRange gets a reference to the given StorageRange and assigns it to the StorageRange field.

func (ListStoragesResponse) ToMap

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

type ListUsersResponse

type ListUsersResponse struct {
	Count *int64             `json:"count,omitempty"`
	Items []InstanceListUser `json:"items,omitempty"`
}

ListUsersResponse struct for ListUsersResponse

func NewListUsersResponse

func NewListUsersResponse() *ListUsersResponse

NewListUsersResponse instantiates a new ListUsersResponse 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 NewListUsersResponseWithDefaults

func NewListUsersResponseWithDefaults() *ListUsersResponse

NewListUsersResponseWithDefaults instantiates a new ListUsersResponse 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 (*ListUsersResponse) GetCount

func (o *ListUsersResponse) GetCount() int64

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

func (*ListUsersResponse) GetCountOk

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

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

func (*ListUsersResponse) GetItems

func (o *ListUsersResponse) GetItems() []InstanceListUser

GetItems returns the Items field value if set, zero value otherwise.

func (*ListUsersResponse) GetItemsOk

func (o *ListUsersResponse) GetItemsOk() ([]InstanceListUser, bool)

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

func (*ListUsersResponse) HasCount

func (o *ListUsersResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ListUsersResponse) HasItems

func (o *ListUsersResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListUsersResponse) MarshalJSON

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

func (*ListUsersResponse) SetCount

func (o *ListUsersResponse) SetCount(v int64)

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

func (*ListUsersResponse) SetItems

func (o *ListUsersResponse) SetItems(v []InstanceListUser)

SetItems gets a reference to the given []InstanceListUser and assigns it to the Items field.

func (ListUsersResponse) ToMap

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

type ListVersionsResponse

type ListVersionsResponse struct {
	Versions []string `json:"versions,omitempty"`
}

ListVersionsResponse struct for ListVersionsResponse

func NewListVersionsResponse

func NewListVersionsResponse() *ListVersionsResponse

NewListVersionsResponse instantiates a new ListVersionsResponse 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 NewListVersionsResponseWithDefaults

func NewListVersionsResponseWithDefaults() *ListVersionsResponse

NewListVersionsResponseWithDefaults instantiates a new ListVersionsResponse 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 (*ListVersionsResponse) GetVersions

func (o *ListVersionsResponse) GetVersions() []string

GetVersions returns the Versions field value if set, zero value otherwise.

func (*ListVersionsResponse) GetVersionsOk

func (o *ListVersionsResponse) GetVersionsOk() ([]string, bool)

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

func (*ListVersionsResponse) HasVersions

func (o *ListVersionsResponse) HasVersions() bool

HasVersions returns a boolean if a field has been set.

func (ListVersionsResponse) MarshalJSON

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

func (*ListVersionsResponse) SetVersions

func (o *ListVersionsResponse) SetVersions(v []string)

SetVersions gets a reference to the given []string and assigns it to the Versions field.

func (ListVersionsResponse) ToMap

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

type MappedNullable

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

type MssqlDatabaseCollation

type MssqlDatabaseCollation struct {
	CollationName *string `json:"collation_name,omitempty"`
	Description   *string `json:"description,omitempty"`
}

MssqlDatabaseCollation struct for MssqlDatabaseCollation

func NewMssqlDatabaseCollation

func NewMssqlDatabaseCollation() *MssqlDatabaseCollation

NewMssqlDatabaseCollation instantiates a new MssqlDatabaseCollation 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 NewMssqlDatabaseCollationWithDefaults

func NewMssqlDatabaseCollationWithDefaults() *MssqlDatabaseCollation

NewMssqlDatabaseCollationWithDefaults instantiates a new MssqlDatabaseCollation 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 (*MssqlDatabaseCollation) GetCollationName

func (o *MssqlDatabaseCollation) GetCollationName() string

GetCollationName returns the CollationName field value if set, zero value otherwise.

func (*MssqlDatabaseCollation) GetCollationNameOk

func (o *MssqlDatabaseCollation) GetCollationNameOk() (*string, bool)

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

func (*MssqlDatabaseCollation) GetDescription

func (o *MssqlDatabaseCollation) GetDescription() string

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

func (*MssqlDatabaseCollation) GetDescriptionOk

func (o *MssqlDatabaseCollation) 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 (*MssqlDatabaseCollation) HasCollationName

func (o *MssqlDatabaseCollation) HasCollationName() bool

HasCollationName returns a boolean if a field has been set.

func (*MssqlDatabaseCollation) HasDescription

func (o *MssqlDatabaseCollation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (MssqlDatabaseCollation) MarshalJSON

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

func (*MssqlDatabaseCollation) SetCollationName

func (o *MssqlDatabaseCollation) SetCollationName(v string)

SetCollationName gets a reference to the given string and assigns it to the CollationName field.

func (*MssqlDatabaseCollation) SetDescription

func (o *MssqlDatabaseCollation) SetDescription(v string)

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

func (MssqlDatabaseCollation) ToMap

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

type MssqlDatabaseCompatibility

type MssqlDatabaseCompatibility struct {
	CompatibilityLevel *int64  `json:"compatibility_level,omitempty"`
	Description        *string `json:"description,omitempty"`
}

MssqlDatabaseCompatibility struct for MssqlDatabaseCompatibility

func NewMssqlDatabaseCompatibility

func NewMssqlDatabaseCompatibility() *MssqlDatabaseCompatibility

NewMssqlDatabaseCompatibility instantiates a new MssqlDatabaseCompatibility 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 NewMssqlDatabaseCompatibilityWithDefaults

func NewMssqlDatabaseCompatibilityWithDefaults() *MssqlDatabaseCompatibility

NewMssqlDatabaseCompatibilityWithDefaults instantiates a new MssqlDatabaseCompatibility 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 (*MssqlDatabaseCompatibility) GetCompatibilityLevel

func (o *MssqlDatabaseCompatibility) GetCompatibilityLevel() int64

GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.

func (*MssqlDatabaseCompatibility) GetCompatibilityLevelOk

func (o *MssqlDatabaseCompatibility) GetCompatibilityLevelOk() (*int64, bool)

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

func (*MssqlDatabaseCompatibility) GetDescription

func (o *MssqlDatabaseCompatibility) GetDescription() string

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

func (*MssqlDatabaseCompatibility) GetDescriptionOk

func (o *MssqlDatabaseCompatibility) 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 (*MssqlDatabaseCompatibility) HasCompatibilityLevel

func (o *MssqlDatabaseCompatibility) HasCompatibilityLevel() bool

HasCompatibilityLevel returns a boolean if a field has been set.

func (*MssqlDatabaseCompatibility) HasDescription

func (o *MssqlDatabaseCompatibility) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (MssqlDatabaseCompatibility) MarshalJSON

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

func (*MssqlDatabaseCompatibility) SetCompatibilityLevel

func (o *MssqlDatabaseCompatibility) SetCompatibilityLevel(v int64)

SetCompatibilityLevel gets a reference to the given int64 and assigns it to the CompatibilityLevel field.

func (*MssqlDatabaseCompatibility) SetDescription

func (o *MssqlDatabaseCompatibility) SetDescription(v string)

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

func (MssqlDatabaseCompatibility) ToMap

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

type NullableACL

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

func NewNullableACL

func NewNullableACL(val *ACL) *NullableACL

func (NullableACL) Get

func (v NullableACL) Get() *ACL

func (NullableACL) IsSet

func (v NullableACL) IsSet() bool

func (NullableACL) MarshalJSON

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

func (*NullableACL) Set

func (v *NullableACL) Set(val *ACL)

func (*NullableACL) UnmarshalJSON

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

func (*NullableACL) Unset

func (v *NullableACL) Unset()

type NullableBackup

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

func NewNullableBackup

func NewNullableBackup(val *Backup) *NullableBackup

func (NullableBackup) Get

func (v NullableBackup) Get() *Backup

func (NullableBackup) IsSet

func (v NullableBackup) IsSet() bool

func (NullableBackup) MarshalJSON

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

func (*NullableBackup) Set

func (v *NullableBackup) Set(val *Backup)

func (*NullableBackup) UnmarshalJSON

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

func (*NullableBackup) Unset

func (v *NullableBackup) Unset()

type NullableBackupListBackupsResponseGrouped

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

func (NullableBackupListBackupsResponseGrouped) Get

func (NullableBackupListBackupsResponseGrouped) IsSet

func (NullableBackupListBackupsResponseGrouped) MarshalJSON

func (*NullableBackupListBackupsResponseGrouped) Set

func (*NullableBackupListBackupsResponseGrouped) UnmarshalJSON

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

func (*NullableBackupListBackupsResponseGrouped) Unset

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateDatabasePayload

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

func (NullableCreateDatabasePayload) Get

func (NullableCreateDatabasePayload) IsSet

func (NullableCreateDatabasePayload) MarshalJSON

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

func (*NullableCreateDatabasePayload) Set

func (*NullableCreateDatabasePayload) UnmarshalJSON

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

func (*NullableCreateDatabasePayload) Unset

func (v *NullableCreateDatabasePayload) Unset()

type NullableCreateDatabaseResponse

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

func (NullableCreateDatabaseResponse) Get

func (NullableCreateDatabaseResponse) IsSet

func (NullableCreateDatabaseResponse) MarshalJSON

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

func (*NullableCreateDatabaseResponse) Set

func (*NullableCreateDatabaseResponse) UnmarshalJSON

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

func (*NullableCreateDatabaseResponse) Unset

func (v *NullableCreateDatabaseResponse) Unset()

type NullableCreateInstancePayload

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

func (NullableCreateInstancePayload) Get

func (NullableCreateInstancePayload) IsSet

func (NullableCreateInstancePayload) MarshalJSON

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

func (*NullableCreateInstancePayload) Set

func (*NullableCreateInstancePayload) UnmarshalJSON

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

func (*NullableCreateInstancePayload) Unset

func (v *NullableCreateInstancePayload) Unset()

type NullableCreateInstanceResponse

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

func (NullableCreateInstanceResponse) Get

func (NullableCreateInstanceResponse) IsSet

func (NullableCreateInstanceResponse) MarshalJSON

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

func (*NullableCreateInstanceResponse) Set

func (*NullableCreateInstanceResponse) UnmarshalJSON

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

func (*NullableCreateInstanceResponse) Unset

func (v *NullableCreateInstanceResponse) Unset()

type NullableCreateUserPayload

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

func NewNullableCreateUserPayload

func NewNullableCreateUserPayload(val *CreateUserPayload) *NullableCreateUserPayload

func (NullableCreateUserPayload) Get

func (NullableCreateUserPayload) IsSet

func (v NullableCreateUserPayload) IsSet() bool

func (NullableCreateUserPayload) MarshalJSON

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

func (*NullableCreateUserPayload) Set

func (*NullableCreateUserPayload) UnmarshalJSON

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

func (*NullableCreateUserPayload) Unset

func (v *NullableCreateUserPayload) Unset()

type NullableCreateUserResponse

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

func NewNullableCreateUserResponse

func NewNullableCreateUserResponse(val *CreateUserResponse) *NullableCreateUserResponse

func (NullableCreateUserResponse) Get

func (NullableCreateUserResponse) IsSet

func (v NullableCreateUserResponse) IsSet() bool

func (NullableCreateUserResponse) MarshalJSON

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

func (*NullableCreateUserResponse) Set

func (*NullableCreateUserResponse) UnmarshalJSON

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

func (*NullableCreateUserResponse) Unset

func (v *NullableCreateUserResponse) Unset()

type NullableDataPoint

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

func NewNullableDataPoint

func NewNullableDataPoint(val *DataPoint) *NullableDataPoint

func (NullableDataPoint) Get

func (v NullableDataPoint) Get() *DataPoint

func (NullableDataPoint) IsSet

func (v NullableDataPoint) IsSet() bool

func (NullableDataPoint) MarshalJSON

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

func (*NullableDataPoint) Set

func (v *NullableDataPoint) Set(val *DataPoint)

func (*NullableDataPoint) UnmarshalJSON

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

func (*NullableDataPoint) Unset

func (v *NullableDataPoint) Unset()

type NullableDatabase

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

func NewNullableDatabase

func NewNullableDatabase(val *Database) *NullableDatabase

func (NullableDatabase) Get

func (v NullableDatabase) Get() *Database

func (NullableDatabase) IsSet

func (v NullableDatabase) IsSet() bool

func (NullableDatabase) MarshalJSON

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

func (*NullableDatabase) Set

func (v *NullableDatabase) Set(val *Database)

func (*NullableDatabase) UnmarshalJSON

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

func (*NullableDatabase) Unset

func (v *NullableDatabase) Unset()

type NullableDatabaseDocumentationCreateDatabaseRequestOptions

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

func (NullableDatabaseDocumentationCreateDatabaseRequestOptions) Get

func (NullableDatabaseDocumentationCreateDatabaseRequestOptions) IsSet

func (NullableDatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON

func (*NullableDatabaseDocumentationCreateDatabaseRequestOptions) Set

func (*NullableDatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON

func (*NullableDatabaseDocumentationCreateDatabaseRequestOptions) Unset

type NullableDatabaseOptions

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

func NewNullableDatabaseOptions

func NewNullableDatabaseOptions(val *DatabaseOptions) *NullableDatabaseOptions

func (NullableDatabaseOptions) Get

func (NullableDatabaseOptions) IsSet

func (v NullableDatabaseOptions) IsSet() bool

func (NullableDatabaseOptions) MarshalJSON

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

func (*NullableDatabaseOptions) Set

func (*NullableDatabaseOptions) UnmarshalJSON

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

func (*NullableDatabaseOptions) Unset

func (v *NullableDatabaseOptions) Unset()

type NullableFlavor

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

func NewNullableFlavor

func NewNullableFlavor(val *Flavor) *NullableFlavor

func (NullableFlavor) Get

func (v NullableFlavor) Get() *Flavor

func (NullableFlavor) IsSet

func (v NullableFlavor) IsSet() bool

func (NullableFlavor) MarshalJSON

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

func (*NullableFlavor) Set

func (v *NullableFlavor) Set(val *Flavor)

func (*NullableFlavor) UnmarshalJSON

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

func (*NullableFlavor) Unset

func (v *NullableFlavor) 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 NullableGetBackupResponse

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

func NewNullableGetBackupResponse

func NewNullableGetBackupResponse(val *GetBackupResponse) *NullableGetBackupResponse

func (NullableGetBackupResponse) Get

func (NullableGetBackupResponse) IsSet

func (v NullableGetBackupResponse) IsSet() bool

func (NullableGetBackupResponse) MarshalJSON

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

func (*NullableGetBackupResponse) Set

func (*NullableGetBackupResponse) UnmarshalJSON

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

func (*NullableGetBackupResponse) Unset

func (v *NullableGetBackupResponse) Unset()

type NullableGetDatabaseResponse

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

func NewNullableGetDatabaseResponse

func NewNullableGetDatabaseResponse(val *GetDatabaseResponse) *NullableGetDatabaseResponse

func (NullableGetDatabaseResponse) Get

func (NullableGetDatabaseResponse) IsSet

func (NullableGetDatabaseResponse) MarshalJSON

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

func (*NullableGetDatabaseResponse) Set

func (*NullableGetDatabaseResponse) UnmarshalJSON

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

func (*NullableGetDatabaseResponse) Unset

func (v *NullableGetDatabaseResponse) Unset()

type NullableGetInstanceResponse

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

func NewNullableGetInstanceResponse

func NewNullableGetInstanceResponse(val *GetInstanceResponse) *NullableGetInstanceResponse

func (NullableGetInstanceResponse) Get

func (NullableGetInstanceResponse) IsSet

func (NullableGetInstanceResponse) MarshalJSON

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

func (*NullableGetInstanceResponse) Set

func (*NullableGetInstanceResponse) UnmarshalJSON

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

func (*NullableGetInstanceResponse) Unset

func (v *NullableGetInstanceResponse) Unset()

type NullableGetUserResponse

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

func NewNullableGetUserResponse

func NewNullableGetUserResponse(val *GetUserResponse) *NullableGetUserResponse

func (NullableGetUserResponse) Get

func (NullableGetUserResponse) IsSet

func (v NullableGetUserResponse) IsSet() bool

func (NullableGetUserResponse) MarshalJSON

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

func (*NullableGetUserResponse) Set

func (*NullableGetUserResponse) UnmarshalJSON

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

func (*NullableGetUserResponse) Unset

func (v *NullableGetUserResponse) Unset()

type NullableHost

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

func NewNullableHost

func NewNullableHost(val *Host) *NullableHost

func (NullableHost) Get

func (v NullableHost) Get() *Host

func (NullableHost) IsSet

func (v NullableHost) IsSet() bool

func (NullableHost) MarshalJSON

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

func (*NullableHost) Set

func (v *NullableHost) Set(val *Host)

func (*NullableHost) UnmarshalJSON

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

func (*NullableHost) Unset

func (v *NullableHost) Unset()

type NullableHostMetric

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

func NewNullableHostMetric

func NewNullableHostMetric(val *HostMetric) *NullableHostMetric

func (NullableHostMetric) Get

func (v NullableHostMetric) Get() *HostMetric

func (NullableHostMetric) IsSet

func (v NullableHostMetric) IsSet() bool

func (NullableHostMetric) MarshalJSON

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

func (*NullableHostMetric) Set

func (v *NullableHostMetric) Set(val *HostMetric)

func (*NullableHostMetric) UnmarshalJSON

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

func (*NullableHostMetric) Unset

func (v *NullableHostMetric) 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 NullableInstanceDocumentationACL

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

func (NullableInstanceDocumentationACL) Get

func (NullableInstanceDocumentationACL) IsSet

func (NullableInstanceDocumentationACL) MarshalJSON

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

func (*NullableInstanceDocumentationACL) Set

func (*NullableInstanceDocumentationACL) UnmarshalJSON

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

func (*NullableInstanceDocumentationACL) Unset

type NullableInstanceDocumentationOptions

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

func (NullableInstanceDocumentationOptions) Get

func (NullableInstanceDocumentationOptions) IsSet

func (NullableInstanceDocumentationOptions) MarshalJSON

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

func (*NullableInstanceDocumentationOptions) Set

func (*NullableInstanceDocumentationOptions) UnmarshalJSON

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

func (*NullableInstanceDocumentationOptions) Unset

type NullableInstanceDocumentationStorage

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

func (NullableInstanceDocumentationStorage) Get

func (NullableInstanceDocumentationStorage) IsSet

func (NullableInstanceDocumentationStorage) MarshalJSON

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

func (*NullableInstanceDocumentationStorage) Set

func (*NullableInstanceDocumentationStorage) UnmarshalJSON

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

func (*NullableInstanceDocumentationStorage) Unset

type NullableInstanceError

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

func NewNullableInstanceError

func NewNullableInstanceError(val *InstanceError) *NullableInstanceError

func (NullableInstanceError) Get

func (NullableInstanceError) IsSet

func (v NullableInstanceError) IsSet() bool

func (NullableInstanceError) MarshalJSON

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

func (*NullableInstanceError) Set

func (v *NullableInstanceError) Set(val *InstanceError)

func (*NullableInstanceError) UnmarshalJSON

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

func (*NullableInstanceError) Unset

func (v *NullableInstanceError) Unset()

type NullableInstanceFlavorEntry

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

func NewNullableInstanceFlavorEntry

func NewNullableInstanceFlavorEntry(val *InstanceFlavorEntry) *NullableInstanceFlavorEntry

func (NullableInstanceFlavorEntry) Get

func (NullableInstanceFlavorEntry) IsSet

func (NullableInstanceFlavorEntry) MarshalJSON

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

func (*NullableInstanceFlavorEntry) Set

func (*NullableInstanceFlavorEntry) UnmarshalJSON

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

func (*NullableInstanceFlavorEntry) Unset

func (v *NullableInstanceFlavorEntry) Unset()

type NullableInstanceListInstance

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

func NewNullableInstanceListInstance

func NewNullableInstanceListInstance(val *InstanceListInstance) *NullableInstanceListInstance

func (NullableInstanceListInstance) Get

func (NullableInstanceListInstance) IsSet

func (NullableInstanceListInstance) MarshalJSON

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

func (*NullableInstanceListInstance) Set

func (*NullableInstanceListInstance) UnmarshalJSON

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

func (*NullableInstanceListInstance) Unset

func (v *NullableInstanceListInstance) Unset()

type NullableInstanceListUser

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

func NewNullableInstanceListUser

func NewNullableInstanceListUser(val *InstanceListUser) *NullableInstanceListUser

func (NullableInstanceListUser) Get

func (NullableInstanceListUser) IsSet

func (v NullableInstanceListUser) IsSet() bool

func (NullableInstanceListUser) MarshalJSON

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

func (*NullableInstanceListUser) Set

func (*NullableInstanceListUser) UnmarshalJSON

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

func (*NullableInstanceListUser) Unset

func (v *NullableInstanceListUser) 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 NullableListBackupsResponse

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

func NewNullableListBackupsResponse

func NewNullableListBackupsResponse(val *ListBackupsResponse) *NullableListBackupsResponse

func (NullableListBackupsResponse) Get

func (NullableListBackupsResponse) IsSet

func (NullableListBackupsResponse) MarshalJSON

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

func (*NullableListBackupsResponse) Set

func (*NullableListBackupsResponse) UnmarshalJSON

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

func (*NullableListBackupsResponse) Unset

func (v *NullableListBackupsResponse) Unset()

type NullableListCollationsResponse

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

func (NullableListCollationsResponse) Get

func (NullableListCollationsResponse) IsSet

func (NullableListCollationsResponse) MarshalJSON

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

func (*NullableListCollationsResponse) Set

func (*NullableListCollationsResponse) UnmarshalJSON

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

func (*NullableListCollationsResponse) Unset

func (v *NullableListCollationsResponse) Unset()

type NullableListCompatibilityResponse

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

func (NullableListCompatibilityResponse) Get

func (NullableListCompatibilityResponse) IsSet

func (NullableListCompatibilityResponse) MarshalJSON

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

func (*NullableListCompatibilityResponse) Set

func (*NullableListCompatibilityResponse) UnmarshalJSON

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

func (*NullableListCompatibilityResponse) Unset

type NullableListDatabasesResponse

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

func (NullableListDatabasesResponse) Get

func (NullableListDatabasesResponse) IsSet

func (NullableListDatabasesResponse) MarshalJSON

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

func (*NullableListDatabasesResponse) Set

func (*NullableListDatabasesResponse) UnmarshalJSON

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

func (*NullableListDatabasesResponse) Unset

func (v *NullableListDatabasesResponse) Unset()

type NullableListFlavorsResponse

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

func NewNullableListFlavorsResponse

func NewNullableListFlavorsResponse(val *ListFlavorsResponse) *NullableListFlavorsResponse

func (NullableListFlavorsResponse) Get

func (NullableListFlavorsResponse) IsSet

func (NullableListFlavorsResponse) MarshalJSON

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

func (*NullableListFlavorsResponse) Set

func (*NullableListFlavorsResponse) UnmarshalJSON

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

func (*NullableListFlavorsResponse) Unset

func (v *NullableListFlavorsResponse) Unset()

type NullableListInstancesResponse

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

func (NullableListInstancesResponse) Get

func (NullableListInstancesResponse) IsSet

func (NullableListInstancesResponse) MarshalJSON

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

func (*NullableListInstancesResponse) Set

func (*NullableListInstancesResponse) UnmarshalJSON

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

func (*NullableListInstancesResponse) Unset

func (v *NullableListInstancesResponse) Unset()

type NullableListMetricsResponse

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

func NewNullableListMetricsResponse

func NewNullableListMetricsResponse(val *ListMetricsResponse) *NullableListMetricsResponse

func (NullableListMetricsResponse) Get

func (NullableListMetricsResponse) IsSet

func (NullableListMetricsResponse) MarshalJSON

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

func (*NullableListMetricsResponse) Set

func (*NullableListMetricsResponse) UnmarshalJSON

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

func (*NullableListMetricsResponse) Unset

func (v *NullableListMetricsResponse) Unset()

type NullableListRestoreJobsResponse

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

func (NullableListRestoreJobsResponse) Get

func (NullableListRestoreJobsResponse) IsSet

func (NullableListRestoreJobsResponse) MarshalJSON

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

func (*NullableListRestoreJobsResponse) Set

func (*NullableListRestoreJobsResponse) UnmarshalJSON

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

func (*NullableListRestoreJobsResponse) Unset

type NullableListRolesResponse

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

func NewNullableListRolesResponse

func NewNullableListRolesResponse(val *ListRolesResponse) *NullableListRolesResponse

func (NullableListRolesResponse) Get

func (NullableListRolesResponse) IsSet

func (v NullableListRolesResponse) IsSet() bool

func (NullableListRolesResponse) MarshalJSON

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

func (*NullableListRolesResponse) Set

func (*NullableListRolesResponse) UnmarshalJSON

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

func (*NullableListRolesResponse) Unset

func (v *NullableListRolesResponse) Unset()

type NullableListStoragesResponse

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

func NewNullableListStoragesResponse

func NewNullableListStoragesResponse(val *ListStoragesResponse) *NullableListStoragesResponse

func (NullableListStoragesResponse) Get

func (NullableListStoragesResponse) IsSet

func (NullableListStoragesResponse) MarshalJSON

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

func (*NullableListStoragesResponse) Set

func (*NullableListStoragesResponse) UnmarshalJSON

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

func (*NullableListStoragesResponse) Unset

func (v *NullableListStoragesResponse) Unset()

type NullableListUsersResponse

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

func NewNullableListUsersResponse

func NewNullableListUsersResponse(val *ListUsersResponse) *NullableListUsersResponse

func (NullableListUsersResponse) Get

func (NullableListUsersResponse) IsSet

func (v NullableListUsersResponse) IsSet() bool

func (NullableListUsersResponse) MarshalJSON

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

func (*NullableListUsersResponse) Set

func (*NullableListUsersResponse) UnmarshalJSON

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

func (*NullableListUsersResponse) Unset

func (v *NullableListUsersResponse) Unset()

type NullableListVersionsResponse

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

func NewNullableListVersionsResponse

func NewNullableListVersionsResponse(val *ListVersionsResponse) *NullableListVersionsResponse

func (NullableListVersionsResponse) Get

func (NullableListVersionsResponse) IsSet

func (NullableListVersionsResponse) MarshalJSON

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

func (*NullableListVersionsResponse) Set

func (*NullableListVersionsResponse) UnmarshalJSON

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

func (*NullableListVersionsResponse) Unset

func (v *NullableListVersionsResponse) Unset()

type NullableMssqlDatabaseCollation

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

func (NullableMssqlDatabaseCollation) Get

func (NullableMssqlDatabaseCollation) IsSet

func (NullableMssqlDatabaseCollation) MarshalJSON

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

func (*NullableMssqlDatabaseCollation) Set

func (*NullableMssqlDatabaseCollation) UnmarshalJSON

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

func (*NullableMssqlDatabaseCollation) Unset

func (v *NullableMssqlDatabaseCollation) Unset()

type NullableMssqlDatabaseCompatibility

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

func (NullableMssqlDatabaseCompatibility) Get

func (NullableMssqlDatabaseCompatibility) IsSet

func (NullableMssqlDatabaseCompatibility) MarshalJSON

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

func (*NullableMssqlDatabaseCompatibility) Set

func (*NullableMssqlDatabaseCompatibility) UnmarshalJSON

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

func (*NullableMssqlDatabaseCompatibility) Unset

type NullablePartialUpdateInstancePayload

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

func (NullablePartialUpdateInstancePayload) Get

func (NullablePartialUpdateInstancePayload) IsSet

func (NullablePartialUpdateInstancePayload) MarshalJSON

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

func (*NullablePartialUpdateInstancePayload) Set

func (*NullablePartialUpdateInstancePayload) UnmarshalJSON

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

func (*NullablePartialUpdateInstancePayload) Unset

type NullableResetUserResponse

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

func NewNullableResetUserResponse

func NewNullableResetUserResponse(val *ResetUserResponse) *NullableResetUserResponse

func (NullableResetUserResponse) Get

func (NullableResetUserResponse) IsSet

func (v NullableResetUserResponse) IsSet() bool

func (NullableResetUserResponse) MarshalJSON

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

func (*NullableResetUserResponse) Set

func (*NullableResetUserResponse) UnmarshalJSON

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

func (*NullableResetUserResponse) Unset

func (v *NullableResetUserResponse) Unset()

type NullableRestoreRunningRestore

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

func (NullableRestoreRunningRestore) Get

func (NullableRestoreRunningRestore) IsSet

func (NullableRestoreRunningRestore) MarshalJSON

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

func (*NullableRestoreRunningRestore) Set

func (*NullableRestoreRunningRestore) UnmarshalJSON

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

func (*NullableRestoreRunningRestore) Unset

func (v *NullableRestoreRunningRestore) Unset()

type NullableSingleDatabase

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

func NewNullableSingleDatabase

func NewNullableSingleDatabase(val *SingleDatabase) *NullableSingleDatabase

func (NullableSingleDatabase) Get

func (NullableSingleDatabase) IsSet

func (v NullableSingleDatabase) IsSet() bool

func (NullableSingleDatabase) MarshalJSON

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

func (*NullableSingleDatabase) Set

func (*NullableSingleDatabase) UnmarshalJSON

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

func (*NullableSingleDatabase) Unset

func (v *NullableSingleDatabase) Unset()

type NullableSingleUser

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

func NewNullableSingleUser

func NewNullableSingleUser(val *SingleUser) *NullableSingleUser

func (NullableSingleUser) Get

func (v NullableSingleUser) Get() *SingleUser

func (NullableSingleUser) IsSet

func (v NullableSingleUser) IsSet() bool

func (NullableSingleUser) MarshalJSON

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

func (*NullableSingleUser) Set

func (v *NullableSingleUser) Set(val *SingleUser)

func (*NullableSingleUser) UnmarshalJSON

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

func (*NullableSingleUser) Unset

func (v *NullableSingleUser) Unset()

type NullableStorage

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

func NewNullableStorage

func NewNullableStorage(val *Storage) *NullableStorage

func (NullableStorage) Get

func (v NullableStorage) Get() *Storage

func (NullableStorage) IsSet

func (v NullableStorage) IsSet() bool

func (NullableStorage) MarshalJSON

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

func (*NullableStorage) Set

func (v *NullableStorage) Set(val *Storage)

func (*NullableStorage) UnmarshalJSON

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

func (*NullableStorage) Unset

func (v *NullableStorage) Unset()

type NullableStorageRange

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

func NewNullableStorageRange

func NewNullableStorageRange(val *StorageRange) *NullableStorageRange

func (NullableStorageRange) Get

func (NullableStorageRange) IsSet

func (v NullableStorageRange) IsSet() bool

func (NullableStorageRange) MarshalJSON

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

func (*NullableStorageRange) Set

func (v *NullableStorageRange) Set(val *StorageRange)

func (*NullableStorageRange) UnmarshalJSON

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

func (*NullableStorageRange) Unset

func (v *NullableStorageRange) 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 NullableTriggerDatabaseRestorePayload

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

func (NullableTriggerDatabaseRestorePayload) Get

func (NullableTriggerDatabaseRestorePayload) IsSet

func (NullableTriggerDatabaseRestorePayload) MarshalJSON

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

func (*NullableTriggerDatabaseRestorePayload) Set

func (*NullableTriggerDatabaseRestorePayload) UnmarshalJSON

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

func (*NullableTriggerDatabaseRestorePayload) Unset

type NullableType

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

func NewNullableType

func NewNullableType(val *Type) *NullableType

func (NullableType) Get

func (v NullableType) Get() *Type

func (NullableType) IsSet

func (v NullableType) IsSet() bool

func (NullableType) MarshalJSON

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

func (*NullableType) Set

func (v *NullableType) Set(val *Type)

func (*NullableType) UnmarshalJSON

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

func (*NullableType) Unset

func (v *NullableType) Unset()

type NullableUpdateInstancePayload

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

func (NullableUpdateInstancePayload) Get

func (NullableUpdateInstancePayload) IsSet

func (NullableUpdateInstancePayload) MarshalJSON

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

func (*NullableUpdateInstancePayload) Set

func (*NullableUpdateInstancePayload) UnmarshalJSON

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

func (*NullableUpdateInstancePayload) Unset

func (v *NullableUpdateInstancePayload) Unset()

type NullableUpdateInstanceResponse

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

func (NullableUpdateInstanceResponse) Get

func (NullableUpdateInstanceResponse) IsSet

func (NullableUpdateInstanceResponse) MarshalJSON

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

func (*NullableUpdateInstanceResponse) Set

func (*NullableUpdateInstanceResponse) UnmarshalJSON

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

func (*NullableUpdateInstanceResponse) Unset

func (v *NullableUpdateInstanceResponse) Unset()

type NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableUserResponseUser

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

func NewNullableUserResponseUser

func NewNullableUserResponseUser(val *UserResponseUser) *NullableUserResponseUser

func (NullableUserResponseUser) Get

func (NullableUserResponseUser) IsSet

func (v NullableUserResponseUser) IsSet() bool

func (NullableUserResponseUser) MarshalJSON

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

func (*NullableUserResponseUser) Set

func (*NullableUserResponseUser) UnmarshalJSON

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

func (*NullableUserResponseUser) Unset

func (v *NullableUserResponseUser) Unset()

type PartialUpdateInstancePayload

type PartialUpdateInstancePayload struct {
	// ACL is the Access Control List defining the IP ranges allowed to connect to the database
	Acl *InstanceDocumentationACL `json:"acl,omitempty"`
	// Cronjob for the daily full backup if not provided a job will generated between 00:00 and 04:59
	BackupSchedule *string `json:"backupSchedule,omitempty"`
	// Id of the selected flavor
	FlavorId *string `json:"flavorId,omitempty"`
	// Labels for the instance
	Labels map[string]interface{} `json:"labels,omitempty"`
	// Name of the instance
	Name *string `json:"name,omitempty"`
	// Version of the MSSQL Server
	Version *string `json:"version,omitempty"`
}

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

GetAcl returns the Acl field value if set, zero value otherwise.

func (*PartialUpdateInstancePayload) GetAclOk

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

func (*PartialUpdateInstancePayload) GetBackupSchedule

func (o *PartialUpdateInstancePayload) GetBackupSchedule() string

GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.

func (*PartialUpdateInstancePayload) GetBackupScheduleOk

func (o *PartialUpdateInstancePayload) GetBackupScheduleOk() (*string, bool)

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

func (*PartialUpdateInstancePayload) GetFlavorId

func (o *PartialUpdateInstancePayload) GetFlavorId() string

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

func (*PartialUpdateInstancePayload) GetFlavorIdOk

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

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

func (*PartialUpdateInstancePayload) GetLabels

func (o *PartialUpdateInstancePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateInstancePayload) GetLabelsOk

func (o *PartialUpdateInstancePayload) GetLabelsOk() (map[string]interface{}, 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) GetVersion

func (o *PartialUpdateInstancePayload) GetVersion() string

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

func (*PartialUpdateInstancePayload) GetVersionOk

func (o *PartialUpdateInstancePayload) GetVersionOk() (*string, bool)

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

func (*PartialUpdateInstancePayload) HasAcl

func (o *PartialUpdateInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasBackupSchedule

func (o *PartialUpdateInstancePayload) HasBackupSchedule() bool

HasBackupSchedule returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasFlavorId

func (o *PartialUpdateInstancePayload) HasFlavorId() bool

HasFlavorId 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) HasVersion

func (o *PartialUpdateInstancePayload) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (PartialUpdateInstancePayload) MarshalJSON

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

func (*PartialUpdateInstancePayload) SetAcl

SetAcl gets a reference to the given InstanceDocumentationACL and assigns it to the Acl field.

func (*PartialUpdateInstancePayload) SetBackupSchedule

func (o *PartialUpdateInstancePayload) SetBackupSchedule(v string)

SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.

func (*PartialUpdateInstancePayload) SetFlavorId

func (o *PartialUpdateInstancePayload) SetFlavorId(v string)

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

func (*PartialUpdateInstancePayload) SetLabels

func (o *PartialUpdateInstancePayload) SetLabels(v map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} 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) SetVersion

func (o *PartialUpdateInstancePayload) SetVersion(v string)

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

func (PartialUpdateInstancePayload) ToMap

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

type ResetUserResponse

type ResetUserResponse struct {
	Item *SingleUser `json:"item,omitempty"`
}

ResetUserResponse struct for ResetUserResponse

func NewResetUserResponse

func NewResetUserResponse() *ResetUserResponse

NewResetUserResponse instantiates a new ResetUserResponse 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 NewResetUserResponseWithDefaults

func NewResetUserResponseWithDefaults() *ResetUserResponse

NewResetUserResponseWithDefaults instantiates a new ResetUserResponse 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 (*ResetUserResponse) GetItem

func (o *ResetUserResponse) GetItem() SingleUser

GetItem returns the Item field value if set, zero value otherwise.

func (*ResetUserResponse) GetItemOk

func (o *ResetUserResponse) GetItemOk() (*SingleUser, bool)

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

func (*ResetUserResponse) HasItem

func (o *ResetUserResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (ResetUserResponse) MarshalJSON

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

func (*ResetUserResponse) SetItem

func (o *ResetUserResponse) SetItem(v SingleUser)

SetItem gets a reference to the given SingleUser and assigns it to the Item field.

func (ResetUserResponse) ToMap

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

type RestoreRunningRestore

type RestoreRunningRestore struct {
	Command                 *string `json:"command,omitempty"`
	DatabaseName            *string `json:"database_name,omitempty"`
	EstimatedCompletionTime *string `json:"estimated_completion_time,omitempty"`
	PercentComplete         *int32  `json:"percent_complete,omitempty"`
	StartTime               *string `json:"start_time,omitempty"`
}

RestoreRunningRestore struct for RestoreRunningRestore

func NewRestoreRunningRestore

func NewRestoreRunningRestore() *RestoreRunningRestore

NewRestoreRunningRestore instantiates a new RestoreRunningRestore 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 NewRestoreRunningRestoreWithDefaults

func NewRestoreRunningRestoreWithDefaults() *RestoreRunningRestore

NewRestoreRunningRestoreWithDefaults instantiates a new RestoreRunningRestore 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 (*RestoreRunningRestore) GetCommand

func (o *RestoreRunningRestore) GetCommand() string

GetCommand returns the Command field value if set, zero value otherwise.

func (*RestoreRunningRestore) GetCommandOk

func (o *RestoreRunningRestore) GetCommandOk() (*string, bool)

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

func (*RestoreRunningRestore) GetDatabaseName

func (o *RestoreRunningRestore) GetDatabaseName() string

GetDatabaseName returns the DatabaseName field value if set, zero value otherwise.

func (*RestoreRunningRestore) GetDatabaseNameOk

func (o *RestoreRunningRestore) GetDatabaseNameOk() (*string, bool)

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

func (*RestoreRunningRestore) GetEstimatedCompletionTime

func (o *RestoreRunningRestore) GetEstimatedCompletionTime() string

GetEstimatedCompletionTime returns the EstimatedCompletionTime field value if set, zero value otherwise.

func (*RestoreRunningRestore) GetEstimatedCompletionTimeOk

func (o *RestoreRunningRestore) GetEstimatedCompletionTimeOk() (*string, bool)

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

func (*RestoreRunningRestore) GetPercentComplete

func (o *RestoreRunningRestore) GetPercentComplete() int32

GetPercentComplete returns the PercentComplete field value if set, zero value otherwise.

func (*RestoreRunningRestore) GetPercentCompleteOk

func (o *RestoreRunningRestore) GetPercentCompleteOk() (*int32, bool)

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

func (*RestoreRunningRestore) GetStartTime

func (o *RestoreRunningRestore) GetStartTime() string

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

func (*RestoreRunningRestore) GetStartTimeOk

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

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

func (*RestoreRunningRestore) HasCommand

func (o *RestoreRunningRestore) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (*RestoreRunningRestore) HasDatabaseName

func (o *RestoreRunningRestore) HasDatabaseName() bool

HasDatabaseName returns a boolean if a field has been set.

func (*RestoreRunningRestore) HasEstimatedCompletionTime

func (o *RestoreRunningRestore) HasEstimatedCompletionTime() bool

HasEstimatedCompletionTime returns a boolean if a field has been set.

func (*RestoreRunningRestore) HasPercentComplete

func (o *RestoreRunningRestore) HasPercentComplete() bool

HasPercentComplete returns a boolean if a field has been set.

func (*RestoreRunningRestore) HasStartTime

func (o *RestoreRunningRestore) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (RestoreRunningRestore) MarshalJSON

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

func (*RestoreRunningRestore) SetCommand

func (o *RestoreRunningRestore) SetCommand(v string)

SetCommand gets a reference to the given string and assigns it to the Command field.

func (*RestoreRunningRestore) SetDatabaseName

func (o *RestoreRunningRestore) SetDatabaseName(v string)

SetDatabaseName gets a reference to the given string and assigns it to the DatabaseName field.

func (*RestoreRunningRestore) SetEstimatedCompletionTime

func (o *RestoreRunningRestore) SetEstimatedCompletionTime(v string)

SetEstimatedCompletionTime gets a reference to the given string and assigns it to the EstimatedCompletionTime field.

func (*RestoreRunningRestore) SetPercentComplete

func (o *RestoreRunningRestore) SetPercentComplete(v int32)

SetPercentComplete gets a reference to the given int32 and assigns it to the PercentComplete field.

func (*RestoreRunningRestore) SetStartTime

func (o *RestoreRunningRestore) SetStartTime(v string)

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

func (RestoreRunningRestore) ToMap

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

type SingleDatabase

type SingleDatabase struct {
	// Database id
	Id *string `json:"id,omitempty"`
	// Database name
	Name *string `json:"name,omitempty"`
	// Database specific options
	Options *DatabaseOptions `json:"options,omitempty"`
}

SingleDatabase struct for SingleDatabase

func NewSingleDatabase

func NewSingleDatabase() *SingleDatabase

NewSingleDatabase instantiates a new SingleDatabase 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 NewSingleDatabaseWithDefaults

func NewSingleDatabaseWithDefaults() *SingleDatabase

NewSingleDatabaseWithDefaults instantiates a new SingleDatabase 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 (*SingleDatabase) GetId

func (o *SingleDatabase) GetId() string

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

func (*SingleDatabase) GetIdOk

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

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

func (*SingleDatabase) GetName

func (o *SingleDatabase) GetName() string

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

func (*SingleDatabase) GetNameOk

func (o *SingleDatabase) 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 (*SingleDatabase) GetOptions

func (o *SingleDatabase) GetOptions() DatabaseOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*SingleDatabase) GetOptionsOk

func (o *SingleDatabase) GetOptionsOk() (*DatabaseOptions, bool)

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

func (*SingleDatabase) HasId

func (o *SingleDatabase) HasId() bool

HasId returns a boolean if a field has been set.

func (*SingleDatabase) HasName

func (o *SingleDatabase) HasName() bool

HasName returns a boolean if a field has been set.

func (*SingleDatabase) HasOptions

func (o *SingleDatabase) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (SingleDatabase) MarshalJSON

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

func (*SingleDatabase) SetId

func (o *SingleDatabase) SetId(v string)

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

func (*SingleDatabase) SetName

func (o *SingleDatabase) SetName(v string)

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

func (*SingleDatabase) SetOptions

func (o *SingleDatabase) SetOptions(v DatabaseOptions)

SetOptions gets a reference to the given DatabaseOptions and assigns it to the Options field.

func (SingleDatabase) ToMap

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

type SingleUser

type SingleUser struct {
	DefaultDatabase *string  `json:"default_database,omitempty"`
	Host            *string  `json:"host,omitempty"`
	Id              *string  `json:"id,omitempty"`
	Password        *string  `json:"password,omitempty"`
	Port            *int64   `json:"port,omitempty"`
	Roles           []string `json:"roles,omitempty"`
	Uri             *string  `json:"uri,omitempty"`
	Username        *string  `json:"username,omitempty"`
}

SingleUser struct for SingleUser

func NewSingleUser

func NewSingleUser() *SingleUser

NewSingleUser instantiates a new SingleUser 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 NewSingleUserWithDefaults

func NewSingleUserWithDefaults() *SingleUser

NewSingleUserWithDefaults instantiates a new SingleUser 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 (*SingleUser) GetDefaultDatabase

func (o *SingleUser) GetDefaultDatabase() string

GetDefaultDatabase returns the DefaultDatabase field value if set, zero value otherwise.

func (*SingleUser) GetDefaultDatabaseOk

func (o *SingleUser) GetDefaultDatabaseOk() (*string, bool)

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

func (*SingleUser) GetHost

func (o *SingleUser) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*SingleUser) GetHostOk

func (o *SingleUser) GetHostOk() (*string, bool)

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

func (*SingleUser) GetId

func (o *SingleUser) GetId() string

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

func (*SingleUser) GetIdOk

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

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

func (*SingleUser) GetPassword

func (o *SingleUser) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*SingleUser) GetPasswordOk

func (o *SingleUser) GetPasswordOk() (*string, bool)

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

func (*SingleUser) GetPort

func (o *SingleUser) GetPort() int64

GetPort returns the Port field value if set, zero value otherwise.

func (*SingleUser) GetPortOk

func (o *SingleUser) GetPortOk() (*int64, bool)

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

func (*SingleUser) GetRoles

func (o *SingleUser) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*SingleUser) GetRolesOk

func (o *SingleUser) GetRolesOk() ([]string, bool)

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

func (*SingleUser) GetUri

func (o *SingleUser) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*SingleUser) GetUriOk

func (o *SingleUser) GetUriOk() (*string, bool)

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

func (*SingleUser) GetUsername

func (o *SingleUser) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*SingleUser) GetUsernameOk

func (o *SingleUser) GetUsernameOk() (*string, bool)

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

func (*SingleUser) HasDefaultDatabase

func (o *SingleUser) HasDefaultDatabase() bool

HasDefaultDatabase returns a boolean if a field has been set.

func (*SingleUser) HasHost

func (o *SingleUser) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*SingleUser) HasId

func (o *SingleUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*SingleUser) HasPassword

func (o *SingleUser) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*SingleUser) HasPort

func (o *SingleUser) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SingleUser) HasRoles

func (o *SingleUser) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*SingleUser) HasUri

func (o *SingleUser) HasUri() bool

HasUri returns a boolean if a field has been set.

func (*SingleUser) HasUsername

func (o *SingleUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (SingleUser) MarshalJSON

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

func (*SingleUser) SetDefaultDatabase

func (o *SingleUser) SetDefaultDatabase(v string)

SetDefaultDatabase gets a reference to the given string and assigns it to the DefaultDatabase field.

func (*SingleUser) SetHost

func (o *SingleUser) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*SingleUser) SetId

func (o *SingleUser) SetId(v string)

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

func (*SingleUser) SetPassword

func (o *SingleUser) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*SingleUser) SetPort

func (o *SingleUser) SetPort(v int64)

SetPort gets a reference to the given int64 and assigns it to the Port field.

func (*SingleUser) SetRoles

func (o *SingleUser) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*SingleUser) SetUri

func (o *SingleUser) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (*SingleUser) SetUsername

func (o *SingleUser) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (SingleUser) ToMap

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

type Storage

type Storage struct {
	Class *string `json:"class,omitempty"`
	Size  *int64  `json:"size,omitempty"`
}

Storage struct for Storage

func NewStorage

func NewStorage() *Storage

NewStorage instantiates a new Storage 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 NewStorageWithDefaults

func NewStorageWithDefaults() *Storage

NewStorageWithDefaults instantiates a new Storage 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 (*Storage) GetClass

func (o *Storage) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*Storage) GetClassOk

func (o *Storage) GetClassOk() (*string, bool)

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

func (*Storage) GetSize

func (o *Storage) GetSize() int64

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

func (*Storage) GetSizeOk

func (o *Storage) GetSizeOk() (*int64, bool)

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

func (*Storage) HasClass

func (o *Storage) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*Storage) HasSize

func (o *Storage) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Storage) MarshalJSON

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

func (*Storage) SetClass

func (o *Storage) SetClass(v string)

SetClass gets a reference to the given string and assigns it to the Class field.

func (*Storage) SetSize

func (o *Storage) SetSize(v int64)

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

func (Storage) ToMap

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

type StorageRange

type StorageRange struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

StorageRange struct for StorageRange

func NewStorageRange

func NewStorageRange() *StorageRange

NewStorageRange instantiates a new StorageRange 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 NewStorageRangeWithDefaults

func NewStorageRangeWithDefaults() *StorageRange

NewStorageRangeWithDefaults instantiates a new StorageRange 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 (*StorageRange) GetMax

func (o *StorageRange) GetMax() int64

GetMax returns the Max field value if set, zero value otherwise.

func (*StorageRange) GetMaxOk

func (o *StorageRange) GetMaxOk() (*int64, bool)

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

func (*StorageRange) GetMin

func (o *StorageRange) GetMin() int64

GetMin returns the Min field value if set, zero value otherwise.

func (*StorageRange) GetMinOk

func (o *StorageRange) GetMinOk() (*int64, bool)

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

func (*StorageRange) HasMax

func (o *StorageRange) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*StorageRange) HasMin

func (o *StorageRange) HasMin() bool

HasMin returns a boolean if a field has been set.

func (StorageRange) MarshalJSON

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

func (*StorageRange) SetMax

func (o *StorageRange) SetMax(v int64)

SetMax gets a reference to the given int64 and assigns it to the Max field.

func (*StorageRange) SetMin

func (o *StorageRange) SetMin(v int64)

SetMin gets a reference to the given int64 and assigns it to the Min field.

func (StorageRange) ToMap

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

type TriggerDatabaseRestorePayload

type TriggerDatabaseRestorePayload struct {
	// Name for the restored database no overwrite allowed at the moment
	Name string `json:"name"`
	// Time of the restore point formate RFC3339
	RestoreDateTime string `json:"restoreDateTime"`
}

TriggerDatabaseRestorePayload struct for TriggerDatabaseRestorePayload

func NewTriggerDatabaseRestorePayload

func NewTriggerDatabaseRestorePayload(name string, restoreDateTime string) *TriggerDatabaseRestorePayload

NewTriggerDatabaseRestorePayload instantiates a new TriggerDatabaseRestorePayload 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 NewTriggerDatabaseRestorePayloadWithDefaults

func NewTriggerDatabaseRestorePayloadWithDefaults() *TriggerDatabaseRestorePayload

NewTriggerDatabaseRestorePayloadWithDefaults instantiates a new TriggerDatabaseRestorePayload 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 (*TriggerDatabaseRestorePayload) GetName

GetName returns the Name field value

func (*TriggerDatabaseRestorePayload) GetNameOk

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

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

func (*TriggerDatabaseRestorePayload) GetRestoreDateTime

func (o *TriggerDatabaseRestorePayload) GetRestoreDateTime() string

GetRestoreDateTime returns the RestoreDateTime field value

func (*TriggerDatabaseRestorePayload) GetRestoreDateTimeOk

func (o *TriggerDatabaseRestorePayload) GetRestoreDateTimeOk() (*string, bool)

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

func (TriggerDatabaseRestorePayload) MarshalJSON

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

func (*TriggerDatabaseRestorePayload) SetName

func (o *TriggerDatabaseRestorePayload) SetName(v string)

SetName sets field value

func (*TriggerDatabaseRestorePayload) SetRestoreDateTime

func (o *TriggerDatabaseRestorePayload) SetRestoreDateTime(v string)

SetRestoreDateTime sets field value

func (TriggerDatabaseRestorePayload) ToMap

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

func (*TriggerDatabaseRestorePayload) UnmarshalJSON

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

type Type

type Type string

Type the model 'Type'

const (
	TYPE_NOT_FOUND  Type = "NotFound"
	TYPE_CREATE     Type = "Create"
	TYPE_READ       Type = "Read"
	TYPE_DELETE     Type = "Delete"
	TYPE_UPDATE     Type = "Update"
	TYPE_VALIDATION Type = "Validation"
)

List of Type

func NewTypeFromValue

func NewTypeFromValue(v string) (*Type, error)

NewTypeFromValue returns a pointer to a valid Type for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Type) IsValid

func (v Type) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Type) Ptr

func (v Type) Ptr() *Type

Ptr returns reference to Type value

func (*Type) UnmarshalJSON

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

type UpdateInstancePayload

type UpdateInstancePayload struct {
	// ACL is the Access Control List defining the IP ranges allowed to connect to the database
	Acl InstanceDocumentationACL `json:"acl"`
	// Cronjob for the daily full backup if not provided a job will generated between 00:00 and 04:59
	BackupSchedule string `json:"backupSchedule"`
	// Id of the selected flavor
	FlavorId string `json:"flavorId"`
	// Labels for the instance
	Labels map[string]interface{} `json:"labels"`
	// Name of the instance
	Name string `json:"name"`
	// Version of the MSSQL Server
	Version string `json:"version"`
}

UpdateInstancePayload struct for UpdateInstancePayload

func NewUpdateInstancePayload

func NewUpdateInstancePayload(acl InstanceDocumentationACL, backupSchedule string, flavorId string, labels map[string]interface{}, name string, version string) *UpdateInstancePayload

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

func NewUpdateInstancePayloadWithDefaults

func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload

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

func (*UpdateInstancePayload) GetAcl

GetAcl returns the Acl field value

func (*UpdateInstancePayload) GetAclOk

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

func (*UpdateInstancePayload) GetBackupSchedule

func (o *UpdateInstancePayload) GetBackupSchedule() string

GetBackupSchedule returns the BackupSchedule field value

func (*UpdateInstancePayload) GetBackupScheduleOk

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

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

func (*UpdateInstancePayload) GetFlavorId

func (o *UpdateInstancePayload) GetFlavorId() string

GetFlavorId returns the FlavorId field value

func (*UpdateInstancePayload) GetFlavorIdOk

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

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

func (*UpdateInstancePayload) GetLabels

func (o *UpdateInstancePayload) GetLabels() map[string]interface{}

GetLabels returns the Labels field value

func (*UpdateInstancePayload) GetLabelsOk

func (o *UpdateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)

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

func (*UpdateInstancePayload) GetName

func (o *UpdateInstancePayload) GetName() string

GetName returns the Name field value

func (*UpdateInstancePayload) GetNameOk

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

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

func (*UpdateInstancePayload) GetVersion

func (o *UpdateInstancePayload) GetVersion() string

GetVersion returns the Version field value

func (*UpdateInstancePayload) GetVersionOk

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

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

func (UpdateInstancePayload) MarshalJSON

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

func (*UpdateInstancePayload) SetAcl

SetAcl sets field value

func (*UpdateInstancePayload) SetBackupSchedule

func (o *UpdateInstancePayload) SetBackupSchedule(v string)

SetBackupSchedule sets field value

func (*UpdateInstancePayload) SetFlavorId

func (o *UpdateInstancePayload) SetFlavorId(v string)

SetFlavorId sets field value

func (*UpdateInstancePayload) SetLabels

func (o *UpdateInstancePayload) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*UpdateInstancePayload) SetName

func (o *UpdateInstancePayload) SetName(v string)

SetName sets field value

func (*UpdateInstancePayload) SetVersion

func (o *UpdateInstancePayload) SetVersion(v string)

SetVersion sets field value

func (UpdateInstancePayload) ToMap

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

func (*UpdateInstancePayload) UnmarshalJSON

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

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	Item *Instance `json:"item,omitempty"`
}

UpdateInstanceResponse struct for UpdateInstanceResponse

func NewUpdateInstanceResponse

func NewUpdateInstanceResponse() *UpdateInstanceResponse

NewUpdateInstanceResponse instantiates a new UpdateInstanceResponse 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 NewUpdateInstanceResponseWithDefaults

func NewUpdateInstanceResponseWithDefaults() *UpdateInstanceResponse

NewUpdateInstanceResponseWithDefaults instantiates a new UpdateInstanceResponse 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 (*UpdateInstanceResponse) GetItem

func (o *UpdateInstanceResponse) GetItem() Instance

GetItem returns the Item field value if set, zero value otherwise.

func (*UpdateInstanceResponse) GetItemOk

func (o *UpdateInstanceResponse) GetItemOk() (*Instance, bool)

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

func (*UpdateInstanceResponse) HasItem

func (o *UpdateInstanceResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (UpdateInstanceResponse) MarshalJSON

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

func (*UpdateInstanceResponse) SetItem

func (o *UpdateInstanceResponse) SetItem(v Instance)

SetItem gets a reference to the given Instance and assigns it to the Item field.

func (UpdateInstanceResponse) ToMap

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

type User

type User struct {
	Database *string  `json:"database,omitempty"`
	Host     *string  `json:"host,omitempty"`
	Id       *string  `json:"id,omitempty"`
	Password *string  `json:"password,omitempty"`
	Port     *int64   `json:"port,omitempty"`
	Roles    []string `json:"roles,omitempty"`
	Uri      *string  `json:"uri,omitempty"`
	Username *string  `json:"username,omitempty"`
}

User struct for User

func NewUser

func NewUser() *User

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

func NewUserWithDefaults

func NewUserWithDefaults() *User

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

func (*User) GetDatabase

func (o *User) GetDatabase() string

GetDatabase returns the Database field value if set, zero value otherwise.

func (*User) GetDatabaseOk

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

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

func (*User) GetHost

func (o *User) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*User) GetHostOk

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

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

func (*User) GetId

func (o *User) GetId() string

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

func (*User) GetIdOk

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

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

func (*User) GetPassword

func (o *User) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*User) GetPasswordOk

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

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

func (*User) GetPort

func (o *User) GetPort() int64

GetPort returns the Port field value if set, zero value otherwise.

func (*User) GetPortOk

func (o *User) GetPortOk() (*int64, bool)

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

func (*User) GetRoles

func (o *User) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*User) GetRolesOk

func (o *User) GetRolesOk() ([]string, bool)

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

func (*User) GetUri

func (o *User) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*User) GetUriOk

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

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

func (*User) GetUsername

func (o *User) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*User) GetUsernameOk

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

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

func (*User) HasDatabase

func (o *User) HasDatabase() bool

HasDatabase returns a boolean if a field has been set.

func (*User) HasHost

func (o *User) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*User) HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasPassword

func (o *User) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*User) HasPort

func (o *User) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*User) HasRoles

func (o *User) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*User) HasUri

func (o *User) HasUri() bool

HasUri returns a boolean if a field has been set.

func (*User) HasUsername

func (o *User) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (User) MarshalJSON

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

func (*User) SetDatabase

func (o *User) SetDatabase(v string)

SetDatabase gets a reference to the given string and assigns it to the Database field.

func (*User) SetHost

func (o *User) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*User) SetId

func (o *User) SetId(v string)

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

func (*User) SetPassword

func (o *User) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*User) SetPort

func (o *User) SetPort(v int64)

SetPort gets a reference to the given int64 and assigns it to the Port field.

func (*User) SetRoles

func (o *User) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*User) SetUri

func (o *User) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (*User) SetUsername

func (o *User) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (User) ToMap

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

type UserResponseUser

type UserResponseUser struct {
	DefaultDatabase *string  `json:"default_database,omitempty"`
	Host            *string  `json:"host,omitempty"`
	Id              *string  `json:"id,omitempty"`
	Port            *int64   `json:"port,omitempty"`
	Roles           []string `json:"roles,omitempty"`
	Username        *string  `json:"username,omitempty"`
}

UserResponseUser struct for UserResponseUser

func NewUserResponseUser

func NewUserResponseUser() *UserResponseUser

NewUserResponseUser instantiates a new UserResponseUser 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 NewUserResponseUserWithDefaults

func NewUserResponseUserWithDefaults() *UserResponseUser

NewUserResponseUserWithDefaults instantiates a new UserResponseUser 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 (*UserResponseUser) GetDefaultDatabase

func (o *UserResponseUser) GetDefaultDatabase() string

GetDefaultDatabase returns the DefaultDatabase field value if set, zero value otherwise.

func (*UserResponseUser) GetDefaultDatabaseOk

func (o *UserResponseUser) GetDefaultDatabaseOk() (*string, bool)

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

func (*UserResponseUser) GetHost

func (o *UserResponseUser) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*UserResponseUser) GetHostOk

func (o *UserResponseUser) GetHostOk() (*string, bool)

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

func (*UserResponseUser) GetId

func (o *UserResponseUser) GetId() string

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

func (*UserResponseUser) GetIdOk

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

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

func (*UserResponseUser) GetPort

func (o *UserResponseUser) GetPort() int64

GetPort returns the Port field value if set, zero value otherwise.

func (*UserResponseUser) GetPortOk

func (o *UserResponseUser) GetPortOk() (*int64, bool)

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

func (*UserResponseUser) GetRoles

func (o *UserResponseUser) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*UserResponseUser) GetRolesOk

func (o *UserResponseUser) GetRolesOk() ([]string, bool)

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

func (*UserResponseUser) GetUsername

func (o *UserResponseUser) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*UserResponseUser) GetUsernameOk

func (o *UserResponseUser) GetUsernameOk() (*string, bool)

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

func (*UserResponseUser) HasDefaultDatabase

func (o *UserResponseUser) HasDefaultDatabase() bool

HasDefaultDatabase returns a boolean if a field has been set.

func (*UserResponseUser) HasHost

func (o *UserResponseUser) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*UserResponseUser) HasId

func (o *UserResponseUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserResponseUser) HasPort

func (o *UserResponseUser) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*UserResponseUser) HasRoles

func (o *UserResponseUser) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*UserResponseUser) HasUsername

func (o *UserResponseUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (UserResponseUser) MarshalJSON

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

func (*UserResponseUser) SetDefaultDatabase

func (o *UserResponseUser) SetDefaultDatabase(v string)

SetDefaultDatabase gets a reference to the given string and assigns it to the DefaultDatabase field.

func (*UserResponseUser) SetHost

func (o *UserResponseUser) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*UserResponseUser) SetId

func (o *UserResponseUser) SetId(v string)

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

func (*UserResponseUser) SetPort

func (o *UserResponseUser) SetPort(v int64)

SetPort gets a reference to the given int64 and assigns it to the Port field.

func (*UserResponseUser) SetRoles

func (o *UserResponseUser) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*UserResponseUser) SetUsername

func (o *UserResponseUser) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (UserResponseUser) ToMap

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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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