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 ApiCreateDatabaseRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteDatabaseRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetBackupRequest
- type ApiGetDatabaseRequest
- type ApiGetInstanceRequest
- type ApiGetUserRequest
- type ApiListBackupsRequest
- type ApiListCollationsRequest
- type ApiListCompatibilityRequest
- type ApiListDatabasesRequest
- 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 ApiListRolesRequest
- type ApiListStoragesRequest
- type ApiListUsersRequest
- type ApiListVersionsRequest
- type ApiPartialUpdateInstanceRequest
- type ApiResetUserRequest
- type ApiTriggerDatabaseBackupRequest
- type ApiTriggerDatabaseRestoreRequest
- type ApiUpdateInstanceRequest
- 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 BackupListBackupsResponseGrouped
- func (o *BackupListBackupsResponseGrouped) GetBackups() []Backup
- func (o *BackupListBackupsResponseGrouped) GetBackupsOk() ([]Backup, bool)
- func (o *BackupListBackupsResponseGrouped) GetName() string
- func (o *BackupListBackupsResponseGrouped) GetNameOk() (*string, bool)
- func (o *BackupListBackupsResponseGrouped) HasBackups() bool
- func (o *BackupListBackupsResponseGrouped) HasName() bool
- func (o BackupListBackupsResponseGrouped) MarshalJSON() ([]byte, error)
- func (o *BackupListBackupsResponseGrouped) SetBackups(v []Backup)
- func (o *BackupListBackupsResponseGrouped) SetName(v string)
- func (o BackupListBackupsResponseGrouped) ToMap() (map[string]interface{}, error)
- type CreateDatabasePayload
- func (o *CreateDatabasePayload) GetName() string
- func (o *CreateDatabasePayload) GetNameOk() (*string, bool)
- func (o *CreateDatabasePayload) GetOptions() DatabaseDocumentationCreateDatabaseRequestOptions
- func (o *CreateDatabasePayload) GetOptionsOk() (*DatabaseDocumentationCreateDatabaseRequestOptions, bool)
- func (o CreateDatabasePayload) MarshalJSON() ([]byte, error)
- func (o *CreateDatabasePayload) SetName(v string)
- func (o *CreateDatabasePayload) SetOptions(v DatabaseDocumentationCreateDatabaseRequestOptions)
- func (o CreateDatabasePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabasePayload) UnmarshalJSON(data []byte) (err error)
- type CreateDatabaseResponse
- func (o *CreateDatabaseResponse) GetId() string
- func (o *CreateDatabaseResponse) GetIdOk() (*string, bool)
- func (o *CreateDatabaseResponse) HasId() bool
- func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *CreateDatabaseResponse) SetId(v string)
- func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetAcl() InstanceDocumentationACL
- func (o *CreateInstancePayload) GetAclOk() (*InstanceDocumentationACL, 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]interface{}
- func (o *CreateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) GetOptions() InstanceDocumentationOptions
- func (o *CreateInstancePayload) GetOptionsOk() (*InstanceDocumentationOptions, bool)
- func (o *CreateInstancePayload) GetStorage() InstanceDocumentationStorage
- func (o *CreateInstancePayload) GetStorageOk() (*InstanceDocumentationStorage, bool)
- func (o *CreateInstancePayload) GetVersion() string
- func (o *CreateInstancePayload) GetVersionOk() (*string, bool)
- func (o *CreateInstancePayload) HasAcl() bool
- func (o *CreateInstancePayload) HasBackupSchedule() bool
- func (o *CreateInstancePayload) HasLabels() bool
- func (o *CreateInstancePayload) HasOptions() bool
- func (o *CreateInstancePayload) HasStorage() bool
- func (o *CreateInstancePayload) HasVersion() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetAcl(v InstanceDocumentationACL)
- func (o *CreateInstancePayload) SetBackupSchedule(v string)
- func (o *CreateInstancePayload) SetFlavorId(v string)
- func (o *CreateInstancePayload) SetLabels(v map[string]interface{})
- func (o *CreateInstancePayload) SetName(v string)
- func (o *CreateInstancePayload) SetOptions(v InstanceDocumentationOptions)
- func (o *CreateInstancePayload) SetStorage(v InstanceDocumentationStorage)
- 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) GetDefaultDatabase() string
- func (o *CreateUserPayload) GetDefaultDatabaseOk() (*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) HasDefaultDatabase() bool
- func (o CreateUserPayload) MarshalJSON() ([]byte, error)
- func (o *CreateUserPayload) SetDefaultDatabase(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() SingleUser
- func (o *CreateUserResponse) GetItemOk() (*SingleUser, bool)
- func (o *CreateUserResponse) HasItem() bool
- func (o CreateUserResponse) MarshalJSON() ([]byte, error)
- func (o *CreateUserResponse) SetItem(v SingleUser)
- 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 Database
- func (o *Database) GetId() string
- func (o *Database) GetIdOk() (*string, bool)
- func (o *Database) GetName() string
- func (o *Database) GetNameOk() (*string, bool)
- func (o *Database) GetOptions() map[string]interface{}
- func (o *Database) GetOptionsOk() (map[string]interface{}, bool)
- func (o *Database) HasId() bool
- func (o *Database) HasName() bool
- func (o *Database) HasOptions() bool
- func (o Database) MarshalJSON() ([]byte, error)
- func (o *Database) SetId(v string)
- func (o *Database) SetName(v string)
- func (o *Database) SetOptions(v map[string]interface{})
- func (o Database) ToMap() (map[string]interface{}, error)
- type DatabaseDocumentationCreateDatabaseRequestOptions
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCollation() string
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCollationOk() (*string, bool)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevel() string
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevelOk() (*string, bool)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetOwner() string
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetOwnerOk() (*string, bool)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCollation() bool
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCompatibilityLevel() bool
- func (o DatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON() ([]byte, error)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetCollation(v string)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetCompatibilityLevel(v string)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetOwner(v string)
- func (o DatabaseDocumentationCreateDatabaseRequestOptions) ToMap() (map[string]interface{}, error)
- func (o *DatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON(data []byte) (err error)
- type DatabaseOptions
- func (o *DatabaseOptions) GetCollationName() string
- func (o *DatabaseOptions) GetCollationNameOk() (*string, bool)
- func (o *DatabaseOptions) GetCompatibilityLevel() int32
- func (o *DatabaseOptions) GetCompatibilityLevelOk() (*int32, bool)
- func (o *DatabaseOptions) GetOwner() string
- func (o *DatabaseOptions) GetOwnerOk() (*string, bool)
- func (o *DatabaseOptions) HasCollationName() bool
- func (o *DatabaseOptions) HasCompatibilityLevel() bool
- func (o *DatabaseOptions) HasOwner() bool
- func (o DatabaseOptions) MarshalJSON() ([]byte, error)
- func (o *DatabaseOptions) SetCollationName(v string)
- func (o *DatabaseOptions) SetCompatibilityLevel(v int32)
- func (o *DatabaseOptions) SetOwner(v string)
- func (o DatabaseOptions) ToMap() (map[string]interface{}, error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
- func (a *DefaultAPIService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, 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) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
- func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) 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) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
- func (a *DefaultAPIService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, 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) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
- func (a *DefaultAPIService) ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
- func (a *DefaultAPIService) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
- func (a *DefaultAPIService) ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
- func (a *DefaultAPIService) ListCompatibilityExecute(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
- func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
- func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, 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) ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
- func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
- func (a *DefaultAPIService) ListStorages(ctx context.Context, projectId string, flavorId string) ApiListStoragesRequest
- func (a *DefaultAPIService) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, 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) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
- func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
- func (a *DefaultAPIService) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
- func (a *DefaultAPIService) TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error
- func (a *DefaultAPIService) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
- func (a *DefaultAPIService) TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
- func (a DefaultAPIServiceMock) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, 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) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
- func (a DefaultAPIServiceMock) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) 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) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
- func (a DefaultAPIServiceMock) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, 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) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
- func (a DefaultAPIServiceMock) ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
- func (a DefaultAPIServiceMock) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
- func (a DefaultAPIServiceMock) ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
- func (a DefaultAPIServiceMock) ListCompatibilityExecute(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
- func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
- func (a DefaultAPIServiceMock) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, 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) ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
- func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
- func (a DefaultAPIServiceMock) ListStorages(ctx context.Context, projectId string, flavorId string) ApiListStoragesRequest
- func (a DefaultAPIServiceMock) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, 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) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
- func (a DefaultAPIServiceMock) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
- func (a DefaultAPIServiceMock) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
- func (a DefaultAPIServiceMock) TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error
- func (a DefaultAPIServiceMock) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
- func (a DefaultAPIServiceMock) TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, 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) GetEndTime() string
- func (o *GetBackupResponse) GetEndTimeOk() (*string, bool)
- func (o *GetBackupResponse) GetError() string
- func (o *GetBackupResponse) GetErrorOk() (*string, bool)
- func (o *GetBackupResponse) GetId() string
- func (o *GetBackupResponse) GetIdOk() (*string, bool)
- func (o *GetBackupResponse) GetLabels() []string
- func (o *GetBackupResponse) GetLabelsOk() ([]string, bool)
- func (o *GetBackupResponse) GetName() string
- func (o *GetBackupResponse) GetNameOk() (*string, bool)
- func (o *GetBackupResponse) GetOptions() map[string]string
- func (o *GetBackupResponse) GetOptionsOk() (*map[string]string, bool)
- func (o *GetBackupResponse) GetSize() int32
- func (o *GetBackupResponse) GetSizeOk() (*int32, bool)
- func (o *GetBackupResponse) GetStartTime() string
- func (o *GetBackupResponse) GetStartTimeOk() (*string, bool)
- func (o *GetBackupResponse) HasEndTime() bool
- func (o *GetBackupResponse) HasError() bool
- func (o *GetBackupResponse) HasId() bool
- func (o *GetBackupResponse) HasLabels() bool
- func (o *GetBackupResponse) HasName() bool
- func (o *GetBackupResponse) HasOptions() bool
- func (o *GetBackupResponse) HasSize() bool
- func (o *GetBackupResponse) HasStartTime() bool
- func (o GetBackupResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupResponse) SetEndTime(v string)
- func (o *GetBackupResponse) SetError(v string)
- func (o *GetBackupResponse) SetId(v string)
- func (o *GetBackupResponse) SetLabels(v []string)
- func (o *GetBackupResponse) SetName(v string)
- func (o *GetBackupResponse) SetOptions(v map[string]string)
- func (o *GetBackupResponse) SetSize(v int32)
- func (o *GetBackupResponse) SetStartTime(v string)
- func (o GetBackupResponse) ToMap() (map[string]interface{}, error)
- type GetDatabaseResponse
- func (o *GetDatabaseResponse) GetDatabase() SingleDatabase
- func (o *GetDatabaseResponse) GetDatabaseOk() (*SingleDatabase, bool)
- func (o *GetDatabaseResponse) HasDatabase() bool
- func (o GetDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *GetDatabaseResponse) SetDatabase(v SingleDatabase)
- func (o GetDatabaseResponse) 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() UserResponseUser
- func (o *GetUserResponse) GetItemOk() (*UserResponseUser, bool)
- func (o *GetUserResponse) HasItem() bool
- func (o GetUserResponse) MarshalJSON() ([]byte, error)
- func (o *GetUserResponse) SetItem(v UserResponseUser)
- func (o GetUserResponse) 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 InstanceDocumentationACL
- func (o *InstanceDocumentationACL) GetItems() []string
- func (o *InstanceDocumentationACL) GetItemsOk() ([]string, bool)
- func (o *InstanceDocumentationACL) HasItems() bool
- func (o InstanceDocumentationACL) MarshalJSON() ([]byte, error)
- func (o *InstanceDocumentationACL) SetItems(v []string)
- func (o InstanceDocumentationACL) ToMap() (map[string]interface{}, error)
- type InstanceDocumentationOptions
- func (o *InstanceDocumentationOptions) GetEdition() string
- func (o *InstanceDocumentationOptions) GetEditionOk() (*string, bool)
- func (o *InstanceDocumentationOptions) GetRetentionDays() string
- func (o *InstanceDocumentationOptions) GetRetentionDaysOk() (*string, bool)
- func (o *InstanceDocumentationOptions) HasEdition() bool
- func (o *InstanceDocumentationOptions) HasRetentionDays() bool
- func (o InstanceDocumentationOptions) MarshalJSON() ([]byte, error)
- func (o *InstanceDocumentationOptions) SetEdition(v string)
- func (o *InstanceDocumentationOptions) SetRetentionDays(v string)
- func (o InstanceDocumentationOptions) ToMap() (map[string]interface{}, error)
- type InstanceDocumentationStorage
- func (o *InstanceDocumentationStorage) GetClass() string
- func (o *InstanceDocumentationStorage) GetClassOk() (*string, bool)
- func (o *InstanceDocumentationStorage) GetSize() int32
- func (o *InstanceDocumentationStorage) GetSizeOk() (*int32, bool)
- func (o *InstanceDocumentationStorage) HasClass() bool
- func (o *InstanceDocumentationStorage) HasSize() bool
- func (o InstanceDocumentationStorage) MarshalJSON() ([]byte, error)
- func (o *InstanceDocumentationStorage) SetClass(v string)
- func (o *InstanceDocumentationStorage) SetSize(v int32)
- func (o InstanceDocumentationStorage) ToMap() (map[string]interface{}, error)
- type InstanceError
- func (o *InstanceError) GetCode() int32
- func (o *InstanceError) GetCodeOk() (*int32, bool)
- func (o *InstanceError) GetFields() map[string][]string
- func (o *InstanceError) GetFieldsOk() (*map[string][]string, bool)
- func (o *InstanceError) GetMessage() string
- func (o *InstanceError) GetMessageOk() (*string, bool)
- func (o *InstanceError) GetType() Type
- func (o *InstanceError) GetTypeOk() (*Type, bool)
- func (o *InstanceError) HasCode() bool
- func (o *InstanceError) HasFields() bool
- func (o *InstanceError) HasMessage() bool
- func (o *InstanceError) HasType() bool
- func (o InstanceError) MarshalJSON() ([]byte, error)
- func (o *InstanceError) SetCode(v int32)
- func (o *InstanceError) SetFields(v map[string][]string)
- func (o *InstanceError) SetMessage(v string)
- func (o *InstanceError) SetType(v Type)
- func (o InstanceError) ToMap() (map[string]interface{}, error)
- type InstanceFlavorEntry
- func (o *InstanceFlavorEntry) GetCategories() string
- func (o *InstanceFlavorEntry) GetCategoriesOk() (*string, bool)
- func (o *InstanceFlavorEntry) GetCpu() int32
- func (o *InstanceFlavorEntry) GetCpuOk() (*int32, bool)
- func (o *InstanceFlavorEntry) GetDescription() string
- func (o *InstanceFlavorEntry) GetDescriptionOk() (*string, bool)
- func (o *InstanceFlavorEntry) GetId() string
- func (o *InstanceFlavorEntry) GetIdOk() (*string, bool)
- func (o *InstanceFlavorEntry) GetMemory() int32
- func (o *InstanceFlavorEntry) GetMemoryOk() (*int32, bool)
- func (o *InstanceFlavorEntry) HasCategories() bool
- func (o *InstanceFlavorEntry) HasCpu() bool
- func (o *InstanceFlavorEntry) HasDescription() bool
- func (o *InstanceFlavorEntry) HasId() bool
- func (o *InstanceFlavorEntry) HasMemory() bool
- func (o InstanceFlavorEntry) MarshalJSON() ([]byte, error)
- func (o *InstanceFlavorEntry) SetCategories(v string)
- func (o *InstanceFlavorEntry) SetCpu(v int32)
- func (o *InstanceFlavorEntry) SetDescription(v string)
- func (o *InstanceFlavorEntry) SetId(v string)
- func (o *InstanceFlavorEntry) SetMemory(v int32)
- func (o InstanceFlavorEntry) 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 InstanceListUser
- func (o *InstanceListUser) GetId() string
- func (o *InstanceListUser) GetIdOk() (*string, bool)
- func (o *InstanceListUser) GetUsername() string
- func (o *InstanceListUser) GetUsernameOk() (*string, bool)
- func (o *InstanceListUser) HasId() bool
- func (o *InstanceListUser) HasUsername() bool
- func (o InstanceListUser) MarshalJSON() ([]byte, error)
- func (o *InstanceListUser) SetId(v string)
- func (o *InstanceListUser) SetUsername(v string)
- func (o InstanceListUser) ToMap() (map[string]interface{}, error)
- type ListBackupsResponse
- func (o *ListBackupsResponse) GetDatabases() []BackupListBackupsResponseGrouped
- func (o *ListBackupsResponse) GetDatabasesOk() ([]BackupListBackupsResponseGrouped, bool)
- func (o *ListBackupsResponse) HasDatabases() bool
- func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
- func (o *ListBackupsResponse) SetDatabases(v []BackupListBackupsResponseGrouped)
- func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
- type ListCollationsResponse
- func (o *ListCollationsResponse) GetCollations() []MssqlDatabaseCollation
- func (o *ListCollationsResponse) GetCollationsOk() ([]MssqlDatabaseCollation, bool)
- func (o *ListCollationsResponse) HasCollations() bool
- func (o ListCollationsResponse) MarshalJSON() ([]byte, error)
- func (o *ListCollationsResponse) SetCollations(v []MssqlDatabaseCollation)
- func (o ListCollationsResponse) ToMap() (map[string]interface{}, error)
- type ListCompatibilityResponse
- func (o *ListCompatibilityResponse) GetCompatibilities() []MssqlDatabaseCompatibility
- func (o *ListCompatibilityResponse) GetCompatibilitiesOk() ([]MssqlDatabaseCompatibility, bool)
- func (o *ListCompatibilityResponse) HasCompatibilities() bool
- func (o ListCompatibilityResponse) MarshalJSON() ([]byte, error)
- func (o *ListCompatibilityResponse) SetCompatibilities(v []MssqlDatabaseCompatibility)
- func (o ListCompatibilityResponse) ToMap() (map[string]interface{}, error)
- type ListDatabasesResponse
- func (o *ListDatabasesResponse) GetDatabases() []Database
- func (o *ListDatabasesResponse) GetDatabasesOk() ([]Database, bool)
- func (o *ListDatabasesResponse) HasDatabases() bool
- func (o ListDatabasesResponse) MarshalJSON() ([]byte, error)
- func (o *ListDatabasesResponse) SetDatabases(v []Database)
- func (o ListDatabasesResponse) ToMap() (map[string]interface{}, error)
- type ListFlavorsResponse
- func (o *ListFlavorsResponse) GetFlavors() []InstanceFlavorEntry
- func (o *ListFlavorsResponse) GetFlavorsOk() ([]InstanceFlavorEntry, bool)
- func (o *ListFlavorsResponse) HasFlavors() bool
- func (o ListFlavorsResponse) MarshalJSON() ([]byte, error)
- func (o *ListFlavorsResponse) SetFlavors(v []InstanceFlavorEntry)
- 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) GetRunningRestores() []RestoreRunningRestore
- func (o *ListRestoreJobsResponse) GetRunningRestoresOk() ([]RestoreRunningRestore, bool)
- func (o *ListRestoreJobsResponse) HasRunningRestores() bool
- func (o ListRestoreJobsResponse) MarshalJSON() ([]byte, error)
- func (o *ListRestoreJobsResponse) SetRunningRestores(v []RestoreRunningRestore)
- func (o ListRestoreJobsResponse) ToMap() (map[string]interface{}, error)
- type ListRolesResponse
- func (o *ListRolesResponse) GetRoles() []string
- func (o *ListRolesResponse) GetRolesOk() ([]string, bool)
- func (o *ListRolesResponse) HasRoles() bool
- func (o ListRolesResponse) MarshalJSON() ([]byte, error)
- func (o *ListRolesResponse) SetRoles(v []string)
- func (o ListRolesResponse) 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 ListUsersResponse
- func (o *ListUsersResponse) GetCount() int32
- func (o *ListUsersResponse) GetCountOk() (*int32, bool)
- func (o *ListUsersResponse) GetItems() []InstanceListUser
- func (o *ListUsersResponse) GetItemsOk() ([]InstanceListUser, 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 []InstanceListUser)
- 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 MssqlDatabaseCollation
- func (o *MssqlDatabaseCollation) GetCollationName() string
- func (o *MssqlDatabaseCollation) GetCollationNameOk() (*string, bool)
- func (o *MssqlDatabaseCollation) GetDescription() string
- func (o *MssqlDatabaseCollation) GetDescriptionOk() (*string, bool)
- func (o *MssqlDatabaseCollation) HasCollationName() bool
- func (o *MssqlDatabaseCollation) HasDescription() bool
- func (o MssqlDatabaseCollation) MarshalJSON() ([]byte, error)
- func (o *MssqlDatabaseCollation) SetCollationName(v string)
- func (o *MssqlDatabaseCollation) SetDescription(v string)
- func (o MssqlDatabaseCollation) ToMap() (map[string]interface{}, error)
- type MssqlDatabaseCompatibility
- func (o *MssqlDatabaseCompatibility) GetCompatibilityLevel() int32
- func (o *MssqlDatabaseCompatibility) GetCompatibilityLevelOk() (*int32, bool)
- func (o *MssqlDatabaseCompatibility) GetDescription() string
- func (o *MssqlDatabaseCompatibility) GetDescriptionOk() (*string, bool)
- func (o *MssqlDatabaseCompatibility) HasCompatibilityLevel() bool
- func (o *MssqlDatabaseCompatibility) HasDescription() bool
- func (o MssqlDatabaseCompatibility) MarshalJSON() ([]byte, error)
- func (o *MssqlDatabaseCompatibility) SetCompatibilityLevel(v int32)
- func (o *MssqlDatabaseCompatibility) SetDescription(v string)
- func (o MssqlDatabaseCompatibility) ToMap() (map[string]interface{}, error)
- type NullableACL
- type NullableBackup
- type NullableBackupListBackupsResponseGrouped
- func (v NullableBackupListBackupsResponseGrouped) Get() *BackupListBackupsResponseGrouped
- func (v NullableBackupListBackupsResponseGrouped) IsSet() bool
- func (v NullableBackupListBackupsResponseGrouped) MarshalJSON() ([]byte, error)
- func (v *NullableBackupListBackupsResponseGrouped) Set(val *BackupListBackupsResponseGrouped)
- func (v *NullableBackupListBackupsResponseGrouped) UnmarshalJSON(src []byte) error
- func (v *NullableBackupListBackupsResponseGrouped) Unset()
- type NullableBool
- type NullableCreateDatabasePayload
- func (v NullableCreateDatabasePayload) Get() *CreateDatabasePayload
- func (v NullableCreateDatabasePayload) IsSet() bool
- func (v NullableCreateDatabasePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabasePayload) Set(val *CreateDatabasePayload)
- func (v *NullableCreateDatabasePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabasePayload) Unset()
- type NullableCreateDatabaseResponse
- func (v NullableCreateDatabaseResponse) Get() *CreateDatabaseResponse
- func (v NullableCreateDatabaseResponse) IsSet() bool
- func (v NullableCreateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabaseResponse) Set(val *CreateDatabaseResponse)
- func (v *NullableCreateDatabaseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabaseResponse) 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 NullableDatabase
- type NullableDatabaseDocumentationCreateDatabaseRequestOptions
- func (v NullableDatabaseDocumentationCreateDatabaseRequestOptions) Get() *DatabaseDocumentationCreateDatabaseRequestOptions
- func (v NullableDatabaseDocumentationCreateDatabaseRequestOptions) IsSet() bool
- func (v NullableDatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseDocumentationCreateDatabaseRequestOptions) Set(val *DatabaseDocumentationCreateDatabaseRequestOptions)
- func (v *NullableDatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseDocumentationCreateDatabaseRequestOptions) Unset()
- type NullableDatabaseOptions
- func (v NullableDatabaseOptions) Get() *DatabaseOptions
- func (v NullableDatabaseOptions) IsSet() bool
- func (v NullableDatabaseOptions) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseOptions) Set(val *DatabaseOptions)
- func (v *NullableDatabaseOptions) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseOptions) Unset()
- 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 NullableGetDatabaseResponse
- func (v NullableGetDatabaseResponse) Get() *GetDatabaseResponse
- func (v NullableGetDatabaseResponse) IsSet() bool
- func (v NullableGetDatabaseResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetDatabaseResponse) Set(val *GetDatabaseResponse)
- func (v *NullableGetDatabaseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetDatabaseResponse) 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 NullableHost
- type NullableHostMetric
- type NullableInstance
- type NullableInstanceDocumentationACL
- func (v NullableInstanceDocumentationACL) Get() *InstanceDocumentationACL
- func (v NullableInstanceDocumentationACL) IsSet() bool
- func (v NullableInstanceDocumentationACL) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceDocumentationACL) Set(val *InstanceDocumentationACL)
- func (v *NullableInstanceDocumentationACL) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceDocumentationACL) Unset()
- type NullableInstanceDocumentationOptions
- func (v NullableInstanceDocumentationOptions) Get() *InstanceDocumentationOptions
- func (v NullableInstanceDocumentationOptions) IsSet() bool
- func (v NullableInstanceDocumentationOptions) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceDocumentationOptions) Set(val *InstanceDocumentationOptions)
- func (v *NullableInstanceDocumentationOptions) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceDocumentationOptions) Unset()
- type NullableInstanceDocumentationStorage
- func (v NullableInstanceDocumentationStorage) Get() *InstanceDocumentationStorage
- func (v NullableInstanceDocumentationStorage) IsSet() bool
- func (v NullableInstanceDocumentationStorage) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceDocumentationStorage) Set(val *InstanceDocumentationStorage)
- func (v *NullableInstanceDocumentationStorage) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceDocumentationStorage) Unset()
- type NullableInstanceError
- func (v NullableInstanceError) Get() *InstanceError
- func (v NullableInstanceError) IsSet() bool
- func (v NullableInstanceError) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceError) Set(val *InstanceError)
- func (v *NullableInstanceError) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceError) Unset()
- type NullableInstanceFlavorEntry
- func (v NullableInstanceFlavorEntry) Get() *InstanceFlavorEntry
- func (v NullableInstanceFlavorEntry) IsSet() bool
- func (v NullableInstanceFlavorEntry) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceFlavorEntry) Set(val *InstanceFlavorEntry)
- func (v *NullableInstanceFlavorEntry) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceFlavorEntry) Unset()
- 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 NullableInstanceListUser
- func (v NullableInstanceListUser) Get() *InstanceListUser
- func (v NullableInstanceListUser) IsSet() bool
- func (v NullableInstanceListUser) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceListUser) Set(val *InstanceListUser)
- func (v *NullableInstanceListUser) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceListUser) 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 NullableListCollationsResponse
- func (v NullableListCollationsResponse) Get() *ListCollationsResponse
- func (v NullableListCollationsResponse) IsSet() bool
- func (v NullableListCollationsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCollationsResponse) Set(val *ListCollationsResponse)
- func (v *NullableListCollationsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCollationsResponse) Unset()
- type NullableListCompatibilityResponse
- func (v NullableListCompatibilityResponse) Get() *ListCompatibilityResponse
- func (v NullableListCompatibilityResponse) IsSet() bool
- func (v NullableListCompatibilityResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCompatibilityResponse) Set(val *ListCompatibilityResponse)
- func (v *NullableListCompatibilityResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCompatibilityResponse) Unset()
- type NullableListDatabasesResponse
- func (v NullableListDatabasesResponse) Get() *ListDatabasesResponse
- func (v NullableListDatabasesResponse) IsSet() bool
- func (v NullableListDatabasesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDatabasesResponse) Set(val *ListDatabasesResponse)
- func (v *NullableListDatabasesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDatabasesResponse) 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 NullableListRolesResponse
- func (v NullableListRolesResponse) Get() *ListRolesResponse
- func (v NullableListRolesResponse) IsSet() bool
- func (v NullableListRolesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListRolesResponse) Set(val *ListRolesResponse)
- func (v *NullableListRolesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListRolesResponse) 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 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 NullableMssqlDatabaseCollation
- func (v NullableMssqlDatabaseCollation) Get() *MssqlDatabaseCollation
- func (v NullableMssqlDatabaseCollation) IsSet() bool
- func (v NullableMssqlDatabaseCollation) MarshalJSON() ([]byte, error)
- func (v *NullableMssqlDatabaseCollation) Set(val *MssqlDatabaseCollation)
- func (v *NullableMssqlDatabaseCollation) UnmarshalJSON(src []byte) error
- func (v *NullableMssqlDatabaseCollation) Unset()
- type NullableMssqlDatabaseCompatibility
- func (v NullableMssqlDatabaseCompatibility) Get() *MssqlDatabaseCompatibility
- func (v NullableMssqlDatabaseCompatibility) IsSet() bool
- func (v NullableMssqlDatabaseCompatibility) MarshalJSON() ([]byte, error)
- func (v *NullableMssqlDatabaseCompatibility) Set(val *MssqlDatabaseCompatibility)
- func (v *NullableMssqlDatabaseCompatibility) UnmarshalJSON(src []byte) error
- func (v *NullableMssqlDatabaseCompatibility) 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 NullableResetUserResponse
- func (v NullableResetUserResponse) Get() *ResetUserResponse
- func (v NullableResetUserResponse) IsSet() bool
- func (v NullableResetUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableResetUserResponse) Set(val *ResetUserResponse)
- func (v *NullableResetUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableResetUserResponse) Unset()
- type NullableRestoreRunningRestore
- func (v NullableRestoreRunningRestore) Get() *RestoreRunningRestore
- func (v NullableRestoreRunningRestore) IsSet() bool
- func (v NullableRestoreRunningRestore) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreRunningRestore) Set(val *RestoreRunningRestore)
- func (v *NullableRestoreRunningRestore) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreRunningRestore) Unset()
- type NullableSingleDatabase
- func (v NullableSingleDatabase) Get() *SingleDatabase
- func (v NullableSingleDatabase) IsSet() bool
- func (v NullableSingleDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableSingleDatabase) Set(val *SingleDatabase)
- func (v *NullableSingleDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableSingleDatabase) Unset()
- type NullableSingleUser
- 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 NullableTime
- type NullableTriggerDatabaseRestorePayload
- func (v NullableTriggerDatabaseRestorePayload) Get() *TriggerDatabaseRestorePayload
- func (v NullableTriggerDatabaseRestorePayload) IsSet() bool
- func (v NullableTriggerDatabaseRestorePayload) MarshalJSON() ([]byte, error)
- func (v *NullableTriggerDatabaseRestorePayload) Set(val *TriggerDatabaseRestorePayload)
- func (v *NullableTriggerDatabaseRestorePayload) UnmarshalJSON(src []byte) error
- func (v *NullableTriggerDatabaseRestorePayload) Unset()
- type NullableType
- 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 NullableUser
- type NullableUserResponseUser
- func (v NullableUserResponseUser) Get() *UserResponseUser
- func (v NullableUserResponseUser) IsSet() bool
- func (v NullableUserResponseUser) MarshalJSON() ([]byte, error)
- func (v *NullableUserResponseUser) Set(val *UserResponseUser)
- func (v *NullableUserResponseUser) UnmarshalJSON(src []byte) error
- func (v *NullableUserResponseUser) Unset()
- type PartialUpdateInstancePayload
- func (o *PartialUpdateInstancePayload) GetAcl() InstanceDocumentationACL
- func (o *PartialUpdateInstancePayload) GetAclOk() (*InstanceDocumentationACL, 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]interface{}
- func (o *PartialUpdateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *PartialUpdateInstancePayload) GetName() string
- func (o *PartialUpdateInstancePayload) GetNameOk() (*string, 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) HasVersion() bool
- func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstancePayload) SetAcl(v InstanceDocumentationACL)
- func (o *PartialUpdateInstancePayload) SetBackupSchedule(v string)
- func (o *PartialUpdateInstancePayload) SetFlavorId(v string)
- func (o *PartialUpdateInstancePayload) SetLabels(v map[string]interface{})
- func (o *PartialUpdateInstancePayload) SetName(v string)
- func (o *PartialUpdateInstancePayload) SetVersion(v string)
- func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
- type ResetUserResponse
- func (o *ResetUserResponse) GetItem() SingleUser
- func (o *ResetUserResponse) GetItemOk() (*SingleUser, bool)
- func (o *ResetUserResponse) HasItem() bool
- func (o ResetUserResponse) MarshalJSON() ([]byte, error)
- func (o *ResetUserResponse) SetItem(v SingleUser)
- func (o ResetUserResponse) ToMap() (map[string]interface{}, error)
- type RestoreRunningRestore
- func (o *RestoreRunningRestore) GetCommand() string
- func (o *RestoreRunningRestore) GetCommandOk() (*string, bool)
- func (o *RestoreRunningRestore) GetDatabaseName() string
- func (o *RestoreRunningRestore) GetDatabaseNameOk() (*string, bool)
- func (o *RestoreRunningRestore) GetEstimatedCompletionTime() string
- func (o *RestoreRunningRestore) GetEstimatedCompletionTimeOk() (*string, bool)
- func (o *RestoreRunningRestore) GetPercentComplete() int32
- func (o *RestoreRunningRestore) GetPercentCompleteOk() (*int32, bool)
- func (o *RestoreRunningRestore) GetStartTime() string
- func (o *RestoreRunningRestore) GetStartTimeOk() (*string, bool)
- func (o *RestoreRunningRestore) HasCommand() bool
- func (o *RestoreRunningRestore) HasDatabaseName() bool
- func (o *RestoreRunningRestore) HasEstimatedCompletionTime() bool
- func (o *RestoreRunningRestore) HasPercentComplete() bool
- func (o *RestoreRunningRestore) HasStartTime() bool
- func (o RestoreRunningRestore) MarshalJSON() ([]byte, error)
- func (o *RestoreRunningRestore) SetCommand(v string)
- func (o *RestoreRunningRestore) SetDatabaseName(v string)
- func (o *RestoreRunningRestore) SetEstimatedCompletionTime(v string)
- func (o *RestoreRunningRestore) SetPercentComplete(v int32)
- func (o *RestoreRunningRestore) SetStartTime(v string)
- func (o RestoreRunningRestore) ToMap() (map[string]interface{}, error)
- type SingleDatabase
- func (o *SingleDatabase) GetId() string
- func (o *SingleDatabase) GetIdOk() (*string, bool)
- func (o *SingleDatabase) GetName() string
- func (o *SingleDatabase) GetNameOk() (*string, bool)
- func (o *SingleDatabase) GetOptions() DatabaseOptions
- func (o *SingleDatabase) GetOptionsOk() (*DatabaseOptions, bool)
- func (o *SingleDatabase) HasId() bool
- func (o *SingleDatabase) HasName() bool
- func (o *SingleDatabase) HasOptions() bool
- func (o SingleDatabase) MarshalJSON() ([]byte, error)
- func (o *SingleDatabase) SetId(v string)
- func (o *SingleDatabase) SetName(v string)
- func (o *SingleDatabase) SetOptions(v DatabaseOptions)
- func (o SingleDatabase) ToMap() (map[string]interface{}, error)
- type SingleUser
- func (o *SingleUser) GetDefaultDatabase() string
- func (o *SingleUser) GetDefaultDatabaseOk() (*string, bool)
- func (o *SingleUser) GetHost() string
- func (o *SingleUser) GetHostOk() (*string, bool)
- func (o *SingleUser) GetId() string
- func (o *SingleUser) GetIdOk() (*string, bool)
- func (o *SingleUser) GetPassword() string
- func (o *SingleUser) GetPasswordOk() (*string, bool)
- func (o *SingleUser) GetPort() int32
- func (o *SingleUser) GetPortOk() (*int32, bool)
- func (o *SingleUser) GetRoles() []string
- func (o *SingleUser) GetRolesOk() ([]string, bool)
- func (o *SingleUser) GetUri() string
- func (o *SingleUser) GetUriOk() (*string, bool)
- func (o *SingleUser) GetUsername() string
- func (o *SingleUser) GetUsernameOk() (*string, bool)
- func (o *SingleUser) HasDefaultDatabase() bool
- func (o *SingleUser) HasHost() bool
- func (o *SingleUser) HasId() bool
- func (o *SingleUser) HasPassword() bool
- func (o *SingleUser) HasPort() bool
- func (o *SingleUser) HasRoles() bool
- func (o *SingleUser) HasUri() bool
- func (o *SingleUser) HasUsername() bool
- func (o SingleUser) MarshalJSON() ([]byte, error)
- func (o *SingleUser) SetDefaultDatabase(v string)
- func (o *SingleUser) SetHost(v string)
- func (o *SingleUser) SetId(v string)
- func (o *SingleUser) SetPassword(v string)
- func (o *SingleUser) SetPort(v int32)
- func (o *SingleUser) SetRoles(v []string)
- func (o *SingleUser) SetUri(v string)
- func (o *SingleUser) SetUsername(v string)
- func (o SingleUser) 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 TriggerDatabaseRestorePayload
- func (o *TriggerDatabaseRestorePayload) GetName() string
- func (o *TriggerDatabaseRestorePayload) GetNameOk() (*string, bool)
- func (o *TriggerDatabaseRestorePayload) GetRestoreDateTime() string
- func (o *TriggerDatabaseRestorePayload) GetRestoreDateTimeOk() (*string, bool)
- func (o TriggerDatabaseRestorePayload) MarshalJSON() ([]byte, error)
- func (o *TriggerDatabaseRestorePayload) SetName(v string)
- func (o *TriggerDatabaseRestorePayload) SetRestoreDateTime(v string)
- func (o TriggerDatabaseRestorePayload) ToMap() (map[string]interface{}, error)
- func (o *TriggerDatabaseRestorePayload) UnmarshalJSON(data []byte) (err error)
- type Type
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetAcl() InstanceDocumentationACL
- func (o *UpdateInstancePayload) GetAclOk() (*InstanceDocumentationACL, 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]interface{}
- func (o *UpdateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)
- func (o *UpdateInstancePayload) GetName() string
- func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePayload) GetVersion() string
- func (o *UpdateInstancePayload) GetVersionOk() (*string, bool)
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetAcl(v InstanceDocumentationACL)
- func (o *UpdateInstancePayload) SetBackupSchedule(v string)
- func (o *UpdateInstancePayload) SetFlavorId(v string)
- func (o *UpdateInstancePayload) SetLabels(v map[string]interface{})
- func (o *UpdateInstancePayload) SetName(v string)
- 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 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)
- type UserResponseUser
- func (o *UserResponseUser) GetDefaultDatabase() string
- func (o *UserResponseUser) GetDefaultDatabaseOk() (*string, bool)
- func (o *UserResponseUser) GetHost() string
- func (o *UserResponseUser) GetHostOk() (*string, bool)
- func (o *UserResponseUser) GetId() string
- func (o *UserResponseUser) GetIdOk() (*string, bool)
- func (o *UserResponseUser) GetPort() int32
- func (o *UserResponseUser) GetPortOk() (*int32, bool)
- func (o *UserResponseUser) GetRoles() []string
- func (o *UserResponseUser) GetRolesOk() ([]string, bool)
- func (o *UserResponseUser) GetUsername() string
- func (o *UserResponseUser) GetUsernameOk() (*string, bool)
- func (o *UserResponseUser) HasDefaultDatabase() bool
- func (o *UserResponseUser) HasHost() bool
- func (o *UserResponseUser) HasId() bool
- func (o *UserResponseUser) HasPort() bool
- func (o *UserResponseUser) HasRoles() bool
- func (o *UserResponseUser) HasUsername() bool
- func (o UserResponseUser) MarshalJSON() ([]byte, error)
- func (o *UserResponseUser) SetDefaultDatabase(v string)
- func (o *UserResponseUser) SetHost(v string)
- func (o *UserResponseUser) SetId(v string)
- func (o *UserResponseUser) SetPort(v int32)
- func (o *UserResponseUser) SetRoles(v []string)
- func (o *UserResponseUser) SetUsername(v string)
- func (o UserResponseUser) 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)`) )
var AllowedTypeEnumValues = []Type{
"NotFound",
"Create",
"Read",
"Delete",
"Update",
"Validation",
}
All allowed values of Type enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type 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 MSSQL 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 ApiCreateDatabaseRequest ¶
type ApiCreateDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateDatabaseRequest) CreateDatabasePayload ¶
func (r ApiCreateDatabaseRequest) CreateDatabasePayload(createDatabasePayload CreateDatabasePayload) ApiCreateDatabaseRequest
Body
func (ApiCreateDatabaseRequest) Execute ¶
func (r ApiCreateDatabaseRequest) Execute() (*CreateDatabaseResponse, error)
type ApiCreateInstanceRequest ¶
type ApiCreateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateInstanceRequest) CreateInstancePayload ¶
func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
Body
func (ApiCreateInstanceRequest) Execute ¶
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
The request body contains a username, a list of roles and database. The possible roles can be fetched from the ListRoles endpoint.
func (ApiCreateUserRequest) Execute ¶
func (r ApiCreateUserRequest) Execute() (*CreateUserResponse, error)
type ApiDeleteDatabaseRequest ¶
type ApiDeleteDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteDatabaseRequest) Execute ¶
func (r ApiDeleteDatabaseRequest) Execute() error
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() error
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUserRequest) Execute ¶
func (r ApiDeleteUserRequest) Execute() error
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*GetBackupResponse, error)
type ApiGetDatabaseRequest ¶
type ApiGetDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetDatabaseRequest) Execute ¶
func (r ApiGetDatabaseRequest) Execute() (*GetDatabaseResponse, 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 ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*ListBackupsResponse, error)
type ApiListCollationsRequest ¶
type ApiListCollationsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCollationsRequest) Execute ¶
func (r ApiListCollationsRequest) Execute() (*ListCollationsResponse, error)
type ApiListCompatibilityRequest ¶
type ApiListCompatibilityRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCompatibilityRequest) Execute ¶
func (r ApiListCompatibilityRequest) Execute() (*ListCompatibilityResponse, error)
type ApiListDatabasesRequest ¶
type ApiListDatabasesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListDatabasesRequest) Execute ¶
func (r ApiListDatabasesRequest) Execute() (*ListDatabasesResponse, 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)
type ApiListMetricsRequest ¶
type ApiListMetricsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListMetricsRequest) End ¶
func (r ApiListMetricsRequest) End(end string) ApiListMetricsRequest
The end of the timeframe as timestamp in ISO8601 (RFC3339) e.g. '2023-08-28T07:10:52.536Z'.
func (ApiListMetricsRequest) Execute ¶
func (r ApiListMetricsRequest) Execute() (*ListMetricsResponse, error)
func (ApiListMetricsRequest) Granularity ¶
func (r ApiListMetricsRequest) Granularity(granularity string) ApiListMetricsRequest
The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.
func (ApiListMetricsRequest) Period ¶
func (r ApiListMetricsRequest) Period(period string) ApiListMetricsRequest
The period in ISO8601 format e.g. 5 minutes are 'PT5M'. If no period is provided, the standard value of 5 minutes is used.
func (ApiListMetricsRequest) Start ¶
func (r ApiListMetricsRequest) Start(start string) ApiListMetricsRequest
The start of the timeframe as timestamp in ISO8601 (RFC3339) e.g. '2023-08-28T07:10:52.536Z'. If no start time is provided, current server time as UTC is used.
type ApiListRestoreJobsRequest ¶
type ApiListRestoreJobsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRestoreJobsRequest) Execute ¶
func (r ApiListRestoreJobsRequest) Execute() (*ListRestoreJobsResponse, error)
type ApiListRolesRequest ¶
type ApiListRolesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() (*ListRolesResponse, error)
type ApiListStoragesRequest ¶
type ApiListStoragesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListStoragesRequest) Execute ¶
func (r ApiListStoragesRequest) Execute() (*ListStoragesResponse, 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)
func (ApiListVersionsRequest) InstanceId ¶
func (r ApiListVersionsRequest) InstanceId(instanceId string) ApiListVersionsRequest
Instance ID
type ApiPartialUpdateInstanceRequest ¶
type ApiPartialUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateInstanceRequest) Execute ¶
func (r ApiPartialUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error)
func (ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload ¶
func (r ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload(partialUpdateInstancePayload PartialUpdateInstancePayload) ApiPartialUpdateInstanceRequest
Body
type ApiResetUserRequest ¶
type ApiResetUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiResetUserRequest) Execute ¶
func (r ApiResetUserRequest) Execute() (*ResetUserResponse, error)
type ApiTriggerDatabaseBackupRequest ¶
type ApiTriggerDatabaseBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerDatabaseBackupRequest) Execute ¶
func (r ApiTriggerDatabaseBackupRequest) Execute() error
type ApiTriggerDatabaseRestoreRequest ¶
type ApiTriggerDatabaseRestoreRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerDatabaseRestoreRequest) Execute ¶
func (r ApiTriggerDatabaseRestoreRequest) Execute() error
func (ApiTriggerDatabaseRestoreRequest) TriggerDatabaseRestorePayload ¶
func (r ApiTriggerDatabaseRestoreRequest) TriggerDatabaseRestorePayload(triggerDatabaseRestorePayload TriggerDatabaseRestorePayload) ApiTriggerDatabaseRestoreRequest
Body
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() (*UpdateInstanceResponse, error)
func (ApiUpdateInstanceRequest) UpdateInstancePayload ¶
func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
Body
type Backup ¶
type Backup struct {
EndTime *string `json:"endTime,omitempty"`
Error *string `json:"error,omitempty"`
Id *string `json:"id,omitempty"`
Labels []string `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
Options *map[string]string `json:"options,omitempty"`
Size *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 BackupListBackupsResponseGrouped ¶
type BackupListBackupsResponseGrouped struct {
Backups []Backup `json:"backups,omitempty"`
Name *string `json:"name,omitempty"`
}
BackupListBackupsResponseGrouped struct for BackupListBackupsResponseGrouped
func NewBackupListBackupsResponseGrouped ¶
func NewBackupListBackupsResponseGrouped() *BackupListBackupsResponseGrouped
NewBackupListBackupsResponseGrouped instantiates a new BackupListBackupsResponseGrouped object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupListBackupsResponseGroupedWithDefaults ¶
func NewBackupListBackupsResponseGroupedWithDefaults() *BackupListBackupsResponseGrouped
NewBackupListBackupsResponseGroupedWithDefaults instantiates a new BackupListBackupsResponseGrouped object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupListBackupsResponseGrouped) GetBackups ¶
func (o *BackupListBackupsResponseGrouped) GetBackups() []Backup
GetBackups returns the Backups field value if set, zero value otherwise.
func (*BackupListBackupsResponseGrouped) GetBackupsOk ¶
func (o *BackupListBackupsResponseGrouped) GetBackupsOk() ([]Backup, bool)
GetBackupsOk returns a tuple with the Backups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupListBackupsResponseGrouped) GetName ¶
func (o *BackupListBackupsResponseGrouped) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BackupListBackupsResponseGrouped) GetNameOk ¶
func (o *BackupListBackupsResponseGrouped) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupListBackupsResponseGrouped) HasBackups ¶
func (o *BackupListBackupsResponseGrouped) HasBackups() bool
HasBackups returns a boolean if a field has been set.
func (*BackupListBackupsResponseGrouped) HasName ¶
func (o *BackupListBackupsResponseGrouped) HasName() bool
HasName returns a boolean if a field has been set.
func (BackupListBackupsResponseGrouped) MarshalJSON ¶
func (o BackupListBackupsResponseGrouped) MarshalJSON() ([]byte, error)
func (*BackupListBackupsResponseGrouped) SetBackups ¶
func (o *BackupListBackupsResponseGrouped) SetBackups(v []Backup)
SetBackups gets a reference to the given []Backup and assigns it to the Backups field.
func (*BackupListBackupsResponseGrouped) SetName ¶
func (o *BackupListBackupsResponseGrouped) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (BackupListBackupsResponseGrouped) ToMap ¶
func (o BackupListBackupsResponseGrouped) ToMap() (map[string]interface{}, error)
type CreateDatabasePayload ¶
type CreateDatabasePayload struct {
Name string `json:"name"`
Options DatabaseDocumentationCreateDatabaseRequestOptions `json:"options"`
}
CreateDatabasePayload struct for CreateDatabasePayload
func NewCreateDatabasePayload ¶
func NewCreateDatabasePayload(name string, options DatabaseDocumentationCreateDatabaseRequestOptions) *CreateDatabasePayload
NewCreateDatabasePayload instantiates a new CreateDatabasePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDatabasePayloadWithDefaults ¶
func NewCreateDatabasePayloadWithDefaults() *CreateDatabasePayload
NewCreateDatabasePayloadWithDefaults instantiates a new CreateDatabasePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDatabasePayload) GetName ¶
func (o *CreateDatabasePayload) GetName() string
GetName returns the Name field value
func (*CreateDatabasePayload) GetNameOk ¶
func (o *CreateDatabasePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateDatabasePayload) GetOptions ¶
func (o *CreateDatabasePayload) GetOptions() DatabaseDocumentationCreateDatabaseRequestOptions
GetOptions returns the Options field value
func (*CreateDatabasePayload) GetOptionsOk ¶
func (o *CreateDatabasePayload) GetOptionsOk() (*DatabaseDocumentationCreateDatabaseRequestOptions, bool)
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (CreateDatabasePayload) MarshalJSON ¶
func (o CreateDatabasePayload) MarshalJSON() ([]byte, error)
func (*CreateDatabasePayload) SetName ¶
func (o *CreateDatabasePayload) SetName(v string)
SetName sets field value
func (*CreateDatabasePayload) SetOptions ¶
func (o *CreateDatabasePayload) SetOptions(v DatabaseDocumentationCreateDatabaseRequestOptions)
SetOptions sets field value
func (CreateDatabasePayload) ToMap ¶
func (o CreateDatabasePayload) ToMap() (map[string]interface{}, error)
func (*CreateDatabasePayload) UnmarshalJSON ¶
func (o *CreateDatabasePayload) UnmarshalJSON(data []byte) (err error)
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct {
Id *string `json:"id,omitempty"`
}
CreateDatabaseResponse struct for CreateDatabaseResponse
func NewCreateDatabaseResponse ¶
func NewCreateDatabaseResponse() *CreateDatabaseResponse
NewCreateDatabaseResponse instantiates a new CreateDatabaseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDatabaseResponseWithDefaults ¶
func NewCreateDatabaseResponseWithDefaults() *CreateDatabaseResponse
NewCreateDatabaseResponseWithDefaults instantiates a new CreateDatabaseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDatabaseResponse) GetId ¶
func (o *CreateDatabaseResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateDatabaseResponse) GetIdOk ¶
func (o *CreateDatabaseResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatabaseResponse) HasId ¶
func (o *CreateDatabaseResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (CreateDatabaseResponse) MarshalJSON ¶
func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*CreateDatabaseResponse) SetId ¶
func (o *CreateDatabaseResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (CreateDatabaseResponse) ToMap ¶
func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
type CreateInstancePayload ¶
type CreateInstancePayload struct {
// ACL is the Access Control List defining the IP ranges allowed to connect to the database
Acl *InstanceDocumentationACL `json:"acl,omitempty"`
// Cronjob for the daily full backup if not provided a job will generated between 00:00 and 04:59
BackupSchedule *string `json:"backupSchedule,omitempty"`
// Id of the selected flavor
FlavorId string `json:"flavorId"`
// Labels for the instance
Labels map[string]interface{} `json:"labels,omitempty"`
// Name of the instance
Name string `json:"name"`
// Database instance specific options are requested via this field
Options *InstanceDocumentationOptions `json:"options,omitempty"`
// Storage for the instance
Storage *InstanceDocumentationStorage `json:"storage,omitempty"`
// Version of the MSSQL Server
Version *string `json:"version,omitempty"`
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶
func NewCreateInstancePayload(flavorId string, name string) *CreateInstancePayload
NewCreateInstancePayload instantiates a new CreateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstancePayloadWithDefaults ¶
func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload
NewCreateInstancePayloadWithDefaults instantiates a new CreateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstancePayload) GetAcl ¶
func (o *CreateInstancePayload) GetAcl() InstanceDocumentationACL
GetAcl returns the Acl field value if set, zero value otherwise.
func (*CreateInstancePayload) GetAclOk ¶
func (o *CreateInstancePayload) GetAclOk() (*InstanceDocumentationACL, 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 (*CreateInstancePayload) GetBackupSchedule ¶
func (o *CreateInstancePayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.
func (*CreateInstancePayload) GetBackupScheduleOk ¶
func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetFlavorId ¶
func (o *CreateInstancePayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*CreateInstancePayload) GetFlavorIdOk ¶
func (o *CreateInstancePayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetLabels ¶
func (o *CreateInstancePayload) GetLabels() map[string]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateInstancePayload) GetLabelsOk ¶
func (o *CreateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶
func (o *CreateInstancePayload) GetName() string
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶
func (o *CreateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetOptions ¶
func (o *CreateInstancePayload) GetOptions() InstanceDocumentationOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*CreateInstancePayload) GetOptionsOk ¶
func (o *CreateInstancePayload) GetOptionsOk() (*InstanceDocumentationOptions, 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 (*CreateInstancePayload) GetStorage ¶
func (o *CreateInstancePayload) GetStorage() InstanceDocumentationStorage
GetStorage returns the Storage field value if set, zero value otherwise.
func (*CreateInstancePayload) GetStorageOk ¶
func (o *CreateInstancePayload) GetStorageOk() (*InstanceDocumentationStorage, 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 (*CreateInstancePayload) GetVersion ¶
func (o *CreateInstancePayload) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*CreateInstancePayload) GetVersionOk ¶
func (o *CreateInstancePayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasAcl ¶
func (o *CreateInstancePayload) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (*CreateInstancePayload) HasBackupSchedule ¶
func (o *CreateInstancePayload) HasBackupSchedule() bool
HasBackupSchedule returns a boolean if a field has been set.
func (*CreateInstancePayload) HasLabels ¶
func (o *CreateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateInstancePayload) HasOptions ¶
func (o *CreateInstancePayload) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*CreateInstancePayload) HasStorage ¶
func (o *CreateInstancePayload) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*CreateInstancePayload) HasVersion ¶
func (o *CreateInstancePayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (CreateInstancePayload) MarshalJSON ¶
func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
func (*CreateInstancePayload) SetAcl ¶
func (o *CreateInstancePayload) SetAcl(v InstanceDocumentationACL)
SetAcl gets a reference to the given InstanceDocumentationACL and assigns it to the Acl field.
func (*CreateInstancePayload) SetBackupSchedule ¶
func (o *CreateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.
func (*CreateInstancePayload) SetFlavorId ¶
func (o *CreateInstancePayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*CreateInstancePayload) SetLabels ¶
func (o *CreateInstancePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*CreateInstancePayload) SetName ¶
func (o *CreateInstancePayload) SetName(v string)
SetName sets field value
func (*CreateInstancePayload) SetOptions ¶
func (o *CreateInstancePayload) SetOptions(v InstanceDocumentationOptions)
SetOptions gets a reference to the given InstanceDocumentationOptions and assigns it to the Options field.
func (*CreateInstancePayload) SetStorage ¶
func (o *CreateInstancePayload) SetStorage(v InstanceDocumentationStorage)
SetStorage gets a reference to the given InstanceDocumentationStorage and assigns it to the Storage field.
func (*CreateInstancePayload) SetVersion ¶
func (o *CreateInstancePayload) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (CreateInstancePayload) ToMap ¶
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
func (*CreateInstancePayload) UnmarshalJSON ¶
func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
Id *string `json:"id,omitempty"`
}
CreateInstanceResponse struct for CreateInstanceResponse
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse() *CreateInstanceResponse
NewCreateInstanceResponse instantiates a new CreateInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceResponseWithDefaults ¶
func NewCreateInstanceResponseWithDefaults() *CreateInstanceResponse
NewCreateInstanceResponseWithDefaults instantiates a new CreateInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceResponse) GetId ¶
func (o *CreateInstanceResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateInstanceResponse) GetIdOk ¶
func (o *CreateInstanceResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceResponse) HasId ¶
func (o *CreateInstanceResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (CreateInstanceResponse) MarshalJSON ¶
func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*CreateInstanceResponse) SetId ¶
func (o *CreateInstanceResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (CreateInstanceResponse) ToMap ¶
func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
type CreateUserPayload ¶
type CreateUserPayload struct {
DefaultDatabase *string `json:"default_database,omitempty"`
Roles []string `json:"roles"`
Username string `json:"username"`
}
CreateUserPayload struct for CreateUserPayload
func NewCreateUserPayload ¶
func NewCreateUserPayload(roles []string, username string) *CreateUserPayload
NewCreateUserPayload instantiates a new CreateUserPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserPayloadWithDefaults ¶
func NewCreateUserPayloadWithDefaults() *CreateUserPayload
NewCreateUserPayloadWithDefaults instantiates a new CreateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserPayload) GetDefaultDatabase ¶
func (o *CreateUserPayload) GetDefaultDatabase() string
GetDefaultDatabase returns the DefaultDatabase field value if set, zero value otherwise.
func (*CreateUserPayload) GetDefaultDatabaseOk ¶
func (o *CreateUserPayload) GetDefaultDatabaseOk() (*string, bool)
GetDefaultDatabaseOk returns a tuple with the DefaultDatabase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserPayload) GetRoles ¶
func (o *CreateUserPayload) GetRoles() []string
GetRoles returns the Roles field value
func (*CreateUserPayload) GetRolesOk ¶
func (o *CreateUserPayload) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*CreateUserPayload) GetUsername ¶
func (o *CreateUserPayload) GetUsername() string
GetUsername returns the Username field value
func (*CreateUserPayload) GetUsernameOk ¶
func (o *CreateUserPayload) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*CreateUserPayload) HasDefaultDatabase ¶
func (o *CreateUserPayload) HasDefaultDatabase() bool
HasDefaultDatabase returns a boolean if a field has been set.
func (CreateUserPayload) MarshalJSON ¶
func (o CreateUserPayload) MarshalJSON() ([]byte, error)
func (*CreateUserPayload) SetDefaultDatabase ¶
func (o *CreateUserPayload) SetDefaultDatabase(v string)
SetDefaultDatabase gets a reference to the given string and assigns it to the DefaultDatabase field.
func (*CreateUserPayload) SetRoles ¶
func (o *CreateUserPayload) SetRoles(v []string)
SetRoles sets field value
func (*CreateUserPayload) SetUsername ¶
func (o *CreateUserPayload) SetUsername(v string)
SetUsername sets field value
func (CreateUserPayload) ToMap ¶
func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
func (*CreateUserPayload) UnmarshalJSON ¶
func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
type CreateUserResponse ¶
type CreateUserResponse struct {
Item *SingleUser `json:"item,omitempty"`
}
CreateUserResponse struct for CreateUserResponse
func NewCreateUserResponse ¶
func NewCreateUserResponse() *CreateUserResponse
NewCreateUserResponse instantiates a new CreateUserResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserResponseWithDefaults ¶
func NewCreateUserResponseWithDefaults() *CreateUserResponse
NewCreateUserResponseWithDefaults instantiates a new CreateUserResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserResponse) GetItem ¶
func (o *CreateUserResponse) GetItem() SingleUser
GetItem returns the Item field value if set, zero value otherwise.
func (*CreateUserResponse) GetItemOk ¶
func (o *CreateUserResponse) GetItemOk() (*SingleUser, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserResponse) HasItem ¶
func (o *CreateUserResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (CreateUserResponse) MarshalJSON ¶
func (o CreateUserResponse) MarshalJSON() ([]byte, error)
func (*CreateUserResponse) SetItem ¶
func (o *CreateUserResponse) SetItem(v SingleUser)
SetItem gets a reference to the given SingleUser and assigns it to the Item field.
func (CreateUserResponse) ToMap ¶
func (o CreateUserResponse) ToMap() (map[string]interface{}, error)
type DataPoint ¶
type DataPoint struct {
Timestamp *string `json:"timestamp,omitempty"`
Value *float32 `json:"value,omitempty"`
}
DataPoint struct for DataPoint
func NewDataPoint ¶
func NewDataPoint() *DataPoint
NewDataPoint instantiates a new DataPoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDataPointWithDefaults ¶
func NewDataPointWithDefaults() *DataPoint
NewDataPointWithDefaults instantiates a new DataPoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DataPoint) GetTimestamp ¶
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 Database ¶
type Database struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// Database specific options
Options map[string]interface{} `json:"options,omitempty"`
}
Database struct for Database
func NewDatabase ¶
func NewDatabase() *Database
NewDatabase instantiates a new Database object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseWithDefaults ¶
func NewDatabaseWithDefaults() *Database
NewDatabaseWithDefaults instantiates a new Database object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Database) 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 (*Database) 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 (*Database) GetOptions ¶
GetOptions returns the Options field value if set, zero value otherwise.
func (*Database) 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 (*Database) HasOptions ¶
HasOptions returns a boolean if a field has been set.
func (Database) MarshalJSON ¶
func (*Database) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Database) SetOptions ¶
SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.
type DatabaseDocumentationCreateDatabaseRequestOptions ¶
type DatabaseDocumentationCreateDatabaseRequestOptions struct {
// Collation of the database
Collation *string `json:"collation,omitempty"`
// CompatibilityLevel of the Database.
CompatibilityLevel *string `json:"compatibilityLevel,omitempty"`
// Name of the owner of the database.
Owner string `json:"owner"`
}
DatabaseDocumentationCreateDatabaseRequestOptions struct for DatabaseDocumentationCreateDatabaseRequestOptions
func NewDatabaseDocumentationCreateDatabaseRequestOptions ¶
func NewDatabaseDocumentationCreateDatabaseRequestOptions(owner string) *DatabaseDocumentationCreateDatabaseRequestOptions
NewDatabaseDocumentationCreateDatabaseRequestOptions instantiates a new DatabaseDocumentationCreateDatabaseRequestOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseDocumentationCreateDatabaseRequestOptionsWithDefaults ¶
func NewDatabaseDocumentationCreateDatabaseRequestOptionsWithDefaults() *DatabaseDocumentationCreateDatabaseRequestOptions
NewDatabaseDocumentationCreateDatabaseRequestOptionsWithDefaults instantiates a new DatabaseDocumentationCreateDatabaseRequestOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCollation ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCollation() string
GetCollation returns the Collation field value if set, zero value otherwise.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCollationOk ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCollationOk() (*string, bool)
GetCollationOk returns a tuple with the Collation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevel ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevel() string
GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevelOk ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLevelOk() (*string, bool)
GetCompatibilityLevelOk returns a tuple with the CompatibilityLevel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetOwner ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetOwner() string
GetOwner returns the Owner field value
func (*DatabaseDocumentationCreateDatabaseRequestOptions) GetOwnerOk ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) HasCollation ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCollation() bool
HasCollation returns a boolean if a field has been set.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) HasCompatibilityLevel ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCompatibilityLevel() bool
HasCompatibilityLevel returns a boolean if a field has been set.
func (DatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON ¶
func (o DatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON() ([]byte, error)
func (*DatabaseDocumentationCreateDatabaseRequestOptions) SetCollation ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetCollation(v string)
SetCollation gets a reference to the given string and assigns it to the Collation field.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) SetCompatibilityLevel ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetCompatibilityLevel(v string)
SetCompatibilityLevel gets a reference to the given string and assigns it to the CompatibilityLevel field.
func (*DatabaseDocumentationCreateDatabaseRequestOptions) SetOwner ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetOwner(v string)
SetOwner sets field value
func (DatabaseDocumentationCreateDatabaseRequestOptions) ToMap ¶
func (o DatabaseDocumentationCreateDatabaseRequestOptions) ToMap() (map[string]interface{}, error)
func (*DatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON ¶
func (o *DatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON(data []byte) (err error)
type DatabaseOptions ¶
type DatabaseOptions struct {
// Name of the collation of the database
CollationName *string `json:"collationName,omitempty"`
// CompatibilityLevel of the Database.
CompatibilityLevel *int32 `json:"compatibilityLevel,omitempty"`
// Name of the owner of the database.
Owner *string `json:"owner,omitempty"`
}
DatabaseOptions struct for DatabaseOptions
func NewDatabaseOptions ¶
func NewDatabaseOptions() *DatabaseOptions
NewDatabaseOptions instantiates a new DatabaseOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseOptionsWithDefaults ¶
func NewDatabaseOptionsWithDefaults() *DatabaseOptions
NewDatabaseOptionsWithDefaults instantiates a new DatabaseOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DatabaseOptions) GetCollationName ¶
func (o *DatabaseOptions) GetCollationName() string
GetCollationName returns the CollationName field value if set, zero value otherwise.
func (*DatabaseOptions) GetCollationNameOk ¶
func (o *DatabaseOptions) GetCollationNameOk() (*string, bool)
GetCollationNameOk returns a tuple with the CollationName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatabaseOptions) GetCompatibilityLevel ¶
func (o *DatabaseOptions) GetCompatibilityLevel() int32
GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.
func (*DatabaseOptions) GetCompatibilityLevelOk ¶
func (o *DatabaseOptions) GetCompatibilityLevelOk() (*int32, bool)
GetCompatibilityLevelOk returns a tuple with the CompatibilityLevel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatabaseOptions) GetOwner ¶
func (o *DatabaseOptions) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*DatabaseOptions) GetOwnerOk ¶
func (o *DatabaseOptions) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatabaseOptions) HasCollationName ¶
func (o *DatabaseOptions) HasCollationName() bool
HasCollationName returns a boolean if a field has been set.
func (*DatabaseOptions) HasCompatibilityLevel ¶
func (o *DatabaseOptions) HasCompatibilityLevel() bool
HasCompatibilityLevel returns a boolean if a field has been set.
func (*DatabaseOptions) HasOwner ¶
func (o *DatabaseOptions) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (DatabaseOptions) MarshalJSON ¶
func (o DatabaseOptions) MarshalJSON() ([]byte, error)
func (*DatabaseOptions) SetCollationName ¶
func (o *DatabaseOptions) SetCollationName(v string)
SetCollationName gets a reference to the given string and assigns it to the CollationName field.
func (*DatabaseOptions) SetCompatibilityLevel ¶
func (o *DatabaseOptions) SetCompatibilityLevel(v int32)
SetCompatibilityLevel gets a reference to the given int32 and assigns it to the CompatibilityLevel field.
func (*DatabaseOptions) SetOwner ¶
func (o *DatabaseOptions) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (DatabaseOptions) ToMap ¶
func (o DatabaseOptions) ToMap() (map[string]interface{}, error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateDatabase Create a Database
Create a Database for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiCreateDatabaseRequest
*/
CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
// CreateDatabaseExecute executes the request
// @return CreateDatabaseResponse
CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
/*
CreateInstance Create Instance
Create a new instance of a sqlServerCRD database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
// CreateInstanceExecute executes the request
// @return CreateInstanceResponse
CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
/*
CreateUser Create User
Create user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiCreateUserRequest
*/
CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
// CreateUserExecute executes the request
// @return CreateUserResponse
CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
/*
DeleteDatabase Delete Database
Delete Database for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@return ApiDeleteDatabaseRequest
*/
DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
// DeleteDatabaseExecute executes the request
DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
/*
DeleteInstance Delete Instance
Delete available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
// DeleteInstanceExecute executes the request
DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
/*
DeleteUser Delete User
Delete user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param userId User ID
@return ApiDeleteUserRequest
*/
DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
// DeleteUserExecute executes the request
DeleteUserExecute(r ApiDeleteUserRequest) error
/*
GetBackup Get specific backup
Get specific available backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param backupId Backup ID
@return ApiGetBackupRequest
*/
GetBackup(ctx context.Context, projectId string, instanceId string, backupId string) ApiGetBackupRequest
// GetBackupExecute executes the request
// @return GetBackupResponse
GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
/*
GetDatabase Get specific Database
Get specific available database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@return ApiGetDatabaseRequest
*/
GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
// GetDatabaseExecute executes the request
// @return GetDatabaseResponse
GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
/*
GetInstance Get specific instance
Get specific available instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@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 specific available user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param userId User ID
@return ApiGetUserRequest
*/
GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
// GetUserExecute executes the request
// @return GetUserResponse
GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
/*
ListBackups List backups
List all backups which are available for a specific instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiListBackupsRequest
*/
ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
// ListBackupsExecute executes the request
// @return ListBackupsResponse
ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
/*
ListCollations Get database collation list
Returns a list of collations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the STACKIT project
@param instanceId The ID of the instance
@return ApiListCollationsRequest
*/
ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
// ListCollationsExecute executes the request
// @return ListCollationsResponse
ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
/*
ListCompatibility Get database compatibility list
Returns a list of compatibility levels for creating a new database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the STACKIT project
@param instanceId The ID of the instance
@return ApiListCompatibilityRequest
*/
ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
// ListCompatibilityExecute executes the request
// @return ListCompatibilityResponse
ListCompatibilityExecute(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
/*
ListDatabases Get list of databases
Get list of all databases in the instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiListDatabasesRequest
*/
ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
// ListDatabasesExecute executes the request
// @return ListDatabasesResponse
ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
/*
ListFlavors Get Flavors
Get available flavors for a specific projectID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@return ApiListFlavorsRequest
*/
ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
// ListFlavorsExecute executes the request
// @return ListFlavorsResponse
ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
/*
ListInstances List Instances
List available instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
// ListInstancesExecute executes the request
// @return ListInstancesResponse
ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
/*
ListMetrics Get Metric
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The UUID of the project.
@param instanceId The UUID of the instance.
@param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'.
@return ApiListMetricsRequest
*/
ListMetrics(ctx context.Context, projectId string, instanceId string, metric string) ApiListMetricsRequest
// ListMetricsExecute executes the request
// @return ListMetricsResponse
ListMetricsExecute(r ApiListMetricsRequest) (*ListMetricsResponse, error)
/*
ListRestoreJobs List current running restore jobs
List all currently running restore jobs which are available for a specific instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiListRestoreJobsRequest
*/
ListRestoreJobs(ctx context.Context, projectId string, instanceId string) ApiListRestoreJobsRequest
// ListRestoreJobsExecute executes the request
// @return ListRestoreJobsResponse
ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
/*
ListRoles List Roles
List available roles for an instance that can be assigned to a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiListRolesRequest
*/
ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
// ListRolesExecute executes the request
// @return ListRolesResponse
ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
/*
ListStorages Get Storages
Get available storages for a specific flavor
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param flavorId Flavor ID
@return ApiListStoragesRequest
*/
ListStorages(ctx context.Context, projectId string, flavorId string) ApiListStoragesRequest
// ListStoragesExecute executes the request
// @return ListStoragesResponse
ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)
/*
ListUsers List Users
List available users for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@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
Get available versions for mssql database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@return ApiListVersionsRequest
*/
ListVersions(ctx context.Context, projectId string) ApiListVersionsRequest
// ListVersionsExecute executes the request
// @return ListVersionsResponse
ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
/*
PartialUpdateInstance Update Instance
Update available instance of a mssql database.
**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiPartialUpdateInstanceRequest
*/
PartialUpdateInstance(ctx context.Context, projectId string, instanceId string) ApiPartialUpdateInstanceRequest
// PartialUpdateInstanceExecute executes the request
// @return UpdateInstanceResponse
PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
/*
ResetUser Reset User
Reset user password for a mssql instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param userId user ID
@return ApiResetUserRequest
*/
ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
// ResetUserExecute executes the request
// @return ResetUserResponse
ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
/*
TriggerDatabaseBackup Trigger backup for a specific Database
Trigger backup for a specific Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@return ApiTriggerDatabaseBackupRequest
*/
TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
// TriggerDatabaseBackupExecute executes the request
TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error
/*
TriggerDatabaseRestore Trigger restore for a specific Database
Trigger restore for a specific Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@param databaseName Database Name
@return ApiTriggerDatabaseRestoreRequest
*/
TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
// TriggerDatabaseRestoreExecute executes the request
TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error
/*
UpdateInstance Update Instance
Update available instance of a mssql database.
**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
@param instanceId Instance ID
@return ApiUpdateInstanceRequest
*/
UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
// UpdateInstanceExecute executes the request
// @return UpdateInstanceResponse
UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateDatabase ¶
func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
CreateDatabase Create a Database
Create a Database for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiCreateDatabaseRequest
func (*DefaultAPIService) CreateDatabaseExecute ¶
func (a *DefaultAPIService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
Execute executes the request
@return CreateDatabaseResponse
func (*DefaultAPIService) CreateInstance ¶
func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
CreateInstance Create Instance
Create a new instance of a sqlServerCRD database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @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 user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiCreateUserRequest
func (*DefaultAPIService) CreateUserExecute ¶
func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
Execute executes the request
@return CreateUserResponse
func (*DefaultAPIService) DeleteDatabase ¶
func (a *DefaultAPIService) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
DeleteDatabase Delete Database
Delete Database for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiDeleteDatabaseRequest
func (*DefaultAPIService) DeleteDatabaseExecute ¶
func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteInstance ¶
func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance Delete Instance
Delete available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @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 user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param userId User ID @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 specific backup
Get specific available backup
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param backupId Backup ID @return ApiGetBackupRequest
func (*DefaultAPIService) GetBackupExecute ¶
func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
Execute executes the request
@return GetBackupResponse
func (*DefaultAPIService) GetDatabase ¶
func (a *DefaultAPIService) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
GetDatabase Get specific Database
Get specific available database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiGetDatabaseRequest
func (*DefaultAPIService) GetDatabaseExecute ¶
func (a *DefaultAPIService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
Execute executes the request
@return GetDatabaseResponse
func (*DefaultAPIService) GetInstance ¶
func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
GetInstance Get specific instance
Get specific available instances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @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 specific available user for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param userId User ID @return ApiGetUserRequest
func (*DefaultAPIService) GetUserExecute ¶
func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
Execute executes the request
@return GetUserResponse
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, instanceId string) ApiListBackupsRequest
ListBackups List backups
List all backups which are available for a specific instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListBackupsRequest
func (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
Execute executes the request
@return ListBackupsResponse
func (*DefaultAPIService) ListCollations ¶
func (a *DefaultAPIService) ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
ListCollations Get database collation list
Returns a list of collations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the STACKIT project @param instanceId The ID of the instance @return ApiListCollationsRequest
func (*DefaultAPIService) ListCollationsExecute ¶
func (a *DefaultAPIService) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
Execute executes the request
@return ListCollationsResponse
func (*DefaultAPIService) ListCompatibility ¶
func (a *DefaultAPIService) ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
ListCompatibility Get database compatibility list
Returns a list of compatibility levels for creating a new database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the STACKIT project @param instanceId The ID of the instance @return ApiListCompatibilityRequest
func (*DefaultAPIService) ListCompatibilityExecute ¶
func (a *DefaultAPIService) ListCompatibilityExecute(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
Execute executes the request
@return ListCompatibilityResponse
func (*DefaultAPIService) ListDatabases ¶
func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
ListDatabases Get list of databases
Get list of all databases in the instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListDatabasesRequest
func (*DefaultAPIService) ListDatabasesExecute ¶
func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
Execute executes the request
@return ListDatabasesResponse
func (*DefaultAPIService) ListFlavors ¶
func (a *DefaultAPIService) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
ListFlavors Get Flavors
Get available flavors for a specific projectID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @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 available instances
@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 Get Metric
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The UUID of the project. @param instanceId The UUID of the instance. @param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'. @return ApiListMetricsRequest
func (*DefaultAPIService) ListMetricsExecute ¶
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 current running restore jobs
List all currently running restore jobs which are available for a specific instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListRestoreJobsRequest
func (*DefaultAPIService) ListRestoreJobsExecute ¶
func (a *DefaultAPIService) ListRestoreJobsExecute(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
Execute executes the request
@return ListRestoreJobsResponse
func (*DefaultAPIService) ListRoles ¶
func (a *DefaultAPIService) ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
ListRoles List Roles
List available roles for an instance that can be assigned to a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiListRolesRequest
func (*DefaultAPIService) ListRolesExecute ¶
func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
Execute executes the request
@return ListRolesResponse
func (*DefaultAPIService) ListStorages ¶
func (a *DefaultAPIService) ListStorages(ctx context.Context, projectId string, flavorId string) ApiListStoragesRequest
ListStorages Get Storages
Get available storages for a specific flavor
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param flavorId Flavor ID @return ApiListStoragesRequest
func (*DefaultAPIService) ListStoragesExecute ¶
func (a *DefaultAPIService) ListStoragesExecute(r ApiListStoragesRequest) (*ListStoragesResponse, error)
Execute executes the request
@return ListStoragesResponse
func (*DefaultAPIService) ListUsers ¶
func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
ListUsers List Users
List available users for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @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
Get available versions for mssql database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @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 Update Instance
Update available instance of a mssql database.
**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiPartialUpdateInstanceRequest
func (*DefaultAPIService) PartialUpdateInstanceExecute ¶
func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
Execute executes the request
@return UpdateInstanceResponse
func (*DefaultAPIService) ResetUser ¶
func (a *DefaultAPIService) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
ResetUser Reset User
Reset user password for a mssql instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param userId user ID @return ApiResetUserRequest
func (*DefaultAPIService) ResetUserExecute ¶
func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
Execute executes the request
@return ResetUserResponse
func (*DefaultAPIService) TriggerDatabaseBackup ¶
func (a *DefaultAPIService) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
TriggerDatabaseBackup Trigger backup for a specific Database
Trigger backup for a specific Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiTriggerDatabaseBackupRequest
func (*DefaultAPIService) TriggerDatabaseBackupExecute ¶
func (a *DefaultAPIService) TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error
Execute executes the request
func (*DefaultAPIService) TriggerDatabaseRestore ¶
func (a *DefaultAPIService) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
TriggerDatabaseRestore Trigger restore for a specific Database
Trigger restore for a specific Database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @param databaseName Database Name @return ApiTriggerDatabaseRestoreRequest
func (*DefaultAPIService) TriggerDatabaseRestoreExecute ¶
func (a *DefaultAPIService) TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstance ¶
func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
UpdateInstance Update Instance
Update available instance of a mssql database.
**Please note that any changes applied via PUT or PATCH requests will initiate a reboot of the SQL Server Flex Instance.**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @param instanceId Instance ID @return ApiUpdateInstanceRequest
func (*DefaultAPIService) UpdateInstanceExecute ¶
func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
Execute executes the request
@return UpdateInstanceResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateDatabaseExecuteMock can be populated to implement the behavior of the CreateDatabaseExecute function of this mock
CreateDatabaseExecuteMock *func(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
// CreateUserExecuteMock can be populated to implement the behavior of the CreateUserExecute function of this mock
CreateUserExecuteMock *func(r ApiCreateUserRequest) (*CreateUserResponse, error)
// DeleteDatabaseExecuteMock can be populated to implement the behavior of the DeleteDatabaseExecute function of this mock
DeleteDatabaseExecuteMock *func(r ApiDeleteDatabaseRequest) error
// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
// DeleteUserExecuteMock can be populated to implement the behavior of the DeleteUserExecute function of this mock
DeleteUserExecuteMock *func(r ApiDeleteUserRequest) error
// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
GetBackupExecuteMock *func(r ApiGetBackupRequest) (*GetBackupResponse, error)
// GetDatabaseExecuteMock can be populated to implement the behavior of the GetDatabaseExecute function of this mock
GetDatabaseExecuteMock *func(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
GetUserExecuteMock *func(r ApiGetUserRequest) (*GetUserResponse, error)
// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*ListBackupsResponse, error)
// ListCollationsExecuteMock can be populated to implement the behavior of the ListCollationsExecute function of this mock
ListCollationsExecuteMock *func(r ApiListCollationsRequest) (*ListCollationsResponse, error)
// ListCompatibilityExecuteMock can be populated to implement the behavior of the ListCompatibilityExecute function of this mock
ListCompatibilityExecuteMock *func(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
// ListDatabasesExecuteMock can be populated to implement the behavior of the ListDatabasesExecute function of this mock
ListDatabasesExecuteMock *func(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
// ListFlavorsExecuteMock can be populated to implement the behavior of the ListFlavorsExecute function of this mock
ListFlavorsExecuteMock *func(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
// ListMetricsExecuteMock can be populated to implement the behavior of the ListMetricsExecute function of this mock
ListMetricsExecuteMock *func(r ApiListMetricsRequest) (*ListMetricsResponse, error)
// ListRestoreJobsExecuteMock can be populated to implement the behavior of the ListRestoreJobsExecute function of this mock
ListRestoreJobsExecuteMock *func(r ApiListRestoreJobsRequest) (*ListRestoreJobsResponse, error)
// ListRolesExecuteMock can be populated to implement the behavior of the ListRolesExecute function of this mock
ListRolesExecuteMock *func(r ApiListRolesRequest) (*ListRolesResponse, error)
// ListStoragesExecuteMock can be populated to implement the behavior of the ListStoragesExecute function of this mock
ListStoragesExecuteMock *func(r ApiListStoragesRequest) (*ListStoragesResponse, error)
// ListUsersExecuteMock can be populated to implement the behavior of the ListUsersExecute function of this mock
ListUsersExecuteMock *func(r ApiListUsersRequest) (*ListUsersResponse, error)
// ListVersionsExecuteMock can be populated to implement the behavior of the ListVersionsExecute function of this mock
ListVersionsExecuteMock *func(r ApiListVersionsRequest) (*ListVersionsResponse, error)
// PartialUpdateInstanceExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceExecute function of this mock
PartialUpdateInstanceExecuteMock *func(r ApiPartialUpdateInstanceRequest) (*UpdateInstanceResponse, error)
// ResetUserExecuteMock can be populated to implement the behavior of the ResetUserExecute function of this mock
ResetUserExecuteMock *func(r ApiResetUserRequest) (*ResetUserResponse, error)
// TriggerDatabaseBackupExecuteMock can be populated to implement the behavior of the TriggerDatabaseBackupExecute function of this mock
TriggerDatabaseBackupExecuteMock *func(r ApiTriggerDatabaseBackupRequest) error
// TriggerDatabaseRestoreExecuteMock can be populated to implement the behavior of the TriggerDatabaseRestoreExecute function of this mock
TriggerDatabaseRestoreExecuteMock *func(r ApiTriggerDatabaseRestoreRequest) error
// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) (*UpdateInstanceResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateDatabase ¶
func (a DefaultAPIServiceMock) CreateDatabase(ctx context.Context, projectId string, instanceId string) ApiCreateDatabaseRequest
func (DefaultAPIServiceMock) CreateDatabaseExecute ¶
func (a DefaultAPIServiceMock) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
CreateDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateInstance ¶
func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string) 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) DeleteDatabase ¶
func (a DefaultAPIServiceMock) DeleteDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
func (DefaultAPIServiceMock) DeleteDatabaseExecute ¶
func (a DefaultAPIServiceMock) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
DeleteDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteInstance ¶
func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, instanceId string) 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) GetDatabase ¶
func (a DefaultAPIServiceMock) GetDatabase(ctx context.Context, projectId string, instanceId string, databaseName string) ApiGetDatabaseRequest
func (DefaultAPIServiceMock) GetDatabaseExecute ¶
func (a DefaultAPIServiceMock) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
GetDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstance ¶
func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, instanceId string) 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) 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) ListCollations ¶
func (a DefaultAPIServiceMock) ListCollations(ctx context.Context, projectId string, instanceId string) ApiListCollationsRequest
func (DefaultAPIServiceMock) ListCollationsExecute ¶
func (a DefaultAPIServiceMock) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
ListCollationsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCollationsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCompatibility ¶
func (a DefaultAPIServiceMock) ListCompatibility(ctx context.Context, projectId string, instanceId string) ApiListCompatibilityRequest
func (DefaultAPIServiceMock) ListCompatibilityExecute ¶
func (a DefaultAPIServiceMock) ListCompatibilityExecute(r ApiListCompatibilityRequest) (*ListCompatibilityResponse, error)
ListCompatibilityExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCompatibilityExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListDatabases ¶
func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, instanceId string) ApiListDatabasesRequest
func (DefaultAPIServiceMock) ListDatabasesExecute ¶
func (a DefaultAPIServiceMock) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
ListDatabasesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListDatabasesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListFlavors ¶
func (a DefaultAPIServiceMock) ListFlavors(ctx context.Context, projectId string) 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) ListRoles ¶
func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, projectId string, instanceId string) ApiListRolesRequest
func (DefaultAPIServiceMock) ListRolesExecute ¶
func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
ListRolesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRolesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListStorages ¶
func (a DefaultAPIServiceMock) ListStorages(ctx context.Context, projectId string, flavorId string) 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) 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) ResetUser ¶
func (a DefaultAPIServiceMock) ResetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiResetUserRequest
func (DefaultAPIServiceMock) ResetUserExecute ¶
func (a DefaultAPIServiceMock) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, 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) TriggerDatabaseBackup ¶
func (a DefaultAPIServiceMock) TriggerDatabaseBackup(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseBackupRequest
func (DefaultAPIServiceMock) TriggerDatabaseBackupExecute ¶
func (a DefaultAPIServiceMock) TriggerDatabaseBackupExecute(r ApiTriggerDatabaseBackupRequest) error
TriggerDatabaseBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerDatabaseBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerDatabaseRestore ¶
func (a DefaultAPIServiceMock) TriggerDatabaseRestore(ctx context.Context, projectId string, instanceId string, databaseName string) ApiTriggerDatabaseRestoreRequest
func (DefaultAPIServiceMock) TriggerDatabaseRestoreExecute ¶
func (a DefaultAPIServiceMock) TriggerDatabaseRestoreExecute(r ApiTriggerDatabaseRestoreRequest) error
TriggerDatabaseRestoreExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerDatabaseRestoreExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstance ¶
func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) 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.
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 {
// Backup end time in UTC
EndTime *string `json:"endTime,omitempty"`
// Backup error
Error *string `json:"error,omitempty"`
// Backup id
Id *string `json:"id,omitempty"`
// Backup labels
Labels []string `json:"labels,omitempty"`
// Backup name
Name *string `json:"name,omitempty"`
// Backup specific options
Options *map[string]string `json:"options,omitempty"`
// Backup size in byte
Size *int32 `json:"size,omitempty"`
// Backup start time in UTC
StartTime *string `json:"startTime,omitempty"`
}
GetBackupResponse struct for GetBackupResponse
func NewGetBackupResponse ¶
func NewGetBackupResponse() *GetBackupResponse
NewGetBackupResponse instantiates a new GetBackupResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBackupResponseWithDefaults ¶
func NewGetBackupResponseWithDefaults() *GetBackupResponse
NewGetBackupResponseWithDefaults instantiates a new GetBackupResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBackupResponse) GetEndTime ¶
func (o *GetBackupResponse) GetEndTime() string
GetEndTime returns the EndTime field value if set, zero value otherwise.
func (*GetBackupResponse) GetEndTimeOk ¶
func (o *GetBackupResponse) GetEndTimeOk() (*string, bool)
GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetError ¶
func (o *GetBackupResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*GetBackupResponse) GetErrorOk ¶
func (o *GetBackupResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetId ¶
func (o *GetBackupResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GetBackupResponse) GetIdOk ¶
func (o *GetBackupResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetLabels ¶
func (o *GetBackupResponse) GetLabels() []string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetBackupResponse) GetLabelsOk ¶
func (o *GetBackupResponse) GetLabelsOk() ([]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetName ¶
func (o *GetBackupResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetBackupResponse) GetNameOk ¶
func (o *GetBackupResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetOptions ¶
func (o *GetBackupResponse) GetOptions() map[string]string
GetOptions returns the Options field value if set, zero value otherwise.
func (*GetBackupResponse) GetOptionsOk ¶
func (o *GetBackupResponse) GetOptionsOk() (*map[string]string, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetSize ¶
func (o *GetBackupResponse) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*GetBackupResponse) GetSizeOk ¶
func (o *GetBackupResponse) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) GetStartTime ¶
func (o *GetBackupResponse) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*GetBackupResponse) GetStartTimeOk ¶
func (o *GetBackupResponse) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBackupResponse) HasEndTime ¶
func (o *GetBackupResponse) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (*GetBackupResponse) HasError ¶
func (o *GetBackupResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*GetBackupResponse) HasId ¶
func (o *GetBackupResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*GetBackupResponse) HasLabels ¶
func (o *GetBackupResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GetBackupResponse) HasName ¶
func (o *GetBackupResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetBackupResponse) HasOptions ¶
func (o *GetBackupResponse) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*GetBackupResponse) HasSize ¶
func (o *GetBackupResponse) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*GetBackupResponse) HasStartTime ¶
func (o *GetBackupResponse) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (GetBackupResponse) MarshalJSON ¶
func (o GetBackupResponse) MarshalJSON() ([]byte, error)
func (*GetBackupResponse) SetEndTime ¶
func (o *GetBackupResponse) SetEndTime(v string)
SetEndTime gets a reference to the given string and assigns it to the EndTime field.
func (*GetBackupResponse) SetError ¶
func (o *GetBackupResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*GetBackupResponse) SetId ¶
func (o *GetBackupResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GetBackupResponse) SetLabels ¶
func (o *GetBackupResponse) SetLabels(v []string)
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*GetBackupResponse) SetName ¶
func (o *GetBackupResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetBackupResponse) SetOptions ¶
func (o *GetBackupResponse) SetOptions(v map[string]string)
SetOptions gets a reference to the given map[string]string and assigns it to the Options field.
func (*GetBackupResponse) SetSize ¶
func (o *GetBackupResponse) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*GetBackupResponse) SetStartTime ¶
func (o *GetBackupResponse) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (GetBackupResponse) ToMap ¶
func (o GetBackupResponse) ToMap() (map[string]interface{}, error)
type GetDatabaseResponse ¶
type GetDatabaseResponse struct {
Database *SingleDatabase `json:"database,omitempty"`
}
GetDatabaseResponse struct for GetDatabaseResponse
func NewGetDatabaseResponse ¶
func NewGetDatabaseResponse() *GetDatabaseResponse
NewGetDatabaseResponse instantiates a new GetDatabaseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetDatabaseResponseWithDefaults ¶
func NewGetDatabaseResponseWithDefaults() *GetDatabaseResponse
NewGetDatabaseResponseWithDefaults instantiates a new GetDatabaseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetDatabaseResponse) GetDatabase ¶
func (o *GetDatabaseResponse) GetDatabase() SingleDatabase
GetDatabase returns the Database field value if set, zero value otherwise.
func (*GetDatabaseResponse) GetDatabaseOk ¶
func (o *GetDatabaseResponse) GetDatabaseOk() (*SingleDatabase, bool)
GetDatabaseOk returns a tuple with the Database field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDatabaseResponse) HasDatabase ¶
func (o *GetDatabaseResponse) HasDatabase() bool
HasDatabase returns a boolean if a field has been set.
func (GetDatabaseResponse) MarshalJSON ¶
func (o GetDatabaseResponse) MarshalJSON() ([]byte, error)
func (*GetDatabaseResponse) SetDatabase ¶
func (o *GetDatabaseResponse) SetDatabase(v SingleDatabase)
SetDatabase gets a reference to the given SingleDatabase and assigns it to the Database field.
func (GetDatabaseResponse) ToMap ¶
func (o GetDatabaseResponse) ToMap() (map[string]interface{}, error)
type GetInstanceResponse ¶
type GetInstanceResponse struct {
Item *Instance `json:"item,omitempty"`
}
GetInstanceResponse struct for GetInstanceResponse
func NewGetInstanceResponse ¶
func NewGetInstanceResponse() *GetInstanceResponse
NewGetInstanceResponse instantiates a new GetInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetInstanceResponseWithDefaults ¶
func NewGetInstanceResponseWithDefaults() *GetInstanceResponse
NewGetInstanceResponseWithDefaults instantiates a new GetInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetInstanceResponse) GetItem ¶
func (o *GetInstanceResponse) GetItem() Instance
GetItem returns the Item field value if set, zero value otherwise.
func (*GetInstanceResponse) GetItemOk ¶
func (o *GetInstanceResponse) GetItemOk() (*Instance, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetInstanceResponse) HasItem ¶
func (o *GetInstanceResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (GetInstanceResponse) MarshalJSON ¶
func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceResponse) SetItem ¶
func (o *GetInstanceResponse) SetItem(v Instance)
SetItem gets a reference to the given Instance and assigns it to the Item field.
func (GetInstanceResponse) ToMap ¶
func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
type GetUserResponse ¶
type GetUserResponse struct {
Item *UserResponseUser `json:"item,omitempty"`
}
GetUserResponse struct for GetUserResponse
func NewGetUserResponse ¶
func NewGetUserResponse() *GetUserResponse
NewGetUserResponse instantiates a new GetUserResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetUserResponseWithDefaults ¶
func NewGetUserResponseWithDefaults() *GetUserResponse
NewGetUserResponseWithDefaults instantiates a new GetUserResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetUserResponse) GetItem ¶
func (o *GetUserResponse) GetItem() UserResponseUser
GetItem returns the Item field value if set, zero value otherwise.
func (*GetUserResponse) GetItemOk ¶
func (o *GetUserResponse) GetItemOk() (*UserResponseUser, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetUserResponse) HasItem ¶
func (o *GetUserResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (GetUserResponse) MarshalJSON ¶
func (o GetUserResponse) MarshalJSON() ([]byte, error)
func (*GetUserResponse) SetItem ¶
func (o *GetUserResponse) SetItem(v UserResponseUser)
SetItem gets a reference to the given UserResponseUser and assigns it to the Item field.
func (GetUserResponse) ToMap ¶
func (o GetUserResponse) ToMap() (map[string]interface{}, error)
type Host ¶
type Host struct {
HostMetrics []HostMetric `json:"hostMetrics,omitempty"`
Id *string `json:"id,omitempty"`
}
Host struct for Host
func NewHost ¶
func NewHost() *Host
NewHost instantiates a new Host object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHostWithDefaults ¶
func NewHostWithDefaults() *Host
NewHostWithDefaults instantiates a new Host object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Host) GetHostMetrics ¶
func (o *Host) GetHostMetrics() []HostMetric
GetHostMetrics returns the HostMetrics field value if set, zero value otherwise.
func (*Host) GetHostMetricsOk ¶
func (o *Host) GetHostMetricsOk() ([]HostMetric, bool)
GetHostMetricsOk returns a tuple with the HostMetrics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Host) 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"`
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 InstanceDocumentationACL ¶
type InstanceDocumentationACL struct {
// a simple list with IP addresses with CIDR.
Items []string `json:"items,omitempty"`
}
InstanceDocumentationACL struct for InstanceDocumentationACL
func NewInstanceDocumentationACL ¶
func NewInstanceDocumentationACL() *InstanceDocumentationACL
NewInstanceDocumentationACL instantiates a new InstanceDocumentationACL object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceDocumentationACLWithDefaults ¶
func NewInstanceDocumentationACLWithDefaults() *InstanceDocumentationACL
NewInstanceDocumentationACLWithDefaults instantiates a new InstanceDocumentationACL object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceDocumentationACL) GetItems ¶
func (o *InstanceDocumentationACL) GetItems() []string
GetItems returns the Items field value if set, zero value otherwise.
func (*InstanceDocumentationACL) GetItemsOk ¶
func (o *InstanceDocumentationACL) GetItemsOk() ([]string, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceDocumentationACL) HasItems ¶
func (o *InstanceDocumentationACL) HasItems() bool
HasItems returns a boolean if a field has been set.
func (InstanceDocumentationACL) MarshalJSON ¶
func (o InstanceDocumentationACL) MarshalJSON() ([]byte, error)
func (*InstanceDocumentationACL) SetItems ¶
func (o *InstanceDocumentationACL) SetItems(v []string)
SetItems gets a reference to the given []string and assigns it to the Items field.
func (InstanceDocumentationACL) ToMap ¶
func (o InstanceDocumentationACL) ToMap() (map[string]interface{}, error)
type InstanceDocumentationOptions ¶
type InstanceDocumentationOptions struct {
// Edition of the MSSQL server instance
Edition *string `json:"edition,omitempty"`
// The days for how long the backup files should be stored before cleaned up. 30 to 365
RetentionDays *string `json:"retentionDays,omitempty"`
}
InstanceDocumentationOptions struct for InstanceDocumentationOptions
func NewInstanceDocumentationOptions ¶
func NewInstanceDocumentationOptions() *InstanceDocumentationOptions
NewInstanceDocumentationOptions instantiates a new InstanceDocumentationOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceDocumentationOptionsWithDefaults ¶
func NewInstanceDocumentationOptionsWithDefaults() *InstanceDocumentationOptions
NewInstanceDocumentationOptionsWithDefaults instantiates a new InstanceDocumentationOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceDocumentationOptions) GetEdition ¶
func (o *InstanceDocumentationOptions) GetEdition() string
GetEdition returns the Edition field value if set, zero value otherwise.
func (*InstanceDocumentationOptions) GetEditionOk ¶
func (o *InstanceDocumentationOptions) GetEditionOk() (*string, bool)
GetEditionOk returns a tuple with the Edition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceDocumentationOptions) GetRetentionDays ¶
func (o *InstanceDocumentationOptions) GetRetentionDays() string
GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.
func (*InstanceDocumentationOptions) GetRetentionDaysOk ¶
func (o *InstanceDocumentationOptions) GetRetentionDaysOk() (*string, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceDocumentationOptions) HasEdition ¶
func (o *InstanceDocumentationOptions) HasEdition() bool
HasEdition returns a boolean if a field has been set.
func (*InstanceDocumentationOptions) HasRetentionDays ¶
func (o *InstanceDocumentationOptions) HasRetentionDays() bool
HasRetentionDays returns a boolean if a field has been set.
func (InstanceDocumentationOptions) MarshalJSON ¶
func (o InstanceDocumentationOptions) MarshalJSON() ([]byte, error)
func (*InstanceDocumentationOptions) SetEdition ¶
func (o *InstanceDocumentationOptions) SetEdition(v string)
SetEdition gets a reference to the given string and assigns it to the Edition field.
func (*InstanceDocumentationOptions) SetRetentionDays ¶
func (o *InstanceDocumentationOptions) SetRetentionDays(v string)
SetRetentionDays gets a reference to the given string and assigns it to the RetentionDays field.
func (InstanceDocumentationOptions) ToMap ¶
func (o InstanceDocumentationOptions) ToMap() (map[string]interface{}, error)
type InstanceDocumentationStorage ¶
type InstanceDocumentationStorage struct {
// Class of the instance.
Class *string `json:"class,omitempty"`
// Size of the instance storage in GB
Size *int32 `json:"size,omitempty"`
}
InstanceDocumentationStorage struct for InstanceDocumentationStorage
func NewInstanceDocumentationStorage ¶
func NewInstanceDocumentationStorage() *InstanceDocumentationStorage
NewInstanceDocumentationStorage instantiates a new InstanceDocumentationStorage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceDocumentationStorageWithDefaults ¶
func NewInstanceDocumentationStorageWithDefaults() *InstanceDocumentationStorage
NewInstanceDocumentationStorageWithDefaults instantiates a new InstanceDocumentationStorage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceDocumentationStorage) GetClass ¶
func (o *InstanceDocumentationStorage) GetClass() string
GetClass returns the Class field value if set, zero value otherwise.
func (*InstanceDocumentationStorage) GetClassOk ¶
func (o *InstanceDocumentationStorage) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceDocumentationStorage) GetSize ¶
func (o *InstanceDocumentationStorage) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*InstanceDocumentationStorage) GetSizeOk ¶
func (o *InstanceDocumentationStorage) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceDocumentationStorage) HasClass ¶
func (o *InstanceDocumentationStorage) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*InstanceDocumentationStorage) HasSize ¶
func (o *InstanceDocumentationStorage) HasSize() bool
HasSize returns a boolean if a field has been set.
func (InstanceDocumentationStorage) MarshalJSON ¶
func (o InstanceDocumentationStorage) MarshalJSON() ([]byte, error)
func (*InstanceDocumentationStorage) SetClass ¶
func (o *InstanceDocumentationStorage) SetClass(v string)
SetClass gets a reference to the given string and assigns it to the Class field.
func (*InstanceDocumentationStorage) SetSize ¶
func (o *InstanceDocumentationStorage) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (InstanceDocumentationStorage) ToMap ¶
func (o InstanceDocumentationStorage) ToMap() (map[string]interface{}, error)
type InstanceError ¶
type InstanceError struct {
Code *int32 `json:"code,omitempty"`
Fields *map[string][]string `json:"fields,omitempty"`
Message *string `json:"message,omitempty"`
Type *Type `json:"type,omitempty"`
}
InstanceError struct for InstanceError
func NewInstanceError ¶
func NewInstanceError() *InstanceError
NewInstanceError instantiates a new InstanceError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceErrorWithDefaults ¶
func NewInstanceErrorWithDefaults() *InstanceError
NewInstanceErrorWithDefaults instantiates a new InstanceError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceError) GetCode ¶
func (o *InstanceError) GetCode() int32
GetCode returns the Code field value if set, zero value otherwise.
func (*InstanceError) GetCodeOk ¶
func (o *InstanceError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceError) GetFields ¶
func (o *InstanceError) GetFields() map[string][]string
GetFields returns the Fields field value if set, zero value otherwise.
func (*InstanceError) GetFieldsOk ¶
func (o *InstanceError) GetFieldsOk() (*map[string][]string, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceError) GetMessage ¶
func (o *InstanceError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*InstanceError) GetMessageOk ¶
func (o *InstanceError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceError) GetType ¶
func (o *InstanceError) GetType() Type
GetType returns the Type field value if set, zero value otherwise.
func (*InstanceError) GetTypeOk ¶
func (o *InstanceError) GetTypeOk() (*Type, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceError) HasCode ¶
func (o *InstanceError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*InstanceError) HasFields ¶
func (o *InstanceError) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*InstanceError) HasMessage ¶
func (o *InstanceError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*InstanceError) HasType ¶
func (o *InstanceError) HasType() bool
HasType returns a boolean if a field has been set.
func (InstanceError) MarshalJSON ¶
func (o InstanceError) MarshalJSON() ([]byte, error)
func (*InstanceError) SetCode ¶
func (o *InstanceError) SetCode(v int32)
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*InstanceError) SetFields ¶
func (o *InstanceError) SetFields(v map[string][]string)
SetFields gets a reference to the given map[string][]string and assigns it to the Fields field.
func (*InstanceError) SetMessage ¶
func (o *InstanceError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*InstanceError) SetType ¶
func (o *InstanceError) SetType(v Type)
SetType gets a reference to the given Type and assigns it to the Type field.
func (InstanceError) ToMap ¶
func (o InstanceError) ToMap() (map[string]interface{}, error)
type InstanceFlavorEntry ¶
type InstanceFlavorEntry struct {
Categories *string `json:"categories,omitempty"`
Cpu *int32 `json:"cpu,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Memory *int32 `json:"memory,omitempty"`
}
InstanceFlavorEntry struct for InstanceFlavorEntry
func NewInstanceFlavorEntry ¶
func NewInstanceFlavorEntry() *InstanceFlavorEntry
NewInstanceFlavorEntry instantiates a new InstanceFlavorEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceFlavorEntryWithDefaults ¶
func NewInstanceFlavorEntryWithDefaults() *InstanceFlavorEntry
NewInstanceFlavorEntryWithDefaults instantiates a new InstanceFlavorEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceFlavorEntry) GetCategories ¶
func (o *InstanceFlavorEntry) GetCategories() string
GetCategories returns the Categories field value if set, zero value otherwise.
func (*InstanceFlavorEntry) GetCategoriesOk ¶
func (o *InstanceFlavorEntry) GetCategoriesOk() (*string, bool)
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceFlavorEntry) GetCpu ¶
func (o *InstanceFlavorEntry) GetCpu() int32
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*InstanceFlavorEntry) GetCpuOk ¶
func (o *InstanceFlavorEntry) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceFlavorEntry) GetDescription ¶
func (o *InstanceFlavorEntry) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*InstanceFlavorEntry) GetDescriptionOk ¶
func (o *InstanceFlavorEntry) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceFlavorEntry) GetId ¶
func (o *InstanceFlavorEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*InstanceFlavorEntry) GetIdOk ¶
func (o *InstanceFlavorEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceFlavorEntry) GetMemory ¶
func (o *InstanceFlavorEntry) GetMemory() int32
GetMemory returns the Memory field value if set, zero value otherwise.
func (*InstanceFlavorEntry) GetMemoryOk ¶
func (o *InstanceFlavorEntry) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceFlavorEntry) HasCategories ¶
func (o *InstanceFlavorEntry) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*InstanceFlavorEntry) HasCpu ¶
func (o *InstanceFlavorEntry) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*InstanceFlavorEntry) HasDescription ¶
func (o *InstanceFlavorEntry) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*InstanceFlavorEntry) HasId ¶
func (o *InstanceFlavorEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*InstanceFlavorEntry) HasMemory ¶
func (o *InstanceFlavorEntry) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (InstanceFlavorEntry) MarshalJSON ¶
func (o InstanceFlavorEntry) MarshalJSON() ([]byte, error)
func (*InstanceFlavorEntry) SetCategories ¶
func (o *InstanceFlavorEntry) SetCategories(v string)
SetCategories gets a reference to the given string and assigns it to the Categories field.
func (*InstanceFlavorEntry) SetCpu ¶
func (o *InstanceFlavorEntry) SetCpu(v int32)
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*InstanceFlavorEntry) SetDescription ¶
func (o *InstanceFlavorEntry) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*InstanceFlavorEntry) SetId ¶
func (o *InstanceFlavorEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*InstanceFlavorEntry) SetMemory ¶
func (o *InstanceFlavorEntry) SetMemory(v int32)
SetMemory gets a reference to the given int32 and assigns it to the Memory field.
func (InstanceFlavorEntry) ToMap ¶
func (o InstanceFlavorEntry) ToMap() (map[string]interface{}, error)
type InstanceListInstance ¶
type InstanceListInstance struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
}
InstanceListInstance struct for InstanceListInstance
func NewInstanceListInstance ¶
func NewInstanceListInstance() *InstanceListInstance
NewInstanceListInstance instantiates a new InstanceListInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceListInstanceWithDefaults ¶
func NewInstanceListInstanceWithDefaults() *InstanceListInstance
NewInstanceListInstanceWithDefaults instantiates a new InstanceListInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceListInstance) GetId ¶
func (o *InstanceListInstance) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*InstanceListInstance) GetIdOk ¶
func (o *InstanceListInstance) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceListInstance) GetName ¶
func (o *InstanceListInstance) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*InstanceListInstance) GetNameOk ¶
func (o *InstanceListInstance) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceListInstance) GetStatus ¶
func (o *InstanceListInstance) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*InstanceListInstance) GetStatusOk ¶
func (o *InstanceListInstance) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceListInstance) HasId ¶
func (o *InstanceListInstance) HasId() bool
HasId returns a boolean if a field has been set.
func (*InstanceListInstance) HasName ¶
func (o *InstanceListInstance) HasName() bool
HasName returns a boolean if a field has been set.
func (*InstanceListInstance) HasStatus ¶
func (o *InstanceListInstance) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (InstanceListInstance) MarshalJSON ¶
func (o InstanceListInstance) MarshalJSON() ([]byte, error)
func (*InstanceListInstance) SetId ¶
func (o *InstanceListInstance) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*InstanceListInstance) SetName ¶
func (o *InstanceListInstance) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*InstanceListInstance) SetStatus ¶
func (o *InstanceListInstance) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (InstanceListInstance) ToMap ¶
func (o InstanceListInstance) ToMap() (map[string]interface{}, error)
type InstanceListUser ¶
type InstanceListUser struct {
Id *string `json:"id,omitempty"`
Username *string `json:"username,omitempty"`
}
InstanceListUser struct for InstanceListUser
func NewInstanceListUser ¶
func NewInstanceListUser() *InstanceListUser
NewInstanceListUser instantiates a new InstanceListUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceListUserWithDefaults ¶
func NewInstanceListUserWithDefaults() *InstanceListUser
NewInstanceListUserWithDefaults instantiates a new InstanceListUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceListUser) GetId ¶
func (o *InstanceListUser) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*InstanceListUser) GetIdOk ¶
func (o *InstanceListUser) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceListUser) GetUsername ¶
func (o *InstanceListUser) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*InstanceListUser) GetUsernameOk ¶
func (o *InstanceListUser) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceListUser) HasId ¶
func (o *InstanceListUser) HasId() bool
HasId returns a boolean if a field has been set.
func (*InstanceListUser) HasUsername ¶
func (o *InstanceListUser) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (InstanceListUser) MarshalJSON ¶
func (o InstanceListUser) MarshalJSON() ([]byte, error)
func (*InstanceListUser) SetId ¶
func (o *InstanceListUser) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*InstanceListUser) SetUsername ¶
func (o *InstanceListUser) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (InstanceListUser) ToMap ¶
func (o InstanceListUser) ToMap() (map[string]interface{}, error)
type ListBackupsResponse ¶
type ListBackupsResponse struct {
Databases []BackupListBackupsResponseGrouped `json:"databases,omitempty"`
}
ListBackupsResponse struct for ListBackupsResponse
func NewListBackupsResponse ¶
func NewListBackupsResponse() *ListBackupsResponse
NewListBackupsResponse instantiates a new ListBackupsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListBackupsResponseWithDefaults ¶
func NewListBackupsResponseWithDefaults() *ListBackupsResponse
NewListBackupsResponseWithDefaults instantiates a new ListBackupsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListBackupsResponse) GetDatabases ¶
func (o *ListBackupsResponse) GetDatabases() []BackupListBackupsResponseGrouped
GetDatabases returns the Databases field value if set, zero value otherwise.
func (*ListBackupsResponse) GetDatabasesOk ¶
func (o *ListBackupsResponse) GetDatabasesOk() ([]BackupListBackupsResponseGrouped, bool)
GetDatabasesOk returns a tuple with the Databases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListBackupsResponse) HasDatabases ¶
func (o *ListBackupsResponse) HasDatabases() bool
HasDatabases returns a boolean if a field has been set.
func (ListBackupsResponse) MarshalJSON ¶
func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
func (*ListBackupsResponse) SetDatabases ¶
func (o *ListBackupsResponse) SetDatabases(v []BackupListBackupsResponseGrouped)
SetDatabases gets a reference to the given []BackupListBackupsResponseGrouped and assigns it to the Databases field.
func (ListBackupsResponse) ToMap ¶
func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
type ListCollationsResponse ¶
type ListCollationsResponse struct {
Collations []MssqlDatabaseCollation `json:"collations,omitempty"`
}
ListCollationsResponse struct for ListCollationsResponse
func NewListCollationsResponse ¶
func NewListCollationsResponse() *ListCollationsResponse
NewListCollationsResponse instantiates a new ListCollationsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListCollationsResponseWithDefaults ¶
func NewListCollationsResponseWithDefaults() *ListCollationsResponse
NewListCollationsResponseWithDefaults instantiates a new ListCollationsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListCollationsResponse) GetCollations ¶
func (o *ListCollationsResponse) GetCollations() []MssqlDatabaseCollation
GetCollations returns the Collations field value if set, zero value otherwise.
func (*ListCollationsResponse) GetCollationsOk ¶
func (o *ListCollationsResponse) GetCollationsOk() ([]MssqlDatabaseCollation, bool)
GetCollationsOk returns a tuple with the Collations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCollationsResponse) HasCollations ¶
func (o *ListCollationsResponse) HasCollations() bool
HasCollations returns a boolean if a field has been set.
func (ListCollationsResponse) MarshalJSON ¶
func (o ListCollationsResponse) MarshalJSON() ([]byte, error)
func (*ListCollationsResponse) SetCollations ¶
func (o *ListCollationsResponse) SetCollations(v []MssqlDatabaseCollation)
SetCollations gets a reference to the given []MssqlDatabaseCollation and assigns it to the Collations field.
func (ListCollationsResponse) ToMap ¶
func (o ListCollationsResponse) ToMap() (map[string]interface{}, error)
type ListCompatibilityResponse ¶
type ListCompatibilityResponse struct {
Compatibilities []MssqlDatabaseCompatibility `json:"compatibilities,omitempty"`
}
ListCompatibilityResponse struct for ListCompatibilityResponse
func NewListCompatibilityResponse ¶
func NewListCompatibilityResponse() *ListCompatibilityResponse
NewListCompatibilityResponse instantiates a new ListCompatibilityResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListCompatibilityResponseWithDefaults ¶
func NewListCompatibilityResponseWithDefaults() *ListCompatibilityResponse
NewListCompatibilityResponseWithDefaults instantiates a new ListCompatibilityResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListCompatibilityResponse) GetCompatibilities ¶
func (o *ListCompatibilityResponse) GetCompatibilities() []MssqlDatabaseCompatibility
GetCompatibilities returns the Compatibilities field value if set, zero value otherwise.
func (*ListCompatibilityResponse) GetCompatibilitiesOk ¶
func (o *ListCompatibilityResponse) GetCompatibilitiesOk() ([]MssqlDatabaseCompatibility, bool)
GetCompatibilitiesOk returns a tuple with the Compatibilities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCompatibilityResponse) HasCompatibilities ¶
func (o *ListCompatibilityResponse) HasCompatibilities() bool
HasCompatibilities returns a boolean if a field has been set.
func (ListCompatibilityResponse) MarshalJSON ¶
func (o ListCompatibilityResponse) MarshalJSON() ([]byte, error)
func (*ListCompatibilityResponse) SetCompatibilities ¶
func (o *ListCompatibilityResponse) SetCompatibilities(v []MssqlDatabaseCompatibility)
SetCompatibilities gets a reference to the given []MssqlDatabaseCompatibility and assigns it to the Compatibilities field.
func (ListCompatibilityResponse) ToMap ¶
func (o ListCompatibilityResponse) ToMap() (map[string]interface{}, error)
type ListDatabasesResponse ¶
type ListDatabasesResponse struct {
Databases []Database `json:"databases,omitempty"`
}
ListDatabasesResponse struct for ListDatabasesResponse
func NewListDatabasesResponse ¶
func NewListDatabasesResponse() *ListDatabasesResponse
NewListDatabasesResponse instantiates a new ListDatabasesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDatabasesResponseWithDefaults ¶
func NewListDatabasesResponseWithDefaults() *ListDatabasesResponse
NewListDatabasesResponseWithDefaults instantiates a new ListDatabasesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDatabasesResponse) GetDatabases ¶
func (o *ListDatabasesResponse) GetDatabases() []Database
GetDatabases returns the Databases field value if set, zero value otherwise.
func (*ListDatabasesResponse) GetDatabasesOk ¶
func (o *ListDatabasesResponse) GetDatabasesOk() ([]Database, bool)
GetDatabasesOk returns a tuple with the Databases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListDatabasesResponse) HasDatabases ¶
func (o *ListDatabasesResponse) HasDatabases() bool
HasDatabases returns a boolean if a field has been set.
func (ListDatabasesResponse) MarshalJSON ¶
func (o ListDatabasesResponse) MarshalJSON() ([]byte, error)
func (*ListDatabasesResponse) SetDatabases ¶
func (o *ListDatabasesResponse) SetDatabases(v []Database)
SetDatabases gets a reference to the given []Database and assigns it to the Databases field.
func (ListDatabasesResponse) ToMap ¶
func (o ListDatabasesResponse) ToMap() (map[string]interface{}, error)
type ListFlavorsResponse ¶
type ListFlavorsResponse struct {
Flavors []InstanceFlavorEntry `json:"flavors,omitempty"`
}
ListFlavorsResponse struct for ListFlavorsResponse
func NewListFlavorsResponse ¶
func NewListFlavorsResponse() *ListFlavorsResponse
NewListFlavorsResponse instantiates a new ListFlavorsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListFlavorsResponseWithDefaults ¶
func NewListFlavorsResponseWithDefaults() *ListFlavorsResponse
NewListFlavorsResponseWithDefaults instantiates a new ListFlavorsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListFlavorsResponse) GetFlavors ¶
func (o *ListFlavorsResponse) GetFlavors() []InstanceFlavorEntry
GetFlavors returns the Flavors field value if set, zero value otherwise.
func (*ListFlavorsResponse) GetFlavorsOk ¶
func (o *ListFlavorsResponse) GetFlavorsOk() ([]InstanceFlavorEntry, bool)
GetFlavorsOk returns a tuple with the Flavors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFlavorsResponse) HasFlavors ¶
func (o *ListFlavorsResponse) HasFlavors() bool
HasFlavors returns a boolean if a field has been set.
func (ListFlavorsResponse) MarshalJSON ¶
func (o ListFlavorsResponse) MarshalJSON() ([]byte, error)
func (*ListFlavorsResponse) SetFlavors ¶
func (o *ListFlavorsResponse) SetFlavors(v []InstanceFlavorEntry)
SetFlavors gets a reference to the given []InstanceFlavorEntry and assigns it to the Flavors field.
func (ListFlavorsResponse) ToMap ¶
func (o ListFlavorsResponse) ToMap() (map[string]interface{}, error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Count *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 {
RunningRestores []RestoreRunningRestore `json:"runningRestores,omitempty"`
}
ListRestoreJobsResponse struct for ListRestoreJobsResponse
func NewListRestoreJobsResponse ¶
func NewListRestoreJobsResponse() *ListRestoreJobsResponse
NewListRestoreJobsResponse instantiates a new ListRestoreJobsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListRestoreJobsResponseWithDefaults ¶
func NewListRestoreJobsResponseWithDefaults() *ListRestoreJobsResponse
NewListRestoreJobsResponseWithDefaults instantiates a new ListRestoreJobsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListRestoreJobsResponse) GetRunningRestores ¶
func (o *ListRestoreJobsResponse) GetRunningRestores() []RestoreRunningRestore
GetRunningRestores returns the RunningRestores field value if set, zero value otherwise.
func (*ListRestoreJobsResponse) GetRunningRestoresOk ¶
func (o *ListRestoreJobsResponse) GetRunningRestoresOk() ([]RestoreRunningRestore, bool)
GetRunningRestoresOk returns a tuple with the RunningRestores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRestoreJobsResponse) HasRunningRestores ¶
func (o *ListRestoreJobsResponse) HasRunningRestores() bool
HasRunningRestores returns a boolean if a field has been set.
func (ListRestoreJobsResponse) MarshalJSON ¶
func (o ListRestoreJobsResponse) MarshalJSON() ([]byte, error)
func (*ListRestoreJobsResponse) SetRunningRestores ¶
func (o *ListRestoreJobsResponse) SetRunningRestores(v []RestoreRunningRestore)
SetRunningRestores gets a reference to the given []RestoreRunningRestore and assigns it to the RunningRestores field.
func (ListRestoreJobsResponse) ToMap ¶
func (o ListRestoreJobsResponse) ToMap() (map[string]interface{}, error)
type ListRolesResponse ¶
type ListRolesResponse struct {
Roles []string `json:"roles,omitempty"`
}
ListRolesResponse struct for ListRolesResponse
func NewListRolesResponse ¶
func NewListRolesResponse() *ListRolesResponse
NewListRolesResponse instantiates a new ListRolesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListRolesResponseWithDefaults ¶
func NewListRolesResponseWithDefaults() *ListRolesResponse
NewListRolesResponseWithDefaults instantiates a new ListRolesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListRolesResponse) GetRoles ¶
func (o *ListRolesResponse) GetRoles() []string
GetRoles returns the Roles field value if set, zero value otherwise.
func (*ListRolesResponse) GetRolesOk ¶
func (o *ListRolesResponse) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRolesResponse) HasRoles ¶
func (o *ListRolesResponse) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (ListRolesResponse) MarshalJSON ¶
func (o ListRolesResponse) MarshalJSON() ([]byte, error)
func (*ListRolesResponse) SetRoles ¶
func (o *ListRolesResponse) SetRoles(v []string)
SetRoles gets a reference to the given []string and assigns it to the Roles field.
func (ListRolesResponse) ToMap ¶
func (o ListRolesResponse) ToMap() (map[string]interface{}, error)
type ListStoragesResponse ¶
type ListStoragesResponse struct {
StorageClasses []string `json:"storageClasses,omitempty"`
StorageRange *StorageRange `json:"storageRange,omitempty"`
}
ListStoragesResponse struct for ListStoragesResponse
func NewListStoragesResponse ¶
func NewListStoragesResponse() *ListStoragesResponse
NewListStoragesResponse instantiates a new ListStoragesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListStoragesResponseWithDefaults ¶
func NewListStoragesResponseWithDefaults() *ListStoragesResponse
NewListStoragesResponseWithDefaults instantiates a new ListStoragesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListStoragesResponse) GetStorageClasses ¶
func (o *ListStoragesResponse) GetStorageClasses() []string
GetStorageClasses returns the StorageClasses field value if set, zero value otherwise.
func (*ListStoragesResponse) GetStorageClassesOk ¶
func (o *ListStoragesResponse) GetStorageClassesOk() ([]string, bool)
GetStorageClassesOk returns a tuple with the StorageClasses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListStoragesResponse) GetStorageRange ¶
func (o *ListStoragesResponse) GetStorageRange() StorageRange
GetStorageRange returns the StorageRange field value if set, zero value otherwise.
func (*ListStoragesResponse) GetStorageRangeOk ¶
func (o *ListStoragesResponse) GetStorageRangeOk() (*StorageRange, bool)
GetStorageRangeOk returns a tuple with the StorageRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListStoragesResponse) HasStorageClasses ¶
func (o *ListStoragesResponse) HasStorageClasses() bool
HasStorageClasses returns a boolean if a field has been set.
func (*ListStoragesResponse) HasStorageRange ¶
func (o *ListStoragesResponse) HasStorageRange() bool
HasStorageRange returns a boolean if a field has been set.
func (ListStoragesResponse) MarshalJSON ¶
func (o ListStoragesResponse) MarshalJSON() ([]byte, error)
func (*ListStoragesResponse) SetStorageClasses ¶
func (o *ListStoragesResponse) SetStorageClasses(v []string)
SetStorageClasses gets a reference to the given []string and assigns it to the StorageClasses field.
func (*ListStoragesResponse) SetStorageRange ¶
func (o *ListStoragesResponse) SetStorageRange(v StorageRange)
SetStorageRange gets a reference to the given StorageRange and assigns it to the StorageRange field.
func (ListStoragesResponse) ToMap ¶
func (o ListStoragesResponse) ToMap() (map[string]interface{}, error)
type ListUsersResponse ¶
type ListUsersResponse struct {
Count *int32 `json:"count,omitempty"`
Items []InstanceListUser `json:"items,omitempty"`
}
ListUsersResponse struct for ListUsersResponse
func NewListUsersResponse ¶
func NewListUsersResponse() *ListUsersResponse
NewListUsersResponse instantiates a new ListUsersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUsersResponseWithDefaults ¶
func NewListUsersResponseWithDefaults() *ListUsersResponse
NewListUsersResponseWithDefaults instantiates a new ListUsersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListUsersResponse) GetCount ¶
func (o *ListUsersResponse) GetCount() 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() []InstanceListUser
GetItems returns the Items field value if set, zero value otherwise.
func (*ListUsersResponse) GetItemsOk ¶
func (o *ListUsersResponse) GetItemsOk() ([]InstanceListUser, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListUsersResponse) HasCount ¶
func (o *ListUsersResponse) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListUsersResponse) HasItems ¶
func (o *ListUsersResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ListUsersResponse) MarshalJSON ¶
func (o ListUsersResponse) MarshalJSON() ([]byte, error)
func (*ListUsersResponse) SetCount ¶
func (o *ListUsersResponse) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*ListUsersResponse) SetItems ¶
func (o *ListUsersResponse) SetItems(v []InstanceListUser)
SetItems gets a reference to the given []InstanceListUser and assigns it to the Items field.
func (ListUsersResponse) ToMap ¶
func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
type ListVersionsResponse ¶
type ListVersionsResponse struct {
Versions []string `json:"versions,omitempty"`
}
ListVersionsResponse struct for ListVersionsResponse
func NewListVersionsResponse ¶
func NewListVersionsResponse() *ListVersionsResponse
NewListVersionsResponse instantiates a new ListVersionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListVersionsResponseWithDefaults ¶
func NewListVersionsResponseWithDefaults() *ListVersionsResponse
NewListVersionsResponseWithDefaults instantiates a new ListVersionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListVersionsResponse) GetVersions ¶
func (o *ListVersionsResponse) GetVersions() []string
GetVersions returns the Versions field value if set, zero value otherwise.
func (*ListVersionsResponse) GetVersionsOk ¶
func (o *ListVersionsResponse) GetVersionsOk() ([]string, bool)
GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListVersionsResponse) HasVersions ¶
func (o *ListVersionsResponse) HasVersions() bool
HasVersions returns a boolean if a field has been set.
func (ListVersionsResponse) MarshalJSON ¶
func (o ListVersionsResponse) MarshalJSON() ([]byte, error)
func (*ListVersionsResponse) SetVersions ¶
func (o *ListVersionsResponse) SetVersions(v []string)
SetVersions gets a reference to the given []string and assigns it to the Versions field.
func (ListVersionsResponse) ToMap ¶
func (o ListVersionsResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type MssqlDatabaseCollation ¶
type MssqlDatabaseCollation struct {
CollationName *string `json:"collation_name,omitempty"`
Description *string `json:"description,omitempty"`
}
MssqlDatabaseCollation struct for MssqlDatabaseCollation
func NewMssqlDatabaseCollation ¶
func NewMssqlDatabaseCollation() *MssqlDatabaseCollation
NewMssqlDatabaseCollation instantiates a new MssqlDatabaseCollation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMssqlDatabaseCollationWithDefaults ¶
func NewMssqlDatabaseCollationWithDefaults() *MssqlDatabaseCollation
NewMssqlDatabaseCollationWithDefaults instantiates a new MssqlDatabaseCollation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MssqlDatabaseCollation) GetCollationName ¶
func (o *MssqlDatabaseCollation) GetCollationName() string
GetCollationName returns the CollationName field value if set, zero value otherwise.
func (*MssqlDatabaseCollation) GetCollationNameOk ¶
func (o *MssqlDatabaseCollation) GetCollationNameOk() (*string, bool)
GetCollationNameOk returns a tuple with the CollationName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MssqlDatabaseCollation) GetDescription ¶
func (o *MssqlDatabaseCollation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MssqlDatabaseCollation) GetDescriptionOk ¶
func (o *MssqlDatabaseCollation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MssqlDatabaseCollation) HasCollationName ¶
func (o *MssqlDatabaseCollation) HasCollationName() bool
HasCollationName returns a boolean if a field has been set.
func (*MssqlDatabaseCollation) HasDescription ¶
func (o *MssqlDatabaseCollation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (MssqlDatabaseCollation) MarshalJSON ¶
func (o MssqlDatabaseCollation) MarshalJSON() ([]byte, error)
func (*MssqlDatabaseCollation) SetCollationName ¶
func (o *MssqlDatabaseCollation) SetCollationName(v string)
SetCollationName gets a reference to the given string and assigns it to the CollationName field.
func (*MssqlDatabaseCollation) SetDescription ¶
func (o *MssqlDatabaseCollation) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (MssqlDatabaseCollation) ToMap ¶
func (o MssqlDatabaseCollation) ToMap() (map[string]interface{}, error)
type MssqlDatabaseCompatibility ¶
type MssqlDatabaseCompatibility struct {
CompatibilityLevel *int32 `json:"compatibility_level,omitempty"`
Description *string `json:"description,omitempty"`
}
MssqlDatabaseCompatibility struct for MssqlDatabaseCompatibility
func NewMssqlDatabaseCompatibility ¶
func NewMssqlDatabaseCompatibility() *MssqlDatabaseCompatibility
NewMssqlDatabaseCompatibility instantiates a new MssqlDatabaseCompatibility object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMssqlDatabaseCompatibilityWithDefaults ¶
func NewMssqlDatabaseCompatibilityWithDefaults() *MssqlDatabaseCompatibility
NewMssqlDatabaseCompatibilityWithDefaults instantiates a new MssqlDatabaseCompatibility object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MssqlDatabaseCompatibility) GetCompatibilityLevel ¶
func (o *MssqlDatabaseCompatibility) GetCompatibilityLevel() int32
GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.
func (*MssqlDatabaseCompatibility) GetCompatibilityLevelOk ¶
func (o *MssqlDatabaseCompatibility) GetCompatibilityLevelOk() (*int32, bool)
GetCompatibilityLevelOk returns a tuple with the CompatibilityLevel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MssqlDatabaseCompatibility) GetDescription ¶
func (o *MssqlDatabaseCompatibility) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MssqlDatabaseCompatibility) GetDescriptionOk ¶
func (o *MssqlDatabaseCompatibility) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MssqlDatabaseCompatibility) HasCompatibilityLevel ¶
func (o *MssqlDatabaseCompatibility) HasCompatibilityLevel() bool
HasCompatibilityLevel returns a boolean if a field has been set.
func (*MssqlDatabaseCompatibility) HasDescription ¶
func (o *MssqlDatabaseCompatibility) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (MssqlDatabaseCompatibility) MarshalJSON ¶
func (o MssqlDatabaseCompatibility) MarshalJSON() ([]byte, error)
func (*MssqlDatabaseCompatibility) SetCompatibilityLevel ¶
func (o *MssqlDatabaseCompatibility) SetCompatibilityLevel(v int32)
SetCompatibilityLevel gets a reference to the given int32 and assigns it to the CompatibilityLevel field.
func (*MssqlDatabaseCompatibility) SetDescription ¶
func (o *MssqlDatabaseCompatibility) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (MssqlDatabaseCompatibility) ToMap ¶
func (o MssqlDatabaseCompatibility) ToMap() (map[string]interface{}, error)
type NullableACL ¶
type NullableACL struct {
// contains filtered or unexported fields
}
func NewNullableACL ¶
func NewNullableACL(val *ACL) *NullableACL
func (NullableACL) Get ¶
func (v NullableACL) Get() *ACL
func (NullableACL) IsSet ¶
func (v NullableACL) IsSet() bool
func (NullableACL) MarshalJSON ¶
func (v NullableACL) MarshalJSON() ([]byte, error)
func (*NullableACL) Set ¶
func (v *NullableACL) Set(val *ACL)
func (*NullableACL) UnmarshalJSON ¶
func (v *NullableACL) UnmarshalJSON(src []byte) error
func (*NullableACL) Unset ¶
func (v *NullableACL) Unset()
type NullableBackup ¶
type NullableBackup struct {
// contains filtered or unexported fields
}
func NewNullableBackup ¶
func NewNullableBackup(val *Backup) *NullableBackup
func (NullableBackup) Get ¶
func (v NullableBackup) Get() *Backup
func (NullableBackup) IsSet ¶
func (v NullableBackup) IsSet() bool
func (NullableBackup) MarshalJSON ¶
func (v NullableBackup) MarshalJSON() ([]byte, error)
func (*NullableBackup) Set ¶
func (v *NullableBackup) Set(val *Backup)
func (*NullableBackup) UnmarshalJSON ¶
func (v *NullableBackup) UnmarshalJSON(src []byte) error
func (*NullableBackup) Unset ¶
func (v *NullableBackup) Unset()
type NullableBackupListBackupsResponseGrouped ¶
type NullableBackupListBackupsResponseGrouped struct {
// contains filtered or unexported fields
}
func NewNullableBackupListBackupsResponseGrouped ¶
func NewNullableBackupListBackupsResponseGrouped(val *BackupListBackupsResponseGrouped) *NullableBackupListBackupsResponseGrouped
func (NullableBackupListBackupsResponseGrouped) IsSet ¶
func (v NullableBackupListBackupsResponseGrouped) IsSet() bool
func (NullableBackupListBackupsResponseGrouped) MarshalJSON ¶
func (v NullableBackupListBackupsResponseGrouped) MarshalJSON() ([]byte, error)
func (*NullableBackupListBackupsResponseGrouped) Set ¶
func (v *NullableBackupListBackupsResponseGrouped) Set(val *BackupListBackupsResponseGrouped)
func (*NullableBackupListBackupsResponseGrouped) UnmarshalJSON ¶
func (v *NullableBackupListBackupsResponseGrouped) UnmarshalJSON(src []byte) error
func (*NullableBackupListBackupsResponseGrouped) Unset ¶
func (v *NullableBackupListBackupsResponseGrouped) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateDatabasePayload ¶
type NullableCreateDatabasePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabasePayload ¶
func NewNullableCreateDatabasePayload(val *CreateDatabasePayload) *NullableCreateDatabasePayload
func (NullableCreateDatabasePayload) Get ¶
func (v NullableCreateDatabasePayload) Get() *CreateDatabasePayload
func (NullableCreateDatabasePayload) IsSet ¶
func (v NullableCreateDatabasePayload) IsSet() bool
func (NullableCreateDatabasePayload) MarshalJSON ¶
func (v NullableCreateDatabasePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabasePayload) Set ¶
func (v *NullableCreateDatabasePayload) Set(val *CreateDatabasePayload)
func (*NullableCreateDatabasePayload) UnmarshalJSON ¶
func (v *NullableCreateDatabasePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabasePayload) Unset ¶
func (v *NullableCreateDatabasePayload) Unset()
type NullableCreateDatabaseResponse ¶
type NullableCreateDatabaseResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabaseResponse ¶
func NewNullableCreateDatabaseResponse(val *CreateDatabaseResponse) *NullableCreateDatabaseResponse
func (NullableCreateDatabaseResponse) Get ¶
func (v NullableCreateDatabaseResponse) Get() *CreateDatabaseResponse
func (NullableCreateDatabaseResponse) IsSet ¶
func (v NullableCreateDatabaseResponse) IsSet() bool
func (NullableCreateDatabaseResponse) MarshalJSON ¶
func (v NullableCreateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabaseResponse) Set ¶
func (v *NullableCreateDatabaseResponse) Set(val *CreateDatabaseResponse)
func (*NullableCreateDatabaseResponse) UnmarshalJSON ¶
func (v *NullableCreateDatabaseResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabaseResponse) Unset ¶
func (v *NullableCreateDatabaseResponse) Unset()
type NullableCreateInstancePayload ¶
type NullableCreateInstancePayload struct {
// contains filtered or unexported fields
}
func 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 NullableDatabase ¶
type NullableDatabase struct {
// contains filtered or unexported fields
}
func NewNullableDatabase ¶
func NewNullableDatabase(val *Database) *NullableDatabase
func (NullableDatabase) Get ¶
func (v NullableDatabase) Get() *Database
func (NullableDatabase) IsSet ¶
func (v NullableDatabase) IsSet() bool
func (NullableDatabase) MarshalJSON ¶
func (v NullableDatabase) MarshalJSON() ([]byte, error)
func (*NullableDatabase) Set ¶
func (v *NullableDatabase) Set(val *Database)
func (*NullableDatabase) UnmarshalJSON ¶
func (v *NullableDatabase) UnmarshalJSON(src []byte) error
func (*NullableDatabase) Unset ¶
func (v *NullableDatabase) Unset()
type NullableDatabaseDocumentationCreateDatabaseRequestOptions ¶
type NullableDatabaseDocumentationCreateDatabaseRequestOptions struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseDocumentationCreateDatabaseRequestOptions ¶
func NewNullableDatabaseDocumentationCreateDatabaseRequestOptions(val *DatabaseDocumentationCreateDatabaseRequestOptions) *NullableDatabaseDocumentationCreateDatabaseRequestOptions
func (NullableDatabaseDocumentationCreateDatabaseRequestOptions) IsSet ¶
func (v NullableDatabaseDocumentationCreateDatabaseRequestOptions) IsSet() bool
func (NullableDatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON ¶
func (v NullableDatabaseDocumentationCreateDatabaseRequestOptions) MarshalJSON() ([]byte, error)
func (*NullableDatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON ¶
func (v *NullableDatabaseDocumentationCreateDatabaseRequestOptions) UnmarshalJSON(src []byte) error
func (*NullableDatabaseDocumentationCreateDatabaseRequestOptions) Unset ¶
func (v *NullableDatabaseDocumentationCreateDatabaseRequestOptions) Unset()
type NullableDatabaseOptions ¶
type NullableDatabaseOptions struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseOptions ¶
func NewNullableDatabaseOptions(val *DatabaseOptions) *NullableDatabaseOptions
func (NullableDatabaseOptions) Get ¶
func (v NullableDatabaseOptions) Get() *DatabaseOptions
func (NullableDatabaseOptions) IsSet ¶
func (v NullableDatabaseOptions) IsSet() bool
func (NullableDatabaseOptions) MarshalJSON ¶
func (v NullableDatabaseOptions) MarshalJSON() ([]byte, error)
func (*NullableDatabaseOptions) Set ¶
func (v *NullableDatabaseOptions) Set(val *DatabaseOptions)
func (*NullableDatabaseOptions) UnmarshalJSON ¶
func (v *NullableDatabaseOptions) UnmarshalJSON(src []byte) error
func (*NullableDatabaseOptions) Unset ¶
func (v *NullableDatabaseOptions) Unset()
type NullableFlavor ¶
type NullableFlavor struct {
// contains filtered or unexported fields
}
func NewNullableFlavor ¶
func NewNullableFlavor(val *Flavor) *NullableFlavor
func (NullableFlavor) Get ¶
func (v NullableFlavor) Get() *Flavor
func (NullableFlavor) IsSet ¶
func (v NullableFlavor) IsSet() bool
func (NullableFlavor) MarshalJSON ¶
func (v NullableFlavor) MarshalJSON() ([]byte, error)
func (*NullableFlavor) Set ¶
func (v *NullableFlavor) Set(val *Flavor)
func (*NullableFlavor) UnmarshalJSON ¶
func (v *NullableFlavor) UnmarshalJSON(src []byte) error
func (*NullableFlavor) Unset ¶
func (v *NullableFlavor) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetBackupResponse ¶
type NullableGetBackupResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetBackupResponse ¶
func NewNullableGetBackupResponse(val *GetBackupResponse) *NullableGetBackupResponse
func (NullableGetBackupResponse) Get ¶
func (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 NullableGetDatabaseResponse ¶
type NullableGetDatabaseResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetDatabaseResponse ¶
func NewNullableGetDatabaseResponse(val *GetDatabaseResponse) *NullableGetDatabaseResponse
func (NullableGetDatabaseResponse) Get ¶
func (v NullableGetDatabaseResponse) Get() *GetDatabaseResponse
func (NullableGetDatabaseResponse) IsSet ¶
func (v NullableGetDatabaseResponse) IsSet() bool
func (NullableGetDatabaseResponse) MarshalJSON ¶
func (v NullableGetDatabaseResponse) MarshalJSON() ([]byte, error)
func (*NullableGetDatabaseResponse) Set ¶
func (v *NullableGetDatabaseResponse) Set(val *GetDatabaseResponse)
func (*NullableGetDatabaseResponse) UnmarshalJSON ¶
func (v *NullableGetDatabaseResponse) UnmarshalJSON(src []byte) error
func (*NullableGetDatabaseResponse) Unset ¶
func (v *NullableGetDatabaseResponse) Unset()
type NullableGetInstanceResponse ¶
type NullableGetInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetInstanceResponse ¶
func NewNullableGetInstanceResponse(val *GetInstanceResponse) *NullableGetInstanceResponse
func (NullableGetInstanceResponse) Get ¶
func (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 NullableHost ¶
type NullableHost struct {
// contains filtered or unexported fields
}
func NewNullableHost ¶
func NewNullableHost(val *Host) *NullableHost
func (NullableHost) Get ¶
func (v NullableHost) Get() *Host
func (NullableHost) IsSet ¶
func (v NullableHost) IsSet() bool
func (NullableHost) MarshalJSON ¶
func (v NullableHost) MarshalJSON() ([]byte, error)
func (*NullableHost) Set ¶
func (v *NullableHost) Set(val *Host)
func (*NullableHost) UnmarshalJSON ¶
func (v *NullableHost) UnmarshalJSON(src []byte) error
func (*NullableHost) Unset ¶
func (v *NullableHost) Unset()
type NullableHostMetric ¶
type NullableHostMetric struct {
// contains filtered or unexported fields
}
func NewNullableHostMetric ¶
func NewNullableHostMetric(val *HostMetric) *NullableHostMetric
func (NullableHostMetric) Get ¶
func (v NullableHostMetric) Get() *HostMetric
func (NullableHostMetric) IsSet ¶
func (v NullableHostMetric) IsSet() bool
func (NullableHostMetric) MarshalJSON ¶
func (v NullableHostMetric) MarshalJSON() ([]byte, error)
func (*NullableHostMetric) Set ¶
func (v *NullableHostMetric) Set(val *HostMetric)
func (*NullableHostMetric) UnmarshalJSON ¶
func (v *NullableHostMetric) UnmarshalJSON(src []byte) error
func (*NullableHostMetric) Unset ¶
func (v *NullableHostMetric) Unset()
type NullableInstance ¶
type NullableInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstance ¶
func NewNullableInstance(val *Instance) *NullableInstance
func (NullableInstance) Get ¶
func (v NullableInstance) Get() *Instance
func (NullableInstance) IsSet ¶
func (v NullableInstance) IsSet() bool
func (NullableInstance) MarshalJSON ¶
func (v NullableInstance) MarshalJSON() ([]byte, error)
func (*NullableInstance) Set ¶
func (v *NullableInstance) Set(val *Instance)
func (*NullableInstance) UnmarshalJSON ¶
func (v *NullableInstance) UnmarshalJSON(src []byte) error
func (*NullableInstance) Unset ¶
func (v *NullableInstance) Unset()
type NullableInstanceDocumentationACL ¶
type NullableInstanceDocumentationACL struct {
// contains filtered or unexported fields
}
func NewNullableInstanceDocumentationACL ¶
func NewNullableInstanceDocumentationACL(val *InstanceDocumentationACL) *NullableInstanceDocumentationACL
func (NullableInstanceDocumentationACL) Get ¶
func (v NullableInstanceDocumentationACL) Get() *InstanceDocumentationACL
func (NullableInstanceDocumentationACL) IsSet ¶
func (v NullableInstanceDocumentationACL) IsSet() bool
func (NullableInstanceDocumentationACL) MarshalJSON ¶
func (v NullableInstanceDocumentationACL) MarshalJSON() ([]byte, error)
func (*NullableInstanceDocumentationACL) Set ¶
func (v *NullableInstanceDocumentationACL) Set(val *InstanceDocumentationACL)
func (*NullableInstanceDocumentationACL) UnmarshalJSON ¶
func (v *NullableInstanceDocumentationACL) UnmarshalJSON(src []byte) error
func (*NullableInstanceDocumentationACL) Unset ¶
func (v *NullableInstanceDocumentationACL) Unset()
type NullableInstanceDocumentationOptions ¶
type NullableInstanceDocumentationOptions struct {
// contains filtered or unexported fields
}
func NewNullableInstanceDocumentationOptions ¶
func NewNullableInstanceDocumentationOptions(val *InstanceDocumentationOptions) *NullableInstanceDocumentationOptions
func (NullableInstanceDocumentationOptions) Get ¶
func (v NullableInstanceDocumentationOptions) Get() *InstanceDocumentationOptions
func (NullableInstanceDocumentationOptions) IsSet ¶
func (v NullableInstanceDocumentationOptions) IsSet() bool
func (NullableInstanceDocumentationOptions) MarshalJSON ¶
func (v NullableInstanceDocumentationOptions) MarshalJSON() ([]byte, error)
func (*NullableInstanceDocumentationOptions) Set ¶
func (v *NullableInstanceDocumentationOptions) Set(val *InstanceDocumentationOptions)
func (*NullableInstanceDocumentationOptions) UnmarshalJSON ¶
func (v *NullableInstanceDocumentationOptions) UnmarshalJSON(src []byte) error
func (*NullableInstanceDocumentationOptions) Unset ¶
func (v *NullableInstanceDocumentationOptions) Unset()
type NullableInstanceDocumentationStorage ¶
type NullableInstanceDocumentationStorage struct {
// contains filtered or unexported fields
}
func NewNullableInstanceDocumentationStorage ¶
func NewNullableInstanceDocumentationStorage(val *InstanceDocumentationStorage) *NullableInstanceDocumentationStorage
func (NullableInstanceDocumentationStorage) Get ¶
func (v NullableInstanceDocumentationStorage) Get() *InstanceDocumentationStorage
func (NullableInstanceDocumentationStorage) IsSet ¶
func (v NullableInstanceDocumentationStorage) IsSet() bool
func (NullableInstanceDocumentationStorage) MarshalJSON ¶
func (v NullableInstanceDocumentationStorage) MarshalJSON() ([]byte, error)
func (*NullableInstanceDocumentationStorage) Set ¶
func (v *NullableInstanceDocumentationStorage) Set(val *InstanceDocumentationStorage)
func (*NullableInstanceDocumentationStorage) UnmarshalJSON ¶
func (v *NullableInstanceDocumentationStorage) UnmarshalJSON(src []byte) error
func (*NullableInstanceDocumentationStorage) Unset ¶
func (v *NullableInstanceDocumentationStorage) Unset()
type NullableInstanceError ¶
type NullableInstanceError struct {
// contains filtered or unexported fields
}
func NewNullableInstanceError ¶
func NewNullableInstanceError(val *InstanceError) *NullableInstanceError
func (NullableInstanceError) Get ¶
func (v NullableInstanceError) Get() *InstanceError
func (NullableInstanceError) IsSet ¶
func (v NullableInstanceError) IsSet() bool
func (NullableInstanceError) MarshalJSON ¶
func (v NullableInstanceError) MarshalJSON() ([]byte, error)
func (*NullableInstanceError) Set ¶
func (v *NullableInstanceError) Set(val *InstanceError)
func (*NullableInstanceError) UnmarshalJSON ¶
func (v *NullableInstanceError) UnmarshalJSON(src []byte) error
func (*NullableInstanceError) Unset ¶
func (v *NullableInstanceError) Unset()
type NullableInstanceFlavorEntry ¶
type NullableInstanceFlavorEntry struct {
// contains filtered or unexported fields
}
func NewNullableInstanceFlavorEntry ¶
func NewNullableInstanceFlavorEntry(val *InstanceFlavorEntry) *NullableInstanceFlavorEntry
func (NullableInstanceFlavorEntry) Get ¶
func (v NullableInstanceFlavorEntry) Get() *InstanceFlavorEntry
func (NullableInstanceFlavorEntry) IsSet ¶
func (v NullableInstanceFlavorEntry) IsSet() bool
func (NullableInstanceFlavorEntry) MarshalJSON ¶
func (v NullableInstanceFlavorEntry) MarshalJSON() ([]byte, error)
func (*NullableInstanceFlavorEntry) Set ¶
func (v *NullableInstanceFlavorEntry) Set(val *InstanceFlavorEntry)
func (*NullableInstanceFlavorEntry) UnmarshalJSON ¶
func (v *NullableInstanceFlavorEntry) UnmarshalJSON(src []byte) error
func (*NullableInstanceFlavorEntry) Unset ¶
func (v *NullableInstanceFlavorEntry) Unset()
type NullableInstanceListInstance ¶
type NullableInstanceListInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstanceListInstance ¶
func NewNullableInstanceListInstance(val *InstanceListInstance) *NullableInstanceListInstance
func (NullableInstanceListInstance) Get ¶
func (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 NullableInstanceListUser ¶
type NullableInstanceListUser struct {
// contains filtered or unexported fields
}
func NewNullableInstanceListUser ¶
func NewNullableInstanceListUser(val *InstanceListUser) *NullableInstanceListUser
func (NullableInstanceListUser) Get ¶
func (v NullableInstanceListUser) Get() *InstanceListUser
func (NullableInstanceListUser) IsSet ¶
func (v NullableInstanceListUser) IsSet() bool
func (NullableInstanceListUser) MarshalJSON ¶
func (v NullableInstanceListUser) MarshalJSON() ([]byte, error)
func (*NullableInstanceListUser) Set ¶
func (v *NullableInstanceListUser) Set(val *InstanceListUser)
func (*NullableInstanceListUser) UnmarshalJSON ¶
func (v *NullableInstanceListUser) UnmarshalJSON(src []byte) error
func (*NullableInstanceListUser) Unset ¶
func (v *NullableInstanceListUser) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListBackupsResponse ¶
type NullableListBackupsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListBackupsResponse ¶
func NewNullableListBackupsResponse(val *ListBackupsResponse) *NullableListBackupsResponse
func (NullableListBackupsResponse) Get ¶
func (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 NullableListCollationsResponse ¶
type NullableListCollationsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCollationsResponse ¶
func NewNullableListCollationsResponse(val *ListCollationsResponse) *NullableListCollationsResponse
func (NullableListCollationsResponse) Get ¶
func (v NullableListCollationsResponse) Get() *ListCollationsResponse
func (NullableListCollationsResponse) IsSet ¶
func (v NullableListCollationsResponse) IsSet() bool
func (NullableListCollationsResponse) MarshalJSON ¶
func (v NullableListCollationsResponse) MarshalJSON() ([]byte, error)
func (*NullableListCollationsResponse) Set ¶
func (v *NullableListCollationsResponse) Set(val *ListCollationsResponse)
func (*NullableListCollationsResponse) UnmarshalJSON ¶
func (v *NullableListCollationsResponse) UnmarshalJSON(src []byte) error
func (*NullableListCollationsResponse) Unset ¶
func (v *NullableListCollationsResponse) Unset()
type NullableListCompatibilityResponse ¶
type NullableListCompatibilityResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCompatibilityResponse ¶
func NewNullableListCompatibilityResponse(val *ListCompatibilityResponse) *NullableListCompatibilityResponse
func (NullableListCompatibilityResponse) Get ¶
func (v NullableListCompatibilityResponse) Get() *ListCompatibilityResponse
func (NullableListCompatibilityResponse) IsSet ¶
func (v NullableListCompatibilityResponse) IsSet() bool
func (NullableListCompatibilityResponse) MarshalJSON ¶
func (v NullableListCompatibilityResponse) MarshalJSON() ([]byte, error)
func (*NullableListCompatibilityResponse) Set ¶
func (v *NullableListCompatibilityResponse) Set(val *ListCompatibilityResponse)
func (*NullableListCompatibilityResponse) UnmarshalJSON ¶
func (v *NullableListCompatibilityResponse) UnmarshalJSON(src []byte) error
func (*NullableListCompatibilityResponse) Unset ¶
func (v *NullableListCompatibilityResponse) Unset()
type NullableListDatabasesResponse ¶
type NullableListDatabasesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListDatabasesResponse ¶
func NewNullableListDatabasesResponse(val *ListDatabasesResponse) *NullableListDatabasesResponse
func (NullableListDatabasesResponse) Get ¶
func (v NullableListDatabasesResponse) Get() *ListDatabasesResponse
func (NullableListDatabasesResponse) IsSet ¶
func (v NullableListDatabasesResponse) IsSet() bool
func (NullableListDatabasesResponse) MarshalJSON ¶
func (v NullableListDatabasesResponse) MarshalJSON() ([]byte, error)
func (*NullableListDatabasesResponse) Set ¶
func (v *NullableListDatabasesResponse) Set(val *ListDatabasesResponse)
func (*NullableListDatabasesResponse) UnmarshalJSON ¶
func (v *NullableListDatabasesResponse) UnmarshalJSON(src []byte) error
func (*NullableListDatabasesResponse) Unset ¶
func (v *NullableListDatabasesResponse) Unset()
type NullableListFlavorsResponse ¶
type NullableListFlavorsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListFlavorsResponse ¶
func NewNullableListFlavorsResponse(val *ListFlavorsResponse) *NullableListFlavorsResponse
func (NullableListFlavorsResponse) Get ¶
func (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 NullableListRolesResponse ¶
type NullableListRolesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListRolesResponse ¶
func NewNullableListRolesResponse(val *ListRolesResponse) *NullableListRolesResponse
func (NullableListRolesResponse) Get ¶
func (v NullableListRolesResponse) Get() *ListRolesResponse
func (NullableListRolesResponse) IsSet ¶
func (v NullableListRolesResponse) IsSet() bool
func (NullableListRolesResponse) MarshalJSON ¶
func (v NullableListRolesResponse) MarshalJSON() ([]byte, error)
func (*NullableListRolesResponse) Set ¶
func (v *NullableListRolesResponse) Set(val *ListRolesResponse)
func (*NullableListRolesResponse) UnmarshalJSON ¶
func (v *NullableListRolesResponse) UnmarshalJSON(src []byte) error
func (*NullableListRolesResponse) Unset ¶
func (v *NullableListRolesResponse) Unset()
type NullableListStoragesResponse ¶
type NullableListStoragesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListStoragesResponse ¶
func NewNullableListStoragesResponse(val *ListStoragesResponse) *NullableListStoragesResponse
func (NullableListStoragesResponse) Get ¶
func (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 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 NullableMssqlDatabaseCollation ¶
type NullableMssqlDatabaseCollation struct {
// contains filtered or unexported fields
}
func NewNullableMssqlDatabaseCollation ¶
func NewNullableMssqlDatabaseCollation(val *MssqlDatabaseCollation) *NullableMssqlDatabaseCollation
func (NullableMssqlDatabaseCollation) Get ¶
func (v NullableMssqlDatabaseCollation) Get() *MssqlDatabaseCollation
func (NullableMssqlDatabaseCollation) IsSet ¶
func (v NullableMssqlDatabaseCollation) IsSet() bool
func (NullableMssqlDatabaseCollation) MarshalJSON ¶
func (v NullableMssqlDatabaseCollation) MarshalJSON() ([]byte, error)
func (*NullableMssqlDatabaseCollation) Set ¶
func (v *NullableMssqlDatabaseCollation) Set(val *MssqlDatabaseCollation)
func (*NullableMssqlDatabaseCollation) UnmarshalJSON ¶
func (v *NullableMssqlDatabaseCollation) UnmarshalJSON(src []byte) error
func (*NullableMssqlDatabaseCollation) Unset ¶
func (v *NullableMssqlDatabaseCollation) Unset()
type NullableMssqlDatabaseCompatibility ¶
type NullableMssqlDatabaseCompatibility struct {
// contains filtered or unexported fields
}
func NewNullableMssqlDatabaseCompatibility ¶
func NewNullableMssqlDatabaseCompatibility(val *MssqlDatabaseCompatibility) *NullableMssqlDatabaseCompatibility
func (NullableMssqlDatabaseCompatibility) Get ¶
func (v NullableMssqlDatabaseCompatibility) Get() *MssqlDatabaseCompatibility
func (NullableMssqlDatabaseCompatibility) IsSet ¶
func (v NullableMssqlDatabaseCompatibility) IsSet() bool
func (NullableMssqlDatabaseCompatibility) MarshalJSON ¶
func (v NullableMssqlDatabaseCompatibility) MarshalJSON() ([]byte, error)
func (*NullableMssqlDatabaseCompatibility) Set ¶
func (v *NullableMssqlDatabaseCompatibility) Set(val *MssqlDatabaseCompatibility)
func (*NullableMssqlDatabaseCompatibility) UnmarshalJSON ¶
func (v *NullableMssqlDatabaseCompatibility) UnmarshalJSON(src []byte) error
func (*NullableMssqlDatabaseCompatibility) Unset ¶
func (v *NullableMssqlDatabaseCompatibility) 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 NullableResetUserResponse ¶
type NullableResetUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableResetUserResponse ¶
func NewNullableResetUserResponse(val *ResetUserResponse) *NullableResetUserResponse
func (NullableResetUserResponse) Get ¶
func (v NullableResetUserResponse) Get() *ResetUserResponse
func (NullableResetUserResponse) IsSet ¶
func (v NullableResetUserResponse) IsSet() bool
func (NullableResetUserResponse) MarshalJSON ¶
func (v NullableResetUserResponse) MarshalJSON() ([]byte, error)
func (*NullableResetUserResponse) Set ¶
func (v *NullableResetUserResponse) Set(val *ResetUserResponse)
func (*NullableResetUserResponse) UnmarshalJSON ¶
func (v *NullableResetUserResponse) UnmarshalJSON(src []byte) error
func (*NullableResetUserResponse) Unset ¶
func (v *NullableResetUserResponse) Unset()
type NullableRestoreRunningRestore ¶
type NullableRestoreRunningRestore struct {
// contains filtered or unexported fields
}
func NewNullableRestoreRunningRestore ¶
func NewNullableRestoreRunningRestore(val *RestoreRunningRestore) *NullableRestoreRunningRestore
func (NullableRestoreRunningRestore) Get ¶
func (v NullableRestoreRunningRestore) Get() *RestoreRunningRestore
func (NullableRestoreRunningRestore) IsSet ¶
func (v NullableRestoreRunningRestore) IsSet() bool
func (NullableRestoreRunningRestore) MarshalJSON ¶
func (v NullableRestoreRunningRestore) MarshalJSON() ([]byte, error)
func (*NullableRestoreRunningRestore) Set ¶
func (v *NullableRestoreRunningRestore) Set(val *RestoreRunningRestore)
func (*NullableRestoreRunningRestore) UnmarshalJSON ¶
func (v *NullableRestoreRunningRestore) UnmarshalJSON(src []byte) error
func (*NullableRestoreRunningRestore) Unset ¶
func (v *NullableRestoreRunningRestore) Unset()
type NullableSingleDatabase ¶
type NullableSingleDatabase struct {
// contains filtered or unexported fields
}
func NewNullableSingleDatabase ¶
func NewNullableSingleDatabase(val *SingleDatabase) *NullableSingleDatabase
func (NullableSingleDatabase) Get ¶
func (v NullableSingleDatabase) Get() *SingleDatabase
func (NullableSingleDatabase) IsSet ¶
func (v NullableSingleDatabase) IsSet() bool
func (NullableSingleDatabase) MarshalJSON ¶
func (v NullableSingleDatabase) MarshalJSON() ([]byte, error)
func (*NullableSingleDatabase) Set ¶
func (v *NullableSingleDatabase) Set(val *SingleDatabase)
func (*NullableSingleDatabase) UnmarshalJSON ¶
func (v *NullableSingleDatabase) UnmarshalJSON(src []byte) error
func (*NullableSingleDatabase) Unset ¶
func (v *NullableSingleDatabase) Unset()
type NullableSingleUser ¶
type NullableSingleUser struct {
// contains filtered or unexported fields
}
func NewNullableSingleUser ¶
func NewNullableSingleUser(val *SingleUser) *NullableSingleUser
func (NullableSingleUser) Get ¶
func (v NullableSingleUser) Get() *SingleUser
func (NullableSingleUser) IsSet ¶
func (v NullableSingleUser) IsSet() bool
func (NullableSingleUser) MarshalJSON ¶
func (v NullableSingleUser) MarshalJSON() ([]byte, error)
func (*NullableSingleUser) Set ¶
func (v *NullableSingleUser) Set(val *SingleUser)
func (*NullableSingleUser) UnmarshalJSON ¶
func (v *NullableSingleUser) UnmarshalJSON(src []byte) error
func (*NullableSingleUser) Unset ¶
func (v *NullableSingleUser) Unset()
type NullableStorage ¶
type NullableStorage struct {
// contains filtered or unexported fields
}
func NewNullableStorage ¶
func NewNullableStorage(val *Storage) *NullableStorage
func (NullableStorage) Get ¶
func (v NullableStorage) Get() *Storage
func (NullableStorage) IsSet ¶
func (v NullableStorage) IsSet() bool
func (NullableStorage) MarshalJSON ¶
func (v NullableStorage) MarshalJSON() ([]byte, error)
func (*NullableStorage) Set ¶
func (v *NullableStorage) Set(val *Storage)
func (*NullableStorage) UnmarshalJSON ¶
func (v *NullableStorage) UnmarshalJSON(src []byte) error
func (*NullableStorage) Unset ¶
func (v *NullableStorage) Unset()
type NullableStorageRange ¶
type NullableStorageRange struct {
// contains filtered or unexported fields
}
func NewNullableStorageRange ¶
func NewNullableStorageRange(val *StorageRange) *NullableStorageRange
func (NullableStorageRange) Get ¶
func (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 NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTriggerDatabaseRestorePayload ¶
type NullableTriggerDatabaseRestorePayload struct {
// contains filtered or unexported fields
}
func NewNullableTriggerDatabaseRestorePayload ¶
func NewNullableTriggerDatabaseRestorePayload(val *TriggerDatabaseRestorePayload) *NullableTriggerDatabaseRestorePayload
func (NullableTriggerDatabaseRestorePayload) Get ¶
func (v NullableTriggerDatabaseRestorePayload) Get() *TriggerDatabaseRestorePayload
func (NullableTriggerDatabaseRestorePayload) IsSet ¶
func (v NullableTriggerDatabaseRestorePayload) IsSet() bool
func (NullableTriggerDatabaseRestorePayload) MarshalJSON ¶
func (v NullableTriggerDatabaseRestorePayload) MarshalJSON() ([]byte, error)
func (*NullableTriggerDatabaseRestorePayload) Set ¶
func (v *NullableTriggerDatabaseRestorePayload) Set(val *TriggerDatabaseRestorePayload)
func (*NullableTriggerDatabaseRestorePayload) UnmarshalJSON ¶
func (v *NullableTriggerDatabaseRestorePayload) UnmarshalJSON(src []byte) error
func (*NullableTriggerDatabaseRestorePayload) Unset ¶
func (v *NullableTriggerDatabaseRestorePayload) Unset()
type NullableType ¶
type NullableType struct {
// contains filtered or unexported fields
}
func NewNullableType ¶
func NewNullableType(val *Type) *NullableType
func (NullableType) Get ¶
func (v NullableType) Get() *Type
func (NullableType) IsSet ¶
func (v NullableType) IsSet() bool
func (NullableType) MarshalJSON ¶
func (v NullableType) MarshalJSON() ([]byte, error)
func (*NullableType) Set ¶
func (v *NullableType) Set(val *Type)
func (*NullableType) UnmarshalJSON ¶
func (v *NullableType) UnmarshalJSON(src []byte) error
func (*NullableType) Unset ¶
func (v *NullableType) Unset()
type NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func 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 NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserResponseUser ¶
type NullableUserResponseUser struct {
// contains filtered or unexported fields
}
func NewNullableUserResponseUser ¶
func NewNullableUserResponseUser(val *UserResponseUser) *NullableUserResponseUser
func (NullableUserResponseUser) Get ¶
func (v NullableUserResponseUser) Get() *UserResponseUser
func (NullableUserResponseUser) IsSet ¶
func (v NullableUserResponseUser) IsSet() bool
func (NullableUserResponseUser) MarshalJSON ¶
func (v NullableUserResponseUser) MarshalJSON() ([]byte, error)
func (*NullableUserResponseUser) Set ¶
func (v *NullableUserResponseUser) Set(val *UserResponseUser)
func (*NullableUserResponseUser) UnmarshalJSON ¶
func (v *NullableUserResponseUser) UnmarshalJSON(src []byte) error
func (*NullableUserResponseUser) Unset ¶
func (v *NullableUserResponseUser) Unset()
type PartialUpdateInstancePayload ¶
type PartialUpdateInstancePayload struct {
// ACL is the Access Control List defining the IP ranges allowed to connect to the database
Acl *InstanceDocumentationACL `json:"acl,omitempty"`
// Cronjob for the daily full backup if not provided a job will generated between 00:00 and 04:59
BackupSchedule *string `json:"backupSchedule,omitempty"`
// Id of the selected flavor
FlavorId *string `json:"flavorId,omitempty"`
// Labels for the instance
Labels map[string]interface{} `json:"labels,omitempty"`
// Name of the instance
Name *string `json:"name,omitempty"`
// Version of the MSSQL Server
Version *string `json:"version,omitempty"`
}
PartialUpdateInstancePayload struct for PartialUpdateInstancePayload
func NewPartialUpdateInstancePayload ¶
func NewPartialUpdateInstancePayload() *PartialUpdateInstancePayload
NewPartialUpdateInstancePayload instantiates a new PartialUpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateInstancePayloadWithDefaults ¶
func NewPartialUpdateInstancePayloadWithDefaults() *PartialUpdateInstancePayload
NewPartialUpdateInstancePayloadWithDefaults instantiates a new PartialUpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateInstancePayload) GetAcl ¶
func (o *PartialUpdateInstancePayload) GetAcl() InstanceDocumentationACL
GetAcl returns the Acl field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetAclOk ¶
func (o *PartialUpdateInstancePayload) GetAclOk() (*InstanceDocumentationACL, 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]interface{}
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetLabelsOk ¶
func (o *PartialUpdateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetName ¶
func (o *PartialUpdateInstancePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetNameOk ¶
func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetVersion ¶
func (o *PartialUpdateInstancePayload) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetVersionOk ¶
func (o *PartialUpdateInstancePayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) HasAcl ¶
func (o *PartialUpdateInstancePayload) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasBackupSchedule ¶
func (o *PartialUpdateInstancePayload) HasBackupSchedule() bool
HasBackupSchedule returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasFlavorId ¶
func (o *PartialUpdateInstancePayload) HasFlavorId() bool
HasFlavorId returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasLabels ¶
func (o *PartialUpdateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasName ¶
func (o *PartialUpdateInstancePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasVersion ¶
func (o *PartialUpdateInstancePayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (PartialUpdateInstancePayload) MarshalJSON ¶
func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateInstancePayload) SetAcl ¶
func (o *PartialUpdateInstancePayload) SetAcl(v InstanceDocumentationACL)
SetAcl gets a reference to the given InstanceDocumentationACL and assigns it to the Acl field.
func (*PartialUpdateInstancePayload) SetBackupSchedule ¶
func (o *PartialUpdateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.
func (*PartialUpdateInstancePayload) SetFlavorId ¶
func (o *PartialUpdateInstancePayload) SetFlavorId(v string)
SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.
func (*PartialUpdateInstancePayload) SetLabels ¶
func (o *PartialUpdateInstancePayload) SetLabels(v map[string]interface{})
SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.
func (*PartialUpdateInstancePayload) SetName ¶
func (o *PartialUpdateInstancePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialUpdateInstancePayload) SetVersion ¶
func (o *PartialUpdateInstancePayload) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (PartialUpdateInstancePayload) ToMap ¶
func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
type ResetUserResponse ¶
type ResetUserResponse struct {
Item *SingleUser `json:"item,omitempty"`
}
ResetUserResponse struct for ResetUserResponse
func NewResetUserResponse ¶
func NewResetUserResponse() *ResetUserResponse
NewResetUserResponse instantiates a new ResetUserResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResetUserResponseWithDefaults ¶
func NewResetUserResponseWithDefaults() *ResetUserResponse
NewResetUserResponseWithDefaults instantiates a new ResetUserResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResetUserResponse) GetItem ¶
func (o *ResetUserResponse) GetItem() SingleUser
GetItem returns the Item field value if set, zero value otherwise.
func (*ResetUserResponse) GetItemOk ¶
func (o *ResetUserResponse) GetItemOk() (*SingleUser, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResetUserResponse) HasItem ¶
func (o *ResetUserResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (ResetUserResponse) MarshalJSON ¶
func (o ResetUserResponse) MarshalJSON() ([]byte, error)
func (*ResetUserResponse) SetItem ¶
func (o *ResetUserResponse) SetItem(v SingleUser)
SetItem gets a reference to the given SingleUser and assigns it to the Item field.
func (ResetUserResponse) ToMap ¶
func (o ResetUserResponse) ToMap() (map[string]interface{}, error)
type RestoreRunningRestore ¶
type RestoreRunningRestore struct {
Command *string `json:"command,omitempty"`
DatabaseName *string `json:"database_name,omitempty"`
EstimatedCompletionTime *string `json:"estimated_completion_time,omitempty"`
PercentComplete *int32 `json:"percent_complete,omitempty"`
StartTime *string `json:"start_time,omitempty"`
}
RestoreRunningRestore struct for RestoreRunningRestore
func NewRestoreRunningRestore ¶
func NewRestoreRunningRestore() *RestoreRunningRestore
NewRestoreRunningRestore instantiates a new RestoreRunningRestore object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreRunningRestoreWithDefaults ¶
func NewRestoreRunningRestoreWithDefaults() *RestoreRunningRestore
NewRestoreRunningRestoreWithDefaults instantiates a new RestoreRunningRestore object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreRunningRestore) GetCommand ¶
func (o *RestoreRunningRestore) GetCommand() string
GetCommand returns the Command field value if set, zero value otherwise.
func (*RestoreRunningRestore) GetCommandOk ¶
func (o *RestoreRunningRestore) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreRunningRestore) GetDatabaseName ¶
func (o *RestoreRunningRestore) GetDatabaseName() string
GetDatabaseName returns the DatabaseName field value if set, zero value otherwise.
func (*RestoreRunningRestore) GetDatabaseNameOk ¶
func (o *RestoreRunningRestore) GetDatabaseNameOk() (*string, bool)
GetDatabaseNameOk returns a tuple with the DatabaseName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreRunningRestore) GetEstimatedCompletionTime ¶
func (o *RestoreRunningRestore) GetEstimatedCompletionTime() string
GetEstimatedCompletionTime returns the EstimatedCompletionTime field value if set, zero value otherwise.
func (*RestoreRunningRestore) GetEstimatedCompletionTimeOk ¶
func (o *RestoreRunningRestore) GetEstimatedCompletionTimeOk() (*string, bool)
GetEstimatedCompletionTimeOk returns a tuple with the EstimatedCompletionTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreRunningRestore) GetPercentComplete ¶
func (o *RestoreRunningRestore) GetPercentComplete() int32
GetPercentComplete returns the PercentComplete field value if set, zero value otherwise.
func (*RestoreRunningRestore) GetPercentCompleteOk ¶
func (o *RestoreRunningRestore) GetPercentCompleteOk() (*int32, bool)
GetPercentCompleteOk returns a tuple with the PercentComplete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreRunningRestore) GetStartTime ¶
func (o *RestoreRunningRestore) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*RestoreRunningRestore) GetStartTimeOk ¶
func (o *RestoreRunningRestore) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreRunningRestore) HasCommand ¶
func (o *RestoreRunningRestore) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (*RestoreRunningRestore) HasDatabaseName ¶
func (o *RestoreRunningRestore) HasDatabaseName() bool
HasDatabaseName returns a boolean if a field has been set.
func (*RestoreRunningRestore) HasEstimatedCompletionTime ¶
func (o *RestoreRunningRestore) HasEstimatedCompletionTime() bool
HasEstimatedCompletionTime returns a boolean if a field has been set.
func (*RestoreRunningRestore) HasPercentComplete ¶
func (o *RestoreRunningRestore) HasPercentComplete() bool
HasPercentComplete returns a boolean if a field has been set.
func (*RestoreRunningRestore) HasStartTime ¶
func (o *RestoreRunningRestore) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (RestoreRunningRestore) MarshalJSON ¶
func (o RestoreRunningRestore) MarshalJSON() ([]byte, error)
func (*RestoreRunningRestore) SetCommand ¶
func (o *RestoreRunningRestore) SetCommand(v string)
SetCommand gets a reference to the given string and assigns it to the Command field.
func (*RestoreRunningRestore) SetDatabaseName ¶
func (o *RestoreRunningRestore) SetDatabaseName(v string)
SetDatabaseName gets a reference to the given string and assigns it to the DatabaseName field.
func (*RestoreRunningRestore) SetEstimatedCompletionTime ¶
func (o *RestoreRunningRestore) SetEstimatedCompletionTime(v string)
SetEstimatedCompletionTime gets a reference to the given string and assigns it to the EstimatedCompletionTime field.
func (*RestoreRunningRestore) SetPercentComplete ¶
func (o *RestoreRunningRestore) SetPercentComplete(v int32)
SetPercentComplete gets a reference to the given int32 and assigns it to the PercentComplete field.
func (*RestoreRunningRestore) SetStartTime ¶
func (o *RestoreRunningRestore) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (RestoreRunningRestore) ToMap ¶
func (o RestoreRunningRestore) ToMap() (map[string]interface{}, error)
type SingleDatabase ¶
type SingleDatabase struct {
// Database id
Id *string `json:"id,omitempty"`
// Database name
Name *string `json:"name,omitempty"`
// Database specific options
Options *DatabaseOptions `json:"options,omitempty"`
}
SingleDatabase struct for SingleDatabase
func NewSingleDatabase ¶
func NewSingleDatabase() *SingleDatabase
NewSingleDatabase instantiates a new SingleDatabase object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSingleDatabaseWithDefaults ¶
func NewSingleDatabaseWithDefaults() *SingleDatabase
NewSingleDatabaseWithDefaults instantiates a new SingleDatabase object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SingleDatabase) GetId ¶
func (o *SingleDatabase) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SingleDatabase) GetIdOk ¶
func (o *SingleDatabase) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleDatabase) GetName ¶
func (o *SingleDatabase) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SingleDatabase) GetNameOk ¶
func (o *SingleDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleDatabase) GetOptions ¶
func (o *SingleDatabase) GetOptions() DatabaseOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*SingleDatabase) GetOptionsOk ¶
func (o *SingleDatabase) GetOptionsOk() (*DatabaseOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleDatabase) HasId ¶
func (o *SingleDatabase) HasId() bool
HasId returns a boolean if a field has been set.
func (*SingleDatabase) HasName ¶
func (o *SingleDatabase) HasName() bool
HasName returns a boolean if a field has been set.
func (*SingleDatabase) HasOptions ¶
func (o *SingleDatabase) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (SingleDatabase) MarshalJSON ¶
func (o SingleDatabase) MarshalJSON() ([]byte, error)
func (*SingleDatabase) SetId ¶
func (o *SingleDatabase) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SingleDatabase) SetName ¶
func (o *SingleDatabase) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SingleDatabase) SetOptions ¶
func (o *SingleDatabase) SetOptions(v DatabaseOptions)
SetOptions gets a reference to the given DatabaseOptions and assigns it to the Options field.
func (SingleDatabase) ToMap ¶
func (o SingleDatabase) ToMap() (map[string]interface{}, error)
type SingleUser ¶
type SingleUser struct {
DefaultDatabase *string `json:"default_database,omitempty"`
Host *string `json:"host,omitempty"`
Id *string `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Port *int32 `json:"port,omitempty"`
Roles []string `json:"roles,omitempty"`
Uri *string `json:"uri,omitempty"`
Username *string `json:"username,omitempty"`
}
SingleUser struct for SingleUser
func NewSingleUser ¶
func NewSingleUser() *SingleUser
NewSingleUser instantiates a new SingleUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSingleUserWithDefaults ¶
func NewSingleUserWithDefaults() *SingleUser
NewSingleUserWithDefaults instantiates a new SingleUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SingleUser) GetDefaultDatabase ¶
func (o *SingleUser) GetDefaultDatabase() string
GetDefaultDatabase returns the DefaultDatabase field value if set, zero value otherwise.
func (*SingleUser) GetDefaultDatabaseOk ¶
func (o *SingleUser) GetDefaultDatabaseOk() (*string, bool)
GetDefaultDatabaseOk returns a tuple with the DefaultDatabase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) GetHost ¶
func (o *SingleUser) GetHost() string
GetHost returns the Host field value if set, zero value otherwise.
func (*SingleUser) GetHostOk ¶
func (o *SingleUser) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) GetId ¶
func (o *SingleUser) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SingleUser) GetIdOk ¶
func (o *SingleUser) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) GetPassword ¶
func (o *SingleUser) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*SingleUser) GetPasswordOk ¶
func (o *SingleUser) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) GetPort ¶
func (o *SingleUser) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*SingleUser) GetPortOk ¶
func (o *SingleUser) 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 (*SingleUser) GetRoles ¶
func (o *SingleUser) GetRoles() []string
GetRoles returns the Roles field value if set, zero value otherwise.
func (*SingleUser) GetRolesOk ¶
func (o *SingleUser) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) GetUri ¶
func (o *SingleUser) GetUri() string
GetUri returns the Uri field value if set, zero value otherwise.
func (*SingleUser) GetUriOk ¶
func (o *SingleUser) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) GetUsername ¶
func (o *SingleUser) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*SingleUser) GetUsernameOk ¶
func (o *SingleUser) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUser) HasDefaultDatabase ¶
func (o *SingleUser) HasDefaultDatabase() bool
HasDefaultDatabase returns a boolean if a field has been set.
func (*SingleUser) HasHost ¶
func (o *SingleUser) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*SingleUser) HasId ¶
func (o *SingleUser) HasId() bool
HasId returns a boolean if a field has been set.
func (*SingleUser) HasPassword ¶
func (o *SingleUser) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*SingleUser) HasPort ¶
func (o *SingleUser) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*SingleUser) HasRoles ¶
func (o *SingleUser) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (*SingleUser) HasUri ¶
func (o *SingleUser) HasUri() bool
HasUri returns a boolean if a field has been set.
func (*SingleUser) HasUsername ¶
func (o *SingleUser) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (SingleUser) MarshalJSON ¶
func (o SingleUser) MarshalJSON() ([]byte, error)
func (*SingleUser) SetDefaultDatabase ¶
func (o *SingleUser) SetDefaultDatabase(v string)
SetDefaultDatabase gets a reference to the given string and assigns it to the DefaultDatabase field.
func (*SingleUser) SetHost ¶
func (o *SingleUser) SetHost(v string)
SetHost gets a reference to the given string and assigns it to the Host field.
func (*SingleUser) SetId ¶
func (o *SingleUser) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SingleUser) SetPassword ¶
func (o *SingleUser) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*SingleUser) SetPort ¶
func (o *SingleUser) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*SingleUser) SetRoles ¶
func (o *SingleUser) SetRoles(v []string)
SetRoles gets a reference to the given []string and assigns it to the Roles field.
func (*SingleUser) SetUri ¶
func (o *SingleUser) SetUri(v string)
SetUri gets a reference to the given string and assigns it to the Uri field.
func (*SingleUser) SetUsername ¶
func (o *SingleUser) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (SingleUser) ToMap ¶
func (o SingleUser) ToMap() (map[string]interface{}, error)
type Storage ¶
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 TriggerDatabaseRestorePayload ¶
type TriggerDatabaseRestorePayload struct {
// Name for the restored database no overwrite allowed at the moment
Name string `json:"name"`
// Time of the restore point formate RFC3339
RestoreDateTime string `json:"restoreDateTime"`
}
TriggerDatabaseRestorePayload struct for TriggerDatabaseRestorePayload
func NewTriggerDatabaseRestorePayload ¶
func NewTriggerDatabaseRestorePayload(name string, restoreDateTime string) *TriggerDatabaseRestorePayload
NewTriggerDatabaseRestorePayload instantiates a new TriggerDatabaseRestorePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTriggerDatabaseRestorePayloadWithDefaults ¶
func NewTriggerDatabaseRestorePayloadWithDefaults() *TriggerDatabaseRestorePayload
NewTriggerDatabaseRestorePayloadWithDefaults instantiates a new TriggerDatabaseRestorePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TriggerDatabaseRestorePayload) GetName ¶
func (o *TriggerDatabaseRestorePayload) GetName() string
GetName returns the Name field value
func (*TriggerDatabaseRestorePayload) GetNameOk ¶
func (o *TriggerDatabaseRestorePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TriggerDatabaseRestorePayload) GetRestoreDateTime ¶
func (o *TriggerDatabaseRestorePayload) GetRestoreDateTime() string
GetRestoreDateTime returns the RestoreDateTime field value
func (*TriggerDatabaseRestorePayload) GetRestoreDateTimeOk ¶
func (o *TriggerDatabaseRestorePayload) GetRestoreDateTimeOk() (*string, bool)
GetRestoreDateTimeOk returns a tuple with the RestoreDateTime field value and a boolean to check if the value has been set.
func (TriggerDatabaseRestorePayload) MarshalJSON ¶
func (o TriggerDatabaseRestorePayload) MarshalJSON() ([]byte, error)
func (*TriggerDatabaseRestorePayload) SetName ¶
func (o *TriggerDatabaseRestorePayload) SetName(v string)
SetName sets field value
func (*TriggerDatabaseRestorePayload) SetRestoreDateTime ¶
func (o *TriggerDatabaseRestorePayload) SetRestoreDateTime(v string)
SetRestoreDateTime sets field value
func (TriggerDatabaseRestorePayload) ToMap ¶
func (o TriggerDatabaseRestorePayload) ToMap() (map[string]interface{}, error)
func (*TriggerDatabaseRestorePayload) UnmarshalJSON ¶
func (o *TriggerDatabaseRestorePayload) UnmarshalJSON(data []byte) (err error)
type Type ¶
type Type string
Type the model 'Type'
const ( TYPE_NOT_FOUND Type = "NotFound" TYPE_CREATE Type = "Create" TYPE_READ Type = "Read" TYPE_DELETE Type = "Delete" TYPE_UPDATE Type = "Update" TYPE_VALIDATION Type = "Validation" )
List of Type
func NewTypeFromValue ¶
NewTypeFromValue returns a pointer to a valid Type for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Type) UnmarshalJSON ¶
type UpdateInstancePayload ¶
type UpdateInstancePayload struct {
// ACL is the Access Control List defining the IP ranges allowed to connect to the database
Acl InstanceDocumentationACL `json:"acl"`
// Cronjob for the daily full backup if not provided a job will generated between 00:00 and 04:59
BackupSchedule string `json:"backupSchedule"`
// Id of the selected flavor
FlavorId string `json:"flavorId"`
// Labels for the instance
Labels map[string]interface{} `json:"labels"`
// Name of the instance
Name string `json:"name"`
// Version of the MSSQL Server
Version string `json:"version"`
}
UpdateInstancePayload struct for UpdateInstancePayload
func NewUpdateInstancePayload ¶
func NewUpdateInstancePayload(acl InstanceDocumentationACL, backupSchedule string, flavorId string, labels map[string]interface{}, name string, version string) *UpdateInstancePayload
NewUpdateInstancePayload instantiates a new UpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstancePayloadWithDefaults ¶
func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload
NewUpdateInstancePayloadWithDefaults instantiates a new UpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstancePayload) GetAcl ¶
func (o *UpdateInstancePayload) GetAcl() InstanceDocumentationACL
GetAcl returns the Acl field value
func (*UpdateInstancePayload) GetAclOk ¶
func (o *UpdateInstancePayload) GetAclOk() (*InstanceDocumentationACL, 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]interface{}
GetLabels returns the Labels field value
func (*UpdateInstancePayload) GetLabelsOk ¶
func (o *UpdateInstancePayload) GetLabelsOk() (map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetName ¶
func (o *UpdateInstancePayload) GetName() string
GetName returns the Name field value
func (*UpdateInstancePayload) GetNameOk ¶
func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetVersion ¶
func (o *UpdateInstancePayload) GetVersion() string
GetVersion returns the Version field value
func (*UpdateInstancePayload) GetVersionOk ¶
func (o *UpdateInstancePayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (UpdateInstancePayload) MarshalJSON ¶
func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePayload) SetAcl ¶
func (o *UpdateInstancePayload) SetAcl(v InstanceDocumentationACL)
SetAcl sets field value
func (*UpdateInstancePayload) SetBackupSchedule ¶
func (o *UpdateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*UpdateInstancePayload) SetFlavorId ¶
func (o *UpdateInstancePayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*UpdateInstancePayload) SetLabels ¶
func (o *UpdateInstancePayload) SetLabels(v map[string]interface{})
SetLabels sets field value
func (*UpdateInstancePayload) SetName ¶
func (o *UpdateInstancePayload) SetName(v string)
SetName sets field value
func (*UpdateInstancePayload) SetVersion ¶
func (o *UpdateInstancePayload) SetVersion(v string)
SetVersion sets field value
func (UpdateInstancePayload) ToMap ¶
func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePayload) UnmarshalJSON ¶
func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct {
Item *Instance `json:"item,omitempty"`
}
UpdateInstanceResponse struct for UpdateInstanceResponse
func NewUpdateInstanceResponse ¶
func NewUpdateInstanceResponse() *UpdateInstanceResponse
NewUpdateInstanceResponse instantiates a new UpdateInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstanceResponseWithDefaults ¶
func NewUpdateInstanceResponseWithDefaults() *UpdateInstanceResponse
NewUpdateInstanceResponseWithDefaults instantiates a new UpdateInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstanceResponse) GetItem ¶
func (o *UpdateInstanceResponse) GetItem() Instance
GetItem returns the Item field value if set, zero value otherwise.
func (*UpdateInstanceResponse) GetItemOk ¶
func (o *UpdateInstanceResponse) GetItemOk() (*Instance, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstanceResponse) HasItem ¶
func (o *UpdateInstanceResponse) HasItem() bool
HasItem returns a boolean if a field has been set.
func (UpdateInstanceResponse) MarshalJSON ¶
func (o UpdateInstanceResponse) MarshalJSON() ([]byte, error)
func (*UpdateInstanceResponse) SetItem ¶
func (o *UpdateInstanceResponse) SetItem(v Instance)
SetItem gets a reference to the given Instance and assigns it to the Item field.
func (UpdateInstanceResponse) ToMap ¶
func (o UpdateInstanceResponse) ToMap() (map[string]interface{}, error)
type User ¶
type User struct {
Database *string `json:"database,omitempty"`
Host *string `json:"host,omitempty"`
Id *string `json:"id,omitempty"`
Password *string `json:"password,omitempty"`
Port *int32 `json:"port,omitempty"`
Roles []string `json:"roles,omitempty"`
Uri *string `json:"uri,omitempty"`
Username *string `json:"username,omitempty"`
}
User struct for User
func NewUser ¶
func NewUser() *User
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetDatabase ¶
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.
type UserResponseUser ¶
type UserResponseUser struct {
DefaultDatabase *string `json:"default_database,omitempty"`
Host *string `json:"host,omitempty"`
Id *string `json:"id,omitempty"`
Port *int32 `json:"port,omitempty"`
Roles []string `json:"roles,omitempty"`
Username *string `json:"username,omitempty"`
}
UserResponseUser struct for UserResponseUser
func NewUserResponseUser ¶
func NewUserResponseUser() *UserResponseUser
NewUserResponseUser instantiates a new UserResponseUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserResponseUserWithDefaults ¶
func NewUserResponseUserWithDefaults() *UserResponseUser
NewUserResponseUserWithDefaults instantiates a new UserResponseUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserResponseUser) GetDefaultDatabase ¶
func (o *UserResponseUser) GetDefaultDatabase() string
GetDefaultDatabase returns the DefaultDatabase field value if set, zero value otherwise.
func (*UserResponseUser) GetDefaultDatabaseOk ¶
func (o *UserResponseUser) GetDefaultDatabaseOk() (*string, bool)
GetDefaultDatabaseOk returns a tuple with the DefaultDatabase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponseUser) GetHost ¶
func (o *UserResponseUser) GetHost() string
GetHost returns the Host field value if set, zero value otherwise.
func (*UserResponseUser) GetHostOk ¶
func (o *UserResponseUser) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponseUser) GetId ¶
func (o *UserResponseUser) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UserResponseUser) GetIdOk ¶
func (o *UserResponseUser) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponseUser) GetPort ¶
func (o *UserResponseUser) GetPort() int32
GetPort returns the Port field value if set, zero value otherwise.
func (*UserResponseUser) GetPortOk ¶
func (o *UserResponseUser) 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 (*UserResponseUser) GetRoles ¶
func (o *UserResponseUser) GetRoles() []string
GetRoles returns the Roles field value if set, zero value otherwise.
func (*UserResponseUser) GetRolesOk ¶
func (o *UserResponseUser) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponseUser) GetUsername ¶
func (o *UserResponseUser) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*UserResponseUser) GetUsernameOk ¶
func (o *UserResponseUser) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponseUser) HasDefaultDatabase ¶
func (o *UserResponseUser) HasDefaultDatabase() bool
HasDefaultDatabase returns a boolean if a field has been set.
func (*UserResponseUser) HasHost ¶
func (o *UserResponseUser) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*UserResponseUser) HasId ¶
func (o *UserResponseUser) HasId() bool
HasId returns a boolean if a field has been set.
func (*UserResponseUser) HasPort ¶
func (o *UserResponseUser) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*UserResponseUser) HasRoles ¶
func (o *UserResponseUser) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (*UserResponseUser) HasUsername ¶
func (o *UserResponseUser) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (UserResponseUser) MarshalJSON ¶
func (o UserResponseUser) MarshalJSON() ([]byte, error)
func (*UserResponseUser) SetDefaultDatabase ¶
func (o *UserResponseUser) SetDefaultDatabase(v string)
SetDefaultDatabase gets a reference to the given string and assigns it to the DefaultDatabase field.
func (*UserResponseUser) SetHost ¶
func (o *UserResponseUser) SetHost(v string)
SetHost gets a reference to the given string and assigns it to the Host field.
func (*UserResponseUser) SetId ¶
func (o *UserResponseUser) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UserResponseUser) SetPort ¶
func (o *UserResponseUser) SetPort(v int32)
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*UserResponseUser) SetRoles ¶
func (o *UserResponseUser) SetRoles(v []string)
SetRoles gets a reference to the given []string and assigns it to the Roles field.
func (*UserResponseUser) SetUsername ¶
func (o *UserResponseUser) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (UserResponseUser) ToMap ¶
func (o UserResponseUser) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_acl.go
- model_backup.go
- model_backup_list_backups_response_grouped.go
- model_create_database_payload.go
- model_create_database_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_database.go
- model_database_documentation_create_database_request_options.go
- model_database_options.go
- model_flavor.go
- model_get_backup_response.go
- model_get_database_response.go
- model_get_instance_response.go
- model_get_user_response.go
- model_host.go
- model_host_metric.go
- model_instance.go
- model_instance_documentation_acl.go
- model_instance_documentation_options.go
- model_instance_documentation_storage.go
- model_instance_error.go
- model_instance_flavor_entry.go
- model_instance_list_instance.go
- model_instance_list_user.go
- model_list_backups_response.go
- model_list_collations_response.go
- model_list_compatibility_response.go
- model_list_databases_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_roles_response.go
- model_list_storages_response.go
- model_list_users_response.go
- model_list_versions_response.go
- model_mssql_database_collation.go
- model_mssql_database_compatibility.go
- model_partial_update_instance_payload.go
- model_reset_user_response.go
- model_restore_running_restore.go
- model_single_database.go
- model_single_user.go
- model_storage.go
- model_storage_range.go
- model_trigger_database_restore_payload.go
- model_type.go
- model_update_instance_payload.go
- model_update_instance_response.go
- model_user.go
- model_user_response_user.go
- response.go
- utils.go