Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateDatabaseRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteDatabaseRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetBackupRequest
- type ApiGetCollationsRequest
- type ApiGetDatabaseRequest
- type ApiGetFlavorsRequest
- type ApiGetInstanceRequest
- type ApiGetStoragesRequest
- type ApiGetUserRequest
- type ApiGetVersionsRequest
- type ApiListBackupsRequest
- type ApiListCompatibilitiesRequest
- type ApiListCurrentRunningRestoreJobsRequest
- type ApiListDatabasesRequest
- func (r ApiListDatabasesRequest) Execute() (*ListDatabasesResponse, error)
- func (r ApiListDatabasesRequest) Page(page int64) ApiListDatabasesRequest
- func (r ApiListDatabasesRequest) Size(size int64) ApiListDatabasesRequest
- func (r ApiListDatabasesRequest) Sort(sort DatabaseSort) ApiListDatabasesRequest
- type ApiListInstancesRequest
- func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
- func (r ApiListInstancesRequest) Page(page int64) ApiListInstancesRequest
- func (r ApiListInstancesRequest) Size(size int64) ApiListInstancesRequest
- func (r ApiListInstancesRequest) Sort(sort InstanceSort) ApiListInstancesRequest
- type ApiListRolesRequest
- type ApiListUsersRequest
- type ApiProtectInstanceRequest
- type ApiResetUserRequest
- type ApiRestoreDatabaseFromBackupRequest
- type ApiTriggerBackupRequest
- type ApiTriggerRestoreRequest
- type ApiUpdateInstancePartiallyRequest
- type ApiUpdateInstanceRequest
- type BackupRunningRestore
- func (o *BackupRunningRestore) GetCommand() string
- func (o *BackupRunningRestore) GetCommandOk() (*string, bool)
- func (o *BackupRunningRestore) GetDatabaseName() string
- func (o *BackupRunningRestore) GetDatabaseNameOk() (*string, bool)
- func (o *BackupRunningRestore) GetEstimatedCompletionTime() string
- func (o *BackupRunningRestore) GetEstimatedCompletionTimeOk() (*string, bool)
- func (o *BackupRunningRestore) GetPercentComplete() int32
- func (o *BackupRunningRestore) GetPercentCompleteOk() (*int32, bool)
- func (o *BackupRunningRestore) GetStartTime() string
- func (o *BackupRunningRestore) GetStartTimeOk() (*string, bool)
- func (o BackupRunningRestore) MarshalJSON() ([]byte, error)
- func (o *BackupRunningRestore) SetCommand(v string)
- func (o *BackupRunningRestore) SetDatabaseName(v string)
- func (o *BackupRunningRestore) SetEstimatedCompletionTime(v string)
- func (o *BackupRunningRestore) SetPercentComplete(v int32)
- func (o *BackupRunningRestore) SetStartTime(v string)
- func (o BackupRunningRestore) ToMap() (map[string]interface{}, error)
- func (o *BackupRunningRestore) UnmarshalJSON(data []byte) (err error)
- type BackupSort
- type CreateDatabasePayload
- func (o *CreateDatabasePayload) GetCollation() string
- func (o *CreateDatabasePayload) GetCollationOk() (*string, bool)
- func (o *CreateDatabasePayload) GetCompatibility() int32
- func (o *CreateDatabasePayload) GetCompatibilityOk() (*int32, bool)
- func (o *CreateDatabasePayload) GetName() string
- func (o *CreateDatabasePayload) GetNameOk() (*string, bool)
- func (o *CreateDatabasePayload) GetOwner() string
- func (o *CreateDatabasePayload) GetOwnerOk() (*string, bool)
- func (o *CreateDatabasePayload) HasCollation() bool
- func (o *CreateDatabasePayload) HasCompatibility() bool
- func (o CreateDatabasePayload) MarshalJSON() ([]byte, error)
- func (o *CreateDatabasePayload) SetCollation(v string)
- func (o *CreateDatabasePayload) SetCompatibility(v int32)
- func (o *CreateDatabasePayload) SetName(v string)
- func (o *CreateDatabasePayload) SetOwner(v string)
- func (o CreateDatabasePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabasePayload) UnmarshalJSON(data []byte) (err error)
- type CreateDatabaseResponse
- func (o *CreateDatabaseResponse) GetId() int64
- func (o *CreateDatabaseResponse) GetIdOk() (*int64, bool)
- func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *CreateDatabaseResponse) SetId(v int64)
- func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetBackupSchedule() string
- func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *CreateInstancePayload) GetEncryption() InstanceEncryption
- func (o *CreateInstancePayload) GetEncryptionOk() (*InstanceEncryption, bool)
- func (o *CreateInstancePayload) GetFlavorId() string
- func (o *CreateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *CreateInstancePayload) GetLabels() map[string]string
- func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) GetNetwork() CreateInstancePayloadNetwork
- func (o *CreateInstancePayload) GetNetworkOk() (*CreateInstancePayloadNetwork, bool)
- func (o *CreateInstancePayload) GetRetentionDays() int32
- func (o *CreateInstancePayload) GetRetentionDaysOk() (*int32, bool)
- func (o *CreateInstancePayload) GetStorage() StorageCreate
- func (o *CreateInstancePayload) GetStorageOk() (*StorageCreate, bool)
- func (o *CreateInstancePayload) GetVersion() InstanceVersion
- func (o *CreateInstancePayload) GetVersionOk() (*InstanceVersion, bool)
- func (o *CreateInstancePayload) HasEncryption() bool
- func (o *CreateInstancePayload) HasLabels() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetBackupSchedule(v string)
- func (o *CreateInstancePayload) SetEncryption(v InstanceEncryption)
- func (o *CreateInstancePayload) SetFlavorId(v string)
- func (o *CreateInstancePayload) SetLabels(v map[string]string)
- func (o *CreateInstancePayload) SetName(v string)
- func (o *CreateInstancePayload) SetNetwork(v CreateInstancePayloadNetwork)
- func (o *CreateInstancePayload) SetRetentionDays(v int32)
- func (o *CreateInstancePayload) SetStorage(v StorageCreate)
- func (o *CreateInstancePayload) SetVersion(v InstanceVersion)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstancePayloadNetwork
- func (o *CreateInstancePayloadNetwork) GetAccessScope() InstanceNetworkAccessScope
- func (o *CreateInstancePayloadNetwork) GetAccessScopeOk() (*InstanceNetworkAccessScope, bool)
- func (o *CreateInstancePayloadNetwork) GetAcl() []string
- func (o *CreateInstancePayloadNetwork) GetAclOk() ([]string, bool)
- func (o *CreateInstancePayloadNetwork) HasAccessScope() bool
- func (o CreateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayloadNetwork) SetAccessScope(v InstanceNetworkAccessScope)
- func (o *CreateInstancePayloadNetwork) SetAcl(v []string)
- func (o CreateInstancePayloadNetwork) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayloadNetwork) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceResponse
- func (o *CreateInstanceResponse) GetId() string
- func (o *CreateInstanceResponse) GetIdOk() (*string, bool)
- func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceResponse) SetId(v string)
- func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateInstanceResponse) UnmarshalJSON(data []byte) (err 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) GetDefaultDatabase() string
- func (o *CreateUserResponse) GetDefaultDatabaseOk() (*string, bool)
- func (o *CreateUserResponse) GetHost() string
- func (o *CreateUserResponse) GetHostOk() (*string, bool)
- func (o *CreateUserResponse) GetId() int64
- func (o *CreateUserResponse) GetIdOk() (*int64, bool)
- func (o *CreateUserResponse) GetPassword() string
- func (o *CreateUserResponse) GetPasswordOk() (*string, bool)
- func (o *CreateUserResponse) GetPort() int32
- func (o *CreateUserResponse) GetPortOk() (*int32, bool)
- func (o *CreateUserResponse) GetRoles() []string
- func (o *CreateUserResponse) GetRolesOk() ([]string, bool)
- func (o *CreateUserResponse) GetStatus() string
- func (o *CreateUserResponse) GetStatusOk() (*string, bool)
- func (o *CreateUserResponse) GetUri() string
- func (o *CreateUserResponse) GetUriOk() (*string, bool)
- func (o *CreateUserResponse) GetUsername() string
- func (o *CreateUserResponse) GetUsernameOk() (*string, bool)
- func (o CreateUserResponse) MarshalJSON() ([]byte, error)
- func (o *CreateUserResponse) SetDefaultDatabase(v string)
- func (o *CreateUserResponse) SetHost(v string)
- func (o *CreateUserResponse) SetId(v int64)
- func (o *CreateUserResponse) SetPassword(v string)
- func (o *CreateUserResponse) SetPort(v int32)
- func (o *CreateUserResponse) SetRoles(v []string)
- func (o *CreateUserResponse) SetStatus(v string)
- func (o *CreateUserResponse) SetUri(v string)
- func (o *CreateUserResponse) SetUsername(v string)
- func (o CreateUserResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateUserResponse) UnmarshalJSON(data []byte) (err error)
- type DatabaseGetcollation
- func (o *DatabaseGetcollation) GetCollationName() string
- func (o *DatabaseGetcollation) GetCollationNameOk() (*string, bool)
- func (o *DatabaseGetcollation) GetDescription() string
- func (o *DatabaseGetcollation) GetDescriptionOk() (*string, bool)
- func (o *DatabaseGetcollation) HasCollationName() bool
- func (o *DatabaseGetcollation) HasDescription() bool
- func (o DatabaseGetcollation) MarshalJSON() ([]byte, error)
- func (o *DatabaseGetcollation) SetCollationName(v string)
- func (o *DatabaseGetcollation) SetDescription(v string)
- func (o DatabaseGetcollation) ToMap() (map[string]interface{}, error)
- func (o *DatabaseGetcollation) UnmarshalJSON(data []byte) (err error)
- type DatabaseGetcompatibility
- func (o *DatabaseGetcompatibility) GetCompatibilityLevel() int32
- func (o *DatabaseGetcompatibility) GetCompatibilityLevelOk() (*int32, bool)
- func (o *DatabaseGetcompatibility) GetDescription() string
- func (o *DatabaseGetcompatibility) GetDescriptionOk() (*string, bool)
- func (o *DatabaseGetcompatibility) HasCompatibilityLevel() bool
- func (o *DatabaseGetcompatibility) HasDescription() bool
- func (o DatabaseGetcompatibility) MarshalJSON() ([]byte, error)
- func (o *DatabaseGetcompatibility) SetCompatibilityLevel(v int32)
- func (o *DatabaseGetcompatibility) SetDescription(v string)
- func (o DatabaseGetcompatibility) ToMap() (map[string]interface{}, error)
- func (o *DatabaseGetcompatibility) UnmarshalJSON(data []byte) (err error)
- type DatabaseRoles
- func (o *DatabaseRoles) GetName() string
- func (o *DatabaseRoles) GetNameOk() (*string, bool)
- func (o *DatabaseRoles) GetRoles() []string
- func (o *DatabaseRoles) GetRolesOk() ([]string, bool)
- func (o DatabaseRoles) MarshalJSON() ([]byte, error)
- func (o *DatabaseRoles) SetName(v string)
- func (o *DatabaseRoles) SetRoles(v []string)
- func (o DatabaseRoles) ToMap() (map[string]interface{}, error)
- func (o *DatabaseRoles) UnmarshalJSON(data []byte) (err error)
- type DatabaseSort
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
- func (a *DefaultAPIService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
- func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
- func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
- func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
- func (a *DefaultAPIService) DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteDatabaseRequest
- func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteUserRequest
- func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetBackupRequest
- func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
- func (a *DefaultAPIService) GetCollations(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequest
- func (a *DefaultAPIService) GetCollationsExecute(r ApiGetCollationsRequest) (*GetCollationsResponse, error)
- func (a *DefaultAPIService) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetDatabaseRequest
- func (a *DefaultAPIService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
- func (a *DefaultAPIService) GetFlavors(ctx context.Context, projectId string, region string) ApiGetFlavorsRequest
- func (a *DefaultAPIService) GetFlavorsExecute(r ApiGetFlavorsRequest) (*GetFlavorsResponse, error)
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a *DefaultAPIService) GetStorages(ctx context.Context, projectId string, region string, flavorId string) ApiGetStoragesRequest
- func (a *DefaultAPIService) GetStoragesExecute(r ApiGetStoragesRequest) (*GetStoragesResponse, error)
- func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetUserRequest
- func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
- func (a *DefaultAPIService) GetVersions(ctx context.Context, projectId string, region string) ApiGetVersionsRequest
- func (a *DefaultAPIService) GetVersionsExecute(r ApiGetVersionsRequest) (*GetVersionsResponse, error)
- func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupResponse, error)
- func (a *DefaultAPIService) ListCompatibilities(ctx context.Context, projectId string, region string, instanceId string) ApiListCompatibilitiesRequest
- func (a *DefaultAPIService) ListCompatibilitiesExecute(r ApiListCompatibilitiesRequest) (*ListCompatibilityResponse, error)
- func (a *DefaultAPIService) ListCurrentRunningRestoreJobs(ctx context.Context, projectId string, region string, instanceId string) ApiListCurrentRunningRestoreJobsRequest
- func (a *DefaultAPIService) ListCurrentRunningRestoreJobsExecute(r ApiListCurrentRunningRestoreJobsRequest) (*ListCurrentRunningRestoreJobs, error)
- func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
- func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
- func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
- func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
- func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUserResponse, error)
- func (a *DefaultAPIService) ProtectInstance(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequest
- func (a *DefaultAPIService) ProtectInstanceExecute(r ApiProtectInstanceRequest) (*ProtectInstanceResponse, error)
- func (a *DefaultAPIService) ResetUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiResetUserRequest
- func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
- func (a *DefaultAPIService) RestoreDatabaseFromBackup(ctx context.Context, projectId string, region string, instanceId string) ApiRestoreDatabaseFromBackupRequest
- func (a *DefaultAPIService) RestoreDatabaseFromBackupExecute(r ApiRestoreDatabaseFromBackupRequest) error
- func (a *DefaultAPIService) TriggerBackup(ctx context.Context, projectId string, region string, instanceId string, ...) ApiTriggerBackupRequest
- func (a *DefaultAPIService) TriggerBackupExecute(r ApiTriggerBackupRequest) error
- func (a *DefaultAPIService) TriggerRestore(ctx context.Context, projectId string, region string, instanceId string, ...) ApiTriggerRestoreRequest
- func (a *DefaultAPIService) TriggerRestoreExecute(r ApiTriggerRestoreRequest) error
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a *DefaultAPIService) UpdateInstancePartially(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequest
- func (a *DefaultAPIService) UpdateInstancePartiallyExecute(r ApiUpdateInstancePartiallyRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
- func (a DefaultAPIServiceMock) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
- func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
- func (a DefaultAPIServiceMock) DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteDatabaseRequest
- func (a DefaultAPIServiceMock) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteUserRequest
- func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetBackupRequest
- func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
- func (a DefaultAPIServiceMock) GetCollations(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequest
- func (a DefaultAPIServiceMock) GetCollationsExecute(r ApiGetCollationsRequest) (*GetCollationsResponse, error)
- func (a DefaultAPIServiceMock) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetDatabaseRequest
- func (a DefaultAPIServiceMock) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
- func (a DefaultAPIServiceMock) GetFlavors(ctx context.Context, projectId string, region string) ApiGetFlavorsRequest
- func (a DefaultAPIServiceMock) GetFlavorsExecute(r ApiGetFlavorsRequest) (*GetFlavorsResponse, error)
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a DefaultAPIServiceMock) GetStorages(ctx context.Context, projectId string, region string, flavorId string) ApiGetStoragesRequest
- func (a DefaultAPIServiceMock) GetStoragesExecute(r ApiGetStoragesRequest) (*GetStoragesResponse, error)
- func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetUserRequest
- func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
- func (a DefaultAPIServiceMock) GetVersions(ctx context.Context, projectId string, region string) ApiGetVersionsRequest
- func (a DefaultAPIServiceMock) GetVersionsExecute(r ApiGetVersionsRequest) (*GetVersionsResponse, error)
- func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupResponse, error)
- func (a DefaultAPIServiceMock) ListCompatibilities(ctx context.Context, projectId string, region string, instanceId string) ApiListCompatibilitiesRequest
- func (a DefaultAPIServiceMock) ListCompatibilitiesExecute(r ApiListCompatibilitiesRequest) (*ListCompatibilityResponse, error)
- func (a DefaultAPIServiceMock) ListCurrentRunningRestoreJobs(ctx context.Context, projectId string, region string, instanceId string) ApiListCurrentRunningRestoreJobsRequest
- func (a DefaultAPIServiceMock) ListCurrentRunningRestoreJobsExecute(r ApiListCurrentRunningRestoreJobsRequest) (*ListCurrentRunningRestoreJobs, error)
- func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
- func (a DefaultAPIServiceMock) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
- func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
- func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
- func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUserResponse, error)
- func (a DefaultAPIServiceMock) ProtectInstance(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequest
- func (a DefaultAPIServiceMock) ProtectInstanceExecute(r ApiProtectInstanceRequest) (*ProtectInstanceResponse, error)
- func (a DefaultAPIServiceMock) ResetUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiResetUserRequest
- func (a DefaultAPIServiceMock) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
- func (a DefaultAPIServiceMock) RestoreDatabaseFromBackup(ctx context.Context, projectId string, region string, instanceId string) ApiRestoreDatabaseFromBackupRequest
- func (a DefaultAPIServiceMock) RestoreDatabaseFromBackupExecute(r ApiRestoreDatabaseFromBackupRequest) error
- func (a DefaultAPIServiceMock) TriggerBackup(ctx context.Context, projectId string, region string, instanceId string, ...) ApiTriggerBackupRequest
- func (a DefaultAPIServiceMock) TriggerBackupExecute(r ApiTriggerBackupRequest) error
- func (a DefaultAPIServiceMock) TriggerRestore(ctx context.Context, projectId string, region string, instanceId string, ...) ApiTriggerRestoreRequest
- func (a DefaultAPIServiceMock) TriggerRestoreExecute(r ApiTriggerRestoreRequest) error
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a DefaultAPIServiceMock) UpdateInstancePartially(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequest
- func (a DefaultAPIServiceMock) UpdateInstancePartiallyExecute(r ApiUpdateInstancePartiallyRequest) error
- type Error
- func (o *Error) GetCode() int32
- func (o *Error) GetCodeOk() (*int32, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetTraceId() string
- func (o *Error) GetTraceIdOk() (*string, bool)
- func (o *Error) GetType() string
- func (o *Error) GetTypeOk() (*string, bool)
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v int32)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetTraceId(v string)
- func (o *Error) SetType(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type ExternalS3
- func (o *ExternalS3) GetS3AccessKey() string
- func (o *ExternalS3) GetS3AccessKeyOk() (*string, bool)
- func (o *ExternalS3) GetS3AccessSecret() string
- func (o *ExternalS3) GetS3AccessSecretOk() (*string, bool)
- func (o *ExternalS3) GetS3Bucket() string
- func (o *ExternalS3) GetS3BucketOk() (*string, bool)
- func (o *ExternalS3) GetS3Files() []S3fileInfo
- func (o *ExternalS3) GetS3FilesOk() ([]S3fileInfo, bool)
- func (o ExternalS3) MarshalJSON() ([]byte, error)
- func (o *ExternalS3) SetS3AccessKey(v string)
- func (o *ExternalS3) SetS3AccessSecret(v string)
- func (o *ExternalS3) SetS3Bucket(v string)
- func (o *ExternalS3) SetS3Files(v []S3fileInfo)
- func (o ExternalS3) ToMap() (map[string]interface{}, error)
- func (o *ExternalS3) UnmarshalJSON(data []byte) (err error)
- type FlavorSort
- type FlavorStorageClassesStorageClass
- func (o *FlavorStorageClassesStorageClass) GetClass() string
- func (o *FlavorStorageClassesStorageClass) GetClassOk() (*string, bool)
- func (o *FlavorStorageClassesStorageClass) GetMaxIoPerSec() int32
- func (o *FlavorStorageClassesStorageClass) GetMaxIoPerSecOk() (*int32, bool)
- func (o *FlavorStorageClassesStorageClass) GetMaxThroughInMb() int32
- func (o *FlavorStorageClassesStorageClass) GetMaxThroughInMbOk() (*int32, bool)
- func (o FlavorStorageClassesStorageClass) MarshalJSON() ([]byte, error)
- func (o *FlavorStorageClassesStorageClass) SetClass(v string)
- func (o *FlavorStorageClassesStorageClass) SetMaxIoPerSec(v int32)
- func (o *FlavorStorageClassesStorageClass) SetMaxThroughInMb(v int32)
- func (o FlavorStorageClassesStorageClass) ToMap() (map[string]interface{}, error)
- func (o *FlavorStorageClassesStorageClass) UnmarshalJSON(data []byte) (err error)
- type FlavorStorageRange
- func (o *FlavorStorageRange) GetMax() int32
- func (o *FlavorStorageRange) GetMaxOk() (*int32, bool)
- func (o *FlavorStorageRange) GetMin() int32
- func (o *FlavorStorageRange) GetMinOk() (*int32, bool)
- func (o FlavorStorageRange) MarshalJSON() ([]byte, error)
- func (o *FlavorStorageRange) SetMax(v int32)
- func (o *FlavorStorageRange) SetMin(v int32)
- func (o FlavorStorageRange) ToMap() (map[string]interface{}, error)
- func (o *FlavorStorageRange) UnmarshalJSON(data []byte) (err error)
- type GetBackupResponse
- func (o *GetBackupResponse) GetCompletionTime() string
- func (o *GetBackupResponse) GetCompletionTimeOk() (*string, bool)
- func (o *GetBackupResponse) GetId() int64
- func (o *GetBackupResponse) GetIdOk() (*int64, bool)
- func (o *GetBackupResponse) GetName() string
- func (o *GetBackupResponse) GetNameOk() (*string, bool)
- func (o *GetBackupResponse) GetRetainedUntil() string
- func (o *GetBackupResponse) GetRetainedUntilOk() (*string, bool)
- func (o *GetBackupResponse) GetSize() int64
- func (o *GetBackupResponse) GetSizeOk() (*int64, bool)
- func (o *GetBackupResponse) GetType() string
- func (o *GetBackupResponse) GetTypeOk() (*string, bool)
- func (o GetBackupResponse) MarshalJSON() ([]byte, error)
- func (o *GetBackupResponse) SetCompletionTime(v string)
- func (o *GetBackupResponse) SetId(v int64)
- func (o *GetBackupResponse) SetName(v string)
- func (o *GetBackupResponse) SetRetainedUntil(v string)
- func (o *GetBackupResponse) SetSize(v int64)
- func (o *GetBackupResponse) SetType(v string)
- func (o GetBackupResponse) ToMap() (map[string]interface{}, error)
- func (o *GetBackupResponse) UnmarshalJSON(data []byte) (err error)
- type GetCollationsResponse
- func (o *GetCollationsResponse) GetCollations() []DatabaseGetcollation
- func (o *GetCollationsResponse) GetCollationsOk() ([]DatabaseGetcollation, bool)
- func (o GetCollationsResponse) MarshalJSON() ([]byte, error)
- func (o *GetCollationsResponse) SetCollations(v []DatabaseGetcollation)
- func (o GetCollationsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCollationsResponse) UnmarshalJSON(data []byte) (err error)
- type GetDatabaseResponse
- func (o *GetDatabaseResponse) GetCollationName() string
- func (o *GetDatabaseResponse) GetCollationNameOk() (*string, bool)
- func (o *GetDatabaseResponse) GetCompatibilityLevel() int32
- func (o *GetDatabaseResponse) GetCompatibilityLevelOk() (*int32, bool)
- func (o *GetDatabaseResponse) GetId() int64
- func (o *GetDatabaseResponse) GetIdOk() (*int64, bool)
- func (o *GetDatabaseResponse) GetName() string
- func (o *GetDatabaseResponse) GetNameOk() (*string, bool)
- func (o *GetDatabaseResponse) GetOwner() string
- func (o *GetDatabaseResponse) GetOwnerOk() (*string, bool)
- func (o GetDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *GetDatabaseResponse) SetCollationName(v string)
- func (o *GetDatabaseResponse) SetCompatibilityLevel(v int32)
- func (o *GetDatabaseResponse) SetId(v int64)
- func (o *GetDatabaseResponse) SetName(v string)
- func (o *GetDatabaseResponse) SetOwner(v string)
- func (o GetDatabaseResponse) ToMap() (map[string]interface{}, error)
- func (o *GetDatabaseResponse) UnmarshalJSON(data []byte) (err error)
- type GetFlavorsResponse
- func (o *GetFlavorsResponse) GetFlavors() []ListFlavors
- func (o *GetFlavorsResponse) GetFlavorsOk() ([]ListFlavors, bool)
- func (o *GetFlavorsResponse) GetPagination() Pagination
- func (o *GetFlavorsResponse) GetPaginationOk() (*Pagination, bool)
- func (o GetFlavorsResponse) MarshalJSON() ([]byte, error)
- func (o *GetFlavorsResponse) SetFlavors(v []ListFlavors)
- func (o *GetFlavorsResponse) SetPagination(v Pagination)
- func (o GetFlavorsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetFlavorsResponse) UnmarshalJSON(data []byte) (err error)
- type GetInstanceResponse
- func (o *GetInstanceResponse) GetBackupSchedule() string
- func (o *GetInstanceResponse) GetBackupScheduleOk() (*string, bool)
- func (o *GetInstanceResponse) GetEdition() InstanceEdition
- func (o *GetInstanceResponse) GetEditionOk() (*InstanceEdition, bool)
- func (o *GetInstanceResponse) GetEncryption() InstanceEncryption
- func (o *GetInstanceResponse) GetEncryptionOk() (*InstanceEncryption, bool)
- func (o *GetInstanceResponse) GetFlavorId() string
- func (o *GetInstanceResponse) GetFlavorIdOk() (*string, bool)
- func (o *GetInstanceResponse) GetId() string
- func (o *GetInstanceResponse) GetIdOk() (*string, bool)
- func (o *GetInstanceResponse) GetIsDeletable() bool
- func (o *GetInstanceResponse) GetIsDeletableOk() (*bool, bool)
- func (o *GetInstanceResponse) GetLabels() map[string]string
- func (o *GetInstanceResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GetInstanceResponse) GetName() string
- func (o *GetInstanceResponse) GetNameOk() (*string, bool)
- func (o *GetInstanceResponse) GetNetwork() InstanceNetwork
- func (o *GetInstanceResponse) GetNetworkOk() (*InstanceNetwork, bool)
- func (o *GetInstanceResponse) GetReplicas() Replicas
- func (o *GetInstanceResponse) GetReplicasOk() (*Replicas, bool)
- func (o *GetInstanceResponse) GetRetentionDays() int32
- func (o *GetInstanceResponse) GetRetentionDaysOk() (*int32, bool)
- func (o *GetInstanceResponse) GetState() State
- func (o *GetInstanceResponse) GetStateOk() (*State, bool)
- func (o *GetInstanceResponse) GetStorage() Storage
- func (o *GetInstanceResponse) GetStorageOk() (*Storage, bool)
- func (o *GetInstanceResponse) GetVersion() InstanceVersion
- func (o *GetInstanceResponse) GetVersionOk() (*InstanceVersion, bool)
- func (o *GetInstanceResponse) HasEncryption() bool
- func (o *GetInstanceResponse) HasLabels() bool
- func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *GetInstanceResponse) SetBackupSchedule(v string)
- func (o *GetInstanceResponse) SetEdition(v InstanceEdition)
- func (o *GetInstanceResponse) SetEncryption(v InstanceEncryption)
- func (o *GetInstanceResponse) SetFlavorId(v string)
- func (o *GetInstanceResponse) SetId(v string)
- func (o *GetInstanceResponse) SetIsDeletable(v bool)
- func (o *GetInstanceResponse) SetLabels(v map[string]string)
- func (o *GetInstanceResponse) SetName(v string)
- func (o *GetInstanceResponse) SetNetwork(v InstanceNetwork)
- func (o *GetInstanceResponse) SetReplicas(v Replicas)
- func (o *GetInstanceResponse) SetRetentionDays(v int32)
- func (o *GetInstanceResponse) SetState(v State)
- func (o *GetInstanceResponse) SetStorage(v Storage)
- func (o *GetInstanceResponse) SetVersion(v InstanceVersion)
- func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *GetInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type GetStoragesResponse
- func (o *GetStoragesResponse) GetStorageClasses() []FlavorStorageClassesStorageClass
- func (o *GetStoragesResponse) GetStorageClassesOk() ([]FlavorStorageClassesStorageClass, bool)
- func (o *GetStoragesResponse) GetStorageRange() FlavorStorageRange
- func (o *GetStoragesResponse) GetStorageRangeOk() (*FlavorStorageRange, bool)
- func (o GetStoragesResponse) MarshalJSON() ([]byte, error)
- func (o *GetStoragesResponse) SetStorageClasses(v []FlavorStorageClassesStorageClass)
- func (o *GetStoragesResponse) SetStorageRange(v FlavorStorageRange)
- func (o GetStoragesResponse) ToMap() (map[string]interface{}, error)
- func (o *GetStoragesResponse) UnmarshalJSON(data []byte) (err error)
- type GetUserResponse
- func (o *GetUserResponse) GetDefaultDatabase() string
- func (o *GetUserResponse) GetDefaultDatabaseOk() (*string, bool)
- func (o *GetUserResponse) GetHost() string
- func (o *GetUserResponse) GetHostOk() (*string, bool)
- func (o *GetUserResponse) GetId() int64
- func (o *GetUserResponse) GetIdOk() (*int64, bool)
- func (o *GetUserResponse) GetPort() int32
- func (o *GetUserResponse) GetPortOk() (*int32, bool)
- func (o *GetUserResponse) GetRoles() []string
- func (o *GetUserResponse) GetRolesOk() ([]string, bool)
- func (o *GetUserResponse) GetStatus() string
- func (o *GetUserResponse) GetStatusOk() (*string, bool)
- func (o *GetUserResponse) GetUsername() string
- func (o *GetUserResponse) GetUsernameOk() (*string, bool)
- func (o GetUserResponse) MarshalJSON() ([]byte, error)
- func (o *GetUserResponse) SetDefaultDatabase(v string)
- func (o *GetUserResponse) SetHost(v string)
- func (o *GetUserResponse) SetId(v int64)
- func (o *GetUserResponse) SetPort(v int32)
- func (o *GetUserResponse) SetRoles(v []string)
- func (o *GetUserResponse) SetStatus(v string)
- func (o *GetUserResponse) SetUsername(v string)
- func (o GetUserResponse) ToMap() (map[string]interface{}, error)
- func (o *GetUserResponse) UnmarshalJSON(data []byte) (err error)
- type GetVersionsResponse
- func (o *GetVersionsResponse) GetVersions() []Version
- func (o *GetVersionsResponse) GetVersionsOk() ([]Version, bool)
- func (o GetVersionsResponse) MarshalJSON() ([]byte, error)
- func (o *GetVersionsResponse) SetVersions(v []Version)
- func (o GetVersionsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetVersionsResponse) UnmarshalJSON(data []byte) (err error)
- type InstanceEdition
- type InstanceEncryption
- func (o *InstanceEncryption) GetKekKeyId() string
- func (o *InstanceEncryption) GetKekKeyIdOk() (*string, bool)
- func (o *InstanceEncryption) GetKekKeyRingId() string
- func (o *InstanceEncryption) GetKekKeyRingIdOk() (*string, bool)
- func (o *InstanceEncryption) GetKekKeyVersion() string
- func (o *InstanceEncryption) GetKekKeyVersionOk() (*string, bool)
- func (o *InstanceEncryption) GetServiceAccount() string
- func (o *InstanceEncryption) GetServiceAccountOk() (*string, bool)
- func (o InstanceEncryption) MarshalJSON() ([]byte, error)
- func (o *InstanceEncryption) SetKekKeyId(v string)
- func (o *InstanceEncryption) SetKekKeyRingId(v string)
- func (o *InstanceEncryption) SetKekKeyVersion(v string)
- func (o *InstanceEncryption) SetServiceAccount(v string)
- func (o InstanceEncryption) ToMap() (map[string]interface{}, error)
- func (o *InstanceEncryption) UnmarshalJSON(data []byte) (err error)
- type InstanceNetwork
- func (o *InstanceNetwork) GetAccessScope() InstanceNetworkAccessScope
- func (o *InstanceNetwork) GetAccessScopeOk() (*InstanceNetworkAccessScope, bool)
- func (o *InstanceNetwork) GetAcl() []string
- func (o *InstanceNetwork) GetAclOk() ([]string, bool)
- func (o *InstanceNetwork) GetInstanceAddress() string
- func (o *InstanceNetwork) GetInstanceAddressOk() (*string, bool)
- func (o *InstanceNetwork) GetRouterAddress() string
- func (o *InstanceNetwork) GetRouterAddressOk() (*string, bool)
- func (o *InstanceNetwork) HasAccessScope() bool
- func (o *InstanceNetwork) HasAcl() bool
- func (o *InstanceNetwork) HasInstanceAddress() bool
- func (o *InstanceNetwork) HasRouterAddress() bool
- func (o InstanceNetwork) MarshalJSON() ([]byte, error)
- func (o *InstanceNetwork) SetAccessScope(v InstanceNetworkAccessScope)
- func (o *InstanceNetwork) SetAcl(v []string)
- func (o *InstanceNetwork) SetInstanceAddress(v string)
- func (o *InstanceNetwork) SetRouterAddress(v string)
- func (o InstanceNetwork) ToMap() (map[string]interface{}, error)
- func (o *InstanceNetwork) UnmarshalJSON(data []byte) (err error)
- type InstanceNetworkAccessScope
- type InstanceSort
- type InstanceVersion
- type InstanceVersionOpt
- type ListBackup
- func (o *ListBackup) GetCompletionTime() string
- func (o *ListBackup) GetCompletionTimeOk() (*string, bool)
- func (o *ListBackup) GetId() int64
- func (o *ListBackup) GetIdOk() (*int64, bool)
- func (o *ListBackup) GetName() string
- func (o *ListBackup) GetNameOk() (*string, bool)
- func (o *ListBackup) GetRetainedUntil() string
- func (o *ListBackup) GetRetainedUntilOk() (*string, bool)
- func (o *ListBackup) GetSize() int64
- func (o *ListBackup) GetSizeOk() (*int64, bool)
- func (o *ListBackup) GetType() string
- func (o *ListBackup) GetTypeOk() (*string, bool)
- func (o ListBackup) MarshalJSON() ([]byte, error)
- func (o *ListBackup) SetCompletionTime(v string)
- func (o *ListBackup) SetId(v int64)
- func (o *ListBackup) SetName(v string)
- func (o *ListBackup) SetRetainedUntil(v string)
- func (o *ListBackup) SetSize(v int64)
- func (o *ListBackup) SetType(v string)
- func (o ListBackup) ToMap() (map[string]interface{}, error)
- func (o *ListBackup) UnmarshalJSON(data []byte) (err error)
- type ListBackupResponse
- func (o *ListBackupResponse) GetBackups() []ListBackupsResponse
- func (o *ListBackupResponse) GetBackupsOk() ([]ListBackupsResponse, bool)
- func (o *ListBackupResponse) GetPagination() Pagination
- func (o *ListBackupResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListBackupResponse) MarshalJSON() ([]byte, error)
- func (o *ListBackupResponse) SetBackups(v []ListBackupsResponse)
- func (o *ListBackupResponse) SetPagination(v Pagination)
- func (o ListBackupResponse) ToMap() (map[string]interface{}, error)
- func (o *ListBackupResponse) UnmarshalJSON(data []byte) (err error)
- type ListBackupsResponse
- func (o *ListBackupsResponse) GetBackups() []ListBackup
- func (o *ListBackupsResponse) GetBackupsOk() ([]ListBackup, bool)
- func (o *ListBackupsResponse) GetDatabaseName() string
- func (o *ListBackupsResponse) GetDatabaseNameOk() (*string, bool)
- func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
- func (o *ListBackupsResponse) SetBackups(v []ListBackup)
- func (o *ListBackupsResponse) SetDatabaseName(v string)
- func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListBackupsResponse) UnmarshalJSON(data []byte) (err error)
- type ListCompatibilityResponse
- func (o *ListCompatibilityResponse) GetCompatibilities() []DatabaseGetcompatibility
- func (o *ListCompatibilityResponse) GetCompatibilitiesOk() ([]DatabaseGetcompatibility, bool)
- func (o ListCompatibilityResponse) MarshalJSON() ([]byte, error)
- func (o *ListCompatibilityResponse) SetCompatibilities(v []DatabaseGetcompatibility)
- func (o ListCompatibilityResponse) ToMap() (map[string]interface{}, error)
- func (o *ListCompatibilityResponse) UnmarshalJSON(data []byte) (err error)
- type ListCurrentRunningRestoreJobs
- func (o *ListCurrentRunningRestoreJobs) GetRunningRestores() []BackupRunningRestore
- func (o *ListCurrentRunningRestoreJobs) GetRunningRestoresOk() ([]BackupRunningRestore, bool)
- func (o ListCurrentRunningRestoreJobs) MarshalJSON() ([]byte, error)
- func (o *ListCurrentRunningRestoreJobs) SetRunningRestores(v []BackupRunningRestore)
- func (o ListCurrentRunningRestoreJobs) ToMap() (map[string]interface{}, error)
- func (o *ListCurrentRunningRestoreJobs) UnmarshalJSON(data []byte) (err error)
- type ListDatabase
- func (o *ListDatabase) GetCreated() string
- func (o *ListDatabase) GetCreatedOk() (*string, bool)
- func (o *ListDatabase) GetId() int64
- func (o *ListDatabase) GetIdOk() (*int64, bool)
- func (o *ListDatabase) GetName() string
- func (o *ListDatabase) GetNameOk() (*string, bool)
- func (o *ListDatabase) GetOwner() string
- func (o *ListDatabase) GetOwnerOk() (*string, bool)
- func (o ListDatabase) MarshalJSON() ([]byte, error)
- func (o *ListDatabase) SetCreated(v string)
- func (o *ListDatabase) SetId(v int64)
- func (o *ListDatabase) SetName(v string)
- func (o *ListDatabase) SetOwner(v string)
- func (o ListDatabase) ToMap() (map[string]interface{}, error)
- func (o *ListDatabase) UnmarshalJSON(data []byte) (err error)
- type ListDatabasesResponse
- func (o *ListDatabasesResponse) GetDatabases() []ListDatabase
- func (o *ListDatabasesResponse) GetDatabasesOk() ([]ListDatabase, bool)
- func (o *ListDatabasesResponse) GetPagination() Pagination
- func (o *ListDatabasesResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListDatabasesResponse) MarshalJSON() ([]byte, error)
- func (o *ListDatabasesResponse) SetDatabases(v []ListDatabase)
- func (o *ListDatabasesResponse) SetPagination(v Pagination)
- func (o ListDatabasesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListDatabasesResponse) UnmarshalJSON(data []byte) (err error)
- type ListFlavors
- func (o *ListFlavors) GetCpu() int64
- func (o *ListFlavors) GetCpuOk() (*int64, bool)
- func (o *ListFlavors) GetDescription() string
- func (o *ListFlavors) GetDescriptionOk() (*string, bool)
- func (o *ListFlavors) GetId() string
- func (o *ListFlavors) GetIdOk() (*string, bool)
- func (o *ListFlavors) GetMaxGB() int32
- func (o *ListFlavors) GetMaxGBOk() (*int32, bool)
- func (o *ListFlavors) GetMemory() int64
- func (o *ListFlavors) GetMemoryOk() (*int64, bool)
- func (o *ListFlavors) GetMinGB() int32
- func (o *ListFlavors) GetMinGBOk() (*int32, bool)
- func (o *ListFlavors) GetNodeType() string
- func (o *ListFlavors) GetNodeTypeOk() (*string, bool)
- func (o *ListFlavors) GetStorageClasses() []FlavorStorageClassesStorageClass
- func (o *ListFlavors) GetStorageClassesOk() ([]FlavorStorageClassesStorageClass, bool)
- func (o ListFlavors) MarshalJSON() ([]byte, error)
- func (o *ListFlavors) SetCpu(v int64)
- func (o *ListFlavors) SetDescription(v string)
- func (o *ListFlavors) SetId(v string)
- func (o *ListFlavors) SetMaxGB(v int32)
- func (o *ListFlavors) SetMemory(v int64)
- func (o *ListFlavors) SetMinGB(v int32)
- func (o *ListFlavors) SetNodeType(v string)
- func (o *ListFlavors) SetStorageClasses(v []FlavorStorageClassesStorageClass)
- func (o ListFlavors) ToMap() (map[string]interface{}, error)
- func (o *ListFlavors) UnmarshalJSON(data []byte) (err error)
- type ListInstance
- func (o *ListInstance) GetId() string
- func (o *ListInstance) GetIdOk() (*string, bool)
- func (o *ListInstance) GetIsDeletable() bool
- func (o *ListInstance) GetIsDeletableOk() (*bool, bool)
- func (o *ListInstance) GetName() string
- func (o *ListInstance) GetNameOk() (*string, bool)
- func (o *ListInstance) GetState() State
- func (o *ListInstance) GetStateOk() (*State, bool)
- func (o ListInstance) MarshalJSON() ([]byte, error)
- func (o *ListInstance) SetId(v string)
- func (o *ListInstance) SetIsDeletable(v bool)
- func (o *ListInstance) SetName(v string)
- func (o *ListInstance) SetState(v State)
- func (o ListInstance) ToMap() (map[string]interface{}, error)
- func (o *ListInstance) UnmarshalJSON(data []byte) (err error)
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetInstances() []ListInstance
- func (o *ListInstancesResponse) GetInstancesOk() ([]ListInstance, bool)
- func (o *ListInstancesResponse) GetPagination() Pagination
- func (o *ListInstancesResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstancesResponse) SetInstances(v []ListInstance)
- func (o *ListInstancesResponse) SetPagination(v Pagination)
- func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
- type ListRolesResponse
- func (o *ListRolesResponse) GetRoles() []string
- func (o *ListRolesResponse) GetRolesOk() ([]string, bool)
- func (o ListRolesResponse) MarshalJSON() ([]byte, error)
- func (o *ListRolesResponse) SetRoles(v []string)
- func (o ListRolesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListRolesResponse) UnmarshalJSON(data []byte) (err error)
- type ListUser
- func (o *ListUser) GetId() int64
- func (o *ListUser) GetIdOk() (*int64, bool)
- func (o *ListUser) GetStatus() string
- func (o *ListUser) GetStatusOk() (*string, bool)
- func (o *ListUser) GetUsername() string
- func (o *ListUser) GetUsernameOk() (*string, bool)
- func (o ListUser) MarshalJSON() ([]byte, error)
- func (o *ListUser) SetId(v int64)
- func (o *ListUser) SetStatus(v string)
- func (o *ListUser) SetUsername(v string)
- func (o ListUser) ToMap() (map[string]interface{}, error)
- func (o *ListUser) UnmarshalJSON(data []byte) (err error)
- type ListUserResponse
- func (o *ListUserResponse) GetPagination() Pagination
- func (o *ListUserResponse) GetPaginationOk() (*Pagination, bool)
- func (o *ListUserResponse) GetUsers() []ListUser
- func (o *ListUserResponse) GetUsersOk() ([]ListUser, bool)
- func (o ListUserResponse) MarshalJSON() ([]byte, error)
- func (o *ListUserResponse) SetPagination(v Pagination)
- func (o *ListUserResponse) SetUsers(v []ListUser)
- func (o ListUserResponse) ToMap() (map[string]interface{}, error)
- func (o *ListUserResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBackupRunningRestore
- func (v NullableBackupRunningRestore) Get() *BackupRunningRestore
- func (v NullableBackupRunningRestore) IsSet() bool
- func (v NullableBackupRunningRestore) MarshalJSON() ([]byte, error)
- func (v *NullableBackupRunningRestore) Set(val *BackupRunningRestore)
- func (v *NullableBackupRunningRestore) UnmarshalJSON(src []byte) error
- func (v *NullableBackupRunningRestore) Unset()
- type NullableBackupSort
- 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 NullableCreateInstancePayloadNetwork
- func (v NullableCreateInstancePayloadNetwork) Get() *CreateInstancePayloadNetwork
- func (v NullableCreateInstancePayloadNetwork) IsSet() bool
- func (v NullableCreateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayloadNetwork) Set(val *CreateInstancePayloadNetwork)
- func (v *NullableCreateInstancePayloadNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayloadNetwork) 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 NullableDatabaseGetcollation
- func (v NullableDatabaseGetcollation) Get() *DatabaseGetcollation
- func (v NullableDatabaseGetcollation) IsSet() bool
- func (v NullableDatabaseGetcollation) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseGetcollation) Set(val *DatabaseGetcollation)
- func (v *NullableDatabaseGetcollation) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseGetcollation) Unset()
- type NullableDatabaseGetcompatibility
- func (v NullableDatabaseGetcompatibility) Get() *DatabaseGetcompatibility
- func (v NullableDatabaseGetcompatibility) IsSet() bool
- func (v NullableDatabaseGetcompatibility) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseGetcompatibility) Set(val *DatabaseGetcompatibility)
- func (v *NullableDatabaseGetcompatibility) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseGetcompatibility) Unset()
- type NullableDatabaseRoles
- func (v NullableDatabaseRoles) Get() *DatabaseRoles
- func (v NullableDatabaseRoles) IsSet() bool
- func (v NullableDatabaseRoles) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseRoles) Set(val *DatabaseRoles)
- func (v *NullableDatabaseRoles) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseRoles) Unset()
- type NullableDatabaseSort
- func (v NullableDatabaseSort) Get() *DatabaseSort
- func (v NullableDatabaseSort) IsSet() bool
- func (v NullableDatabaseSort) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseSort) Set(val *DatabaseSort)
- func (v *NullableDatabaseSort) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseSort) Unset()
- type NullableError
- type NullableExternalS3
- type NullableFlavorSort
- type NullableFlavorStorageClassesStorageClass
- func (v NullableFlavorStorageClassesStorageClass) Get() *FlavorStorageClassesStorageClass
- func (v NullableFlavorStorageClassesStorageClass) IsSet() bool
- func (v NullableFlavorStorageClassesStorageClass) MarshalJSON() ([]byte, error)
- func (v *NullableFlavorStorageClassesStorageClass) Set(val *FlavorStorageClassesStorageClass)
- func (v *NullableFlavorStorageClassesStorageClass) UnmarshalJSON(src []byte) error
- func (v *NullableFlavorStorageClassesStorageClass) Unset()
- type NullableFlavorStorageRange
- func (v NullableFlavorStorageRange) Get() *FlavorStorageRange
- func (v NullableFlavorStorageRange) IsSet() bool
- func (v NullableFlavorStorageRange) MarshalJSON() ([]byte, error)
- func (v *NullableFlavorStorageRange) Set(val *FlavorStorageRange)
- func (v *NullableFlavorStorageRange) UnmarshalJSON(src []byte) error
- func (v *NullableFlavorStorageRange) Unset()
- 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 NullableGetCollationsResponse
- func (v NullableGetCollationsResponse) Get() *GetCollationsResponse
- func (v NullableGetCollationsResponse) IsSet() bool
- func (v NullableGetCollationsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCollationsResponse) Set(val *GetCollationsResponse)
- func (v *NullableGetCollationsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCollationsResponse) 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 NullableGetFlavorsResponse
- func (v NullableGetFlavorsResponse) Get() *GetFlavorsResponse
- func (v NullableGetFlavorsResponse) IsSet() bool
- func (v NullableGetFlavorsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetFlavorsResponse) Set(val *GetFlavorsResponse)
- func (v *NullableGetFlavorsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetFlavorsResponse) 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 NullableGetStoragesResponse
- func (v NullableGetStoragesResponse) Get() *GetStoragesResponse
- func (v NullableGetStoragesResponse) IsSet() bool
- func (v NullableGetStoragesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetStoragesResponse) Set(val *GetStoragesResponse)
- func (v *NullableGetStoragesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetStoragesResponse) 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 NullableGetVersionsResponse
- func (v NullableGetVersionsResponse) Get() *GetVersionsResponse
- func (v NullableGetVersionsResponse) IsSet() bool
- func (v NullableGetVersionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetVersionsResponse) Set(val *GetVersionsResponse)
- func (v *NullableGetVersionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetVersionsResponse) Unset()
- type NullableInstanceEdition
- func (v NullableInstanceEdition) Get() *InstanceEdition
- func (v NullableInstanceEdition) IsSet() bool
- func (v NullableInstanceEdition) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceEdition) Set(val *InstanceEdition)
- func (v *NullableInstanceEdition) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceEdition) Unset()
- type NullableInstanceEncryption
- func (v NullableInstanceEncryption) Get() *InstanceEncryption
- func (v NullableInstanceEncryption) IsSet() bool
- func (v NullableInstanceEncryption) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceEncryption) Set(val *InstanceEncryption)
- func (v *NullableInstanceEncryption) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceEncryption) Unset()
- type NullableInstanceNetwork
- func (v NullableInstanceNetwork) Get() *InstanceNetwork
- func (v NullableInstanceNetwork) IsSet() bool
- func (v NullableInstanceNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceNetwork) Set(val *InstanceNetwork)
- func (v *NullableInstanceNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceNetwork) Unset()
- type NullableInstanceNetworkAccessScope
- func (v NullableInstanceNetworkAccessScope) Get() *InstanceNetworkAccessScope
- func (v NullableInstanceNetworkAccessScope) IsSet() bool
- func (v NullableInstanceNetworkAccessScope) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceNetworkAccessScope) Set(val *InstanceNetworkAccessScope)
- func (v *NullableInstanceNetworkAccessScope) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceNetworkAccessScope) Unset()
- type NullableInstanceSort
- func (v NullableInstanceSort) Get() *InstanceSort
- func (v NullableInstanceSort) IsSet() bool
- func (v NullableInstanceSort) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceSort) Set(val *InstanceSort)
- func (v *NullableInstanceSort) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceSort) Unset()
- type NullableInstanceVersion
- func (v NullableInstanceVersion) Get() *InstanceVersion
- func (v NullableInstanceVersion) IsSet() bool
- func (v NullableInstanceVersion) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceVersion) Set(val *InstanceVersion)
- func (v *NullableInstanceVersion) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceVersion) Unset()
- type NullableInstanceVersionOpt
- func (v NullableInstanceVersionOpt) Get() *InstanceVersionOpt
- func (v NullableInstanceVersionOpt) IsSet() bool
- func (v NullableInstanceVersionOpt) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceVersionOpt) Set(val *InstanceVersionOpt)
- func (v *NullableInstanceVersionOpt) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceVersionOpt) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListBackup
- type NullableListBackupResponse
- func (v NullableListBackupResponse) Get() *ListBackupResponse
- func (v NullableListBackupResponse) IsSet() bool
- func (v NullableListBackupResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListBackupResponse) Set(val *ListBackupResponse)
- func (v *NullableListBackupResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListBackupResponse) Unset()
- 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 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 NullableListCurrentRunningRestoreJobs
- func (v NullableListCurrentRunningRestoreJobs) Get() *ListCurrentRunningRestoreJobs
- func (v NullableListCurrentRunningRestoreJobs) IsSet() bool
- func (v NullableListCurrentRunningRestoreJobs) MarshalJSON() ([]byte, error)
- func (v *NullableListCurrentRunningRestoreJobs) Set(val *ListCurrentRunningRestoreJobs)
- func (v *NullableListCurrentRunningRestoreJobs) UnmarshalJSON(src []byte) error
- func (v *NullableListCurrentRunningRestoreJobs) Unset()
- type NullableListDatabase
- func (v NullableListDatabase) Get() *ListDatabase
- func (v NullableListDatabase) IsSet() bool
- func (v NullableListDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableListDatabase) Set(val *ListDatabase)
- func (v *NullableListDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableListDatabase) 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 NullableListFlavors
- func (v NullableListFlavors) Get() *ListFlavors
- func (v NullableListFlavors) IsSet() bool
- func (v NullableListFlavors) MarshalJSON() ([]byte, error)
- func (v *NullableListFlavors) Set(val *ListFlavors)
- func (v *NullableListFlavors) UnmarshalJSON(src []byte) error
- func (v *NullableListFlavors) Unset()
- type NullableListInstance
- func (v NullableListInstance) Get() *ListInstance
- func (v NullableListInstance) IsSet() bool
- func (v NullableListInstance) MarshalJSON() ([]byte, error)
- func (v *NullableListInstance) Set(val *ListInstance)
- func (v *NullableListInstance) UnmarshalJSON(src []byte) error
- func (v *NullableListInstance) 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 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 NullableListUser
- type NullableListUserResponse
- func (v NullableListUserResponse) Get() *ListUserResponse
- func (v NullableListUserResponse) IsSet() bool
- func (v NullableListUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUserResponse) Set(val *ListUserResponse)
- func (v *NullableListUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUserResponse) Unset()
- type NullablePagination
- type NullableProtectInstancePayload
- func (v NullableProtectInstancePayload) Get() *ProtectInstancePayload
- func (v NullableProtectInstancePayload) IsSet() bool
- func (v NullableProtectInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableProtectInstancePayload) Set(val *ProtectInstancePayload)
- func (v *NullableProtectInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableProtectInstancePayload) Unset()
- type NullableProtectInstanceResponse
- func (v NullableProtectInstanceResponse) Get() *ProtectInstanceResponse
- func (v NullableProtectInstanceResponse) IsSet() bool
- func (v NullableProtectInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProtectInstanceResponse) Set(val *ProtectInstanceResponse)
- func (v *NullableProtectInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProtectInstanceResponse) Unset()
- type NullableReplicas
- 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 NullableRestoreDatabaseFromBackupPayload
- func (v NullableRestoreDatabaseFromBackupPayload) Get() *RestoreDatabaseFromBackupPayload
- func (v NullableRestoreDatabaseFromBackupPayload) IsSet() bool
- func (v NullableRestoreDatabaseFromBackupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreDatabaseFromBackupPayload) Set(val *RestoreDatabaseFromBackupPayload)
- func (v *NullableRestoreDatabaseFromBackupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreDatabaseFromBackupPayload) Unset()
- type NullableRestoreDatabaseFromBackupPayloadSource
- func (v NullableRestoreDatabaseFromBackupPayloadSource) Get() *RestoreDatabaseFromBackupPayloadSource
- func (v NullableRestoreDatabaseFromBackupPayloadSource) IsSet() bool
- func (v NullableRestoreDatabaseFromBackupPayloadSource) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreDatabaseFromBackupPayloadSource) Set(val *RestoreDatabaseFromBackupPayloadSource)
- func (v *NullableRestoreDatabaseFromBackupPayloadSource) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreDatabaseFromBackupPayloadSource) Unset()
- type NullableS3fileInfo
- type NullableSourceBackup
- func (v NullableSourceBackup) Get() *SourceBackup
- func (v NullableSourceBackup) IsSet() bool
- func (v NullableSourceBackup) MarshalJSON() ([]byte, error)
- func (v *NullableSourceBackup) Set(val *SourceBackup)
- func (v *NullableSourceBackup) UnmarshalJSON(src []byte) error
- func (v *NullableSourceBackup) Unset()
- type NullableSourceBackupType
- func (v NullableSourceBackupType) Get() *SourceBackupType
- func (v NullableSourceBackupType) IsSet() bool
- func (v NullableSourceBackupType) MarshalJSON() ([]byte, error)
- func (v *NullableSourceBackupType) Set(val *SourceBackupType)
- func (v *NullableSourceBackupType) UnmarshalJSON(src []byte) error
- func (v *NullableSourceBackupType) Unset()
- type NullableSourceExternalS3
- func (v NullableSourceExternalS3) Get() *SourceExternalS3
- func (v NullableSourceExternalS3) IsSet() bool
- func (v NullableSourceExternalS3) MarshalJSON() ([]byte, error)
- func (v *NullableSourceExternalS3) Set(val *SourceExternalS3)
- func (v *NullableSourceExternalS3) UnmarshalJSON(src []byte) error
- func (v *NullableSourceExternalS3) Unset()
- type NullableSourceExternalS3Type
- func (v NullableSourceExternalS3Type) Get() *SourceExternalS3Type
- func (v NullableSourceExternalS3Type) IsSet() bool
- func (v NullableSourceExternalS3Type) MarshalJSON() ([]byte, error)
- func (v *NullableSourceExternalS3Type) Set(val *SourceExternalS3Type)
- func (v *NullableSourceExternalS3Type) UnmarshalJSON(src []byte) error
- func (v *NullableSourceExternalS3Type) Unset()
- type NullableState
- type NullableStorage
- type NullableStorageCreate
- func (v NullableStorageCreate) Get() *StorageCreate
- func (v NullableStorageCreate) IsSet() bool
- func (v NullableStorageCreate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageCreate) Set(val *StorageCreate)
- func (v *NullableStorageCreate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageCreate) Unset()
- type NullableStorageUpdate
- func (v NullableStorageUpdate) Get() *StorageUpdate
- func (v NullableStorageUpdate) IsSet() bool
- func (v NullableStorageUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageUpdate) Set(val *StorageUpdate)
- func (v *NullableStorageUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageUpdate) Unset()
- type NullableString
- type NullableTime
- type NullableTriggerRestorePayload
- func (v NullableTriggerRestorePayload) Get() *TriggerRestorePayload
- func (v NullableTriggerRestorePayload) IsSet() bool
- func (v NullableTriggerRestorePayload) MarshalJSON() ([]byte, error)
- func (v *NullableTriggerRestorePayload) Set(val *TriggerRestorePayload)
- func (v *NullableTriggerRestorePayload) UnmarshalJSON(src []byte) error
- func (v *NullableTriggerRestorePayload) Unset()
- type NullableUpdateInstancePartiallyPayload
- func (v NullableUpdateInstancePartiallyPayload) Get() *UpdateInstancePartiallyPayload
- func (v NullableUpdateInstancePartiallyPayload) IsSet() bool
- func (v NullableUpdateInstancePartiallyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePartiallyPayload) Set(val *UpdateInstancePartiallyPayload)
- func (v *NullableUpdateInstancePartiallyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePartiallyPayload) Unset()
- type NullableUpdateInstancePartiallyPayloadNetwork
- func (v NullableUpdateInstancePartiallyPayloadNetwork) Get() *UpdateInstancePartiallyPayloadNetwork
- func (v NullableUpdateInstancePartiallyPayloadNetwork) IsSet() bool
- func (v NullableUpdateInstancePartiallyPayloadNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePartiallyPayloadNetwork) Set(val *UpdateInstancePartiallyPayloadNetwork)
- func (v *NullableUpdateInstancePartiallyPayloadNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePartiallyPayloadNetwork) Unset()
- type NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUpdateInstancePayloadNetwork
- func (v NullableUpdateInstancePayloadNetwork) Get() *UpdateInstancePayloadNetwork
- func (v NullableUpdateInstancePayloadNetwork) IsSet() bool
- func (v NullableUpdateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayloadNetwork) Set(val *UpdateInstancePayloadNetwork)
- func (v *NullableUpdateInstancePayloadNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayloadNetwork) Unset()
- type NullableUserSort
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type NullableValidationErrorValidationInner
- func (v NullableValidationErrorValidationInner) Get() *ValidationErrorValidationInner
- func (v NullableValidationErrorValidationInner) IsSet() bool
- func (v NullableValidationErrorValidationInner) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorValidationInner) Set(val *ValidationErrorValidationInner)
- func (v *NullableValidationErrorValidationInner) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorValidationInner) Unset()
- type NullableVersion
- type Pagination
- func (o *Pagination) GetPage() int64
- func (o *Pagination) GetPageOk() (*int64, bool)
- func (o *Pagination) GetSize() int64
- func (o *Pagination) GetSizeOk() (*int64, bool)
- func (o *Pagination) GetSort() string
- func (o *Pagination) GetSortOk() (*string, bool)
- func (o *Pagination) GetTotalPages() int64
- func (o *Pagination) GetTotalPagesOk() (*int64, bool)
- func (o *Pagination) GetTotalRows() int64
- func (o *Pagination) GetTotalRowsOk() (*int64, bool)
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetPage(v int64)
- func (o *Pagination) SetSize(v int64)
- func (o *Pagination) SetSort(v string)
- func (o *Pagination) SetTotalPages(v int64)
- func (o *Pagination) SetTotalRows(v int64)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- func (o *Pagination) UnmarshalJSON(data []byte) (err error)
- type ProtectInstancePayload
- func (o *ProtectInstancePayload) GetIsDeletable() bool
- func (o *ProtectInstancePayload) GetIsDeletableOk() (*bool, bool)
- func (o ProtectInstancePayload) MarshalJSON() ([]byte, error)
- func (o *ProtectInstancePayload) SetIsDeletable(v bool)
- func (o ProtectInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *ProtectInstancePayload) UnmarshalJSON(data []byte) (err error)
- type ProtectInstanceResponse
- func (o *ProtectInstanceResponse) GetIsDeletable() bool
- func (o *ProtectInstanceResponse) GetIsDeletableOk() (*bool, bool)
- func (o ProtectInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *ProtectInstanceResponse) SetIsDeletable(v bool)
- func (o ProtectInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *ProtectInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type Replicas
- type ResetUserResponse
- func (o *ResetUserResponse) GetPassword() string
- func (o *ResetUserResponse) GetPasswordOk() (*string, bool)
- func (o *ResetUserResponse) GetStatus() string
- func (o *ResetUserResponse) GetStatusOk() (*string, bool)
- func (o *ResetUserResponse) GetUri() string
- func (o *ResetUserResponse) GetUriOk() (*string, bool)
- func (o *ResetUserResponse) GetUsername() string
- func (o *ResetUserResponse) GetUsernameOk() (*string, bool)
- func (o ResetUserResponse) MarshalJSON() ([]byte, error)
- func (o *ResetUserResponse) SetPassword(v string)
- func (o *ResetUserResponse) SetStatus(v string)
- func (o *ResetUserResponse) SetUri(v string)
- func (o *ResetUserResponse) SetUsername(v string)
- func (o ResetUserResponse) ToMap() (map[string]interface{}, error)
- func (o *ResetUserResponse) UnmarshalJSON(data []byte) (err error)
- type RestoreDatabaseFromBackupPayload
- func (o *RestoreDatabaseFromBackupPayload) GetDatabaseName() string
- func (o *RestoreDatabaseFromBackupPayload) GetDatabaseNameOk() (*string, bool)
- func (o *RestoreDatabaseFromBackupPayload) GetSource() RestoreDatabaseFromBackupPayloadSource
- func (o *RestoreDatabaseFromBackupPayload) GetSourceOk() (*RestoreDatabaseFromBackupPayloadSource, bool)
- func (o RestoreDatabaseFromBackupPayload) MarshalJSON() ([]byte, error)
- func (o *RestoreDatabaseFromBackupPayload) SetDatabaseName(v string)
- func (o *RestoreDatabaseFromBackupPayload) SetSource(v RestoreDatabaseFromBackupPayloadSource)
- func (o RestoreDatabaseFromBackupPayload) ToMap() (map[string]interface{}, error)
- func (o *RestoreDatabaseFromBackupPayload) UnmarshalJSON(data []byte) (err error)
- type RestoreDatabaseFromBackupPayloadSource
- func (obj *RestoreDatabaseFromBackupPayloadSource) GetActualInstance() interface{}
- func (obj RestoreDatabaseFromBackupPayloadSource) GetActualInstanceValue() interface{}
- func (src RestoreDatabaseFromBackupPayloadSource) MarshalJSON() ([]byte, error)
- func (dst *RestoreDatabaseFromBackupPayloadSource) UnmarshalJSON(data []byte) error
- type S3fileInfo
- func (o *S3fileInfo) GetFileNumber() int32
- func (o *S3fileInfo) GetFileNumberOk() (*int32, bool)
- func (o *S3fileInfo) GetFilePath() string
- func (o *S3fileInfo) GetFilePathOk() (*string, bool)
- func (o *S3fileInfo) HasFileNumber() bool
- func (o *S3fileInfo) HasFilePath() bool
- func (o S3fileInfo) MarshalJSON() ([]byte, error)
- func (o *S3fileInfo) SetFileNumber(v int32)
- func (o *S3fileInfo) SetFilePath(v string)
- func (o S3fileInfo) ToMap() (map[string]interface{}, error)
- func (o *S3fileInfo) UnmarshalJSON(data []byte) (err error)
- type SourceBackup
- func (o *SourceBackup) GetType() SourceBackupType
- func (o *SourceBackup) GetTypeOk() (*SourceBackupType, bool)
- func (o SourceBackup) MarshalJSON() ([]byte, error)
- func (o *SourceBackup) SetType(v SourceBackupType)
- func (o SourceBackup) ToMap() (map[string]interface{}, error)
- func (o *SourceBackup) UnmarshalJSON(data []byte) (err error)
- type SourceBackupType
- type SourceExternalS3
- func (o *SourceExternalS3) GetDatabaseOwner() string
- func (o *SourceExternalS3) GetDatabaseOwnerOk() (*string, bool)
- func (o *SourceExternalS3) GetLoggingGuid() string
- func (o *SourceExternalS3) GetLoggingGuidOk() (*string, bool)
- func (o *SourceExternalS3) GetS3Details() ExternalS3
- func (o *SourceExternalS3) GetS3DetailsOk() (*ExternalS3, bool)
- func (o *SourceExternalS3) GetType() SourceExternalS3Type
- func (o *SourceExternalS3) GetTypeOk() (*SourceExternalS3Type, bool)
- func (o *SourceExternalS3) HasLoggingGuid() bool
- func (o SourceExternalS3) MarshalJSON() ([]byte, error)
- func (o *SourceExternalS3) SetDatabaseOwner(v string)
- func (o *SourceExternalS3) SetLoggingGuid(v string)
- func (o *SourceExternalS3) SetS3Details(v ExternalS3)
- func (o *SourceExternalS3) SetType(v SourceExternalS3Type)
- func (o SourceExternalS3) ToMap() (map[string]interface{}, error)
- func (o *SourceExternalS3) UnmarshalJSON(data []byte) (err error)
- type SourceExternalS3Type
- type State
- type Storage
- func (o *Storage) GetClass() string
- func (o *Storage) GetClassOk() (*string, bool)
- func (o *Storage) GetSize() int64
- func (o *Storage) GetSizeOk() (*int64, 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 int64)
- func (o Storage) ToMap() (map[string]interface{}, error)
- func (o *Storage) UnmarshalJSON(data []byte) (err error)
- type StorageCreate
- func (o *StorageCreate) GetClass() string
- func (o *StorageCreate) GetClassOk() (*string, bool)
- func (o *StorageCreate) GetSize() int64
- func (o *StorageCreate) GetSizeOk() (*int64, bool)
- func (o StorageCreate) MarshalJSON() ([]byte, error)
- func (o *StorageCreate) SetClass(v string)
- func (o *StorageCreate) SetSize(v int64)
- func (o StorageCreate) ToMap() (map[string]interface{}, error)
- func (o *StorageCreate) UnmarshalJSON(data []byte) (err error)
- type StorageUpdate
- func (o *StorageUpdate) GetSize() int64
- func (o *StorageUpdate) GetSizeOk() (*int64, bool)
- func (o *StorageUpdate) HasSize() bool
- func (o StorageUpdate) MarshalJSON() ([]byte, error)
- func (o *StorageUpdate) SetSize(v int64)
- func (o StorageUpdate) ToMap() (map[string]interface{}, error)
- func (o *StorageUpdate) UnmarshalJSON(data []byte) (err error)
- type TriggerRestorePayload
- func (o *TriggerRestorePayload) GetName() string
- func (o *TriggerRestorePayload) GetNameOk() (*string, bool)
- func (o *TriggerRestorePayload) GetRestoreDateTime() string
- func (o *TriggerRestorePayload) GetRestoreDateTimeOk() (*string, bool)
- func (o TriggerRestorePayload) MarshalJSON() ([]byte, error)
- func (o *TriggerRestorePayload) SetName(v string)
- func (o *TriggerRestorePayload) SetRestoreDateTime(v string)
- func (o TriggerRestorePayload) ToMap() (map[string]interface{}, error)
- func (o *TriggerRestorePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstancePartiallyPayload
- func (o *UpdateInstancePartiallyPayload) GetBackupSchedule() string
- func (o *UpdateInstancePartiallyPayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateInstancePartiallyPayload) GetFlavorId() string
- func (o *UpdateInstancePartiallyPayload) GetFlavorIdOk() (*string, bool)
- func (o *UpdateInstancePartiallyPayload) GetLabels() map[string]string
- func (o *UpdateInstancePartiallyPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateInstancePartiallyPayload) GetName() string
- func (o *UpdateInstancePartiallyPayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePartiallyPayload) GetNetwork() UpdateInstancePartiallyPayloadNetwork
- func (o *UpdateInstancePartiallyPayload) GetNetworkOk() (*UpdateInstancePartiallyPayloadNetwork, bool)
- func (o *UpdateInstancePartiallyPayload) GetRetentionDays() int32
- func (o *UpdateInstancePartiallyPayload) GetRetentionDaysOk() (*int32, bool)
- func (o *UpdateInstancePartiallyPayload) GetStorage() StorageUpdate
- func (o *UpdateInstancePartiallyPayload) GetStorageOk() (*StorageUpdate, bool)
- func (o *UpdateInstancePartiallyPayload) GetVersion() InstanceVersionOpt
- func (o *UpdateInstancePartiallyPayload) GetVersionOk() (*InstanceVersionOpt, bool)
- func (o *UpdateInstancePartiallyPayload) HasBackupSchedule() bool
- func (o *UpdateInstancePartiallyPayload) HasFlavorId() bool
- func (o *UpdateInstancePartiallyPayload) HasLabels() bool
- func (o *UpdateInstancePartiallyPayload) HasName() bool
- func (o *UpdateInstancePartiallyPayload) HasNetwork() bool
- func (o *UpdateInstancePartiallyPayload) HasRetentionDays() bool
- func (o *UpdateInstancePartiallyPayload) HasStorage() bool
- func (o *UpdateInstancePartiallyPayload) HasVersion() bool
- func (o UpdateInstancePartiallyPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePartiallyPayload) SetBackupSchedule(v string)
- func (o *UpdateInstancePartiallyPayload) SetFlavorId(v string)
- func (o *UpdateInstancePartiallyPayload) SetLabels(v map[string]string)
- func (o *UpdateInstancePartiallyPayload) SetName(v string)
- func (o *UpdateInstancePartiallyPayload) SetNetwork(v UpdateInstancePartiallyPayloadNetwork)
- func (o *UpdateInstancePartiallyPayload) SetRetentionDays(v int32)
- func (o *UpdateInstancePartiallyPayload) SetStorage(v StorageUpdate)
- func (o *UpdateInstancePartiallyPayload) SetVersion(v InstanceVersionOpt)
- func (o UpdateInstancePartiallyPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePartiallyPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstancePartiallyPayloadNetwork
- func (o *UpdateInstancePartiallyPayloadNetwork) GetAcl() []string
- func (o *UpdateInstancePartiallyPayloadNetwork) GetAclOk() ([]string, bool)
- func (o *UpdateInstancePartiallyPayloadNetwork) HasAcl() bool
- func (o UpdateInstancePartiallyPayloadNetwork) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePartiallyPayloadNetwork) SetAcl(v []string)
- func (o UpdateInstancePartiallyPayloadNetwork) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePartiallyPayloadNetwork) UnmarshalJSON(data []byte) (err error)
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetBackupSchedule() string
- func (o *UpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateInstancePayload) GetFlavorId() string
- func (o *UpdateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *UpdateInstancePayload) GetLabels() map[string]string
- func (o *UpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateInstancePayload) GetName() string
- func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePayload) GetNetwork() UpdateInstancePayloadNetwork
- func (o *UpdateInstancePayload) GetNetworkOk() (*UpdateInstancePayloadNetwork, bool)
- func (o *UpdateInstancePayload) GetRetentionDays() int32
- func (o *UpdateInstancePayload) GetRetentionDaysOk() (*int32, bool)
- func (o *UpdateInstancePayload) GetStorage() StorageUpdate
- func (o *UpdateInstancePayload) GetStorageOk() (*StorageUpdate, bool)
- func (o *UpdateInstancePayload) GetVersion() InstanceVersion
- func (o *UpdateInstancePayload) GetVersionOk() (*InstanceVersion, bool)
- func (o *UpdateInstancePayload) HasLabels() bool
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetBackupSchedule(v string)
- func (o *UpdateInstancePayload) SetFlavorId(v string)
- func (o *UpdateInstancePayload) SetLabels(v map[string]string)
- func (o *UpdateInstancePayload) SetName(v string)
- func (o *UpdateInstancePayload) SetNetwork(v UpdateInstancePayloadNetwork)
- func (o *UpdateInstancePayload) SetRetentionDays(v int32)
- func (o *UpdateInstancePayload) SetStorage(v StorageUpdate)
- func (o *UpdateInstancePayload) SetVersion(v InstanceVersion)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstancePayloadNetwork
- func (o *UpdateInstancePayloadNetwork) GetAcl() []string
- func (o *UpdateInstancePayloadNetwork) GetAclOk() ([]string, bool)
- func (o UpdateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayloadNetwork) SetAcl(v []string)
- func (o UpdateInstancePayloadNetwork) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePayloadNetwork) UnmarshalJSON(data []byte) (err error)
- type UserSort
- type ValidationError
- func (o *ValidationError) GetCode() int32
- func (o *ValidationError) GetCodeOk() (*int32, bool)
- func (o *ValidationError) GetValidation() []ValidationErrorValidationInner
- func (o *ValidationError) GetValidationOk() ([]ValidationErrorValidationInner, bool)
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetCode(v int32)
- func (o *ValidationError) SetValidation(v []ValidationErrorValidationInner)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
- func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
- type ValidationErrorValidationInner
- func (o *ValidationErrorValidationInner) GetField() string
- func (o *ValidationErrorValidationInner) GetFieldOk() (*string, bool)
- func (o *ValidationErrorValidationInner) GetMessage() string
- func (o *ValidationErrorValidationInner) GetMessageOk() (*string, bool)
- func (o ValidationErrorValidationInner) MarshalJSON() ([]byte, error)
- func (o *ValidationErrorValidationInner) SetField(v string)
- func (o *ValidationErrorValidationInner) SetMessage(v string)
- func (o ValidationErrorValidationInner) ToMap() (map[string]interface{}, error)
- func (o *ValidationErrorValidationInner) UnmarshalJSON(data []byte) (err error)
- type Version
- func (o *Version) GetBeta() bool
- func (o *Version) GetBetaOk() (*bool, bool)
- func (o *Version) GetDeprecated() string
- func (o *Version) GetDeprecatedOk() (*string, bool)
- func (o *Version) GetRecommend() bool
- func (o *Version) GetRecommendOk() (*bool, bool)
- func (o *Version) GetVersion() string
- func (o *Version) GetVersionOk() (*string, bool)
- func (o Version) MarshalJSON() ([]byte, error)
- func (o *Version) SetBeta(v bool)
- func (o *Version) SetDeprecated(v string)
- func (o *Version) SetRecommend(v bool)
- func (o *Version) SetVersion(v string)
- func (o Version) ToMap() (map[string]interface{}, error)
- func (o *Version) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedBackupSortEnumValues = []BackupSort{
"end_time.desc",
"end_time.asc",
"index.desc",
"index.asc",
"name.desc",
"name.asc",
"retained_until.desc",
"retained_until.asc",
"size.desc",
"size.asc",
"type.desc",
"type.asc",
"unknown_default_open_api",
}
All allowed values of BackupSort enum
var AllowedDatabaseSortEnumValues = []DatabaseSort{
"created_at.desc",
"created_at.asc",
"database_id.desc",
"database_id.asc",
"database_name.desc",
"database_name.asc",
"database_owner.desc",
"database_owner.asc",
"index.asc",
"index.desc",
"unknown_default_open_api",
}
All allowed values of DatabaseSort enum
var AllowedFlavorSortEnumValues = []FlavorSort{
"index.desc",
"index.asc",
"cpu.desc",
"cpu.asc",
"flavor_description.asc",
"flavor_description.desc",
"id.desc",
"id.asc",
"size_max.desc",
"size_max.asc",
"ram.desc",
"ram.asc",
"size_min.desc",
"size_min.asc",
"storage_class.asc",
"storage_class.desc",
"node_type.asc",
"node_type.desc",
"unknown_default_open_api",
}
All allowed values of FlavorSort enum
var AllowedInstanceEditionEnumValues = []InstanceEdition{
"Standard",
"EnterpriseCore",
"developer",
"unknown_default_open_api",
}
All allowed values of InstanceEdition enum
var AllowedInstanceNetworkAccessScopeEnumValues = []InstanceNetworkAccessScope{
"PUBLIC",
"SNA",
"unknown_default_open_api",
}
All allowed values of InstanceNetworkAccessScope enum
var AllowedInstanceSortEnumValues = []InstanceSort{
"index.desc",
"index.asc",
"id.desc",
"id.asc",
"is_deletable.desc",
"is_deletable.asc",
"name.asc",
"name.desc",
"state.asc",
"state.desc",
"unknown_default_open_api",
}
All allowed values of InstanceSort enum
var AllowedInstanceVersionEnumValues = []InstanceVersion{
"2022",
"unknown_default_open_api",
}
All allowed values of InstanceVersion enum
var AllowedInstanceVersionOptEnumValues = []InstanceVersionOpt{
"2022",
"unknown_default_open_api",
}
All allowed values of InstanceVersionOpt enum
var AllowedReplicasEnumValues = []Replicas{
1,
3,
11184809,
}
All allowed values of Replicas enum
var AllowedSourceBackupTypeEnumValues = []SourceBackupType{
"BACKUP",
"unknown_default_open_api",
}
All allowed values of SourceBackupType enum
var AllowedSourceExternalS3TypeEnumValues = []SourceExternalS3Type{
"EXTERNAL_S3",
"unknown_default_open_api",
}
All allowed values of SourceExternalS3Type enum
var AllowedStateEnumValues = []State{
"READY",
"PENDING",
"PROGRESSING",
"FAILURE",
"UNKNOWN",
"TERMINATING",
"unknown_default_open_api",
}
All allowed values of State enum
var AllowedUserSortEnumValues = []UserSort{
"id.asc",
"id.desc",
"index.desc",
"index.asc",
"name.desc",
"name.asc",
"status.desc",
"status.asc",
"unknown_default_open_api",
}
All allowed values of UserSort enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT MSSQL Service API API v3beta2 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
The request body containing the information for the new database.
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
The request body with the parameters for the instance creation. Every parameter is required.
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 containing the user details.
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 ApiGetCollationsRequest ¶
type ApiGetCollationsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetCollationsRequest) Execute ¶
func (r ApiGetCollationsRequest) Execute() (*GetCollationsResponse, error)
type ApiGetDatabaseRequest ¶
type ApiGetDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetDatabaseRequest) Execute ¶
func (r ApiGetDatabaseRequest) Execute() (*GetDatabaseResponse, error)
type ApiGetFlavorsRequest ¶
type ApiGetFlavorsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetFlavorsRequest) Execute ¶
func (r ApiGetFlavorsRequest) Execute() (*GetFlavorsResponse, error)
func (ApiGetFlavorsRequest) Page ¶
func (r ApiGetFlavorsRequest) Page(page int64) ApiGetFlavorsRequest
Number of the page of items list to be returned.
func (ApiGetFlavorsRequest) Size ¶
func (r ApiGetFlavorsRequest) Size(size int64) ApiGetFlavorsRequest
Number of items to be returned on each page.
func (ApiGetFlavorsRequest) Sort ¶
func (r ApiGetFlavorsRequest) Sort(sort FlavorSort) ApiGetFlavorsRequest
Sorting of the flavors to be returned on each page.
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*GetInstanceResponse, error)
type ApiGetStoragesRequest ¶
type ApiGetStoragesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetStoragesRequest) Execute ¶
func (r ApiGetStoragesRequest) Execute() (*GetStoragesResponse, error)
type ApiGetUserRequest ¶
type ApiGetUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*GetUserResponse, error)
type ApiGetVersionsRequest ¶
type ApiGetVersionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVersionsRequest) Execute ¶
func (r ApiGetVersionsRequest) Execute() (*GetVersionsResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*ListBackupResponse, error)
func (ApiListBackupsRequest) Page ¶
func (r ApiListBackupsRequest) Page(page int64) ApiListBackupsRequest
Number of the page of items list to be returned.
func (ApiListBackupsRequest) Size ¶
func (r ApiListBackupsRequest) Size(size int64) ApiListBackupsRequest
Number of items to be returned on each page.
func (ApiListBackupsRequest) Sort ¶
func (r ApiListBackupsRequest) Sort(sort BackupSort) ApiListBackupsRequest
Sorting of the backups to be returned on each page.
type ApiListCompatibilitiesRequest ¶
type ApiListCompatibilitiesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCompatibilitiesRequest) Execute ¶
func (r ApiListCompatibilitiesRequest) Execute() (*ListCompatibilityResponse, error)
type ApiListCurrentRunningRestoreJobsRequest ¶
type ApiListCurrentRunningRestoreJobsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCurrentRunningRestoreJobsRequest) Execute ¶
func (r ApiListCurrentRunningRestoreJobsRequest) Execute() (*ListCurrentRunningRestoreJobs, error)
type ApiListDatabasesRequest ¶
type ApiListDatabasesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListDatabasesRequest) Execute ¶
func (r ApiListDatabasesRequest) Execute() (*ListDatabasesResponse, error)
func (ApiListDatabasesRequest) Page ¶
func (r ApiListDatabasesRequest) Page(page int64) ApiListDatabasesRequest
Number of the page of items list to be returned.
func (ApiListDatabasesRequest) Size ¶
func (r ApiListDatabasesRequest) Size(size int64) ApiListDatabasesRequest
Number of items to be returned on each page.
func (ApiListDatabasesRequest) Sort ¶
func (r ApiListDatabasesRequest) Sort(sort DatabaseSort) ApiListDatabasesRequest
Sorting of the databases to be returned on each page.
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
func (ApiListInstancesRequest) Page ¶
func (r ApiListInstancesRequest) Page(page int64) ApiListInstancesRequest
Number of the page of items list to be returned.
func (ApiListInstancesRequest) Size ¶
func (r ApiListInstancesRequest) Size(size int64) ApiListInstancesRequest
Number of items to be returned on each page.
func (ApiListInstancesRequest) Sort ¶
func (r ApiListInstancesRequest) Sort(sort InstanceSort) ApiListInstancesRequest
Sorting of the items to be returned on each page.
type ApiListRolesRequest ¶
type ApiListRolesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() (*ListRolesResponse, error)
type ApiListUsersRequest ¶
type ApiListUsersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*ListUserResponse, error)
func (ApiListUsersRequest) Page ¶
func (r ApiListUsersRequest) Page(page int64) ApiListUsersRequest
Number of the page of items list to be returned.
func (ApiListUsersRequest) Size ¶
func (r ApiListUsersRequest) Size(size int64) ApiListUsersRequest
Number of items to be returned on each page.
func (ApiListUsersRequest) Sort ¶
func (r ApiListUsersRequest) Sort(sort UserSort) ApiListUsersRequest
Sorting of the users to be returned on each page.
type ApiProtectInstanceRequest ¶
type ApiProtectInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiProtectInstanceRequest) Execute ¶
func (r ApiProtectInstanceRequest) Execute() (*ProtectInstanceResponse, error)
func (ApiProtectInstanceRequest) ProtectInstancePayload ¶
func (r ApiProtectInstanceRequest) ProtectInstancePayload(protectInstancePayload ProtectInstancePayload) ApiProtectInstanceRequest
The request body with flag isDeletable. Parameter is required.
type ApiResetUserRequest ¶
type ApiResetUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiResetUserRequest) Execute ¶
func (r ApiResetUserRequest) Execute() (*ResetUserResponse, error)
type ApiRestoreDatabaseFromBackupRequest ¶
type ApiRestoreDatabaseFromBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRestoreDatabaseFromBackupRequest) Execute ¶
func (r ApiRestoreDatabaseFromBackupRequest) Execute() error
func (ApiRestoreDatabaseFromBackupRequest) RestoreDatabaseFromBackupPayload ¶
func (r ApiRestoreDatabaseFromBackupRequest) RestoreDatabaseFromBackupPayload(restoreDatabaseFromBackupPayload RestoreDatabaseFromBackupPayload) ApiRestoreDatabaseFromBackupRequest
The restore operation payload.
type ApiTriggerBackupRequest ¶
type ApiTriggerBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerBackupRequest) Execute ¶
func (r ApiTriggerBackupRequest) Execute() error
type ApiTriggerRestoreRequest ¶
type ApiTriggerRestoreRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerRestoreRequest) Execute ¶
func (r ApiTriggerRestoreRequest) Execute() error
func (ApiTriggerRestoreRequest) TriggerRestorePayload ¶
func (r ApiTriggerRestoreRequest) TriggerRestorePayload(triggerRestorePayload TriggerRestorePayload) ApiTriggerRestoreRequest
The request body with the parameters for the database restore.
type ApiUpdateInstancePartiallyRequest ¶
type ApiUpdateInstancePartiallyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstancePartiallyRequest) Execute ¶
func (r ApiUpdateInstancePartiallyRequest) Execute() error
func (ApiUpdateInstancePartiallyRequest) UpdateInstancePartiallyPayload ¶
func (r ApiUpdateInstancePartiallyRequest) UpdateInstancePartiallyPayload(updateInstancePartiallyPayload UpdateInstancePartiallyPayload) ApiUpdateInstancePartiallyRequest
The request body with the parameters for updating the instance.
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() error
func (ApiUpdateInstanceRequest) UpdateInstancePayload ¶
func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
The request body with the parameters for updating the instance
type BackupRunningRestore ¶
type BackupRunningRestore struct {
// the command that was executed
Command string `json:"command"`
// the name of the database that is being restored
DatabaseName string `json:"database_name"`
// the projected time when the restore should be completed
EstimatedCompletionTime string `json:"estimated_completion_time"`
// the percentage of the current running restore job
PercentComplete int32 `json:"percent_complete"`
// the start time of the current running restore job
StartTime string `json:"start_time"`
AdditionalProperties map[string]interface{}
}
BackupRunningRestore struct for BackupRunningRestore
func NewBackupRunningRestore ¶
func NewBackupRunningRestore(command string, databaseName string, estimatedCompletionTime string, percentComplete int32, startTime string) *BackupRunningRestore
NewBackupRunningRestore instantiates a new BackupRunningRestore 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 NewBackupRunningRestoreWithDefaults ¶
func NewBackupRunningRestoreWithDefaults() *BackupRunningRestore
NewBackupRunningRestoreWithDefaults instantiates a new BackupRunningRestore 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 (*BackupRunningRestore) GetCommand ¶
func (o *BackupRunningRestore) GetCommand() string
GetCommand returns the Command field value
func (*BackupRunningRestore) GetCommandOk ¶
func (o *BackupRunningRestore) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value and a boolean to check if the value has been set.
func (*BackupRunningRestore) GetDatabaseName ¶
func (o *BackupRunningRestore) GetDatabaseName() string
GetDatabaseName returns the DatabaseName field value
func (*BackupRunningRestore) GetDatabaseNameOk ¶
func (o *BackupRunningRestore) GetDatabaseNameOk() (*string, bool)
GetDatabaseNameOk returns a tuple with the DatabaseName field value and a boolean to check if the value has been set.
func (*BackupRunningRestore) GetEstimatedCompletionTime ¶
func (o *BackupRunningRestore) GetEstimatedCompletionTime() string
GetEstimatedCompletionTime returns the EstimatedCompletionTime field value
func (*BackupRunningRestore) GetEstimatedCompletionTimeOk ¶
func (o *BackupRunningRestore) GetEstimatedCompletionTimeOk() (*string, bool)
GetEstimatedCompletionTimeOk returns a tuple with the EstimatedCompletionTime field value and a boolean to check if the value has been set.
func (*BackupRunningRestore) GetPercentComplete ¶
func (o *BackupRunningRestore) GetPercentComplete() int32
GetPercentComplete returns the PercentComplete field value
func (*BackupRunningRestore) GetPercentCompleteOk ¶
func (o *BackupRunningRestore) GetPercentCompleteOk() (*int32, bool)
GetPercentCompleteOk returns a tuple with the PercentComplete field value and a boolean to check if the value has been set.
func (*BackupRunningRestore) GetStartTime ¶
func (o *BackupRunningRestore) GetStartTime() string
GetStartTime returns the StartTime field value
func (*BackupRunningRestore) GetStartTimeOk ¶
func (o *BackupRunningRestore) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (BackupRunningRestore) MarshalJSON ¶
func (o BackupRunningRestore) MarshalJSON() ([]byte, error)
func (*BackupRunningRestore) SetCommand ¶
func (o *BackupRunningRestore) SetCommand(v string)
SetCommand sets field value
func (*BackupRunningRestore) SetDatabaseName ¶
func (o *BackupRunningRestore) SetDatabaseName(v string)
SetDatabaseName sets field value
func (*BackupRunningRestore) SetEstimatedCompletionTime ¶
func (o *BackupRunningRestore) SetEstimatedCompletionTime(v string)
SetEstimatedCompletionTime sets field value
func (*BackupRunningRestore) SetPercentComplete ¶
func (o *BackupRunningRestore) SetPercentComplete(v int32)
SetPercentComplete sets field value
func (*BackupRunningRestore) SetStartTime ¶
func (o *BackupRunningRestore) SetStartTime(v string)
SetStartTime sets field value
func (BackupRunningRestore) ToMap ¶
func (o BackupRunningRestore) ToMap() (map[string]interface{}, error)
func (*BackupRunningRestore) UnmarshalJSON ¶
func (o *BackupRunningRestore) UnmarshalJSON(data []byte) (err error)
type BackupSort ¶
type BackupSort string
BackupSort the model 'BackupSort'
const ( BACKUPSORT_END_TIME_DESC BackupSort = "end_time.desc" BACKUPSORT_END_TIME_ASC BackupSort = "end_time.asc" BACKUPSORT_INDEX_DESC BackupSort = "index.desc" BACKUPSORT_INDEX_ASC BackupSort = "index.asc" BACKUPSORT_NAME_DESC BackupSort = "name.desc" BACKUPSORT_NAME_ASC BackupSort = "name.asc" BACKUPSORT_RETAINED_UNTIL_DESC BackupSort = "retained_until.desc" BACKUPSORT_RETAINED_UNTIL_ASC BackupSort = "retained_until.asc" BACKUPSORT_SIZE_DESC BackupSort = "size.desc" BACKUPSORT_SIZE_ASC BackupSort = "size.asc" BACKUPSORT_TYPE_DESC BackupSort = "type.desc" BACKUPSORT_TYPE_ASC BackupSort = "type.asc" BACKUPSORT_UNKNOWN_DEFAULT_OPEN_API BackupSort = "unknown_default_open_api" )
List of backup.sort
func NewBackupSortFromValue ¶
func NewBackupSortFromValue(v string) (*BackupSort, error)
NewBackupSortFromValue returns a pointer to a valid BackupSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BackupSort) IsValid ¶
func (v BackupSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BackupSort) Ptr ¶
func (v BackupSort) Ptr() *BackupSort
Ptr returns reference to backup.sort value
func (*BackupSort) UnmarshalJSON ¶
func (v *BackupSort) UnmarshalJSON(src []byte) error
type CreateDatabasePayload ¶
type CreateDatabasePayload struct {
// The collation of the database. This database collation should match the *collation_name* of one of the collations given by the **Get database collation list** endpoint.
Collation *string `json:"collation,omitempty"`
// CompatibilityLevel of the Database.
Compatibility *int32 `json:"compatibility,omitempty"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
AdditionalProperties map[string]interface{}
}
CreateDatabasePayload struct for CreateDatabasePayload
func NewCreateDatabasePayload ¶
func NewCreateDatabasePayload(name string, owner string) *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) GetCollation ¶
func (o *CreateDatabasePayload) GetCollation() string
GetCollation returns the Collation field value if set, zero value otherwise.
func (*CreateDatabasePayload) GetCollationOk ¶
func (o *CreateDatabasePayload) 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 (*CreateDatabasePayload) GetCompatibility ¶
func (o *CreateDatabasePayload) GetCompatibility() int32
GetCompatibility returns the Compatibility field value if set, zero value otherwise.
func (*CreateDatabasePayload) GetCompatibilityOk ¶
func (o *CreateDatabasePayload) GetCompatibilityOk() (*int32, bool)
GetCompatibilityOk returns a tuple with the Compatibility field value if set, nil otherwise and a boolean to check if the value has been 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) GetOwner ¶
func (o *CreateDatabasePayload) GetOwner() string
GetOwner returns the Owner field value
func (*CreateDatabasePayload) GetOwnerOk ¶
func (o *CreateDatabasePayload) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (*CreateDatabasePayload) HasCollation ¶
func (o *CreateDatabasePayload) HasCollation() bool
HasCollation returns a boolean if a field has been set.
func (*CreateDatabasePayload) HasCompatibility ¶
func (o *CreateDatabasePayload) HasCompatibility() bool
HasCompatibility returns a boolean if a field has been set.
func (CreateDatabasePayload) MarshalJSON ¶
func (o CreateDatabasePayload) MarshalJSON() ([]byte, error)
func (*CreateDatabasePayload) SetCollation ¶
func (o *CreateDatabasePayload) SetCollation(v string)
SetCollation gets a reference to the given string and assigns it to the Collation field.
func (*CreateDatabasePayload) SetCompatibility ¶
func (o *CreateDatabasePayload) SetCompatibility(v int32)
SetCompatibility gets a reference to the given int32 and assigns it to the Compatibility field.
func (*CreateDatabasePayload) SetName ¶
func (o *CreateDatabasePayload) SetName(v string)
SetName sets field value
func (*CreateDatabasePayload) SetOwner ¶
func (o *CreateDatabasePayload) SetOwner(v string)
SetOwner 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 {
// The id of the database.
Id int64 `json:"id"`
AdditionalProperties map[string]interface{}
}
CreateDatabaseResponse struct for CreateDatabaseResponse
func NewCreateDatabaseResponse ¶
func NewCreateDatabaseResponse(id int64) *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() int64
GetId returns the Id field value
func (*CreateDatabaseResponse) GetIdOk ¶
func (o *CreateDatabaseResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CreateDatabaseResponse) MarshalJSON ¶
func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*CreateDatabaseResponse) SetId ¶
func (o *CreateDatabaseResponse) SetId(v int64)
SetId sets field value
func (CreateDatabaseResponse) ToMap ¶
func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
func (*CreateDatabaseResponse) UnmarshalJSON ¶
func (o *CreateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
type CreateInstancePayload ¶
type CreateInstancePayload struct {
// The schedule for on what time and how often the database backup will be created. The schedule is written as a cron schedule.
BackupSchedule string `json:"backupSchedule"`
Encryption *InstanceEncryption `json:"encryption,omitempty"`
// The id of the instance flavor.
FlavorId string `json:"flavorId"`
// A dictionary of user-defined key-value pairs used to categorize or organize the resource. **Rules for Keys:** * Must be between 1 and 63 characters long. * Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$` * **Restriction:** The prefix `stackit-` is strictly reserved and cannot be used. **Rules for Values:** * Must be between 0 (empty string) and 63 characters long. * If not empty, must begin and end with an alphanumeric character. * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name string `json:"name"`
Network CreateInstancePayloadNetwork `json:"network"`
// The days for how long the backup files should be stored before cleaned up. 30 to 90
RetentionDays int32 `json:"retentionDays"`
Storage StorageCreate `json:"storage"`
Version InstanceVersion `json:"version"`
AdditionalProperties map[string]interface{}
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶
func NewCreateInstancePayload(backupSchedule string, flavorId string, name string, network CreateInstancePayloadNetwork, retentionDays int32, storage StorageCreate, version InstanceVersion) *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) GetBackupSchedule ¶
func (o *CreateInstancePayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*CreateInstancePayload) GetBackupScheduleOk ¶
func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetEncryption ¶
func (o *CreateInstancePayload) GetEncryption() InstanceEncryption
GetEncryption returns the Encryption field value if set, zero value otherwise.
func (*CreateInstancePayload) GetEncryptionOk ¶
func (o *CreateInstancePayload) GetEncryptionOk() (*InstanceEncryption, bool)
GetEncryptionOk returns a tuple with the Encryption 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]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateInstancePayload) GetLabelsOk ¶
func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶
func (o *CreateInstancePayload) GetName() string
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶
func (o *CreateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetNetwork ¶
func (o *CreateInstancePayload) GetNetwork() CreateInstancePayloadNetwork
GetNetwork returns the Network field value
func (*CreateInstancePayload) GetNetworkOk ¶
func (o *CreateInstancePayload) GetNetworkOk() (*CreateInstancePayloadNetwork, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetRetentionDays ¶
func (o *CreateInstancePayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value
func (*CreateInstancePayload) GetRetentionDaysOk ¶
func (o *CreateInstancePayload) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetStorage ¶
func (o *CreateInstancePayload) GetStorage() StorageCreate
GetStorage returns the Storage field value
func (*CreateInstancePayload) GetStorageOk ¶
func (o *CreateInstancePayload) GetStorageOk() (*StorageCreate, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetVersion ¶
func (o *CreateInstancePayload) GetVersion() InstanceVersion
GetVersion returns the Version field value
func (*CreateInstancePayload) GetVersionOk ¶
func (o *CreateInstancePayload) GetVersionOk() (*InstanceVersion, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasEncryption ¶
func (o *CreateInstancePayload) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (*CreateInstancePayload) HasLabels ¶
func (o *CreateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateInstancePayload) MarshalJSON ¶
func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
func (*CreateInstancePayload) SetBackupSchedule ¶
func (o *CreateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*CreateInstancePayload) SetEncryption ¶
func (o *CreateInstancePayload) SetEncryption(v InstanceEncryption)
SetEncryption gets a reference to the given InstanceEncryption and assigns it to the Encryption field.
func (*CreateInstancePayload) SetFlavorId ¶
func (o *CreateInstancePayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*CreateInstancePayload) SetLabels ¶
func (o *CreateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateInstancePayload) SetName ¶
func (o *CreateInstancePayload) SetName(v string)
SetName sets field value
func (*CreateInstancePayload) SetNetwork ¶
func (o *CreateInstancePayload) SetNetwork(v CreateInstancePayloadNetwork)
SetNetwork sets field value
func (*CreateInstancePayload) SetRetentionDays ¶
func (o *CreateInstancePayload) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*CreateInstancePayload) SetStorage ¶
func (o *CreateInstancePayload) SetStorage(v StorageCreate)
SetStorage sets field value
func (*CreateInstancePayload) SetVersion ¶
func (o *CreateInstancePayload) SetVersion(v InstanceVersion)
SetVersion sets field value
func (CreateInstancePayload) ToMap ¶
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
func (*CreateInstancePayload) UnmarshalJSON ¶
func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
type CreateInstancePayloadNetwork ¶
type CreateInstancePayloadNetwork struct {
AccessScope *InstanceNetworkAccessScope `json:"accessScope,omitempty"`
// List of IPV4 cidr.
Acl []string `json:"acl"`
AdditionalProperties map[string]interface{}
}
CreateInstancePayloadNetwork the network configuration of the instance.
func NewCreateInstancePayloadNetwork ¶
func NewCreateInstancePayloadNetwork(acl []string) *CreateInstancePayloadNetwork
NewCreateInstancePayloadNetwork instantiates a new CreateInstancePayloadNetwork 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 NewCreateInstancePayloadNetworkWithDefaults ¶
func NewCreateInstancePayloadNetworkWithDefaults() *CreateInstancePayloadNetwork
NewCreateInstancePayloadNetworkWithDefaults instantiates a new CreateInstancePayloadNetwork 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 (*CreateInstancePayloadNetwork) GetAccessScope ¶
func (o *CreateInstancePayloadNetwork) GetAccessScope() InstanceNetworkAccessScope
GetAccessScope returns the AccessScope field value if set, zero value otherwise.
func (*CreateInstancePayloadNetwork) GetAccessScopeOk ¶
func (o *CreateInstancePayloadNetwork) GetAccessScopeOk() (*InstanceNetworkAccessScope, bool)
GetAccessScopeOk returns a tuple with the AccessScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayloadNetwork) GetAcl ¶
func (o *CreateInstancePayloadNetwork) GetAcl() []string
GetAcl returns the Acl field value
func (*CreateInstancePayloadNetwork) GetAclOk ¶
func (o *CreateInstancePayloadNetwork) GetAclOk() ([]string, bool)
GetAclOk returns a tuple with the Acl field value and a boolean to check if the value has been set.
func (*CreateInstancePayloadNetwork) HasAccessScope ¶
func (o *CreateInstancePayloadNetwork) HasAccessScope() bool
HasAccessScope returns a boolean if a field has been set.
func (CreateInstancePayloadNetwork) MarshalJSON ¶
func (o CreateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
func (*CreateInstancePayloadNetwork) SetAccessScope ¶
func (o *CreateInstancePayloadNetwork) SetAccessScope(v InstanceNetworkAccessScope)
SetAccessScope gets a reference to the given InstanceNetworkAccessScope and assigns it to the AccessScope field.
func (*CreateInstancePayloadNetwork) SetAcl ¶
func (o *CreateInstancePayloadNetwork) SetAcl(v []string)
SetAcl sets field value
func (CreateInstancePayloadNetwork) ToMap ¶
func (o CreateInstancePayloadNetwork) ToMap() (map[string]interface{}, error)
func (*CreateInstancePayloadNetwork) UnmarshalJSON ¶
func (o *CreateInstancePayloadNetwork) UnmarshalJSON(data []byte) (err error)
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
// The ID of the instance.
Id string `json:"id"`
AdditionalProperties map[string]interface{}
}
CreateInstanceResponse struct for CreateInstanceResponse
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse(id string) *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
func (*CreateInstanceResponse) GetIdOk ¶
func (o *CreateInstanceResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CreateInstanceResponse) MarshalJSON ¶
func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*CreateInstanceResponse) SetId ¶
func (o *CreateInstanceResponse) SetId(v string)
SetId sets field value
func (CreateInstanceResponse) ToMap ¶
func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
func (*CreateInstanceResponse) UnmarshalJSON ¶
func (o *CreateInstanceResponse) UnmarshalJSON(data []byte) (err error)
type CreateUserPayload ¶
type CreateUserPayload struct {
// The default database for a user of the instance.
DefaultDatabase *string `json:"default_database,omitempty"`
// A list containing the user roles for the instance. A list with the valid user roles can be retrieved using the List Roles endpoint.
Roles []string `json:"roles"`
// The name of the user.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
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 {
// The default database for a user of the instance.
DefaultDatabase string `json:"default_database"`
// The host of the instance in which the user belongs to.
Host string `json:"host"`
// The ID of the user.
Id int64 `json:"id"`
// The password for the user.
Password string `json:"password"`
// The port of the instance in which the user belongs to.
Port int32 `json:"port"`
Roles []string `json:"roles"`
// The current status of the user.
Status string `json:"status"`
// The connection string for the user to the instance.
Uri string `json:"uri"`
// The name of the user.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
CreateUserResponse struct for CreateUserResponse
func NewCreateUserResponse ¶
func NewCreateUserResponse(defaultDatabase string, host string, id int64, password string, port int32, roles []string, status string, uri string, username string) *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) GetDefaultDatabase ¶
func (o *CreateUserResponse) GetDefaultDatabase() string
GetDefaultDatabase returns the DefaultDatabase field value
func (*CreateUserResponse) GetDefaultDatabaseOk ¶
func (o *CreateUserResponse) GetDefaultDatabaseOk() (*string, bool)
GetDefaultDatabaseOk returns a tuple with the DefaultDatabase field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetHost ¶
func (o *CreateUserResponse) GetHost() string
GetHost returns the Host field value
func (*CreateUserResponse) GetHostOk ¶
func (o *CreateUserResponse) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetId ¶
func (o *CreateUserResponse) GetId() int64
GetId returns the Id field value
func (*CreateUserResponse) GetIdOk ¶
func (o *CreateUserResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetPassword ¶
func (o *CreateUserResponse) GetPassword() string
GetPassword returns the Password field value
func (*CreateUserResponse) GetPasswordOk ¶
func (o *CreateUserResponse) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetPort ¶
func (o *CreateUserResponse) GetPort() int32
GetPort returns the Port field value
func (*CreateUserResponse) GetPortOk ¶
func (o *CreateUserResponse) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetRoles ¶
func (o *CreateUserResponse) GetRoles() []string
GetRoles returns the Roles field value
func (*CreateUserResponse) GetRolesOk ¶
func (o *CreateUserResponse) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetStatus ¶
func (o *CreateUserResponse) GetStatus() string
GetStatus returns the Status field value
func (*CreateUserResponse) GetStatusOk ¶
func (o *CreateUserResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetUri ¶
func (o *CreateUserResponse) GetUri() string
GetUri returns the Uri field value
func (*CreateUserResponse) GetUriOk ¶
func (o *CreateUserResponse) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetUsername ¶
func (o *CreateUserResponse) GetUsername() string
GetUsername returns the Username field value
func (*CreateUserResponse) GetUsernameOk ¶
func (o *CreateUserResponse) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (CreateUserResponse) MarshalJSON ¶
func (o CreateUserResponse) MarshalJSON() ([]byte, error)
func (*CreateUserResponse) SetDefaultDatabase ¶
func (o *CreateUserResponse) SetDefaultDatabase(v string)
SetDefaultDatabase sets field value
func (*CreateUserResponse) SetHost ¶
func (o *CreateUserResponse) SetHost(v string)
SetHost sets field value
func (*CreateUserResponse) SetId ¶
func (o *CreateUserResponse) SetId(v int64)
SetId sets field value
func (*CreateUserResponse) SetPassword ¶
func (o *CreateUserResponse) SetPassword(v string)
SetPassword sets field value
func (*CreateUserResponse) SetPort ¶
func (o *CreateUserResponse) SetPort(v int32)
SetPort sets field value
func (*CreateUserResponse) SetRoles ¶
func (o *CreateUserResponse) SetRoles(v []string)
SetRoles sets field value
func (*CreateUserResponse) SetStatus ¶
func (o *CreateUserResponse) SetStatus(v string)
SetStatus sets field value
func (*CreateUserResponse) SetUri ¶
func (o *CreateUserResponse) SetUri(v string)
SetUri sets field value
func (*CreateUserResponse) SetUsername ¶
func (o *CreateUserResponse) SetUsername(v string)
SetUsername sets field value
func (CreateUserResponse) ToMap ¶
func (o CreateUserResponse) ToMap() (map[string]interface{}, error)
func (*CreateUserResponse) UnmarshalJSON ¶
func (o *CreateUserResponse) UnmarshalJSON(data []byte) (err error)
type DatabaseGetcollation ¶
type DatabaseGetcollation struct {
CollationName *string `json:"collation_name,omitempty"`
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
DatabaseGetcollation struct for DatabaseGetcollation
func NewDatabaseGetcollation ¶
func NewDatabaseGetcollation() *DatabaseGetcollation
NewDatabaseGetcollation instantiates a new DatabaseGetcollation 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 NewDatabaseGetcollationWithDefaults ¶
func NewDatabaseGetcollationWithDefaults() *DatabaseGetcollation
NewDatabaseGetcollationWithDefaults instantiates a new DatabaseGetcollation 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 (*DatabaseGetcollation) GetCollationName ¶
func (o *DatabaseGetcollation) GetCollationName() string
GetCollationName returns the CollationName field value if set, zero value otherwise.
func (*DatabaseGetcollation) GetCollationNameOk ¶
func (o *DatabaseGetcollation) 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 (*DatabaseGetcollation) GetDescription ¶
func (o *DatabaseGetcollation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DatabaseGetcollation) GetDescriptionOk ¶
func (o *DatabaseGetcollation) 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 (*DatabaseGetcollation) HasCollationName ¶
func (o *DatabaseGetcollation) HasCollationName() bool
HasCollationName returns a boolean if a field has been set.
func (*DatabaseGetcollation) HasDescription ¶
func (o *DatabaseGetcollation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (DatabaseGetcollation) MarshalJSON ¶
func (o DatabaseGetcollation) MarshalJSON() ([]byte, error)
func (*DatabaseGetcollation) SetCollationName ¶
func (o *DatabaseGetcollation) SetCollationName(v string)
SetCollationName gets a reference to the given string and assigns it to the CollationName field.
func (*DatabaseGetcollation) SetDescription ¶
func (o *DatabaseGetcollation) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (DatabaseGetcollation) ToMap ¶
func (o DatabaseGetcollation) ToMap() (map[string]interface{}, error)
func (*DatabaseGetcollation) UnmarshalJSON ¶
func (o *DatabaseGetcollation) UnmarshalJSON(data []byte) (err error)
type DatabaseGetcompatibility ¶
type DatabaseGetcompatibility struct {
CompatibilityLevel *int32 `json:"compatibility_level,omitempty"`
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
DatabaseGetcompatibility struct for DatabaseGetcompatibility
func NewDatabaseGetcompatibility ¶
func NewDatabaseGetcompatibility() *DatabaseGetcompatibility
NewDatabaseGetcompatibility instantiates a new DatabaseGetcompatibility 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 NewDatabaseGetcompatibilityWithDefaults ¶
func NewDatabaseGetcompatibilityWithDefaults() *DatabaseGetcompatibility
NewDatabaseGetcompatibilityWithDefaults instantiates a new DatabaseGetcompatibility 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 (*DatabaseGetcompatibility) GetCompatibilityLevel ¶
func (o *DatabaseGetcompatibility) GetCompatibilityLevel() int32
GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.
func (*DatabaseGetcompatibility) GetCompatibilityLevelOk ¶
func (o *DatabaseGetcompatibility) 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 (*DatabaseGetcompatibility) GetDescription ¶
func (o *DatabaseGetcompatibility) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DatabaseGetcompatibility) GetDescriptionOk ¶
func (o *DatabaseGetcompatibility) 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 (*DatabaseGetcompatibility) HasCompatibilityLevel ¶
func (o *DatabaseGetcompatibility) HasCompatibilityLevel() bool
HasCompatibilityLevel returns a boolean if a field has been set.
func (*DatabaseGetcompatibility) HasDescription ¶
func (o *DatabaseGetcompatibility) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (DatabaseGetcompatibility) MarshalJSON ¶
func (o DatabaseGetcompatibility) MarshalJSON() ([]byte, error)
func (*DatabaseGetcompatibility) SetCompatibilityLevel ¶
func (o *DatabaseGetcompatibility) SetCompatibilityLevel(v int32)
SetCompatibilityLevel gets a reference to the given int32 and assigns it to the CompatibilityLevel field.
func (*DatabaseGetcompatibility) SetDescription ¶
func (o *DatabaseGetcompatibility) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (DatabaseGetcompatibility) ToMap ¶
func (o DatabaseGetcompatibility) ToMap() (map[string]interface{}, error)
func (*DatabaseGetcompatibility) UnmarshalJSON ¶
func (o *DatabaseGetcompatibility) UnmarshalJSON(data []byte) (err error)
type DatabaseRoles ¶
type DatabaseRoles struct {
// The name of the database.
Name string `json:"name"`
// The name and the roles for a database
Roles []string `json:"roles"`
AdditionalProperties map[string]interface{}
}
DatabaseRoles The name and the roles for a database for a user.
func NewDatabaseRoles ¶
func NewDatabaseRoles(name string, roles []string) *DatabaseRoles
NewDatabaseRoles instantiates a new DatabaseRoles 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 NewDatabaseRolesWithDefaults ¶
func NewDatabaseRolesWithDefaults() *DatabaseRoles
NewDatabaseRolesWithDefaults instantiates a new DatabaseRoles 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 (*DatabaseRoles) GetName ¶
func (o *DatabaseRoles) GetName() string
GetName returns the Name field value
func (*DatabaseRoles) GetNameOk ¶
func (o *DatabaseRoles) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*DatabaseRoles) GetRoles ¶
func (o *DatabaseRoles) GetRoles() []string
GetRoles returns the Roles field value
func (*DatabaseRoles) GetRolesOk ¶
func (o *DatabaseRoles) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (DatabaseRoles) MarshalJSON ¶
func (o DatabaseRoles) MarshalJSON() ([]byte, error)
func (*DatabaseRoles) SetRoles ¶
func (o *DatabaseRoles) SetRoles(v []string)
SetRoles sets field value
func (DatabaseRoles) ToMap ¶
func (o DatabaseRoles) ToMap() (map[string]interface{}, error)
func (*DatabaseRoles) UnmarshalJSON ¶
func (o *DatabaseRoles) UnmarshalJSON(data []byte) (err error)
type DatabaseSort ¶
type DatabaseSort string
DatabaseSort the model 'DatabaseSort'
const ( DATABASESORT_CREATED_AT_DESC DatabaseSort = "created_at.desc" DATABASESORT_CREATED_AT_ASC DatabaseSort = "created_at.asc" DATABASESORT_DATABASE_ID_DESC DatabaseSort = "database_id.desc" DATABASESORT_DATABASE_ID_ASC DatabaseSort = "database_id.asc" DATABASESORT_DATABASE_NAME_DESC DatabaseSort = "database_name.desc" DATABASESORT_DATABASE_NAME_ASC DatabaseSort = "database_name.asc" DATABASESORT_DATABASE_OWNER_DESC DatabaseSort = "database_owner.desc" DATABASESORT_DATABASE_OWNER_ASC DatabaseSort = "database_owner.asc" DATABASESORT_INDEX_ASC DatabaseSort = "index.asc" DATABASESORT_INDEX_DESC DatabaseSort = "index.desc" DATABASESORT_UNKNOWN_DEFAULT_OPEN_API DatabaseSort = "unknown_default_open_api" )
List of database.sort
func NewDatabaseSortFromValue ¶
func NewDatabaseSortFromValue(v string) (*DatabaseSort, error)
NewDatabaseSortFromValue returns a pointer to a valid DatabaseSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DatabaseSort) IsValid ¶
func (v DatabaseSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DatabaseSort) Ptr ¶
func (v DatabaseSort) Ptr() *DatabaseSort
Ptr returns reference to database.sort value
func (*DatabaseSort) UnmarshalJSON ¶
func (v *DatabaseSort) UnmarshalJSON(src []byte) error
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateDatabase Create Database
Create database for a user. Note: The name of a valid user must be provided in the 'options' map field using the key 'owner'
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiCreateDatabaseRequest
*/
CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
// CreateDatabaseExecute executes the request
// @return CreateDatabaseResponse
CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
/*
CreateInstance Create Instance
Create a new instance of a sqlserver database instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
// CreateInstanceExecute executes the request
// @return CreateInstanceResponse
CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
/*
CreateUser Create User
Create user for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiCreateUserRequest
*/
CreateUser(ctx context.Context, projectId string, region 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param databaseName The name of the database.
@return ApiDeleteDatabaseRequest
*/
DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiDeleteDatabaseRequest
// DeleteDatabaseExecute executes the request
DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
/*
DeleteInstance Delete Instance
Delete an available sqlserver instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
// DeleteInstanceExecute executes the request
DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
/*
DeleteUser Delete User
Delete an user from a specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param userId The ID of the user.
@return ApiDeleteUserRequest
*/
DeleteUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiDeleteUserRequest
// DeleteUserExecute executes the request
DeleteUserExecute(r ApiDeleteUserRequest) error
/*
GetBackup Get specific backup
Get information about a specific backup for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param backupId The ID of the backup.
@return ApiGetBackupRequest
*/
GetBackup(ctx context.Context, projectId string, region string, instanceId string, backupId int64) ApiGetBackupRequest
// GetBackupExecute executes the request
// @return GetBackupResponse
GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
/*
GetCollations Get database collation list
Returns a list of collations for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiGetCollationsRequest
*/
GetCollations(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequest
// GetCollationsExecute executes the request
// @return GetCollationsResponse
GetCollationsExecute(r ApiGetCollationsRequest) (*GetCollationsResponse, error)
/*
GetDatabase Get 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param databaseName The name of the database.
@return ApiGetDatabaseRequest
*/
GetDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiGetDatabaseRequest
// GetDatabaseExecute executes the request
// @return GetDatabaseResponse
GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
/*
GetFlavors Get Flavors
Get all available flavors for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@return ApiGetFlavorsRequest
*/
GetFlavors(ctx context.Context, projectId string, region string) ApiGetFlavorsRequest
// GetFlavorsExecute executes the request
// @return GetFlavorsResponse
GetFlavorsExecute(r ApiGetFlavorsRequest) (*GetFlavorsResponse, error)
/*
GetInstance Get Specific Instance
Get information about a specific available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
// GetInstanceExecute executes the request
// @return GetInstanceResponse
GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
/*
GetStorages 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 The STACKIT project ID.
@param region The region which should be addressed
@param flavorId The id of an instance flavor.
@return ApiGetStoragesRequest
*/
GetStorages(ctx context.Context, projectId string, region string, flavorId string) ApiGetStoragesRequest
// GetStoragesExecute executes the request
// @return GetStoragesResponse
GetStoragesExecute(r ApiGetStoragesRequest) (*GetStoragesResponse, error)
/*
GetUser Get User
Get a 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param userId The ID of the user.
@return ApiGetUserRequest
*/
GetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiGetUserRequest
// GetUserExecute executes the request
// @return GetUserResponse
GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
/*
GetVersions Get Versions
Get the sqlserver available versions for the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@return ApiGetVersionsRequest
*/
GetVersions(ctx context.Context, projectId string, region string) ApiGetVersionsRequest
// GetVersionsExecute executes the request
// @return GetVersionsResponse
GetVersionsExecute(r ApiGetVersionsRequest) (*GetVersionsResponse, 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListBackupsRequest
*/
ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
// ListBackupsExecute executes the request
// @return ListBackupResponse
ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupResponse, error)
/*
ListCompatibilities 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 STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListCompatibilitiesRequest
*/
ListCompatibilities(ctx context.Context, projectId string, region string, instanceId string) ApiListCompatibilitiesRequest
// ListCompatibilitiesExecute executes the request
// @return ListCompatibilityResponse
ListCompatibilitiesExecute(r ApiListCompatibilitiesRequest) (*ListCompatibilityResponse, error)
/*
ListCurrentRunningRestoreJobs 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListCurrentRunningRestoreJobsRequest
*/
ListCurrentRunningRestoreJobs(ctx context.Context, projectId string, region string, instanceId string) ApiListCurrentRunningRestoreJobsRequest
// ListCurrentRunningRestoreJobsExecute executes the request
// @return ListCurrentRunningRestoreJobs
ListCurrentRunningRestoreJobsExecute(r ApiListCurrentRunningRestoreJobsRequest) (*ListCurrentRunningRestoreJobs, error)
/*
ListDatabases List Databases
List available databases for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListDatabasesRequest
*/
ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
// ListDatabasesExecute executes the request
// @return ListDatabasesResponse
ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
/*
ListInstances List Instances
List all available instances for your project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
// ListInstancesExecute executes the request
// @return ListInstancesResponse
ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
/*
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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListRolesRequest
*/
ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
// ListRolesExecute executes the request
// @return ListRolesResponse
ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListUsersRequest
*/
ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
// ListUsersExecute executes the request
// @return ListUserResponse
ListUsersExecute(r ApiListUsersRequest) (*ListUserResponse, error)
/*
ProtectInstance Protect Instance
Toggle the deletion protection for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiProtectInstanceRequest
*/
ProtectInstance(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequest
// ProtectInstanceExecute executes the request
// @return ProtectInstanceResponse
ProtectInstanceExecute(r ApiProtectInstanceRequest) (*ProtectInstanceResponse, error)
/*
ResetUser Reset User
Reset an user from an specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param userId The ID of the user.
@return ApiResetUserRequest
*/
ResetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiResetUserRequest
// ResetUserExecute executes the request
// @return ResetUserResponse
ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
/*
RestoreDatabaseFromBackup Create a Restore Operation
Triggers a new restore operation for the specified instance.
The request body defines the source
(e.g., internal backup, external S3) and the target database.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiRestoreDatabaseFromBackupRequest
*/
RestoreDatabaseFromBackup(ctx context.Context, projectId string, region string, instanceId string) ApiRestoreDatabaseFromBackupRequest
// RestoreDatabaseFromBackupExecute executes the request
RestoreDatabaseFromBackupExecute(r ApiRestoreDatabaseFromBackupRequest) error
/*
TriggerBackup 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param databaseName The name of the database.
@return ApiTriggerBackupRequest
*/
TriggerBackup(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiTriggerBackupRequest
// TriggerBackupExecute executes the request
TriggerBackupExecute(r ApiTriggerBackupRequest) error
/*
TriggerRestore 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param databaseName The name of the database.
@return ApiTriggerRestoreRequest
*/
TriggerRestore(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiTriggerRestoreRequest
// TriggerRestoreExecute executes the request
TriggerRestoreExecute(r ApiTriggerRestoreRequest) error
/*
UpdateInstance Update Instance
Updates an available instance of a sqlserver 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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiUpdateInstanceRequest
*/
UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
// UpdateInstanceExecute executes the request
UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
/*
UpdateInstancePartially Update Instance Partially
Update an available instance of a mssql database. No fields are required.
**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 The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiUpdateInstancePartiallyRequest
*/
UpdateInstancePartially(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequest
// UpdateInstancePartiallyExecute executes the request
UpdateInstancePartiallyExecute(r ApiUpdateInstancePartiallyRequest) error
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateDatabase ¶
func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
CreateDatabase Create Database
Create database for a user. Note: The name of a valid user must be provided in the 'options' map field using the key 'owner'
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @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, region string) ApiCreateInstanceRequest
CreateInstance Create Instance
Create a new instance of a sqlserver database instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @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, region 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @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, region 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param databaseName The name of the database. @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, region string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance Delete Instance
Delete an available sqlserver instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @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, region string, instanceId string, userId int64) ApiDeleteUserRequest
DeleteUser Delete User
Delete an user from a specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param userId The ID of the user. @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, region string, instanceId string, backupId int64) ApiGetBackupRequest
GetBackup Get specific backup
Get information about a specific backup for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param backupId The ID of the backup. @return ApiGetBackupRequest
func (*DefaultAPIService) GetBackupExecute ¶
func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupResponse, error)
Execute executes the request
@return GetBackupResponse
func (*DefaultAPIService) GetCollations ¶
func (a *DefaultAPIService) GetCollations(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequest
GetCollations Get database collation list
Returns a list of collations for an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiGetCollationsRequest
func (*DefaultAPIService) GetCollationsExecute ¶
func (a *DefaultAPIService) GetCollationsExecute(r ApiGetCollationsRequest) (*GetCollationsResponse, error)
Execute executes the request
@return GetCollationsResponse
func (*DefaultAPIService) GetDatabase ¶
func (a *DefaultAPIService) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiGetDatabaseRequest
GetDatabase Get 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param databaseName The name of the database. @return ApiGetDatabaseRequest
func (*DefaultAPIService) GetDatabaseExecute ¶
func (a *DefaultAPIService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
Execute executes the request
@return GetDatabaseResponse
func (*DefaultAPIService) GetFlavors ¶
func (a *DefaultAPIService) GetFlavors(ctx context.Context, projectId string, region string) ApiGetFlavorsRequest
GetFlavors Get Flavors
Get all available flavors for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @return ApiGetFlavorsRequest
func (*DefaultAPIService) GetFlavorsExecute ¶
func (a *DefaultAPIService) GetFlavorsExecute(r ApiGetFlavorsRequest) (*GetFlavorsResponse, error)
Execute executes the request
@return GetFlavorsResponse
func (*DefaultAPIService) GetInstance ¶
func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
GetInstance Get Specific Instance
Get information about a specific available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiGetInstanceRequest
func (*DefaultAPIService) GetInstanceExecute ¶
func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
Execute executes the request
@return GetInstanceResponse
func (*DefaultAPIService) GetStorages ¶
func (a *DefaultAPIService) GetStorages(ctx context.Context, projectId string, region string, flavorId string) ApiGetStoragesRequest
GetStorages 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 The STACKIT project ID. @param region The region which should be addressed @param flavorId The id of an instance flavor. @return ApiGetStoragesRequest
func (*DefaultAPIService) GetStoragesExecute ¶
func (a *DefaultAPIService) GetStoragesExecute(r ApiGetStoragesRequest) (*GetStoragesResponse, error)
Execute executes the request
@return GetStoragesResponse
func (*DefaultAPIService) GetUser ¶
func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiGetUserRequest
GetUser Get User
Get a 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param userId The ID of the user. @return ApiGetUserRequest
func (*DefaultAPIService) GetUserExecute ¶
func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
Execute executes the request
@return GetUserResponse
func (*DefaultAPIService) GetVersions ¶
func (a *DefaultAPIService) GetVersions(ctx context.Context, projectId string, region string) ApiGetVersionsRequest
GetVersions Get Versions
Get the sqlserver available versions for the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @return ApiGetVersionsRequest
func (*DefaultAPIService) GetVersionsExecute ¶
func (a *DefaultAPIService) GetVersionsExecute(r ApiGetVersionsRequest) (*GetVersionsResponse, error)
Execute executes the request
@return GetVersionsResponse
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListBackupsRequest
func (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupResponse, error)
Execute executes the request
@return ListBackupResponse
func (*DefaultAPIService) ListCompatibilities ¶
func (a *DefaultAPIService) ListCompatibilities(ctx context.Context, projectId string, region string, instanceId string) ApiListCompatibilitiesRequest
ListCompatibilities 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 STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListCompatibilitiesRequest
func (*DefaultAPIService) ListCompatibilitiesExecute ¶
func (a *DefaultAPIService) ListCompatibilitiesExecute(r ApiListCompatibilitiesRequest) (*ListCompatibilityResponse, error)
Execute executes the request
@return ListCompatibilityResponse
func (*DefaultAPIService) ListCurrentRunningRestoreJobs ¶
func (a *DefaultAPIService) ListCurrentRunningRestoreJobs(ctx context.Context, projectId string, region string, instanceId string) ApiListCurrentRunningRestoreJobsRequest
ListCurrentRunningRestoreJobs 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListCurrentRunningRestoreJobsRequest
func (*DefaultAPIService) ListCurrentRunningRestoreJobsExecute ¶
func (a *DefaultAPIService) ListCurrentRunningRestoreJobsExecute(r ApiListCurrentRunningRestoreJobsRequest) (*ListCurrentRunningRestoreJobs, error)
Execute executes the request
@return ListCurrentRunningRestoreJobs
func (*DefaultAPIService) ListDatabases ¶
func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
ListDatabases List Databases
List available databases for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListDatabasesRequest
func (*DefaultAPIService) ListDatabasesExecute ¶
func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
Execute executes the request
@return ListDatabasesResponse
func (*DefaultAPIService) ListInstances ¶
func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
ListInstances List Instances
List all available instances for your project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @return ApiListInstancesRequest
func (*DefaultAPIService) ListInstancesExecute ¶
func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) ListRoles ¶
func (a *DefaultAPIService) ListRoles(ctx context.Context, projectId string, region 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListRolesRequest
func (*DefaultAPIService) ListRolesExecute ¶
func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
Execute executes the request
@return ListRolesResponse
func (*DefaultAPIService) ListUsers ¶
func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, region 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListUsersRequest
func (*DefaultAPIService) ListUsersExecute ¶
func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUserResponse, error)
Execute executes the request
@return ListUserResponse
func (*DefaultAPIService) ProtectInstance ¶
func (a *DefaultAPIService) ProtectInstance(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequest
ProtectInstance Protect Instance
Toggle the deletion protection for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiProtectInstanceRequest
func (*DefaultAPIService) ProtectInstanceExecute ¶
func (a *DefaultAPIService) ProtectInstanceExecute(r ApiProtectInstanceRequest) (*ProtectInstanceResponse, error)
Execute executes the request
@return ProtectInstanceResponse
func (*DefaultAPIService) ResetUser ¶
func (a *DefaultAPIService) ResetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiResetUserRequest
ResetUser Reset User
Reset an user from an specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param userId The ID of the user. @return ApiResetUserRequest
func (*DefaultAPIService) ResetUserExecute ¶
func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*ResetUserResponse, error)
Execute executes the request
@return ResetUserResponse
func (*DefaultAPIService) RestoreDatabaseFromBackup ¶
func (a *DefaultAPIService) RestoreDatabaseFromBackup(ctx context.Context, projectId string, region string, instanceId string) ApiRestoreDatabaseFromBackupRequest
RestoreDatabaseFromBackup Create a Restore Operation
Triggers a new restore operation for the specified instance. The request body defines the source (e.g., internal backup, external S3) and the target database.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiRestoreDatabaseFromBackupRequest
func (*DefaultAPIService) RestoreDatabaseFromBackupExecute ¶
func (a *DefaultAPIService) RestoreDatabaseFromBackupExecute(r ApiRestoreDatabaseFromBackupRequest) error
Execute executes the request
func (*DefaultAPIService) TriggerBackup ¶
func (a *DefaultAPIService) TriggerBackup(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiTriggerBackupRequest
TriggerBackup 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param databaseName The name of the database. @return ApiTriggerBackupRequest
func (*DefaultAPIService) TriggerBackupExecute ¶
func (a *DefaultAPIService) TriggerBackupExecute(r ApiTriggerBackupRequest) error
Execute executes the request
func (*DefaultAPIService) TriggerRestore ¶
func (a *DefaultAPIService) TriggerRestore(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiTriggerRestoreRequest
TriggerRestore 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param databaseName The name of the database. @return ApiTriggerRestoreRequest
func (*DefaultAPIService) TriggerRestoreExecute ¶
func (a *DefaultAPIService) TriggerRestoreExecute(r ApiTriggerRestoreRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstance ¶
func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
UpdateInstance Update Instance
Updates an available instance of a sqlserver 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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiUpdateInstanceRequest
func (*DefaultAPIService) UpdateInstanceExecute ¶
func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstancePartially ¶
func (a *DefaultAPIService) UpdateInstancePartially(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequest
UpdateInstancePartially Update Instance Partially
Update an available instance of a mssql database. No fields are required.
**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 The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiUpdateInstancePartiallyRequest
func (*DefaultAPIService) UpdateInstancePartiallyExecute ¶
func (a *DefaultAPIService) UpdateInstancePartiallyExecute(r ApiUpdateInstancePartiallyRequest) error
Execute executes the request
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)
// GetCollationsExecuteMock can be populated to implement the behavior of the GetCollationsExecute function of this mock
GetCollationsExecuteMock *func(r ApiGetCollationsRequest) (*GetCollationsResponse, error)
// GetDatabaseExecuteMock can be populated to implement the behavior of the GetDatabaseExecute function of this mock
GetDatabaseExecuteMock *func(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
// GetFlavorsExecuteMock can be populated to implement the behavior of the GetFlavorsExecute function of this mock
GetFlavorsExecuteMock *func(r ApiGetFlavorsRequest) (*GetFlavorsResponse, error)
// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
// GetStoragesExecuteMock can be populated to implement the behavior of the GetStoragesExecute function of this mock
GetStoragesExecuteMock *func(r ApiGetStoragesRequest) (*GetStoragesResponse, error)
// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
GetUserExecuteMock *func(r ApiGetUserRequest) (*GetUserResponse, error)
// GetVersionsExecuteMock can be populated to implement the behavior of the GetVersionsExecute function of this mock
GetVersionsExecuteMock *func(r ApiGetVersionsRequest) (*GetVersionsResponse, error)
// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*ListBackupResponse, error)
// ListCompatibilitiesExecuteMock can be populated to implement the behavior of the ListCompatibilitiesExecute function of this mock
ListCompatibilitiesExecuteMock *func(r ApiListCompatibilitiesRequest) (*ListCompatibilityResponse, error)
// ListCurrentRunningRestoreJobsExecuteMock can be populated to implement the behavior of the ListCurrentRunningRestoreJobsExecute function of this mock
ListCurrentRunningRestoreJobsExecuteMock *func(r ApiListCurrentRunningRestoreJobsRequest) (*ListCurrentRunningRestoreJobs, error)
// ListDatabasesExecuteMock can be populated to implement the behavior of the ListDatabasesExecute function of this mock
ListDatabasesExecuteMock *func(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
// ListRolesExecuteMock can be populated to implement the behavior of the ListRolesExecute function of this mock
ListRolesExecuteMock *func(r ApiListRolesRequest) (*ListRolesResponse, error)
// ListUsersExecuteMock can be populated to implement the behavior of the ListUsersExecute function of this mock
ListUsersExecuteMock *func(r ApiListUsersRequest) (*ListUserResponse, error)
// ProtectInstanceExecuteMock can be populated to implement the behavior of the ProtectInstanceExecute function of this mock
ProtectInstanceExecuteMock *func(r ApiProtectInstanceRequest) (*ProtectInstanceResponse, error)
// ResetUserExecuteMock can be populated to implement the behavior of the ResetUserExecute function of this mock
ResetUserExecuteMock *func(r ApiResetUserRequest) (*ResetUserResponse, error)
// RestoreDatabaseFromBackupExecuteMock can be populated to implement the behavior of the RestoreDatabaseFromBackupExecute function of this mock
RestoreDatabaseFromBackupExecuteMock *func(r ApiRestoreDatabaseFromBackupRequest) error
// TriggerBackupExecuteMock can be populated to implement the behavior of the TriggerBackupExecute function of this mock
TriggerBackupExecuteMock *func(r ApiTriggerBackupRequest) error
// TriggerRestoreExecuteMock can be populated to implement the behavior of the TriggerRestoreExecute function of this mock
TriggerRestoreExecuteMock *func(r ApiTriggerRestoreRequest) error
// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) error
// UpdateInstancePartiallyExecuteMock can be populated to implement the behavior of the UpdateInstancePartiallyExecute function of this mock
UpdateInstancePartiallyExecuteMock *func(r ApiUpdateInstancePartiallyRequest) 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, region 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, region 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, region 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, region 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, region 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, region string, instanceId string, userId int64) 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, region string, instanceId string, backupId int64) 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) GetCollations ¶
func (a DefaultAPIServiceMock) GetCollations(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequest
func (DefaultAPIServiceMock) GetCollationsExecute ¶
func (a DefaultAPIServiceMock) GetCollationsExecute(r ApiGetCollationsRequest) (*GetCollationsResponse, error)
GetCollationsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCollationsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetDatabase ¶
func (a DefaultAPIServiceMock) GetDatabase(ctx context.Context, projectId string, region 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) GetFlavors ¶
func (a DefaultAPIServiceMock) GetFlavors(ctx context.Context, projectId string, region string) ApiGetFlavorsRequest
func (DefaultAPIServiceMock) GetFlavorsExecute ¶
func (a DefaultAPIServiceMock) GetFlavorsExecute(r ApiGetFlavorsRequest) (*GetFlavorsResponse, error)
GetFlavorsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetFlavorsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstance ¶
func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, region 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) GetStorages ¶
func (a DefaultAPIServiceMock) GetStorages(ctx context.Context, projectId string, region string, flavorId string) ApiGetStoragesRequest
func (DefaultAPIServiceMock) GetStoragesExecute ¶
func (a DefaultAPIServiceMock) GetStoragesExecute(r ApiGetStoragesRequest) (*GetStoragesResponse, error)
GetStoragesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetStoragesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetUser ¶
func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) 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) GetVersions ¶
func (a DefaultAPIServiceMock) GetVersions(ctx context.Context, projectId string, region string) ApiGetVersionsRequest
func (DefaultAPIServiceMock) GetVersionsExecute ¶
func (a DefaultAPIServiceMock) GetVersionsExecute(r ApiGetVersionsRequest) (*GetVersionsResponse, error)
GetVersionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVersionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackups ¶
func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
func (DefaultAPIServiceMock) ListBackupsExecute ¶
func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupResponse, 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) ListCompatibilities ¶
func (a DefaultAPIServiceMock) ListCompatibilities(ctx context.Context, projectId string, region string, instanceId string) ApiListCompatibilitiesRequest
func (DefaultAPIServiceMock) ListCompatibilitiesExecute ¶
func (a DefaultAPIServiceMock) ListCompatibilitiesExecute(r ApiListCompatibilitiesRequest) (*ListCompatibilityResponse, error)
ListCompatibilitiesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCompatibilitiesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCurrentRunningRestoreJobs ¶
func (a DefaultAPIServiceMock) ListCurrentRunningRestoreJobs(ctx context.Context, projectId string, region string, instanceId string) ApiListCurrentRunningRestoreJobsRequest
func (DefaultAPIServiceMock) ListCurrentRunningRestoreJobsExecute ¶
func (a DefaultAPIServiceMock) ListCurrentRunningRestoreJobsExecute(r ApiListCurrentRunningRestoreJobsRequest) (*ListCurrentRunningRestoreJobs, error)
ListCurrentRunningRestoreJobsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCurrentRunningRestoreJobsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListDatabases ¶
func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, region 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) ListInstances ¶
func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, region 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) ListRoles ¶
func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, projectId string, region 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) ListUsers ¶
func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
func (DefaultAPIServiceMock) ListUsersExecute ¶
func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUserResponse, 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) ProtectInstance ¶
func (a DefaultAPIServiceMock) ProtectInstance(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequest
func (DefaultAPIServiceMock) ProtectInstanceExecute ¶
func (a DefaultAPIServiceMock) ProtectInstanceExecute(r ApiProtectInstanceRequest) (*ProtectInstanceResponse, error)
ProtectInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ProtectInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ResetUser ¶
func (a DefaultAPIServiceMock) ResetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) 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) RestoreDatabaseFromBackup ¶
func (a DefaultAPIServiceMock) RestoreDatabaseFromBackup(ctx context.Context, projectId string, region string, instanceId string) ApiRestoreDatabaseFromBackupRequest
func (DefaultAPIServiceMock) RestoreDatabaseFromBackupExecute ¶
func (a DefaultAPIServiceMock) RestoreDatabaseFromBackupExecute(r ApiRestoreDatabaseFromBackupRequest) error
RestoreDatabaseFromBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreDatabaseFromBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerBackup ¶
func (a DefaultAPIServiceMock) TriggerBackup(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiTriggerBackupRequest
func (DefaultAPIServiceMock) TriggerBackupExecute ¶
func (a DefaultAPIServiceMock) TriggerBackupExecute(r ApiTriggerBackupRequest) error
TriggerBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerRestore ¶
func (a DefaultAPIServiceMock) TriggerRestore(ctx context.Context, projectId string, region string, instanceId string, databaseName string) ApiTriggerRestoreRequest
func (DefaultAPIServiceMock) TriggerRestoreExecute ¶
func (a DefaultAPIServiceMock) TriggerRestoreExecute(r ApiTriggerRestoreRequest) error
TriggerRestoreExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerRestoreExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstance ¶
func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
func (DefaultAPIServiceMock) UpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
UpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstancePartially ¶
func (a DefaultAPIServiceMock) UpdateInstancePartially(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequest
func (DefaultAPIServiceMock) UpdateInstancePartiallyExecute ¶
func (a DefaultAPIServiceMock) UpdateInstancePartiallyExecute(r ApiUpdateInstancePartiallyRequest) error
UpdateInstancePartiallyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstancePartiallyExecuteMock field in the DefaultAPIServiceMock struct.
type Error ¶
type Error struct {
// The http error code of the error.
Code int32 `json:"code"`
// More detailed information about the error.
Message string `json:"message"`
// The trace id of the request.
TraceId string `json:"traceId"`
// Describes in which state the api was when the error happened.
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetTraceId ¶
GetTraceId returns the TraceId field value
func (*Error) GetTraceIdOk ¶
GetTraceIdOk returns a tuple with the TraceId field value and a boolean to check if the value has been set.
func (*Error) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) UnmarshalJSON ¶
type ExternalS3 ¶
type ExternalS3 struct {
// The s3 access key id
S3AccessKey string `json:"s3_access_key"`
// The s3 access secret
S3AccessSecret string `json:"s3_access_secret"`
// The s3 bucket address
S3Bucket string `json:"s3_bucket"`
// The backup files from which the database should be restored
S3Files []S3fileInfo `json:"s3_files"`
AdditionalProperties map[string]interface{}
}
ExternalS3 The external S3 information
func NewExternalS3 ¶
func NewExternalS3(s3AccessKey string, s3AccessSecret string, s3Bucket string, s3Files []S3fileInfo) *ExternalS3
NewExternalS3 instantiates a new ExternalS3 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 NewExternalS3WithDefaults ¶
func NewExternalS3WithDefaults() *ExternalS3
NewExternalS3WithDefaults instantiates a new ExternalS3 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 (*ExternalS3) GetS3AccessKey ¶
func (o *ExternalS3) GetS3AccessKey() string
GetS3AccessKey returns the S3AccessKey field value
func (*ExternalS3) GetS3AccessKeyOk ¶
func (o *ExternalS3) GetS3AccessKeyOk() (*string, bool)
GetS3AccessKeyOk returns a tuple with the S3AccessKey field value and a boolean to check if the value has been set.
func (*ExternalS3) GetS3AccessSecret ¶
func (o *ExternalS3) GetS3AccessSecret() string
GetS3AccessSecret returns the S3AccessSecret field value
func (*ExternalS3) GetS3AccessSecretOk ¶
func (o *ExternalS3) GetS3AccessSecretOk() (*string, bool)
GetS3AccessSecretOk returns a tuple with the S3AccessSecret field value and a boolean to check if the value has been set.
func (*ExternalS3) GetS3Bucket ¶
func (o *ExternalS3) GetS3Bucket() string
GetS3Bucket returns the S3Bucket field value
func (*ExternalS3) GetS3BucketOk ¶
func (o *ExternalS3) GetS3BucketOk() (*string, bool)
GetS3BucketOk returns a tuple with the S3Bucket field value and a boolean to check if the value has been set.
func (*ExternalS3) GetS3Files ¶
func (o *ExternalS3) GetS3Files() []S3fileInfo
GetS3Files returns the S3Files field value
func (*ExternalS3) GetS3FilesOk ¶
func (o *ExternalS3) GetS3FilesOk() ([]S3fileInfo, bool)
GetS3FilesOk returns a tuple with the S3Files field value and a boolean to check if the value has been set.
func (ExternalS3) MarshalJSON ¶
func (o ExternalS3) MarshalJSON() ([]byte, error)
func (*ExternalS3) SetS3AccessKey ¶
func (o *ExternalS3) SetS3AccessKey(v string)
SetS3AccessKey sets field value
func (*ExternalS3) SetS3AccessSecret ¶
func (o *ExternalS3) SetS3AccessSecret(v string)
SetS3AccessSecret sets field value
func (*ExternalS3) SetS3Bucket ¶
func (o *ExternalS3) SetS3Bucket(v string)
SetS3Bucket sets field value
func (*ExternalS3) SetS3Files ¶
func (o *ExternalS3) SetS3Files(v []S3fileInfo)
SetS3Files sets field value
func (ExternalS3) ToMap ¶
func (o ExternalS3) ToMap() (map[string]interface{}, error)
func (*ExternalS3) UnmarshalJSON ¶
func (o *ExternalS3) UnmarshalJSON(data []byte) (err error)
type FlavorSort ¶
type FlavorSort string
FlavorSort the model 'FlavorSort'
const ( FLAVORSORT_INDEX_DESC FlavorSort = "index.desc" FLAVORSORT_INDEX_ASC FlavorSort = "index.asc" FLAVORSORT_CPU_DESC FlavorSort = "cpu.desc" FLAVORSORT_CPU_ASC FlavorSort = "cpu.asc" FLAVORSORT_FLAVOR_DESCRIPTION_ASC FlavorSort = "flavor_description.asc" FLAVORSORT_FLAVOR_DESCRIPTION_DESC FlavorSort = "flavor_description.desc" FLAVORSORT_ID_DESC FlavorSort = "id.desc" FLAVORSORT_ID_ASC FlavorSort = "id.asc" FLAVORSORT_SIZE_MAX_DESC FlavorSort = "size_max.desc" FLAVORSORT_SIZE_MAX_ASC FlavorSort = "size_max.asc" FLAVORSORT_RAM_DESC FlavorSort = "ram.desc" FLAVORSORT_RAM_ASC FlavorSort = "ram.asc" FLAVORSORT_SIZE_MIN_DESC FlavorSort = "size_min.desc" FLAVORSORT_SIZE_MIN_ASC FlavorSort = "size_min.asc" FLAVORSORT_STORAGE_CLASS_ASC FlavorSort = "storage_class.asc" FLAVORSORT_STORAGE_CLASS_DESC FlavorSort = "storage_class.desc" FLAVORSORT_NODE_TYPE_ASC FlavorSort = "node_type.asc" FLAVORSORT_NODE_TYPE_DESC FlavorSort = "node_type.desc" FLAVORSORT_UNKNOWN_DEFAULT_OPEN_API FlavorSort = "unknown_default_open_api" )
List of flavor.sort
func NewFlavorSortFromValue ¶
func NewFlavorSortFromValue(v string) (*FlavorSort, error)
NewFlavorSortFromValue returns a pointer to a valid FlavorSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlavorSort) IsValid ¶
func (v FlavorSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlavorSort) Ptr ¶
func (v FlavorSort) Ptr() *FlavorSort
Ptr returns reference to flavor.sort value
func (*FlavorSort) UnmarshalJSON ¶
func (v *FlavorSort) UnmarshalJSON(src []byte) error
type FlavorStorageClassesStorageClass ¶
type FlavorStorageClassesStorageClass struct {
Class string `json:"class"`
MaxIoPerSec int32 `json:"maxIoPerSec"`
MaxThroughInMb int32 `json:"maxThroughInMb"`
AdditionalProperties map[string]interface{}
}
FlavorStorageClassesStorageClass a storageClass defines how efficient the storage can work
func NewFlavorStorageClassesStorageClass ¶
func NewFlavorStorageClassesStorageClass(class string, maxIoPerSec int32, maxThroughInMb int32) *FlavorStorageClassesStorageClass
NewFlavorStorageClassesStorageClass instantiates a new FlavorStorageClassesStorageClass 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 NewFlavorStorageClassesStorageClassWithDefaults ¶
func NewFlavorStorageClassesStorageClassWithDefaults() *FlavorStorageClassesStorageClass
NewFlavorStorageClassesStorageClassWithDefaults instantiates a new FlavorStorageClassesStorageClass 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 (*FlavorStorageClassesStorageClass) GetClass ¶
func (o *FlavorStorageClassesStorageClass) GetClass() string
GetClass returns the Class field value
func (*FlavorStorageClassesStorageClass) GetClassOk ¶
func (o *FlavorStorageClassesStorageClass) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field value and a boolean to check if the value has been set.
func (*FlavorStorageClassesStorageClass) GetMaxIoPerSec ¶
func (o *FlavorStorageClassesStorageClass) GetMaxIoPerSec() int32
GetMaxIoPerSec returns the MaxIoPerSec field value
func (*FlavorStorageClassesStorageClass) GetMaxIoPerSecOk ¶
func (o *FlavorStorageClassesStorageClass) GetMaxIoPerSecOk() (*int32, bool)
GetMaxIoPerSecOk returns a tuple with the MaxIoPerSec field value and a boolean to check if the value has been set.
func (*FlavorStorageClassesStorageClass) GetMaxThroughInMb ¶
func (o *FlavorStorageClassesStorageClass) GetMaxThroughInMb() int32
GetMaxThroughInMb returns the MaxThroughInMb field value
func (*FlavorStorageClassesStorageClass) GetMaxThroughInMbOk ¶
func (o *FlavorStorageClassesStorageClass) GetMaxThroughInMbOk() (*int32, bool)
GetMaxThroughInMbOk returns a tuple with the MaxThroughInMb field value and a boolean to check if the value has been set.
func (FlavorStorageClassesStorageClass) MarshalJSON ¶
func (o FlavorStorageClassesStorageClass) MarshalJSON() ([]byte, error)
func (*FlavorStorageClassesStorageClass) SetClass ¶
func (o *FlavorStorageClassesStorageClass) SetClass(v string)
SetClass sets field value
func (*FlavorStorageClassesStorageClass) SetMaxIoPerSec ¶
func (o *FlavorStorageClassesStorageClass) SetMaxIoPerSec(v int32)
SetMaxIoPerSec sets field value
func (*FlavorStorageClassesStorageClass) SetMaxThroughInMb ¶
func (o *FlavorStorageClassesStorageClass) SetMaxThroughInMb(v int32)
SetMaxThroughInMb sets field value
func (FlavorStorageClassesStorageClass) ToMap ¶
func (o FlavorStorageClassesStorageClass) ToMap() (map[string]interface{}, error)
func (*FlavorStorageClassesStorageClass) UnmarshalJSON ¶
func (o *FlavorStorageClassesStorageClass) UnmarshalJSON(data []byte) (err error)
type FlavorStorageRange ¶
type FlavorStorageRange struct {
// maximum storage which can be ordered for the flavor in Gigabyte.
Max int32 `json:"max"`
// minimum storage which is required to order in Gigabyte.
Min int32 `json:"min"`
AdditionalProperties map[string]interface{}
}
FlavorStorageRange range of maximum and minimum storage which can be ordered for the flavor in Gigabyte.
func NewFlavorStorageRange ¶
func NewFlavorStorageRange(max int32, min int32) *FlavorStorageRange
NewFlavorStorageRange instantiates a new FlavorStorageRange 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 NewFlavorStorageRangeWithDefaults ¶
func NewFlavorStorageRangeWithDefaults() *FlavorStorageRange
NewFlavorStorageRangeWithDefaults instantiates a new FlavorStorageRange 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 (*FlavorStorageRange) GetMax ¶
func (o *FlavorStorageRange) GetMax() int32
GetMax returns the Max field value
func (*FlavorStorageRange) GetMaxOk ¶
func (o *FlavorStorageRange) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*FlavorStorageRange) GetMin ¶
func (o *FlavorStorageRange) GetMin() int32
GetMin returns the Min field value
func (*FlavorStorageRange) GetMinOk ¶
func (o *FlavorStorageRange) GetMinOk() (*int32, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (FlavorStorageRange) MarshalJSON ¶
func (o FlavorStorageRange) MarshalJSON() ([]byte, error)
func (*FlavorStorageRange) SetMax ¶
func (o *FlavorStorageRange) SetMax(v int32)
SetMax sets field value
func (*FlavorStorageRange) SetMin ¶
func (o *FlavorStorageRange) SetMin(v int32)
SetMin sets field value
func (FlavorStorageRange) ToMap ¶
func (o FlavorStorageRange) ToMap() (map[string]interface{}, error)
func (*FlavorStorageRange) UnmarshalJSON ¶
func (o *FlavorStorageRange) UnmarshalJSON(data []byte) (err error)
type GetBackupResponse ¶
type GetBackupResponse struct {
// The time when the backup was completed in RFC3339 format.
CompletionTime string `json:"completionTime"`
// The ID of the backup.
Id int64 `json:"id"`
// The name of the backup.
Name string `json:"name"`
// The time until the backup will be retained.
RetainedUntil string `json:"retainedUntil"`
// The size of the backup in bytes.
Size int64 `json:"size"`
// The type of the backup, which can be automated or manual triggered.
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
GetBackupResponse struct for GetBackupResponse
func NewGetBackupResponse ¶
func NewGetBackupResponse(completionTime string, id int64, name string, retainedUntil string, size int64, types string) *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) GetCompletionTime ¶
func (o *GetBackupResponse) GetCompletionTime() string
GetCompletionTime returns the CompletionTime field value
func (*GetBackupResponse) GetCompletionTimeOk ¶
func (o *GetBackupResponse) GetCompletionTimeOk() (*string, bool)
GetCompletionTimeOk returns a tuple with the CompletionTime field value and a boolean to check if the value has been set.
func (*GetBackupResponse) GetId ¶
func (o *GetBackupResponse) GetId() int64
GetId returns the Id field value
func (*GetBackupResponse) GetIdOk ¶
func (o *GetBackupResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value 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
func (*GetBackupResponse) GetNameOk ¶
func (o *GetBackupResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetBackupResponse) GetRetainedUntil ¶
func (o *GetBackupResponse) GetRetainedUntil() string
GetRetainedUntil returns the RetainedUntil field value
func (*GetBackupResponse) GetRetainedUntilOk ¶
func (o *GetBackupResponse) GetRetainedUntilOk() (*string, bool)
GetRetainedUntilOk returns a tuple with the RetainedUntil field value and a boolean to check if the value has been set.
func (*GetBackupResponse) GetSize ¶
func (o *GetBackupResponse) GetSize() int64
GetSize returns the Size field value
func (*GetBackupResponse) GetSizeOk ¶
func (o *GetBackupResponse) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*GetBackupResponse) GetType ¶
func (o *GetBackupResponse) GetType() string
GetType returns the Type field value
func (*GetBackupResponse) GetTypeOk ¶
func (o *GetBackupResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (GetBackupResponse) MarshalJSON ¶
func (o GetBackupResponse) MarshalJSON() ([]byte, error)
func (*GetBackupResponse) SetCompletionTime ¶
func (o *GetBackupResponse) SetCompletionTime(v string)
SetCompletionTime sets field value
func (*GetBackupResponse) SetName ¶
func (o *GetBackupResponse) SetName(v string)
SetName sets field value
func (*GetBackupResponse) SetRetainedUntil ¶
func (o *GetBackupResponse) SetRetainedUntil(v string)
SetRetainedUntil sets field value
func (*GetBackupResponse) SetSize ¶
func (o *GetBackupResponse) SetSize(v int64)
SetSize sets field value
func (*GetBackupResponse) SetType ¶
func (o *GetBackupResponse) SetType(v string)
SetType sets field value
func (GetBackupResponse) ToMap ¶
func (o GetBackupResponse) ToMap() (map[string]interface{}, error)
func (*GetBackupResponse) UnmarshalJSON ¶
func (o *GetBackupResponse) UnmarshalJSON(data []byte) (err error)
type GetCollationsResponse ¶
type GetCollationsResponse struct {
// List of collations available for the instance.
Collations []DatabaseGetcollation `json:"collations"`
AdditionalProperties map[string]interface{}
}
GetCollationsResponse struct for GetCollationsResponse
func NewGetCollationsResponse ¶
func NewGetCollationsResponse(collations []DatabaseGetcollation) *GetCollationsResponse
NewGetCollationsResponse instantiates a new GetCollationsResponse 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 NewGetCollationsResponseWithDefaults ¶
func NewGetCollationsResponseWithDefaults() *GetCollationsResponse
NewGetCollationsResponseWithDefaults instantiates a new GetCollationsResponse 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 (*GetCollationsResponse) GetCollations ¶
func (o *GetCollationsResponse) GetCollations() []DatabaseGetcollation
GetCollations returns the Collations field value
func (*GetCollationsResponse) GetCollationsOk ¶
func (o *GetCollationsResponse) GetCollationsOk() ([]DatabaseGetcollation, bool)
GetCollationsOk returns a tuple with the Collations field value and a boolean to check if the value has been set.
func (GetCollationsResponse) MarshalJSON ¶
func (o GetCollationsResponse) MarshalJSON() ([]byte, error)
func (*GetCollationsResponse) SetCollations ¶
func (o *GetCollationsResponse) SetCollations(v []DatabaseGetcollation)
SetCollations sets field value
func (GetCollationsResponse) ToMap ¶
func (o GetCollationsResponse) ToMap() (map[string]interface{}, error)
func (*GetCollationsResponse) UnmarshalJSON ¶
func (o *GetCollationsResponse) UnmarshalJSON(data []byte) (err error)
type GetDatabaseResponse ¶
type GetDatabaseResponse struct {
// The collation of the database. This database collation should match the *collation_name* of one of the collations given by the **Get database collation list** endpoint.
CollationName string `json:"collationName"`
// CompatibilityLevel of the Database.
CompatibilityLevel int32 `json:"compatibilityLevel"`
// The id of the database.
Id int64 `json:"id"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
AdditionalProperties map[string]interface{}
}
GetDatabaseResponse struct for GetDatabaseResponse
func NewGetDatabaseResponse ¶
func NewGetDatabaseResponse(collationName string, compatibilityLevel int32, id int64, name string, owner string) *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) GetCollationName ¶
func (o *GetDatabaseResponse) GetCollationName() string
GetCollationName returns the CollationName field value
func (*GetDatabaseResponse) GetCollationNameOk ¶
func (o *GetDatabaseResponse) GetCollationNameOk() (*string, bool)
GetCollationNameOk returns a tuple with the CollationName field value and a boolean to check if the value has been set.
func (*GetDatabaseResponse) GetCompatibilityLevel ¶
func (o *GetDatabaseResponse) GetCompatibilityLevel() int32
GetCompatibilityLevel returns the CompatibilityLevel field value
func (*GetDatabaseResponse) GetCompatibilityLevelOk ¶
func (o *GetDatabaseResponse) GetCompatibilityLevelOk() (*int32, bool)
GetCompatibilityLevelOk returns a tuple with the CompatibilityLevel field value and a boolean to check if the value has been set.
func (*GetDatabaseResponse) GetId ¶
func (o *GetDatabaseResponse) GetId() int64
GetId returns the Id field value
func (*GetDatabaseResponse) GetIdOk ¶
func (o *GetDatabaseResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetDatabaseResponse) GetName ¶
func (o *GetDatabaseResponse) GetName() string
GetName returns the Name field value
func (*GetDatabaseResponse) GetNameOk ¶
func (o *GetDatabaseResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetDatabaseResponse) GetOwner ¶
func (o *GetDatabaseResponse) GetOwner() string
GetOwner returns the Owner field value
func (*GetDatabaseResponse) GetOwnerOk ¶
func (o *GetDatabaseResponse) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (GetDatabaseResponse) MarshalJSON ¶
func (o GetDatabaseResponse) MarshalJSON() ([]byte, error)
func (*GetDatabaseResponse) SetCollationName ¶
func (o *GetDatabaseResponse) SetCollationName(v string)
SetCollationName sets field value
func (*GetDatabaseResponse) SetCompatibilityLevel ¶
func (o *GetDatabaseResponse) SetCompatibilityLevel(v int32)
SetCompatibilityLevel sets field value
func (*GetDatabaseResponse) SetId ¶
func (o *GetDatabaseResponse) SetId(v int64)
SetId sets field value
func (*GetDatabaseResponse) SetName ¶
func (o *GetDatabaseResponse) SetName(v string)
SetName sets field value
func (*GetDatabaseResponse) SetOwner ¶
func (o *GetDatabaseResponse) SetOwner(v string)
SetOwner sets field value
func (GetDatabaseResponse) ToMap ¶
func (o GetDatabaseResponse) ToMap() (map[string]interface{}, error)
func (*GetDatabaseResponse) UnmarshalJSON ¶
func (o *GetDatabaseResponse) UnmarshalJSON(data []byte) (err error)
type GetFlavorsResponse ¶
type GetFlavorsResponse struct {
// List of flavors available for the project.
Flavors []ListFlavors `json:"flavors"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
GetFlavorsResponse struct for GetFlavorsResponse
func NewGetFlavorsResponse ¶
func NewGetFlavorsResponse(flavors []ListFlavors, pagination Pagination) *GetFlavorsResponse
NewGetFlavorsResponse instantiates a new GetFlavorsResponse 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 NewGetFlavorsResponseWithDefaults ¶
func NewGetFlavorsResponseWithDefaults() *GetFlavorsResponse
NewGetFlavorsResponseWithDefaults instantiates a new GetFlavorsResponse 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 (*GetFlavorsResponse) GetFlavors ¶
func (o *GetFlavorsResponse) GetFlavors() []ListFlavors
GetFlavors returns the Flavors field value
func (*GetFlavorsResponse) GetFlavorsOk ¶
func (o *GetFlavorsResponse) GetFlavorsOk() ([]ListFlavors, bool)
GetFlavorsOk returns a tuple with the Flavors field value and a boolean to check if the value has been set.
func (*GetFlavorsResponse) GetPagination ¶
func (o *GetFlavorsResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*GetFlavorsResponse) GetPaginationOk ¶
func (o *GetFlavorsResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (GetFlavorsResponse) MarshalJSON ¶
func (o GetFlavorsResponse) MarshalJSON() ([]byte, error)
func (*GetFlavorsResponse) SetFlavors ¶
func (o *GetFlavorsResponse) SetFlavors(v []ListFlavors)
SetFlavors sets field value
func (*GetFlavorsResponse) SetPagination ¶
func (o *GetFlavorsResponse) SetPagination(v Pagination)
SetPagination sets field value
func (GetFlavorsResponse) ToMap ¶
func (o GetFlavorsResponse) ToMap() (map[string]interface{}, error)
func (*GetFlavorsResponse) UnmarshalJSON ¶
func (o *GetFlavorsResponse) UnmarshalJSON(data []byte) (err error)
type GetInstanceResponse ¶
type GetInstanceResponse struct {
// The schedule for on what time and how often the database backup will be created. The schedule is written as a cron schedule.
BackupSchedule string `json:"backupSchedule"`
Edition InstanceEdition `json:"edition"`
Encryption *InstanceEncryption `json:"encryption,omitempty"`
// The id of the instance flavor.
FlavorId string `json:"flavorId"`
// The ID of the instance.
Id string `json:"id"`
// Whether the instance can be deleted or not.
IsDeletable bool `json:"isDeletable"`
// A dictionary of user-defined key-value pairs used to categorize or organize the resource. **Rules for Keys:** * Must be between 1 and 63 characters long. * Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$` * **Restriction:** The prefix `stackit-` is strictly reserved and cannot be used. **Rules for Values:** * Must be between 0 (empty string) and 63 characters long. * If not empty, must begin and end with an alphanumeric character. * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetwork `json:"network"`
Replicas Replicas `json:"replicas"`
// The days for how long the backup files should be stored before cleaned up. 30 to 90
RetentionDays int32 `json:"retentionDays"`
State State `json:"state"`
Storage Storage `json:"storage"`
Version InstanceVersion `json:"version"`
AdditionalProperties map[string]interface{}
}
GetInstanceResponse struct for GetInstanceResponse
func NewGetInstanceResponse ¶
func NewGetInstanceResponse(backupSchedule string, edition InstanceEdition, flavorId string, id string, isDeletable bool, name string, network InstanceNetwork, replicas Replicas, retentionDays int32, state State, storage Storage, version InstanceVersion) *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) GetBackupSchedule ¶
func (o *GetInstanceResponse) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*GetInstanceResponse) GetBackupScheduleOk ¶
func (o *GetInstanceResponse) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetEdition ¶
func (o *GetInstanceResponse) GetEdition() InstanceEdition
GetEdition returns the Edition field value
func (*GetInstanceResponse) GetEditionOk ¶
func (o *GetInstanceResponse) GetEditionOk() (*InstanceEdition, bool)
GetEditionOk returns a tuple with the Edition field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetEncryption ¶
func (o *GetInstanceResponse) GetEncryption() InstanceEncryption
GetEncryption returns the Encryption field value if set, zero value otherwise.
func (*GetInstanceResponse) GetEncryptionOk ¶
func (o *GetInstanceResponse) GetEncryptionOk() (*InstanceEncryption, bool)
GetEncryptionOk returns a tuple with the Encryption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetFlavorId ¶
func (o *GetInstanceResponse) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*GetInstanceResponse) GetFlavorIdOk ¶
func (o *GetInstanceResponse) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetId ¶
func (o *GetInstanceResponse) GetId() string
GetId returns the Id field value
func (*GetInstanceResponse) GetIdOk ¶
func (o *GetInstanceResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetIsDeletable ¶
func (o *GetInstanceResponse) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*GetInstanceResponse) GetIsDeletableOk ¶
func (o *GetInstanceResponse) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetLabels ¶
func (o *GetInstanceResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetInstanceResponse) GetLabelsOk ¶
func (o *GetInstanceResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetName ¶
func (o *GetInstanceResponse) GetName() string
GetName returns the Name field value
func (*GetInstanceResponse) GetNameOk ¶
func (o *GetInstanceResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetNetwork ¶
func (o *GetInstanceResponse) GetNetwork() InstanceNetwork
GetNetwork returns the Network field value
func (*GetInstanceResponse) GetNetworkOk ¶
func (o *GetInstanceResponse) GetNetworkOk() (*InstanceNetwork, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetReplicas ¶
func (o *GetInstanceResponse) GetReplicas() Replicas
GetReplicas returns the Replicas field value
func (*GetInstanceResponse) GetReplicasOk ¶
func (o *GetInstanceResponse) GetReplicasOk() (*Replicas, bool)
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetRetentionDays ¶
func (o *GetInstanceResponse) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value
func (*GetInstanceResponse) GetRetentionDaysOk ¶
func (o *GetInstanceResponse) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetState ¶
func (o *GetInstanceResponse) GetState() State
GetState returns the State field value
func (*GetInstanceResponse) GetStateOk ¶
func (o *GetInstanceResponse) GetStateOk() (*State, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetStorage ¶
func (o *GetInstanceResponse) GetStorage() Storage
GetStorage returns the Storage field value
func (*GetInstanceResponse) GetStorageOk ¶
func (o *GetInstanceResponse) GetStorageOk() (*Storage, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetVersion ¶
func (o *GetInstanceResponse) GetVersion() InstanceVersion
GetVersion returns the Version field value
func (*GetInstanceResponse) GetVersionOk ¶
func (o *GetInstanceResponse) GetVersionOk() (*InstanceVersion, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) HasEncryption ¶
func (o *GetInstanceResponse) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (*GetInstanceResponse) HasLabels ¶
func (o *GetInstanceResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (GetInstanceResponse) MarshalJSON ¶
func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceResponse) SetBackupSchedule ¶
func (o *GetInstanceResponse) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*GetInstanceResponse) SetEdition ¶
func (o *GetInstanceResponse) SetEdition(v InstanceEdition)
SetEdition sets field value
func (*GetInstanceResponse) SetEncryption ¶
func (o *GetInstanceResponse) SetEncryption(v InstanceEncryption)
SetEncryption gets a reference to the given InstanceEncryption and assigns it to the Encryption field.
func (*GetInstanceResponse) SetFlavorId ¶
func (o *GetInstanceResponse) SetFlavorId(v string)
SetFlavorId sets field value
func (*GetInstanceResponse) SetId ¶
func (o *GetInstanceResponse) SetId(v string)
SetId sets field value
func (*GetInstanceResponse) SetIsDeletable ¶
func (o *GetInstanceResponse) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (*GetInstanceResponse) SetLabels ¶
func (o *GetInstanceResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetInstanceResponse) SetName ¶
func (o *GetInstanceResponse) SetName(v string)
SetName sets field value
func (*GetInstanceResponse) SetNetwork ¶
func (o *GetInstanceResponse) SetNetwork(v InstanceNetwork)
SetNetwork sets field value
func (*GetInstanceResponse) SetReplicas ¶
func (o *GetInstanceResponse) SetReplicas(v Replicas)
SetReplicas sets field value
func (*GetInstanceResponse) SetRetentionDays ¶
func (o *GetInstanceResponse) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*GetInstanceResponse) SetState ¶
func (o *GetInstanceResponse) SetState(v State)
SetState sets field value
func (*GetInstanceResponse) SetStorage ¶
func (o *GetInstanceResponse) SetStorage(v Storage)
SetStorage sets field value
func (*GetInstanceResponse) SetVersion ¶
func (o *GetInstanceResponse) SetVersion(v InstanceVersion)
SetVersion sets field value
func (GetInstanceResponse) ToMap ¶
func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
func (*GetInstanceResponse) UnmarshalJSON ¶
func (o *GetInstanceResponse) UnmarshalJSON(data []byte) (err error)
type GetStoragesResponse ¶
type GetStoragesResponse struct {
// maximum storage which can be ordered for the flavor in Gigabyte.
StorageClasses []FlavorStorageClassesStorageClass `json:"storageClasses"`
StorageRange FlavorStorageRange `json:"storageRange"`
AdditionalProperties map[string]interface{}
}
GetStoragesResponse struct for GetStoragesResponse
func NewGetStoragesResponse ¶
func NewGetStoragesResponse(storageClasses []FlavorStorageClassesStorageClass, storageRange FlavorStorageRange) *GetStoragesResponse
NewGetStoragesResponse instantiates a new GetStoragesResponse 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 NewGetStoragesResponseWithDefaults ¶
func NewGetStoragesResponseWithDefaults() *GetStoragesResponse
NewGetStoragesResponseWithDefaults instantiates a new GetStoragesResponse 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 (*GetStoragesResponse) GetStorageClasses ¶
func (o *GetStoragesResponse) GetStorageClasses() []FlavorStorageClassesStorageClass
GetStorageClasses returns the StorageClasses field value
func (*GetStoragesResponse) GetStorageClassesOk ¶
func (o *GetStoragesResponse) GetStorageClassesOk() ([]FlavorStorageClassesStorageClass, bool)
GetStorageClassesOk returns a tuple with the StorageClasses field value and a boolean to check if the value has been set.
func (*GetStoragesResponse) GetStorageRange ¶
func (o *GetStoragesResponse) GetStorageRange() FlavorStorageRange
GetStorageRange returns the StorageRange field value
func (*GetStoragesResponse) GetStorageRangeOk ¶
func (o *GetStoragesResponse) GetStorageRangeOk() (*FlavorStorageRange, bool)
GetStorageRangeOk returns a tuple with the StorageRange field value and a boolean to check if the value has been set.
func (GetStoragesResponse) MarshalJSON ¶
func (o GetStoragesResponse) MarshalJSON() ([]byte, error)
func (*GetStoragesResponse) SetStorageClasses ¶
func (o *GetStoragesResponse) SetStorageClasses(v []FlavorStorageClassesStorageClass)
SetStorageClasses sets field value
func (*GetStoragesResponse) SetStorageRange ¶
func (o *GetStoragesResponse) SetStorageRange(v FlavorStorageRange)
SetStorageRange sets field value
func (GetStoragesResponse) ToMap ¶
func (o GetStoragesResponse) ToMap() (map[string]interface{}, error)
func (*GetStoragesResponse) UnmarshalJSON ¶
func (o *GetStoragesResponse) UnmarshalJSON(data []byte) (err error)
type GetUserResponse ¶
type GetUserResponse struct {
// The default database for a user of the instance.
DefaultDatabase string `json:"default_database"`
// The host of the instance in which the user belongs to.
Host string `json:"host"`
// The ID of the user.
Id int64 `json:"id"`
// The port of the instance in which the user belongs to.
Port int32 `json:"port"`
// A list of user roles.
Roles []string `json:"roles"`
// The current status of the user.
Status string `json:"status"`
// The name of the user.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
GetUserResponse struct for GetUserResponse
func NewGetUserResponse ¶
func NewGetUserResponse(defaultDatabase string, host string, id int64, port int32, roles []string, status string, username string) *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) GetDefaultDatabase ¶
func (o *GetUserResponse) GetDefaultDatabase() string
GetDefaultDatabase returns the DefaultDatabase field value
func (*GetUserResponse) GetDefaultDatabaseOk ¶
func (o *GetUserResponse) GetDefaultDatabaseOk() (*string, bool)
GetDefaultDatabaseOk returns a tuple with the DefaultDatabase field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetHost ¶
func (o *GetUserResponse) GetHost() string
GetHost returns the Host field value
func (*GetUserResponse) GetHostOk ¶
func (o *GetUserResponse) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetId ¶
func (o *GetUserResponse) GetId() int64
GetId returns the Id field value
func (*GetUserResponse) GetIdOk ¶
func (o *GetUserResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetPort ¶
func (o *GetUserResponse) GetPort() int32
GetPort returns the Port field value
func (*GetUserResponse) GetPortOk ¶
func (o *GetUserResponse) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetRoles ¶
func (o *GetUserResponse) GetRoles() []string
GetRoles returns the Roles field value
func (*GetUserResponse) GetRolesOk ¶
func (o *GetUserResponse) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetStatus ¶
func (o *GetUserResponse) GetStatus() string
GetStatus returns the Status field value
func (*GetUserResponse) GetStatusOk ¶
func (o *GetUserResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetUsername ¶
func (o *GetUserResponse) GetUsername() string
GetUsername returns the Username field value
func (*GetUserResponse) GetUsernameOk ¶
func (o *GetUserResponse) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (GetUserResponse) MarshalJSON ¶
func (o GetUserResponse) MarshalJSON() ([]byte, error)
func (*GetUserResponse) SetDefaultDatabase ¶
func (o *GetUserResponse) SetDefaultDatabase(v string)
SetDefaultDatabase sets field value
func (*GetUserResponse) SetHost ¶
func (o *GetUserResponse) SetHost(v string)
SetHost sets field value
func (*GetUserResponse) SetPort ¶
func (o *GetUserResponse) SetPort(v int32)
SetPort sets field value
func (*GetUserResponse) SetRoles ¶
func (o *GetUserResponse) SetRoles(v []string)
SetRoles sets field value
func (*GetUserResponse) SetStatus ¶
func (o *GetUserResponse) SetStatus(v string)
SetStatus sets field value
func (*GetUserResponse) SetUsername ¶
func (o *GetUserResponse) SetUsername(v string)
SetUsername sets field value
func (GetUserResponse) ToMap ¶
func (o GetUserResponse) ToMap() (map[string]interface{}, error)
func (*GetUserResponse) UnmarshalJSON ¶
func (o *GetUserResponse) UnmarshalJSON(data []byte) (err error)
type GetVersionsResponse ¶
type GetVersionsResponse struct {
// A list containing available sqlserver versions.
Versions []Version `json:"versions"`
AdditionalProperties map[string]interface{}
}
GetVersionsResponse struct for GetVersionsResponse
func NewGetVersionsResponse ¶
func NewGetVersionsResponse(versions []Version) *GetVersionsResponse
NewGetVersionsResponse instantiates a new GetVersionsResponse 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 NewGetVersionsResponseWithDefaults ¶
func NewGetVersionsResponseWithDefaults() *GetVersionsResponse
NewGetVersionsResponseWithDefaults instantiates a new GetVersionsResponse 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 (*GetVersionsResponse) GetVersions ¶
func (o *GetVersionsResponse) GetVersions() []Version
GetVersions returns the Versions field value
func (*GetVersionsResponse) GetVersionsOk ¶
func (o *GetVersionsResponse) GetVersionsOk() ([]Version, bool)
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (GetVersionsResponse) MarshalJSON ¶
func (o GetVersionsResponse) MarshalJSON() ([]byte, error)
func (*GetVersionsResponse) SetVersions ¶
func (o *GetVersionsResponse) SetVersions(v []Version)
SetVersions sets field value
func (GetVersionsResponse) ToMap ¶
func (o GetVersionsResponse) ToMap() (map[string]interface{}, error)
func (*GetVersionsResponse) UnmarshalJSON ¶
func (o *GetVersionsResponse) UnmarshalJSON(data []byte) (err error)
type InstanceEdition ¶
type InstanceEdition string
InstanceEdition Edition of the MSSQL server instance
const ( INSTANCEEDITION_STANDARD InstanceEdition = "Standard" INSTANCEEDITION_ENTERPRISE_CORE InstanceEdition = "EnterpriseCore" INSTANCEEDITION_DEVELOPER InstanceEdition = "developer" INSTANCEEDITION_UNKNOWN_DEFAULT_OPEN_API InstanceEdition = "unknown_default_open_api" )
List of instance.edition
func NewInstanceEditionFromValue ¶
func NewInstanceEditionFromValue(v string) (*InstanceEdition, error)
NewInstanceEditionFromValue returns a pointer to a valid InstanceEdition for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceEdition) IsValid ¶
func (v InstanceEdition) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceEdition) Ptr ¶
func (v InstanceEdition) Ptr() *InstanceEdition
Ptr returns reference to instance.edition value
func (*InstanceEdition) UnmarshalJSON ¶
func (v *InstanceEdition) UnmarshalJSON(src []byte) error
type InstanceEncryption ¶
type InstanceEncryption struct {
// The key identifier
KekKeyId string `json:"kekKeyId"`
// The keyring identifier
KekKeyRingId string `json:"kekKeyRingId"`
// The key version
KekKeyVersion string `json:"kekKeyVersion"`
ServiceAccount string `json:"serviceAccount"`
AdditionalProperties map[string]interface{}
}
InstanceEncryption this defines which key to use for storage encryption
func NewInstanceEncryption ¶
func NewInstanceEncryption(kekKeyId string, kekKeyRingId string, kekKeyVersion string, serviceAccount string) *InstanceEncryption
NewInstanceEncryption instantiates a new InstanceEncryption 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 NewInstanceEncryptionWithDefaults ¶
func NewInstanceEncryptionWithDefaults() *InstanceEncryption
NewInstanceEncryptionWithDefaults instantiates a new InstanceEncryption 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 (*InstanceEncryption) GetKekKeyId ¶
func (o *InstanceEncryption) GetKekKeyId() string
GetKekKeyId returns the KekKeyId field value
func (*InstanceEncryption) GetKekKeyIdOk ¶
func (o *InstanceEncryption) GetKekKeyIdOk() (*string, bool)
GetKekKeyIdOk returns a tuple with the KekKeyId field value and a boolean to check if the value has been set.
func (*InstanceEncryption) GetKekKeyRingId ¶
func (o *InstanceEncryption) GetKekKeyRingId() string
GetKekKeyRingId returns the KekKeyRingId field value
func (*InstanceEncryption) GetKekKeyRingIdOk ¶
func (o *InstanceEncryption) GetKekKeyRingIdOk() (*string, bool)
GetKekKeyRingIdOk returns a tuple with the KekKeyRingId field value and a boolean to check if the value has been set.
func (*InstanceEncryption) GetKekKeyVersion ¶
func (o *InstanceEncryption) GetKekKeyVersion() string
GetKekKeyVersion returns the KekKeyVersion field value
func (*InstanceEncryption) GetKekKeyVersionOk ¶
func (o *InstanceEncryption) GetKekKeyVersionOk() (*string, bool)
GetKekKeyVersionOk returns a tuple with the KekKeyVersion field value and a boolean to check if the value has been set.
func (*InstanceEncryption) GetServiceAccount ¶
func (o *InstanceEncryption) GetServiceAccount() string
GetServiceAccount returns the ServiceAccount field value
func (*InstanceEncryption) GetServiceAccountOk ¶
func (o *InstanceEncryption) GetServiceAccountOk() (*string, bool)
GetServiceAccountOk returns a tuple with the ServiceAccount field value and a boolean to check if the value has been set.
func (InstanceEncryption) MarshalJSON ¶
func (o InstanceEncryption) MarshalJSON() ([]byte, error)
func (*InstanceEncryption) SetKekKeyId ¶
func (o *InstanceEncryption) SetKekKeyId(v string)
SetKekKeyId sets field value
func (*InstanceEncryption) SetKekKeyRingId ¶
func (o *InstanceEncryption) SetKekKeyRingId(v string)
SetKekKeyRingId sets field value
func (*InstanceEncryption) SetKekKeyVersion ¶
func (o *InstanceEncryption) SetKekKeyVersion(v string)
SetKekKeyVersion sets field value
func (*InstanceEncryption) SetServiceAccount ¶
func (o *InstanceEncryption) SetServiceAccount(v string)
SetServiceAccount sets field value
func (InstanceEncryption) ToMap ¶
func (o InstanceEncryption) ToMap() (map[string]interface{}, error)
func (*InstanceEncryption) UnmarshalJSON ¶
func (o *InstanceEncryption) UnmarshalJSON(data []byte) (err error)
type InstanceNetwork ¶
type InstanceNetwork struct {
AccessScope *InstanceNetworkAccessScope `json:"accessScope,omitempty"`
// List of IPV4 cidr.
Acl []string `json:"acl,omitempty"`
InstanceAddress *string `json:"instanceAddress,omitempty"`
RouterAddress *string `json:"routerAddress,omitempty"`
AdditionalProperties map[string]interface{}
}
InstanceNetwork The access configuration of the instance
func NewInstanceNetwork ¶
func NewInstanceNetwork() *InstanceNetwork
NewInstanceNetwork instantiates a new InstanceNetwork 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 NewInstanceNetworkWithDefaults ¶
func NewInstanceNetworkWithDefaults() *InstanceNetwork
NewInstanceNetworkWithDefaults instantiates a new InstanceNetwork 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 (*InstanceNetwork) GetAccessScope ¶
func (o *InstanceNetwork) GetAccessScope() InstanceNetworkAccessScope
GetAccessScope returns the AccessScope field value if set, zero value otherwise.
func (*InstanceNetwork) GetAccessScopeOk ¶
func (o *InstanceNetwork) GetAccessScopeOk() (*InstanceNetworkAccessScope, bool)
GetAccessScopeOk returns a tuple with the AccessScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceNetwork) GetAcl ¶
func (o *InstanceNetwork) GetAcl() []string
GetAcl returns the Acl field value if set, zero value otherwise.
func (*InstanceNetwork) GetAclOk ¶
func (o *InstanceNetwork) GetAclOk() ([]string, 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 (*InstanceNetwork) GetInstanceAddress ¶
func (o *InstanceNetwork) GetInstanceAddress() string
GetInstanceAddress returns the InstanceAddress field value if set, zero value otherwise.
func (*InstanceNetwork) GetInstanceAddressOk ¶
func (o *InstanceNetwork) GetInstanceAddressOk() (*string, bool)
GetInstanceAddressOk returns a tuple with the InstanceAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceNetwork) GetRouterAddress ¶
func (o *InstanceNetwork) GetRouterAddress() string
GetRouterAddress returns the RouterAddress field value if set, zero value otherwise.
func (*InstanceNetwork) GetRouterAddressOk ¶
func (o *InstanceNetwork) GetRouterAddressOk() (*string, bool)
GetRouterAddressOk returns a tuple with the RouterAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceNetwork) HasAccessScope ¶
func (o *InstanceNetwork) HasAccessScope() bool
HasAccessScope returns a boolean if a field has been set.
func (*InstanceNetwork) HasAcl ¶
func (o *InstanceNetwork) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (*InstanceNetwork) HasInstanceAddress ¶
func (o *InstanceNetwork) HasInstanceAddress() bool
HasInstanceAddress returns a boolean if a field has been set.
func (*InstanceNetwork) HasRouterAddress ¶
func (o *InstanceNetwork) HasRouterAddress() bool
HasRouterAddress returns a boolean if a field has been set.
func (InstanceNetwork) MarshalJSON ¶
func (o InstanceNetwork) MarshalJSON() ([]byte, error)
func (*InstanceNetwork) SetAccessScope ¶
func (o *InstanceNetwork) SetAccessScope(v InstanceNetworkAccessScope)
SetAccessScope gets a reference to the given InstanceNetworkAccessScope and assigns it to the AccessScope field.
func (*InstanceNetwork) SetAcl ¶
func (o *InstanceNetwork) SetAcl(v []string)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*InstanceNetwork) SetInstanceAddress ¶
func (o *InstanceNetwork) SetInstanceAddress(v string)
SetInstanceAddress gets a reference to the given string and assigns it to the InstanceAddress field.
func (*InstanceNetwork) SetRouterAddress ¶
func (o *InstanceNetwork) SetRouterAddress(v string)
SetRouterAddress gets a reference to the given string and assigns it to the RouterAddress field.
func (InstanceNetwork) ToMap ¶
func (o InstanceNetwork) ToMap() (map[string]interface{}, error)
func (*InstanceNetwork) UnmarshalJSON ¶
func (o *InstanceNetwork) UnmarshalJSON(data []byte) (err error)
type InstanceNetworkAccessScope ¶
type InstanceNetworkAccessScope string
InstanceNetworkAccessScope The network access scope of the instance ⚠️ **Note:** This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected.
const ( INSTANCENETWORKACCESSSCOPE_PUBLIC InstanceNetworkAccessScope = "PUBLIC" INSTANCENETWORKACCESSSCOPE_SNA InstanceNetworkAccessScope = "SNA" INSTANCENETWORKACCESSSCOPE_UNKNOWN_DEFAULT_OPEN_API InstanceNetworkAccessScope = "unknown_default_open_api" )
List of instance.network.accessScope
func NewInstanceNetworkAccessScopeFromValue ¶
func NewInstanceNetworkAccessScopeFromValue(v string) (*InstanceNetworkAccessScope, error)
NewInstanceNetworkAccessScopeFromValue returns a pointer to a valid InstanceNetworkAccessScope for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceNetworkAccessScope) IsValid ¶
func (v InstanceNetworkAccessScope) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceNetworkAccessScope) Ptr ¶
func (v InstanceNetworkAccessScope) Ptr() *InstanceNetworkAccessScope
Ptr returns reference to instance.network.accessScope value
func (*InstanceNetworkAccessScope) UnmarshalJSON ¶
func (v *InstanceNetworkAccessScope) UnmarshalJSON(src []byte) error
type InstanceSort ¶
type InstanceSort string
InstanceSort the model 'InstanceSort'
const ( INSTANCESORT_INDEX_DESC InstanceSort = "index.desc" INSTANCESORT_INDEX_ASC InstanceSort = "index.asc" INSTANCESORT_ID_DESC InstanceSort = "id.desc" INSTANCESORT_ID_ASC InstanceSort = "id.asc" INSTANCESORT_IS_DELETABLE_DESC InstanceSort = "is_deletable.desc" INSTANCESORT_IS_DELETABLE_ASC InstanceSort = "is_deletable.asc" INSTANCESORT_NAME_ASC InstanceSort = "name.asc" INSTANCESORT_NAME_DESC InstanceSort = "name.desc" INSTANCESORT_STATE_ASC InstanceSort = "state.asc" INSTANCESORT_STATE_DESC InstanceSort = "state.desc" INSTANCESORT_UNKNOWN_DEFAULT_OPEN_API InstanceSort = "unknown_default_open_api" )
List of instance.sort
func NewInstanceSortFromValue ¶
func NewInstanceSortFromValue(v string) (*InstanceSort, error)
NewInstanceSortFromValue returns a pointer to a valid InstanceSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceSort) IsValid ¶
func (v InstanceSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceSort) Ptr ¶
func (v InstanceSort) Ptr() *InstanceSort
Ptr returns reference to instance.sort value
func (*InstanceSort) UnmarshalJSON ¶
func (v *InstanceSort) UnmarshalJSON(src []byte) error
type InstanceVersion ¶
type InstanceVersion string
InstanceVersion The sqlserver version used for the instance.
const ( INSTANCEVERSION__2022 InstanceVersion = "2022" INSTANCEVERSION_UNKNOWN_DEFAULT_OPEN_API InstanceVersion = "unknown_default_open_api" )
List of instance.version
func NewInstanceVersionFromValue ¶
func NewInstanceVersionFromValue(v string) (*InstanceVersion, error)
NewInstanceVersionFromValue returns a pointer to a valid InstanceVersion for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceVersion) IsValid ¶
func (v InstanceVersion) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceVersion) Ptr ¶
func (v InstanceVersion) Ptr() *InstanceVersion
Ptr returns reference to instance.version value
func (*InstanceVersion) UnmarshalJSON ¶
func (v *InstanceVersion) UnmarshalJSON(src []byte) error
type InstanceVersionOpt ¶
type InstanceVersionOpt string
InstanceVersionOpt the model 'InstanceVersionOpt'
const ( INSTANCEVERSIONOPT__2022 InstanceVersionOpt = "2022" INSTANCEVERSIONOPT_UNKNOWN_DEFAULT_OPEN_API InstanceVersionOpt = "unknown_default_open_api" )
List of instance.version.opt
func NewInstanceVersionOptFromValue ¶
func NewInstanceVersionOptFromValue(v string) (*InstanceVersionOpt, error)
NewInstanceVersionOptFromValue returns a pointer to a valid InstanceVersionOpt for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceVersionOpt) IsValid ¶
func (v InstanceVersionOpt) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceVersionOpt) Ptr ¶
func (v InstanceVersionOpt) Ptr() *InstanceVersionOpt
Ptr returns reference to instance.version.opt value
func (*InstanceVersionOpt) UnmarshalJSON ¶
func (v *InstanceVersionOpt) UnmarshalJSON(src []byte) error
type ListBackup ¶
type ListBackup struct {
// The time when the backup was completed in RFC3339 format.
CompletionTime string `json:"completionTime"`
// The ID of the backup.
Id int64 `json:"id"`
// The name of the backup.
Name string `json:"name"`
// The time until the backup will be retained.
RetainedUntil string `json:"retainedUntil"`
// The size of the backup in bytes.
Size int64 `json:"size"`
// The type of the backup, which can be automated or manual triggered.
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
ListBackup struct for ListBackup
func NewListBackup ¶
func NewListBackup(completionTime string, id int64, name string, retainedUntil string, size int64, types string) *ListBackup
NewListBackup instantiates a new ListBackup 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 NewListBackupWithDefaults ¶
func NewListBackupWithDefaults() *ListBackup
NewListBackupWithDefaults instantiates a new ListBackup 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 (*ListBackup) GetCompletionTime ¶
func (o *ListBackup) GetCompletionTime() string
GetCompletionTime returns the CompletionTime field value
func (*ListBackup) GetCompletionTimeOk ¶
func (o *ListBackup) GetCompletionTimeOk() (*string, bool)
GetCompletionTimeOk returns a tuple with the CompletionTime field value and a boolean to check if the value has been set.
func (*ListBackup) GetIdOk ¶
func (o *ListBackup) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListBackup) GetName ¶
func (o *ListBackup) GetName() string
GetName returns the Name field value
func (*ListBackup) GetNameOk ¶
func (o *ListBackup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListBackup) GetRetainedUntil ¶
func (o *ListBackup) GetRetainedUntil() string
GetRetainedUntil returns the RetainedUntil field value
func (*ListBackup) GetRetainedUntilOk ¶
func (o *ListBackup) GetRetainedUntilOk() (*string, bool)
GetRetainedUntilOk returns a tuple with the RetainedUntil field value and a boolean to check if the value has been set.
func (*ListBackup) GetSize ¶
func (o *ListBackup) GetSize() int64
GetSize returns the Size field value
func (*ListBackup) GetSizeOk ¶
func (o *ListBackup) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*ListBackup) GetType ¶
func (o *ListBackup) GetType() string
GetType returns the Type field value
func (*ListBackup) GetTypeOk ¶
func (o *ListBackup) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ListBackup) MarshalJSON ¶
func (o ListBackup) MarshalJSON() ([]byte, error)
func (*ListBackup) SetCompletionTime ¶
func (o *ListBackup) SetCompletionTime(v string)
SetCompletionTime sets field value
func (*ListBackup) SetRetainedUntil ¶
func (o *ListBackup) SetRetainedUntil(v string)
SetRetainedUntil sets field value
func (ListBackup) ToMap ¶
func (o ListBackup) ToMap() (map[string]interface{}, error)
func (*ListBackup) UnmarshalJSON ¶
func (o *ListBackup) UnmarshalJSON(data []byte) (err error)
type ListBackupResponse ¶
type ListBackupResponse struct {
// The list containing the information about the backups.
Backups []ListBackupsResponse `json:"backups"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListBackupResponse struct for ListBackupResponse
func NewListBackupResponse ¶
func NewListBackupResponse(backups []ListBackupsResponse, pagination Pagination) *ListBackupResponse
NewListBackupResponse instantiates a new ListBackupResponse 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 NewListBackupResponseWithDefaults ¶
func NewListBackupResponseWithDefaults() *ListBackupResponse
NewListBackupResponseWithDefaults instantiates a new ListBackupResponse 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 (*ListBackupResponse) GetBackups ¶
func (o *ListBackupResponse) GetBackups() []ListBackupsResponse
GetBackups returns the Backups field value
func (*ListBackupResponse) GetBackupsOk ¶
func (o *ListBackupResponse) GetBackupsOk() ([]ListBackupsResponse, bool)
GetBackupsOk returns a tuple with the Backups field value and a boolean to check if the value has been set.
func (*ListBackupResponse) GetPagination ¶
func (o *ListBackupResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListBackupResponse) GetPaginationOk ¶
func (o *ListBackupResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListBackupResponse) MarshalJSON ¶
func (o ListBackupResponse) MarshalJSON() ([]byte, error)
func (*ListBackupResponse) SetBackups ¶
func (o *ListBackupResponse) SetBackups(v []ListBackupsResponse)
SetBackups sets field value
func (*ListBackupResponse) SetPagination ¶
func (o *ListBackupResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListBackupResponse) ToMap ¶
func (o ListBackupResponse) ToMap() (map[string]interface{}, error)
func (*ListBackupResponse) UnmarshalJSON ¶
func (o *ListBackupResponse) UnmarshalJSON(data []byte) (err error)
type ListBackupsResponse ¶
type ListBackupsResponse struct {
// List of the backups beloning to that database
Backups []ListBackup `json:"backups"`
// Name of the database the backups belong to
DatabaseName string `json:"databaseName"`
AdditionalProperties map[string]interface{}
}
ListBackupsResponse struct for ListBackupsResponse
func NewListBackupsResponse ¶
func NewListBackupsResponse(backups []ListBackup, databaseName string) *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) GetBackups ¶
func (o *ListBackupsResponse) GetBackups() []ListBackup
GetBackups returns the Backups field value
func (*ListBackupsResponse) GetBackupsOk ¶
func (o *ListBackupsResponse) GetBackupsOk() ([]ListBackup, bool)
GetBackupsOk returns a tuple with the Backups field value and a boolean to check if the value has been set.
func (*ListBackupsResponse) GetDatabaseName ¶
func (o *ListBackupsResponse) GetDatabaseName() string
GetDatabaseName returns the DatabaseName field value
func (*ListBackupsResponse) GetDatabaseNameOk ¶
func (o *ListBackupsResponse) GetDatabaseNameOk() (*string, bool)
GetDatabaseNameOk returns a tuple with the DatabaseName field value and a boolean to check if the value has been set.
func (ListBackupsResponse) MarshalJSON ¶
func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
func (*ListBackupsResponse) SetBackups ¶
func (o *ListBackupsResponse) SetBackups(v []ListBackup)
SetBackups sets field value
func (*ListBackupsResponse) SetDatabaseName ¶
func (o *ListBackupsResponse) SetDatabaseName(v string)
SetDatabaseName sets field value
func (ListBackupsResponse) ToMap ¶
func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
func (*ListBackupsResponse) UnmarshalJSON ¶
func (o *ListBackupsResponse) UnmarshalJSON(data []byte) (err error)
type ListCompatibilityResponse ¶
type ListCompatibilityResponse struct {
// List of compatibilities available for a d
Compatibilities []DatabaseGetcompatibility `json:"compatibilities"`
AdditionalProperties map[string]interface{}
}
ListCompatibilityResponse struct for ListCompatibilityResponse
func NewListCompatibilityResponse ¶
func NewListCompatibilityResponse(compatibilities []DatabaseGetcompatibility) *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() []DatabaseGetcompatibility
GetCompatibilities returns the Compatibilities field value
func (*ListCompatibilityResponse) GetCompatibilitiesOk ¶
func (o *ListCompatibilityResponse) GetCompatibilitiesOk() ([]DatabaseGetcompatibility, bool)
GetCompatibilitiesOk returns a tuple with the Compatibilities field value and a boolean to check if the value has been set.
func (ListCompatibilityResponse) MarshalJSON ¶
func (o ListCompatibilityResponse) MarshalJSON() ([]byte, error)
func (*ListCompatibilityResponse) SetCompatibilities ¶
func (o *ListCompatibilityResponse) SetCompatibilities(v []DatabaseGetcompatibility)
SetCompatibilities sets field value
func (ListCompatibilityResponse) ToMap ¶
func (o ListCompatibilityResponse) ToMap() (map[string]interface{}, error)
func (*ListCompatibilityResponse) UnmarshalJSON ¶
func (o *ListCompatibilityResponse) UnmarshalJSON(data []byte) (err error)
type ListCurrentRunningRestoreJobs ¶
type ListCurrentRunningRestoreJobs struct {
// List of the currently running Restore jobs
RunningRestores []BackupRunningRestore `json:"runningRestores"`
AdditionalProperties map[string]interface{}
}
ListCurrentRunningRestoreJobs struct for ListCurrentRunningRestoreJobs
func NewListCurrentRunningRestoreJobs ¶
func NewListCurrentRunningRestoreJobs(runningRestores []BackupRunningRestore) *ListCurrentRunningRestoreJobs
NewListCurrentRunningRestoreJobs instantiates a new ListCurrentRunningRestoreJobs 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 NewListCurrentRunningRestoreJobsWithDefaults ¶
func NewListCurrentRunningRestoreJobsWithDefaults() *ListCurrentRunningRestoreJobs
NewListCurrentRunningRestoreJobsWithDefaults instantiates a new ListCurrentRunningRestoreJobs 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 (*ListCurrentRunningRestoreJobs) GetRunningRestores ¶
func (o *ListCurrentRunningRestoreJobs) GetRunningRestores() []BackupRunningRestore
GetRunningRestores returns the RunningRestores field value
func (*ListCurrentRunningRestoreJobs) GetRunningRestoresOk ¶
func (o *ListCurrentRunningRestoreJobs) GetRunningRestoresOk() ([]BackupRunningRestore, bool)
GetRunningRestoresOk returns a tuple with the RunningRestores field value and a boolean to check if the value has been set.
func (ListCurrentRunningRestoreJobs) MarshalJSON ¶
func (o ListCurrentRunningRestoreJobs) MarshalJSON() ([]byte, error)
func (*ListCurrentRunningRestoreJobs) SetRunningRestores ¶
func (o *ListCurrentRunningRestoreJobs) SetRunningRestores(v []BackupRunningRestore)
SetRunningRestores sets field value
func (ListCurrentRunningRestoreJobs) ToMap ¶
func (o ListCurrentRunningRestoreJobs) ToMap() (map[string]interface{}, error)
func (*ListCurrentRunningRestoreJobs) UnmarshalJSON ¶
func (o *ListCurrentRunningRestoreJobs) UnmarshalJSON(data []byte) (err error)
type ListDatabase ¶
type ListDatabase struct {
// The date when the database was created in RFC3339 format.
Created string `json:"created"`
// The id of the database.
Id int64 `json:"id"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
AdditionalProperties map[string]interface{}
}
ListDatabase struct for ListDatabase
func NewListDatabase ¶
func NewListDatabase(created string, id int64, name string, owner string) *ListDatabase
NewListDatabase instantiates a new ListDatabase 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 NewListDatabaseWithDefaults ¶
func NewListDatabaseWithDefaults() *ListDatabase
NewListDatabaseWithDefaults instantiates a new ListDatabase 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 (*ListDatabase) GetCreated ¶
func (o *ListDatabase) GetCreated() string
GetCreated returns the Created field value
func (*ListDatabase) GetCreatedOk ¶
func (o *ListDatabase) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*ListDatabase) GetIdOk ¶
func (o *ListDatabase) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListDatabase) GetName ¶
func (o *ListDatabase) GetName() string
GetName returns the Name field value
func (*ListDatabase) GetNameOk ¶
func (o *ListDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListDatabase) GetOwner ¶
func (o *ListDatabase) GetOwner() string
GetOwner returns the Owner field value
func (*ListDatabase) GetOwnerOk ¶
func (o *ListDatabase) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (ListDatabase) MarshalJSON ¶
func (o ListDatabase) MarshalJSON() ([]byte, error)
func (*ListDatabase) SetCreated ¶
func (o *ListDatabase) SetCreated(v string)
SetCreated sets field value
func (ListDatabase) ToMap ¶
func (o ListDatabase) ToMap() (map[string]interface{}, error)
func (*ListDatabase) UnmarshalJSON ¶
func (o *ListDatabase) UnmarshalJSON(data []byte) (err error)
type ListDatabasesResponse ¶
type ListDatabasesResponse struct {
// A list containing all databases for the instance.
Databases []ListDatabase `json:"databases"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListDatabasesResponse struct for ListDatabasesResponse
func NewListDatabasesResponse ¶
func NewListDatabasesResponse(databases []ListDatabase, pagination Pagination) *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() []ListDatabase
GetDatabases returns the Databases field value
func (*ListDatabasesResponse) GetDatabasesOk ¶
func (o *ListDatabasesResponse) GetDatabasesOk() ([]ListDatabase, bool)
GetDatabasesOk returns a tuple with the Databases field value and a boolean to check if the value has been set.
func (*ListDatabasesResponse) GetPagination ¶
func (o *ListDatabasesResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListDatabasesResponse) GetPaginationOk ¶
func (o *ListDatabasesResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListDatabasesResponse) MarshalJSON ¶
func (o ListDatabasesResponse) MarshalJSON() ([]byte, error)
func (*ListDatabasesResponse) SetDatabases ¶
func (o *ListDatabasesResponse) SetDatabases(v []ListDatabase)
SetDatabases sets field value
func (*ListDatabasesResponse) SetPagination ¶
func (o *ListDatabasesResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListDatabasesResponse) ToMap ¶
func (o ListDatabasesResponse) ToMap() (map[string]interface{}, error)
func (*ListDatabasesResponse) UnmarshalJSON ¶
func (o *ListDatabasesResponse) UnmarshalJSON(data []byte) (err error)
type ListFlavors ¶
type ListFlavors struct {
// The cpu count of the instance.
Cpu int64 `json:"cpu"`
// The flavor description.
Description string `json:"description"`
// The id of the instance flavor.
Id string `json:"id"`
// maximum storage which can be ordered for the flavor in Gigabyte.
MaxGB int32 `json:"maxGB"`
// The memory of the instance in Gibibyte.
Memory int64 `json:"memory"`
// minimum storage which is required to order in Gigabyte.
MinGB int32 `json:"minGB"`
// defines the nodeType it can be either single or HA
NodeType string `json:"nodeType"`
// maximum storage which can be ordered for the flavor in Gigabyte.
StorageClasses []FlavorStorageClassesStorageClass `json:"storageClasses"`
AdditionalProperties map[string]interface{}
}
ListFlavors The flavor of the instance containing the technical features.
func NewListFlavors ¶
func NewListFlavors(cpu int64, description string, id string, maxGB int32, memory int64, minGB int32, nodeType string, storageClasses []FlavorStorageClassesStorageClass) *ListFlavors
NewListFlavors instantiates a new ListFlavors 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 NewListFlavorsWithDefaults ¶
func NewListFlavorsWithDefaults() *ListFlavors
NewListFlavorsWithDefaults instantiates a new ListFlavors 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 (*ListFlavors) GetCpu ¶
func (o *ListFlavors) GetCpu() int64
GetCpu returns the Cpu field value
func (*ListFlavors) GetCpuOk ¶
func (o *ListFlavors) GetCpuOk() (*int64, bool)
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*ListFlavors) GetDescription ¶
func (o *ListFlavors) GetDescription() string
GetDescription returns the Description field value
func (*ListFlavors) GetDescriptionOk ¶
func (o *ListFlavors) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ListFlavors) GetIdOk ¶
func (o *ListFlavors) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListFlavors) GetMaxGB ¶
func (o *ListFlavors) GetMaxGB() int32
GetMaxGB returns the MaxGB field value
func (*ListFlavors) GetMaxGBOk ¶
func (o *ListFlavors) GetMaxGBOk() (*int32, bool)
GetMaxGBOk returns a tuple with the MaxGB field value and a boolean to check if the value has been set.
func (*ListFlavors) GetMemory ¶
func (o *ListFlavors) GetMemory() int64
GetMemory returns the Memory field value
func (*ListFlavors) GetMemoryOk ¶
func (o *ListFlavors) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*ListFlavors) GetMinGB ¶
func (o *ListFlavors) GetMinGB() int32
GetMinGB returns the MinGB field value
func (*ListFlavors) GetMinGBOk ¶
func (o *ListFlavors) GetMinGBOk() (*int32, bool)
GetMinGBOk returns a tuple with the MinGB field value and a boolean to check if the value has been set.
func (*ListFlavors) GetNodeType ¶
func (o *ListFlavors) GetNodeType() string
GetNodeType returns the NodeType field value
func (*ListFlavors) GetNodeTypeOk ¶
func (o *ListFlavors) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*ListFlavors) GetStorageClasses ¶
func (o *ListFlavors) GetStorageClasses() []FlavorStorageClassesStorageClass
GetStorageClasses returns the StorageClasses field value
func (*ListFlavors) GetStorageClassesOk ¶
func (o *ListFlavors) GetStorageClassesOk() ([]FlavorStorageClassesStorageClass, bool)
GetStorageClassesOk returns a tuple with the StorageClasses field value and a boolean to check if the value has been set.
func (ListFlavors) MarshalJSON ¶
func (o ListFlavors) MarshalJSON() ([]byte, error)
func (*ListFlavors) SetDescription ¶
func (o *ListFlavors) SetDescription(v string)
SetDescription sets field value
func (*ListFlavors) SetNodeType ¶
func (o *ListFlavors) SetNodeType(v string)
SetNodeType sets field value
func (*ListFlavors) SetStorageClasses ¶
func (o *ListFlavors) SetStorageClasses(v []FlavorStorageClassesStorageClass)
SetStorageClasses sets field value
func (ListFlavors) ToMap ¶
func (o ListFlavors) ToMap() (map[string]interface{}, error)
func (*ListFlavors) UnmarshalJSON ¶
func (o *ListFlavors) UnmarshalJSON(data []byte) (err error)
type ListInstance ¶
type ListInstance struct {
// The ID of the instance.
Id string `json:"id"`
// Whether the instance can be deleted or not.
IsDeletable bool `json:"isDeletable"`
// The name of the instance.
Name string `json:"name"`
State State `json:"state"`
AdditionalProperties map[string]interface{}
}
ListInstance struct for ListInstance
func NewListInstance ¶
func NewListInstance(id string, isDeletable bool, name string, state State) *ListInstance
NewListInstance instantiates a new ListInstance 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 NewListInstanceWithDefaults ¶
func NewListInstanceWithDefaults() *ListInstance
NewListInstanceWithDefaults instantiates a new ListInstance 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 (*ListInstance) GetIdOk ¶
func (o *ListInstance) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListInstance) GetIsDeletable ¶
func (o *ListInstance) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*ListInstance) GetIsDeletableOk ¶
func (o *ListInstance) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (*ListInstance) GetName ¶
func (o *ListInstance) GetName() string
GetName returns the Name field value
func (*ListInstance) GetNameOk ¶
func (o *ListInstance) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListInstance) GetState ¶
func (o *ListInstance) GetState() State
GetState returns the State field value
func (*ListInstance) GetStateOk ¶
func (o *ListInstance) GetStateOk() (*State, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (ListInstance) MarshalJSON ¶
func (o ListInstance) MarshalJSON() ([]byte, error)
func (*ListInstance) SetIsDeletable ¶
func (o *ListInstance) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (ListInstance) ToMap ¶
func (o ListInstance) ToMap() (map[string]interface{}, error)
func (*ListInstance) UnmarshalJSON ¶
func (o *ListInstance) UnmarshalJSON(data []byte) (err error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
// List of owned instances and their current status.
Instances []ListInstance `json:"instances"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListInstancesResponse struct for ListInstancesResponse
func NewListInstancesResponse ¶
func NewListInstancesResponse(instances []ListInstance, pagination Pagination) *ListInstancesResponse
NewListInstancesResponse instantiates a new ListInstancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInstancesResponseWithDefaults ¶
func NewListInstancesResponseWithDefaults() *ListInstancesResponse
NewListInstancesResponseWithDefaults instantiates a new ListInstancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInstancesResponse) GetInstances ¶
func (o *ListInstancesResponse) GetInstances() []ListInstance
GetInstances returns the Instances field value
func (*ListInstancesResponse) GetInstancesOk ¶
func (o *ListInstancesResponse) GetInstancesOk() ([]ListInstance, bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (*ListInstancesResponse) GetPagination ¶
func (o *ListInstancesResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListInstancesResponse) GetPaginationOk ¶
func (o *ListInstancesResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListInstancesResponse) MarshalJSON ¶
func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
func (*ListInstancesResponse) SetInstances ¶
func (o *ListInstancesResponse) SetInstances(v []ListInstance)
SetInstances sets field value
func (*ListInstancesResponse) SetPagination ¶
func (o *ListInstancesResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListInstancesResponse) ToMap ¶
func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
func (*ListInstancesResponse) UnmarshalJSON ¶
func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
type ListRolesResponse ¶
type ListRolesResponse struct {
// List of roles available for an instance.
Roles []string `json:"roles"`
AdditionalProperties map[string]interface{}
}
ListRolesResponse struct for ListRolesResponse
func NewListRolesResponse ¶
func NewListRolesResponse(roles []string) *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
func (*ListRolesResponse) GetRolesOk ¶
func (o *ListRolesResponse) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (ListRolesResponse) MarshalJSON ¶
func (o ListRolesResponse) MarshalJSON() ([]byte, error)
func (*ListRolesResponse) SetRoles ¶
func (o *ListRolesResponse) SetRoles(v []string)
SetRoles sets field value
func (ListRolesResponse) ToMap ¶
func (o ListRolesResponse) ToMap() (map[string]interface{}, error)
func (*ListRolesResponse) UnmarshalJSON ¶
func (o *ListRolesResponse) UnmarshalJSON(data []byte) (err error)
type ListUser ¶
type ListUser struct {
// The ID of the user.
Id int64 `json:"id"`
// The current status of the user.
Status string `json:"status"`
// The name of the user.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
ListUser struct for ListUser
func NewListUser ¶
NewListUser instantiates a new ListUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUserWithDefaults ¶
func NewListUserWithDefaults() *ListUser
NewListUserWithDefaults instantiates a new ListUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListUser) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListUser) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ListUser) GetUsername ¶
GetUsername returns the Username field value
func (*ListUser) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (ListUser) MarshalJSON ¶
func (*ListUser) SetUsername ¶
SetUsername sets field value
func (*ListUser) UnmarshalJSON ¶
type ListUserResponse ¶
type ListUserResponse struct {
Pagination Pagination `json:"pagination"`
// List of all users inside an instance
Users []ListUser `json:"users"`
AdditionalProperties map[string]interface{}
}
ListUserResponse struct for ListUserResponse
func NewListUserResponse ¶
func NewListUserResponse(pagination Pagination, users []ListUser) *ListUserResponse
NewListUserResponse instantiates a new ListUserResponse 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 NewListUserResponseWithDefaults ¶
func NewListUserResponseWithDefaults() *ListUserResponse
NewListUserResponseWithDefaults instantiates a new ListUserResponse 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 (*ListUserResponse) GetPagination ¶
func (o *ListUserResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListUserResponse) GetPaginationOk ¶
func (o *ListUserResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*ListUserResponse) GetUsers ¶
func (o *ListUserResponse) GetUsers() []ListUser
GetUsers returns the Users field value
func (*ListUserResponse) GetUsersOk ¶
func (o *ListUserResponse) GetUsersOk() ([]ListUser, bool)
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (ListUserResponse) MarshalJSON ¶
func (o ListUserResponse) MarshalJSON() ([]byte, error)
func (*ListUserResponse) SetPagination ¶
func (o *ListUserResponse) SetPagination(v Pagination)
SetPagination sets field value
func (*ListUserResponse) SetUsers ¶
func (o *ListUserResponse) SetUsers(v []ListUser)
SetUsers sets field value
func (ListUserResponse) ToMap ¶
func (o ListUserResponse) ToMap() (map[string]interface{}, error)
func (*ListUserResponse) UnmarshalJSON ¶
func (o *ListUserResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableBackupRunningRestore ¶
type NullableBackupRunningRestore struct {
// contains filtered or unexported fields
}
func NewNullableBackupRunningRestore ¶
func NewNullableBackupRunningRestore(val *BackupRunningRestore) *NullableBackupRunningRestore
func (NullableBackupRunningRestore) Get ¶
func (v NullableBackupRunningRestore) Get() *BackupRunningRestore
func (NullableBackupRunningRestore) IsSet ¶
func (v NullableBackupRunningRestore) IsSet() bool
func (NullableBackupRunningRestore) MarshalJSON ¶
func (v NullableBackupRunningRestore) MarshalJSON() ([]byte, error)
func (*NullableBackupRunningRestore) Set ¶
func (v *NullableBackupRunningRestore) Set(val *BackupRunningRestore)
func (*NullableBackupRunningRestore) UnmarshalJSON ¶
func (v *NullableBackupRunningRestore) UnmarshalJSON(src []byte) error
func (*NullableBackupRunningRestore) Unset ¶
func (v *NullableBackupRunningRestore) Unset()
type NullableBackupSort ¶
type NullableBackupSort struct {
// contains filtered or unexported fields
}
func NewNullableBackupSort ¶
func NewNullableBackupSort(val *BackupSort) *NullableBackupSort
func (NullableBackupSort) Get ¶
func (v NullableBackupSort) Get() *BackupSort
func (NullableBackupSort) IsSet ¶
func (v NullableBackupSort) IsSet() bool
func (NullableBackupSort) MarshalJSON ¶
func (v NullableBackupSort) MarshalJSON() ([]byte, error)
func (*NullableBackupSort) Set ¶
func (v *NullableBackupSort) Set(val *BackupSort)
func (*NullableBackupSort) UnmarshalJSON ¶
func (v *NullableBackupSort) UnmarshalJSON(src []byte) error
func (*NullableBackupSort) Unset ¶
func (v *NullableBackupSort) 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 NullableCreateInstancePayloadNetwork ¶
type NullableCreateInstancePayloadNetwork struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayloadNetwork ¶
func NewNullableCreateInstancePayloadNetwork(val *CreateInstancePayloadNetwork) *NullableCreateInstancePayloadNetwork
func (NullableCreateInstancePayloadNetwork) Get ¶
func (v NullableCreateInstancePayloadNetwork) Get() *CreateInstancePayloadNetwork
func (NullableCreateInstancePayloadNetwork) IsSet ¶
func (v NullableCreateInstancePayloadNetwork) IsSet() bool
func (NullableCreateInstancePayloadNetwork) MarshalJSON ¶
func (v NullableCreateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayloadNetwork) Set ¶
func (v *NullableCreateInstancePayloadNetwork) Set(val *CreateInstancePayloadNetwork)
func (*NullableCreateInstancePayloadNetwork) UnmarshalJSON ¶
func (v *NullableCreateInstancePayloadNetwork) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayloadNetwork) Unset ¶
func (v *NullableCreateInstancePayloadNetwork) 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 NullableDatabaseGetcollation ¶
type NullableDatabaseGetcollation struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseGetcollation ¶
func NewNullableDatabaseGetcollation(val *DatabaseGetcollation) *NullableDatabaseGetcollation
func (NullableDatabaseGetcollation) Get ¶
func (v NullableDatabaseGetcollation) Get() *DatabaseGetcollation
func (NullableDatabaseGetcollation) IsSet ¶
func (v NullableDatabaseGetcollation) IsSet() bool
func (NullableDatabaseGetcollation) MarshalJSON ¶
func (v NullableDatabaseGetcollation) MarshalJSON() ([]byte, error)
func (*NullableDatabaseGetcollation) Set ¶
func (v *NullableDatabaseGetcollation) Set(val *DatabaseGetcollation)
func (*NullableDatabaseGetcollation) UnmarshalJSON ¶
func (v *NullableDatabaseGetcollation) UnmarshalJSON(src []byte) error
func (*NullableDatabaseGetcollation) Unset ¶
func (v *NullableDatabaseGetcollation) Unset()
type NullableDatabaseGetcompatibility ¶
type NullableDatabaseGetcompatibility struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseGetcompatibility ¶
func NewNullableDatabaseGetcompatibility(val *DatabaseGetcompatibility) *NullableDatabaseGetcompatibility
func (NullableDatabaseGetcompatibility) Get ¶
func (v NullableDatabaseGetcompatibility) Get() *DatabaseGetcompatibility
func (NullableDatabaseGetcompatibility) IsSet ¶
func (v NullableDatabaseGetcompatibility) IsSet() bool
func (NullableDatabaseGetcompatibility) MarshalJSON ¶
func (v NullableDatabaseGetcompatibility) MarshalJSON() ([]byte, error)
func (*NullableDatabaseGetcompatibility) Set ¶
func (v *NullableDatabaseGetcompatibility) Set(val *DatabaseGetcompatibility)
func (*NullableDatabaseGetcompatibility) UnmarshalJSON ¶
func (v *NullableDatabaseGetcompatibility) UnmarshalJSON(src []byte) error
func (*NullableDatabaseGetcompatibility) Unset ¶
func (v *NullableDatabaseGetcompatibility) Unset()
type NullableDatabaseRoles ¶
type NullableDatabaseRoles struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseRoles ¶
func NewNullableDatabaseRoles(val *DatabaseRoles) *NullableDatabaseRoles
func (NullableDatabaseRoles) Get ¶
func (v NullableDatabaseRoles) Get() *DatabaseRoles
func (NullableDatabaseRoles) IsSet ¶
func (v NullableDatabaseRoles) IsSet() bool
func (NullableDatabaseRoles) MarshalJSON ¶
func (v NullableDatabaseRoles) MarshalJSON() ([]byte, error)
func (*NullableDatabaseRoles) Set ¶
func (v *NullableDatabaseRoles) Set(val *DatabaseRoles)
func (*NullableDatabaseRoles) UnmarshalJSON ¶
func (v *NullableDatabaseRoles) UnmarshalJSON(src []byte) error
func (*NullableDatabaseRoles) Unset ¶
func (v *NullableDatabaseRoles) Unset()
type NullableDatabaseSort ¶
type NullableDatabaseSort struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseSort ¶
func NewNullableDatabaseSort(val *DatabaseSort) *NullableDatabaseSort
func (NullableDatabaseSort) Get ¶
func (v NullableDatabaseSort) Get() *DatabaseSort
func (NullableDatabaseSort) IsSet ¶
func (v NullableDatabaseSort) IsSet() bool
func (NullableDatabaseSort) MarshalJSON ¶
func (v NullableDatabaseSort) MarshalJSON() ([]byte, error)
func (*NullableDatabaseSort) Set ¶
func (v *NullableDatabaseSort) Set(val *DatabaseSort)
func (*NullableDatabaseSort) UnmarshalJSON ¶
func (v *NullableDatabaseSort) UnmarshalJSON(src []byte) error
func (*NullableDatabaseSort) Unset ¶
func (v *NullableDatabaseSort) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableExternalS3 ¶
type NullableExternalS3 struct {
// contains filtered or unexported fields
}
func NewNullableExternalS3 ¶
func NewNullableExternalS3(val *ExternalS3) *NullableExternalS3
func (NullableExternalS3) Get ¶
func (v NullableExternalS3) Get() *ExternalS3
func (NullableExternalS3) IsSet ¶
func (v NullableExternalS3) IsSet() bool
func (NullableExternalS3) MarshalJSON ¶
func (v NullableExternalS3) MarshalJSON() ([]byte, error)
func (*NullableExternalS3) Set ¶
func (v *NullableExternalS3) Set(val *ExternalS3)
func (*NullableExternalS3) UnmarshalJSON ¶
func (v *NullableExternalS3) UnmarshalJSON(src []byte) error
func (*NullableExternalS3) Unset ¶
func (v *NullableExternalS3) Unset()
type NullableFlavorSort ¶
type NullableFlavorSort struct {
// contains filtered or unexported fields
}
func NewNullableFlavorSort ¶
func NewNullableFlavorSort(val *FlavorSort) *NullableFlavorSort
func (NullableFlavorSort) Get ¶
func (v NullableFlavorSort) Get() *FlavorSort
func (NullableFlavorSort) IsSet ¶
func (v NullableFlavorSort) IsSet() bool
func (NullableFlavorSort) MarshalJSON ¶
func (v NullableFlavorSort) MarshalJSON() ([]byte, error)
func (*NullableFlavorSort) Set ¶
func (v *NullableFlavorSort) Set(val *FlavorSort)
func (*NullableFlavorSort) UnmarshalJSON ¶
func (v *NullableFlavorSort) UnmarshalJSON(src []byte) error
func (*NullableFlavorSort) Unset ¶
func (v *NullableFlavorSort) Unset()
type NullableFlavorStorageClassesStorageClass ¶
type NullableFlavorStorageClassesStorageClass struct {
// contains filtered or unexported fields
}
func NewNullableFlavorStorageClassesStorageClass ¶
func NewNullableFlavorStorageClassesStorageClass(val *FlavorStorageClassesStorageClass) *NullableFlavorStorageClassesStorageClass
func (NullableFlavorStorageClassesStorageClass) IsSet ¶
func (v NullableFlavorStorageClassesStorageClass) IsSet() bool
func (NullableFlavorStorageClassesStorageClass) MarshalJSON ¶
func (v NullableFlavorStorageClassesStorageClass) MarshalJSON() ([]byte, error)
func (*NullableFlavorStorageClassesStorageClass) Set ¶
func (v *NullableFlavorStorageClassesStorageClass) Set(val *FlavorStorageClassesStorageClass)
func (*NullableFlavorStorageClassesStorageClass) UnmarshalJSON ¶
func (v *NullableFlavorStorageClassesStorageClass) UnmarshalJSON(src []byte) error
func (*NullableFlavorStorageClassesStorageClass) Unset ¶
func (v *NullableFlavorStorageClassesStorageClass) Unset()
type NullableFlavorStorageRange ¶
type NullableFlavorStorageRange struct {
// contains filtered or unexported fields
}
func NewNullableFlavorStorageRange ¶
func NewNullableFlavorStorageRange(val *FlavorStorageRange) *NullableFlavorStorageRange
func (NullableFlavorStorageRange) Get ¶
func (v NullableFlavorStorageRange) Get() *FlavorStorageRange
func (NullableFlavorStorageRange) IsSet ¶
func (v NullableFlavorStorageRange) IsSet() bool
func (NullableFlavorStorageRange) MarshalJSON ¶
func (v NullableFlavorStorageRange) MarshalJSON() ([]byte, error)
func (*NullableFlavorStorageRange) Set ¶
func (v *NullableFlavorStorageRange) Set(val *FlavorStorageRange)
func (*NullableFlavorStorageRange) UnmarshalJSON ¶
func (v *NullableFlavorStorageRange) UnmarshalJSON(src []byte) error
func (*NullableFlavorStorageRange) Unset ¶
func (v *NullableFlavorStorageRange) 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 NullableGetCollationsResponse ¶
type NullableGetCollationsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCollationsResponse ¶
func NewNullableGetCollationsResponse(val *GetCollationsResponse) *NullableGetCollationsResponse
func (NullableGetCollationsResponse) Get ¶
func (v NullableGetCollationsResponse) Get() *GetCollationsResponse
func (NullableGetCollationsResponse) IsSet ¶
func (v NullableGetCollationsResponse) IsSet() bool
func (NullableGetCollationsResponse) MarshalJSON ¶
func (v NullableGetCollationsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCollationsResponse) Set ¶
func (v *NullableGetCollationsResponse) Set(val *GetCollationsResponse)
func (*NullableGetCollationsResponse) UnmarshalJSON ¶
func (v *NullableGetCollationsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCollationsResponse) Unset ¶
func (v *NullableGetCollationsResponse) 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 NullableGetFlavorsResponse ¶
type NullableGetFlavorsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetFlavorsResponse ¶
func NewNullableGetFlavorsResponse(val *GetFlavorsResponse) *NullableGetFlavorsResponse
func (NullableGetFlavorsResponse) Get ¶
func (v NullableGetFlavorsResponse) Get() *GetFlavorsResponse
func (NullableGetFlavorsResponse) IsSet ¶
func (v NullableGetFlavorsResponse) IsSet() bool
func (NullableGetFlavorsResponse) MarshalJSON ¶
func (v NullableGetFlavorsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetFlavorsResponse) Set ¶
func (v *NullableGetFlavorsResponse) Set(val *GetFlavorsResponse)
func (*NullableGetFlavorsResponse) UnmarshalJSON ¶
func (v *NullableGetFlavorsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetFlavorsResponse) Unset ¶
func (v *NullableGetFlavorsResponse) 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 NullableGetStoragesResponse ¶
type NullableGetStoragesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetStoragesResponse ¶
func NewNullableGetStoragesResponse(val *GetStoragesResponse) *NullableGetStoragesResponse
func (NullableGetStoragesResponse) Get ¶
func (v NullableGetStoragesResponse) Get() *GetStoragesResponse
func (NullableGetStoragesResponse) IsSet ¶
func (v NullableGetStoragesResponse) IsSet() bool
func (NullableGetStoragesResponse) MarshalJSON ¶
func (v NullableGetStoragesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetStoragesResponse) Set ¶
func (v *NullableGetStoragesResponse) Set(val *GetStoragesResponse)
func (*NullableGetStoragesResponse) UnmarshalJSON ¶
func (v *NullableGetStoragesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetStoragesResponse) Unset ¶
func (v *NullableGetStoragesResponse) 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 NullableGetVersionsResponse ¶
type NullableGetVersionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetVersionsResponse ¶
func NewNullableGetVersionsResponse(val *GetVersionsResponse) *NullableGetVersionsResponse
func (NullableGetVersionsResponse) Get ¶
func (v NullableGetVersionsResponse) Get() *GetVersionsResponse
func (NullableGetVersionsResponse) IsSet ¶
func (v NullableGetVersionsResponse) IsSet() bool
func (NullableGetVersionsResponse) MarshalJSON ¶
func (v NullableGetVersionsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetVersionsResponse) Set ¶
func (v *NullableGetVersionsResponse) Set(val *GetVersionsResponse)
func (*NullableGetVersionsResponse) UnmarshalJSON ¶
func (v *NullableGetVersionsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetVersionsResponse) Unset ¶
func (v *NullableGetVersionsResponse) Unset()
type NullableInstanceEdition ¶
type NullableInstanceEdition struct {
// contains filtered or unexported fields
}
func NewNullableInstanceEdition ¶
func NewNullableInstanceEdition(val *InstanceEdition) *NullableInstanceEdition
func (NullableInstanceEdition) Get ¶
func (v NullableInstanceEdition) Get() *InstanceEdition
func (NullableInstanceEdition) IsSet ¶
func (v NullableInstanceEdition) IsSet() bool
func (NullableInstanceEdition) MarshalJSON ¶
func (v NullableInstanceEdition) MarshalJSON() ([]byte, error)
func (*NullableInstanceEdition) Set ¶
func (v *NullableInstanceEdition) Set(val *InstanceEdition)
func (*NullableInstanceEdition) UnmarshalJSON ¶
func (v *NullableInstanceEdition) UnmarshalJSON(src []byte) error
func (*NullableInstanceEdition) Unset ¶
func (v *NullableInstanceEdition) Unset()
type NullableInstanceEncryption ¶
type NullableInstanceEncryption struct {
// contains filtered or unexported fields
}
func NewNullableInstanceEncryption ¶
func NewNullableInstanceEncryption(val *InstanceEncryption) *NullableInstanceEncryption
func (NullableInstanceEncryption) Get ¶
func (v NullableInstanceEncryption) Get() *InstanceEncryption
func (NullableInstanceEncryption) IsSet ¶
func (v NullableInstanceEncryption) IsSet() bool
func (NullableInstanceEncryption) MarshalJSON ¶
func (v NullableInstanceEncryption) MarshalJSON() ([]byte, error)
func (*NullableInstanceEncryption) Set ¶
func (v *NullableInstanceEncryption) Set(val *InstanceEncryption)
func (*NullableInstanceEncryption) UnmarshalJSON ¶
func (v *NullableInstanceEncryption) UnmarshalJSON(src []byte) error
func (*NullableInstanceEncryption) Unset ¶
func (v *NullableInstanceEncryption) Unset()
type NullableInstanceNetwork ¶
type NullableInstanceNetwork struct {
// contains filtered or unexported fields
}
func NewNullableInstanceNetwork ¶
func NewNullableInstanceNetwork(val *InstanceNetwork) *NullableInstanceNetwork
func (NullableInstanceNetwork) Get ¶
func (v NullableInstanceNetwork) Get() *InstanceNetwork
func (NullableInstanceNetwork) IsSet ¶
func (v NullableInstanceNetwork) IsSet() bool
func (NullableInstanceNetwork) MarshalJSON ¶
func (v NullableInstanceNetwork) MarshalJSON() ([]byte, error)
func (*NullableInstanceNetwork) Set ¶
func (v *NullableInstanceNetwork) Set(val *InstanceNetwork)
func (*NullableInstanceNetwork) UnmarshalJSON ¶
func (v *NullableInstanceNetwork) UnmarshalJSON(src []byte) error
func (*NullableInstanceNetwork) Unset ¶
func (v *NullableInstanceNetwork) Unset()
type NullableInstanceNetworkAccessScope ¶
type NullableInstanceNetworkAccessScope struct {
// contains filtered or unexported fields
}
func NewNullableInstanceNetworkAccessScope ¶
func NewNullableInstanceNetworkAccessScope(val *InstanceNetworkAccessScope) *NullableInstanceNetworkAccessScope
func (NullableInstanceNetworkAccessScope) Get ¶
func (v NullableInstanceNetworkAccessScope) Get() *InstanceNetworkAccessScope
func (NullableInstanceNetworkAccessScope) IsSet ¶
func (v NullableInstanceNetworkAccessScope) IsSet() bool
func (NullableInstanceNetworkAccessScope) MarshalJSON ¶
func (v NullableInstanceNetworkAccessScope) MarshalJSON() ([]byte, error)
func (*NullableInstanceNetworkAccessScope) Set ¶
func (v *NullableInstanceNetworkAccessScope) Set(val *InstanceNetworkAccessScope)
func (*NullableInstanceNetworkAccessScope) UnmarshalJSON ¶
func (v *NullableInstanceNetworkAccessScope) UnmarshalJSON(src []byte) error
func (*NullableInstanceNetworkAccessScope) Unset ¶
func (v *NullableInstanceNetworkAccessScope) Unset()
type NullableInstanceSort ¶
type NullableInstanceSort struct {
// contains filtered or unexported fields
}
func NewNullableInstanceSort ¶
func NewNullableInstanceSort(val *InstanceSort) *NullableInstanceSort
func (NullableInstanceSort) Get ¶
func (v NullableInstanceSort) Get() *InstanceSort
func (NullableInstanceSort) IsSet ¶
func (v NullableInstanceSort) IsSet() bool
func (NullableInstanceSort) MarshalJSON ¶
func (v NullableInstanceSort) MarshalJSON() ([]byte, error)
func (*NullableInstanceSort) Set ¶
func (v *NullableInstanceSort) Set(val *InstanceSort)
func (*NullableInstanceSort) UnmarshalJSON ¶
func (v *NullableInstanceSort) UnmarshalJSON(src []byte) error
func (*NullableInstanceSort) Unset ¶
func (v *NullableInstanceSort) Unset()
type NullableInstanceVersion ¶
type NullableInstanceVersion struct {
// contains filtered or unexported fields
}
func NewNullableInstanceVersion ¶
func NewNullableInstanceVersion(val *InstanceVersion) *NullableInstanceVersion
func (NullableInstanceVersion) Get ¶
func (v NullableInstanceVersion) Get() *InstanceVersion
func (NullableInstanceVersion) IsSet ¶
func (v NullableInstanceVersion) IsSet() bool
func (NullableInstanceVersion) MarshalJSON ¶
func (v NullableInstanceVersion) MarshalJSON() ([]byte, error)
func (*NullableInstanceVersion) Set ¶
func (v *NullableInstanceVersion) Set(val *InstanceVersion)
func (*NullableInstanceVersion) UnmarshalJSON ¶
func (v *NullableInstanceVersion) UnmarshalJSON(src []byte) error
func (*NullableInstanceVersion) Unset ¶
func (v *NullableInstanceVersion) Unset()
type NullableInstanceVersionOpt ¶
type NullableInstanceVersionOpt struct {
// contains filtered or unexported fields
}
func NewNullableInstanceVersionOpt ¶
func NewNullableInstanceVersionOpt(val *InstanceVersionOpt) *NullableInstanceVersionOpt
func (NullableInstanceVersionOpt) Get ¶
func (v NullableInstanceVersionOpt) Get() *InstanceVersionOpt
func (NullableInstanceVersionOpt) IsSet ¶
func (v NullableInstanceVersionOpt) IsSet() bool
func (NullableInstanceVersionOpt) MarshalJSON ¶
func (v NullableInstanceVersionOpt) MarshalJSON() ([]byte, error)
func (*NullableInstanceVersionOpt) Set ¶
func (v *NullableInstanceVersionOpt) Set(val *InstanceVersionOpt)
func (*NullableInstanceVersionOpt) UnmarshalJSON ¶
func (v *NullableInstanceVersionOpt) UnmarshalJSON(src []byte) error
func (*NullableInstanceVersionOpt) Unset ¶
func (v *NullableInstanceVersionOpt) 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 NullableListBackup ¶
type NullableListBackup struct {
// contains filtered or unexported fields
}
func NewNullableListBackup ¶
func NewNullableListBackup(val *ListBackup) *NullableListBackup
func (NullableListBackup) Get ¶
func (v NullableListBackup) Get() *ListBackup
func (NullableListBackup) IsSet ¶
func (v NullableListBackup) IsSet() bool
func (NullableListBackup) MarshalJSON ¶
func (v NullableListBackup) MarshalJSON() ([]byte, error)
func (*NullableListBackup) Set ¶
func (v *NullableListBackup) Set(val *ListBackup)
func (*NullableListBackup) UnmarshalJSON ¶
func (v *NullableListBackup) UnmarshalJSON(src []byte) error
func (*NullableListBackup) Unset ¶
func (v *NullableListBackup) Unset()
type NullableListBackupResponse ¶
type NullableListBackupResponse struct {
// contains filtered or unexported fields
}
func NewNullableListBackupResponse ¶
func NewNullableListBackupResponse(val *ListBackupResponse) *NullableListBackupResponse
func (NullableListBackupResponse) Get ¶
func (v NullableListBackupResponse) Get() *ListBackupResponse
func (NullableListBackupResponse) IsSet ¶
func (v NullableListBackupResponse) IsSet() bool
func (NullableListBackupResponse) MarshalJSON ¶
func (v NullableListBackupResponse) MarshalJSON() ([]byte, error)
func (*NullableListBackupResponse) Set ¶
func (v *NullableListBackupResponse) Set(val *ListBackupResponse)
func (*NullableListBackupResponse) UnmarshalJSON ¶
func (v *NullableListBackupResponse) UnmarshalJSON(src []byte) error
func (*NullableListBackupResponse) Unset ¶
func (v *NullableListBackupResponse) 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 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 NullableListCurrentRunningRestoreJobs ¶
type NullableListCurrentRunningRestoreJobs struct {
// contains filtered or unexported fields
}
func NewNullableListCurrentRunningRestoreJobs ¶
func NewNullableListCurrentRunningRestoreJobs(val *ListCurrentRunningRestoreJobs) *NullableListCurrentRunningRestoreJobs
func (NullableListCurrentRunningRestoreJobs) Get ¶
func (v NullableListCurrentRunningRestoreJobs) Get() *ListCurrentRunningRestoreJobs
func (NullableListCurrentRunningRestoreJobs) IsSet ¶
func (v NullableListCurrentRunningRestoreJobs) IsSet() bool
func (NullableListCurrentRunningRestoreJobs) MarshalJSON ¶
func (v NullableListCurrentRunningRestoreJobs) MarshalJSON() ([]byte, error)
func (*NullableListCurrentRunningRestoreJobs) Set ¶
func (v *NullableListCurrentRunningRestoreJobs) Set(val *ListCurrentRunningRestoreJobs)
func (*NullableListCurrentRunningRestoreJobs) UnmarshalJSON ¶
func (v *NullableListCurrentRunningRestoreJobs) UnmarshalJSON(src []byte) error
func (*NullableListCurrentRunningRestoreJobs) Unset ¶
func (v *NullableListCurrentRunningRestoreJobs) Unset()
type NullableListDatabase ¶
type NullableListDatabase struct {
// contains filtered or unexported fields
}
func NewNullableListDatabase ¶
func NewNullableListDatabase(val *ListDatabase) *NullableListDatabase
func (NullableListDatabase) Get ¶
func (v NullableListDatabase) Get() *ListDatabase
func (NullableListDatabase) IsSet ¶
func (v NullableListDatabase) IsSet() bool
func (NullableListDatabase) MarshalJSON ¶
func (v NullableListDatabase) MarshalJSON() ([]byte, error)
func (*NullableListDatabase) Set ¶
func (v *NullableListDatabase) Set(val *ListDatabase)
func (*NullableListDatabase) UnmarshalJSON ¶
func (v *NullableListDatabase) UnmarshalJSON(src []byte) error
func (*NullableListDatabase) Unset ¶
func (v *NullableListDatabase) 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 NullableListFlavors ¶
type NullableListFlavors struct {
// contains filtered or unexported fields
}
func NewNullableListFlavors ¶
func NewNullableListFlavors(val *ListFlavors) *NullableListFlavors
func (NullableListFlavors) Get ¶
func (v NullableListFlavors) Get() *ListFlavors
func (NullableListFlavors) IsSet ¶
func (v NullableListFlavors) IsSet() bool
func (NullableListFlavors) MarshalJSON ¶
func (v NullableListFlavors) MarshalJSON() ([]byte, error)
func (*NullableListFlavors) Set ¶
func (v *NullableListFlavors) Set(val *ListFlavors)
func (*NullableListFlavors) UnmarshalJSON ¶
func (v *NullableListFlavors) UnmarshalJSON(src []byte) error
func (*NullableListFlavors) Unset ¶
func (v *NullableListFlavors) Unset()
type NullableListInstance ¶
type NullableListInstance struct {
// contains filtered or unexported fields
}
func NewNullableListInstance ¶
func NewNullableListInstance(val *ListInstance) *NullableListInstance
func (NullableListInstance) Get ¶
func (v NullableListInstance) Get() *ListInstance
func (NullableListInstance) IsSet ¶
func (v NullableListInstance) IsSet() bool
func (NullableListInstance) MarshalJSON ¶
func (v NullableListInstance) MarshalJSON() ([]byte, error)
func (*NullableListInstance) Set ¶
func (v *NullableListInstance) Set(val *ListInstance)
func (*NullableListInstance) UnmarshalJSON ¶
func (v *NullableListInstance) UnmarshalJSON(src []byte) error
func (*NullableListInstance) Unset ¶
func (v *NullableListInstance) 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 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 NullableListUser ¶
type NullableListUser struct {
// contains filtered or unexported fields
}
func NewNullableListUser ¶
func NewNullableListUser(val *ListUser) *NullableListUser
func (NullableListUser) Get ¶
func (v NullableListUser) Get() *ListUser
func (NullableListUser) IsSet ¶
func (v NullableListUser) IsSet() bool
func (NullableListUser) MarshalJSON ¶
func (v NullableListUser) MarshalJSON() ([]byte, error)
func (*NullableListUser) Set ¶
func (v *NullableListUser) Set(val *ListUser)
func (*NullableListUser) UnmarshalJSON ¶
func (v *NullableListUser) UnmarshalJSON(src []byte) error
func (*NullableListUser) Unset ¶
func (v *NullableListUser) Unset()
type NullableListUserResponse ¶
type NullableListUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUserResponse ¶
func NewNullableListUserResponse(val *ListUserResponse) *NullableListUserResponse
func (NullableListUserResponse) Get ¶
func (v NullableListUserResponse) Get() *ListUserResponse
func (NullableListUserResponse) IsSet ¶
func (v NullableListUserResponse) IsSet() bool
func (NullableListUserResponse) MarshalJSON ¶
func (v NullableListUserResponse) MarshalJSON() ([]byte, error)
func (*NullableListUserResponse) Set ¶
func (v *NullableListUserResponse) Set(val *ListUserResponse)
func (*NullableListUserResponse) UnmarshalJSON ¶
func (v *NullableListUserResponse) UnmarshalJSON(src []byte) error
func (*NullableListUserResponse) Unset ¶
func (v *NullableListUserResponse) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (NullablePagination) MarshalJSON ¶
func (v NullablePagination) MarshalJSON() ([]byte, error)
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) UnmarshalJSON ¶
func (v *NullablePagination) UnmarshalJSON(src []byte) error
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullableProtectInstancePayload ¶
type NullableProtectInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableProtectInstancePayload ¶
func NewNullableProtectInstancePayload(val *ProtectInstancePayload) *NullableProtectInstancePayload
func (NullableProtectInstancePayload) Get ¶
func (v NullableProtectInstancePayload) Get() *ProtectInstancePayload
func (NullableProtectInstancePayload) IsSet ¶
func (v NullableProtectInstancePayload) IsSet() bool
func (NullableProtectInstancePayload) MarshalJSON ¶
func (v NullableProtectInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableProtectInstancePayload) Set ¶
func (v *NullableProtectInstancePayload) Set(val *ProtectInstancePayload)
func (*NullableProtectInstancePayload) UnmarshalJSON ¶
func (v *NullableProtectInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableProtectInstancePayload) Unset ¶
func (v *NullableProtectInstancePayload) Unset()
type NullableProtectInstanceResponse ¶
type NullableProtectInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableProtectInstanceResponse ¶
func NewNullableProtectInstanceResponse(val *ProtectInstanceResponse) *NullableProtectInstanceResponse
func (NullableProtectInstanceResponse) Get ¶
func (v NullableProtectInstanceResponse) Get() *ProtectInstanceResponse
func (NullableProtectInstanceResponse) IsSet ¶
func (v NullableProtectInstanceResponse) IsSet() bool
func (NullableProtectInstanceResponse) MarshalJSON ¶
func (v NullableProtectInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableProtectInstanceResponse) Set ¶
func (v *NullableProtectInstanceResponse) Set(val *ProtectInstanceResponse)
func (*NullableProtectInstanceResponse) UnmarshalJSON ¶
func (v *NullableProtectInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableProtectInstanceResponse) Unset ¶
func (v *NullableProtectInstanceResponse) Unset()
type NullableReplicas ¶
type NullableReplicas struct {
// contains filtered or unexported fields
}
func NewNullableReplicas ¶
func NewNullableReplicas(val *Replicas) *NullableReplicas
func (NullableReplicas) Get ¶
func (v NullableReplicas) Get() *Replicas
func (NullableReplicas) IsSet ¶
func (v NullableReplicas) IsSet() bool
func (NullableReplicas) MarshalJSON ¶
func (v NullableReplicas) MarshalJSON() ([]byte, error)
func (*NullableReplicas) Set ¶
func (v *NullableReplicas) Set(val *Replicas)
func (*NullableReplicas) UnmarshalJSON ¶
func (v *NullableReplicas) UnmarshalJSON(src []byte) error
func (*NullableReplicas) Unset ¶
func (v *NullableReplicas) 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 NullableRestoreDatabaseFromBackupPayload ¶
type NullableRestoreDatabaseFromBackupPayload struct {
// contains filtered or unexported fields
}
func NewNullableRestoreDatabaseFromBackupPayload ¶
func NewNullableRestoreDatabaseFromBackupPayload(val *RestoreDatabaseFromBackupPayload) *NullableRestoreDatabaseFromBackupPayload
func (NullableRestoreDatabaseFromBackupPayload) IsSet ¶
func (v NullableRestoreDatabaseFromBackupPayload) IsSet() bool
func (NullableRestoreDatabaseFromBackupPayload) MarshalJSON ¶
func (v NullableRestoreDatabaseFromBackupPayload) MarshalJSON() ([]byte, error)
func (*NullableRestoreDatabaseFromBackupPayload) Set ¶
func (v *NullableRestoreDatabaseFromBackupPayload) Set(val *RestoreDatabaseFromBackupPayload)
func (*NullableRestoreDatabaseFromBackupPayload) UnmarshalJSON ¶
func (v *NullableRestoreDatabaseFromBackupPayload) UnmarshalJSON(src []byte) error
func (*NullableRestoreDatabaseFromBackupPayload) Unset ¶
func (v *NullableRestoreDatabaseFromBackupPayload) Unset()
type NullableRestoreDatabaseFromBackupPayloadSource ¶
type NullableRestoreDatabaseFromBackupPayloadSource struct {
// contains filtered or unexported fields
}
func NewNullableRestoreDatabaseFromBackupPayloadSource ¶
func NewNullableRestoreDatabaseFromBackupPayloadSource(val *RestoreDatabaseFromBackupPayloadSource) *NullableRestoreDatabaseFromBackupPayloadSource
func (NullableRestoreDatabaseFromBackupPayloadSource) IsSet ¶
func (v NullableRestoreDatabaseFromBackupPayloadSource) IsSet() bool
func (NullableRestoreDatabaseFromBackupPayloadSource) MarshalJSON ¶
func (v NullableRestoreDatabaseFromBackupPayloadSource) MarshalJSON() ([]byte, error)
func (*NullableRestoreDatabaseFromBackupPayloadSource) Set ¶
func (v *NullableRestoreDatabaseFromBackupPayloadSource) Set(val *RestoreDatabaseFromBackupPayloadSource)
func (*NullableRestoreDatabaseFromBackupPayloadSource) UnmarshalJSON ¶
func (v *NullableRestoreDatabaseFromBackupPayloadSource) UnmarshalJSON(src []byte) error
func (*NullableRestoreDatabaseFromBackupPayloadSource) Unset ¶
func (v *NullableRestoreDatabaseFromBackupPayloadSource) Unset()
type NullableS3fileInfo ¶
type NullableS3fileInfo struct {
// contains filtered or unexported fields
}
func NewNullableS3fileInfo ¶
func NewNullableS3fileInfo(val *S3fileInfo) *NullableS3fileInfo
func (NullableS3fileInfo) Get ¶
func (v NullableS3fileInfo) Get() *S3fileInfo
func (NullableS3fileInfo) IsSet ¶
func (v NullableS3fileInfo) IsSet() bool
func (NullableS3fileInfo) MarshalJSON ¶
func (v NullableS3fileInfo) MarshalJSON() ([]byte, error)
func (*NullableS3fileInfo) Set ¶
func (v *NullableS3fileInfo) Set(val *S3fileInfo)
func (*NullableS3fileInfo) UnmarshalJSON ¶
func (v *NullableS3fileInfo) UnmarshalJSON(src []byte) error
func (*NullableS3fileInfo) Unset ¶
func (v *NullableS3fileInfo) Unset()
type NullableSourceBackup ¶
type NullableSourceBackup struct {
// contains filtered or unexported fields
}
func NewNullableSourceBackup ¶
func NewNullableSourceBackup(val *SourceBackup) *NullableSourceBackup
func (NullableSourceBackup) Get ¶
func (v NullableSourceBackup) Get() *SourceBackup
func (NullableSourceBackup) IsSet ¶
func (v NullableSourceBackup) IsSet() bool
func (NullableSourceBackup) MarshalJSON ¶
func (v NullableSourceBackup) MarshalJSON() ([]byte, error)
func (*NullableSourceBackup) Set ¶
func (v *NullableSourceBackup) Set(val *SourceBackup)
func (*NullableSourceBackup) UnmarshalJSON ¶
func (v *NullableSourceBackup) UnmarshalJSON(src []byte) error
func (*NullableSourceBackup) Unset ¶
func (v *NullableSourceBackup) Unset()
type NullableSourceBackupType ¶
type NullableSourceBackupType struct {
// contains filtered or unexported fields
}
func NewNullableSourceBackupType ¶
func NewNullableSourceBackupType(val *SourceBackupType) *NullableSourceBackupType
func (NullableSourceBackupType) Get ¶
func (v NullableSourceBackupType) Get() *SourceBackupType
func (NullableSourceBackupType) IsSet ¶
func (v NullableSourceBackupType) IsSet() bool
func (NullableSourceBackupType) MarshalJSON ¶
func (v NullableSourceBackupType) MarshalJSON() ([]byte, error)
func (*NullableSourceBackupType) Set ¶
func (v *NullableSourceBackupType) Set(val *SourceBackupType)
func (*NullableSourceBackupType) UnmarshalJSON ¶
func (v *NullableSourceBackupType) UnmarshalJSON(src []byte) error
func (*NullableSourceBackupType) Unset ¶
func (v *NullableSourceBackupType) Unset()
type NullableSourceExternalS3 ¶
type NullableSourceExternalS3 struct {
// contains filtered or unexported fields
}
func NewNullableSourceExternalS3 ¶
func NewNullableSourceExternalS3(val *SourceExternalS3) *NullableSourceExternalS3
func (NullableSourceExternalS3) Get ¶
func (v NullableSourceExternalS3) Get() *SourceExternalS3
func (NullableSourceExternalS3) IsSet ¶
func (v NullableSourceExternalS3) IsSet() bool
func (NullableSourceExternalS3) MarshalJSON ¶
func (v NullableSourceExternalS3) MarshalJSON() ([]byte, error)
func (*NullableSourceExternalS3) Set ¶
func (v *NullableSourceExternalS3) Set(val *SourceExternalS3)
func (*NullableSourceExternalS3) UnmarshalJSON ¶
func (v *NullableSourceExternalS3) UnmarshalJSON(src []byte) error
func (*NullableSourceExternalS3) Unset ¶
func (v *NullableSourceExternalS3) Unset()
type NullableSourceExternalS3Type ¶
type NullableSourceExternalS3Type struct {
// contains filtered or unexported fields
}
func NewNullableSourceExternalS3Type ¶
func NewNullableSourceExternalS3Type(val *SourceExternalS3Type) *NullableSourceExternalS3Type
func (NullableSourceExternalS3Type) Get ¶
func (v NullableSourceExternalS3Type) Get() *SourceExternalS3Type
func (NullableSourceExternalS3Type) IsSet ¶
func (v NullableSourceExternalS3Type) IsSet() bool
func (NullableSourceExternalS3Type) MarshalJSON ¶
func (v NullableSourceExternalS3Type) MarshalJSON() ([]byte, error)
func (*NullableSourceExternalS3Type) Set ¶
func (v *NullableSourceExternalS3Type) Set(val *SourceExternalS3Type)
func (*NullableSourceExternalS3Type) UnmarshalJSON ¶
func (v *NullableSourceExternalS3Type) UnmarshalJSON(src []byte) error
func (*NullableSourceExternalS3Type) Unset ¶
func (v *NullableSourceExternalS3Type) Unset()
type NullableState ¶
type NullableState struct {
// contains filtered or unexported fields
}
func NewNullableState ¶
func NewNullableState(val *State) *NullableState
func (NullableState) Get ¶
func (v NullableState) Get() *State
func (NullableState) IsSet ¶
func (v NullableState) IsSet() bool
func (NullableState) MarshalJSON ¶
func (v NullableState) MarshalJSON() ([]byte, error)
func (*NullableState) Set ¶
func (v *NullableState) Set(val *State)
func (*NullableState) UnmarshalJSON ¶
func (v *NullableState) UnmarshalJSON(src []byte) error
func (*NullableState) Unset ¶
func (v *NullableState) 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 NullableStorageCreate ¶
type NullableStorageCreate struct {
// contains filtered or unexported fields
}
func NewNullableStorageCreate ¶
func NewNullableStorageCreate(val *StorageCreate) *NullableStorageCreate
func (NullableStorageCreate) Get ¶
func (v NullableStorageCreate) Get() *StorageCreate
func (NullableStorageCreate) IsSet ¶
func (v NullableStorageCreate) IsSet() bool
func (NullableStorageCreate) MarshalJSON ¶
func (v NullableStorageCreate) MarshalJSON() ([]byte, error)
func (*NullableStorageCreate) Set ¶
func (v *NullableStorageCreate) Set(val *StorageCreate)
func (*NullableStorageCreate) UnmarshalJSON ¶
func (v *NullableStorageCreate) UnmarshalJSON(src []byte) error
func (*NullableStorageCreate) Unset ¶
func (v *NullableStorageCreate) Unset()
type NullableStorageUpdate ¶
type NullableStorageUpdate struct {
// contains filtered or unexported fields
}
func NewNullableStorageUpdate ¶
func NewNullableStorageUpdate(val *StorageUpdate) *NullableStorageUpdate
func (NullableStorageUpdate) Get ¶
func (v NullableStorageUpdate) Get() *StorageUpdate
func (NullableStorageUpdate) IsSet ¶
func (v NullableStorageUpdate) IsSet() bool
func (NullableStorageUpdate) MarshalJSON ¶
func (v NullableStorageUpdate) MarshalJSON() ([]byte, error)
func (*NullableStorageUpdate) Set ¶
func (v *NullableStorageUpdate) Set(val *StorageUpdate)
func (*NullableStorageUpdate) UnmarshalJSON ¶
func (v *NullableStorageUpdate) UnmarshalJSON(src []byte) error
func (*NullableStorageUpdate) Unset ¶
func (v *NullableStorageUpdate) 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 NullableTriggerRestorePayload ¶
type NullableTriggerRestorePayload struct {
// contains filtered or unexported fields
}
func NewNullableTriggerRestorePayload ¶
func NewNullableTriggerRestorePayload(val *TriggerRestorePayload) *NullableTriggerRestorePayload
func (NullableTriggerRestorePayload) Get ¶
func (v NullableTriggerRestorePayload) Get() *TriggerRestorePayload
func (NullableTriggerRestorePayload) IsSet ¶
func (v NullableTriggerRestorePayload) IsSet() bool
func (NullableTriggerRestorePayload) MarshalJSON ¶
func (v NullableTriggerRestorePayload) MarshalJSON() ([]byte, error)
func (*NullableTriggerRestorePayload) Set ¶
func (v *NullableTriggerRestorePayload) Set(val *TriggerRestorePayload)
func (*NullableTriggerRestorePayload) UnmarshalJSON ¶
func (v *NullableTriggerRestorePayload) UnmarshalJSON(src []byte) error
func (*NullableTriggerRestorePayload) Unset ¶
func (v *NullableTriggerRestorePayload) Unset()
type NullableUpdateInstancePartiallyPayload ¶
type NullableUpdateInstancePartiallyPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePartiallyPayload ¶
func NewNullableUpdateInstancePartiallyPayload(val *UpdateInstancePartiallyPayload) *NullableUpdateInstancePartiallyPayload
func (NullableUpdateInstancePartiallyPayload) Get ¶
func (v NullableUpdateInstancePartiallyPayload) Get() *UpdateInstancePartiallyPayload
func (NullableUpdateInstancePartiallyPayload) IsSet ¶
func (v NullableUpdateInstancePartiallyPayload) IsSet() bool
func (NullableUpdateInstancePartiallyPayload) MarshalJSON ¶
func (v NullableUpdateInstancePartiallyPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePartiallyPayload) Set ¶
func (v *NullableUpdateInstancePartiallyPayload) Set(val *UpdateInstancePartiallyPayload)
func (*NullableUpdateInstancePartiallyPayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePartiallyPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePartiallyPayload) Unset ¶
func (v *NullableUpdateInstancePartiallyPayload) Unset()
type NullableUpdateInstancePartiallyPayloadNetwork ¶
type NullableUpdateInstancePartiallyPayloadNetwork struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePartiallyPayloadNetwork ¶
func NewNullableUpdateInstancePartiallyPayloadNetwork(val *UpdateInstancePartiallyPayloadNetwork) *NullableUpdateInstancePartiallyPayloadNetwork
func (NullableUpdateInstancePartiallyPayloadNetwork) IsSet ¶
func (v NullableUpdateInstancePartiallyPayloadNetwork) IsSet() bool
func (NullableUpdateInstancePartiallyPayloadNetwork) MarshalJSON ¶
func (v NullableUpdateInstancePartiallyPayloadNetwork) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePartiallyPayloadNetwork) Set ¶
func (v *NullableUpdateInstancePartiallyPayloadNetwork) Set(val *UpdateInstancePartiallyPayloadNetwork)
func (*NullableUpdateInstancePartiallyPayloadNetwork) UnmarshalJSON ¶
func (v *NullableUpdateInstancePartiallyPayloadNetwork) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePartiallyPayloadNetwork) Unset ¶
func (v *NullableUpdateInstancePartiallyPayloadNetwork) 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 NullableUpdateInstancePayloadNetwork ¶
type NullableUpdateInstancePayloadNetwork struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayloadNetwork ¶
func NewNullableUpdateInstancePayloadNetwork(val *UpdateInstancePayloadNetwork) *NullableUpdateInstancePayloadNetwork
func (NullableUpdateInstancePayloadNetwork) Get ¶
func (v NullableUpdateInstancePayloadNetwork) Get() *UpdateInstancePayloadNetwork
func (NullableUpdateInstancePayloadNetwork) IsSet ¶
func (v NullableUpdateInstancePayloadNetwork) IsSet() bool
func (NullableUpdateInstancePayloadNetwork) MarshalJSON ¶
func (v NullableUpdateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayloadNetwork) Set ¶
func (v *NullableUpdateInstancePayloadNetwork) Set(val *UpdateInstancePayloadNetwork)
func (*NullableUpdateInstancePayloadNetwork) UnmarshalJSON ¶
func (v *NullableUpdateInstancePayloadNetwork) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePayloadNetwork) Unset ¶
func (v *NullableUpdateInstancePayloadNetwork) Unset()
type NullableUserSort ¶
type NullableUserSort struct {
// contains filtered or unexported fields
}
func NewNullableUserSort ¶
func NewNullableUserSort(val *UserSort) *NullableUserSort
func (NullableUserSort) Get ¶
func (v NullableUserSort) Get() *UserSort
func (NullableUserSort) IsSet ¶
func (v NullableUserSort) IsSet() bool
func (NullableUserSort) MarshalJSON ¶
func (v NullableUserSort) MarshalJSON() ([]byte, error)
func (*NullableUserSort) Set ¶
func (v *NullableUserSort) Set(val *UserSort)
func (*NullableUserSort) UnmarshalJSON ¶
func (v *NullableUserSort) UnmarshalJSON(src []byte) error
func (*NullableUserSort) Unset ¶
func (v *NullableUserSort) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type NullableValidationErrorValidationInner ¶
type NullableValidationErrorValidationInner struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorValidationInner ¶
func NewNullableValidationErrorValidationInner(val *ValidationErrorValidationInner) *NullableValidationErrorValidationInner
func (NullableValidationErrorValidationInner) Get ¶
func (v NullableValidationErrorValidationInner) Get() *ValidationErrorValidationInner
func (NullableValidationErrorValidationInner) IsSet ¶
func (v NullableValidationErrorValidationInner) IsSet() bool
func (NullableValidationErrorValidationInner) MarshalJSON ¶
func (v NullableValidationErrorValidationInner) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorValidationInner) Set ¶
func (v *NullableValidationErrorValidationInner) Set(val *ValidationErrorValidationInner)
func (*NullableValidationErrorValidationInner) UnmarshalJSON ¶
func (v *NullableValidationErrorValidationInner) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorValidationInner) Unset ¶
func (v *NullableValidationErrorValidationInner) Unset()
type NullableVersion ¶
type NullableVersion struct {
// contains filtered or unexported fields
}
func NewNullableVersion ¶
func NewNullableVersion(val *Version) *NullableVersion
func (NullableVersion) Get ¶
func (v NullableVersion) Get() *Version
func (NullableVersion) IsSet ¶
func (v NullableVersion) IsSet() bool
func (NullableVersion) MarshalJSON ¶
func (v NullableVersion) MarshalJSON() ([]byte, error)
func (*NullableVersion) Set ¶
func (v *NullableVersion) Set(val *Version)
func (*NullableVersion) UnmarshalJSON ¶
func (v *NullableVersion) UnmarshalJSON(src []byte) error
func (*NullableVersion) Unset ¶
func (v *NullableVersion) Unset()
type Pagination ¶
type Pagination struct {
Page int64 `json:"page"`
Size int64 `json:"size"`
Sort string `json:"sort"`
TotalPages int64 `json:"totalPages"`
TotalRows int64 `json:"totalRows"`
AdditionalProperties map[string]interface{}
}
Pagination struct for Pagination
func NewPagination ¶
func NewPagination(page int64, size int64, sort string, totalPages int64, totalRows int64) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetPage ¶
func (o *Pagination) GetPage() int64
GetPage returns the Page field value
func (*Pagination) GetPageOk ¶
func (o *Pagination) GetPageOk() (*int64, bool)
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*Pagination) GetSize ¶
func (o *Pagination) GetSize() int64
GetSize returns the Size field value
func (*Pagination) GetSizeOk ¶
func (o *Pagination) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Pagination) GetSort ¶
func (o *Pagination) GetSort() string
GetSort returns the Sort field value
func (*Pagination) GetSortOk ¶
func (o *Pagination) GetSortOk() (*string, bool)
GetSortOk returns a tuple with the Sort field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalPages ¶
func (o *Pagination) GetTotalPages() int64
GetTotalPages returns the TotalPages field value
func (*Pagination) GetTotalPagesOk ¶
func (o *Pagination) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalRows ¶
func (o *Pagination) GetTotalRows() int64
GetTotalRows returns the TotalRows field value
func (*Pagination) GetTotalRowsOk ¶
func (o *Pagination) GetTotalRowsOk() (*int64, bool)
GetTotalRowsOk returns a tuple with the TotalRows field value and a boolean to check if the value has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
func (*Pagination) SetTotalPages ¶
func (o *Pagination) SetTotalPages(v int64)
SetTotalPages sets field value
func (*Pagination) SetTotalRows ¶
func (o *Pagination) SetTotalRows(v int64)
SetTotalRows sets field value
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
func (*Pagination) UnmarshalJSON ¶
func (o *Pagination) UnmarshalJSON(data []byte) (err error)
type ProtectInstancePayload ¶
type ProtectInstancePayload struct {
// Protect instance from deletion.
IsDeletable bool `json:"isDeletable"`
AdditionalProperties map[string]interface{}
}
ProtectInstancePayload struct for ProtectInstancePayload
func NewProtectInstancePayload ¶
func NewProtectInstancePayload(isDeletable bool) *ProtectInstancePayload
NewProtectInstancePayload instantiates a new ProtectInstancePayload 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 NewProtectInstancePayloadWithDefaults ¶
func NewProtectInstancePayloadWithDefaults() *ProtectInstancePayload
NewProtectInstancePayloadWithDefaults instantiates a new ProtectInstancePayload 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 (*ProtectInstancePayload) GetIsDeletable ¶
func (o *ProtectInstancePayload) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*ProtectInstancePayload) GetIsDeletableOk ¶
func (o *ProtectInstancePayload) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (ProtectInstancePayload) MarshalJSON ¶
func (o ProtectInstancePayload) MarshalJSON() ([]byte, error)
func (*ProtectInstancePayload) SetIsDeletable ¶
func (o *ProtectInstancePayload) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (ProtectInstancePayload) ToMap ¶
func (o ProtectInstancePayload) ToMap() (map[string]interface{}, error)
func (*ProtectInstancePayload) UnmarshalJSON ¶
func (o *ProtectInstancePayload) UnmarshalJSON(data []byte) (err error)
type ProtectInstanceResponse ¶
type ProtectInstanceResponse struct {
// Protect instance from deletion.
IsDeletable bool `json:"isDeletable"`
AdditionalProperties map[string]interface{}
}
ProtectInstanceResponse struct for ProtectInstanceResponse
func NewProtectInstanceResponse ¶
func NewProtectInstanceResponse(isDeletable bool) *ProtectInstanceResponse
NewProtectInstanceResponse instantiates a new ProtectInstanceResponse 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 NewProtectInstanceResponseWithDefaults ¶
func NewProtectInstanceResponseWithDefaults() *ProtectInstanceResponse
NewProtectInstanceResponseWithDefaults instantiates a new ProtectInstanceResponse 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 (*ProtectInstanceResponse) GetIsDeletable ¶
func (o *ProtectInstanceResponse) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*ProtectInstanceResponse) GetIsDeletableOk ¶
func (o *ProtectInstanceResponse) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (ProtectInstanceResponse) MarshalJSON ¶
func (o ProtectInstanceResponse) MarshalJSON() ([]byte, error)
func (*ProtectInstanceResponse) SetIsDeletable ¶
func (o *ProtectInstanceResponse) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (ProtectInstanceResponse) ToMap ¶
func (o ProtectInstanceResponse) ToMap() (map[string]interface{}, error)
func (*ProtectInstanceResponse) UnmarshalJSON ¶
func (o *ProtectInstanceResponse) UnmarshalJSON(data []byte) (err error)
type Replicas ¶
type Replicas int32
Replicas How many replicas the instance should have.
const ( REPLICAS__1 Replicas = 1 REPLICAS__3 Replicas = 3 REPLICAS__unknown_default_open_api Replicas = 11184809 )
List of replicas
func NewReplicasFromValue ¶
NewReplicasFromValue returns a pointer to a valid Replicas for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Replicas) UnmarshalJSON ¶
type ResetUserResponse ¶
type ResetUserResponse struct {
// The password for the user.
Password string `json:"password"`
// The current status of the user.
Status string `json:"status"`
// The connection string for the user to the instance.
Uri string `json:"uri"`
// The name of the user.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
ResetUserResponse struct for ResetUserResponse
func NewResetUserResponse ¶
func NewResetUserResponse(password string, status string, uri string, username string) *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) GetPassword ¶
func (o *ResetUserResponse) GetPassword() string
GetPassword returns the Password field value
func (*ResetUserResponse) GetPasswordOk ¶
func (o *ResetUserResponse) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*ResetUserResponse) GetStatus ¶
func (o *ResetUserResponse) GetStatus() string
GetStatus returns the Status field value
func (*ResetUserResponse) GetStatusOk ¶
func (o *ResetUserResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ResetUserResponse) GetUri ¶
func (o *ResetUserResponse) GetUri() string
GetUri returns the Uri field value
func (*ResetUserResponse) GetUriOk ¶
func (o *ResetUserResponse) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value and a boolean to check if the value has been set.
func (*ResetUserResponse) GetUsername ¶
func (o *ResetUserResponse) GetUsername() string
GetUsername returns the Username field value
func (*ResetUserResponse) GetUsernameOk ¶
func (o *ResetUserResponse) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (ResetUserResponse) MarshalJSON ¶
func (o ResetUserResponse) MarshalJSON() ([]byte, error)
func (*ResetUserResponse) SetPassword ¶
func (o *ResetUserResponse) SetPassword(v string)
SetPassword sets field value
func (*ResetUserResponse) SetStatus ¶
func (o *ResetUserResponse) SetStatus(v string)
SetStatus sets field value
func (*ResetUserResponse) SetUri ¶
func (o *ResetUserResponse) SetUri(v string)
SetUri sets field value
func (*ResetUserResponse) SetUsername ¶
func (o *ResetUserResponse) SetUsername(v string)
SetUsername sets field value
func (ResetUserResponse) ToMap ¶
func (o ResetUserResponse) ToMap() (map[string]interface{}, error)
func (*ResetUserResponse) UnmarshalJSON ¶
func (o *ResetUserResponse) UnmarshalJSON(data []byte) (err error)
type RestoreDatabaseFromBackupPayload ¶
type RestoreDatabaseFromBackupPayload struct {
// The name of the database on the instance to be restore.
DatabaseName string `json:"database_name"`
Source RestoreDatabaseFromBackupPayloadSource `json:"source"`
AdditionalProperties map[string]interface{}
}
RestoreDatabaseFromBackupPayload Request to restore a database.
func NewRestoreDatabaseFromBackupPayload ¶
func NewRestoreDatabaseFromBackupPayload(databaseName string, source RestoreDatabaseFromBackupPayloadSource) *RestoreDatabaseFromBackupPayload
NewRestoreDatabaseFromBackupPayload instantiates a new RestoreDatabaseFromBackupPayload 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 NewRestoreDatabaseFromBackupPayloadWithDefaults ¶
func NewRestoreDatabaseFromBackupPayloadWithDefaults() *RestoreDatabaseFromBackupPayload
NewRestoreDatabaseFromBackupPayloadWithDefaults instantiates a new RestoreDatabaseFromBackupPayload 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 (*RestoreDatabaseFromBackupPayload) GetDatabaseName ¶
func (o *RestoreDatabaseFromBackupPayload) GetDatabaseName() string
GetDatabaseName returns the DatabaseName field value
func (*RestoreDatabaseFromBackupPayload) GetDatabaseNameOk ¶
func (o *RestoreDatabaseFromBackupPayload) GetDatabaseNameOk() (*string, bool)
GetDatabaseNameOk returns a tuple with the DatabaseName field value and a boolean to check if the value has been set.
func (*RestoreDatabaseFromBackupPayload) GetSource ¶
func (o *RestoreDatabaseFromBackupPayload) GetSource() RestoreDatabaseFromBackupPayloadSource
GetSource returns the Source field value
func (*RestoreDatabaseFromBackupPayload) GetSourceOk ¶
func (o *RestoreDatabaseFromBackupPayload) GetSourceOk() (*RestoreDatabaseFromBackupPayloadSource, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (RestoreDatabaseFromBackupPayload) MarshalJSON ¶
func (o RestoreDatabaseFromBackupPayload) MarshalJSON() ([]byte, error)
func (*RestoreDatabaseFromBackupPayload) SetDatabaseName ¶
func (o *RestoreDatabaseFromBackupPayload) SetDatabaseName(v string)
SetDatabaseName sets field value
func (*RestoreDatabaseFromBackupPayload) SetSource ¶
func (o *RestoreDatabaseFromBackupPayload) SetSource(v RestoreDatabaseFromBackupPayloadSource)
SetSource sets field value
func (RestoreDatabaseFromBackupPayload) ToMap ¶
func (o RestoreDatabaseFromBackupPayload) ToMap() (map[string]interface{}, error)
func (*RestoreDatabaseFromBackupPayload) UnmarshalJSON ¶
func (o *RestoreDatabaseFromBackupPayload) UnmarshalJSON(data []byte) (err error)
type RestoreDatabaseFromBackupPayloadSource ¶
type RestoreDatabaseFromBackupPayloadSource struct {
SourceBackup *SourceBackup
SourceExternalS3 *SourceExternalS3
}
RestoreDatabaseFromBackupPayloadSource - The source of the restore.
func SourceBackupAsRestoreDatabaseFromBackupPayloadSource ¶
func SourceBackupAsRestoreDatabaseFromBackupPayloadSource(v *SourceBackup) RestoreDatabaseFromBackupPayloadSource
SourceBackupAsRestoreDatabaseFromBackupPayloadSource is a convenience function that returns SourceBackup wrapped in RestoreDatabaseFromBackupPayloadSource
func SourceExternalS3AsRestoreDatabaseFromBackupPayloadSource ¶
func SourceExternalS3AsRestoreDatabaseFromBackupPayloadSource(v *SourceExternalS3) RestoreDatabaseFromBackupPayloadSource
SourceExternalS3AsRestoreDatabaseFromBackupPayloadSource is a convenience function that returns SourceExternalS3 wrapped in RestoreDatabaseFromBackupPayloadSource
func (*RestoreDatabaseFromBackupPayloadSource) GetActualInstance ¶
func (obj *RestoreDatabaseFromBackupPayloadSource) GetActualInstance() interface{}
Get the actual instance
func (RestoreDatabaseFromBackupPayloadSource) GetActualInstanceValue ¶
func (obj RestoreDatabaseFromBackupPayloadSource) GetActualInstanceValue() interface{}
Get the actual instance value
func (RestoreDatabaseFromBackupPayloadSource) MarshalJSON ¶
func (src RestoreDatabaseFromBackupPayloadSource) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*RestoreDatabaseFromBackupPayloadSource) UnmarshalJSON ¶
func (dst *RestoreDatabaseFromBackupPayloadSource) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type S3fileInfo ¶
type S3fileInfo struct {
// The sequence number of the file
FileNumber *int32 `json:"file_number,omitempty"`
// The path to the file on the S3 bucket
FilePath *string `json:"file_path,omitempty"`
AdditionalProperties map[string]interface{}
}
S3fileInfo struct for S3fileInfo
func NewS3fileInfo ¶
func NewS3fileInfo() *S3fileInfo
NewS3fileInfo instantiates a new S3fileInfo 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 NewS3fileInfoWithDefaults ¶
func NewS3fileInfoWithDefaults() *S3fileInfo
NewS3fileInfoWithDefaults instantiates a new S3fileInfo 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 (*S3fileInfo) GetFileNumber ¶
func (o *S3fileInfo) GetFileNumber() int32
GetFileNumber returns the FileNumber field value if set, zero value otherwise.
func (*S3fileInfo) GetFileNumberOk ¶
func (o *S3fileInfo) GetFileNumberOk() (*int32, bool)
GetFileNumberOk returns a tuple with the FileNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3fileInfo) GetFilePath ¶
func (o *S3fileInfo) GetFilePath() string
GetFilePath returns the FilePath field value if set, zero value otherwise.
func (*S3fileInfo) GetFilePathOk ¶
func (o *S3fileInfo) GetFilePathOk() (*string, bool)
GetFilePathOk returns a tuple with the FilePath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*S3fileInfo) HasFileNumber ¶
func (o *S3fileInfo) HasFileNumber() bool
HasFileNumber returns a boolean if a field has been set.
func (*S3fileInfo) HasFilePath ¶
func (o *S3fileInfo) HasFilePath() bool
HasFilePath returns a boolean if a field has been set.
func (S3fileInfo) MarshalJSON ¶
func (o S3fileInfo) MarshalJSON() ([]byte, error)
func (*S3fileInfo) SetFileNumber ¶
func (o *S3fileInfo) SetFileNumber(v int32)
SetFileNumber gets a reference to the given int32 and assigns it to the FileNumber field.
func (*S3fileInfo) SetFilePath ¶
func (o *S3fileInfo) SetFilePath(v string)
SetFilePath gets a reference to the given string and assigns it to the FilePath field.
func (S3fileInfo) ToMap ¶
func (o S3fileInfo) ToMap() (map[string]interface{}, error)
func (*S3fileInfo) UnmarshalJSON ¶
func (o *S3fileInfo) UnmarshalJSON(data []byte) (err error)
type SourceBackup ¶
type SourceBackup struct {
Type SourceBackupType `json:"type"`
AdditionalProperties map[string]interface{}
}
SourceBackup Restore from an existing managed backup.
func NewSourceBackup ¶
func NewSourceBackup(types SourceBackupType) *SourceBackup
NewSourceBackup instantiates a new SourceBackup 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 NewSourceBackupWithDefaults ¶
func NewSourceBackupWithDefaults() *SourceBackup
NewSourceBackupWithDefaults instantiates a new SourceBackup 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 (*SourceBackup) GetType ¶
func (o *SourceBackup) GetType() SourceBackupType
GetType returns the Type field value
func (*SourceBackup) GetTypeOk ¶
func (o *SourceBackup) GetTypeOk() (*SourceBackupType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (SourceBackup) MarshalJSON ¶
func (o SourceBackup) MarshalJSON() ([]byte, error)
func (*SourceBackup) SetType ¶
func (o *SourceBackup) SetType(v SourceBackupType)
SetType sets field value
func (SourceBackup) ToMap ¶
func (o SourceBackup) ToMap() (map[string]interface{}, error)
func (*SourceBackup) UnmarshalJSON ¶
func (o *SourceBackup) UnmarshalJSON(data []byte) (err error)
type SourceBackupType ¶
type SourceBackupType string
SourceBackupType the model 'SourceBackupType'
const ( SOURCEBACKUPTYPE_BACKUP SourceBackupType = "BACKUP" SOURCEBACKUPTYPE_UNKNOWN_DEFAULT_OPEN_API SourceBackupType = "unknown_default_open_api" )
List of source_backup_type
func NewSourceBackupTypeFromValue ¶
func NewSourceBackupTypeFromValue(v string) (*SourceBackupType, error)
NewSourceBackupTypeFromValue returns a pointer to a valid SourceBackupType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SourceBackupType) IsValid ¶
func (v SourceBackupType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SourceBackupType) Ptr ¶
func (v SourceBackupType) Ptr() *SourceBackupType
Ptr returns reference to source_backup_type value
func (*SourceBackupType) UnmarshalJSON ¶
func (v *SourceBackupType) UnmarshalJSON(src []byte) error
type SourceExternalS3 ¶
type SourceExternalS3 struct {
// The owner of the database.
DatabaseOwner string `json:"database_owner"`
// Logging guid to have a complete activity log over all sub stored procedures.
LoggingGuid *string `json:"logging_guid,omitempty"`
S3Details ExternalS3 `json:"s3_details"`
Type SourceExternalS3Type `json:"type"`
AdditionalProperties map[string]interface{}
}
SourceExternalS3 Restore from an external S3 backup file.
func NewSourceExternalS3 ¶
func NewSourceExternalS3(databaseOwner string, s3Details ExternalS3, types SourceExternalS3Type) *SourceExternalS3
NewSourceExternalS3 instantiates a new SourceExternalS3 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 NewSourceExternalS3WithDefaults ¶
func NewSourceExternalS3WithDefaults() *SourceExternalS3
NewSourceExternalS3WithDefaults instantiates a new SourceExternalS3 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 (*SourceExternalS3) GetDatabaseOwner ¶
func (o *SourceExternalS3) GetDatabaseOwner() string
GetDatabaseOwner returns the DatabaseOwner field value
func (*SourceExternalS3) GetDatabaseOwnerOk ¶
func (o *SourceExternalS3) GetDatabaseOwnerOk() (*string, bool)
GetDatabaseOwnerOk returns a tuple with the DatabaseOwner field value and a boolean to check if the value has been set.
func (*SourceExternalS3) GetLoggingGuid ¶
func (o *SourceExternalS3) GetLoggingGuid() string
GetLoggingGuid returns the LoggingGuid field value if set, zero value otherwise.
func (*SourceExternalS3) GetLoggingGuidOk ¶
func (o *SourceExternalS3) GetLoggingGuidOk() (*string, bool)
GetLoggingGuidOk returns a tuple with the LoggingGuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SourceExternalS3) GetS3Details ¶
func (o *SourceExternalS3) GetS3Details() ExternalS3
GetS3Details returns the S3Details field value
func (*SourceExternalS3) GetS3DetailsOk ¶
func (o *SourceExternalS3) GetS3DetailsOk() (*ExternalS3, bool)
GetS3DetailsOk returns a tuple with the S3Details field value and a boolean to check if the value has been set.
func (*SourceExternalS3) GetType ¶
func (o *SourceExternalS3) GetType() SourceExternalS3Type
GetType returns the Type field value
func (*SourceExternalS3) GetTypeOk ¶
func (o *SourceExternalS3) GetTypeOk() (*SourceExternalS3Type, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SourceExternalS3) HasLoggingGuid ¶
func (o *SourceExternalS3) HasLoggingGuid() bool
HasLoggingGuid returns a boolean if a field has been set.
func (SourceExternalS3) MarshalJSON ¶
func (o SourceExternalS3) MarshalJSON() ([]byte, error)
func (*SourceExternalS3) SetDatabaseOwner ¶
func (o *SourceExternalS3) SetDatabaseOwner(v string)
SetDatabaseOwner sets field value
func (*SourceExternalS3) SetLoggingGuid ¶
func (o *SourceExternalS3) SetLoggingGuid(v string)
SetLoggingGuid gets a reference to the given string and assigns it to the LoggingGuid field.
func (*SourceExternalS3) SetS3Details ¶
func (o *SourceExternalS3) SetS3Details(v ExternalS3)
SetS3Details sets field value
func (*SourceExternalS3) SetType ¶
func (o *SourceExternalS3) SetType(v SourceExternalS3Type)
SetType sets field value
func (SourceExternalS3) ToMap ¶
func (o SourceExternalS3) ToMap() (map[string]interface{}, error)
func (*SourceExternalS3) UnmarshalJSON ¶
func (o *SourceExternalS3) UnmarshalJSON(data []byte) (err error)
type SourceExternalS3Type ¶
type SourceExternalS3Type string
SourceExternalS3Type the model 'SourceExternalS3Type'
const ( SOURCEEXTERNALS3TYPE_EXTERNAL_S3 SourceExternalS3Type = "EXTERNAL_S3" SOURCEEXTERNALS3TYPE_UNKNOWN_DEFAULT_OPEN_API SourceExternalS3Type = "unknown_default_open_api" )
List of source_externalS3_type
func NewSourceExternalS3TypeFromValue ¶
func NewSourceExternalS3TypeFromValue(v string) (*SourceExternalS3Type, error)
NewSourceExternalS3TypeFromValue returns a pointer to a valid SourceExternalS3Type for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SourceExternalS3Type) IsValid ¶
func (v SourceExternalS3Type) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SourceExternalS3Type) Ptr ¶
func (v SourceExternalS3Type) Ptr() *SourceExternalS3Type
Ptr returns reference to source_externalS3_type value
func (*SourceExternalS3Type) UnmarshalJSON ¶
func (v *SourceExternalS3Type) UnmarshalJSON(src []byte) error
type State ¶
type State string
State the model 'State'
const ( STATE_READY State = "READY" STATE_PENDING State = "PENDING" STATE_PROGRESSING State = "PROGRESSING" STATE_FAILURE State = "FAILURE" STATE_UNKNOWN State = "UNKNOWN" STATE_TERMINATING State = "TERMINATING" STATE_UNKNOWN_DEFAULT_OPEN_API State = "unknown_default_open_api" )
List of state
func NewStateFromValue ¶
NewStateFromValue returns a pointer to a valid State for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*State) UnmarshalJSON ¶
type Storage ¶
type Storage struct {
// The storage class for the storage.
Class *string `json:"class,omitempty"`
// The storage size in Gigabytes.
Size *int64 `json:"size,omitempty"`
AdditionalProperties map[string]interface{}
}
Storage The object containing information about the storage size and class.
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.
func (*Storage) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Storage) UnmarshalJSON ¶
type StorageCreate ¶
type StorageCreate struct {
// The storage class for the storage.
Class string `json:"class"`
// The storage size in Gigabytes.
Size int64 `json:"size"`
AdditionalProperties map[string]interface{}
}
StorageCreate The object containing information about the storage size and class.
func NewStorageCreate ¶
func NewStorageCreate(class string, size int64) *StorageCreate
NewStorageCreate instantiates a new StorageCreate 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 NewStorageCreateWithDefaults ¶
func NewStorageCreateWithDefaults() *StorageCreate
NewStorageCreateWithDefaults instantiates a new StorageCreate 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 (*StorageCreate) GetClass ¶
func (o *StorageCreate) GetClass() string
GetClass returns the Class field value
func (*StorageCreate) GetClassOk ¶
func (o *StorageCreate) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field value and a boolean to check if the value has been set.
func (*StorageCreate) GetSize ¶
func (o *StorageCreate) GetSize() int64
GetSize returns the Size field value
func (*StorageCreate) GetSizeOk ¶
func (o *StorageCreate) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (StorageCreate) MarshalJSON ¶
func (o StorageCreate) MarshalJSON() ([]byte, error)
func (*StorageCreate) SetClass ¶
func (o *StorageCreate) SetClass(v string)
SetClass sets field value
func (StorageCreate) ToMap ¶
func (o StorageCreate) ToMap() (map[string]interface{}, error)
func (*StorageCreate) UnmarshalJSON ¶
func (o *StorageCreate) UnmarshalJSON(data []byte) (err error)
type StorageUpdate ¶
type StorageUpdate struct {
// The storage size in Gigabytes.
Size *int64 `json:"size,omitempty"`
AdditionalProperties map[string]interface{}
}
StorageUpdate The object containing information about the storage size and class.
func NewStorageUpdate ¶
func NewStorageUpdate() *StorageUpdate
NewStorageUpdate instantiates a new StorageUpdate 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 NewStorageUpdateWithDefaults ¶
func NewStorageUpdateWithDefaults() *StorageUpdate
NewStorageUpdateWithDefaults instantiates a new StorageUpdate 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 (*StorageUpdate) GetSize ¶
func (o *StorageUpdate) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*StorageUpdate) GetSizeOk ¶
func (o *StorageUpdate) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageUpdate) HasSize ¶
func (o *StorageUpdate) HasSize() bool
HasSize returns a boolean if a field has been set.
func (StorageUpdate) MarshalJSON ¶
func (o StorageUpdate) MarshalJSON() ([]byte, error)
func (*StorageUpdate) SetSize ¶
func (o *StorageUpdate) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (StorageUpdate) ToMap ¶
func (o StorageUpdate) ToMap() (map[string]interface{}, error)
func (*StorageUpdate) UnmarshalJSON ¶
func (o *StorageUpdate) UnmarshalJSON(data []byte) (err error)
type TriggerRestorePayload ¶
type TriggerRestorePayload struct {
// The name of the database.
Name string `json:"name"`
// the time for the restore it will be calculated between first backup and last backup
RestoreDateTime string `json:"restoreDateTime"`
AdditionalProperties map[string]interface{}
}
TriggerRestorePayload struct for TriggerRestorePayload
func NewTriggerRestorePayload ¶
func NewTriggerRestorePayload(name string, restoreDateTime string) *TriggerRestorePayload
NewTriggerRestorePayload instantiates a new TriggerRestorePayload 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 NewTriggerRestorePayloadWithDefaults ¶
func NewTriggerRestorePayloadWithDefaults() *TriggerRestorePayload
NewTriggerRestorePayloadWithDefaults instantiates a new TriggerRestorePayload 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 (*TriggerRestorePayload) GetName ¶
func (o *TriggerRestorePayload) GetName() string
GetName returns the Name field value
func (*TriggerRestorePayload) GetNameOk ¶
func (o *TriggerRestorePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TriggerRestorePayload) GetRestoreDateTime ¶
func (o *TriggerRestorePayload) GetRestoreDateTime() string
GetRestoreDateTime returns the RestoreDateTime field value
func (*TriggerRestorePayload) GetRestoreDateTimeOk ¶
func (o *TriggerRestorePayload) GetRestoreDateTimeOk() (*string, bool)
GetRestoreDateTimeOk returns a tuple with the RestoreDateTime field value and a boolean to check if the value has been set.
func (TriggerRestorePayload) MarshalJSON ¶
func (o TriggerRestorePayload) MarshalJSON() ([]byte, error)
func (*TriggerRestorePayload) SetName ¶
func (o *TriggerRestorePayload) SetName(v string)
SetName sets field value
func (*TriggerRestorePayload) SetRestoreDateTime ¶
func (o *TriggerRestorePayload) SetRestoreDateTime(v string)
SetRestoreDateTime sets field value
func (TriggerRestorePayload) ToMap ¶
func (o TriggerRestorePayload) ToMap() (map[string]interface{}, error)
func (*TriggerRestorePayload) UnmarshalJSON ¶
func (o *TriggerRestorePayload) UnmarshalJSON(data []byte) (err error)
type UpdateInstancePartiallyPayload ¶
type UpdateInstancePartiallyPayload struct {
// The schedule on which time the daily backup is being executed. The schedule is written as a cron schedule.
BackupSchedule *string `json:"backupSchedule,omitempty"`
// The id of the instance flavor.
FlavorId *string `json:"flavorId,omitempty"`
// A dictionary of user-defined key-value pairs used to categorize or organize the resource. **Rules for Keys:** * Must be between 1 and 63 characters long. * Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$` * **Restriction:** The prefix `stackit-` is strictly reserved and cannot be used. **Rules for Values:** * Must be between 0 (empty string) and 63 characters long. * If not empty, must begin and end with an alphanumeric character. * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name *string `json:"name,omitempty"`
Network *UpdateInstancePartiallyPayloadNetwork `json:"network,omitempty"`
RetentionDays *int32 `json:"retentionDays,omitempty"`
Storage *StorageUpdate `json:"storage,omitempty"`
Version *InstanceVersionOpt `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateInstancePartiallyPayload struct for UpdateInstancePartiallyPayload
func NewUpdateInstancePartiallyPayload ¶
func NewUpdateInstancePartiallyPayload() *UpdateInstancePartiallyPayload
NewUpdateInstancePartiallyPayload instantiates a new UpdateInstancePartiallyPayload 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 NewUpdateInstancePartiallyPayloadWithDefaults ¶
func NewUpdateInstancePartiallyPayloadWithDefaults() *UpdateInstancePartiallyPayload
NewUpdateInstancePartiallyPayloadWithDefaults instantiates a new UpdateInstancePartiallyPayload 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 (*UpdateInstancePartiallyPayload) GetBackupSchedule ¶
func (o *UpdateInstancePartiallyPayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetBackupScheduleOk ¶
func (o *UpdateInstancePartiallyPayload) 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 (*UpdateInstancePartiallyPayload) GetFlavorId ¶
func (o *UpdateInstancePartiallyPayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetFlavorIdOk ¶
func (o *UpdateInstancePartiallyPayload) 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 (*UpdateInstancePartiallyPayload) GetLabels ¶
func (o *UpdateInstancePartiallyPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetLabelsOk ¶
func (o *UpdateInstancePartiallyPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePartiallyPayload) GetName ¶
func (o *UpdateInstancePartiallyPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetNameOk ¶
func (o *UpdateInstancePartiallyPayload) 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 (*UpdateInstancePartiallyPayload) GetNetwork ¶
func (o *UpdateInstancePartiallyPayload) GetNetwork() UpdateInstancePartiallyPayloadNetwork
GetNetwork returns the Network field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetNetworkOk ¶
func (o *UpdateInstancePartiallyPayload) GetNetworkOk() (*UpdateInstancePartiallyPayloadNetwork, bool)
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePartiallyPayload) GetRetentionDays ¶
func (o *UpdateInstancePartiallyPayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetRetentionDaysOk ¶
func (o *UpdateInstancePartiallyPayload) GetRetentionDaysOk() (*int32, 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 (*UpdateInstancePartiallyPayload) GetStorage ¶
func (o *UpdateInstancePartiallyPayload) GetStorage() StorageUpdate
GetStorage returns the Storage field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetStorageOk ¶
func (o *UpdateInstancePartiallyPayload) GetStorageOk() (*StorageUpdate, 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 (*UpdateInstancePartiallyPayload) GetVersion ¶
func (o *UpdateInstancePartiallyPayload) GetVersion() InstanceVersionOpt
GetVersion returns the Version field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayload) GetVersionOk ¶
func (o *UpdateInstancePartiallyPayload) GetVersionOk() (*InstanceVersionOpt, 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 (*UpdateInstancePartiallyPayload) HasBackupSchedule ¶
func (o *UpdateInstancePartiallyPayload) HasBackupSchedule() bool
HasBackupSchedule returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasFlavorId ¶
func (o *UpdateInstancePartiallyPayload) HasFlavorId() bool
HasFlavorId returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasLabels ¶
func (o *UpdateInstancePartiallyPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasName ¶
func (o *UpdateInstancePartiallyPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasNetwork ¶
func (o *UpdateInstancePartiallyPayload) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasRetentionDays ¶
func (o *UpdateInstancePartiallyPayload) HasRetentionDays() bool
HasRetentionDays returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasStorage ¶
func (o *UpdateInstancePartiallyPayload) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*UpdateInstancePartiallyPayload) HasVersion ¶
func (o *UpdateInstancePartiallyPayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (UpdateInstancePartiallyPayload) MarshalJSON ¶
func (o UpdateInstancePartiallyPayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePartiallyPayload) SetBackupSchedule ¶
func (o *UpdateInstancePartiallyPayload) SetBackupSchedule(v string)
SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.
func (*UpdateInstancePartiallyPayload) SetFlavorId ¶
func (o *UpdateInstancePartiallyPayload) SetFlavorId(v string)
SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.
func (*UpdateInstancePartiallyPayload) SetLabels ¶
func (o *UpdateInstancePartiallyPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateInstancePartiallyPayload) SetName ¶
func (o *UpdateInstancePartiallyPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateInstancePartiallyPayload) SetNetwork ¶
func (o *UpdateInstancePartiallyPayload) SetNetwork(v UpdateInstancePartiallyPayloadNetwork)
SetNetwork gets a reference to the given UpdateInstancePartiallyPayloadNetwork and assigns it to the Network field.
func (*UpdateInstancePartiallyPayload) SetRetentionDays ¶
func (o *UpdateInstancePartiallyPayload) SetRetentionDays(v int32)
SetRetentionDays gets a reference to the given int32 and assigns it to the RetentionDays field.
func (*UpdateInstancePartiallyPayload) SetStorage ¶
func (o *UpdateInstancePartiallyPayload) SetStorage(v StorageUpdate)
SetStorage gets a reference to the given StorageUpdate and assigns it to the Storage field.
func (*UpdateInstancePartiallyPayload) SetVersion ¶
func (o *UpdateInstancePartiallyPayload) SetVersion(v InstanceVersionOpt)
SetVersion gets a reference to the given InstanceVersionOpt and assigns it to the Version field.
func (UpdateInstancePartiallyPayload) ToMap ¶
func (o UpdateInstancePartiallyPayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePartiallyPayload) UnmarshalJSON ¶
func (o *UpdateInstancePartiallyPayload) UnmarshalJSON(data []byte) (err error)
type UpdateInstancePartiallyPayloadNetwork ¶
type UpdateInstancePartiallyPayloadNetwork struct {
// List of IPV4 cidr.
Acl []string `json:"acl,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateInstancePartiallyPayloadNetwork the network configuration of the instance.
func NewUpdateInstancePartiallyPayloadNetwork ¶
func NewUpdateInstancePartiallyPayloadNetwork() *UpdateInstancePartiallyPayloadNetwork
NewUpdateInstancePartiallyPayloadNetwork instantiates a new UpdateInstancePartiallyPayloadNetwork 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 NewUpdateInstancePartiallyPayloadNetworkWithDefaults ¶
func NewUpdateInstancePartiallyPayloadNetworkWithDefaults() *UpdateInstancePartiallyPayloadNetwork
NewUpdateInstancePartiallyPayloadNetworkWithDefaults instantiates a new UpdateInstancePartiallyPayloadNetwork 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 (*UpdateInstancePartiallyPayloadNetwork) GetAcl ¶
func (o *UpdateInstancePartiallyPayloadNetwork) GetAcl() []string
GetAcl returns the Acl field value if set, zero value otherwise.
func (*UpdateInstancePartiallyPayloadNetwork) GetAclOk ¶
func (o *UpdateInstancePartiallyPayloadNetwork) GetAclOk() ([]string, 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 (*UpdateInstancePartiallyPayloadNetwork) HasAcl ¶
func (o *UpdateInstancePartiallyPayloadNetwork) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (UpdateInstancePartiallyPayloadNetwork) MarshalJSON ¶
func (o UpdateInstancePartiallyPayloadNetwork) MarshalJSON() ([]byte, error)
func (*UpdateInstancePartiallyPayloadNetwork) SetAcl ¶
func (o *UpdateInstancePartiallyPayloadNetwork) SetAcl(v []string)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (UpdateInstancePartiallyPayloadNetwork) ToMap ¶
func (o UpdateInstancePartiallyPayloadNetwork) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePartiallyPayloadNetwork) UnmarshalJSON ¶
func (o *UpdateInstancePartiallyPayloadNetwork) UnmarshalJSON(data []byte) (err error)
type UpdateInstancePayload ¶
type UpdateInstancePayload struct {
// The schedule for on what time and how often the database backup will be created. The schedule is written as a cron schedule.
BackupSchedule string `json:"backupSchedule"`
// The id of the instance flavor.
FlavorId string `json:"flavorId"`
// A dictionary of user-defined key-value pairs used to categorize or organize the resource. **Rules for Keys:** * Must be between 1 and 63 characters long. * Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$` * **Restriction:** The prefix `stackit-` is strictly reserved and cannot be used. **Rules for Values:** * Must be between 0 (empty string) and 63 characters long. * If not empty, must begin and end with an alphanumeric character. * May contain dashes (`-`), underscores (`_`), and dots (`.`). * **Regex:** `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name string `json:"name"`
Network UpdateInstancePayloadNetwork `json:"network"`
// The days for how long the backup files should be stored before cleaned up. 30 to 90
RetentionDays int32 `json:"retentionDays"`
Storage StorageUpdate `json:"storage"`
Version InstanceVersion `json:"version"`
AdditionalProperties map[string]interface{}
}
UpdateInstancePayload struct for UpdateInstancePayload
func NewUpdateInstancePayload ¶
func NewUpdateInstancePayload(backupSchedule string, flavorId string, name string, network UpdateInstancePayloadNetwork, retentionDays int32, storage StorageUpdate, version InstanceVersion) *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) GetBackupSchedule ¶
func (o *UpdateInstancePayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*UpdateInstancePayload) GetBackupScheduleOk ¶
func (o *UpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetFlavorId ¶
func (o *UpdateInstancePayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*UpdateInstancePayload) GetFlavorIdOk ¶
func (o *UpdateInstancePayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetLabels ¶
func (o *UpdateInstancePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateInstancePayload) GetLabelsOk ¶
func (o *UpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetName ¶
func (o *UpdateInstancePayload) GetName() string
GetName returns the Name field value
func (*UpdateInstancePayload) GetNameOk ¶
func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetNetwork ¶
func (o *UpdateInstancePayload) GetNetwork() UpdateInstancePayloadNetwork
GetNetwork returns the Network field value
func (*UpdateInstancePayload) GetNetworkOk ¶
func (o *UpdateInstancePayload) GetNetworkOk() (*UpdateInstancePayloadNetwork, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetRetentionDays ¶
func (o *UpdateInstancePayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value
func (*UpdateInstancePayload) GetRetentionDaysOk ¶
func (o *UpdateInstancePayload) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetStorage ¶
func (o *UpdateInstancePayload) GetStorage() StorageUpdate
GetStorage returns the Storage field value
func (*UpdateInstancePayload) GetStorageOk ¶
func (o *UpdateInstancePayload) GetStorageOk() (*StorageUpdate, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetVersion ¶
func (o *UpdateInstancePayload) GetVersion() InstanceVersion
GetVersion returns the Version field value
func (*UpdateInstancePayload) GetVersionOk ¶
func (o *UpdateInstancePayload) GetVersionOk() (*InstanceVersion, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) HasLabels ¶
func (o *UpdateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateInstancePayload) MarshalJSON ¶
func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePayload) SetBackupSchedule ¶
func (o *UpdateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*UpdateInstancePayload) SetFlavorId ¶
func (o *UpdateInstancePayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*UpdateInstancePayload) SetLabels ¶
func (o *UpdateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateInstancePayload) SetName ¶
func (o *UpdateInstancePayload) SetName(v string)
SetName sets field value
func (*UpdateInstancePayload) SetNetwork ¶
func (o *UpdateInstancePayload) SetNetwork(v UpdateInstancePayloadNetwork)
SetNetwork sets field value
func (*UpdateInstancePayload) SetRetentionDays ¶
func (o *UpdateInstancePayload) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*UpdateInstancePayload) SetStorage ¶
func (o *UpdateInstancePayload) SetStorage(v StorageUpdate)
SetStorage sets field value
func (*UpdateInstancePayload) SetVersion ¶
func (o *UpdateInstancePayload) SetVersion(v InstanceVersion)
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 UpdateInstancePayloadNetwork ¶
type UpdateInstancePayloadNetwork struct {
// List of IPV4 cidr.
Acl []string `json:"acl"`
AdditionalProperties map[string]interface{}
}
UpdateInstancePayloadNetwork the network configuration of the instance.
func NewUpdateInstancePayloadNetwork ¶
func NewUpdateInstancePayloadNetwork(acl []string) *UpdateInstancePayloadNetwork
NewUpdateInstancePayloadNetwork instantiates a new UpdateInstancePayloadNetwork 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 NewUpdateInstancePayloadNetworkWithDefaults ¶
func NewUpdateInstancePayloadNetworkWithDefaults() *UpdateInstancePayloadNetwork
NewUpdateInstancePayloadNetworkWithDefaults instantiates a new UpdateInstancePayloadNetwork 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 (*UpdateInstancePayloadNetwork) GetAcl ¶
func (o *UpdateInstancePayloadNetwork) GetAcl() []string
GetAcl returns the Acl field value
func (*UpdateInstancePayloadNetwork) GetAclOk ¶
func (o *UpdateInstancePayloadNetwork) GetAclOk() ([]string, bool)
GetAclOk returns a tuple with the Acl field value and a boolean to check if the value has been set.
func (UpdateInstancePayloadNetwork) MarshalJSON ¶
func (o UpdateInstancePayloadNetwork) MarshalJSON() ([]byte, error)
func (*UpdateInstancePayloadNetwork) SetAcl ¶
func (o *UpdateInstancePayloadNetwork) SetAcl(v []string)
SetAcl sets field value
func (UpdateInstancePayloadNetwork) ToMap ¶
func (o UpdateInstancePayloadNetwork) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePayloadNetwork) UnmarshalJSON ¶
func (o *UpdateInstancePayloadNetwork) UnmarshalJSON(data []byte) (err error)
type UserSort ¶
type UserSort string
UserSort the model 'UserSort'
const ( USERSORT_ID_ASC UserSort = "id.asc" USERSORT_ID_DESC UserSort = "id.desc" USERSORT_INDEX_DESC UserSort = "index.desc" USERSORT_INDEX_ASC UserSort = "index.asc" USERSORT_NAME_DESC UserSort = "name.desc" USERSORT_NAME_ASC UserSort = "name.asc" USERSORT_STATUS_DESC UserSort = "status.desc" USERSORT_STATUS_ASC UserSort = "status.asc" USERSORT_UNKNOWN_DEFAULT_OPEN_API UserSort = "unknown_default_open_api" )
List of user.sort
func NewUserSortFromValue ¶
NewUserSortFromValue returns a pointer to a valid UserSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*UserSort) UnmarshalJSON ¶
type ValidationError ¶
type ValidationError struct {
// the http error should be always 422 for validationError
Code int32 `json:"code"`
// errors for all fields where the error happened
Validation []ValidationErrorValidationInner `json:"validation"`
AdditionalProperties map[string]interface{}
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(code int32, validation []ValidationErrorValidationInner) *ValidationError
NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetCode ¶
func (o *ValidationError) GetCode() int32
GetCode returns the Code field value
func (*ValidationError) GetCodeOk ¶
func (o *ValidationError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ValidationError) GetValidation ¶
func (o *ValidationError) GetValidation() []ValidationErrorValidationInner
GetValidation returns the Validation field value
func (*ValidationError) GetValidationOk ¶
func (o *ValidationError) GetValidationOk() ([]ValidationErrorValidationInner, bool)
GetValidationOk returns a tuple with the Validation field value and a boolean to check if the value has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetCode ¶
func (o *ValidationError) SetCode(v int32)
SetCode sets field value
func (*ValidationError) SetValidation ¶
func (o *ValidationError) SetValidation(v []ValidationErrorValidationInner)
SetValidation sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
func (*ValidationError) UnmarshalJSON ¶
func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
type ValidationErrorValidationInner ¶
type ValidationErrorValidationInner struct {
Field string `json:"field"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
ValidationErrorValidationInner struct for ValidationErrorValidationInner
func NewValidationErrorValidationInner ¶
func NewValidationErrorValidationInner(field string, message string) *ValidationErrorValidationInner
NewValidationErrorValidationInner instantiates a new ValidationErrorValidationInner 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 NewValidationErrorValidationInnerWithDefaults ¶
func NewValidationErrorValidationInnerWithDefaults() *ValidationErrorValidationInner
NewValidationErrorValidationInnerWithDefaults instantiates a new ValidationErrorValidationInner 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 (*ValidationErrorValidationInner) GetField ¶
func (o *ValidationErrorValidationInner) GetField() string
GetField returns the Field field value
func (*ValidationErrorValidationInner) GetFieldOk ¶
func (o *ValidationErrorValidationInner) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*ValidationErrorValidationInner) GetMessage ¶
func (o *ValidationErrorValidationInner) GetMessage() string
GetMessage returns the Message field value
func (*ValidationErrorValidationInner) GetMessageOk ¶
func (o *ValidationErrorValidationInner) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ValidationErrorValidationInner) MarshalJSON ¶
func (o ValidationErrorValidationInner) MarshalJSON() ([]byte, error)
func (*ValidationErrorValidationInner) SetField ¶
func (o *ValidationErrorValidationInner) SetField(v string)
SetField sets field value
func (*ValidationErrorValidationInner) SetMessage ¶
func (o *ValidationErrorValidationInner) SetMessage(v string)
SetMessage sets field value
func (ValidationErrorValidationInner) ToMap ¶
func (o ValidationErrorValidationInner) ToMap() (map[string]interface{}, error)
func (*ValidationErrorValidationInner) UnmarshalJSON ¶
func (o *ValidationErrorValidationInner) UnmarshalJSON(data []byte) (err error)
type Version ¶
type Version struct {
// Flag if the version is a beta version. If set the version may contain bugs and is not fully tested.
Beta bool `json:"beta"`
// Timestamp in RFC3339 format which says when the version will no longer be supported by STACKIT.
Deprecated string `json:"deprecated"`
// Flag if the version is recommend by the STACKIT Team.
Recommend bool `json:"recommend"`
// The sqlserver version used for the instance.
Version string `json:"version"`
AdditionalProperties map[string]interface{}
}
Version The version of the sqlserver instance and more details.
func NewVersion ¶
NewVersion instantiates a new Version 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 NewVersionWithDefaults ¶
func NewVersionWithDefaults() *Version
NewVersionWithDefaults instantiates a new Version 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 (*Version) GetBetaOk ¶
GetBetaOk returns a tuple with the Beta field value and a boolean to check if the value has been set.
func (*Version) GetDeprecated ¶
GetDeprecated returns the Deprecated field value
func (*Version) GetDeprecatedOk ¶
GetDeprecatedOk returns a tuple with the Deprecated field value and a boolean to check if the value has been set.
func (*Version) GetRecommend ¶
GetRecommend returns the Recommend field value
func (*Version) GetRecommendOk ¶
GetRecommendOk returns a tuple with the Recommend field value and a boolean to check if the value has been set.
func (*Version) GetVersion ¶
GetVersion returns the Version field value
func (*Version) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (Version) MarshalJSON ¶
func (*Version) SetDeprecated ¶
SetDeprecated sets field value
func (*Version) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_backup_running_restore.go
- model_backup_sort.go
- model_create_database_payload.go
- model_create_database_response.go
- model_create_instance_payload.go
- model_create_instance_payload_network.go
- model_create_instance_response.go
- model_create_user_payload.go
- model_create_user_response.go
- model_database_getcollation.go
- model_database_getcompatibility.go
- model_database_roles.go
- model_database_sort.go
- model_error.go
- model_external_s3.go
- model_flavor_sort.go
- model_flavor_storage_classes_storage_class.go
- model_flavor_storage_range.go
- model_get_backup_response.go
- model_get_collations_response.go
- model_get_database_response.go
- model_get_flavors_response.go
- model_get_instance_response.go
- model_get_storages_response.go
- model_get_user_response.go
- model_get_versions_response.go
- model_instance_edition.go
- model_instance_encryption.go
- model_instance_network.go
- model_instance_network_access_scope.go
- model_instance_sort.go
- model_instance_version.go
- model_instance_version_opt.go
- model_list_backup.go
- model_list_backup_response.go
- model_list_backups_response.go
- model_list_compatibility_response.go
- model_list_current_running_restore_jobs.go
- model_list_database.go
- model_list_databases_response.go
- model_list_flavors.go
- model_list_instance.go
- model_list_instances_response.go
- model_list_roles_response.go
- model_list_user.go
- model_list_user_response.go
- model_pagination.go
- model_protect_instance_payload.go
- model_protect_instance_response.go
- model_replicas.go
- model_reset_user_response.go
- model_restore_database_from_backup_payload.go
- model_restore_database_from_backup_payload_source.go
- model_s3file_info.go
- model_source_backup.go
- model_source_backup_type.go
- model_source_external_s3.go
- model_source_external_s3_type.go
- model_state.go
- model_storage.go
- model_storage_create.go
- model_storage_update.go
- model_trigger_restore_payload.go
- model_update_instance_partially_payload.go
- model_update_instance_partially_payload_network.go
- model_update_instance_payload.go
- model_update_instance_payload_network.go
- model_user_sort.go
- model_validation_error.go
- model_validation_error_validation_inner.go
- model_version.go
- response.go
- utils.go