Documentation ¶
Index ¶
- Constants
- Variables
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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
- func SliceToValueDefault[T any](ptrSlice *[]T) []T
- func ToBool(ptr *bool) bool
- func ToBoolDefault(ptr *bool) bool
- func ToBoolSlice(ptrSlice *[]bool) []bool
- func ToByte(ptr *byte) byte
- func ToByteDefault(ptr *byte) byte
- func ToByteSlice(ptrSlice *[]byte) []byte
- func ToFloat32(ptr *float32) float32
- func ToFloat32Default(ptr *float32) float32
- func ToFloat32Slice(ptrSlice *[]float32) []float32
- func ToFloat64(ptr *float64) float64
- func ToFloat64Default(ptr *float64) float64
- func ToFloat64Slice(ptrSlice *[]float64) []float64
- func ToInt(ptr *int) int
- func ToInt16(ptr *int16) int16
- func ToInt16Default(ptr *int16) int16
- func ToInt16Slice(ptrSlice *[]int16) []int16
- func ToInt32(ptr *int32) int32
- func ToInt32Default(ptr *int32) int32
- func ToInt32Slice(ptrSlice *[]int32) []int32
- func ToInt64(ptr *int64) int64
- func ToInt64Default(ptr *int64) int64
- func ToInt64Slice(ptrSlice *[]int64) []int64
- func ToInt8(ptr *int8) int8
- func ToInt8Default(ptr *int8) int8
- func ToInt8Slice(ptrSlice *[]int8) []int8
- func ToIntDefault(ptr *int) int
- func ToIntSlice(ptrSlice *[]int) []int
- func ToPtr[T any](v T) *T
- func ToString(ptr *string) string
- func ToStringDefault(ptr *string) string
- func ToStringSlice(ptrSlice *[]string) []string
- func ToTime(ptr *time.Time) time.Time
- func ToTimeDefault(ptr *time.Time) time.Time
- func ToTimeSlice(ptrSlice *[]time.Time) []time.Time
- func ToUint(ptr *uint) uint
- func ToUint16(ptr *uint16) uint16
- func ToUint16Default(ptr *uint16) uint16
- func ToUint16Slice(ptrSlice *[]uint16) []uint16
- func ToUint32(ptr *uint32) uint32
- func ToUint32Default(ptr *uint32) uint32
- func ToUint32Slice(ptrSlice *[]uint32) []uint32
- func ToUint64(ptr *uint64) uint64
- func ToUint64Default(ptr *uint64) uint64
- func ToUint64Slice(ptrSlice *[]uint64) []uint64
- func ToUint8(ptr *uint8) uint8
- func ToUint8Default(ptr *uint8) uint8
- func ToUint8Slice(ptrSlice *[]uint8) []uint8
- func ToUintDefault(ptr *uint) uint
- func ToUintSlice(ptrSlice *[]uint) []uint
- func ToValue[T any](ptr *T) T
- func ToValueDefault[T any](ptr *T) T
- type APIClient
- type APIKey
- type APIResponse
- type ApiBackupsFindByIdRequest
- type ApiBackupsGetRequest
- type ApiClusterBackupsGetRequest
- type ApiClustersDeleteRequest
- type ApiClustersFindByIdRequest
- type ApiClustersGetRequest
- func (r ApiClustersGetRequest) Execute() (ClusterList, *APIResponse, error)
- func (r ApiClustersGetRequest) FilterName(filterName string) ApiClustersGetRequest
- func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
- func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
- type ApiClustersPatchRequest
- type ApiClustersPostRequest
- type ApiClustersRestoreRequest
- type Backup
- func (o *Backup) GetBaseBackups() *[]BaseBackup
- func (o *Backup) GetBaseBackupsOk() (*[]BaseBackup, bool)
- func (o *Backup) GetClusterId() *string
- func (o *Backup) GetClusterIdOk() (*string, bool)
- func (o *Backup) GetEarliestRecoveryTargetTime() *time.Time
- func (o *Backup) GetEarliestRecoveryTargetTimeOk() (*time.Time, bool)
- func (o *Backup) GetSize() *int32
- func (o *Backup) GetSizeOk() (*int32, bool)
- func (o *Backup) HasBaseBackups() bool
- func (o *Backup) HasClusterId() bool
- func (o *Backup) HasEarliestRecoveryTargetTime() bool
- func (o *Backup) HasSize() bool
- func (o Backup) MarshalJSON() ([]byte, error)
- func (o *Backup) SetBaseBackups(v []BaseBackup)
- func (o *Backup) SetClusterId(v string)
- func (o *Backup) SetEarliestRecoveryTargetTime(v time.Time)
- func (o *Backup) SetSize(v int32)
- type BackupList
- func (o *BackupList) GetId() *string
- func (o *BackupList) GetIdOk() (*string, bool)
- func (o *BackupList) GetItems() *[]BackupResponse
- func (o *BackupList) GetItemsOk() (*[]BackupResponse, bool)
- func (o *BackupList) GetLimit() *int32
- func (o *BackupList) GetLimitOk() (*int32, bool)
- func (o *BackupList) GetLinks() *PaginationLinks
- func (o *BackupList) GetLinksOk() (*PaginationLinks, bool)
- func (o *BackupList) GetOffset() *int32
- func (o *BackupList) GetOffsetOk() (*int32, bool)
- func (o *BackupList) GetTotal() *int32
- func (o *BackupList) GetTotalOk() (*int32, bool)
- func (o *BackupList) HasId() bool
- func (o *BackupList) HasItems() bool
- func (o *BackupList) HasLimit() bool
- func (o *BackupList) HasLinks() bool
- func (o *BackupList) HasOffset() bool
- func (o *BackupList) HasTotal() bool
- func (o BackupList) MarshalJSON() ([]byte, error)
- func (o *BackupList) SetId(v string)
- func (o *BackupList) SetItems(v []BackupResponse)
- func (o *BackupList) SetLimit(v int32)
- func (o *BackupList) SetLinks(v PaginationLinks)
- func (o *BackupList) SetOffset(v int32)
- func (o *BackupList) SetTotal(v int32)
- type BackupListAllOf
- func (o *BackupListAllOf) GetId() *string
- func (o *BackupListAllOf) GetIdOk() (*string, bool)
- func (o *BackupListAllOf) GetItems() *[]BackupResponse
- func (o *BackupListAllOf) GetItemsOk() (*[]BackupResponse, bool)
- func (o *BackupListAllOf) HasId() bool
- func (o *BackupListAllOf) HasItems() bool
- func (o BackupListAllOf) MarshalJSON() ([]byte, error)
- func (o *BackupListAllOf) SetId(v string)
- func (o *BackupListAllOf) SetItems(v []BackupResponse)
- type BackupResponse
- func (o *BackupResponse) GetId() *string
- func (o *BackupResponse) GetIdOk() (*string, bool)
- func (o *BackupResponse) GetProperties() *Backup
- func (o *BackupResponse) GetPropertiesOk() (*Backup, bool)
- func (o *BackupResponse) HasId() bool
- func (o *BackupResponse) HasProperties() bool
- func (o BackupResponse) MarshalJSON() ([]byte, error)
- func (o *BackupResponse) SetId(v string)
- func (o *BackupResponse) SetProperties(v Backup)
- type BackupsApiService
- func (a *BackupsApiService) BackupsFindById(ctx _context.Context, backupId string) ApiBackupsFindByIdRequest
- func (a *BackupsApiService) BackupsFindByIdExecute(r ApiBackupsFindByIdRequest) (BackupResponse, *APIResponse, error)
- func (a *BackupsApiService) BackupsGet(ctx _context.Context) ApiBackupsGetRequest
- func (a *BackupsApiService) BackupsGetExecute(r ApiBackupsGetRequest) (BackupList, *APIResponse, error)
- func (a *BackupsApiService) ClusterBackupsGet(ctx _context.Context, clusterId string) ApiClusterBackupsGetRequest
- func (a *BackupsApiService) ClusterBackupsGetExecute(r ApiClusterBackupsGetRequest) (BackupList, *APIResponse, error)
- type BaseBackup
- func (o *BaseBackup) GetCreated() *time.Time
- func (o *BaseBackup) GetCreatedOk() (*time.Time, bool)
- func (o *BaseBackup) GetSize() *int32
- func (o *BaseBackup) GetSizeOk() (*int32, bool)
- func (o *BaseBackup) HasCreated() bool
- func (o *BaseBackup) HasSize() bool
- func (o BaseBackup) MarshalJSON() ([]byte, error)
- func (o *BaseBackup) SetCreated(v time.Time)
- func (o *BaseBackup) SetSize(v int32)
- type BasicAuth
- type ClusterList
- func (o *ClusterList) GetId() *string
- func (o *ClusterList) GetIdOk() (*string, bool)
- func (o *ClusterList) GetItems() *[]ClusterResponse
- func (o *ClusterList) GetItemsOk() (*[]ClusterResponse, bool)
- func (o *ClusterList) GetLimit() *int32
- func (o *ClusterList) GetLimitOk() (*int32, bool)
- func (o *ClusterList) GetLinks() *PaginationLinks
- func (o *ClusterList) GetLinksOk() (*PaginationLinks, bool)
- func (o *ClusterList) GetOffset() *int32
- func (o *ClusterList) GetOffsetOk() (*int32, bool)
- func (o *ClusterList) GetTotal() *int32
- func (o *ClusterList) GetTotalOk() (*int32, bool)
- func (o *ClusterList) HasId() bool
- func (o *ClusterList) HasItems() bool
- func (o *ClusterList) HasLimit() bool
- func (o *ClusterList) HasLinks() bool
- func (o *ClusterList) HasOffset() bool
- func (o *ClusterList) HasTotal() bool
- func (o ClusterList) MarshalJSON() ([]byte, error)
- func (o *ClusterList) SetId(v string)
- func (o *ClusterList) SetItems(v []ClusterResponse)
- func (o *ClusterList) SetLimit(v int32)
- func (o *ClusterList) SetLinks(v PaginationLinks)
- func (o *ClusterList) SetOffset(v int32)
- func (o *ClusterList) SetTotal(v int32)
- type ClusterListAllOf
- func (o *ClusterListAllOf) GetId() *string
- func (o *ClusterListAllOf) GetIdOk() (*string, bool)
- func (o *ClusterListAllOf) GetItems() *[]ClusterResponse
- func (o *ClusterListAllOf) GetItemsOk() (*[]ClusterResponse, bool)
- func (o *ClusterListAllOf) HasId() bool
- func (o *ClusterListAllOf) HasItems() bool
- func (o ClusterListAllOf) MarshalJSON() ([]byte, error)
- func (o *ClusterListAllOf) SetId(v string)
- func (o *ClusterListAllOf) SetItems(v []ClusterResponse)
- type ClusterMetadata
- func (o *ClusterMetadata) GetCreatedBy() *string
- func (o *ClusterMetadata) GetCreatedByOk() (*string, bool)
- func (o *ClusterMetadata) GetCreatedByUserId() *string
- func (o *ClusterMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *ClusterMetadata) GetCreatedDate() *time.Time
- func (o *ClusterMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *ClusterMetadata) GetLastModifiedBy() *string
- func (o *ClusterMetadata) GetLastModifiedByOk() (*string, bool)
- func (o *ClusterMetadata) GetLastModifiedByUserId() *string
- func (o *ClusterMetadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *ClusterMetadata) GetLastModifiedDate() *time.Time
- func (o *ClusterMetadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *ClusterMetadata) GetState() *State
- func (o *ClusterMetadata) GetStateOk() (*State, bool)
- func (o *ClusterMetadata) HasCreatedBy() bool
- func (o *ClusterMetadata) HasCreatedByUserId() bool
- func (o *ClusterMetadata) HasCreatedDate() bool
- func (o *ClusterMetadata) HasLastModifiedBy() bool
- func (o *ClusterMetadata) HasLastModifiedByUserId() bool
- func (o *ClusterMetadata) HasLastModifiedDate() bool
- func (o *ClusterMetadata) HasState() bool
- func (o ClusterMetadata) MarshalJSON() ([]byte, error)
- func (o *ClusterMetadata) SetCreatedBy(v string)
- func (o *ClusterMetadata) SetCreatedByUserId(v string)
- func (o *ClusterMetadata) SetCreatedDate(v time.Time)
- func (o *ClusterMetadata) SetLastModifiedBy(v string)
- func (o *ClusterMetadata) SetLastModifiedByUserId(v string)
- func (o *ClusterMetadata) SetLastModifiedDate(v time.Time)
- func (o *ClusterMetadata) SetState(v State)
- type ClusterProperties
- func (o *ClusterProperties) GetConnections() *[]Connection
- func (o *ClusterProperties) GetConnectionsOk() (*[]Connection, bool)
- func (o *ClusterProperties) GetCores() *int32
- func (o *ClusterProperties) GetCoresOk() (*int32, bool)
- func (o *ClusterProperties) GetDisplayName() *string
- func (o *ClusterProperties) GetDisplayNameOk() (*string, bool)
- func (o *ClusterProperties) GetDnsName() *string
- func (o *ClusterProperties) GetDnsNameOk() (*string, bool)
- func (o *ClusterProperties) GetInstances() *int32
- func (o *ClusterProperties) GetInstancesOk() (*int32, bool)
- func (o *ClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *ClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *ClusterProperties) GetMariadbVersion() *MariadbVersion
- func (o *ClusterProperties) GetMariadbVersionOk() (*MariadbVersion, bool)
- func (o *ClusterProperties) GetRam() *int32
- func (o *ClusterProperties) GetRamOk() (*int32, bool)
- func (o *ClusterProperties) GetStorageSize() *int32
- func (o *ClusterProperties) GetStorageSizeOk() (*int32, bool)
- func (o *ClusterProperties) HasConnections() bool
- func (o *ClusterProperties) HasCores() bool
- func (o *ClusterProperties) HasDisplayName() bool
- func (o *ClusterProperties) HasDnsName() bool
- func (o *ClusterProperties) HasInstances() bool
- func (o *ClusterProperties) HasMaintenanceWindow() bool
- func (o *ClusterProperties) HasMariadbVersion() bool
- func (o *ClusterProperties) HasRam() bool
- func (o *ClusterProperties) HasStorageSize() bool
- func (o ClusterProperties) MarshalJSON() ([]byte, error)
- func (o *ClusterProperties) SetConnections(v []Connection)
- func (o *ClusterProperties) SetCores(v int32)
- func (o *ClusterProperties) SetDisplayName(v string)
- func (o *ClusterProperties) SetDnsName(v string)
- func (o *ClusterProperties) SetInstances(v int32)
- func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *ClusterProperties) SetMariadbVersion(v MariadbVersion)
- func (o *ClusterProperties) SetRam(v int32)
- func (o *ClusterProperties) SetStorageSize(v int32)
- type ClusterResponse
- func (o *ClusterResponse) GetId() *string
- func (o *ClusterResponse) GetIdOk() (*string, bool)
- func (o *ClusterResponse) GetMetadata() *ClusterMetadata
- func (o *ClusterResponse) GetMetadataOk() (*ClusterMetadata, bool)
- func (o *ClusterResponse) GetProperties() *ClusterProperties
- func (o *ClusterResponse) GetPropertiesOk() (*ClusterProperties, bool)
- func (o *ClusterResponse) HasId() bool
- func (o *ClusterResponse) HasMetadata() bool
- func (o *ClusterResponse) HasProperties() bool
- func (o ClusterResponse) MarshalJSON() ([]byte, error)
- func (o *ClusterResponse) SetId(v string)
- func (o *ClusterResponse) SetMetadata(v ClusterMetadata)
- func (o *ClusterResponse) SetProperties(v ClusterProperties)
- type ClustersApiService
- func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
- func (a *ClustersApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (ClusterResponse, *APIResponse, error)
- func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
- func (a *ClustersApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterResponse, *APIResponse, error)
- func (a *ClustersApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
- func (a *ClustersApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterList, *APIResponse, error)
- func (a *ClustersApiService) ClustersPatch(ctx _context.Context, clusterId string) ApiClustersPatchRequest
- func (a *ClustersApiService) ClustersPatchExecute(r ApiClustersPatchRequest) (ClusterResponse, *APIResponse, error)
- func (a *ClustersApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
- func (a *ClustersApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterResponse, *APIResponse, error)
- type ClustersGet400Response
- func (o *ClustersGet400Response) GetHttpStatus() *int32
- func (o *ClustersGet400Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet400Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet400Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet400Response) HasHttpStatus() bool
- func (o *ClustersGet400Response) HasMessages() bool
- func (o ClustersGet400Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet400Response) SetHttpStatus(v int32)
- func (o *ClustersGet400Response) SetMessages(v []ErrorMessage)
- type ClustersGet401Response
- func (o *ClustersGet401Response) GetHttpStatus() *int32
- func (o *ClustersGet401Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet401Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet401Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet401Response) HasHttpStatus() bool
- func (o *ClustersGet401Response) HasMessages() bool
- func (o ClustersGet401Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet401Response) SetHttpStatus(v int32)
- func (o *ClustersGet401Response) SetMessages(v []ErrorMessage)
- type ClustersGet403Response
- func (o *ClustersGet403Response) GetHttpStatus() *int32
- func (o *ClustersGet403Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet403Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet403Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet403Response) HasHttpStatus() bool
- func (o *ClustersGet403Response) HasMessages() bool
- func (o ClustersGet403Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet403Response) SetHttpStatus(v int32)
- func (o *ClustersGet403Response) SetMessages(v []ErrorMessage)
- type ClustersGet404Response
- func (o *ClustersGet404Response) GetHttpStatus() *int32
- func (o *ClustersGet404Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet404Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet404Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet404Response) HasHttpStatus() bool
- func (o *ClustersGet404Response) HasMessages() bool
- func (o ClustersGet404Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet404Response) SetHttpStatus(v int32)
- func (o *ClustersGet404Response) SetMessages(v []ErrorMessage)
- type ClustersGet405Response
- func (o *ClustersGet405Response) GetHttpStatus() *int32
- func (o *ClustersGet405Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet405Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet405Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet405Response) HasHttpStatus() bool
- func (o *ClustersGet405Response) HasMessages() bool
- func (o ClustersGet405Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet405Response) SetHttpStatus(v int32)
- func (o *ClustersGet405Response) SetMessages(v []ErrorMessage)
- type ClustersGet415Response
- func (o *ClustersGet415Response) GetHttpStatus() *int32
- func (o *ClustersGet415Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet415Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet415Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet415Response) HasHttpStatus() bool
- func (o *ClustersGet415Response) HasMessages() bool
- func (o ClustersGet415Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet415Response) SetHttpStatus(v int32)
- func (o *ClustersGet415Response) SetMessages(v []ErrorMessage)
- type ClustersGet422Response
- func (o *ClustersGet422Response) GetHttpStatus() *int32
- func (o *ClustersGet422Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet422Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet422Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet422Response) HasHttpStatus() bool
- func (o *ClustersGet422Response) HasMessages() bool
- func (o ClustersGet422Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet422Response) SetHttpStatus(v int32)
- func (o *ClustersGet422Response) SetMessages(v []ErrorMessage)
- type ClustersGet429Response
- func (o *ClustersGet429Response) GetHttpStatus() *int32
- func (o *ClustersGet429Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet429Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet429Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet429Response) HasHttpStatus() bool
- func (o *ClustersGet429Response) HasMessages() bool
- func (o ClustersGet429Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet429Response) SetHttpStatus(v int32)
- func (o *ClustersGet429Response) SetMessages(v []ErrorMessage)
- type ClustersGet500Response
- func (o *ClustersGet500Response) GetHttpStatus() *int32
- func (o *ClustersGet500Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet500Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet500Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet500Response) HasHttpStatus() bool
- func (o *ClustersGet500Response) HasMessages() bool
- func (o ClustersGet500Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet500Response) SetHttpStatus(v int32)
- func (o *ClustersGet500Response) SetMessages(v []ErrorMessage)
- type ClustersGet503Response
- func (o *ClustersGet503Response) GetHttpStatus() *int32
- func (o *ClustersGet503Response) GetHttpStatusOk() (*int32, bool)
- func (o *ClustersGet503Response) GetMessages() *[]ErrorMessage
- func (o *ClustersGet503Response) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ClustersGet503Response) HasHttpStatus() bool
- func (o *ClustersGet503Response) HasMessages() bool
- func (o ClustersGet503Response) MarshalJSON() ([]byte, error)
- func (o *ClustersGet503Response) SetHttpStatus(v int32)
- func (o *ClustersGet503Response) SetMessages(v []ErrorMessage)
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) AddDefaultQueryParam(key string, value string)
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- type Connection
- func (o *Connection) GetCidr() *string
- func (o *Connection) GetCidrOk() (*string, bool)
- func (o *Connection) GetDatacenterId() *string
- func (o *Connection) GetDatacenterIdOk() (*string, bool)
- func (o *Connection) GetLanId() *string
- func (o *Connection) GetLanIdOk() (*string, bool)
- func (o *Connection) HasCidr() bool
- func (o *Connection) HasDatacenterId() bool
- func (o *Connection) HasLanId() bool
- func (o Connection) MarshalJSON() ([]byte, error)
- func (o *Connection) SetCidr(v string)
- func (o *Connection) SetDatacenterId(v string)
- func (o *Connection) SetLanId(v string)
- type CreateClusterProperties
- func (o *CreateClusterProperties) GetConnections() *[]Connection
- func (o *CreateClusterProperties) GetConnectionsOk() (*[]Connection, bool)
- func (o *CreateClusterProperties) GetCores() *int32
- func (o *CreateClusterProperties) GetCoresOk() (*int32, bool)
- func (o *CreateClusterProperties) GetCredentials() *DBUser
- func (o *CreateClusterProperties) GetCredentialsOk() (*DBUser, bool)
- func (o *CreateClusterProperties) GetDisplayName() *string
- func (o *CreateClusterProperties) GetDisplayNameOk() (*string, bool)
- func (o *CreateClusterProperties) GetFromBackup() *RestoreRequest
- func (o *CreateClusterProperties) GetFromBackupOk() (*RestoreRequest, bool)
- func (o *CreateClusterProperties) GetInstances() *int32
- func (o *CreateClusterProperties) GetInstancesOk() (*int32, bool)
- func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *CreateClusterProperties) GetMariadbVersion() *MariadbVersion
- func (o *CreateClusterProperties) GetMariadbVersionOk() (*MariadbVersion, bool)
- func (o *CreateClusterProperties) GetRam() *int32
- func (o *CreateClusterProperties) GetRamOk() (*int32, bool)
- func (o *CreateClusterProperties) GetStorageSize() *int32
- func (o *CreateClusterProperties) GetStorageSizeOk() (*int32, bool)
- func (o *CreateClusterProperties) HasConnections() bool
- func (o *CreateClusterProperties) HasCores() bool
- func (o *CreateClusterProperties) HasCredentials() bool
- func (o *CreateClusterProperties) HasDisplayName() bool
- func (o *CreateClusterProperties) HasFromBackup() bool
- func (o *CreateClusterProperties) HasInstances() bool
- func (o *CreateClusterProperties) HasMaintenanceWindow() bool
- func (o *CreateClusterProperties) HasMariadbVersion() bool
- func (o *CreateClusterProperties) HasRam() bool
- func (o *CreateClusterProperties) HasStorageSize() bool
- func (o CreateClusterProperties) MarshalJSON() ([]byte, error)
- func (o *CreateClusterProperties) SetConnections(v []Connection)
- func (o *CreateClusterProperties) SetCores(v int32)
- func (o *CreateClusterProperties) SetCredentials(v DBUser)
- func (o *CreateClusterProperties) SetDisplayName(v string)
- func (o *CreateClusterProperties) SetFromBackup(v RestoreRequest)
- func (o *CreateClusterProperties) SetInstances(v int32)
- func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *CreateClusterProperties) SetMariadbVersion(v MariadbVersion)
- func (o *CreateClusterProperties) SetRam(v int32)
- func (o *CreateClusterProperties) SetStorageSize(v int32)
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties
- func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)
- func (o *CreateClusterRequest) HasProperties() bool
- func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
- func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
- type DBUser
- func (o *DBUser) GetPassword() *string
- func (o *DBUser) GetPasswordOk() (*string, bool)
- func (o *DBUser) GetUsername() *string
- func (o *DBUser) GetUsernameOk() (*string, bool)
- func (o *DBUser) HasPassword() bool
- func (o *DBUser) HasUsername() bool
- func (o DBUser) MarshalJSON() ([]byte, error)
- func (o *DBUser) SetPassword(v string)
- func (o *DBUser) SetUsername(v string)
- type DayOfTheWeek
- type ErrorMessage
- func (o *ErrorMessage) GetErrorCode() *string
- func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessage) GetMessage() *string
- func (o *ErrorMessage) GetMessageOk() (*string, bool)
- func (o *ErrorMessage) HasErrorCode() bool
- func (o *ErrorMessage) HasMessage() bool
- func (o ErrorMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorMessage) SetErrorCode(v string)
- func (o *ErrorMessage) SetMessage(v string)
- type GenericOpenAPIError
- func (e GenericOpenAPIError) Body() []byte
- func (e GenericOpenAPIError) Error() string
- func (e GenericOpenAPIError) Model() interface{}
- func (e *GenericOpenAPIError) SetBody(body []byte)
- func (e *GenericOpenAPIError) SetError(error string)
- func (e *GenericOpenAPIError) SetModel(model interface{})
- func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
- func (e GenericOpenAPIError) StatusCode() int
- type IonosTime
- type LogLevel
- type Logger
- type MaintenanceWindow
- func (o *MaintenanceWindow) GetDayOfTheWeek() *DayOfTheWeek
- func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)
- func (o *MaintenanceWindow) GetTime() *string
- func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
- func (o *MaintenanceWindow) HasDayOfTheWeek() bool
- func (o *MaintenanceWindow) HasTime() bool
- func (o MaintenanceWindow) MarshalJSON() ([]byte, error)
- func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)
- func (o *MaintenanceWindow) SetTime(v string)
- type MariadbVersion
- type NullableBackup
- type NullableBackupList
- type NullableBackupListAllOf
- func (v NullableBackupListAllOf) Get() *BackupListAllOf
- func (v NullableBackupListAllOf) IsSet() bool
- func (v NullableBackupListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableBackupListAllOf) Set(val *BackupListAllOf)
- func (v *NullableBackupListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableBackupListAllOf) Unset()
- type NullableBackupResponse
- func (v NullableBackupResponse) Get() *BackupResponse
- func (v NullableBackupResponse) IsSet() bool
- func (v NullableBackupResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBackupResponse) Set(val *BackupResponse)
- func (v *NullableBackupResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBackupResponse) Unset()
- type NullableBaseBackup
- type NullableBool
- type NullableClusterList
- func (v NullableClusterList) Get() *ClusterList
- func (v NullableClusterList) IsSet() bool
- func (v NullableClusterList) MarshalJSON() ([]byte, error)
- func (v *NullableClusterList) Set(val *ClusterList)
- func (v *NullableClusterList) UnmarshalJSON(src []byte) error
- func (v *NullableClusterList) Unset()
- type NullableClusterListAllOf
- func (v NullableClusterListAllOf) Get() *ClusterListAllOf
- func (v NullableClusterListAllOf) IsSet() bool
- func (v NullableClusterListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableClusterListAllOf) Set(val *ClusterListAllOf)
- func (v *NullableClusterListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableClusterListAllOf) Unset()
- type NullableClusterMetadata
- func (v NullableClusterMetadata) Get() *ClusterMetadata
- func (v NullableClusterMetadata) IsSet() bool
- func (v NullableClusterMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableClusterMetadata) Set(val *ClusterMetadata)
- func (v *NullableClusterMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableClusterMetadata) Unset()
- type NullableClusterProperties
- func (v NullableClusterProperties) Get() *ClusterProperties
- func (v NullableClusterProperties) IsSet() bool
- func (v NullableClusterProperties) MarshalJSON() ([]byte, error)
- func (v *NullableClusterProperties) Set(val *ClusterProperties)
- func (v *NullableClusterProperties) UnmarshalJSON(src []byte) error
- func (v *NullableClusterProperties) Unset()
- type NullableClusterResponse
- func (v NullableClusterResponse) Get() *ClusterResponse
- func (v NullableClusterResponse) IsSet() bool
- func (v NullableClusterResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClusterResponse) Set(val *ClusterResponse)
- func (v *NullableClusterResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClusterResponse) Unset()
- type NullableClustersGet400Response
- func (v NullableClustersGet400Response) Get() *ClustersGet400Response
- func (v NullableClustersGet400Response) IsSet() bool
- func (v NullableClustersGet400Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet400Response) Set(val *ClustersGet400Response)
- func (v *NullableClustersGet400Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet400Response) Unset()
- type NullableClustersGet401Response
- func (v NullableClustersGet401Response) Get() *ClustersGet401Response
- func (v NullableClustersGet401Response) IsSet() bool
- func (v NullableClustersGet401Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet401Response) Set(val *ClustersGet401Response)
- func (v *NullableClustersGet401Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet401Response) Unset()
- type NullableClustersGet403Response
- func (v NullableClustersGet403Response) Get() *ClustersGet403Response
- func (v NullableClustersGet403Response) IsSet() bool
- func (v NullableClustersGet403Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet403Response) Set(val *ClustersGet403Response)
- func (v *NullableClustersGet403Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet403Response) Unset()
- type NullableClustersGet404Response
- func (v NullableClustersGet404Response) Get() *ClustersGet404Response
- func (v NullableClustersGet404Response) IsSet() bool
- func (v NullableClustersGet404Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet404Response) Set(val *ClustersGet404Response)
- func (v *NullableClustersGet404Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet404Response) Unset()
- type NullableClustersGet405Response
- func (v NullableClustersGet405Response) Get() *ClustersGet405Response
- func (v NullableClustersGet405Response) IsSet() bool
- func (v NullableClustersGet405Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet405Response) Set(val *ClustersGet405Response)
- func (v *NullableClustersGet405Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet405Response) Unset()
- type NullableClustersGet415Response
- func (v NullableClustersGet415Response) Get() *ClustersGet415Response
- func (v NullableClustersGet415Response) IsSet() bool
- func (v NullableClustersGet415Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet415Response) Set(val *ClustersGet415Response)
- func (v *NullableClustersGet415Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet415Response) Unset()
- type NullableClustersGet422Response
- func (v NullableClustersGet422Response) Get() *ClustersGet422Response
- func (v NullableClustersGet422Response) IsSet() bool
- func (v NullableClustersGet422Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet422Response) Set(val *ClustersGet422Response)
- func (v *NullableClustersGet422Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet422Response) Unset()
- type NullableClustersGet429Response
- func (v NullableClustersGet429Response) Get() *ClustersGet429Response
- func (v NullableClustersGet429Response) IsSet() bool
- func (v NullableClustersGet429Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet429Response) Set(val *ClustersGet429Response)
- func (v *NullableClustersGet429Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet429Response) Unset()
- type NullableClustersGet500Response
- func (v NullableClustersGet500Response) Get() *ClustersGet500Response
- func (v NullableClustersGet500Response) IsSet() bool
- func (v NullableClustersGet500Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet500Response) Set(val *ClustersGet500Response)
- func (v *NullableClustersGet500Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet500Response) Unset()
- type NullableClustersGet503Response
- func (v NullableClustersGet503Response) Get() *ClustersGet503Response
- func (v NullableClustersGet503Response) IsSet() bool
- func (v NullableClustersGet503Response) MarshalJSON() ([]byte, error)
- func (v *NullableClustersGet503Response) Set(val *ClustersGet503Response)
- func (v *NullableClustersGet503Response) UnmarshalJSON(src []byte) error
- func (v *NullableClustersGet503Response) Unset()
- type NullableConnection
- type NullableCreateClusterProperties
- func (v NullableCreateClusterProperties) Get() *CreateClusterProperties
- func (v NullableCreateClusterProperties) IsSet() bool
- func (v NullableCreateClusterProperties) MarshalJSON() ([]byte, error)
- func (v *NullableCreateClusterProperties) Set(val *CreateClusterProperties)
- func (v *NullableCreateClusterProperties) UnmarshalJSON(src []byte) error
- func (v *NullableCreateClusterProperties) Unset()
- type NullableCreateClusterRequest
- func (v NullableCreateClusterRequest) Get() *CreateClusterRequest
- func (v NullableCreateClusterRequest) IsSet() bool
- func (v NullableCreateClusterRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateClusterRequest) Set(val *CreateClusterRequest)
- func (v *NullableCreateClusterRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateClusterRequest) Unset()
- type NullableDBUser
- type NullableDayOfTheWeek
- func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
- func (v NullableDayOfTheWeek) IsSet() bool
- func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
- func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
- func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
- func (v *NullableDayOfTheWeek) Unset()
- type NullableErrorMessage
- func (v NullableErrorMessage) Get() *ErrorMessage
- func (v NullableErrorMessage) IsSet() bool
- func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessage) Set(val *ErrorMessage)
- func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessage) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMaintenanceWindow
- func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
- func (v NullableMaintenanceWindow) IsSet() bool
- func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
- func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
- func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
- func (v *NullableMaintenanceWindow) Unset()
- type NullableMariadbVersion
- func (v NullableMariadbVersion) Get() *MariadbVersion
- func (v NullableMariadbVersion) IsSet() bool
- func (v NullableMariadbVersion) MarshalJSON() ([]byte, error)
- func (v *NullableMariadbVersion) Set(val *MariadbVersion)
- func (v *NullableMariadbVersion) UnmarshalJSON(src []byte) error
- func (v *NullableMariadbVersion) Unset()
- type NullablePagination
- type NullablePaginationLinks
- func (v NullablePaginationLinks) Get() *PaginationLinks
- func (v NullablePaginationLinks) IsSet() bool
- func (v NullablePaginationLinks) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationLinks) Set(val *PaginationLinks)
- func (v *NullablePaginationLinks) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationLinks) Unset()
- type NullablePatchClusterProperties
- func (v NullablePatchClusterProperties) Get() *PatchClusterProperties
- func (v NullablePatchClusterProperties) IsSet() bool
- func (v NullablePatchClusterProperties) MarshalJSON() ([]byte, error)
- func (v *NullablePatchClusterProperties) Set(val *PatchClusterProperties)
- func (v *NullablePatchClusterProperties) UnmarshalJSON(src []byte) error
- func (v *NullablePatchClusterProperties) Unset()
- type NullablePatchClusterRequest
- func (v NullablePatchClusterRequest) Get() *PatchClusterRequest
- func (v NullablePatchClusterRequest) IsSet() bool
- func (v NullablePatchClusterRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchClusterRequest) Set(val *PatchClusterRequest)
- func (v *NullablePatchClusterRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchClusterRequest) Unset()
- type NullableRestoreRequest
- func (v NullableRestoreRequest) Get() *RestoreRequest
- func (v NullableRestoreRequest) IsSet() bool
- func (v NullableRestoreRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreRequest) Set(val *RestoreRequest)
- func (v *NullableRestoreRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreRequest) Unset()
- type NullableState
- type NullableString
- type NullableTime
- type Pagination
- func (o *Pagination) GetLimit() *int32
- func (o *Pagination) GetLimitOk() (*int32, bool)
- func (o *Pagination) GetLinks() *PaginationLinks
- func (o *Pagination) GetLinksOk() (*PaginationLinks, bool)
- func (o *Pagination) GetOffset() *int32
- func (o *Pagination) GetOffsetOk() (*int32, bool)
- func (o *Pagination) GetTotal() *int32
- func (o *Pagination) GetTotalOk() (*int32, bool)
- func (o *Pagination) HasLimit() bool
- func (o *Pagination) HasLinks() bool
- func (o *Pagination) HasOffset() bool
- func (o *Pagination) HasTotal() bool
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetLimit(v int32)
- func (o *Pagination) SetLinks(v PaginationLinks)
- func (o *Pagination) SetOffset(v int32)
- func (o *Pagination) SetTotal(v int32)
- type PaginationLinks
- func (o *PaginationLinks) GetNext() *string
- func (o *PaginationLinks) GetNextOk() (*string, bool)
- func (o *PaginationLinks) GetPrev() *string
- func (o *PaginationLinks) GetPrevOk() (*string, bool)
- func (o *PaginationLinks) GetSelf() *string
- func (o *PaginationLinks) GetSelfOk() (*string, bool)
- func (o *PaginationLinks) HasNext() bool
- func (o *PaginationLinks) HasPrev() bool
- func (o *PaginationLinks) HasSelf() bool
- func (o PaginationLinks) MarshalJSON() ([]byte, error)
- func (o *PaginationLinks) SetNext(v string)
- func (o *PaginationLinks) SetPrev(v string)
- func (o *PaginationLinks) SetSelf(v string)
- type PatchClusterProperties
- func (o *PatchClusterProperties) GetCores() *int32
- func (o *PatchClusterProperties) GetCoresOk() (*int32, bool)
- func (o *PatchClusterProperties) GetDisplayName() *string
- func (o *PatchClusterProperties) GetDisplayNameOk() (*string, bool)
- func (o *PatchClusterProperties) GetInstances() *int32
- func (o *PatchClusterProperties) GetInstancesOk() (*int32, bool)
- func (o *PatchClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *PatchClusterProperties) GetMariadbVersion() *MariadbVersion
- func (o *PatchClusterProperties) GetMariadbVersionOk() (*MariadbVersion, bool)
- func (o *PatchClusterProperties) GetRam() *int32
- func (o *PatchClusterProperties) GetRamOk() (*int32, bool)
- func (o *PatchClusterProperties) GetStorageSize() *int32
- func (o *PatchClusterProperties) GetStorageSizeOk() (*int32, bool)
- func (o *PatchClusterProperties) HasCores() bool
- func (o *PatchClusterProperties) HasDisplayName() bool
- func (o *PatchClusterProperties) HasInstances() bool
- func (o *PatchClusterProperties) HasMaintenanceWindow() bool
- func (o *PatchClusterProperties) HasMariadbVersion() bool
- func (o *PatchClusterProperties) HasRam() bool
- func (o *PatchClusterProperties) HasStorageSize() bool
- func (o PatchClusterProperties) MarshalJSON() ([]byte, error)
- func (o *PatchClusterProperties) SetCores(v int32)
- func (o *PatchClusterProperties) SetDisplayName(v string)
- func (o *PatchClusterProperties) SetInstances(v int32)
- func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *PatchClusterProperties) SetMariadbVersion(v MariadbVersion)
- func (o *PatchClusterProperties) SetRam(v int32)
- func (o *PatchClusterProperties) SetStorageSize(v int32)
- type PatchClusterRequest
- func (o *PatchClusterRequest) GetMetadata() *ClusterMetadata
- func (o *PatchClusterRequest) GetMetadataOk() (*ClusterMetadata, bool)
- func (o *PatchClusterRequest) GetProperties() *PatchClusterProperties
- func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)
- func (o *PatchClusterRequest) HasMetadata() bool
- func (o *PatchClusterRequest) HasProperties() bool
- func (o PatchClusterRequest) MarshalJSON() ([]byte, error)
- func (o *PatchClusterRequest) SetMetadata(v ClusterMetadata)
- func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
- type RestoreApiService
- type RestoreRequest
- func (o *RestoreRequest) GetBackupId() *string
- func (o *RestoreRequest) GetBackupIdOk() (*string, bool)
- func (o *RestoreRequest) GetRecoveryTargetTime() *time.Time
- func (o *RestoreRequest) GetRecoveryTargetTimeOk() (*time.Time, bool)
- func (o *RestoreRequest) HasBackupId() bool
- func (o *RestoreRequest) HasRecoveryTargetTime() bool
- func (o RestoreRequest) MarshalJSON() ([]byte, error)
- func (o *RestoreRequest) SetBackupId(v string)
- func (o *RestoreRequest) SetRecoveryTargetTime(v time.Time)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type State
- type TLSDial
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "1.1.1" )
const ( IonosUsernameEnvVar = "IONOS_USERNAME" IonosPasswordEnvVar = "IONOS_PASSWORD" IonosTokenEnvVar = "IONOS_TOKEN" IonosApiUrlEnvVar = "IONOS_API_URL" IonosPinnedCertEnvVar = "IONOS_PINNED_CERT" IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" DefaultIonosServerUrl = "https://mariadb.de-txl.ionos.com" DefaultIonosBasePath = "" )
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var (
IonosServerUrls = []string{
"https://mariadb.de-txl.ionos.com",
"https://mariadb.de-fra.ionos.com",
"https://mariadb.es-vit.ionos.com",
"https://mariadb.fr-par.ionos.com",
"https://mariadb.gb-lhr.ionos.com",
"https://mariadb.us-ewr.ionos.com",
"https://mariadb.us-las.ionos.com",
"https://mariadb.us-mci.ionos.com",
}
)
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 - returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 - returns a pointer to given float value.
func SliceToValueDefault ¶
func SliceToValueDefault[T any](ptrSlice *[]T) []T
func ToBoolDefault ¶
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil
func ToBoolSlice ¶
ToBoolSlice - returns a bool slice of the pointer passed in
func ToByteDefault ¶
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil
func ToByteSlice ¶
ToByteSlice - returns a byte slice of the pointer passed in
func ToFloat32Default ¶
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil
func ToFloat32Slice ¶
ToFloat32Slice - returns a float32 slice of the pointer passed in
func ToFloat64Default ¶
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil
func ToFloat64Slice ¶
ToFloat64Slice - returns a float64 slice of the pointer passed in
func ToInt16Default ¶
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil
func ToInt16Slice ¶
ToInt16Slice - returns a int16 slice of the pointer passed in
func ToInt32Default ¶
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil
func ToInt32Slice ¶
ToInt32Slice - returns a int32 slice of the pointer passed in
func ToInt64Default ¶
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil
func ToInt64Slice ¶
ToInt64Slice - returns a int64 slice of the pointer passed in
func ToInt8Default ¶
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil
func ToInt8Slice ¶
ToInt8Slice - returns a int8 slice of the pointer passed in
func ToIntDefault ¶
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil
func ToIntSlice ¶
ToIntSlice - returns a int slice of the pointer passed in
func ToStringDefault ¶
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil
func ToStringSlice ¶
ToStringSlice - returns a string slice of the pointer passed in
func ToTimeDefault ¶
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil
func ToTimeSlice ¶
ToTimeSlice - returns a Time slice of the pointer passed in
func ToUint16Default ¶
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil
func ToUint16Slice ¶
ToUint16Slice - returns a uint16 slice of the pointer passed in
func ToUint32Default ¶
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil
func ToUint32Slice ¶
ToUint32Slice - returns a uint32 slice of the pointer passed in
func ToUint64Default ¶
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil
func ToUint64Slice ¶
ToUint64Slice - returns a uint63 slice of the pointer passed in
func ToUint8Default ¶
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil
func ToUint8Slice ¶
ToUint8Slice - returns a uint8 slice of the pointer passed in
func ToUintDefault ¶
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil
func ToUintSlice ¶
ToUintSlice - returns a uint slice of the pointer passed in
func ToValueDefault ¶
func ToValueDefault[T any](ptr *T) T
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil
Types ¶
type APIClient ¶
type APIClient struct { BackupsApi *BackupsApiService ClustersApi *ClustersApiService RestoreApi *RestoreApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS DBaaS MariaDB REST API API v0.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
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() *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 APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
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"` // RequestTime is the time duration from the moment the APIClient sends // the HTTP request to the moment it receives an HTTP response. RequestTime time.Duration `json:"duration,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.
func (*APIResponse) HttpNotFound ¶
func (resp *APIResponse) HttpNotFound() bool
HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values
func (*APIResponse) LogInfo ¶
func (resp *APIResponse) LogInfo()
LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values
type ApiBackupsFindByIdRequest ¶
type ApiBackupsFindByIdRequest struct { ApiService *BackupsApiService // contains filtered or unexported fields }
func (ApiBackupsFindByIdRequest) Execute ¶
func (r ApiBackupsFindByIdRequest) Execute() (BackupResponse, *APIResponse, error)
type ApiBackupsGetRequest ¶
type ApiBackupsGetRequest struct { ApiService *BackupsApiService // contains filtered or unexported fields }
func (ApiBackupsGetRequest) Execute ¶
func (r ApiBackupsGetRequest) Execute() (BackupList, *APIResponse, error)
func (ApiBackupsGetRequest) Limit ¶
func (r ApiBackupsGetRequest) Limit(limit int32) ApiBackupsGetRequest
func (ApiBackupsGetRequest) Offset ¶
func (r ApiBackupsGetRequest) Offset(offset int32) ApiBackupsGetRequest
type ApiClusterBackupsGetRequest ¶
type ApiClusterBackupsGetRequest struct { ApiService *BackupsApiService // contains filtered or unexported fields }
func (ApiClusterBackupsGetRequest) Execute ¶
func (r ApiClusterBackupsGetRequest) Execute() (BackupList, *APIResponse, error)
func (ApiClusterBackupsGetRequest) Limit ¶
func (r ApiClusterBackupsGetRequest) Limit(limit int32) ApiClusterBackupsGetRequest
func (ApiClusterBackupsGetRequest) Offset ¶
func (r ApiClusterBackupsGetRequest) Offset(offset int32) ApiClusterBackupsGetRequest
type ApiClustersDeleteRequest ¶
type ApiClustersDeleteRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersDeleteRequest) Execute ¶
func (r ApiClustersDeleteRequest) Execute() (ClusterResponse, *APIResponse, error)
type ApiClustersFindByIdRequest ¶
type ApiClustersFindByIdRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersFindByIdRequest) Execute ¶
func (r ApiClustersFindByIdRequest) Execute() (ClusterResponse, *APIResponse, error)
type ApiClustersGetRequest ¶
type ApiClustersGetRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersGetRequest) Execute ¶
func (r ApiClustersGetRequest) Execute() (ClusterList, *APIResponse, error)
func (ApiClustersGetRequest) FilterName ¶
func (r ApiClustersGetRequest) FilterName(filterName string) ApiClustersGetRequest
func (ApiClustersGetRequest) Limit ¶
func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
func (ApiClustersGetRequest) Offset ¶
func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
type ApiClustersPatchRequest ¶ added in v1.1.1
type ApiClustersPatchRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersPatchRequest) Execute ¶ added in v1.1.1
func (r ApiClustersPatchRequest) Execute() (ClusterResponse, *APIResponse, error)
func (ApiClustersPatchRequest) PatchClusterRequest ¶ added in v1.1.1
func (r ApiClustersPatchRequest) PatchClusterRequest(patchClusterRequest PatchClusterRequest) ApiClustersPatchRequest
type ApiClustersPostRequest ¶
type ApiClustersPostRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersPostRequest) CreateClusterRequest ¶
func (r ApiClustersPostRequest) CreateClusterRequest(createClusterRequest CreateClusterRequest) ApiClustersPostRequest
func (ApiClustersPostRequest) Execute ¶
func (r ApiClustersPostRequest) Execute() (ClusterResponse, *APIResponse, error)
type ApiClustersRestoreRequest ¶ added in v1.1.1
type ApiClustersRestoreRequest struct { ApiService *RestoreApiService // contains filtered or unexported fields }
func (ApiClustersRestoreRequest) Execute ¶ added in v1.1.1
func (r ApiClustersRestoreRequest) Execute() (*APIResponse, error)
func (ApiClustersRestoreRequest) RestoreRequest ¶ added in v1.1.1
func (r ApiClustersRestoreRequest) RestoreRequest(restoreRequest RestoreRequest) ApiClustersRestoreRequest
type Backup ¶
type Backup struct { // The unique ID of the cluster that was backed up. ClusterId *string `json:"clusterId,omitempty"` // The oldest available timestamp to which you can restore. EarliestRecoveryTargetTime *IonosTime `json:"earliestRecoveryTargetTime,omitempty"` // Size of all base backups in MiB. This is at least the sum of all base backup sizes. Size *int32 `json:"size,omitempty"` BaseBackups *[]BaseBackup `json:"baseBackups,omitempty"` }
Backup A backup object.
func NewBackup ¶
func NewBackup() *Backup
NewBackup instantiates a new Backup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupWithDefaults ¶
func NewBackupWithDefaults() *Backup
NewBackupWithDefaults instantiates a new Backup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Backup) GetBaseBackups ¶
func (o *Backup) GetBaseBackups() *[]BaseBackup
GetBaseBackups returns the BaseBackups field value If the value is explicit nil, the zero value for []BaseBackup will be returned
func (*Backup) GetBaseBackupsOk ¶
func (o *Backup) GetBaseBackupsOk() (*[]BaseBackup, bool)
GetBaseBackupsOk returns a tuple with the BaseBackups 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 (*Backup) GetClusterId ¶
GetClusterId returns the ClusterId field value If the value is explicit nil, the zero value for string will be returned
func (*Backup) GetClusterIdOk ¶
GetClusterIdOk returns a tuple with the ClusterId 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 (*Backup) GetEarliestRecoveryTargetTime ¶
GetEarliestRecoveryTargetTime returns the EarliestRecoveryTargetTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Backup) GetEarliestRecoveryTargetTimeOk ¶
GetEarliestRecoveryTargetTimeOk returns a tuple with the EarliestRecoveryTargetTime 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 (*Backup) GetSize ¶
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*Backup) GetSizeOk ¶
GetSizeOk returns a tuple with the Size 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 (*Backup) HasBaseBackups ¶
HasBaseBackups returns a boolean if a field has been set.
func (*Backup) HasClusterId ¶
HasClusterId returns a boolean if a field has been set.
func (*Backup) HasEarliestRecoveryTargetTime ¶
HasEarliestRecoveryTargetTime returns a boolean if a field has been set.
func (Backup) MarshalJSON ¶
func (*Backup) SetBaseBackups ¶
func (o *Backup) SetBaseBackups(v []BaseBackup)
SetBaseBackups sets field value
func (*Backup) SetEarliestRecoveryTargetTime ¶
SetEarliestRecoveryTargetTime sets field value
type BackupList ¶
type BackupList struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` Items *[]BackupResponse `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset,omitempty"` // The limit specified in the request (if none was specified, the default limit is 100). Limit *int32 `json:"limit,omitempty"` // The total number of elements matching the request (without pagination). Total *int32 `json:"total,omitempty"` Links *PaginationLinks `json:"_links,omitempty"` }
BackupList List of backups.
func NewBackupList ¶
func NewBackupList() *BackupList
NewBackupList instantiates a new BackupList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupListWithDefaults ¶
func NewBackupListWithDefaults() *BackupList
NewBackupListWithDefaults instantiates a new BackupList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupList) GetId ¶
func (o *BackupList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*BackupList) GetIdOk ¶
func (o *BackupList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*BackupList) GetItems ¶
func (o *BackupList) GetItems() *[]BackupResponse
GetItems returns the Items field value If the value is explicit nil, the zero value for []BackupResponse will be returned
func (*BackupList) GetItemsOk ¶
func (o *BackupList) GetItemsOk() (*[]BackupResponse, bool)
GetItemsOk returns a tuple with the Items 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 (*BackupList) GetLimit ¶
func (o *BackupList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*BackupList) GetLimitOk ¶
func (o *BackupList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit 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 (*BackupList) GetLinks ¶
func (o *BackupList) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*BackupList) GetLinksOk ¶
func (o *BackupList) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links 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 (*BackupList) GetOffset ¶
func (o *BackupList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*BackupList) GetOffsetOk ¶
func (o *BackupList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset 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 (*BackupList) GetTotal ¶
func (o *BackupList) GetTotal() *int32
GetTotal returns the Total field value If the value is explicit nil, the zero value for int32 will be returned
func (*BackupList) GetTotalOk ¶
func (o *BackupList) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total 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 (*BackupList) HasId ¶
func (o *BackupList) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupList) HasItems ¶
func (o *BackupList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*BackupList) HasLimit ¶
func (o *BackupList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*BackupList) HasLinks ¶
func (o *BackupList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*BackupList) HasOffset ¶
func (o *BackupList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*BackupList) HasTotal ¶
func (o *BackupList) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (BackupList) MarshalJSON ¶
func (o BackupList) MarshalJSON() ([]byte, error)
func (*BackupList) SetItems ¶
func (o *BackupList) SetItems(v []BackupResponse)
SetItems sets field value
func (*BackupList) SetLinks ¶
func (o *BackupList) SetLinks(v PaginationLinks)
SetLinks sets field value
type BackupListAllOf ¶
type BackupListAllOf struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` Items *[]BackupResponse `json:"items,omitempty"` }
BackupListAllOf struct for BackupListAllOf
func NewBackupListAllOf ¶
func NewBackupListAllOf() *BackupListAllOf
NewBackupListAllOf instantiates a new BackupListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupListAllOfWithDefaults ¶
func NewBackupListAllOfWithDefaults() *BackupListAllOf
NewBackupListAllOfWithDefaults instantiates a new BackupListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupListAllOf) GetId ¶
func (o *BackupListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*BackupListAllOf) GetIdOk ¶
func (o *BackupListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*BackupListAllOf) GetItems ¶
func (o *BackupListAllOf) GetItems() *[]BackupResponse
GetItems returns the Items field value If the value is explicit nil, the zero value for []BackupResponse will be returned
func (*BackupListAllOf) GetItemsOk ¶
func (o *BackupListAllOf) GetItemsOk() (*[]BackupResponse, bool)
GetItemsOk returns a tuple with the Items 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 (*BackupListAllOf) HasId ¶
func (o *BackupListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupListAllOf) HasItems ¶
func (o *BackupListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (BackupListAllOf) MarshalJSON ¶
func (o BackupListAllOf) MarshalJSON() ([]byte, error)
func (*BackupListAllOf) SetItems ¶
func (o *BackupListAllOf) SetItems(v []BackupResponse)
SetItems sets field value
type BackupResponse ¶
type BackupResponse struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` Properties *Backup `json:"properties,omitempty"` }
BackupResponse A database backup.
func NewBackupResponse ¶
func NewBackupResponse() *BackupResponse
NewBackupResponse instantiates a new BackupResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBackupResponseWithDefaults ¶
func NewBackupResponseWithDefaults() *BackupResponse
NewBackupResponseWithDefaults instantiates a new BackupResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BackupResponse) GetId ¶
func (o *BackupResponse) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*BackupResponse) GetIdOk ¶
func (o *BackupResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*BackupResponse) GetProperties ¶
func (o *BackupResponse) GetProperties() *Backup
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Backup will be returned
func (*BackupResponse) GetPropertiesOk ¶
func (o *BackupResponse) GetPropertiesOk() (*Backup, bool)
GetPropertiesOk returns a tuple with the Properties 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 (*BackupResponse) HasId ¶
func (o *BackupResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupResponse) HasProperties ¶
func (o *BackupResponse) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (BackupResponse) MarshalJSON ¶
func (o BackupResponse) MarshalJSON() ([]byte, error)
func (*BackupResponse) SetProperties ¶
func (o *BackupResponse) SetProperties(v Backup)
SetProperties sets field value
type BackupsApiService ¶
type BackupsApiService service
BackupsApiService BackupsApi service
func (*BackupsApiService) BackupsFindById ¶
func (a *BackupsApiService) BackupsFindById(ctx _context.Context, backupId string) ApiBackupsFindByIdRequest
- BackupsFindById Fetch backups
- Retrieve a MariaDB backup by ID. This value can be
found when you GET the list of MariaDB backups.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param backupId The unique ID of the backup.
- @return ApiBackupsFindByIdRequest
func (*BackupsApiService) BackupsFindByIdExecute ¶
func (a *BackupsApiService) BackupsFindByIdExecute(r ApiBackupsFindByIdRequest) (BackupResponse, *APIResponse, error)
* Execute executes the request * @return BackupResponse
func (*BackupsApiService) BackupsGet ¶
func (a *BackupsApiService) BackupsGet(ctx _context.Context) ApiBackupsGetRequest
* BackupsGet List of backups. * Retrieves all lists of backups for all MariaDB clusters in this contract.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiBackupsGetRequest
func (*BackupsApiService) BackupsGetExecute ¶
func (a *BackupsApiService) BackupsGetExecute(r ApiBackupsGetRequest) (BackupList, *APIResponse, error)
* Execute executes the request * @return BackupList
func (*BackupsApiService) ClusterBackupsGet ¶
func (a *BackupsApiService) ClusterBackupsGet(ctx _context.Context, clusterId string) ApiClusterBackupsGetRequest
* ClusterBackupsGet List backups of cluster * Retrieves a list of all backups of the given MariaDB cluster.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The unique ID of the cluster. * @return ApiClusterBackupsGetRequest
func (*BackupsApiService) ClusterBackupsGetExecute ¶
func (a *BackupsApiService) ClusterBackupsGetExecute(r ApiClusterBackupsGetRequest) (BackupList, *APIResponse, error)
* Execute executes the request * @return BackupList
type BaseBackup ¶
type BaseBackup struct { // The ISO 8601 creation timestamp. Created *IonosTime `json:"created,omitempty"` // The size of the backup in MiB. This is the size of the binary backup file that was stored. Size *int32 `json:"size,omitempty"` }
BaseBackup A single base backup.
func NewBaseBackup ¶
func NewBaseBackup() *BaseBackup
NewBaseBackup instantiates a new BaseBackup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseBackupWithDefaults ¶
func NewBaseBackupWithDefaults() *BaseBackup
NewBaseBackupWithDefaults instantiates a new BaseBackup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseBackup) GetCreated ¶
func (o *BaseBackup) GetCreated() *time.Time
GetCreated returns the Created field value If the value is explicit nil, the zero value for time.Time will be returned
func (*BaseBackup) GetCreatedOk ¶
func (o *BaseBackup) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created 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 (*BaseBackup) GetSize ¶
func (o *BaseBackup) GetSize() *int32
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*BaseBackup) GetSizeOk ¶
func (o *BaseBackup) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size 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 (*BaseBackup) HasCreated ¶
func (o *BaseBackup) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*BaseBackup) HasSize ¶
func (o *BaseBackup) HasSize() bool
HasSize returns a boolean if a field has been set.
func (BaseBackup) MarshalJSON ¶
func (o BaseBackup) MarshalJSON() ([]byte, error)
func (*BaseBackup) SetCreated ¶
func (o *BaseBackup) SetCreated(v time.Time)
SetCreated sets field value
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ClusterList ¶
type ClusterList struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` Items *[]ClusterResponse `json:"items,omitempty"` // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset,omitempty"` // The limit specified in the request (if none was specified, the default limit is 100). Limit *int32 `json:"limit,omitempty"` // The total number of elements matching the request (without pagination). Total *int32 `json:"total,omitempty"` Links *PaginationLinks `json:"_links,omitempty"` }
ClusterList List of clusters.
func NewClusterList ¶
func NewClusterList() *ClusterList
NewClusterList instantiates a new ClusterList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterListWithDefaults ¶
func NewClusterListWithDefaults() *ClusterList
NewClusterListWithDefaults instantiates a new ClusterList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterList) GetId ¶
func (o *ClusterList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterList) GetIdOk ¶
func (o *ClusterList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*ClusterList) GetItems ¶
func (o *ClusterList) GetItems() *[]ClusterResponse
GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterResponse will be returned
func (*ClusterList) GetItemsOk ¶
func (o *ClusterList) GetItemsOk() (*[]ClusterResponse, bool)
GetItemsOk returns a tuple with the Items 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 (*ClusterList) GetLimit ¶
func (o *ClusterList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterList) GetLimitOk ¶
func (o *ClusterList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit 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 (*ClusterList) GetLinks ¶
func (o *ClusterList) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*ClusterList) GetLinksOk ¶
func (o *ClusterList) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links 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 (*ClusterList) GetOffset ¶
func (o *ClusterList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterList) GetOffsetOk ¶
func (o *ClusterList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset 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 (*ClusterList) GetTotal ¶
func (o *ClusterList) GetTotal() *int32
GetTotal returns the Total field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterList) GetTotalOk ¶
func (o *ClusterList) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total 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 (*ClusterList) HasId ¶
func (o *ClusterList) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterList) HasItems ¶
func (o *ClusterList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ClusterList) HasLimit ¶
func (o *ClusterList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ClusterList) HasLinks ¶
func (o *ClusterList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ClusterList) HasOffset ¶
func (o *ClusterList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ClusterList) HasTotal ¶
func (o *ClusterList) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (ClusterList) MarshalJSON ¶
func (o ClusterList) MarshalJSON() ([]byte, error)
func (*ClusterList) SetItems ¶
func (o *ClusterList) SetItems(v []ClusterResponse)
SetItems sets field value
func (*ClusterList) SetLinks ¶
func (o *ClusterList) SetLinks(v PaginationLinks)
SetLinks sets field value
type ClusterListAllOf ¶
type ClusterListAllOf struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` Items *[]ClusterResponse `json:"items,omitempty"` }
ClusterListAllOf struct for ClusterListAllOf
func NewClusterListAllOf ¶
func NewClusterListAllOf() *ClusterListAllOf
NewClusterListAllOf instantiates a new ClusterListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterListAllOfWithDefaults ¶
func NewClusterListAllOfWithDefaults() *ClusterListAllOf
NewClusterListAllOfWithDefaults instantiates a new ClusterListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterListAllOf) GetId ¶
func (o *ClusterListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterListAllOf) GetIdOk ¶
func (o *ClusterListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*ClusterListAllOf) GetItems ¶
func (o *ClusterListAllOf) GetItems() *[]ClusterResponse
GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterResponse will be returned
func (*ClusterListAllOf) GetItemsOk ¶
func (o *ClusterListAllOf) GetItemsOk() (*[]ClusterResponse, bool)
GetItemsOk returns a tuple with the Items 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 (*ClusterListAllOf) HasId ¶
func (o *ClusterListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterListAllOf) HasItems ¶
func (o *ClusterListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ClusterListAllOf) MarshalJSON ¶
func (o ClusterListAllOf) MarshalJSON() ([]byte, error)
func (*ClusterListAllOf) SetItems ¶
func (o *ClusterListAllOf) SetItems(v []ClusterResponse)
SetItems sets field value
type ClusterMetadata ¶
type ClusterMetadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByUserId *string `json:"createdByUserId,omitempty"` // The ISO 8601 modified timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` State *State `json:"state,omitempty"` }
ClusterMetadata Metadata of the resource.
func NewClusterMetadata ¶
func NewClusterMetadata() *ClusterMetadata
NewClusterMetadata instantiates a new ClusterMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterMetadataWithDefaults ¶
func NewClusterMetadataWithDefaults() *ClusterMetadata
NewClusterMetadataWithDefaults instantiates a new ClusterMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterMetadata) GetCreatedBy ¶
func (o *ClusterMetadata) GetCreatedBy() *string
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterMetadata) GetCreatedByOk ¶
func (o *ClusterMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy 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 (*ClusterMetadata) GetCreatedByUserId ¶
func (o *ClusterMetadata) GetCreatedByUserId() *string
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterMetadata) GetCreatedByUserIdOk ¶
func (o *ClusterMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId 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 (*ClusterMetadata) GetCreatedDate ¶
func (o *ClusterMetadata) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*ClusterMetadata) GetCreatedDateOk ¶
func (o *ClusterMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate 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 (*ClusterMetadata) GetLastModifiedBy ¶
func (o *ClusterMetadata) GetLastModifiedBy() *string
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterMetadata) GetLastModifiedByOk ¶
func (o *ClusterMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy 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 (*ClusterMetadata) GetLastModifiedByUserId ¶
func (o *ClusterMetadata) GetLastModifiedByUserId() *string
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterMetadata) GetLastModifiedByUserIdOk ¶
func (o *ClusterMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId 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 (*ClusterMetadata) GetLastModifiedDate ¶
func (o *ClusterMetadata) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*ClusterMetadata) GetLastModifiedDateOk ¶
func (o *ClusterMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate 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 (*ClusterMetadata) GetState ¶
func (o *ClusterMetadata) GetState() *State
GetState returns the State field value If the value is explicit nil, the zero value for State will be returned
func (*ClusterMetadata) GetStateOk ¶
func (o *ClusterMetadata) GetStateOk() (*State, bool)
GetStateOk returns a tuple with the State 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 (*ClusterMetadata) HasCreatedBy ¶
func (o *ClusterMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*ClusterMetadata) HasCreatedByUserId ¶
func (o *ClusterMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*ClusterMetadata) HasCreatedDate ¶
func (o *ClusterMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*ClusterMetadata) HasLastModifiedBy ¶
func (o *ClusterMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*ClusterMetadata) HasLastModifiedByUserId ¶
func (o *ClusterMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*ClusterMetadata) HasLastModifiedDate ¶
func (o *ClusterMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*ClusterMetadata) HasState ¶
func (o *ClusterMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (ClusterMetadata) MarshalJSON ¶
func (o ClusterMetadata) MarshalJSON() ([]byte, error)
func (*ClusterMetadata) SetCreatedBy ¶
func (o *ClusterMetadata) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ClusterMetadata) SetCreatedByUserId ¶
func (o *ClusterMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*ClusterMetadata) SetCreatedDate ¶
func (o *ClusterMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*ClusterMetadata) SetLastModifiedBy ¶
func (o *ClusterMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*ClusterMetadata) SetLastModifiedByUserId ¶
func (o *ClusterMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*ClusterMetadata) SetLastModifiedDate ¶
func (o *ClusterMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*ClusterMetadata) SetState ¶
func (o *ClusterMetadata) SetState(v State)
SetState sets field value
type ClusterProperties ¶
type ClusterProperties struct { // The friendly name of your cluster. DisplayName *string `json:"displayName,omitempty"` MariadbVersion *MariadbVersion `json:"mariadbVersion,omitempty"` // The DNS name pointing to your cluster. DnsName *string `json:"dnsName,omitempty"` // The total number of instances in the cluster (one primary and n-1 secondary). Instances *int32 `json:"instances,omitempty"` // The amount of memory per instance in gigabytes (GB). Ram *int32 `json:"ram,omitempty"` // The number of CPU cores per instance. Cores *int32 `json:"cores,omitempty"` // The amount of storage per instance in gigabytes (GB). StorageSize *int32 `json:"storageSize,omitempty"` Connections *[]Connection `json:"connections,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
ClusterProperties Properties of a database cluster.
func NewClusterProperties ¶
func NewClusterProperties() *ClusterProperties
NewClusterProperties instantiates a new ClusterProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterPropertiesWithDefaults ¶
func NewClusterPropertiesWithDefaults() *ClusterProperties
NewClusterPropertiesWithDefaults instantiates a new ClusterProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterProperties) GetConnections ¶
func (o *ClusterProperties) GetConnections() *[]Connection
GetConnections returns the Connections field value If the value is explicit nil, the zero value for []Connection will be returned
func (*ClusterProperties) GetConnectionsOk ¶
func (o *ClusterProperties) GetConnectionsOk() (*[]Connection, bool)
GetConnectionsOk returns a tuple with the Connections 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 (*ClusterProperties) GetCores ¶
func (o *ClusterProperties) GetCores() *int32
GetCores returns the Cores field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterProperties) GetCoresOk ¶
func (o *ClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores 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 (*ClusterProperties) GetDisplayName ¶
func (o *ClusterProperties) GetDisplayName() *string
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterProperties) GetDisplayNameOk ¶
func (o *ClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName 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 (*ClusterProperties) GetDnsName ¶
func (o *ClusterProperties) GetDnsName() *string
GetDnsName returns the DnsName field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterProperties) GetDnsNameOk ¶
func (o *ClusterProperties) GetDnsNameOk() (*string, bool)
GetDnsNameOk returns a tuple with the DnsName 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 (*ClusterProperties) GetInstances ¶
func (o *ClusterProperties) GetInstances() *int32
GetInstances returns the Instances field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterProperties) GetInstancesOk ¶
func (o *ClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances 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 (*ClusterProperties) GetMaintenanceWindow ¶
func (o *ClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*ClusterProperties) GetMaintenanceWindowOk ¶
func (o *ClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*ClusterProperties) GetMariadbVersion ¶
func (o *ClusterProperties) GetMariadbVersion() *MariadbVersion
GetMariadbVersion returns the MariadbVersion field value If the value is explicit nil, the zero value for MariadbVersion will be returned
func (*ClusterProperties) GetMariadbVersionOk ¶
func (o *ClusterProperties) GetMariadbVersionOk() (*MariadbVersion, bool)
GetMariadbVersionOk returns a tuple with the MariadbVersion 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 (*ClusterProperties) GetRam ¶
func (o *ClusterProperties) GetRam() *int32
GetRam returns the Ram field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterProperties) GetRamOk ¶
func (o *ClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram 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 (*ClusterProperties) GetStorageSize ¶
func (o *ClusterProperties) GetStorageSize() *int32
GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterProperties) GetStorageSizeOk ¶
func (o *ClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize 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 (*ClusterProperties) HasConnections ¶
func (o *ClusterProperties) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (*ClusterProperties) HasCores ¶
func (o *ClusterProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*ClusterProperties) HasDisplayName ¶
func (o *ClusterProperties) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*ClusterProperties) HasDnsName ¶
func (o *ClusterProperties) HasDnsName() bool
HasDnsName returns a boolean if a field has been set.
func (*ClusterProperties) HasInstances ¶
func (o *ClusterProperties) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (*ClusterProperties) HasMaintenanceWindow ¶
func (o *ClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*ClusterProperties) HasMariadbVersion ¶
func (o *ClusterProperties) HasMariadbVersion() bool
HasMariadbVersion returns a boolean if a field has been set.
func (*ClusterProperties) HasRam ¶
func (o *ClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*ClusterProperties) HasStorageSize ¶
func (o *ClusterProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (ClusterProperties) MarshalJSON ¶
func (o ClusterProperties) MarshalJSON() ([]byte, error)
func (*ClusterProperties) SetConnections ¶
func (o *ClusterProperties) SetConnections(v []Connection)
SetConnections sets field value
func (*ClusterProperties) SetCores ¶
func (o *ClusterProperties) SetCores(v int32)
SetCores sets field value
func (*ClusterProperties) SetDisplayName ¶
func (o *ClusterProperties) SetDisplayName(v string)
SetDisplayName sets field value
func (*ClusterProperties) SetDnsName ¶
func (o *ClusterProperties) SetDnsName(v string)
SetDnsName sets field value
func (*ClusterProperties) SetInstances ¶
func (o *ClusterProperties) SetInstances(v int32)
SetInstances sets field value
func (*ClusterProperties) SetMaintenanceWindow ¶
func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*ClusterProperties) SetMariadbVersion ¶
func (o *ClusterProperties) SetMariadbVersion(v MariadbVersion)
SetMariadbVersion sets field value
func (*ClusterProperties) SetRam ¶
func (o *ClusterProperties) SetRam(v int32)
SetRam sets field value
func (*ClusterProperties) SetStorageSize ¶
func (o *ClusterProperties) SetStorageSize(v int32)
SetStorageSize sets field value
type ClusterResponse ¶
type ClusterResponse struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` Metadata *ClusterMetadata `json:"metadata,omitempty"` Properties *ClusterProperties `json:"properties,omitempty"` }
ClusterResponse A database cluster.
func NewClusterResponse ¶
func NewClusterResponse() *ClusterResponse
NewClusterResponse instantiates a new ClusterResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterResponseWithDefaults ¶
func NewClusterResponseWithDefaults() *ClusterResponse
NewClusterResponseWithDefaults instantiates a new ClusterResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterResponse) GetId ¶
func (o *ClusterResponse) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterResponse) GetIdOk ¶
func (o *ClusterResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*ClusterResponse) GetMetadata ¶
func (o *ClusterResponse) GetMetadata() *ClusterMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ClusterMetadata will be returned
func (*ClusterResponse) GetMetadataOk ¶
func (o *ClusterResponse) GetMetadataOk() (*ClusterMetadata, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ClusterResponse) GetProperties ¶
func (o *ClusterResponse) GetProperties() *ClusterProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for ClusterProperties will be returned
func (*ClusterResponse) GetPropertiesOk ¶
func (o *ClusterResponse) GetPropertiesOk() (*ClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties 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 (*ClusterResponse) HasId ¶
func (o *ClusterResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterResponse) HasMetadata ¶
func (o *ClusterResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClusterResponse) HasProperties ¶
func (o *ClusterResponse) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ClusterResponse) MarshalJSON ¶
func (o ClusterResponse) MarshalJSON() ([]byte, error)
func (*ClusterResponse) SetMetadata ¶
func (o *ClusterResponse) SetMetadata(v ClusterMetadata)
SetMetadata sets field value
func (*ClusterResponse) SetProperties ¶
func (o *ClusterResponse) SetProperties(v ClusterProperties)
SetProperties sets field value
type ClustersApiService ¶
type ClustersApiService service
ClustersApiService ClustersApi service
func (*ClustersApiService) ClustersDelete ¶
func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
* ClustersDelete Delete a cluster * Delete a MariaDB cluster. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The unique ID of the cluster. * @return ApiClustersDeleteRequest
func (*ClustersApiService) ClustersDeleteExecute ¶
func (a *ClustersApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (ClusterResponse, *APIResponse, error)
* Execute executes the request * @return ClusterResponse
func (*ClustersApiService) ClustersFindById ¶
func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
- ClustersFindById Fetch a cluster
- You can retrieve a MariaDB cluster by using its ID. This value can be
found in the response body when a MariaDB cluster is created or when you GET a list of MariaDB clusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster.
- @return ApiClustersFindByIdRequest
func (*ClustersApiService) ClustersFindByIdExecute ¶
func (a *ClustersApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterResponse, *APIResponse, error)
* Execute executes the request * @return ClusterResponse
func (*ClustersApiService) ClustersGet ¶
func (a *ClustersApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
* ClustersGet List clusters * Retrieves a list of MariaDB clusters. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiClustersGetRequest
func (*ClustersApiService) ClustersGetExecute ¶
func (a *ClustersApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterList, *APIResponse, error)
* Execute executes the request * @return ClusterList
func (*ClustersApiService) ClustersPatch ¶ added in v1.1.1
func (a *ClustersApiService) ClustersPatch(ctx _context.Context, clusterId string) ApiClustersPatchRequest
* ClustersPatch Update a cluster * Updates mutable attributes on a MariaDB cluster. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param clusterId The unique ID of the cluster. * @return ApiClustersPatchRequest
func (*ClustersApiService) ClustersPatchExecute ¶ added in v1.1.1
func (a *ClustersApiService) ClustersPatchExecute(r ApiClustersPatchRequest) (ClusterResponse, *APIResponse, error)
* Execute executes the request * @return ClusterResponse
func (*ClustersApiService) ClustersPost ¶
func (a *ClustersApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
* ClustersPost Create a cluster * Creates a new MariaDB cluster.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiClustersPostRequest
func (*ClustersApiService) ClustersPostExecute ¶
func (a *ClustersApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterResponse, *APIResponse, error)
* Execute executes the request * @return ClusterResponse
type ClustersGet400Response ¶
type ClustersGet400Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet400Response struct for ClustersGet400Response
func NewClustersGet400Response ¶
func NewClustersGet400Response(httpStatus int32, messages []ErrorMessage) *ClustersGet400Response
NewClustersGet400Response instantiates a new ClustersGet400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet400ResponseWithDefaults ¶
func NewClustersGet400ResponseWithDefaults() *ClustersGet400Response
NewClustersGet400ResponseWithDefaults instantiates a new ClustersGet400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet400Response) GetHttpStatus ¶
func (o *ClustersGet400Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet400Response) GetHttpStatusOk ¶
func (o *ClustersGet400Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet400Response) GetMessages ¶
func (o *ClustersGet400Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet400Response) GetMessagesOk ¶
func (o *ClustersGet400Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet400Response) HasHttpStatus ¶
func (o *ClustersGet400Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet400Response) HasMessages ¶
func (o *ClustersGet400Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet400Response) MarshalJSON ¶
func (o ClustersGet400Response) MarshalJSON() ([]byte, error)
func (*ClustersGet400Response) SetHttpStatus ¶
func (o *ClustersGet400Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet400Response) SetMessages ¶
func (o *ClustersGet400Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet401Response ¶
type ClustersGet401Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet401Response struct for ClustersGet401Response
func NewClustersGet401Response ¶
func NewClustersGet401Response(httpStatus int32, messages []ErrorMessage) *ClustersGet401Response
NewClustersGet401Response instantiates a new ClustersGet401Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet401ResponseWithDefaults ¶
func NewClustersGet401ResponseWithDefaults() *ClustersGet401Response
NewClustersGet401ResponseWithDefaults instantiates a new ClustersGet401Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet401Response) GetHttpStatus ¶
func (o *ClustersGet401Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet401Response) GetHttpStatusOk ¶
func (o *ClustersGet401Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet401Response) GetMessages ¶
func (o *ClustersGet401Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet401Response) GetMessagesOk ¶
func (o *ClustersGet401Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet401Response) HasHttpStatus ¶
func (o *ClustersGet401Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet401Response) HasMessages ¶
func (o *ClustersGet401Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet401Response) MarshalJSON ¶
func (o ClustersGet401Response) MarshalJSON() ([]byte, error)
func (*ClustersGet401Response) SetHttpStatus ¶
func (o *ClustersGet401Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet401Response) SetMessages ¶
func (o *ClustersGet401Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet403Response ¶
type ClustersGet403Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet403Response struct for ClustersGet403Response
func NewClustersGet403Response ¶
func NewClustersGet403Response(httpStatus int32, messages []ErrorMessage) *ClustersGet403Response
NewClustersGet403Response instantiates a new ClustersGet403Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet403ResponseWithDefaults ¶
func NewClustersGet403ResponseWithDefaults() *ClustersGet403Response
NewClustersGet403ResponseWithDefaults instantiates a new ClustersGet403Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet403Response) GetHttpStatus ¶
func (o *ClustersGet403Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet403Response) GetHttpStatusOk ¶
func (o *ClustersGet403Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet403Response) GetMessages ¶
func (o *ClustersGet403Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet403Response) GetMessagesOk ¶
func (o *ClustersGet403Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet403Response) HasHttpStatus ¶
func (o *ClustersGet403Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet403Response) HasMessages ¶
func (o *ClustersGet403Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet403Response) MarshalJSON ¶
func (o ClustersGet403Response) MarshalJSON() ([]byte, error)
func (*ClustersGet403Response) SetHttpStatus ¶
func (o *ClustersGet403Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet403Response) SetMessages ¶
func (o *ClustersGet403Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet404Response ¶
type ClustersGet404Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet404Response struct for ClustersGet404Response
func NewClustersGet404Response ¶
func NewClustersGet404Response(httpStatus int32, messages []ErrorMessage) *ClustersGet404Response
NewClustersGet404Response instantiates a new ClustersGet404Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet404ResponseWithDefaults ¶
func NewClustersGet404ResponseWithDefaults() *ClustersGet404Response
NewClustersGet404ResponseWithDefaults instantiates a new ClustersGet404Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet404Response) GetHttpStatus ¶
func (o *ClustersGet404Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet404Response) GetHttpStatusOk ¶
func (o *ClustersGet404Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet404Response) GetMessages ¶
func (o *ClustersGet404Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet404Response) GetMessagesOk ¶
func (o *ClustersGet404Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet404Response) HasHttpStatus ¶
func (o *ClustersGet404Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet404Response) HasMessages ¶
func (o *ClustersGet404Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet404Response) MarshalJSON ¶
func (o ClustersGet404Response) MarshalJSON() ([]byte, error)
func (*ClustersGet404Response) SetHttpStatus ¶
func (o *ClustersGet404Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet404Response) SetMessages ¶
func (o *ClustersGet404Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet405Response ¶
type ClustersGet405Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet405Response struct for ClustersGet405Response
func NewClustersGet405Response ¶
func NewClustersGet405Response(httpStatus int32, messages []ErrorMessage) *ClustersGet405Response
NewClustersGet405Response instantiates a new ClustersGet405Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet405ResponseWithDefaults ¶
func NewClustersGet405ResponseWithDefaults() *ClustersGet405Response
NewClustersGet405ResponseWithDefaults instantiates a new ClustersGet405Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet405Response) GetHttpStatus ¶
func (o *ClustersGet405Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet405Response) GetHttpStatusOk ¶
func (o *ClustersGet405Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet405Response) GetMessages ¶
func (o *ClustersGet405Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet405Response) GetMessagesOk ¶
func (o *ClustersGet405Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet405Response) HasHttpStatus ¶
func (o *ClustersGet405Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet405Response) HasMessages ¶
func (o *ClustersGet405Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet405Response) MarshalJSON ¶
func (o ClustersGet405Response) MarshalJSON() ([]byte, error)
func (*ClustersGet405Response) SetHttpStatus ¶
func (o *ClustersGet405Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet405Response) SetMessages ¶
func (o *ClustersGet405Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet415Response ¶
type ClustersGet415Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet415Response struct for ClustersGet415Response
func NewClustersGet415Response ¶
func NewClustersGet415Response(httpStatus int32, messages []ErrorMessage) *ClustersGet415Response
NewClustersGet415Response instantiates a new ClustersGet415Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet415ResponseWithDefaults ¶
func NewClustersGet415ResponseWithDefaults() *ClustersGet415Response
NewClustersGet415ResponseWithDefaults instantiates a new ClustersGet415Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet415Response) GetHttpStatus ¶
func (o *ClustersGet415Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet415Response) GetHttpStatusOk ¶
func (o *ClustersGet415Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet415Response) GetMessages ¶
func (o *ClustersGet415Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet415Response) GetMessagesOk ¶
func (o *ClustersGet415Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet415Response) HasHttpStatus ¶
func (o *ClustersGet415Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet415Response) HasMessages ¶
func (o *ClustersGet415Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet415Response) MarshalJSON ¶
func (o ClustersGet415Response) MarshalJSON() ([]byte, error)
func (*ClustersGet415Response) SetHttpStatus ¶
func (o *ClustersGet415Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet415Response) SetMessages ¶
func (o *ClustersGet415Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet422Response ¶
type ClustersGet422Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet422Response struct for ClustersGet422Response
func NewClustersGet422Response ¶
func NewClustersGet422Response(httpStatus int32, messages []ErrorMessage) *ClustersGet422Response
NewClustersGet422Response instantiates a new ClustersGet422Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet422ResponseWithDefaults ¶
func NewClustersGet422ResponseWithDefaults() *ClustersGet422Response
NewClustersGet422ResponseWithDefaults instantiates a new ClustersGet422Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet422Response) GetHttpStatus ¶
func (o *ClustersGet422Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet422Response) GetHttpStatusOk ¶
func (o *ClustersGet422Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet422Response) GetMessages ¶
func (o *ClustersGet422Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet422Response) GetMessagesOk ¶
func (o *ClustersGet422Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet422Response) HasHttpStatus ¶
func (o *ClustersGet422Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet422Response) HasMessages ¶
func (o *ClustersGet422Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet422Response) MarshalJSON ¶
func (o ClustersGet422Response) MarshalJSON() ([]byte, error)
func (*ClustersGet422Response) SetHttpStatus ¶
func (o *ClustersGet422Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet422Response) SetMessages ¶
func (o *ClustersGet422Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet429Response ¶
type ClustersGet429Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet429Response struct for ClustersGet429Response
func NewClustersGet429Response ¶
func NewClustersGet429Response(httpStatus int32, messages []ErrorMessage) *ClustersGet429Response
NewClustersGet429Response instantiates a new ClustersGet429Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet429ResponseWithDefaults ¶
func NewClustersGet429ResponseWithDefaults() *ClustersGet429Response
NewClustersGet429ResponseWithDefaults instantiates a new ClustersGet429Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet429Response) GetHttpStatus ¶
func (o *ClustersGet429Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet429Response) GetHttpStatusOk ¶
func (o *ClustersGet429Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet429Response) GetMessages ¶
func (o *ClustersGet429Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet429Response) GetMessagesOk ¶
func (o *ClustersGet429Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet429Response) HasHttpStatus ¶
func (o *ClustersGet429Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet429Response) HasMessages ¶
func (o *ClustersGet429Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet429Response) MarshalJSON ¶
func (o ClustersGet429Response) MarshalJSON() ([]byte, error)
func (*ClustersGet429Response) SetHttpStatus ¶
func (o *ClustersGet429Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet429Response) SetMessages ¶
func (o *ClustersGet429Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet500Response ¶
type ClustersGet500Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet500Response struct for ClustersGet500Response
func NewClustersGet500Response ¶
func NewClustersGet500Response(httpStatus int32, messages []ErrorMessage) *ClustersGet500Response
NewClustersGet500Response instantiates a new ClustersGet500Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet500ResponseWithDefaults ¶
func NewClustersGet500ResponseWithDefaults() *ClustersGet500Response
NewClustersGet500ResponseWithDefaults instantiates a new ClustersGet500Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet500Response) GetHttpStatus ¶
func (o *ClustersGet500Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet500Response) GetHttpStatusOk ¶
func (o *ClustersGet500Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet500Response) GetMessages ¶
func (o *ClustersGet500Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet500Response) GetMessagesOk ¶
func (o *ClustersGet500Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet500Response) HasHttpStatus ¶
func (o *ClustersGet500Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet500Response) HasMessages ¶
func (o *ClustersGet500Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet500Response) MarshalJSON ¶
func (o ClustersGet500Response) MarshalJSON() ([]byte, error)
func (*ClustersGet500Response) SetHttpStatus ¶
func (o *ClustersGet500Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet500Response) SetMessages ¶
func (o *ClustersGet500Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type ClustersGet503Response ¶
type ClustersGet503Response struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus"` Messages *[]ErrorMessage `json:"messages"` }
ClustersGet503Response struct for ClustersGet503Response
func NewClustersGet503Response ¶
func NewClustersGet503Response(httpStatus int32, messages []ErrorMessage) *ClustersGet503Response
NewClustersGet503Response instantiates a new ClustersGet503Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClustersGet503ResponseWithDefaults ¶
func NewClustersGet503ResponseWithDefaults() *ClustersGet503Response
NewClustersGet503ResponseWithDefaults instantiates a new ClustersGet503Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClustersGet503Response) GetHttpStatus ¶
func (o *ClustersGet503Response) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClustersGet503Response) GetHttpStatusOk ¶
func (o *ClustersGet503Response) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ClustersGet503Response) GetMessages ¶
func (o *ClustersGet503Response) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ClustersGet503Response) GetMessagesOk ¶
func (o *ClustersGet503Response) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages 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 (*ClustersGet503Response) HasHttpStatus ¶
func (o *ClustersGet503Response) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ClustersGet503Response) HasMessages ¶
func (o *ClustersGet503Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ClustersGet503Response) MarshalJSON ¶
func (o ClustersGet503Response) MarshalJSON() ([]byte, error)
func (*ClustersGet503Response) SetHttpStatus ¶
func (o *ClustersGet503Response) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ClustersGet503Response) SetMessages ¶
func (o *ClustersGet503Response) SetMessages(v []ErrorMessage)
SetMessages sets field value
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` DefaultQueryParams url.Values `json:"defaultQueryParams,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client LogLevel LogLevel Logger Logger Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` MaxRetries int `json:"maxRetries,omitempty"` WaitTime time.Duration `json:"waitTime,omitempty"` MaxWaitTime time.Duration `json:"maxWaitTime,omitempty"` }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(username, password, token, hostUrl string) *Configuration
NewConfiguration returns a new Configuration object
func NewConfigurationFromEnv ¶
func NewConfigurationFromEnv() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) AddDefaultQueryParam ¶
func (c *Configuration) AddDefaultQueryParam(key string, value string)
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Connection ¶
type Connection struct { // The datacenter to connect your cluster to. DatacenterId *string `json:"datacenterId"` // The numeric LAN ID to connect your cluster to. LanId *string `json:"lanId"` // The IP and subnet for your cluster. Note the following unavailable IP ranges: 10.233.64.0/18 10.233.0.0/18 10.233.114.0/24 Cidr *string `json:"cidr"` }
Connection Details about the network connection for your cluster.
func NewConnection ¶
func NewConnection(datacenterId string, lanId string, cidr string) *Connection
NewConnection instantiates a new Connection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConnectionWithDefaults ¶
func NewConnectionWithDefaults() *Connection
NewConnectionWithDefaults instantiates a new Connection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Connection) GetCidr ¶
func (o *Connection) GetCidr() *string
GetCidr returns the Cidr field value If the value is explicit nil, the zero value for string will be returned
func (*Connection) GetCidrOk ¶
func (o *Connection) GetCidrOk() (*string, bool)
GetCidrOk returns a tuple with the Cidr 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 (*Connection) GetDatacenterId ¶
func (o *Connection) GetDatacenterId() *string
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*Connection) GetDatacenterIdOk ¶
func (o *Connection) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId 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 (*Connection) GetLanId ¶
func (o *Connection) GetLanId() *string
GetLanId returns the LanId field value If the value is explicit nil, the zero value for string will be returned
func (*Connection) GetLanIdOk ¶
func (o *Connection) GetLanIdOk() (*string, bool)
GetLanIdOk returns a tuple with the LanId 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 (*Connection) HasCidr ¶
func (o *Connection) HasCidr() bool
HasCidr returns a boolean if a field has been set.
func (*Connection) HasDatacenterId ¶
func (o *Connection) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (*Connection) HasLanId ¶
func (o *Connection) HasLanId() bool
HasLanId returns a boolean if a field has been set.
func (Connection) MarshalJSON ¶
func (o Connection) MarshalJSON() ([]byte, error)
func (*Connection) SetDatacenterId ¶
func (o *Connection) SetDatacenterId(v string)
SetDatacenterId sets field value
type CreateClusterProperties ¶
type CreateClusterProperties struct { MariadbVersion *MariadbVersion `json:"mariadbVersion"` // The total number of instances in the cluster (one primary and n-1 secondary). Instances *int32 `json:"instances"` // The number of CPU cores per instance. Cores *int32 `json:"cores"` // The amount of memory per instance in gigabytes (GB). Ram *int32 `json:"ram"` // The amount of storage per instance in gigabytes (GB). StorageSize *int32 `json:"storageSize"` // The network connection for your cluster. Only one connection is allowed. Connections *[]Connection `json:"connections"` // The friendly name of your cluster. DisplayName *string `json:"displayName"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` Credentials *DBUser `json:"credentials"` FromBackup *RestoreRequest `json:"fromBackup,omitempty"` }
CreateClusterProperties Properties with all data needed to create a new MariaDB cluster.
func NewCreateClusterProperties ¶
func NewCreateClusterProperties(mariadbVersion MariadbVersion, instances int32, cores int32, ram int32, storageSize int32, connections []Connection, displayName string, credentials DBUser) *CreateClusterProperties
NewCreateClusterProperties instantiates a new CreateClusterProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateClusterPropertiesWithDefaults ¶
func NewCreateClusterPropertiesWithDefaults() *CreateClusterProperties
NewCreateClusterPropertiesWithDefaults instantiates a new CreateClusterProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateClusterProperties) GetConnections ¶
func (o *CreateClusterProperties) GetConnections() *[]Connection
GetConnections returns the Connections field value If the value is explicit nil, the zero value for []Connection will be returned
func (*CreateClusterProperties) GetConnectionsOk ¶
func (o *CreateClusterProperties) GetConnectionsOk() (*[]Connection, bool)
GetConnectionsOk returns a tuple with the Connections 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 (*CreateClusterProperties) GetCores ¶
func (o *CreateClusterProperties) GetCores() *int32
GetCores returns the Cores field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateClusterProperties) GetCoresOk ¶
func (o *CreateClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores 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 (*CreateClusterProperties) GetCredentials ¶
func (o *CreateClusterProperties) GetCredentials() *DBUser
GetCredentials returns the Credentials field value If the value is explicit nil, the zero value for DBUser will be returned
func (*CreateClusterProperties) GetCredentialsOk ¶
func (o *CreateClusterProperties) GetCredentialsOk() (*DBUser, bool)
GetCredentialsOk returns a tuple with the Credentials 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 (*CreateClusterProperties) GetDisplayName ¶
func (o *CreateClusterProperties) GetDisplayName() *string
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetDisplayNameOk ¶
func (o *CreateClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName 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 (*CreateClusterProperties) GetFromBackup ¶ added in v1.1.1
func (o *CreateClusterProperties) GetFromBackup() *RestoreRequest
GetFromBackup returns the FromBackup field value If the value is explicit nil, the zero value for RestoreRequest will be returned
func (*CreateClusterProperties) GetFromBackupOk ¶ added in v1.1.1
func (o *CreateClusterProperties) GetFromBackupOk() (*RestoreRequest, bool)
GetFromBackupOk returns a tuple with the FromBackup 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 (*CreateClusterProperties) GetInstances ¶
func (o *CreateClusterProperties) GetInstances() *int32
GetInstances returns the Instances field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateClusterProperties) GetInstancesOk ¶
func (o *CreateClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances 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 (*CreateClusterProperties) GetMaintenanceWindow ¶
func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*CreateClusterProperties) GetMaintenanceWindowOk ¶
func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*CreateClusterProperties) GetMariadbVersion ¶
func (o *CreateClusterProperties) GetMariadbVersion() *MariadbVersion
GetMariadbVersion returns the MariadbVersion field value If the value is explicit nil, the zero value for MariadbVersion will be returned
func (*CreateClusterProperties) GetMariadbVersionOk ¶
func (o *CreateClusterProperties) GetMariadbVersionOk() (*MariadbVersion, bool)
GetMariadbVersionOk returns a tuple with the MariadbVersion 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 (*CreateClusterProperties) GetRam ¶
func (o *CreateClusterProperties) GetRam() *int32
GetRam returns the Ram field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateClusterProperties) GetRamOk ¶
func (o *CreateClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram 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 (*CreateClusterProperties) GetStorageSize ¶
func (o *CreateClusterProperties) GetStorageSize() *int32
GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateClusterProperties) GetStorageSizeOk ¶
func (o *CreateClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize 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 (*CreateClusterProperties) HasConnections ¶
func (o *CreateClusterProperties) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (*CreateClusterProperties) HasCores ¶
func (o *CreateClusterProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*CreateClusterProperties) HasCredentials ¶
func (o *CreateClusterProperties) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (*CreateClusterProperties) HasDisplayName ¶
func (o *CreateClusterProperties) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*CreateClusterProperties) HasFromBackup ¶ added in v1.1.1
func (o *CreateClusterProperties) HasFromBackup() bool
HasFromBackup returns a boolean if a field has been set.
func (*CreateClusterProperties) HasInstances ¶
func (o *CreateClusterProperties) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (*CreateClusterProperties) HasMaintenanceWindow ¶
func (o *CreateClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*CreateClusterProperties) HasMariadbVersion ¶
func (o *CreateClusterProperties) HasMariadbVersion() bool
HasMariadbVersion returns a boolean if a field has been set.
func (*CreateClusterProperties) HasRam ¶
func (o *CreateClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*CreateClusterProperties) HasStorageSize ¶
func (o *CreateClusterProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (CreateClusterProperties) MarshalJSON ¶
func (o CreateClusterProperties) MarshalJSON() ([]byte, error)
func (*CreateClusterProperties) SetConnections ¶
func (o *CreateClusterProperties) SetConnections(v []Connection)
SetConnections sets field value
func (*CreateClusterProperties) SetCores ¶
func (o *CreateClusterProperties) SetCores(v int32)
SetCores sets field value
func (*CreateClusterProperties) SetCredentials ¶
func (o *CreateClusterProperties) SetCredentials(v DBUser)
SetCredentials sets field value
func (*CreateClusterProperties) SetDisplayName ¶
func (o *CreateClusterProperties) SetDisplayName(v string)
SetDisplayName sets field value
func (*CreateClusterProperties) SetFromBackup ¶ added in v1.1.1
func (o *CreateClusterProperties) SetFromBackup(v RestoreRequest)
SetFromBackup sets field value
func (*CreateClusterProperties) SetInstances ¶
func (o *CreateClusterProperties) SetInstances(v int32)
SetInstances sets field value
func (*CreateClusterProperties) SetMaintenanceWindow ¶
func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*CreateClusterProperties) SetMariadbVersion ¶
func (o *CreateClusterProperties) SetMariadbVersion(v MariadbVersion)
SetMariadbVersion sets field value
func (*CreateClusterProperties) SetRam ¶
func (o *CreateClusterProperties) SetRam(v int32)
SetRam sets field value
func (*CreateClusterProperties) SetStorageSize ¶
func (o *CreateClusterProperties) SetStorageSize(v int32)
SetStorageSize sets field value
type CreateClusterRequest ¶
type CreateClusterRequest struct {
Properties *CreateClusterProperties `json:"properties,omitempty"`
}
CreateClusterRequest Request payload with all data needed to create a new MariaDB cluster.
func NewCreateClusterRequest ¶
func NewCreateClusterRequest() *CreateClusterRequest
NewCreateClusterRequest instantiates a new CreateClusterRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateClusterRequestWithDefaults ¶
func NewCreateClusterRequestWithDefaults() *CreateClusterRequest
NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateClusterRequest) GetProperties ¶
func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateClusterProperties will be returned
func (*CreateClusterRequest) GetPropertiesOk ¶
func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties 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 (*CreateClusterRequest) HasProperties ¶
func (o *CreateClusterRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (CreateClusterRequest) MarshalJSON ¶
func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
func (*CreateClusterRequest) SetProperties ¶
func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
SetProperties sets field value
type DBUser ¶
type DBUser struct { // The username for the initial MariaDB user. Some system usernames are restricted (e.g. \"mariadb\", \"admin\", \"standby\"). The username should be compliant with the following rules: - Must not exceed 16 characters - Must start with a letter - Must contain only letters, numbers, or underscores Username *string `json:"username"` // The password for a MariaDB user. Password *string `json:"password"` }
DBUser Credentials for the database user to be created.
func NewDBUser ¶
NewDBUser instantiates a new DBUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDBUserWithDefaults ¶
func NewDBUserWithDefaults() *DBUser
NewDBUserWithDefaults instantiates a new DBUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DBUser) GetPassword ¶
GetPassword returns the Password field value If the value is explicit nil, the zero value for string will be returned
func (*DBUser) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password 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 (*DBUser) GetUsername ¶
GetUsername returns the Username field value If the value is explicit nil, the zero value for string will be returned
func (*DBUser) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username 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 (*DBUser) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*DBUser) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (DBUser) MarshalJSON ¶
type DayOfTheWeek ¶
type DayOfTheWeek string
DayOfTheWeek The name of the week day.
const ( DAYOFTHEWEEK_SUNDAY DayOfTheWeek = "Sunday" DAYOFTHEWEEK_MONDAY DayOfTheWeek = "Monday" DAYOFTHEWEEK_TUESDAY DayOfTheWeek = "Tuesday" DAYOFTHEWEEK_WEDNESDAY DayOfTheWeek = "Wednesday" DAYOFTHEWEEK_THURSDAY DayOfTheWeek = "Thursday" DAYOFTHEWEEK_FRIDAY DayOfTheWeek = "Friday" DAYOFTHEWEEK_SATURDAY DayOfTheWeek = "Saturday" )
List of DayOfTheWeek
func (DayOfTheWeek) Ptr ¶
func (v DayOfTheWeek) Ptr() *DayOfTheWeek
Ptr returns reference to DayOfTheWeek value
func (*DayOfTheWeek) UnmarshalJSON ¶
func (v *DayOfTheWeek) UnmarshalJSON(src []byte) error
type ErrorMessage ¶
type ErrorMessage struct { // Application internal error code ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation specific to this occurrence of the problem. Message *string `json:"message,omitempty"` }
ErrorMessage struct for ErrorMessage
func NewErrorMessage ¶
func NewErrorMessage() *ErrorMessage
NewErrorMessage instantiates a new ErrorMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorMessageWithDefaults ¶
func NewErrorMessageWithDefaults() *ErrorMessage
NewErrorMessageWithDefaults instantiates a new ErrorMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorMessage) GetErrorCode ¶
func (o *ErrorMessage) GetErrorCode() *string
GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessage) GetErrorCodeOk ¶
func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode 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 (*ErrorMessage) GetMessage ¶
func (o *ErrorMessage) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessage) GetMessageOk ¶
func (o *ErrorMessage) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message 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 (*ErrorMessage) HasErrorCode ¶
func (o *ErrorMessage) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ErrorMessage) HasMessage ¶
func (o *ErrorMessage) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorMessage) MarshalJSON ¶
func (o ErrorMessage) MarshalJSON() ([]byte, error)
func (*ErrorMessage) SetErrorCode ¶
func (o *ErrorMessage) SetErrorCode(v string)
SetErrorCode sets field value
func (*ErrorMessage) SetMessage ¶
func (o *ErrorMessage) SetMessage(v string)
SetMessage sets field value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func NewGenericOpenAPIError ¶
func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError
NewGenericOpenAPIError - constructor for GenericOpenAPIError
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
func (*GenericOpenAPIError) SetBody ¶
func (e *GenericOpenAPIError) SetBody(body []byte)
SetBody sets the raw body of the error
func (*GenericOpenAPIError) SetError ¶
func (e *GenericOpenAPIError) SetError(error string)
SetError sets the error string
func (*GenericOpenAPIError) SetModel ¶
func (e *GenericOpenAPIError) SetModel(model interface{})
SetModel sets the model of the error
func (*GenericOpenAPIError) SetStatusCode ¶
func (e *GenericOpenAPIError) SetStatusCode(statusCode int)
SetStatusCode sets the status code of the error
func (GenericOpenAPIError) StatusCode ¶
func (e GenericOpenAPIError) StatusCode() int
StatusCode returns the status code of the error
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type LogLevel ¶
type LogLevel uint
const ( Off LogLevel = 0x100 * iota Debug // Trace We recommend you only set this field for debugging purposes. // Disable it in your production environments because it can log sensitive data. // It logs the full request and response without encryption, even for an HTTPS call. // Verbose request and response logging can also significantly impact your application's performance. Trace )
type Logger ¶
type Logger interface {
Printf(format string, args ...interface{})
}
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
type MaintenanceWindow ¶
type MaintenanceWindow struct { // Start of the maintenance window in UTC time. Time *string `json:"time"` DayOfTheWeek *DayOfTheWeek `json:"dayOfTheWeek"` }
MaintenanceWindow A weekly 4 hour-long window, during which maintenance might occur.
func NewMaintenanceWindow ¶
func NewMaintenanceWindow(time string, dayOfTheWeek DayOfTheWeek) *MaintenanceWindow
NewMaintenanceWindow instantiates a new MaintenanceWindow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMaintenanceWindowWithDefaults ¶
func NewMaintenanceWindowWithDefaults() *MaintenanceWindow
NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MaintenanceWindow) GetDayOfTheWeek ¶
func (o *MaintenanceWindow) GetDayOfTheWeek() *DayOfTheWeek
GetDayOfTheWeek returns the DayOfTheWeek field value If the value is explicit nil, the zero value for DayOfTheWeek will be returned
func (*MaintenanceWindow) GetDayOfTheWeekOk ¶
func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*DayOfTheWeek, bool)
GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek 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 (*MaintenanceWindow) GetTime ¶
func (o *MaintenanceWindow) GetTime() *string
GetTime returns the Time field value If the value is explicit nil, the zero value for string will be returned
func (*MaintenanceWindow) GetTimeOk ¶
func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time 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 (*MaintenanceWindow) HasDayOfTheWeek ¶
func (o *MaintenanceWindow) HasDayOfTheWeek() bool
HasDayOfTheWeek returns a boolean if a field has been set.
func (*MaintenanceWindow) HasTime ¶
func (o *MaintenanceWindow) HasTime() bool
HasTime returns a boolean if a field has been set.
func (MaintenanceWindow) MarshalJSON ¶
func (o MaintenanceWindow) MarshalJSON() ([]byte, error)
func (*MaintenanceWindow) SetDayOfTheWeek ¶
func (o *MaintenanceWindow) SetDayOfTheWeek(v DayOfTheWeek)
SetDayOfTheWeek sets field value
func (*MaintenanceWindow) SetTime ¶
func (o *MaintenanceWindow) SetTime(v string)
SetTime sets field value
type MariadbVersion ¶
type MariadbVersion string
MariadbVersion The MariaDB version of your cluster.
const ( MARIADBVERSION__6 MariadbVersion = "10.6" MARIADBVERSION__11 MariadbVersion = "10.11" )
List of MariadbVersion
func (MariadbVersion) Ptr ¶
func (v MariadbVersion) Ptr() *MariadbVersion
Ptr returns reference to MariadbVersion value
func (*MariadbVersion) UnmarshalJSON ¶
func (v *MariadbVersion) UnmarshalJSON(src []byte) error
type NullableBackup ¶
type NullableBackup struct {
// contains filtered or unexported fields
}
func NewNullableBackup ¶
func NewNullableBackup(val *Backup) *NullableBackup
func (NullableBackup) Get ¶
func (v NullableBackup) Get() *Backup
func (NullableBackup) IsSet ¶
func (v NullableBackup) IsSet() bool
func (NullableBackup) MarshalJSON ¶
func (v NullableBackup) MarshalJSON() ([]byte, error)
func (*NullableBackup) Set ¶
func (v *NullableBackup) Set(val *Backup)
func (*NullableBackup) UnmarshalJSON ¶
func (v *NullableBackup) UnmarshalJSON(src []byte) error
func (*NullableBackup) Unset ¶
func (v *NullableBackup) Unset()
type NullableBackupList ¶
type NullableBackupList struct {
// contains filtered or unexported fields
}
func NewNullableBackupList ¶
func NewNullableBackupList(val *BackupList) *NullableBackupList
func (NullableBackupList) Get ¶
func (v NullableBackupList) Get() *BackupList
func (NullableBackupList) IsSet ¶
func (v NullableBackupList) IsSet() bool
func (NullableBackupList) MarshalJSON ¶
func (v NullableBackupList) MarshalJSON() ([]byte, error)
func (*NullableBackupList) Set ¶
func (v *NullableBackupList) Set(val *BackupList)
func (*NullableBackupList) UnmarshalJSON ¶
func (v *NullableBackupList) UnmarshalJSON(src []byte) error
func (*NullableBackupList) Unset ¶
func (v *NullableBackupList) Unset()
type NullableBackupListAllOf ¶
type NullableBackupListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableBackupListAllOf ¶
func NewNullableBackupListAllOf(val *BackupListAllOf) *NullableBackupListAllOf
func (NullableBackupListAllOf) Get ¶
func (v NullableBackupListAllOf) Get() *BackupListAllOf
func (NullableBackupListAllOf) IsSet ¶
func (v NullableBackupListAllOf) IsSet() bool
func (NullableBackupListAllOf) MarshalJSON ¶
func (v NullableBackupListAllOf) MarshalJSON() ([]byte, error)
func (*NullableBackupListAllOf) Set ¶
func (v *NullableBackupListAllOf) Set(val *BackupListAllOf)
func (*NullableBackupListAllOf) UnmarshalJSON ¶
func (v *NullableBackupListAllOf) UnmarshalJSON(src []byte) error
func (*NullableBackupListAllOf) Unset ¶
func (v *NullableBackupListAllOf) Unset()
type NullableBackupResponse ¶
type NullableBackupResponse struct {
// contains filtered or unexported fields
}
func NewNullableBackupResponse ¶
func NewNullableBackupResponse(val *BackupResponse) *NullableBackupResponse
func (NullableBackupResponse) Get ¶
func (v NullableBackupResponse) Get() *BackupResponse
func (NullableBackupResponse) IsSet ¶
func (v NullableBackupResponse) IsSet() bool
func (NullableBackupResponse) MarshalJSON ¶
func (v NullableBackupResponse) MarshalJSON() ([]byte, error)
func (*NullableBackupResponse) Set ¶
func (v *NullableBackupResponse) Set(val *BackupResponse)
func (*NullableBackupResponse) UnmarshalJSON ¶
func (v *NullableBackupResponse) UnmarshalJSON(src []byte) error
func (*NullableBackupResponse) Unset ¶
func (v *NullableBackupResponse) Unset()
type NullableBaseBackup ¶
type NullableBaseBackup struct {
// contains filtered or unexported fields
}
func NewNullableBaseBackup ¶
func NewNullableBaseBackup(val *BaseBackup) *NullableBaseBackup
func (NullableBaseBackup) Get ¶
func (v NullableBaseBackup) Get() *BaseBackup
func (NullableBaseBackup) IsSet ¶
func (v NullableBaseBackup) IsSet() bool
func (NullableBaseBackup) MarshalJSON ¶
func (v NullableBaseBackup) MarshalJSON() ([]byte, error)
func (*NullableBaseBackup) Set ¶
func (v *NullableBaseBackup) Set(val *BaseBackup)
func (*NullableBaseBackup) UnmarshalJSON ¶
func (v *NullableBaseBackup) UnmarshalJSON(src []byte) error
func (*NullableBaseBackup) Unset ¶
func (v *NullableBaseBackup) 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 NullableClusterList ¶
type NullableClusterList struct {
// contains filtered or unexported fields
}
func NewNullableClusterList ¶
func NewNullableClusterList(val *ClusterList) *NullableClusterList
func (NullableClusterList) Get ¶
func (v NullableClusterList) Get() *ClusterList
func (NullableClusterList) IsSet ¶
func (v NullableClusterList) IsSet() bool
func (NullableClusterList) MarshalJSON ¶
func (v NullableClusterList) MarshalJSON() ([]byte, error)
func (*NullableClusterList) Set ¶
func (v *NullableClusterList) Set(val *ClusterList)
func (*NullableClusterList) UnmarshalJSON ¶
func (v *NullableClusterList) UnmarshalJSON(src []byte) error
func (*NullableClusterList) Unset ¶
func (v *NullableClusterList) Unset()
type NullableClusterListAllOf ¶
type NullableClusterListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableClusterListAllOf ¶
func NewNullableClusterListAllOf(val *ClusterListAllOf) *NullableClusterListAllOf
func (NullableClusterListAllOf) Get ¶
func (v NullableClusterListAllOf) Get() *ClusterListAllOf
func (NullableClusterListAllOf) IsSet ¶
func (v NullableClusterListAllOf) IsSet() bool
func (NullableClusterListAllOf) MarshalJSON ¶
func (v NullableClusterListAllOf) MarshalJSON() ([]byte, error)
func (*NullableClusterListAllOf) Set ¶
func (v *NullableClusterListAllOf) Set(val *ClusterListAllOf)
func (*NullableClusterListAllOf) UnmarshalJSON ¶
func (v *NullableClusterListAllOf) UnmarshalJSON(src []byte) error
func (*NullableClusterListAllOf) Unset ¶
func (v *NullableClusterListAllOf) Unset()
type NullableClusterMetadata ¶
type NullableClusterMetadata struct {
// contains filtered or unexported fields
}
func NewNullableClusterMetadata ¶
func NewNullableClusterMetadata(val *ClusterMetadata) *NullableClusterMetadata
func (NullableClusterMetadata) Get ¶
func (v NullableClusterMetadata) Get() *ClusterMetadata
func (NullableClusterMetadata) IsSet ¶
func (v NullableClusterMetadata) IsSet() bool
func (NullableClusterMetadata) MarshalJSON ¶
func (v NullableClusterMetadata) MarshalJSON() ([]byte, error)
func (*NullableClusterMetadata) Set ¶
func (v *NullableClusterMetadata) Set(val *ClusterMetadata)
func (*NullableClusterMetadata) UnmarshalJSON ¶
func (v *NullableClusterMetadata) UnmarshalJSON(src []byte) error
func (*NullableClusterMetadata) Unset ¶
func (v *NullableClusterMetadata) Unset()
type NullableClusterProperties ¶
type NullableClusterProperties struct {
// contains filtered or unexported fields
}
func NewNullableClusterProperties ¶
func NewNullableClusterProperties(val *ClusterProperties) *NullableClusterProperties
func (NullableClusterProperties) Get ¶
func (v NullableClusterProperties) Get() *ClusterProperties
func (NullableClusterProperties) IsSet ¶
func (v NullableClusterProperties) IsSet() bool
func (NullableClusterProperties) MarshalJSON ¶
func (v NullableClusterProperties) MarshalJSON() ([]byte, error)
func (*NullableClusterProperties) Set ¶
func (v *NullableClusterProperties) Set(val *ClusterProperties)
func (*NullableClusterProperties) UnmarshalJSON ¶
func (v *NullableClusterProperties) UnmarshalJSON(src []byte) error
func (*NullableClusterProperties) Unset ¶
func (v *NullableClusterProperties) Unset()
type NullableClusterResponse ¶
type NullableClusterResponse struct {
// contains filtered or unexported fields
}
func NewNullableClusterResponse ¶
func NewNullableClusterResponse(val *ClusterResponse) *NullableClusterResponse
func (NullableClusterResponse) Get ¶
func (v NullableClusterResponse) Get() *ClusterResponse
func (NullableClusterResponse) IsSet ¶
func (v NullableClusterResponse) IsSet() bool
func (NullableClusterResponse) MarshalJSON ¶
func (v NullableClusterResponse) MarshalJSON() ([]byte, error)
func (*NullableClusterResponse) Set ¶
func (v *NullableClusterResponse) Set(val *ClusterResponse)
func (*NullableClusterResponse) UnmarshalJSON ¶
func (v *NullableClusterResponse) UnmarshalJSON(src []byte) error
func (*NullableClusterResponse) Unset ¶
func (v *NullableClusterResponse) Unset()
type NullableClustersGet400Response ¶
type NullableClustersGet400Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet400Response ¶
func NewNullableClustersGet400Response(val *ClustersGet400Response) *NullableClustersGet400Response
func (NullableClustersGet400Response) Get ¶
func (v NullableClustersGet400Response) Get() *ClustersGet400Response
func (NullableClustersGet400Response) IsSet ¶
func (v NullableClustersGet400Response) IsSet() bool
func (NullableClustersGet400Response) MarshalJSON ¶
func (v NullableClustersGet400Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet400Response) Set ¶
func (v *NullableClustersGet400Response) Set(val *ClustersGet400Response)
func (*NullableClustersGet400Response) UnmarshalJSON ¶
func (v *NullableClustersGet400Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet400Response) Unset ¶
func (v *NullableClustersGet400Response) Unset()
type NullableClustersGet401Response ¶
type NullableClustersGet401Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet401Response ¶
func NewNullableClustersGet401Response(val *ClustersGet401Response) *NullableClustersGet401Response
func (NullableClustersGet401Response) Get ¶
func (v NullableClustersGet401Response) Get() *ClustersGet401Response
func (NullableClustersGet401Response) IsSet ¶
func (v NullableClustersGet401Response) IsSet() bool
func (NullableClustersGet401Response) MarshalJSON ¶
func (v NullableClustersGet401Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet401Response) Set ¶
func (v *NullableClustersGet401Response) Set(val *ClustersGet401Response)
func (*NullableClustersGet401Response) UnmarshalJSON ¶
func (v *NullableClustersGet401Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet401Response) Unset ¶
func (v *NullableClustersGet401Response) Unset()
type NullableClustersGet403Response ¶
type NullableClustersGet403Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet403Response ¶
func NewNullableClustersGet403Response(val *ClustersGet403Response) *NullableClustersGet403Response
func (NullableClustersGet403Response) Get ¶
func (v NullableClustersGet403Response) Get() *ClustersGet403Response
func (NullableClustersGet403Response) IsSet ¶
func (v NullableClustersGet403Response) IsSet() bool
func (NullableClustersGet403Response) MarshalJSON ¶
func (v NullableClustersGet403Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet403Response) Set ¶
func (v *NullableClustersGet403Response) Set(val *ClustersGet403Response)
func (*NullableClustersGet403Response) UnmarshalJSON ¶
func (v *NullableClustersGet403Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet403Response) Unset ¶
func (v *NullableClustersGet403Response) Unset()
type NullableClustersGet404Response ¶
type NullableClustersGet404Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet404Response ¶
func NewNullableClustersGet404Response(val *ClustersGet404Response) *NullableClustersGet404Response
func (NullableClustersGet404Response) Get ¶
func (v NullableClustersGet404Response) Get() *ClustersGet404Response
func (NullableClustersGet404Response) IsSet ¶
func (v NullableClustersGet404Response) IsSet() bool
func (NullableClustersGet404Response) MarshalJSON ¶
func (v NullableClustersGet404Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet404Response) Set ¶
func (v *NullableClustersGet404Response) Set(val *ClustersGet404Response)
func (*NullableClustersGet404Response) UnmarshalJSON ¶
func (v *NullableClustersGet404Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet404Response) Unset ¶
func (v *NullableClustersGet404Response) Unset()
type NullableClustersGet405Response ¶
type NullableClustersGet405Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet405Response ¶
func NewNullableClustersGet405Response(val *ClustersGet405Response) *NullableClustersGet405Response
func (NullableClustersGet405Response) Get ¶
func (v NullableClustersGet405Response) Get() *ClustersGet405Response
func (NullableClustersGet405Response) IsSet ¶
func (v NullableClustersGet405Response) IsSet() bool
func (NullableClustersGet405Response) MarshalJSON ¶
func (v NullableClustersGet405Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet405Response) Set ¶
func (v *NullableClustersGet405Response) Set(val *ClustersGet405Response)
func (*NullableClustersGet405Response) UnmarshalJSON ¶
func (v *NullableClustersGet405Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet405Response) Unset ¶
func (v *NullableClustersGet405Response) Unset()
type NullableClustersGet415Response ¶
type NullableClustersGet415Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet415Response ¶
func NewNullableClustersGet415Response(val *ClustersGet415Response) *NullableClustersGet415Response
func (NullableClustersGet415Response) Get ¶
func (v NullableClustersGet415Response) Get() *ClustersGet415Response
func (NullableClustersGet415Response) IsSet ¶
func (v NullableClustersGet415Response) IsSet() bool
func (NullableClustersGet415Response) MarshalJSON ¶
func (v NullableClustersGet415Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet415Response) Set ¶
func (v *NullableClustersGet415Response) Set(val *ClustersGet415Response)
func (*NullableClustersGet415Response) UnmarshalJSON ¶
func (v *NullableClustersGet415Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet415Response) Unset ¶
func (v *NullableClustersGet415Response) Unset()
type NullableClustersGet422Response ¶
type NullableClustersGet422Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet422Response ¶
func NewNullableClustersGet422Response(val *ClustersGet422Response) *NullableClustersGet422Response
func (NullableClustersGet422Response) Get ¶
func (v NullableClustersGet422Response) Get() *ClustersGet422Response
func (NullableClustersGet422Response) IsSet ¶
func (v NullableClustersGet422Response) IsSet() bool
func (NullableClustersGet422Response) MarshalJSON ¶
func (v NullableClustersGet422Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet422Response) Set ¶
func (v *NullableClustersGet422Response) Set(val *ClustersGet422Response)
func (*NullableClustersGet422Response) UnmarshalJSON ¶
func (v *NullableClustersGet422Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet422Response) Unset ¶
func (v *NullableClustersGet422Response) Unset()
type NullableClustersGet429Response ¶
type NullableClustersGet429Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet429Response ¶
func NewNullableClustersGet429Response(val *ClustersGet429Response) *NullableClustersGet429Response
func (NullableClustersGet429Response) Get ¶
func (v NullableClustersGet429Response) Get() *ClustersGet429Response
func (NullableClustersGet429Response) IsSet ¶
func (v NullableClustersGet429Response) IsSet() bool
func (NullableClustersGet429Response) MarshalJSON ¶
func (v NullableClustersGet429Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet429Response) Set ¶
func (v *NullableClustersGet429Response) Set(val *ClustersGet429Response)
func (*NullableClustersGet429Response) UnmarshalJSON ¶
func (v *NullableClustersGet429Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet429Response) Unset ¶
func (v *NullableClustersGet429Response) Unset()
type NullableClustersGet500Response ¶
type NullableClustersGet500Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet500Response ¶
func NewNullableClustersGet500Response(val *ClustersGet500Response) *NullableClustersGet500Response
func (NullableClustersGet500Response) Get ¶
func (v NullableClustersGet500Response) Get() *ClustersGet500Response
func (NullableClustersGet500Response) IsSet ¶
func (v NullableClustersGet500Response) IsSet() bool
func (NullableClustersGet500Response) MarshalJSON ¶
func (v NullableClustersGet500Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet500Response) Set ¶
func (v *NullableClustersGet500Response) Set(val *ClustersGet500Response)
func (*NullableClustersGet500Response) UnmarshalJSON ¶
func (v *NullableClustersGet500Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet500Response) Unset ¶
func (v *NullableClustersGet500Response) Unset()
type NullableClustersGet503Response ¶
type NullableClustersGet503Response struct {
// contains filtered or unexported fields
}
func NewNullableClustersGet503Response ¶
func NewNullableClustersGet503Response(val *ClustersGet503Response) *NullableClustersGet503Response
func (NullableClustersGet503Response) Get ¶
func (v NullableClustersGet503Response) Get() *ClustersGet503Response
func (NullableClustersGet503Response) IsSet ¶
func (v NullableClustersGet503Response) IsSet() bool
func (NullableClustersGet503Response) MarshalJSON ¶
func (v NullableClustersGet503Response) MarshalJSON() ([]byte, error)
func (*NullableClustersGet503Response) Set ¶
func (v *NullableClustersGet503Response) Set(val *ClustersGet503Response)
func (*NullableClustersGet503Response) UnmarshalJSON ¶
func (v *NullableClustersGet503Response) UnmarshalJSON(src []byte) error
func (*NullableClustersGet503Response) Unset ¶
func (v *NullableClustersGet503Response) Unset()
type NullableConnection ¶
type NullableConnection struct {
// contains filtered or unexported fields
}
func NewNullableConnection ¶
func NewNullableConnection(val *Connection) *NullableConnection
func (NullableConnection) Get ¶
func (v NullableConnection) Get() *Connection
func (NullableConnection) IsSet ¶
func (v NullableConnection) IsSet() bool
func (NullableConnection) MarshalJSON ¶
func (v NullableConnection) MarshalJSON() ([]byte, error)
func (*NullableConnection) Set ¶
func (v *NullableConnection) Set(val *Connection)
func (*NullableConnection) UnmarshalJSON ¶
func (v *NullableConnection) UnmarshalJSON(src []byte) error
func (*NullableConnection) Unset ¶
func (v *NullableConnection) Unset()
type NullableCreateClusterProperties ¶
type NullableCreateClusterProperties struct {
// contains filtered or unexported fields
}
func NewNullableCreateClusterProperties ¶
func NewNullableCreateClusterProperties(val *CreateClusterProperties) *NullableCreateClusterProperties
func (NullableCreateClusterProperties) Get ¶
func (v NullableCreateClusterProperties) Get() *CreateClusterProperties
func (NullableCreateClusterProperties) IsSet ¶
func (v NullableCreateClusterProperties) IsSet() bool
func (NullableCreateClusterProperties) MarshalJSON ¶
func (v NullableCreateClusterProperties) MarshalJSON() ([]byte, error)
func (*NullableCreateClusterProperties) Set ¶
func (v *NullableCreateClusterProperties) Set(val *CreateClusterProperties)
func (*NullableCreateClusterProperties) UnmarshalJSON ¶
func (v *NullableCreateClusterProperties) UnmarshalJSON(src []byte) error
func (*NullableCreateClusterProperties) Unset ¶
func (v *NullableCreateClusterProperties) Unset()
type NullableCreateClusterRequest ¶
type NullableCreateClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateClusterRequest ¶
func NewNullableCreateClusterRequest(val *CreateClusterRequest) *NullableCreateClusterRequest
func (NullableCreateClusterRequest) Get ¶
func (v NullableCreateClusterRequest) Get() *CreateClusterRequest
func (NullableCreateClusterRequest) IsSet ¶
func (v NullableCreateClusterRequest) IsSet() bool
func (NullableCreateClusterRequest) MarshalJSON ¶
func (v NullableCreateClusterRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateClusterRequest) Set ¶
func (v *NullableCreateClusterRequest) Set(val *CreateClusterRequest)
func (*NullableCreateClusterRequest) UnmarshalJSON ¶
func (v *NullableCreateClusterRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateClusterRequest) Unset ¶
func (v *NullableCreateClusterRequest) Unset()
type NullableDBUser ¶
type NullableDBUser struct {
// contains filtered or unexported fields
}
func NewNullableDBUser ¶
func NewNullableDBUser(val *DBUser) *NullableDBUser
func (NullableDBUser) Get ¶
func (v NullableDBUser) Get() *DBUser
func (NullableDBUser) IsSet ¶
func (v NullableDBUser) IsSet() bool
func (NullableDBUser) MarshalJSON ¶
func (v NullableDBUser) MarshalJSON() ([]byte, error)
func (*NullableDBUser) Set ¶
func (v *NullableDBUser) Set(val *DBUser)
func (*NullableDBUser) UnmarshalJSON ¶
func (v *NullableDBUser) UnmarshalJSON(src []byte) error
func (*NullableDBUser) Unset ¶
func (v *NullableDBUser) Unset()
type NullableDayOfTheWeek ¶
type NullableDayOfTheWeek struct {
// contains filtered or unexported fields
}
func NewNullableDayOfTheWeek ¶
func NewNullableDayOfTheWeek(val *DayOfTheWeek) *NullableDayOfTheWeek
func (NullableDayOfTheWeek) Get ¶
func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
func (NullableDayOfTheWeek) IsSet ¶
func (v NullableDayOfTheWeek) IsSet() bool
func (NullableDayOfTheWeek) MarshalJSON ¶
func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
func (*NullableDayOfTheWeek) Set ¶
func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
func (*NullableDayOfTheWeek) UnmarshalJSON ¶
func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
func (*NullableDayOfTheWeek) Unset ¶
func (v *NullableDayOfTheWeek) Unset()
type NullableErrorMessage ¶
type NullableErrorMessage struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessage ¶
func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage
func (NullableErrorMessage) Get ¶
func (v NullableErrorMessage) Get() *ErrorMessage
func (NullableErrorMessage) IsSet ¶
func (v NullableErrorMessage) IsSet() bool
func (NullableErrorMessage) MarshalJSON ¶
func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
func (*NullableErrorMessage) Set ¶
func (v *NullableErrorMessage) Set(val *ErrorMessage)
func (*NullableErrorMessage) UnmarshalJSON ¶
func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
func (*NullableErrorMessage) Unset ¶
func (v *NullableErrorMessage) 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 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 NullableMaintenanceWindow ¶
type NullableMaintenanceWindow struct {
// contains filtered or unexported fields
}
func NewNullableMaintenanceWindow ¶
func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow
func (NullableMaintenanceWindow) Get ¶
func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
func (NullableMaintenanceWindow) IsSet ¶
func (v NullableMaintenanceWindow) IsSet() bool
func (NullableMaintenanceWindow) MarshalJSON ¶
func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
func (*NullableMaintenanceWindow) Set ¶
func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
func (*NullableMaintenanceWindow) UnmarshalJSON ¶
func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
func (*NullableMaintenanceWindow) Unset ¶
func (v *NullableMaintenanceWindow) Unset()
type NullableMariadbVersion ¶
type NullableMariadbVersion struct {
// contains filtered or unexported fields
}
func NewNullableMariadbVersion ¶
func NewNullableMariadbVersion(val *MariadbVersion) *NullableMariadbVersion
func (NullableMariadbVersion) Get ¶
func (v NullableMariadbVersion) Get() *MariadbVersion
func (NullableMariadbVersion) IsSet ¶
func (v NullableMariadbVersion) IsSet() bool
func (NullableMariadbVersion) MarshalJSON ¶
func (v NullableMariadbVersion) MarshalJSON() ([]byte, error)
func (*NullableMariadbVersion) Set ¶
func (v *NullableMariadbVersion) Set(val *MariadbVersion)
func (*NullableMariadbVersion) UnmarshalJSON ¶
func (v *NullableMariadbVersion) UnmarshalJSON(src []byte) error
func (*NullableMariadbVersion) Unset ¶
func (v *NullableMariadbVersion) 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 NullablePaginationLinks ¶
type NullablePaginationLinks struct {
// contains filtered or unexported fields
}
func NewNullablePaginationLinks ¶
func NewNullablePaginationLinks(val *PaginationLinks) *NullablePaginationLinks
func (NullablePaginationLinks) Get ¶
func (v NullablePaginationLinks) Get() *PaginationLinks
func (NullablePaginationLinks) IsSet ¶
func (v NullablePaginationLinks) IsSet() bool
func (NullablePaginationLinks) MarshalJSON ¶
func (v NullablePaginationLinks) MarshalJSON() ([]byte, error)
func (*NullablePaginationLinks) Set ¶
func (v *NullablePaginationLinks) Set(val *PaginationLinks)
func (*NullablePaginationLinks) UnmarshalJSON ¶
func (v *NullablePaginationLinks) UnmarshalJSON(src []byte) error
func (*NullablePaginationLinks) Unset ¶
func (v *NullablePaginationLinks) Unset()
type NullablePatchClusterProperties ¶ added in v1.1.1
type NullablePatchClusterProperties struct {
// contains filtered or unexported fields
}
func NewNullablePatchClusterProperties ¶ added in v1.1.1
func NewNullablePatchClusterProperties(val *PatchClusterProperties) *NullablePatchClusterProperties
func (NullablePatchClusterProperties) Get ¶ added in v1.1.1
func (v NullablePatchClusterProperties) Get() *PatchClusterProperties
func (NullablePatchClusterProperties) IsSet ¶ added in v1.1.1
func (v NullablePatchClusterProperties) IsSet() bool
func (NullablePatchClusterProperties) MarshalJSON ¶ added in v1.1.1
func (v NullablePatchClusterProperties) MarshalJSON() ([]byte, error)
func (*NullablePatchClusterProperties) Set ¶ added in v1.1.1
func (v *NullablePatchClusterProperties) Set(val *PatchClusterProperties)
func (*NullablePatchClusterProperties) UnmarshalJSON ¶ added in v1.1.1
func (v *NullablePatchClusterProperties) UnmarshalJSON(src []byte) error
func (*NullablePatchClusterProperties) Unset ¶ added in v1.1.1
func (v *NullablePatchClusterProperties) Unset()
type NullablePatchClusterRequest ¶ added in v1.1.1
type NullablePatchClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchClusterRequest ¶ added in v1.1.1
func NewNullablePatchClusterRequest(val *PatchClusterRequest) *NullablePatchClusterRequest
func (NullablePatchClusterRequest) Get ¶ added in v1.1.1
func (v NullablePatchClusterRequest) Get() *PatchClusterRequest
func (NullablePatchClusterRequest) IsSet ¶ added in v1.1.1
func (v NullablePatchClusterRequest) IsSet() bool
func (NullablePatchClusterRequest) MarshalJSON ¶ added in v1.1.1
func (v NullablePatchClusterRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchClusterRequest) Set ¶ added in v1.1.1
func (v *NullablePatchClusterRequest) Set(val *PatchClusterRequest)
func (*NullablePatchClusterRequest) UnmarshalJSON ¶ added in v1.1.1
func (v *NullablePatchClusterRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchClusterRequest) Unset ¶ added in v1.1.1
func (v *NullablePatchClusterRequest) Unset()
type NullableRestoreRequest ¶ added in v1.1.1
type NullableRestoreRequest struct {
// contains filtered or unexported fields
}
func NewNullableRestoreRequest ¶ added in v1.1.1
func NewNullableRestoreRequest(val *RestoreRequest) *NullableRestoreRequest
func (NullableRestoreRequest) Get ¶ added in v1.1.1
func (v NullableRestoreRequest) Get() *RestoreRequest
func (NullableRestoreRequest) IsSet ¶ added in v1.1.1
func (v NullableRestoreRequest) IsSet() bool
func (NullableRestoreRequest) MarshalJSON ¶ added in v1.1.1
func (v NullableRestoreRequest) MarshalJSON() ([]byte, error)
func (*NullableRestoreRequest) Set ¶ added in v1.1.1
func (v *NullableRestoreRequest) Set(val *RestoreRequest)
func (*NullableRestoreRequest) UnmarshalJSON ¶ added in v1.1.1
func (v *NullableRestoreRequest) UnmarshalJSON(src []byte) error
func (*NullableRestoreRequest) Unset ¶ added in v1.1.1
func (v *NullableRestoreRequest) 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 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 Pagination ¶
type Pagination struct { // The offset specified in the request (if none was specified, the default offset is 0). Offset *int32 `json:"offset,omitempty"` // The limit specified in the request (if none was specified, the default limit is 100). Limit *int32 `json:"limit,omitempty"` // The total number of elements matching the request (without pagination). Total *int32 `json:"total,omitempty"` Links *PaginationLinks `json:"_links,omitempty"` }
Pagination Pagination information in list responses.
func NewPagination ¶
func NewPagination() *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) GetLimit ¶
func (o *Pagination) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetLimitOk ¶
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit 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 (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links 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 (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetOffsetOk ¶
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset 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 (*Pagination) GetTotal ¶
func (o *Pagination) GetTotal() *int32
GetTotal returns the Total field value If the value is explicit nil, the zero value for int32 will be returned
func (*Pagination) GetTotalOk ¶
func (o *Pagination) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total 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 (*Pagination) HasLimit ¶
func (o *Pagination) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*Pagination) HasLinks ¶
func (o *Pagination) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*Pagination) HasOffset ¶
func (o *Pagination) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*Pagination) HasTotal ¶
func (o *Pagination) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
func (*Pagination) SetLinks ¶
func (o *Pagination) SetLinks(v PaginationLinks)
SetLinks sets field value
type PaginationLinks ¶
type PaginationLinks struct { // URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0. Prev *string `json:"prev,omitempty"` // URL (with offset and limit parameters) of the current page. Self *string `json:"self,omitempty"` // URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements. Next *string `json:"next,omitempty"` }
PaginationLinks URLs to navigate the different pages.
func NewPaginationLinks ¶
func NewPaginationLinks() *PaginationLinks
NewPaginationLinks instantiates a new PaginationLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaginationLinksWithDefaults ¶
func NewPaginationLinksWithDefaults() *PaginationLinks
NewPaginationLinksWithDefaults instantiates a new PaginationLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PaginationLinks) GetNext ¶
func (o *PaginationLinks) GetNext() *string
GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned
func (*PaginationLinks) GetNextOk ¶
func (o *PaginationLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next 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 (*PaginationLinks) GetPrev ¶
func (o *PaginationLinks) GetPrev() *string
GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned
func (*PaginationLinks) GetPrevOk ¶
func (o *PaginationLinks) GetPrevOk() (*string, bool)
GetPrevOk returns a tuple with the Prev 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 (*PaginationLinks) GetSelf ¶
func (o *PaginationLinks) GetSelf() *string
GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned
func (*PaginationLinks) GetSelfOk ¶
func (o *PaginationLinks) GetSelfOk() (*string, bool)
GetSelfOk returns a tuple with the Self 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 (*PaginationLinks) HasNext ¶
func (o *PaginationLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*PaginationLinks) HasPrev ¶
func (o *PaginationLinks) HasPrev() bool
HasPrev returns a boolean if a field has been set.
func (*PaginationLinks) HasSelf ¶
func (o *PaginationLinks) HasSelf() bool
HasSelf returns a boolean if a field has been set.
func (PaginationLinks) MarshalJSON ¶
func (o PaginationLinks) MarshalJSON() ([]byte, error)
func (*PaginationLinks) SetNext ¶
func (o *PaginationLinks) SetNext(v string)
SetNext sets field value
func (*PaginationLinks) SetPrev ¶
func (o *PaginationLinks) SetPrev(v string)
SetPrev sets field value
func (*PaginationLinks) SetSelf ¶
func (o *PaginationLinks) SetSelf(v string)
SetSelf sets field value
type PatchClusterProperties ¶ added in v1.1.1
type PatchClusterProperties struct { MariadbVersion *MariadbVersion `json:"mariadbVersion,omitempty"` // The total number of instances in the cluster (one primary and n-1 secondary). Instances *int32 `json:"instances,omitempty"` // The number of CPU cores per instance. Cores *int32 `json:"cores,omitempty"` // The amount of memory per instance in gigabytes (GB). Ram *int32 `json:"ram,omitempty"` // The amount of storage per instance in gigabytes (GB). StorageSize *int32 `json:"storageSize,omitempty"` // The friendly name of your cluster. DisplayName *string `json:"displayName,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
PatchClusterProperties Properties of the payload to change a cluster: - instances can only be increased (3, 5, 7), - mariadbVersion can only be increased (no downgrade) - storageSize can only be increased, - ram and cores can be both increased and decreased.
func NewPatchClusterProperties ¶ added in v1.1.1
func NewPatchClusterProperties() *PatchClusterProperties
NewPatchClusterProperties instantiates a new PatchClusterProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchClusterPropertiesWithDefaults ¶ added in v1.1.1
func NewPatchClusterPropertiesWithDefaults() *PatchClusterProperties
NewPatchClusterPropertiesWithDefaults instantiates a new PatchClusterProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchClusterProperties) GetCores ¶ added in v1.1.1
func (o *PatchClusterProperties) GetCores() *int32
GetCores returns the Cores field value If the value is explicit nil, the zero value for int32 will be returned
func (*PatchClusterProperties) GetCoresOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores 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 (*PatchClusterProperties) GetDisplayName ¶ added in v1.1.1
func (o *PatchClusterProperties) GetDisplayName() *string
GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned
func (*PatchClusterProperties) GetDisplayNameOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName 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 (*PatchClusterProperties) GetInstances ¶ added in v1.1.1
func (o *PatchClusterProperties) GetInstances() *int32
GetInstances returns the Instances field value If the value is explicit nil, the zero value for int32 will be returned
func (*PatchClusterProperties) GetInstancesOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances 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 (*PatchClusterProperties) GetMaintenanceWindow ¶ added in v1.1.1
func (o *PatchClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*PatchClusterProperties) GetMaintenanceWindowOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*PatchClusterProperties) GetMariadbVersion ¶ added in v1.1.1
func (o *PatchClusterProperties) GetMariadbVersion() *MariadbVersion
GetMariadbVersion returns the MariadbVersion field value If the value is explicit nil, the zero value for MariadbVersion will be returned
func (*PatchClusterProperties) GetMariadbVersionOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetMariadbVersionOk() (*MariadbVersion, bool)
GetMariadbVersionOk returns a tuple with the MariadbVersion 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 (*PatchClusterProperties) GetRam ¶ added in v1.1.1
func (o *PatchClusterProperties) GetRam() *int32
GetRam returns the Ram field value If the value is explicit nil, the zero value for int32 will be returned
func (*PatchClusterProperties) GetRamOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram 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 (*PatchClusterProperties) GetStorageSize ¶ added in v1.1.1
func (o *PatchClusterProperties) GetStorageSize() *int32
GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*PatchClusterProperties) GetStorageSizeOk ¶ added in v1.1.1
func (o *PatchClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize 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 (*PatchClusterProperties) HasCores ¶ added in v1.1.1
func (o *PatchClusterProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*PatchClusterProperties) HasDisplayName ¶ added in v1.1.1
func (o *PatchClusterProperties) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*PatchClusterProperties) HasInstances ¶ added in v1.1.1
func (o *PatchClusterProperties) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (*PatchClusterProperties) HasMaintenanceWindow ¶ added in v1.1.1
func (o *PatchClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*PatchClusterProperties) HasMariadbVersion ¶ added in v1.1.1
func (o *PatchClusterProperties) HasMariadbVersion() bool
HasMariadbVersion returns a boolean if a field has been set.
func (*PatchClusterProperties) HasRam ¶ added in v1.1.1
func (o *PatchClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*PatchClusterProperties) HasStorageSize ¶ added in v1.1.1
func (o *PatchClusterProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (PatchClusterProperties) MarshalJSON ¶ added in v1.1.1
func (o PatchClusterProperties) MarshalJSON() ([]byte, error)
func (*PatchClusterProperties) SetCores ¶ added in v1.1.1
func (o *PatchClusterProperties) SetCores(v int32)
SetCores sets field value
func (*PatchClusterProperties) SetDisplayName ¶ added in v1.1.1
func (o *PatchClusterProperties) SetDisplayName(v string)
SetDisplayName sets field value
func (*PatchClusterProperties) SetInstances ¶ added in v1.1.1
func (o *PatchClusterProperties) SetInstances(v int32)
SetInstances sets field value
func (*PatchClusterProperties) SetMaintenanceWindow ¶ added in v1.1.1
func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*PatchClusterProperties) SetMariadbVersion ¶ added in v1.1.1
func (o *PatchClusterProperties) SetMariadbVersion(v MariadbVersion)
SetMariadbVersion sets field value
func (*PatchClusterProperties) SetRam ¶ added in v1.1.1
func (o *PatchClusterProperties) SetRam(v int32)
SetRam sets field value
func (*PatchClusterProperties) SetStorageSize ¶ added in v1.1.1
func (o *PatchClusterProperties) SetStorageSize(v int32)
SetStorageSize sets field value
type PatchClusterRequest ¶ added in v1.1.1
type PatchClusterRequest struct { Metadata *ClusterMetadata `json:"metadata,omitempty"` Properties *PatchClusterProperties `json:"properties,omitempty"` }
PatchClusterRequest Request payload to change a cluster.
func NewPatchClusterRequest ¶ added in v1.1.1
func NewPatchClusterRequest() *PatchClusterRequest
NewPatchClusterRequest instantiates a new PatchClusterRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchClusterRequestWithDefaults ¶ added in v1.1.1
func NewPatchClusterRequestWithDefaults() *PatchClusterRequest
NewPatchClusterRequestWithDefaults instantiates a new PatchClusterRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchClusterRequest) GetMetadata ¶ added in v1.1.1
func (o *PatchClusterRequest) GetMetadata() *ClusterMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ClusterMetadata will be returned
func (*PatchClusterRequest) GetMetadataOk ¶ added in v1.1.1
func (o *PatchClusterRequest) GetMetadataOk() (*ClusterMetadata, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*PatchClusterRequest) GetProperties ¶ added in v1.1.1
func (o *PatchClusterRequest) GetProperties() *PatchClusterProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchClusterProperties will be returned
func (*PatchClusterRequest) GetPropertiesOk ¶ added in v1.1.1
func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties 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 (*PatchClusterRequest) HasMetadata ¶ added in v1.1.1
func (o *PatchClusterRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*PatchClusterRequest) HasProperties ¶ added in v1.1.1
func (o *PatchClusterRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (PatchClusterRequest) MarshalJSON ¶ added in v1.1.1
func (o PatchClusterRequest) MarshalJSON() ([]byte, error)
func (*PatchClusterRequest) SetMetadata ¶ added in v1.1.1
func (o *PatchClusterRequest) SetMetadata(v ClusterMetadata)
SetMetadata sets field value
func (*PatchClusterRequest) SetProperties ¶ added in v1.1.1
func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
SetProperties sets field value
type RestoreApiService ¶ added in v1.1.1
type RestoreApiService service
RestoreApiService RestoreApi service
func (*RestoreApiService) ClustersRestore ¶ added in v1.1.1
func (a *RestoreApiService) ClustersRestore(ctx _context.Context, clusterId string) ApiClustersRestoreRequest
- ClustersRestore In-place restore of a cluster.
- Restore a MariaDB cluster from a backup.
Conditions:
- The backup must belong to the MariaDB cluster to be restored.
- The cluster must be in the state "AVAILABLE".
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster.
- @return ApiClustersRestoreRequest
func (*RestoreApiService) ClustersRestoreExecute ¶ added in v1.1.1
func (a *RestoreApiService) ClustersRestoreExecute(r ApiClustersRestoreRequest) (*APIResponse, error)
* Execute executes the request
type RestoreRequest ¶ added in v1.1.1
type RestoreRequest struct { // The unique ID of the resource. BackupId *string `json:"backupId"` // The timestamp to which the cluster should be restored. If empty, the backup will be applied to the latest timestamp. This value must be supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. Must be within the earliestRecoveryTargetTime and now. The earliestRecoveryTargetTime can be looked up in the backup object. RecoveryTargetTime *IonosTime `json:"recoveryTargetTime,omitempty"` }
RestoreRequest Request payload to restore a cluster from a backup.
func NewRestoreRequest ¶ added in v1.1.1
func NewRestoreRequest(backupId string) *RestoreRequest
NewRestoreRequest instantiates a new RestoreRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreRequestWithDefaults ¶ added in v1.1.1
func NewRestoreRequestWithDefaults() *RestoreRequest
NewRestoreRequestWithDefaults instantiates a new RestoreRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreRequest) GetBackupId ¶ added in v1.1.1
func (o *RestoreRequest) GetBackupId() *string
GetBackupId returns the BackupId field value If the value is explicit nil, the zero value for string will be returned
func (*RestoreRequest) GetBackupIdOk ¶ added in v1.1.1
func (o *RestoreRequest) GetBackupIdOk() (*string, bool)
GetBackupIdOk returns a tuple with the BackupId 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 (*RestoreRequest) GetRecoveryTargetTime ¶ added in v1.1.1
func (o *RestoreRequest) GetRecoveryTargetTime() *time.Time
GetRecoveryTargetTime returns the RecoveryTargetTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*RestoreRequest) GetRecoveryTargetTimeOk ¶ added in v1.1.1
func (o *RestoreRequest) GetRecoveryTargetTimeOk() (*time.Time, bool)
GetRecoveryTargetTimeOk returns a tuple with the RecoveryTargetTime 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 (*RestoreRequest) HasBackupId ¶ added in v1.1.1
func (o *RestoreRequest) HasBackupId() bool
HasBackupId returns a boolean if a field has been set.
func (*RestoreRequest) HasRecoveryTargetTime ¶ added in v1.1.1
func (o *RestoreRequest) HasRecoveryTargetTime() bool
HasRecoveryTargetTime returns a boolean if a field has been set.
func (RestoreRequest) MarshalJSON ¶ added in v1.1.1
func (o RestoreRequest) MarshalJSON() ([]byte, error)
func (*RestoreRequest) SetBackupId ¶ added in v1.1.1
func (o *RestoreRequest) SetBackupId(v string)
SetBackupId sets field value
func (*RestoreRequest) SetRecoveryTargetTime ¶ added in v1.1.1
func (o *RestoreRequest) SetRecoveryTargetTime(v time.Time)
SetRecoveryTargetTime sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type State ¶
type State string
State The current status reported back by the cluster.
const ( STATE_AVAILABLE State = "AVAILABLE" STATE_BUSY State = "BUSY" STATE_CREATING State = "CREATING" STATE_UPDATING State = "UPDATING" STATE_RESTORING State = "RESTORING" STATE_DESTROYING State = "DESTROYING" STATE_DEGRADED State = "DEGRADED" STATE_FAILED State = "FAILED" STATE_UNKNOWN State = "UNKNOWN" )
List of State
func (*State) UnmarshalJSON ¶
Source Files ¶
- api_backups.go
- api_clusters.go
- api_restore.go
- client.go
- configuration.go
- logger.go
- model_backup.go
- model_backup_list.go
- model_backup_list_all_of.go
- model_backup_response.go
- model_base_backup.go
- model_cluster_list.go
- model_cluster_list_all_of.go
- model_cluster_metadata.go
- model_cluster_properties.go
- model_cluster_response.go
- model_clusters_get_400_response.go
- model_clusters_get_401_response.go
- model_clusters_get_403_response.go
- model_clusters_get_404_response.go
- model_clusters_get_405_response.go
- model_clusters_get_415_response.go
- model_clusters_get_422_response.go
- model_clusters_get_429_response.go
- model_clusters_get_500_response.go
- model_clusters_get_503_response.go
- model_connection.go
- model_create_cluster_properties.go
- model_create_cluster_request.go
- model_day_of_the_week.go
- model_db_user.go
- model_error_message.go
- model_maintenance_window.go
- model_mariadb_version.go
- model_pagination.go
- model_pagination_links.go
- model_patch_cluster_properties.go
- model_patch_cluster_request.go
- model_restore_request.go
- model_state.go
- response.go
- utils.go