Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type ACL
- type APIClient
- type APIResponse
- type ApiCloneInstanceRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetBackupRequest
- type ApiGetInstanceRequest
- type ApiGetUserRequest
- type ApiListAdvisorSlowQueriesRequest
- type ApiListBackupsRequest
- type ApiListFlavorsRequest
- type ApiListInstancesRequest
- type ApiListMetricsRequest
- func (r ApiListMetricsRequest) End(end string) ApiListMetricsRequest
- func (r ApiListMetricsRequest) Execute() (*ListMetricsResponse, error)
- func (r ApiListMetricsRequest) Granularity(granularity string) ApiListMetricsRequest
- func (r ApiListMetricsRequest) Period(period string) ApiListMetricsRequest
- func (r ApiListMetricsRequest) Start(start string) ApiListMetricsRequest
- type ApiListRestoreJobsRequest
- type ApiListStoragesRequest
- type ApiListSuggestedIndexesRequest
- type ApiListUsersRequest
- type ApiListVersionsRequest
- type ApiPartialUpdateInstanceRequest
- type ApiPartialUpdateUserRequest
- type ApiResetUserRequest
- type ApiRestoreInstanceRequest
- type ApiUpdateBackupScheduleRequest
- type ApiUpdateInstanceRequest
- type ApiUpdateUserRequest
- type Backup
- func (o *Backup) GetEndTime() string
- func (o *Backup) GetEndTimeOk() (*string, bool)
- func (o *Backup) GetError() string
- func (o *Backup) GetErrorOk() (*string, bool)
- func (o *Backup) GetId() string
- func (o *Backup) GetIdOk() (*string, bool)
- func (o *Backup) GetLabels() []string
- func (o *Backup) GetLabelsOk() ([]string, bool)
- func (o *Backup) GetName() string
- func (o *Backup) GetNameOk() (*string, bool)
- func (o *Backup) GetOptions() map[string]string
- func (o *Backup) GetOptionsOk() (*map[string]string, bool)
- func (o *Backup) GetSize() int32
- func (o *Backup) GetSizeOk() (*int32, bool)
- func (o *Backup) GetStartTime() string
- func (o *Backup) GetStartTimeOk() (*string, bool)
- func (o *Backup) HasEndTime() bool
- func (o *Backup) HasError() bool
- func (o *Backup) HasId() bool
- func (o *Backup) HasLabels() bool
- func (o *Backup) HasName() bool
- func (o *Backup) HasOptions() bool
- func (o *Backup) HasSize() bool
- func (o *Backup) HasStartTime() bool
- func (o Backup) MarshalJSON() ([]byte, error)
- func (o *Backup) SetEndTime(v string)
- func (o *Backup) SetError(v string)
- func (o *Backup) SetId(v string)
- func (o *Backup) SetLabels(v []string)
- func (o *Backup) SetName(v string)
- func (o *Backup) SetOptions(v map[string]string)
- func (o *Backup) SetSize(v int32)
- func (o *Backup) SetStartTime(v string)
- func (o Backup) ToMap() (map[string]interface{}, error)
- type BackupSchedule
- func (o *BackupSchedule) GetBackupSchedule() string
- func (o *BackupSchedule) GetBackupScheduleOk() (*string, bool)
- func (o *BackupSchedule) GetDailySnapshotRetentionDays() int32
- func (o *BackupSchedule) GetDailySnapshotRetentionDaysOk() (*int32, bool)
- func (o *BackupSchedule) GetMonthlySnapshotRetentionMonths() int32
- func (o *BackupSchedule) GetMonthlySnapshotRetentionMonthsOk() (*int32, bool)
- func (o *BackupSchedule) GetPointInTimeWindowHours() int32
- func (o *BackupSchedule) GetPointInTimeWindowHoursOk() (*int32, bool)
- func (o *BackupSchedule) GetSnapshotRetentionDays() int32
- func (o *BackupSchedule) GetSnapshotRetentionDaysOk() (*int32, bool)
- func (o *BackupSchedule) GetWeeklySnapshotRetentionWeeks() int32
- func (o *BackupSchedule) GetWeeklySnapshotRetentionWeeksOk() (*int32, bool)
- func (o *BackupSchedule) HasBackupSchedule() bool
- func (o *BackupSchedule) HasDailySnapshotRetentionDays() bool
- func (o *BackupSchedule) HasMonthlySnapshotRetentionMonths() bool
- func (o *BackupSchedule) HasPointInTimeWindowHours() bool
- func (o *BackupSchedule) HasSnapshotRetentionDays() bool
- func (o *BackupSchedule) HasWeeklySnapshotRetentionWeeks() bool
- func (o BackupSchedule) MarshalJSON() ([]byte, error)
- func (o *BackupSchedule) SetBackupSchedule(v string)
- func (o *BackupSchedule) SetDailySnapshotRetentionDays(v int32)
- func (o *BackupSchedule) SetMonthlySnapshotRetentionMonths(v int32)
- func (o *BackupSchedule) SetPointInTimeWindowHours(v int32)
- func (o *BackupSchedule) SetSnapshotRetentionDays(v int32)
- func (o *BackupSchedule) SetWeeklySnapshotRetentionWeeks(v int32)
- func (o BackupSchedule) ToMap() (map[string]interface{}, error)
- type CloneInstancePayload
- func (o *CloneInstancePayload) GetInstanceId() string
- func (o *CloneInstancePayload) GetInstanceIdOk() (*string, bool)
- func (o *CloneInstancePayload) GetTimestamp() string
- func (o *CloneInstancePayload) GetTimestampOk() (*string, bool)
- func (o *CloneInstancePayload) HasTimestamp() bool
- func (o CloneInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CloneInstancePayload) SetInstanceId(v string)
- func (o *CloneInstancePayload) SetTimestamp(v string)
- func (o CloneInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CloneInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CloneInstanceResponse
- func (o *CloneInstanceResponse) GetInstanceId() string
- func (o *CloneInstanceResponse) GetInstanceIdOk() (*string, bool)
- func (o *CloneInstanceResponse) HasInstanceId() bool
- func (o CloneInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *CloneInstanceResponse) SetInstanceId(v string)
- func (o CloneInstanceResponse) ToMap() (map[string]interface{}, error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetAcl() ACL
- func (o *CreateInstancePayload) GetAclOk() (*ACL, bool)
- func (o *CreateInstancePayload) GetBackupSchedule() string
- func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *CreateInstancePayload) GetFlavorId() string
- func (o *CreateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *CreateInstancePayload) GetLabels() map[string]string
- func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) GetOptions() map[string]string
- func (o *CreateInstancePayload) GetOptionsOk() (*map[string]string, bool)
- func (o *CreateInstancePayload) GetReplicas() int32
- func (o *CreateInstancePayload) GetReplicasOk() (*int32, bool)
- func (o *CreateInstancePayload) GetStorage() Storage
- func (o *CreateInstancePayload) GetStorageOk() (*Storage, bool)
- func (o *CreateInstancePayload) GetVersion() string
- func (o *CreateInstancePayload) GetVersionOk() (*string, bool)
- func (o *CreateInstancePayload) HasLabels() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetAcl(v ACL)
- func (o *CreateInstancePayload) SetBackupSchedule(v string)
- func (o *CreateInstancePayload) SetFlavorId(v string)
- func (o *CreateInstancePayload) SetLabels(v map[string]string)
- func (o *CreateInstancePayload) SetName(v string)
- func (o *CreateInstancePayload) SetOptions(v map[string]string)
- func (o *CreateInstancePayload) SetReplicas(v int32)
- func (o *CreateInstancePayload) SetStorage(v Storage)
- func (o *CreateInstancePayload) SetVersion(v string)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceResponse
- func (o *CreateInstanceResponse) GetId() string
- func (o *CreateInstanceResponse) GetIdOk() (*string, bool)
- func (o *CreateInstanceResponse) HasId() bool
- func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceResponse) SetId(v string)
- func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
- type CreateUserPayload
- func (o *CreateUserPayload) GetDatabase() string
- func (o *CreateUserPayload) GetDatabaseOk() (*string, bool)
- func (o *CreateUserPayload) GetRoles() []string
- func (o *CreateUserPayload) GetRolesOk() ([]string, bool)
- func (o *CreateUserPayload) GetUsername() string
- func (o *CreateUserPayload) GetUsernameOk() (*string, bool)
- func (o *CreateUserPayload) HasUsername() bool
- func (o CreateUserPayload) MarshalJSON() ([]byte, error)
- func (o *CreateUserPayload) SetDatabase(v string)
- func (o *CreateUserPayload) SetRoles(v []string)
- func (o *CreateUserPayload) SetUsername(v string)
- func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
- type CreateUserResponse
- func (o *CreateUserResponse) GetItem() User
- func (o *CreateUserResponse) GetItemOk() (*User, bool)
- func (o *CreateUserResponse) HasItem() bool
- func (o CreateUserResponse) MarshalJSON() ([]byte, error)
- func (o *CreateUserResponse) SetItem(v User)
- func (o CreateUserResponse) ToMap() (map[string]interface{}, error)
- type DataPoint
- func (o *DataPoint) GetTimestamp() string
- func (o *DataPoint) GetTimestampOk() (*string, bool)
- func (o *DataPoint) GetValue() float32
- func (o *DataPoint) GetValueOk() (*float32, bool)
- func (o *DataPoint) HasTimestamp() bool
- func (o *DataPoint) HasValue() bool
- func (o DataPoint) MarshalJSON() ([]byte, error)
- func (o *DataPoint) SetTimestamp(v string)
- func (o *DataPoint) SetValue(v float32)
- func (o DataPoint) ToMap() (map[string]interface{}, error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CloneInstance(ctx context.Context, projectId string, instanceId string) ApiCloneInstanceRequest
- func (a *DefaultAPIService) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
- func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, instanceId string, backupId string) ApiGetBackupRequest
- func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
- func (a *DefaultAPIService) ListAdvisorSlowQueries(ctx context.Context, projectId string, instanceId string) ApiListAdvisorSlowQueriesRequest
- func (a *DefaultAPIService) ListAdvisorSlowQueriesExecute(r ApiListAdvisorSlowQueriesRequest) (*HandlersInstancesSlowQueriesResponse, error)
- func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
- func (a *DefaultAPIService) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
- func (a *DefaultAPIService) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) ListMetrics(ctx context.Context, projectId string, instanceId string, metric string) ApiListMetricsRequest
- func (a *DefaultAPIService) ListMetricsExecute(r ApiListMetricsRequest) (*ListMetricsResponse, error)
- func (a *DefaultAPIService) ListRestoreJobs(ctx context.Context, projectId string, instanceId string) ApiListRestoreJobsRequest
- func (a *DefaultAPIService) ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
- func (a *DefaultAPIService) ListStorages(ctx context.Context, projectId string, flavor string) ApiListStoragesRequest
- func (a *DefaultAPIService) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)
- func (a *DefaultAPIService) ListSuggestedIndexes(ctx context.Context, projectId string, instanceId string) ApiListSuggestedIndexesRequest
- func (a *DefaultAPIService) ListSuggestedIndexesExecute(r ApiListSuggestedIndexesRequest) (*HandlersInstancesSuggestedIndexesResponse, error)
- func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string) ApiListVersionsRequest
- func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
- func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
- func (a *DefaultAPIService) PartialUpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiPartialUpdateUserRequest
- func (a *DefaultAPIService) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
- func (a *DefaultAPIService) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
- func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*User, error)
- func (a *DefaultAPIService) RestoreInstance(ctx context.Context, projectId string, instanceId string) ApiRestoreInstanceRequest
- func (a *DefaultAPIService) RestoreInstanceExecute(r ApiRestoreInstanceRequest) (*RestoreInstanceResponse, error)
- func (a *DefaultAPIService) UpdateBackupSchedule(ctx context.Context, projectId string, instanceId string) ApiUpdateBackupScheduleRequest
- func (a *DefaultAPIService) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
- func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
- func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CloneInstance(ctx context.Context, projectId string, instanceId string) ApiCloneInstanceRequest
- func (a DefaultAPIServiceMock) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, instanceId string, backupId string) ApiGetBackupRequest
- func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
- func (a DefaultAPIServiceMock) ListAdvisorSlowQueries(ctx context.Context, projectId string, instanceId string) ApiListAdvisorSlowQueriesRequest
- func (a DefaultAPIServiceMock) ListAdvisorSlowQueriesExecute(r ApiListAdvisorSlowQueriesRequest) (*HandlersInstancesSlowQueriesResponse, error)
- func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
- func (a DefaultAPIServiceMock) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
- func (a DefaultAPIServiceMock) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) ListMetrics(ctx context.Context, projectId string, instanceId string, metric string) ApiListMetricsRequest
- func (a DefaultAPIServiceMock) ListMetricsExecute(r ApiListMetricsRequest) (*ListMetricsResponse, error)
- func (a DefaultAPIServiceMock) ListRestoreJobs(ctx context.Context, projectId string, instanceId string) ApiListRestoreJobsRequest
- func (a DefaultAPIServiceMock) ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
- func (a DefaultAPIServiceMock) ListStorages(ctx context.Context, projectId string, flavor string) ApiListStoragesRequest
- func (a DefaultAPIServiceMock) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)
- func (a DefaultAPIServiceMock) ListSuggestedIndexes(ctx context.Context, projectId string, instanceId string) ApiListSuggestedIndexesRequest
- func (a DefaultAPIServiceMock) ListSuggestedIndexesExecute(r ApiListSuggestedIndexesRequest) (*HandlersInstancesSuggestedIndexesResponse, error)
- func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string) ApiListVersionsRequest
- func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a DefaultAPIServiceMock) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiPartialUpdateUserRequest
- func (a DefaultAPIServiceMock) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
- func (a DefaultAPIServiceMock) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
- func (a DefaultAPIServiceMock) ResetUserExecute(r ApiResetUserRequest) (*User, error)
- func (a DefaultAPIServiceMock) RestoreInstance(ctx context.Context, projectId string, instanceId string) ApiRestoreInstanceRequest
- func (a DefaultAPIServiceMock) RestoreInstanceExecute(r ApiRestoreInstanceRequest) (*RestoreInstanceResponse, error)
- func (a DefaultAPIServiceMock) UpdateBackupSchedule(ctx context.Context, projectId string, instanceId string) ApiUpdateBackupScheduleRequest
- func (a DefaultAPIServiceMock) UpdateBackupScheduleExecute(r ApiUpdateBackupScheduleRequest) (*BackupSchedule, error)
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
- func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
- func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
- type Error
- func (o *Error) GetCode() int32
- func (o *Error) GetCodeOk() (*int32, bool)
- func (o *Error) GetFields() map[string][]string
- func (o *Error) GetFieldsOk() (*map[string][]string, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetType() string
- func (o *Error) GetTypeOk() (*string, bool)
- func (o *Error) HasCode() bool
- func (o *Error) HasFields() bool
- func (o *Error) HasMessage() bool
- func (o *Error) HasType() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v int32)
- func (o *Error) SetFields(v map[string][]string)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetType(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- type Flavor
- func (o *Flavor) GetCpu() int32
- func (o *Flavor) GetCpuOk() (*int32, bool)
- func (o *Flavor) GetDescription() string
- func (o *Flavor) GetDescriptionOk() (*string, bool)
- func (o *Flavor) GetId() string
- func (o *Flavor) GetIdOk() (*string, bool)
- func (o *Flavor) GetMemory() int32
- func (o *Flavor) GetMemoryOk() (*int32, bool)
- func (o *Flavor) HasCpu() bool
- func (o *Flavor) HasDescription() bool
- func (o *Flavor) HasId() bool
- func (o *Flavor) HasMemory() bool
- func (o Flavor) MarshalJSON() ([]byte, error)
- func (o *Flavor) SetCpu(v int32)
- func (o *Flavor) SetDescription(v string)
- func (o *Flavor) SetId(v string)
- func (o *Flavor) SetMemory(v int32)
- func (o Flavor) ToMap() (map[string]interface{}, error)
- type GetBackupResponse
- func (o *GetBackupResponse) GetItem() Backup
- func (o *GetBackupResponse) GetItemOk() (*Backup, bool)
- func (o *GetBackupResponse) HasItem() bool
- func (o GetBackupResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupResponse) SetItem(v Backup)
- func (o GetBackupResponse) ToMap() (map[string]interface{}, error)
- type GetInstanceResponse
- func (o *GetInstanceResponse) GetItem() Instance
- func (o *GetInstanceResponse) GetItemOk() (*Instance, bool)
- func (o *GetInstanceResponse) HasItem() bool
- func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *GetInstanceResponse) SetItem(v Instance)
- func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
- type GetUserResponse
- func (o *GetUserResponse) GetItem() InstanceResponseUser
- func (o *GetUserResponse) GetItemOk() (*InstanceResponseUser, bool)
- func (o *GetUserResponse) HasItem() bool
- func (o GetUserResponse) MarshalJSON() ([]byte, error)
- func (o *GetUserResponse) SetItem(v InstanceResponseUser)
- func (o GetUserResponse) ToMap() (map[string]interface{}, error)
- type HandlersInfraFlavor
- func (o *HandlersInfraFlavor) GetCategories() []string
- func (o *HandlersInfraFlavor) GetCategoriesOk() ([]string, bool)
- func (o *HandlersInfraFlavor) GetCpu() int32
- func (o *HandlersInfraFlavor) GetCpuOk() (*int32, bool)
- func (o *HandlersInfraFlavor) GetDescription() string
- func (o *HandlersInfraFlavor) GetDescriptionOk() (*string, bool)
- func (o *HandlersInfraFlavor) GetId() string
- func (o *HandlersInfraFlavor) GetIdOk() (*string, bool)
- func (o *HandlersInfraFlavor) GetMemory() int32
- func (o *HandlersInfraFlavor) GetMemoryOk() (*int32, bool)
- func (o *HandlersInfraFlavor) HasCategories() bool
- func (o *HandlersInfraFlavor) HasCpu() bool
- func (o *HandlersInfraFlavor) HasDescription() bool
- func (o *HandlersInfraFlavor) HasId() bool
- func (o *HandlersInfraFlavor) HasMemory() bool
- func (o HandlersInfraFlavor) MarshalJSON() ([]byte, error)
- func (o *HandlersInfraFlavor) SetCategories(v []string)
- func (o *HandlersInfraFlavor) SetCpu(v int32)
- func (o *HandlersInfraFlavor) SetDescription(v string)
- func (o *HandlersInfraFlavor) SetId(v string)
- func (o *HandlersInfraFlavor) SetMemory(v int32)
- func (o HandlersInfraFlavor) ToMap() (map[string]interface{}, error)
- type HandlersInfraGetFlavorsResponse
- func (o *HandlersInfraGetFlavorsResponse) GetFlavors() []HandlersInfraFlavor
- func (o *HandlersInfraGetFlavorsResponse) GetFlavorsOk() ([]HandlersInfraFlavor, bool)
- func (o *HandlersInfraGetFlavorsResponse) HasFlavors() bool
- func (o HandlersInfraGetFlavorsResponse) MarshalJSON() ([]byte, error)
- func (o *HandlersInfraGetFlavorsResponse) SetFlavors(v []HandlersInfraFlavor)
- func (o HandlersInfraGetFlavorsResponse) ToMap() (map[string]interface{}, error)
- type HandlersInstancesGetInstanceResponse
- func (o *HandlersInstancesGetInstanceResponse) GetItem() Instance
- func (o *HandlersInstancesGetInstanceResponse) GetItemOk() (*Instance, bool)
- func (o *HandlersInstancesGetInstanceResponse) HasItem() bool
- func (o HandlersInstancesGetInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *HandlersInstancesGetInstanceResponse) SetItem(v Instance)
- func (o HandlersInstancesGetInstanceResponse) ToMap() (map[string]interface{}, error)
- type HandlersInstancesSlowQueriesResponse
- func (o *HandlersInstancesSlowQueriesResponse) GetSlowQueries() []SlowQuery
- func (o *HandlersInstancesSlowQueriesResponse) GetSlowQueriesOk() ([]SlowQuery, bool)
- func (o *HandlersInstancesSlowQueriesResponse) HasSlowQueries() bool
- func (o HandlersInstancesSlowQueriesResponse) MarshalJSON() ([]byte, error)
- func (o *HandlersInstancesSlowQueriesResponse) SetSlowQueries(v []SlowQuery)
- func (o HandlersInstancesSlowQueriesResponse) ToMap() (map[string]interface{}, error)
- type HandlersInstancesSuggestedIndexesResponse
- func (o *HandlersInstancesSuggestedIndexesResponse) GetShapes() []Shape
- func (o *HandlersInstancesSuggestedIndexesResponse) GetShapesOk() ([]Shape, bool)
- func (o *HandlersInstancesSuggestedIndexesResponse) GetSuggestedIndexes() []SuggestedIndex
- func (o *HandlersInstancesSuggestedIndexesResponse) GetSuggestedIndexesOk() ([]SuggestedIndex, bool)
- func (o *HandlersInstancesSuggestedIndexesResponse) HasShapes() bool
- func (o *HandlersInstancesSuggestedIndexesResponse) HasSuggestedIndexes() bool
- func (o HandlersInstancesSuggestedIndexesResponse) MarshalJSON() ([]byte, error)
- func (o *HandlersInstancesSuggestedIndexesResponse) SetShapes(v []Shape)
- func (o *HandlersInstancesSuggestedIndexesResponse) SetSuggestedIndexes(v []SuggestedIndex)
- func (o HandlersInstancesSuggestedIndexesResponse) ToMap() (map[string]interface{}, error)
- type Host
- func (o *Host) GetHostMetrics() []HostMetric
- func (o *Host) GetHostMetricsOk() ([]HostMetric, bool)
- func (o *Host) GetId() string
- func (o *Host) GetIdOk() (*string, bool)
- func (o *Host) HasHostMetrics() bool
- func (o *Host) HasId() bool
- func (o Host) MarshalJSON() ([]byte, error)
- func (o *Host) SetHostMetrics(v []HostMetric)
- func (o *Host) SetId(v string)
- func (o Host) ToMap() (map[string]interface{}, error)
- type HostMetric
- func (o *HostMetric) GetDatapoints() []DataPoint
- func (o *HostMetric) GetDatapointsOk() ([]DataPoint, bool)
- func (o *HostMetric) GetName() string
- func (o *HostMetric) GetNameOk() (*string, bool)
- func (o *HostMetric) GetUnits() string
- func (o *HostMetric) GetUnitsOk() (*string, bool)
- func (o *HostMetric) HasDatapoints() bool
- func (o *HostMetric) HasName() bool
- func (o *HostMetric) HasUnits() bool
- func (o HostMetric) MarshalJSON() ([]byte, error)
- func (o *HostMetric) SetDatapoints(v []DataPoint)
- func (o *HostMetric) SetName(v string)
- func (o *HostMetric) SetUnits(v string)
- func (o HostMetric) ToMap() (map[string]interface{}, error)
- type Instance
- func (o *Instance) GetAcl() ACL
- func (o *Instance) GetAclOk() (*ACL, bool)
- func (o *Instance) GetBackupSchedule() string
- func (o *Instance) GetBackupScheduleOk() (*string, bool)
- func (o *Instance) GetFlavor() Flavor
- func (o *Instance) GetFlavorOk() (*Flavor, bool)
- func (o *Instance) GetId() string
- func (o *Instance) GetIdOk() (*string, bool)
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetOptions() map[string]string
- func (o *Instance) GetOptionsOk() (*map[string]string, bool)
- func (o *Instance) GetReplicas() int32
- func (o *Instance) GetReplicasOk() (*int32, bool)
- func (o *Instance) GetStatus() string
- func (o *Instance) GetStatusOk() (*string, bool)
- func (o *Instance) GetStorage() Storage
- func (o *Instance) GetStorageOk() (*Storage, bool)
- func (o *Instance) GetVersion() string
- func (o *Instance) GetVersionOk() (*string, bool)
- func (o *Instance) HasAcl() bool
- func (o *Instance) HasBackupSchedule() bool
- func (o *Instance) HasFlavor() bool
- func (o *Instance) HasId() bool
- func (o *Instance) HasName() bool
- func (o *Instance) HasOptions() bool
- func (o *Instance) HasReplicas() bool
- func (o *Instance) HasStatus() bool
- func (o *Instance) HasStorage() bool
- func (o *Instance) HasVersion() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetAcl(v ACL)
- func (o *Instance) SetBackupSchedule(v string)
- func (o *Instance) SetFlavor(v Flavor)
- func (o *Instance) SetId(v string)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetOptions(v map[string]string)
- func (o *Instance) SetReplicas(v int32)
- func (o *Instance) SetStatus(v string)
- func (o *Instance) SetStorage(v Storage)
- func (o *Instance) SetVersion(v string)
- func (o Instance) ToMap() (map[string]interface{}, error)
- type InstanceListInstance
- func (o *InstanceListInstance) GetId() string
- func (o *InstanceListInstance) GetIdOk() (*string, bool)
- func (o *InstanceListInstance) GetName() string
- func (o *InstanceListInstance) GetNameOk() (*string, bool)
- func (o *InstanceListInstance) GetStatus() string
- func (o *InstanceListInstance) GetStatusOk() (*string, bool)
- func (o *InstanceListInstance) HasId() bool
- func (o *InstanceListInstance) HasName() bool
- func (o *InstanceListInstance) HasStatus() bool
- func (o InstanceListInstance) MarshalJSON() ([]byte, error)
- func (o *InstanceListInstance) SetId(v string)
- func (o *InstanceListInstance) SetName(v string)
- func (o *InstanceListInstance) SetStatus(v string)
- func (o InstanceListInstance) ToMap() (map[string]interface{}, error)
- type InstanceResponseUser
- func (o *InstanceResponseUser) GetDatabase() string
- func (o *InstanceResponseUser) GetDatabaseOk() (*string, bool)
- func (o *InstanceResponseUser) GetHost() string
- func (o *InstanceResponseUser) GetHostOk() (*string, bool)
- func (o *InstanceResponseUser) GetId() string
- func (o *InstanceResponseUser) GetIdOk() (*string, bool)
- func (o *InstanceResponseUser) GetPort() int32
- func (o *InstanceResponseUser) GetPortOk() (*int32, bool)
- func (o *InstanceResponseUser) GetRoles() []string
- func (o *InstanceResponseUser) GetRolesOk() ([]string, bool)
- func (o *InstanceResponseUser) GetUsername() string
- func (o *InstanceResponseUser) GetUsernameOk() (*string, bool)
- func (o *InstanceResponseUser) HasDatabase() bool
- func (o *InstanceResponseUser) HasHost() bool
- func (o *InstanceResponseUser) HasId() bool
- func (o *InstanceResponseUser) HasPort() bool
- func (o *InstanceResponseUser) HasRoles() bool
- func (o *InstanceResponseUser) HasUsername() bool
- func (o InstanceResponseUser) MarshalJSON() ([]byte, error)
- func (o *InstanceResponseUser) SetDatabase(v string)
- func (o *InstanceResponseUser) SetHost(v string)
- func (o *InstanceResponseUser) SetId(v string)
- func (o *InstanceResponseUser) SetPort(v int32)
- func (o *InstanceResponseUser) SetRoles(v []string)
- func (o *InstanceResponseUser) SetUsername(v string)
- func (o InstanceResponseUser) ToMap() (map[string]interface{}, error)
- type ListBackupsResponse
- func (o *ListBackupsResponse) GetCount() int32
- func (o *ListBackupsResponse) GetCountOk() (*int32, bool)
- func (o *ListBackupsResponse) GetItems() []Backup
- func (o *ListBackupsResponse) GetItemsOk() ([]Backup, bool)
- func (o *ListBackupsResponse) HasCount() bool
- func (o *ListBackupsResponse) HasItems() bool
- func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
- func (o *ListBackupsResponse) SetCount(v int32)
- func (o *ListBackupsResponse) SetItems(v []Backup)
- func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
- type ListFlavorsResponse
- func (o *ListFlavorsResponse) GetFlavors() []HandlersInfraFlavor
- func (o *ListFlavorsResponse) GetFlavorsOk() ([]HandlersInfraFlavor, bool)
- func (o *ListFlavorsResponse) HasFlavors() bool
- func (o ListFlavorsResponse) MarshalJSON() ([]byte, error)
- func (o *ListFlavorsResponse) SetFlavors(v []HandlersInfraFlavor)
- func (o ListFlavorsResponse) ToMap() (map[string]interface{}, error)
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetCount() int32
- func (o *ListInstancesResponse) GetCountOk() (*int32, bool)
- func (o *ListInstancesResponse) GetItems() []InstanceListInstance
- func (o *ListInstancesResponse) GetItemsOk() ([]InstanceListInstance, bool)
- func (o *ListInstancesResponse) HasCount() bool
- func (o *ListInstancesResponse) HasItems() bool
- func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstancesResponse) SetCount(v int32)
- func (o *ListInstancesResponse) SetItems(v []InstanceListInstance)
- func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
- type ListMetricsResponse
- func (o *ListMetricsResponse) GetHosts() []Host
- func (o *ListMetricsResponse) GetHostsOk() ([]Host, bool)
- func (o *ListMetricsResponse) HasHosts() bool
- func (o ListMetricsResponse) MarshalJSON() ([]byte, error)
- func (o *ListMetricsResponse) SetHosts(v []Host)
- func (o ListMetricsResponse) ToMap() (map[string]interface{}, error)
- type ListRestoreJobsResponse
- func (o *ListRestoreJobsResponse) GetItems() []RestoreInstanceStatus
- func (o *ListRestoreJobsResponse) GetItemsOk() ([]RestoreInstanceStatus, bool)
- func (o *ListRestoreJobsResponse) HasItems() bool
- func (o ListRestoreJobsResponse) MarshalJSON() ([]byte, error)
- func (o *ListRestoreJobsResponse) SetItems(v []RestoreInstanceStatus)
- func (o ListRestoreJobsResponse) ToMap() (map[string]interface{}, error)
- type ListStoragesResponse
- func (o *ListStoragesResponse) GetStorageClasses() []string
- func (o *ListStoragesResponse) GetStorageClassesOk() ([]string, bool)
- func (o *ListStoragesResponse) GetStorageRange() StorageRange
- func (o *ListStoragesResponse) GetStorageRangeOk() (*StorageRange, bool)
- func (o *ListStoragesResponse) HasStorageClasses() bool
- func (o *ListStoragesResponse) HasStorageRange() bool
- func (o ListStoragesResponse) MarshalJSON() ([]byte, error)
- func (o *ListStoragesResponse) SetStorageClasses(v []string)
- func (o *ListStoragesResponse) SetStorageRange(v StorageRange)
- func (o ListStoragesResponse) ToMap() (map[string]interface{}, error)
- type ListUser
- func (o *ListUser) GetId() string
- func (o *ListUser) GetIdOk() (*string, bool)
- func (o *ListUser) GetUsername() string
- func (o *ListUser) GetUsernameOk() (*string, bool)
- func (o *ListUser) HasId() bool
- func (o *ListUser) HasUsername() bool
- func (o ListUser) MarshalJSON() ([]byte, error)
- func (o *ListUser) SetId(v string)
- func (o *ListUser) SetUsername(v string)
- func (o ListUser) ToMap() (map[string]interface{}, error)
- type ListUsersResponse
- func (o *ListUsersResponse) GetCount() int32
- func (o *ListUsersResponse) GetCountOk() (*int32, bool)
- func (o *ListUsersResponse) GetItems() []ListUser
- func (o *ListUsersResponse) GetItemsOk() ([]ListUser, bool)
- func (o *ListUsersResponse) HasCount() bool
- func (o *ListUsersResponse) HasItems() bool
- func (o ListUsersResponse) MarshalJSON() ([]byte, error)
- func (o *ListUsersResponse) SetCount(v int32)
- func (o *ListUsersResponse) SetItems(v []ListUser)
- func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
- type ListVersionsResponse
- func (o *ListVersionsResponse) GetVersions() []string
- func (o *ListVersionsResponse) GetVersionsOk() ([]string, bool)
- func (o *ListVersionsResponse) HasVersions() bool
- func (o ListVersionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListVersionsResponse) SetVersions(v []string)
- func (o ListVersionsResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type MongodbatlasOperation
- func (o *MongodbatlasOperation) GetPredicates() []map[string]interface{}
- func (o *MongodbatlasOperation) GetPredicatesOk() ([]map[string]interface{}, bool)
- func (o *MongodbatlasOperation) GetRaw() string
- func (o *MongodbatlasOperation) GetRawOk() (*string, bool)
- func (o *MongodbatlasOperation) GetStats() MongodbatlasStats
- func (o *MongodbatlasOperation) GetStatsOk() (*MongodbatlasStats, bool)
- func (o *MongodbatlasOperation) HasPredicates() bool
- func (o *MongodbatlasOperation) HasRaw() bool
- func (o *MongodbatlasOperation) HasStats() bool
- func (o MongodbatlasOperation) MarshalJSON() ([]byte, error)
- func (o *MongodbatlasOperation) SetPredicates(v []map[string]interface{})
- func (o *MongodbatlasOperation) SetRaw(v string)
- func (o *MongodbatlasOperation) SetStats(v MongodbatlasStats)
- func (o MongodbatlasOperation) ToMap() (map[string]interface{}, error)
- type MongodbatlasStats
- func (o *MongodbatlasStats) GetMs() float32
- func (o *MongodbatlasStats) GetMsOk() (*float32, bool)
- func (o *MongodbatlasStats) GetNReturned() int32
- func (o *MongodbatlasStats) GetNReturnedOk() (*int32, bool)
- func (o *MongodbatlasStats) GetNScanned() int32
- func (o *MongodbatlasStats) GetNScannedOk() (*int32, bool)
- func (o *MongodbatlasStats) GetTs() int32
- func (o *MongodbatlasStats) GetTsOk() (*int32, bool)
- func (o *MongodbatlasStats) HasMs() bool
- func (o *MongodbatlasStats) HasNReturned() bool
- func (o *MongodbatlasStats) HasNScanned() bool
- func (o *MongodbatlasStats) HasTs() bool
- func (o MongodbatlasStats) MarshalJSON() ([]byte, error)
- func (o *MongodbatlasStats) SetMs(v float32)
- func (o *MongodbatlasStats) SetNReturned(v int32)
- func (o *MongodbatlasStats) SetNScanned(v int32)
- func (o *MongodbatlasStats) SetTs(v int32)
- func (o MongodbatlasStats) ToMap() (map[string]interface{}, error)
- type NullableACL
- type NullableBackup
- type NullableBackupSchedule
- func (v NullableBackupSchedule) Get() *BackupSchedule
- func (v NullableBackupSchedule) IsSet() bool
- func (v NullableBackupSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableBackupSchedule) Set(val *BackupSchedule)
- func (v *NullableBackupSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableBackupSchedule) Unset()
- type NullableBool
- type NullableCloneInstancePayload
- func (v NullableCloneInstancePayload) Get() *CloneInstancePayload
- func (v NullableCloneInstancePayload) IsSet() bool
- func (v NullableCloneInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCloneInstancePayload) Set(val *CloneInstancePayload)
- func (v *NullableCloneInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCloneInstancePayload) Unset()
- type NullableCloneInstanceResponse
- func (v NullableCloneInstanceResponse) Get() *CloneInstanceResponse
- func (v NullableCloneInstanceResponse) IsSet() bool
- func (v NullableCloneInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCloneInstanceResponse) Set(val *CloneInstanceResponse)
- func (v *NullableCloneInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCloneInstanceResponse) Unset()
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableCreateInstanceResponse
- func (v NullableCreateInstanceResponse) Get() *CreateInstanceResponse
- func (v NullableCreateInstanceResponse) IsSet() bool
- func (v NullableCreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceResponse) Set(val *CreateInstanceResponse)
- func (v *NullableCreateInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceResponse) Unset()
- type NullableCreateUserPayload
- func (v NullableCreateUserPayload) Get() *CreateUserPayload
- func (v NullableCreateUserPayload) IsSet() bool
- func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
- func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserPayload) Unset()
- type NullableCreateUserResponse
- func (v NullableCreateUserResponse) Get() *CreateUserResponse
- func (v NullableCreateUserResponse) IsSet() bool
- func (v NullableCreateUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserResponse) Set(val *CreateUserResponse)
- func (v *NullableCreateUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserResponse) Unset()
- type NullableDataPoint
- type NullableError
- type NullableFlavor
- type NullableFloat32
- type NullableFloat64
- type NullableGetBackupResponse
- func (v NullableGetBackupResponse) Get() *GetBackupResponse
- func (v NullableGetBackupResponse) IsSet() bool
- func (v NullableGetBackupResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetBackupResponse) Set(val *GetBackupResponse)
- func (v *NullableGetBackupResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetBackupResponse) Unset()
- type NullableGetInstanceResponse
- func (v NullableGetInstanceResponse) Get() *GetInstanceResponse
- func (v NullableGetInstanceResponse) IsSet() bool
- func (v NullableGetInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetInstanceResponse) Set(val *GetInstanceResponse)
- func (v *NullableGetInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetInstanceResponse) Unset()
- type NullableGetUserResponse
- func (v NullableGetUserResponse) Get() *GetUserResponse
- func (v NullableGetUserResponse) IsSet() bool
- func (v NullableGetUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUserResponse) Set(val *GetUserResponse)
- func (v *NullableGetUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUserResponse) Unset()
- type NullableHandlersInfraFlavor
- func (v NullableHandlersInfraFlavor) Get() *HandlersInfraFlavor
- func (v NullableHandlersInfraFlavor) IsSet() bool
- func (v NullableHandlersInfraFlavor) MarshalJSON() ([]byte, error)
- func (v *NullableHandlersInfraFlavor) Set(val *HandlersInfraFlavor)
- func (v *NullableHandlersInfraFlavor) UnmarshalJSON(src []byte) error
- func (v *NullableHandlersInfraFlavor) Unset()
- type NullableHandlersInfraGetFlavorsResponse
- func (v NullableHandlersInfraGetFlavorsResponse) Get() *HandlersInfraGetFlavorsResponse
- func (v NullableHandlersInfraGetFlavorsResponse) IsSet() bool
- func (v NullableHandlersInfraGetFlavorsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableHandlersInfraGetFlavorsResponse) Set(val *HandlersInfraGetFlavorsResponse)
- func (v *NullableHandlersInfraGetFlavorsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableHandlersInfraGetFlavorsResponse) Unset()
- type NullableHandlersInstancesGetInstanceResponse
- func (v NullableHandlersInstancesGetInstanceResponse) Get() *HandlersInstancesGetInstanceResponse
- func (v NullableHandlersInstancesGetInstanceResponse) IsSet() bool
- func (v NullableHandlersInstancesGetInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableHandlersInstancesGetInstanceResponse) Set(val *HandlersInstancesGetInstanceResponse)
- func (v *NullableHandlersInstancesGetInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableHandlersInstancesGetInstanceResponse) Unset()
- type NullableHandlersInstancesSlowQueriesResponse
- func (v NullableHandlersInstancesSlowQueriesResponse) Get() *HandlersInstancesSlowQueriesResponse
- func (v NullableHandlersInstancesSlowQueriesResponse) IsSet() bool
- func (v NullableHandlersInstancesSlowQueriesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableHandlersInstancesSlowQueriesResponse) Set(val *HandlersInstancesSlowQueriesResponse)
- func (v *NullableHandlersInstancesSlowQueriesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableHandlersInstancesSlowQueriesResponse) Unset()
- type NullableHandlersInstancesSuggestedIndexesResponse
- func (v NullableHandlersInstancesSuggestedIndexesResponse) Get() *HandlersInstancesSuggestedIndexesResponse
- func (v NullableHandlersInstancesSuggestedIndexesResponse) IsSet() bool
- func (v NullableHandlersInstancesSuggestedIndexesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableHandlersInstancesSuggestedIndexesResponse) Set(val *HandlersInstancesSuggestedIndexesResponse)
- func (v *NullableHandlersInstancesSuggestedIndexesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableHandlersInstancesSuggestedIndexesResponse) Unset()
- type NullableHost
- type NullableHostMetric
- type NullableInstance
- type NullableInstanceListInstance
- func (v NullableInstanceListInstance) Get() *InstanceListInstance
- func (v NullableInstanceListInstance) IsSet() bool
- func (v NullableInstanceListInstance) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceListInstance) Set(val *InstanceListInstance)
- func (v *NullableInstanceListInstance) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceListInstance) Unset()
- type NullableInstanceResponseUser
- func (v NullableInstanceResponseUser) Get() *InstanceResponseUser
- func (v NullableInstanceResponseUser) IsSet() bool
- func (v NullableInstanceResponseUser) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceResponseUser) Set(val *InstanceResponseUser)
- func (v *NullableInstanceResponseUser) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceResponseUser) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListBackupsResponse
- func (v NullableListBackupsResponse) Get() *ListBackupsResponse
- func (v NullableListBackupsResponse) IsSet() bool
- func (v NullableListBackupsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListBackupsResponse) Set(val *ListBackupsResponse)
- func (v *NullableListBackupsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListBackupsResponse) Unset()
- type NullableListFlavorsResponse
- func (v NullableListFlavorsResponse) Get() *ListFlavorsResponse
- func (v NullableListFlavorsResponse) IsSet() bool
- func (v NullableListFlavorsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListFlavorsResponse) Set(val *ListFlavorsResponse)
- func (v *NullableListFlavorsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListFlavorsResponse) Unset()
- type NullableListInstancesResponse
- func (v NullableListInstancesResponse) Get() *ListInstancesResponse
- func (v NullableListInstancesResponse) IsSet() bool
- func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
- func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListInstancesResponse) Unset()
- type NullableListMetricsResponse
- func (v NullableListMetricsResponse) Get() *ListMetricsResponse
- func (v NullableListMetricsResponse) IsSet() bool
- func (v NullableListMetricsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListMetricsResponse) Set(val *ListMetricsResponse)
- func (v *NullableListMetricsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListMetricsResponse) Unset()
- type NullableListRestoreJobsResponse
- func (v NullableListRestoreJobsResponse) Get() *ListRestoreJobsResponse
- func (v NullableListRestoreJobsResponse) IsSet() bool
- func (v NullableListRestoreJobsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListRestoreJobsResponse) Set(val *ListRestoreJobsResponse)
- func (v *NullableListRestoreJobsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListRestoreJobsResponse) Unset()
- type NullableListStoragesResponse
- func (v NullableListStoragesResponse) Get() *ListStoragesResponse
- func (v NullableListStoragesResponse) IsSet() bool
- func (v NullableListStoragesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListStoragesResponse) Set(val *ListStoragesResponse)
- func (v *NullableListStoragesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListStoragesResponse) Unset()
- type NullableListUser
- type NullableListUsersResponse
- func (v NullableListUsersResponse) Get() *ListUsersResponse
- func (v NullableListUsersResponse) IsSet() bool
- func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
- func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUsersResponse) Unset()
- type NullableListVersionsResponse
- func (v NullableListVersionsResponse) Get() *ListVersionsResponse
- func (v NullableListVersionsResponse) IsSet() bool
- func (v NullableListVersionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListVersionsResponse) Set(val *ListVersionsResponse)
- func (v *NullableListVersionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListVersionsResponse) Unset()
- type NullableMongodbatlasOperation
- func (v NullableMongodbatlasOperation) Get() *MongodbatlasOperation
- func (v NullableMongodbatlasOperation) IsSet() bool
- func (v NullableMongodbatlasOperation) MarshalJSON() ([]byte, error)
- func (v *NullableMongodbatlasOperation) Set(val *MongodbatlasOperation)
- func (v *NullableMongodbatlasOperation) UnmarshalJSON(src []byte) error
- func (v *NullableMongodbatlasOperation) Unset()
- type NullableMongodbatlasStats
- func (v NullableMongodbatlasStats) Get() *MongodbatlasStats
- func (v NullableMongodbatlasStats) IsSet() bool
- func (v NullableMongodbatlasStats) MarshalJSON() ([]byte, error)
- func (v *NullableMongodbatlasStats) Set(val *MongodbatlasStats)
- func (v *NullableMongodbatlasStats) UnmarshalJSON(src []byte) error
- func (v *NullableMongodbatlasStats) Unset()
- type NullablePartialUpdateInstancePayload
- func (v NullablePartialUpdateInstancePayload) Get() *PartialUpdateInstancePayload
- func (v NullablePartialUpdateInstancePayload) IsSet() bool
- func (v NullablePartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateInstancePayload) Set(val *PartialUpdateInstancePayload)
- func (v *NullablePartialUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateInstancePayload) Unset()
- type NullablePartialUpdateUserPayload
- func (v NullablePartialUpdateUserPayload) Get() *PartialUpdateUserPayload
- func (v NullablePartialUpdateUserPayload) IsSet() bool
- func (v NullablePartialUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateUserPayload) Set(val *PartialUpdateUserPayload)
- func (v *NullablePartialUpdateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateUserPayload) Unset()
- type NullableRestoreInstancePayload
- func (v NullableRestoreInstancePayload) Get() *RestoreInstancePayload
- func (v NullableRestoreInstancePayload) IsSet() bool
- func (v NullableRestoreInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreInstancePayload) Set(val *RestoreInstancePayload)
- func (v *NullableRestoreInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreInstancePayload) Unset()
- type NullableRestoreInstanceResponse
- func (v NullableRestoreInstanceResponse) Get() *RestoreInstanceResponse
- func (v NullableRestoreInstanceResponse) IsSet() bool
- func (v NullableRestoreInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreInstanceResponse) Set(val *RestoreInstanceResponse)
- func (v *NullableRestoreInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreInstanceResponse) Unset()
- type NullableRestoreInstanceStatus
- func (v NullableRestoreInstanceStatus) Get() *RestoreInstanceStatus
- func (v NullableRestoreInstanceStatus) IsSet() bool
- func (v NullableRestoreInstanceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreInstanceStatus) Set(val *RestoreInstanceStatus)
- func (v *NullableRestoreInstanceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreInstanceStatus) Unset()
- type NullableShape
- type NullableSlowQuery
- type NullableStorage
- type NullableStorageRange
- func (v NullableStorageRange) Get() *StorageRange
- func (v NullableStorageRange) IsSet() bool
- func (v NullableStorageRange) MarshalJSON() ([]byte, error)
- func (v *NullableStorageRange) Set(val *StorageRange)
- func (v *NullableStorageRange) UnmarshalJSON(src []byte) error
- func (v *NullableStorageRange) Unset()
- type NullableString
- type NullableSuggestedIndex
- func (v NullableSuggestedIndex) Get() *SuggestedIndex
- func (v NullableSuggestedIndex) IsSet() bool
- func (v NullableSuggestedIndex) MarshalJSON() ([]byte, error)
- func (v *NullableSuggestedIndex) Set(val *SuggestedIndex)
- func (v *NullableSuggestedIndex) UnmarshalJSON(src []byte) error
- func (v *NullableSuggestedIndex) Unset()
- type NullableTime
- type NullableUpdateBackupSchedulePayload
- func (v NullableUpdateBackupSchedulePayload) Get() *UpdateBackupSchedulePayload
- func (v NullableUpdateBackupSchedulePayload) IsSet() bool
- func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateBackupSchedulePayload) Set(val *UpdateBackupSchedulePayload)
- func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateBackupSchedulePayload) Unset()
- type NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUpdateInstanceResponse
- func (v NullableUpdateInstanceResponse) Get() *UpdateInstanceResponse
- func (v NullableUpdateInstanceResponse) IsSet() bool
- func (v NullableUpdateInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstanceResponse) Set(val *UpdateInstanceResponse)
- func (v *NullableUpdateInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstanceResponse) Unset()
- type NullableUpdateUserPayload
- func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
- func (v NullableUpdateUserPayload) IsSet() bool
- func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
- func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserPayload) Unset()
- type NullableUser
- type PartialUpdateInstancePayload
- func (o *PartialUpdateInstancePayload) GetAcl() ACL
- func (o *PartialUpdateInstancePayload) GetAclOk() (*ACL, bool)
- func (o *PartialUpdateInstancePayload) GetBackupSchedule() string
- func (o *PartialUpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetFlavorId() string
- func (o *PartialUpdateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetLabels() map[string]string
- func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateInstancePayload) GetName() string
- func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetOptions() map[string]string
- func (o *PartialUpdateInstancePayload) GetOptionsOk() (*map[string]string, bool)
- func (o *PartialUpdateInstancePayload) GetReplicas() int32
- func (o *PartialUpdateInstancePayload) GetReplicasOk() (*int32, bool)
- func (o *PartialUpdateInstancePayload) GetStorage() Storage
- func (o *PartialUpdateInstancePayload) GetStorageOk() (*Storage, bool)
- func (o *PartialUpdateInstancePayload) GetVersion() string
- func (o *PartialUpdateInstancePayload) GetVersionOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) HasAcl() bool
- func (o *PartialUpdateInstancePayload) HasBackupSchedule() bool
- func (o *PartialUpdateInstancePayload) HasFlavorId() bool
- func (o *PartialUpdateInstancePayload) HasLabels() bool
- func (o *PartialUpdateInstancePayload) HasName() bool
- func (o *PartialUpdateInstancePayload) HasOptions() bool
- func (o *PartialUpdateInstancePayload) HasReplicas() bool
- func (o *PartialUpdateInstancePayload) HasStorage() bool
- func (o *PartialUpdateInstancePayload) HasVersion() bool
- func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstancePayload) SetAcl(v ACL)
- func (o *PartialUpdateInstancePayload) SetBackupSchedule(v string)
- func (o *PartialUpdateInstancePayload) SetFlavorId(v string)
- func (o *PartialUpdateInstancePayload) SetLabels(v map[string]string)
- func (o *PartialUpdateInstancePayload) SetName(v string)
- func (o *PartialUpdateInstancePayload) SetOptions(v map[string]string)
- func (o *PartialUpdateInstancePayload) SetReplicas(v int32)
- func (o *PartialUpdateInstancePayload) SetStorage(v Storage)
- func (o *PartialUpdateInstancePayload) SetVersion(v string)
- func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
- type PartialUpdateUserPayload
- func (o *PartialUpdateUserPayload) GetDatabase() string
- func (o *PartialUpdateUserPayload) GetDatabaseOk() (*string, bool)
- func (o *PartialUpdateUserPayload) GetRoles() []string
- func (o *PartialUpdateUserPayload) GetRolesOk() ([]string, bool)
- func (o *PartialUpdateUserPayload) HasDatabase() bool
- func (o *PartialUpdateUserPayload) HasRoles() bool
- func (o PartialUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateUserPayload) SetDatabase(v string)
- func (o *PartialUpdateUserPayload) SetRoles(v []string)
- func (o PartialUpdateUserPayload) ToMap() (map[string]interface{}, error)
- type RestoreInstancePayload
- func (o *RestoreInstancePayload) GetBackupId() string
- func (o *RestoreInstancePayload) GetBackupIdOk() (*string, bool)
- func (o *RestoreInstancePayload) GetInstanceId() string
- func (o *RestoreInstancePayload) GetInstanceIdOk() (*string, bool)
- func (o RestoreInstancePayload) MarshalJSON() ([]byte, error)
- func (o *RestoreInstancePayload) SetBackupId(v string)
- func (o *RestoreInstancePayload) SetInstanceId(v string)
- func (o RestoreInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *RestoreInstancePayload) UnmarshalJSON(data []byte) (err error)
- type RestoreInstanceResponse
- func (o *RestoreInstanceResponse) GetItem() RestoreInstanceStatus
- func (o *RestoreInstanceResponse) GetItemOk() (*RestoreInstanceStatus, bool)
- func (o *RestoreInstanceResponse) HasItem() bool
- func (o RestoreInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *RestoreInstanceResponse) SetItem(v RestoreInstanceStatus)
- func (o RestoreInstanceResponse) ToMap() (map[string]interface{}, error)
- type RestoreInstanceStatus
- func (o *RestoreInstanceStatus) GetBackupID() string
- func (o *RestoreInstanceStatus) GetBackupIDOk() (*string, bool)
- func (o *RestoreInstanceStatus) GetDate() string
- func (o *RestoreInstanceStatus) GetDateOk() (*string, bool)
- func (o *RestoreInstanceStatus) GetId() string
- func (o *RestoreInstanceStatus) GetIdOk() (*string, bool)
- func (o *RestoreInstanceStatus) GetInstanceId() string
- func (o *RestoreInstanceStatus) GetInstanceIdOk() (*string, bool)
- func (o *RestoreInstanceStatus) GetStatus() string
- func (o *RestoreInstanceStatus) GetStatusOk() (*string, bool)
- func (o *RestoreInstanceStatus) HasBackupID() bool
- func (o *RestoreInstanceStatus) HasDate() bool
- func (o *RestoreInstanceStatus) HasId() bool
- func (o *RestoreInstanceStatus) HasInstanceId() bool
- func (o *RestoreInstanceStatus) HasStatus() bool
- func (o RestoreInstanceStatus) MarshalJSON() ([]byte, error)
- func (o *RestoreInstanceStatus) SetBackupID(v string)
- func (o *RestoreInstanceStatus) SetDate(v string)
- func (o *RestoreInstanceStatus) SetId(v string)
- func (o *RestoreInstanceStatus) SetInstanceId(v string)
- func (o *RestoreInstanceStatus) SetStatus(v string)
- func (o RestoreInstanceStatus) ToMap() (map[string]interface{}, error)
- type Shape
- func (o *Shape) GetAvgMs() float32
- func (o *Shape) GetAvgMsOk() (*float32, bool)
- func (o *Shape) GetCount() int32
- func (o *Shape) GetCountOk() (*int32, bool)
- func (o *Shape) GetId() string
- func (o *Shape) GetIdOk() (*string, bool)
- func (o *Shape) GetInefficiencyScore() int32
- func (o *Shape) GetInefficiencyScoreOk() (*int32, bool)
- func (o *Shape) GetNamespace() string
- func (o *Shape) GetNamespaceOk() (*string, bool)
- func (o *Shape) GetOperations() []MongodbatlasOperation
- func (o *Shape) GetOperationsOk() ([]MongodbatlasOperation, bool)
- func (o *Shape) HasAvgMs() bool
- func (o *Shape) HasCount() bool
- func (o *Shape) HasId() bool
- func (o *Shape) HasInefficiencyScore() bool
- func (o *Shape) HasNamespace() bool
- func (o *Shape) HasOperations() bool
- func (o Shape) MarshalJSON() ([]byte, error)
- func (o *Shape) SetAvgMs(v float32)
- func (o *Shape) SetCount(v int32)
- func (o *Shape) SetId(v string)
- func (o *Shape) SetInefficiencyScore(v int32)
- func (o *Shape) SetNamespace(v string)
- func (o *Shape) SetOperations(v []MongodbatlasOperation)
- func (o Shape) ToMap() (map[string]interface{}, error)
- type SlowQuery
- func (o *SlowQuery) GetLine() string
- func (o *SlowQuery) GetLineOk() (*string, bool)
- func (o *SlowQuery) GetNamespace() string
- func (o *SlowQuery) GetNamespaceOk() (*string, bool)
- func (o *SlowQuery) HasLine() bool
- func (o *SlowQuery) HasNamespace() bool
- func (o SlowQuery) MarshalJSON() ([]byte, error)
- func (o *SlowQuery) SetLine(v string)
- func (o *SlowQuery) SetNamespace(v string)
- func (o SlowQuery) ToMap() (map[string]interface{}, error)
- type Storage
- func (o *Storage) GetClass() string
- func (o *Storage) GetClassOk() (*string, bool)
- func (o *Storage) GetSize() int32
- func (o *Storage) GetSizeOk() (*int32, bool)
- func (o *Storage) HasClass() bool
- func (o *Storage) HasSize() bool
- func (o Storage) MarshalJSON() ([]byte, error)
- func (o *Storage) SetClass(v string)
- func (o *Storage) SetSize(v int32)
- func (o Storage) ToMap() (map[string]interface{}, error)
- type StorageRange
- func (o *StorageRange) GetMax() int32
- func (o *StorageRange) GetMaxOk() (*int32, bool)
- func (o *StorageRange) GetMin() int32
- func (o *StorageRange) GetMinOk() (*int32, bool)
- func (o *StorageRange) HasMax() bool
- func (o *StorageRange) HasMin() bool
- func (o StorageRange) MarshalJSON() ([]byte, error)
- func (o *StorageRange) SetMax(v int32)
- func (o *StorageRange) SetMin(v int32)
- func (o StorageRange) ToMap() (map[string]interface{}, error)
- type SuggestedIndex
- func (o *SuggestedIndex) GetId() string
- func (o *SuggestedIndex) GetIdOk() (*string, bool)
- func (o *SuggestedIndex) GetImpact() []string
- func (o *SuggestedIndex) GetImpactOk() ([]string, bool)
- func (o *SuggestedIndex) GetIndex() []map[string]int32
- func (o *SuggestedIndex) GetIndexOk() ([]map[string]int32, bool)
- func (o *SuggestedIndex) GetNamespace() string
- func (o *SuggestedIndex) GetNamespaceOk() (*string, bool)
- func (o *SuggestedIndex) GetWeight() float32
- func (o *SuggestedIndex) GetWeightOk() (*float32, bool)
- func (o *SuggestedIndex) HasId() bool
- func (o *SuggestedIndex) HasImpact() bool
- func (o *SuggestedIndex) HasIndex() bool
- func (o *SuggestedIndex) HasNamespace() bool
- func (o *SuggestedIndex) HasWeight() bool
- func (o SuggestedIndex) MarshalJSON() ([]byte, error)
- func (o *SuggestedIndex) SetId(v string)
- func (o *SuggestedIndex) SetImpact(v []string)
- func (o *SuggestedIndex) SetIndex(v []map[string]int32)
- func (o *SuggestedIndex) SetNamespace(v string)
- func (o *SuggestedIndex) SetWeight(v float32)
- func (o SuggestedIndex) ToMap() (map[string]interface{}, error)
- type UpdateBackupSchedulePayload
- func (o *UpdateBackupSchedulePayload) GetBackupSchedule() string
- func (o *UpdateBackupSchedulePayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateBackupSchedulePayload) GetDailySnapshotRetentionDays() int32
- func (o *UpdateBackupSchedulePayload) GetDailySnapshotRetentionDaysOk() (*int32, bool)
- func (o *UpdateBackupSchedulePayload) GetMonthlySnapshotRetentionMonths() int32
- func (o *UpdateBackupSchedulePayload) GetMonthlySnapshotRetentionMonthsOk() (*int32, bool)
- func (o *UpdateBackupSchedulePayload) GetPointInTimeWindowHours() int32
- func (o *UpdateBackupSchedulePayload) GetPointInTimeWindowHoursOk() (*int32, bool)
- func (o *UpdateBackupSchedulePayload) GetSnapshotRetentionDays() int32
- func (o *UpdateBackupSchedulePayload) GetSnapshotRetentionDaysOk() (*int32, bool)
- func (o *UpdateBackupSchedulePayload) GetWeeklySnapshotRetentionWeeks() int32
- func (o *UpdateBackupSchedulePayload) GetWeeklySnapshotRetentionWeeksOk() (*int32, bool)
- func (o *UpdateBackupSchedulePayload) HasBackupSchedule() bool
- func (o *UpdateBackupSchedulePayload) HasDailySnapshotRetentionDays() bool
- func (o *UpdateBackupSchedulePayload) HasMonthlySnapshotRetentionMonths() bool
- func (o *UpdateBackupSchedulePayload) HasPointInTimeWindowHours() bool
- func (o *UpdateBackupSchedulePayload) HasSnapshotRetentionDays() bool
- func (o *UpdateBackupSchedulePayload) HasWeeklySnapshotRetentionWeeks() bool
- func (o UpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateBackupSchedulePayload) SetBackupSchedule(v string)
- func (o *UpdateBackupSchedulePayload) SetDailySnapshotRetentionDays(v int32)
- func (o *UpdateBackupSchedulePayload) SetMonthlySnapshotRetentionMonths(v int32)
- func (o *UpdateBackupSchedulePayload) SetPointInTimeWindowHours(v int32)
- func (o *UpdateBackupSchedulePayload) SetSnapshotRetentionDays(v int32)
- func (o *UpdateBackupSchedulePayload) SetWeeklySnapshotRetentionWeeks(v int32)
- func (o UpdateBackupSchedulePayload) ToMap() (map[string]interface{}, error)
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetAcl() ACL
- func (o *UpdateInstancePayload) GetAclOk() (*ACL, bool)
- func (o *UpdateInstancePayload) GetBackupSchedule() string
- func (o *UpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateInstancePayload) GetFlavorId() string
- func (o *UpdateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *UpdateInstancePayload) GetLabels() map[string]string
- func (o *UpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateInstancePayload) GetName() string
- func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePayload) GetOptions() map[string]string
- func (o *UpdateInstancePayload) GetOptionsOk() (*map[string]string, bool)
- func (o *UpdateInstancePayload) GetReplicas() int32
- func (o *UpdateInstancePayload) GetReplicasOk() (*int32, bool)
- func (o *UpdateInstancePayload) GetStorage() Storage
- func (o *UpdateInstancePayload) GetStorageOk() (*Storage, bool)
- func (o *UpdateInstancePayload) GetVersion() string
- func (o *UpdateInstancePayload) GetVersionOk() (*string, bool)
- func (o *UpdateInstancePayload) HasLabels() bool
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetAcl(v ACL)
- func (o *UpdateInstancePayload) SetBackupSchedule(v string)
- func (o *UpdateInstancePayload) SetFlavorId(v string)
- func (o *UpdateInstancePayload) SetLabels(v map[string]string)
- func (o *UpdateInstancePayload) SetName(v string)
- func (o *UpdateInstancePayload) SetOptions(v map[string]string)
- func (o *UpdateInstancePayload) SetReplicas(v int32)
- func (o *UpdateInstancePayload) SetStorage(v Storage)
- func (o *UpdateInstancePayload) SetVersion(v string)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstanceResponse
- func (o *UpdateInstanceResponse) GetItem() Instance
- func (o *UpdateInstanceResponse) GetItemOk() (*Instance, bool)
- func (o *UpdateInstanceResponse) HasItem() bool
- func (o UpdateInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateInstanceResponse) SetItem(v Instance)
- func (o UpdateInstanceResponse) ToMap() (map[string]interface{}, error)
- type UpdateUserPayload
- func (o *UpdateUserPayload) GetDatabase() string
- func (o *UpdateUserPayload) GetDatabaseOk() (*string, bool)
- func (o *UpdateUserPayload) GetRoles() []string
- func (o *UpdateUserPayload) GetRolesOk() ([]string, bool)
- func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUserPayload) SetDatabase(v string)
- func (o *UpdateUserPayload) SetRoles(v []string)
- func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err error)
- type User
- func (o *User) GetDatabase() string
- func (o *User) GetDatabaseOk() (*string, bool)
- func (o *User) GetHost() string
- func (o *User) GetHostOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetPassword() string
- func (o *User) GetPasswordOk() (*string, bool)
- func (o *User) GetPort() int32
- func (o *User) GetPortOk() (*int32, bool)
- func (o *User) GetRoles() []string
- func (o *User) GetRolesOk() ([]string, bool)
- func (o *User) GetUri() string
- func (o *User) GetUriOk() (*string, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) HasDatabase() bool
- func (o *User) HasHost() bool
- func (o *User) HasId() bool
- func (o *User) HasPassword() bool
- func (o *User) HasPort() bool
- func (o *User) HasRoles() bool
- func (o *User) HasUri() bool
- func (o *User) HasUsername() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetDatabase(v string)
- func (o *User) SetHost(v string)
- func (o *User) SetId(v string)
- func (o *User) SetPassword(v string)
- func (o *User) SetPort(v int32)
- func (o *User) SetRoles(v []string)
- func (o *User) SetUri(v string)
- func (o *User) SetUsername(v string)
- func (o User) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type 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) GetItemsOk ¶
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) MarshalJSON ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT MongoDB Service API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type 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 ¶
func (r ApiCloneInstanceRequest) Execute() (*CloneInstanceResponse, error)
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 ¶
func (r ApiCreateInstanceRequest) Execute() (*CreateInstanceResponse, error)
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 ¶
func (r ApiCreateUserRequest) Execute() (*CreateUserResponse, error)
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() error
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUserRequest) Execute ¶
func (r ApiDeleteUserRequest) Execute() error
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*GetBackupResponse, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*GetInstanceResponse, error)
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 ¶
func (r ApiListAdvisorSlowQueriesRequest) Execute() (*HandlersInstancesSlowQueriesResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*ListBackupsResponse, error)
type ApiListFlavorsRequest ¶
type ApiListFlavorsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListFlavorsRequest) Execute ¶
func (r ApiListFlavorsRequest) Execute() (*ListFlavorsResponse, error)
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
func (ApiListInstancesRequest) Tag ¶
func (r ApiListInstancesRequest) Tag(tag string) ApiListInstancesRequest
instance tag
type ApiListMetricsRequest ¶
type ApiListMetricsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListMetricsRequest) End ¶
func (r ApiListMetricsRequest) End(end string) ApiListMetricsRequest
period end
func (ApiListMetricsRequest) Execute ¶
func (r ApiListMetricsRequest) Execute() (*ListMetricsResponse, error)
func (ApiListMetricsRequest) Granularity ¶
func (r ApiListMetricsRequest) Granularity(granularity string) ApiListMetricsRequest
granularity
func (ApiListMetricsRequest) Period ¶
func (r ApiListMetricsRequest) Period(period string) ApiListMetricsRequest
period
func (ApiListMetricsRequest) Start ¶
func (r ApiListMetricsRequest) Start(start string) ApiListMetricsRequest
period start
type ApiListRestoreJobsRequest ¶
type ApiListRestoreJobsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRestoreJobsRequest) Execute ¶
func (r ApiListRestoreJobsRequest) Execute() (*ListRestoreJobsResponse, error)
type ApiListStoragesRequest ¶
type ApiListStoragesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListStoragesRequest) Execute ¶
func (r ApiListStoragesRequest) Execute() (*ListStoragesResponse, error)
type ApiListSuggestedIndexesRequest ¶
type ApiListSuggestedIndexesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListSuggestedIndexesRequest) Execute ¶
func (r ApiListSuggestedIndexesRequest) Execute() (*HandlersInstancesSuggestedIndexesResponse, error)
type ApiListUsersRequest ¶
type ApiListUsersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*ListUsersResponse, error)
type ApiListVersionsRequest ¶
type ApiListVersionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListVersionsRequest) Execute ¶
func (r ApiListVersionsRequest) Execute() (*ListVersionsResponse, error)
type ApiPartialUpdateInstanceRequest ¶
type ApiPartialUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateInstanceRequest) Execute ¶
func (r ApiPartialUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error)
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 (r ApiRestoreInstanceRequest) Execute() (*RestoreInstanceResponse, error)
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 (r ApiUpdateBackupScheduleRequest) Execute() (*BackupSchedule, error)
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 (r ApiUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error)
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 *int32 `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 ¶
GetEndTime returns the EndTime field value if set, zero value otherwise.
func (*Backup) GetEndTimeOk ¶
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) GetErrorOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetOptions ¶
GetOptions returns the Options field value if set, zero value otherwise.
func (*Backup) GetOptionsOk ¶
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetSizeOk ¶
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 ¶
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*Backup) GetStartTimeOk ¶
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 ¶
HasEndTime returns a boolean if a field has been set.
func (*Backup) HasOptions ¶
HasOptions returns a boolean if a field has been set.
func (*Backup) HasStartTime ¶
HasStartTime returns a boolean if a field has been set.
func (Backup) MarshalJSON ¶
func (*Backup) SetEndTime ¶
SetEndTime gets a reference to the given string and assigns it to the EndTime field.
func (*Backup) SetError ¶
SetError gets a reference to the given string and assigns it to the Error field.
func (*Backup) SetLabels ¶
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*Backup) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Backup) SetOptions ¶
SetOptions gets a reference to the given map[string]string and assigns it to the Options field.
func (*Backup) SetSize ¶
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*Backup) SetStartTime ¶
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
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 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 ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*DataPoint) GetTimestampOk ¶
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) GetValueOk ¶
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 ¶
HasTimestamp returns a boolean if a field has been set.
func (DataPoint) MarshalJSON ¶
func (*DataPoint) SetTimestamp ¶
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
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
@return ApiCloneInstanceRequest
*/
CloneInstance(ctx context.Context, projectId string, instanceId 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
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId 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
@return ApiCreateUserRequest
*/
CreateUser(ctx context.Context, projectId string, instanceId 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
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, instanceId 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
@return ApiDeleteUserRequest
*/
DeleteUser(ctx context.Context, projectId string, instanceId string, userId 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
@return ApiGetBackupRequest
*/
GetBackup(ctx context.Context, projectId string, instanceId string, backupId 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
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
// GetInstanceExecute executes the request
// @return GetInstanceResponse
GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, 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
@return ApiGetUserRequest
*/
GetUser(ctx context.Context, projectId string, instanceId string, userId 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
@return ApiListAdvisorSlowQueriesRequest
*/
ListAdvisorSlowQueries(ctx context.Context, projectId string, instanceId 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
@return ApiListBackupsRequest
*/
ListBackups(ctx context.Context, projectId string, instanceId 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
@return ApiListFlavorsRequest
*/
ListFlavors(ctx context.Context, projectId 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
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId 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
@return ApiListMetricsRequest
*/
ListMetrics(ctx context.Context, projectId string, instanceId string, metric 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
@return ApiListRestoreJobsRequest
*/
ListRestoreJobs(ctx context.Context, projectId string, instanceId 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
@return ApiListStoragesRequest
*/
ListStorages(ctx context.Context, projectId string, flavor 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
@return ApiListSuggestedIndexesRequest
*/
ListSuggestedIndexes(ctx context.Context, projectId string, instanceId 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
@return ApiListUsersRequest
*/
ListUsers(ctx context.Context, projectId string, instanceId 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
@return ApiListVersionsRequest
*/
ListVersions(ctx context.Context, projectId 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
@return ApiPartialUpdateInstanceRequest
*/
PartialUpdateInstance(ctx context.Context, projectId string, instanceId 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
@return ApiPartialUpdateUserRequest
*/
PartialUpdateUser(ctx context.Context, projectId string, instanceId string, userId 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
@return ApiResetUserRequest
*/
ResetUser(ctx context.Context, projectId string, instanceId string, userId 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
@return ApiRestoreInstanceRequest
*/
RestoreInstance(ctx context.Context, projectId string, instanceId 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
@return ApiUpdateBackupScheduleRequest
*/
UpdateBackupSchedule(ctx context.Context, projectId string, instanceId 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
@return ApiUpdateInstanceRequest
*/
UpdateInstance(ctx context.Context, projectId string, instanceId 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
@return ApiUpdateUserRequest
*/
UpdateUser(ctx context.Context, projectId string, instanceId string, userId 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) 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 @return ApiCloneInstanceRequest
func (*DefaultAPIService) CloneInstanceExecute ¶
func (a *DefaultAPIService) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
Execute executes the request
@return CloneInstanceResponse
func (*DefaultAPIService) CreateInstance ¶
func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId 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 @return ApiCreateInstanceRequest
func (*DefaultAPIService) CreateInstanceExecute ¶
func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
Execute executes the request
@return CreateInstanceResponse
func (*DefaultAPIService) CreateUser ¶
func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, instanceId 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 @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) 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 @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) 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 @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) 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 @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) 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 @return ApiGetInstanceRequest
func (*DefaultAPIService) GetInstanceExecute ¶
func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
Execute executes the request
@return GetInstanceResponse
func (*DefaultAPIService) GetUser ¶
func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, instanceId string, userId 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 @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) 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 @return ApiListAdvisorSlowQueriesRequest
func (*DefaultAPIService) ListAdvisorSlowQueriesExecute ¶
func (a *DefaultAPIService) ListAdvisorSlowQueriesExecute(r ApiListAdvisorSlowQueriesRequest) (*HandlersInstancesSlowQueriesResponse, error)
Execute executes the request
@return HandlersInstancesSlowQueriesResponse
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, instanceId 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 @return ApiListBackupsRequest
func (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
Execute executes the request
@return ListBackupsResponse
func (*DefaultAPIService) ListFlavors ¶
func (a *DefaultAPIService) ListFlavors(ctx context.Context, projectId 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 @return ApiListFlavorsRequest
func (*DefaultAPIService) ListFlavorsExecute ¶
func (a *DefaultAPIService) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
Execute executes the request
@return ListFlavorsResponse
func (*DefaultAPIService) ListInstances ¶
func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId 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 @return ApiListInstancesRequest
func (*DefaultAPIService) ListInstancesExecute ¶
func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) ListMetrics ¶
func (a *DefaultAPIService) ListMetrics(ctx context.Context, projectId string, instanceId string, metric 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 @return ApiListMetricsRequest
func (*DefaultAPIService) ListMetricsExecute ¶
func (a *DefaultAPIService) ListMetricsExecute(r ApiListMetricsRequest) (*ListMetricsResponse, error)
Execute executes the request
@return ListMetricsResponse
func (*DefaultAPIService) ListRestoreJobs ¶
func (a *DefaultAPIService) ListRestoreJobs(ctx context.Context, projectId string, instanceId 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 @return ApiListRestoreJobsRequest
func (*DefaultAPIService) ListRestoreJobsExecute ¶
func (a *DefaultAPIService) ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
Execute executes the request
@return ListRestoreJobsResponse
func (*DefaultAPIService) ListStorages ¶
func (a *DefaultAPIService) ListStorages(ctx context.Context, projectId string, flavor 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 @return ApiListStoragesRequest
func (*DefaultAPIService) ListStoragesExecute ¶
func (a *DefaultAPIService) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)
Execute executes the request
@return ListStoragesResponse
func (*DefaultAPIService) ListSuggestedIndexes ¶
func (a *DefaultAPIService) ListSuggestedIndexes(ctx context.Context, projectId string, instanceId 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 @return ApiListSuggestedIndexesRequest
func (*DefaultAPIService) ListSuggestedIndexesExecute ¶
func (a *DefaultAPIService) ListSuggestedIndexesExecute(r ApiListSuggestedIndexesRequest) (*HandlersInstancesSuggestedIndexesResponse, error)
Execute executes the request
@return HandlersInstancesSuggestedIndexesResponse
func (*DefaultAPIService) ListUsers ¶
func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId 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 @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) 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 @return ApiListVersionsRequest
func (*DefaultAPIService) ListVersionsExecute ¶
func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
Execute executes the request
@return ListVersionsResponse
func (*DefaultAPIService) PartialUpdateInstance ¶
func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, instanceId 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 @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) 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 @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) 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 @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) 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 @return ApiRestoreInstanceRequest
func (*DefaultAPIService) RestoreInstanceExecute ¶
func (a *DefaultAPIService) RestoreInstanceExecute(r ApiRestoreInstanceRequest) (*RestoreInstanceResponse, error)
Execute executes the request
@return RestoreInstanceResponse
func (*DefaultAPIService) UpdateBackupSchedule ¶
func (a *DefaultAPIService) UpdateBackupSchedule(ctx context.Context, projectId string, instanceId 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 @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) 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 @return ApiUpdateInstanceRequest
func (*DefaultAPIService) UpdateInstanceExecute ¶
func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
Execute executes the request
@return UpdateInstanceResponse
func (*DefaultAPIService) UpdateUser ¶
func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, instanceId string, userId 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 @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) (*GetInstanceResponse, 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) ApiCloneInstanceRequest
func (DefaultAPIServiceMock) CloneInstanceExecute ¶
func (a DefaultAPIServiceMock) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
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) ApiCreateInstanceRequest
func (DefaultAPIServiceMock) CreateInstanceExecute ¶
func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
CreateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateUser ¶
func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
func (DefaultAPIServiceMock) CreateUserExecute ¶
func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
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) 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) 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) ApiGetBackupRequest
func (DefaultAPIServiceMock) GetBackupExecute ¶
func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
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) ApiGetInstanceRequest
func (DefaultAPIServiceMock) GetInstanceExecute ¶
func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
GetInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetUser ¶
func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
func (DefaultAPIServiceMock) GetUserExecute ¶
func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
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) ApiListAdvisorSlowQueriesRequest
func (DefaultAPIServiceMock) ListAdvisorSlowQueriesExecute ¶
func (a DefaultAPIServiceMock) ListAdvisorSlowQueriesExecute(r ApiListAdvisorSlowQueriesRequest) (*HandlersInstancesSlowQueriesResponse, error)
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) ApiListBackupsRequest
func (DefaultAPIServiceMock) ListBackupsExecute ¶
func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
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) ApiListFlavorsRequest
func (DefaultAPIServiceMock) ListFlavorsExecute ¶
func (a DefaultAPIServiceMock) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
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) ApiListInstancesRequest
func (DefaultAPIServiceMock) ListInstancesExecute ¶
func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
ListInstancesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstancesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListMetrics ¶
func (a DefaultAPIServiceMock) ListMetrics(ctx context.Context, projectId string, instanceId string, metric string) ApiListMetricsRequest
func (DefaultAPIServiceMock) ListMetricsExecute ¶
func (a DefaultAPIServiceMock) ListMetricsExecute(r ApiListMetricsRequest) (*ListMetricsResponse, error)
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) ApiListRestoreJobsRequest
func (DefaultAPIServiceMock) ListRestoreJobsExecute ¶
func (a DefaultAPIServiceMock) ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
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) ApiListStoragesRequest
func (DefaultAPIServiceMock) ListStoragesExecute ¶
func (a DefaultAPIServiceMock) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)
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) ApiListSuggestedIndexesRequest
func (DefaultAPIServiceMock) ListSuggestedIndexesExecute ¶
func (a DefaultAPIServiceMock) ListSuggestedIndexesExecute(r ApiListSuggestedIndexesRequest) (*HandlersInstancesSuggestedIndexesResponse, error)
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) ApiListUsersRequest
func (DefaultAPIServiceMock) ListUsersExecute ¶
func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
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) ApiListVersionsRequest
func (DefaultAPIServiceMock) ListVersionsExecute ¶
func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
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) ApiPartialUpdateInstanceRequest
func (DefaultAPIServiceMock) PartialUpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
PartialUpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateUser ¶
func (a DefaultAPIServiceMock) PartialUpdateUser(ctx context.Context, projectId string, instanceId string, userId 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) 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) ApiRestoreInstanceRequest
func (DefaultAPIServiceMock) RestoreInstanceExecute ¶
func (a DefaultAPIServiceMock) RestoreInstanceExecute(r ApiRestoreInstanceRequest) (*RestoreInstanceResponse, error)
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) 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) ApiUpdateInstanceRequest
func (DefaultAPIServiceMock) UpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
UpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateUser ¶
func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId 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) GetCodeOk ¶
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) GetFieldsOk ¶
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 ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Error) GetMessageOk ¶
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) GetTypeOk ¶
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) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Error) SetFields ¶
SetFields gets a reference to the given map[string][]string and assigns it to the Fields field.
func (*Error) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
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) GetCpuOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Flavor) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flavor) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flavor) GetMemoryOk ¶
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) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Flavor) MarshalJSON ¶
func (*Flavor) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
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 GetInstanceResponse ¶
type GetInstanceResponse struct {
Item *Instance `json:"item,omitempty"`
}
GetInstanceResponse struct for GetInstanceResponse
func NewGetInstanceResponse ¶
func NewGetInstanceResponse() *GetInstanceResponse
NewGetInstanceResponse instantiates a new GetInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetInstanceResponseWithDefaults ¶
func NewGetInstanceResponseWithDefaults() *GetInstanceResponse
NewGetInstanceResponseWithDefaults instantiates a new GetInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetInstanceResponse) GetItem ¶
func (o *GetInstanceResponse) GetItem() Instance
GetItem returns the Item field value if set, zero value otherwise.
func (*GetInstanceResponse) GetItemOk ¶
func (o *GetInstanceResponse) GetItemOk() (*Instance, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetInstanceResponse) HasItem ¶
func (o *GetInstanceResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (GetInstanceResponse) MarshalJSON ¶
func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceResponse) SetItem ¶
func (o *GetInstanceResponse) SetItem(v Instance)
SetItem gets a reference to the given Instance and assigns it to the Item field.
func (GetInstanceResponse) ToMap ¶
func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
type GetUserResponse ¶
type GetUserResponse struct {
Item *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 ¶
func (o *GetUserResponse) GetItem() InstanceResponseUser
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 HandlersInfraFlavor ¶
type HandlersInfraFlavor 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"`
}
HandlersInfraFlavor struct for HandlersInfraFlavor
func NewHandlersInfraFlavor ¶
func NewHandlersInfraFlavor() *HandlersInfraFlavor
NewHandlersInfraFlavor instantiates a new HandlersInfraFlavor 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 NewHandlersInfraFlavorWithDefaults ¶
func NewHandlersInfraFlavorWithDefaults() *HandlersInfraFlavor
NewHandlersInfraFlavorWithDefaults instantiates a new HandlersInfraFlavor 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 (*HandlersInfraFlavor) GetCategories ¶
func (o *HandlersInfraFlavor) GetCategories() []string
GetCategories returns the Categories field value if set, zero value otherwise.
func (*HandlersInfraFlavor) GetCategoriesOk ¶
func (o *HandlersInfraFlavor) 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 (*HandlersInfraFlavor) GetCpu ¶
func (o *HandlersInfraFlavor) GetCpu() int32
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*HandlersInfraFlavor) GetCpuOk ¶
func (o *HandlersInfraFlavor) 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 (*HandlersInfraFlavor) GetDescription ¶
func (o *HandlersInfraFlavor) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*HandlersInfraFlavor) GetDescriptionOk ¶
func (o *HandlersInfraFlavor) 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 (*HandlersInfraFlavor) GetId ¶
func (o *HandlersInfraFlavor) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*HandlersInfraFlavor) GetIdOk ¶
func (o *HandlersInfraFlavor) 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 (*HandlersInfraFlavor) GetMemory ¶
func (o *HandlersInfraFlavor) GetMemory() int32
GetMemory returns the Memory field value if set, zero value otherwise.
func (*HandlersInfraFlavor) GetMemoryOk ¶
func (o *HandlersInfraFlavor) 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 (*HandlersInfraFlavor) HasCategories ¶
func (o *HandlersInfraFlavor) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*HandlersInfraFlavor) HasCpu ¶
func (o *HandlersInfraFlavor) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*HandlersInfraFlavor) HasDescription ¶
func (o *HandlersInfraFlavor) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*HandlersInfraFlavor) HasId ¶
func (o *HandlersInfraFlavor) HasId() bool
HasId returns a boolean if a field has been set.
func (*HandlersInfraFlavor) HasMemory ¶
func (o *HandlersInfraFlavor) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (HandlersInfraFlavor) MarshalJSON ¶
func (o HandlersInfraFlavor) MarshalJSON() ([]byte, error)
func (*HandlersInfraFlavor) SetCategories ¶
func (o *HandlersInfraFlavor) SetCategories(v []string)
SetCategories gets a reference to the given []string and assigns it to the Categories field.
func (*HandlersInfraFlavor) SetCpu ¶
func (o *HandlersInfraFlavor) SetCpu(v int32)
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*HandlersInfraFlavor) SetDescription ¶
func (o *HandlersInfraFlavor) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*HandlersInfraFlavor) SetId ¶
func (o *HandlersInfraFlavor) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*HandlersInfraFlavor) SetMemory ¶
func (o *HandlersInfraFlavor) SetMemory(v int32)
SetMemory gets a reference to the given int32 and assigns it to the Memory field.
func (HandlersInfraFlavor) ToMap ¶
func (o HandlersInfraFlavor) ToMap() (map[string]interface{}, error)
type HandlersInfraGetFlavorsResponse ¶
type HandlersInfraGetFlavorsResponse struct {
Flavors []HandlersInfraFlavor `json:"flavors,omitempty"`
}
HandlersInfraGetFlavorsResponse struct for HandlersInfraGetFlavorsResponse
func NewHandlersInfraGetFlavorsResponse ¶
func NewHandlersInfraGetFlavorsResponse() *HandlersInfraGetFlavorsResponse
NewHandlersInfraGetFlavorsResponse instantiates a new HandlersInfraGetFlavorsResponse 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 NewHandlersInfraGetFlavorsResponseWithDefaults ¶
func NewHandlersInfraGetFlavorsResponseWithDefaults() *HandlersInfraGetFlavorsResponse
NewHandlersInfraGetFlavorsResponseWithDefaults instantiates a new HandlersInfraGetFlavorsResponse 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 (*HandlersInfraGetFlavorsResponse) GetFlavors ¶
func (o *HandlersInfraGetFlavorsResponse) GetFlavors() []HandlersInfraFlavor
GetFlavors returns the Flavors field value if set, zero value otherwise.
func (*HandlersInfraGetFlavorsResponse) GetFlavorsOk ¶
func (o *HandlersInfraGetFlavorsResponse) GetFlavorsOk() ([]HandlersInfraFlavor, 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 (*HandlersInfraGetFlavorsResponse) HasFlavors ¶
func (o *HandlersInfraGetFlavorsResponse) HasFlavors() bool
HasFlavors returns a boolean if a field has been set.
func (HandlersInfraGetFlavorsResponse) MarshalJSON ¶
func (o HandlersInfraGetFlavorsResponse) MarshalJSON() ([]byte, error)
func (*HandlersInfraGetFlavorsResponse) SetFlavors ¶
func (o *HandlersInfraGetFlavorsResponse) SetFlavors(v []HandlersInfraFlavor)
SetFlavors gets a reference to the given []HandlersInfraFlavor and assigns it to the Flavors field.
func (HandlersInfraGetFlavorsResponse) ToMap ¶
func (o HandlersInfraGetFlavorsResponse) ToMap() (map[string]interface{}, error)
type HandlersInstancesGetInstanceResponse ¶
type HandlersInstancesGetInstanceResponse struct {
Item *Instance `json:"item,omitempty"`
}
HandlersInstancesGetInstanceResponse struct for HandlersInstancesGetInstanceResponse
func NewHandlersInstancesGetInstanceResponse ¶
func NewHandlersInstancesGetInstanceResponse() *HandlersInstancesGetInstanceResponse
NewHandlersInstancesGetInstanceResponse instantiates a new HandlersInstancesGetInstanceResponse 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 NewHandlersInstancesGetInstanceResponseWithDefaults ¶
func NewHandlersInstancesGetInstanceResponseWithDefaults() *HandlersInstancesGetInstanceResponse
NewHandlersInstancesGetInstanceResponseWithDefaults instantiates a new HandlersInstancesGetInstanceResponse 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 (*HandlersInstancesGetInstanceResponse) GetItem ¶
func (o *HandlersInstancesGetInstanceResponse) GetItem() Instance
GetItem returns the Item field value if set, zero value otherwise.
func (*HandlersInstancesGetInstanceResponse) GetItemOk ¶
func (o *HandlersInstancesGetInstanceResponse) 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 (*HandlersInstancesGetInstanceResponse) HasItem ¶
func (o *HandlersInstancesGetInstanceResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (HandlersInstancesGetInstanceResponse) MarshalJSON ¶
func (o HandlersInstancesGetInstanceResponse) MarshalJSON() ([]byte, error)
func (*HandlersInstancesGetInstanceResponse) SetItem ¶
func (o *HandlersInstancesGetInstanceResponse) SetItem(v Instance)
SetItem gets a reference to the given Instance and assigns it to the Item field.
func (HandlersInstancesGetInstanceResponse) ToMap ¶
func (o HandlersInstancesGetInstanceResponse) 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 ¶
func (o *HandlersInstancesSuggestedIndexesResponse) GetShapes() []Shape
GetShapes returns the Shapes field value if set, zero value otherwise.
func (*HandlersInstancesSuggestedIndexesResponse) GetShapesOk ¶
func (o *HandlersInstancesSuggestedIndexesResponse) GetShapesOk() ([]Shape, bool)
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 ¶
func (o *HandlersInstancesSuggestedIndexesResponse) HasShapes() bool
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 (o HandlersInstancesSuggestedIndexesResponse) MarshalJSON() ([]byte, error)
func (*HandlersInstancesSuggestedIndexesResponse) SetShapes ¶
func (o *HandlersInstancesSuggestedIndexesResponse) SetShapes(v []Shape)
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) HasHostMetrics ¶
HasHostMetrics returns a boolean if a field has been set.
func (Host) MarshalJSON ¶
func (*Host) SetHostMetrics ¶
func (o *Host) SetHostMetrics(v []HostMetric)
SetHostMetrics gets a reference to the given []HostMetric and assigns it to the HostMetrics field.
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) GetAclOk ¶
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetBackupSchedule ¶
GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.
func (*Instance) GetBackupScheduleOk ¶
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) GetFlavorOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetOptions ¶
GetOptions returns the Options field value if set, zero value otherwise.
func (*Instance) GetOptionsOk ¶
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetReplicas ¶
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*Instance) GetReplicasOk ¶
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) GetStatusOk ¶
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 ¶
GetStorage returns the Storage field value if set, zero value otherwise.
func (*Instance) GetStorageOk ¶
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Instance) GetVersionOk ¶
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) HasBackupSchedule ¶
HasBackupSchedule returns a boolean if a field has been set.
func (*Instance) HasOptions ¶
HasOptions returns a boolean if a field has been set.
func (*Instance) HasReplicas ¶
HasReplicas returns a boolean if a field has been set.
func (*Instance) HasStorage ¶
HasStorage returns a boolean if a field has been set.
func (*Instance) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
func (*Instance) SetBackupSchedule ¶
SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.
func (*Instance) SetFlavor ¶
SetFlavor gets a reference to the given Flavor and assigns it to the Flavor field.
func (*Instance) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Instance) SetOptions ¶
SetOptions gets a reference to the given map[string]string and assigns it to the Options field.
func (*Instance) SetReplicas ¶
SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.
func (*Instance) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Instance) SetStorage ¶
SetStorage gets a reference to the given Storage and assigns it to the Storage field.
func (*Instance) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
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 InstanceResponseUser ¶
type InstanceResponseUser struct {
Database *string `json:"database,omitempty"`
Host *string `json:"host,omitempty"`
Id *string `json:"id,omitempty"`
Port *int32 `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() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*InstanceResponseUser) GetPortOk ¶
func (o *InstanceResponseUser) GetPortOk() (*int32, 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 int32)
SetPort gets a reference to the given int32 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 *int32 `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() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*ListBackupsResponse) GetCountOk ¶
func (o *ListBackupsResponse) GetCountOk() (*int32, 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 int32)
SetCount gets a reference to the given int32 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 []HandlersInfraFlavor `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() []HandlersInfraFlavor
GetFlavors returns the Flavors field value if set, zero value otherwise.
func (*ListFlavorsResponse) GetFlavorsOk ¶
func (o *ListFlavorsResponse) GetFlavorsOk() ([]HandlersInfraFlavor, 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 []HandlersInfraFlavor)
SetFlavors gets a reference to the given []HandlersInfraFlavor and assigns it to the Flavors field.
func (ListFlavorsResponse) ToMap ¶
func (o ListFlavorsResponse) ToMap() (map[string]interface{}, error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Count *int32 `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() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*ListInstancesResponse) GetCountOk ¶
func (o *ListInstancesResponse) GetCountOk() (*int32, 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 ¶
func (o *ListInstancesResponse) GetItems() []InstanceListInstance
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 int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*ListInstancesResponse) SetItems ¶
func (o *ListInstancesResponse) SetItems(v []InstanceListInstance)
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 ¶
func (o *ListRestoreJobsResponse) GetItems() []RestoreInstanceStatus
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 ¶
func (o *ListRestoreJobsResponse) SetItems(v []RestoreInstanceStatus)
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListUser) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*ListUser) GetUsernameOk ¶
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) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (ListUser) MarshalJSON ¶
func (*ListUser) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
type ListUsersResponse ¶
type ListUsersResponse struct {
Count *int32 `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() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*ListUsersResponse) GetCountOk ¶
func (o *ListUsersResponse) GetCountOk() (*int32, 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 int32)
SetCount gets a reference to the given int32 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 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 ¶
func (o *MongodbatlasOperation) GetStats() MongodbatlasStats
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 ¶
func (o *MongodbatlasOperation) SetStats(v MongodbatlasStats)
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 *int32 `json:"nReturned,omitempty"`
// Number of documents read by the query.
NScanned *int32 `json:"nScanned,omitempty"`
// Query timestamp, in seconds since epoch.
Ts *int32 `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() int32
GetNReturned returns the NReturned field value if set, zero value otherwise.
func (*MongodbatlasStats) GetNReturnedOk ¶
func (o *MongodbatlasStats) GetNReturnedOk() (*int32, 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() int32
GetNScanned returns the NScanned field value if set, zero value otherwise.
func (*MongodbatlasStats) GetNScannedOk ¶
func (o *MongodbatlasStats) GetNScannedOk() (*int32, 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() int32
GetTs returns the Ts field value if set, zero value otherwise.
func (*MongodbatlasStats) GetTsOk ¶
func (o *MongodbatlasStats) GetTsOk() (*int32, 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 int32)
SetNReturned gets a reference to the given int32 and assigns it to the NReturned field.
func (*MongodbatlasStats) SetNScanned ¶
func (o *MongodbatlasStats) SetNScanned(v int32)
SetNScanned gets a reference to the given int32 and assigns it to the NScanned field.
func (*MongodbatlasStats) SetTs ¶
func (o *MongodbatlasStats) SetTs(v int32)
SetTs gets a reference to the given int32 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 (v NullableBackupSchedule) Get() *BackupSchedule
func (NullableBackupSchedule) IsSet ¶
func (v NullableBackupSchedule) IsSet() bool
func (NullableBackupSchedule) MarshalJSON ¶
func (v NullableBackupSchedule) MarshalJSON() ([]byte, error)
func (*NullableBackupSchedule) Set ¶
func (v *NullableBackupSchedule) Set(val *BackupSchedule)
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 (v NullableCloneInstancePayload) Get() *CloneInstancePayload
func (NullableCloneInstancePayload) IsSet ¶
func (v NullableCloneInstancePayload) IsSet() bool
func (NullableCloneInstancePayload) MarshalJSON ¶
func (v NullableCloneInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCloneInstancePayload) Set ¶
func (v *NullableCloneInstancePayload) Set(val *CloneInstancePayload)
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 NewNullableCloneInstanceResponse ¶
func NewNullableCloneInstanceResponse(val *CloneInstanceResponse) *NullableCloneInstanceResponse
func (NullableCloneInstanceResponse) Get ¶
func (v NullableCloneInstanceResponse) Get() *CloneInstanceResponse
func (NullableCloneInstanceResponse) IsSet ¶
func (v NullableCloneInstanceResponse) IsSet() bool
func (NullableCloneInstanceResponse) MarshalJSON ¶
func (v NullableCloneInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableCloneInstanceResponse) Set ¶
func (v *NullableCloneInstanceResponse) Set(val *CloneInstanceResponse)
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 NewNullableCreateInstancePayload ¶
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
func (*NullableCreateInstancePayload) UnmarshalJSON ¶
func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayload) Unset ¶
func (v *NullableCreateInstancePayload) Unset()
type NullableCreateInstanceResponse ¶
type NullableCreateInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceResponse ¶
func NewNullableCreateInstanceResponse(val *CreateInstanceResponse) *NullableCreateInstanceResponse
func (NullableCreateInstanceResponse) Get ¶
func (v NullableCreateInstanceResponse) Get() *CreateInstanceResponse
func (NullableCreateInstanceResponse) IsSet ¶
func (v NullableCreateInstanceResponse) IsSet() bool
func (NullableCreateInstanceResponse) MarshalJSON ¶
func (v NullableCreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceResponse) Set ¶
func (v *NullableCreateInstanceResponse) Set(val *CreateInstanceResponse)
func (*NullableCreateInstanceResponse) UnmarshalJSON ¶
func (v *NullableCreateInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceResponse) Unset ¶
func (v *NullableCreateInstanceResponse) Unset()
type NullableCreateUserPayload ¶
type NullableCreateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserPayload ¶
func NewNullableCreateUserPayload(val *CreateUserPayload) *NullableCreateUserPayload
func (NullableCreateUserPayload) Get ¶
func (v NullableCreateUserPayload) Get() *CreateUserPayload
func (NullableCreateUserPayload) IsSet ¶
func (v NullableCreateUserPayload) IsSet() bool
func (NullableCreateUserPayload) MarshalJSON ¶
func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUserPayload) Set ¶
func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
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 (v NullableCreateUserResponse) Get() *CreateUserResponse
func (NullableCreateUserResponse) IsSet ¶
func (v NullableCreateUserResponse) IsSet() bool
func (NullableCreateUserResponse) MarshalJSON ¶
func (v NullableCreateUserResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateUserResponse) Set ¶
func (v *NullableCreateUserResponse) Set(val *CreateUserResponse)
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 (v NullableGetBackupResponse) Get() *GetBackupResponse
func (NullableGetBackupResponse) IsSet ¶
func (v NullableGetBackupResponse) IsSet() bool
func (NullableGetBackupResponse) MarshalJSON ¶
func (v NullableGetBackupResponse) MarshalJSON() ([]byte, error)
func (*NullableGetBackupResponse) Set ¶
func (v *NullableGetBackupResponse) Set(val *GetBackupResponse)
func (*NullableGetBackupResponse) UnmarshalJSON ¶
func (v *NullableGetBackupResponse) UnmarshalJSON(src []byte) error
func (*NullableGetBackupResponse) Unset ¶
func (v *NullableGetBackupResponse) Unset()
type NullableGetInstanceResponse ¶
type NullableGetInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetInstanceResponse ¶
func NewNullableGetInstanceResponse(val *GetInstanceResponse) *NullableGetInstanceResponse
func (NullableGetInstanceResponse) Get ¶
func (v NullableGetInstanceResponse) Get() *GetInstanceResponse
func (NullableGetInstanceResponse) IsSet ¶
func (v NullableGetInstanceResponse) IsSet() bool
func (NullableGetInstanceResponse) MarshalJSON ¶
func (v NullableGetInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetInstanceResponse) Set ¶
func (v *NullableGetInstanceResponse) Set(val *GetInstanceResponse)
func (*NullableGetInstanceResponse) UnmarshalJSON ¶
func (v *NullableGetInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetInstanceResponse) Unset ¶
func (v *NullableGetInstanceResponse) Unset()
type NullableGetUserResponse ¶
type NullableGetUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetUserResponse ¶
func NewNullableGetUserResponse(val *GetUserResponse) *NullableGetUserResponse
func (NullableGetUserResponse) Get ¶
func (v NullableGetUserResponse) Get() *GetUserResponse
func (NullableGetUserResponse) IsSet ¶
func (v NullableGetUserResponse) IsSet() bool
func (NullableGetUserResponse) MarshalJSON ¶
func (v NullableGetUserResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUserResponse) Set ¶
func (v *NullableGetUserResponse) Set(val *GetUserResponse)
func (*NullableGetUserResponse) UnmarshalJSON ¶
func (v *NullableGetUserResponse) UnmarshalJSON(src []byte) error
func (*NullableGetUserResponse) Unset ¶
func (v *NullableGetUserResponse) Unset()
type NullableHandlersInfraFlavor ¶
type NullableHandlersInfraFlavor struct {
// contains filtered or unexported fields
}
func NewNullableHandlersInfraFlavor ¶
func NewNullableHandlersInfraFlavor(val *HandlersInfraFlavor) *NullableHandlersInfraFlavor
func (NullableHandlersInfraFlavor) Get ¶
func (v NullableHandlersInfraFlavor) Get() *HandlersInfraFlavor
func (NullableHandlersInfraFlavor) IsSet ¶
func (v NullableHandlersInfraFlavor) IsSet() bool
func (NullableHandlersInfraFlavor) MarshalJSON ¶
func (v NullableHandlersInfraFlavor) MarshalJSON() ([]byte, error)
func (*NullableHandlersInfraFlavor) Set ¶
func (v *NullableHandlersInfraFlavor) Set(val *HandlersInfraFlavor)
func (*NullableHandlersInfraFlavor) UnmarshalJSON ¶
func (v *NullableHandlersInfraFlavor) UnmarshalJSON(src []byte) error
func (*NullableHandlersInfraFlavor) Unset ¶
func (v *NullableHandlersInfraFlavor) Unset()
type NullableHandlersInfraGetFlavorsResponse ¶
type NullableHandlersInfraGetFlavorsResponse struct {
// contains filtered or unexported fields
}
func NewNullableHandlersInfraGetFlavorsResponse ¶
func NewNullableHandlersInfraGetFlavorsResponse(val *HandlersInfraGetFlavorsResponse) *NullableHandlersInfraGetFlavorsResponse
func (NullableHandlersInfraGetFlavorsResponse) IsSet ¶
func (v NullableHandlersInfraGetFlavorsResponse) IsSet() bool
func (NullableHandlersInfraGetFlavorsResponse) MarshalJSON ¶
func (v NullableHandlersInfraGetFlavorsResponse) MarshalJSON() ([]byte, error)
func (*NullableHandlersInfraGetFlavorsResponse) Set ¶
func (v *NullableHandlersInfraGetFlavorsResponse) Set(val *HandlersInfraGetFlavorsResponse)
func (*NullableHandlersInfraGetFlavorsResponse) UnmarshalJSON ¶
func (v *NullableHandlersInfraGetFlavorsResponse) UnmarshalJSON(src []byte) error
func (*NullableHandlersInfraGetFlavorsResponse) Unset ¶
func (v *NullableHandlersInfraGetFlavorsResponse) Unset()
type NullableHandlersInstancesGetInstanceResponse ¶
type NullableHandlersInstancesGetInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableHandlersInstancesGetInstanceResponse ¶
func NewNullableHandlersInstancesGetInstanceResponse(val *HandlersInstancesGetInstanceResponse) *NullableHandlersInstancesGetInstanceResponse
func (NullableHandlersInstancesGetInstanceResponse) IsSet ¶
func (v NullableHandlersInstancesGetInstanceResponse) IsSet() bool
func (NullableHandlersInstancesGetInstanceResponse) MarshalJSON ¶
func (v NullableHandlersInstancesGetInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableHandlersInstancesGetInstanceResponse) Set ¶
func (v *NullableHandlersInstancesGetInstanceResponse) Set(val *HandlersInstancesGetInstanceResponse)
func (*NullableHandlersInstancesGetInstanceResponse) UnmarshalJSON ¶
func (v *NullableHandlersInstancesGetInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableHandlersInstancesGetInstanceResponse) Unset ¶
func (v *NullableHandlersInstancesGetInstanceResponse) Unset()
type NullableHandlersInstancesSlowQueriesResponse ¶
type NullableHandlersInstancesSlowQueriesResponse struct {
// contains filtered or unexported fields
}
func NewNullableHandlersInstancesSlowQueriesResponse ¶
func NewNullableHandlersInstancesSlowQueriesResponse(val *HandlersInstancesSlowQueriesResponse) *NullableHandlersInstancesSlowQueriesResponse
func (NullableHandlersInstancesSlowQueriesResponse) IsSet ¶
func (v NullableHandlersInstancesSlowQueriesResponse) IsSet() bool
func (NullableHandlersInstancesSlowQueriesResponse) MarshalJSON ¶
func (v NullableHandlersInstancesSlowQueriesResponse) MarshalJSON() ([]byte, error)
func (*NullableHandlersInstancesSlowQueriesResponse) Set ¶
func (v *NullableHandlersInstancesSlowQueriesResponse) Set(val *HandlersInstancesSlowQueriesResponse)
func (*NullableHandlersInstancesSlowQueriesResponse) UnmarshalJSON ¶
func (v *NullableHandlersInstancesSlowQueriesResponse) UnmarshalJSON(src []byte) error
func (*NullableHandlersInstancesSlowQueriesResponse) Unset ¶
func (v *NullableHandlersInstancesSlowQueriesResponse) Unset()
type NullableHandlersInstancesSuggestedIndexesResponse ¶
type NullableHandlersInstancesSuggestedIndexesResponse struct {
// contains filtered or unexported fields
}
func NewNullableHandlersInstancesSuggestedIndexesResponse ¶
func NewNullableHandlersInstancesSuggestedIndexesResponse(val *HandlersInstancesSuggestedIndexesResponse) *NullableHandlersInstancesSuggestedIndexesResponse
func (NullableHandlersInstancesSuggestedIndexesResponse) IsSet ¶
func (v NullableHandlersInstancesSuggestedIndexesResponse) IsSet() bool
func (NullableHandlersInstancesSuggestedIndexesResponse) MarshalJSON ¶
func (v NullableHandlersInstancesSuggestedIndexesResponse) MarshalJSON() ([]byte, error)
func (*NullableHandlersInstancesSuggestedIndexesResponse) UnmarshalJSON ¶
func (v *NullableHandlersInstancesSuggestedIndexesResponse) UnmarshalJSON(src []byte) error
func (*NullableHandlersInstancesSuggestedIndexesResponse) Unset ¶
func (v *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 NullableInstanceListInstance ¶
type NullableInstanceListInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstanceListInstance ¶
func NewNullableInstanceListInstance(val *InstanceListInstance) *NullableInstanceListInstance
func (NullableInstanceListInstance) Get ¶
func (v NullableInstanceListInstance) Get() *InstanceListInstance
func (NullableInstanceListInstance) IsSet ¶
func (v NullableInstanceListInstance) IsSet() bool
func (NullableInstanceListInstance) MarshalJSON ¶
func (v NullableInstanceListInstance) MarshalJSON() ([]byte, error)
func (*NullableInstanceListInstance) Set ¶
func (v *NullableInstanceListInstance) Set(val *InstanceListInstance)
func (*NullableInstanceListInstance) UnmarshalJSON ¶
func (v *NullableInstanceListInstance) UnmarshalJSON(src []byte) error
func (*NullableInstanceListInstance) Unset ¶
func (v *NullableInstanceListInstance) Unset()
type NullableInstanceResponseUser ¶
type NullableInstanceResponseUser struct {
// contains filtered or unexported fields
}
func NewNullableInstanceResponseUser ¶
func NewNullableInstanceResponseUser(val *InstanceResponseUser) *NullableInstanceResponseUser
func (NullableInstanceResponseUser) Get ¶
func (v NullableInstanceResponseUser) Get() *InstanceResponseUser
func (NullableInstanceResponseUser) IsSet ¶
func (v NullableInstanceResponseUser) IsSet() bool
func (NullableInstanceResponseUser) MarshalJSON ¶
func (v NullableInstanceResponseUser) MarshalJSON() ([]byte, error)
func (*NullableInstanceResponseUser) Set ¶
func (v *NullableInstanceResponseUser) Set(val *InstanceResponseUser)
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 (v NullableListBackupsResponse) Get() *ListBackupsResponse
func (NullableListBackupsResponse) IsSet ¶
func (v NullableListBackupsResponse) IsSet() bool
func (NullableListBackupsResponse) MarshalJSON ¶
func (v NullableListBackupsResponse) MarshalJSON() ([]byte, error)
func (*NullableListBackupsResponse) Set ¶
func (v *NullableListBackupsResponse) Set(val *ListBackupsResponse)
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 (v NullableListFlavorsResponse) Get() *ListFlavorsResponse
func (NullableListFlavorsResponse) IsSet ¶
func (v NullableListFlavorsResponse) IsSet() bool
func (NullableListFlavorsResponse) MarshalJSON ¶
func (v NullableListFlavorsResponse) MarshalJSON() ([]byte, error)
func (*NullableListFlavorsResponse) Set ¶
func (v *NullableListFlavorsResponse) Set(val *ListFlavorsResponse)
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 NewNullableListInstancesResponse ¶
func NewNullableListInstancesResponse(val *ListInstancesResponse) *NullableListInstancesResponse
func (NullableListInstancesResponse) Get ¶
func (v NullableListInstancesResponse) Get() *ListInstancesResponse
func (NullableListInstancesResponse) IsSet ¶
func (v NullableListInstancesResponse) IsSet() bool
func (NullableListInstancesResponse) MarshalJSON ¶
func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
func (*NullableListInstancesResponse) Set ¶
func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
func (*NullableListInstancesResponse) UnmarshalJSON ¶
func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
func (*NullableListInstancesResponse) Unset ¶
func (v *NullableListInstancesResponse) Unset()
type NullableListMetricsResponse ¶
type NullableListMetricsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListMetricsResponse ¶
func NewNullableListMetricsResponse(val *ListMetricsResponse) *NullableListMetricsResponse
func (NullableListMetricsResponse) Get ¶
func (v NullableListMetricsResponse) Get() *ListMetricsResponse
func (NullableListMetricsResponse) IsSet ¶
func (v NullableListMetricsResponse) IsSet() bool
func (NullableListMetricsResponse) MarshalJSON ¶
func (v NullableListMetricsResponse) MarshalJSON() ([]byte, error)
func (*NullableListMetricsResponse) Set ¶
func (v *NullableListMetricsResponse) Set(val *ListMetricsResponse)
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 NewNullableListRestoreJobsResponse ¶
func NewNullableListRestoreJobsResponse(val *ListRestoreJobsResponse) *NullableListRestoreJobsResponse
func (NullableListRestoreJobsResponse) Get ¶
func (v NullableListRestoreJobsResponse) Get() *ListRestoreJobsResponse
func (NullableListRestoreJobsResponse) IsSet ¶
func (v NullableListRestoreJobsResponse) IsSet() bool
func (NullableListRestoreJobsResponse) MarshalJSON ¶
func (v NullableListRestoreJobsResponse) MarshalJSON() ([]byte, error)
func (*NullableListRestoreJobsResponse) Set ¶
func (v *NullableListRestoreJobsResponse) Set(val *ListRestoreJobsResponse)
func (*NullableListRestoreJobsResponse) UnmarshalJSON ¶
func (v *NullableListRestoreJobsResponse) UnmarshalJSON(src []byte) error
func (*NullableListRestoreJobsResponse) Unset ¶
func (v *NullableListRestoreJobsResponse) Unset()
type NullableListStoragesResponse ¶
type NullableListStoragesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListStoragesResponse ¶
func NewNullableListStoragesResponse(val *ListStoragesResponse) *NullableListStoragesResponse
func (NullableListStoragesResponse) Get ¶
func (v NullableListStoragesResponse) Get() *ListStoragesResponse
func (NullableListStoragesResponse) IsSet ¶
func (v NullableListStoragesResponse) IsSet() bool
func (NullableListStoragesResponse) MarshalJSON ¶
func (v NullableListStoragesResponse) MarshalJSON() ([]byte, error)
func (*NullableListStoragesResponse) Set ¶
func (v *NullableListStoragesResponse) Set(val *ListStoragesResponse)
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 (v NullableListUsersResponse) Get() *ListUsersResponse
func (NullableListUsersResponse) IsSet ¶
func (v NullableListUsersResponse) IsSet() bool
func (NullableListUsersResponse) MarshalJSON ¶
func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableListUsersResponse) Set ¶
func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
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 (v NullableListVersionsResponse) Get() *ListVersionsResponse
func (NullableListVersionsResponse) IsSet ¶
func (v NullableListVersionsResponse) IsSet() bool
func (NullableListVersionsResponse) MarshalJSON ¶
func (v NullableListVersionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListVersionsResponse) Set ¶
func (v *NullableListVersionsResponse) Set(val *ListVersionsResponse)
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 NewNullableMongodbatlasOperation ¶
func NewNullableMongodbatlasOperation(val *MongodbatlasOperation) *NullableMongodbatlasOperation
func (NullableMongodbatlasOperation) Get ¶
func (v NullableMongodbatlasOperation) Get() *MongodbatlasOperation
func (NullableMongodbatlasOperation) IsSet ¶
func (v NullableMongodbatlasOperation) IsSet() bool
func (NullableMongodbatlasOperation) MarshalJSON ¶
func (v NullableMongodbatlasOperation) MarshalJSON() ([]byte, error)
func (*NullableMongodbatlasOperation) Set ¶
func (v *NullableMongodbatlasOperation) Set(val *MongodbatlasOperation)
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 (v NullableMongodbatlasStats) Get() *MongodbatlasStats
func (NullableMongodbatlasStats) IsSet ¶
func (v NullableMongodbatlasStats) IsSet() bool
func (NullableMongodbatlasStats) MarshalJSON ¶
func (v NullableMongodbatlasStats) MarshalJSON() ([]byte, error)
func (*NullableMongodbatlasStats) Set ¶
func (v *NullableMongodbatlasStats) Set(val *MongodbatlasStats)
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 NewNullablePartialUpdateInstancePayload ¶
func NewNullablePartialUpdateInstancePayload(val *PartialUpdateInstancePayload) *NullablePartialUpdateInstancePayload
func (NullablePartialUpdateInstancePayload) Get ¶
func (v NullablePartialUpdateInstancePayload) Get() *PartialUpdateInstancePayload
func (NullablePartialUpdateInstancePayload) IsSet ¶
func (v NullablePartialUpdateInstancePayload) IsSet() bool
func (NullablePartialUpdateInstancePayload) MarshalJSON ¶
func (v NullablePartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateInstancePayload) Set ¶
func (v *NullablePartialUpdateInstancePayload) Set(val *PartialUpdateInstancePayload)
func (*NullablePartialUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateInstancePayload) Unset ¶
func (v *NullablePartialUpdateInstancePayload) Unset()
type NullablePartialUpdateUserPayload ¶
type NullablePartialUpdateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateUserPayload ¶
func NewNullablePartialUpdateUserPayload(val *PartialUpdateUserPayload) *NullablePartialUpdateUserPayload
func (NullablePartialUpdateUserPayload) Get ¶
func (v NullablePartialUpdateUserPayload) Get() *PartialUpdateUserPayload
func (NullablePartialUpdateUserPayload) IsSet ¶
func (v NullablePartialUpdateUserPayload) IsSet() bool
func (NullablePartialUpdateUserPayload) MarshalJSON ¶
func (v NullablePartialUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateUserPayload) Set ¶
func (v *NullablePartialUpdateUserPayload) Set(val *PartialUpdateUserPayload)
func (*NullablePartialUpdateUserPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateUserPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateUserPayload) Unset ¶
func (v *NullablePartialUpdateUserPayload) Unset()
type NullableRestoreInstancePayload ¶
type NullableRestoreInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableRestoreInstancePayload ¶
func NewNullableRestoreInstancePayload(val *RestoreInstancePayload) *NullableRestoreInstancePayload
func (NullableRestoreInstancePayload) Get ¶
func (v NullableRestoreInstancePayload) Get() *RestoreInstancePayload
func (NullableRestoreInstancePayload) IsSet ¶
func (v NullableRestoreInstancePayload) IsSet() bool
func (NullableRestoreInstancePayload) MarshalJSON ¶
func (v NullableRestoreInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreInstancePayload) Set ¶
func (v *NullableRestoreInstancePayload) Set(val *RestoreInstancePayload)
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 NewNullableRestoreInstanceResponse ¶
func NewNullableRestoreInstanceResponse(val *RestoreInstanceResponse) *NullableRestoreInstanceResponse
func (NullableRestoreInstanceResponse) Get ¶
func (v NullableRestoreInstanceResponse) Get() *RestoreInstanceResponse
func (NullableRestoreInstanceResponse) IsSet ¶
func (v NullableRestoreInstanceResponse) IsSet() bool
func (NullableRestoreInstanceResponse) MarshalJSON ¶
func (v NullableRestoreInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableRestoreInstanceResponse) Set ¶
func (v *NullableRestoreInstanceResponse) Set(val *RestoreInstanceResponse)
func (*NullableRestoreInstanceResponse) UnmarshalJSON ¶
func (v *NullableRestoreInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableRestoreInstanceResponse) Unset ¶
func (v *NullableRestoreInstanceResponse) Unset()
type NullableRestoreInstanceStatus ¶
type NullableRestoreInstanceStatus struct {
// contains filtered or unexported fields
}
func NewNullableRestoreInstanceStatus ¶
func NewNullableRestoreInstanceStatus(val *RestoreInstanceStatus) *NullableRestoreInstanceStatus
func (NullableRestoreInstanceStatus) Get ¶
func (v NullableRestoreInstanceStatus) Get() *RestoreInstanceStatus
func (NullableRestoreInstanceStatus) IsSet ¶
func (v NullableRestoreInstanceStatus) IsSet() bool
func (NullableRestoreInstanceStatus) MarshalJSON ¶
func (v NullableRestoreInstanceStatus) MarshalJSON() ([]byte, error)
func (*NullableRestoreInstanceStatus) Set ¶
func (v *NullableRestoreInstanceStatus) Set(val *RestoreInstanceStatus)
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 (v NullableStorageRange) Get() *StorageRange
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 (v NullableSuggestedIndex) Get() *SuggestedIndex
func (NullableSuggestedIndex) IsSet ¶
func (v NullableSuggestedIndex) IsSet() bool
func (NullableSuggestedIndex) MarshalJSON ¶
func (v NullableSuggestedIndex) MarshalJSON() ([]byte, error)
func (*NullableSuggestedIndex) Set ¶
func (v *NullableSuggestedIndex) Set(val *SuggestedIndex)
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 NewNullableUpdateBackupSchedulePayload ¶
func NewNullableUpdateBackupSchedulePayload(val *UpdateBackupSchedulePayload) *NullableUpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) Get ¶
func (v NullableUpdateBackupSchedulePayload) Get() *UpdateBackupSchedulePayload
func (NullableUpdateBackupSchedulePayload) IsSet ¶
func (v NullableUpdateBackupSchedulePayload) IsSet() bool
func (NullableUpdateBackupSchedulePayload) MarshalJSON ¶
func (v NullableUpdateBackupSchedulePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateBackupSchedulePayload) Set ¶
func (v *NullableUpdateBackupSchedulePayload) Set(val *UpdateBackupSchedulePayload)
func (*NullableUpdateBackupSchedulePayload) UnmarshalJSON ¶
func (v *NullableUpdateBackupSchedulePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateBackupSchedulePayload) Unset ¶
func (v *NullableUpdateBackupSchedulePayload) Unset()
type NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayload ¶
func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload
func (NullableUpdateInstancePayload) Get ¶
func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
func (NullableUpdateInstancePayload) IsSet ¶
func (v NullableUpdateInstancePayload) IsSet() bool
func (NullableUpdateInstancePayload) MarshalJSON ¶
func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayload) Set ¶
func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
func (*NullableUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePayload) Unset ¶
func (v *NullableUpdateInstancePayload) Unset()
type NullableUpdateInstanceResponse ¶
type NullableUpdateInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstanceResponse ¶
func NewNullableUpdateInstanceResponse(val *UpdateInstanceResponse) *NullableUpdateInstanceResponse
func (NullableUpdateInstanceResponse) Get ¶
func (v NullableUpdateInstanceResponse) Get() *UpdateInstanceResponse
func (NullableUpdateInstanceResponse) IsSet ¶
func (v NullableUpdateInstanceResponse) IsSet() bool
func (NullableUpdateInstanceResponse) MarshalJSON ¶
func (v NullableUpdateInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstanceResponse) Set ¶
func (v *NullableUpdateInstanceResponse) Set(val *UpdateInstanceResponse)
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 (v NullableUpdateUserPayload) Get() *UpdateUserPayload
func (NullableUpdateUserPayload) IsSet ¶
func (v NullableUpdateUserPayload) IsSet() bool
func (NullableUpdateUserPayload) MarshalJSON ¶
func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserPayload) Set ¶
func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
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 ¶
func (o *RestoreInstanceResponse) GetItem() RestoreInstanceStatus
GetItem returns the Item field value if set, zero value otherwise.
func (*RestoreInstanceResponse) GetItemOk ¶
func (o *RestoreInstanceResponse) GetItemOk() (*RestoreInstanceStatus, 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 (*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 ¶
func (o *RestoreInstanceResponse) SetItem(v RestoreInstanceStatus)
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 *int32 `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 *int32 `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) GetAvgMsOk ¶
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) GetCountOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shape) GetInefficiencyScore ¶
GetInefficiencyScore returns the InefficiencyScore field value if set, zero value otherwise.
func (*Shape) GetInefficiencyScoreOk ¶
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 ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Shape) GetNamespaceOk ¶
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) HasInefficiencyScore ¶
HasInefficiencyScore returns a boolean if a field has been set.
func (*Shape) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (*Shape) HasOperations ¶
HasOperations returns a boolean if a field has been set.
func (Shape) MarshalJSON ¶
func (*Shape) SetAvgMs ¶
SetAvgMs gets a reference to the given float32 and assigns it to the AvgMs field.
func (*Shape) SetCount ¶
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*Shape) SetInefficiencyScore ¶
SetInefficiencyScore gets a reference to the given int32 and assigns it to the InefficiencyScore field.
func (*Shape) SetNamespace ¶
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.
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) GetLineOk ¶
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 ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*SlowQuery) GetNamespaceOk ¶
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) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (SlowQuery) MarshalJSON ¶
func (*SlowQuery) SetLine ¶
SetLine gets a reference to the given string and assigns it to the Line field.
func (*SlowQuery) SetNamespace ¶
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
type Storage ¶
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) GetClassOk ¶
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) GetSizeOk ¶
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) MarshalJSON ¶
func (*Storage) SetClass ¶
SetClass gets a reference to the given string and assigns it to the Class field.
type StorageRange ¶
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() int32
GetMax returns the Max field value if set, zero value otherwise.
func (*StorageRange) GetMaxOk ¶
func (o *StorageRange) GetMaxOk() (*int32, 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() int32
GetMin returns the Min field value if set, zero value otherwise.
func (*StorageRange) GetMinOk ¶
func (o *StorageRange) GetMinOk() (*int32, 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 int32)
SetMax gets a reference to the given int32 and assigns it to the Max field.
func (*StorageRange) SetMin ¶
func (o *StorageRange) SetMin(v int32)
SetMin gets a reference to the given int32 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 int32 `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 int32, 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() int32
GetReplicas returns the Replicas field value
func (*UpdateInstancePayload) GetReplicasOk ¶
func (o *UpdateInstancePayload) GetReplicasOk() (*int32, 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 int32)
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 *int32 `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 array can contain the following values: 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'.
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 ¶
GetDatabase returns the Database field value if set, zero value otherwise.
func (*User) GetDatabaseOk ¶
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) GetHostOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*User) GetPasswordOk ¶
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) GetPortOk ¶
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) GetRolesOk ¶
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) GetUriOk ¶
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 ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*User) GetUsernameOk ¶
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 ¶
HasDatabase returns a boolean if a field has been set.
func (*User) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*User) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetDatabase ¶
SetDatabase gets a reference to the given string and assigns it to the Database field.
func (*User) SetHost ¶
SetHost gets a reference to the given string and assigns it to the Host field.
func (*User) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*User) SetPort ¶
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*User) SetRoles ¶
SetRoles gets a reference to the given []string and assigns it to the Roles field.
func (*User) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_acl.go
- model_backup.go
- model_backup_schedule.go
- model_clone_instance_payload.go
- model_clone_instance_response.go
- model_create_instance_payload.go
- model_create_instance_response.go
- model_create_user_payload.go
- model_create_user_response.go
- model_data_point.go
- model_error.go
- model_flavor.go
- model_get_backup_response.go
- model_get_instance_response.go
- model_get_user_response.go
- model_handlers_infra_flavor.go
- model_handlers_infra_get_flavors_response.go
- model_handlers_instances_get_instance_response.go
- model_handlers_instances_slow_queries_response.go
- model_handlers_instances_suggested_indexes_response.go
- model_host.go
- model_host_metric.go
- model_instance.go
- model_instance_list_instance.go
- model_instance_response_user.go
- model_list_backups_response.go
- model_list_flavors_response.go
- model_list_instances_response.go
- model_list_metrics_response.go
- model_list_restore_jobs_response.go
- model_list_storages_response.go
- model_list_user.go
- model_list_users_response.go
- model_list_versions_response.go
- model_mongodbatlas_operation.go
- model_mongodbatlas_stats.go
- model_partial_update_instance_payload.go
- model_partial_update_user_payload.go
- model_restore_instance_payload.go
- model_restore_instance_response.go
- model_restore_instance_status.go
- model_shape.go
- model_slow_query.go
- model_storage.go
- model_storage_range.go
- model_suggested_index.go
- model_update_backup_schedule_payload.go
- model_update_instance_payload.go
- model_update_instance_response.go
- model_update_user_payload.go
- model_user.go
- response.go
- utils.go