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 ApiCloneRequestRequest
- type ApiCreateDatabaseRequestRequest
- type ApiCreateInstanceRequestRequest
- type ApiCreateUserRequestRequest
- type ApiDeleteDatabaseRequestRequest
- type ApiDeleteInstanceRequestRequest
- type ApiDeleteUserRequestRequest
- type ApiGetBackupRequestRequest
- type ApiGetCollationsRequestRequest
- type ApiGetDatabaseRequestRequest
- type ApiGetFlavorsRequestRequest
- func (r ApiGetFlavorsRequestRequest) Execute() (*GetFlavorsResponse, error)
- func (r ApiGetFlavorsRequestRequest) Page(page int32) ApiGetFlavorsRequestRequest
- func (r ApiGetFlavorsRequestRequest) Size(size int32) ApiGetFlavorsRequestRequest
- func (r ApiGetFlavorsRequestRequest) Sort(sort FlavorSort) ApiGetFlavorsRequestRequest
- type ApiGetInstanceRequestRequest
- type ApiGetUserRequestRequest
- type ApiGetVersionsRequestRequest
- type ApiListBackupsRequestRequest
- func (r ApiListBackupsRequestRequest) Execute() (*ListBackupResponse, error)
- func (r ApiListBackupsRequestRequest) Page(page int32) ApiListBackupsRequestRequest
- func (r ApiListBackupsRequestRequest) Size(size int32) ApiListBackupsRequestRequest
- func (r ApiListBackupsRequestRequest) Sort(sort BackupSort) ApiListBackupsRequestRequest
- type ApiListDatabasesRequestRequest
- func (r ApiListDatabasesRequestRequest) Execute() (*ListDatabasesResponse, error)
- func (r ApiListDatabasesRequestRequest) Page(page int32) ApiListDatabasesRequestRequest
- func (r ApiListDatabasesRequestRequest) Size(size int32) ApiListDatabasesRequestRequest
- func (r ApiListDatabasesRequestRequest) Sort(sort DatabaseSort) ApiListDatabasesRequestRequest
- type ApiListInstancesRequestRequest
- func (r ApiListInstancesRequestRequest) Execute() (*ListInstancesResponse, error)
- func (r ApiListInstancesRequestRequest) Page(page int32) ApiListInstancesRequestRequest
- func (r ApiListInstancesRequestRequest) Size(size int32) ApiListInstancesRequestRequest
- func (r ApiListInstancesRequestRequest) Sort(sort InstanceSort) ApiListInstancesRequestRequest
- type ApiListRolesRequestRequest
- type ApiListUsersRequestRequest
- func (r ApiListUsersRequestRequest) Execute() (*ListUserResponse, error)
- func (r ApiListUsersRequestRequest) Page(page int32) ApiListUsersRequestRequest
- func (r ApiListUsersRequestRequest) Size(size int32) ApiListUsersRequestRequest
- func (r ApiListUsersRequestRequest) Sort(sort UserSort) ApiListUsersRequestRequest
- type ApiProtectInstanceRequestRequest
- type ApiResetUserRequestRequest
- type ApiUpdateDatabasePartiallyRequestRequest
- type ApiUpdateDatabaseRequestRequest
- type ApiUpdateInstancePartiallyRequestRequest
- type ApiUpdateInstanceRequestRequest
- type ApiUpdateUserPartiallyRequestRequest
- type ApiUpdateUserRequestRequest
- type BackupSort
- type CloneInstanceOverrides
- func (o *CloneInstanceOverrides) GetPerformanceClass() string
- func (o *CloneInstanceOverrides) GetPerformanceClassOk() (*string, bool)
- func (o *CloneInstanceOverrides) GetSize() int32
- func (o *CloneInstanceOverrides) GetSizeOk() (*int32, bool)
- func (o CloneInstanceOverrides) MarshalJSON() ([]byte, error)
- func (o *CloneInstanceOverrides) SetPerformanceClass(v string)
- func (o *CloneInstanceOverrides) SetSize(v int32)
- func (o CloneInstanceOverrides) ToMap() (map[string]interface{}, error)
- func (o *CloneInstanceOverrides) UnmarshalJSON(data []byte) (err error)
- type CloneRequestPayload
- func (o *CloneRequestPayload) GetInstanceOverrides() CloneInstanceOverrides
- func (o *CloneRequestPayload) GetInstanceOverridesOk() (*CloneInstanceOverrides, bool)
- func (o *CloneRequestPayload) GetPointInTime() time.Time
- func (o *CloneRequestPayload) GetPointInTimeOk() (*time.Time, bool)
- func (o CloneRequestPayload) MarshalJSON() ([]byte, error)
- func (o *CloneRequestPayload) SetInstanceOverrides(v CloneInstanceOverrides)
- func (o *CloneRequestPayload) SetPointInTime(v time.Time)
- func (o CloneRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *CloneRequestPayload) UnmarshalJSON(data []byte) (err error)
- type CloneResponse
- func (o *CloneResponse) GetId() string
- func (o *CloneResponse) GetIdOk() (*string, bool)
- func (o CloneResponse) MarshalJSON() ([]byte, error)
- func (o *CloneResponse) SetId(v string)
- func (o CloneResponse) ToMap() (map[string]interface{}, error)
- func (o *CloneResponse) UnmarshalJSON(data []byte) (err error)
- type CreateDatabaseRequestPayload
- func (o *CreateDatabaseRequestPayload) GetName() string
- func (o *CreateDatabaseRequestPayload) GetNameOk() (*string, bool)
- func (o *CreateDatabaseRequestPayload) GetOwner() string
- func (o *CreateDatabaseRequestPayload) GetOwnerOk() (*string, bool)
- func (o *CreateDatabaseRequestPayload) HasOwner() bool
- func (o CreateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
- func (o *CreateDatabaseRequestPayload) SetName(v string)
- func (o *CreateDatabaseRequestPayload) SetOwner(v string)
- func (o CreateDatabaseRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabaseRequestPayload) UnmarshalJSON(data []byte) (err error)
- type CreateDatabaseResponse
- func (o *CreateDatabaseResponse) GetId() int32
- func (o *CreateDatabaseResponse) GetIdOk() (*int32, bool)
- func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *CreateDatabaseResponse) SetId(v int32)
- func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceRequestPayload
- func (o *CreateInstanceRequestPayload) GetBackupSchedule() string
- func (o *CreateInstanceRequestPayload) GetBackupScheduleOk() (*string, bool)
- func (o *CreateInstanceRequestPayload) GetEncryption() InstanceEncryption
- func (o *CreateInstanceRequestPayload) GetEncryptionOk() (*InstanceEncryption, bool)
- func (o *CreateInstanceRequestPayload) GetFlavorId() string
- func (o *CreateInstanceRequestPayload) GetFlavorIdOk() (*string, bool)
- func (o *CreateInstanceRequestPayload) GetName() string
- func (o *CreateInstanceRequestPayload) GetNameOk() (*string, bool)
- func (o *CreateInstanceRequestPayload) GetNetwork() InstanceNetworkCreate
- func (o *CreateInstanceRequestPayload) GetNetworkOk() (*InstanceNetworkCreate, bool)
- func (o *CreateInstanceRequestPayload) GetReplicas() Replicas
- func (o *CreateInstanceRequestPayload) GetReplicasOk() (*Replicas, bool)
- func (o *CreateInstanceRequestPayload) GetRetentionDays() int32
- func (o *CreateInstanceRequestPayload) GetRetentionDaysOk() (*int32, bool)
- func (o *CreateInstanceRequestPayload) GetStorage() StorageCreate
- func (o *CreateInstanceRequestPayload) GetStorageOk() (*StorageCreate, bool)
- func (o *CreateInstanceRequestPayload) GetVersion() string
- func (o *CreateInstanceRequestPayload) GetVersionOk() (*string, bool)
- func (o *CreateInstanceRequestPayload) HasEncryption() bool
- func (o CreateInstanceRequestPayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceRequestPayload) SetBackupSchedule(v string)
- func (o *CreateInstanceRequestPayload) SetEncryption(v InstanceEncryption)
- func (o *CreateInstanceRequestPayload) SetFlavorId(v string)
- func (o *CreateInstanceRequestPayload) SetName(v string)
- func (o *CreateInstanceRequestPayload) SetNetwork(v InstanceNetworkCreate)
- func (o *CreateInstanceRequestPayload) SetReplicas(v Replicas)
- func (o *CreateInstanceRequestPayload) SetRetentionDays(v int32)
- func (o *CreateInstanceRequestPayload) SetStorage(v StorageCreate)
- func (o *CreateInstanceRequestPayload) SetVersion(v string)
- func (o CreateInstanceRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstanceRequestPayload) 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 CreateUserRequestPayload
- func (o *CreateUserRequestPayload) GetName() string
- func (o *CreateUserRequestPayload) GetNameOk() (*string, bool)
- func (o *CreateUserRequestPayload) GetRoles() []UserRole
- func (o *CreateUserRequestPayload) GetRolesOk() ([]UserRole, bool)
- func (o *CreateUserRequestPayload) HasRoles() bool
- func (o CreateUserRequestPayload) MarshalJSON() ([]byte, error)
- func (o *CreateUserRequestPayload) SetName(v string)
- func (o *CreateUserRequestPayload) SetRoles(v []UserRole)
- func (o CreateUserRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUserRequestPayload) UnmarshalJSON(data []byte) (err error)
- type CreateUserResponse
- func (o *CreateUserResponse) GetId() int32
- func (o *CreateUserResponse) GetIdOk() (*int32, bool)
- func (o *CreateUserResponse) GetName() string
- func (o *CreateUserResponse) GetNameOk() (*string, bool)
- func (o *CreateUserResponse) GetPassword() string
- func (o *CreateUserResponse) GetPasswordOk() (*string, bool)
- func (o *CreateUserResponse) GetStatus() string
- func (o *CreateUserResponse) GetStatusOk() (*string, bool)
- func (o CreateUserResponse) MarshalJSON() ([]byte, error)
- func (o *CreateUserResponse) SetId(v int32)
- func (o *CreateUserResponse) SetName(v string)
- func (o *CreateUserResponse) SetPassword(v string)
- func (o *CreateUserResponse) SetStatus(v string)
- func (o CreateUserResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateUserResponse) 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) CloneRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCloneRequestRequest
- func (a *DefaultAPIService) CloneRequestExecute(r ApiCloneRequestRequest) (*CloneResponse, error)
- func (a *DefaultAPIService) CreateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequestRequest
- func (a *DefaultAPIService) CreateDatabaseRequestExecute(r ApiCreateDatabaseRequestRequest) (*CreateDatabaseResponse, error)
- func (a *DefaultAPIService) CreateInstanceRequest(ctx context.Context, projectId string, region string) ApiCreateInstanceRequestRequest
- func (a *DefaultAPIService) CreateInstanceRequestExecute(r ApiCreateInstanceRequestRequest) (*CreateInstanceResponse, error)
- func (a *DefaultAPIService) CreateUserRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequestRequest
- func (a *DefaultAPIService) CreateUserRequestExecute(r ApiCreateUserRequestRequest) (*CreateUserResponse, error)
- func (a *DefaultAPIService) DeleteDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteDatabaseRequestRequest
- func (a *DefaultAPIService) DeleteDatabaseRequestExecute(r ApiDeleteDatabaseRequestRequest) error
- func (a *DefaultAPIService) DeleteInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequestRequest
- func (a *DefaultAPIService) DeleteInstanceRequestExecute(r ApiDeleteInstanceRequestRequest) error
- func (a *DefaultAPIService) DeleteUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteUserRequestRequest
- func (a *DefaultAPIService) DeleteUserRequestExecute(r ApiDeleteUserRequestRequest) error
- func (a *DefaultAPIService) GetBackupRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetBackupRequestRequest
- func (a *DefaultAPIService) GetBackupRequestExecute(r ApiGetBackupRequestRequest) (*GetBackupResponse, error)
- func (a *DefaultAPIService) GetCollationsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequestRequest
- func (a *DefaultAPIService) GetCollationsRequestExecute(r ApiGetCollationsRequestRequest) (*GetCollationsResponse, error)
- func (a *DefaultAPIService) GetDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetDatabaseRequestRequest
- func (a *DefaultAPIService) GetDatabaseRequestExecute(r ApiGetDatabaseRequestRequest) (*GetDatabaseResponse, error)
- func (a *DefaultAPIService) GetFlavorsRequest(ctx context.Context, projectId string, region string) ApiGetFlavorsRequestRequest
- func (a *DefaultAPIService) GetFlavorsRequestExecute(r ApiGetFlavorsRequestRequest) (*GetFlavorsResponse, error)
- func (a *DefaultAPIService) GetInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequestRequest
- func (a *DefaultAPIService) GetInstanceRequestExecute(r ApiGetInstanceRequestRequest) (*GetInstanceResponse, error)
- func (a *DefaultAPIService) GetUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetUserRequestRequest
- func (a *DefaultAPIService) GetUserRequestExecute(r ApiGetUserRequestRequest) (*GetUserResponse, error)
- func (a *DefaultAPIService) GetVersionsRequest(ctx context.Context, projectId string, region string) ApiGetVersionsRequestRequest
- func (a *DefaultAPIService) GetVersionsRequestExecute(r ApiGetVersionsRequestRequest) (*GetVersionsResponse, error)
- func (a *DefaultAPIService) ListBackupsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequestRequest
- func (a *DefaultAPIService) ListBackupsRequestExecute(r ApiListBackupsRequestRequest) (*ListBackupResponse, error)
- func (a *DefaultAPIService) ListDatabasesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequestRequest
- func (a *DefaultAPIService) ListDatabasesRequestExecute(r ApiListDatabasesRequestRequest) (*ListDatabasesResponse, error)
- func (a *DefaultAPIService) ListInstancesRequest(ctx context.Context, projectId string, region string) ApiListInstancesRequestRequest
- func (a *DefaultAPIService) ListInstancesRequestExecute(r ApiListInstancesRequestRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) ListRolesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequestRequest
- func (a *DefaultAPIService) ListRolesRequestExecute(r ApiListRolesRequestRequest) (*ListRolesResponse, error)
- func (a *DefaultAPIService) ListUsersRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequestRequest
- func (a *DefaultAPIService) ListUsersRequestExecute(r ApiListUsersRequestRequest) (*ListUserResponse, error)
- func (a *DefaultAPIService) ProtectInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequestRequest
- func (a *DefaultAPIService) ProtectInstanceRequestExecute(r ApiProtectInstanceRequestRequest) (*ProtectInstanceResponse, error)
- func (a *DefaultAPIService) ResetUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiResetUserRequestRequest
- func (a *DefaultAPIService) ResetUserRequestExecute(r ApiResetUserRequestRequest) (*ResetUserResponse, error)
- func (a *DefaultAPIService) UpdateDatabasePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateDatabasePartiallyRequestRequest
- func (a *DefaultAPIService) UpdateDatabasePartiallyRequestExecute(r ApiUpdateDatabasePartiallyRequestRequest) error
- func (a *DefaultAPIService) UpdateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateDatabaseRequestRequest
- func (a *DefaultAPIService) UpdateDatabaseRequestExecute(r ApiUpdateDatabaseRequestRequest) error
- func (a *DefaultAPIService) UpdateInstancePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequestRequest
- func (a *DefaultAPIService) UpdateInstancePartiallyRequestExecute(r ApiUpdateInstancePartiallyRequestRequest) error
- func (a *DefaultAPIService) UpdateInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequestRequest
- func (a *DefaultAPIService) UpdateInstanceRequestExecute(r ApiUpdateInstanceRequestRequest) error
- func (a *DefaultAPIService) UpdateUserPartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateUserPartiallyRequestRequest
- func (a *DefaultAPIService) UpdateUserPartiallyRequestExecute(r ApiUpdateUserPartiallyRequestRequest) error
- func (a *DefaultAPIService) UpdateUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateUserRequestRequest
- func (a *DefaultAPIService) UpdateUserRequestExecute(r ApiUpdateUserRequestRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CloneRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCloneRequestRequest
- func (a DefaultAPIServiceMock) CloneRequestExecute(r ApiCloneRequestRequest) (*CloneResponse, error)
- func (a DefaultAPIServiceMock) CreateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequestRequest
- func (a DefaultAPIServiceMock) CreateDatabaseRequestExecute(r ApiCreateDatabaseRequestRequest) (*CreateDatabaseResponse, error)
- func (a DefaultAPIServiceMock) CreateInstanceRequest(ctx context.Context, projectId string, region string) ApiCreateInstanceRequestRequest
- func (a DefaultAPIServiceMock) CreateInstanceRequestExecute(r ApiCreateInstanceRequestRequest) (*CreateInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateUserRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequestRequest
- func (a DefaultAPIServiceMock) CreateUserRequestExecute(r ApiCreateUserRequestRequest) (*CreateUserResponse, error)
- func (a DefaultAPIServiceMock) DeleteDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteDatabaseRequestRequest
- func (a DefaultAPIServiceMock) DeleteDatabaseRequestExecute(r ApiDeleteDatabaseRequestRequest) error
- func (a DefaultAPIServiceMock) DeleteInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequestRequest
- func (a DefaultAPIServiceMock) DeleteInstanceRequestExecute(r ApiDeleteInstanceRequestRequest) error
- func (a DefaultAPIServiceMock) DeleteUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteUserRequestRequest
- func (a DefaultAPIServiceMock) DeleteUserRequestExecute(r ApiDeleteUserRequestRequest) error
- func (a DefaultAPIServiceMock) GetBackupRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetBackupRequestRequest
- func (a DefaultAPIServiceMock) GetBackupRequestExecute(r ApiGetBackupRequestRequest) (*GetBackupResponse, error)
- func (a DefaultAPIServiceMock) GetCollationsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequestRequest
- func (a DefaultAPIServiceMock) GetCollationsRequestExecute(r ApiGetCollationsRequestRequest) (*GetCollationsResponse, error)
- func (a DefaultAPIServiceMock) GetDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetDatabaseRequestRequest
- func (a DefaultAPIServiceMock) GetDatabaseRequestExecute(r ApiGetDatabaseRequestRequest) (*GetDatabaseResponse, error)
- func (a DefaultAPIServiceMock) GetFlavorsRequest(ctx context.Context, projectId string, region string) ApiGetFlavorsRequestRequest
- func (a DefaultAPIServiceMock) GetFlavorsRequestExecute(r ApiGetFlavorsRequestRequest) (*GetFlavorsResponse, error)
- func (a DefaultAPIServiceMock) GetInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequestRequest
- func (a DefaultAPIServiceMock) GetInstanceRequestExecute(r ApiGetInstanceRequestRequest) (*GetInstanceResponse, error)
- func (a DefaultAPIServiceMock) GetUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetUserRequestRequest
- func (a DefaultAPIServiceMock) GetUserRequestExecute(r ApiGetUserRequestRequest) (*GetUserResponse, error)
- func (a DefaultAPIServiceMock) GetVersionsRequest(ctx context.Context, projectId string, region string) ApiGetVersionsRequestRequest
- func (a DefaultAPIServiceMock) GetVersionsRequestExecute(r ApiGetVersionsRequestRequest) (*GetVersionsResponse, error)
- func (a DefaultAPIServiceMock) ListBackupsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequestRequest
- func (a DefaultAPIServiceMock) ListBackupsRequestExecute(r ApiListBackupsRequestRequest) (*ListBackupResponse, error)
- func (a DefaultAPIServiceMock) ListDatabasesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequestRequest
- func (a DefaultAPIServiceMock) ListDatabasesRequestExecute(r ApiListDatabasesRequestRequest) (*ListDatabasesResponse, error)
- func (a DefaultAPIServiceMock) ListInstancesRequest(ctx context.Context, projectId string, region string) ApiListInstancesRequestRequest
- func (a DefaultAPIServiceMock) ListInstancesRequestExecute(r ApiListInstancesRequestRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) ListRolesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequestRequest
- func (a DefaultAPIServiceMock) ListRolesRequestExecute(r ApiListRolesRequestRequest) (*ListRolesResponse, error)
- func (a DefaultAPIServiceMock) ListUsersRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequestRequest
- func (a DefaultAPIServiceMock) ListUsersRequestExecute(r ApiListUsersRequestRequest) (*ListUserResponse, error)
- func (a DefaultAPIServiceMock) ProtectInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequestRequest
- func (a DefaultAPIServiceMock) ProtectInstanceRequestExecute(r ApiProtectInstanceRequestRequest) (*ProtectInstanceResponse, error)
- func (a DefaultAPIServiceMock) ResetUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiResetUserRequestRequest
- func (a DefaultAPIServiceMock) ResetUserRequestExecute(r ApiResetUserRequestRequest) (*ResetUserResponse, error)
- func (a DefaultAPIServiceMock) UpdateDatabasePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateDatabasePartiallyRequestRequest
- func (a DefaultAPIServiceMock) UpdateDatabasePartiallyRequestExecute(r ApiUpdateDatabasePartiallyRequestRequest) error
- func (a DefaultAPIServiceMock) UpdateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateDatabaseRequestRequest
- func (a DefaultAPIServiceMock) UpdateDatabaseRequestExecute(r ApiUpdateDatabaseRequestRequest) error
- func (a DefaultAPIServiceMock) UpdateInstancePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequestRequest
- func (a DefaultAPIServiceMock) UpdateInstancePartiallyRequestExecute(r ApiUpdateInstancePartiallyRequestRequest) error
- func (a DefaultAPIServiceMock) UpdateInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequestRequest
- func (a DefaultAPIServiceMock) UpdateInstanceRequestExecute(r ApiUpdateInstanceRequestRequest) error
- func (a DefaultAPIServiceMock) UpdateUserPartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateUserPartiallyRequestRequest
- func (a DefaultAPIServiceMock) UpdateUserPartiallyRequestExecute(r ApiUpdateUserPartiallyRequestRequest) error
- func (a DefaultAPIServiceMock) UpdateUserRequest(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateUserRequestRequest
- func (a DefaultAPIServiceMock) UpdateUserRequestExecute(r ApiUpdateUserRequestRequest) 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 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 GetBackupResponse
- func (o *GetBackupResponse) GetCompletionTime() string
- func (o *GetBackupResponse) GetCompletionTimeOk() (*string, bool)
- func (o *GetBackupResponse) GetId() int32
- func (o *GetBackupResponse) GetIdOk() (*int32, 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() int32
- func (o *GetBackupResponse) GetSizeOk() (*int32, 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 int32)
- func (o *GetBackupResponse) SetName(v string)
- func (o *GetBackupResponse) SetRetainedUntil(v string)
- func (o *GetBackupResponse) SetSize(v int32)
- 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() []string
- func (o *GetCollationsResponse) GetCollationsOk() ([]string, bool)
- func (o GetCollationsResponse) MarshalJSON() ([]byte, error)
- func (o *GetCollationsResponse) SetCollations(v []string)
- func (o GetCollationsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCollationsResponse) UnmarshalJSON(data []byte) (err error)
- type GetDatabaseResponse
- func (o *GetDatabaseResponse) GetId() int32
- func (o *GetDatabaseResponse) GetIdOk() (*int32, 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) SetId(v int32)
- 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) GetAcl() []string
- func (o *GetInstanceResponse) GetAclOk() ([]string, bool)
- func (o *GetInstanceResponse) GetBackupSchedule() string
- func (o *GetInstanceResponse) GetBackupScheduleOk() (*string, bool)
- func (o *GetInstanceResponse) GetConnectionInfo() InstanceConnectionInfo
- func (o *GetInstanceResponse) GetConnectionInfoOk() (*InstanceConnectionInfo, 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) 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) GetStatus() Status
- func (o *GetInstanceResponse) GetStatusOk() (*Status, bool)
- func (o *GetInstanceResponse) GetStorage() Storage
- func (o *GetInstanceResponse) GetStorageOk() (*Storage, bool)
- func (o *GetInstanceResponse) GetVersion() string
- func (o *GetInstanceResponse) GetVersionOk() (*string, bool)
- func (o *GetInstanceResponse) HasAcl() bool
- func (o *GetInstanceResponse) HasEncryption() bool
- func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *GetInstanceResponse) SetAcl(v []string)
- func (o *GetInstanceResponse) SetBackupSchedule(v string)
- func (o *GetInstanceResponse) SetConnectionInfo(v InstanceConnectionInfo)
- 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) SetName(v string)
- func (o *GetInstanceResponse) SetNetwork(v InstanceNetwork)
- func (o *GetInstanceResponse) SetReplicas(v Replicas)
- func (o *GetInstanceResponse) SetRetentionDays(v int32)
- func (o *GetInstanceResponse) SetStatus(v Status)
- func (o *GetInstanceResponse) SetStorage(v Storage)
- func (o *GetInstanceResponse) SetVersion(v string)
- func (o GetInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *GetInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type GetUserResponse
- func (o *GetUserResponse) GetId() int32
- func (o *GetUserResponse) GetIdOk() (*int32, bool)
- func (o *GetUserResponse) GetName() string
- func (o *GetUserResponse) GetNameOk() (*string, bool)
- func (o *GetUserResponse) GetRoles() []UserRole
- func (o *GetUserResponse) GetRolesOk() ([]UserRole, bool)
- func (o *GetUserResponse) GetStatus() string
- func (o *GetUserResponse) GetStatusOk() (*string, bool)
- func (o GetUserResponse) MarshalJSON() ([]byte, error)
- func (o *GetUserResponse) SetId(v int32)
- func (o *GetUserResponse) SetName(v string)
- func (o *GetUserResponse) SetRoles(v []UserRole)
- func (o *GetUserResponse) SetStatus(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 InstanceConnectionInfo
- func (o *InstanceConnectionInfo) GetWrite() InstanceConnectionInfoWrite
- func (o *InstanceConnectionInfo) GetWriteOk() (*InstanceConnectionInfoWrite, bool)
- func (o InstanceConnectionInfo) MarshalJSON() ([]byte, error)
- func (o *InstanceConnectionInfo) SetWrite(v InstanceConnectionInfoWrite)
- func (o InstanceConnectionInfo) ToMap() (map[string]interface{}, error)
- func (o *InstanceConnectionInfo) UnmarshalJSON(data []byte) (err error)
- type InstanceConnectionInfoWrite
- func (o *InstanceConnectionInfoWrite) GetHost() string
- func (o *InstanceConnectionInfoWrite) GetHostOk() (*string, bool)
- func (o *InstanceConnectionInfoWrite) GetPort() int32
- func (o *InstanceConnectionInfoWrite) GetPortOk() (*int32, bool)
- func (o InstanceConnectionInfoWrite) MarshalJSON() ([]byte, error)
- func (o *InstanceConnectionInfoWrite) SetHost(v string)
- func (o *InstanceConnectionInfoWrite) SetPort(v int32)
- func (o InstanceConnectionInfoWrite) ToMap() (map[string]interface{}, error)
- func (o *InstanceConnectionInfoWrite) UnmarshalJSON(data []byte) (err error)
- 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) 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 InstanceNetworkCreate
- func (o *InstanceNetworkCreate) GetAccessScope() InstanceNetworkAccessScope
- func (o *InstanceNetworkCreate) GetAccessScopeOk() (*InstanceNetworkAccessScope, bool)
- func (o *InstanceNetworkCreate) GetAcl() []string
- func (o *InstanceNetworkCreate) GetAclOk() ([]string, bool)
- func (o *InstanceNetworkCreate) HasAccessScope() bool
- func (o InstanceNetworkCreate) MarshalJSON() ([]byte, error)
- func (o *InstanceNetworkCreate) SetAccessScope(v InstanceNetworkAccessScope)
- func (o *InstanceNetworkCreate) SetAcl(v []string)
- func (o InstanceNetworkCreate) ToMap() (map[string]interface{}, error)
- func (o *InstanceNetworkCreate) UnmarshalJSON(data []byte) (err error)
- type InstanceNetworkOpt
- func (o *InstanceNetworkOpt) GetAcl() []string
- func (o *InstanceNetworkOpt) GetAclOk() ([]string, bool)
- func (o *InstanceNetworkOpt) HasAcl() bool
- func (o InstanceNetworkOpt) MarshalJSON() ([]byte, error)
- func (o *InstanceNetworkOpt) SetAcl(v []string)
- func (o InstanceNetworkOpt) ToMap() (map[string]interface{}, error)
- type InstanceNetworkUpdate
- func (o *InstanceNetworkUpdate) GetAcl() []string
- func (o *InstanceNetworkUpdate) GetAclOk() ([]string, bool)
- func (o InstanceNetworkUpdate) MarshalJSON() ([]byte, error)
- func (o *InstanceNetworkUpdate) SetAcl(v []string)
- func (o InstanceNetworkUpdate) ToMap() (map[string]interface{}, error)
- func (o *InstanceNetworkUpdate) UnmarshalJSON(data []byte) (err error)
- type InstanceSort
- type InstanceStorageRange
- func (o *InstanceStorageRange) GetMax() int32
- func (o *InstanceStorageRange) GetMaxOk() (*int32, bool)
- func (o *InstanceStorageRange) GetMin() int32
- func (o *InstanceStorageRange) GetMinOk() (*int32, bool)
- func (o InstanceStorageRange) MarshalJSON() ([]byte, error)
- func (o *InstanceStorageRange) SetMax(v int32)
- func (o *InstanceStorageRange) SetMin(v int32)
- func (o InstanceStorageRange) ToMap() (map[string]interface{}, error)
- func (o *InstanceStorageRange) UnmarshalJSON(data []byte) (err error)
- type ListBackup
- func (o *ListBackup) GetCompletionTime() string
- func (o *ListBackup) GetCompletionTimeOk() (*string, bool)
- func (o *ListBackup) GetId() int32
- func (o *ListBackup) GetIdOk() (*int32, 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() int32
- func (o *ListBackup) GetSizeOk() (*int32, 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 int32)
- func (o *ListBackup) SetName(v string)
- func (o *ListBackup) SetRetainedUntil(v string)
- func (o *ListBackup) SetSize(v int32)
- 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() []ListBackup
- func (o *ListBackupResponse) GetBackupsOk() ([]ListBackup, bool)
- func (o *ListBackupResponse) GetPagination() Pagination
- func (o *ListBackupResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListBackupResponse) MarshalJSON() ([]byte, error)
- func (o *ListBackupResponse) SetBackups(v []ListBackup)
- func (o *ListBackupResponse) SetPagination(v Pagination)
- func (o ListBackupResponse) ToMap() (map[string]interface{}, error)
- func (o *ListBackupResponse) UnmarshalJSON(data []byte) (err error)
- type ListDatabase
- func (o *ListDatabase) GetId() int32
- func (o *ListDatabase) GetIdOk() (*int32, 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) SetId(v int32)
- 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() int32
- func (o *ListFlavors) GetCpuOk() (*int32, 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() int32
- func (o *ListFlavors) GetMemoryOk() (*int32, 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 int32)
- func (o *ListFlavors) SetDescription(v string)
- func (o *ListFlavors) SetId(v string)
- func (o *ListFlavors) SetMaxGB(v int32)
- func (o *ListFlavors) SetMemory(v int32)
- 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) GetStatus() Status
- func (o *ListInstance) GetStatusOk() (*Status, 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) SetStatus(v Status)
- 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() int32
- func (o *ListUser) GetIdOk() (*int32, bool)
- func (o *ListUser) GetName() string
- func (o *ListUser) GetNameOk() (*string, bool)
- func (o *ListUser) GetStatus() string
- func (o *ListUser) GetStatusOk() (*string, bool)
- func (o ListUser) MarshalJSON() ([]byte, error)
- func (o *ListUser) SetId(v int32)
- func (o *ListUser) SetName(v string)
- func (o *ListUser) SetStatus(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 NullableBackupSort
- type NullableBool
- type NullableCloneInstanceOverrides
- func (v NullableCloneInstanceOverrides) Get() *CloneInstanceOverrides
- func (v NullableCloneInstanceOverrides) IsSet() bool
- func (v NullableCloneInstanceOverrides) MarshalJSON() ([]byte, error)
- func (v *NullableCloneInstanceOverrides) Set(val *CloneInstanceOverrides)
- func (v *NullableCloneInstanceOverrides) UnmarshalJSON(src []byte) error
- func (v *NullableCloneInstanceOverrides) Unset()
- type NullableCloneRequestPayload
- func (v NullableCloneRequestPayload) Get() *CloneRequestPayload
- func (v NullableCloneRequestPayload) IsSet() bool
- func (v NullableCloneRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCloneRequestPayload) Set(val *CloneRequestPayload)
- func (v *NullableCloneRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCloneRequestPayload) Unset()
- type NullableCloneResponse
- func (v NullableCloneResponse) Get() *CloneResponse
- func (v NullableCloneResponse) IsSet() bool
- func (v NullableCloneResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCloneResponse) Set(val *CloneResponse)
- func (v *NullableCloneResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCloneResponse) Unset()
- type NullableCreateDatabaseRequestPayload
- func (v NullableCreateDatabaseRequestPayload) Get() *CreateDatabaseRequestPayload
- func (v NullableCreateDatabaseRequestPayload) IsSet() bool
- func (v NullableCreateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabaseRequestPayload) Set(val *CreateDatabaseRequestPayload)
- func (v *NullableCreateDatabaseRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabaseRequestPayload) 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 NullableCreateInstanceRequestPayload
- func (v NullableCreateInstanceRequestPayload) Get() *CreateInstanceRequestPayload
- func (v NullableCreateInstanceRequestPayload) IsSet() bool
- func (v NullableCreateInstanceRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceRequestPayload) Set(val *CreateInstanceRequestPayload)
- func (v *NullableCreateInstanceRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceRequestPayload) 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 NullableCreateUserRequestPayload
- func (v NullableCreateUserRequestPayload) Get() *CreateUserRequestPayload
- func (v NullableCreateUserRequestPayload) IsSet() bool
- func (v NullableCreateUserRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserRequestPayload) Set(val *CreateUserRequestPayload)
- func (v *NullableCreateUserRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserRequestPayload) 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 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 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 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 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 NullableInstanceConnectionInfo
- func (v NullableInstanceConnectionInfo) Get() *InstanceConnectionInfo
- func (v NullableInstanceConnectionInfo) IsSet() bool
- func (v NullableInstanceConnectionInfo) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceConnectionInfo) Set(val *InstanceConnectionInfo)
- func (v *NullableInstanceConnectionInfo) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceConnectionInfo) Unset()
- type NullableInstanceConnectionInfoWrite
- func (v NullableInstanceConnectionInfoWrite) Get() *InstanceConnectionInfoWrite
- func (v NullableInstanceConnectionInfoWrite) IsSet() bool
- func (v NullableInstanceConnectionInfoWrite) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceConnectionInfoWrite) Set(val *InstanceConnectionInfoWrite)
- func (v *NullableInstanceConnectionInfoWrite) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceConnectionInfoWrite) 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 NullableInstanceNetworkCreate
- func (v NullableInstanceNetworkCreate) Get() *InstanceNetworkCreate
- func (v NullableInstanceNetworkCreate) IsSet() bool
- func (v NullableInstanceNetworkCreate) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceNetworkCreate) Set(val *InstanceNetworkCreate)
- func (v *NullableInstanceNetworkCreate) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceNetworkCreate) Unset()
- type NullableInstanceNetworkOpt
- func (v NullableInstanceNetworkOpt) Get() *InstanceNetworkOpt
- func (v NullableInstanceNetworkOpt) IsSet() bool
- func (v NullableInstanceNetworkOpt) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceNetworkOpt) Set(val *InstanceNetworkOpt)
- func (v *NullableInstanceNetworkOpt) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceNetworkOpt) Unset()
- type NullableInstanceNetworkUpdate
- func (v NullableInstanceNetworkUpdate) Get() *InstanceNetworkUpdate
- func (v NullableInstanceNetworkUpdate) IsSet() bool
- func (v NullableInstanceNetworkUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceNetworkUpdate) Set(val *InstanceNetworkUpdate)
- func (v *NullableInstanceNetworkUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceNetworkUpdate) 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 NullableInstanceStorageRange
- func (v NullableInstanceStorageRange) Get() *InstanceStorageRange
- func (v NullableInstanceStorageRange) IsSet() bool
- func (v NullableInstanceStorageRange) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceStorageRange) Set(val *InstanceStorageRange)
- func (v *NullableInstanceStorageRange) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceStorageRange) 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 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 NullableProtectInstanceRequestPayload
- func (v NullableProtectInstanceRequestPayload) Get() *ProtectInstanceRequestPayload
- func (v NullableProtectInstanceRequestPayload) IsSet() bool
- func (v NullableProtectInstanceRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableProtectInstanceRequestPayload) Set(val *ProtectInstanceRequestPayload)
- func (v *NullableProtectInstanceRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableProtectInstanceRequestPayload) 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 NullableReplicasOpt
- func (v NullableReplicasOpt) Get() *ReplicasOpt
- func (v NullableReplicasOpt) IsSet() bool
- func (v NullableReplicasOpt) MarshalJSON() ([]byte, error)
- func (v *NullableReplicasOpt) Set(val *ReplicasOpt)
- func (v *NullableReplicasOpt) UnmarshalJSON(src []byte) error
- func (v *NullableReplicasOpt) Unset()
- type NullableResetUserResponse
- func (v NullableResetUserResponse) Get() *ResetUserResponse
- func (v NullableResetUserResponse) IsSet() bool
- func (v NullableResetUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableResetUserResponse) Set(val *ResetUserResponse)
- func (v *NullableResetUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableResetUserResponse) Unset()
- type NullableStatus
- 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 NullableUpdateDatabasePartiallyRequestPayload
- func (v NullableUpdateDatabasePartiallyRequestPayload) Get() *UpdateDatabasePartiallyRequestPayload
- func (v NullableUpdateDatabasePartiallyRequestPayload) IsSet() bool
- func (v NullableUpdateDatabasePartiallyRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatabasePartiallyRequestPayload) Set(val *UpdateDatabasePartiallyRequestPayload)
- func (v *NullableUpdateDatabasePartiallyRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatabasePartiallyRequestPayload) Unset()
- type NullableUpdateDatabasePartiallyResponse
- func (v NullableUpdateDatabasePartiallyResponse) Get() *UpdateDatabasePartiallyResponse
- func (v NullableUpdateDatabasePartiallyResponse) IsSet() bool
- func (v NullableUpdateDatabasePartiallyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatabasePartiallyResponse) Set(val *UpdateDatabasePartiallyResponse)
- func (v *NullableUpdateDatabasePartiallyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatabasePartiallyResponse) Unset()
- type NullableUpdateDatabaseRequestPayload
- func (v NullableUpdateDatabaseRequestPayload) Get() *UpdateDatabaseRequestPayload
- func (v NullableUpdateDatabaseRequestPayload) IsSet() bool
- func (v NullableUpdateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatabaseRequestPayload) Set(val *UpdateDatabaseRequestPayload)
- func (v *NullableUpdateDatabaseRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatabaseRequestPayload) Unset()
- type NullableUpdateDatabaseResponse
- func (v NullableUpdateDatabaseResponse) Get() *UpdateDatabaseResponse
- func (v NullableUpdateDatabaseResponse) IsSet() bool
- func (v NullableUpdateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatabaseResponse) Set(val *UpdateDatabaseResponse)
- func (v *NullableUpdateDatabaseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatabaseResponse) Unset()
- type NullableUpdateInstancePartiallyRequestPayload
- func (v NullableUpdateInstancePartiallyRequestPayload) Get() *UpdateInstancePartiallyRequestPayload
- func (v NullableUpdateInstancePartiallyRequestPayload) IsSet() bool
- func (v NullableUpdateInstancePartiallyRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePartiallyRequestPayload) Set(val *UpdateInstancePartiallyRequestPayload)
- func (v *NullableUpdateInstancePartiallyRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePartiallyRequestPayload) Unset()
- type NullableUpdateInstanceRequestPayload
- func (v NullableUpdateInstanceRequestPayload) Get() *UpdateInstanceRequestPayload
- func (v NullableUpdateInstanceRequestPayload) IsSet() bool
- func (v NullableUpdateInstanceRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstanceRequestPayload) Set(val *UpdateInstanceRequestPayload)
- func (v *NullableUpdateInstanceRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstanceRequestPayload) Unset()
- type NullableUpdateUserPartiallyRequestPayload
- func (v NullableUpdateUserPartiallyRequestPayload) Get() *UpdateUserPartiallyRequestPayload
- func (v NullableUpdateUserPartiallyRequestPayload) IsSet() bool
- func (v NullableUpdateUserPartiallyRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserPartiallyRequestPayload) Set(val *UpdateUserPartiallyRequestPayload)
- func (v *NullableUpdateUserPartiallyRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserPartiallyRequestPayload) Unset()
- type NullableUpdateUserRequestPayload
- func (v NullableUpdateUserRequestPayload) Get() *UpdateUserRequestPayload
- func (v NullableUpdateUserRequestPayload) IsSet() bool
- func (v NullableUpdateUserRequestPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserRequestPayload) Set(val *UpdateUserRequestPayload)
- func (v *NullableUpdateUserRequestPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserRequestPayload) Unset()
- type NullableUserRole
- 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() int32
- func (o *Pagination) GetPageOk() (*int32, bool)
- func (o *Pagination) GetSize() int32
- func (o *Pagination) GetSizeOk() (*int32, bool)
- func (o *Pagination) GetSort() string
- func (o *Pagination) GetSortOk() (*string, bool)
- func (o *Pagination) GetTotalPages() int32
- func (o *Pagination) GetTotalPagesOk() (*int32, bool)
- func (o *Pagination) GetTotalRows() int32
- func (o *Pagination) GetTotalRowsOk() (*int32, bool)
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetPage(v int32)
- func (o *Pagination) SetSize(v int32)
- func (o *Pagination) SetSort(v string)
- func (o *Pagination) SetTotalPages(v int32)
- func (o *Pagination) SetTotalRows(v int32)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- func (o *Pagination) UnmarshalJSON(data []byte) (err error)
- type ProtectInstanceRequestPayload
- func (o *ProtectInstanceRequestPayload) GetIsDeletable() bool
- func (o *ProtectInstanceRequestPayload) GetIsDeletableOk() (*bool, bool)
- func (o ProtectInstanceRequestPayload) MarshalJSON() ([]byte, error)
- func (o *ProtectInstanceRequestPayload) SetIsDeletable(v bool)
- func (o ProtectInstanceRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *ProtectInstanceRequestPayload) 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 ReplicasOpt
- type ResetUserResponse
- func (o *ResetUserResponse) GetName() string
- func (o *ResetUserResponse) GetNameOk() (*string, bool)
- 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) MarshalJSON() ([]byte, error)
- func (o *ResetUserResponse) SetName(v string)
- func (o *ResetUserResponse) SetPassword(v string)
- func (o *ResetUserResponse) SetStatus(v string)
- func (o ResetUserResponse) ToMap() (map[string]interface{}, error)
- func (o *ResetUserResponse) UnmarshalJSON(data []byte) (err error)
- type Status
- type Storage
- func (o *Storage) GetPerformanceClass() string
- func (o *Storage) GetPerformanceClassOk() (*string, bool)
- func (o *Storage) GetSize() int32
- func (o *Storage) GetSizeOk() (*int32, bool)
- func (o *Storage) HasPerformanceClass() bool
- func (o *Storage) HasSize() bool
- func (o Storage) MarshalJSON() ([]byte, error)
- func (o *Storage) SetPerformanceClass(v string)
- func (o *Storage) SetSize(v int32)
- func (o Storage) ToMap() (map[string]interface{}, error)
- type StorageCreate
- func (o *StorageCreate) GetPerformanceClass() string
- func (o *StorageCreate) GetPerformanceClassOk() (*string, bool)
- func (o *StorageCreate) GetSize() int32
- func (o *StorageCreate) GetSizeOk() (*int32, bool)
- func (o StorageCreate) MarshalJSON() ([]byte, error)
- func (o *StorageCreate) SetPerformanceClass(v string)
- func (o *StorageCreate) SetSize(v int32)
- func (o StorageCreate) ToMap() (map[string]interface{}, error)
- func (o *StorageCreate) UnmarshalJSON(data []byte) (err error)
- type StorageUpdate
- type UpdateDatabasePartiallyRequestPayload
- func (o *UpdateDatabasePartiallyRequestPayload) GetName() string
- func (o *UpdateDatabasePartiallyRequestPayload) GetNameOk() (*string, bool)
- func (o *UpdateDatabasePartiallyRequestPayload) GetOwner() string
- func (o *UpdateDatabasePartiallyRequestPayload) GetOwnerOk() (*string, bool)
- func (o *UpdateDatabasePartiallyRequestPayload) HasName() bool
- func (o *UpdateDatabasePartiallyRequestPayload) HasOwner() bool
- func (o UpdateDatabasePartiallyRequestPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateDatabasePartiallyRequestPayload) SetName(v string)
- func (o *UpdateDatabasePartiallyRequestPayload) SetOwner(v string)
- func (o UpdateDatabasePartiallyRequestPayload) ToMap() (map[string]interface{}, error)
- type UpdateDatabasePartiallyResponse
- func (o *UpdateDatabasePartiallyResponse) GetDatabase() ListDatabase
- func (o *UpdateDatabasePartiallyResponse) GetDatabaseOk() (*ListDatabase, bool)
- func (o UpdateDatabasePartiallyResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateDatabasePartiallyResponse) SetDatabase(v ListDatabase)
- func (o UpdateDatabasePartiallyResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateDatabasePartiallyResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateDatabaseRequestPayload
- func (o *UpdateDatabaseRequestPayload) GetName() string
- func (o *UpdateDatabaseRequestPayload) GetNameOk() (*string, bool)
- func (o *UpdateDatabaseRequestPayload) GetOwner() string
- func (o *UpdateDatabaseRequestPayload) GetOwnerOk() (*string, bool)
- func (o UpdateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateDatabaseRequestPayload) SetName(v string)
- func (o *UpdateDatabaseRequestPayload) SetOwner(v string)
- func (o UpdateDatabaseRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateDatabaseRequestPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateDatabaseResponse
- func (o *UpdateDatabaseResponse) GetDatabase() ListDatabase
- func (o *UpdateDatabaseResponse) GetDatabaseOk() (*ListDatabase, bool)
- func (o UpdateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateDatabaseResponse) SetDatabase(v ListDatabase)
- func (o UpdateDatabaseResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateInstancePartiallyRequestPayload
- func (o *UpdateInstancePartiallyRequestPayload) GetBackupSchedule() string
- func (o *UpdateInstancePartiallyRequestPayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetFlavorId() string
- func (o *UpdateInstancePartiallyRequestPayload) GetFlavorIdOk() (*string, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetName() string
- func (o *UpdateInstancePartiallyRequestPayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetNetwork() InstanceNetworkOpt
- func (o *UpdateInstancePartiallyRequestPayload) GetNetworkOk() (*InstanceNetworkOpt, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetReplicas() ReplicasOpt
- func (o *UpdateInstancePartiallyRequestPayload) GetReplicasOk() (*ReplicasOpt, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetRetentionDays() int32
- func (o *UpdateInstancePartiallyRequestPayload) GetRetentionDaysOk() (*int32, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetStorage() StorageUpdate
- func (o *UpdateInstancePartiallyRequestPayload) GetStorageOk() (*StorageUpdate, bool)
- func (o *UpdateInstancePartiallyRequestPayload) GetVersion() string
- func (o *UpdateInstancePartiallyRequestPayload) GetVersionOk() (*string, bool)
- func (o *UpdateInstancePartiallyRequestPayload) HasBackupSchedule() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasFlavorId() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasName() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasNetwork() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasReplicas() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasRetentionDays() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasStorage() bool
- func (o *UpdateInstancePartiallyRequestPayload) HasVersion() bool
- func (o UpdateInstancePartiallyRequestPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePartiallyRequestPayload) SetBackupSchedule(v string)
- func (o *UpdateInstancePartiallyRequestPayload) SetFlavorId(v string)
- func (o *UpdateInstancePartiallyRequestPayload) SetName(v string)
- func (o *UpdateInstancePartiallyRequestPayload) SetNetwork(v InstanceNetworkOpt)
- func (o *UpdateInstancePartiallyRequestPayload) SetReplicas(v ReplicasOpt)
- func (o *UpdateInstancePartiallyRequestPayload) SetRetentionDays(v int32)
- func (o *UpdateInstancePartiallyRequestPayload) SetStorage(v StorageUpdate)
- func (o *UpdateInstancePartiallyRequestPayload) SetVersion(v string)
- func (o UpdateInstancePartiallyRequestPayload) ToMap() (map[string]interface{}, error)
- type UpdateInstanceRequestPayload
- func (o *UpdateInstanceRequestPayload) GetBackupSchedule() string
- func (o *UpdateInstanceRequestPayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateInstanceRequestPayload) GetFlavorId() string
- func (o *UpdateInstanceRequestPayload) GetFlavorIdOk() (*string, bool)
- func (o *UpdateInstanceRequestPayload) GetName() string
- func (o *UpdateInstanceRequestPayload) GetNameOk() (*string, bool)
- func (o *UpdateInstanceRequestPayload) GetNetwork() InstanceNetworkUpdate
- func (o *UpdateInstanceRequestPayload) GetNetworkOk() (*InstanceNetworkUpdate, bool)
- func (o *UpdateInstanceRequestPayload) GetReplicas() Replicas
- func (o *UpdateInstanceRequestPayload) GetReplicasOk() (*Replicas, bool)
- func (o *UpdateInstanceRequestPayload) GetRetentionDays() int32
- func (o *UpdateInstanceRequestPayload) GetRetentionDaysOk() (*int32, bool)
- func (o *UpdateInstanceRequestPayload) GetStorage() StorageUpdate
- func (o *UpdateInstanceRequestPayload) GetStorageOk() (*StorageUpdate, bool)
- func (o *UpdateInstanceRequestPayload) GetVersion() string
- func (o *UpdateInstanceRequestPayload) GetVersionOk() (*string, bool)
- func (o UpdateInstanceRequestPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstanceRequestPayload) SetBackupSchedule(v string)
- func (o *UpdateInstanceRequestPayload) SetFlavorId(v string)
- func (o *UpdateInstanceRequestPayload) SetName(v string)
- func (o *UpdateInstanceRequestPayload) SetNetwork(v InstanceNetworkUpdate)
- func (o *UpdateInstanceRequestPayload) SetReplicas(v Replicas)
- func (o *UpdateInstanceRequestPayload) SetRetentionDays(v int32)
- func (o *UpdateInstanceRequestPayload) SetStorage(v StorageUpdate)
- func (o *UpdateInstanceRequestPayload) SetVersion(v string)
- func (o UpdateInstanceRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstanceRequestPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateUserPartiallyRequestPayload
- func (o *UpdateUserPartiallyRequestPayload) GetName() string
- func (o *UpdateUserPartiallyRequestPayload) GetNameOk() (*string, bool)
- func (o *UpdateUserPartiallyRequestPayload) GetRoles() []UserRole
- func (o *UpdateUserPartiallyRequestPayload) GetRolesOk() ([]UserRole, bool)
- func (o *UpdateUserPartiallyRequestPayload) HasName() bool
- func (o *UpdateUserPartiallyRequestPayload) HasRoles() bool
- func (o UpdateUserPartiallyRequestPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUserPartiallyRequestPayload) SetName(v string)
- func (o *UpdateUserPartiallyRequestPayload) SetRoles(v []UserRole)
- func (o UpdateUserPartiallyRequestPayload) ToMap() (map[string]interface{}, error)
- type UpdateUserRequestPayload
- func (o *UpdateUserRequestPayload) GetName() string
- func (o *UpdateUserRequestPayload) GetNameOk() (*string, bool)
- func (o *UpdateUserRequestPayload) GetRoles() []UserRole
- func (o *UpdateUserRequestPayload) GetRolesOk() ([]UserRole, bool)
- func (o *UpdateUserRequestPayload) HasName() bool
- func (o UpdateUserRequestPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUserRequestPayload) SetName(v string)
- func (o *UpdateUserRequestPayload) SetRoles(v []UserRole)
- func (o UpdateUserRequestPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateUserRequestPayload) UnmarshalJSON(data []byte) (err error)
- type UserRole
- 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{
"completion_time.desc",
"completion_time.asc",
"end_time.desc",
"end_time.asc",
"name.desc",
"name.asc",
"retained_until.desc",
"retained_until.asc",
"size.desc",
"size.asc",
"type.desc",
"type.asc",
}
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",
}
All allowed values of DatabaseSort enum
var AllowedFlavorSortEnumValues = []FlavorSort{
"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",
}
All allowed values of FlavorSort enum
var AllowedInstanceNetworkAccessScopeEnumValues = []InstanceNetworkAccessScope{
"PUBLIC",
"SNA",
}
All allowed values of InstanceNetworkAccessScope enum
var AllowedInstanceSortEnumValues = []InstanceSort{
"id.desc",
"id.asc",
"is_deletable.desc",
"is_deletable.asc",
"name.asc",
"name.desc",
"status.asc",
"status.desc",
}
All allowed values of InstanceSort enum
var AllowedReplicasEnumValues = []Replicas{
1,
3,
}
All allowed values of Replicas enum
var AllowedReplicasOptEnumValues = []ReplicasOpt{
1,
3,
}
All allowed values of ReplicasOpt enum
var AllowedStatusEnumValues = []Status{
"READY",
"PENDING",
"PROGRESSING",
"FAILURE",
"UNKNOWN",
"TERMINATING",
}
All allowed values of Status enum
var AllowedUserRoleEnumValues = []UserRole{
"createdb",
"login",
}
All allowed values of UserRole enum
var AllowedUserSortEnumValues = []UserSort{
"id.asc",
"id.desc",
"name.desc",
"name.asc",
"status.desc",
"status.asc",
}
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 PostgreSQL Flex API API v3alpha1 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 ApiCloneRequestRequest ¶
type ApiCloneRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCloneRequestRequest) CloneRequestPayload ¶
func (r ApiCloneRequestRequest) CloneRequestPayload(cloneRequestPayload CloneRequestPayload) ApiCloneRequestRequest
The request body with the parameters for cloning an instance by a point in time into a new instance.
func (ApiCloneRequestRequest) Execute ¶
func (r ApiCloneRequestRequest) Execute() (*CloneResponse, error)
type ApiCreateDatabaseRequestRequest ¶
type ApiCreateDatabaseRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateDatabaseRequestRequest) CreateDatabaseRequestPayload ¶
func (r ApiCreateDatabaseRequestRequest) CreateDatabaseRequestPayload(createDatabaseRequestPayload CreateDatabaseRequestPayload) ApiCreateDatabaseRequestRequest
The request body containing the information for the new database.
func (ApiCreateDatabaseRequestRequest) Execute ¶
func (r ApiCreateDatabaseRequestRequest) Execute() (*CreateDatabaseResponse, error)
type ApiCreateInstanceRequestRequest ¶
type ApiCreateInstanceRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateInstanceRequestRequest) CreateInstanceRequestPayload ¶
func (r ApiCreateInstanceRequestRequest) CreateInstanceRequestPayload(createInstanceRequestPayload CreateInstanceRequestPayload) ApiCreateInstanceRequestRequest
The request body with the parameters for the instance creation. Every parameter is required.
func (ApiCreateInstanceRequestRequest) Execute ¶
func (r ApiCreateInstanceRequestRequest) Execute() (*CreateInstanceResponse, error)
type ApiCreateUserRequestRequest ¶
type ApiCreateUserRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateUserRequestRequest) CreateUserRequestPayload ¶
func (r ApiCreateUserRequestRequest) CreateUserRequestPayload(createUserRequestPayload CreateUserRequestPayload) ApiCreateUserRequestRequest
The request body containing the user details.
func (ApiCreateUserRequestRequest) Execute ¶
func (r ApiCreateUserRequestRequest) Execute() (*CreateUserResponse, error)
type ApiDeleteDatabaseRequestRequest ¶
type ApiDeleteDatabaseRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteDatabaseRequestRequest) Execute ¶
func (r ApiDeleteDatabaseRequestRequest) Execute() error
type ApiDeleteInstanceRequestRequest ¶
type ApiDeleteInstanceRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequestRequest) Execute ¶
func (r ApiDeleteInstanceRequestRequest) Execute() error
type ApiDeleteUserRequestRequest ¶
type ApiDeleteUserRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUserRequestRequest) Execute ¶
func (r ApiDeleteUserRequestRequest) Execute() error
type ApiGetBackupRequestRequest ¶
type ApiGetBackupRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupRequestRequest) Execute ¶
func (r ApiGetBackupRequestRequest) Execute() (*GetBackupResponse, error)
type ApiGetCollationsRequestRequest ¶
type ApiGetCollationsRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetCollationsRequestRequest) Execute ¶
func (r ApiGetCollationsRequestRequest) Execute() (*GetCollationsResponse, error)
type ApiGetDatabaseRequestRequest ¶
type ApiGetDatabaseRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetDatabaseRequestRequest) Execute ¶
func (r ApiGetDatabaseRequestRequest) Execute() (*GetDatabaseResponse, error)
type ApiGetFlavorsRequestRequest ¶
type ApiGetFlavorsRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetFlavorsRequestRequest) Execute ¶
func (r ApiGetFlavorsRequestRequest) Execute() (*GetFlavorsResponse, error)
func (ApiGetFlavorsRequestRequest) Page ¶
func (r ApiGetFlavorsRequestRequest) Page(page int32) ApiGetFlavorsRequestRequest
Number of the page of items list to be returned.
func (ApiGetFlavorsRequestRequest) Size ¶
func (r ApiGetFlavorsRequestRequest) Size(size int32) ApiGetFlavorsRequestRequest
Number of items to be returned on each page.
func (ApiGetFlavorsRequestRequest) Sort ¶
func (r ApiGetFlavorsRequestRequest) Sort(sort FlavorSort) ApiGetFlavorsRequestRequest
Sorting of the flavors to be returned on each page.
type ApiGetInstanceRequestRequest ¶
type ApiGetInstanceRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequestRequest) Execute ¶
func (r ApiGetInstanceRequestRequest) Execute() (*GetInstanceResponse, error)
type ApiGetUserRequestRequest ¶
type ApiGetUserRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetUserRequestRequest) Execute ¶
func (r ApiGetUserRequestRequest) Execute() (*GetUserResponse, error)
type ApiGetVersionsRequestRequest ¶
type ApiGetVersionsRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetVersionsRequestRequest) Execute ¶
func (r ApiGetVersionsRequestRequest) Execute() (*GetVersionsResponse, error)
type ApiListBackupsRequestRequest ¶
type ApiListBackupsRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequestRequest) Execute ¶
func (r ApiListBackupsRequestRequest) Execute() (*ListBackupResponse, error)
func (ApiListBackupsRequestRequest) Page ¶
func (r ApiListBackupsRequestRequest) Page(page int32) ApiListBackupsRequestRequest
Number of the page of items list to be returned.
func (ApiListBackupsRequestRequest) Size ¶
func (r ApiListBackupsRequestRequest) Size(size int32) ApiListBackupsRequestRequest
Number of items to be returned on each page.
func (ApiListBackupsRequestRequest) Sort ¶
func (r ApiListBackupsRequestRequest) Sort(sort BackupSort) ApiListBackupsRequestRequest
Sorting of the backups to be returned on each page.
type ApiListDatabasesRequestRequest ¶
type ApiListDatabasesRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListDatabasesRequestRequest) Execute ¶
func (r ApiListDatabasesRequestRequest) Execute() (*ListDatabasesResponse, error)
func (ApiListDatabasesRequestRequest) Page ¶
func (r ApiListDatabasesRequestRequest) Page(page int32) ApiListDatabasesRequestRequest
Number of the page of items list to be returned.
func (ApiListDatabasesRequestRequest) Size ¶
func (r ApiListDatabasesRequestRequest) Size(size int32) ApiListDatabasesRequestRequest
Number of items to be returned on each page.
func (ApiListDatabasesRequestRequest) Sort ¶
func (r ApiListDatabasesRequestRequest) Sort(sort DatabaseSort) ApiListDatabasesRequestRequest
Sorting of the databases to be returned on each page.
type ApiListInstancesRequestRequest ¶
type ApiListInstancesRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequestRequest) Execute ¶
func (r ApiListInstancesRequestRequest) Execute() (*ListInstancesResponse, error)
func (ApiListInstancesRequestRequest) Page ¶
func (r ApiListInstancesRequestRequest) Page(page int32) ApiListInstancesRequestRequest
Number of the page of items list to be returned.
func (ApiListInstancesRequestRequest) Size ¶
func (r ApiListInstancesRequestRequest) Size(size int32) ApiListInstancesRequestRequest
Number of items to be returned on each page.
func (ApiListInstancesRequestRequest) Sort ¶
func (r ApiListInstancesRequestRequest) Sort(sort InstanceSort) ApiListInstancesRequestRequest
Sorting of the items to be returned on each page.
type ApiListRolesRequestRequest ¶
type ApiListRolesRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRolesRequestRequest) Execute ¶
func (r ApiListRolesRequestRequest) Execute() (*ListRolesResponse, error)
type ApiListUsersRequestRequest ¶
type ApiListUsersRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUsersRequestRequest) Execute ¶
func (r ApiListUsersRequestRequest) Execute() (*ListUserResponse, error)
func (ApiListUsersRequestRequest) Page ¶
func (r ApiListUsersRequestRequest) Page(page int32) ApiListUsersRequestRequest
Number of the page of items list to be returned.
func (ApiListUsersRequestRequest) Size ¶
func (r ApiListUsersRequestRequest) Size(size int32) ApiListUsersRequestRequest
Number of items to be returned on each page.
func (ApiListUsersRequestRequest) Sort ¶
func (r ApiListUsersRequestRequest) Sort(sort UserSort) ApiListUsersRequestRequest
Sorting of the users to be returned on each page.
type ApiProtectInstanceRequestRequest ¶
type ApiProtectInstanceRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiProtectInstanceRequestRequest) Execute ¶
func (r ApiProtectInstanceRequestRequest) Execute() (*ProtectInstanceResponse, error)
func (ApiProtectInstanceRequestRequest) ProtectInstanceRequestPayload ¶
func (r ApiProtectInstanceRequestRequest) ProtectInstanceRequestPayload(protectInstanceRequestPayload ProtectInstanceRequestPayload) ApiProtectInstanceRequestRequest
The request body with flag isDeletable. Parameter is required.
type ApiResetUserRequestRequest ¶
type ApiResetUserRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiResetUserRequestRequest) Execute ¶
func (r ApiResetUserRequestRequest) Execute() (*ResetUserResponse, error)
type ApiUpdateDatabasePartiallyRequestRequest ¶
type ApiUpdateDatabasePartiallyRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateDatabasePartiallyRequestRequest) Execute ¶
func (r ApiUpdateDatabasePartiallyRequestRequest) Execute() error
func (ApiUpdateDatabasePartiallyRequestRequest) UpdateDatabasePartiallyRequestPayload ¶
func (r ApiUpdateDatabasePartiallyRequestRequest) UpdateDatabasePartiallyRequestPayload(updateDatabasePartiallyRequestPayload UpdateDatabasePartiallyRequestPayload) ApiUpdateDatabasePartiallyRequestRequest
The request body containing the information for the database update.
type ApiUpdateDatabaseRequestRequest ¶
type ApiUpdateDatabaseRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateDatabaseRequestRequest) Execute ¶
func (r ApiUpdateDatabaseRequestRequest) Execute() error
func (ApiUpdateDatabaseRequestRequest) UpdateDatabaseRequestPayload ¶
func (r ApiUpdateDatabaseRequestRequest) UpdateDatabaseRequestPayload(updateDatabaseRequestPayload UpdateDatabaseRequestPayload) ApiUpdateDatabaseRequestRequest
The request body containing the information for the database update.
type ApiUpdateInstancePartiallyRequestRequest ¶
type ApiUpdateInstancePartiallyRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstancePartiallyRequestRequest) Execute ¶
func (r ApiUpdateInstancePartiallyRequestRequest) Execute() error
func (ApiUpdateInstancePartiallyRequestRequest) UpdateInstancePartiallyRequestPayload ¶
func (r ApiUpdateInstancePartiallyRequestRequest) UpdateInstancePartiallyRequestPayload(updateInstancePartiallyRequestPayload UpdateInstancePartiallyRequestPayload) ApiUpdateInstancePartiallyRequestRequest
The request body with the parameters for updating the instance.
type ApiUpdateInstanceRequestRequest ¶
type ApiUpdateInstanceRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequestRequest) Execute ¶
func (r ApiUpdateInstanceRequestRequest) Execute() error
func (ApiUpdateInstanceRequestRequest) UpdateInstanceRequestPayload ¶
func (r ApiUpdateInstanceRequestRequest) UpdateInstanceRequestPayload(updateInstanceRequestPayload UpdateInstanceRequestPayload) ApiUpdateInstanceRequestRequest
The request body with the parameters for updating the instance
type ApiUpdateUserPartiallyRequestRequest ¶
type ApiUpdateUserPartiallyRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateUserPartiallyRequestRequest) Execute ¶
func (r ApiUpdateUserPartiallyRequestRequest) Execute() error
func (ApiUpdateUserPartiallyRequestRequest) UpdateUserPartiallyRequestPayload ¶
func (r ApiUpdateUserPartiallyRequestRequest) UpdateUserPartiallyRequestPayload(updateUserPartiallyRequestPayload UpdateUserPartiallyRequestPayload) ApiUpdateUserPartiallyRequestRequest
The Request body containing the new information for the user. If empty request body is send via patch, then login and createdb roles are removed from user.
type ApiUpdateUserRequestRequest ¶
type ApiUpdateUserRequestRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateUserRequestRequest) Execute ¶
func (r ApiUpdateUserRequestRequest) Execute() error
func (ApiUpdateUserRequestRequest) UpdateUserRequestPayload ¶
func (r ApiUpdateUserRequestRequest) UpdateUserRequestPayload(updateUserRequestPayload UpdateUserRequestPayload) ApiUpdateUserRequestRequest
The Request body containing the updated infos for the user.
type BackupSort ¶
type BackupSort string
BackupSort the model 'BackupSort'
const ( BACKUPSORT_COMPLETION_TIME_DESC BackupSort = "completion_time.desc" BACKUPSORT_COMPLETION_TIME_ASC BackupSort = "completion_time.asc" BACKUPSORT_END_TIME_DESC BackupSort = "end_time.desc" BACKUPSORT_END_TIME_ASC BackupSort = "end_time.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" )
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 CloneInstanceOverrides ¶
type CloneInstanceOverrides struct {
// The storage class for the storage.
PerformanceClass string `json:"performanceClass"`
// The storage size in Gigabytes.
Size int32 `json:"size"`
}
CloneInstanceOverrides struct for CloneInstanceOverrides
func NewCloneInstanceOverrides ¶
func NewCloneInstanceOverrides(performanceClass string, size int32) *CloneInstanceOverrides
NewCloneInstanceOverrides instantiates a new CloneInstanceOverrides object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloneInstanceOverridesWithDefaults ¶
func NewCloneInstanceOverridesWithDefaults() *CloneInstanceOverrides
NewCloneInstanceOverridesWithDefaults instantiates a new CloneInstanceOverrides object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloneInstanceOverrides) GetPerformanceClass ¶
func (o *CloneInstanceOverrides) GetPerformanceClass() string
GetPerformanceClass returns the PerformanceClass field value
func (*CloneInstanceOverrides) GetPerformanceClassOk ¶
func (o *CloneInstanceOverrides) GetPerformanceClassOk() (*string, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value and a boolean to check if the value has been set.
func (*CloneInstanceOverrides) GetSize ¶
func (o *CloneInstanceOverrides) GetSize() int32
GetSize returns the Size field value
func (*CloneInstanceOverrides) GetSizeOk ¶
func (o *CloneInstanceOverrides) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (CloneInstanceOverrides) MarshalJSON ¶
func (o CloneInstanceOverrides) MarshalJSON() ([]byte, error)
func (*CloneInstanceOverrides) SetPerformanceClass ¶
func (o *CloneInstanceOverrides) SetPerformanceClass(v string)
SetPerformanceClass sets field value
func (*CloneInstanceOverrides) SetSize ¶
func (o *CloneInstanceOverrides) SetSize(v int32)
SetSize sets field value
func (CloneInstanceOverrides) ToMap ¶
func (o CloneInstanceOverrides) ToMap() (map[string]interface{}, error)
func (*CloneInstanceOverrides) UnmarshalJSON ¶
func (o *CloneInstanceOverrides) UnmarshalJSON(data []byte) (err error)
type CloneRequestPayload ¶
type CloneRequestPayload struct {
InstanceOverrides CloneInstanceOverrides `json:"instanceOverrides"`
// the time for the point in time recovery it will be calculated between first backup and last backup
PointInTime time.Time `json:"pointInTime"`
}
CloneRequestPayload struct for CloneRequestPayload
func NewCloneRequestPayload ¶
func NewCloneRequestPayload(instanceOverrides CloneInstanceOverrides, pointInTime time.Time) *CloneRequestPayload
NewCloneRequestPayload instantiates a new CloneRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloneRequestPayloadWithDefaults ¶
func NewCloneRequestPayloadWithDefaults() *CloneRequestPayload
NewCloneRequestPayloadWithDefaults instantiates a new CloneRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloneRequestPayload) GetInstanceOverrides ¶
func (o *CloneRequestPayload) GetInstanceOverrides() CloneInstanceOverrides
GetInstanceOverrides returns the InstanceOverrides field value
func (*CloneRequestPayload) GetInstanceOverridesOk ¶
func (o *CloneRequestPayload) GetInstanceOverridesOk() (*CloneInstanceOverrides, bool)
GetInstanceOverridesOk returns a tuple with the InstanceOverrides field value and a boolean to check if the value has been set.
func (*CloneRequestPayload) GetPointInTime ¶
func (o *CloneRequestPayload) GetPointInTime() time.Time
GetPointInTime returns the PointInTime field value
func (*CloneRequestPayload) GetPointInTimeOk ¶
func (o *CloneRequestPayload) GetPointInTimeOk() (*time.Time, bool)
GetPointInTimeOk returns a tuple with the PointInTime field value and a boolean to check if the value has been set.
func (CloneRequestPayload) MarshalJSON ¶
func (o CloneRequestPayload) MarshalJSON() ([]byte, error)
func (*CloneRequestPayload) SetInstanceOverrides ¶
func (o *CloneRequestPayload) SetInstanceOverrides(v CloneInstanceOverrides)
SetInstanceOverrides sets field value
func (*CloneRequestPayload) SetPointInTime ¶
func (o *CloneRequestPayload) SetPointInTime(v time.Time)
SetPointInTime sets field value
func (CloneRequestPayload) ToMap ¶
func (o CloneRequestPayload) ToMap() (map[string]interface{}, error)
func (*CloneRequestPayload) UnmarshalJSON ¶
func (o *CloneRequestPayload) UnmarshalJSON(data []byte) (err error)
type CloneResponse ¶
type CloneResponse struct {
// The ID of the instance.
Id string `json:"id"`
}
CloneResponse struct for CloneResponse
func NewCloneResponse ¶
func NewCloneResponse(id string) *CloneResponse
NewCloneResponse instantiates a new CloneResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloneResponseWithDefaults ¶
func NewCloneResponseWithDefaults() *CloneResponse
NewCloneResponseWithDefaults instantiates a new CloneResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloneResponse) GetId ¶
func (o *CloneResponse) GetId() string
GetId returns the Id field value
func (*CloneResponse) GetIdOk ¶
func (o *CloneResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CloneResponse) MarshalJSON ¶
func (o CloneResponse) MarshalJSON() ([]byte, error)
func (CloneResponse) ToMap ¶
func (o CloneResponse) ToMap() (map[string]interface{}, error)
func (*CloneResponse) UnmarshalJSON ¶
func (o *CloneResponse) UnmarshalJSON(data []byte) (err error)
type CreateDatabaseRequestPayload ¶
type CreateDatabaseRequestPayload struct {
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner *string `json:"owner,omitempty"`
}
CreateDatabaseRequestPayload struct for CreateDatabaseRequestPayload
func NewCreateDatabaseRequestPayload ¶
func NewCreateDatabaseRequestPayload(name string) *CreateDatabaseRequestPayload
NewCreateDatabaseRequestPayload instantiates a new CreateDatabaseRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDatabaseRequestPayloadWithDefaults ¶
func NewCreateDatabaseRequestPayloadWithDefaults() *CreateDatabaseRequestPayload
NewCreateDatabaseRequestPayloadWithDefaults instantiates a new CreateDatabaseRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDatabaseRequestPayload) GetName ¶
func (o *CreateDatabaseRequestPayload) GetName() string
GetName returns the Name field value
func (*CreateDatabaseRequestPayload) GetNameOk ¶
func (o *CreateDatabaseRequestPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateDatabaseRequestPayload) GetOwner ¶
func (o *CreateDatabaseRequestPayload) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*CreateDatabaseRequestPayload) GetOwnerOk ¶
func (o *CreateDatabaseRequestPayload) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatabaseRequestPayload) HasOwner ¶
func (o *CreateDatabaseRequestPayload) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (CreateDatabaseRequestPayload) MarshalJSON ¶
func (o CreateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
func (*CreateDatabaseRequestPayload) SetName ¶
func (o *CreateDatabaseRequestPayload) SetName(v string)
SetName sets field value
func (*CreateDatabaseRequestPayload) SetOwner ¶
func (o *CreateDatabaseRequestPayload) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (CreateDatabaseRequestPayload) ToMap ¶
func (o CreateDatabaseRequestPayload) ToMap() (map[string]interface{}, error)
func (*CreateDatabaseRequestPayload) UnmarshalJSON ¶
func (o *CreateDatabaseRequestPayload) UnmarshalJSON(data []byte) (err error)
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct {
// The id of the database.
Id int32 `json:"id"`
}
CreateDatabaseResponse struct for CreateDatabaseResponse
func NewCreateDatabaseResponse ¶
func NewCreateDatabaseResponse(id int32) *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() int32
GetId returns the Id field value
func (*CreateDatabaseResponse) GetIdOk ¶
func (o *CreateDatabaseResponse) GetIdOk() (*int32, 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 int32)
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 CreateInstanceRequestPayload ¶
type CreateInstanceRequestPayload struct {
// The schedule for when the database backup will be created. Currently, ONLY daily schedules are supported (every 24 hours). 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"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetworkCreate `json:"network"`
Replicas Replicas `json:"replicas"`
// How long backups are retained. The value can only be between 32 and 365 days.
RetentionDays int32 `json:"retentionDays"`
Storage StorageCreate `json:"storage"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3alpha1#tag/Version) for supported version parameters.
Version string `json:"version"`
}
CreateInstanceRequestPayload struct for CreateInstanceRequestPayload
func NewCreateInstanceRequestPayload ¶
func NewCreateInstanceRequestPayload(backupSchedule string, flavorId string, name string, network InstanceNetworkCreate, replicas Replicas, retentionDays int32, storage StorageCreate, version string) *CreateInstanceRequestPayload
NewCreateInstanceRequestPayload instantiates a new CreateInstanceRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceRequestPayloadWithDefaults ¶
func NewCreateInstanceRequestPayloadWithDefaults() *CreateInstanceRequestPayload
NewCreateInstanceRequestPayloadWithDefaults instantiates a new CreateInstanceRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceRequestPayload) GetBackupSchedule ¶
func (o *CreateInstanceRequestPayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*CreateInstanceRequestPayload) GetBackupScheduleOk ¶
func (o *CreateInstanceRequestPayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetEncryption ¶
func (o *CreateInstanceRequestPayload) GetEncryption() InstanceEncryption
GetEncryption returns the Encryption field value if set, zero value otherwise.
func (*CreateInstanceRequestPayload) GetEncryptionOk ¶
func (o *CreateInstanceRequestPayload) 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 (*CreateInstanceRequestPayload) GetFlavorId ¶
func (o *CreateInstanceRequestPayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*CreateInstanceRequestPayload) GetFlavorIdOk ¶
func (o *CreateInstanceRequestPayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetName ¶
func (o *CreateInstanceRequestPayload) GetName() string
GetName returns the Name field value
func (*CreateInstanceRequestPayload) GetNameOk ¶
func (o *CreateInstanceRequestPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetNetwork ¶
func (o *CreateInstanceRequestPayload) GetNetwork() InstanceNetworkCreate
GetNetwork returns the Network field value
func (*CreateInstanceRequestPayload) GetNetworkOk ¶
func (o *CreateInstanceRequestPayload) GetNetworkOk() (*InstanceNetworkCreate, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetReplicas ¶
func (o *CreateInstanceRequestPayload) GetReplicas() Replicas
GetReplicas returns the Replicas field value
func (*CreateInstanceRequestPayload) GetReplicasOk ¶
func (o *CreateInstanceRequestPayload) GetReplicasOk() (*Replicas, bool)
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetRetentionDays ¶
func (o *CreateInstanceRequestPayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value
func (*CreateInstanceRequestPayload) GetRetentionDaysOk ¶
func (o *CreateInstanceRequestPayload) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetStorage ¶
func (o *CreateInstanceRequestPayload) GetStorage() StorageCreate
GetStorage returns the Storage field value
func (*CreateInstanceRequestPayload) GetStorageOk ¶
func (o *CreateInstanceRequestPayload) GetStorageOk() (*StorageCreate, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) GetVersion ¶
func (o *CreateInstanceRequestPayload) GetVersion() string
GetVersion returns the Version field value
func (*CreateInstanceRequestPayload) GetVersionOk ¶
func (o *CreateInstanceRequestPayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*CreateInstanceRequestPayload) HasEncryption ¶
func (o *CreateInstanceRequestPayload) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (CreateInstanceRequestPayload) MarshalJSON ¶
func (o CreateInstanceRequestPayload) MarshalJSON() ([]byte, error)
func (*CreateInstanceRequestPayload) SetBackupSchedule ¶
func (o *CreateInstanceRequestPayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*CreateInstanceRequestPayload) SetEncryption ¶
func (o *CreateInstanceRequestPayload) SetEncryption(v InstanceEncryption)
SetEncryption gets a reference to the given InstanceEncryption and assigns it to the Encryption field.
func (*CreateInstanceRequestPayload) SetFlavorId ¶
func (o *CreateInstanceRequestPayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*CreateInstanceRequestPayload) SetName ¶
func (o *CreateInstanceRequestPayload) SetName(v string)
SetName sets field value
func (*CreateInstanceRequestPayload) SetNetwork ¶
func (o *CreateInstanceRequestPayload) SetNetwork(v InstanceNetworkCreate)
SetNetwork sets field value
func (*CreateInstanceRequestPayload) SetReplicas ¶
func (o *CreateInstanceRequestPayload) SetReplicas(v Replicas)
SetReplicas sets field value
func (*CreateInstanceRequestPayload) SetRetentionDays ¶
func (o *CreateInstanceRequestPayload) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*CreateInstanceRequestPayload) SetStorage ¶
func (o *CreateInstanceRequestPayload) SetStorage(v StorageCreate)
SetStorage sets field value
func (*CreateInstanceRequestPayload) SetVersion ¶
func (o *CreateInstanceRequestPayload) SetVersion(v string)
SetVersion sets field value
func (CreateInstanceRequestPayload) ToMap ¶
func (o CreateInstanceRequestPayload) ToMap() (map[string]interface{}, error)
func (*CreateInstanceRequestPayload) UnmarshalJSON ¶
func (o *CreateInstanceRequestPayload) UnmarshalJSON(data []byte) (err error)
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
// The ID of the instance.
Id string `json:"id"`
}
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 CreateUserRequestPayload ¶
type CreateUserRequestPayload struct {
// The name of the user.
Name string `json:"name"`
// A list containing the user roles for the instance.
Roles []UserRole `json:"roles,omitempty"`
}
CreateUserRequestPayload struct for CreateUserRequestPayload
func NewCreateUserRequestPayload ¶
func NewCreateUserRequestPayload(name string) *CreateUserRequestPayload
NewCreateUserRequestPayload instantiates a new CreateUserRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserRequestPayloadWithDefaults ¶
func NewCreateUserRequestPayloadWithDefaults() *CreateUserRequestPayload
NewCreateUserRequestPayloadWithDefaults instantiates a new CreateUserRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserRequestPayload) GetName ¶
func (o *CreateUserRequestPayload) GetName() string
GetName returns the Name field value
func (*CreateUserRequestPayload) GetNameOk ¶
func (o *CreateUserRequestPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateUserRequestPayload) GetRoles ¶
func (o *CreateUserRequestPayload) GetRoles() []UserRole
GetRoles returns the Roles field value if set, zero value otherwise.
func (*CreateUserRequestPayload) GetRolesOk ¶
func (o *CreateUserRequestPayload) GetRolesOk() ([]UserRole, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserRequestPayload) HasRoles ¶
func (o *CreateUserRequestPayload) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (CreateUserRequestPayload) MarshalJSON ¶
func (o CreateUserRequestPayload) MarshalJSON() ([]byte, error)
func (*CreateUserRequestPayload) SetName ¶
func (o *CreateUserRequestPayload) SetName(v string)
SetName sets field value
func (*CreateUserRequestPayload) SetRoles ¶
func (o *CreateUserRequestPayload) SetRoles(v []UserRole)
SetRoles gets a reference to the given []UserRole and assigns it to the Roles field.
func (CreateUserRequestPayload) ToMap ¶
func (o CreateUserRequestPayload) ToMap() (map[string]interface{}, error)
func (*CreateUserRequestPayload) UnmarshalJSON ¶
func (o *CreateUserRequestPayload) UnmarshalJSON(data []byte) (err error)
type CreateUserResponse ¶
type CreateUserResponse struct {
// The ID of the user.
Id int32 `json:"id"`
// The name of the user.
Name string `json:"name"`
// The password for the user.
Password string `json:"password"`
// The current status of the user.
Status string `json:"status"`
}
CreateUserResponse struct for CreateUserResponse
func NewCreateUserResponse ¶
func NewCreateUserResponse(id int32, name string, password string, status 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) GetId ¶
func (o *CreateUserResponse) GetId() int32
GetId returns the Id field value
func (*CreateUserResponse) GetIdOk ¶
func (o *CreateUserResponse) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateUserResponse) GetName ¶
func (o *CreateUserResponse) GetName() string
GetName returns the Name field value
func (*CreateUserResponse) GetNameOk ¶
func (o *CreateUserResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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) 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) MarshalJSON ¶
func (o CreateUserResponse) MarshalJSON() ([]byte, error)
func (*CreateUserResponse) SetId ¶
func (o *CreateUserResponse) SetId(v int32)
SetId sets field value
func (*CreateUserResponse) SetName ¶
func (o *CreateUserResponse) SetName(v string)
SetName sets field value
func (*CreateUserResponse) SetPassword ¶
func (o *CreateUserResponse) SetPassword(v string)
SetPassword sets field value
func (*CreateUserResponse) SetStatus ¶
func (o *CreateUserResponse) SetStatus(v string)
SetStatus 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 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"`
}
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" )
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 {
/*
CloneRequest Clone Instance
Clone 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 ApiCloneRequestRequest
*/
CloneRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCloneRequestRequest
// CloneRequestExecute executes the request
// @return CloneResponse
CloneRequestExecute(r ApiCloneRequestRequest) (*CloneResponse, error)
/*
CreateDatabaseRequest 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 ApiCreateDatabaseRequestRequest
*/
CreateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequestRequest
// CreateDatabaseRequestExecute executes the request
// @return CreateDatabaseResponse
CreateDatabaseRequestExecute(r ApiCreateDatabaseRequestRequest) (*CreateDatabaseResponse, error)
/*
CreateInstanceRequest Create Instance
Create a new instance of a postgres 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 ApiCreateInstanceRequestRequest
*/
CreateInstanceRequest(ctx context.Context, projectId string, region string) ApiCreateInstanceRequestRequest
// CreateInstanceRequestExecute executes the request
// @return CreateInstanceResponse
CreateInstanceRequestExecute(r ApiCreateInstanceRequestRequest) (*CreateInstanceResponse, error)
/*
CreateUserRequest 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 ApiCreateUserRequestRequest
*/
CreateUserRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequestRequest
// CreateUserRequestExecute executes the request
// @return CreateUserResponse
CreateUserRequestExecute(r ApiCreateUserRequestRequest) (*CreateUserResponse, error)
/*
DeleteDatabaseRequest 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 databaseId The ID of the database.
@return ApiDeleteDatabaseRequestRequest
*/
DeleteDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiDeleteDatabaseRequestRequest
// DeleteDatabaseRequestExecute executes the request
DeleteDatabaseRequestExecute(r ApiDeleteDatabaseRequestRequest) error
/*
DeleteInstanceRequest Delete Instance
Delete an available postgres 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 ApiDeleteInstanceRequestRequest
*/
DeleteInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequestRequest
// DeleteInstanceRequestExecute executes the request
DeleteInstanceRequestExecute(r ApiDeleteInstanceRequestRequest) error
/*
DeleteUserRequest 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 ApiDeleteUserRequestRequest
*/
DeleteUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiDeleteUserRequestRequest
// DeleteUserRequestExecute executes the request
DeleteUserRequestExecute(r ApiDeleteUserRequestRequest) error
/*
GetBackupRequest 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 ApiGetBackupRequestRequest
*/
GetBackupRequest(ctx context.Context, projectId string, region string, instanceId string, backupId int32) ApiGetBackupRequestRequest
// GetBackupRequestExecute executes the request
// @return GetBackupResponse
GetBackupRequestExecute(r ApiGetBackupRequestRequest) (*GetBackupResponse, error)
/*
GetCollationsRequest Get Collations for an Instance
Get available 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 ApiGetCollationsRequestRequest
*/
GetCollationsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequestRequest
// GetCollationsRequestExecute executes the request
// @return GetCollationsResponse
GetCollationsRequestExecute(r ApiGetCollationsRequestRequest) (*GetCollationsResponse, error)
/*
GetDatabaseRequest Get Specific Database
Get information about a specific database in 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 databaseId The ID of the database.
@return ApiGetDatabaseRequestRequest
*/
GetDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiGetDatabaseRequestRequest
// GetDatabaseRequestExecute executes the request
// @return GetDatabaseResponse
GetDatabaseRequestExecute(r ApiGetDatabaseRequestRequest) (*GetDatabaseResponse, error)
/*
GetFlavorsRequest 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 ApiGetFlavorsRequestRequest
*/
GetFlavorsRequest(ctx context.Context, projectId string, region string) ApiGetFlavorsRequestRequest
// GetFlavorsRequestExecute executes the request
// @return GetFlavorsResponse
GetFlavorsRequestExecute(r ApiGetFlavorsRequestRequest) (*GetFlavorsResponse, error)
/*
GetInstanceRequest 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 ApiGetInstanceRequestRequest
*/
GetInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequestRequest
// GetInstanceRequestExecute executes the request
// @return GetInstanceResponse
GetInstanceRequestExecute(r ApiGetInstanceRequestRequest) (*GetInstanceResponse, error)
/*
GetUserRequest 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 ApiGetUserRequestRequest
*/
GetUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiGetUserRequestRequest
// GetUserRequestExecute executes the request
// @return GetUserResponse
GetUserRequestExecute(r ApiGetUserRequestRequest) (*GetUserResponse, error)
/*
GetVersionsRequest Get Versions
Get available postgres 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 ApiGetVersionsRequestRequest
*/
GetVersionsRequest(ctx context.Context, projectId string, region string) ApiGetVersionsRequestRequest
// GetVersionsRequestExecute executes the request
// @return GetVersionsResponse
GetVersionsRequestExecute(r ApiGetVersionsRequestRequest) (*GetVersionsResponse, error)
/*
ListBackupsRequest 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 ApiListBackupsRequestRequest
*/
ListBackupsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequestRequest
// ListBackupsRequestExecute executes the request
// @return ListBackupResponse
ListBackupsRequestExecute(r ApiListBackupsRequestRequest) (*ListBackupResponse, error)
/*
ListDatabasesRequest 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 ApiListDatabasesRequestRequest
*/
ListDatabasesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequestRequest
// ListDatabasesRequestExecute executes the request
// @return ListDatabasesResponse
ListDatabasesRequestExecute(r ApiListDatabasesRequestRequest) (*ListDatabasesResponse, error)
/*
ListInstancesRequest 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 ApiListInstancesRequestRequest
*/
ListInstancesRequest(ctx context.Context, projectId string, region string) ApiListInstancesRequestRequest
// ListInstancesRequestExecute executes the request
// @return ListInstancesResponse
ListInstancesRequestExecute(r ApiListInstancesRequestRequest) (*ListInstancesResponse, error)
/*
ListRolesRequest List Roles
List available roles 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 ApiListRolesRequestRequest
*/
ListRolesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequestRequest
// ListRolesRequestExecute executes the request
// @return ListRolesResponse
ListRolesRequestExecute(r ApiListRolesRequestRequest) (*ListRolesResponse, error)
/*
ListUsersRequest 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 ApiListUsersRequestRequest
*/
ListUsersRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequestRequest
// ListUsersRequestExecute executes the request
// @return ListUserResponse
ListUsersRequestExecute(r ApiListUsersRequestRequest) (*ListUserResponse, error)
/*
ProtectInstanceRequest 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 ApiProtectInstanceRequestRequest
*/
ProtectInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequestRequest
// ProtectInstanceRequestExecute executes the request
// @return ProtectInstanceResponse
ProtectInstanceRequestExecute(r ApiProtectInstanceRequestRequest) (*ProtectInstanceResponse, error)
/*
ResetUserRequest 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 ApiResetUserRequestRequest
*/
ResetUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiResetUserRequestRequest
// ResetUserRequestExecute executes the request
// @return ResetUserResponse
ResetUserRequestExecute(r ApiResetUserRequestRequest) (*ResetUserResponse, error)
/*
UpdateDatabasePartiallyRequest Update Database partially
Update a database partially in 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 databaseId The ID of the database.
@return ApiUpdateDatabasePartiallyRequestRequest
*/
UpdateDatabasePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiUpdateDatabasePartiallyRequestRequest
// UpdateDatabasePartiallyRequestExecute executes the request
UpdateDatabasePartiallyRequestExecute(r ApiUpdateDatabasePartiallyRequestRequest) error
/*
UpdateDatabaseRequest Update Database
Update a database in 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 databaseId The ID of the database.
@return ApiUpdateDatabaseRequestRequest
*/
UpdateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiUpdateDatabaseRequestRequest
// UpdateDatabaseRequestExecute executes the request
UpdateDatabaseRequestExecute(r ApiUpdateDatabaseRequestRequest) error
/*
UpdateInstancePartiallyRequest Update Instance Partially
Update an available instance of a postgres database. No fields are required.
@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 ApiUpdateInstancePartiallyRequestRequest
*/
UpdateInstancePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequestRequest
// UpdateInstancePartiallyRequestExecute executes the request
UpdateInstancePartiallyRequestExecute(r ApiUpdateInstancePartiallyRequestRequest) error
/*
UpdateInstanceRequest Update Instance
Updates an available instance of a postgres 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 ApiUpdateInstanceRequestRequest
*/
UpdateInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequestRequest
// UpdateInstanceRequestExecute executes the request
UpdateInstanceRequestExecute(r ApiUpdateInstanceRequestRequest) error
/*
UpdateUserPartiallyRequest Update User Partially
Update an user partially 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 ApiUpdateUserPartiallyRequestRequest
*/
UpdateUserPartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiUpdateUserPartiallyRequestRequest
// UpdateUserPartiallyRequestExecute executes the request
UpdateUserPartiallyRequestExecute(r ApiUpdateUserPartiallyRequestRequest) error
/*
UpdateUserRequest Update User
Update 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 ApiUpdateUserRequestRequest
*/
UpdateUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiUpdateUserRequestRequest
// UpdateUserRequestExecute executes the request
UpdateUserRequestExecute(r ApiUpdateUserRequestRequest) error
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CloneRequest ¶
func (a *DefaultAPIService) CloneRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCloneRequestRequest
CloneRequest Clone Instance
Clone 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 ApiCloneRequestRequest
func (*DefaultAPIService) CloneRequestExecute ¶
func (a *DefaultAPIService) CloneRequestExecute(r ApiCloneRequestRequest) (*CloneResponse, error)
Execute executes the request
@return CloneResponse
func (*DefaultAPIService) CreateDatabaseRequest ¶
func (a *DefaultAPIService) CreateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequestRequest
CreateDatabaseRequest 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 ApiCreateDatabaseRequestRequest
func (*DefaultAPIService) CreateDatabaseRequestExecute ¶
func (a *DefaultAPIService) CreateDatabaseRequestExecute(r ApiCreateDatabaseRequestRequest) (*CreateDatabaseResponse, error)
Execute executes the request
@return CreateDatabaseResponse
func (*DefaultAPIService) CreateInstanceRequest ¶
func (a *DefaultAPIService) CreateInstanceRequest(ctx context.Context, projectId string, region string) ApiCreateInstanceRequestRequest
CreateInstanceRequest Create Instance
Create a new instance of a postgres 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 ApiCreateInstanceRequestRequest
func (*DefaultAPIService) CreateInstanceRequestExecute ¶
func (a *DefaultAPIService) CreateInstanceRequestExecute(r ApiCreateInstanceRequestRequest) (*CreateInstanceResponse, error)
Execute executes the request
@return CreateInstanceResponse
func (*DefaultAPIService) CreateUserRequest ¶
func (a *DefaultAPIService) CreateUserRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequestRequest
CreateUserRequest 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 ApiCreateUserRequestRequest
func (*DefaultAPIService) CreateUserRequestExecute ¶
func (a *DefaultAPIService) CreateUserRequestExecute(r ApiCreateUserRequestRequest) (*CreateUserResponse, error)
Execute executes the request
@return CreateUserResponse
func (*DefaultAPIService) DeleteDatabaseRequest ¶
func (a *DefaultAPIService) DeleteDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiDeleteDatabaseRequestRequest
DeleteDatabaseRequest 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 databaseId The ID of the database. @return ApiDeleteDatabaseRequestRequest
func (*DefaultAPIService) DeleteDatabaseRequestExecute ¶
func (a *DefaultAPIService) DeleteDatabaseRequestExecute(r ApiDeleteDatabaseRequestRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteInstanceRequest ¶
func (a *DefaultAPIService) DeleteInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequestRequest
DeleteInstanceRequest Delete Instance
Delete an available postgres 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 ApiDeleteInstanceRequestRequest
func (*DefaultAPIService) DeleteInstanceRequestExecute ¶
func (a *DefaultAPIService) DeleteInstanceRequestExecute(r ApiDeleteInstanceRequestRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteUserRequest ¶
func (a *DefaultAPIService) DeleteUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiDeleteUserRequestRequest
DeleteUserRequest 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 ApiDeleteUserRequestRequest
func (*DefaultAPIService) DeleteUserRequestExecute ¶
func (a *DefaultAPIService) DeleteUserRequestExecute(r ApiDeleteUserRequestRequest) error
Execute executes the request
func (*DefaultAPIService) GetBackupRequest ¶
func (a *DefaultAPIService) GetBackupRequest(ctx context.Context, projectId string, region string, instanceId string, backupId int32) ApiGetBackupRequestRequest
GetBackupRequest 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 ApiGetBackupRequestRequest
func (*DefaultAPIService) GetBackupRequestExecute ¶
func (a *DefaultAPIService) GetBackupRequestExecute(r ApiGetBackupRequestRequest) (*GetBackupResponse, error)
Execute executes the request
@return GetBackupResponse
func (*DefaultAPIService) GetCollationsRequest ¶
func (a *DefaultAPIService) GetCollationsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequestRequest
GetCollationsRequest Get Collations for an Instance
Get available 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 ApiGetCollationsRequestRequest
func (*DefaultAPIService) GetCollationsRequestExecute ¶
func (a *DefaultAPIService) GetCollationsRequestExecute(r ApiGetCollationsRequestRequest) (*GetCollationsResponse, error)
Execute executes the request
@return GetCollationsResponse
func (*DefaultAPIService) GetDatabaseRequest ¶
func (a *DefaultAPIService) GetDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiGetDatabaseRequestRequest
GetDatabaseRequest Get Specific Database
Get information about a specific database in 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 databaseId The ID of the database. @return ApiGetDatabaseRequestRequest
func (*DefaultAPIService) GetDatabaseRequestExecute ¶
func (a *DefaultAPIService) GetDatabaseRequestExecute(r ApiGetDatabaseRequestRequest) (*GetDatabaseResponse, error)
Execute executes the request
@return GetDatabaseResponse
func (*DefaultAPIService) GetFlavorsRequest ¶
func (a *DefaultAPIService) GetFlavorsRequest(ctx context.Context, projectId string, region string) ApiGetFlavorsRequestRequest
GetFlavorsRequest 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 ApiGetFlavorsRequestRequest
func (*DefaultAPIService) GetFlavorsRequestExecute ¶
func (a *DefaultAPIService) GetFlavorsRequestExecute(r ApiGetFlavorsRequestRequest) (*GetFlavorsResponse, error)
Execute executes the request
@return GetFlavorsResponse
func (*DefaultAPIService) GetInstanceRequest ¶
func (a *DefaultAPIService) GetInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequestRequest
GetInstanceRequest 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 ApiGetInstanceRequestRequest
func (*DefaultAPIService) GetInstanceRequestExecute ¶
func (a *DefaultAPIService) GetInstanceRequestExecute(r ApiGetInstanceRequestRequest) (*GetInstanceResponse, error)
Execute executes the request
@return GetInstanceResponse
func (*DefaultAPIService) GetUserRequest ¶
func (a *DefaultAPIService) GetUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiGetUserRequestRequest
GetUserRequest 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 ApiGetUserRequestRequest
func (*DefaultAPIService) GetUserRequestExecute ¶
func (a *DefaultAPIService) GetUserRequestExecute(r ApiGetUserRequestRequest) (*GetUserResponse, error)
Execute executes the request
@return GetUserResponse
func (*DefaultAPIService) GetVersionsRequest ¶
func (a *DefaultAPIService) GetVersionsRequest(ctx context.Context, projectId string, region string) ApiGetVersionsRequestRequest
GetVersionsRequest Get Versions
Get available postgres 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 ApiGetVersionsRequestRequest
func (*DefaultAPIService) GetVersionsRequestExecute ¶
func (a *DefaultAPIService) GetVersionsRequestExecute(r ApiGetVersionsRequestRequest) (*GetVersionsResponse, error)
Execute executes the request
@return GetVersionsResponse
func (*DefaultAPIService) ListBackupsRequest ¶
func (a *DefaultAPIService) ListBackupsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequestRequest
ListBackupsRequest 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 ApiListBackupsRequestRequest
func (*DefaultAPIService) ListBackupsRequestExecute ¶
func (a *DefaultAPIService) ListBackupsRequestExecute(r ApiListBackupsRequestRequest) (*ListBackupResponse, error)
Execute executes the request
@return ListBackupResponse
func (*DefaultAPIService) ListDatabasesRequest ¶
func (a *DefaultAPIService) ListDatabasesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequestRequest
ListDatabasesRequest 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 ApiListDatabasesRequestRequest
func (*DefaultAPIService) ListDatabasesRequestExecute ¶
func (a *DefaultAPIService) ListDatabasesRequestExecute(r ApiListDatabasesRequestRequest) (*ListDatabasesResponse, error)
Execute executes the request
@return ListDatabasesResponse
func (*DefaultAPIService) ListInstancesRequest ¶
func (a *DefaultAPIService) ListInstancesRequest(ctx context.Context, projectId string, region string) ApiListInstancesRequestRequest
ListInstancesRequest 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 ApiListInstancesRequestRequest
func (*DefaultAPIService) ListInstancesRequestExecute ¶
func (a *DefaultAPIService) ListInstancesRequestExecute(r ApiListInstancesRequestRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) ListRolesRequest ¶
func (a *DefaultAPIService) ListRolesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequestRequest
ListRolesRequest List Roles
List available roles 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 ApiListRolesRequestRequest
func (*DefaultAPIService) ListRolesRequestExecute ¶
func (a *DefaultAPIService) ListRolesRequestExecute(r ApiListRolesRequestRequest) (*ListRolesResponse, error)
Execute executes the request
@return ListRolesResponse
func (*DefaultAPIService) ListUsersRequest ¶
func (a *DefaultAPIService) ListUsersRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequestRequest
ListUsersRequest 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 ApiListUsersRequestRequest
func (*DefaultAPIService) ListUsersRequestExecute ¶
func (a *DefaultAPIService) ListUsersRequestExecute(r ApiListUsersRequestRequest) (*ListUserResponse, error)
Execute executes the request
@return ListUserResponse
func (*DefaultAPIService) ProtectInstanceRequest ¶
func (a *DefaultAPIService) ProtectInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequestRequest
ProtectInstanceRequest 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 ApiProtectInstanceRequestRequest
func (*DefaultAPIService) ProtectInstanceRequestExecute ¶
func (a *DefaultAPIService) ProtectInstanceRequestExecute(r ApiProtectInstanceRequestRequest) (*ProtectInstanceResponse, error)
Execute executes the request
@return ProtectInstanceResponse
func (*DefaultAPIService) ResetUserRequest ¶
func (a *DefaultAPIService) ResetUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiResetUserRequestRequest
ResetUserRequest 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 ApiResetUserRequestRequest
func (*DefaultAPIService) ResetUserRequestExecute ¶
func (a *DefaultAPIService) ResetUserRequestExecute(r ApiResetUserRequestRequest) (*ResetUserResponse, error)
Execute executes the request
@return ResetUserResponse
func (*DefaultAPIService) UpdateDatabasePartiallyRequest ¶
func (a *DefaultAPIService) UpdateDatabasePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiUpdateDatabasePartiallyRequestRequest
UpdateDatabasePartiallyRequest Update Database partially
Update a database partially in 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 databaseId The ID of the database. @return ApiUpdateDatabasePartiallyRequestRequest
func (*DefaultAPIService) UpdateDatabasePartiallyRequestExecute ¶
func (a *DefaultAPIService) UpdateDatabasePartiallyRequestExecute(r ApiUpdateDatabasePartiallyRequestRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateDatabaseRequest ¶
func (a *DefaultAPIService) UpdateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiUpdateDatabaseRequestRequest
UpdateDatabaseRequest Update Database
Update a database in 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 databaseId The ID of the database. @return ApiUpdateDatabaseRequestRequest
func (*DefaultAPIService) UpdateDatabaseRequestExecute ¶
func (a *DefaultAPIService) UpdateDatabaseRequestExecute(r ApiUpdateDatabaseRequestRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstancePartiallyRequest ¶
func (a *DefaultAPIService) UpdateInstancePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequestRequest
UpdateInstancePartiallyRequest Update Instance Partially
Update an available instance of a postgres database. No fields are required.
@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 ApiUpdateInstancePartiallyRequestRequest
func (*DefaultAPIService) UpdateInstancePartiallyRequestExecute ¶
func (a *DefaultAPIService) UpdateInstancePartiallyRequestExecute(r ApiUpdateInstancePartiallyRequestRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstanceRequest ¶
func (a *DefaultAPIService) UpdateInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequestRequest
UpdateInstanceRequest Update Instance
Updates an available instance of a postgres 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 ApiUpdateInstanceRequestRequest
func (*DefaultAPIService) UpdateInstanceRequestExecute ¶
func (a *DefaultAPIService) UpdateInstanceRequestExecute(r ApiUpdateInstanceRequestRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateUserPartiallyRequest ¶
func (a *DefaultAPIService) UpdateUserPartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiUpdateUserPartiallyRequestRequest
UpdateUserPartiallyRequest Update User Partially
Update an user partially 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 ApiUpdateUserPartiallyRequestRequest
func (*DefaultAPIService) UpdateUserPartiallyRequestExecute ¶
func (a *DefaultAPIService) UpdateUserPartiallyRequestExecute(r ApiUpdateUserPartiallyRequestRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateUserRequest ¶
func (a *DefaultAPIService) UpdateUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiUpdateUserRequestRequest
UpdateUserRequest Update User
Update 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 ApiUpdateUserRequestRequest
func (*DefaultAPIService) UpdateUserRequestExecute ¶
func (a *DefaultAPIService) UpdateUserRequestExecute(r ApiUpdateUserRequestRequest) error
Execute executes the request
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CloneRequestExecuteMock can be populated to implement the behavior of the CloneRequestExecute function of this mock
CloneRequestExecuteMock *func(r ApiCloneRequestRequest) (*CloneResponse, error)
// CreateDatabaseRequestExecuteMock can be populated to implement the behavior of the CreateDatabaseRequestExecute function of this mock
CreateDatabaseRequestExecuteMock *func(r ApiCreateDatabaseRequestRequest) (*CreateDatabaseResponse, error)
// CreateInstanceRequestExecuteMock can be populated to implement the behavior of the CreateInstanceRequestExecute function of this mock
CreateInstanceRequestExecuteMock *func(r ApiCreateInstanceRequestRequest) (*CreateInstanceResponse, error)
// CreateUserRequestExecuteMock can be populated to implement the behavior of the CreateUserRequestExecute function of this mock
CreateUserRequestExecuteMock *func(r ApiCreateUserRequestRequest) (*CreateUserResponse, error)
// DeleteDatabaseRequestExecuteMock can be populated to implement the behavior of the DeleteDatabaseRequestExecute function of this mock
DeleteDatabaseRequestExecuteMock *func(r ApiDeleteDatabaseRequestRequest) error
// DeleteInstanceRequestExecuteMock can be populated to implement the behavior of the DeleteInstanceRequestExecute function of this mock
DeleteInstanceRequestExecuteMock *func(r ApiDeleteInstanceRequestRequest) error
// DeleteUserRequestExecuteMock can be populated to implement the behavior of the DeleteUserRequestExecute function of this mock
DeleteUserRequestExecuteMock *func(r ApiDeleteUserRequestRequest) error
// GetBackupRequestExecuteMock can be populated to implement the behavior of the GetBackupRequestExecute function of this mock
GetBackupRequestExecuteMock *func(r ApiGetBackupRequestRequest) (*GetBackupResponse, error)
// GetCollationsRequestExecuteMock can be populated to implement the behavior of the GetCollationsRequestExecute function of this mock
GetCollationsRequestExecuteMock *func(r ApiGetCollationsRequestRequest) (*GetCollationsResponse, error)
// GetDatabaseRequestExecuteMock can be populated to implement the behavior of the GetDatabaseRequestExecute function of this mock
GetDatabaseRequestExecuteMock *func(r ApiGetDatabaseRequestRequest) (*GetDatabaseResponse, error)
// GetFlavorsRequestExecuteMock can be populated to implement the behavior of the GetFlavorsRequestExecute function of this mock
GetFlavorsRequestExecuteMock *func(r ApiGetFlavorsRequestRequest) (*GetFlavorsResponse, error)
// GetInstanceRequestExecuteMock can be populated to implement the behavior of the GetInstanceRequestExecute function of this mock
GetInstanceRequestExecuteMock *func(r ApiGetInstanceRequestRequest) (*GetInstanceResponse, error)
// GetUserRequestExecuteMock can be populated to implement the behavior of the GetUserRequestExecute function of this mock
GetUserRequestExecuteMock *func(r ApiGetUserRequestRequest) (*GetUserResponse, error)
// GetVersionsRequestExecuteMock can be populated to implement the behavior of the GetVersionsRequestExecute function of this mock
GetVersionsRequestExecuteMock *func(r ApiGetVersionsRequestRequest) (*GetVersionsResponse, error)
// ListBackupsRequestExecuteMock can be populated to implement the behavior of the ListBackupsRequestExecute function of this mock
ListBackupsRequestExecuteMock *func(r ApiListBackupsRequestRequest) (*ListBackupResponse, error)
// ListDatabasesRequestExecuteMock can be populated to implement the behavior of the ListDatabasesRequestExecute function of this mock
ListDatabasesRequestExecuteMock *func(r ApiListDatabasesRequestRequest) (*ListDatabasesResponse, error)
// ListInstancesRequestExecuteMock can be populated to implement the behavior of the ListInstancesRequestExecute function of this mock
ListInstancesRequestExecuteMock *func(r ApiListInstancesRequestRequest) (*ListInstancesResponse, error)
// ListRolesRequestExecuteMock can be populated to implement the behavior of the ListRolesRequestExecute function of this mock
ListRolesRequestExecuteMock *func(r ApiListRolesRequestRequest) (*ListRolesResponse, error)
// ListUsersRequestExecuteMock can be populated to implement the behavior of the ListUsersRequestExecute function of this mock
ListUsersRequestExecuteMock *func(r ApiListUsersRequestRequest) (*ListUserResponse, error)
// ProtectInstanceRequestExecuteMock can be populated to implement the behavior of the ProtectInstanceRequestExecute function of this mock
ProtectInstanceRequestExecuteMock *func(r ApiProtectInstanceRequestRequest) (*ProtectInstanceResponse, error)
// ResetUserRequestExecuteMock can be populated to implement the behavior of the ResetUserRequestExecute function of this mock
ResetUserRequestExecuteMock *func(r ApiResetUserRequestRequest) (*ResetUserResponse, error)
// UpdateDatabasePartiallyRequestExecuteMock can be populated to implement the behavior of the UpdateDatabasePartiallyRequestExecute function of this mock
UpdateDatabasePartiallyRequestExecuteMock *func(r ApiUpdateDatabasePartiallyRequestRequest) error
// UpdateDatabaseRequestExecuteMock can be populated to implement the behavior of the UpdateDatabaseRequestExecute function of this mock
UpdateDatabaseRequestExecuteMock *func(r ApiUpdateDatabaseRequestRequest) error
// UpdateInstancePartiallyRequestExecuteMock can be populated to implement the behavior of the UpdateInstancePartiallyRequestExecute function of this mock
UpdateInstancePartiallyRequestExecuteMock *func(r ApiUpdateInstancePartiallyRequestRequest) error
// UpdateInstanceRequestExecuteMock can be populated to implement the behavior of the UpdateInstanceRequestExecute function of this mock
UpdateInstanceRequestExecuteMock *func(r ApiUpdateInstanceRequestRequest) error
// UpdateUserPartiallyRequestExecuteMock can be populated to implement the behavior of the UpdateUserPartiallyRequestExecute function of this mock
UpdateUserPartiallyRequestExecuteMock *func(r ApiUpdateUserPartiallyRequestRequest) error
// UpdateUserRequestExecuteMock can be populated to implement the behavior of the UpdateUserRequestExecute function of this mock
UpdateUserRequestExecuteMock *func(r ApiUpdateUserRequestRequest) 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) CloneRequest ¶
func (a DefaultAPIServiceMock) CloneRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCloneRequestRequest
func (DefaultAPIServiceMock) CloneRequestExecute ¶
func (a DefaultAPIServiceMock) CloneRequestExecute(r ApiCloneRequestRequest) (*CloneResponse, error)
CloneRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CloneRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateDatabaseRequest ¶
func (a DefaultAPIServiceMock) CreateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequestRequest
func (DefaultAPIServiceMock) CreateDatabaseRequestExecute ¶
func (a DefaultAPIServiceMock) CreateDatabaseRequestExecute(r ApiCreateDatabaseRequestRequest) (*CreateDatabaseResponse, error)
CreateDatabaseRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateDatabaseRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateInstanceRequest ¶
func (a DefaultAPIServiceMock) CreateInstanceRequest(ctx context.Context, projectId string, region string) ApiCreateInstanceRequestRequest
func (DefaultAPIServiceMock) CreateInstanceRequestExecute ¶
func (a DefaultAPIServiceMock) CreateInstanceRequestExecute(r ApiCreateInstanceRequestRequest) (*CreateInstanceResponse, error)
CreateInstanceRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateUserRequest ¶
func (a DefaultAPIServiceMock) CreateUserRequest(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequestRequest
func (DefaultAPIServiceMock) CreateUserRequestExecute ¶
func (a DefaultAPIServiceMock) CreateUserRequestExecute(r ApiCreateUserRequestRequest) (*CreateUserResponse, error)
CreateUserRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateUserRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteDatabaseRequest ¶
func (a DefaultAPIServiceMock) DeleteDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiDeleteDatabaseRequestRequest
func (DefaultAPIServiceMock) DeleteDatabaseRequestExecute ¶
func (a DefaultAPIServiceMock) DeleteDatabaseRequestExecute(r ApiDeleteDatabaseRequestRequest) error
DeleteDatabaseRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteDatabaseRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteInstanceRequest ¶
func (a DefaultAPIServiceMock) DeleteInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequestRequest
func (DefaultAPIServiceMock) DeleteInstanceRequestExecute ¶
func (a DefaultAPIServiceMock) DeleteInstanceRequestExecute(r ApiDeleteInstanceRequestRequest) error
DeleteInstanceRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteUserRequest ¶
func (a DefaultAPIServiceMock) DeleteUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiDeleteUserRequestRequest
func (DefaultAPIServiceMock) DeleteUserRequestExecute ¶
func (a DefaultAPIServiceMock) DeleteUserRequestExecute(r ApiDeleteUserRequestRequest) error
DeleteUserRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteUserRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetBackupRequest ¶
func (a DefaultAPIServiceMock) GetBackupRequest(ctx context.Context, projectId string, region string, instanceId string, backupId int32) ApiGetBackupRequestRequest
func (DefaultAPIServiceMock) GetBackupRequestExecute ¶
func (a DefaultAPIServiceMock) GetBackupRequestExecute(r ApiGetBackupRequestRequest) (*GetBackupResponse, error)
GetBackupRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetCollationsRequest ¶
func (a DefaultAPIServiceMock) GetCollationsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetCollationsRequestRequest
func (DefaultAPIServiceMock) GetCollationsRequestExecute ¶
func (a DefaultAPIServiceMock) GetCollationsRequestExecute(r ApiGetCollationsRequestRequest) (*GetCollationsResponse, error)
GetCollationsRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCollationsRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetDatabaseRequest ¶
func (a DefaultAPIServiceMock) GetDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiGetDatabaseRequestRequest
func (DefaultAPIServiceMock) GetDatabaseRequestExecute ¶
func (a DefaultAPIServiceMock) GetDatabaseRequestExecute(r ApiGetDatabaseRequestRequest) (*GetDatabaseResponse, error)
GetDatabaseRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetDatabaseRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetFlavorsRequest ¶
func (a DefaultAPIServiceMock) GetFlavorsRequest(ctx context.Context, projectId string, region string) ApiGetFlavorsRequestRequest
func (DefaultAPIServiceMock) GetFlavorsRequestExecute ¶
func (a DefaultAPIServiceMock) GetFlavorsRequestExecute(r ApiGetFlavorsRequestRequest) (*GetFlavorsResponse, error)
GetFlavorsRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetFlavorsRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstanceRequest ¶
func (a DefaultAPIServiceMock) GetInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequestRequest
func (DefaultAPIServiceMock) GetInstanceRequestExecute ¶
func (a DefaultAPIServiceMock) GetInstanceRequestExecute(r ApiGetInstanceRequestRequest) (*GetInstanceResponse, error)
GetInstanceRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetUserRequest ¶
func (a DefaultAPIServiceMock) GetUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiGetUserRequestRequest
func (DefaultAPIServiceMock) GetUserRequestExecute ¶
func (a DefaultAPIServiceMock) GetUserRequestExecute(r ApiGetUserRequestRequest) (*GetUserResponse, error)
GetUserRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetUserRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetVersionsRequest ¶
func (a DefaultAPIServiceMock) GetVersionsRequest(ctx context.Context, projectId string, region string) ApiGetVersionsRequestRequest
func (DefaultAPIServiceMock) GetVersionsRequestExecute ¶
func (a DefaultAPIServiceMock) GetVersionsRequestExecute(r ApiGetVersionsRequestRequest) (*GetVersionsResponse, error)
GetVersionsRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVersionsRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackupsRequest ¶
func (a DefaultAPIServiceMock) ListBackupsRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequestRequest
func (DefaultAPIServiceMock) ListBackupsRequestExecute ¶
func (a DefaultAPIServiceMock) ListBackupsRequestExecute(r ApiListBackupsRequestRequest) (*ListBackupResponse, error)
ListBackupsRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListDatabasesRequest ¶
func (a DefaultAPIServiceMock) ListDatabasesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequestRequest
func (DefaultAPIServiceMock) ListDatabasesRequestExecute ¶
func (a DefaultAPIServiceMock) ListDatabasesRequestExecute(r ApiListDatabasesRequestRequest) (*ListDatabasesResponse, error)
ListDatabasesRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListDatabasesRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListInstancesRequest ¶
func (a DefaultAPIServiceMock) ListInstancesRequest(ctx context.Context, projectId string, region string) ApiListInstancesRequestRequest
func (DefaultAPIServiceMock) ListInstancesRequestExecute ¶
func (a DefaultAPIServiceMock) ListInstancesRequestExecute(r ApiListInstancesRequestRequest) (*ListInstancesResponse, error)
ListInstancesRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstancesRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListRolesRequest ¶
func (a DefaultAPIServiceMock) ListRolesRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequestRequest
func (DefaultAPIServiceMock) ListRolesRequestExecute ¶
func (a DefaultAPIServiceMock) ListRolesRequestExecute(r ApiListRolesRequestRequest) (*ListRolesResponse, error)
ListRolesRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRolesRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListUsersRequest ¶
func (a DefaultAPIServiceMock) ListUsersRequest(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequestRequest
func (DefaultAPIServiceMock) ListUsersRequestExecute ¶
func (a DefaultAPIServiceMock) ListUsersRequestExecute(r ApiListUsersRequestRequest) (*ListUserResponse, error)
ListUsersRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListUsersRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ProtectInstanceRequest ¶
func (a DefaultAPIServiceMock) ProtectInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiProtectInstanceRequestRequest
func (DefaultAPIServiceMock) ProtectInstanceRequestExecute ¶
func (a DefaultAPIServiceMock) ProtectInstanceRequestExecute(r ApiProtectInstanceRequestRequest) (*ProtectInstanceResponse, error)
ProtectInstanceRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ProtectInstanceRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ResetUserRequest ¶
func (a DefaultAPIServiceMock) ResetUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiResetUserRequestRequest
func (DefaultAPIServiceMock) ResetUserRequestExecute ¶
func (a DefaultAPIServiceMock) ResetUserRequestExecute(r ApiResetUserRequestRequest) (*ResetUserResponse, error)
ResetUserRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResetUserRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateDatabasePartiallyRequest ¶
func (a DefaultAPIServiceMock) UpdateDatabasePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiUpdateDatabasePartiallyRequestRequest
func (DefaultAPIServiceMock) UpdateDatabasePartiallyRequestExecute ¶
func (a DefaultAPIServiceMock) UpdateDatabasePartiallyRequestExecute(r ApiUpdateDatabasePartiallyRequestRequest) error
UpdateDatabasePartiallyRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateDatabasePartiallyRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateDatabaseRequest ¶
func (a DefaultAPIServiceMock) UpdateDatabaseRequest(ctx context.Context, projectId string, region string, instanceId string, databaseId int32) ApiUpdateDatabaseRequestRequest
func (DefaultAPIServiceMock) UpdateDatabaseRequestExecute ¶
func (a DefaultAPIServiceMock) UpdateDatabaseRequestExecute(r ApiUpdateDatabaseRequestRequest) error
UpdateDatabaseRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateDatabaseRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstancePartiallyRequest ¶
func (a DefaultAPIServiceMock) UpdateInstancePartiallyRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstancePartiallyRequestRequest
func (DefaultAPIServiceMock) UpdateInstancePartiallyRequestExecute ¶
func (a DefaultAPIServiceMock) UpdateInstancePartiallyRequestExecute(r ApiUpdateInstancePartiallyRequestRequest) error
UpdateInstancePartiallyRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstancePartiallyRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstanceRequest ¶
func (a DefaultAPIServiceMock) UpdateInstanceRequest(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequestRequest
func (DefaultAPIServiceMock) UpdateInstanceRequestExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceRequestExecute(r ApiUpdateInstanceRequestRequest) error
UpdateInstanceRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateUserPartiallyRequest ¶
func (a DefaultAPIServiceMock) UpdateUserPartiallyRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiUpdateUserPartiallyRequestRequest
func (DefaultAPIServiceMock) UpdateUserPartiallyRequestExecute ¶
func (a DefaultAPIServiceMock) UpdateUserPartiallyRequestExecute(r ApiUpdateUserPartiallyRequestRequest) error
UpdateUserPartiallyRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateUserPartiallyRequestExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateUserRequest ¶
func (a DefaultAPIServiceMock) UpdateUserRequest(ctx context.Context, projectId string, region string, instanceId string, userId int32) ApiUpdateUserRequestRequest
func (DefaultAPIServiceMock) UpdateUserRequestExecute ¶
func (a DefaultAPIServiceMock) UpdateUserRequestExecute(r ApiUpdateUserRequestRequest) error
UpdateUserRequestExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateUserRequestExecuteMock 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"`
}
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 FlavorSort ¶
type FlavorSort string
FlavorSort the model 'FlavorSort'
const ( 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" )
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"`
}
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 GetBackupResponse ¶
type GetBackupResponse struct {
// The time when the backup was completed in RFC3339 format.
CompletionTime string `json:"completionTime"`
// The ID of the backup.
Id int32 `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 int32 `json:"size"`
// The type of the backup, which can be automated or manual triggered.
Type string `json:"type"`
}
GetBackupResponse struct for GetBackupResponse
func NewGetBackupResponse ¶
func NewGetBackupResponse(completionTime string, id int32, name string, retainedUntil string, size int32, 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() int32
GetId returns the Id field value
func (*GetBackupResponse) GetIdOk ¶
func (o *GetBackupResponse) GetIdOk() (*int32, 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() int32
GetSize returns the Size field value
func (*GetBackupResponse) GetSizeOk ¶
func (o *GetBackupResponse) GetSizeOk() (*int32, 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 int32)
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 []string `json:"collations"`
}
GetCollationsResponse struct for GetCollationsResponse
func NewGetCollationsResponse ¶
func NewGetCollationsResponse(collations []string) *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() []string
GetCollations returns the Collations field value
func (*GetCollationsResponse) GetCollationsOk ¶
func (o *GetCollationsResponse) GetCollationsOk() ([]string, 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 []string)
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 id of the database.
Id int32 `json:"id"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
}
GetDatabaseResponse struct for GetDatabaseResponse
func NewGetDatabaseResponse ¶
func NewGetDatabaseResponse(id int32, 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) GetId ¶
func (o *GetDatabaseResponse) GetId() int32
GetId returns the Id field value
func (*GetDatabaseResponse) GetIdOk ¶
func (o *GetDatabaseResponse) GetIdOk() (*int32, 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) SetId ¶
func (o *GetDatabaseResponse) SetId(v int32)
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"`
}
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 {
// List of IPV4 cidr.
Acl []string `json:"acl,omitempty"`
// The schedule for when the database backup will be created. Currently, ONLY daily schedules are supported (every 24 hours). The schedule is written as a cron schedule.
BackupSchedule string `json:"backupSchedule"`
ConnectionInfo InstanceConnectionInfo `json:"connectionInfo"`
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"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetwork `json:"network"`
Replicas Replicas `json:"replicas"`
// How long backups are retained. The value can only be between 32 and 365 days.
RetentionDays int32 `json:"retentionDays"`
Status Status `json:"status"`
Storage Storage `json:"storage"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3alpha1#tag/Version) for supported version parameters.
Version string `json:"version"`
}
GetInstanceResponse struct for GetInstanceResponse
func NewGetInstanceResponse ¶
func NewGetInstanceResponse(backupSchedule string, connectionInfo InstanceConnectionInfo, flavorId string, id string, isDeletable bool, name string, network InstanceNetwork, replicas Replicas, retentionDays int32, status Status, storage Storage, version string) *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) GetAcl ¶
func (o *GetInstanceResponse) GetAcl() []string
GetAcl returns the Acl field value if set, zero value otherwise.
func (*GetInstanceResponse) GetAclOk ¶
func (o *GetInstanceResponse) 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 (*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) GetConnectionInfo ¶
func (o *GetInstanceResponse) GetConnectionInfo() InstanceConnectionInfo
GetConnectionInfo returns the ConnectionInfo field value
func (*GetInstanceResponse) GetConnectionInfoOk ¶
func (o *GetInstanceResponse) GetConnectionInfoOk() (*InstanceConnectionInfo, bool)
GetConnectionInfoOk returns a tuple with the ConnectionInfo 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) 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) GetStatus ¶
func (o *GetInstanceResponse) GetStatus() Status
GetStatus returns the Status field value
func (*GetInstanceResponse) GetStatusOk ¶
func (o *GetInstanceResponse) GetStatusOk() (*Status, bool)
GetStatusOk returns a tuple with the Status 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() string
GetVersion returns the Version field value
func (*GetInstanceResponse) GetVersionOk ¶
func (o *GetInstanceResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) HasAcl ¶
func (o *GetInstanceResponse) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (*GetInstanceResponse) HasEncryption ¶
func (o *GetInstanceResponse) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (GetInstanceResponse) MarshalJSON ¶
func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceResponse) SetAcl ¶
func (o *GetInstanceResponse) SetAcl(v []string)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*GetInstanceResponse) SetBackupSchedule ¶
func (o *GetInstanceResponse) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*GetInstanceResponse) SetConnectionInfo ¶
func (o *GetInstanceResponse) SetConnectionInfo(v InstanceConnectionInfo)
SetConnectionInfo 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) 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) SetStatus ¶
func (o *GetInstanceResponse) SetStatus(v Status)
SetStatus sets field value
func (*GetInstanceResponse) SetStorage ¶
func (o *GetInstanceResponse) SetStorage(v Storage)
SetStorage sets field value
func (*GetInstanceResponse) SetVersion ¶
func (o *GetInstanceResponse) SetVersion(v string)
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 GetUserResponse ¶
type GetUserResponse struct {
// The ID of the user.
Id int32 `json:"id"`
// The name of the user.
Name string `json:"name"`
// A list of user roles.
Roles []UserRole `json:"roles"`
// The current status of the user.
Status string `json:"status"`
}
GetUserResponse struct for GetUserResponse
func NewGetUserResponse ¶
func NewGetUserResponse(id int32, name string, roles []UserRole, status 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) GetId ¶
func (o *GetUserResponse) GetId() int32
GetId returns the Id field value
func (*GetUserResponse) GetIdOk ¶
func (o *GetUserResponse) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetName ¶
func (o *GetUserResponse) GetName() string
GetName returns the Name field value
func (*GetUserResponse) GetNameOk ¶
func (o *GetUserResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetRoles ¶
func (o *GetUserResponse) GetRoles() []UserRole
GetRoles returns the Roles field value
func (*GetUserResponse) GetRolesOk ¶
func (o *GetUserResponse) GetRolesOk() ([]UserRole, 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) MarshalJSON ¶
func (o GetUserResponse) MarshalJSON() ([]byte, error)
func (*GetUserResponse) SetName ¶
func (o *GetUserResponse) SetName(v string)
SetName sets field value
func (*GetUserResponse) SetRoles ¶
func (o *GetUserResponse) SetRoles(v []UserRole)
SetRoles sets field value
func (*GetUserResponse) SetStatus ¶
func (o *GetUserResponse) SetStatus(v string)
SetStatus 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 postgres versions.
Versions []Version `json:"versions"`
}
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 InstanceConnectionInfo ¶
type InstanceConnectionInfo struct {
Write InstanceConnectionInfoWrite `json:"write"`
}
InstanceConnectionInfo The connection information of the instance
func NewInstanceConnectionInfo ¶
func NewInstanceConnectionInfo(write InstanceConnectionInfoWrite) *InstanceConnectionInfo
NewInstanceConnectionInfo instantiates a new InstanceConnectionInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceConnectionInfoWithDefaults ¶
func NewInstanceConnectionInfoWithDefaults() *InstanceConnectionInfo
NewInstanceConnectionInfoWithDefaults instantiates a new InstanceConnectionInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceConnectionInfo) GetWrite ¶
func (o *InstanceConnectionInfo) GetWrite() InstanceConnectionInfoWrite
GetWrite returns the Write field value
func (*InstanceConnectionInfo) GetWriteOk ¶
func (o *InstanceConnectionInfo) GetWriteOk() (*InstanceConnectionInfoWrite, bool)
GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.
func (InstanceConnectionInfo) MarshalJSON ¶
func (o InstanceConnectionInfo) MarshalJSON() ([]byte, error)
func (*InstanceConnectionInfo) SetWrite ¶
func (o *InstanceConnectionInfo) SetWrite(v InstanceConnectionInfoWrite)
SetWrite sets field value
func (InstanceConnectionInfo) ToMap ¶
func (o InstanceConnectionInfo) ToMap() (map[string]interface{}, error)
func (*InstanceConnectionInfo) UnmarshalJSON ¶
func (o *InstanceConnectionInfo) UnmarshalJSON(data []byte) (err error)
type InstanceConnectionInfoWrite ¶
type InstanceConnectionInfoWrite struct {
// The host of the instance.
Host string `json:"host"`
// The port of the instance.
Port int32 `json:"port"`
}
InstanceConnectionInfoWrite The DNS name and port in the instance overview
func NewInstanceConnectionInfoWrite ¶
func NewInstanceConnectionInfoWrite(host string, port int32) *InstanceConnectionInfoWrite
NewInstanceConnectionInfoWrite instantiates a new InstanceConnectionInfoWrite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceConnectionInfoWriteWithDefaults ¶
func NewInstanceConnectionInfoWriteWithDefaults() *InstanceConnectionInfoWrite
NewInstanceConnectionInfoWriteWithDefaults instantiates a new InstanceConnectionInfoWrite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceConnectionInfoWrite) GetHost ¶
func (o *InstanceConnectionInfoWrite) GetHost() string
GetHost returns the Host field value
func (*InstanceConnectionInfoWrite) GetHostOk ¶
func (o *InstanceConnectionInfoWrite) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.
func (*InstanceConnectionInfoWrite) GetPort ¶
func (o *InstanceConnectionInfoWrite) GetPort() int32
GetPort returns the Port field value
func (*InstanceConnectionInfoWrite) GetPortOk ¶
func (o *InstanceConnectionInfoWrite) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (InstanceConnectionInfoWrite) MarshalJSON ¶
func (o InstanceConnectionInfoWrite) MarshalJSON() ([]byte, error)
func (*InstanceConnectionInfoWrite) SetHost ¶
func (o *InstanceConnectionInfoWrite) SetHost(v string)
SetHost sets field value
func (*InstanceConnectionInfoWrite) SetPort ¶
func (o *InstanceConnectionInfoWrite) SetPort(v int32)
SetPort sets field value
func (InstanceConnectionInfoWrite) ToMap ¶
func (o InstanceConnectionInfoWrite) ToMap() (map[string]interface{}, error)
func (*InstanceConnectionInfoWrite) UnmarshalJSON ¶
func (o *InstanceConnectionInfoWrite) UnmarshalJSON(data []byte) (err error)
type InstanceEncryption ¶
type InstanceEncryption struct {
// The encryption-key key identifier
KekKeyId string `json:"kekKeyId"`
// The encryption-key keyring identifier
KekKeyRingId string `json:"kekKeyRingId"`
// The encryption-key version
KekKeyVersion string `json:"kekKeyVersion"`
ServiceAccount string `json:"serviceAccount"`
}
InstanceEncryption The configuration for instance's volume and backup storage encryption. ⚠ **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.
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"`
InstanceAddress *string `json:"instanceAddress,omitempty"`
RouterAddress *string `json:"routerAddress,omitempty"`
}
InstanceNetwork The access configuration of the instance
func NewInstanceNetwork ¶
func NewInstanceNetwork(acl []string) *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
func (*InstanceNetwork) GetAclOk ¶
func (o *InstanceNetwork) GetAclOk() ([]string, bool)
GetAclOk returns a tuple with the Acl field value 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) 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 sets field value
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 access scope of the instance. It defines if the instance is public or airgapped.
const ( INSTANCENETWORKACCESSSCOPE_PUBLIC InstanceNetworkAccessScope = "PUBLIC" INSTANCENETWORKACCESSSCOPE_SNA InstanceNetworkAccessScope = "SNA" )
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 InstanceNetworkCreate ¶
type InstanceNetworkCreate struct {
AccessScope *InstanceNetworkAccessScope `json:"accessScope,omitempty"`
// List of IPV4 cidr.
Acl []string `json:"acl"`
}
InstanceNetworkCreate The access configuration of the instance
func NewInstanceNetworkCreate ¶
func NewInstanceNetworkCreate(acl []string) *InstanceNetworkCreate
NewInstanceNetworkCreate instantiates a new InstanceNetworkCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceNetworkCreateWithDefaults ¶
func NewInstanceNetworkCreateWithDefaults() *InstanceNetworkCreate
NewInstanceNetworkCreateWithDefaults instantiates a new InstanceNetworkCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceNetworkCreate) GetAccessScope ¶
func (o *InstanceNetworkCreate) GetAccessScope() InstanceNetworkAccessScope
GetAccessScope returns the AccessScope field value if set, zero value otherwise.
func (*InstanceNetworkCreate) GetAccessScopeOk ¶
func (o *InstanceNetworkCreate) 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 (*InstanceNetworkCreate) GetAcl ¶
func (o *InstanceNetworkCreate) GetAcl() []string
GetAcl returns the Acl field value
func (*InstanceNetworkCreate) GetAclOk ¶
func (o *InstanceNetworkCreate) GetAclOk() ([]string, bool)
GetAclOk returns a tuple with the Acl field value and a boolean to check if the value has been set.
func (*InstanceNetworkCreate) HasAccessScope ¶
func (o *InstanceNetworkCreate) HasAccessScope() bool
HasAccessScope returns a boolean if a field has been set.
func (InstanceNetworkCreate) MarshalJSON ¶
func (o InstanceNetworkCreate) MarshalJSON() ([]byte, error)
func (*InstanceNetworkCreate) SetAccessScope ¶
func (o *InstanceNetworkCreate) SetAccessScope(v InstanceNetworkAccessScope)
SetAccessScope gets a reference to the given InstanceNetworkAccessScope and assigns it to the AccessScope field.
func (*InstanceNetworkCreate) SetAcl ¶
func (o *InstanceNetworkCreate) SetAcl(v []string)
SetAcl sets field value
func (InstanceNetworkCreate) ToMap ¶
func (o InstanceNetworkCreate) ToMap() (map[string]interface{}, error)
func (*InstanceNetworkCreate) UnmarshalJSON ¶
func (o *InstanceNetworkCreate) UnmarshalJSON(data []byte) (err error)
type InstanceNetworkOpt ¶
type InstanceNetworkOpt struct {
// List of IPV4 cidr.
Acl []string `json:"acl,omitempty"`
}
InstanceNetworkOpt The access configuration of the instance
func NewInstanceNetworkOpt ¶
func NewInstanceNetworkOpt() *InstanceNetworkOpt
NewInstanceNetworkOpt instantiates a new InstanceNetworkOpt object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceNetworkOptWithDefaults ¶
func NewInstanceNetworkOptWithDefaults() *InstanceNetworkOpt
NewInstanceNetworkOptWithDefaults instantiates a new InstanceNetworkOpt object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceNetworkOpt) GetAcl ¶
func (o *InstanceNetworkOpt) GetAcl() []string
GetAcl returns the Acl field value if set, zero value otherwise.
func (*InstanceNetworkOpt) GetAclOk ¶
func (o *InstanceNetworkOpt) 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 (*InstanceNetworkOpt) HasAcl ¶
func (o *InstanceNetworkOpt) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (InstanceNetworkOpt) MarshalJSON ¶
func (o InstanceNetworkOpt) MarshalJSON() ([]byte, error)
func (*InstanceNetworkOpt) SetAcl ¶
func (o *InstanceNetworkOpt) SetAcl(v []string)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (InstanceNetworkOpt) ToMap ¶
func (o InstanceNetworkOpt) ToMap() (map[string]interface{}, error)
type InstanceNetworkUpdate ¶
type InstanceNetworkUpdate struct {
// List of IPV4 cidr.
Acl []string `json:"acl"`
}
InstanceNetworkUpdate The access configuration of the instance
func NewInstanceNetworkUpdate ¶
func NewInstanceNetworkUpdate(acl []string) *InstanceNetworkUpdate
NewInstanceNetworkUpdate instantiates a new InstanceNetworkUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceNetworkUpdateWithDefaults ¶
func NewInstanceNetworkUpdateWithDefaults() *InstanceNetworkUpdate
NewInstanceNetworkUpdateWithDefaults instantiates a new InstanceNetworkUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceNetworkUpdate) GetAcl ¶
func (o *InstanceNetworkUpdate) GetAcl() []string
GetAcl returns the Acl field value
func (*InstanceNetworkUpdate) GetAclOk ¶
func (o *InstanceNetworkUpdate) GetAclOk() ([]string, bool)
GetAclOk returns a tuple with the Acl field value and a boolean to check if the value has been set.
func (InstanceNetworkUpdate) MarshalJSON ¶
func (o InstanceNetworkUpdate) MarshalJSON() ([]byte, error)
func (*InstanceNetworkUpdate) SetAcl ¶
func (o *InstanceNetworkUpdate) SetAcl(v []string)
SetAcl sets field value
func (InstanceNetworkUpdate) ToMap ¶
func (o InstanceNetworkUpdate) ToMap() (map[string]interface{}, error)
func (*InstanceNetworkUpdate) UnmarshalJSON ¶
func (o *InstanceNetworkUpdate) UnmarshalJSON(data []byte) (err error)
type InstanceSort ¶
type InstanceSort string
InstanceSort the model 'InstanceSort'
const ( 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_STATUS_ASC InstanceSort = "status.asc" INSTANCESORT_STATUS_DESC InstanceSort = "status.desc" )
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 InstanceStorageRange ¶
type InstanceStorageRange struct {
// The maximum available amount of storage.
Max int32 `json:"max"`
// The minimum available amount of storage.
Min int32 `json:"min"`
}
InstanceStorageRange Contains the minimum and maximum storage space.
func NewInstanceStorageRange ¶
func NewInstanceStorageRange(max int32, min int32) *InstanceStorageRange
NewInstanceStorageRange instantiates a new InstanceStorageRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceStorageRangeWithDefaults ¶
func NewInstanceStorageRangeWithDefaults() *InstanceStorageRange
NewInstanceStorageRangeWithDefaults instantiates a new InstanceStorageRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceStorageRange) GetMax ¶
func (o *InstanceStorageRange) GetMax() int32
GetMax returns the Max field value
func (*InstanceStorageRange) GetMaxOk ¶
func (o *InstanceStorageRange) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*InstanceStorageRange) GetMin ¶
func (o *InstanceStorageRange) GetMin() int32
GetMin returns the Min field value
func (*InstanceStorageRange) GetMinOk ¶
func (o *InstanceStorageRange) GetMinOk() (*int32, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (InstanceStorageRange) MarshalJSON ¶
func (o InstanceStorageRange) MarshalJSON() ([]byte, error)
func (*InstanceStorageRange) SetMax ¶
func (o *InstanceStorageRange) SetMax(v int32)
SetMax sets field value
func (*InstanceStorageRange) SetMin ¶
func (o *InstanceStorageRange) SetMin(v int32)
SetMin sets field value
func (InstanceStorageRange) ToMap ¶
func (o InstanceStorageRange) ToMap() (map[string]interface{}, error)
func (*InstanceStorageRange) UnmarshalJSON ¶
func (o *InstanceStorageRange) UnmarshalJSON(data []byte) (err 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 int32 `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 int32 `json:"size"`
// The type of the backup, which can be automated or manual triggered.
Type string `json:"type"`
}
ListBackup struct for ListBackup
func NewListBackup ¶
func NewListBackup(completionTime string, id int32, name string, retainedUntil string, size int32, 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() (*int32, 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() int32
GetSize returns the Size field value
func (*ListBackup) GetSizeOk ¶
func (o *ListBackup) GetSizeOk() (*int32, 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 []ListBackup `json:"backups"`
Pagination Pagination `json:"pagination"`
}
ListBackupResponse struct for ListBackupResponse
func NewListBackupResponse ¶
func NewListBackupResponse(backups []ListBackup, 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() []ListBackup
GetBackups returns the Backups field value
func (*ListBackupResponse) GetBackupsOk ¶
func (o *ListBackupResponse) GetBackupsOk() ([]ListBackup, 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 []ListBackup)
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 ListDatabase ¶
type ListDatabase struct {
// The id of the database.
Id int32 `json:"id"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
}
ListDatabase struct for ListDatabase
func NewListDatabase ¶
func NewListDatabase(id int32, 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) GetIdOk ¶
func (o *ListDatabase) GetIdOk() (*int32, 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) 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"`
}
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 int32 `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 int32 `json:"memory"`
// minimum storage which is required to order in Gigabyte.
MinGB int32 `json:"minGB"`
// defines the nodeType it can be either single or replica
NodeType string `json:"nodeType"`
// maximum storage which can be ordered for the flavor in Gigabyte.
StorageClasses []FlavorStorageClassesStorageClass `json:"storageClasses"`
}
ListFlavors The flavor of the instance containing the technical features.
func NewListFlavors ¶
func NewListFlavors(cpu int32, description string, id string, maxGB int32, memory int32, 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() int32
GetCpu returns the Cpu field value
func (*ListFlavors) GetCpuOk ¶
func (o *ListFlavors) GetCpuOk() (*int32, 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() int32
GetMemory returns the Memory field value
func (*ListFlavors) GetMemoryOk ¶
func (o *ListFlavors) GetMemoryOk() (*int32, 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"`
Status Status `json:"status"`
}
ListInstance struct for ListInstance
func NewListInstance ¶
func NewListInstance(id string, isDeletable bool, name string, status Status) *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) GetStatus ¶
func (o *ListInstance) GetStatus() Status
GetStatus returns the Status field value
func (*ListInstance) GetStatusOk ¶
func (o *ListInstance) GetStatusOk() (*Status, bool)
GetStatusOk returns a tuple with the Status 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) SetStatus ¶
func (o *ListInstance) SetStatus(v Status)
SetStatus 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"`
}
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 all role names available in the instance
Roles []string `json:"roles"`
}
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 int32 `json:"id"`
// The name of the user.
Name string `json:"name"`
// The current status of the user.
Status string `json:"status"`
}
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) GetNameOk ¶
GetNameOk returns a tuple with the Name 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) MarshalJSON ¶
func (*ListUser) UnmarshalJSON ¶
type ListUserResponse ¶
type ListUserResponse struct {
Pagination Pagination `json:"pagination"`
// List of all users inside an instance
Users []ListUser `json:"users"`
}
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 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 NullableCloneInstanceOverrides ¶
type NullableCloneInstanceOverrides struct {
// contains filtered or unexported fields
}
func NewNullableCloneInstanceOverrides ¶
func NewNullableCloneInstanceOverrides(val *CloneInstanceOverrides) *NullableCloneInstanceOverrides
func (NullableCloneInstanceOverrides) Get ¶
func (v NullableCloneInstanceOverrides) Get() *CloneInstanceOverrides
func (NullableCloneInstanceOverrides) IsSet ¶
func (v NullableCloneInstanceOverrides) IsSet() bool
func (NullableCloneInstanceOverrides) MarshalJSON ¶
func (v NullableCloneInstanceOverrides) MarshalJSON() ([]byte, error)
func (*NullableCloneInstanceOverrides) Set ¶
func (v *NullableCloneInstanceOverrides) Set(val *CloneInstanceOverrides)
func (*NullableCloneInstanceOverrides) UnmarshalJSON ¶
func (v *NullableCloneInstanceOverrides) UnmarshalJSON(src []byte) error
func (*NullableCloneInstanceOverrides) Unset ¶
func (v *NullableCloneInstanceOverrides) Unset()
type NullableCloneRequestPayload ¶
type NullableCloneRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableCloneRequestPayload ¶
func NewNullableCloneRequestPayload(val *CloneRequestPayload) *NullableCloneRequestPayload
func (NullableCloneRequestPayload) Get ¶
func (v NullableCloneRequestPayload) Get() *CloneRequestPayload
func (NullableCloneRequestPayload) IsSet ¶
func (v NullableCloneRequestPayload) IsSet() bool
func (NullableCloneRequestPayload) MarshalJSON ¶
func (v NullableCloneRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableCloneRequestPayload) Set ¶
func (v *NullableCloneRequestPayload) Set(val *CloneRequestPayload)
func (*NullableCloneRequestPayload) UnmarshalJSON ¶
func (v *NullableCloneRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableCloneRequestPayload) Unset ¶
func (v *NullableCloneRequestPayload) Unset()
type NullableCloneResponse ¶
type NullableCloneResponse struct {
// contains filtered or unexported fields
}
func NewNullableCloneResponse ¶
func NewNullableCloneResponse(val *CloneResponse) *NullableCloneResponse
func (NullableCloneResponse) Get ¶
func (v NullableCloneResponse) Get() *CloneResponse
func (NullableCloneResponse) IsSet ¶
func (v NullableCloneResponse) IsSet() bool
func (NullableCloneResponse) MarshalJSON ¶
func (v NullableCloneResponse) MarshalJSON() ([]byte, error)
func (*NullableCloneResponse) Set ¶
func (v *NullableCloneResponse) Set(val *CloneResponse)
func (*NullableCloneResponse) UnmarshalJSON ¶
func (v *NullableCloneResponse) UnmarshalJSON(src []byte) error
func (*NullableCloneResponse) Unset ¶
func (v *NullableCloneResponse) Unset()
type NullableCreateDatabaseRequestPayload ¶
type NullableCreateDatabaseRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabaseRequestPayload ¶
func NewNullableCreateDatabaseRequestPayload(val *CreateDatabaseRequestPayload) *NullableCreateDatabaseRequestPayload
func (NullableCreateDatabaseRequestPayload) Get ¶
func (v NullableCreateDatabaseRequestPayload) Get() *CreateDatabaseRequestPayload
func (NullableCreateDatabaseRequestPayload) IsSet ¶
func (v NullableCreateDatabaseRequestPayload) IsSet() bool
func (NullableCreateDatabaseRequestPayload) MarshalJSON ¶
func (v NullableCreateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabaseRequestPayload) Set ¶
func (v *NullableCreateDatabaseRequestPayload) Set(val *CreateDatabaseRequestPayload)
func (*NullableCreateDatabaseRequestPayload) UnmarshalJSON ¶
func (v *NullableCreateDatabaseRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabaseRequestPayload) Unset ¶
func (v *NullableCreateDatabaseRequestPayload) 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 NullableCreateInstanceRequestPayload ¶
type NullableCreateInstanceRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceRequestPayload ¶
func NewNullableCreateInstanceRequestPayload(val *CreateInstanceRequestPayload) *NullableCreateInstanceRequestPayload
func (NullableCreateInstanceRequestPayload) Get ¶
func (v NullableCreateInstanceRequestPayload) Get() *CreateInstanceRequestPayload
func (NullableCreateInstanceRequestPayload) IsSet ¶
func (v NullableCreateInstanceRequestPayload) IsSet() bool
func (NullableCreateInstanceRequestPayload) MarshalJSON ¶
func (v NullableCreateInstanceRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceRequestPayload) Set ¶
func (v *NullableCreateInstanceRequestPayload) Set(val *CreateInstanceRequestPayload)
func (*NullableCreateInstanceRequestPayload) UnmarshalJSON ¶
func (v *NullableCreateInstanceRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceRequestPayload) Unset ¶
func (v *NullableCreateInstanceRequestPayload) 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 NullableCreateUserRequestPayload ¶
type NullableCreateUserRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserRequestPayload ¶
func NewNullableCreateUserRequestPayload(val *CreateUserRequestPayload) *NullableCreateUserRequestPayload
func (NullableCreateUserRequestPayload) Get ¶
func (v NullableCreateUserRequestPayload) Get() *CreateUserRequestPayload
func (NullableCreateUserRequestPayload) IsSet ¶
func (v NullableCreateUserRequestPayload) IsSet() bool
func (NullableCreateUserRequestPayload) MarshalJSON ¶
func (v NullableCreateUserRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUserRequestPayload) Set ¶
func (v *NullableCreateUserRequestPayload) Set(val *CreateUserRequestPayload)
func (*NullableCreateUserRequestPayload) UnmarshalJSON ¶
func (v *NullableCreateUserRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateUserRequestPayload) Unset ¶
func (v *NullableCreateUserRequestPayload) 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 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 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 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 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 NullableInstanceConnectionInfo ¶
type NullableInstanceConnectionInfo struct {
// contains filtered or unexported fields
}
func NewNullableInstanceConnectionInfo ¶
func NewNullableInstanceConnectionInfo(val *InstanceConnectionInfo) *NullableInstanceConnectionInfo
func (NullableInstanceConnectionInfo) Get ¶
func (v NullableInstanceConnectionInfo) Get() *InstanceConnectionInfo
func (NullableInstanceConnectionInfo) IsSet ¶
func (v NullableInstanceConnectionInfo) IsSet() bool
func (NullableInstanceConnectionInfo) MarshalJSON ¶
func (v NullableInstanceConnectionInfo) MarshalJSON() ([]byte, error)
func (*NullableInstanceConnectionInfo) Set ¶
func (v *NullableInstanceConnectionInfo) Set(val *InstanceConnectionInfo)
func (*NullableInstanceConnectionInfo) UnmarshalJSON ¶
func (v *NullableInstanceConnectionInfo) UnmarshalJSON(src []byte) error
func (*NullableInstanceConnectionInfo) Unset ¶
func (v *NullableInstanceConnectionInfo) Unset()
type NullableInstanceConnectionInfoWrite ¶
type NullableInstanceConnectionInfoWrite struct {
// contains filtered or unexported fields
}
func NewNullableInstanceConnectionInfoWrite ¶
func NewNullableInstanceConnectionInfoWrite(val *InstanceConnectionInfoWrite) *NullableInstanceConnectionInfoWrite
func (NullableInstanceConnectionInfoWrite) Get ¶
func (v NullableInstanceConnectionInfoWrite) Get() *InstanceConnectionInfoWrite
func (NullableInstanceConnectionInfoWrite) IsSet ¶
func (v NullableInstanceConnectionInfoWrite) IsSet() bool
func (NullableInstanceConnectionInfoWrite) MarshalJSON ¶
func (v NullableInstanceConnectionInfoWrite) MarshalJSON() ([]byte, error)
func (*NullableInstanceConnectionInfoWrite) Set ¶
func (v *NullableInstanceConnectionInfoWrite) Set(val *InstanceConnectionInfoWrite)
func (*NullableInstanceConnectionInfoWrite) UnmarshalJSON ¶
func (v *NullableInstanceConnectionInfoWrite) UnmarshalJSON(src []byte) error
func (*NullableInstanceConnectionInfoWrite) Unset ¶
func (v *NullableInstanceConnectionInfoWrite) 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 NullableInstanceNetworkCreate ¶
type NullableInstanceNetworkCreate struct {
// contains filtered or unexported fields
}
func NewNullableInstanceNetworkCreate ¶
func NewNullableInstanceNetworkCreate(val *InstanceNetworkCreate) *NullableInstanceNetworkCreate
func (NullableInstanceNetworkCreate) Get ¶
func (v NullableInstanceNetworkCreate) Get() *InstanceNetworkCreate
func (NullableInstanceNetworkCreate) IsSet ¶
func (v NullableInstanceNetworkCreate) IsSet() bool
func (NullableInstanceNetworkCreate) MarshalJSON ¶
func (v NullableInstanceNetworkCreate) MarshalJSON() ([]byte, error)
func (*NullableInstanceNetworkCreate) Set ¶
func (v *NullableInstanceNetworkCreate) Set(val *InstanceNetworkCreate)
func (*NullableInstanceNetworkCreate) UnmarshalJSON ¶
func (v *NullableInstanceNetworkCreate) UnmarshalJSON(src []byte) error
func (*NullableInstanceNetworkCreate) Unset ¶
func (v *NullableInstanceNetworkCreate) Unset()
type NullableInstanceNetworkOpt ¶
type NullableInstanceNetworkOpt struct {
// contains filtered or unexported fields
}
func NewNullableInstanceNetworkOpt ¶
func NewNullableInstanceNetworkOpt(val *InstanceNetworkOpt) *NullableInstanceNetworkOpt
func (NullableInstanceNetworkOpt) Get ¶
func (v NullableInstanceNetworkOpt) Get() *InstanceNetworkOpt
func (NullableInstanceNetworkOpt) IsSet ¶
func (v NullableInstanceNetworkOpt) IsSet() bool
func (NullableInstanceNetworkOpt) MarshalJSON ¶
func (v NullableInstanceNetworkOpt) MarshalJSON() ([]byte, error)
func (*NullableInstanceNetworkOpt) Set ¶
func (v *NullableInstanceNetworkOpt) Set(val *InstanceNetworkOpt)
func (*NullableInstanceNetworkOpt) UnmarshalJSON ¶
func (v *NullableInstanceNetworkOpt) UnmarshalJSON(src []byte) error
func (*NullableInstanceNetworkOpt) Unset ¶
func (v *NullableInstanceNetworkOpt) Unset()
type NullableInstanceNetworkUpdate ¶
type NullableInstanceNetworkUpdate struct {
// contains filtered or unexported fields
}
func NewNullableInstanceNetworkUpdate ¶
func NewNullableInstanceNetworkUpdate(val *InstanceNetworkUpdate) *NullableInstanceNetworkUpdate
func (NullableInstanceNetworkUpdate) Get ¶
func (v NullableInstanceNetworkUpdate) Get() *InstanceNetworkUpdate
func (NullableInstanceNetworkUpdate) IsSet ¶
func (v NullableInstanceNetworkUpdate) IsSet() bool
func (NullableInstanceNetworkUpdate) MarshalJSON ¶
func (v NullableInstanceNetworkUpdate) MarshalJSON() ([]byte, error)
func (*NullableInstanceNetworkUpdate) Set ¶
func (v *NullableInstanceNetworkUpdate) Set(val *InstanceNetworkUpdate)
func (*NullableInstanceNetworkUpdate) UnmarshalJSON ¶
func (v *NullableInstanceNetworkUpdate) UnmarshalJSON(src []byte) error
func (*NullableInstanceNetworkUpdate) Unset ¶
func (v *NullableInstanceNetworkUpdate) 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 NullableInstanceStorageRange ¶
type NullableInstanceStorageRange struct {
// contains filtered or unexported fields
}
func NewNullableInstanceStorageRange ¶
func NewNullableInstanceStorageRange(val *InstanceStorageRange) *NullableInstanceStorageRange
func (NullableInstanceStorageRange) Get ¶
func (v NullableInstanceStorageRange) Get() *InstanceStorageRange
func (NullableInstanceStorageRange) IsSet ¶
func (v NullableInstanceStorageRange) IsSet() bool
func (NullableInstanceStorageRange) MarshalJSON ¶
func (v NullableInstanceStorageRange) MarshalJSON() ([]byte, error)
func (*NullableInstanceStorageRange) Set ¶
func (v *NullableInstanceStorageRange) Set(val *InstanceStorageRange)
func (*NullableInstanceStorageRange) UnmarshalJSON ¶
func (v *NullableInstanceStorageRange) UnmarshalJSON(src []byte) error
func (*NullableInstanceStorageRange) Unset ¶
func (v *NullableInstanceStorageRange) 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 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 NullableProtectInstanceRequestPayload ¶
type NullableProtectInstanceRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableProtectInstanceRequestPayload ¶
func NewNullableProtectInstanceRequestPayload(val *ProtectInstanceRequestPayload) *NullableProtectInstanceRequestPayload
func (NullableProtectInstanceRequestPayload) Get ¶
func (v NullableProtectInstanceRequestPayload) Get() *ProtectInstanceRequestPayload
func (NullableProtectInstanceRequestPayload) IsSet ¶
func (v NullableProtectInstanceRequestPayload) IsSet() bool
func (NullableProtectInstanceRequestPayload) MarshalJSON ¶
func (v NullableProtectInstanceRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableProtectInstanceRequestPayload) Set ¶
func (v *NullableProtectInstanceRequestPayload) Set(val *ProtectInstanceRequestPayload)
func (*NullableProtectInstanceRequestPayload) UnmarshalJSON ¶
func (v *NullableProtectInstanceRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableProtectInstanceRequestPayload) Unset ¶
func (v *NullableProtectInstanceRequestPayload) 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 NullableReplicasOpt ¶
type NullableReplicasOpt struct {
// contains filtered or unexported fields
}
func NewNullableReplicasOpt ¶
func NewNullableReplicasOpt(val *ReplicasOpt) *NullableReplicasOpt
func (NullableReplicasOpt) Get ¶
func (v NullableReplicasOpt) Get() *ReplicasOpt
func (NullableReplicasOpt) IsSet ¶
func (v NullableReplicasOpt) IsSet() bool
func (NullableReplicasOpt) MarshalJSON ¶
func (v NullableReplicasOpt) MarshalJSON() ([]byte, error)
func (*NullableReplicasOpt) Set ¶
func (v *NullableReplicasOpt) Set(val *ReplicasOpt)
func (*NullableReplicasOpt) UnmarshalJSON ¶
func (v *NullableReplicasOpt) UnmarshalJSON(src []byte) error
func (*NullableReplicasOpt) Unset ¶
func (v *NullableReplicasOpt) 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 NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) 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 NullableUpdateDatabasePartiallyRequestPayload ¶
type NullableUpdateDatabasePartiallyRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatabasePartiallyRequestPayload ¶
func NewNullableUpdateDatabasePartiallyRequestPayload(val *UpdateDatabasePartiallyRequestPayload) *NullableUpdateDatabasePartiallyRequestPayload
func (NullableUpdateDatabasePartiallyRequestPayload) IsSet ¶
func (v NullableUpdateDatabasePartiallyRequestPayload) IsSet() bool
func (NullableUpdateDatabasePartiallyRequestPayload) MarshalJSON ¶
func (v NullableUpdateDatabasePartiallyRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatabasePartiallyRequestPayload) Set ¶
func (v *NullableUpdateDatabasePartiallyRequestPayload) Set(val *UpdateDatabasePartiallyRequestPayload)
func (*NullableUpdateDatabasePartiallyRequestPayload) UnmarshalJSON ¶
func (v *NullableUpdateDatabasePartiallyRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatabasePartiallyRequestPayload) Unset ¶
func (v *NullableUpdateDatabasePartiallyRequestPayload) Unset()
type NullableUpdateDatabasePartiallyResponse ¶
type NullableUpdateDatabasePartiallyResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatabasePartiallyResponse ¶
func NewNullableUpdateDatabasePartiallyResponse(val *UpdateDatabasePartiallyResponse) *NullableUpdateDatabasePartiallyResponse
func (NullableUpdateDatabasePartiallyResponse) IsSet ¶
func (v NullableUpdateDatabasePartiallyResponse) IsSet() bool
func (NullableUpdateDatabasePartiallyResponse) MarshalJSON ¶
func (v NullableUpdateDatabasePartiallyResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatabasePartiallyResponse) Set ¶
func (v *NullableUpdateDatabasePartiallyResponse) Set(val *UpdateDatabasePartiallyResponse)
func (*NullableUpdateDatabasePartiallyResponse) UnmarshalJSON ¶
func (v *NullableUpdateDatabasePartiallyResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatabasePartiallyResponse) Unset ¶
func (v *NullableUpdateDatabasePartiallyResponse) Unset()
type NullableUpdateDatabaseRequestPayload ¶
type NullableUpdateDatabaseRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatabaseRequestPayload ¶
func NewNullableUpdateDatabaseRequestPayload(val *UpdateDatabaseRequestPayload) *NullableUpdateDatabaseRequestPayload
func (NullableUpdateDatabaseRequestPayload) Get ¶
func (v NullableUpdateDatabaseRequestPayload) Get() *UpdateDatabaseRequestPayload
func (NullableUpdateDatabaseRequestPayload) IsSet ¶
func (v NullableUpdateDatabaseRequestPayload) IsSet() bool
func (NullableUpdateDatabaseRequestPayload) MarshalJSON ¶
func (v NullableUpdateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatabaseRequestPayload) Set ¶
func (v *NullableUpdateDatabaseRequestPayload) Set(val *UpdateDatabaseRequestPayload)
func (*NullableUpdateDatabaseRequestPayload) UnmarshalJSON ¶
func (v *NullableUpdateDatabaseRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatabaseRequestPayload) Unset ¶
func (v *NullableUpdateDatabaseRequestPayload) Unset()
type NullableUpdateDatabaseResponse ¶
type NullableUpdateDatabaseResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatabaseResponse ¶
func NewNullableUpdateDatabaseResponse(val *UpdateDatabaseResponse) *NullableUpdateDatabaseResponse
func (NullableUpdateDatabaseResponse) Get ¶
func (v NullableUpdateDatabaseResponse) Get() *UpdateDatabaseResponse
func (NullableUpdateDatabaseResponse) IsSet ¶
func (v NullableUpdateDatabaseResponse) IsSet() bool
func (NullableUpdateDatabaseResponse) MarshalJSON ¶
func (v NullableUpdateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatabaseResponse) Set ¶
func (v *NullableUpdateDatabaseResponse) Set(val *UpdateDatabaseResponse)
func (*NullableUpdateDatabaseResponse) UnmarshalJSON ¶
func (v *NullableUpdateDatabaseResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatabaseResponse) Unset ¶
func (v *NullableUpdateDatabaseResponse) Unset()
type NullableUpdateInstancePartiallyRequestPayload ¶
type NullableUpdateInstancePartiallyRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePartiallyRequestPayload ¶
func NewNullableUpdateInstancePartiallyRequestPayload(val *UpdateInstancePartiallyRequestPayload) *NullableUpdateInstancePartiallyRequestPayload
func (NullableUpdateInstancePartiallyRequestPayload) IsSet ¶
func (v NullableUpdateInstancePartiallyRequestPayload) IsSet() bool
func (NullableUpdateInstancePartiallyRequestPayload) MarshalJSON ¶
func (v NullableUpdateInstancePartiallyRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePartiallyRequestPayload) Set ¶
func (v *NullableUpdateInstancePartiallyRequestPayload) Set(val *UpdateInstancePartiallyRequestPayload)
func (*NullableUpdateInstancePartiallyRequestPayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePartiallyRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePartiallyRequestPayload) Unset ¶
func (v *NullableUpdateInstancePartiallyRequestPayload) Unset()
type NullableUpdateInstanceRequestPayload ¶
type NullableUpdateInstanceRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstanceRequestPayload ¶
func NewNullableUpdateInstanceRequestPayload(val *UpdateInstanceRequestPayload) *NullableUpdateInstanceRequestPayload
func (NullableUpdateInstanceRequestPayload) Get ¶
func (v NullableUpdateInstanceRequestPayload) Get() *UpdateInstanceRequestPayload
func (NullableUpdateInstanceRequestPayload) IsSet ¶
func (v NullableUpdateInstanceRequestPayload) IsSet() bool
func (NullableUpdateInstanceRequestPayload) MarshalJSON ¶
func (v NullableUpdateInstanceRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstanceRequestPayload) Set ¶
func (v *NullableUpdateInstanceRequestPayload) Set(val *UpdateInstanceRequestPayload)
func (*NullableUpdateInstanceRequestPayload) UnmarshalJSON ¶
func (v *NullableUpdateInstanceRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstanceRequestPayload) Unset ¶
func (v *NullableUpdateInstanceRequestPayload) Unset()
type NullableUpdateUserPartiallyRequestPayload ¶
type NullableUpdateUserPartiallyRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserPartiallyRequestPayload ¶
func NewNullableUpdateUserPartiallyRequestPayload(val *UpdateUserPartiallyRequestPayload) *NullableUpdateUserPartiallyRequestPayload
func (NullableUpdateUserPartiallyRequestPayload) IsSet ¶
func (v NullableUpdateUserPartiallyRequestPayload) IsSet() bool
func (NullableUpdateUserPartiallyRequestPayload) MarshalJSON ¶
func (v NullableUpdateUserPartiallyRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserPartiallyRequestPayload) Set ¶
func (v *NullableUpdateUserPartiallyRequestPayload) Set(val *UpdateUserPartiallyRequestPayload)
func (*NullableUpdateUserPartiallyRequestPayload) UnmarshalJSON ¶
func (v *NullableUpdateUserPartiallyRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserPartiallyRequestPayload) Unset ¶
func (v *NullableUpdateUserPartiallyRequestPayload) Unset()
type NullableUpdateUserRequestPayload ¶
type NullableUpdateUserRequestPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserRequestPayload ¶
func NewNullableUpdateUserRequestPayload(val *UpdateUserRequestPayload) *NullableUpdateUserRequestPayload
func (NullableUpdateUserRequestPayload) Get ¶
func (v NullableUpdateUserRequestPayload) Get() *UpdateUserRequestPayload
func (NullableUpdateUserRequestPayload) IsSet ¶
func (v NullableUpdateUserRequestPayload) IsSet() bool
func (NullableUpdateUserRequestPayload) MarshalJSON ¶
func (v NullableUpdateUserRequestPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserRequestPayload) Set ¶
func (v *NullableUpdateUserRequestPayload) Set(val *UpdateUserRequestPayload)
func (*NullableUpdateUserRequestPayload) UnmarshalJSON ¶
func (v *NullableUpdateUserRequestPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserRequestPayload) Unset ¶
func (v *NullableUpdateUserRequestPayload) Unset()
type NullableUserRole ¶
type NullableUserRole struct {
// contains filtered or unexported fields
}
func NewNullableUserRole ¶
func NewNullableUserRole(val *UserRole) *NullableUserRole
func (NullableUserRole) Get ¶
func (v NullableUserRole) Get() *UserRole
func (NullableUserRole) IsSet ¶
func (v NullableUserRole) IsSet() bool
func (NullableUserRole) MarshalJSON ¶
func (v NullableUserRole) MarshalJSON() ([]byte, error)
func (*NullableUserRole) Set ¶
func (v *NullableUserRole) Set(val *UserRole)
func (*NullableUserRole) UnmarshalJSON ¶
func (v *NullableUserRole) UnmarshalJSON(src []byte) error
func (*NullableUserRole) Unset ¶
func (v *NullableUserRole) 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 int32 `json:"page"`
Size int32 `json:"size"`
Sort string `json:"sort"`
TotalPages int32 `json:"totalPages"`
TotalRows int32 `json:"totalRows"`
}
Pagination struct for Pagination
func NewPagination ¶
func NewPagination(page int32, size int32, sort string, totalPages int32, totalRows int32) *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() int32
GetPage returns the Page field value
func (*Pagination) GetPageOk ¶
func (o *Pagination) GetPageOk() (*int32, 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() int32
GetSize returns the Size field value
func (*Pagination) GetSizeOk ¶
func (o *Pagination) GetSizeOk() (*int32, 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() int32
GetTotalPages returns the TotalPages field value
func (*Pagination) GetTotalPagesOk ¶
func (o *Pagination) GetTotalPagesOk() (*int32, 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() int32
GetTotalRows returns the TotalRows field value
func (*Pagination) GetTotalRowsOk ¶
func (o *Pagination) GetTotalRowsOk() (*int32, 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 int32)
SetTotalPages sets field value
func (*Pagination) SetTotalRows ¶
func (o *Pagination) SetTotalRows(v int32)
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 ProtectInstanceRequestPayload ¶
type ProtectInstanceRequestPayload struct {
// Protect instance from deletion.
IsDeletable bool `json:"isDeletable"`
}
ProtectInstanceRequestPayload struct for ProtectInstanceRequestPayload
func NewProtectInstanceRequestPayload ¶
func NewProtectInstanceRequestPayload(isDeletable bool) *ProtectInstanceRequestPayload
NewProtectInstanceRequestPayload instantiates a new ProtectInstanceRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProtectInstanceRequestPayloadWithDefaults ¶
func NewProtectInstanceRequestPayloadWithDefaults() *ProtectInstanceRequestPayload
NewProtectInstanceRequestPayloadWithDefaults instantiates a new ProtectInstanceRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProtectInstanceRequestPayload) GetIsDeletable ¶
func (o *ProtectInstanceRequestPayload) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*ProtectInstanceRequestPayload) GetIsDeletableOk ¶
func (o *ProtectInstanceRequestPayload) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (ProtectInstanceRequestPayload) MarshalJSON ¶
func (o ProtectInstanceRequestPayload) MarshalJSON() ([]byte, error)
func (*ProtectInstanceRequestPayload) SetIsDeletable ¶
func (o *ProtectInstanceRequestPayload) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (ProtectInstanceRequestPayload) ToMap ¶
func (o ProtectInstanceRequestPayload) ToMap() (map[string]interface{}, error)
func (*ProtectInstanceRequestPayload) UnmarshalJSON ¶
func (o *ProtectInstanceRequestPayload) UnmarshalJSON(data []byte) (err error)
type ProtectInstanceResponse ¶
type ProtectInstanceResponse struct {
// Protect instance from deletion.
IsDeletable bool `json:"isDeletable"`
}
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 uint32
Replicas How many replicas the instance should have.
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 ReplicasOpt ¶
type ReplicasOpt uint32
ReplicasOpt How many replicas the instance should have.
const ( REPLICASOPT__1 ReplicasOpt = 1 REPLICASOPT__3 ReplicasOpt = 3 )
List of replicas.opt
func NewReplicasOptFromValue ¶
func NewReplicasOptFromValue(v uint32) (*ReplicasOpt, error)
NewReplicasOptFromValue returns a pointer to a valid ReplicasOpt for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ReplicasOpt) IsValid ¶
func (v ReplicasOpt) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ReplicasOpt) Ptr ¶
func (v ReplicasOpt) Ptr() *ReplicasOpt
Ptr returns reference to replicas.opt value
func (*ReplicasOpt) UnmarshalJSON ¶
func (v *ReplicasOpt) UnmarshalJSON(src []byte) error
type ResetUserResponse ¶
type ResetUserResponse struct {
// The name of the user.
Name string `json:"name"`
// The password for the user.
Password string `json:"password"`
// The current status of the user.
Status string `json:"status"`
}
ResetUserResponse struct for ResetUserResponse
func NewResetUserResponse ¶
func NewResetUserResponse(name string, password string, status 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) GetName ¶
func (o *ResetUserResponse) GetName() string
GetName returns the Name field value
func (*ResetUserResponse) GetNameOk ¶
func (o *ResetUserResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been 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) MarshalJSON ¶
func (o ResetUserResponse) MarshalJSON() ([]byte, error)
func (*ResetUserResponse) SetName ¶
func (o *ResetUserResponse) SetName(v string)
SetName sets field value
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) ToMap ¶
func (o ResetUserResponse) ToMap() (map[string]interface{}, error)
func (*ResetUserResponse) UnmarshalJSON ¶
func (o *ResetUserResponse) UnmarshalJSON(data []byte) (err error)
type Status ¶
type Status string
Status The current status of the instance.
const ( STATUS_READY Status = "READY" STATUS_PENDING Status = "PENDING" STATUS_PROGRESSING Status = "PROGRESSING" STATUS_FAILURE Status = "FAILURE" STATUS_UNKNOWN Status = "UNKNOWN" STATUS_TERMINATING Status = "TERMINATING" )
List of status
func NewStatusFromValue ¶
NewStatusFromValue returns a pointer to a valid Status for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Status) UnmarshalJSON ¶
type Storage ¶
type Storage struct {
// The storage class for the storage.
PerformanceClass *string `json:"performanceClass,omitempty"`
// The storage size in Gigabytes.
Size *int32 `json:"size,omitempty"`
}
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) GetPerformanceClass ¶
GetPerformanceClass returns the PerformanceClass field value if set, zero value otherwise.
func (*Storage) GetPerformanceClassOk ¶
GetPerformanceClassOk returns a tuple with the PerformanceClass 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) HasPerformanceClass ¶
HasPerformanceClass returns a boolean if a field has been set.
func (Storage) MarshalJSON ¶
func (*Storage) SetPerformanceClass ¶
SetPerformanceClass gets a reference to the given string and assigns it to the PerformanceClass field.
type StorageCreate ¶
type StorageCreate struct {
// The storage class for the storage.
PerformanceClass string `json:"performanceClass"`
// The storage size in Gigabytes.
Size int32 `json:"size"`
}
StorageCreate The object containing information about the storage size and class.
func NewStorageCreate ¶
func NewStorageCreate(performanceClass string, size int32) *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) GetPerformanceClass ¶
func (o *StorageCreate) GetPerformanceClass() string
GetPerformanceClass returns the PerformanceClass field value
func (*StorageCreate) GetPerformanceClassOk ¶
func (o *StorageCreate) GetPerformanceClassOk() (*string, bool)
GetPerformanceClassOk returns a tuple with the PerformanceClass field value and a boolean to check if the value has been set.
func (*StorageCreate) GetSize ¶
func (o *StorageCreate) GetSize() int32
GetSize returns the Size field value
func (*StorageCreate) GetSizeOk ¶
func (o *StorageCreate) GetSizeOk() (*int32, 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) SetPerformanceClass ¶
func (o *StorageCreate) SetPerformanceClass(v string)
SetPerformanceClass 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 *int32 `json:"size,omitempty"`
}
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() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*StorageUpdate) GetSizeOk ¶
func (o *StorageUpdate) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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 int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (StorageUpdate) ToMap ¶
func (o StorageUpdate) ToMap() (map[string]interface{}, error)
type UpdateDatabasePartiallyRequestPayload ¶
type UpdateDatabasePartiallyRequestPayload struct {
// The name of the database.
Name *string `json:"name,omitempty"`
// The owner of the database.
Owner *string `json:"owner,omitempty"`
}
UpdateDatabasePartiallyRequestPayload struct for UpdateDatabasePartiallyRequestPayload
func NewUpdateDatabasePartiallyRequestPayload ¶
func NewUpdateDatabasePartiallyRequestPayload() *UpdateDatabasePartiallyRequestPayload
NewUpdateDatabasePartiallyRequestPayload instantiates a new UpdateDatabasePartiallyRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabasePartiallyRequestPayloadWithDefaults ¶
func NewUpdateDatabasePartiallyRequestPayloadWithDefaults() *UpdateDatabasePartiallyRequestPayload
NewUpdateDatabasePartiallyRequestPayloadWithDefaults instantiates a new UpdateDatabasePartiallyRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabasePartiallyRequestPayload) GetName ¶
func (o *UpdateDatabasePartiallyRequestPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateDatabasePartiallyRequestPayload) GetNameOk ¶
func (o *UpdateDatabasePartiallyRequestPayload) 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 (*UpdateDatabasePartiallyRequestPayload) GetOwner ¶
func (o *UpdateDatabasePartiallyRequestPayload) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*UpdateDatabasePartiallyRequestPayload) GetOwnerOk ¶
func (o *UpdateDatabasePartiallyRequestPayload) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatabasePartiallyRequestPayload) HasName ¶
func (o *UpdateDatabasePartiallyRequestPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateDatabasePartiallyRequestPayload) HasOwner ¶
func (o *UpdateDatabasePartiallyRequestPayload) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (UpdateDatabasePartiallyRequestPayload) MarshalJSON ¶
func (o UpdateDatabasePartiallyRequestPayload) MarshalJSON() ([]byte, error)
func (*UpdateDatabasePartiallyRequestPayload) SetName ¶
func (o *UpdateDatabasePartiallyRequestPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateDatabasePartiallyRequestPayload) SetOwner ¶
func (o *UpdateDatabasePartiallyRequestPayload) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (UpdateDatabasePartiallyRequestPayload) ToMap ¶
func (o UpdateDatabasePartiallyRequestPayload) ToMap() (map[string]interface{}, error)
type UpdateDatabasePartiallyResponse ¶
type UpdateDatabasePartiallyResponse struct {
Database ListDatabase `json:"database"`
}
UpdateDatabasePartiallyResponse struct for UpdateDatabasePartiallyResponse
func NewUpdateDatabasePartiallyResponse ¶
func NewUpdateDatabasePartiallyResponse(database ListDatabase) *UpdateDatabasePartiallyResponse
NewUpdateDatabasePartiallyResponse instantiates a new UpdateDatabasePartiallyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabasePartiallyResponseWithDefaults ¶
func NewUpdateDatabasePartiallyResponseWithDefaults() *UpdateDatabasePartiallyResponse
NewUpdateDatabasePartiallyResponseWithDefaults instantiates a new UpdateDatabasePartiallyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabasePartiallyResponse) GetDatabase ¶
func (o *UpdateDatabasePartiallyResponse) GetDatabase() ListDatabase
GetDatabase returns the Database field value
func (*UpdateDatabasePartiallyResponse) GetDatabaseOk ¶
func (o *UpdateDatabasePartiallyResponse) GetDatabaseOk() (*ListDatabase, bool)
GetDatabaseOk returns a tuple with the Database field value and a boolean to check if the value has been set.
func (UpdateDatabasePartiallyResponse) MarshalJSON ¶
func (o UpdateDatabasePartiallyResponse) MarshalJSON() ([]byte, error)
func (*UpdateDatabasePartiallyResponse) SetDatabase ¶
func (o *UpdateDatabasePartiallyResponse) SetDatabase(v ListDatabase)
SetDatabase sets field value
func (UpdateDatabasePartiallyResponse) ToMap ¶
func (o UpdateDatabasePartiallyResponse) ToMap() (map[string]interface{}, error)
func (*UpdateDatabasePartiallyResponse) UnmarshalJSON ¶
func (o *UpdateDatabasePartiallyResponse) UnmarshalJSON(data []byte) (err error)
type UpdateDatabaseRequestPayload ¶
type UpdateDatabaseRequestPayload struct {
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
}
UpdateDatabaseRequestPayload struct for UpdateDatabaseRequestPayload
func NewUpdateDatabaseRequestPayload ¶
func NewUpdateDatabaseRequestPayload(name string, owner string) *UpdateDatabaseRequestPayload
NewUpdateDatabaseRequestPayload instantiates a new UpdateDatabaseRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabaseRequestPayloadWithDefaults ¶
func NewUpdateDatabaseRequestPayloadWithDefaults() *UpdateDatabaseRequestPayload
NewUpdateDatabaseRequestPayloadWithDefaults instantiates a new UpdateDatabaseRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabaseRequestPayload) GetName ¶
func (o *UpdateDatabaseRequestPayload) GetName() string
GetName returns the Name field value
func (*UpdateDatabaseRequestPayload) GetNameOk ¶
func (o *UpdateDatabaseRequestPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateDatabaseRequestPayload) GetOwner ¶
func (o *UpdateDatabaseRequestPayload) GetOwner() string
GetOwner returns the Owner field value
func (*UpdateDatabaseRequestPayload) GetOwnerOk ¶
func (o *UpdateDatabaseRequestPayload) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (UpdateDatabaseRequestPayload) MarshalJSON ¶
func (o UpdateDatabaseRequestPayload) MarshalJSON() ([]byte, error)
func (*UpdateDatabaseRequestPayload) SetName ¶
func (o *UpdateDatabaseRequestPayload) SetName(v string)
SetName sets field value
func (*UpdateDatabaseRequestPayload) SetOwner ¶
func (o *UpdateDatabaseRequestPayload) SetOwner(v string)
SetOwner sets field value
func (UpdateDatabaseRequestPayload) ToMap ¶
func (o UpdateDatabaseRequestPayload) ToMap() (map[string]interface{}, error)
func (*UpdateDatabaseRequestPayload) UnmarshalJSON ¶
func (o *UpdateDatabaseRequestPayload) UnmarshalJSON(data []byte) (err error)
type UpdateDatabaseResponse ¶
type UpdateDatabaseResponse struct {
Database ListDatabase `json:"database"`
}
UpdateDatabaseResponse struct for UpdateDatabaseResponse
func NewUpdateDatabaseResponse ¶
func NewUpdateDatabaseResponse(database ListDatabase) *UpdateDatabaseResponse
NewUpdateDatabaseResponse instantiates a new UpdateDatabaseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabaseResponseWithDefaults ¶
func NewUpdateDatabaseResponseWithDefaults() *UpdateDatabaseResponse
NewUpdateDatabaseResponseWithDefaults instantiates a new UpdateDatabaseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabaseResponse) GetDatabase ¶
func (o *UpdateDatabaseResponse) GetDatabase() ListDatabase
GetDatabase returns the Database field value
func (*UpdateDatabaseResponse) GetDatabaseOk ¶
func (o *UpdateDatabaseResponse) GetDatabaseOk() (*ListDatabase, bool)
GetDatabaseOk returns a tuple with the Database field value and a boolean to check if the value has been set.
func (UpdateDatabaseResponse) MarshalJSON ¶
func (o UpdateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*UpdateDatabaseResponse) SetDatabase ¶
func (o *UpdateDatabaseResponse) SetDatabase(v ListDatabase)
SetDatabase sets field value
func (UpdateDatabaseResponse) ToMap ¶
func (o UpdateDatabaseResponse) ToMap() (map[string]interface{}, error)
func (*UpdateDatabaseResponse) UnmarshalJSON ¶
func (o *UpdateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
type UpdateInstancePartiallyRequestPayload ¶
type UpdateInstancePartiallyRequestPayload struct {
// The schedule for when the database backup will be created. Currently, ONLY daily schedules are supported (every 24 hours). The schedule is written as a cron schedule.
BackupSchedule *string `json:"backupSchedule,omitempty"`
// The id of the instance flavor.
FlavorId *string `json:"flavorId,omitempty"`
// The name of the instance.
Name *string `json:"name,omitempty"`
Network *InstanceNetworkOpt `json:"network,omitempty"`
Replicas *ReplicasOpt `json:"replicas,omitempty"`
// How long backups are retained. The value can only be between 32 and 365 days.
RetentionDays *int32 `json:"retentionDays,omitempty"`
Storage *StorageUpdate `json:"storage,omitempty"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3alpha1#tag/Version) for supported version parameters.
Version *string `json:"version,omitempty"`
}
UpdateInstancePartiallyRequestPayload struct for UpdateInstancePartiallyRequestPayload
func NewUpdateInstancePartiallyRequestPayload ¶
func NewUpdateInstancePartiallyRequestPayload() *UpdateInstancePartiallyRequestPayload
NewUpdateInstancePartiallyRequestPayload instantiates a new UpdateInstancePartiallyRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstancePartiallyRequestPayloadWithDefaults ¶
func NewUpdateInstancePartiallyRequestPayloadWithDefaults() *UpdateInstancePartiallyRequestPayload
NewUpdateInstancePartiallyRequestPayloadWithDefaults instantiates a new UpdateInstancePartiallyRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstancePartiallyRequestPayload) GetBackupSchedule ¶
func (o *UpdateInstancePartiallyRequestPayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetBackupScheduleOk ¶
func (o *UpdateInstancePartiallyRequestPayload) 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 (*UpdateInstancePartiallyRequestPayload) GetFlavorId ¶
func (o *UpdateInstancePartiallyRequestPayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetFlavorIdOk ¶
func (o *UpdateInstancePartiallyRequestPayload) 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 (*UpdateInstancePartiallyRequestPayload) GetName ¶
func (o *UpdateInstancePartiallyRequestPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetNameOk ¶
func (o *UpdateInstancePartiallyRequestPayload) 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 (*UpdateInstancePartiallyRequestPayload) GetNetwork ¶
func (o *UpdateInstancePartiallyRequestPayload) GetNetwork() InstanceNetworkOpt
GetNetwork returns the Network field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetNetworkOk ¶
func (o *UpdateInstancePartiallyRequestPayload) GetNetworkOk() (*InstanceNetworkOpt, 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 (*UpdateInstancePartiallyRequestPayload) GetReplicas ¶
func (o *UpdateInstancePartiallyRequestPayload) GetReplicas() ReplicasOpt
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetReplicasOk ¶
func (o *UpdateInstancePartiallyRequestPayload) GetReplicasOk() (*ReplicasOpt, bool)
GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePartiallyRequestPayload) GetRetentionDays ¶
func (o *UpdateInstancePartiallyRequestPayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetRetentionDaysOk ¶
func (o *UpdateInstancePartiallyRequestPayload) 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 (*UpdateInstancePartiallyRequestPayload) GetStorage ¶
func (o *UpdateInstancePartiallyRequestPayload) GetStorage() StorageUpdate
GetStorage returns the Storage field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetStorageOk ¶
func (o *UpdateInstancePartiallyRequestPayload) 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 (*UpdateInstancePartiallyRequestPayload) GetVersion ¶
func (o *UpdateInstancePartiallyRequestPayload) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*UpdateInstancePartiallyRequestPayload) GetVersionOk ¶
func (o *UpdateInstancePartiallyRequestPayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePartiallyRequestPayload) HasBackupSchedule ¶
func (o *UpdateInstancePartiallyRequestPayload) HasBackupSchedule() bool
HasBackupSchedule returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasFlavorId ¶
func (o *UpdateInstancePartiallyRequestPayload) HasFlavorId() bool
HasFlavorId returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasName ¶
func (o *UpdateInstancePartiallyRequestPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasNetwork ¶
func (o *UpdateInstancePartiallyRequestPayload) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasReplicas ¶
func (o *UpdateInstancePartiallyRequestPayload) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasRetentionDays ¶
func (o *UpdateInstancePartiallyRequestPayload) HasRetentionDays() bool
HasRetentionDays returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasStorage ¶
func (o *UpdateInstancePartiallyRequestPayload) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*UpdateInstancePartiallyRequestPayload) HasVersion ¶
func (o *UpdateInstancePartiallyRequestPayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (UpdateInstancePartiallyRequestPayload) MarshalJSON ¶
func (o UpdateInstancePartiallyRequestPayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePartiallyRequestPayload) SetBackupSchedule ¶
func (o *UpdateInstancePartiallyRequestPayload) SetBackupSchedule(v string)
SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.
func (*UpdateInstancePartiallyRequestPayload) SetFlavorId ¶
func (o *UpdateInstancePartiallyRequestPayload) SetFlavorId(v string)
SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.
func (*UpdateInstancePartiallyRequestPayload) SetName ¶
func (o *UpdateInstancePartiallyRequestPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateInstancePartiallyRequestPayload) SetNetwork ¶
func (o *UpdateInstancePartiallyRequestPayload) SetNetwork(v InstanceNetworkOpt)
SetNetwork gets a reference to the given InstanceNetworkOpt and assigns it to the Network field.
func (*UpdateInstancePartiallyRequestPayload) SetReplicas ¶
func (o *UpdateInstancePartiallyRequestPayload) SetReplicas(v ReplicasOpt)
SetReplicas gets a reference to the given ReplicasOpt and assigns it to the Replicas field.
func (*UpdateInstancePartiallyRequestPayload) SetRetentionDays ¶
func (o *UpdateInstancePartiallyRequestPayload) SetRetentionDays(v int32)
SetRetentionDays gets a reference to the given int32 and assigns it to the RetentionDays field.
func (*UpdateInstancePartiallyRequestPayload) SetStorage ¶
func (o *UpdateInstancePartiallyRequestPayload) SetStorage(v StorageUpdate)
SetStorage gets a reference to the given StorageUpdate and assigns it to the Storage field.
func (*UpdateInstancePartiallyRequestPayload) SetVersion ¶
func (o *UpdateInstancePartiallyRequestPayload) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (UpdateInstancePartiallyRequestPayload) ToMap ¶
func (o UpdateInstancePartiallyRequestPayload) ToMap() (map[string]interface{}, error)
type UpdateInstanceRequestPayload ¶
type UpdateInstanceRequestPayload struct {
// The schedule for when the database backup will be created. Currently, ONLY daily schedules are supported (every 24 hours). The schedule is written as a cron schedule.
BackupSchedule string `json:"backupSchedule"`
// The id of the instance flavor.
FlavorId string `json:"flavorId"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetworkUpdate `json:"network"`
Replicas Replicas `json:"replicas"`
// How long backups are retained. The value can only be between 32 and 365 days.
RetentionDays int32 `json:"retentionDays"`
Storage StorageUpdate `json:"storage"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3alpha1#tag/Version) for supported version parameters.
Version string `json:"version"`
}
UpdateInstanceRequestPayload struct for UpdateInstanceRequestPayload
func NewUpdateInstanceRequestPayload ¶
func NewUpdateInstanceRequestPayload(backupSchedule string, flavorId string, name string, network InstanceNetworkUpdate, replicas Replicas, retentionDays int32, storage StorageUpdate, version string) *UpdateInstanceRequestPayload
NewUpdateInstanceRequestPayload instantiates a new UpdateInstanceRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstanceRequestPayloadWithDefaults ¶
func NewUpdateInstanceRequestPayloadWithDefaults() *UpdateInstanceRequestPayload
NewUpdateInstanceRequestPayloadWithDefaults instantiates a new UpdateInstanceRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstanceRequestPayload) GetBackupSchedule ¶
func (o *UpdateInstanceRequestPayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*UpdateInstanceRequestPayload) GetBackupScheduleOk ¶
func (o *UpdateInstanceRequestPayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetFlavorId ¶
func (o *UpdateInstanceRequestPayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*UpdateInstanceRequestPayload) GetFlavorIdOk ¶
func (o *UpdateInstanceRequestPayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetName ¶
func (o *UpdateInstanceRequestPayload) GetName() string
GetName returns the Name field value
func (*UpdateInstanceRequestPayload) GetNameOk ¶
func (o *UpdateInstanceRequestPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetNetwork ¶
func (o *UpdateInstanceRequestPayload) GetNetwork() InstanceNetworkUpdate
GetNetwork returns the Network field value
func (*UpdateInstanceRequestPayload) GetNetworkOk ¶
func (o *UpdateInstanceRequestPayload) GetNetworkOk() (*InstanceNetworkUpdate, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetReplicas ¶
func (o *UpdateInstanceRequestPayload) GetReplicas() Replicas
GetReplicas returns the Replicas field value
func (*UpdateInstanceRequestPayload) GetReplicasOk ¶
func (o *UpdateInstanceRequestPayload) GetReplicasOk() (*Replicas, bool)
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetRetentionDays ¶
func (o *UpdateInstanceRequestPayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value
func (*UpdateInstanceRequestPayload) GetRetentionDaysOk ¶
func (o *UpdateInstanceRequestPayload) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetStorage ¶
func (o *UpdateInstanceRequestPayload) GetStorage() StorageUpdate
GetStorage returns the Storage field value
func (*UpdateInstanceRequestPayload) GetStorageOk ¶
func (o *UpdateInstanceRequestPayload) GetStorageOk() (*StorageUpdate, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*UpdateInstanceRequestPayload) GetVersion ¶
func (o *UpdateInstanceRequestPayload) GetVersion() string
GetVersion returns the Version field value
func (*UpdateInstanceRequestPayload) GetVersionOk ¶
func (o *UpdateInstanceRequestPayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (UpdateInstanceRequestPayload) MarshalJSON ¶
func (o UpdateInstanceRequestPayload) MarshalJSON() ([]byte, error)
func (*UpdateInstanceRequestPayload) SetBackupSchedule ¶
func (o *UpdateInstanceRequestPayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*UpdateInstanceRequestPayload) SetFlavorId ¶
func (o *UpdateInstanceRequestPayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*UpdateInstanceRequestPayload) SetName ¶
func (o *UpdateInstanceRequestPayload) SetName(v string)
SetName sets field value
func (*UpdateInstanceRequestPayload) SetNetwork ¶
func (o *UpdateInstanceRequestPayload) SetNetwork(v InstanceNetworkUpdate)
SetNetwork sets field value
func (*UpdateInstanceRequestPayload) SetReplicas ¶
func (o *UpdateInstanceRequestPayload) SetReplicas(v Replicas)
SetReplicas sets field value
func (*UpdateInstanceRequestPayload) SetRetentionDays ¶
func (o *UpdateInstanceRequestPayload) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*UpdateInstanceRequestPayload) SetStorage ¶
func (o *UpdateInstanceRequestPayload) SetStorage(v StorageUpdate)
SetStorage sets field value
func (*UpdateInstanceRequestPayload) SetVersion ¶
func (o *UpdateInstanceRequestPayload) SetVersion(v string)
SetVersion sets field value
func (UpdateInstanceRequestPayload) ToMap ¶
func (o UpdateInstanceRequestPayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstanceRequestPayload) UnmarshalJSON ¶
func (o *UpdateInstanceRequestPayload) UnmarshalJSON(data []byte) (err error)
type UpdateUserPartiallyRequestPayload ¶
type UpdateUserPartiallyRequestPayload struct {
// The name of the user.
Name *string `json:"name,omitempty"`
// A list containing the user roles for the instance.
Roles []UserRole `json:"roles,omitempty"`
}
UpdateUserPartiallyRequestPayload struct for UpdateUserPartiallyRequestPayload
func NewUpdateUserPartiallyRequestPayload ¶
func NewUpdateUserPartiallyRequestPayload() *UpdateUserPartiallyRequestPayload
NewUpdateUserPartiallyRequestPayload instantiates a new UpdateUserPartiallyRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateUserPartiallyRequestPayloadWithDefaults ¶
func NewUpdateUserPartiallyRequestPayloadWithDefaults() *UpdateUserPartiallyRequestPayload
NewUpdateUserPartiallyRequestPayloadWithDefaults instantiates a new UpdateUserPartiallyRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateUserPartiallyRequestPayload) GetName ¶
func (o *UpdateUserPartiallyRequestPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateUserPartiallyRequestPayload) GetNameOk ¶
func (o *UpdateUserPartiallyRequestPayload) 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 (*UpdateUserPartiallyRequestPayload) GetRoles ¶
func (o *UpdateUserPartiallyRequestPayload) GetRoles() []UserRole
GetRoles returns the Roles field value if set, zero value otherwise.
func (*UpdateUserPartiallyRequestPayload) GetRolesOk ¶
func (o *UpdateUserPartiallyRequestPayload) GetRolesOk() ([]UserRole, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserPartiallyRequestPayload) HasName ¶
func (o *UpdateUserPartiallyRequestPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateUserPartiallyRequestPayload) HasRoles ¶
func (o *UpdateUserPartiallyRequestPayload) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (UpdateUserPartiallyRequestPayload) MarshalJSON ¶
func (o UpdateUserPartiallyRequestPayload) MarshalJSON() ([]byte, error)
func (*UpdateUserPartiallyRequestPayload) SetName ¶
func (o *UpdateUserPartiallyRequestPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateUserPartiallyRequestPayload) SetRoles ¶
func (o *UpdateUserPartiallyRequestPayload) SetRoles(v []UserRole)
SetRoles gets a reference to the given []UserRole and assigns it to the Roles field.
func (UpdateUserPartiallyRequestPayload) ToMap ¶
func (o UpdateUserPartiallyRequestPayload) ToMap() (map[string]interface{}, error)
type UpdateUserRequestPayload ¶
type UpdateUserRequestPayload struct {
// The name of the user.
Name *string `json:"name,omitempty"`
// A list containing the user roles for the instance.
Roles []UserRole `json:"roles"`
}
UpdateUserRequestPayload struct for UpdateUserRequestPayload
func NewUpdateUserRequestPayload ¶
func NewUpdateUserRequestPayload(roles []UserRole) *UpdateUserRequestPayload
NewUpdateUserRequestPayload instantiates a new UpdateUserRequestPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateUserRequestPayloadWithDefaults ¶
func NewUpdateUserRequestPayloadWithDefaults() *UpdateUserRequestPayload
NewUpdateUserRequestPayloadWithDefaults instantiates a new UpdateUserRequestPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateUserRequestPayload) GetName ¶
func (o *UpdateUserRequestPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateUserRequestPayload) GetNameOk ¶
func (o *UpdateUserRequestPayload) 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 (*UpdateUserRequestPayload) GetRoles ¶
func (o *UpdateUserRequestPayload) GetRoles() []UserRole
GetRoles returns the Roles field value
func (*UpdateUserRequestPayload) GetRolesOk ¶
func (o *UpdateUserRequestPayload) GetRolesOk() ([]UserRole, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*UpdateUserRequestPayload) HasName ¶
func (o *UpdateUserRequestPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateUserRequestPayload) MarshalJSON ¶
func (o UpdateUserRequestPayload) MarshalJSON() ([]byte, error)
func (*UpdateUserRequestPayload) SetName ¶
func (o *UpdateUserRequestPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateUserRequestPayload) SetRoles ¶
func (o *UpdateUserRequestPayload) SetRoles(v []UserRole)
SetRoles sets field value
func (UpdateUserRequestPayload) ToMap ¶
func (o UpdateUserRequestPayload) ToMap() (map[string]interface{}, error)
func (*UpdateUserRequestPayload) UnmarshalJSON ¶
func (o *UpdateUserRequestPayload) UnmarshalJSON(data []byte) (err error)
type UserRole ¶
type UserRole string
UserRole The user role for the instance.
List of user.role
func NewUserRoleFromValue ¶
NewUserRoleFromValue returns a pointer to a valid UserRole for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*UserRole) UnmarshalJSON ¶
type UserSort ¶
type UserSort string
UserSort the model 'UserSort'
const ( USERSORT_ID_ASC UserSort = "id.asc" USERSORT_ID_DESC UserSort = "id.desc" USERSORT_NAME_DESC UserSort = "name.desc" USERSORT_NAME_ASC UserSort = "name.asc" USERSORT_STATUS_DESC UserSort = "status.desc" USERSORT_STATUS_ASC UserSort = "status.asc" )
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"`
}
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"`
}
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 postgres version used for the instance.
Version string `json:"version"`
}
Version The version of the postgres 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_sort.go
- model_clone_instance_overrides.go
- model_clone_request_payload.go
- model_clone_response.go
- model_create_database_request_payload.go
- model_create_database_response.go
- model_create_instance_request_payload.go
- model_create_instance_response.go
- model_create_user_request_payload.go
- model_create_user_response.go
- model_database_roles.go
- model_database_sort.go
- model_error.go
- model_flavor_sort.go
- model_flavor_storage_classes_storage_class.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_user_response.go
- model_get_versions_response.go
- model_instance_connection_info.go
- model_instance_connection_info_write.go
- model_instance_encryption.go
- model_instance_network.go
- model_instance_network_access_scope.go
- model_instance_network_create.go
- model_instance_network_opt.go
- model_instance_network_update.go
- model_instance_sort.go
- model_instance_storage_range.go
- model_list_backup.go
- model_list_backup_response.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_request_payload.go
- model_protect_instance_response.go
- model_replicas.go
- model_replicas_opt.go
- model_reset_user_response.go
- model_status.go
- model_storage.go
- model_storage_create.go
- model_storage_update.go
- model_update_database_partially_request_payload.go
- model_update_database_partially_response.go
- model_update_database_request_payload.go
- model_update_database_response.go
- model_update_instance_partially_request_payload.go
- model_update_instance_request_payload.go
- model_update_user_partially_request_payload.go
- model_update_user_request_payload.go
- model_user_role.go
- model_user_sort.go
- model_validation_error.go
- model_validation_error_validation_inner.go
- model_version.go
- response.go
- utils.go