v2api

package
v1.6.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type 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 MongoDB 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 ApiCloneInstanceRequest

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

func (ApiCloneInstanceRequest) CloneInstancePayload

func (r ApiCloneInstanceRequest) CloneInstancePayload(cloneInstancePayload CloneInstancePayload) ApiCloneInstanceRequest

payload

func (ApiCloneInstanceRequest) Execute

type ApiCreateInstanceRequest

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

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

payload

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

payload

func (ApiCreateUserRequest) Execute

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

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

func (ApiListAdvisorSlowQueriesRequest) Execute

type ApiListBackupsRequest

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

func (ApiListBackupsRequest) 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

func (ApiListInstancesRequest) Tag

instance tag

type ApiListMetricsRequest

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

func (ApiListMetricsRequest) End

period end

func (ApiListMetricsRequest) Execute

func (ApiListMetricsRequest) Granularity

func (r ApiListMetricsRequest) Granularity(granularity string) ApiListMetricsRequest

granularity

func (ApiListMetricsRequest) Period

period

func (ApiListMetricsRequest) Start

period start

type ApiListRestoreJobsRequest

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

func (ApiListRestoreJobsRequest) Execute

type ApiListStoragesRequest

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

func (ApiListStoragesRequest) Execute

type ApiListSuggestedIndexesRequest

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

func (ApiListSuggestedIndexesRequest) 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

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

payload

type ApiPartialUpdateUserRequest

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

func (ApiPartialUpdateUserRequest) Execute

func (r ApiPartialUpdateUserRequest) Execute() error

func (ApiPartialUpdateUserRequest) PartialUpdateUserPayload

func (r ApiPartialUpdateUserRequest) PartialUpdateUserPayload(partialUpdateUserPayload PartialUpdateUserPayload) ApiPartialUpdateUserRequest

payload

type ApiResetUserRequest

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

func (ApiResetUserRequest) Execute

func (r ApiResetUserRequest) Execute() (*User, error)

type ApiRestoreInstanceRequest

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

func (ApiRestoreInstanceRequest) Execute

func (ApiRestoreInstanceRequest) RestoreInstancePayload

func (r ApiRestoreInstanceRequest) RestoreInstancePayload(restoreInstancePayload RestoreInstancePayload) ApiRestoreInstanceRequest

payload

type ApiUpdateBackupScheduleRequest

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

func (ApiUpdateBackupScheduleRequest) Execute

func (ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload

func (r ApiUpdateBackupScheduleRequest) UpdateBackupSchedulePayload(updateBackupSchedulePayload UpdateBackupSchedulePayload) ApiUpdateBackupScheduleRequest

payload

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

payload

type ApiUpdateUserRequest

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

func (ApiUpdateUserRequest) Execute

func (r ApiUpdateUserRequest) Execute() error

func (ApiUpdateUserRequest) UpdateUserPayload

func (r ApiUpdateUserRequest) UpdateUserPayload(updateUserPayload UpdateUserPayload) ApiUpdateUserRequest

payload

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 BackupSchedule

type BackupSchedule struct {
	BackupSchedule                 *string `json:"backupSchedule,omitempty"`
	DailySnapshotRetentionDays     *int32  `json:"dailySnapshotRetentionDays,omitempty"`
	MonthlySnapshotRetentionMonths *int32  `json:"monthlySnapshotRetentionMonths,omitempty"`
	PointInTimeWindowHours         *int32  `json:"pointInTimeWindowHours,omitempty"`
	SnapshotRetentionDays          *int32  `json:"snapshotRetentionDays,omitempty"`
	WeeklySnapshotRetentionWeeks   *int32  `json:"weeklySnapshotRetentionWeeks,omitempty"`
}

BackupSchedule struct for BackupSchedule

func NewBackupSchedule

func NewBackupSchedule() *BackupSchedule

NewBackupSchedule instantiates a new BackupSchedule 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 NewBackupScheduleWithDefaults

func NewBackupScheduleWithDefaults() *BackupSchedule

NewBackupScheduleWithDefaults instantiates a new BackupSchedule 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 (*BackupSchedule) GetBackupSchedule

func (o *BackupSchedule) GetBackupSchedule() string

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

func (*BackupSchedule) GetBackupScheduleOk

func (o *BackupSchedule) 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 (*BackupSchedule) GetDailySnapshotRetentionDays

func (o *BackupSchedule) GetDailySnapshotRetentionDays() int32

GetDailySnapshotRetentionDays returns the DailySnapshotRetentionDays field value if set, zero value otherwise.

func (*BackupSchedule) GetDailySnapshotRetentionDaysOk

func (o *BackupSchedule) GetDailySnapshotRetentionDaysOk() (*int32, bool)

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

func (*BackupSchedule) GetMonthlySnapshotRetentionMonths

func (o *BackupSchedule) GetMonthlySnapshotRetentionMonths() int32

GetMonthlySnapshotRetentionMonths returns the MonthlySnapshotRetentionMonths field value if set, zero value otherwise.

func (*BackupSchedule) GetMonthlySnapshotRetentionMonthsOk

func (o *BackupSchedule) GetMonthlySnapshotRetentionMonthsOk() (*int32, bool)

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

func (*BackupSchedule) GetPointInTimeWindowHours

func (o *BackupSchedule) GetPointInTimeWindowHours() int32

GetPointInTimeWindowHours returns the PointInTimeWindowHours field value if set, zero value otherwise.

func (*BackupSchedule) GetPointInTimeWindowHoursOk

func (o *BackupSchedule) GetPointInTimeWindowHoursOk() (*int32, bool)

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

func (*BackupSchedule) GetSnapshotRetentionDays

func (o *BackupSchedule) GetSnapshotRetentionDays() int32

GetSnapshotRetentionDays returns the SnapshotRetentionDays field value if set, zero value otherwise.

func (*BackupSchedule) GetSnapshotRetentionDaysOk

func (o *BackupSchedule) GetSnapshotRetentionDaysOk() (*int32, bool)

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

func (*BackupSchedule) GetWeeklySnapshotRetentionWeeks

func (o *BackupSchedule) GetWeeklySnapshotRetentionWeeks() int32

GetWeeklySnapshotRetentionWeeks returns the WeeklySnapshotRetentionWeeks field value if set, zero value otherwise.

func (*BackupSchedule) GetWeeklySnapshotRetentionWeeksOk

func (o *BackupSchedule) GetWeeklySnapshotRetentionWeeksOk() (*int32, bool)

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

func (*BackupSchedule) HasBackupSchedule

func (o *BackupSchedule) HasBackupSchedule() bool

HasBackupSchedule returns a boolean if a field has been set.

func (*BackupSchedule) HasDailySnapshotRetentionDays

func (o *BackupSchedule) HasDailySnapshotRetentionDays() bool

HasDailySnapshotRetentionDays returns a boolean if a field has been set.

func (*BackupSchedule) HasMonthlySnapshotRetentionMonths

func (o *BackupSchedule) HasMonthlySnapshotRetentionMonths() bool

HasMonthlySnapshotRetentionMonths returns a boolean if a field has been set.

func (*BackupSchedule) HasPointInTimeWindowHours

func (o *BackupSchedule) HasPointInTimeWindowHours() bool

HasPointInTimeWindowHours returns a boolean if a field has been set.

func (*BackupSchedule) HasSnapshotRetentionDays

func (o *BackupSchedule) HasSnapshotRetentionDays() bool

HasSnapshotRetentionDays returns a boolean if a field has been set.

func (*BackupSchedule) HasWeeklySnapshotRetentionWeeks

func (o *BackupSchedule) HasWeeklySnapshotRetentionWeeks() bool

HasWeeklySnapshotRetentionWeeks returns a boolean if a field has been set.

func (BackupSchedule) MarshalJSON

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

func (*BackupSchedule) SetBackupSchedule

func (o *BackupSchedule) SetBackupSchedule(v string)

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

func (*BackupSchedule) SetDailySnapshotRetentionDays

func (o *BackupSchedule) SetDailySnapshotRetentionDays(v int32)

SetDailySnapshotRetentionDays gets a reference to the given int32 and assigns it to the DailySnapshotRetentionDays field.

func (*BackupSchedule) SetMonthlySnapshotRetentionMonths

func (o *BackupSchedule) SetMonthlySnapshotRetentionMonths(v int32)

SetMonthlySnapshotRetentionMonths gets a reference to the given int32 and assigns it to the MonthlySnapshotRetentionMonths field.

func (*BackupSchedule) SetPointInTimeWindowHours

func (o *BackupSchedule) SetPointInTimeWindowHours(v int32)

SetPointInTimeWindowHours gets a reference to the given int32 and assigns it to the PointInTimeWindowHours field.

func (*BackupSchedule) SetSnapshotRetentionDays

func (o *BackupSchedule) SetSnapshotRetentionDays(v int32)

SetSnapshotRetentionDays gets a reference to the given int32 and assigns it to the SnapshotRetentionDays field.

func (*BackupSchedule) SetWeeklySnapshotRetentionWeeks

func (o *BackupSchedule) SetWeeklySnapshotRetentionWeeks(v int32)

SetWeeklySnapshotRetentionWeeks gets a reference to the given int32 and assigns it to the WeeklySnapshotRetentionWeeks field.

func (BackupSchedule) ToMap

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

type CloneInstancePayload

type CloneInstancePayload struct {
	InstanceId string  `json:"instanceId"`
	Timestamp  *string `json:"timestamp,omitempty"`
}

CloneInstancePayload struct for CloneInstancePayload

func NewCloneInstancePayload

func NewCloneInstancePayload(instanceId string) *CloneInstancePayload

NewCloneInstancePayload instantiates a new CloneInstancePayload 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 NewCloneInstancePayloadWithDefaults

func NewCloneInstancePayloadWithDefaults() *CloneInstancePayload

NewCloneInstancePayloadWithDefaults instantiates a new CloneInstancePayload 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 (*CloneInstancePayload) GetInstanceId

func (o *CloneInstancePayload) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*CloneInstancePayload) GetInstanceIdOk

func (o *CloneInstancePayload) GetInstanceIdOk() (*string, bool)

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

func (*CloneInstancePayload) GetTimestamp

func (o *CloneInstancePayload) GetTimestamp() string

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

func (*CloneInstancePayload) GetTimestampOk

func (o *CloneInstancePayload) 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 (*CloneInstancePayload) HasTimestamp

func (o *CloneInstancePayload) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (CloneInstancePayload) MarshalJSON

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

func (*CloneInstancePayload) SetInstanceId

func (o *CloneInstancePayload) SetInstanceId(v string)

SetInstanceId sets field value

func (*CloneInstancePayload) SetTimestamp

func (o *CloneInstancePayload) SetTimestamp(v string)

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

func (CloneInstancePayload) ToMap

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

func (*CloneInstancePayload) UnmarshalJSON

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

type CloneInstanceResponse

type CloneInstanceResponse struct {
	InstanceId *string `json:"instanceId,omitempty"`
}

CloneInstanceResponse struct for CloneInstanceResponse

func NewCloneInstanceResponse

func NewCloneInstanceResponse() *CloneInstanceResponse

NewCloneInstanceResponse instantiates a new CloneInstanceResponse 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 NewCloneInstanceResponseWithDefaults

func NewCloneInstanceResponseWithDefaults() *CloneInstanceResponse

NewCloneInstanceResponseWithDefaults instantiates a new CloneInstanceResponse 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 (*CloneInstanceResponse) GetInstanceId

func (o *CloneInstanceResponse) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*CloneInstanceResponse) GetInstanceIdOk

func (o *CloneInstanceResponse) GetInstanceIdOk() (*string, bool)

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

func (*CloneInstanceResponse) HasInstanceId

func (o *CloneInstanceResponse) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (CloneInstanceResponse) MarshalJSON

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

func (*CloneInstanceResponse) SetInstanceId

func (o *CloneInstanceResponse) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (CloneInstanceResponse) ToMap

func (o CloneInstanceResponse) 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            ACL    `json:"acl"`
	BackupSchedule string `json:"backupSchedule"`
	FlavorId       string `json:"flavorId"`
	// Labels field is not certain/clear
	Labels   *map[string]string `json:"labels,omitempty"`
	Name     string             `json:"name"`
	Options  map[string]string  `json:"options"`
	Replicas int32              `json:"replicas"`
	Storage  Storage            `json:"storage"`
	Version  string             `json:"version"`
}

CreateInstancePayload struct for CreateInstancePayload

func NewCreateInstancePayload

func NewCreateInstancePayload(acl ACL, backupSchedule string, flavorId string, name string, options map[string]string, replicas int32, storage Storage, version 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

func (o *CreateInstancePayload) GetAcl() ACL

GetAcl returns the Acl field value

func (*CreateInstancePayload) GetAclOk

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

GetAclOk returns a tuple with the Acl field value 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

func (*CreateInstancePayload) GetBackupScheduleOk

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

GetBackupScheduleOk returns a tuple with the BackupSchedule field value 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]string

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

func (*CreateInstancePayload) GetLabelsOk

func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)

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

func (*CreateInstancePayload) GetName

func (o *CreateInstancePayload) GetName() string

GetName returns the Name field value

func (*CreateInstancePayload) GetNameOk

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

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

func (*CreateInstancePayload) GetOptions

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

GetOptions returns the Options field value

func (*CreateInstancePayload) GetOptionsOk

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

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

func (*CreateInstancePayload) GetReplicas

func (o *CreateInstancePayload) GetReplicas() int32

GetReplicas returns the Replicas field value

func (*CreateInstancePayload) GetReplicasOk

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

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

func (*CreateInstancePayload) GetStorage

func (o *CreateInstancePayload) GetStorage() Storage

GetStorage returns the Storage field value

func (*CreateInstancePayload) GetStorageOk

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

GetStorageOk returns a tuple with the Storage field value 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

func (*CreateInstancePayload) GetVersionOk

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

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

func (*CreateInstancePayload) HasLabels

func (o *CreateInstancePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (CreateInstancePayload) MarshalJSON

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

func (*CreateInstancePayload) SetAcl

func (o *CreateInstancePayload) SetAcl(v ACL)

SetAcl sets field value

func (*CreateInstancePayload) SetBackupSchedule

func (o *CreateInstancePayload) SetBackupSchedule(v string)

SetBackupSchedule sets field value

func (*CreateInstancePayload) SetFlavorId

func (o *CreateInstancePayload) SetFlavorId(v string)

SetFlavorId sets field value

func (*CreateInstancePayload) SetLabels

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

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

func (*CreateInstancePayload) SetName

func (o *CreateInstancePayload) SetName(v string)

SetName sets field value

func (*CreateInstancePayload) SetOptions

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

SetOptions sets field value

func (*CreateInstancePayload) SetReplicas

func (o *CreateInstancePayload) SetReplicas(v int32)

SetReplicas sets field value

func (*CreateInstancePayload) SetStorage

func (o *CreateInstancePayload) SetStorage(v Storage)

SetStorage sets field value

func (*CreateInstancePayload) SetVersion

func (o *CreateInstancePayload) SetVersion(v string)

SetVersion sets field value

func (CreateInstancePayload) ToMap

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

func (*CreateInstancePayload) UnmarshalJSON

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

type CreateInstanceResponse

type CreateInstanceResponse struct {
	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 {
	Database string `json:"database"`
	// The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**
	Roles    []string `json:"roles"`
	Username *string  `json:"username,omitempty"`
}

CreateUserPayload struct for CreateUserPayload

func NewCreateUserPayload

func NewCreateUserPayload(database string, roles []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) GetDatabase

func (o *CreateUserPayload) GetDatabase() string

GetDatabase returns the Database field value

func (*CreateUserPayload) GetDatabaseOk

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

GetDatabaseOk returns a tuple with the Database field value 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 if set, zero value otherwise.

func (*CreateUserPayload) GetUsernameOk

func (o *CreateUserPayload) 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 (*CreateUserPayload) HasUsername

func (o *CreateUserPayload) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (CreateUserPayload) MarshalJSON

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

func (*CreateUserPayload) SetDatabase

func (o *CreateUserPayload) SetDatabase(v string)

SetDatabase sets field value

func (*CreateUserPayload) SetRoles

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

SetRoles sets field value

func (*CreateUserPayload) SetUsername

func (o *CreateUserPayload) SetUsername(v string)

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

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 *User `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() User

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

func (*CreateUserResponse) GetItemOk

func (o *CreateUserResponse) GetItemOk() (*User, 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 User)

SetItem gets a reference to the given User 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 DefaultAPI

type DefaultAPI interface {

	/*
			CloneInstance Clone instance

			Clone an instance via PIT restore<br/> Note that the Timestamp is a RFC3339 standard and uses by default UTC time format<br/>
		As an example a valid timestamp look like "2023-04-20T15:05:15Z"

			@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 ApiCloneInstanceRequest
	*/
	CloneInstance(ctx context.Context, projectId string, instanceId string, region string) ApiCloneInstanceRequest

	// CloneInstanceExecute executes the request
	//  @return CloneInstanceResponse
	CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)

	/*
		CreateInstance Create instance

		Create and deploys an instance<br/> Note that the time format for the backupSchedule is in UTC

		@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 a new user for a mongodb 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)

	/*
		DeleteInstance Delete instance

		removes 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 ApiDeleteInstanceRequest
	*/
	DeleteInstance(ctx context.Context, projectId string, instanceId string, region string) ApiDeleteInstanceRequest

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

	/*
		DeleteUser Delete User

		delete mongodb 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 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 backup

		Get details about a specific 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)

	/*
		GetInstance Get instance

		gets information of 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 ApiGetInstanceRequest
	*/
	GetInstance(ctx context.Context, projectId string, instanceId string, region string) ApiGetInstanceRequest

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

	/*
		GetUser Get User

		get detailed information of a user of a mongodb 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)

	/*
		ListAdvisorSlowQueries Get slow queries

		gets slow queries from the Opsmanager performance advisor

		@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 ApiListAdvisorSlowQueriesRequest
	*/
	ListAdvisorSlowQueries(ctx context.Context, projectId string, instanceId string, region string) ApiListAdvisorSlowQueriesRequest

	// ListAdvisorSlowQueriesExecute executes the request
	//  @return HandlersInstancesSlowQueriesResponse
	ListAdvisorSlowQueriesExecute(r ApiListAdvisorSlowQueriesRequest) (*HandlersInstancesSlowQueriesResponse, error)

	/*
		ListBackups List backup

		List backups of 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 ApiListBackupsRequest
	*/
	ListBackups(ctx context.Context, projectId string, instanceId string, region string) ApiListBackupsRequest

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

	/*
		ListFlavors Flavors

		returns all possible flavors

		@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 all instances for a 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 ApiListInstancesRequest
	*/
	ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest

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

	/*
		ListMetrics Metrics

		returns metrics 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 metric metric type
		@param region The region which should be addressed
		@return ApiListMetricsRequest
	*/
	ListMetrics(ctx context.Context, projectId string, instanceId string, metric string, region string) ApiListMetricsRequest

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

	/*
		ListRestoreJobs List restore jobs

		List restore jobs of 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 ApiListRestoreJobsRequest
	*/
	ListRestoreJobs(ctx context.Context, projectId string, instanceId string, region string) ApiListRestoreJobsRequest

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

	/*
		ListStorages Get storage

		returns the storage for a certain flavor

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

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

	/*
		ListSuggestedIndexes Get suggested indexes

		gets suggested indexes from the Opsmanager performance advisor

		@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 ApiListSuggestedIndexesRequest
	*/
	ListSuggestedIndexes(ctx context.Context, projectId string, instanceId string, region string) ApiListSuggestedIndexesRequest

	// ListSuggestedIndexesExecute executes the request
	//  @return HandlersInstancesSuggestedIndexesResponse
	ListSuggestedIndexesExecute(r ApiListSuggestedIndexesRequest) (*HandlersInstancesSuggestedIndexesResponse, error)

	/*
		ListUsers List Users

		list all users for a mongodb 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

		returns all available versions for creating endpoint

		@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 Patch endpoint

		Updates a deployment plan<br/> Note that the time format for the backupSchedule is in UTC

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

	/*
		PartialUpdateUser Update User

		updates user for a mongodb 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 ApiPartialUpdateUserRequest
	*/
	PartialUpdateUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiPartialUpdateUserRequest

	// PartialUpdateUserExecute executes the request
	PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error

	/*
		ResetUser Reset User

		resets mongodb user's password

		@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 User
	ResetUserExecute(r ApiResetUserRequest) (*User, error)

	/*
		RestoreInstance Restore instance

		Restore an instance based on snapshot

		@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 ApiRestoreInstanceRequest
	*/
	RestoreInstance(ctx context.Context, projectId string, instanceId string, region string) ApiRestoreInstanceRequest

	// RestoreInstanceExecute executes the request
	//  @return RestoreInstanceResponse
	RestoreInstanceExecute(r ApiRestoreInstanceRequest) (*RestoreInstanceResponse, error)

	/*
		UpdateBackupSchedule Update schedule

		Updates a backup schedule<br/> Note that the time format is in UTC

		@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 ApiUpdateBackupScheduleRequest
	*/
	UpdateBackupSchedule(ctx context.Context, projectId string, instanceId string, region string) ApiUpdateBackupScheduleRequest

	// UpdateBackupScheduleExecute executes the request
	//  @return BackupSchedule
	UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)

	/*
		UpdateInstance Put endpoint

		Updates a deployment plan<br/> Note that the time format for the backupSchedule is in UTC

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

	/*
		UpdateUser Update User

		updates user for a mongodb 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 ApiUpdateUserRequest
	*/
	UpdateUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiUpdateUserRequest

	// UpdateUserExecute executes the request
	UpdateUserExecute(r ApiUpdateUserRequest) error
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CloneInstance

func (a *DefaultAPIService) CloneInstance(ctx context.Context, projectId string, instanceId string, region string) ApiCloneInstanceRequest

CloneInstance Clone instance

Clone an instance via PIT restore<br/> Note that the Timestamp is a RFC3339 standard and uses by default UTC time format<br/> As an example a valid timestamp look like "2023-04-20T15:05:15Z"

@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 ApiCloneInstanceRequest

func (*DefaultAPIService) CloneInstanceExecute

Execute executes the request

@return CloneInstanceResponse

func (*DefaultAPIService) CreateInstance

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

CreateInstance Create instance

Create and deploys an instance<br/> Note that the time format for the backupSchedule is in UTC

@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 a new user for a mongodb 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) DeleteInstance

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

DeleteInstance Delete instance

removes 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 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 mongodb 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 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 backup

Get details about a specific 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) GetInstance

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

GetInstance Get instance

gets information of 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 ApiGetInstanceRequest

func (*DefaultAPIService) GetInstanceExecute

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

Execute executes the request

@return InstanceResponse

func (*DefaultAPIService) GetUser

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

GetUser Get User

get detailed information of a user of a mongodb 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) ListAdvisorSlowQueries

func (a *DefaultAPIService) ListAdvisorSlowQueries(ctx context.Context, projectId string, instanceId string, region string) ApiListAdvisorSlowQueriesRequest

ListAdvisorSlowQueries Get slow queries

gets slow queries from the Opsmanager performance advisor

@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 ApiListAdvisorSlowQueriesRequest

func (*DefaultAPIService) ListAdvisorSlowQueriesExecute

Execute executes the request

@return HandlersInstancesSlowQueriesResponse

func (*DefaultAPIService) ListBackups

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

ListBackups List backup

List backups of 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 ApiListBackupsRequest

func (*DefaultAPIService) ListBackupsExecute

Execute executes the request

@return ListBackupsResponse

func (*DefaultAPIService) ListFlavors

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

ListFlavors Flavors

returns all possible flavors

@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 all instances for a 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 ApiListInstancesRequest

func (*DefaultAPIService) ListInstancesExecute

Execute executes the request

@return ListInstancesResponse

func (*DefaultAPIService) ListMetrics

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

ListMetrics Metrics

returns metrics 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 metric metric type
@param region The region which should be addressed
@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 restore jobs

List restore jobs of 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 ApiListRestoreJobsRequest

func (*DefaultAPIService) ListRestoreJobsExecute

Execute executes the request

@return ListRestoreJobsResponse

func (*DefaultAPIService) ListStorages

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

ListStorages Get storage

returns the storage for a certain flavor

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

func (*DefaultAPIService) ListStoragesExecute

Execute executes the request

@return ListStoragesResponse

func (*DefaultAPIService) ListSuggestedIndexes

func (a *DefaultAPIService) ListSuggestedIndexes(ctx context.Context, projectId string, instanceId string, region string) ApiListSuggestedIndexesRequest

ListSuggestedIndexes Get suggested indexes

gets suggested indexes from the Opsmanager performance advisor

@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 ApiListSuggestedIndexesRequest

func (*DefaultAPIService) ListSuggestedIndexesExecute

Execute executes the request

@return HandlersInstancesSuggestedIndexesResponse

func (*DefaultAPIService) ListUsers

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

ListUsers List Users

list all users for a mongodb 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

returns all available versions for creating endpoint

@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 Patch endpoint

Updates a deployment plan<br/> Note that the time format for the backupSchedule is in UTC

@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) PartialUpdateUser

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

PartialUpdateUser Update User

updates user for a mongodb 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 ApiPartialUpdateUserRequest

func (*DefaultAPIService) PartialUpdateUserExecute

func (a *DefaultAPIService) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error

Execute executes the request

func (*DefaultAPIService) ResetUser

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

ResetUser Reset User

resets mongodb user's password

@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) (*User, error)

Execute executes the request

@return User

func (*DefaultAPIService) RestoreInstance

func (a *DefaultAPIService) RestoreInstance(ctx context.Context, projectId string, instanceId string, region string) ApiRestoreInstanceRequest

RestoreInstance Restore instance

Restore an instance based on snapshot

@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 ApiRestoreInstanceRequest

func (*DefaultAPIService) RestoreInstanceExecute

Execute executes the request

@return RestoreInstanceResponse

func (*DefaultAPIService) UpdateBackupSchedule

func (a *DefaultAPIService) UpdateBackupSchedule(ctx context.Context, projectId string, instanceId string, region string) ApiUpdateBackupScheduleRequest

UpdateBackupSchedule Update schedule

Updates a backup schedule<br/> Note that the time format is in UTC

@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 ApiUpdateBackupScheduleRequest

func (*DefaultAPIService) UpdateBackupScheduleExecute

func (a *DefaultAPIService) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)

Execute executes the request

@return BackupSchedule

func (*DefaultAPIService) UpdateInstance

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

UpdateInstance Put endpoint

Updates a deployment plan<br/> Note that the time format for the backupSchedule is in UTC

@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

func (*DefaultAPIService) UpdateUser

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

UpdateUser Update User

updates user for a mongodb 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 ApiUpdateUserRequest

func (*DefaultAPIService) UpdateUserExecute

func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error

Execute executes the request

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CloneInstanceExecuteMock can be populated to implement the behavior of the CloneInstanceExecute function of this mock
	CloneInstanceExecuteMock *func(r ApiCloneInstanceRequest) (*CloneInstanceResponse, 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)
	// 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)
	// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
	GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*InstanceResponse, error)
	// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
	GetUserExecuteMock *func(r ApiGetUserRequest) (*GetUserResponse, error)
	// ListAdvisorSlowQueriesExecuteMock can be populated to implement the behavior of the ListAdvisorSlowQueriesExecute function of this mock
	ListAdvisorSlowQueriesExecuteMock *func(r ApiListAdvisorSlowQueriesRequest) (*HandlersInstancesSlowQueriesResponse, error)
	// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
	ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*ListBackupsResponse, 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)
	// ListStoragesExecuteMock can be populated to implement the behavior of the ListStoragesExecute function of this mock
	ListStoragesExecuteMock *func(r ApiListStoragesRequest) (*ListStoragesResponse, error)
	// ListSuggestedIndexesExecuteMock can be populated to implement the behavior of the ListSuggestedIndexesExecute function of this mock
	ListSuggestedIndexesExecuteMock *func(r ApiListSuggestedIndexesRequest) (*HandlersInstancesSuggestedIndexesResponse, 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)
	// PartialUpdateUserExecuteMock can be populated to implement the behavior of the PartialUpdateUserExecute function of this mock
	PartialUpdateUserExecuteMock *func(r ApiPartialUpdateUserRequest) error
	// ResetUserExecuteMock can be populated to implement the behavior of the ResetUserExecute function of this mock
	ResetUserExecuteMock *func(r ApiResetUserRequest) (*User, error)
	// RestoreInstanceExecuteMock can be populated to implement the behavior of the RestoreInstanceExecute function of this mock
	RestoreInstanceExecuteMock *func(r ApiRestoreInstanceRequest) (*RestoreInstanceResponse, error)
	// UpdateBackupScheduleExecuteMock can be populated to implement the behavior of the UpdateBackupScheduleExecute function of this mock
	UpdateBackupScheduleExecuteMock *func(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
	// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
	UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
	// UpdateUserExecuteMock can be populated to implement the behavior of the UpdateUserExecute function of this mock
	UpdateUserExecuteMock *func(r ApiUpdateUserRequest) 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) CloneInstance

func (a DefaultAPIServiceMock) CloneInstance(ctx context.Context, projectId string, instanceId string, region string) ApiCloneInstanceRequest

func (DefaultAPIServiceMock) CloneInstanceExecute

CloneInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CloneInstanceExecuteMock 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) 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) 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) ListAdvisorSlowQueries

func (a DefaultAPIServiceMock) ListAdvisorSlowQueries(ctx context.Context, projectId string, instanceId string, region string) ApiListAdvisorSlowQueriesRequest

func (DefaultAPIServiceMock) ListAdvisorSlowQueriesExecute

ListAdvisorSlowQueriesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAdvisorSlowQueriesExecuteMock 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) 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, metric string, region 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) ListStorages

func (a DefaultAPIServiceMock) ListStorages(ctx context.Context, projectId string, flavor 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) ListSuggestedIndexes

func (a DefaultAPIServiceMock) ListSuggestedIndexes(ctx context.Context, projectId string, instanceId string, region string) ApiListSuggestedIndexesRequest

func (DefaultAPIServiceMock) ListSuggestedIndexesExecute

ListSuggestedIndexesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSuggestedIndexesExecuteMock 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) PartialUpdateUser

func (a DefaultAPIServiceMock) PartialUpdateUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiPartialUpdateUserRequest

func (DefaultAPIServiceMock) PartialUpdateUserExecute

func (a DefaultAPIServiceMock) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error

PartialUpdateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateUserExecuteMock 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

func (a DefaultAPIServiceMock) ResetUserExecute(r ApiResetUserRequest) (*User, error)

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

func (a DefaultAPIServiceMock) RestoreInstance(ctx context.Context, projectId string, instanceId string, region string) ApiRestoreInstanceRequest

func (DefaultAPIServiceMock) RestoreInstanceExecute

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

func (DefaultAPIServiceMock) UpdateBackupSchedule

func (a DefaultAPIServiceMock) UpdateBackupSchedule(ctx context.Context, projectId string, instanceId string, region string) ApiUpdateBackupScheduleRequest

func (DefaultAPIServiceMock) UpdateBackupScheduleExecute

func (a DefaultAPIServiceMock) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)

UpdateBackupScheduleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateBackupScheduleExecuteMock 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.

func (DefaultAPIServiceMock) UpdateUser

func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string, region string) ApiUpdateUserRequest

func (DefaultAPIServiceMock) UpdateUserExecute

func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error

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

type Error

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

Error struct for Error

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetCode

func (o *Error) GetCode() int32

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

func (*Error) GetCodeOk

func (o *Error) 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 (*Error) GetFields

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

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

func (*Error) GetFieldsOk

func (o *Error) 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 (*Error) GetMessage

func (o *Error) GetMessage() string

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

func (*Error) GetMessageOk

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

func (o *Error) GetType() string

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

func (*Error) GetTypeOk

func (o *Error) GetTypeOk() (*string, 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 (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasFields

func (o *Error) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*Error) HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error) HasType

func (o *Error) HasType() bool

HasType returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCode

func (o *Error) SetCode(v int32)

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

func (*Error) SetFields

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

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

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

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

func (*Error) SetType

func (o *Error) SetType(v string)

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

func (Error) ToMap

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

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 {
	Item *Backup `json:"item,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) GetItem

func (o *GetBackupResponse) GetItem() Backup

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

func (*GetBackupResponse) GetItemOk

func (o *GetBackupResponse) GetItemOk() (*Backup, 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 (*GetBackupResponse) HasItem

func (o *GetBackupResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (GetBackupResponse) MarshalJSON

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

func (*GetBackupResponse) SetItem

func (o *GetBackupResponse) SetItem(v Backup)

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

func (GetBackupResponse) ToMap

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

type GetUserResponse

type GetUserResponse struct {
	Item *InstanceResponseUser `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

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

func (*GetUserResponse) GetItemOk

func (o *GetUserResponse) GetItemOk() (*InstanceResponseUser, 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 InstanceResponseUser)

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

func (GetUserResponse) ToMap

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

type HandlersInstancesSlowQueriesResponse

type HandlersInstancesSlowQueriesResponse struct {
	// A list of documents with information about slow queries as detected by the Performance Advisor.
	SlowQueries []SlowQuery `json:"slowQueries,omitempty"`
}

HandlersInstancesSlowQueriesResponse struct for HandlersInstancesSlowQueriesResponse

func NewHandlersInstancesSlowQueriesResponse

func NewHandlersInstancesSlowQueriesResponse() *HandlersInstancesSlowQueriesResponse

NewHandlersInstancesSlowQueriesResponse instantiates a new HandlersInstancesSlowQueriesResponse 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 NewHandlersInstancesSlowQueriesResponseWithDefaults

func NewHandlersInstancesSlowQueriesResponseWithDefaults() *HandlersInstancesSlowQueriesResponse

NewHandlersInstancesSlowQueriesResponseWithDefaults instantiates a new HandlersInstancesSlowQueriesResponse 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 (*HandlersInstancesSlowQueriesResponse) GetSlowQueries

func (o *HandlersInstancesSlowQueriesResponse) GetSlowQueries() []SlowQuery

GetSlowQueries returns the SlowQueries field value if set, zero value otherwise.

func (*HandlersInstancesSlowQueriesResponse) GetSlowQueriesOk

func (o *HandlersInstancesSlowQueriesResponse) GetSlowQueriesOk() ([]SlowQuery, bool)

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

func (*HandlersInstancesSlowQueriesResponse) HasSlowQueries

func (o *HandlersInstancesSlowQueriesResponse) HasSlowQueries() bool

HasSlowQueries returns a boolean if a field has been set.

func (HandlersInstancesSlowQueriesResponse) MarshalJSON

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

func (*HandlersInstancesSlowQueriesResponse) SetSlowQueries

func (o *HandlersInstancesSlowQueriesResponse) SetSlowQueries(v []SlowQuery)

SetSlowQueries gets a reference to the given []SlowQuery and assigns it to the SlowQueries field.

func (HandlersInstancesSlowQueriesResponse) ToMap

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

type HandlersInstancesSuggestedIndexesResponse

type HandlersInstancesSuggestedIndexesResponse struct {
	// Documents with information about the query shapes that are served by the suggested indexes.
	Shapes []Shape `json:"shapes,omitempty"`
	// Documents with information about the indexes suggested by the Performance Advisor.
	SuggestedIndexes []SuggestedIndex `json:"suggestedIndexes,omitempty"`
}

HandlersInstancesSuggestedIndexesResponse struct for HandlersInstancesSuggestedIndexesResponse

func NewHandlersInstancesSuggestedIndexesResponse

func NewHandlersInstancesSuggestedIndexesResponse() *HandlersInstancesSuggestedIndexesResponse

NewHandlersInstancesSuggestedIndexesResponse instantiates a new HandlersInstancesSuggestedIndexesResponse 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 NewHandlersInstancesSuggestedIndexesResponseWithDefaults

func NewHandlersInstancesSuggestedIndexesResponseWithDefaults() *HandlersInstancesSuggestedIndexesResponse

NewHandlersInstancesSuggestedIndexesResponseWithDefaults instantiates a new HandlersInstancesSuggestedIndexesResponse 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 (*HandlersInstancesSuggestedIndexesResponse) GetShapes

GetShapes returns the Shapes field value if set, zero value otherwise.

func (*HandlersInstancesSuggestedIndexesResponse) GetShapesOk

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

func (*HandlersInstancesSuggestedIndexesResponse) GetSuggestedIndexes

func (o *HandlersInstancesSuggestedIndexesResponse) GetSuggestedIndexes() []SuggestedIndex

GetSuggestedIndexes returns the SuggestedIndexes field value if set, zero value otherwise.

func (*HandlersInstancesSuggestedIndexesResponse) GetSuggestedIndexesOk

func (o *HandlersInstancesSuggestedIndexesResponse) GetSuggestedIndexesOk() ([]SuggestedIndex, bool)

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

func (*HandlersInstancesSuggestedIndexesResponse) HasShapes

HasShapes returns a boolean if a field has been set.

func (*HandlersInstancesSuggestedIndexesResponse) HasSuggestedIndexes

func (o *HandlersInstancesSuggestedIndexesResponse) HasSuggestedIndexes() bool

HasSuggestedIndexes returns a boolean if a field has been set.

func (HandlersInstancesSuggestedIndexesResponse) MarshalJSON

func (*HandlersInstancesSuggestedIndexesResponse) SetShapes

SetShapes gets a reference to the given []Shape and assigns it to the Shapes field.

func (*HandlersInstancesSuggestedIndexesResponse) SetSuggestedIndexes

func (o *HandlersInstancesSuggestedIndexesResponse) SetSuggestedIndexes(v []SuggestedIndex)

SetSuggestedIndexes gets a reference to the given []SuggestedIndex and assigns it to the SuggestedIndexes field.

func (HandlersInstancesSuggestedIndexesResponse) ToMap

func (o HandlersInstancesSuggestedIndexesResponse) 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"`
	// The current status of the instance.
	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 InstanceFlavor

type InstanceFlavor 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"`
}

InstanceFlavor struct for InstanceFlavor

func NewInstanceFlavor

func NewInstanceFlavor() *InstanceFlavor

NewInstanceFlavor instantiates a new InstanceFlavor 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 NewInstanceFlavorWithDefaults

func NewInstanceFlavorWithDefaults() *InstanceFlavor

NewInstanceFlavorWithDefaults instantiates a new InstanceFlavor 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 (*InstanceFlavor) GetCategories

func (o *InstanceFlavor) GetCategories() []string

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

func (*InstanceFlavor) GetCategoriesOk

func (o *InstanceFlavor) 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 (*InstanceFlavor) GetCpu

func (o *InstanceFlavor) GetCpu() int32

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

func (*InstanceFlavor) GetCpuOk

func (o *InstanceFlavor) 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 (*InstanceFlavor) GetDescription

func (o *InstanceFlavor) GetDescription() string

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

func (*InstanceFlavor) GetDescriptionOk

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

func (o *InstanceFlavor) GetId() string

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

func (*InstanceFlavor) GetIdOk

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

func (o *InstanceFlavor) GetMemory() int32

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

func (*InstanceFlavor) GetMemoryOk

func (o *InstanceFlavor) 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 (*InstanceFlavor) HasCategories

func (o *InstanceFlavor) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*InstanceFlavor) HasCpu

func (o *InstanceFlavor) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*InstanceFlavor) HasDescription

func (o *InstanceFlavor) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*InstanceFlavor) HasId

func (o *InstanceFlavor) HasId() bool

HasId returns a boolean if a field has been set.

func (*InstanceFlavor) HasMemory

func (o *InstanceFlavor) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (InstanceFlavor) MarshalJSON

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

func (*InstanceFlavor) SetCategories

func (o *InstanceFlavor) SetCategories(v []string)

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

func (*InstanceFlavor) SetCpu

func (o *InstanceFlavor) SetCpu(v int32)

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

func (*InstanceFlavor) SetDescription

func (o *InstanceFlavor) SetDescription(v string)

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

func (*InstanceFlavor) SetId

func (o *InstanceFlavor) SetId(v string)

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

func (*InstanceFlavor) SetMemory

func (o *InstanceFlavor) SetMemory(v int32)

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

func (InstanceFlavor) ToMap

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

type InstanceListInstance

type InstanceListInstance struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	// The current status of the instance.
	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 InstanceResponse

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

InstanceResponse struct for InstanceResponse

func NewInstanceResponse

func NewInstanceResponse() *InstanceResponse

NewInstanceResponse instantiates a new InstanceResponse 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 NewInstanceResponseWithDefaults

func NewInstanceResponseWithDefaults() *InstanceResponse

NewInstanceResponseWithDefaults instantiates a new InstanceResponse 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 (*InstanceResponse) GetItem

func (o *InstanceResponse) GetItem() Instance

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

func (*InstanceResponse) GetItemOk

func (o *InstanceResponse) 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 (*InstanceResponse) HasItem

func (o *InstanceResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (InstanceResponse) MarshalJSON

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

func (*InstanceResponse) SetItem

func (o *InstanceResponse) SetItem(v Instance)

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

func (InstanceResponse) ToMap

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

type InstanceResponseUser

type InstanceResponseUser struct {
	Database *string `json:"database,omitempty"`
	Host     *string `json:"host,omitempty"`
	Id       *string `json:"id,omitempty"`
	Port     *int64  `json:"port,omitempty"`
	// The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**
	Roles    []string `json:"roles,omitempty"`
	Username *string  `json:"username,omitempty"`
}

InstanceResponseUser struct for InstanceResponseUser

func NewInstanceResponseUser

func NewInstanceResponseUser() *InstanceResponseUser

NewInstanceResponseUser instantiates a new InstanceResponseUser 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 NewInstanceResponseUserWithDefaults

func NewInstanceResponseUserWithDefaults() *InstanceResponseUser

NewInstanceResponseUserWithDefaults instantiates a new InstanceResponseUser 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 (*InstanceResponseUser) GetDatabase

func (o *InstanceResponseUser) GetDatabase() string

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

func (*InstanceResponseUser) GetDatabaseOk

func (o *InstanceResponseUser) 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 (*InstanceResponseUser) GetHost

func (o *InstanceResponseUser) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*InstanceResponseUser) GetHostOk

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

func (o *InstanceResponseUser) GetId() string

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

func (*InstanceResponseUser) GetIdOk

func (o *InstanceResponseUser) 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 (*InstanceResponseUser) GetPort

func (o *InstanceResponseUser) GetPort() int64

GetPort returns the Port field value if set, zero value otherwise.

func (*InstanceResponseUser) GetPortOk

func (o *InstanceResponseUser) 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 (*InstanceResponseUser) GetRoles

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

GetRoles returns the Roles field value if set, zero value otherwise.

func (*InstanceResponseUser) GetRolesOk

func (o *InstanceResponseUser) 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 (*InstanceResponseUser) GetUsername

func (o *InstanceResponseUser) GetUsername() string

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

func (*InstanceResponseUser) GetUsernameOk

func (o *InstanceResponseUser) 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 (*InstanceResponseUser) HasDatabase

func (o *InstanceResponseUser) HasDatabase() bool

HasDatabase returns a boolean if a field has been set.

func (*InstanceResponseUser) HasHost

func (o *InstanceResponseUser) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*InstanceResponseUser) HasId

func (o *InstanceResponseUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*InstanceResponseUser) HasPort

func (o *InstanceResponseUser) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*InstanceResponseUser) HasRoles

func (o *InstanceResponseUser) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*InstanceResponseUser) HasUsername

func (o *InstanceResponseUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (InstanceResponseUser) MarshalJSON

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

func (*InstanceResponseUser) SetDatabase

func (o *InstanceResponseUser) SetDatabase(v string)

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

func (*InstanceResponseUser) SetHost

func (o *InstanceResponseUser) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*InstanceResponseUser) SetId

func (o *InstanceResponseUser) SetId(v string)

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

func (*InstanceResponseUser) SetPort

func (o *InstanceResponseUser) SetPort(v int64)

SetPort gets a reference to the given int64 and assigns it to the Port field.

func (*InstanceResponseUser) SetRoles

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

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*InstanceResponseUser) SetUsername

func (o *InstanceResponseUser) SetUsername(v string)

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

func (InstanceResponseUser) ToMap

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

type ListBackupsResponse

type ListBackupsResponse struct {
	Count *int64   `json:"count,omitempty"`
	Items []Backup `json:"items,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) GetCount

func (o *ListBackupsResponse) GetCount() int64

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

func (*ListBackupsResponse) GetCountOk

func (o *ListBackupsResponse) 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 (*ListBackupsResponse) GetItems

func (o *ListBackupsResponse) GetItems() []Backup

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

func (*ListBackupsResponse) GetItemsOk

func (o *ListBackupsResponse) GetItemsOk() ([]Backup, 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 (*ListBackupsResponse) HasCount

func (o *ListBackupsResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ListBackupsResponse) HasItems

func (o *ListBackupsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListBackupsResponse) MarshalJSON

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

func (*ListBackupsResponse) SetCount

func (o *ListBackupsResponse) SetCount(v int64)

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

func (*ListBackupsResponse) SetItems

func (o *ListBackupsResponse) SetItems(v []Backup)

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

func (ListBackupsResponse) ToMap

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

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors []InstanceFlavor `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() []InstanceFlavor

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

func (*ListFlavorsResponse) GetFlavorsOk

func (o *ListFlavorsResponse) GetFlavorsOk() ([]InstanceFlavor, 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 []InstanceFlavor)

SetFlavors gets a reference to the given []InstanceFlavor 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 {
	Items []RestoreInstanceStatus `json:"items,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) GetItems

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

func (*ListRestoreJobsResponse) GetItemsOk

func (o *ListRestoreJobsResponse) GetItemsOk() ([]RestoreInstanceStatus, 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 (*ListRestoreJobsResponse) HasItems

func (o *ListRestoreJobsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListRestoreJobsResponse) MarshalJSON

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

func (*ListRestoreJobsResponse) SetItems

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

func (ListRestoreJobsResponse) ToMap

func (o ListRestoreJobsResponse) 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 ListUser

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

ListUser struct for ListUser

func NewListUser

func NewListUser() *ListUser

NewListUser instantiates a new ListUser 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 NewListUserWithDefaults

func NewListUserWithDefaults() *ListUser

NewListUserWithDefaults instantiates a new ListUser 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 (*ListUser) GetId

func (o *ListUser) GetId() string

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

func (*ListUser) GetIdOk

func (o *ListUser) 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 (*ListUser) GetUsername

func (o *ListUser) GetUsername() string

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

func (*ListUser) GetUsernameOk

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

func (o *ListUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*ListUser) HasUsername

func (o *ListUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ListUser) MarshalJSON

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

func (*ListUser) SetId

func (o *ListUser) SetId(v string)

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

func (*ListUser) SetUsername

func (o *ListUser) SetUsername(v string)

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

func (ListUser) ToMap

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

type ListUsersResponse

type ListUsersResponse struct {
	Count *int64     `json:"count,omitempty"`
	Items []ListUser `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() []ListUser

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

func (*ListUsersResponse) GetItemsOk

func (o *ListUsersResponse) GetItemsOk() ([]ListUser, 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 []ListUser)

SetItems gets a reference to the given []ListUser 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 MongodbatlasOperation

type MongodbatlasOperation struct {
	// Documents containing the search criteria used by the query.
	Predicates []map[string]interface{} `json:"predicates,omitempty"`
	// Raw log line produced by the query.
	Raw *string `json:"raw,omitempty"`
	// Query statistics.
	Stats *MongodbatlasStats `json:"stats,omitempty"`
}

MongodbatlasOperation struct for MongodbatlasOperation

func NewMongodbatlasOperation

func NewMongodbatlasOperation() *MongodbatlasOperation

NewMongodbatlasOperation instantiates a new MongodbatlasOperation 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 NewMongodbatlasOperationWithDefaults

func NewMongodbatlasOperationWithDefaults() *MongodbatlasOperation

NewMongodbatlasOperationWithDefaults instantiates a new MongodbatlasOperation 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 (*MongodbatlasOperation) GetPredicates

func (o *MongodbatlasOperation) GetPredicates() []map[string]interface{}

GetPredicates returns the Predicates field value if set, zero value otherwise.

func (*MongodbatlasOperation) GetPredicatesOk

func (o *MongodbatlasOperation) GetPredicatesOk() ([]map[string]interface{}, bool)

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

func (*MongodbatlasOperation) GetRaw

func (o *MongodbatlasOperation) GetRaw() string

GetRaw returns the Raw field value if set, zero value otherwise.

func (*MongodbatlasOperation) GetRawOk

func (o *MongodbatlasOperation) GetRawOk() (*string, bool)

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

func (*MongodbatlasOperation) GetStats

GetStats returns the Stats field value if set, zero value otherwise.

func (*MongodbatlasOperation) GetStatsOk

func (o *MongodbatlasOperation) GetStatsOk() (*MongodbatlasStats, bool)

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

func (*MongodbatlasOperation) HasPredicates

func (o *MongodbatlasOperation) HasPredicates() bool

HasPredicates returns a boolean if a field has been set.

func (*MongodbatlasOperation) HasRaw

func (o *MongodbatlasOperation) HasRaw() bool

HasRaw returns a boolean if a field has been set.

func (*MongodbatlasOperation) HasStats

func (o *MongodbatlasOperation) HasStats() bool

HasStats returns a boolean if a field has been set.

func (MongodbatlasOperation) MarshalJSON

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

func (*MongodbatlasOperation) SetPredicates

func (o *MongodbatlasOperation) SetPredicates(v []map[string]interface{})

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

func (*MongodbatlasOperation) SetRaw

func (o *MongodbatlasOperation) SetRaw(v string)

SetRaw gets a reference to the given string and assigns it to the Raw field.

func (*MongodbatlasOperation) SetStats

SetStats gets a reference to the given MongodbatlasStats and assigns it to the Stats field.

func (MongodbatlasOperation) ToMap

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

type MongodbatlasStats

type MongodbatlasStats struct {
	// Duration in milliseconds of the query.
	Ms *float32 `json:"ms,omitempty"`
	// Number of results returned by the query.
	NReturned *int64 `json:"nReturned,omitempty"`
	// Number of documents read by the query.
	NScanned *int64 `json:"nScanned,omitempty"`
	// Query timestamp, in seconds since epoch.
	Ts *int64 `json:"ts,omitempty"`
}

MongodbatlasStats struct for MongodbatlasStats

func NewMongodbatlasStats

func NewMongodbatlasStats() *MongodbatlasStats

NewMongodbatlasStats instantiates a new MongodbatlasStats 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 NewMongodbatlasStatsWithDefaults

func NewMongodbatlasStatsWithDefaults() *MongodbatlasStats

NewMongodbatlasStatsWithDefaults instantiates a new MongodbatlasStats 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 (*MongodbatlasStats) GetMs

func (o *MongodbatlasStats) GetMs() float32

GetMs returns the Ms field value if set, zero value otherwise.

func (*MongodbatlasStats) GetMsOk

func (o *MongodbatlasStats) GetMsOk() (*float32, bool)

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

func (*MongodbatlasStats) GetNReturned

func (o *MongodbatlasStats) GetNReturned() int64

GetNReturned returns the NReturned field value if set, zero value otherwise.

func (*MongodbatlasStats) GetNReturnedOk

func (o *MongodbatlasStats) GetNReturnedOk() (*int64, bool)

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

func (*MongodbatlasStats) GetNScanned

func (o *MongodbatlasStats) GetNScanned() int64

GetNScanned returns the NScanned field value if set, zero value otherwise.

func (*MongodbatlasStats) GetNScannedOk

func (o *MongodbatlasStats) GetNScannedOk() (*int64, bool)

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

func (*MongodbatlasStats) GetTs

func (o *MongodbatlasStats) GetTs() int64

GetTs returns the Ts field value if set, zero value otherwise.

func (*MongodbatlasStats) GetTsOk

func (o *MongodbatlasStats) GetTsOk() (*int64, bool)

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

func (*MongodbatlasStats) HasMs

func (o *MongodbatlasStats) HasMs() bool

HasMs returns a boolean if a field has been set.

func (*MongodbatlasStats) HasNReturned

func (o *MongodbatlasStats) HasNReturned() bool

HasNReturned returns a boolean if a field has been set.

func (*MongodbatlasStats) HasNScanned

func (o *MongodbatlasStats) HasNScanned() bool

HasNScanned returns a boolean if a field has been set.

func (*MongodbatlasStats) HasTs

func (o *MongodbatlasStats) HasTs() bool

HasTs returns a boolean if a field has been set.

func (MongodbatlasStats) MarshalJSON

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

func (*MongodbatlasStats) SetMs

func (o *MongodbatlasStats) SetMs(v float32)

SetMs gets a reference to the given float32 and assigns it to the Ms field.

func (*MongodbatlasStats) SetNReturned

func (o *MongodbatlasStats) SetNReturned(v int64)

SetNReturned gets a reference to the given int64 and assigns it to the NReturned field.

func (*MongodbatlasStats) SetNScanned

func (o *MongodbatlasStats) SetNScanned(v int64)

SetNScanned gets a reference to the given int64 and assigns it to the NScanned field.

func (*MongodbatlasStats) SetTs

func (o *MongodbatlasStats) SetTs(v int64)

SetTs gets a reference to the given int64 and assigns it to the Ts field.

func (MongodbatlasStats) ToMap

func (o MongodbatlasStats) 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 NullableBackupSchedule

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

func NewNullableBackupSchedule

func NewNullableBackupSchedule(val *BackupSchedule) *NullableBackupSchedule

func (NullableBackupSchedule) Get

func (NullableBackupSchedule) IsSet

func (v NullableBackupSchedule) IsSet() bool

func (NullableBackupSchedule) MarshalJSON

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

func (*NullableBackupSchedule) Set

func (*NullableBackupSchedule) UnmarshalJSON

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

func (*NullableBackupSchedule) Unset

func (v *NullableBackupSchedule) 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 NullableCloneInstancePayload

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

func NewNullableCloneInstancePayload

func NewNullableCloneInstancePayload(val *CloneInstancePayload) *NullableCloneInstancePayload

func (NullableCloneInstancePayload) Get

func (NullableCloneInstancePayload) IsSet

func (NullableCloneInstancePayload) MarshalJSON

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

func (*NullableCloneInstancePayload) Set

func (*NullableCloneInstancePayload) UnmarshalJSON

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

func (*NullableCloneInstancePayload) Unset

func (v *NullableCloneInstancePayload) Unset()

type NullableCloneInstanceResponse

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

func (NullableCloneInstanceResponse) Get

func (NullableCloneInstanceResponse) IsSet

func (NullableCloneInstanceResponse) MarshalJSON

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

func (*NullableCloneInstanceResponse) Set

func (*NullableCloneInstanceResponse) UnmarshalJSON

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

func (*NullableCloneInstanceResponse) Unset

func (v *NullableCloneInstanceResponse) 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 NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) 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 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 NullableHandlersInstancesSlowQueriesResponse

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

func (NullableHandlersInstancesSlowQueriesResponse) Get

func (NullableHandlersInstancesSlowQueriesResponse) IsSet

func (NullableHandlersInstancesSlowQueriesResponse) MarshalJSON

func (*NullableHandlersInstancesSlowQueriesResponse) Set

func (*NullableHandlersInstancesSlowQueriesResponse) UnmarshalJSON

func (*NullableHandlersInstancesSlowQueriesResponse) Unset

type NullableHandlersInstancesSuggestedIndexesResponse

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

func (NullableHandlersInstancesSuggestedIndexesResponse) Get

func (NullableHandlersInstancesSuggestedIndexesResponse) IsSet

func (NullableHandlersInstancesSuggestedIndexesResponse) MarshalJSON

func (*NullableHandlersInstancesSuggestedIndexesResponse) Set

func (*NullableHandlersInstancesSuggestedIndexesResponse) UnmarshalJSON

func (*NullableHandlersInstancesSuggestedIndexesResponse) 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 NullableInstanceFlavor

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

func NewNullableInstanceFlavor

func NewNullableInstanceFlavor(val *InstanceFlavor) *NullableInstanceFlavor

func (NullableInstanceFlavor) Get

func (NullableInstanceFlavor) IsSet

func (v NullableInstanceFlavor) IsSet() bool

func (NullableInstanceFlavor) MarshalJSON

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

func (*NullableInstanceFlavor) Set

func (*NullableInstanceFlavor) UnmarshalJSON

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

func (*NullableInstanceFlavor) Unset

func (v *NullableInstanceFlavor) 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 NullableInstanceResponse

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

func NewNullableInstanceResponse

func NewNullableInstanceResponse(val *InstanceResponse) *NullableInstanceResponse

func (NullableInstanceResponse) Get

func (NullableInstanceResponse) IsSet

func (v NullableInstanceResponse) IsSet() bool

func (NullableInstanceResponse) MarshalJSON

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

func (*NullableInstanceResponse) Set

func (*NullableInstanceResponse) UnmarshalJSON

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

func (*NullableInstanceResponse) Unset

func (v *NullableInstanceResponse) Unset()

type NullableInstanceResponseUser

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

func NewNullableInstanceResponseUser

func NewNullableInstanceResponseUser(val *InstanceResponseUser) *NullableInstanceResponseUser

func (NullableInstanceResponseUser) Get

func (NullableInstanceResponseUser) IsSet

func (NullableInstanceResponseUser) MarshalJSON

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

func (*NullableInstanceResponseUser) Set

func (*NullableInstanceResponseUser) UnmarshalJSON

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

func (*NullableInstanceResponseUser) Unset

func (v *NullableInstanceResponseUser) 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 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 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 NullableListUser

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

func NewNullableListUser

func NewNullableListUser(val *ListUser) *NullableListUser

func (NullableListUser) Get

func (v NullableListUser) Get() *ListUser

func (NullableListUser) IsSet

func (v NullableListUser) IsSet() bool

func (NullableListUser) MarshalJSON

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

func (*NullableListUser) Set

func (v *NullableListUser) Set(val *ListUser)

func (*NullableListUser) UnmarshalJSON

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

func (*NullableListUser) Unset

func (v *NullableListUser) 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 NullableMongodbatlasOperation

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

func (NullableMongodbatlasOperation) Get

func (NullableMongodbatlasOperation) IsSet

func (NullableMongodbatlasOperation) MarshalJSON

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

func (*NullableMongodbatlasOperation) Set

func (*NullableMongodbatlasOperation) UnmarshalJSON

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

func (*NullableMongodbatlasOperation) Unset

func (v *NullableMongodbatlasOperation) Unset()

type NullableMongodbatlasStats

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

func NewNullableMongodbatlasStats

func NewNullableMongodbatlasStats(val *MongodbatlasStats) *NullableMongodbatlasStats

func (NullableMongodbatlasStats) Get

func (NullableMongodbatlasStats) IsSet

func (v NullableMongodbatlasStats) IsSet() bool

func (NullableMongodbatlasStats) MarshalJSON

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

func (*NullableMongodbatlasStats) Set

func (*NullableMongodbatlasStats) UnmarshalJSON

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

func (*NullableMongodbatlasStats) Unset

func (v *NullableMongodbatlasStats) 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 NullablePartialUpdateUserPayload

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

func (NullablePartialUpdateUserPayload) Get

func (NullablePartialUpdateUserPayload) IsSet

func (NullablePartialUpdateUserPayload) MarshalJSON

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

func (*NullablePartialUpdateUserPayload) Set

func (*NullablePartialUpdateUserPayload) UnmarshalJSON

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

func (*NullablePartialUpdateUserPayload) Unset

type NullableRestoreInstancePayload

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

func (NullableRestoreInstancePayload) Get

func (NullableRestoreInstancePayload) IsSet

func (NullableRestoreInstancePayload) MarshalJSON

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

func (*NullableRestoreInstancePayload) Set

func (*NullableRestoreInstancePayload) UnmarshalJSON

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

func (*NullableRestoreInstancePayload) Unset

func (v *NullableRestoreInstancePayload) Unset()

type NullableRestoreInstanceResponse

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

func (NullableRestoreInstanceResponse) Get

func (NullableRestoreInstanceResponse) IsSet

func (NullableRestoreInstanceResponse) MarshalJSON

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

func (*NullableRestoreInstanceResponse) Set

func (*NullableRestoreInstanceResponse) UnmarshalJSON

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

func (*NullableRestoreInstanceResponse) Unset

type NullableRestoreInstanceStatus

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

func (NullableRestoreInstanceStatus) Get

func (NullableRestoreInstanceStatus) IsSet

func (NullableRestoreInstanceStatus) MarshalJSON

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

func (*NullableRestoreInstanceStatus) Set

func (*NullableRestoreInstanceStatus) UnmarshalJSON

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

func (*NullableRestoreInstanceStatus) Unset

func (v *NullableRestoreInstanceStatus) Unset()

type NullableShape

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

func NewNullableShape

func NewNullableShape(val *Shape) *NullableShape

func (NullableShape) Get

func (v NullableShape) Get() *Shape

func (NullableShape) IsSet

func (v NullableShape) IsSet() bool

func (NullableShape) MarshalJSON

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

func (*NullableShape) Set

func (v *NullableShape) Set(val *Shape)

func (*NullableShape) UnmarshalJSON

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

func (*NullableShape) Unset

func (v *NullableShape) Unset()

type NullableSlowQuery

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

func NewNullableSlowQuery

func NewNullableSlowQuery(val *SlowQuery) *NullableSlowQuery

func (NullableSlowQuery) Get

func (v NullableSlowQuery) Get() *SlowQuery

func (NullableSlowQuery) IsSet

func (v NullableSlowQuery) IsSet() bool

func (NullableSlowQuery) MarshalJSON

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

func (*NullableSlowQuery) Set

func (v *NullableSlowQuery) Set(val *SlowQuery)

func (*NullableSlowQuery) UnmarshalJSON

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

func (*NullableSlowQuery) Unset

func (v *NullableSlowQuery) 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 NullableSuggestedIndex

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

func NewNullableSuggestedIndex

func NewNullableSuggestedIndex(val *SuggestedIndex) *NullableSuggestedIndex

func (NullableSuggestedIndex) Get

func (NullableSuggestedIndex) IsSet

func (v NullableSuggestedIndex) IsSet() bool

func (NullableSuggestedIndex) MarshalJSON

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

func (*NullableSuggestedIndex) Set

func (*NullableSuggestedIndex) UnmarshalJSON

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

func (*NullableSuggestedIndex) Unset

func (v *NullableSuggestedIndex) 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 NullableUpdateBackupSchedulePayload

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

func (NullableUpdateBackupSchedulePayload) Get

func (NullableUpdateBackupSchedulePayload) IsSet

func (NullableUpdateBackupSchedulePayload) MarshalJSON

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

func (*NullableUpdateBackupSchedulePayload) Set

func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON

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

func (*NullableUpdateBackupSchedulePayload) 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 NullableUpdateUserPayload

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

func NewNullableUpdateUserPayload

func NewNullableUpdateUserPayload(val *UpdateUserPayload) *NullableUpdateUserPayload

func (NullableUpdateUserPayload) Get

func (NullableUpdateUserPayload) IsSet

func (v NullableUpdateUserPayload) IsSet() bool

func (NullableUpdateUserPayload) MarshalJSON

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

func (*NullableUpdateUserPayload) Set

func (*NullableUpdateUserPayload) UnmarshalJSON

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

func (*NullableUpdateUserPayload) Unset

func (v *NullableUpdateUserPayload) 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 PartialUpdateInstancePayload

type PartialUpdateInstancePayload struct {
	Acl            *ACL    `json:"acl,omitempty"`
	BackupSchedule *string `json:"backupSchedule,omitempty"`
	FlavorId       *string `json:"flavorId,omitempty"`
	// Labels field is not certain/clear
	Labels   *map[string]string `json:"labels,omitempty"`
	Name     *string            `json:"name,omitempty"`
	Options  *map[string]string `json:"options,omitempty"`
	Replicas *int32             `json:"replicas,omitempty"`
	Storage  *Storage           `json:"storage,omitempty"`
	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

func (o *PartialUpdateInstancePayload) GetAcl() ACL

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

func (*PartialUpdateInstancePayload) GetAclOk

func (o *PartialUpdateInstancePayload) 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 (*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]string

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

func (*PartialUpdateInstancePayload) GetLabelsOk

func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)

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

func (*PartialUpdateInstancePayload) GetName

func (o *PartialUpdateInstancePayload) GetName() string

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

func (*PartialUpdateInstancePayload) GetNameOk

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

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

func (*PartialUpdateInstancePayload) GetOptions

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

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

func (*PartialUpdateInstancePayload) GetOptionsOk

func (o *PartialUpdateInstancePayload) 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 (*PartialUpdateInstancePayload) GetReplicas

func (o *PartialUpdateInstancePayload) GetReplicas() int32

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

func (*PartialUpdateInstancePayload) GetReplicasOk

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

func (o *PartialUpdateInstancePayload) GetStorage() Storage

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

func (*PartialUpdateInstancePayload) GetStorageOk

func (o *PartialUpdateInstancePayload) 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 (*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) HasOptions

func (o *PartialUpdateInstancePayload) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasReplicas

func (o *PartialUpdateInstancePayload) HasReplicas() bool

HasReplicas returns a boolean if a field has been set.

func (*PartialUpdateInstancePayload) HasStorage

func (o *PartialUpdateInstancePayload) HasStorage() bool

HasStorage 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

func (o *PartialUpdateInstancePayload) SetAcl(v ACL)

SetAcl gets a reference to the given ACL 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]string)

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

func (*PartialUpdateInstancePayload) SetName

func (o *PartialUpdateInstancePayload) SetName(v string)

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

func (*PartialUpdateInstancePayload) SetOptions

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

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

func (*PartialUpdateInstancePayload) SetReplicas

func (o *PartialUpdateInstancePayload) SetReplicas(v int32)

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

func (*PartialUpdateInstancePayload) SetStorage

func (o *PartialUpdateInstancePayload) SetStorage(v Storage)

SetStorage gets a reference to the given Storage and assigns it to the Storage 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 PartialUpdateUserPayload

type PartialUpdateUserPayload struct {
	Database *string `json:"database,omitempty"`
	// The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**
	Roles []string `json:"roles,omitempty"`
}

PartialUpdateUserPayload struct for PartialUpdateUserPayload

func NewPartialUpdateUserPayload

func NewPartialUpdateUserPayload() *PartialUpdateUserPayload

NewPartialUpdateUserPayload instantiates a new PartialUpdateUserPayload 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 NewPartialUpdateUserPayloadWithDefaults

func NewPartialUpdateUserPayloadWithDefaults() *PartialUpdateUserPayload

NewPartialUpdateUserPayloadWithDefaults instantiates a new PartialUpdateUserPayload 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 (*PartialUpdateUserPayload) GetDatabase

func (o *PartialUpdateUserPayload) GetDatabase() string

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

func (*PartialUpdateUserPayload) GetDatabaseOk

func (o *PartialUpdateUserPayload) 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 (*PartialUpdateUserPayload) GetRoles

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

GetRoles returns the Roles field value if set, zero value otherwise.

func (*PartialUpdateUserPayload) GetRolesOk

func (o *PartialUpdateUserPayload) 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 (*PartialUpdateUserPayload) HasDatabase

func (o *PartialUpdateUserPayload) HasDatabase() bool

HasDatabase returns a boolean if a field has been set.

func (*PartialUpdateUserPayload) HasRoles

func (o *PartialUpdateUserPayload) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (PartialUpdateUserPayload) MarshalJSON

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

func (*PartialUpdateUserPayload) SetDatabase

func (o *PartialUpdateUserPayload) SetDatabase(v string)

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

func (*PartialUpdateUserPayload) SetRoles

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

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (PartialUpdateUserPayload) ToMap

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

type RestoreInstancePayload

type RestoreInstancePayload struct {
	BackupId   string `json:"backupId"`
	InstanceId string `json:"instanceId"`
}

RestoreInstancePayload struct for RestoreInstancePayload

func NewRestoreInstancePayload

func NewRestoreInstancePayload(backupId string, instanceId string) *RestoreInstancePayload

NewRestoreInstancePayload instantiates a new RestoreInstancePayload 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 NewRestoreInstancePayloadWithDefaults

func NewRestoreInstancePayloadWithDefaults() *RestoreInstancePayload

NewRestoreInstancePayloadWithDefaults instantiates a new RestoreInstancePayload 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 (*RestoreInstancePayload) GetBackupId

func (o *RestoreInstancePayload) GetBackupId() string

GetBackupId returns the BackupId field value

func (*RestoreInstancePayload) GetBackupIdOk

func (o *RestoreInstancePayload) GetBackupIdOk() (*string, bool)

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

func (*RestoreInstancePayload) GetInstanceId

func (o *RestoreInstancePayload) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*RestoreInstancePayload) GetInstanceIdOk

func (o *RestoreInstancePayload) GetInstanceIdOk() (*string, bool)

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

func (RestoreInstancePayload) MarshalJSON

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

func (*RestoreInstancePayload) SetBackupId

func (o *RestoreInstancePayload) SetBackupId(v string)

SetBackupId sets field value

func (*RestoreInstancePayload) SetInstanceId

func (o *RestoreInstancePayload) SetInstanceId(v string)

SetInstanceId sets field value

func (RestoreInstancePayload) ToMap

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

func (*RestoreInstancePayload) UnmarshalJSON

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

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	Item *RestoreInstanceStatus `json:"item,omitempty"`
}

RestoreInstanceResponse struct for RestoreInstanceResponse

func NewRestoreInstanceResponse

func NewRestoreInstanceResponse() *RestoreInstanceResponse

NewRestoreInstanceResponse instantiates a new RestoreInstanceResponse 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 NewRestoreInstanceResponseWithDefaults

func NewRestoreInstanceResponseWithDefaults() *RestoreInstanceResponse

NewRestoreInstanceResponseWithDefaults instantiates a new RestoreInstanceResponse 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 (*RestoreInstanceResponse) GetItem

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

func (*RestoreInstanceResponse) GetItemOk

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 (*RestoreInstanceResponse) HasItem

func (o *RestoreInstanceResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (RestoreInstanceResponse) MarshalJSON

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

func (*RestoreInstanceResponse) SetItem

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

func (RestoreInstanceResponse) ToMap

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

type RestoreInstanceStatus

type RestoreInstanceStatus struct {
	BackupID   *string `json:"backupID,omitempty"`
	Date       *string `json:"date,omitempty"`
	Id         *string `json:"id,omitempty"`
	InstanceId *string `json:"instanceId,omitempty"`
	Status     *string `json:"status,omitempty"`
}

RestoreInstanceStatus struct for RestoreInstanceStatus

func NewRestoreInstanceStatus

func NewRestoreInstanceStatus() *RestoreInstanceStatus

NewRestoreInstanceStatus instantiates a new RestoreInstanceStatus 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 NewRestoreInstanceStatusWithDefaults

func NewRestoreInstanceStatusWithDefaults() *RestoreInstanceStatus

NewRestoreInstanceStatusWithDefaults instantiates a new RestoreInstanceStatus 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 (*RestoreInstanceStatus) GetBackupID

func (o *RestoreInstanceStatus) GetBackupID() string

GetBackupID returns the BackupID field value if set, zero value otherwise.

func (*RestoreInstanceStatus) GetBackupIDOk

func (o *RestoreInstanceStatus) GetBackupIDOk() (*string, bool)

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

func (*RestoreInstanceStatus) GetDate

func (o *RestoreInstanceStatus) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*RestoreInstanceStatus) GetDateOk

func (o *RestoreInstanceStatus) GetDateOk() (*string, bool)

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

func (*RestoreInstanceStatus) GetId

func (o *RestoreInstanceStatus) GetId() string

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

func (*RestoreInstanceStatus) GetIdOk

func (o *RestoreInstanceStatus) 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 (*RestoreInstanceStatus) GetInstanceId

func (o *RestoreInstanceStatus) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*RestoreInstanceStatus) GetInstanceIdOk

func (o *RestoreInstanceStatus) GetInstanceIdOk() (*string, bool)

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

func (*RestoreInstanceStatus) GetStatus

func (o *RestoreInstanceStatus) GetStatus() string

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

func (*RestoreInstanceStatus) GetStatusOk

func (o *RestoreInstanceStatus) 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 (*RestoreInstanceStatus) HasBackupID

func (o *RestoreInstanceStatus) HasBackupID() bool

HasBackupID returns a boolean if a field has been set.

func (*RestoreInstanceStatus) HasDate

func (o *RestoreInstanceStatus) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*RestoreInstanceStatus) HasId

func (o *RestoreInstanceStatus) HasId() bool

HasId returns a boolean if a field has been set.

func (*RestoreInstanceStatus) HasInstanceId

func (o *RestoreInstanceStatus) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (*RestoreInstanceStatus) HasStatus

func (o *RestoreInstanceStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (RestoreInstanceStatus) MarshalJSON

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

func (*RestoreInstanceStatus) SetBackupID

func (o *RestoreInstanceStatus) SetBackupID(v string)

SetBackupID gets a reference to the given string and assigns it to the BackupID field.

func (*RestoreInstanceStatus) SetDate

func (o *RestoreInstanceStatus) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*RestoreInstanceStatus) SetId

func (o *RestoreInstanceStatus) SetId(v string)

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

func (*RestoreInstanceStatus) SetInstanceId

func (o *RestoreInstanceStatus) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (*RestoreInstanceStatus) SetStatus

func (o *RestoreInstanceStatus) SetStatus(v string)

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

func (RestoreInstanceStatus) ToMap

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

type Shape

type Shape struct {
	// Average duration in milliseconds for the queries examined that match this shape.
	AvgMs *float32 `json:"avgMs,omitempty"`
	// Number of queries examined that match this shape.
	Count *int64 `json:"count,omitempty"`
	// Unique id for this shape. Exists only for the duration of the API request.
	Id *string `json:"id,omitempty"`
	// Average number of documents read for every document returned by the query.
	InefficiencyScore *int64 `json:"inefficiencyScore,omitempty"`
	// The namespace in which the slow query ran.
	Namespace *string `json:"namespace,omitempty"`
	// It represents documents with specific information and log lines for individual queries.
	Operations []MongodbatlasOperation `json:"operations,omitempty"`
}

Shape struct for Shape

func NewShape

func NewShape() *Shape

NewShape instantiates a new Shape 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 NewShapeWithDefaults

func NewShapeWithDefaults() *Shape

NewShapeWithDefaults instantiates a new Shape 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 (*Shape) GetAvgMs

func (o *Shape) GetAvgMs() float32

GetAvgMs returns the AvgMs field value if set, zero value otherwise.

func (*Shape) GetAvgMsOk

func (o *Shape) GetAvgMsOk() (*float32, bool)

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

func (*Shape) GetCount

func (o *Shape) GetCount() int64

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

func (*Shape) GetCountOk

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

func (o *Shape) GetId() string

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

func (*Shape) GetIdOk

func (o *Shape) 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 (*Shape) GetInefficiencyScore

func (o *Shape) GetInefficiencyScore() int64

GetInefficiencyScore returns the InefficiencyScore field value if set, zero value otherwise.

func (*Shape) GetInefficiencyScoreOk

func (o *Shape) GetInefficiencyScoreOk() (*int64, bool)

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

func (*Shape) GetNamespace

func (o *Shape) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*Shape) GetNamespaceOk

func (o *Shape) GetNamespaceOk() (*string, bool)

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

func (*Shape) GetOperations

func (o *Shape) GetOperations() []MongodbatlasOperation

GetOperations returns the Operations field value if set, zero value otherwise.

func (*Shape) GetOperationsOk

func (o *Shape) GetOperationsOk() ([]MongodbatlasOperation, bool)

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

func (*Shape) HasAvgMs

func (o *Shape) HasAvgMs() bool

HasAvgMs returns a boolean if a field has been set.

func (*Shape) HasCount

func (o *Shape) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*Shape) HasId

func (o *Shape) HasId() bool

HasId returns a boolean if a field has been set.

func (*Shape) HasInefficiencyScore

func (o *Shape) HasInefficiencyScore() bool

HasInefficiencyScore returns a boolean if a field has been set.

func (*Shape) HasNamespace

func (o *Shape) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*Shape) HasOperations

func (o *Shape) HasOperations() bool

HasOperations returns a boolean if a field has been set.

func (Shape) MarshalJSON

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

func (*Shape) SetAvgMs

func (o *Shape) SetAvgMs(v float32)

SetAvgMs gets a reference to the given float32 and assigns it to the AvgMs field.

func (*Shape) SetCount

func (o *Shape) SetCount(v int64)

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

func (*Shape) SetId

func (o *Shape) SetId(v string)

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

func (*Shape) SetInefficiencyScore

func (o *Shape) SetInefficiencyScore(v int64)

SetInefficiencyScore gets a reference to the given int64 and assigns it to the InefficiencyScore field.

func (*Shape) SetNamespace

func (o *Shape) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (*Shape) SetOperations

func (o *Shape) SetOperations(v []MongodbatlasOperation)

SetOperations gets a reference to the given []MongodbatlasOperation and assigns it to the Operations field.

func (Shape) ToMap

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

type SlowQuery

type SlowQuery struct {
	// The raw log line pertaining to the slow query.
	Line *string `json:"line,omitempty"`
	// The namespace in which the slow query ran.
	Namespace *string `json:"namespace,omitempty"`
}

SlowQuery struct for SlowQuery

func NewSlowQuery

func NewSlowQuery() *SlowQuery

NewSlowQuery instantiates a new SlowQuery 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 NewSlowQueryWithDefaults

func NewSlowQueryWithDefaults() *SlowQuery

NewSlowQueryWithDefaults instantiates a new SlowQuery 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 (*SlowQuery) GetLine

func (o *SlowQuery) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*SlowQuery) GetLineOk

func (o *SlowQuery) GetLineOk() (*string, bool)

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

func (*SlowQuery) GetNamespace

func (o *SlowQuery) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*SlowQuery) GetNamespaceOk

func (o *SlowQuery) GetNamespaceOk() (*string, bool)

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

func (*SlowQuery) HasLine

func (o *SlowQuery) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*SlowQuery) HasNamespace

func (o *SlowQuery) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (SlowQuery) MarshalJSON

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

func (*SlowQuery) SetLine

func (o *SlowQuery) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*SlowQuery) SetNamespace

func (o *SlowQuery) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (SlowQuery) ToMap

func (o SlowQuery) 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 SuggestedIndex

type SuggestedIndex struct {
	// Unique id for this suggested index.
	Id *string `json:"id,omitempty"`
	// List of unique identifiers which correspond the query shapes in this response which pertain to this suggested index.
	Impact []string `json:"impact,omitempty"`
	// Array of documents that specifies a key in the index and its sort order, ascending or descending.
	Index []map[string]int32 `json:"index,omitempty"`
	// Namespace of the suggested index.
	Namespace *string `json:"namespace,omitempty"`
	// Estimated percentage performance improvement that the suggested index would provide.
	Weight *float32 `json:"weight,omitempty"`
}

SuggestedIndex struct for SuggestedIndex

func NewSuggestedIndex

func NewSuggestedIndex() *SuggestedIndex

NewSuggestedIndex instantiates a new SuggestedIndex 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 NewSuggestedIndexWithDefaults

func NewSuggestedIndexWithDefaults() *SuggestedIndex

NewSuggestedIndexWithDefaults instantiates a new SuggestedIndex 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 (*SuggestedIndex) GetId

func (o *SuggestedIndex) GetId() string

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

func (*SuggestedIndex) GetIdOk

func (o *SuggestedIndex) 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 (*SuggestedIndex) GetImpact

func (o *SuggestedIndex) GetImpact() []string

GetImpact returns the Impact field value if set, zero value otherwise.

func (*SuggestedIndex) GetImpactOk

func (o *SuggestedIndex) GetImpactOk() ([]string, bool)

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

func (*SuggestedIndex) GetIndex

func (o *SuggestedIndex) GetIndex() []map[string]int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*SuggestedIndex) GetIndexOk

func (o *SuggestedIndex) GetIndexOk() ([]map[string]int32, bool)

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

func (*SuggestedIndex) GetNamespace

func (o *SuggestedIndex) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*SuggestedIndex) GetNamespaceOk

func (o *SuggestedIndex) GetNamespaceOk() (*string, bool)

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

func (*SuggestedIndex) GetWeight

func (o *SuggestedIndex) GetWeight() float32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*SuggestedIndex) GetWeightOk

func (o *SuggestedIndex) GetWeightOk() (*float32, bool)

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

func (*SuggestedIndex) HasId

func (o *SuggestedIndex) HasId() bool

HasId returns a boolean if a field has been set.

func (*SuggestedIndex) HasImpact

func (o *SuggestedIndex) HasImpact() bool

HasImpact returns a boolean if a field has been set.

func (*SuggestedIndex) HasIndex

func (o *SuggestedIndex) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*SuggestedIndex) HasNamespace

func (o *SuggestedIndex) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*SuggestedIndex) HasWeight

func (o *SuggestedIndex) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (SuggestedIndex) MarshalJSON

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

func (*SuggestedIndex) SetId

func (o *SuggestedIndex) SetId(v string)

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

func (*SuggestedIndex) SetImpact

func (o *SuggestedIndex) SetImpact(v []string)

SetImpact gets a reference to the given []string and assigns it to the Impact field.

func (*SuggestedIndex) SetIndex

func (o *SuggestedIndex) SetIndex(v []map[string]int32)

SetIndex gets a reference to the given []map[string]int32 and assigns it to the Index field.

func (*SuggestedIndex) SetNamespace

func (o *SuggestedIndex) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (*SuggestedIndex) SetWeight

func (o *SuggestedIndex) SetWeight(v float32)

SetWeight gets a reference to the given float32 and assigns it to the Weight field.

func (SuggestedIndex) ToMap

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

type UpdateBackupSchedulePayload

type UpdateBackupSchedulePayload struct {
	BackupSchedule                 *string `json:"backupSchedule,omitempty"`
	DailySnapshotRetentionDays     *int32  `json:"dailySnapshotRetentionDays,omitempty"`
	MonthlySnapshotRetentionMonths *int32  `json:"monthlySnapshotRetentionMonths,omitempty"`
	PointInTimeWindowHours         *int32  `json:"pointInTimeWindowHours,omitempty"`
	SnapshotRetentionDays          *int32  `json:"snapshotRetentionDays,omitempty"`
	WeeklySnapshotRetentionWeeks   *int32  `json:"weeklySnapshotRetentionWeeks,omitempty"`
}

UpdateBackupSchedulePayload struct for UpdateBackupSchedulePayload

func NewUpdateBackupSchedulePayload

func NewUpdateBackupSchedulePayload() *UpdateBackupSchedulePayload

NewUpdateBackupSchedulePayload instantiates a new UpdateBackupSchedulePayload 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 NewUpdateBackupSchedulePayloadWithDefaults

func NewUpdateBackupSchedulePayloadWithDefaults() *UpdateBackupSchedulePayload

NewUpdateBackupSchedulePayloadWithDefaults instantiates a new UpdateBackupSchedulePayload 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 (*UpdateBackupSchedulePayload) GetBackupSchedule

func (o *UpdateBackupSchedulePayload) GetBackupSchedule() string

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

func (*UpdateBackupSchedulePayload) GetBackupScheduleOk

func (o *UpdateBackupSchedulePayload) 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 (*UpdateBackupSchedulePayload) GetDailySnapshotRetentionDays

func (o *UpdateBackupSchedulePayload) GetDailySnapshotRetentionDays() int32

GetDailySnapshotRetentionDays returns the DailySnapshotRetentionDays field value if set, zero value otherwise.

func (*UpdateBackupSchedulePayload) GetDailySnapshotRetentionDaysOk

func (o *UpdateBackupSchedulePayload) GetDailySnapshotRetentionDaysOk() (*int32, bool)

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

func (*UpdateBackupSchedulePayload) GetMonthlySnapshotRetentionMonths

func (o *UpdateBackupSchedulePayload) GetMonthlySnapshotRetentionMonths() int32

GetMonthlySnapshotRetentionMonths returns the MonthlySnapshotRetentionMonths field value if set, zero value otherwise.

func (*UpdateBackupSchedulePayload) GetMonthlySnapshotRetentionMonthsOk

func (o *UpdateBackupSchedulePayload) GetMonthlySnapshotRetentionMonthsOk() (*int32, bool)

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

func (*UpdateBackupSchedulePayload) GetPointInTimeWindowHours

func (o *UpdateBackupSchedulePayload) GetPointInTimeWindowHours() int32

GetPointInTimeWindowHours returns the PointInTimeWindowHours field value if set, zero value otherwise.

func (*UpdateBackupSchedulePayload) GetPointInTimeWindowHoursOk

func (o *UpdateBackupSchedulePayload) GetPointInTimeWindowHoursOk() (*int32, bool)

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

func (*UpdateBackupSchedulePayload) GetSnapshotRetentionDays

func (o *UpdateBackupSchedulePayload) GetSnapshotRetentionDays() int32

GetSnapshotRetentionDays returns the SnapshotRetentionDays field value if set, zero value otherwise.

func (*UpdateBackupSchedulePayload) GetSnapshotRetentionDaysOk

func (o *UpdateBackupSchedulePayload) GetSnapshotRetentionDaysOk() (*int32, bool)

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

func (*UpdateBackupSchedulePayload) GetWeeklySnapshotRetentionWeeks

func (o *UpdateBackupSchedulePayload) GetWeeklySnapshotRetentionWeeks() int32

GetWeeklySnapshotRetentionWeeks returns the WeeklySnapshotRetentionWeeks field value if set, zero value otherwise.

func (*UpdateBackupSchedulePayload) GetWeeklySnapshotRetentionWeeksOk

func (o *UpdateBackupSchedulePayload) GetWeeklySnapshotRetentionWeeksOk() (*int32, bool)

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

func (*UpdateBackupSchedulePayload) HasBackupSchedule

func (o *UpdateBackupSchedulePayload) HasBackupSchedule() bool

HasBackupSchedule returns a boolean if a field has been set.

func (*UpdateBackupSchedulePayload) HasDailySnapshotRetentionDays

func (o *UpdateBackupSchedulePayload) HasDailySnapshotRetentionDays() bool

HasDailySnapshotRetentionDays returns a boolean if a field has been set.

func (*UpdateBackupSchedulePayload) HasMonthlySnapshotRetentionMonths

func (o *UpdateBackupSchedulePayload) HasMonthlySnapshotRetentionMonths() bool

HasMonthlySnapshotRetentionMonths returns a boolean if a field has been set.

func (*UpdateBackupSchedulePayload) HasPointInTimeWindowHours

func (o *UpdateBackupSchedulePayload) HasPointInTimeWindowHours() bool

HasPointInTimeWindowHours returns a boolean if a field has been set.

func (*UpdateBackupSchedulePayload) HasSnapshotRetentionDays

func (o *UpdateBackupSchedulePayload) HasSnapshotRetentionDays() bool

HasSnapshotRetentionDays returns a boolean if a field has been set.

func (*UpdateBackupSchedulePayload) HasWeeklySnapshotRetentionWeeks

func (o *UpdateBackupSchedulePayload) HasWeeklySnapshotRetentionWeeks() bool

HasWeeklySnapshotRetentionWeeks returns a boolean if a field has been set.

func (UpdateBackupSchedulePayload) MarshalJSON

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

func (*UpdateBackupSchedulePayload) SetBackupSchedule

func (o *UpdateBackupSchedulePayload) SetBackupSchedule(v string)

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

func (*UpdateBackupSchedulePayload) SetDailySnapshotRetentionDays

func (o *UpdateBackupSchedulePayload) SetDailySnapshotRetentionDays(v int32)

SetDailySnapshotRetentionDays gets a reference to the given int32 and assigns it to the DailySnapshotRetentionDays field.

func (*UpdateBackupSchedulePayload) SetMonthlySnapshotRetentionMonths

func (o *UpdateBackupSchedulePayload) SetMonthlySnapshotRetentionMonths(v int32)

SetMonthlySnapshotRetentionMonths gets a reference to the given int32 and assigns it to the MonthlySnapshotRetentionMonths field.

func (*UpdateBackupSchedulePayload) SetPointInTimeWindowHours

func (o *UpdateBackupSchedulePayload) SetPointInTimeWindowHours(v int32)

SetPointInTimeWindowHours gets a reference to the given int32 and assigns it to the PointInTimeWindowHours field.

func (*UpdateBackupSchedulePayload) SetSnapshotRetentionDays

func (o *UpdateBackupSchedulePayload) SetSnapshotRetentionDays(v int32)

SetSnapshotRetentionDays gets a reference to the given int32 and assigns it to the SnapshotRetentionDays field.

func (*UpdateBackupSchedulePayload) SetWeeklySnapshotRetentionWeeks

func (o *UpdateBackupSchedulePayload) SetWeeklySnapshotRetentionWeeks(v int32)

SetWeeklySnapshotRetentionWeeks gets a reference to the given int32 and assigns it to the WeeklySnapshotRetentionWeeks field.

func (UpdateBackupSchedulePayload) ToMap

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

type UpdateInstancePayload

type UpdateInstancePayload struct {
	Acl            ACL    `json:"acl"`
	BackupSchedule string `json:"backupSchedule"`
	FlavorId       string `json:"flavorId"`
	// Labels field is not certain/clear
	Labels   *map[string]string `json:"labels,omitempty"`
	Name     string             `json:"name"`
	Options  map[string]string  `json:"options"`
	Replicas int64              `json:"replicas"`
	Storage  Storage            `json:"storage"`
	Version  string             `json:"version"`
}

UpdateInstancePayload struct for UpdateInstancePayload

func NewUpdateInstancePayload

func NewUpdateInstancePayload(acl ACL, backupSchedule string, flavorId string, name string, options map[string]string, replicas int64, storage Storage, 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

func (o *UpdateInstancePayload) GetAcl() ACL

GetAcl returns the Acl field value

func (*UpdateInstancePayload) GetAclOk

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

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]string

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

func (*UpdateInstancePayload) GetLabelsOk

func (o *UpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)

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

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

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

GetOptions returns the Options field value

func (*UpdateInstancePayload) GetOptionsOk

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

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

func (*UpdateInstancePayload) GetReplicas

func (o *UpdateInstancePayload) GetReplicas() int64

GetReplicas returns the Replicas field value

func (*UpdateInstancePayload) GetReplicasOk

func (o *UpdateInstancePayload) GetReplicasOk() (*int64, bool)

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

func (*UpdateInstancePayload) GetStorage

func (o *UpdateInstancePayload) GetStorage() Storage

GetStorage returns the Storage field value

func (*UpdateInstancePayload) GetStorageOk

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

GetStorageOk returns a tuple with the Storage 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) HasLabels

func (o *UpdateInstancePayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (UpdateInstancePayload) MarshalJSON

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

func (*UpdateInstancePayload) SetAcl

func (o *UpdateInstancePayload) SetAcl(v ACL)

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]string)

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

func (*UpdateInstancePayload) SetName

func (o *UpdateInstancePayload) SetName(v string)

SetName sets field value

func (*UpdateInstancePayload) SetOptions

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

SetOptions sets field value

func (*UpdateInstancePayload) SetReplicas

func (o *UpdateInstancePayload) SetReplicas(v int64)

SetReplicas sets field value

func (*UpdateInstancePayload) SetStorage

func (o *UpdateInstancePayload) SetStorage(v Storage)

SetStorage 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 UpdateUserPayload

type UpdateUserPayload struct {
	Database string `json:"database"`
	// The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**
	Roles []string `json:"roles"`
}

UpdateUserPayload struct for UpdateUserPayload

func NewUpdateUserPayload

func NewUpdateUserPayload(database string, roles []string) *UpdateUserPayload

NewUpdateUserPayload instantiates a new UpdateUserPayload 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 NewUpdateUserPayloadWithDefaults

func NewUpdateUserPayloadWithDefaults() *UpdateUserPayload

NewUpdateUserPayloadWithDefaults instantiates a new UpdateUserPayload 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 (*UpdateUserPayload) GetDatabase

func (o *UpdateUserPayload) GetDatabase() string

GetDatabase returns the Database field value

func (*UpdateUserPayload) GetDatabaseOk

func (o *UpdateUserPayload) GetDatabaseOk() (*string, bool)

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

func (*UpdateUserPayload) GetRoles

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

GetRoles returns the Roles field value

func (*UpdateUserPayload) GetRolesOk

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

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

func (UpdateUserPayload) MarshalJSON

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

func (*UpdateUserPayload) SetDatabase

func (o *UpdateUserPayload) SetDatabase(v string)

SetDatabase sets field value

func (*UpdateUserPayload) SetRoles

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

SetRoles sets field value

func (UpdateUserPayload) ToMap

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

func (*UpdateUserPayload) UnmarshalJSON

func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err 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"`
	// The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.**
	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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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