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 ApiCloneInstanceRequest
- type ApiCreateDatabaseRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteDatabaseRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetBackupRequest
- type ApiGetDatabaseRequest
- type ApiGetInstanceRequest
- type ApiGetUserRequest
- type ApiListBackupsRequest
- type ApiListCollationsRequest
- type ApiListDatabasesRequest
- func (r ApiListDatabasesRequest) Execute() (*ListDatabasesResponse, error)
- func (r ApiListDatabasesRequest) Page(page int64) ApiListDatabasesRequest
- func (r ApiListDatabasesRequest) Size(size int64) ApiListDatabasesRequest
- func (r ApiListDatabasesRequest) Sort(sort DatabaseSort) ApiListDatabasesRequest
- type ApiListFlavorsRequest
- type ApiListInstancesRequest
- func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
- func (r ApiListInstancesRequest) Page(page int64) ApiListInstancesRequest
- func (r ApiListInstancesRequest) Size(size int64) ApiListInstancesRequest
- func (r ApiListInstancesRequest) Sort(sort InstanceSort) ApiListInstancesRequest
- type ApiListRolesRequest
- type ApiListUsersRequest
- type ApiListVersionsRequest
- type ApiPartialUpdateDatabaseRequest
- type ApiPartialUpdateInstanceRequest
- type ApiPartialUpdateUserRequest
- type ApiResetUserPasswordRequest
- type ApiUpdateDatabaseRequest
- type ApiUpdateInstanceProtectionRequest
- type ApiUpdateInstanceRequest
- type ApiUpdateUserRequest
- type BackupData
- func (o *BackupData) GetCompletionTime() string
- func (o *BackupData) GetCompletionTimeOk() (*string, bool)
- func (o *BackupData) GetId() int64
- func (o *BackupData) GetIdOk() (*int64, bool)
- func (o *BackupData) GetName() string
- func (o *BackupData) GetNameOk() (*string, bool)
- func (o *BackupData) GetRetainedUntil() string
- func (o *BackupData) GetRetainedUntilOk() (*string, bool)
- func (o *BackupData) GetSize() int64
- func (o *BackupData) GetSizeOk() (*int64, bool)
- func (o *BackupData) GetType() string
- func (o *BackupData) GetTypeOk() (*string, bool)
- func (o BackupData) MarshalJSON() ([]byte, error)
- func (o *BackupData) SetCompletionTime(v string)
- func (o *BackupData) SetId(v int64)
- func (o *BackupData) SetName(v string)
- func (o *BackupData) SetRetainedUntil(v string)
- func (o *BackupData) SetSize(v int64)
- func (o *BackupData) SetType(v string)
- func (o BackupData) ToMap() (map[string]interface{}, error)
- func (o *BackupData) UnmarshalJSON(data []byte) (err error)
- type BackupSort
- type CloneInstanceOverrides
- func (o *CloneInstanceOverrides) GetClass() string
- func (o *CloneInstanceOverrides) GetClassOk() (*string, bool)
- func (o *CloneInstanceOverrides) GetName() string
- func (o *CloneInstanceOverrides) GetNameOk() (*string, bool)
- func (o *CloneInstanceOverrides) GetSize() int64
- func (o *CloneInstanceOverrides) GetSizeOk() (*int64, bool)
- func (o *CloneInstanceOverrides) HasClass() bool
- func (o *CloneInstanceOverrides) HasName() bool
- func (o CloneInstanceOverrides) MarshalJSON() ([]byte, error)
- func (o *CloneInstanceOverrides) SetClass(v string)
- func (o *CloneInstanceOverrides) SetName(v string)
- func (o *CloneInstanceOverrides) SetSize(v int64)
- func (o CloneInstanceOverrides) ToMap() (map[string]interface{}, error)
- func (o *CloneInstanceOverrides) UnmarshalJSON(data []byte) (err error)
- type CloneInstancePayload
- func (o *CloneInstancePayload) GetInstanceOverrides() CloneInstanceOverrides
- func (o *CloneInstancePayload) GetInstanceOverridesOk() (*CloneInstanceOverrides, bool)
- func (o *CloneInstancePayload) GetPointInTime() time.Time
- func (o *CloneInstancePayload) GetPointInTimeOk() (*time.Time, bool)
- func (o CloneInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CloneInstancePayload) SetInstanceOverrides(v CloneInstanceOverrides)
- func (o *CloneInstancePayload) SetPointInTime(v time.Time)
- func (o CloneInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CloneInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CloneInstanceResponse
- func (o *CloneInstanceResponse) GetId() string
- func (o *CloneInstanceResponse) GetIdOk() (*string, bool)
- func (o CloneInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *CloneInstanceResponse) SetId(v string)
- func (o CloneInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *CloneInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type CreateDatabasePayload
- func (o *CreateDatabasePayload) GetName() string
- func (o *CreateDatabasePayload) GetNameOk() (*string, bool)
- func (o *CreateDatabasePayload) GetOwner() string
- func (o *CreateDatabasePayload) GetOwnerOk() (*string, bool)
- func (o *CreateDatabasePayload) HasOwner() bool
- func (o CreateDatabasePayload) MarshalJSON() ([]byte, error)
- func (o *CreateDatabasePayload) SetName(v string)
- func (o *CreateDatabasePayload) SetOwner(v string)
- func (o CreateDatabasePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabasePayload) UnmarshalJSON(data []byte) (err error)
- type CreateDatabaseResponse
- func (o *CreateDatabaseResponse) GetId() int64
- func (o *CreateDatabaseResponse) GetIdOk() (*int64, bool)
- func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *CreateDatabaseResponse) SetId(v int64)
- func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetBackupSchedule() string
- func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *CreateInstancePayload) GetEncryption() InstanceEncryption
- func (o *CreateInstancePayload) GetEncryptionOk() (*InstanceEncryption, bool)
- func (o *CreateInstancePayload) GetFlavorId() string
- func (o *CreateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *CreateInstancePayload) GetLabels() map[string]string
- func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) GetNetwork() InstanceNetworkCreate
- func (o *CreateInstancePayload) GetNetworkOk() (*InstanceNetworkCreate, bool)
- func (o *CreateInstancePayload) GetRetentionDays() int32
- func (o *CreateInstancePayload) GetRetentionDaysOk() (*int32, bool)
- func (o *CreateInstancePayload) GetStorage() StorageCreate
- func (o *CreateInstancePayload) GetStorageOk() (*StorageCreate, bool)
- func (o *CreateInstancePayload) GetVersion() string
- func (o *CreateInstancePayload) GetVersionOk() (*string, bool)
- func (o *CreateInstancePayload) HasEncryption() bool
- func (o *CreateInstancePayload) HasLabels() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetBackupSchedule(v string)
- func (o *CreateInstancePayload) SetEncryption(v InstanceEncryption)
- func (o *CreateInstancePayload) SetFlavorId(v string)
- func (o *CreateInstancePayload) SetLabels(v map[string]string)
- func (o *CreateInstancePayload) SetName(v string)
- func (o *CreateInstancePayload) SetNetwork(v InstanceNetworkCreate)
- func (o *CreateInstancePayload) SetRetentionDays(v int32)
- func (o *CreateInstancePayload) SetStorage(v StorageCreate)
- func (o *CreateInstancePayload) SetVersion(v string)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstanceResponse
- func (o *CreateInstanceResponse) GetId() string
- func (o *CreateInstanceResponse) GetIdOk() (*string, bool)
- func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceResponse) SetId(v string)
- func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateInstanceResponse) UnmarshalJSON(data []byte) (err error)
- type CreateUserPayload
- func (o *CreateUserPayload) GetName() string
- func (o *CreateUserPayload) GetNameOk() (*string, bool)
- func (o *CreateUserPayload) GetRoles() []string
- func (o *CreateUserPayload) GetRolesOk() ([]string, bool)
- func (o *CreateUserPayload) HasRoles() bool
- func (o CreateUserPayload) MarshalJSON() ([]byte, error)
- func (o *CreateUserPayload) SetName(v string)
- func (o *CreateUserPayload) SetRoles(v []string)
- func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
- type CreateUserResponse
- func (o *CreateUserResponse) GetId() int64
- func (o *CreateUserResponse) GetIdOk() (*int64, 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) GetState() string
- func (o *CreateUserResponse) GetStateOk() (*string, bool)
- func (o CreateUserResponse) MarshalJSON() ([]byte, error)
- func (o *CreateUserResponse) SetId(v int64)
- func (o *CreateUserResponse) SetName(v string)
- func (o *CreateUserResponse) SetPassword(v string)
- func (o *CreateUserResponse) SetState(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) CloneInstance(ctx context.Context, projectId string, region string, instanceId string) ApiCloneInstanceRequest
- func (a *DefaultAPIService) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
- func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
- func (a *DefaultAPIService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
- func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
- func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
- func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
- func (a *DefaultAPIService) DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteDatabaseRequest
- func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteUserRequest
- func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetBackupRequest
- func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*BackupData, error)
- func (a *DefaultAPIService) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetDatabaseRequest
- func (a *DefaultAPIService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetUserRequest
- func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
- func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
- func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
- func (a *DefaultAPIService) ListCollations(ctx context.Context, projectId string, region string, instanceId string) ApiListCollationsRequest
- func (a *DefaultAPIService) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
- func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
- func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
- func (a *DefaultAPIService) ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest
- func (a *DefaultAPIService) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
- func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
- func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
- func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest
- func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
- func (a *DefaultAPIService) PartialUpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiPartialUpdateDatabaseRequest
- func (a *DefaultAPIService) PartialUpdateDatabaseExecute(r ApiPartialUpdateDatabaseRequest) error
- func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) error
- func (a *DefaultAPIService) PartialUpdateUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiPartialUpdateUserRequest
- func (a *DefaultAPIService) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
- func (a *DefaultAPIService) ResetUserPassword(ctx context.Context, projectId string, region string, instanceId string, ...) ApiResetUserPasswordRequest
- func (a *DefaultAPIService) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*ResetUserPasswordResponse, error)
- func (a *DefaultAPIService) UpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateDatabaseRequest
- func (a *DefaultAPIService) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) error
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a *DefaultAPIService) UpdateInstanceProtection(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceProtectionRequest
- func (a *DefaultAPIService) UpdateInstanceProtectionExecute(r ApiUpdateInstanceProtectionRequest) (*UpdateInstanceProtectionResponse, error)
- func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateUserRequest
- func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CloneInstance(ctx context.Context, projectId string, region string, instanceId string) ApiCloneInstanceRequest
- func (a DefaultAPIServiceMock) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
- func (a DefaultAPIServiceMock) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
- func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
- func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
- func (a DefaultAPIServiceMock) DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteDatabaseRequest
- func (a DefaultAPIServiceMock) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiDeleteUserRequest
- func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetBackupRequest
- func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*BackupData, error)
- func (a DefaultAPIServiceMock) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetDatabaseRequest
- func (a DefaultAPIServiceMock) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
- func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiGetUserRequest
- func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
- func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
- func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
- func (a DefaultAPIServiceMock) ListCollations(ctx context.Context, projectId string, region string, instanceId string) ApiListCollationsRequest
- func (a DefaultAPIServiceMock) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
- func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
- func (a DefaultAPIServiceMock) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
- func (a DefaultAPIServiceMock) ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest
- func (a DefaultAPIServiceMock) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
- func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
- func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
- func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest
- func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiPartialUpdateDatabaseRequest
- func (a DefaultAPIServiceMock) PartialUpdateDatabaseExecute(r ApiPartialUpdateDatabaseRequest) error
- func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiPartialUpdateInstanceRequest
- func (a DefaultAPIServiceMock) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) error
- func (a DefaultAPIServiceMock) PartialUpdateUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiPartialUpdateUserRequest
- func (a DefaultAPIServiceMock) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
- func (a DefaultAPIServiceMock) ResetUserPassword(ctx context.Context, projectId string, region string, instanceId string, ...) ApiResetUserPasswordRequest
- func (a DefaultAPIServiceMock) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*ResetUserPasswordResponse, error)
- func (a DefaultAPIServiceMock) UpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateDatabaseRequest
- func (a DefaultAPIServiceMock) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) error
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a DefaultAPIServiceMock) UpdateInstanceProtection(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceProtectionRequest
- func (a DefaultAPIServiceMock) UpdateInstanceProtectionExecute(r ApiUpdateInstanceProtectionRequest) (*UpdateInstanceProtectionResponse, error)
- func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, region string, instanceId string, ...) ApiUpdateUserRequest
- func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
- type Error
- func (o *Error) GetCode() int32
- func (o *Error) GetCodeOk() (*int32, bool)
- func (o *Error) 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 GetDatabaseResponse
- func (o *GetDatabaseResponse) GetId() int64
- func (o *GetDatabaseResponse) GetIdOk() (*int64, bool)
- func (o *GetDatabaseResponse) GetName() string
- func (o *GetDatabaseResponse) GetNameOk() (*string, bool)
- func (o *GetDatabaseResponse) GetOwner() string
- func (o *GetDatabaseResponse) GetOwnerOk() (*string, bool)
- func (o GetDatabaseResponse) MarshalJSON() ([]byte, error)
- func (o *GetDatabaseResponse) SetId(v int64)
- func (o *GetDatabaseResponse) SetName(v string)
- func (o *GetDatabaseResponse) SetOwner(v string)
- func (o GetDatabaseResponse) ToMap() (map[string]interface{}, error)
- func (o *GetDatabaseResponse) UnmarshalJSON(data []byte) (err error)
- type GetInstanceResponse
- 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) GetLabels() map[string]string
- func (o *GetInstanceResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GetInstanceResponse) GetName() string
- func (o *GetInstanceResponse) GetNameOk() (*string, bool)
- func (o *GetInstanceResponse) GetNetwork() InstanceNetwork
- func (o *GetInstanceResponse) GetNetworkOk() (*InstanceNetwork, bool)
- func (o *GetInstanceResponse) GetRetentionDays() int32
- func (o *GetInstanceResponse) GetRetentionDaysOk() (*int32, bool)
- func (o *GetInstanceResponse) GetState() State
- func (o *GetInstanceResponse) GetStateOk() (*State, bool)
- func (o *GetInstanceResponse) GetStorage() Storage
- func (o *GetInstanceResponse) GetStorageOk() (*Storage, bool)
- func (o *GetInstanceResponse) GetVersion() string
- func (o *GetInstanceResponse) GetVersionOk() (*string, bool)
- func (o *GetInstanceResponse) HasEncryption() bool
- func (o *GetInstanceResponse) HasLabels() bool
- func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
- func (o *GetInstanceResponse) SetBackupSchedule(v string)
- func (o *GetInstanceResponse) 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) SetLabels(v map[string]string)
- func (o *GetInstanceResponse) SetName(v string)
- func (o *GetInstanceResponse) SetNetwork(v InstanceNetwork)
- func (o *GetInstanceResponse) SetRetentionDays(v int32)
- func (o *GetInstanceResponse) SetState(v State)
- 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() int64
- func (o *GetUserResponse) GetIdOk() (*int64, bool)
- func (o *GetUserResponse) GetName() string
- func (o *GetUserResponse) GetNameOk() (*string, bool)
- func (o *GetUserResponse) GetRoles() []string
- func (o *GetUserResponse) GetRolesOk() ([]string, bool)
- func (o *GetUserResponse) GetState() string
- func (o *GetUserResponse) GetStateOk() (*string, bool)
- func (o GetUserResponse) MarshalJSON() ([]byte, error)
- func (o *GetUserResponse) SetId(v int64)
- func (o *GetUserResponse) SetName(v string)
- func (o *GetUserResponse) SetRoles(v []string)
- func (o *GetUserResponse) SetState(v string)
- func (o GetUserResponse) ToMap() (map[string]interface{}, error)
- func (o *GetUserResponse) 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)
- func (o *InstanceNetworkOpt) UnmarshalJSON(data []byte) (err 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 ListBackupsResponse
- func (o *ListBackupsResponse) GetBackups() []BackupData
- func (o *ListBackupsResponse) GetBackupsOk() ([]BackupData, bool)
- func (o *ListBackupsResponse) GetPagination() Pagination
- func (o *ListBackupsResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
- func (o *ListBackupsResponse) SetBackups(v []BackupData)
- func (o *ListBackupsResponse) SetPagination(v Pagination)
- func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListBackupsResponse) UnmarshalJSON(data []byte) (err error)
- type ListCollationsResponse
- func (o *ListCollationsResponse) GetCollations() []string
- func (o *ListCollationsResponse) GetCollationsOk() ([]string, bool)
- func (o ListCollationsResponse) MarshalJSON() ([]byte, error)
- func (o *ListCollationsResponse) SetCollations(v []string)
- func (o ListCollationsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListCollationsResponse) UnmarshalJSON(data []byte) (err error)
- type ListDatabase
- func (o *ListDatabase) GetId() int64
- func (o *ListDatabase) GetIdOk() (*int64, bool)
- func (o *ListDatabase) GetName() string
- func (o *ListDatabase) GetNameOk() (*string, bool)
- func (o *ListDatabase) GetOwner() string
- func (o *ListDatabase) GetOwnerOk() (*string, bool)
- func (o ListDatabase) MarshalJSON() ([]byte, error)
- func (o *ListDatabase) SetId(v int64)
- func (o *ListDatabase) SetName(v string)
- func (o *ListDatabase) SetOwner(v string)
- func (o ListDatabase) ToMap() (map[string]interface{}, error)
- func (o *ListDatabase) UnmarshalJSON(data []byte) (err error)
- type ListDatabasesResponse
- func (o *ListDatabasesResponse) GetDatabases() []ListDatabase
- func (o *ListDatabasesResponse) GetDatabasesOk() ([]ListDatabase, bool)
- func (o *ListDatabasesResponse) GetPagination() Pagination
- func (o *ListDatabasesResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListDatabasesResponse) MarshalJSON() ([]byte, error)
- func (o *ListDatabasesResponse) SetDatabases(v []ListDatabase)
- func (o *ListDatabasesResponse) SetPagination(v Pagination)
- func (o ListDatabasesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListDatabasesResponse) UnmarshalJSON(data []byte) (err error)
- type ListFlavors
- func (o *ListFlavors) GetCpu() int64
- func (o *ListFlavors) GetCpuOk() (*int64, bool)
- func (o *ListFlavors) GetDescription() string
- func (o *ListFlavors) GetDescriptionOk() (*string, bool)
- func (o *ListFlavors) GetId() string
- func (o *ListFlavors) GetIdOk() (*string, bool)
- func (o *ListFlavors) GetMaxGB() int32
- func (o *ListFlavors) GetMaxGBOk() (*int32, bool)
- func (o *ListFlavors) GetMemory() int64
- func (o *ListFlavors) GetMemoryOk() (*int64, bool)
- func (o *ListFlavors) GetMinGB() int32
- func (o *ListFlavors) GetMinGBOk() (*int32, bool)
- func (o *ListFlavors) GetNodeType() string
- func (o *ListFlavors) GetNodeTypeOk() (*string, bool)
- func (o *ListFlavors) GetStorageClasses() []FlavorStorageClassesStorageClass
- func (o *ListFlavors) GetStorageClassesOk() ([]FlavorStorageClassesStorageClass, bool)
- func (o ListFlavors) MarshalJSON() ([]byte, error)
- func (o *ListFlavors) SetCpu(v int64)
- func (o *ListFlavors) SetDescription(v string)
- func (o *ListFlavors) SetId(v string)
- func (o *ListFlavors) SetMaxGB(v int32)
- func (o *ListFlavors) SetMemory(v int64)
- func (o *ListFlavors) SetMinGB(v int32)
- func (o *ListFlavors) SetNodeType(v string)
- func (o *ListFlavors) SetStorageClasses(v []FlavorStorageClassesStorageClass)
- func (o ListFlavors) ToMap() (map[string]interface{}, error)
- func (o *ListFlavors) UnmarshalJSON(data []byte) (err error)
- type ListFlavorsResponse
- func (o *ListFlavorsResponse) GetFlavors() []ListFlavors
- func (o *ListFlavorsResponse) GetFlavorsOk() ([]ListFlavors, bool)
- func (o *ListFlavorsResponse) GetPagination() Pagination
- func (o *ListFlavorsResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListFlavorsResponse) MarshalJSON() ([]byte, error)
- func (o *ListFlavorsResponse) SetFlavors(v []ListFlavors)
- func (o *ListFlavorsResponse) SetPagination(v Pagination)
- func (o ListFlavorsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListFlavorsResponse) UnmarshalJSON(data []byte) (err error)
- type ListInstance
- func (o *ListInstance) GetId() string
- func (o *ListInstance) GetIdOk() (*string, bool)
- func (o *ListInstance) GetIsDeletable() bool
- func (o *ListInstance) GetIsDeletableOk() (*bool, bool)
- func (o *ListInstance) GetName() string
- func (o *ListInstance) GetNameOk() (*string, bool)
- func (o *ListInstance) GetState() State
- func (o *ListInstance) GetStateOk() (*State, bool)
- func (o ListInstance) MarshalJSON() ([]byte, error)
- func (o *ListInstance) SetId(v string)
- func (o *ListInstance) SetIsDeletable(v bool)
- func (o *ListInstance) SetName(v string)
- func (o *ListInstance) SetState(v State)
- func (o ListInstance) ToMap() (map[string]interface{}, error)
- func (o *ListInstance) UnmarshalJSON(data []byte) (err error)
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetInstances() []ListInstance
- func (o *ListInstancesResponse) GetInstancesOk() ([]ListInstance, bool)
- func (o *ListInstancesResponse) GetPagination() Pagination
- func (o *ListInstancesResponse) GetPaginationOk() (*Pagination, bool)
- func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstancesResponse) SetInstances(v []ListInstance)
- func (o *ListInstancesResponse) SetPagination(v Pagination)
- func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
- type ListRolesResponse
- func (o *ListRolesResponse) GetRoles() []string
- func (o *ListRolesResponse) GetRolesOk() ([]string, bool)
- func (o ListRolesResponse) MarshalJSON() ([]byte, error)
- func (o *ListRolesResponse) SetRoles(v []string)
- func (o ListRolesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListRolesResponse) UnmarshalJSON(data []byte) (err error)
- type ListUser
- func (o *ListUser) GetId() int64
- func (o *ListUser) GetIdOk() (*int64, bool)
- func (o *ListUser) GetName() string
- func (o *ListUser) GetNameOk() (*string, bool)
- func (o *ListUser) GetState() string
- func (o *ListUser) GetStateOk() (*string, bool)
- func (o ListUser) MarshalJSON() ([]byte, error)
- func (o *ListUser) SetId(v int64)
- func (o *ListUser) SetName(v string)
- func (o *ListUser) SetState(v string)
- func (o ListUser) ToMap() (map[string]interface{}, error)
- func (o *ListUser) UnmarshalJSON(data []byte) (err error)
- type ListUsersResponse
- func (o *ListUsersResponse) GetPagination() Pagination
- func (o *ListUsersResponse) GetPaginationOk() (*Pagination, bool)
- func (o *ListUsersResponse) GetUsers() []ListUser
- func (o *ListUsersResponse) GetUsersOk() ([]ListUser, bool)
- func (o ListUsersResponse) MarshalJSON() ([]byte, error)
- func (o *ListUsersResponse) SetPagination(v Pagination)
- func (o *ListUsersResponse) SetUsers(v []ListUser)
- func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListUsersResponse) UnmarshalJSON(data []byte) (err error)
- type ListVersionsResponse
- func (o *ListVersionsResponse) GetVersions() []Version
- func (o *ListVersionsResponse) GetVersionsOk() ([]Version, bool)
- func (o ListVersionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListVersionsResponse) SetVersions(v []Version)
- func (o ListVersionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListVersionsResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBackupData
- 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 NullableCloneInstancePayload
- func (v NullableCloneInstancePayload) Get() *CloneInstancePayload
- func (v NullableCloneInstancePayload) IsSet() bool
- func (v NullableCloneInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCloneInstancePayload) Set(val *CloneInstancePayload)
- func (v *NullableCloneInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCloneInstancePayload) Unset()
- type NullableCloneInstanceResponse
- func (v NullableCloneInstanceResponse) Get() *CloneInstanceResponse
- func (v NullableCloneInstanceResponse) IsSet() bool
- func (v NullableCloneInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCloneInstanceResponse) Set(val *CloneInstanceResponse)
- func (v *NullableCloneInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCloneInstanceResponse) Unset()
- type NullableCreateDatabasePayload
- func (v NullableCreateDatabasePayload) Get() *CreateDatabasePayload
- func (v NullableCreateDatabasePayload) IsSet() bool
- func (v NullableCreateDatabasePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabasePayload) Set(val *CreateDatabasePayload)
- func (v *NullableCreateDatabasePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabasePayload) Unset()
- type NullableCreateDatabaseResponse
- func (v NullableCreateDatabaseResponse) Get() *CreateDatabaseResponse
- func (v NullableCreateDatabaseResponse) IsSet() bool
- func (v NullableCreateDatabaseResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabaseResponse) Set(val *CreateDatabaseResponse)
- func (v *NullableCreateDatabaseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabaseResponse) Unset()
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableCreateInstanceResponse
- func (v NullableCreateInstanceResponse) Get() *CreateInstanceResponse
- func (v NullableCreateInstanceResponse) IsSet() bool
- func (v NullableCreateInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceResponse) Set(val *CreateInstanceResponse)
- func (v *NullableCreateInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceResponse) Unset()
- type NullableCreateUserPayload
- func (v NullableCreateUserPayload) Get() *CreateUserPayload
- func (v NullableCreateUserPayload) IsSet() bool
- func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
- func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserPayload) Unset()
- type NullableCreateUserResponse
- func (v NullableCreateUserResponse) Get() *CreateUserResponse
- func (v NullableCreateUserResponse) IsSet() bool
- func (v NullableCreateUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserResponse) Set(val *CreateUserResponse)
- func (v *NullableCreateUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserResponse) Unset()
- type 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 NullableGetDatabaseResponse
- func (v NullableGetDatabaseResponse) Get() *GetDatabaseResponse
- func (v NullableGetDatabaseResponse) IsSet() bool
- func (v NullableGetDatabaseResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetDatabaseResponse) Set(val *GetDatabaseResponse)
- func (v *NullableGetDatabaseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetDatabaseResponse) Unset()
- type NullableGetInstanceResponse
- func (v NullableGetInstanceResponse) Get() *GetInstanceResponse
- func (v NullableGetInstanceResponse) IsSet() bool
- func (v NullableGetInstanceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetInstanceResponse) Set(val *GetInstanceResponse)
- func (v *NullableGetInstanceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetInstanceResponse) Unset()
- type NullableGetUserResponse
- func (v NullableGetUserResponse) Get() *GetUserResponse
- func (v NullableGetUserResponse) IsSet() bool
- func (v NullableGetUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUserResponse) Set(val *GetUserResponse)
- func (v *NullableGetUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUserResponse) Unset()
- type 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 NullableListBackupsResponse
- func (v NullableListBackupsResponse) Get() *ListBackupsResponse
- func (v NullableListBackupsResponse) IsSet() bool
- func (v NullableListBackupsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListBackupsResponse) Set(val *ListBackupsResponse)
- func (v *NullableListBackupsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListBackupsResponse) Unset()
- type NullableListCollationsResponse
- func (v NullableListCollationsResponse) Get() *ListCollationsResponse
- func (v NullableListCollationsResponse) IsSet() bool
- func (v NullableListCollationsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCollationsResponse) Set(val *ListCollationsResponse)
- func (v *NullableListCollationsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCollationsResponse) Unset()
- type 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 NullableListFlavorsResponse
- func (v NullableListFlavorsResponse) Get() *ListFlavorsResponse
- func (v NullableListFlavorsResponse) IsSet() bool
- func (v NullableListFlavorsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListFlavorsResponse) Set(val *ListFlavorsResponse)
- func (v *NullableListFlavorsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListFlavorsResponse) Unset()
- type 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 NullableListUsersResponse
- func (v NullableListUsersResponse) Get() *ListUsersResponse
- func (v NullableListUsersResponse) IsSet() bool
- func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
- func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUsersResponse) Unset()
- type NullableListVersionsResponse
- func (v NullableListVersionsResponse) Get() *ListVersionsResponse
- func (v NullableListVersionsResponse) IsSet() bool
- func (v NullableListVersionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListVersionsResponse) Set(val *ListVersionsResponse)
- func (v *NullableListVersionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListVersionsResponse) Unset()
- type NullablePagination
- type NullablePartialUpdateDatabasePayload
- func (v NullablePartialUpdateDatabasePayload) Get() *PartialUpdateDatabasePayload
- func (v NullablePartialUpdateDatabasePayload) IsSet() bool
- func (v NullablePartialUpdateDatabasePayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateDatabasePayload) Set(val *PartialUpdateDatabasePayload)
- func (v *NullablePartialUpdateDatabasePayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateDatabasePayload) Unset()
- type NullablePartialUpdateInstancePayload
- func (v NullablePartialUpdateInstancePayload) Get() *PartialUpdateInstancePayload
- func (v NullablePartialUpdateInstancePayload) IsSet() bool
- func (v NullablePartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateInstancePayload) Set(val *PartialUpdateInstancePayload)
- func (v *NullablePartialUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateInstancePayload) Unset()
- type NullablePartialUpdateUserPayload
- func (v NullablePartialUpdateUserPayload) Get() *PartialUpdateUserPayload
- func (v NullablePartialUpdateUserPayload) IsSet() bool
- func (v NullablePartialUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateUserPayload) Set(val *PartialUpdateUserPayload)
- func (v *NullablePartialUpdateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateUserPayload) Unset()
- type NullableResetUserPasswordResponse
- func (v NullableResetUserPasswordResponse) Get() *ResetUserPasswordResponse
- func (v NullableResetUserPasswordResponse) IsSet() bool
- func (v NullableResetUserPasswordResponse) MarshalJSON() ([]byte, error)
- func (v *NullableResetUserPasswordResponse) Set(val *ResetUserPasswordResponse)
- func (v *NullableResetUserPasswordResponse) UnmarshalJSON(src []byte) error
- func (v *NullableResetUserPasswordResponse) Unset()
- type NullableState
- type NullableStorage
- type NullableStorageCreate
- func (v NullableStorageCreate) Get() *StorageCreate
- func (v NullableStorageCreate) IsSet() bool
- func (v NullableStorageCreate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageCreate) Set(val *StorageCreate)
- func (v *NullableStorageCreate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageCreate) Unset()
- type NullableStorageUpdate
- func (v NullableStorageUpdate) Get() *StorageUpdate
- func (v NullableStorageUpdate) IsSet() bool
- func (v NullableStorageUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableStorageUpdate) Set(val *StorageUpdate)
- func (v *NullableStorageUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableStorageUpdate) Unset()
- type NullableString
- type NullableTime
- type 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 NullableUpdateDatabasePayload
- func (v NullableUpdateDatabasePayload) Get() *UpdateDatabasePayload
- func (v NullableUpdateDatabasePayload) IsSet() bool
- func (v NullableUpdateDatabasePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatabasePayload) Set(val *UpdateDatabasePayload)
- func (v *NullableUpdateDatabasePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatabasePayload) 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 NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUpdateInstanceProtectionPayload
- func (v NullableUpdateInstanceProtectionPayload) Get() *UpdateInstanceProtectionPayload
- func (v NullableUpdateInstanceProtectionPayload) IsSet() bool
- func (v NullableUpdateInstanceProtectionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstanceProtectionPayload) Set(val *UpdateInstanceProtectionPayload)
- func (v *NullableUpdateInstanceProtectionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstanceProtectionPayload) Unset()
- type NullableUpdateInstanceProtectionResponse
- func (v NullableUpdateInstanceProtectionResponse) Get() *UpdateInstanceProtectionResponse
- func (v NullableUpdateInstanceProtectionResponse) IsSet() bool
- func (v NullableUpdateInstanceProtectionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstanceProtectionResponse) Set(val *UpdateInstanceProtectionResponse)
- func (v *NullableUpdateInstanceProtectionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstanceProtectionResponse) Unset()
- type NullableUpdateUserPayload
- func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
- func (v NullableUpdateUserPayload) IsSet() bool
- func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
- func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserPayload) Unset()
- type NullableUserSort
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type NullableValidationErrorValidationInner
- func (v NullableValidationErrorValidationInner) Get() *ValidationErrorValidationInner
- func (v NullableValidationErrorValidationInner) IsSet() bool
- func (v NullableValidationErrorValidationInner) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorValidationInner) Set(val *ValidationErrorValidationInner)
- func (v *NullableValidationErrorValidationInner) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorValidationInner) Unset()
- type NullableVersion
- type Pagination
- func (o *Pagination) GetPage() int64
- func (o *Pagination) GetPageOk() (*int64, bool)
- func (o *Pagination) GetSize() int64
- func (o *Pagination) GetSizeOk() (*int64, bool)
- func (o *Pagination) GetSort() string
- func (o *Pagination) GetSortOk() (*string, bool)
- func (o *Pagination) GetTotalPages() int64
- func (o *Pagination) GetTotalPagesOk() (*int64, bool)
- func (o *Pagination) GetTotalRows() int64
- func (o *Pagination) GetTotalRowsOk() (*int64, bool)
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetPage(v int64)
- func (o *Pagination) SetSize(v int64)
- func (o *Pagination) SetSort(v string)
- func (o *Pagination) SetTotalPages(v int64)
- func (o *Pagination) SetTotalRows(v int64)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- func (o *Pagination) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateDatabasePayload
- func (o *PartialUpdateDatabasePayload) GetName() string
- func (o *PartialUpdateDatabasePayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateDatabasePayload) GetOwner() string
- func (o *PartialUpdateDatabasePayload) GetOwnerOk() (*string, bool)
- func (o *PartialUpdateDatabasePayload) HasName() bool
- func (o *PartialUpdateDatabasePayload) HasOwner() bool
- func (o PartialUpdateDatabasePayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateDatabasePayload) SetName(v string)
- func (o *PartialUpdateDatabasePayload) SetOwner(v string)
- func (o PartialUpdateDatabasePayload) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateDatabasePayload) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateInstancePayload
- func (o *PartialUpdateInstancePayload) GetBackupSchedule() string
- func (o *PartialUpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetFlavorId() string
- func (o *PartialUpdateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetLabels() map[string]string
- func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *PartialUpdateInstancePayload) GetName() string
- func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) GetNetwork() InstanceNetworkOpt
- func (o *PartialUpdateInstancePayload) GetNetworkOk() (*InstanceNetworkOpt, bool)
- func (o *PartialUpdateInstancePayload) GetRetentionDays() int32
- func (o *PartialUpdateInstancePayload) GetRetentionDaysOk() (*int32, bool)
- func (o *PartialUpdateInstancePayload) GetStorage() StorageUpdate
- func (o *PartialUpdateInstancePayload) GetStorageOk() (*StorageUpdate, bool)
- func (o *PartialUpdateInstancePayload) GetVersion() string
- func (o *PartialUpdateInstancePayload) GetVersionOk() (*string, bool)
- func (o *PartialUpdateInstancePayload) HasBackupSchedule() bool
- func (o *PartialUpdateInstancePayload) HasFlavorId() bool
- func (o *PartialUpdateInstancePayload) HasLabels() bool
- func (o *PartialUpdateInstancePayload) HasName() bool
- func (o *PartialUpdateInstancePayload) HasNetwork() bool
- func (o *PartialUpdateInstancePayload) HasRetentionDays() bool
- func (o *PartialUpdateInstancePayload) HasStorage() bool
- func (o *PartialUpdateInstancePayload) HasVersion() bool
- func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateInstancePayload) SetBackupSchedule(v string)
- func (o *PartialUpdateInstancePayload) SetFlavorId(v string)
- func (o *PartialUpdateInstancePayload) SetLabels(v map[string]string)
- func (o *PartialUpdateInstancePayload) SetName(v string)
- func (o *PartialUpdateInstancePayload) SetNetwork(v InstanceNetworkOpt)
- func (o *PartialUpdateInstancePayload) SetRetentionDays(v int32)
- func (o *PartialUpdateInstancePayload) SetStorage(v StorageUpdate)
- func (o *PartialUpdateInstancePayload) SetVersion(v string)
- func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateUserPayload
- func (o *PartialUpdateUserPayload) GetName() string
- func (o *PartialUpdateUserPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateUserPayload) GetRoles() []string
- func (o *PartialUpdateUserPayload) GetRolesOk() ([]string, bool)
- func (o *PartialUpdateUserPayload) HasName() bool
- func (o *PartialUpdateUserPayload) HasRoles() bool
- func (o PartialUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateUserPayload) SetName(v string)
- func (o *PartialUpdateUserPayload) SetRoles(v []string)
- func (o PartialUpdateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateUserPayload) UnmarshalJSON(data []byte) (err error)
- type ResetUserPasswordResponse
- func (o *ResetUserPasswordResponse) GetName() string
- func (o *ResetUserPasswordResponse) GetNameOk() (*string, bool)
- func (o *ResetUserPasswordResponse) GetPassword() string
- func (o *ResetUserPasswordResponse) GetPasswordOk() (*string, bool)
- func (o *ResetUserPasswordResponse) GetState() string
- func (o *ResetUserPasswordResponse) GetStateOk() (*string, bool)
- func (o ResetUserPasswordResponse) MarshalJSON() ([]byte, error)
- func (o *ResetUserPasswordResponse) SetName(v string)
- func (o *ResetUserPasswordResponse) SetPassword(v string)
- func (o *ResetUserPasswordResponse) SetState(v string)
- func (o ResetUserPasswordResponse) ToMap() (map[string]interface{}, error)
- func (o *ResetUserPasswordResponse) UnmarshalJSON(data []byte) (err error)
- type State
- type Storage
- func (o *Storage) GetClass() string
- func (o *Storage) GetClassOk() (*string, bool)
- func (o *Storage) GetSize() int64
- func (o *Storage) GetSizeOk() (*int64, bool)
- func (o *Storage) HasClass() bool
- func (o *Storage) HasSize() bool
- func (o Storage) MarshalJSON() ([]byte, error)
- func (o *Storage) SetClass(v string)
- func (o *Storage) SetSize(v int64)
- func (o Storage) ToMap() (map[string]interface{}, error)
- func (o *Storage) UnmarshalJSON(data []byte) (err error)
- type StorageCreate
- func (o *StorageCreate) GetClass() string
- func (o *StorageCreate) GetClassOk() (*string, bool)
- func (o *StorageCreate) GetSize() int64
- func (o *StorageCreate) GetSizeOk() (*int64, bool)
- func (o *StorageCreate) HasClass() bool
- func (o StorageCreate) MarshalJSON() ([]byte, error)
- func (o *StorageCreate) SetClass(v string)
- func (o *StorageCreate) SetSize(v int64)
- func (o StorageCreate) ToMap() (map[string]interface{}, error)
- func (o *StorageCreate) UnmarshalJSON(data []byte) (err error)
- type StorageUpdate
- func (o *StorageUpdate) GetSize() int64
- func (o *StorageUpdate) GetSizeOk() (*int64, bool)
- func (o *StorageUpdate) HasSize() bool
- func (o StorageUpdate) MarshalJSON() ([]byte, error)
- func (o *StorageUpdate) SetSize(v int64)
- func (o StorageUpdate) ToMap() (map[string]interface{}, error)
- func (o *StorageUpdate) UnmarshalJSON(data []byte) (err error)
- type 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 UpdateDatabasePayload
- func (o *UpdateDatabasePayload) GetName() string
- func (o *UpdateDatabasePayload) GetNameOk() (*string, bool)
- func (o *UpdateDatabasePayload) GetOwner() string
- func (o *UpdateDatabasePayload) GetOwnerOk() (*string, bool)
- func (o UpdateDatabasePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateDatabasePayload) SetName(v string)
- func (o *UpdateDatabasePayload) SetOwner(v string)
- func (o UpdateDatabasePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateDatabasePayload) 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 UpdateInstancePayload
- func (o *UpdateInstancePayload) GetBackupSchedule() string
- func (o *UpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
- func (o *UpdateInstancePayload) GetFlavorId() string
- func (o *UpdateInstancePayload) GetFlavorIdOk() (*string, bool)
- func (o *UpdateInstancePayload) GetLabels() map[string]string
- func (o *UpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateInstancePayload) GetName() string
- func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePayload) GetNetwork() InstanceNetworkUpdate
- func (o *UpdateInstancePayload) GetNetworkOk() (*InstanceNetworkUpdate, bool)
- func (o *UpdateInstancePayload) GetRetentionDays() int32
- func (o *UpdateInstancePayload) GetRetentionDaysOk() (*int32, bool)
- func (o *UpdateInstancePayload) GetStorage() StorageUpdate
- func (o *UpdateInstancePayload) GetStorageOk() (*StorageUpdate, bool)
- func (o *UpdateInstancePayload) GetVersion() string
- func (o *UpdateInstancePayload) GetVersionOk() (*string, bool)
- func (o *UpdateInstancePayload) HasLabels() bool
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetBackupSchedule(v string)
- func (o *UpdateInstancePayload) SetFlavorId(v string)
- func (o *UpdateInstancePayload) SetLabels(v map[string]string)
- func (o *UpdateInstancePayload) SetName(v string)
- func (o *UpdateInstancePayload) SetNetwork(v InstanceNetworkUpdate)
- func (o *UpdateInstancePayload) SetRetentionDays(v int32)
- func (o *UpdateInstancePayload) SetStorage(v StorageUpdate)
- func (o *UpdateInstancePayload) SetVersion(v string)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstanceProtectionPayload
- func (o *UpdateInstanceProtectionPayload) GetIsDeletable() bool
- func (o *UpdateInstanceProtectionPayload) GetIsDeletableOk() (*bool, bool)
- func (o UpdateInstanceProtectionPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstanceProtectionPayload) SetIsDeletable(v bool)
- func (o UpdateInstanceProtectionPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstanceProtectionPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstanceProtectionResponse
- func (o *UpdateInstanceProtectionResponse) GetIsDeletable() bool
- func (o *UpdateInstanceProtectionResponse) GetIsDeletableOk() (*bool, bool)
- func (o UpdateInstanceProtectionResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateInstanceProtectionResponse) SetIsDeletable(v bool)
- func (o UpdateInstanceProtectionResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstanceProtectionResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateUserPayload
- func (o *UpdateUserPayload) GetName() string
- func (o *UpdateUserPayload) GetNameOk() (*string, bool)
- func (o *UpdateUserPayload) GetRoles() []string
- func (o *UpdateUserPayload) GetRolesOk() ([]string, bool)
- func (o *UpdateUserPayload) HasName() bool
- func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUserPayload) SetName(v string)
- func (o *UpdateUserPayload) SetRoles(v []string)
- func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err error)
- type 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",
"unknown_default_open_api",
}
All allowed values of BackupSort enum
var AllowedDatabaseSortEnumValues = []DatabaseSort{
"created_at.desc",
"created_at.asc",
"database_id.desc",
"database_id.asc",
"database_name.desc",
"database_name.asc",
"database_owner.desc",
"database_owner.asc",
"unknown_default_open_api",
}
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",
"unknown_default_open_api",
}
All allowed values of FlavorSort enum
var AllowedInstanceNetworkAccessScopeEnumValues = []InstanceNetworkAccessScope{
"PUBLIC",
"SNA",
"unknown_default_open_api",
}
All allowed values of InstanceNetworkAccessScope enum
var AllowedInstanceSortEnumValues = []InstanceSort{
"id.desc",
"id.asc",
"is_deletable.desc",
"is_deletable.asc",
"name.asc",
"name.desc",
"state.asc",
"state.desc",
"unknown_default_open_api",
}
All allowed values of InstanceSort enum
var AllowedStateEnumValues = []State{
"READY",
"PENDING",
"PROGRESSING",
"FAILURE",
"UNKNOWN",
"TERMINATING",
"unknown_default_open_api",
}
All allowed values of State enum
var AllowedUserSortEnumValues = []UserSort{
"id.asc",
"id.desc",
"name.desc",
"name.asc",
"state.desc",
"state.asc",
"unknown_default_open_api",
}
All allowed values of UserSort enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT PostgreSQL Flex API API v3.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCloneInstanceRequest ¶
type ApiCloneInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCloneInstanceRequest) CloneInstancePayload ¶
func (r ApiCloneInstanceRequest) CloneInstancePayload(cloneInstancePayload CloneInstancePayload) ApiCloneInstanceRequest
The request body with the parameters for cloning an instance by a point in time into a new instance.
func (ApiCloneInstanceRequest) Execute ¶
func (r ApiCloneInstanceRequest) Execute() (*CloneInstanceResponse, error)
type ApiCreateDatabaseRequest ¶
type ApiCreateDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateDatabaseRequest) CreateDatabasePayload ¶
func (r ApiCreateDatabaseRequest) CreateDatabasePayload(createDatabasePayload CreateDatabasePayload) ApiCreateDatabaseRequest
The request body containing the information for the new database.
func (ApiCreateDatabaseRequest) Execute ¶
func (r ApiCreateDatabaseRequest) Execute() (*CreateDatabaseResponse, error)
type ApiCreateInstanceRequest ¶
type ApiCreateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateInstanceRequest) CreateInstancePayload ¶
func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
The request body with the parameters for the instance creation. Every parameter is required.
func (ApiCreateInstanceRequest) Execute ¶
func (r ApiCreateInstanceRequest) Execute() (*CreateInstanceResponse, error)
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateUserRequest) CreateUserPayload ¶
func (r ApiCreateUserRequest) CreateUserPayload(createUserPayload CreateUserPayload) ApiCreateUserRequest
The request body containing the user details.
func (ApiCreateUserRequest) Execute ¶
func (r ApiCreateUserRequest) Execute() (*CreateUserResponse, error)
type ApiDeleteDatabaseRequest ¶
type ApiDeleteDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteDatabaseRequest) Execute ¶
func (r ApiDeleteDatabaseRequest) Execute() error
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() error
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUserRequest) Execute ¶
func (r ApiDeleteUserRequest) Execute() error
type ApiGetBackupRequest ¶
type ApiGetBackupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetBackupRequest) Execute ¶
func (r ApiGetBackupRequest) Execute() (*BackupData, error)
type ApiGetDatabaseRequest ¶
type ApiGetDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetDatabaseRequest) Execute ¶
func (r ApiGetDatabaseRequest) Execute() (*GetDatabaseResponse, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*GetInstanceResponse, error)
type ApiGetUserRequest ¶
type ApiGetUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*GetUserResponse, error)
type ApiListBackupsRequest ¶
type ApiListBackupsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListBackupsRequest) Execute ¶
func (r ApiListBackupsRequest) Execute() (*ListBackupsResponse, error)
func (ApiListBackupsRequest) Page ¶
func (r ApiListBackupsRequest) Page(page int64) ApiListBackupsRequest
Number of the page of items list to be returned.
func (ApiListBackupsRequest) Size ¶
func (r ApiListBackupsRequest) Size(size int64) ApiListBackupsRequest
Number of items to be returned on each page.
func (ApiListBackupsRequest) Sort ¶
func (r ApiListBackupsRequest) Sort(sort BackupSort) ApiListBackupsRequest
Sorting of the backups to be returned on each page.
type ApiListCollationsRequest ¶
type ApiListCollationsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCollationsRequest) Execute ¶
func (r ApiListCollationsRequest) Execute() (*ListCollationsResponse, error)
type ApiListDatabasesRequest ¶
type ApiListDatabasesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListDatabasesRequest) Execute ¶
func (r ApiListDatabasesRequest) Execute() (*ListDatabasesResponse, error)
func (ApiListDatabasesRequest) Page ¶
func (r ApiListDatabasesRequest) Page(page int64) ApiListDatabasesRequest
Number of the page of items list to be returned.
func (ApiListDatabasesRequest) Size ¶
func (r ApiListDatabasesRequest) Size(size int64) ApiListDatabasesRequest
Number of items to be returned on each page.
func (ApiListDatabasesRequest) Sort ¶
func (r ApiListDatabasesRequest) Sort(sort DatabaseSort) ApiListDatabasesRequest
Sorting of the databases to be returned on each page.
type ApiListFlavorsRequest ¶
type ApiListFlavorsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListFlavorsRequest) Execute ¶
func (r ApiListFlavorsRequest) Execute() (*ListFlavorsResponse, error)
func (ApiListFlavorsRequest) Page ¶
func (r ApiListFlavorsRequest) Page(page int64) ApiListFlavorsRequest
Number of the page of items list to be returned.
func (ApiListFlavorsRequest) Size ¶
func (r ApiListFlavorsRequest) Size(size int64) ApiListFlavorsRequest
Number of items to be returned on each page.
func (ApiListFlavorsRequest) Sort ¶
func (r ApiListFlavorsRequest) Sort(sort FlavorSort) ApiListFlavorsRequest
Sorting of the flavors to be returned on each page.
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
func (ApiListInstancesRequest) Page ¶
func (r ApiListInstancesRequest) Page(page int64) ApiListInstancesRequest
Number of the page of items list to be returned.
func (ApiListInstancesRequest) Size ¶
func (r ApiListInstancesRequest) Size(size int64) ApiListInstancesRequest
Number of items to be returned on each page.
func (ApiListInstancesRequest) Sort ¶
func (r ApiListInstancesRequest) Sort(sort InstanceSort) ApiListInstancesRequest
Sorting of the items to be returned on each page.
type ApiListRolesRequest ¶
type ApiListRolesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRolesRequest) Execute ¶
func (r ApiListRolesRequest) Execute() (*ListRolesResponse, error)
type ApiListUsersRequest ¶
type ApiListUsersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*ListUsersResponse, error)
func (ApiListUsersRequest) Page ¶
func (r ApiListUsersRequest) Page(page int64) ApiListUsersRequest
Number of the page of items list to be returned.
func (ApiListUsersRequest) Size ¶
func (r ApiListUsersRequest) Size(size int64) ApiListUsersRequest
Number of items to be returned on each page.
func (ApiListUsersRequest) Sort ¶
func (r ApiListUsersRequest) Sort(sort UserSort) ApiListUsersRequest
Sorting of the users to be returned on each page.
type ApiListVersionsRequest ¶
type ApiListVersionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListVersionsRequest) Execute ¶
func (r ApiListVersionsRequest) Execute() (*ListVersionsResponse, error)
type ApiPartialUpdateDatabaseRequest ¶
type ApiPartialUpdateDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateDatabaseRequest) Execute ¶
func (r ApiPartialUpdateDatabaseRequest) Execute() error
func (ApiPartialUpdateDatabaseRequest) PartialUpdateDatabasePayload ¶
func (r ApiPartialUpdateDatabaseRequest) PartialUpdateDatabasePayload(partialUpdateDatabasePayload PartialUpdateDatabasePayload) ApiPartialUpdateDatabaseRequest
The request body containing the information for the database update.
type ApiPartialUpdateInstanceRequest ¶
type ApiPartialUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateInstanceRequest) Execute ¶
func (r ApiPartialUpdateInstanceRequest) Execute() error
func (ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload ¶
func (r ApiPartialUpdateInstanceRequest) PartialUpdateInstancePayload(partialUpdateInstancePayload PartialUpdateInstancePayload) ApiPartialUpdateInstanceRequest
The request body with the parameters for updating the instance.
type ApiPartialUpdateUserRequest ¶
type ApiPartialUpdateUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateUserRequest) Execute ¶
func (r ApiPartialUpdateUserRequest) Execute() error
func (ApiPartialUpdateUserRequest) PartialUpdateUserPayload ¶
func (r ApiPartialUpdateUserRequest) PartialUpdateUserPayload(partialUpdateUserPayload PartialUpdateUserPayload) ApiPartialUpdateUserRequest
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 ApiResetUserPasswordRequest ¶
type ApiResetUserPasswordRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiResetUserPasswordRequest) Execute ¶
func (r ApiResetUserPasswordRequest) Execute() (*ResetUserPasswordResponse, error)
type ApiUpdateDatabaseRequest ¶
type ApiUpdateDatabaseRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateDatabaseRequest) Execute ¶
func (r ApiUpdateDatabaseRequest) Execute() error
func (ApiUpdateDatabaseRequest) UpdateDatabasePayload ¶
func (r ApiUpdateDatabaseRequest) UpdateDatabasePayload(updateDatabasePayload UpdateDatabasePayload) ApiUpdateDatabaseRequest
The request body containing the information for the database update.
type ApiUpdateInstanceProtectionRequest ¶
type ApiUpdateInstanceProtectionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceProtectionRequest) Execute ¶
func (r ApiUpdateInstanceProtectionRequest) Execute() (*UpdateInstanceProtectionResponse, error)
func (ApiUpdateInstanceProtectionRequest) UpdateInstanceProtectionPayload ¶
func (r ApiUpdateInstanceProtectionRequest) UpdateInstanceProtectionPayload(updateInstanceProtectionPayload UpdateInstanceProtectionPayload) ApiUpdateInstanceProtectionRequest
The request body with flag isDeletable. Parameter is required.
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() error
func (ApiUpdateInstanceRequest) UpdateInstancePayload ¶
func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
The request body with the parameters for updating the instance
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() error
func (ApiUpdateUserRequest) UpdateUserPayload ¶
func (r ApiUpdateUserRequest) UpdateUserPayload(updateUserPayload UpdateUserPayload) ApiUpdateUserRequest
The Request body containing the updated infos for the user.
type BackupData ¶
type BackupData struct {
// The time when the backup was completed in RFC3339 format.
CompletionTime string `json:"completionTime"`
// The ID of the backup.
Id int64 `json:"id"`
// The name of the backup.
Name string `json:"name"`
// The time until the backup will be retained.
RetainedUntil string `json:"retainedUntil"`
// The size of the backup in bytes.
Size int64 `json:"size"`
// The type of the backup, which can be automated or manual triggered.
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
BackupData struct for BackupData
func NewBackupData ¶
func NewBackupData(completionTime string, id int64, name string, retainedUntil string, size int64, types string) *BackupData
NewBackupData instantiates a new BackupData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupDataWithDefaults ¶
func NewBackupDataWithDefaults() *BackupData
NewBackupDataWithDefaults instantiates a new BackupData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupData) GetCompletionTime ¶
func (o *BackupData) GetCompletionTime() string
GetCompletionTime returns the CompletionTime field value
func (*BackupData) GetCompletionTimeOk ¶
func (o *BackupData) GetCompletionTimeOk() (*string, bool)
GetCompletionTimeOk returns a tuple with the CompletionTime field value and a boolean to check if the value has been set.
func (*BackupData) GetIdOk ¶
func (o *BackupData) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BackupData) GetName ¶
func (o *BackupData) GetName() string
GetName returns the Name field value
func (*BackupData) GetNameOk ¶
func (o *BackupData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupData) GetRetainedUntil ¶
func (o *BackupData) GetRetainedUntil() string
GetRetainedUntil returns the RetainedUntil field value
func (*BackupData) GetRetainedUntilOk ¶
func (o *BackupData) GetRetainedUntilOk() (*string, bool)
GetRetainedUntilOk returns a tuple with the RetainedUntil field value and a boolean to check if the value has been set.
func (*BackupData) GetSize ¶
func (o *BackupData) GetSize() int64
GetSize returns the Size field value
func (*BackupData) GetSizeOk ¶
func (o *BackupData) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*BackupData) GetType ¶
func (o *BackupData) GetType() string
GetType returns the Type field value
func (*BackupData) GetTypeOk ¶
func (o *BackupData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (BackupData) MarshalJSON ¶
func (o BackupData) MarshalJSON() ([]byte, error)
func (*BackupData) SetCompletionTime ¶
func (o *BackupData) SetCompletionTime(v string)
SetCompletionTime sets field value
func (*BackupData) SetRetainedUntil ¶
func (o *BackupData) SetRetainedUntil(v string)
SetRetainedUntil sets field value
func (BackupData) ToMap ¶
func (o BackupData) ToMap() (map[string]interface{}, error)
func (*BackupData) UnmarshalJSON ¶
func (o *BackupData) UnmarshalJSON(data []byte) (err error)
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" BACKUPSORT_UNKNOWN_DEFAULT_OPEN_API BackupSort = "unknown_default_open_api" )
List of backup.sort
func NewBackupSortFromValue ¶
func NewBackupSortFromValue(v string) (*BackupSort, error)
NewBackupSortFromValue returns a pointer to a valid BackupSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BackupSort) IsValid ¶
func (v BackupSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BackupSort) Ptr ¶
func (v BackupSort) Ptr() *BackupSort
Ptr returns reference to backup.sort value
func (*BackupSort) UnmarshalJSON ¶
func (v *BackupSort) UnmarshalJSON(src []byte) error
type CloneInstanceOverrides ¶
type CloneInstanceOverrides struct {
// The storage class for the storage.
Class *string `json:"class,omitempty"`
// The name of the cloned instance. If not provided, the default naming behavior of appending '-clone' to the source instance name is used.
Name *string `json:"name,omitempty"`
// The storage size in Gigabytes.
Size int64 `json:"size"`
AdditionalProperties map[string]interface{}
}
CloneInstanceOverrides struct for CloneInstanceOverrides
func NewCloneInstanceOverrides ¶
func NewCloneInstanceOverrides(size int64) *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) GetClass ¶
func (o *CloneInstanceOverrides) GetClass() string
GetClass returns the Class field value if set, zero value otherwise.
func (*CloneInstanceOverrides) GetClassOk ¶
func (o *CloneInstanceOverrides) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CloneInstanceOverrides) GetName ¶
func (o *CloneInstanceOverrides) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CloneInstanceOverrides) GetNameOk ¶
func (o *CloneInstanceOverrides) 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 (*CloneInstanceOverrides) GetSize ¶
func (o *CloneInstanceOverrides) GetSize() int64
GetSize returns the Size field value
func (*CloneInstanceOverrides) GetSizeOk ¶
func (o *CloneInstanceOverrides) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*CloneInstanceOverrides) HasClass ¶
func (o *CloneInstanceOverrides) HasClass() bool
HasClass returns a boolean if a field has been set.
func (*CloneInstanceOverrides) HasName ¶
func (o *CloneInstanceOverrides) HasName() bool
HasName returns a boolean if a field has been set.
func (CloneInstanceOverrides) MarshalJSON ¶
func (o CloneInstanceOverrides) MarshalJSON() ([]byte, error)
func (*CloneInstanceOverrides) SetClass ¶
func (o *CloneInstanceOverrides) SetClass(v string)
SetClass gets a reference to the given string and assigns it to the Class field.
func (*CloneInstanceOverrides) SetName ¶
func (o *CloneInstanceOverrides) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CloneInstanceOverrides) SetSize ¶
func (o *CloneInstanceOverrides) SetSize(v int64)
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 CloneInstancePayload ¶
type CloneInstancePayload 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"`
AdditionalProperties map[string]interface{}
}
CloneInstancePayload struct for CloneInstancePayload
func NewCloneInstancePayload ¶
func NewCloneInstancePayload(instanceOverrides CloneInstanceOverrides, pointInTime time.Time) *CloneInstancePayload
NewCloneInstancePayload instantiates a new CloneInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloneInstancePayloadWithDefaults ¶
func NewCloneInstancePayloadWithDefaults() *CloneInstancePayload
NewCloneInstancePayloadWithDefaults instantiates a new CloneInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloneInstancePayload) GetInstanceOverrides ¶
func (o *CloneInstancePayload) GetInstanceOverrides() CloneInstanceOverrides
GetInstanceOverrides returns the InstanceOverrides field value
func (*CloneInstancePayload) GetInstanceOverridesOk ¶
func (o *CloneInstancePayload) GetInstanceOverridesOk() (*CloneInstanceOverrides, bool)
GetInstanceOverridesOk returns a tuple with the InstanceOverrides field value and a boolean to check if the value has been set.
func (*CloneInstancePayload) GetPointInTime ¶
func (o *CloneInstancePayload) GetPointInTime() time.Time
GetPointInTime returns the PointInTime field value
func (*CloneInstancePayload) GetPointInTimeOk ¶
func (o *CloneInstancePayload) 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 (CloneInstancePayload) MarshalJSON ¶
func (o CloneInstancePayload) MarshalJSON() ([]byte, error)
func (*CloneInstancePayload) SetInstanceOverrides ¶
func (o *CloneInstancePayload) SetInstanceOverrides(v CloneInstanceOverrides)
SetInstanceOverrides sets field value
func (*CloneInstancePayload) SetPointInTime ¶
func (o *CloneInstancePayload) SetPointInTime(v time.Time)
SetPointInTime sets field value
func (CloneInstancePayload) ToMap ¶
func (o CloneInstancePayload) ToMap() (map[string]interface{}, error)
func (*CloneInstancePayload) UnmarshalJSON ¶
func (o *CloneInstancePayload) UnmarshalJSON(data []byte) (err error)
type CloneInstanceResponse ¶
type CloneInstanceResponse struct {
// The ID of the instance.
Id string `json:"id"`
AdditionalProperties map[string]interface{}
}
CloneInstanceResponse struct for CloneInstanceResponse
func NewCloneInstanceResponse ¶
func NewCloneInstanceResponse(id string) *CloneInstanceResponse
NewCloneInstanceResponse instantiates a new CloneInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloneInstanceResponseWithDefaults ¶
func NewCloneInstanceResponseWithDefaults() *CloneInstanceResponse
NewCloneInstanceResponseWithDefaults instantiates a new CloneInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloneInstanceResponse) GetId ¶
func (o *CloneInstanceResponse) GetId() string
GetId returns the Id field value
func (*CloneInstanceResponse) GetIdOk ¶
func (o *CloneInstanceResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CloneInstanceResponse) MarshalJSON ¶
func (o CloneInstanceResponse) MarshalJSON() ([]byte, error)
func (*CloneInstanceResponse) SetId ¶
func (o *CloneInstanceResponse) SetId(v string)
SetId sets field value
func (CloneInstanceResponse) ToMap ¶
func (o CloneInstanceResponse) ToMap() (map[string]interface{}, error)
func (*CloneInstanceResponse) UnmarshalJSON ¶
func (o *CloneInstanceResponse) UnmarshalJSON(data []byte) (err error)
type CreateDatabasePayload ¶
type CreateDatabasePayload struct {
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner *string `json:"owner,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateDatabasePayload struct for CreateDatabasePayload
func NewCreateDatabasePayload ¶
func NewCreateDatabasePayload(name string) *CreateDatabasePayload
NewCreateDatabasePayload instantiates a new CreateDatabasePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDatabasePayloadWithDefaults ¶
func NewCreateDatabasePayloadWithDefaults() *CreateDatabasePayload
NewCreateDatabasePayloadWithDefaults instantiates a new CreateDatabasePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDatabasePayload) GetName ¶
func (o *CreateDatabasePayload) GetName() string
GetName returns the Name field value
func (*CreateDatabasePayload) GetNameOk ¶
func (o *CreateDatabasePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateDatabasePayload) GetOwner ¶
func (o *CreateDatabasePayload) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*CreateDatabasePayload) GetOwnerOk ¶
func (o *CreateDatabasePayload) 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 (*CreateDatabasePayload) HasOwner ¶
func (o *CreateDatabasePayload) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (CreateDatabasePayload) MarshalJSON ¶
func (o CreateDatabasePayload) MarshalJSON() ([]byte, error)
func (*CreateDatabasePayload) SetName ¶
func (o *CreateDatabasePayload) SetName(v string)
SetName sets field value
func (*CreateDatabasePayload) SetOwner ¶
func (o *CreateDatabasePayload) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (CreateDatabasePayload) ToMap ¶
func (o CreateDatabasePayload) ToMap() (map[string]interface{}, error)
func (*CreateDatabasePayload) UnmarshalJSON ¶
func (o *CreateDatabasePayload) UnmarshalJSON(data []byte) (err error)
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct {
// The id of the database.
Id int64 `json:"id"`
AdditionalProperties map[string]interface{}
}
CreateDatabaseResponse struct for CreateDatabaseResponse
func NewCreateDatabaseResponse ¶
func NewCreateDatabaseResponse(id int64) *CreateDatabaseResponse
NewCreateDatabaseResponse instantiates a new CreateDatabaseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDatabaseResponseWithDefaults ¶
func NewCreateDatabaseResponseWithDefaults() *CreateDatabaseResponse
NewCreateDatabaseResponseWithDefaults instantiates a new CreateDatabaseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDatabaseResponse) GetId ¶
func (o *CreateDatabaseResponse) GetId() int64
GetId returns the Id field value
func (*CreateDatabaseResponse) GetIdOk ¶
func (o *CreateDatabaseResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CreateDatabaseResponse) MarshalJSON ¶
func (o CreateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*CreateDatabaseResponse) SetId ¶
func (o *CreateDatabaseResponse) SetId(v int64)
SetId sets field value
func (CreateDatabaseResponse) ToMap ¶
func (o CreateDatabaseResponse) ToMap() (map[string]interface{}, error)
func (*CreateDatabaseResponse) UnmarshalJSON ¶
func (o *CreateDatabaseResponse) UnmarshalJSON(data []byte) (err error)
type CreateInstancePayload ¶
type CreateInstancePayload struct {
// The schedule for 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"`
// Key-value pairs, 63 characters max, begin and end with an alphanumerical character, may contain dashes (-), underscores (_), dots (.), and alphanumerics between. Key MUST be at least 1 character. Max 64 labels Regex for keys: ^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ Regex for values: ^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$ The stackit- prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetworkCreate `json:"network"`
// How long backups are retained. The value can only be between 32 and 90 days.
RetentionDays NullableInt32 `json:"retentionDays"`
Storage StorageCreate `json:"storage"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3#tag/Version) for supported version parameters.
Version string `json:"version"`
AdditionalProperties map[string]interface{}
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶
func NewCreateInstancePayload(backupSchedule string, flavorId string, name string, network InstanceNetworkCreate, retentionDays NullableInt32, storage StorageCreate, version string) *CreateInstancePayload
NewCreateInstancePayload instantiates a new CreateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstancePayloadWithDefaults ¶
func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload
NewCreateInstancePayloadWithDefaults instantiates a new CreateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstancePayload) GetBackupSchedule ¶
func (o *CreateInstancePayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*CreateInstancePayload) GetBackupScheduleOk ¶
func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetEncryption ¶
func (o *CreateInstancePayload) GetEncryption() InstanceEncryption
GetEncryption returns the Encryption field value if set, zero value otherwise.
func (*CreateInstancePayload) GetEncryptionOk ¶
func (o *CreateInstancePayload) GetEncryptionOk() (*InstanceEncryption, bool)
GetEncryptionOk returns a tuple with the Encryption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetFlavorId ¶
func (o *CreateInstancePayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*CreateInstancePayload) GetFlavorIdOk ¶
func (o *CreateInstancePayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetLabels ¶
func (o *CreateInstancePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateInstancePayload) GetLabelsOk ¶
func (o *CreateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶
func (o *CreateInstancePayload) GetName() string
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶
func (o *CreateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetNetwork ¶
func (o *CreateInstancePayload) GetNetwork() InstanceNetworkCreate
GetNetwork returns the Network field value
func (*CreateInstancePayload) GetNetworkOk ¶
func (o *CreateInstancePayload) GetNetworkOk() (*InstanceNetworkCreate, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetRetentionDays ¶
func (o *CreateInstancePayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateInstancePayload) GetRetentionDaysOk ¶
func (o *CreateInstancePayload) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateInstancePayload) GetStorage ¶
func (o *CreateInstancePayload) GetStorage() StorageCreate
GetStorage returns the Storage field value
func (*CreateInstancePayload) GetStorageOk ¶
func (o *CreateInstancePayload) GetStorageOk() (*StorageCreate, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetVersion ¶
func (o *CreateInstancePayload) GetVersion() string
GetVersion returns the Version field value
func (*CreateInstancePayload) GetVersionOk ¶
func (o *CreateInstancePayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasEncryption ¶
func (o *CreateInstancePayload) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (*CreateInstancePayload) HasLabels ¶
func (o *CreateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (CreateInstancePayload) MarshalJSON ¶
func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
func (*CreateInstancePayload) SetBackupSchedule ¶
func (o *CreateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*CreateInstancePayload) SetEncryption ¶
func (o *CreateInstancePayload) SetEncryption(v InstanceEncryption)
SetEncryption gets a reference to the given InstanceEncryption and assigns it to the Encryption field.
func (*CreateInstancePayload) SetFlavorId ¶
func (o *CreateInstancePayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*CreateInstancePayload) SetLabels ¶
func (o *CreateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateInstancePayload) SetName ¶
func (o *CreateInstancePayload) SetName(v string)
SetName sets field value
func (*CreateInstancePayload) SetNetwork ¶
func (o *CreateInstancePayload) SetNetwork(v InstanceNetworkCreate)
SetNetwork sets field value
func (*CreateInstancePayload) SetRetentionDays ¶
func (o *CreateInstancePayload) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*CreateInstancePayload) SetStorage ¶
func (o *CreateInstancePayload) SetStorage(v StorageCreate)
SetStorage sets field value
func (*CreateInstancePayload) SetVersion ¶
func (o *CreateInstancePayload) SetVersion(v string)
SetVersion sets field value
func (CreateInstancePayload) ToMap ¶
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
func (*CreateInstancePayload) UnmarshalJSON ¶
func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
// The ID of the instance.
Id string `json:"id"`
AdditionalProperties map[string]interface{}
}
CreateInstanceResponse struct for CreateInstanceResponse
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse(id string) *CreateInstanceResponse
NewCreateInstanceResponse instantiates a new CreateInstanceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceResponseWithDefaults ¶
func NewCreateInstanceResponseWithDefaults() *CreateInstanceResponse
NewCreateInstanceResponseWithDefaults instantiates a new CreateInstanceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceResponse) GetId ¶
func (o *CreateInstanceResponse) GetId() string
GetId returns the Id field value
func (*CreateInstanceResponse) GetIdOk ¶
func (o *CreateInstanceResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CreateInstanceResponse) MarshalJSON ¶
func (o CreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*CreateInstanceResponse) SetId ¶
func (o *CreateInstanceResponse) SetId(v string)
SetId sets field value
func (CreateInstanceResponse) ToMap ¶
func (o CreateInstanceResponse) ToMap() (map[string]interface{}, error)
func (*CreateInstanceResponse) UnmarshalJSON ¶
func (o *CreateInstanceResponse) UnmarshalJSON(data []byte) (err error)
type CreateUserPayload ¶
type CreateUserPayload struct {
// The name of the user.
Name string `json:"name"`
// A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles.
Roles []string `json:"roles,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateUserPayload struct for CreateUserPayload
func NewCreateUserPayload ¶
func NewCreateUserPayload(name string) *CreateUserPayload
NewCreateUserPayload instantiates a new CreateUserPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserPayloadWithDefaults ¶
func NewCreateUserPayloadWithDefaults() *CreateUserPayload
NewCreateUserPayloadWithDefaults instantiates a new CreateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserPayload) GetName ¶
func (o *CreateUserPayload) GetName() string
GetName returns the Name field value
func (*CreateUserPayload) GetNameOk ¶
func (o *CreateUserPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateUserPayload) GetRoles ¶
func (o *CreateUserPayload) GetRoles() []string
GetRoles returns the Roles field value if set, zero value otherwise.
func (*CreateUserPayload) GetRolesOk ¶
func (o *CreateUserPayload) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserPayload) HasRoles ¶
func (o *CreateUserPayload) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (CreateUserPayload) MarshalJSON ¶
func (o CreateUserPayload) MarshalJSON() ([]byte, error)
func (*CreateUserPayload) SetName ¶
func (o *CreateUserPayload) SetName(v string)
SetName sets field value
func (*CreateUserPayload) SetRoles ¶
func (o *CreateUserPayload) SetRoles(v []string)
SetRoles gets a reference to the given []string and assigns it to the Roles field.
func (CreateUserPayload) ToMap ¶
func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
func (*CreateUserPayload) UnmarshalJSON ¶
func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
type CreateUserResponse ¶
type CreateUserResponse struct {
// The ID of the user.
Id int64 `json:"id"`
// The name of the user.
Name string `json:"name"`
// The password for the user.
Password string `json:"password"`
// The current state of the user.
State string `json:"state"`
AdditionalProperties map[string]interface{}
}
CreateUserResponse struct for CreateUserResponse
func NewCreateUserResponse ¶
func NewCreateUserResponse(id int64, name string, password string, state 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() int64
GetId returns the Id field value
func (*CreateUserResponse) GetIdOk ¶
func (o *CreateUserResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateUserResponse) 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) GetState ¶
func (o *CreateUserResponse) GetState() string
GetState returns the State field value
func (*CreateUserResponse) GetStateOk ¶
func (o *CreateUserResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State 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 int64)
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) SetState ¶
func (o *CreateUserResponse) SetState(v string)
SetState 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"`
AdditionalProperties map[string]interface{}
}
DatabaseRoles The name and the roles for a database for a user.
func NewDatabaseRoles ¶
func NewDatabaseRoles(name string, roles []string) *DatabaseRoles
NewDatabaseRoles instantiates a new DatabaseRoles object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseRolesWithDefaults ¶
func NewDatabaseRolesWithDefaults() *DatabaseRoles
NewDatabaseRolesWithDefaults instantiates a new DatabaseRoles object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DatabaseRoles) GetName ¶
func (o *DatabaseRoles) GetName() string
GetName returns the Name field value
func (*DatabaseRoles) GetNameOk ¶
func (o *DatabaseRoles) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*DatabaseRoles) GetRoles ¶
func (o *DatabaseRoles) GetRoles() []string
GetRoles returns the Roles field value
func (*DatabaseRoles) GetRolesOk ¶
func (o *DatabaseRoles) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (DatabaseRoles) MarshalJSON ¶
func (o DatabaseRoles) MarshalJSON() ([]byte, error)
func (*DatabaseRoles) SetRoles ¶
func (o *DatabaseRoles) SetRoles(v []string)
SetRoles sets field value
func (DatabaseRoles) ToMap ¶
func (o DatabaseRoles) ToMap() (map[string]interface{}, error)
func (*DatabaseRoles) UnmarshalJSON ¶
func (o *DatabaseRoles) UnmarshalJSON(data []byte) (err error)
type DatabaseSort ¶
type DatabaseSort string
DatabaseSort the model 'DatabaseSort'
const ( DATABASESORT_CREATED_AT_DESC DatabaseSort = "created_at.desc" DATABASESORT_CREATED_AT_ASC DatabaseSort = "created_at.asc" DATABASESORT_DATABASE_ID_DESC DatabaseSort = "database_id.desc" DATABASESORT_DATABASE_ID_ASC DatabaseSort = "database_id.asc" DATABASESORT_DATABASE_NAME_DESC DatabaseSort = "database_name.desc" DATABASESORT_DATABASE_NAME_ASC DatabaseSort = "database_name.asc" DATABASESORT_DATABASE_OWNER_DESC DatabaseSort = "database_owner.desc" DATABASESORT_DATABASE_OWNER_ASC DatabaseSort = "database_owner.asc" DATABASESORT_UNKNOWN_DEFAULT_OPEN_API DatabaseSort = "unknown_default_open_api" )
List of database.sort
func NewDatabaseSortFromValue ¶
func NewDatabaseSortFromValue(v string) (*DatabaseSort, error)
NewDatabaseSortFromValue returns a pointer to a valid DatabaseSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DatabaseSort) IsValid ¶
func (v DatabaseSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DatabaseSort) Ptr ¶
func (v DatabaseSort) Ptr() *DatabaseSort
Ptr returns reference to database.sort value
func (*DatabaseSort) UnmarshalJSON ¶
func (v *DatabaseSort) UnmarshalJSON(src []byte) error
type DefaultAPI ¶
type DefaultAPI interface {
/*
CloneInstance 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 ApiCloneInstanceRequest
*/
CloneInstance(ctx context.Context, projectId string, region string, instanceId string) ApiCloneInstanceRequest
// CloneInstanceExecute executes the request
// @return CloneInstanceResponse
CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
/*
CreateDatabase Create Database
Create database for a user. Note: The name of a valid user must be provided in the 'options' map field using the key 'owner'
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiCreateDatabaseRequest
*/
CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
// CreateDatabaseExecute executes the request
// @return CreateDatabaseResponse
CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
/*
CreateInstance Create Instance
Create a new instance of a 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 ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
// CreateInstanceExecute executes the request
// @return CreateInstanceResponse
CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
/*
CreateUser Create User
Create user for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiCreateUserRequest
*/
CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
// CreateUserExecute executes the request
// @return CreateUserResponse
CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
/*
DeleteDatabase Delete Database
Delete database for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param databaseId The ID of the database.
@return ApiDeleteDatabaseRequest
*/
DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiDeleteDatabaseRequest
// DeleteDatabaseExecute executes the request
DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
/*
DeleteInstance 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 ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
// DeleteInstanceExecute executes the request
DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
/*
DeleteUser Delete User
Delete an user from a specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param userId The ID of the user.
@return ApiDeleteUserRequest
*/
DeleteUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiDeleteUserRequest
// DeleteUserExecute executes the request
DeleteUserExecute(r ApiDeleteUserRequest) error
/*
GetBackup Get specific backup
Get information about a specific backup for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param backupId The ID of the backup.
@return ApiGetBackupRequest
*/
GetBackup(ctx context.Context, projectId string, region string, instanceId string, backupId int64) ApiGetBackupRequest
// GetBackupExecute executes the request
// @return BackupData
GetBackupExecute(r ApiGetBackupRequest) (*BackupData, error)
/*
GetDatabase 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 ApiGetDatabaseRequest
*/
GetDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiGetDatabaseRequest
// GetDatabaseExecute executes the request
// @return GetDatabaseResponse
GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
/*
GetInstance Get Specific Instance
Get information about a specific available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
// GetInstanceExecute executes the request
// @return GetInstanceResponse
GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
/*
GetUser Get User
Get a specific available user for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@param userId The ID of the user.
@return ApiGetUserRequest
*/
GetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiGetUserRequest
// GetUserExecute executes the request
// @return GetUserResponse
GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
/*
ListBackups List backups
List all backups which are available for a specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListBackupsRequest
*/
ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
// ListBackupsExecute executes the request
// @return ListBackupsResponse
ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
/*
ListCollations 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 ApiListCollationsRequest
*/
ListCollations(ctx context.Context, projectId string, region string, instanceId string) ApiListCollationsRequest
// ListCollationsExecute executes the request
// @return ListCollationsResponse
ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
/*
ListDatabases List Databases
List available databases for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListDatabasesRequest
*/
ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
// ListDatabasesExecute executes the request
// @return ListDatabasesResponse
ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
/*
ListFlavors 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 ApiListFlavorsRequest
*/
ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest
// ListFlavorsExecute executes the request
// @return ListFlavorsResponse
ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
/*
ListInstances List Instances
List all available instances for your project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
// ListInstancesExecute executes the request
// @return ListInstancesResponse
ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
/*
ListRoles List Roles
List available roles for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListRolesRequest
*/
ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
// ListRolesExecute executes the request
// @return ListRolesResponse
ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
/*
ListUsers List Users
List available users for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT project ID.
@param region The region which should be addressed
@param instanceId The ID of the instance.
@return ApiListUsersRequest
*/
ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
// ListUsersExecute executes the request
// @return ListUsersResponse
ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
/*
ListVersions 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 ApiListVersionsRequest
*/
ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest
// ListVersionsExecute executes the request
// @return ListVersionsResponse
ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
/*
PartialUpdateDatabase 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 ApiPartialUpdateDatabaseRequest
*/
PartialUpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiPartialUpdateDatabaseRequest
// PartialUpdateDatabaseExecute executes the request
PartialUpdateDatabaseExecute(r ApiPartialUpdateDatabaseRequest) error
/*
PartialUpdateInstance 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 ApiPartialUpdateInstanceRequest
*/
PartialUpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiPartialUpdateInstanceRequest
// PartialUpdateInstanceExecute executes the request
PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) error
/*
PartialUpdateUser 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 ApiPartialUpdateUserRequest
*/
PartialUpdateUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiPartialUpdateUserRequest
// PartialUpdateUserExecute executes the request
PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
/*
ResetUserPassword 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 ApiResetUserPasswordRequest
*/
ResetUserPassword(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiResetUserPasswordRequest
// ResetUserPasswordExecute executes the request
// @return ResetUserPasswordResponse
ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*ResetUserPasswordResponse, error)
/*
UpdateDatabase 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 ApiUpdateDatabaseRequest
*/
UpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiUpdateDatabaseRequest
// UpdateDatabaseExecute executes the request
UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) error
/*
UpdateInstance 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 ApiUpdateInstanceRequest
*/
UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
// UpdateInstanceExecute executes the request
UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
/*
UpdateInstanceProtection Toggle Instance Protection
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 ApiUpdateInstanceProtectionRequest
*/
UpdateInstanceProtection(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceProtectionRequest
// UpdateInstanceProtectionExecute executes the request
// @return UpdateInstanceProtectionResponse
UpdateInstanceProtectionExecute(r ApiUpdateInstanceProtectionRequest) (*UpdateInstanceProtectionResponse, error)
/*
UpdateUser 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 ApiUpdateUserRequest
*/
UpdateUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiUpdateUserRequest
// UpdateUserExecute executes the request
UpdateUserExecute(r ApiUpdateUserRequest) error
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CloneInstance ¶
func (a *DefaultAPIService) CloneInstance(ctx context.Context, projectId string, region string, instanceId string) ApiCloneInstanceRequest
CloneInstance 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 ApiCloneInstanceRequest
func (*DefaultAPIService) CloneInstanceExecute ¶
func (a *DefaultAPIService) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
Execute executes the request
@return CloneInstanceResponse
func (*DefaultAPIService) CreateDatabase ¶
func (a *DefaultAPIService) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
CreateDatabase Create Database
Create database for a user. Note: The name of a valid user must be provided in the 'options' map field using the key 'owner'
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiCreateDatabaseRequest
func (*DefaultAPIService) CreateDatabaseExecute ¶
func (a *DefaultAPIService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
Execute executes the request
@return CreateDatabaseResponse
func (*DefaultAPIService) CreateInstance ¶
func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
CreateInstance Create Instance
Create a new instance of a 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 ApiCreateInstanceRequest
func (*DefaultAPIService) CreateInstanceExecute ¶
func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
Execute executes the request
@return CreateInstanceResponse
func (*DefaultAPIService) CreateUser ¶
func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
CreateUser Create User
Create user for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiCreateUserRequest
func (*DefaultAPIService) CreateUserExecute ¶
func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
Execute executes the request
@return CreateUserResponse
func (*DefaultAPIService) DeleteDatabase ¶
func (a *DefaultAPIService) DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiDeleteDatabaseRequest
DeleteDatabase Delete Database
Delete database for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param databaseId The ID of the database. @return ApiDeleteDatabaseRequest
func (*DefaultAPIService) DeleteDatabaseExecute ¶
func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteInstance ¶
func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance Delete Instance
Delete an available 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 ApiDeleteInstanceRequest
func (*DefaultAPIService) DeleteInstanceExecute ¶
func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteUser ¶
func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiDeleteUserRequest
DeleteUser Delete User
Delete an user from a specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param userId The ID of the user. @return ApiDeleteUserRequest
func (*DefaultAPIService) DeleteUserExecute ¶
func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
Execute executes the request
func (*DefaultAPIService) GetBackup ¶
func (a *DefaultAPIService) GetBackup(ctx context.Context, projectId string, region string, instanceId string, backupId int64) ApiGetBackupRequest
GetBackup Get specific backup
Get information about a specific backup for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param backupId The ID of the backup. @return ApiGetBackupRequest
func (*DefaultAPIService) GetBackupExecute ¶
func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*BackupData, error)
Execute executes the request
@return BackupData
func (*DefaultAPIService) GetDatabase ¶
func (a *DefaultAPIService) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiGetDatabaseRequest
GetDatabase 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 ApiGetDatabaseRequest
func (*DefaultAPIService) GetDatabaseExecute ¶
func (a *DefaultAPIService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
Execute executes the request
@return GetDatabaseResponse
func (*DefaultAPIService) GetInstance ¶
func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
GetInstance Get Specific Instance
Get information about a specific available instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiGetInstanceRequest
func (*DefaultAPIService) GetInstanceExecute ¶
func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
Execute executes the request
@return GetInstanceResponse
func (*DefaultAPIService) GetUser ¶
func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiGetUserRequest
GetUser Get User
Get a specific available user for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @param userId The ID of the user. @return ApiGetUserRequest
func (*DefaultAPIService) GetUserExecute ¶
func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
Execute executes the request
@return GetUserResponse
func (*DefaultAPIService) ListBackups ¶
func (a *DefaultAPIService) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
ListBackups List backups
List all backups which are available for a specific instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListBackupsRequest
func (*DefaultAPIService) ListBackupsExecute ¶
func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
Execute executes the request
@return ListBackupsResponse
func (*DefaultAPIService) ListCollations ¶
func (a *DefaultAPIService) ListCollations(ctx context.Context, projectId string, region string, instanceId string) ApiListCollationsRequest
ListCollations 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 ApiListCollationsRequest
func (*DefaultAPIService) ListCollationsExecute ¶
func (a *DefaultAPIService) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
Execute executes the request
@return ListCollationsResponse
func (*DefaultAPIService) ListDatabases ¶
func (a *DefaultAPIService) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
ListDatabases List Databases
List available databases for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListDatabasesRequest
func (*DefaultAPIService) ListDatabasesExecute ¶
func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
Execute executes the request
@return ListDatabasesResponse
func (*DefaultAPIService) ListFlavors ¶
func (a *DefaultAPIService) ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest
ListFlavors 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 ApiListFlavorsRequest
func (*DefaultAPIService) ListFlavorsExecute ¶
func (a *DefaultAPIService) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
Execute executes the request
@return ListFlavorsResponse
func (*DefaultAPIService) ListInstances ¶
func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
ListInstances List Instances
List all available instances for your project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @return ApiListInstancesRequest
func (*DefaultAPIService) ListInstancesExecute ¶
func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) ListRoles ¶
func (a *DefaultAPIService) ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
ListRoles List Roles
List available roles for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListRolesRequest
func (*DefaultAPIService) ListRolesExecute ¶
func (a *DefaultAPIService) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
Execute executes the request
@return ListRolesResponse
func (*DefaultAPIService) ListUsers ¶
func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
ListUsers List Users
List available users for an instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT project ID. @param region The region which should be addressed @param instanceId The ID of the instance. @return ApiListUsersRequest
func (*DefaultAPIService) ListUsersExecute ¶
func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
Execute executes the request
@return ListUsersResponse
func (*DefaultAPIService) ListVersions ¶
func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest
ListVersions Get Versions
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 ApiListVersionsRequest
func (*DefaultAPIService) ListVersionsExecute ¶
func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
Execute executes the request
@return ListVersionsResponse
func (*DefaultAPIService) PartialUpdateDatabase ¶
func (a *DefaultAPIService) PartialUpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiPartialUpdateDatabaseRequest
PartialUpdateDatabase 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 ApiPartialUpdateDatabaseRequest
func (*DefaultAPIService) PartialUpdateDatabaseExecute ¶
func (a *DefaultAPIService) PartialUpdateDatabaseExecute(r ApiPartialUpdateDatabaseRequest) error
Execute executes the request
func (*DefaultAPIService) PartialUpdateInstance ¶
func (a *DefaultAPIService) PartialUpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiPartialUpdateInstanceRequest
PartialUpdateInstance 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 ApiPartialUpdateInstanceRequest
func (*DefaultAPIService) PartialUpdateInstanceExecute ¶
func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) PartialUpdateUser ¶
func (a *DefaultAPIService) PartialUpdateUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiPartialUpdateUserRequest
PartialUpdateUser 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 ApiPartialUpdateUserRequest
func (*DefaultAPIService) PartialUpdateUserExecute ¶
func (a *DefaultAPIService) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
Execute executes the request
func (*DefaultAPIService) ResetUserPassword ¶
func (a *DefaultAPIService) ResetUserPassword(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiResetUserPasswordRequest
ResetUserPassword 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 ApiResetUserPasswordRequest
func (*DefaultAPIService) ResetUserPasswordExecute ¶
func (a *DefaultAPIService) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*ResetUserPasswordResponse, error)
Execute executes the request
@return ResetUserPasswordResponse
func (*DefaultAPIService) UpdateDatabase ¶
func (a *DefaultAPIService) UpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiUpdateDatabaseRequest
UpdateDatabase 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 ApiUpdateDatabaseRequest
func (*DefaultAPIService) UpdateDatabaseExecute ¶
func (a *DefaultAPIService) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstance ¶
func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
UpdateInstance Update Instance
Updates an available instance of a 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 ApiUpdateInstanceRequest
func (*DefaultAPIService) UpdateInstanceExecute ¶
func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateInstanceProtection ¶
func (a *DefaultAPIService) UpdateInstanceProtection(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceProtectionRequest
UpdateInstanceProtection Toggle Instance Protection
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 ApiUpdateInstanceProtectionRequest
func (*DefaultAPIService) UpdateInstanceProtectionExecute ¶
func (a *DefaultAPIService) UpdateInstanceProtectionExecute(r ApiUpdateInstanceProtectionRequest) (*UpdateInstanceProtectionResponse, error)
Execute executes the request
@return UpdateInstanceProtectionResponse
func (*DefaultAPIService) UpdateUser ¶
func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiUpdateUserRequest
UpdateUser 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 ApiUpdateUserRequest
func (*DefaultAPIService) UpdateUserExecute ¶
func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
Execute executes the request
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CloneInstanceExecuteMock can be populated to implement the behavior of the CloneInstanceExecute function of this mock
CloneInstanceExecuteMock *func(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
// CreateDatabaseExecuteMock can be populated to implement the behavior of the CreateDatabaseExecute function of this mock
CreateDatabaseExecuteMock *func(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
// CreateUserExecuteMock can be populated to implement the behavior of the CreateUserExecute function of this mock
CreateUserExecuteMock *func(r ApiCreateUserRequest) (*CreateUserResponse, error)
// DeleteDatabaseExecuteMock can be populated to implement the behavior of the DeleteDatabaseExecute function of this mock
DeleteDatabaseExecuteMock *func(r ApiDeleteDatabaseRequest) error
// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
// DeleteUserExecuteMock can be populated to implement the behavior of the DeleteUserExecute function of this mock
DeleteUserExecuteMock *func(r ApiDeleteUserRequest) error
// GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock
GetBackupExecuteMock *func(r ApiGetBackupRequest) (*BackupData, error)
// GetDatabaseExecuteMock can be populated to implement the behavior of the GetDatabaseExecute function of this mock
GetDatabaseExecuteMock *func(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
GetUserExecuteMock *func(r ApiGetUserRequest) (*GetUserResponse, error)
// ListBackupsExecuteMock can be populated to implement the behavior of the ListBackupsExecute function of this mock
ListBackupsExecuteMock *func(r ApiListBackupsRequest) (*ListBackupsResponse, error)
// ListCollationsExecuteMock can be populated to implement the behavior of the ListCollationsExecute function of this mock
ListCollationsExecuteMock *func(r ApiListCollationsRequest) (*ListCollationsResponse, error)
// ListDatabasesExecuteMock can be populated to implement the behavior of the ListDatabasesExecute function of this mock
ListDatabasesExecuteMock *func(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
// ListFlavorsExecuteMock can be populated to implement the behavior of the ListFlavorsExecute function of this mock
ListFlavorsExecuteMock *func(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
// ListRolesExecuteMock can be populated to implement the behavior of the ListRolesExecute function of this mock
ListRolesExecuteMock *func(r ApiListRolesRequest) (*ListRolesResponse, error)
// ListUsersExecuteMock can be populated to implement the behavior of the ListUsersExecute function of this mock
ListUsersExecuteMock *func(r ApiListUsersRequest) (*ListUsersResponse, error)
// ListVersionsExecuteMock can be populated to implement the behavior of the ListVersionsExecute function of this mock
ListVersionsExecuteMock *func(r ApiListVersionsRequest) (*ListVersionsResponse, error)
// PartialUpdateDatabaseExecuteMock can be populated to implement the behavior of the PartialUpdateDatabaseExecute function of this mock
PartialUpdateDatabaseExecuteMock *func(r ApiPartialUpdateDatabaseRequest) error
// PartialUpdateInstanceExecuteMock can be populated to implement the behavior of the PartialUpdateInstanceExecute function of this mock
PartialUpdateInstanceExecuteMock *func(r ApiPartialUpdateInstanceRequest) error
// PartialUpdateUserExecuteMock can be populated to implement the behavior of the PartialUpdateUserExecute function of this mock
PartialUpdateUserExecuteMock *func(r ApiPartialUpdateUserRequest) error
// ResetUserPasswordExecuteMock can be populated to implement the behavior of the ResetUserPasswordExecute function of this mock
ResetUserPasswordExecuteMock *func(r ApiResetUserPasswordRequest) (*ResetUserPasswordResponse, error)
// UpdateDatabaseExecuteMock can be populated to implement the behavior of the UpdateDatabaseExecute function of this mock
UpdateDatabaseExecuteMock *func(r ApiUpdateDatabaseRequest) error
// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) error
// UpdateInstanceProtectionExecuteMock can be populated to implement the behavior of the UpdateInstanceProtectionExecute function of this mock
UpdateInstanceProtectionExecuteMock *func(r ApiUpdateInstanceProtectionRequest) (*UpdateInstanceProtectionResponse, error)
// UpdateUserExecuteMock can be populated to implement the behavior of the UpdateUserExecute function of this mock
UpdateUserExecuteMock *func(r ApiUpdateUserRequest) error
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CloneInstance ¶
func (a DefaultAPIServiceMock) CloneInstance(ctx context.Context, projectId string, region string, instanceId string) ApiCloneInstanceRequest
func (DefaultAPIServiceMock) CloneInstanceExecute ¶
func (a DefaultAPIServiceMock) CloneInstanceExecute(r ApiCloneInstanceRequest) (*CloneInstanceResponse, error)
CloneInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CloneInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateDatabase ¶
func (a DefaultAPIServiceMock) CreateDatabase(ctx context.Context, projectId string, region string, instanceId string) ApiCreateDatabaseRequest
func (DefaultAPIServiceMock) CreateDatabaseExecute ¶
func (a DefaultAPIServiceMock) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*CreateDatabaseResponse, error)
CreateDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateInstance ¶
func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string, region string) ApiCreateInstanceRequest
func (DefaultAPIServiceMock) CreateInstanceExecute ¶
func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*CreateInstanceResponse, error)
CreateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateUser ¶
func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, region string, instanceId string) ApiCreateUserRequest
func (DefaultAPIServiceMock) CreateUserExecute ¶
func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*CreateUserResponse, error)
CreateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteDatabase ¶
func (a DefaultAPIServiceMock) DeleteDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiDeleteDatabaseRequest
func (DefaultAPIServiceMock) DeleteDatabaseExecute ¶
func (a DefaultAPIServiceMock) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) error
DeleteDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteInstance ¶
func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, region string, instanceId string) ApiDeleteInstanceRequest
func (DefaultAPIServiceMock) DeleteInstanceExecute ¶
func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
DeleteInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteUser ¶
func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiDeleteUserRequest
func (DefaultAPIServiceMock) DeleteUserExecute ¶
func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
DeleteUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetBackup ¶
func (a DefaultAPIServiceMock) GetBackup(ctx context.Context, projectId string, region string, instanceId string, backupId int64) ApiGetBackupRequest
func (DefaultAPIServiceMock) GetBackupExecute ¶
func (a DefaultAPIServiceMock) GetBackupExecute(r ApiGetBackupRequest) (*BackupData, error)
GetBackupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetBackupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetDatabase ¶
func (a DefaultAPIServiceMock) GetDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiGetDatabaseRequest
func (DefaultAPIServiceMock) GetDatabaseExecute ¶
func (a DefaultAPIServiceMock) GetDatabaseExecute(r ApiGetDatabaseRequest) (*GetDatabaseResponse, error)
GetDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstance ¶
func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, region string, instanceId string) ApiGetInstanceRequest
func (DefaultAPIServiceMock) GetInstanceExecute ¶
func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*GetInstanceResponse, error)
GetInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetUser ¶
func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiGetUserRequest
func (DefaultAPIServiceMock) GetUserExecute ¶
func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, error)
GetUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListBackups ¶
func (a DefaultAPIServiceMock) ListBackups(ctx context.Context, projectId string, region string, instanceId string) ApiListBackupsRequest
func (DefaultAPIServiceMock) ListBackupsExecute ¶
func (a DefaultAPIServiceMock) ListBackupsExecute(r ApiListBackupsRequest) (*ListBackupsResponse, error)
ListBackupsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListBackupsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCollations ¶
func (a DefaultAPIServiceMock) ListCollations(ctx context.Context, projectId string, region string, instanceId string) ApiListCollationsRequest
func (DefaultAPIServiceMock) ListCollationsExecute ¶
func (a DefaultAPIServiceMock) ListCollationsExecute(r ApiListCollationsRequest) (*ListCollationsResponse, error)
ListCollationsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCollationsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListDatabases ¶
func (a DefaultAPIServiceMock) ListDatabases(ctx context.Context, projectId string, region string, instanceId string) ApiListDatabasesRequest
func (DefaultAPIServiceMock) ListDatabasesExecute ¶
func (a DefaultAPIServiceMock) ListDatabasesExecute(r ApiListDatabasesRequest) (*ListDatabasesResponse, error)
ListDatabasesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListDatabasesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListFlavors ¶
func (a DefaultAPIServiceMock) ListFlavors(ctx context.Context, projectId string, region string) ApiListFlavorsRequest
func (DefaultAPIServiceMock) ListFlavorsExecute ¶
func (a DefaultAPIServiceMock) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFlavorsResponse, error)
ListFlavorsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFlavorsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListInstances ¶
func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string, region string) ApiListInstancesRequest
func (DefaultAPIServiceMock) ListInstancesExecute ¶
func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
ListInstancesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstancesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListRoles ¶
func (a DefaultAPIServiceMock) ListRoles(ctx context.Context, projectId string, region string, instanceId string) ApiListRolesRequest
func (DefaultAPIServiceMock) ListRolesExecute ¶
func (a DefaultAPIServiceMock) ListRolesExecute(r ApiListRolesRequest) (*ListRolesResponse, error)
ListRolesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRolesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListUsers ¶
func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, region string, instanceId string) ApiListUsersRequest
func (DefaultAPIServiceMock) ListUsersExecute ¶
func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
ListUsersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListUsersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListVersions ¶
func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, region string) ApiListVersionsRequest
func (DefaultAPIServiceMock) ListVersionsExecute ¶
func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*ListVersionsResponse, error)
ListVersionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVersionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateDatabase ¶
func (a DefaultAPIServiceMock) PartialUpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiPartialUpdateDatabaseRequest
func (DefaultAPIServiceMock) PartialUpdateDatabaseExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateDatabaseExecute(r ApiPartialUpdateDatabaseRequest) error
PartialUpdateDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateInstance ¶
func (a DefaultAPIServiceMock) PartialUpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiPartialUpdateInstanceRequest
func (DefaultAPIServiceMock) PartialUpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateInstanceExecute(r ApiPartialUpdateInstanceRequest) error
PartialUpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateUser ¶
func (a DefaultAPIServiceMock) PartialUpdateUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiPartialUpdateUserRequest
func (DefaultAPIServiceMock) PartialUpdateUserExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateUserExecute(r ApiPartialUpdateUserRequest) error
PartialUpdateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ResetUserPassword ¶
func (a DefaultAPIServiceMock) ResetUserPassword(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiResetUserPasswordRequest
func (DefaultAPIServiceMock) ResetUserPasswordExecute ¶
func (a DefaultAPIServiceMock) ResetUserPasswordExecute(r ApiResetUserPasswordRequest) (*ResetUserPasswordResponse, error)
ResetUserPasswordExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ResetUserPasswordExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateDatabase ¶
func (a DefaultAPIServiceMock) UpdateDatabase(ctx context.Context, projectId string, region string, instanceId string, databaseId int64) ApiUpdateDatabaseRequest
func (DefaultAPIServiceMock) UpdateDatabaseExecute ¶
func (a DefaultAPIServiceMock) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) error
UpdateDatabaseExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateDatabaseExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstance ¶
func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceRequest
func (DefaultAPIServiceMock) UpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
UpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstanceProtection ¶
func (a DefaultAPIServiceMock) UpdateInstanceProtection(ctx context.Context, projectId string, region string, instanceId string) ApiUpdateInstanceProtectionRequest
func (DefaultAPIServiceMock) UpdateInstanceProtectionExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceProtectionExecute(r ApiUpdateInstanceProtectionRequest) (*UpdateInstanceProtectionResponse, error)
UpdateInstanceProtectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceProtectionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateUser ¶
func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, region string, instanceId string, userId int64) ApiUpdateUserRequest
func (DefaultAPIServiceMock) UpdateUserExecute ¶
func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
UpdateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateUserExecuteMock field in the DefaultAPIServiceMock struct.
type Error ¶
type Error struct {
// The http error code of the error.
Code int32 `json:"code"`
// More detailed information about the error.
Message string `json:"message"`
// The trace id of the request.
TraceId string `json:"traceId"`
// Describes in which state the api was when the error happened.
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetTraceId ¶
GetTraceId returns the TraceId field value
func (*Error) GetTraceIdOk ¶
GetTraceIdOk returns a tuple with the TraceId field value and a boolean to check if the value has been set.
func (*Error) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) UnmarshalJSON ¶
type 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" FLAVORSORT_UNKNOWN_DEFAULT_OPEN_API FlavorSort = "unknown_default_open_api" )
List of flavor.sort
func NewFlavorSortFromValue ¶
func NewFlavorSortFromValue(v string) (*FlavorSort, error)
NewFlavorSortFromValue returns a pointer to a valid FlavorSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlavorSort) IsValid ¶
func (v FlavorSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlavorSort) Ptr ¶
func (v FlavorSort) Ptr() *FlavorSort
Ptr returns reference to flavor.sort value
func (*FlavorSort) UnmarshalJSON ¶
func (v *FlavorSort) UnmarshalJSON(src []byte) error
type FlavorStorageClassesStorageClass ¶
type FlavorStorageClassesStorageClass struct {
Class string `json:"class"`
MaxIoPerSec int32 `json:"maxIoPerSec"`
MaxThroughInMb int32 `json:"maxThroughInMb"`
AdditionalProperties map[string]interface{}
}
FlavorStorageClassesStorageClass a storageClass defines how efficient the storage can work
func NewFlavorStorageClassesStorageClass ¶
func NewFlavorStorageClassesStorageClass(class string, maxIoPerSec int32, maxThroughInMb int32) *FlavorStorageClassesStorageClass
NewFlavorStorageClassesStorageClass instantiates a new FlavorStorageClassesStorageClass object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlavorStorageClassesStorageClassWithDefaults ¶
func NewFlavorStorageClassesStorageClassWithDefaults() *FlavorStorageClassesStorageClass
NewFlavorStorageClassesStorageClassWithDefaults instantiates a new FlavorStorageClassesStorageClass object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlavorStorageClassesStorageClass) GetClass ¶
func (o *FlavorStorageClassesStorageClass) GetClass() string
GetClass returns the Class field value
func (*FlavorStorageClassesStorageClass) GetClassOk ¶
func (o *FlavorStorageClassesStorageClass) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field value and a boolean to check if the value has been set.
func (*FlavorStorageClassesStorageClass) GetMaxIoPerSec ¶
func (o *FlavorStorageClassesStorageClass) GetMaxIoPerSec() int32
GetMaxIoPerSec returns the MaxIoPerSec field value
func (*FlavorStorageClassesStorageClass) GetMaxIoPerSecOk ¶
func (o *FlavorStorageClassesStorageClass) GetMaxIoPerSecOk() (*int32, bool)
GetMaxIoPerSecOk returns a tuple with the MaxIoPerSec field value and a boolean to check if the value has been set.
func (*FlavorStorageClassesStorageClass) GetMaxThroughInMb ¶
func (o *FlavorStorageClassesStorageClass) GetMaxThroughInMb() int32
GetMaxThroughInMb returns the MaxThroughInMb field value
func (*FlavorStorageClassesStorageClass) GetMaxThroughInMbOk ¶
func (o *FlavorStorageClassesStorageClass) GetMaxThroughInMbOk() (*int32, bool)
GetMaxThroughInMbOk returns a tuple with the MaxThroughInMb field value and a boolean to check if the value has been set.
func (FlavorStorageClassesStorageClass) MarshalJSON ¶
func (o FlavorStorageClassesStorageClass) MarshalJSON() ([]byte, error)
func (*FlavorStorageClassesStorageClass) SetClass ¶
func (o *FlavorStorageClassesStorageClass) SetClass(v string)
SetClass sets field value
func (*FlavorStorageClassesStorageClass) SetMaxIoPerSec ¶
func (o *FlavorStorageClassesStorageClass) SetMaxIoPerSec(v int32)
SetMaxIoPerSec sets field value
func (*FlavorStorageClassesStorageClass) SetMaxThroughInMb ¶
func (o *FlavorStorageClassesStorageClass) SetMaxThroughInMb(v int32)
SetMaxThroughInMb sets field value
func (FlavorStorageClassesStorageClass) ToMap ¶
func (o FlavorStorageClassesStorageClass) ToMap() (map[string]interface{}, error)
func (*FlavorStorageClassesStorageClass) UnmarshalJSON ¶
func (o *FlavorStorageClassesStorageClass) UnmarshalJSON(data []byte) (err error)
type GetDatabaseResponse ¶
type GetDatabaseResponse struct {
// The id of the database.
Id int64 `json:"id"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
AdditionalProperties map[string]interface{}
}
GetDatabaseResponse struct for GetDatabaseResponse
func NewGetDatabaseResponse ¶
func NewGetDatabaseResponse(id int64, name string, owner string) *GetDatabaseResponse
NewGetDatabaseResponse instantiates a new GetDatabaseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetDatabaseResponseWithDefaults ¶
func NewGetDatabaseResponseWithDefaults() *GetDatabaseResponse
NewGetDatabaseResponseWithDefaults instantiates a new GetDatabaseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetDatabaseResponse) GetId ¶
func (o *GetDatabaseResponse) GetId() int64
GetId returns the Id field value
func (*GetDatabaseResponse) GetIdOk ¶
func (o *GetDatabaseResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetDatabaseResponse) GetName ¶
func (o *GetDatabaseResponse) GetName() string
GetName returns the Name field value
func (*GetDatabaseResponse) GetNameOk ¶
func (o *GetDatabaseResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetDatabaseResponse) GetOwner ¶
func (o *GetDatabaseResponse) GetOwner() string
GetOwner returns the Owner field value
func (*GetDatabaseResponse) GetOwnerOk ¶
func (o *GetDatabaseResponse) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (GetDatabaseResponse) MarshalJSON ¶
func (o GetDatabaseResponse) MarshalJSON() ([]byte, error)
func (*GetDatabaseResponse) SetId ¶
func (o *GetDatabaseResponse) SetId(v int64)
SetId sets field value
func (*GetDatabaseResponse) SetName ¶
func (o *GetDatabaseResponse) SetName(v string)
SetName sets field value
func (*GetDatabaseResponse) SetOwner ¶
func (o *GetDatabaseResponse) SetOwner(v string)
SetOwner sets field value
func (GetDatabaseResponse) ToMap ¶
func (o GetDatabaseResponse) ToMap() (map[string]interface{}, error)
func (*GetDatabaseResponse) UnmarshalJSON ¶
func (o *GetDatabaseResponse) UnmarshalJSON(data []byte) (err error)
type GetInstanceResponse ¶
type GetInstanceResponse 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"`
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"`
// Key-value pairs, 63 characters max, begin and end with an alphanumerical character, may contain dashes (-), underscores (_), dots (.), and alphanumerics between. Key MUST be at least 1 character. Max 64 labels Regex for keys: ^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ Regex for values: ^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$ The stackit- prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetwork `json:"network"`
// How long backups are retained. The value can only be between 32 and 90 days.
RetentionDays NullableInt32 `json:"retentionDays"`
State State `json:"state"`
Storage Storage `json:"storage"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3#tag/Version) for supported version parameters.
Version string `json:"version"`
AdditionalProperties map[string]interface{}
}
GetInstanceResponse struct for GetInstanceResponse
func NewGetInstanceResponse ¶
func NewGetInstanceResponse(backupSchedule string, connectionInfo InstanceConnectionInfo, flavorId string, id string, isDeletable bool, name string, network InstanceNetwork, retentionDays NullableInt32, state State, 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) 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) GetLabels ¶
func (o *GetInstanceResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetInstanceResponse) GetLabelsOk ¶
func (o *GetInstanceResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetName ¶
func (o *GetInstanceResponse) GetName() string
GetName returns the Name field value
func (*GetInstanceResponse) GetNameOk ¶
func (o *GetInstanceResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetNetwork ¶
func (o *GetInstanceResponse) GetNetwork() InstanceNetwork
GetNetwork returns the Network field value
func (*GetInstanceResponse) GetNetworkOk ¶
func (o *GetInstanceResponse) GetNetworkOk() (*InstanceNetwork, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetRetentionDays ¶
func (o *GetInstanceResponse) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value If the value is explicit nil, the zero value for int32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GetInstanceResponse) GetState ¶
func (o *GetInstanceResponse) GetState() State
GetState returns the State field value
func (*GetInstanceResponse) GetStateOk ¶
func (o *GetInstanceResponse) GetStateOk() (*State, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetStorage ¶
func (o *GetInstanceResponse) GetStorage() Storage
GetStorage returns the Storage field value
func (*GetInstanceResponse) GetStorageOk ¶
func (o *GetInstanceResponse) GetStorageOk() (*Storage, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*GetInstanceResponse) GetVersion ¶
func (o *GetInstanceResponse) GetVersion() 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) HasEncryption ¶
func (o *GetInstanceResponse) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (*GetInstanceResponse) HasLabels ¶
func (o *GetInstanceResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (GetInstanceResponse) MarshalJSON ¶
func (o GetInstanceResponse) MarshalJSON() ([]byte, error)
func (*GetInstanceResponse) SetBackupSchedule ¶
func (o *GetInstanceResponse) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*GetInstanceResponse) 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) SetLabels ¶
func (o *GetInstanceResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetInstanceResponse) SetName ¶
func (o *GetInstanceResponse) SetName(v string)
SetName sets field value
func (*GetInstanceResponse) SetNetwork ¶
func (o *GetInstanceResponse) SetNetwork(v InstanceNetwork)
SetNetwork sets field value
func (*GetInstanceResponse) SetRetentionDays ¶
func (o *GetInstanceResponse) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*GetInstanceResponse) SetState ¶
func (o *GetInstanceResponse) SetState(v State)
SetState sets field value
func (*GetInstanceResponse) SetStorage ¶
func (o *GetInstanceResponse) SetStorage(v Storage)
SetStorage sets field value
func (*GetInstanceResponse) SetVersion ¶
func (o *GetInstanceResponse) SetVersion(v 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 int64 `json:"id"`
// The name of the user.
Name string `json:"name"`
// A list of user roles.
Roles []string `json:"roles"`
// The current state of the user.
State string `json:"state"`
AdditionalProperties map[string]interface{}
}
GetUserResponse struct for GetUserResponse
func NewGetUserResponse ¶
func NewGetUserResponse(id int64, name string, roles []string, state 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() int64
GetId returns the Id field value
func (*GetUserResponse) GetIdOk ¶
func (o *GetUserResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetUserResponse) 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() []string
GetRoles returns the Roles field value
func (*GetUserResponse) GetRolesOk ¶
func (o *GetUserResponse) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*GetUserResponse) GetState ¶
func (o *GetUserResponse) GetState() string
GetState returns the State field value
func (*GetUserResponse) GetStateOk ¶
func (o *GetUserResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State 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 []string)
SetRoles sets field value
func (*GetUserResponse) SetState ¶
func (o *GetUserResponse) SetState(v string)
SetState 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 InstanceConnectionInfo ¶
type InstanceConnectionInfo struct {
Write InstanceConnectionInfoWrite `json:"write"`
AdditionalProperties map[string]interface{}
}
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"`
AdditionalProperties map[string]interface{}
}
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"`
AdditionalProperties map[string]interface{}
}
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"`
AdditionalProperties map[string]interface{}
}
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" INSTANCENETWORKACCESSSCOPE_UNKNOWN_DEFAULT_OPEN_API InstanceNetworkAccessScope = "unknown_default_open_api" )
List of instance.network.accessScope
func NewInstanceNetworkAccessScopeFromValue ¶
func NewInstanceNetworkAccessScopeFromValue(v string) (*InstanceNetworkAccessScope, error)
NewInstanceNetworkAccessScopeFromValue returns a pointer to a valid InstanceNetworkAccessScope for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceNetworkAccessScope) IsValid ¶
func (v InstanceNetworkAccessScope) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceNetworkAccessScope) Ptr ¶
func (v InstanceNetworkAccessScope) Ptr() *InstanceNetworkAccessScope
Ptr returns reference to instance.network.accessScope value
func (*InstanceNetworkAccessScope) UnmarshalJSON ¶
func (v *InstanceNetworkAccessScope) UnmarshalJSON(src []byte) error
type InstanceNetworkCreate ¶
type InstanceNetworkCreate struct {
AccessScope *InstanceNetworkAccessScope `json:"accessScope,omitempty"`
// List of IPV4 cidr.
Acl []string `json:"acl"`
AdditionalProperties map[string]interface{}
}
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"`
AdditionalProperties map[string]interface{}
}
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)
func (*InstanceNetworkOpt) UnmarshalJSON ¶
func (o *InstanceNetworkOpt) UnmarshalJSON(data []byte) (err error)
type InstanceNetworkUpdate ¶
type InstanceNetworkUpdate struct {
// List of IPV4 cidr.
Acl []string `json:"acl"`
AdditionalProperties map[string]interface{}
}
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_STATE_ASC InstanceSort = "state.asc" INSTANCESORT_STATE_DESC InstanceSort = "state.desc" INSTANCESORT_UNKNOWN_DEFAULT_OPEN_API InstanceSort = "unknown_default_open_api" )
List of instance.sort
func NewInstanceSortFromValue ¶
func NewInstanceSortFromValue(v string) (*InstanceSort, error)
NewInstanceSortFromValue returns a pointer to a valid InstanceSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceSort) IsValid ¶
func (v InstanceSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceSort) Ptr ¶
func (v InstanceSort) Ptr() *InstanceSort
Ptr returns reference to instance.sort value
func (*InstanceSort) UnmarshalJSON ¶
func (v *InstanceSort) UnmarshalJSON(src []byte) error
type InstanceStorageRange ¶
type InstanceStorageRange struct {
// The maximum available amount of storage.
Max int32 `json:"max"`
// The minimum available amount of storage.
Min int32 `json:"min"`
AdditionalProperties map[string]interface{}
}
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 ListBackupsResponse ¶
type ListBackupsResponse struct {
// The list containing the information about the backups.
Backups []BackupData `json:"backups"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListBackupsResponse struct for ListBackupsResponse
func NewListBackupsResponse ¶
func NewListBackupsResponse(backups []BackupData, pagination Pagination) *ListBackupsResponse
NewListBackupsResponse instantiates a new ListBackupsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListBackupsResponseWithDefaults ¶
func NewListBackupsResponseWithDefaults() *ListBackupsResponse
NewListBackupsResponseWithDefaults instantiates a new ListBackupsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListBackupsResponse) GetBackups ¶
func (o *ListBackupsResponse) GetBackups() []BackupData
GetBackups returns the Backups field value
func (*ListBackupsResponse) GetBackupsOk ¶
func (o *ListBackupsResponse) GetBackupsOk() ([]BackupData, bool)
GetBackupsOk returns a tuple with the Backups field value and a boolean to check if the value has been set.
func (*ListBackupsResponse) GetPagination ¶
func (o *ListBackupsResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListBackupsResponse) GetPaginationOk ¶
func (o *ListBackupsResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListBackupsResponse) MarshalJSON ¶
func (o ListBackupsResponse) MarshalJSON() ([]byte, error)
func (*ListBackupsResponse) SetBackups ¶
func (o *ListBackupsResponse) SetBackups(v []BackupData)
SetBackups sets field value
func (*ListBackupsResponse) SetPagination ¶
func (o *ListBackupsResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListBackupsResponse) ToMap ¶
func (o ListBackupsResponse) ToMap() (map[string]interface{}, error)
func (*ListBackupsResponse) UnmarshalJSON ¶
func (o *ListBackupsResponse) UnmarshalJSON(data []byte) (err error)
type ListCollationsResponse ¶
type ListCollationsResponse struct {
// List of collations available for the instance.
Collations []string `json:"collations"`
AdditionalProperties map[string]interface{}
}
ListCollationsResponse struct for ListCollationsResponse
func NewListCollationsResponse ¶
func NewListCollationsResponse(collations []string) *ListCollationsResponse
NewListCollationsResponse instantiates a new ListCollationsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListCollationsResponseWithDefaults ¶
func NewListCollationsResponseWithDefaults() *ListCollationsResponse
NewListCollationsResponseWithDefaults instantiates a new ListCollationsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListCollationsResponse) GetCollations ¶
func (o *ListCollationsResponse) GetCollations() []string
GetCollations returns the Collations field value
func (*ListCollationsResponse) GetCollationsOk ¶
func (o *ListCollationsResponse) GetCollationsOk() ([]string, bool)
GetCollationsOk returns a tuple with the Collations field value and a boolean to check if the value has been set.
func (ListCollationsResponse) MarshalJSON ¶
func (o ListCollationsResponse) MarshalJSON() ([]byte, error)
func (*ListCollationsResponse) SetCollations ¶
func (o *ListCollationsResponse) SetCollations(v []string)
SetCollations sets field value
func (ListCollationsResponse) ToMap ¶
func (o ListCollationsResponse) ToMap() (map[string]interface{}, error)
func (*ListCollationsResponse) UnmarshalJSON ¶
func (o *ListCollationsResponse) UnmarshalJSON(data []byte) (err error)
type ListDatabase ¶
type ListDatabase struct {
// The id of the database.
Id int64 `json:"id"`
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
AdditionalProperties map[string]interface{}
}
ListDatabase struct for ListDatabase
func NewListDatabase ¶
func NewListDatabase(id int64, name string, owner string) *ListDatabase
NewListDatabase instantiates a new ListDatabase object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDatabaseWithDefaults ¶
func NewListDatabaseWithDefaults() *ListDatabase
NewListDatabaseWithDefaults instantiates a new ListDatabase object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDatabase) GetIdOk ¶
func (o *ListDatabase) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListDatabase) GetName ¶
func (o *ListDatabase) GetName() string
GetName returns the Name field value
func (*ListDatabase) GetNameOk ¶
func (o *ListDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListDatabase) GetOwner ¶
func (o *ListDatabase) GetOwner() string
GetOwner returns the Owner field value
func (*ListDatabase) GetOwnerOk ¶
func (o *ListDatabase) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (ListDatabase) MarshalJSON ¶
func (o ListDatabase) MarshalJSON() ([]byte, error)
func (ListDatabase) ToMap ¶
func (o ListDatabase) ToMap() (map[string]interface{}, error)
func (*ListDatabase) UnmarshalJSON ¶
func (o *ListDatabase) UnmarshalJSON(data []byte) (err error)
type ListDatabasesResponse ¶
type ListDatabasesResponse struct {
// A list containing all databases for the instance.
Databases []ListDatabase `json:"databases"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListDatabasesResponse struct for ListDatabasesResponse
func NewListDatabasesResponse ¶
func NewListDatabasesResponse(databases []ListDatabase, pagination Pagination) *ListDatabasesResponse
NewListDatabasesResponse instantiates a new ListDatabasesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDatabasesResponseWithDefaults ¶
func NewListDatabasesResponseWithDefaults() *ListDatabasesResponse
NewListDatabasesResponseWithDefaults instantiates a new ListDatabasesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDatabasesResponse) GetDatabases ¶
func (o *ListDatabasesResponse) GetDatabases() []ListDatabase
GetDatabases returns the Databases field value
func (*ListDatabasesResponse) GetDatabasesOk ¶
func (o *ListDatabasesResponse) GetDatabasesOk() ([]ListDatabase, bool)
GetDatabasesOk returns a tuple with the Databases field value and a boolean to check if the value has been set.
func (*ListDatabasesResponse) GetPagination ¶
func (o *ListDatabasesResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListDatabasesResponse) GetPaginationOk ¶
func (o *ListDatabasesResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListDatabasesResponse) MarshalJSON ¶
func (o ListDatabasesResponse) MarshalJSON() ([]byte, error)
func (*ListDatabasesResponse) SetDatabases ¶
func (o *ListDatabasesResponse) SetDatabases(v []ListDatabase)
SetDatabases sets field value
func (*ListDatabasesResponse) SetPagination ¶
func (o *ListDatabasesResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListDatabasesResponse) ToMap ¶
func (o ListDatabasesResponse) ToMap() (map[string]interface{}, error)
func (*ListDatabasesResponse) UnmarshalJSON ¶
func (o *ListDatabasesResponse) UnmarshalJSON(data []byte) (err error)
type ListFlavors ¶
type ListFlavors struct {
// The cpu count of the instance.
Cpu int64 `json:"cpu"`
// The flavor description.
Description string `json:"description"`
// The id of the instance flavor.
Id string `json:"id"`
// maximum storage which can be ordered for the flavor in Gigabyte.
MaxGB int32 `json:"maxGB"`
// The memory of the instance in Gibibyte.
Memory int64 `json:"memory"`
// minimum storage which is required to order in Gigabyte.
MinGB int32 `json:"minGB"`
// defines the nodeType it can be either single or replica
NodeType string `json:"nodeType"`
// maximum storage which can be ordered for the flavor in Gigabyte.
StorageClasses []FlavorStorageClassesStorageClass `json:"storageClasses"`
AdditionalProperties map[string]interface{}
}
ListFlavors The flavor of the instance containing the technical features.
func NewListFlavors ¶
func NewListFlavors(cpu int64, description string, id string, maxGB int32, memory int64, minGB int32, nodeType string, storageClasses []FlavorStorageClassesStorageClass) *ListFlavors
NewListFlavors instantiates a new ListFlavors object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListFlavorsWithDefaults ¶
func NewListFlavorsWithDefaults() *ListFlavors
NewListFlavorsWithDefaults instantiates a new ListFlavors object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListFlavors) GetCpu ¶
func (o *ListFlavors) GetCpu() int64
GetCpu returns the Cpu field value
func (*ListFlavors) GetCpuOk ¶
func (o *ListFlavors) GetCpuOk() (*int64, bool)
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*ListFlavors) GetDescription ¶
func (o *ListFlavors) GetDescription() string
GetDescription returns the Description field value
func (*ListFlavors) GetDescriptionOk ¶
func (o *ListFlavors) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ListFlavors) GetIdOk ¶
func (o *ListFlavors) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListFlavors) GetMaxGB ¶
func (o *ListFlavors) GetMaxGB() int32
GetMaxGB returns the MaxGB field value
func (*ListFlavors) GetMaxGBOk ¶
func (o *ListFlavors) GetMaxGBOk() (*int32, bool)
GetMaxGBOk returns a tuple with the MaxGB field value and a boolean to check if the value has been set.
func (*ListFlavors) GetMemory ¶
func (o *ListFlavors) GetMemory() int64
GetMemory returns the Memory field value
func (*ListFlavors) GetMemoryOk ¶
func (o *ListFlavors) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*ListFlavors) GetMinGB ¶
func (o *ListFlavors) GetMinGB() int32
GetMinGB returns the MinGB field value
func (*ListFlavors) GetMinGBOk ¶
func (o *ListFlavors) GetMinGBOk() (*int32, bool)
GetMinGBOk returns a tuple with the MinGB field value and a boolean to check if the value has been set.
func (*ListFlavors) GetNodeType ¶
func (o *ListFlavors) GetNodeType() string
GetNodeType returns the NodeType field value
func (*ListFlavors) GetNodeTypeOk ¶
func (o *ListFlavors) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*ListFlavors) GetStorageClasses ¶
func (o *ListFlavors) GetStorageClasses() []FlavorStorageClassesStorageClass
GetStorageClasses returns the StorageClasses field value
func (*ListFlavors) GetStorageClassesOk ¶
func (o *ListFlavors) GetStorageClassesOk() ([]FlavorStorageClassesStorageClass, bool)
GetStorageClassesOk returns a tuple with the StorageClasses field value and a boolean to check if the value has been set.
func (ListFlavors) MarshalJSON ¶
func (o ListFlavors) MarshalJSON() ([]byte, error)
func (*ListFlavors) SetDescription ¶
func (o *ListFlavors) SetDescription(v string)
SetDescription sets field value
func (*ListFlavors) SetNodeType ¶
func (o *ListFlavors) SetNodeType(v string)
SetNodeType sets field value
func (*ListFlavors) SetStorageClasses ¶
func (o *ListFlavors) SetStorageClasses(v []FlavorStorageClassesStorageClass)
SetStorageClasses sets field value
func (ListFlavors) ToMap ¶
func (o ListFlavors) ToMap() (map[string]interface{}, error)
func (*ListFlavors) UnmarshalJSON ¶
func (o *ListFlavors) UnmarshalJSON(data []byte) (err error)
type ListFlavorsResponse ¶
type ListFlavorsResponse struct {
// List of flavors available for the project.
Flavors []ListFlavors `json:"flavors"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListFlavorsResponse struct for ListFlavorsResponse
func NewListFlavorsResponse ¶
func NewListFlavorsResponse(flavors []ListFlavors, pagination Pagination) *ListFlavorsResponse
NewListFlavorsResponse instantiates a new ListFlavorsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListFlavorsResponseWithDefaults ¶
func NewListFlavorsResponseWithDefaults() *ListFlavorsResponse
NewListFlavorsResponseWithDefaults instantiates a new ListFlavorsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListFlavorsResponse) GetFlavors ¶
func (o *ListFlavorsResponse) GetFlavors() []ListFlavors
GetFlavors returns the Flavors field value
func (*ListFlavorsResponse) GetFlavorsOk ¶
func (o *ListFlavorsResponse) GetFlavorsOk() ([]ListFlavors, bool)
GetFlavorsOk returns a tuple with the Flavors field value and a boolean to check if the value has been set.
func (*ListFlavorsResponse) GetPagination ¶
func (o *ListFlavorsResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListFlavorsResponse) GetPaginationOk ¶
func (o *ListFlavorsResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListFlavorsResponse) MarshalJSON ¶
func (o ListFlavorsResponse) MarshalJSON() ([]byte, error)
func (*ListFlavorsResponse) SetFlavors ¶
func (o *ListFlavorsResponse) SetFlavors(v []ListFlavors)
SetFlavors sets field value
func (*ListFlavorsResponse) SetPagination ¶
func (o *ListFlavorsResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListFlavorsResponse) ToMap ¶
func (o ListFlavorsResponse) ToMap() (map[string]interface{}, error)
func (*ListFlavorsResponse) UnmarshalJSON ¶
func (o *ListFlavorsResponse) UnmarshalJSON(data []byte) (err error)
type ListInstance ¶
type ListInstance struct {
// The ID of the instance.
Id string `json:"id"`
// Whether the instance can be deleted or not.
IsDeletable bool `json:"isDeletable"`
// The name of the instance.
Name string `json:"name"`
State State `json:"state"`
AdditionalProperties map[string]interface{}
}
ListInstance struct for ListInstance
func NewListInstance ¶
func NewListInstance(id string, isDeletable bool, name string, state State) *ListInstance
NewListInstance instantiates a new ListInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInstanceWithDefaults ¶
func NewListInstanceWithDefaults() *ListInstance
NewListInstanceWithDefaults instantiates a new ListInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInstance) GetIdOk ¶
func (o *ListInstance) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListInstance) GetIsDeletable ¶
func (o *ListInstance) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*ListInstance) GetIsDeletableOk ¶
func (o *ListInstance) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (*ListInstance) GetName ¶
func (o *ListInstance) GetName() string
GetName returns the Name field value
func (*ListInstance) GetNameOk ¶
func (o *ListInstance) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListInstance) GetState ¶
func (o *ListInstance) GetState() State
GetState returns the State field value
func (*ListInstance) GetStateOk ¶
func (o *ListInstance) GetStateOk() (*State, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (ListInstance) MarshalJSON ¶
func (o ListInstance) MarshalJSON() ([]byte, error)
func (*ListInstance) SetIsDeletable ¶
func (o *ListInstance) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (ListInstance) ToMap ¶
func (o ListInstance) ToMap() (map[string]interface{}, error)
func (*ListInstance) UnmarshalJSON ¶
func (o *ListInstance) UnmarshalJSON(data []byte) (err error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
// List of owned instances and their current state.
Instances []ListInstance `json:"instances"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ListInstancesResponse struct for ListInstancesResponse
func NewListInstancesResponse ¶
func NewListInstancesResponse(instances []ListInstance, pagination Pagination) *ListInstancesResponse
NewListInstancesResponse instantiates a new ListInstancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInstancesResponseWithDefaults ¶
func NewListInstancesResponseWithDefaults() *ListInstancesResponse
NewListInstancesResponseWithDefaults instantiates a new ListInstancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInstancesResponse) GetInstances ¶
func (o *ListInstancesResponse) GetInstances() []ListInstance
GetInstances returns the Instances field value
func (*ListInstancesResponse) GetInstancesOk ¶
func (o *ListInstancesResponse) GetInstancesOk() ([]ListInstance, bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (*ListInstancesResponse) GetPagination ¶
func (o *ListInstancesResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListInstancesResponse) GetPaginationOk ¶
func (o *ListInstancesResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListInstancesResponse) MarshalJSON ¶
func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
func (*ListInstancesResponse) SetInstances ¶
func (o *ListInstancesResponse) SetInstances(v []ListInstance)
SetInstances sets field value
func (*ListInstancesResponse) SetPagination ¶
func (o *ListInstancesResponse) SetPagination(v Pagination)
SetPagination sets field value
func (ListInstancesResponse) ToMap ¶
func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
func (*ListInstancesResponse) UnmarshalJSON ¶
func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
type ListRolesResponse ¶
type ListRolesResponse struct {
// List of all role names available in the instance
Roles []string `json:"roles"`
AdditionalProperties map[string]interface{}
}
ListRolesResponse struct for ListRolesResponse
func NewListRolesResponse ¶
func NewListRolesResponse(roles []string) *ListRolesResponse
NewListRolesResponse instantiates a new ListRolesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListRolesResponseWithDefaults ¶
func NewListRolesResponseWithDefaults() *ListRolesResponse
NewListRolesResponseWithDefaults instantiates a new ListRolesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListRolesResponse) GetRoles ¶
func (o *ListRolesResponse) GetRoles() []string
GetRoles returns the Roles field value
func (*ListRolesResponse) GetRolesOk ¶
func (o *ListRolesResponse) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (ListRolesResponse) MarshalJSON ¶
func (o ListRolesResponse) MarshalJSON() ([]byte, error)
func (*ListRolesResponse) SetRoles ¶
func (o *ListRolesResponse) SetRoles(v []string)
SetRoles sets field value
func (ListRolesResponse) ToMap ¶
func (o ListRolesResponse) ToMap() (map[string]interface{}, error)
func (*ListRolesResponse) UnmarshalJSON ¶
func (o *ListRolesResponse) UnmarshalJSON(data []byte) (err error)
type ListUser ¶
type ListUser struct {
// The ID of the user.
Id int64 `json:"id"`
// The name of the user.
Name string `json:"name"`
// The current state of the user.
State string `json:"state"`
AdditionalProperties map[string]interface{}
}
ListUser struct for ListUser
func NewListUser ¶
NewListUser instantiates a new ListUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUserWithDefaults ¶
func NewListUserWithDefaults() *ListUser
NewListUserWithDefaults instantiates a new ListUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListUser) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListUser) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ListUser) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (ListUser) MarshalJSON ¶
func (*ListUser) UnmarshalJSON ¶
type ListUsersResponse ¶
type ListUsersResponse struct {
Pagination Pagination `json:"pagination"`
// List of all users inside an instance
Users []ListUser `json:"users"`
AdditionalProperties map[string]interface{}
}
ListUsersResponse struct for ListUsersResponse
func NewListUsersResponse ¶
func NewListUsersResponse(pagination Pagination, users []ListUser) *ListUsersResponse
NewListUsersResponse instantiates a new ListUsersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUsersResponseWithDefaults ¶
func NewListUsersResponseWithDefaults() *ListUsersResponse
NewListUsersResponseWithDefaults instantiates a new ListUsersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListUsersResponse) GetPagination ¶
func (o *ListUsersResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ListUsersResponse) GetPaginationOk ¶
func (o *ListUsersResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*ListUsersResponse) GetUsers ¶
func (o *ListUsersResponse) GetUsers() []ListUser
GetUsers returns the Users field value
func (*ListUsersResponse) GetUsersOk ¶
func (o *ListUsersResponse) GetUsersOk() ([]ListUser, bool)
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (ListUsersResponse) MarshalJSON ¶
func (o ListUsersResponse) MarshalJSON() ([]byte, error)
func (*ListUsersResponse) SetPagination ¶
func (o *ListUsersResponse) SetPagination(v Pagination)
SetPagination sets field value
func (*ListUsersResponse) SetUsers ¶
func (o *ListUsersResponse) SetUsers(v []ListUser)
SetUsers sets field value
func (ListUsersResponse) ToMap ¶
func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
func (*ListUsersResponse) UnmarshalJSON ¶
func (o *ListUsersResponse) UnmarshalJSON(data []byte) (err error)
type ListVersionsResponse ¶
type ListVersionsResponse struct {
// A list containing available postgres versions.
Versions []Version `json:"versions"`
AdditionalProperties map[string]interface{}
}
ListVersionsResponse struct for ListVersionsResponse
func NewListVersionsResponse ¶
func NewListVersionsResponse(versions []Version) *ListVersionsResponse
NewListVersionsResponse instantiates a new ListVersionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListVersionsResponseWithDefaults ¶
func NewListVersionsResponseWithDefaults() *ListVersionsResponse
NewListVersionsResponseWithDefaults instantiates a new ListVersionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListVersionsResponse) GetVersions ¶
func (o *ListVersionsResponse) GetVersions() []Version
GetVersions returns the Versions field value
func (*ListVersionsResponse) GetVersionsOk ¶
func (o *ListVersionsResponse) GetVersionsOk() ([]Version, bool)
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (ListVersionsResponse) MarshalJSON ¶
func (o ListVersionsResponse) MarshalJSON() ([]byte, error)
func (*ListVersionsResponse) SetVersions ¶
func (o *ListVersionsResponse) SetVersions(v []Version)
SetVersions sets field value
func (ListVersionsResponse) ToMap ¶
func (o ListVersionsResponse) ToMap() (map[string]interface{}, error)
func (*ListVersionsResponse) UnmarshalJSON ¶
func (o *ListVersionsResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableBackupData ¶
type NullableBackupData struct {
// contains filtered or unexported fields
}
func NewNullableBackupData ¶
func NewNullableBackupData(val *BackupData) *NullableBackupData
func (NullableBackupData) Get ¶
func (v NullableBackupData) Get() *BackupData
func (NullableBackupData) IsSet ¶
func (v NullableBackupData) IsSet() bool
func (NullableBackupData) MarshalJSON ¶
func (v NullableBackupData) MarshalJSON() ([]byte, error)
func (*NullableBackupData) Set ¶
func (v *NullableBackupData) Set(val *BackupData)
func (*NullableBackupData) UnmarshalJSON ¶
func (v *NullableBackupData) UnmarshalJSON(src []byte) error
func (*NullableBackupData) Unset ¶
func (v *NullableBackupData) Unset()
type NullableBackupSort ¶
type NullableBackupSort struct {
// contains filtered or unexported fields
}
func NewNullableBackupSort ¶
func NewNullableBackupSort(val *BackupSort) *NullableBackupSort
func (NullableBackupSort) Get ¶
func (v NullableBackupSort) Get() *BackupSort
func (NullableBackupSort) IsSet ¶
func (v NullableBackupSort) IsSet() bool
func (NullableBackupSort) MarshalJSON ¶
func (v NullableBackupSort) MarshalJSON() ([]byte, error)
func (*NullableBackupSort) Set ¶
func (v *NullableBackupSort) Set(val *BackupSort)
func (*NullableBackupSort) UnmarshalJSON ¶
func (v *NullableBackupSort) UnmarshalJSON(src []byte) error
func (*NullableBackupSort) Unset ¶
func (v *NullableBackupSort) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type 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 NullableCloneInstancePayload ¶
type NullableCloneInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCloneInstancePayload ¶
func NewNullableCloneInstancePayload(val *CloneInstancePayload) *NullableCloneInstancePayload
func (NullableCloneInstancePayload) Get ¶
func (v NullableCloneInstancePayload) Get() *CloneInstancePayload
func (NullableCloneInstancePayload) IsSet ¶
func (v NullableCloneInstancePayload) IsSet() bool
func (NullableCloneInstancePayload) MarshalJSON ¶
func (v NullableCloneInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCloneInstancePayload) Set ¶
func (v *NullableCloneInstancePayload) Set(val *CloneInstancePayload)
func (*NullableCloneInstancePayload) UnmarshalJSON ¶
func (v *NullableCloneInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCloneInstancePayload) Unset ¶
func (v *NullableCloneInstancePayload) Unset()
type NullableCloneInstanceResponse ¶
type NullableCloneInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableCloneInstanceResponse ¶
func NewNullableCloneInstanceResponse(val *CloneInstanceResponse) *NullableCloneInstanceResponse
func (NullableCloneInstanceResponse) Get ¶
func (v NullableCloneInstanceResponse) Get() *CloneInstanceResponse
func (NullableCloneInstanceResponse) IsSet ¶
func (v NullableCloneInstanceResponse) IsSet() bool
func (NullableCloneInstanceResponse) MarshalJSON ¶
func (v NullableCloneInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableCloneInstanceResponse) Set ¶
func (v *NullableCloneInstanceResponse) Set(val *CloneInstanceResponse)
func (*NullableCloneInstanceResponse) UnmarshalJSON ¶
func (v *NullableCloneInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableCloneInstanceResponse) Unset ¶
func (v *NullableCloneInstanceResponse) Unset()
type NullableCreateDatabasePayload ¶
type NullableCreateDatabasePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabasePayload ¶
func NewNullableCreateDatabasePayload(val *CreateDatabasePayload) *NullableCreateDatabasePayload
func (NullableCreateDatabasePayload) Get ¶
func (v NullableCreateDatabasePayload) Get() *CreateDatabasePayload
func (NullableCreateDatabasePayload) IsSet ¶
func (v NullableCreateDatabasePayload) IsSet() bool
func (NullableCreateDatabasePayload) MarshalJSON ¶
func (v NullableCreateDatabasePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabasePayload) Set ¶
func (v *NullableCreateDatabasePayload) Set(val *CreateDatabasePayload)
func (*NullableCreateDatabasePayload) UnmarshalJSON ¶
func (v *NullableCreateDatabasePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabasePayload) Unset ¶
func (v *NullableCreateDatabasePayload) Unset()
type NullableCreateDatabaseResponse ¶
type NullableCreateDatabaseResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabaseResponse ¶
func NewNullableCreateDatabaseResponse(val *CreateDatabaseResponse) *NullableCreateDatabaseResponse
func (NullableCreateDatabaseResponse) Get ¶
func (v NullableCreateDatabaseResponse) Get() *CreateDatabaseResponse
func (NullableCreateDatabaseResponse) IsSet ¶
func (v NullableCreateDatabaseResponse) IsSet() bool
func (NullableCreateDatabaseResponse) MarshalJSON ¶
func (v NullableCreateDatabaseResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabaseResponse) Set ¶
func (v *NullableCreateDatabaseResponse) Set(val *CreateDatabaseResponse)
func (*NullableCreateDatabaseResponse) UnmarshalJSON ¶
func (v *NullableCreateDatabaseResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabaseResponse) Unset ¶
func (v *NullableCreateDatabaseResponse) Unset()
type NullableCreateInstancePayload ¶
type NullableCreateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayload ¶
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
func (*NullableCreateInstancePayload) UnmarshalJSON ¶
func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayload) Unset ¶
func (v *NullableCreateInstancePayload) Unset()
type NullableCreateInstanceResponse ¶
type NullableCreateInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceResponse ¶
func NewNullableCreateInstanceResponse(val *CreateInstanceResponse) *NullableCreateInstanceResponse
func (NullableCreateInstanceResponse) Get ¶
func (v NullableCreateInstanceResponse) Get() *CreateInstanceResponse
func (NullableCreateInstanceResponse) IsSet ¶
func (v NullableCreateInstanceResponse) IsSet() bool
func (NullableCreateInstanceResponse) MarshalJSON ¶
func (v NullableCreateInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceResponse) Set ¶
func (v *NullableCreateInstanceResponse) Set(val *CreateInstanceResponse)
func (*NullableCreateInstanceResponse) UnmarshalJSON ¶
func (v *NullableCreateInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceResponse) Unset ¶
func (v *NullableCreateInstanceResponse) Unset()
type NullableCreateUserPayload ¶
type NullableCreateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserPayload ¶
func NewNullableCreateUserPayload(val *CreateUserPayload) *NullableCreateUserPayload
func (NullableCreateUserPayload) Get ¶
func (v NullableCreateUserPayload) Get() *CreateUserPayload
func (NullableCreateUserPayload) IsSet ¶
func (v NullableCreateUserPayload) IsSet() bool
func (NullableCreateUserPayload) MarshalJSON ¶
func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUserPayload) Set ¶
func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
func (*NullableCreateUserPayload) UnmarshalJSON ¶
func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateUserPayload) Unset ¶
func (v *NullableCreateUserPayload) Unset()
type NullableCreateUserResponse ¶
type NullableCreateUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserResponse ¶
func NewNullableCreateUserResponse(val *CreateUserResponse) *NullableCreateUserResponse
func (NullableCreateUserResponse) Get ¶
func (v NullableCreateUserResponse) Get() *CreateUserResponse
func (NullableCreateUserResponse) IsSet ¶
func (v NullableCreateUserResponse) IsSet() bool
func (NullableCreateUserResponse) MarshalJSON ¶
func (v NullableCreateUserResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateUserResponse) Set ¶
func (v *NullableCreateUserResponse) Set(val *CreateUserResponse)
func (*NullableCreateUserResponse) UnmarshalJSON ¶
func (v *NullableCreateUserResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateUserResponse) Unset ¶
func (v *NullableCreateUserResponse) Unset()
type 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 NullableGetDatabaseResponse ¶
type NullableGetDatabaseResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetDatabaseResponse ¶
func NewNullableGetDatabaseResponse(val *GetDatabaseResponse) *NullableGetDatabaseResponse
func (NullableGetDatabaseResponse) Get ¶
func (v NullableGetDatabaseResponse) Get() *GetDatabaseResponse
func (NullableGetDatabaseResponse) IsSet ¶
func (v NullableGetDatabaseResponse) IsSet() bool
func (NullableGetDatabaseResponse) MarshalJSON ¶
func (v NullableGetDatabaseResponse) MarshalJSON() ([]byte, error)
func (*NullableGetDatabaseResponse) Set ¶
func (v *NullableGetDatabaseResponse) Set(val *GetDatabaseResponse)
func (*NullableGetDatabaseResponse) UnmarshalJSON ¶
func (v *NullableGetDatabaseResponse) UnmarshalJSON(src []byte) error
func (*NullableGetDatabaseResponse) Unset ¶
func (v *NullableGetDatabaseResponse) Unset()
type NullableGetInstanceResponse ¶
type NullableGetInstanceResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetInstanceResponse ¶
func NewNullableGetInstanceResponse(val *GetInstanceResponse) *NullableGetInstanceResponse
func (NullableGetInstanceResponse) Get ¶
func (v NullableGetInstanceResponse) Get() *GetInstanceResponse
func (NullableGetInstanceResponse) IsSet ¶
func (v NullableGetInstanceResponse) IsSet() bool
func (NullableGetInstanceResponse) MarshalJSON ¶
func (v NullableGetInstanceResponse) MarshalJSON() ([]byte, error)
func (*NullableGetInstanceResponse) Set ¶
func (v *NullableGetInstanceResponse) Set(val *GetInstanceResponse)
func (*NullableGetInstanceResponse) UnmarshalJSON ¶
func (v *NullableGetInstanceResponse) UnmarshalJSON(src []byte) error
func (*NullableGetInstanceResponse) Unset ¶
func (v *NullableGetInstanceResponse) Unset()
type NullableGetUserResponse ¶
type NullableGetUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetUserResponse ¶
func NewNullableGetUserResponse(val *GetUserResponse) *NullableGetUserResponse
func (NullableGetUserResponse) Get ¶
func (v NullableGetUserResponse) Get() *GetUserResponse
func (NullableGetUserResponse) IsSet ¶
func (v NullableGetUserResponse) IsSet() bool
func (NullableGetUserResponse) MarshalJSON ¶
func (v NullableGetUserResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUserResponse) Set ¶
func (v *NullableGetUserResponse) Set(val *GetUserResponse)
func (*NullableGetUserResponse) UnmarshalJSON ¶
func (v *NullableGetUserResponse) UnmarshalJSON(src []byte) error
func (*NullableGetUserResponse) Unset ¶
func (v *NullableGetUserResponse) Unset()
type 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 NullableListBackupsResponse ¶
type NullableListBackupsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListBackupsResponse ¶
func NewNullableListBackupsResponse(val *ListBackupsResponse) *NullableListBackupsResponse
func (NullableListBackupsResponse) Get ¶
func (v NullableListBackupsResponse) Get() *ListBackupsResponse
func (NullableListBackupsResponse) IsSet ¶
func (v NullableListBackupsResponse) IsSet() bool
func (NullableListBackupsResponse) MarshalJSON ¶
func (v NullableListBackupsResponse) MarshalJSON() ([]byte, error)
func (*NullableListBackupsResponse) Set ¶
func (v *NullableListBackupsResponse) Set(val *ListBackupsResponse)
func (*NullableListBackupsResponse) UnmarshalJSON ¶
func (v *NullableListBackupsResponse) UnmarshalJSON(src []byte) error
func (*NullableListBackupsResponse) Unset ¶
func (v *NullableListBackupsResponse) Unset()
type NullableListCollationsResponse ¶
type NullableListCollationsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCollationsResponse ¶
func NewNullableListCollationsResponse(val *ListCollationsResponse) *NullableListCollationsResponse
func (NullableListCollationsResponse) Get ¶
func (v NullableListCollationsResponse) Get() *ListCollationsResponse
func (NullableListCollationsResponse) IsSet ¶
func (v NullableListCollationsResponse) IsSet() bool
func (NullableListCollationsResponse) MarshalJSON ¶
func (v NullableListCollationsResponse) MarshalJSON() ([]byte, error)
func (*NullableListCollationsResponse) Set ¶
func (v *NullableListCollationsResponse) Set(val *ListCollationsResponse)
func (*NullableListCollationsResponse) UnmarshalJSON ¶
func (v *NullableListCollationsResponse) UnmarshalJSON(src []byte) error
func (*NullableListCollationsResponse) Unset ¶
func (v *NullableListCollationsResponse) Unset()
type 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 NullableListFlavorsResponse ¶
type NullableListFlavorsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListFlavorsResponse ¶
func NewNullableListFlavorsResponse(val *ListFlavorsResponse) *NullableListFlavorsResponse
func (NullableListFlavorsResponse) Get ¶
func (v NullableListFlavorsResponse) Get() *ListFlavorsResponse
func (NullableListFlavorsResponse) IsSet ¶
func (v NullableListFlavorsResponse) IsSet() bool
func (NullableListFlavorsResponse) MarshalJSON ¶
func (v NullableListFlavorsResponse) MarshalJSON() ([]byte, error)
func (*NullableListFlavorsResponse) Set ¶
func (v *NullableListFlavorsResponse) Set(val *ListFlavorsResponse)
func (*NullableListFlavorsResponse) UnmarshalJSON ¶
func (v *NullableListFlavorsResponse) UnmarshalJSON(src []byte) error
func (*NullableListFlavorsResponse) Unset ¶
func (v *NullableListFlavorsResponse) Unset()
type 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 NullableListUsersResponse ¶
type NullableListUsersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUsersResponse ¶
func NewNullableListUsersResponse(val *ListUsersResponse) *NullableListUsersResponse
func (NullableListUsersResponse) Get ¶
func (v NullableListUsersResponse) Get() *ListUsersResponse
func (NullableListUsersResponse) IsSet ¶
func (v NullableListUsersResponse) IsSet() bool
func (NullableListUsersResponse) MarshalJSON ¶
func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableListUsersResponse) Set ¶
func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
func (*NullableListUsersResponse) UnmarshalJSON ¶
func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
func (*NullableListUsersResponse) Unset ¶
func (v *NullableListUsersResponse) Unset()
type NullableListVersionsResponse ¶
type NullableListVersionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListVersionsResponse ¶
func NewNullableListVersionsResponse(val *ListVersionsResponse) *NullableListVersionsResponse
func (NullableListVersionsResponse) Get ¶
func (v NullableListVersionsResponse) Get() *ListVersionsResponse
func (NullableListVersionsResponse) IsSet ¶
func (v NullableListVersionsResponse) IsSet() bool
func (NullableListVersionsResponse) MarshalJSON ¶
func (v NullableListVersionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListVersionsResponse) Set ¶
func (v *NullableListVersionsResponse) Set(val *ListVersionsResponse)
func (*NullableListVersionsResponse) UnmarshalJSON ¶
func (v *NullableListVersionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListVersionsResponse) Unset ¶
func (v *NullableListVersionsResponse) Unset()
type 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 NullablePartialUpdateDatabasePayload ¶
type NullablePartialUpdateDatabasePayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateDatabasePayload ¶
func NewNullablePartialUpdateDatabasePayload(val *PartialUpdateDatabasePayload) *NullablePartialUpdateDatabasePayload
func (NullablePartialUpdateDatabasePayload) Get ¶
func (v NullablePartialUpdateDatabasePayload) Get() *PartialUpdateDatabasePayload
func (NullablePartialUpdateDatabasePayload) IsSet ¶
func (v NullablePartialUpdateDatabasePayload) IsSet() bool
func (NullablePartialUpdateDatabasePayload) MarshalJSON ¶
func (v NullablePartialUpdateDatabasePayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateDatabasePayload) Set ¶
func (v *NullablePartialUpdateDatabasePayload) Set(val *PartialUpdateDatabasePayload)
func (*NullablePartialUpdateDatabasePayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateDatabasePayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateDatabasePayload) Unset ¶
func (v *NullablePartialUpdateDatabasePayload) Unset()
type NullablePartialUpdateInstancePayload ¶
type NullablePartialUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateInstancePayload ¶
func NewNullablePartialUpdateInstancePayload(val *PartialUpdateInstancePayload) *NullablePartialUpdateInstancePayload
func (NullablePartialUpdateInstancePayload) Get ¶
func (v NullablePartialUpdateInstancePayload) Get() *PartialUpdateInstancePayload
func (NullablePartialUpdateInstancePayload) IsSet ¶
func (v NullablePartialUpdateInstancePayload) IsSet() bool
func (NullablePartialUpdateInstancePayload) MarshalJSON ¶
func (v NullablePartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateInstancePayload) Set ¶
func (v *NullablePartialUpdateInstancePayload) Set(val *PartialUpdateInstancePayload)
func (*NullablePartialUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateInstancePayload) Unset ¶
func (v *NullablePartialUpdateInstancePayload) Unset()
type NullablePartialUpdateUserPayload ¶
type NullablePartialUpdateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateUserPayload ¶
func NewNullablePartialUpdateUserPayload(val *PartialUpdateUserPayload) *NullablePartialUpdateUserPayload
func (NullablePartialUpdateUserPayload) Get ¶
func (v NullablePartialUpdateUserPayload) Get() *PartialUpdateUserPayload
func (NullablePartialUpdateUserPayload) IsSet ¶
func (v NullablePartialUpdateUserPayload) IsSet() bool
func (NullablePartialUpdateUserPayload) MarshalJSON ¶
func (v NullablePartialUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateUserPayload) Set ¶
func (v *NullablePartialUpdateUserPayload) Set(val *PartialUpdateUserPayload)
func (*NullablePartialUpdateUserPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateUserPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateUserPayload) Unset ¶
func (v *NullablePartialUpdateUserPayload) Unset()
type NullableResetUserPasswordResponse ¶
type NullableResetUserPasswordResponse struct {
// contains filtered or unexported fields
}
func NewNullableResetUserPasswordResponse ¶
func NewNullableResetUserPasswordResponse(val *ResetUserPasswordResponse) *NullableResetUserPasswordResponse
func (NullableResetUserPasswordResponse) Get ¶
func (v NullableResetUserPasswordResponse) Get() *ResetUserPasswordResponse
func (NullableResetUserPasswordResponse) IsSet ¶
func (v NullableResetUserPasswordResponse) IsSet() bool
func (NullableResetUserPasswordResponse) MarshalJSON ¶
func (v NullableResetUserPasswordResponse) MarshalJSON() ([]byte, error)
func (*NullableResetUserPasswordResponse) Set ¶
func (v *NullableResetUserPasswordResponse) Set(val *ResetUserPasswordResponse)
func (*NullableResetUserPasswordResponse) UnmarshalJSON ¶
func (v *NullableResetUserPasswordResponse) UnmarshalJSON(src []byte) error
func (*NullableResetUserPasswordResponse) Unset ¶
func (v *NullableResetUserPasswordResponse) Unset()
type NullableState ¶
type NullableState struct {
// contains filtered or unexported fields
}
func NewNullableState ¶
func NewNullableState(val *State) *NullableState
func (NullableState) Get ¶
func (v NullableState) Get() *State
func (NullableState) IsSet ¶
func (v NullableState) IsSet() bool
func (NullableState) MarshalJSON ¶
func (v NullableState) MarshalJSON() ([]byte, error)
func (*NullableState) Set ¶
func (v *NullableState) Set(val *State)
func (*NullableState) UnmarshalJSON ¶
func (v *NullableState) UnmarshalJSON(src []byte) error
func (*NullableState) Unset ¶
func (v *NullableState) Unset()
type NullableStorage ¶
type NullableStorage struct {
// contains filtered or unexported fields
}
func NewNullableStorage ¶
func NewNullableStorage(val *Storage) *NullableStorage
func (NullableStorage) Get ¶
func (v NullableStorage) Get() *Storage
func (NullableStorage) IsSet ¶
func (v NullableStorage) IsSet() bool
func (NullableStorage) MarshalJSON ¶
func (v NullableStorage) MarshalJSON() ([]byte, error)
func (*NullableStorage) Set ¶
func (v *NullableStorage) Set(val *Storage)
func (*NullableStorage) UnmarshalJSON ¶
func (v *NullableStorage) UnmarshalJSON(src []byte) error
func (*NullableStorage) Unset ¶
func (v *NullableStorage) Unset()
type NullableStorageCreate ¶
type NullableStorageCreate struct {
// contains filtered or unexported fields
}
func NewNullableStorageCreate ¶
func NewNullableStorageCreate(val *StorageCreate) *NullableStorageCreate
func (NullableStorageCreate) Get ¶
func (v NullableStorageCreate) Get() *StorageCreate
func (NullableStorageCreate) IsSet ¶
func (v NullableStorageCreate) IsSet() bool
func (NullableStorageCreate) MarshalJSON ¶
func (v NullableStorageCreate) MarshalJSON() ([]byte, error)
func (*NullableStorageCreate) Set ¶
func (v *NullableStorageCreate) Set(val *StorageCreate)
func (*NullableStorageCreate) UnmarshalJSON ¶
func (v *NullableStorageCreate) UnmarshalJSON(src []byte) error
func (*NullableStorageCreate) Unset ¶
func (v *NullableStorageCreate) Unset()
type NullableStorageUpdate ¶
type NullableStorageUpdate struct {
// contains filtered or unexported fields
}
func NewNullableStorageUpdate ¶
func NewNullableStorageUpdate(val *StorageUpdate) *NullableStorageUpdate
func (NullableStorageUpdate) Get ¶
func (v NullableStorageUpdate) Get() *StorageUpdate
func (NullableStorageUpdate) IsSet ¶
func (v NullableStorageUpdate) IsSet() bool
func (NullableStorageUpdate) MarshalJSON ¶
func (v NullableStorageUpdate) MarshalJSON() ([]byte, error)
func (*NullableStorageUpdate) Set ¶
func (v *NullableStorageUpdate) Set(val *StorageUpdate)
func (*NullableStorageUpdate) UnmarshalJSON ¶
func (v *NullableStorageUpdate) UnmarshalJSON(src []byte) error
func (*NullableStorageUpdate) Unset ¶
func (v *NullableStorageUpdate) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type 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 NullableUpdateDatabasePayload ¶
type NullableUpdateDatabasePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatabasePayload ¶
func NewNullableUpdateDatabasePayload(val *UpdateDatabasePayload) *NullableUpdateDatabasePayload
func (NullableUpdateDatabasePayload) Get ¶
func (v NullableUpdateDatabasePayload) Get() *UpdateDatabasePayload
func (NullableUpdateDatabasePayload) IsSet ¶
func (v NullableUpdateDatabasePayload) IsSet() bool
func (NullableUpdateDatabasePayload) MarshalJSON ¶
func (v NullableUpdateDatabasePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatabasePayload) Set ¶
func (v *NullableUpdateDatabasePayload) Set(val *UpdateDatabasePayload)
func (*NullableUpdateDatabasePayload) UnmarshalJSON ¶
func (v *NullableUpdateDatabasePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatabasePayload) Unset ¶
func (v *NullableUpdateDatabasePayload) 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 NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayload ¶
func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload
func (NullableUpdateInstancePayload) Get ¶
func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
func (NullableUpdateInstancePayload) IsSet ¶
func (v NullableUpdateInstancePayload) IsSet() bool
func (NullableUpdateInstancePayload) MarshalJSON ¶
func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayload) Set ¶
func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
func (*NullableUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePayload) Unset ¶
func (v *NullableUpdateInstancePayload) Unset()
type NullableUpdateInstanceProtectionPayload ¶
type NullableUpdateInstanceProtectionPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstanceProtectionPayload ¶
func NewNullableUpdateInstanceProtectionPayload(val *UpdateInstanceProtectionPayload) *NullableUpdateInstanceProtectionPayload
func (NullableUpdateInstanceProtectionPayload) IsSet ¶
func (v NullableUpdateInstanceProtectionPayload) IsSet() bool
func (NullableUpdateInstanceProtectionPayload) MarshalJSON ¶
func (v NullableUpdateInstanceProtectionPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstanceProtectionPayload) Set ¶
func (v *NullableUpdateInstanceProtectionPayload) Set(val *UpdateInstanceProtectionPayload)
func (*NullableUpdateInstanceProtectionPayload) UnmarshalJSON ¶
func (v *NullableUpdateInstanceProtectionPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstanceProtectionPayload) Unset ¶
func (v *NullableUpdateInstanceProtectionPayload) Unset()
type NullableUpdateInstanceProtectionResponse ¶
type NullableUpdateInstanceProtectionResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstanceProtectionResponse ¶
func NewNullableUpdateInstanceProtectionResponse(val *UpdateInstanceProtectionResponse) *NullableUpdateInstanceProtectionResponse
func (NullableUpdateInstanceProtectionResponse) IsSet ¶
func (v NullableUpdateInstanceProtectionResponse) IsSet() bool
func (NullableUpdateInstanceProtectionResponse) MarshalJSON ¶
func (v NullableUpdateInstanceProtectionResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstanceProtectionResponse) Set ¶
func (v *NullableUpdateInstanceProtectionResponse) Set(val *UpdateInstanceProtectionResponse)
func (*NullableUpdateInstanceProtectionResponse) UnmarshalJSON ¶
func (v *NullableUpdateInstanceProtectionResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstanceProtectionResponse) Unset ¶
func (v *NullableUpdateInstanceProtectionResponse) Unset()
type NullableUpdateUserPayload ¶
type NullableUpdateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserPayload ¶
func NewNullableUpdateUserPayload(val *UpdateUserPayload) *NullableUpdateUserPayload
func (NullableUpdateUserPayload) Get ¶
func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
func (NullableUpdateUserPayload) IsSet ¶
func (v NullableUpdateUserPayload) IsSet() bool
func (NullableUpdateUserPayload) MarshalJSON ¶
func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserPayload) Set ¶
func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
func (*NullableUpdateUserPayload) UnmarshalJSON ¶
func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserPayload) Unset ¶
func (v *NullableUpdateUserPayload) Unset()
type NullableUserSort ¶
type NullableUserSort struct {
// contains filtered or unexported fields
}
func NewNullableUserSort ¶
func NewNullableUserSort(val *UserSort) *NullableUserSort
func (NullableUserSort) Get ¶
func (v NullableUserSort) Get() *UserSort
func (NullableUserSort) IsSet ¶
func (v NullableUserSort) IsSet() bool
func (NullableUserSort) MarshalJSON ¶
func (v NullableUserSort) MarshalJSON() ([]byte, error)
func (*NullableUserSort) Set ¶
func (v *NullableUserSort) Set(val *UserSort)
func (*NullableUserSort) UnmarshalJSON ¶
func (v *NullableUserSort) UnmarshalJSON(src []byte) error
func (*NullableUserSort) Unset ¶
func (v *NullableUserSort) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type NullableValidationErrorValidationInner ¶
type NullableValidationErrorValidationInner struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorValidationInner ¶
func NewNullableValidationErrorValidationInner(val *ValidationErrorValidationInner) *NullableValidationErrorValidationInner
func (NullableValidationErrorValidationInner) Get ¶
func (v NullableValidationErrorValidationInner) Get() *ValidationErrorValidationInner
func (NullableValidationErrorValidationInner) IsSet ¶
func (v NullableValidationErrorValidationInner) IsSet() bool
func (NullableValidationErrorValidationInner) MarshalJSON ¶
func (v NullableValidationErrorValidationInner) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorValidationInner) Set ¶
func (v *NullableValidationErrorValidationInner) Set(val *ValidationErrorValidationInner)
func (*NullableValidationErrorValidationInner) UnmarshalJSON ¶
func (v *NullableValidationErrorValidationInner) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorValidationInner) Unset ¶
func (v *NullableValidationErrorValidationInner) Unset()
type NullableVersion ¶
type NullableVersion struct {
// contains filtered or unexported fields
}
func NewNullableVersion ¶
func NewNullableVersion(val *Version) *NullableVersion
func (NullableVersion) Get ¶
func (v NullableVersion) Get() *Version
func (NullableVersion) IsSet ¶
func (v NullableVersion) IsSet() bool
func (NullableVersion) MarshalJSON ¶
func (v NullableVersion) MarshalJSON() ([]byte, error)
func (*NullableVersion) Set ¶
func (v *NullableVersion) Set(val *Version)
func (*NullableVersion) UnmarshalJSON ¶
func (v *NullableVersion) UnmarshalJSON(src []byte) error
func (*NullableVersion) Unset ¶
func (v *NullableVersion) Unset()
type Pagination ¶
type Pagination struct {
Page int64 `json:"page"`
Size int64 `json:"size"`
Sort string `json:"sort"`
TotalPages int64 `json:"totalPages"`
TotalRows int64 `json:"totalRows"`
AdditionalProperties map[string]interface{}
}
Pagination struct for Pagination
func NewPagination ¶
func NewPagination(page int64, size int64, sort string, totalPages int64, totalRows int64) *Pagination
NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Pagination) GetPage ¶
func (o *Pagination) GetPage() int64
GetPage returns the Page field value
func (*Pagination) GetPageOk ¶
func (o *Pagination) GetPageOk() (*int64, bool)
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*Pagination) GetSize ¶
func (o *Pagination) GetSize() int64
GetSize returns the Size field value
func (*Pagination) GetSizeOk ¶
func (o *Pagination) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Pagination) GetSort ¶
func (o *Pagination) GetSort() string
GetSort returns the Sort field value
func (*Pagination) GetSortOk ¶
func (o *Pagination) GetSortOk() (*string, bool)
GetSortOk returns a tuple with the Sort field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalPages ¶
func (o *Pagination) GetTotalPages() int64
GetTotalPages returns the TotalPages field value
func (*Pagination) GetTotalPagesOk ¶
func (o *Pagination) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalRows ¶
func (o *Pagination) GetTotalRows() int64
GetTotalRows returns the TotalRows field value
func (*Pagination) GetTotalRowsOk ¶
func (o *Pagination) GetTotalRowsOk() (*int64, bool)
GetTotalRowsOk returns a tuple with the TotalRows field value and a boolean to check if the value has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
func (*Pagination) SetTotalPages ¶
func (o *Pagination) SetTotalPages(v int64)
SetTotalPages sets field value
func (*Pagination) SetTotalRows ¶
func (o *Pagination) SetTotalRows(v int64)
SetTotalRows sets field value
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
func (*Pagination) UnmarshalJSON ¶
func (o *Pagination) UnmarshalJSON(data []byte) (err error)
type PartialUpdateDatabasePayload ¶
type PartialUpdateDatabasePayload struct {
// The name of the database.
Name *string `json:"name,omitempty"`
// The owner of the database.
Owner *string `json:"owner,omitempty"`
AdditionalProperties map[string]interface{}
}
PartialUpdateDatabasePayload struct for PartialUpdateDatabasePayload
func NewPartialUpdateDatabasePayload ¶
func NewPartialUpdateDatabasePayload() *PartialUpdateDatabasePayload
NewPartialUpdateDatabasePayload instantiates a new PartialUpdateDatabasePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateDatabasePayloadWithDefaults ¶
func NewPartialUpdateDatabasePayloadWithDefaults() *PartialUpdateDatabasePayload
NewPartialUpdateDatabasePayloadWithDefaults instantiates a new PartialUpdateDatabasePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateDatabasePayload) GetName ¶
func (o *PartialUpdateDatabasePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateDatabasePayload) GetNameOk ¶
func (o *PartialUpdateDatabasePayload) 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 (*PartialUpdateDatabasePayload) GetOwner ¶
func (o *PartialUpdateDatabasePayload) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*PartialUpdateDatabasePayload) GetOwnerOk ¶
func (o *PartialUpdateDatabasePayload) 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 (*PartialUpdateDatabasePayload) HasName ¶
func (o *PartialUpdateDatabasePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialUpdateDatabasePayload) HasOwner ¶
func (o *PartialUpdateDatabasePayload) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (PartialUpdateDatabasePayload) MarshalJSON ¶
func (o PartialUpdateDatabasePayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateDatabasePayload) SetName ¶
func (o *PartialUpdateDatabasePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialUpdateDatabasePayload) SetOwner ¶
func (o *PartialUpdateDatabasePayload) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (PartialUpdateDatabasePayload) ToMap ¶
func (o PartialUpdateDatabasePayload) ToMap() (map[string]interface{}, error)
func (*PartialUpdateDatabasePayload) UnmarshalJSON ¶
func (o *PartialUpdateDatabasePayload) UnmarshalJSON(data []byte) (err error)
type PartialUpdateInstancePayload ¶
type PartialUpdateInstancePayload 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"`
// Key-value pairs, 63 characters max, begin and end with an alphanumerical character, may contain dashes (-), underscores (_), dots (.), and alphanumerics between. Key MUST be at least 1 character. Max 64 labels Regex for keys: ^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ Regex for values: ^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$ The stackit- prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name *string `json:"name,omitempty"`
Network *InstanceNetworkOpt `json:"network,omitempty"`
// How long backups are retained. The value can only be between 32 and 90 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/v3#tag/Version) for supported version parameters.
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
PartialUpdateInstancePayload struct for PartialUpdateInstancePayload
func NewPartialUpdateInstancePayload ¶
func NewPartialUpdateInstancePayload() *PartialUpdateInstancePayload
NewPartialUpdateInstancePayload instantiates a new PartialUpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateInstancePayloadWithDefaults ¶
func NewPartialUpdateInstancePayloadWithDefaults() *PartialUpdateInstancePayload
NewPartialUpdateInstancePayloadWithDefaults instantiates a new PartialUpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateInstancePayload) GetBackupSchedule ¶
func (o *PartialUpdateInstancePayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetBackupScheduleOk ¶
func (o *PartialUpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetFlavorId ¶
func (o *PartialUpdateInstancePayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetFlavorIdOk ¶
func (o *PartialUpdateInstancePayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetLabels ¶
func (o *PartialUpdateInstancePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetLabelsOk ¶
func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetName ¶
func (o *PartialUpdateInstancePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetNameOk ¶
func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) GetNetwork ¶
func (o *PartialUpdateInstancePayload) GetNetwork() InstanceNetworkOpt
GetNetwork returns the Network field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetNetworkOk ¶
func (o *PartialUpdateInstancePayload) 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 (*PartialUpdateInstancePayload) GetRetentionDays ¶
func (o *PartialUpdateInstancePayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetRetentionDaysOk ¶
func (o *PartialUpdateInstancePayload) 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 (*PartialUpdateInstancePayload) GetStorage ¶
func (o *PartialUpdateInstancePayload) GetStorage() StorageUpdate
GetStorage returns the Storage field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetStorageOk ¶
func (o *PartialUpdateInstancePayload) 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 (*PartialUpdateInstancePayload) GetVersion ¶
func (o *PartialUpdateInstancePayload) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*PartialUpdateInstancePayload) GetVersionOk ¶
func (o *PartialUpdateInstancePayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateInstancePayload) HasBackupSchedule ¶
func (o *PartialUpdateInstancePayload) HasBackupSchedule() bool
HasBackupSchedule returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasFlavorId ¶
func (o *PartialUpdateInstancePayload) HasFlavorId() bool
HasFlavorId returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasLabels ¶
func (o *PartialUpdateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasName ¶
func (o *PartialUpdateInstancePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasNetwork ¶
func (o *PartialUpdateInstancePayload) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasRetentionDays ¶
func (o *PartialUpdateInstancePayload) HasRetentionDays() bool
HasRetentionDays returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasStorage ¶
func (o *PartialUpdateInstancePayload) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*PartialUpdateInstancePayload) HasVersion ¶
func (o *PartialUpdateInstancePayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (PartialUpdateInstancePayload) MarshalJSON ¶
func (o PartialUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateInstancePayload) SetBackupSchedule ¶
func (o *PartialUpdateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule gets a reference to the given string and assigns it to the BackupSchedule field.
func (*PartialUpdateInstancePayload) SetFlavorId ¶
func (o *PartialUpdateInstancePayload) SetFlavorId(v string)
SetFlavorId gets a reference to the given string and assigns it to the FlavorId field.
func (*PartialUpdateInstancePayload) SetLabels ¶
func (o *PartialUpdateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PartialUpdateInstancePayload) SetName ¶
func (o *PartialUpdateInstancePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialUpdateInstancePayload) SetNetwork ¶
func (o *PartialUpdateInstancePayload) SetNetwork(v InstanceNetworkOpt)
SetNetwork gets a reference to the given InstanceNetworkOpt and assigns it to the Network field.
func (*PartialUpdateInstancePayload) SetRetentionDays ¶
func (o *PartialUpdateInstancePayload) SetRetentionDays(v int32)
SetRetentionDays gets a reference to the given int32 and assigns it to the RetentionDays field.
func (*PartialUpdateInstancePayload) SetStorage ¶
func (o *PartialUpdateInstancePayload) SetStorage(v StorageUpdate)
SetStorage gets a reference to the given StorageUpdate and assigns it to the Storage field.
func (*PartialUpdateInstancePayload) SetVersion ¶
func (o *PartialUpdateInstancePayload) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (PartialUpdateInstancePayload) ToMap ¶
func (o PartialUpdateInstancePayload) ToMap() (map[string]interface{}, error)
func (*PartialUpdateInstancePayload) UnmarshalJSON ¶
func (o *PartialUpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
type PartialUpdateUserPayload ¶
type PartialUpdateUserPayload struct {
// The name of the user.
Name *string `json:"name,omitempty"`
// A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles.
Roles []string `json:"roles,omitempty"`
AdditionalProperties map[string]interface{}
}
PartialUpdateUserPayload struct for PartialUpdateUserPayload
func NewPartialUpdateUserPayload ¶
func NewPartialUpdateUserPayload() *PartialUpdateUserPayload
NewPartialUpdateUserPayload instantiates a new PartialUpdateUserPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateUserPayloadWithDefaults ¶
func NewPartialUpdateUserPayloadWithDefaults() *PartialUpdateUserPayload
NewPartialUpdateUserPayloadWithDefaults instantiates a new PartialUpdateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateUserPayload) GetName ¶
func (o *PartialUpdateUserPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialUpdateUserPayload) GetNameOk ¶
func (o *PartialUpdateUserPayload) 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 (*PartialUpdateUserPayload) GetRoles ¶
func (o *PartialUpdateUserPayload) GetRoles() []string
GetRoles returns the Roles field value if set, zero value otherwise.
func (*PartialUpdateUserPayload) GetRolesOk ¶
func (o *PartialUpdateUserPayload) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateUserPayload) HasName ¶
func (o *PartialUpdateUserPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialUpdateUserPayload) HasRoles ¶
func (o *PartialUpdateUserPayload) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (PartialUpdateUserPayload) MarshalJSON ¶
func (o PartialUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateUserPayload) SetName ¶
func (o *PartialUpdateUserPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialUpdateUserPayload) SetRoles ¶
func (o *PartialUpdateUserPayload) SetRoles(v []string)
SetRoles gets a reference to the given []string and assigns it to the Roles field.
func (PartialUpdateUserPayload) ToMap ¶
func (o PartialUpdateUserPayload) ToMap() (map[string]interface{}, error)
func (*PartialUpdateUserPayload) UnmarshalJSON ¶
func (o *PartialUpdateUserPayload) UnmarshalJSON(data []byte) (err error)
type ResetUserPasswordResponse ¶
type ResetUserPasswordResponse struct {
// The name of the user.
Name string `json:"name"`
// The password for the user.
Password string `json:"password"`
// The current state of the user.
State string `json:"state"`
AdditionalProperties map[string]interface{}
}
ResetUserPasswordResponse struct for ResetUserPasswordResponse
func NewResetUserPasswordResponse ¶
func NewResetUserPasswordResponse(name string, password string, state string) *ResetUserPasswordResponse
NewResetUserPasswordResponse instantiates a new ResetUserPasswordResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResetUserPasswordResponseWithDefaults ¶
func NewResetUserPasswordResponseWithDefaults() *ResetUserPasswordResponse
NewResetUserPasswordResponseWithDefaults instantiates a new ResetUserPasswordResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResetUserPasswordResponse) GetName ¶
func (o *ResetUserPasswordResponse) GetName() string
GetName returns the Name field value
func (*ResetUserPasswordResponse) GetNameOk ¶
func (o *ResetUserPasswordResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ResetUserPasswordResponse) GetPassword ¶
func (o *ResetUserPasswordResponse) GetPassword() string
GetPassword returns the Password field value
func (*ResetUserPasswordResponse) GetPasswordOk ¶
func (o *ResetUserPasswordResponse) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*ResetUserPasswordResponse) GetState ¶
func (o *ResetUserPasswordResponse) GetState() string
GetState returns the State field value
func (*ResetUserPasswordResponse) GetStateOk ¶
func (o *ResetUserPasswordResponse) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (ResetUserPasswordResponse) MarshalJSON ¶
func (o ResetUserPasswordResponse) MarshalJSON() ([]byte, error)
func (*ResetUserPasswordResponse) SetName ¶
func (o *ResetUserPasswordResponse) SetName(v string)
SetName sets field value
func (*ResetUserPasswordResponse) SetPassword ¶
func (o *ResetUserPasswordResponse) SetPassword(v string)
SetPassword sets field value
func (*ResetUserPasswordResponse) SetState ¶
func (o *ResetUserPasswordResponse) SetState(v string)
SetState sets field value
func (ResetUserPasswordResponse) ToMap ¶
func (o ResetUserPasswordResponse) ToMap() (map[string]interface{}, error)
func (*ResetUserPasswordResponse) UnmarshalJSON ¶
func (o *ResetUserPasswordResponse) UnmarshalJSON(data []byte) (err error)
type State ¶
type State string
State The current state of the instance.
const ( STATE_READY State = "READY" STATE_PENDING State = "PENDING" STATE_PROGRESSING State = "PROGRESSING" STATE_FAILURE State = "FAILURE" STATE_UNKNOWN State = "UNKNOWN" STATE_TERMINATING State = "TERMINATING" STATE_UNKNOWN_DEFAULT_OPEN_API State = "unknown_default_open_api" )
List of state
func NewStateFromValue ¶
NewStateFromValue returns a pointer to a valid State for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*State) UnmarshalJSON ¶
type Storage ¶
type Storage struct {
// The storage class for the storage.
Class *string `json:"class,omitempty"`
// The storage size in Gigabytes.
Size *int64 `json:"size,omitempty"`
AdditionalProperties map[string]interface{}
}
Storage The object containing information about the storage size and class.
func NewStorage ¶
func NewStorage() *Storage
NewStorage instantiates a new Storage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStorageWithDefaults ¶
func NewStorageWithDefaults() *Storage
NewStorageWithDefaults instantiates a new Storage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Storage) GetClassOk ¶
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Storage) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (Storage) MarshalJSON ¶
func (*Storage) SetClass ¶
SetClass gets a reference to the given string and assigns it to the Class field.
func (*Storage) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*Storage) UnmarshalJSON ¶
type StorageCreate ¶
type StorageCreate struct {
// The storage class for the storage.
Class *string `json:"class,omitempty"`
// The storage size in Gigabytes.
Size int64 `json:"size"`
AdditionalProperties map[string]interface{}
}
StorageCreate The object containing information about the storage size and class.
func NewStorageCreate ¶
func NewStorageCreate(size int64) *StorageCreate
NewStorageCreate instantiates a new StorageCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStorageCreateWithDefaults ¶
func NewStorageCreateWithDefaults() *StorageCreate
NewStorageCreateWithDefaults instantiates a new StorageCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StorageCreate) GetClass ¶
func (o *StorageCreate) GetClass() string
GetClass returns the Class field value if set, zero value otherwise.
func (*StorageCreate) GetClassOk ¶
func (o *StorageCreate) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageCreate) GetSize ¶
func (o *StorageCreate) GetSize() int64
GetSize returns the Size field value
func (*StorageCreate) GetSizeOk ¶
func (o *StorageCreate) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*StorageCreate) HasClass ¶
func (o *StorageCreate) HasClass() bool
HasClass returns a boolean if a field has been set.
func (StorageCreate) MarshalJSON ¶
func (o StorageCreate) MarshalJSON() ([]byte, error)
func (*StorageCreate) SetClass ¶
func (o *StorageCreate) SetClass(v string)
SetClass gets a reference to the given string and assigns it to the Class field.
func (StorageCreate) ToMap ¶
func (o StorageCreate) ToMap() (map[string]interface{}, error)
func (*StorageCreate) UnmarshalJSON ¶
func (o *StorageCreate) UnmarshalJSON(data []byte) (err error)
type StorageUpdate ¶
type StorageUpdate struct {
// The storage size in Gigabytes.
Size *int64 `json:"size,omitempty"`
AdditionalProperties map[string]interface{}
}
StorageUpdate The object containing information about the storage size and class.
func NewStorageUpdate ¶
func NewStorageUpdate() *StorageUpdate
NewStorageUpdate instantiates a new StorageUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStorageUpdateWithDefaults ¶
func NewStorageUpdateWithDefaults() *StorageUpdate
NewStorageUpdateWithDefaults instantiates a new StorageUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StorageUpdate) GetSize ¶
func (o *StorageUpdate) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*StorageUpdate) GetSizeOk ¶
func (o *StorageUpdate) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageUpdate) HasSize ¶
func (o *StorageUpdate) HasSize() bool
HasSize returns a boolean if a field has been set.
func (StorageUpdate) MarshalJSON ¶
func (o StorageUpdate) MarshalJSON() ([]byte, error)
func (*StorageUpdate) SetSize ¶
func (o *StorageUpdate) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (StorageUpdate) ToMap ¶
func (o StorageUpdate) ToMap() (map[string]interface{}, error)
func (*StorageUpdate) UnmarshalJSON ¶
func (o *StorageUpdate) UnmarshalJSON(data []byte) (err error)
type UpdateDatabasePartiallyResponse ¶
type UpdateDatabasePartiallyResponse struct {
Database ListDatabase `json:"database"`
AdditionalProperties map[string]interface{}
}
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 UpdateDatabasePayload ¶
type UpdateDatabasePayload struct {
// The name of the database.
Name string `json:"name"`
// The owner of the database.
Owner string `json:"owner"`
AdditionalProperties map[string]interface{}
}
UpdateDatabasePayload struct for UpdateDatabasePayload
func NewUpdateDatabasePayload ¶
func NewUpdateDatabasePayload(name string, owner string) *UpdateDatabasePayload
NewUpdateDatabasePayload instantiates a new UpdateDatabasePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabasePayloadWithDefaults ¶
func NewUpdateDatabasePayloadWithDefaults() *UpdateDatabasePayload
NewUpdateDatabasePayloadWithDefaults instantiates a new UpdateDatabasePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabasePayload) GetName ¶
func (o *UpdateDatabasePayload) GetName() string
GetName returns the Name field value
func (*UpdateDatabasePayload) GetNameOk ¶
func (o *UpdateDatabasePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateDatabasePayload) GetOwner ¶
func (o *UpdateDatabasePayload) GetOwner() string
GetOwner returns the Owner field value
func (*UpdateDatabasePayload) GetOwnerOk ¶
func (o *UpdateDatabasePayload) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (UpdateDatabasePayload) MarshalJSON ¶
func (o UpdateDatabasePayload) MarshalJSON() ([]byte, error)
func (*UpdateDatabasePayload) SetName ¶
func (o *UpdateDatabasePayload) SetName(v string)
SetName sets field value
func (*UpdateDatabasePayload) SetOwner ¶
func (o *UpdateDatabasePayload) SetOwner(v string)
SetOwner sets field value
func (UpdateDatabasePayload) ToMap ¶
func (o UpdateDatabasePayload) ToMap() (map[string]interface{}, error)
func (*UpdateDatabasePayload) UnmarshalJSON ¶
func (o *UpdateDatabasePayload) UnmarshalJSON(data []byte) (err error)
type UpdateDatabaseResponse ¶
type UpdateDatabaseResponse struct {
Database ListDatabase `json:"database"`
AdditionalProperties map[string]interface{}
}
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 UpdateInstancePayload ¶
type UpdateInstancePayload 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"`
// Key-value pairs, 63 characters max, begin and end with an alphanumerical character, may contain dashes (-), underscores (_), dots (.), and alphanumerics between. Key MUST be at least 1 character. Max 64 labels Regex for keys: ^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$ Regex for values: ^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$ The stackit- prefix is reserved and cannot be used for Keys.
Labels *map[string]string `json:"labels,omitempty"`
// The name of the instance.
Name string `json:"name"`
Network InstanceNetworkUpdate `json:"network"`
// How long backups are retained. The value can only be between 32 and 90 days.
RetentionDays NullableInt32 `json:"retentionDays"`
Storage StorageUpdate `json:"storage"`
// The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3#tag/Version) for supported version parameters.
Version string `json:"version"`
AdditionalProperties map[string]interface{}
}
UpdateInstancePayload struct for UpdateInstancePayload
func NewUpdateInstancePayload ¶
func NewUpdateInstancePayload(backupSchedule string, flavorId string, name string, network InstanceNetworkUpdate, retentionDays NullableInt32, storage StorageUpdate, version string) *UpdateInstancePayload
NewUpdateInstancePayload instantiates a new UpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstancePayloadWithDefaults ¶
func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload
NewUpdateInstancePayloadWithDefaults instantiates a new UpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstancePayload) GetBackupSchedule ¶
func (o *UpdateInstancePayload) GetBackupSchedule() string
GetBackupSchedule returns the BackupSchedule field value
func (*UpdateInstancePayload) GetBackupScheduleOk ¶
func (o *UpdateInstancePayload) GetBackupScheduleOk() (*string, bool)
GetBackupScheduleOk returns a tuple with the BackupSchedule field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetFlavorId ¶
func (o *UpdateInstancePayload) GetFlavorId() string
GetFlavorId returns the FlavorId field value
func (*UpdateInstancePayload) GetFlavorIdOk ¶
func (o *UpdateInstancePayload) GetFlavorIdOk() (*string, bool)
GetFlavorIdOk returns a tuple with the FlavorId field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetLabels ¶
func (o *UpdateInstancePayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateInstancePayload) GetLabelsOk ¶
func (o *UpdateInstancePayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetName ¶
func (o *UpdateInstancePayload) GetName() string
GetName returns the Name field value
func (*UpdateInstancePayload) GetNameOk ¶
func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetNetwork ¶
func (o *UpdateInstancePayload) GetNetwork() InstanceNetworkUpdate
GetNetwork returns the Network field value
func (*UpdateInstancePayload) GetNetworkOk ¶
func (o *UpdateInstancePayload) GetNetworkOk() (*InstanceNetworkUpdate, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetRetentionDays ¶
func (o *UpdateInstancePayload) GetRetentionDays() int32
GetRetentionDays returns the RetentionDays field value If the value is explicit nil, the zero value for int32 will be returned
func (*UpdateInstancePayload) GetRetentionDaysOk ¶
func (o *UpdateInstancePayload) GetRetentionDaysOk() (*int32, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateInstancePayload) GetStorage ¶
func (o *UpdateInstancePayload) GetStorage() StorageUpdate
GetStorage returns the Storage field value
func (*UpdateInstancePayload) GetStorageOk ¶
func (o *UpdateInstancePayload) GetStorageOk() (*StorageUpdate, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetVersion ¶
func (o *UpdateInstancePayload) GetVersion() string
GetVersion returns the Version field value
func (*UpdateInstancePayload) GetVersionOk ¶
func (o *UpdateInstancePayload) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) HasLabels ¶
func (o *UpdateInstancePayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (UpdateInstancePayload) MarshalJSON ¶
func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePayload) SetBackupSchedule ¶
func (o *UpdateInstancePayload) SetBackupSchedule(v string)
SetBackupSchedule sets field value
func (*UpdateInstancePayload) SetFlavorId ¶
func (o *UpdateInstancePayload) SetFlavorId(v string)
SetFlavorId sets field value
func (*UpdateInstancePayload) SetLabels ¶
func (o *UpdateInstancePayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateInstancePayload) SetName ¶
func (o *UpdateInstancePayload) SetName(v string)
SetName sets field value
func (*UpdateInstancePayload) SetNetwork ¶
func (o *UpdateInstancePayload) SetNetwork(v InstanceNetworkUpdate)
SetNetwork sets field value
func (*UpdateInstancePayload) SetRetentionDays ¶
func (o *UpdateInstancePayload) SetRetentionDays(v int32)
SetRetentionDays sets field value
func (*UpdateInstancePayload) SetStorage ¶
func (o *UpdateInstancePayload) SetStorage(v StorageUpdate)
SetStorage sets field value
func (*UpdateInstancePayload) SetVersion ¶
func (o *UpdateInstancePayload) SetVersion(v string)
SetVersion sets field value
func (UpdateInstancePayload) ToMap ¶
func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePayload) UnmarshalJSON ¶
func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
type UpdateInstanceProtectionPayload ¶
type UpdateInstanceProtectionPayload struct {
// Protect instance from deletion.
IsDeletable bool `json:"isDeletable"`
AdditionalProperties map[string]interface{}
}
UpdateInstanceProtectionPayload struct for UpdateInstanceProtectionPayload
func NewUpdateInstanceProtectionPayload ¶
func NewUpdateInstanceProtectionPayload(isDeletable bool) *UpdateInstanceProtectionPayload
NewUpdateInstanceProtectionPayload instantiates a new UpdateInstanceProtectionPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstanceProtectionPayloadWithDefaults ¶
func NewUpdateInstanceProtectionPayloadWithDefaults() *UpdateInstanceProtectionPayload
NewUpdateInstanceProtectionPayloadWithDefaults instantiates a new UpdateInstanceProtectionPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstanceProtectionPayload) GetIsDeletable ¶
func (o *UpdateInstanceProtectionPayload) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*UpdateInstanceProtectionPayload) GetIsDeletableOk ¶
func (o *UpdateInstanceProtectionPayload) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (UpdateInstanceProtectionPayload) MarshalJSON ¶
func (o UpdateInstanceProtectionPayload) MarshalJSON() ([]byte, error)
func (*UpdateInstanceProtectionPayload) SetIsDeletable ¶
func (o *UpdateInstanceProtectionPayload) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (UpdateInstanceProtectionPayload) ToMap ¶
func (o UpdateInstanceProtectionPayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstanceProtectionPayload) UnmarshalJSON ¶
func (o *UpdateInstanceProtectionPayload) UnmarshalJSON(data []byte) (err error)
type UpdateInstanceProtectionResponse ¶
type UpdateInstanceProtectionResponse struct {
// Protect instance from deletion.
IsDeletable bool `json:"isDeletable"`
AdditionalProperties map[string]interface{}
}
UpdateInstanceProtectionResponse struct for UpdateInstanceProtectionResponse
func NewUpdateInstanceProtectionResponse ¶
func NewUpdateInstanceProtectionResponse(isDeletable bool) *UpdateInstanceProtectionResponse
NewUpdateInstanceProtectionResponse instantiates a new UpdateInstanceProtectionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstanceProtectionResponseWithDefaults ¶
func NewUpdateInstanceProtectionResponseWithDefaults() *UpdateInstanceProtectionResponse
NewUpdateInstanceProtectionResponseWithDefaults instantiates a new UpdateInstanceProtectionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstanceProtectionResponse) GetIsDeletable ¶
func (o *UpdateInstanceProtectionResponse) GetIsDeletable() bool
GetIsDeletable returns the IsDeletable field value
func (*UpdateInstanceProtectionResponse) GetIsDeletableOk ¶
func (o *UpdateInstanceProtectionResponse) GetIsDeletableOk() (*bool, bool)
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (UpdateInstanceProtectionResponse) MarshalJSON ¶
func (o UpdateInstanceProtectionResponse) MarshalJSON() ([]byte, error)
func (*UpdateInstanceProtectionResponse) SetIsDeletable ¶
func (o *UpdateInstanceProtectionResponse) SetIsDeletable(v bool)
SetIsDeletable sets field value
func (UpdateInstanceProtectionResponse) ToMap ¶
func (o UpdateInstanceProtectionResponse) ToMap() (map[string]interface{}, error)
func (*UpdateInstanceProtectionResponse) UnmarshalJSON ¶
func (o *UpdateInstanceProtectionResponse) UnmarshalJSON(data []byte) (err error)
type UpdateUserPayload ¶
type UpdateUserPayload struct {
// The name of the user.
Name *string `json:"name,omitempty"`
// A list containing the user roles for the instance. Please refer to the List Roles endpoint for a list of all available Roles.
Roles []string `json:"roles"`
AdditionalProperties map[string]interface{}
}
UpdateUserPayload struct for UpdateUserPayload
func NewUpdateUserPayload ¶
func NewUpdateUserPayload(roles []string) *UpdateUserPayload
NewUpdateUserPayload instantiates a new UpdateUserPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateUserPayloadWithDefaults ¶
func NewUpdateUserPayloadWithDefaults() *UpdateUserPayload
NewUpdateUserPayloadWithDefaults instantiates a new UpdateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateUserPayload) GetName ¶
func (o *UpdateUserPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateUserPayload) GetNameOk ¶
func (o *UpdateUserPayload) 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 (*UpdateUserPayload) GetRoles ¶
func (o *UpdateUserPayload) GetRoles() []string
GetRoles returns the Roles field value
func (*UpdateUserPayload) GetRolesOk ¶
func (o *UpdateUserPayload) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*UpdateUserPayload) HasName ¶
func (o *UpdateUserPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateUserPayload) MarshalJSON ¶
func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
func (*UpdateUserPayload) SetName ¶
func (o *UpdateUserPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateUserPayload) SetRoles ¶
func (o *UpdateUserPayload) SetRoles(v []string)
SetRoles sets field value
func (UpdateUserPayload) ToMap ¶
func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
func (*UpdateUserPayload) UnmarshalJSON ¶
func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err error)
type 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_STATE_DESC UserSort = "state.desc" USERSORT_STATE_ASC UserSort = "state.asc" USERSORT_UNKNOWN_DEFAULT_OPEN_API UserSort = "unknown_default_open_api" )
List of user.sort
func NewUserSortFromValue ¶
NewUserSortFromValue returns a pointer to a valid UserSort for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*UserSort) UnmarshalJSON ¶
type ValidationError ¶
type ValidationError struct {
// the http error should be always 422 for validationError
Code int32 `json:"code"`
// errors for all fields where the error happened
Validation []ValidationErrorValidationInner `json:"validation"`
AdditionalProperties map[string]interface{}
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(code int32, validation []ValidationErrorValidationInner) *ValidationError
NewValidationError instantiates a new ValidationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ValidationError) GetCode ¶
func (o *ValidationError) GetCode() int32
GetCode returns the Code field value
func (*ValidationError) GetCodeOk ¶
func (o *ValidationError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ValidationError) GetValidation ¶
func (o *ValidationError) GetValidation() []ValidationErrorValidationInner
GetValidation returns the Validation field value
func (*ValidationError) GetValidationOk ¶
func (o *ValidationError) GetValidationOk() ([]ValidationErrorValidationInner, bool)
GetValidationOk returns a tuple with the Validation field value and a boolean to check if the value has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetCode ¶
func (o *ValidationError) SetCode(v int32)
SetCode sets field value
func (*ValidationError) SetValidation ¶
func (o *ValidationError) SetValidation(v []ValidationErrorValidationInner)
SetValidation sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
func (*ValidationError) UnmarshalJSON ¶
func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
type ValidationErrorValidationInner ¶
type ValidationErrorValidationInner struct {
Field string `json:"field"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
ValidationErrorValidationInner struct for ValidationErrorValidationInner
func NewValidationErrorValidationInner ¶
func NewValidationErrorValidationInner(field string, message string) *ValidationErrorValidationInner
NewValidationErrorValidationInner instantiates a new ValidationErrorValidationInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewValidationErrorValidationInnerWithDefaults ¶
func NewValidationErrorValidationInnerWithDefaults() *ValidationErrorValidationInner
NewValidationErrorValidationInnerWithDefaults instantiates a new ValidationErrorValidationInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ValidationErrorValidationInner) GetField ¶
func (o *ValidationErrorValidationInner) GetField() string
GetField returns the Field field value
func (*ValidationErrorValidationInner) GetFieldOk ¶
func (o *ValidationErrorValidationInner) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*ValidationErrorValidationInner) GetMessage ¶
func (o *ValidationErrorValidationInner) GetMessage() string
GetMessage returns the Message field value
func (*ValidationErrorValidationInner) GetMessageOk ¶
func (o *ValidationErrorValidationInner) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ValidationErrorValidationInner) MarshalJSON ¶
func (o ValidationErrorValidationInner) MarshalJSON() ([]byte, error)
func (*ValidationErrorValidationInner) SetField ¶
func (o *ValidationErrorValidationInner) SetField(v string)
SetField sets field value
func (*ValidationErrorValidationInner) SetMessage ¶
func (o *ValidationErrorValidationInner) SetMessage(v string)
SetMessage sets field value
func (ValidationErrorValidationInner) ToMap ¶
func (o ValidationErrorValidationInner) ToMap() (map[string]interface{}, error)
func (*ValidationErrorValidationInner) UnmarshalJSON ¶
func (o *ValidationErrorValidationInner) UnmarshalJSON(data []byte) (err error)
type Version ¶
type Version struct {
// Flag if the version is a beta version. If set the version may contain bugs and is not fully tested.
Beta bool `json:"beta"`
// Timestamp in RFC3339 format which says when the version will no longer be supported by STACKIT.
Deprecated string `json:"deprecated"`
// Flag if the version is recommend by the STACKIT Team.
Recommend bool `json:"recommend"`
// The postgres version used for the instance.
Version string `json:"version"`
AdditionalProperties map[string]interface{}
}
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_data.go
- model_backup_sort.go
- model_clone_instance_overrides.go
- model_clone_instance_payload.go
- model_clone_instance_response.go
- model_create_database_payload.go
- model_create_database_response.go
- model_create_instance_payload.go
- model_create_instance_response.go
- model_create_user_payload.go
- model_create_user_response.go
- model_database_roles.go
- model_database_sort.go
- model_error.go
- model_flavor_sort.go
- model_flavor_storage_classes_storage_class.go
- model_get_database_response.go
- model_get_instance_response.go
- model_get_user_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_backups_response.go
- model_list_collations_response.go
- model_list_database.go
- model_list_databases_response.go
- model_list_flavors.go
- model_list_flavors_response.go
- model_list_instance.go
- model_list_instances_response.go
- model_list_roles_response.go
- model_list_user.go
- model_list_users_response.go
- model_list_versions_response.go
- model_pagination.go
- model_partial_update_database_payload.go
- model_partial_update_instance_payload.go
- model_partial_update_user_payload.go
- model_reset_user_password_response.go
- model_state.go
- model_storage.go
- model_storage_create.go
- model_storage_update.go
- model_update_database_partially_response.go
- model_update_database_payload.go
- model_update_database_response.go
- model_update_instance_payload.go
- model_update_instance_protection_payload.go
- model_update_instance_protection_response.go
- model_update_user_payload.go
- model_user_sort.go
- model_validation_error.go
- model_validation_error_validation_inner.go
- model_version.go
- response.go
- utils.go