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 APIVersion
- func (o *APIVersion) GetName() *string
- func (o *APIVersion) GetNameOk() (*string, bool)
- func (o *APIVersion) GetSwaggerUrl() *string
- func (o *APIVersion) GetSwaggerUrlOk() (*string, bool)
- func (o *APIVersion) HasName() bool
- func (o *APIVersion) HasSwaggerUrl() bool
- func (o APIVersion) MarshalJSON() ([]byte, error)
- func (o *APIVersion) SetName(v string)
- func (o *APIVersion) SetSwaggerUrl(v string)
- type ApiClusterBackupsGetRequest
- type ApiClusterLogsGetRequest
- func (r ApiClusterLogsGetRequest) Direction(direction string) ApiClusterLogsGetRequest
- func (r ApiClusterLogsGetRequest) End(end time.Time) ApiClusterLogsGetRequest
- func (r ApiClusterLogsGetRequest) Execute() (ClusterLogs, *APIResponse, error)
- func (r ApiClusterLogsGetRequest) Limit(limit int32) ApiClusterLogsGetRequest
- func (r ApiClusterLogsGetRequest) Start(start time.Time) ApiClusterLogsGetRequest
- type ApiClusterPostgresVersionsGetRequest
- type ApiClusterRestorePostRequest
- type ApiClustersBackupsFindByIdRequest
- type ApiClustersBackupsGetRequest
- 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 ApiDatabasesDeleteRequest
- type ApiDatabasesGetRequest
- type ApiDatabasesListRequest
- type ApiDatabasesPostRequest
- type ApiInfosVersionGetRequest
- type ApiInfosVersionsGetRequest
- type ApiPostgresVersionsGetRequest
- type ApiUsersDeleteRequest
- type ApiUsersGetRequest
- type ApiUsersListRequest
- type ApiUsersPatchRequest
- type ApiUsersPostRequest
- type BackupMetadata
- func (o *BackupMetadata) GetCreatedDate() *time.Time
- func (o *BackupMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *BackupMetadata) GetState() *State
- func (o *BackupMetadata) GetStateOk() (*State, bool)
- func (o *BackupMetadata) HasCreatedDate() bool
- func (o *BackupMetadata) HasState() bool
- func (o BackupMetadata) MarshalJSON() ([]byte, error)
- func (o *BackupMetadata) SetCreatedDate(v time.Time)
- func (o *BackupMetadata) SetState(v State)
- type BackupResponse
- func (o *BackupResponse) GetId() *string
- func (o *BackupResponse) GetIdOk() (*string, bool)
- func (o *BackupResponse) GetMetadata() *BackupMetadata
- func (o *BackupResponse) GetMetadataOk() (*BackupMetadata, bool)
- func (o *BackupResponse) GetProperties() *ClusterBackup
- func (o *BackupResponse) GetPropertiesOk() (*ClusterBackup, bool)
- func (o *BackupResponse) GetType() *ResourceType
- func (o *BackupResponse) GetTypeOk() (*ResourceType, bool)
- func (o *BackupResponse) HasId() bool
- func (o *BackupResponse) HasMetadata() bool
- func (o *BackupResponse) HasProperties() bool
- func (o *BackupResponse) HasType() bool
- func (o BackupResponse) MarshalJSON() ([]byte, error)
- func (o *BackupResponse) SetId(v string)
- func (o *BackupResponse) SetMetadata(v BackupMetadata)
- func (o *BackupResponse) SetProperties(v ClusterBackup)
- func (o *BackupResponse) SetType(v ResourceType)
- type BackupsApiService
- func (a *BackupsApiService) ClusterBackupsGet(ctx _context.Context, clusterId string) ApiClusterBackupsGetRequest
- func (a *BackupsApiService) ClusterBackupsGetExecute(r ApiClusterBackupsGetRequest) (ClusterBackupList, *APIResponse, error)
- func (a *BackupsApiService) ClustersBackupsFindById(ctx _context.Context, backupId string) ApiClustersBackupsFindByIdRequest
- func (a *BackupsApiService) ClustersBackupsFindByIdExecute(r ApiClustersBackupsFindByIdRequest) (BackupResponse, *APIResponse, error)
- func (a *BackupsApiService) ClustersBackupsGet(ctx _context.Context) ApiClustersBackupsGetRequest
- func (a *BackupsApiService) ClustersBackupsGetExecute(r ApiClustersBackupsGetRequest) (ClusterBackupList, *APIResponse, error)
- type BasicAuth
- type ClusterBackup
- func (o *ClusterBackup) GetClusterId() *string
- func (o *ClusterBackup) GetClusterIdOk() (*string, bool)
- func (o *ClusterBackup) GetEarliestRecoveryTargetTime() *time.Time
- func (o *ClusterBackup) GetEarliestRecoveryTargetTimeOk() (*time.Time, bool)
- func (o *ClusterBackup) GetId() *string
- func (o *ClusterBackup) GetIdOk() (*string, bool)
- func (o *ClusterBackup) GetIsActive() *bool
- func (o *ClusterBackup) GetIsActiveOk() (*bool, bool)
- func (o *ClusterBackup) GetLocation() *string
- func (o *ClusterBackup) GetLocationOk() (*string, bool)
- func (o *ClusterBackup) GetSize() *int32
- func (o *ClusterBackup) GetSizeOk() (*int32, bool)
- func (o *ClusterBackup) GetVersion() *string
- func (o *ClusterBackup) GetVersionOk() (*string, bool)
- func (o *ClusterBackup) HasClusterId() bool
- func (o *ClusterBackup) HasEarliestRecoveryTargetTime() bool
- func (o *ClusterBackup) HasId() bool
- func (o *ClusterBackup) HasIsActive() bool
- func (o *ClusterBackup) HasLocation() bool
- func (o *ClusterBackup) HasSize() bool
- func (o *ClusterBackup) HasVersion() bool
- func (o ClusterBackup) MarshalJSON() ([]byte, error)
- func (o *ClusterBackup) SetClusterId(v string)
- func (o *ClusterBackup) SetEarliestRecoveryTargetTime(v time.Time)
- func (o *ClusterBackup) SetId(v string)
- func (o *ClusterBackup) SetIsActive(v bool)
- func (o *ClusterBackup) SetLocation(v string)
- func (o *ClusterBackup) SetSize(v int32)
- func (o *ClusterBackup) SetVersion(v string)
- type ClusterBackupList
- func (o *ClusterBackupList) GetId() *string
- func (o *ClusterBackupList) GetIdOk() (*string, bool)
- func (o *ClusterBackupList) GetItems() *[]BackupResponse
- func (o *ClusterBackupList) GetItemsOk() (*[]BackupResponse, bool)
- func (o *ClusterBackupList) GetLimit() *int32
- func (o *ClusterBackupList) GetLimitOk() (*int32, bool)
- func (o *ClusterBackupList) GetLinks() *PaginationLinks
- func (o *ClusterBackupList) GetLinksOk() (*PaginationLinks, bool)
- func (o *ClusterBackupList) GetOffset() *int32
- func (o *ClusterBackupList) GetOffsetOk() (*int32, bool)
- func (o *ClusterBackupList) GetType() *ResourceType
- func (o *ClusterBackupList) GetTypeOk() (*ResourceType, bool)
- func (o *ClusterBackupList) HasId() bool
- func (o *ClusterBackupList) HasItems() bool
- func (o *ClusterBackupList) HasLimit() bool
- func (o *ClusterBackupList) HasLinks() bool
- func (o *ClusterBackupList) HasOffset() bool
- func (o *ClusterBackupList) HasType() bool
- func (o ClusterBackupList) MarshalJSON() ([]byte, error)
- func (o *ClusterBackupList) SetId(v string)
- func (o *ClusterBackupList) SetItems(v []BackupResponse)
- func (o *ClusterBackupList) SetLimit(v int32)
- func (o *ClusterBackupList) SetLinks(v PaginationLinks)
- func (o *ClusterBackupList) SetOffset(v int32)
- func (o *ClusterBackupList) SetType(v ResourceType)
- type ClusterBackupListAllOf
- func (o *ClusterBackupListAllOf) GetId() *string
- func (o *ClusterBackupListAllOf) GetIdOk() (*string, bool)
- func (o *ClusterBackupListAllOf) GetItems() *[]BackupResponse
- func (o *ClusterBackupListAllOf) GetItemsOk() (*[]BackupResponse, bool)
- func (o *ClusterBackupListAllOf) GetType() *ResourceType
- func (o *ClusterBackupListAllOf) GetTypeOk() (*ResourceType, bool)
- func (o *ClusterBackupListAllOf) HasId() bool
- func (o *ClusterBackupListAllOf) HasItems() bool
- func (o *ClusterBackupListAllOf) HasType() bool
- func (o ClusterBackupListAllOf) MarshalJSON() ([]byte, error)
- func (o *ClusterBackupListAllOf) SetId(v string)
- func (o *ClusterBackupListAllOf) SetItems(v []BackupResponse)
- func (o *ClusterBackupListAllOf) SetType(v ResourceType)
- 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) GetType() *ResourceType
- func (o *ClusterList) GetTypeOk() (*ResourceType, 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) HasType() 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) SetType(v ResourceType)
- 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) GetType() *ResourceType
- func (o *ClusterListAllOf) GetTypeOk() (*ResourceType, bool)
- func (o *ClusterListAllOf) HasId() bool
- func (o *ClusterListAllOf) HasItems() bool
- func (o *ClusterListAllOf) HasType() bool
- func (o ClusterListAllOf) MarshalJSON() ([]byte, error)
- func (o *ClusterListAllOf) SetId(v string)
- func (o *ClusterListAllOf) SetItems(v []ClusterResponse)
- func (o *ClusterListAllOf) SetType(v ResourceType)
- type ClusterLogs
- type ClusterLogsInstances
- func (o *ClusterLogsInstances) GetMessages() *[]ClusterLogsInstancesMessages
- func (o *ClusterLogsInstances) GetMessagesOk() (*[]ClusterLogsInstancesMessages, bool)
- func (o *ClusterLogsInstances) GetName() *string
- func (o *ClusterLogsInstances) GetNameOk() (*string, bool)
- func (o *ClusterLogsInstances) HasMessages() bool
- func (o *ClusterLogsInstances) HasName() bool
- func (o ClusterLogsInstances) MarshalJSON() ([]byte, error)
- func (o *ClusterLogsInstances) SetMessages(v []ClusterLogsInstancesMessages)
- func (o *ClusterLogsInstances) SetName(v string)
- type ClusterLogsInstancesMessages
- func (o *ClusterLogsInstancesMessages) GetMessage() *string
- func (o *ClusterLogsInstancesMessages) GetMessageOk() (*string, bool)
- func (o *ClusterLogsInstancesMessages) GetTime() *time.Time
- func (o *ClusterLogsInstancesMessages) GetTimeOk() (*time.Time, bool)
- func (o *ClusterLogsInstancesMessages) HasMessage() bool
- func (o *ClusterLogsInstancesMessages) HasTime() bool
- func (o ClusterLogsInstancesMessages) MarshalJSON() ([]byte, error)
- func (o *ClusterLogsInstancesMessages) SetMessage(v string)
- func (o *ClusterLogsInstancesMessages) SetTime(v time.Time)
- 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) GetBackupLocation() *string
- func (o *ClusterProperties) GetBackupLocationOk() (*string, bool)
- func (o *ClusterProperties) GetConnectionPooler() *ConnectionPooler
- func (o *ClusterProperties) GetConnectionPoolerOk() (*ConnectionPooler, bool)
- 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) GetLocation() *string
- func (o *ClusterProperties) GetLocationOk() (*string, bool)
- func (o *ClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *ClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *ClusterProperties) GetPostgresVersion() *string
- func (o *ClusterProperties) GetPostgresVersionOk() (*string, 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) GetStorageType() *StorageType
- func (o *ClusterProperties) GetStorageTypeOk() (*StorageType, bool)
- func (o *ClusterProperties) GetSynchronizationMode() *SynchronizationMode
- func (o *ClusterProperties) GetSynchronizationModeOk() (*SynchronizationMode, bool)
- func (o *ClusterProperties) HasBackupLocation() bool
- func (o *ClusterProperties) HasConnectionPooler() 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) HasLocation() bool
- func (o *ClusterProperties) HasMaintenanceWindow() bool
- func (o *ClusterProperties) HasPostgresVersion() bool
- func (o *ClusterProperties) HasRam() bool
- func (o *ClusterProperties) HasStorageSize() bool
- func (o *ClusterProperties) HasStorageType() bool
- func (o *ClusterProperties) HasSynchronizationMode() bool
- func (o ClusterProperties) MarshalJSON() ([]byte, error)
- func (o *ClusterProperties) SetBackupLocation(v string)
- func (o *ClusterProperties) SetConnectionPooler(v ConnectionPooler)
- 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) SetLocation(v string)
- func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *ClusterProperties) SetPostgresVersion(v string)
- func (o *ClusterProperties) SetRam(v int32)
- func (o *ClusterProperties) SetStorageSize(v int32)
- func (o *ClusterProperties) SetStorageType(v StorageType)
- func (o *ClusterProperties) SetSynchronizationMode(v SynchronizationMode)
- 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) GetType() *ResourceType
- func (o *ClusterResponse) GetTypeOk() (*ResourceType, bool)
- func (o *ClusterResponse) HasId() bool
- func (o *ClusterResponse) HasMetadata() bool
- func (o *ClusterResponse) HasProperties() bool
- func (o *ClusterResponse) HasType() 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)
- func (o *ClusterResponse) SetType(v ResourceType)
- type ClustersApiService
- func (a *ClustersApiService) ClusterPostgresVersionsGet(ctx _context.Context, clusterId string) ApiClusterPostgresVersionsGetRequest
- func (a *ClustersApiService) ClusterPostgresVersionsGetExecute(r ApiClusterPostgresVersionsGetRequest) (PostgresVersionList, *APIResponse, error)
- 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)
- func (a *ClustersApiService) PostgresVersionsGet(ctx _context.Context) ApiPostgresVersionsGetRequest
- func (a *ClustersApiService) PostgresVersionsGetExecute(r ApiPostgresVersionsGetRequest) (PostgresVersionList, *APIResponse, error)
- 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 ConnectionPooler
- func (o *ConnectionPooler) GetEnabled() *bool
- func (o *ConnectionPooler) GetEnabledOk() (*bool, bool)
- func (o *ConnectionPooler) GetPoolMode() *PoolMode
- func (o *ConnectionPooler) GetPoolModeOk() (*PoolMode, bool)
- func (o *ConnectionPooler) HasEnabled() bool
- func (o *ConnectionPooler) HasPoolMode() bool
- func (o ConnectionPooler) MarshalJSON() ([]byte, error)
- func (o *ConnectionPooler) SetEnabled(v bool)
- func (o *ConnectionPooler) SetPoolMode(v PoolMode)
- type CreateClusterProperties
- func (o *CreateClusterProperties) GetBackupLocation() *string
- func (o *CreateClusterProperties) GetBackupLocationOk() (*string, bool)
- func (o *CreateClusterProperties) GetConnectionPooler() *ConnectionPooler
- func (o *CreateClusterProperties) GetConnectionPoolerOk() (*ConnectionPooler, bool)
- 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() *CreateRestoreRequest
- func (o *CreateClusterProperties) GetFromBackupOk() (*CreateRestoreRequest, bool)
- func (o *CreateClusterProperties) GetInstances() *int32
- func (o *CreateClusterProperties) GetInstancesOk() (*int32, bool)
- func (o *CreateClusterProperties) GetLocation() *string
- func (o *CreateClusterProperties) GetLocationOk() (*string, bool)
- func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *CreateClusterProperties) GetPostgresVersion() *string
- func (o *CreateClusterProperties) GetPostgresVersionOk() (*string, 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) GetStorageType() *StorageType
- func (o *CreateClusterProperties) GetStorageTypeOk() (*StorageType, bool)
- func (o *CreateClusterProperties) GetSynchronizationMode() *SynchronizationMode
- func (o *CreateClusterProperties) GetSynchronizationModeOk() (*SynchronizationMode, bool)
- func (o *CreateClusterProperties) HasBackupLocation() bool
- func (o *CreateClusterProperties) HasConnectionPooler() 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) HasLocation() bool
- func (o *CreateClusterProperties) HasMaintenanceWindow() bool
- func (o *CreateClusterProperties) HasPostgresVersion() bool
- func (o *CreateClusterProperties) HasRam() bool
- func (o *CreateClusterProperties) HasStorageSize() bool
- func (o *CreateClusterProperties) HasStorageType() bool
- func (o *CreateClusterProperties) HasSynchronizationMode() bool
- func (o CreateClusterProperties) MarshalJSON() ([]byte, error)
- func (o *CreateClusterProperties) SetBackupLocation(v string)
- func (o *CreateClusterProperties) SetConnectionPooler(v ConnectionPooler)
- 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 CreateRestoreRequest)
- func (o *CreateClusterProperties) SetInstances(v int32)
- func (o *CreateClusterProperties) SetLocation(v string)
- func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *CreateClusterProperties) SetPostgresVersion(v string)
- func (o *CreateClusterProperties) SetRam(v int32)
- func (o *CreateClusterProperties) SetStorageSize(v int32)
- func (o *CreateClusterProperties) SetStorageType(v StorageType)
- func (o *CreateClusterProperties) SetSynchronizationMode(v SynchronizationMode)
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetMetadata() *ClusterMetadata
- func (o *CreateClusterRequest) GetMetadataOk() (*ClusterMetadata, bool)
- func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties
- func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)
- func (o *CreateClusterRequest) HasMetadata() bool
- func (o *CreateClusterRequest) HasProperties() bool
- func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
- func (o *CreateClusterRequest) SetMetadata(v ClusterMetadata)
- func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
- type CreateRestoreRequest
- func (o *CreateRestoreRequest) GetBackupId() *string
- func (o *CreateRestoreRequest) GetBackupIdOk() (*string, bool)
- func (o *CreateRestoreRequest) GetRecoveryTargetTime() *time.Time
- func (o *CreateRestoreRequest) GetRecoveryTargetTimeOk() (*time.Time, bool)
- func (o *CreateRestoreRequest) HasBackupId() bool
- func (o *CreateRestoreRequest) HasRecoveryTargetTime() bool
- func (o CreateRestoreRequest) MarshalJSON() ([]byte, error)
- func (o *CreateRestoreRequest) SetBackupId(v string)
- func (o *CreateRestoreRequest) SetRecoveryTargetTime(v time.Time)
- 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 Database
- type DatabaseItems
- type DatabaseList
- func (o *DatabaseList) GetHref() *string
- func (o *DatabaseList) GetHrefOk() (*string, bool)
- func (o *DatabaseList) GetId() *string
- func (o *DatabaseList) GetIdOk() (*string, bool)
- func (o *DatabaseList) GetItems() *[]DatabaseResource
- func (o *DatabaseList) GetItemsOk() (*[]DatabaseResource, bool)
- func (o *DatabaseList) GetLimit() *int32
- func (o *DatabaseList) GetLimitOk() (*int32, bool)
- func (o *DatabaseList) GetLinks() *PaginationLinks
- func (o *DatabaseList) GetLinksOk() (*PaginationLinks, bool)
- func (o *DatabaseList) GetOffset() *int32
- func (o *DatabaseList) GetOffsetOk() (*int32, bool)
- func (o *DatabaseList) GetType() *ResourceType
- func (o *DatabaseList) GetTypeOk() (*ResourceType, bool)
- func (o *DatabaseList) HasHref() bool
- func (o *DatabaseList) HasId() bool
- func (o *DatabaseList) HasItems() bool
- func (o *DatabaseList) HasLimit() bool
- func (o *DatabaseList) HasLinks() bool
- func (o *DatabaseList) HasOffset() bool
- func (o *DatabaseList) HasType() bool
- func (o DatabaseList) MarshalJSON() ([]byte, error)
- func (o *DatabaseList) SetHref(v string)
- func (o *DatabaseList) SetId(v string)
- func (o *DatabaseList) SetItems(v []DatabaseResource)
- func (o *DatabaseList) SetLimit(v int32)
- func (o *DatabaseList) SetLinks(v PaginationLinks)
- func (o *DatabaseList) SetOffset(v int32)
- func (o *DatabaseList) SetType(v ResourceType)
- type DatabaseProperties
- func (o *DatabaseProperties) GetName() *string
- func (o *DatabaseProperties) GetNameOk() (*string, bool)
- func (o *DatabaseProperties) GetOwner() *string
- func (o *DatabaseProperties) GetOwnerOk() (*string, bool)
- func (o *DatabaseProperties) HasName() bool
- func (o *DatabaseProperties) HasOwner() bool
- func (o DatabaseProperties) MarshalJSON() ([]byte, error)
- func (o *DatabaseProperties) SetName(v string)
- func (o *DatabaseProperties) SetOwner(v string)
- type DatabaseResource
- func (o *DatabaseResource) GetHref() *string
- func (o *DatabaseResource) GetHrefOk() (*string, bool)
- func (o *DatabaseResource) GetId() *string
- func (o *DatabaseResource) GetIdOk() (*string, bool)
- func (o *DatabaseResource) GetMetadata() *Metadata
- func (o *DatabaseResource) GetMetadataOk() (*Metadata, bool)
- func (o *DatabaseResource) GetProperties() *DatabaseProperties
- func (o *DatabaseResource) GetPropertiesOk() (*DatabaseProperties, bool)
- func (o *DatabaseResource) GetType() *ResourceType
- func (o *DatabaseResource) GetTypeOk() (*ResourceType, bool)
- func (o *DatabaseResource) HasHref() bool
- func (o *DatabaseResource) HasId() bool
- func (o *DatabaseResource) HasMetadata() bool
- func (o *DatabaseResource) HasProperties() bool
- func (o *DatabaseResource) HasType() bool
- func (o DatabaseResource) MarshalJSON() ([]byte, error)
- func (o *DatabaseResource) SetHref(v string)
- func (o *DatabaseResource) SetId(v string)
- func (o *DatabaseResource) SetMetadata(v Metadata)
- func (o *DatabaseResource) SetProperties(v DatabaseProperties)
- func (o *DatabaseResource) SetType(v ResourceType)
- type DatabasesApiService
- func (a *DatabasesApiService) DatabasesDelete(ctx _context.Context, clusterId string, databasename string) ApiDatabasesDeleteRequest
- func (a *DatabasesApiService) DatabasesDeleteExecute(r ApiDatabasesDeleteRequest) (*APIResponse, error)
- func (a *DatabasesApiService) DatabasesGet(ctx _context.Context, clusterId string, databasename string) ApiDatabasesGetRequest
- func (a *DatabasesApiService) DatabasesGetExecute(r ApiDatabasesGetRequest) (DatabaseResource, *APIResponse, error)
- func (a *DatabasesApiService) DatabasesList(ctx _context.Context, clusterId string) ApiDatabasesListRequest
- func (a *DatabasesApiService) DatabasesListExecute(r ApiDatabasesListRequest) (DatabaseList, *APIResponse, error)
- func (a *DatabasesApiService) DatabasesPost(ctx _context.Context, clusterId string) ApiDatabasesPostRequest
- func (a *DatabasesApiService) DatabasesPostExecute(r ApiDatabasesPostRequest) (DatabaseResource, *APIResponse, error)
- type DayOfTheWeek
- type DeprecatedPagination
- func (o *DeprecatedPagination) GetLimit() *int32
- func (o *DeprecatedPagination) GetLimitOk() (*int32, bool)
- func (o *DeprecatedPagination) GetLinks() *PaginationLinks
- func (o *DeprecatedPagination) GetLinksOk() (*PaginationLinks, bool)
- func (o *DeprecatedPagination) GetOffset() *int32
- func (o *DeprecatedPagination) GetOffsetOk() (*int32, bool)
- func (o *DeprecatedPagination) HasLimit() bool
- func (o *DeprecatedPagination) HasLinks() bool
- func (o *DeprecatedPagination) HasOffset() bool
- func (o DeprecatedPagination) MarshalJSON() ([]byte, error)
- func (o *DeprecatedPagination) SetLimit(v int32)
- func (o *DeprecatedPagination) SetLinks(v PaginationLinks)
- func (o *DeprecatedPagination) SetOffset(v int32)
- 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 ErrorResponse
- func (o *ErrorResponse) GetHttpStatus() *int32
- func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)
- func (o *ErrorResponse) GetMessages() *[]ErrorMessage
- func (o *ErrorResponse) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ErrorResponse) HasHttpStatus() bool
- func (o *ErrorResponse) HasMessages() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetHttpStatus(v int32)
- func (o *ErrorResponse) SetMessages(v []ErrorMessage)
- 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 LogsApiService
- 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 Metadata
- func (o *Metadata) GetCreatedBy() *string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() *string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() *time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetLastModifiedBy() *string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() *string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() *time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetResourceURN() *string
- func (o *Metadata) GetResourceURNOk() (*string, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasResourceURN() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetResourceURN(v string)
- type MetadataApiService
- func (a *MetadataApiService) InfosVersionGet(ctx _context.Context) ApiInfosVersionGetRequest
- func (a *MetadataApiService) InfosVersionGetExecute(r ApiInfosVersionGetRequest) (APIVersion, *APIResponse, error)
- func (a *MetadataApiService) InfosVersionsGet(ctx _context.Context) ApiInfosVersionsGetRequest
- func (a *MetadataApiService) InfosVersionsGetExecute(r ApiInfosVersionsGetRequest) ([]APIVersion, *APIResponse, error)
- type NullableAPIVersion
- type NullableBackupMetadata
- func (v NullableBackupMetadata) Get() *BackupMetadata
- func (v NullableBackupMetadata) IsSet() bool
- func (v NullableBackupMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableBackupMetadata) Set(val *BackupMetadata)
- func (v *NullableBackupMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableBackupMetadata) 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 NullableBool
- type NullableClusterBackup
- func (v NullableClusterBackup) Get() *ClusterBackup
- func (v NullableClusterBackup) IsSet() bool
- func (v NullableClusterBackup) MarshalJSON() ([]byte, error)
- func (v *NullableClusterBackup) Set(val *ClusterBackup)
- func (v *NullableClusterBackup) UnmarshalJSON(src []byte) error
- func (v *NullableClusterBackup) Unset()
- type NullableClusterBackupList
- func (v NullableClusterBackupList) Get() *ClusterBackupList
- func (v NullableClusterBackupList) IsSet() bool
- func (v NullableClusterBackupList) MarshalJSON() ([]byte, error)
- func (v *NullableClusterBackupList) Set(val *ClusterBackupList)
- func (v *NullableClusterBackupList) UnmarshalJSON(src []byte) error
- func (v *NullableClusterBackupList) Unset()
- type NullableClusterBackupListAllOf
- func (v NullableClusterBackupListAllOf) Get() *ClusterBackupListAllOf
- func (v NullableClusterBackupListAllOf) IsSet() bool
- func (v NullableClusterBackupListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableClusterBackupListAllOf) Set(val *ClusterBackupListAllOf)
- func (v *NullableClusterBackupListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableClusterBackupListAllOf) Unset()
- 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 NullableClusterLogs
- func (v NullableClusterLogs) Get() *ClusterLogs
- func (v NullableClusterLogs) IsSet() bool
- func (v NullableClusterLogs) MarshalJSON() ([]byte, error)
- func (v *NullableClusterLogs) Set(val *ClusterLogs)
- func (v *NullableClusterLogs) UnmarshalJSON(src []byte) error
- func (v *NullableClusterLogs) Unset()
- type NullableClusterLogsInstances
- func (v NullableClusterLogsInstances) Get() *ClusterLogsInstances
- func (v NullableClusterLogsInstances) IsSet() bool
- func (v NullableClusterLogsInstances) MarshalJSON() ([]byte, error)
- func (v *NullableClusterLogsInstances) Set(val *ClusterLogsInstances)
- func (v *NullableClusterLogsInstances) UnmarshalJSON(src []byte) error
- func (v *NullableClusterLogsInstances) Unset()
- type NullableClusterLogsInstancesMessages
- func (v NullableClusterLogsInstancesMessages) Get() *ClusterLogsInstancesMessages
- func (v NullableClusterLogsInstancesMessages) IsSet() bool
- func (v NullableClusterLogsInstancesMessages) MarshalJSON() ([]byte, error)
- func (v *NullableClusterLogsInstancesMessages) Set(val *ClusterLogsInstancesMessages)
- func (v *NullableClusterLogsInstancesMessages) UnmarshalJSON(src []byte) error
- func (v *NullableClusterLogsInstancesMessages) 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 NullableConnection
- type NullableConnectionPooler
- func (v NullableConnectionPooler) Get() *ConnectionPooler
- func (v NullableConnectionPooler) IsSet() bool
- func (v NullableConnectionPooler) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionPooler) Set(val *ConnectionPooler)
- func (v *NullableConnectionPooler) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionPooler) Unset()
- 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 NullableCreateRestoreRequest
- func (v NullableCreateRestoreRequest) Get() *CreateRestoreRequest
- func (v NullableCreateRestoreRequest) IsSet() bool
- func (v NullableCreateRestoreRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRestoreRequest) Set(val *CreateRestoreRequest)
- func (v *NullableCreateRestoreRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRestoreRequest) Unset()
- type NullableDBUser
- type NullableDatabase
- type NullableDatabaseItems
- func (v NullableDatabaseItems) Get() *DatabaseItems
- func (v NullableDatabaseItems) IsSet() bool
- func (v NullableDatabaseItems) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseItems) Set(val *DatabaseItems)
- func (v *NullableDatabaseItems) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseItems) Unset()
- type NullableDatabaseList
- func (v NullableDatabaseList) Get() *DatabaseList
- func (v NullableDatabaseList) IsSet() bool
- func (v NullableDatabaseList) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseList) Set(val *DatabaseList)
- func (v *NullableDatabaseList) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseList) Unset()
- type NullableDatabaseProperties
- func (v NullableDatabaseProperties) Get() *DatabaseProperties
- func (v NullableDatabaseProperties) IsSet() bool
- func (v NullableDatabaseProperties) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseProperties) Set(val *DatabaseProperties)
- func (v *NullableDatabaseProperties) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseProperties) Unset()
- type NullableDatabaseResource
- func (v NullableDatabaseResource) Get() *DatabaseResource
- func (v NullableDatabaseResource) IsSet() bool
- func (v NullableDatabaseResource) MarshalJSON() ([]byte, error)
- func (v *NullableDatabaseResource) Set(val *DatabaseResource)
- func (v *NullableDatabaseResource) UnmarshalJSON(src []byte) error
- func (v *NullableDatabaseResource) Unset()
- 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 NullableDeprecatedPagination
- func (v NullableDeprecatedPagination) Get() *DeprecatedPagination
- func (v NullableDeprecatedPagination) IsSet() bool
- func (v NullableDeprecatedPagination) MarshalJSON() ([]byte, error)
- func (v *NullableDeprecatedPagination) Set(val *DeprecatedPagination)
- func (v *NullableDeprecatedPagination) UnmarshalJSON(src []byte) error
- func (v *NullableDeprecatedPagination) 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 NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) 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 NullableMetadata
- 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 NullablePatchUserProperties
- func (v NullablePatchUserProperties) Get() *PatchUserProperties
- func (v NullablePatchUserProperties) IsSet() bool
- func (v NullablePatchUserProperties) MarshalJSON() ([]byte, error)
- func (v *NullablePatchUserProperties) Set(val *PatchUserProperties)
- func (v *NullablePatchUserProperties) UnmarshalJSON(src []byte) error
- func (v *NullablePatchUserProperties) Unset()
- type NullablePoolMode
- type NullablePostgresVersionList
- func (v NullablePostgresVersionList) Get() *PostgresVersionList
- func (v NullablePostgresVersionList) IsSet() bool
- func (v NullablePostgresVersionList) MarshalJSON() ([]byte, error)
- func (v *NullablePostgresVersionList) Set(val *PostgresVersionList)
- func (v *NullablePostgresVersionList) UnmarshalJSON(src []byte) error
- func (v *NullablePostgresVersionList) Unset()
- type NullablePostgresVersionListData
- func (v NullablePostgresVersionListData) Get() *PostgresVersionListData
- func (v NullablePostgresVersionListData) IsSet() bool
- func (v NullablePostgresVersionListData) MarshalJSON() ([]byte, error)
- func (v *NullablePostgresVersionListData) Set(val *PostgresVersionListData)
- func (v *NullablePostgresVersionListData) UnmarshalJSON(src []byte) error
- func (v *NullablePostgresVersionListData) Unset()
- type NullableResource
- type NullableResourceMetadata
- func (v NullableResourceMetadata) Get() *ResourceMetadata
- func (v NullableResourceMetadata) IsSet() bool
- func (v NullableResourceMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableResourceMetadata) Set(val *ResourceMetadata)
- func (v *NullableResourceMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableResourceMetadata) Unset()
- type NullableResourceType
- func (v NullableResourceType) Get() *ResourceType
- func (v NullableResourceType) IsSet() bool
- func (v NullableResourceType) MarshalJSON() ([]byte, error)
- func (v *NullableResourceType) Set(val *ResourceType)
- func (v *NullableResourceType) UnmarshalJSON(src []byte) error
- func (v *NullableResourceType) Unset()
- type NullableState
- type NullableStorageType
- func (v NullableStorageType) Get() *StorageType
- func (v NullableStorageType) IsSet() bool
- func (v NullableStorageType) MarshalJSON() ([]byte, error)
- func (v *NullableStorageType) Set(val *StorageType)
- func (v *NullableStorageType) UnmarshalJSON(src []byte) error
- func (v *NullableStorageType) Unset()
- type NullableString
- type NullableSynchronizationMode
- func (v NullableSynchronizationMode) Get() *SynchronizationMode
- func (v NullableSynchronizationMode) IsSet() bool
- func (v NullableSynchronizationMode) MarshalJSON() ([]byte, error)
- func (v *NullableSynchronizationMode) Set(val *SynchronizationMode)
- func (v *NullableSynchronizationMode) UnmarshalJSON(src []byte) error
- func (v *NullableSynchronizationMode) Unset()
- type NullableTime
- type NullableUser
- type NullableUserItems
- type NullableUserList
- type NullableUserProperties
- func (v NullableUserProperties) Get() *UserProperties
- func (v NullableUserProperties) IsSet() bool
- func (v NullableUserProperties) MarshalJSON() ([]byte, error)
- func (v *NullableUserProperties) Set(val *UserProperties)
- func (v *NullableUserProperties) UnmarshalJSON(src []byte) error
- func (v *NullableUserProperties) Unset()
- type NullableUserResource
- func (v NullableUserResource) Get() *UserResource
- func (v NullableUserResource) IsSet() bool
- func (v NullableUserResource) MarshalJSON() ([]byte, error)
- func (v *NullableUserResource) Set(val *UserResource)
- func (v *NullableUserResource) UnmarshalJSON(src []byte) error
- func (v *NullableUserResource) Unset()
- type NullableUsersPatchRequest
- func (v NullableUsersPatchRequest) Get() *UsersPatchRequest
- func (v NullableUsersPatchRequest) IsSet() bool
- func (v NullableUsersPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUsersPatchRequest) Set(val *UsersPatchRequest)
- func (v *NullableUsersPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUsersPatchRequest) Unset()
- 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) HasLimit() bool
- func (o *Pagination) HasLinks() bool
- func (o *Pagination) HasOffset() 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)
- 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) GetConnectionPooler() *ConnectionPooler
- func (o *PatchClusterProperties) GetConnectionPoolerOk() (*ConnectionPooler, bool)
- func (o *PatchClusterProperties) GetConnections() *[]Connection
- func (o *PatchClusterProperties) GetConnectionsOk() (*[]Connection, bool)
- 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) GetPostgresVersion() *string
- func (o *PatchClusterProperties) GetPostgresVersionOk() (*string, 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) HasConnectionPooler() bool
- func (o *PatchClusterProperties) HasConnections() bool
- func (o *PatchClusterProperties) HasCores() bool
- func (o *PatchClusterProperties) HasDisplayName() bool
- func (o *PatchClusterProperties) HasInstances() bool
- func (o *PatchClusterProperties) HasMaintenanceWindow() bool
- func (o *PatchClusterProperties) HasPostgresVersion() bool
- func (o *PatchClusterProperties) HasRam() bool
- func (o *PatchClusterProperties) HasStorageSize() bool
- func (o PatchClusterProperties) MarshalJSON() ([]byte, error)
- func (o *PatchClusterProperties) SetConnectionPooler(v ConnectionPooler)
- func (o *PatchClusterProperties) SetConnections(v []Connection)
- 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) SetPostgresVersion(v string)
- 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 PatchUserProperties
- type PoolMode
- type PostgresVersionList
- func (o *PostgresVersionList) GetData() *[]PostgresVersionListData
- func (o *PostgresVersionList) GetDataOk() (*[]PostgresVersionListData, bool)
- func (o *PostgresVersionList) HasData() bool
- func (o PostgresVersionList) MarshalJSON() ([]byte, error)
- func (o *PostgresVersionList) SetData(v []PostgresVersionListData)
- type PostgresVersionListData
- type Resource
- func (o *Resource) GetHref() *string
- func (o *Resource) GetHrefOk() (*string, bool)
- func (o *Resource) GetId() *string
- func (o *Resource) GetIdOk() (*string, bool)
- func (o *Resource) GetType() *ResourceType
- func (o *Resource) GetTypeOk() (*ResourceType, bool)
- func (o *Resource) HasHref() bool
- func (o *Resource) HasId() bool
- func (o *Resource) HasType() bool
- func (o Resource) MarshalJSON() ([]byte, error)
- func (o *Resource) SetHref(v string)
- func (o *Resource) SetId(v string)
- func (o *Resource) SetType(v ResourceType)
- type ResourceMetadata
- type ResourceType
- type RestoresApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type State
- type StorageType
- type SynchronizationMode
- type TLSDial
- type User
- type UserItems
- type UserList
- func (o *UserList) GetHref() *string
- func (o *UserList) GetHrefOk() (*string, bool)
- func (o *UserList) GetId() *string
- func (o *UserList) GetIdOk() (*string, bool)
- func (o *UserList) GetItems() *[]UserResource
- func (o *UserList) GetItemsOk() (*[]UserResource, bool)
- func (o *UserList) GetLimit() *int32
- func (o *UserList) GetLimitOk() (*int32, bool)
- func (o *UserList) GetLinks() *PaginationLinks
- func (o *UserList) GetLinksOk() (*PaginationLinks, bool)
- func (o *UserList) GetOffset() *int32
- func (o *UserList) GetOffsetOk() (*int32, bool)
- func (o *UserList) GetType() *ResourceType
- func (o *UserList) GetTypeOk() (*ResourceType, bool)
- func (o *UserList) HasHref() bool
- func (o *UserList) HasId() bool
- func (o *UserList) HasItems() bool
- func (o *UserList) HasLimit() bool
- func (o *UserList) HasLinks() bool
- func (o *UserList) HasOffset() bool
- func (o *UserList) HasType() bool
- func (o UserList) MarshalJSON() ([]byte, error)
- func (o *UserList) SetHref(v string)
- func (o *UserList) SetId(v string)
- func (o *UserList) SetItems(v []UserResource)
- func (o *UserList) SetLimit(v int32)
- func (o *UserList) SetLinks(v PaginationLinks)
- func (o *UserList) SetOffset(v int32)
- func (o *UserList) SetType(v ResourceType)
- type UserProperties
- func (o *UserProperties) GetPassword() *string
- func (o *UserProperties) GetPasswordOk() (*string, bool)
- func (o *UserProperties) GetSystem() *bool
- func (o *UserProperties) GetSystemOk() (*bool, bool)
- func (o *UserProperties) GetUsername() *string
- func (o *UserProperties) GetUsernameOk() (*string, bool)
- func (o *UserProperties) HasPassword() bool
- func (o *UserProperties) HasSystem() bool
- func (o *UserProperties) HasUsername() bool
- func (o UserProperties) MarshalJSON() ([]byte, error)
- func (o *UserProperties) SetPassword(v string)
- func (o *UserProperties) SetSystem(v bool)
- func (o *UserProperties) SetUsername(v string)
- type UserResource
- func (o *UserResource) GetHref() *string
- func (o *UserResource) GetHrefOk() (*string, bool)
- func (o *UserResource) GetId() *string
- func (o *UserResource) GetIdOk() (*string, bool)
- func (o *UserResource) GetMetadata() *Metadata
- func (o *UserResource) GetMetadataOk() (*Metadata, bool)
- func (o *UserResource) GetProperties() *UserProperties
- func (o *UserResource) GetPropertiesOk() (*UserProperties, bool)
- func (o *UserResource) GetType() *ResourceType
- func (o *UserResource) GetTypeOk() (*ResourceType, bool)
- func (o *UserResource) HasHref() bool
- func (o *UserResource) HasId() bool
- func (o *UserResource) HasMetadata() bool
- func (o *UserResource) HasProperties() bool
- func (o *UserResource) HasType() bool
- func (o UserResource) MarshalJSON() ([]byte, error)
- func (o *UserResource) SetHref(v string)
- func (o *UserResource) SetId(v string)
- func (o *UserResource) SetMetadata(v Metadata)
- func (o *UserResource) SetProperties(v UserProperties)
- func (o *UserResource) SetType(v ResourceType)
- type UsersApiService
- func (a *UsersApiService) UsersDelete(ctx _context.Context, clusterId string, username string) ApiUsersDeleteRequest
- func (a *UsersApiService) UsersDeleteExecute(r ApiUsersDeleteRequest) (*APIResponse, error)
- func (a *UsersApiService) UsersGet(ctx _context.Context, clusterId string, username string) ApiUsersGetRequest
- func (a *UsersApiService) UsersGetExecute(r ApiUsersGetRequest) (UserResource, *APIResponse, error)
- func (a *UsersApiService) UsersList(ctx _context.Context, clusterId string) ApiUsersListRequest
- func (a *UsersApiService) UsersListExecute(r ApiUsersListRequest) (UserList, *APIResponse, error)
- func (a *UsersApiService) UsersPatch(ctx _context.Context, clusterId string, username string) ApiUsersPatchRequest
- func (a *UsersApiService) UsersPatchExecute(r ApiUsersPatchRequest) (UserResource, *APIResponse, error)
- func (a *UsersApiService) UsersPost(ctx _context.Context, clusterId string) ApiUsersPostRequest
- func (a *UsersApiService) UsersPostExecute(r ApiUsersPostRequest) (UserResource, *APIResponse, error)
- type UsersPatchRequest
- func (o *UsersPatchRequest) GetProperties() *PatchUserProperties
- func (o *UsersPatchRequest) GetPropertiesOk() (*PatchUserProperties, bool)
- func (o *UsersPatchRequest) HasProperties() bool
- func (o UsersPatchRequest) MarshalJSON() ([]byte, error)
- func (o *UsersPatchRequest) SetProperties(v PatchUserProperties)
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "1.1.3" )
const ( IonosUsernameEnvVar = "IONOS_USERNAME" IonosPasswordEnvVar = "IONOS_PASSWORD" IonosTokenEnvVar = "IONOS_TOKEN" IonosApiUrlEnvVar = "IONOS_API_URL" IonosPinnedCertEnvVar = "IONOS_PINNED_CERT" IonosLogLevelEnvVar = "IONOS_LOG_LEVEL" DefaultIonosServerUrl = "https://api.ionos.com/databases/postgresql" DefaultIonosBasePath = "/databases/postgresql" )
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") )
Functions ¶
func AddPinnedCert ¶ added in v1.0.3
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 ¶ added in v1.0.6
func SliceToValueDefault[T any](ptrSlice *[]T) []T
func ToBoolDefault ¶ added in v1.0.2
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil
func ToBoolSlice ¶ added in v1.0.2
ToBoolSlice - returns a bool slice of the pointer passed in
func ToByteDefault ¶ added in v1.0.2
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil
func ToByteSlice ¶ added in v1.0.2
ToByteSlice - returns a byte slice of the pointer passed in
func ToFloat32Default ¶ added in v1.0.2
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil
func ToFloat32Slice ¶ added in v1.0.2
ToFloat32Slice - returns a float32 slice of the pointer passed in
func ToFloat64Default ¶ added in v1.0.2
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil
func ToFloat64Slice ¶ added in v1.0.2
ToFloat64Slice - returns a float64 slice of the pointer passed in
func ToInt16Default ¶ added in v1.0.2
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil
func ToInt16Slice ¶ added in v1.0.2
ToInt16Slice - returns a int16 slice of the pointer passed in
func ToInt32Default ¶ added in v1.0.2
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil
func ToInt32Slice ¶ added in v1.0.2
ToInt32Slice - returns a int32 slice of the pointer passed in
func ToInt64Default ¶ added in v1.0.2
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil
func ToInt64Slice ¶ added in v1.0.2
ToInt64Slice - returns a int64 slice of the pointer passed in
func ToInt8Default ¶ added in v1.0.2
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil
func ToInt8Slice ¶ added in v1.0.2
ToInt8Slice - returns a int8 slice of the pointer passed in
func ToIntDefault ¶ added in v1.0.2
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil
func ToIntSlice ¶ added in v1.0.2
ToIntSlice - returns a int slice of the pointer passed in
func ToPtr ¶ added in v1.0.6
func ToPtr[T any](v T) *T
ToPtr - returns a pointer to the given value.
func ToStringDefault ¶ added in v1.0.2
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil
func ToStringSlice ¶ added in v1.0.2
ToStringSlice - returns a string slice of the pointer passed in
func ToTimeDefault ¶ added in v1.0.2
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 ¶ added in v1.0.2
ToTimeSlice - returns a Time slice of the pointer passed in
func ToUint16Default ¶ added in v1.0.2
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil
func ToUint16Slice ¶ added in v1.0.2
ToUint16Slice - returns a uint16 slice of the pointer passed in
func ToUint32Default ¶ added in v1.0.2
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil
func ToUint32Slice ¶ added in v1.0.2
ToUint32Slice - returns a uint32 slice of the pointer passed in
func ToUint64Default ¶ added in v1.0.2
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil
func ToUint64Slice ¶ added in v1.0.2
ToUint64Slice - returns a uint63 slice of the pointer passed in
func ToUint8Default ¶ added in v1.0.2
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil
func ToUint8Slice ¶ added in v1.0.2
ToUint8Slice - returns a uint8 slice of the pointer passed in
func ToUintDefault ¶ added in v1.0.2
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil
func ToUintSlice ¶ added in v1.0.2
ToUintSlice - returns a uint slice of the pointer passed in
func ToValue ¶ added in v1.0.6
func ToValue[T any](ptr *T) T
ToValue - returns the value of the pointer passed in
func ToValueDefault ¶ added in v1.0.6
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 DatabasesApi *DatabasesApiService LogsApi *LogsApiService MetadataApi *MetadataApiService RestoresApi *RestoresApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS DBaaS PostgreSQL REST API API v1.0.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"` // 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 APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
func (*APIResponse) HttpNotFound ¶ added in v1.0.5
func (resp *APIResponse) HttpNotFound() bool
HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values
func (*APIResponse) LogInfo ¶ added in v1.0.5
func (resp *APIResponse) LogInfo()
LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values
type APIVersion ¶
type APIVersion struct { Name *string `json:"name,omitempty"` SwaggerUrl *string `json:"swaggerUrl,omitempty"` }
APIVersion struct for APIVersion
func NewAPIVersion ¶ added in v1.0.2
func NewAPIVersion() *APIVersion
NewAPIVersion instantiates a new APIVersion 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 NewAPIVersionWithDefaults ¶ added in v1.0.2
func NewAPIVersionWithDefaults() *APIVersion
NewAPIVersionWithDefaults instantiates a new APIVersion 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 (*APIVersion) GetName ¶
func (o *APIVersion) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*APIVersion) GetNameOk ¶
func (o *APIVersion) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*APIVersion) GetSwaggerUrl ¶
func (o *APIVersion) GetSwaggerUrl() *string
GetSwaggerUrl returns the SwaggerUrl field value If the value is explicit nil, the zero value for string will be returned
func (*APIVersion) GetSwaggerUrlOk ¶
func (o *APIVersion) GetSwaggerUrlOk() (*string, bool)
GetSwaggerUrlOk returns a tuple with the SwaggerUrl 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 (*APIVersion) HasName ¶
func (o *APIVersion) HasName() bool
HasName returns a boolean if a field has been set.
func (*APIVersion) HasSwaggerUrl ¶
func (o *APIVersion) HasSwaggerUrl() bool
HasSwaggerUrl returns a boolean if a field has been set.
func (APIVersion) MarshalJSON ¶
func (o APIVersion) MarshalJSON() ([]byte, error)
func (*APIVersion) SetSwaggerUrl ¶
func (o *APIVersion) SetSwaggerUrl(v string)
SetSwaggerUrl sets field value
type ApiClusterBackupsGetRequest ¶
type ApiClusterBackupsGetRequest struct { ApiService *BackupsApiService // contains filtered or unexported fields }
func (ApiClusterBackupsGetRequest) Execute ¶
func (r ApiClusterBackupsGetRequest) Execute() (ClusterBackupList, *APIResponse, error)
func (ApiClusterBackupsGetRequest) Limit ¶ added in v1.1.1
func (r ApiClusterBackupsGetRequest) Limit(limit int32) ApiClusterBackupsGetRequest
func (ApiClusterBackupsGetRequest) Offset ¶ added in v1.1.1
func (r ApiClusterBackupsGetRequest) Offset(offset int32) ApiClusterBackupsGetRequest
type ApiClusterLogsGetRequest ¶
type ApiClusterLogsGetRequest struct { ApiService *LogsApiService // contains filtered or unexported fields }
func (ApiClusterLogsGetRequest) Direction ¶ added in v1.0.2
func (r ApiClusterLogsGetRequest) Direction(direction string) ApiClusterLogsGetRequest
func (ApiClusterLogsGetRequest) End ¶
func (r ApiClusterLogsGetRequest) End(end time.Time) ApiClusterLogsGetRequest
func (ApiClusterLogsGetRequest) Execute ¶
func (r ApiClusterLogsGetRequest) Execute() (ClusterLogs, *APIResponse, error)
func (ApiClusterLogsGetRequest) Limit ¶
func (r ApiClusterLogsGetRequest) Limit(limit int32) ApiClusterLogsGetRequest
func (ApiClusterLogsGetRequest) Start ¶
func (r ApiClusterLogsGetRequest) Start(start time.Time) ApiClusterLogsGetRequest
type ApiClusterPostgresVersionsGetRequest ¶
type ApiClusterPostgresVersionsGetRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClusterPostgresVersionsGetRequest) Execute ¶
func (r ApiClusterPostgresVersionsGetRequest) Execute() (PostgresVersionList, *APIResponse, error)
type ApiClusterRestorePostRequest ¶
type ApiClusterRestorePostRequest struct { ApiService *RestoresApiService // contains filtered or unexported fields }
func (ApiClusterRestorePostRequest) CreateRestoreRequest ¶
func (r ApiClusterRestorePostRequest) CreateRestoreRequest(createRestoreRequest CreateRestoreRequest) ApiClusterRestorePostRequest
func (ApiClusterRestorePostRequest) Execute ¶
func (r ApiClusterRestorePostRequest) Execute() (*APIResponse, error)
type ApiClustersBackupsFindByIdRequest ¶
type ApiClustersBackupsFindByIdRequest struct { ApiService *BackupsApiService // contains filtered or unexported fields }
func (ApiClustersBackupsFindByIdRequest) Execute ¶
func (r ApiClustersBackupsFindByIdRequest) Execute() (BackupResponse, *APIResponse, error)
type ApiClustersBackupsGetRequest ¶
type ApiClustersBackupsGetRequest struct { ApiService *BackupsApiService // contains filtered or unexported fields }
func (ApiClustersBackupsGetRequest) Execute ¶
func (r ApiClustersBackupsGetRequest) Execute() (ClusterBackupList, *APIResponse, error)
func (ApiClustersBackupsGetRequest) Limit ¶ added in v1.1.1
func (r ApiClustersBackupsGetRequest) Limit(limit int32) ApiClustersBackupsGetRequest
func (ApiClustersBackupsGetRequest) Offset ¶ added in v1.1.1
func (r ApiClustersBackupsGetRequest) Offset(offset int32) ApiClustersBackupsGetRequest
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 ¶ added in v1.1.1
func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
func (ApiClustersGetRequest) Offset ¶ added in v1.1.1
func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
type ApiClustersPatchRequest ¶
type ApiClustersPatchRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersPatchRequest) Execute ¶
func (r ApiClustersPatchRequest) Execute() (ClusterResponse, *APIResponse, error)
func (ApiClustersPatchRequest) PatchClusterRequest ¶
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 ApiDatabasesDeleteRequest ¶ added in v1.1.2
type ApiDatabasesDeleteRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
func (ApiDatabasesDeleteRequest) Execute ¶ added in v1.1.2
func (r ApiDatabasesDeleteRequest) Execute() (*APIResponse, error)
type ApiDatabasesGetRequest ¶ added in v1.1.2
type ApiDatabasesGetRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
func (ApiDatabasesGetRequest) Execute ¶ added in v1.1.2
func (r ApiDatabasesGetRequest) Execute() (DatabaseResource, *APIResponse, error)
type ApiDatabasesListRequest ¶ added in v1.1.2
type ApiDatabasesListRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
func (ApiDatabasesListRequest) Execute ¶ added in v1.1.2
func (r ApiDatabasesListRequest) Execute() (DatabaseList, *APIResponse, error)
func (ApiDatabasesListRequest) Limit ¶ added in v1.1.2
func (r ApiDatabasesListRequest) Limit(limit int32) ApiDatabasesListRequest
func (ApiDatabasesListRequest) Offset ¶ added in v1.1.2
func (r ApiDatabasesListRequest) Offset(offset int32) ApiDatabasesListRequest
type ApiDatabasesPostRequest ¶ added in v1.1.2
type ApiDatabasesPostRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
func (ApiDatabasesPostRequest) Database ¶ added in v1.1.2
func (r ApiDatabasesPostRequest) Database(database Database) ApiDatabasesPostRequest
func (ApiDatabasesPostRequest) Execute ¶ added in v1.1.2
func (r ApiDatabasesPostRequest) Execute() (DatabaseResource, *APIResponse, error)
type ApiInfosVersionGetRequest ¶
type ApiInfosVersionGetRequest struct { ApiService *MetadataApiService // contains filtered or unexported fields }
func (ApiInfosVersionGetRequest) Execute ¶
func (r ApiInfosVersionGetRequest) Execute() (APIVersion, *APIResponse, error)
type ApiInfosVersionsGetRequest ¶
type ApiInfosVersionsGetRequest struct { ApiService *MetadataApiService // contains filtered or unexported fields }
func (ApiInfosVersionsGetRequest) Execute ¶
func (r ApiInfosVersionsGetRequest) Execute() ([]APIVersion, *APIResponse, error)
type ApiPostgresVersionsGetRequest ¶
type ApiPostgresVersionsGetRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiPostgresVersionsGetRequest) Execute ¶
func (r ApiPostgresVersionsGetRequest) Execute() (PostgresVersionList, *APIResponse, error)
type ApiUsersDeleteRequest ¶ added in v1.1.2
type ApiUsersDeleteRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersDeleteRequest) Execute ¶ added in v1.1.2
func (r ApiUsersDeleteRequest) Execute() (*APIResponse, error)
type ApiUsersGetRequest ¶ added in v1.1.2
type ApiUsersGetRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersGetRequest) Execute ¶ added in v1.1.2
func (r ApiUsersGetRequest) Execute() (UserResource, *APIResponse, error)
type ApiUsersListRequest ¶ added in v1.1.2
type ApiUsersListRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersListRequest) Execute ¶ added in v1.1.2
func (r ApiUsersListRequest) Execute() (UserList, *APIResponse, error)
func (ApiUsersListRequest) Limit ¶ added in v1.1.2
func (r ApiUsersListRequest) Limit(limit int32) ApiUsersListRequest
func (ApiUsersListRequest) Offset ¶ added in v1.1.2
func (r ApiUsersListRequest) Offset(offset int32) ApiUsersListRequest
func (ApiUsersListRequest) System ¶ added in v1.1.2
func (r ApiUsersListRequest) System(system bool) ApiUsersListRequest
type ApiUsersPatchRequest ¶ added in v1.1.2
type ApiUsersPatchRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersPatchRequest) Execute ¶ added in v1.1.2
func (r ApiUsersPatchRequest) Execute() (UserResource, *APIResponse, error)
func (ApiUsersPatchRequest) UsersPatchRequest ¶ added in v1.1.2
func (r ApiUsersPatchRequest) UsersPatchRequest(usersPatchRequest UsersPatchRequest) ApiUsersPatchRequest
type ApiUsersPostRequest ¶ added in v1.1.2
type ApiUsersPostRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersPostRequest) Execute ¶ added in v1.1.2
func (r ApiUsersPostRequest) Execute() (UserResource, *APIResponse, error)
func (ApiUsersPostRequest) User ¶ added in v1.1.2
func (r ApiUsersPostRequest) User(user User) ApiUsersPostRequest
type BackupMetadata ¶
type BackupMetadata struct { // The ISO 8601 creation timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` State *State `json:"state,omitempty"` }
BackupMetadata Metadata of the backup resource.
func NewBackupMetadata ¶ added in v1.0.2
func NewBackupMetadata() *BackupMetadata
NewBackupMetadata instantiates a new BackupMetadata 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 NewBackupMetadataWithDefaults ¶ added in v1.0.2
func NewBackupMetadataWithDefaults() *BackupMetadata
NewBackupMetadataWithDefaults instantiates a new BackupMetadata 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 (*BackupMetadata) GetCreatedDate ¶
func (o *BackupMetadata) 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 (*BackupMetadata) GetCreatedDateOk ¶
func (o *BackupMetadata) 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 (*BackupMetadata) GetState ¶
func (o *BackupMetadata) GetState() *State
GetState returns the State field value If the value is explicit nil, the zero value for State will be returned
func (*BackupMetadata) GetStateOk ¶
func (o *BackupMetadata) 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 (*BackupMetadata) HasCreatedDate ¶
func (o *BackupMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*BackupMetadata) HasState ¶
func (o *BackupMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (BackupMetadata) MarshalJSON ¶
func (o BackupMetadata) MarshalJSON() ([]byte, error)
func (*BackupMetadata) SetCreatedDate ¶
func (o *BackupMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*BackupMetadata) SetState ¶
func (o *BackupMetadata) SetState(v State)
SetState sets field value
type BackupResponse ¶
type BackupResponse struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Metadata *BackupMetadata `json:"metadata,omitempty"` Properties *ClusterBackup `json:"properties,omitempty"` }
BackupResponse A database backup.
func NewBackupResponse ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) GetMetadata ¶
func (o *BackupResponse) GetMetadata() *BackupMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for BackupMetadata will be returned
func (*BackupResponse) GetMetadataOk ¶
func (o *BackupResponse) GetMetadataOk() (*BackupMetadata, 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 (*BackupResponse) GetProperties ¶
func (o *BackupResponse) GetProperties() *ClusterBackup
GetProperties returns the Properties field value If the value is explicit nil, the zero value for ClusterBackup will be returned
func (*BackupResponse) GetPropertiesOk ¶
func (o *BackupResponse) GetPropertiesOk() (*ClusterBackup, 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) GetType ¶
func (o *BackupResponse) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*BackupResponse) GetTypeOk ¶
func (o *BackupResponse) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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) HasMetadata ¶
func (o *BackupResponse) HasMetadata() bool
HasMetadata 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) HasType ¶
func (o *BackupResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (BackupResponse) MarshalJSON ¶
func (o BackupResponse) MarshalJSON() ([]byte, error)
func (*BackupResponse) SetMetadata ¶
func (o *BackupResponse) SetMetadata(v BackupMetadata)
SetMetadata sets field value
func (*BackupResponse) SetProperties ¶
func (o *BackupResponse) SetProperties(v ClusterBackup)
SetProperties sets field value
func (*BackupResponse) SetType ¶
func (o *BackupResponse) SetType(v ResourceType)
SetType sets field value
type BackupsApiService ¶
type BackupsApiService service
BackupsApiService BackupsApi service
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 PostgreSQL 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) (ClusterBackupList, *APIResponse, error)
* Execute executes the request * @return ClusterBackupList
func (*BackupsApiService) ClustersBackupsFindById ¶
func (a *BackupsApiService) ClustersBackupsFindById(ctx _context.Context, backupId string) ApiClustersBackupsFindByIdRequest
- ClustersBackupsFindById Fetch a cluster backup
- Retrieve a PostgreSQL cluster backup by using its ID. This value can be
found when you GET a list of PostgreSQL cluster 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 ApiClustersBackupsFindByIdRequest
func (*BackupsApiService) ClustersBackupsFindByIdExecute ¶
func (a *BackupsApiService) ClustersBackupsFindByIdExecute(r ApiClustersBackupsFindByIdRequest) (BackupResponse, *APIResponse, error)
* Execute executes the request * @return BackupResponse
func (*BackupsApiService) ClustersBackupsGet ¶
func (a *BackupsApiService) ClustersBackupsGet(ctx _context.Context) ApiClustersBackupsGetRequest
* ClustersBackupsGet List cluster backups * Retrieves a list of all PostgreSQL cluster backups. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiClustersBackupsGetRequest
func (*BackupsApiService) ClustersBackupsGetExecute ¶
func (a *BackupsApiService) ClustersBackupsGetExecute(r ApiClustersBackupsGetRequest) (ClusterBackupList, *APIResponse, error)
* Execute executes the request * @return ClusterBackupList
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 ClusterBackup ¶
type ClusterBackup struct { // The unique ID of the resource. Id *string `json:"id,omitempty"` // The unique ID of the cluster. ClusterId *string `json:"clusterId,omitempty"` // The PostgreSQL version this backup was created from. Version *string `json:"version,omitempty"` // Whether a cluster currently backs up data to this backup. IsActive *bool `json:"isActive,omitempty"` // The oldest available timestamp to which you can restore. EarliestRecoveryTargetTime *IonosTime `json:"earliestRecoveryTargetTime,omitempty"` // Size of all base backups including the wal size in MB. Size *int32 `json:"size,omitempty"` // The S3 location where the backups will be stored. Location *string `json:"location,omitempty"` }
ClusterBackup A backup object.
func NewClusterBackup ¶ added in v1.0.2
func NewClusterBackup() *ClusterBackup
NewClusterBackup instantiates a new ClusterBackup 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 NewClusterBackupWithDefaults ¶ added in v1.0.2
func NewClusterBackupWithDefaults() *ClusterBackup
NewClusterBackupWithDefaults instantiates a new ClusterBackup 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 (*ClusterBackup) GetClusterId ¶
func (o *ClusterBackup) GetClusterId() *string
GetClusterId returns the ClusterId field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterBackup) GetClusterIdOk ¶
func (o *ClusterBackup) GetClusterIdOk() (*string, bool)
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 (*ClusterBackup) GetEarliestRecoveryTargetTime ¶
func (o *ClusterBackup) GetEarliestRecoveryTargetTime() *time.Time
GetEarliestRecoveryTargetTime returns the EarliestRecoveryTargetTime field value If the value is explicit nil, the zero value for time.Time will be returned
func (*ClusterBackup) GetEarliestRecoveryTargetTimeOk ¶
func (o *ClusterBackup) GetEarliestRecoveryTargetTimeOk() (*time.Time, bool)
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 (*ClusterBackup) GetId ¶
func (o *ClusterBackup) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterBackup) GetIdOk ¶
func (o *ClusterBackup) 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 (*ClusterBackup) GetIsActive ¶
func (o *ClusterBackup) GetIsActive() *bool
GetIsActive returns the IsActive field value If the value is explicit nil, the zero value for bool will be returned
func (*ClusterBackup) GetIsActiveOk ¶
func (o *ClusterBackup) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive 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 (*ClusterBackup) GetLocation ¶ added in v1.0.4
func (o *ClusterBackup) GetLocation() *string
GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterBackup) GetLocationOk ¶ added in v1.0.4
func (o *ClusterBackup) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location 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 (*ClusterBackup) GetSize ¶ added in v1.0.4
func (o *ClusterBackup) GetSize() *int32
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterBackup) GetSizeOk ¶ added in v1.0.4
func (o *ClusterBackup) 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 (*ClusterBackup) GetVersion ¶
func (o *ClusterBackup) GetVersion() *string
GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterBackup) GetVersionOk ¶
func (o *ClusterBackup) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version 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 (*ClusterBackup) HasClusterId ¶
func (o *ClusterBackup) HasClusterId() bool
HasClusterId returns a boolean if a field has been set.
func (*ClusterBackup) HasEarliestRecoveryTargetTime ¶
func (o *ClusterBackup) HasEarliestRecoveryTargetTime() bool
HasEarliestRecoveryTargetTime returns a boolean if a field has been set.
func (*ClusterBackup) HasId ¶
func (o *ClusterBackup) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterBackup) HasIsActive ¶
func (o *ClusterBackup) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (*ClusterBackup) HasLocation ¶ added in v1.0.4
func (o *ClusterBackup) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*ClusterBackup) HasSize ¶ added in v1.0.4
func (o *ClusterBackup) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*ClusterBackup) HasVersion ¶
func (o *ClusterBackup) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ClusterBackup) MarshalJSON ¶
func (o ClusterBackup) MarshalJSON() ([]byte, error)
func (*ClusterBackup) SetClusterId ¶
func (o *ClusterBackup) SetClusterId(v string)
SetClusterId sets field value
func (*ClusterBackup) SetEarliestRecoveryTargetTime ¶
func (o *ClusterBackup) SetEarliestRecoveryTargetTime(v time.Time)
SetEarliestRecoveryTargetTime sets field value
func (*ClusterBackup) SetIsActive ¶
func (o *ClusterBackup) SetIsActive(v bool)
SetIsActive sets field value
func (*ClusterBackup) SetLocation ¶ added in v1.0.4
func (o *ClusterBackup) SetLocation(v string)
SetLocation sets field value
func (*ClusterBackup) SetSize ¶ added in v1.0.4
func (o *ClusterBackup) SetSize(v int32)
SetSize sets field value
func (*ClusterBackup) SetVersion ¶
func (o *ClusterBackup) SetVersion(v string)
SetVersion sets field value
type ClusterBackupList ¶
type ClusterBackupList struct { Type *ResourceType `json:"type,omitempty"` // 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"` Links *PaginationLinks `json:"links,omitempty"` }
ClusterBackupList List of backups.
func NewClusterBackupList ¶ added in v1.0.2
func NewClusterBackupList() *ClusterBackupList
NewClusterBackupList instantiates a new ClusterBackupList 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 NewClusterBackupListWithDefaults ¶ added in v1.0.2
func NewClusterBackupListWithDefaults() *ClusterBackupList
NewClusterBackupListWithDefaults instantiates a new ClusterBackupList 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 (*ClusterBackupList) GetId ¶
func (o *ClusterBackupList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterBackupList) GetIdOk ¶
func (o *ClusterBackupList) 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 (*ClusterBackupList) GetItems ¶
func (o *ClusterBackupList) GetItems() *[]BackupResponse
GetItems returns the Items field value If the value is explicit nil, the zero value for []BackupResponse will be returned
func (*ClusterBackupList) GetItemsOk ¶
func (o *ClusterBackupList) 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 (*ClusterBackupList) GetLimit ¶
func (o *ClusterBackupList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterBackupList) GetLimitOk ¶
func (o *ClusterBackupList) 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 (*ClusterBackupList) GetLinks ¶
func (o *ClusterBackupList) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*ClusterBackupList) GetLinksOk ¶
func (o *ClusterBackupList) 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 (*ClusterBackupList) GetOffset ¶
func (o *ClusterBackupList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*ClusterBackupList) GetOffsetOk ¶
func (o *ClusterBackupList) 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 (*ClusterBackupList) GetType ¶
func (o *ClusterBackupList) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*ClusterBackupList) GetTypeOk ¶
func (o *ClusterBackupList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (*ClusterBackupList) HasId ¶
func (o *ClusterBackupList) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterBackupList) HasItems ¶
func (o *ClusterBackupList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ClusterBackupList) HasLimit ¶
func (o *ClusterBackupList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ClusterBackupList) HasLinks ¶
func (o *ClusterBackupList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ClusterBackupList) HasOffset ¶
func (o *ClusterBackupList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ClusterBackupList) HasType ¶
func (o *ClusterBackupList) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterBackupList) MarshalJSON ¶
func (o ClusterBackupList) MarshalJSON() ([]byte, error)
func (*ClusterBackupList) SetId ¶
func (o *ClusterBackupList) SetId(v string)
SetId sets field value
func (*ClusterBackupList) SetItems ¶
func (o *ClusterBackupList) SetItems(v []BackupResponse)
SetItems sets field value
func (*ClusterBackupList) SetLimit ¶
func (o *ClusterBackupList) SetLimit(v int32)
SetLimit sets field value
func (*ClusterBackupList) SetLinks ¶
func (o *ClusterBackupList) SetLinks(v PaginationLinks)
SetLinks sets field value
func (*ClusterBackupList) SetOffset ¶
func (o *ClusterBackupList) SetOffset(v int32)
SetOffset sets field value
func (*ClusterBackupList) SetType ¶
func (o *ClusterBackupList) SetType(v ResourceType)
SetType sets field value
type ClusterBackupListAllOf ¶
type ClusterBackupListAllOf struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items *[]BackupResponse `json:"items,omitempty"` }
ClusterBackupListAllOf struct for ClusterBackupListAllOf
func NewClusterBackupListAllOf ¶ added in v1.0.2
func NewClusterBackupListAllOf() *ClusterBackupListAllOf
NewClusterBackupListAllOf instantiates a new ClusterBackupListAllOf 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 NewClusterBackupListAllOfWithDefaults ¶ added in v1.0.2
func NewClusterBackupListAllOfWithDefaults() *ClusterBackupListAllOf
NewClusterBackupListAllOfWithDefaults instantiates a new ClusterBackupListAllOf 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 (*ClusterBackupListAllOf) GetId ¶
func (o *ClusterBackupListAllOf) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterBackupListAllOf) GetIdOk ¶
func (o *ClusterBackupListAllOf) 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 (*ClusterBackupListAllOf) GetItems ¶
func (o *ClusterBackupListAllOf) GetItems() *[]BackupResponse
GetItems returns the Items field value If the value is explicit nil, the zero value for []BackupResponse will be returned
func (*ClusterBackupListAllOf) GetItemsOk ¶
func (o *ClusterBackupListAllOf) 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 (*ClusterBackupListAllOf) GetType ¶
func (o *ClusterBackupListAllOf) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*ClusterBackupListAllOf) GetTypeOk ¶
func (o *ClusterBackupListAllOf) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (*ClusterBackupListAllOf) HasId ¶
func (o *ClusterBackupListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterBackupListAllOf) HasItems ¶
func (o *ClusterBackupListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ClusterBackupListAllOf) HasType ¶
func (o *ClusterBackupListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterBackupListAllOf) MarshalJSON ¶
func (o ClusterBackupListAllOf) MarshalJSON() ([]byte, error)
func (*ClusterBackupListAllOf) SetId ¶
func (o *ClusterBackupListAllOf) SetId(v string)
SetId sets field value
func (*ClusterBackupListAllOf) SetItems ¶
func (o *ClusterBackupListAllOf) SetItems(v []BackupResponse)
SetItems sets field value
func (*ClusterBackupListAllOf) SetType ¶
func (o *ClusterBackupListAllOf) SetType(v ResourceType)
SetType sets field value
type ClusterList ¶
type ClusterList struct { Type *ResourceType `json:"type,omitempty"` // 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"` Links *PaginationLinks `json:"links,omitempty"` }
ClusterList List of clusters.
func NewClusterList ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) GetType ¶
func (o *ClusterList) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*ClusterList) GetTypeOk ¶
func (o *ClusterList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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) HasType ¶
func (o *ClusterList) HasType() bool
HasType 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
func (*ClusterList) SetType ¶
func (o *ClusterList) SetType(v ResourceType)
SetType sets field value
type ClusterListAllOf ¶
type ClusterListAllOf struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items *[]ClusterResponse `json:"items,omitempty"` }
ClusterListAllOf struct for ClusterListAllOf
func NewClusterListAllOf ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) GetType ¶
func (o *ClusterListAllOf) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*ClusterListAllOf) GetTypeOk ¶
func (o *ClusterListAllOf) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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) HasType ¶
func (o *ClusterListAllOf) HasType() bool
HasType 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
func (*ClusterListAllOf) SetType ¶
func (o *ClusterListAllOf) SetType(v ResourceType)
SetType sets field value
type ClusterLogs ¶
type ClusterLogs struct {
Instances *[]ClusterLogsInstances `json:"instances,omitempty"`
}
ClusterLogs The logs of the PostgreSQL cluster.
func NewClusterLogs ¶ added in v1.0.2
func NewClusterLogs() *ClusterLogs
NewClusterLogs instantiates a new ClusterLogs 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 NewClusterLogsWithDefaults ¶ added in v1.0.2
func NewClusterLogsWithDefaults() *ClusterLogs
NewClusterLogsWithDefaults instantiates a new ClusterLogs 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 (*ClusterLogs) GetInstances ¶
func (o *ClusterLogs) GetInstances() *[]ClusterLogsInstances
GetInstances returns the Instances field value If the value is explicit nil, the zero value for []ClusterLogsInstances will be returned
func (*ClusterLogs) GetInstancesOk ¶
func (o *ClusterLogs) GetInstancesOk() (*[]ClusterLogsInstances, 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 (*ClusterLogs) HasInstances ¶
func (o *ClusterLogs) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (ClusterLogs) MarshalJSON ¶
func (o ClusterLogs) MarshalJSON() ([]byte, error)
func (*ClusterLogs) SetInstances ¶
func (o *ClusterLogs) SetInstances(v []ClusterLogsInstances)
SetInstances sets field value
type ClusterLogsInstances ¶
type ClusterLogsInstances struct { // The name of the PostgreSQL instance. Name *string `json:"name,omitempty"` Messages *[]ClusterLogsInstancesMessages `json:"messages,omitempty"` }
ClusterLogsInstances struct for ClusterLogsInstances
func NewClusterLogsInstances ¶ added in v1.0.2
func NewClusterLogsInstances() *ClusterLogsInstances
NewClusterLogsInstances instantiates a new ClusterLogsInstances 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 NewClusterLogsInstancesWithDefaults ¶ added in v1.0.2
func NewClusterLogsInstancesWithDefaults() *ClusterLogsInstances
NewClusterLogsInstancesWithDefaults instantiates a new ClusterLogsInstances 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 (*ClusterLogsInstances) GetMessages ¶
func (o *ClusterLogsInstances) GetMessages() *[]ClusterLogsInstancesMessages
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ClusterLogsInstancesMessages will be returned
func (*ClusterLogsInstances) GetMessagesOk ¶
func (o *ClusterLogsInstances) GetMessagesOk() (*[]ClusterLogsInstancesMessages, 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 (*ClusterLogsInstances) GetName ¶
func (o *ClusterLogsInstances) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterLogsInstances) GetNameOk ¶
func (o *ClusterLogsInstances) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*ClusterLogsInstances) HasMessages ¶
func (o *ClusterLogsInstances) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (*ClusterLogsInstances) HasName ¶
func (o *ClusterLogsInstances) HasName() bool
HasName returns a boolean if a field has been set.
func (ClusterLogsInstances) MarshalJSON ¶
func (o ClusterLogsInstances) MarshalJSON() ([]byte, error)
func (*ClusterLogsInstances) SetMessages ¶
func (o *ClusterLogsInstances) SetMessages(v []ClusterLogsInstancesMessages)
SetMessages sets field value
func (*ClusterLogsInstances) SetName ¶
func (o *ClusterLogsInstances) SetName(v string)
SetName sets field value
type ClusterLogsInstancesMessages ¶ added in v1.1.3
type ClusterLogsInstancesMessages struct { Time *IonosTime `json:"time,omitempty"` Message *string `json:"message,omitempty"` }
ClusterLogsInstancesMessages struct for ClusterLogsInstancesMessages
func NewClusterLogsInstancesMessages ¶ added in v1.1.3
func NewClusterLogsInstancesMessages() *ClusterLogsInstancesMessages
NewClusterLogsInstancesMessages instantiates a new ClusterLogsInstancesMessages 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 NewClusterLogsInstancesMessagesWithDefaults ¶ added in v1.1.3
func NewClusterLogsInstancesMessagesWithDefaults() *ClusterLogsInstancesMessages
NewClusterLogsInstancesMessagesWithDefaults instantiates a new ClusterLogsInstancesMessages 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 (*ClusterLogsInstancesMessages) GetMessage ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterLogsInstancesMessages) GetMessageOk ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) 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 (*ClusterLogsInstancesMessages) GetTime ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) GetTime() *time.Time
GetTime returns the Time field value If the value is explicit nil, the zero value for time.Time will be returned
func (*ClusterLogsInstancesMessages) GetTimeOk ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) GetTimeOk() (*time.Time, 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 (*ClusterLogsInstancesMessages) HasMessage ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ClusterLogsInstancesMessages) HasTime ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) HasTime() bool
HasTime returns a boolean if a field has been set.
func (ClusterLogsInstancesMessages) MarshalJSON ¶ added in v1.1.3
func (o ClusterLogsInstancesMessages) MarshalJSON() ([]byte, error)
func (*ClusterLogsInstancesMessages) SetMessage ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) SetMessage(v string)
SetMessage sets field value
func (*ClusterLogsInstancesMessages) SetTime ¶ added in v1.1.3
func (o *ClusterLogsInstancesMessages) SetTime(v time.Time)
SetTime sets field value
type ClusterMetadata ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
func (o *ClusterMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*ClusterMetadata) HasCreatedByUserId ¶ added in v1.1.2
func (o *ClusterMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*ClusterMetadata) HasCreatedDate ¶ added in v1.1.2
func (o *ClusterMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*ClusterMetadata) HasLastModifiedBy ¶ added in v1.1.2
func (o *ClusterMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (*ClusterMetadata) HasLastModifiedByUserId ¶ added in v1.1.2
func (o *ClusterMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*ClusterMetadata) HasLastModifiedDate ¶ added in v1.1.2
func (o *ClusterMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (*ClusterMetadata) HasState ¶ added in v1.1.2
func (o *ClusterMetadata) HasState() bool
HasState returns a boolean if a field has been set.
func (ClusterMetadata) MarshalJSON ¶ added in v1.1.2
func (o ClusterMetadata) MarshalJSON() ([]byte, error)
func (*ClusterMetadata) SetCreatedBy ¶ added in v1.1.2
func (o *ClusterMetadata) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ClusterMetadata) SetCreatedByUserId ¶ added in v1.1.2
func (o *ClusterMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets field value
func (*ClusterMetadata) SetCreatedDate ¶ added in v1.1.2
func (o *ClusterMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*ClusterMetadata) SetLastModifiedBy ¶ added in v1.1.2
func (o *ClusterMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets field value
func (*ClusterMetadata) SetLastModifiedByUserId ¶ added in v1.1.2
func (o *ClusterMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets field value
func (*ClusterMetadata) SetLastModifiedDate ¶ added in v1.1.2
func (o *ClusterMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*ClusterMetadata) SetState ¶ added in v1.1.2
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"` // The PostgreSQL version of your cluster. PostgresVersion *string `json:"postgresVersion,omitempty"` // The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Location *string `json:"location,omitempty"` // The DNS name pointing to your cluster. DnsName *string `json:"dnsName,omitempty"` // The S3 location where the backups will be stored. BackupLocation *string `json:"backupLocation,omitempty"` // The total number of instances in the cluster (one master and n-1 standbys). Instances *int32 `json:"instances,omitempty"` // The amount of memory per instance in megabytes. Has to be a multiple of 1024. Ram *int32 `json:"ram,omitempty"` // The number of CPU cores per instance. Cores *int32 `json:"cores,omitempty"` // The amount of storage per instance in megabytes. StorageSize *int32 `json:"storageSize,omitempty"` StorageType *StorageType `json:"storageType,omitempty"` Connections *[]Connection `json:"connections,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` SynchronizationMode *SynchronizationMode `json:"synchronizationMode,omitempty"` ConnectionPooler *ConnectionPooler `json:"connectionPooler,omitempty"` }
ClusterProperties Properties of a database cluster.
func NewClusterProperties ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) GetBackupLocation ¶
func (o *ClusterProperties) GetBackupLocation() *string
GetBackupLocation returns the BackupLocation field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterProperties) GetBackupLocationOk ¶
func (o *ClusterProperties) GetBackupLocationOk() (*string, bool)
GetBackupLocationOk returns a tuple with the BackupLocation 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) GetConnectionPooler ¶ added in v1.1.3
func (o *ClusterProperties) GetConnectionPooler() *ConnectionPooler
GetConnectionPooler returns the ConnectionPooler field value If the value is explicit nil, the zero value for ConnectionPooler will be returned
func (*ClusterProperties) GetConnectionPoolerOk ¶ added in v1.1.3
func (o *ClusterProperties) GetConnectionPoolerOk() (*ConnectionPooler, bool)
GetConnectionPoolerOk returns a tuple with the ConnectionPooler 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) 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 ¶ added in v1.0.6
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 ¶ added in v1.0.6
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) GetLocation ¶
func (o *ClusterProperties) GetLocation() *string
GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterProperties) GetLocationOk ¶
func (o *ClusterProperties) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location 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) GetPostgresVersion ¶
func (o *ClusterProperties) GetPostgresVersion() *string
GetPostgresVersion returns the PostgresVersion field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterProperties) GetPostgresVersionOk ¶
func (o *ClusterProperties) GetPostgresVersionOk() (*string, bool)
GetPostgresVersionOk returns a tuple with the PostgresVersion 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) GetStorageType ¶
func (o *ClusterProperties) GetStorageType() *StorageType
GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned
func (*ClusterProperties) GetStorageTypeOk ¶
func (o *ClusterProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType 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) GetSynchronizationMode ¶
func (o *ClusterProperties) GetSynchronizationMode() *SynchronizationMode
GetSynchronizationMode returns the SynchronizationMode field value If the value is explicit nil, the zero value for SynchronizationMode will be returned
func (*ClusterProperties) GetSynchronizationModeOk ¶
func (o *ClusterProperties) GetSynchronizationModeOk() (*SynchronizationMode, bool)
GetSynchronizationModeOk returns a tuple with the SynchronizationMode 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) HasBackupLocation ¶
func (o *ClusterProperties) HasBackupLocation() bool
HasBackupLocation returns a boolean if a field has been set.
func (*ClusterProperties) HasConnectionPooler ¶ added in v1.1.3
func (o *ClusterProperties) HasConnectionPooler() bool
HasConnectionPooler returns a boolean if a field has been set.
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 ¶ added in v1.0.6
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) HasLocation ¶
func (o *ClusterProperties) HasLocation() bool
HasLocation 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) HasPostgresVersion ¶
func (o *ClusterProperties) HasPostgresVersion() bool
HasPostgresVersion 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) HasStorageType ¶
func (o *ClusterProperties) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (*ClusterProperties) HasSynchronizationMode ¶
func (o *ClusterProperties) HasSynchronizationMode() bool
HasSynchronizationMode returns a boolean if a field has been set.
func (ClusterProperties) MarshalJSON ¶
func (o ClusterProperties) MarshalJSON() ([]byte, error)
func (*ClusterProperties) SetBackupLocation ¶
func (o *ClusterProperties) SetBackupLocation(v string)
SetBackupLocation sets field value
func (*ClusterProperties) SetConnectionPooler ¶ added in v1.1.3
func (o *ClusterProperties) SetConnectionPooler(v ConnectionPooler)
SetConnectionPooler sets field value
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 ¶ added in v1.0.6
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) SetLocation ¶
func (o *ClusterProperties) SetLocation(v string)
SetLocation sets field value
func (*ClusterProperties) SetMaintenanceWindow ¶
func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*ClusterProperties) SetPostgresVersion ¶
func (o *ClusterProperties) SetPostgresVersion(v string)
SetPostgresVersion 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
func (*ClusterProperties) SetStorageType ¶
func (o *ClusterProperties) SetStorageType(v StorageType)
SetStorageType sets field value
func (*ClusterProperties) SetSynchronizationMode ¶
func (o *ClusterProperties) SetSynchronizationMode(v SynchronizationMode)
SetSynchronizationMode sets field value
type ClusterResponse ¶
type ClusterResponse struct { Type *ResourceType `json:"type,omitempty"` // 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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) GetType ¶
func (o *ClusterResponse) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*ClusterResponse) GetTypeOk ¶
func (o *ClusterResponse) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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) HasType ¶
func (o *ClusterResponse) HasType() bool
HasType 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
func (*ClusterResponse) SetType ¶
func (o *ClusterResponse) SetType(v ResourceType)
SetType sets field value
type ClustersApiService ¶
type ClustersApiService service
ClustersApiService ClustersApi service
func (*ClustersApiService) ClusterPostgresVersionsGet ¶
func (a *ClustersApiService) ClusterPostgresVersionsGet(ctx _context.Context, clusterId string) ApiClusterPostgresVersionsGetRequest
- ClusterPostgresVersionsGet List PostgreSQL versions
- Retrieves a list of all PostgreSQL versions available for this cluster
including the current version.
- @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 ApiClusterPostgresVersionsGetRequest
func (*ClustersApiService) ClusterPostgresVersionsGetExecute ¶
func (a *ClustersApiService) ClusterPostgresVersionsGetExecute(r ApiClusterPostgresVersionsGetRequest) (PostgresVersionList, *APIResponse, error)
* Execute executes the request * @return PostgresVersionList
func (*ClustersApiService) ClustersDelete ¶
func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
* ClustersDelete Delete a cluster * Delete a PostgreSQL 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 PostgreSQL cluster by using its ID. This value can be
found in the response body when a PostgreSQL cluster is created or when you GET a list of PostgreSQL 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 PostgreSQL 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 ¶
func (a *ClustersApiService) ClustersPatch(ctx _context.Context, clusterId string) ApiClustersPatchRequest
* ClustersPatch Patch a cluster * Patch attributes of a PostgreSQL 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 ¶
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 PostgreSQL cluster.
If the `fromBackup` field is populated, the new cluster will be created based on the given backup.
- @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
func (*ClustersApiService) PostgresVersionsGet ¶
func (a *ClustersApiService) PostgresVersionsGet(ctx _context.Context) ApiPostgresVersionsGetRequest
* PostgresVersionsGet List PostgreSQL versions * Retrieves a list of all available PostgreSQL versions. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPostgresVersionsGetRequest
func (*ClustersApiService) PostgresVersionsGetExecute ¶
func (a *ClustersApiService) PostgresVersionsGetExecute(r ApiPostgresVersionsGetRequest) (PostgresVersionList, *APIResponse, error)
* Execute executes the request * @return PostgresVersionList
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 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"` LogLevel LogLevel Logger Logger }
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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 ConnectionPooler ¶ added in v1.1.3
type ConnectionPooler struct { Enabled *bool `json:"enabled,omitempty"` PoolMode *PoolMode `json:"poolMode,omitempty"` }
ConnectionPooler Configuration options for the connection pooler
func NewConnectionPooler ¶ added in v1.1.3
func NewConnectionPooler() *ConnectionPooler
NewConnectionPooler instantiates a new ConnectionPooler 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 NewConnectionPoolerWithDefaults ¶ added in v1.1.3
func NewConnectionPoolerWithDefaults() *ConnectionPooler
NewConnectionPoolerWithDefaults instantiates a new ConnectionPooler 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 (*ConnectionPooler) GetEnabled ¶ added in v1.1.3
func (o *ConnectionPooler) GetEnabled() *bool
GetEnabled returns the Enabled field value If the value is explicit nil, the zero value for bool will be returned
func (*ConnectionPooler) GetEnabledOk ¶ added in v1.1.3
func (o *ConnectionPooler) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled 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 (*ConnectionPooler) GetPoolMode ¶ added in v1.1.3
func (o *ConnectionPooler) GetPoolMode() *PoolMode
GetPoolMode returns the PoolMode field value If the value is explicit nil, the zero value for PoolMode will be returned
func (*ConnectionPooler) GetPoolModeOk ¶ added in v1.1.3
func (o *ConnectionPooler) GetPoolModeOk() (*PoolMode, bool)
GetPoolModeOk returns a tuple with the PoolMode 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 (*ConnectionPooler) HasEnabled ¶ added in v1.1.3
func (o *ConnectionPooler) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*ConnectionPooler) HasPoolMode ¶ added in v1.1.3
func (o *ConnectionPooler) HasPoolMode() bool
HasPoolMode returns a boolean if a field has been set.
func (ConnectionPooler) MarshalJSON ¶ added in v1.1.3
func (o ConnectionPooler) MarshalJSON() ([]byte, error)
func (*ConnectionPooler) SetEnabled ¶ added in v1.1.3
func (o *ConnectionPooler) SetEnabled(v bool)
SetEnabled sets field value
func (*ConnectionPooler) SetPoolMode ¶ added in v1.1.3
func (o *ConnectionPooler) SetPoolMode(v PoolMode)
SetPoolMode sets field value
type CreateClusterProperties ¶
type CreateClusterProperties struct { // The PostgreSQL version of your cluster. PostgresVersion *string `json:"postgresVersion"` // The total number of instances in the cluster (one master and n-1 standbys). Instances *int32 `json:"instances"` // The number of CPU cores per instance. Cores *int32 `json:"cores"` // The amount of memory per instance in megabytes. Has to be a multiple of 1024. Ram *int32 `json:"ram"` // The amount of storage per instance in megabytes. StorageSize *int32 `json:"storageSize"` StorageType *StorageType `json:"storageType"` Connections *[]Connection `json:"connections"` // The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Location *string `json:"location"` // The S3 location where the backups will be stored. BackupLocation *string `json:"backupLocation,omitempty"` // The friendly name of your cluster. DisplayName *string `json:"displayName"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` Credentials *DBUser `json:"credentials"` SynchronizationMode *SynchronizationMode `json:"synchronizationMode"` FromBackup *CreateRestoreRequest `json:"fromBackup,omitempty"` ConnectionPooler *ConnectionPooler `json:"connectionPooler,omitempty"` }
CreateClusterProperties Properties with all data needed to create a new PostgreSQL cluster.
func NewCreateClusterProperties ¶ added in v1.0.2
func NewCreateClusterProperties(postgresVersion string, instances int32, cores int32, ram int32, storageSize int32, storageType StorageType, connections []Connection, location string, displayName string, credentials DBUser, synchronizationMode SynchronizationMode) *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 ¶ added in v1.0.2
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) GetBackupLocation ¶ added in v1.0.2
func (o *CreateClusterProperties) GetBackupLocation() *string
GetBackupLocation returns the BackupLocation field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetBackupLocationOk ¶ added in v1.0.2
func (o *CreateClusterProperties) GetBackupLocationOk() (*string, bool)
GetBackupLocationOk returns a tuple with the BackupLocation 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) GetConnectionPooler ¶ added in v1.1.3
func (o *CreateClusterProperties) GetConnectionPooler() *ConnectionPooler
GetConnectionPooler returns the ConnectionPooler field value If the value is explicit nil, the zero value for ConnectionPooler will be returned
func (*CreateClusterProperties) GetConnectionPoolerOk ¶ added in v1.1.3
func (o *CreateClusterProperties) GetConnectionPoolerOk() (*ConnectionPooler, bool)
GetConnectionPoolerOk returns a tuple with the ConnectionPooler 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) 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 ¶
func (o *CreateClusterProperties) GetFromBackup() *CreateRestoreRequest
GetFromBackup returns the FromBackup field value If the value is explicit nil, the zero value for CreateRestoreRequest will be returned
func (*CreateClusterProperties) GetFromBackupOk ¶
func (o *CreateClusterProperties) GetFromBackupOk() (*CreateRestoreRequest, 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) GetLocation ¶
func (o *CreateClusterProperties) GetLocation() *string
GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetLocationOk ¶
func (o *CreateClusterProperties) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location 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) GetPostgresVersion ¶
func (o *CreateClusterProperties) GetPostgresVersion() *string
GetPostgresVersion returns the PostgresVersion field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetPostgresVersionOk ¶
func (o *CreateClusterProperties) GetPostgresVersionOk() (*string, bool)
GetPostgresVersionOk returns a tuple with the PostgresVersion 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) GetStorageType ¶
func (o *CreateClusterProperties) GetStorageType() *StorageType
GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned
func (*CreateClusterProperties) GetStorageTypeOk ¶
func (o *CreateClusterProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType 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) GetSynchronizationMode ¶
func (o *CreateClusterProperties) GetSynchronizationMode() *SynchronizationMode
GetSynchronizationMode returns the SynchronizationMode field value If the value is explicit nil, the zero value for SynchronizationMode will be returned
func (*CreateClusterProperties) GetSynchronizationModeOk ¶
func (o *CreateClusterProperties) GetSynchronizationModeOk() (*SynchronizationMode, bool)
GetSynchronizationModeOk returns a tuple with the SynchronizationMode 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) HasBackupLocation ¶ added in v1.0.2
func (o *CreateClusterProperties) HasBackupLocation() bool
HasBackupLocation returns a boolean if a field has been set.
func (*CreateClusterProperties) HasConnectionPooler ¶ added in v1.1.3
func (o *CreateClusterProperties) HasConnectionPooler() bool
HasConnectionPooler returns a boolean if a field has been set.
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 ¶
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) HasLocation ¶
func (o *CreateClusterProperties) HasLocation() bool
HasLocation 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) HasPostgresVersion ¶
func (o *CreateClusterProperties) HasPostgresVersion() bool
HasPostgresVersion 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) HasStorageType ¶
func (o *CreateClusterProperties) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (*CreateClusterProperties) HasSynchronizationMode ¶
func (o *CreateClusterProperties) HasSynchronizationMode() bool
HasSynchronizationMode returns a boolean if a field has been set.
func (CreateClusterProperties) MarshalJSON ¶
func (o CreateClusterProperties) MarshalJSON() ([]byte, error)
func (*CreateClusterProperties) SetBackupLocation ¶ added in v1.0.2
func (o *CreateClusterProperties) SetBackupLocation(v string)
SetBackupLocation sets field value
func (*CreateClusterProperties) SetConnectionPooler ¶ added in v1.1.3
func (o *CreateClusterProperties) SetConnectionPooler(v ConnectionPooler)
SetConnectionPooler sets field value
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 ¶
func (o *CreateClusterProperties) SetFromBackup(v CreateRestoreRequest)
SetFromBackup sets field value
func (*CreateClusterProperties) SetInstances ¶
func (o *CreateClusterProperties) SetInstances(v int32)
SetInstances sets field value
func (*CreateClusterProperties) SetLocation ¶
func (o *CreateClusterProperties) SetLocation(v string)
SetLocation sets field value
func (*CreateClusterProperties) SetMaintenanceWindow ¶
func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*CreateClusterProperties) SetPostgresVersion ¶
func (o *CreateClusterProperties) SetPostgresVersion(v string)
SetPostgresVersion 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
func (*CreateClusterProperties) SetStorageType ¶
func (o *CreateClusterProperties) SetStorageType(v StorageType)
SetStorageType sets field value
func (*CreateClusterProperties) SetSynchronizationMode ¶
func (o *CreateClusterProperties) SetSynchronizationMode(v SynchronizationMode)
SetSynchronizationMode sets field value
type CreateClusterRequest ¶
type CreateClusterRequest struct { Metadata *ClusterMetadata `json:"metadata,omitempty"` Properties *CreateClusterProperties `json:"properties,omitempty"` }
CreateClusterRequest Request payload with all data needed to create a new PostgreSQL cluster.
func NewCreateClusterRequest ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) GetMetadata ¶
func (o *CreateClusterRequest) GetMetadata() *ClusterMetadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ClusterMetadata will be returned
func (*CreateClusterRequest) GetMetadataOk ¶
func (o *CreateClusterRequest) 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 (*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) HasMetadata ¶
func (o *CreateClusterRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
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) SetMetadata ¶
func (o *CreateClusterRequest) SetMetadata(v ClusterMetadata)
SetMetadata sets field value
func (*CreateClusterRequest) SetProperties ¶
func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
SetProperties sets field value
type CreateRestoreRequest ¶
type CreateRestoreRequest struct { // The unique ID of the backup you want to restore. BackupId *string `json:"backupId"` // If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely. RecoveryTargetTime *IonosTime `json:"recoveryTargetTime,omitempty"` }
CreateRestoreRequest The restore request.
func NewCreateRestoreRequest ¶ added in v1.0.2
func NewCreateRestoreRequest(backupId string) *CreateRestoreRequest
NewCreateRestoreRequest instantiates a new CreateRestoreRequest 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 NewCreateRestoreRequestWithDefaults ¶ added in v1.0.2
func NewCreateRestoreRequestWithDefaults() *CreateRestoreRequest
NewCreateRestoreRequestWithDefaults instantiates a new CreateRestoreRequest 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 (*CreateRestoreRequest) GetBackupId ¶
func (o *CreateRestoreRequest) GetBackupId() *string
GetBackupId returns the BackupId field value If the value is explicit nil, the zero value for string will be returned
func (*CreateRestoreRequest) GetBackupIdOk ¶
func (o *CreateRestoreRequest) 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 (*CreateRestoreRequest) GetRecoveryTargetTime ¶
func (o *CreateRestoreRequest) 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 (*CreateRestoreRequest) GetRecoveryTargetTimeOk ¶
func (o *CreateRestoreRequest) 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 (*CreateRestoreRequest) HasBackupId ¶
func (o *CreateRestoreRequest) HasBackupId() bool
HasBackupId returns a boolean if a field has been set.
func (*CreateRestoreRequest) HasRecoveryTargetTime ¶
func (o *CreateRestoreRequest) HasRecoveryTargetTime() bool
HasRecoveryTargetTime returns a boolean if a field has been set.
func (CreateRestoreRequest) MarshalJSON ¶
func (o CreateRestoreRequest) MarshalJSON() ([]byte, error)
func (*CreateRestoreRequest) SetBackupId ¶
func (o *CreateRestoreRequest) SetBackupId(v string)
SetBackupId sets field value
func (*CreateRestoreRequest) SetRecoveryTargetTime ¶
func (o *CreateRestoreRequest) SetRecoveryTargetTime(v time.Time)
SetRecoveryTargetTime sets field value
type DBUser ¶
type DBUser struct { // The username for the initial PostgreSQL user. Some system usernames are restricted (e.g. \"postgres\", \"admin\", \"standby\"). Username *string `json:"username"` Password *string `json:"password"` }
DBUser Credentials for the database user to be created.
func NewDBUser ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 Database ¶ added in v1.1.2
type Database struct {
Properties *DatabaseProperties `json:"properties"`
}
Database struct for Database
func NewDatabase ¶ added in v1.1.2
func NewDatabase(properties DatabaseProperties) *Database
NewDatabase instantiates a new Database object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseWithDefaults ¶ added in v1.1.2
func NewDatabaseWithDefaults() *Database
NewDatabaseWithDefaults instantiates a new Database object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Database) GetProperties ¶ added in v1.1.2
func (o *Database) GetProperties() *DatabaseProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for DatabaseProperties will be returned
func (*Database) GetPropertiesOk ¶ added in v1.1.2
func (o *Database) GetPropertiesOk() (*DatabaseProperties, 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 (*Database) HasProperties ¶ added in v1.1.2
HasProperties returns a boolean if a field has been set.
func (Database) MarshalJSON ¶ added in v1.1.2
func (*Database) SetProperties ¶ added in v1.1.2
func (o *Database) SetProperties(v DatabaseProperties)
SetProperties sets field value
type DatabaseItems ¶ added in v1.1.2
type DatabaseItems struct {
Items *[]DatabaseResource `json:"items"`
}
DatabaseItems struct for DatabaseItems
func NewDatabaseItems ¶ added in v1.1.2
func NewDatabaseItems(items []DatabaseResource) *DatabaseItems
NewDatabaseItems instantiates a new DatabaseItems 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 NewDatabaseItemsWithDefaults ¶ added in v1.1.2
func NewDatabaseItemsWithDefaults() *DatabaseItems
NewDatabaseItemsWithDefaults instantiates a new DatabaseItems 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 (*DatabaseItems) GetItems ¶ added in v1.1.2
func (o *DatabaseItems) GetItems() *[]DatabaseResource
GetItems returns the Items field value If the value is explicit nil, the zero value for []DatabaseResource will be returned
func (*DatabaseItems) GetItemsOk ¶ added in v1.1.2
func (o *DatabaseItems) GetItemsOk() (*[]DatabaseResource, 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 (*DatabaseItems) HasItems ¶ added in v1.1.2
func (o *DatabaseItems) HasItems() bool
HasItems returns a boolean if a field has been set.
func (DatabaseItems) MarshalJSON ¶ added in v1.1.2
func (o DatabaseItems) MarshalJSON() ([]byte, error)
func (*DatabaseItems) SetItems ¶ added in v1.1.2
func (o *DatabaseItems) SetItems(v []DatabaseResource)
SetItems sets field value
type DatabaseList ¶ added in v1.1.2
type DatabaseList 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"` Links *PaginationLinks `json:"_links,omitempty"` Type *ResourceType `json:"type"` // The unique ID of the resource. Id *string `json:"id"` // Absolute URL of the resource. Href *string `json:"href"` Items *[]DatabaseResource `json:"items"` }
DatabaseList struct for DatabaseList
func NewDatabaseList ¶ added in v1.1.2
func NewDatabaseList(type_ ResourceType, id string, href string, items []DatabaseResource) *DatabaseList
NewDatabaseList instantiates a new DatabaseList 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 NewDatabaseListWithDefaults ¶ added in v1.1.2
func NewDatabaseListWithDefaults() *DatabaseList
NewDatabaseListWithDefaults instantiates a new DatabaseList 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 (*DatabaseList) GetHref ¶ added in v1.1.2
func (o *DatabaseList) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*DatabaseList) GetHrefOk ¶ added in v1.1.2
func (o *DatabaseList) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href 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 (*DatabaseList) GetId ¶ added in v1.1.2
func (o *DatabaseList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*DatabaseList) GetIdOk ¶ added in v1.1.2
func (o *DatabaseList) 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 (*DatabaseList) GetItems ¶ added in v1.1.2
func (o *DatabaseList) GetItems() *[]DatabaseResource
GetItems returns the Items field value If the value is explicit nil, the zero value for []DatabaseResource will be returned
func (*DatabaseList) GetItemsOk ¶ added in v1.1.2
func (o *DatabaseList) GetItemsOk() (*[]DatabaseResource, 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 (*DatabaseList) GetLimit ¶ added in v1.1.2
func (o *DatabaseList) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*DatabaseList) GetLimitOk ¶ added in v1.1.2
func (o *DatabaseList) 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 (*DatabaseList) GetLinks ¶ added in v1.1.2
func (o *DatabaseList) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*DatabaseList) GetLinksOk ¶ added in v1.1.2
func (o *DatabaseList) 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 (*DatabaseList) GetOffset ¶ added in v1.1.2
func (o *DatabaseList) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*DatabaseList) GetOffsetOk ¶ added in v1.1.2
func (o *DatabaseList) 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 (*DatabaseList) GetType ¶ added in v1.1.2
func (o *DatabaseList) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*DatabaseList) GetTypeOk ¶ added in v1.1.2
func (o *DatabaseList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (*DatabaseList) HasHref ¶ added in v1.1.2
func (o *DatabaseList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*DatabaseList) HasId ¶ added in v1.1.2
func (o *DatabaseList) HasId() bool
HasId returns a boolean if a field has been set.
func (*DatabaseList) HasItems ¶ added in v1.1.2
func (o *DatabaseList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*DatabaseList) HasLimit ¶ added in v1.1.2
func (o *DatabaseList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*DatabaseList) HasLinks ¶ added in v1.1.2
func (o *DatabaseList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*DatabaseList) HasOffset ¶ added in v1.1.2
func (o *DatabaseList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*DatabaseList) HasType ¶ added in v1.1.2
func (o *DatabaseList) HasType() bool
HasType returns a boolean if a field has been set.
func (DatabaseList) MarshalJSON ¶ added in v1.1.2
func (o DatabaseList) MarshalJSON() ([]byte, error)
func (*DatabaseList) SetHref ¶ added in v1.1.2
func (o *DatabaseList) SetHref(v string)
SetHref sets field value
func (*DatabaseList) SetId ¶ added in v1.1.2
func (o *DatabaseList) SetId(v string)
SetId sets field value
func (*DatabaseList) SetItems ¶ added in v1.1.2
func (o *DatabaseList) SetItems(v []DatabaseResource)
SetItems sets field value
func (*DatabaseList) SetLimit ¶ added in v1.1.2
func (o *DatabaseList) SetLimit(v int32)
SetLimit sets field value
func (*DatabaseList) SetLinks ¶ added in v1.1.2
func (o *DatabaseList) SetLinks(v PaginationLinks)
SetLinks sets field value
func (*DatabaseList) SetOffset ¶ added in v1.1.2
func (o *DatabaseList) SetOffset(v int32)
SetOffset sets field value
func (*DatabaseList) SetType ¶ added in v1.1.2
func (o *DatabaseList) SetType(v ResourceType)
SetType sets field value
type DatabaseProperties ¶ added in v1.1.2
type DatabaseProperties struct { // The databasename of a given database. Name *string `json:"name"` // The name of the role owning a given database. Owner *string `json:"owner"` }
DatabaseProperties struct for DatabaseProperties
func NewDatabaseProperties ¶ added in v1.1.2
func NewDatabaseProperties(name string, owner string) *DatabaseProperties
NewDatabaseProperties instantiates a new DatabaseProperties 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 NewDatabasePropertiesWithDefaults ¶ added in v1.1.2
func NewDatabasePropertiesWithDefaults() *DatabaseProperties
NewDatabasePropertiesWithDefaults instantiates a new DatabaseProperties 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 (*DatabaseProperties) GetName ¶ added in v1.1.2
func (o *DatabaseProperties) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*DatabaseProperties) GetNameOk ¶ added in v1.1.2
func (o *DatabaseProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*DatabaseProperties) GetOwner ¶ added in v1.1.2
func (o *DatabaseProperties) GetOwner() *string
GetOwner returns the Owner field value If the value is explicit nil, the zero value for string will be returned
func (*DatabaseProperties) GetOwnerOk ¶ added in v1.1.2
func (o *DatabaseProperties) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner 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 (*DatabaseProperties) HasName ¶ added in v1.1.2
func (o *DatabaseProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (*DatabaseProperties) HasOwner ¶ added in v1.1.2
func (o *DatabaseProperties) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (DatabaseProperties) MarshalJSON ¶ added in v1.1.2
func (o DatabaseProperties) MarshalJSON() ([]byte, error)
func (*DatabaseProperties) SetName ¶ added in v1.1.2
func (o *DatabaseProperties) SetName(v string)
SetName sets field value
func (*DatabaseProperties) SetOwner ¶ added in v1.1.2
func (o *DatabaseProperties) SetOwner(v string)
SetOwner sets field value
type DatabaseResource ¶ added in v1.1.2
type DatabaseResource struct { Type *ResourceType `json:"type"` // The unique ID of the resource. Id *string `json:"id"` // Absolute URL of the resource. Href *string `json:"href"` Metadata *Metadata `json:"metadata,omitempty"` Properties *DatabaseProperties `json:"properties"` }
DatabaseResource struct for DatabaseResource
func NewDatabaseResource ¶ added in v1.1.2
func NewDatabaseResource(type_ ResourceType, id string, href string, properties DatabaseProperties) *DatabaseResource
NewDatabaseResource instantiates a new DatabaseResource 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 NewDatabaseResourceWithDefaults ¶ added in v1.1.2
func NewDatabaseResourceWithDefaults() *DatabaseResource
NewDatabaseResourceWithDefaults instantiates a new DatabaseResource 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 (*DatabaseResource) GetHref ¶ added in v1.1.2
func (o *DatabaseResource) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*DatabaseResource) GetHrefOk ¶ added in v1.1.2
func (o *DatabaseResource) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href 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 (*DatabaseResource) GetId ¶ added in v1.1.2
func (o *DatabaseResource) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*DatabaseResource) GetIdOk ¶ added in v1.1.2
func (o *DatabaseResource) 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 (*DatabaseResource) GetMetadata ¶ added in v1.1.2
func (o *DatabaseResource) GetMetadata() *Metadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*DatabaseResource) GetMetadataOk ¶ added in v1.1.2
func (o *DatabaseResource) GetMetadataOk() (*Metadata, 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 (*DatabaseResource) GetProperties ¶ added in v1.1.2
func (o *DatabaseResource) GetProperties() *DatabaseProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for DatabaseProperties will be returned
func (*DatabaseResource) GetPropertiesOk ¶ added in v1.1.2
func (o *DatabaseResource) GetPropertiesOk() (*DatabaseProperties, 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 (*DatabaseResource) GetType ¶ added in v1.1.2
func (o *DatabaseResource) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*DatabaseResource) GetTypeOk ¶ added in v1.1.2
func (o *DatabaseResource) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (*DatabaseResource) HasHref ¶ added in v1.1.2
func (o *DatabaseResource) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*DatabaseResource) HasId ¶ added in v1.1.2
func (o *DatabaseResource) HasId() bool
HasId returns a boolean if a field has been set.
func (*DatabaseResource) HasMetadata ¶ added in v1.1.2
func (o *DatabaseResource) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*DatabaseResource) HasProperties ¶ added in v1.1.2
func (o *DatabaseResource) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*DatabaseResource) HasType ¶ added in v1.1.2
func (o *DatabaseResource) HasType() bool
HasType returns a boolean if a field has been set.
func (DatabaseResource) MarshalJSON ¶ added in v1.1.2
func (o DatabaseResource) MarshalJSON() ([]byte, error)
func (*DatabaseResource) SetHref ¶ added in v1.1.2
func (o *DatabaseResource) SetHref(v string)
SetHref sets field value
func (*DatabaseResource) SetId ¶ added in v1.1.2
func (o *DatabaseResource) SetId(v string)
SetId sets field value
func (*DatabaseResource) SetMetadata ¶ added in v1.1.2
func (o *DatabaseResource) SetMetadata(v Metadata)
SetMetadata sets field value
func (*DatabaseResource) SetProperties ¶ added in v1.1.2
func (o *DatabaseResource) SetProperties(v DatabaseProperties)
SetProperties sets field value
func (*DatabaseResource) SetType ¶ added in v1.1.2
func (o *DatabaseResource) SetType(v ResourceType)
SetType sets field value
type DatabasesApiService ¶ added in v1.1.2
type DatabasesApiService service
DatabasesApiService DatabasesApi service
func (*DatabasesApiService) DatabasesDelete ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesDelete(ctx _context.Context, clusterId string, databasename string) ApiDatabasesDeleteRequest
* DatabasesDelete Delete database * Deletes a single database * @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. * @param databasename The database name. * @return ApiDatabasesDeleteRequest
func (*DatabasesApiService) DatabasesDeleteExecute ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesDeleteExecute(r ApiDatabasesDeleteRequest) (*APIResponse, error)
* Execute executes the request
func (*DatabasesApiService) DatabasesGet ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesGet(ctx _context.Context, clusterId string, databasename string) ApiDatabasesGetRequest
* DatabasesGet Get database * Retrieves a single database * @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. * @param databasename The database name. * @return ApiDatabasesGetRequest
func (*DatabasesApiService) DatabasesGetExecute ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesGetExecute(r ApiDatabasesGetRequest) (DatabaseResource, *APIResponse, error)
* Execute executes the request * @return DatabaseResource
func (*DatabasesApiService) DatabasesList ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesList(ctx _context.Context, clusterId string) ApiDatabasesListRequest
* DatabasesList List databases * Retrieves a list of databases * @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 ApiDatabasesListRequest
func (*DatabasesApiService) DatabasesListExecute ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesListExecute(r ApiDatabasesListRequest) (DatabaseList, *APIResponse, error)
* Execute executes the request * @return DatabaseList
func (*DatabasesApiService) DatabasesPost ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesPost(ctx _context.Context, clusterId string) ApiDatabasesPostRequest
* DatabasesPost Create a database * Create a new database * @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 ApiDatabasesPostRequest
func (*DatabasesApiService) DatabasesPostExecute ¶ added in v1.1.2
func (a *DatabasesApiService) DatabasesPostExecute(r ApiDatabasesPostRequest) (DatabaseResource, *APIResponse, error)
* Execute executes the request * @return DatabaseResource
type DayOfTheWeek ¶
type DayOfTheWeek string
DayOfTheWeek The name of the week day.
const ( SUNDAY DayOfTheWeek = "Sunday" MONDAY DayOfTheWeek = "Monday" TUESDAY DayOfTheWeek = "Tuesday" WEDNESDAY DayOfTheWeek = "Wednesday" THURSDAY DayOfTheWeek = "Thursday" FRIDAY DayOfTheWeek = "Friday" 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 DeprecatedPagination ¶ added in v1.1.2
type DeprecatedPagination 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"` Links *PaginationLinks `json:"links,omitempty"` }
DeprecatedPagination Pagination information in list responses. DEPRECATED because of misspelled _links attribute.
func NewDeprecatedPagination ¶ added in v1.1.2
func NewDeprecatedPagination() *DeprecatedPagination
NewDeprecatedPagination instantiates a new DeprecatedPagination 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 NewDeprecatedPaginationWithDefaults ¶ added in v1.1.2
func NewDeprecatedPaginationWithDefaults() *DeprecatedPagination
NewDeprecatedPaginationWithDefaults instantiates a new DeprecatedPagination 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 (*DeprecatedPagination) GetLimit ¶ added in v1.1.2
func (o *DeprecatedPagination) GetLimit() *int32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*DeprecatedPagination) GetLimitOk ¶ added in v1.1.2
func (o *DeprecatedPagination) 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 (*DeprecatedPagination) GetLinks ¶ added in v1.1.2
func (o *DeprecatedPagination) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*DeprecatedPagination) GetLinksOk ¶ added in v1.1.2
func (o *DeprecatedPagination) 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 (*DeprecatedPagination) GetOffset ¶ added in v1.1.2
func (o *DeprecatedPagination) GetOffset() *int32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*DeprecatedPagination) GetOffsetOk ¶ added in v1.1.2
func (o *DeprecatedPagination) 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 (*DeprecatedPagination) HasLimit ¶ added in v1.1.2
func (o *DeprecatedPagination) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*DeprecatedPagination) HasLinks ¶ added in v1.1.2
func (o *DeprecatedPagination) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*DeprecatedPagination) HasOffset ¶ added in v1.1.2
func (o *DeprecatedPagination) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (DeprecatedPagination) MarshalJSON ¶ added in v1.1.2
func (o DeprecatedPagination) MarshalJSON() ([]byte, error)
func (*DeprecatedPagination) SetLimit ¶ added in v1.1.2
func (o *DeprecatedPagination) SetLimit(v int32)
SetLimit sets field value
func (*DeprecatedPagination) SetLinks ¶ added in v1.1.2
func (o *DeprecatedPagination) SetLinks(v PaginationLinks)
SetLinks sets field value
func (*DeprecatedPagination) SetOffset ¶ added in v1.1.2
func (o *DeprecatedPagination) SetOffset(v int32)
SetOffset sets field value
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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 ErrorResponse ¶
type ErrorResponse struct { // The HTTP status code of the operation. HttpStatus *int32 `json:"httpStatus,omitempty"` Messages *[]ErrorMessage `json:"messages,omitempty"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶ added in v1.0.2
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶ added in v1.0.2
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetHttpStatus ¶
func (o *ErrorResponse) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ErrorResponse) GetHttpStatusOk ¶
func (o *ErrorResponse) 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 (*ErrorResponse) GetMessages ¶
func (o *ErrorResponse) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ErrorResponse) GetMessagesOk ¶
func (o *ErrorResponse) 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 (*ErrorResponse) HasHttpStatus ¶
func (o *ErrorResponse) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ErrorResponse) HasMessages ¶
func (o *ErrorResponse) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetHttpStatus ¶
func (o *ErrorResponse) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ErrorResponse) SetMessages ¶
func (o *ErrorResponse) SetMessages(v []ErrorMessage)
SetMessages 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 ¶ added in v1.0.4
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 ¶ added in v1.0.4
func (e *GenericOpenAPIError) SetBody(body []byte)
SetBody sets the raw body of the error
func (*GenericOpenAPIError) SetError ¶ added in v1.0.4
func (e *GenericOpenAPIError) SetError(error string)
SetError sets the error string
func (*GenericOpenAPIError) SetModel ¶ added in v1.0.4
func (e *GenericOpenAPIError) SetModel(model interface{})
SetModel sets the model of the error
func (*GenericOpenAPIError) SetStatusCode ¶ added in v1.0.4
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
type Logger interface {
Printf(format string, args ...interface{})
}
func NewDefaultLogger ¶ added in v1.0.5
func NewDefaultLogger() Logger
type LogsApiService ¶
type LogsApiService service
LogsApiService LogsApi service
func (*LogsApiService) ClusterLogsGet ¶
func (a *LogsApiService) ClusterLogsGet(ctx _context.Context, clusterId string) ApiClusterLogsGetRequest
* ClusterLogsGet Get logs of your cluster * Retrieves PostgreSQL logs based on the given parameters. * @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 ApiClusterLogsGetRequest
func (*LogsApiService) ClusterLogsGetExecute ¶
func (a *LogsApiService) ClusterLogsGetExecute(r ApiClusterLogsGetRequest) (ClusterLogs, *APIResponse, error)
* Execute executes the request * @return ClusterLogs
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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 Metadata ¶
type Metadata struct { // The URN of an IAM user. CreatedBy *string `json:"createdBy,omitempty"` // The ID of an IAM user. CreatedByUserId *string `json:"createdByUserId,omitempty"` // An ISO 8601 timestamp. CreatedDate *IonosTime `json:"createdDate,omitempty"` // The URN of an IAM user. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The ID of an IAM user. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // An ISO 8601 timestamp. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // The URN of the resource. ResourceURN *string `json:"resourceURN,omitempty"` }
Metadata struct for Metadata
func NewMetadata ¶ added in v1.0.2
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶ added in v1.0.2
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByOk ¶
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 (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByUserIdOk ¶
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 (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
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 (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByOk ¶
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 (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByUserIdOk ¶
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 (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
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 (*Metadata) GetResourceURN ¶ added in v1.1.2
GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetResourceURNOk ¶ added in v1.1.2
GetResourceURNOk returns a tuple with the ResourceURN 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 (*Metadata) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (*Metadata) HasResourceURN ¶ added in v1.1.2
HasResourceURN returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId sets field value
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy sets field value
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate sets field value
func (*Metadata) SetResourceURN ¶ added in v1.1.2
SetResourceURN sets field value
type MetadataApiService ¶
type MetadataApiService service
MetadataApiService MetadataApi service
func (*MetadataApiService) InfosVersionGet ¶
func (a *MetadataApiService) InfosVersionGet(ctx _context.Context) ApiInfosVersionGetRequest
* InfosVersionGet Get the current API version * Retrieves the current version of the responding API. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiInfosVersionGetRequest
func (*MetadataApiService) InfosVersionGetExecute ¶
func (a *MetadataApiService) InfosVersionGetExecute(r ApiInfosVersionGetRequest) (APIVersion, *APIResponse, error)
* Execute executes the request * @return APIVersion
func (*MetadataApiService) InfosVersionsGet ¶
func (a *MetadataApiService) InfosVersionsGet(ctx _context.Context) ApiInfosVersionsGetRequest
* InfosVersionsGet Fetch all API versions * Retrieves all available versions of the responding API. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiInfosVersionsGetRequest
func (*MetadataApiService) InfosVersionsGetExecute ¶
func (a *MetadataApiService) InfosVersionsGetExecute(r ApiInfosVersionsGetRequest) ([]APIVersion, *APIResponse, error)
* Execute executes the request * @return []APIVersion
type NullableAPIVersion ¶
type NullableAPIVersion struct {
// contains filtered or unexported fields
}
func NewNullableAPIVersion ¶
func NewNullableAPIVersion(val *APIVersion) *NullableAPIVersion
func (NullableAPIVersion) Get ¶
func (v NullableAPIVersion) Get() *APIVersion
func (NullableAPIVersion) IsSet ¶
func (v NullableAPIVersion) IsSet() bool
func (NullableAPIVersion) MarshalJSON ¶
func (v NullableAPIVersion) MarshalJSON() ([]byte, error)
func (*NullableAPIVersion) Set ¶
func (v *NullableAPIVersion) Set(val *APIVersion)
func (*NullableAPIVersion) UnmarshalJSON ¶
func (v *NullableAPIVersion) UnmarshalJSON(src []byte) error
func (*NullableAPIVersion) Unset ¶
func (v *NullableAPIVersion) Unset()
type NullableBackupMetadata ¶
type NullableBackupMetadata struct {
// contains filtered or unexported fields
}
func NewNullableBackupMetadata ¶
func NewNullableBackupMetadata(val *BackupMetadata) *NullableBackupMetadata
func (NullableBackupMetadata) Get ¶
func (v NullableBackupMetadata) Get() *BackupMetadata
func (NullableBackupMetadata) IsSet ¶
func (v NullableBackupMetadata) IsSet() bool
func (NullableBackupMetadata) MarshalJSON ¶
func (v NullableBackupMetadata) MarshalJSON() ([]byte, error)
func (*NullableBackupMetadata) Set ¶
func (v *NullableBackupMetadata) Set(val *BackupMetadata)
func (*NullableBackupMetadata) UnmarshalJSON ¶
func (v *NullableBackupMetadata) UnmarshalJSON(src []byte) error
func (*NullableBackupMetadata) Unset ¶
func (v *NullableBackupMetadata) 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 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 NullableClusterBackup ¶
type NullableClusterBackup struct {
// contains filtered or unexported fields
}
func NewNullableClusterBackup ¶
func NewNullableClusterBackup(val *ClusterBackup) *NullableClusterBackup
func (NullableClusterBackup) Get ¶
func (v NullableClusterBackup) Get() *ClusterBackup
func (NullableClusterBackup) IsSet ¶
func (v NullableClusterBackup) IsSet() bool
func (NullableClusterBackup) MarshalJSON ¶
func (v NullableClusterBackup) MarshalJSON() ([]byte, error)
func (*NullableClusterBackup) Set ¶
func (v *NullableClusterBackup) Set(val *ClusterBackup)
func (*NullableClusterBackup) UnmarshalJSON ¶
func (v *NullableClusterBackup) UnmarshalJSON(src []byte) error
func (*NullableClusterBackup) Unset ¶
func (v *NullableClusterBackup) Unset()
type NullableClusterBackupList ¶
type NullableClusterBackupList struct {
// contains filtered or unexported fields
}
func NewNullableClusterBackupList ¶
func NewNullableClusterBackupList(val *ClusterBackupList) *NullableClusterBackupList
func (NullableClusterBackupList) Get ¶
func (v NullableClusterBackupList) Get() *ClusterBackupList
func (NullableClusterBackupList) IsSet ¶
func (v NullableClusterBackupList) IsSet() bool
func (NullableClusterBackupList) MarshalJSON ¶
func (v NullableClusterBackupList) MarshalJSON() ([]byte, error)
func (*NullableClusterBackupList) Set ¶
func (v *NullableClusterBackupList) Set(val *ClusterBackupList)
func (*NullableClusterBackupList) UnmarshalJSON ¶
func (v *NullableClusterBackupList) UnmarshalJSON(src []byte) error
func (*NullableClusterBackupList) Unset ¶
func (v *NullableClusterBackupList) Unset()
type NullableClusterBackupListAllOf ¶
type NullableClusterBackupListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableClusterBackupListAllOf ¶
func NewNullableClusterBackupListAllOf(val *ClusterBackupListAllOf) *NullableClusterBackupListAllOf
func (NullableClusterBackupListAllOf) Get ¶
func (v NullableClusterBackupListAllOf) Get() *ClusterBackupListAllOf
func (NullableClusterBackupListAllOf) IsSet ¶
func (v NullableClusterBackupListAllOf) IsSet() bool
func (NullableClusterBackupListAllOf) MarshalJSON ¶
func (v NullableClusterBackupListAllOf) MarshalJSON() ([]byte, error)
func (*NullableClusterBackupListAllOf) Set ¶
func (v *NullableClusterBackupListAllOf) Set(val *ClusterBackupListAllOf)
func (*NullableClusterBackupListAllOf) UnmarshalJSON ¶
func (v *NullableClusterBackupListAllOf) UnmarshalJSON(src []byte) error
func (*NullableClusterBackupListAllOf) Unset ¶
func (v *NullableClusterBackupListAllOf) 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 NullableClusterLogs ¶
type NullableClusterLogs struct {
// contains filtered or unexported fields
}
func NewNullableClusterLogs ¶
func NewNullableClusterLogs(val *ClusterLogs) *NullableClusterLogs
func (NullableClusterLogs) Get ¶
func (v NullableClusterLogs) Get() *ClusterLogs
func (NullableClusterLogs) IsSet ¶
func (v NullableClusterLogs) IsSet() bool
func (NullableClusterLogs) MarshalJSON ¶
func (v NullableClusterLogs) MarshalJSON() ([]byte, error)
func (*NullableClusterLogs) Set ¶
func (v *NullableClusterLogs) Set(val *ClusterLogs)
func (*NullableClusterLogs) UnmarshalJSON ¶
func (v *NullableClusterLogs) UnmarshalJSON(src []byte) error
func (*NullableClusterLogs) Unset ¶
func (v *NullableClusterLogs) Unset()
type NullableClusterLogsInstances ¶
type NullableClusterLogsInstances struct {
// contains filtered or unexported fields
}
func NewNullableClusterLogsInstances ¶
func NewNullableClusterLogsInstances(val *ClusterLogsInstances) *NullableClusterLogsInstances
func (NullableClusterLogsInstances) Get ¶
func (v NullableClusterLogsInstances) Get() *ClusterLogsInstances
func (NullableClusterLogsInstances) IsSet ¶
func (v NullableClusterLogsInstances) IsSet() bool
func (NullableClusterLogsInstances) MarshalJSON ¶
func (v NullableClusterLogsInstances) MarshalJSON() ([]byte, error)
func (*NullableClusterLogsInstances) Set ¶
func (v *NullableClusterLogsInstances) Set(val *ClusterLogsInstances)
func (*NullableClusterLogsInstances) UnmarshalJSON ¶
func (v *NullableClusterLogsInstances) UnmarshalJSON(src []byte) error
func (*NullableClusterLogsInstances) Unset ¶
func (v *NullableClusterLogsInstances) Unset()
type NullableClusterLogsInstancesMessages ¶ added in v1.1.3
type NullableClusterLogsInstancesMessages struct {
// contains filtered or unexported fields
}
func NewNullableClusterLogsInstancesMessages ¶ added in v1.1.3
func NewNullableClusterLogsInstancesMessages(val *ClusterLogsInstancesMessages) *NullableClusterLogsInstancesMessages
func (NullableClusterLogsInstancesMessages) Get ¶ added in v1.1.3
func (v NullableClusterLogsInstancesMessages) Get() *ClusterLogsInstancesMessages
func (NullableClusterLogsInstancesMessages) IsSet ¶ added in v1.1.3
func (v NullableClusterLogsInstancesMessages) IsSet() bool
func (NullableClusterLogsInstancesMessages) MarshalJSON ¶ added in v1.1.3
func (v NullableClusterLogsInstancesMessages) MarshalJSON() ([]byte, error)
func (*NullableClusterLogsInstancesMessages) Set ¶ added in v1.1.3
func (v *NullableClusterLogsInstancesMessages) Set(val *ClusterLogsInstancesMessages)
func (*NullableClusterLogsInstancesMessages) UnmarshalJSON ¶ added in v1.1.3
func (v *NullableClusterLogsInstancesMessages) UnmarshalJSON(src []byte) error
func (*NullableClusterLogsInstancesMessages) Unset ¶ added in v1.1.3
func (v *NullableClusterLogsInstancesMessages) Unset()
type NullableClusterMetadata ¶ added in v1.1.2
type NullableClusterMetadata struct {
// contains filtered or unexported fields
}
func NewNullableClusterMetadata ¶ added in v1.1.2
func NewNullableClusterMetadata(val *ClusterMetadata) *NullableClusterMetadata
func (NullableClusterMetadata) Get ¶ added in v1.1.2
func (v NullableClusterMetadata) Get() *ClusterMetadata
func (NullableClusterMetadata) IsSet ¶ added in v1.1.2
func (v NullableClusterMetadata) IsSet() bool
func (NullableClusterMetadata) MarshalJSON ¶ added in v1.1.2
func (v NullableClusterMetadata) MarshalJSON() ([]byte, error)
func (*NullableClusterMetadata) Set ¶ added in v1.1.2
func (v *NullableClusterMetadata) Set(val *ClusterMetadata)
func (*NullableClusterMetadata) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableClusterMetadata) UnmarshalJSON(src []byte) error
func (*NullableClusterMetadata) Unset ¶ added in v1.1.2
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 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 NullableConnectionPooler ¶ added in v1.1.3
type NullableConnectionPooler struct {
// contains filtered or unexported fields
}
func NewNullableConnectionPooler ¶ added in v1.1.3
func NewNullableConnectionPooler(val *ConnectionPooler) *NullableConnectionPooler
func (NullableConnectionPooler) Get ¶ added in v1.1.3
func (v NullableConnectionPooler) Get() *ConnectionPooler
func (NullableConnectionPooler) IsSet ¶ added in v1.1.3
func (v NullableConnectionPooler) IsSet() bool
func (NullableConnectionPooler) MarshalJSON ¶ added in v1.1.3
func (v NullableConnectionPooler) MarshalJSON() ([]byte, error)
func (*NullableConnectionPooler) Set ¶ added in v1.1.3
func (v *NullableConnectionPooler) Set(val *ConnectionPooler)
func (*NullableConnectionPooler) UnmarshalJSON ¶ added in v1.1.3
func (v *NullableConnectionPooler) UnmarshalJSON(src []byte) error
func (*NullableConnectionPooler) Unset ¶ added in v1.1.3
func (v *NullableConnectionPooler) 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 NullableCreateRestoreRequest ¶
type NullableCreateRestoreRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateRestoreRequest ¶
func NewNullableCreateRestoreRequest(val *CreateRestoreRequest) *NullableCreateRestoreRequest
func (NullableCreateRestoreRequest) Get ¶
func (v NullableCreateRestoreRequest) Get() *CreateRestoreRequest
func (NullableCreateRestoreRequest) IsSet ¶
func (v NullableCreateRestoreRequest) IsSet() bool
func (NullableCreateRestoreRequest) MarshalJSON ¶
func (v NullableCreateRestoreRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateRestoreRequest) Set ¶
func (v *NullableCreateRestoreRequest) Set(val *CreateRestoreRequest)
func (*NullableCreateRestoreRequest) UnmarshalJSON ¶
func (v *NullableCreateRestoreRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateRestoreRequest) Unset ¶
func (v *NullableCreateRestoreRequest) 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 NullableDatabase ¶ added in v1.1.2
type NullableDatabase struct {
// contains filtered or unexported fields
}
func NewNullableDatabase ¶ added in v1.1.2
func NewNullableDatabase(val *Database) *NullableDatabase
func (NullableDatabase) Get ¶ added in v1.1.2
func (v NullableDatabase) Get() *Database
func (NullableDatabase) IsSet ¶ added in v1.1.2
func (v NullableDatabase) IsSet() bool
func (NullableDatabase) MarshalJSON ¶ added in v1.1.2
func (v NullableDatabase) MarshalJSON() ([]byte, error)
func (*NullableDatabase) Set ¶ added in v1.1.2
func (v *NullableDatabase) Set(val *Database)
func (*NullableDatabase) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableDatabase) UnmarshalJSON(src []byte) error
func (*NullableDatabase) Unset ¶ added in v1.1.2
func (v *NullableDatabase) Unset()
type NullableDatabaseItems ¶ added in v1.1.2
type NullableDatabaseItems struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseItems ¶ added in v1.1.2
func NewNullableDatabaseItems(val *DatabaseItems) *NullableDatabaseItems
func (NullableDatabaseItems) Get ¶ added in v1.1.2
func (v NullableDatabaseItems) Get() *DatabaseItems
func (NullableDatabaseItems) IsSet ¶ added in v1.1.2
func (v NullableDatabaseItems) IsSet() bool
func (NullableDatabaseItems) MarshalJSON ¶ added in v1.1.2
func (v NullableDatabaseItems) MarshalJSON() ([]byte, error)
func (*NullableDatabaseItems) Set ¶ added in v1.1.2
func (v *NullableDatabaseItems) Set(val *DatabaseItems)
func (*NullableDatabaseItems) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableDatabaseItems) UnmarshalJSON(src []byte) error
func (*NullableDatabaseItems) Unset ¶ added in v1.1.2
func (v *NullableDatabaseItems) Unset()
type NullableDatabaseList ¶ added in v1.1.2
type NullableDatabaseList struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseList ¶ added in v1.1.2
func NewNullableDatabaseList(val *DatabaseList) *NullableDatabaseList
func (NullableDatabaseList) Get ¶ added in v1.1.2
func (v NullableDatabaseList) Get() *DatabaseList
func (NullableDatabaseList) IsSet ¶ added in v1.1.2
func (v NullableDatabaseList) IsSet() bool
func (NullableDatabaseList) MarshalJSON ¶ added in v1.1.2
func (v NullableDatabaseList) MarshalJSON() ([]byte, error)
func (*NullableDatabaseList) Set ¶ added in v1.1.2
func (v *NullableDatabaseList) Set(val *DatabaseList)
func (*NullableDatabaseList) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableDatabaseList) UnmarshalJSON(src []byte) error
func (*NullableDatabaseList) Unset ¶ added in v1.1.2
func (v *NullableDatabaseList) Unset()
type NullableDatabaseProperties ¶ added in v1.1.2
type NullableDatabaseProperties struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseProperties ¶ added in v1.1.2
func NewNullableDatabaseProperties(val *DatabaseProperties) *NullableDatabaseProperties
func (NullableDatabaseProperties) Get ¶ added in v1.1.2
func (v NullableDatabaseProperties) Get() *DatabaseProperties
func (NullableDatabaseProperties) IsSet ¶ added in v1.1.2
func (v NullableDatabaseProperties) IsSet() bool
func (NullableDatabaseProperties) MarshalJSON ¶ added in v1.1.2
func (v NullableDatabaseProperties) MarshalJSON() ([]byte, error)
func (*NullableDatabaseProperties) Set ¶ added in v1.1.2
func (v *NullableDatabaseProperties) Set(val *DatabaseProperties)
func (*NullableDatabaseProperties) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableDatabaseProperties) UnmarshalJSON(src []byte) error
func (*NullableDatabaseProperties) Unset ¶ added in v1.1.2
func (v *NullableDatabaseProperties) Unset()
type NullableDatabaseResource ¶ added in v1.1.2
type NullableDatabaseResource struct {
// contains filtered or unexported fields
}
func NewNullableDatabaseResource ¶ added in v1.1.2
func NewNullableDatabaseResource(val *DatabaseResource) *NullableDatabaseResource
func (NullableDatabaseResource) Get ¶ added in v1.1.2
func (v NullableDatabaseResource) Get() *DatabaseResource
func (NullableDatabaseResource) IsSet ¶ added in v1.1.2
func (v NullableDatabaseResource) IsSet() bool
func (NullableDatabaseResource) MarshalJSON ¶ added in v1.1.2
func (v NullableDatabaseResource) MarshalJSON() ([]byte, error)
func (*NullableDatabaseResource) Set ¶ added in v1.1.2
func (v *NullableDatabaseResource) Set(val *DatabaseResource)
func (*NullableDatabaseResource) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableDatabaseResource) UnmarshalJSON(src []byte) error
func (*NullableDatabaseResource) Unset ¶ added in v1.1.2
func (v *NullableDatabaseResource) 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 NullableDeprecatedPagination ¶ added in v1.1.2
type NullableDeprecatedPagination struct {
// contains filtered or unexported fields
}
func NewNullableDeprecatedPagination ¶ added in v1.1.2
func NewNullableDeprecatedPagination(val *DeprecatedPagination) *NullableDeprecatedPagination
func (NullableDeprecatedPagination) Get ¶ added in v1.1.2
func (v NullableDeprecatedPagination) Get() *DeprecatedPagination
func (NullableDeprecatedPagination) IsSet ¶ added in v1.1.2
func (v NullableDeprecatedPagination) IsSet() bool
func (NullableDeprecatedPagination) MarshalJSON ¶ added in v1.1.2
func (v NullableDeprecatedPagination) MarshalJSON() ([]byte, error)
func (*NullableDeprecatedPagination) Set ¶ added in v1.1.2
func (v *NullableDeprecatedPagination) Set(val *DeprecatedPagination)
func (*NullableDeprecatedPagination) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableDeprecatedPagination) UnmarshalJSON(src []byte) error
func (*NullableDeprecatedPagination) Unset ¶ added in v1.1.2
func (v *NullableDeprecatedPagination) 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 NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) 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 NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) 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 ¶
type NullablePatchClusterProperties struct {
// contains filtered or unexported fields
}
func NewNullablePatchClusterProperties ¶
func NewNullablePatchClusterProperties(val *PatchClusterProperties) *NullablePatchClusterProperties
func (NullablePatchClusterProperties) Get ¶
func (v NullablePatchClusterProperties) Get() *PatchClusterProperties
func (NullablePatchClusterProperties) IsSet ¶
func (v NullablePatchClusterProperties) IsSet() bool
func (NullablePatchClusterProperties) MarshalJSON ¶
func (v NullablePatchClusterProperties) MarshalJSON() ([]byte, error)
func (*NullablePatchClusterProperties) Set ¶
func (v *NullablePatchClusterProperties) Set(val *PatchClusterProperties)
func (*NullablePatchClusterProperties) UnmarshalJSON ¶
func (v *NullablePatchClusterProperties) UnmarshalJSON(src []byte) error
func (*NullablePatchClusterProperties) Unset ¶
func (v *NullablePatchClusterProperties) Unset()
type NullablePatchClusterRequest ¶
type NullablePatchClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchClusterRequest ¶
func NewNullablePatchClusterRequest(val *PatchClusterRequest) *NullablePatchClusterRequest
func (NullablePatchClusterRequest) Get ¶
func (v NullablePatchClusterRequest) Get() *PatchClusterRequest
func (NullablePatchClusterRequest) IsSet ¶
func (v NullablePatchClusterRequest) IsSet() bool
func (NullablePatchClusterRequest) MarshalJSON ¶
func (v NullablePatchClusterRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchClusterRequest) Set ¶
func (v *NullablePatchClusterRequest) Set(val *PatchClusterRequest)
func (*NullablePatchClusterRequest) UnmarshalJSON ¶
func (v *NullablePatchClusterRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchClusterRequest) Unset ¶
func (v *NullablePatchClusterRequest) Unset()
type NullablePatchUserProperties ¶ added in v1.1.2
type NullablePatchUserProperties struct {
// contains filtered or unexported fields
}
func NewNullablePatchUserProperties ¶ added in v1.1.2
func NewNullablePatchUserProperties(val *PatchUserProperties) *NullablePatchUserProperties
func (NullablePatchUserProperties) Get ¶ added in v1.1.2
func (v NullablePatchUserProperties) Get() *PatchUserProperties
func (NullablePatchUserProperties) IsSet ¶ added in v1.1.2
func (v NullablePatchUserProperties) IsSet() bool
func (NullablePatchUserProperties) MarshalJSON ¶ added in v1.1.2
func (v NullablePatchUserProperties) MarshalJSON() ([]byte, error)
func (*NullablePatchUserProperties) Set ¶ added in v1.1.2
func (v *NullablePatchUserProperties) Set(val *PatchUserProperties)
func (*NullablePatchUserProperties) UnmarshalJSON ¶ added in v1.1.2
func (v *NullablePatchUserProperties) UnmarshalJSON(src []byte) error
func (*NullablePatchUserProperties) Unset ¶ added in v1.1.2
func (v *NullablePatchUserProperties) Unset()
type NullablePoolMode ¶ added in v1.1.3
type NullablePoolMode struct {
// contains filtered or unexported fields
}
func NewNullablePoolMode ¶ added in v1.1.3
func NewNullablePoolMode(val *PoolMode) *NullablePoolMode
func (NullablePoolMode) Get ¶ added in v1.1.3
func (v NullablePoolMode) Get() *PoolMode
func (NullablePoolMode) IsSet ¶ added in v1.1.3
func (v NullablePoolMode) IsSet() bool
func (NullablePoolMode) MarshalJSON ¶ added in v1.1.3
func (v NullablePoolMode) MarshalJSON() ([]byte, error)
func (*NullablePoolMode) Set ¶ added in v1.1.3
func (v *NullablePoolMode) Set(val *PoolMode)
func (*NullablePoolMode) UnmarshalJSON ¶ added in v1.1.3
func (v *NullablePoolMode) UnmarshalJSON(src []byte) error
func (*NullablePoolMode) Unset ¶ added in v1.1.3
func (v *NullablePoolMode) Unset()
type NullablePostgresVersionList ¶
type NullablePostgresVersionList struct {
// contains filtered or unexported fields
}
func NewNullablePostgresVersionList ¶
func NewNullablePostgresVersionList(val *PostgresVersionList) *NullablePostgresVersionList
func (NullablePostgresVersionList) Get ¶
func (v NullablePostgresVersionList) Get() *PostgresVersionList
func (NullablePostgresVersionList) IsSet ¶
func (v NullablePostgresVersionList) IsSet() bool
func (NullablePostgresVersionList) MarshalJSON ¶
func (v NullablePostgresVersionList) MarshalJSON() ([]byte, error)
func (*NullablePostgresVersionList) Set ¶
func (v *NullablePostgresVersionList) Set(val *PostgresVersionList)
func (*NullablePostgresVersionList) UnmarshalJSON ¶
func (v *NullablePostgresVersionList) UnmarshalJSON(src []byte) error
func (*NullablePostgresVersionList) Unset ¶
func (v *NullablePostgresVersionList) Unset()
type NullablePostgresVersionListData ¶
type NullablePostgresVersionListData struct {
// contains filtered or unexported fields
}
func NewNullablePostgresVersionListData ¶
func NewNullablePostgresVersionListData(val *PostgresVersionListData) *NullablePostgresVersionListData
func (NullablePostgresVersionListData) Get ¶
func (v NullablePostgresVersionListData) Get() *PostgresVersionListData
func (NullablePostgresVersionListData) IsSet ¶
func (v NullablePostgresVersionListData) IsSet() bool
func (NullablePostgresVersionListData) MarshalJSON ¶
func (v NullablePostgresVersionListData) MarshalJSON() ([]byte, error)
func (*NullablePostgresVersionListData) Set ¶
func (v *NullablePostgresVersionListData) Set(val *PostgresVersionListData)
func (*NullablePostgresVersionListData) UnmarshalJSON ¶
func (v *NullablePostgresVersionListData) UnmarshalJSON(src []byte) error
func (*NullablePostgresVersionListData) Unset ¶
func (v *NullablePostgresVersionListData) Unset()
type NullableResource ¶ added in v1.1.2
type NullableResource struct {
// contains filtered or unexported fields
}
func NewNullableResource ¶ added in v1.1.2
func NewNullableResource(val *Resource) *NullableResource
func (NullableResource) Get ¶ added in v1.1.2
func (v NullableResource) Get() *Resource
func (NullableResource) IsSet ¶ added in v1.1.2
func (v NullableResource) IsSet() bool
func (NullableResource) MarshalJSON ¶ added in v1.1.2
func (v NullableResource) MarshalJSON() ([]byte, error)
func (*NullableResource) Set ¶ added in v1.1.2
func (v *NullableResource) Set(val *Resource)
func (*NullableResource) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableResource) UnmarshalJSON(src []byte) error
func (*NullableResource) Unset ¶ added in v1.1.2
func (v *NullableResource) Unset()
type NullableResourceMetadata ¶ added in v1.1.2
type NullableResourceMetadata struct {
// contains filtered or unexported fields
}
func NewNullableResourceMetadata ¶ added in v1.1.2
func NewNullableResourceMetadata(val *ResourceMetadata) *NullableResourceMetadata
func (NullableResourceMetadata) Get ¶ added in v1.1.2
func (v NullableResourceMetadata) Get() *ResourceMetadata
func (NullableResourceMetadata) IsSet ¶ added in v1.1.2
func (v NullableResourceMetadata) IsSet() bool
func (NullableResourceMetadata) MarshalJSON ¶ added in v1.1.2
func (v NullableResourceMetadata) MarshalJSON() ([]byte, error)
func (*NullableResourceMetadata) Set ¶ added in v1.1.2
func (v *NullableResourceMetadata) Set(val *ResourceMetadata)
func (*NullableResourceMetadata) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableResourceMetadata) UnmarshalJSON(src []byte) error
func (*NullableResourceMetadata) Unset ¶ added in v1.1.2
func (v *NullableResourceMetadata) Unset()
type NullableResourceType ¶
type NullableResourceType struct {
// contains filtered or unexported fields
}
func NewNullableResourceType ¶
func NewNullableResourceType(val *ResourceType) *NullableResourceType
func (NullableResourceType) Get ¶
func (v NullableResourceType) Get() *ResourceType
func (NullableResourceType) IsSet ¶
func (v NullableResourceType) IsSet() bool
func (NullableResourceType) MarshalJSON ¶
func (v NullableResourceType) MarshalJSON() ([]byte, error)
func (*NullableResourceType) Set ¶
func (v *NullableResourceType) Set(val *ResourceType)
func (*NullableResourceType) UnmarshalJSON ¶
func (v *NullableResourceType) UnmarshalJSON(src []byte) error
func (*NullableResourceType) Unset ¶
func (v *NullableResourceType) 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 NullableStorageType ¶
type NullableStorageType struct {
// contains filtered or unexported fields
}
func NewNullableStorageType ¶
func NewNullableStorageType(val *StorageType) *NullableStorageType
func (NullableStorageType) Get ¶
func (v NullableStorageType) Get() *StorageType
func (NullableStorageType) IsSet ¶
func (v NullableStorageType) IsSet() bool
func (NullableStorageType) MarshalJSON ¶
func (v NullableStorageType) MarshalJSON() ([]byte, error)
func (*NullableStorageType) Set ¶
func (v *NullableStorageType) Set(val *StorageType)
func (*NullableStorageType) UnmarshalJSON ¶
func (v *NullableStorageType) UnmarshalJSON(src []byte) error
func (*NullableStorageType) Unset ¶
func (v *NullableStorageType) 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 NullableSynchronizationMode ¶
type NullableSynchronizationMode struct {
// contains filtered or unexported fields
}
func NewNullableSynchronizationMode ¶
func NewNullableSynchronizationMode(val *SynchronizationMode) *NullableSynchronizationMode
func (NullableSynchronizationMode) Get ¶
func (v NullableSynchronizationMode) Get() *SynchronizationMode
func (NullableSynchronizationMode) IsSet ¶
func (v NullableSynchronizationMode) IsSet() bool
func (NullableSynchronizationMode) MarshalJSON ¶
func (v NullableSynchronizationMode) MarshalJSON() ([]byte, error)
func (*NullableSynchronizationMode) Set ¶
func (v *NullableSynchronizationMode) Set(val *SynchronizationMode)
func (*NullableSynchronizationMode) UnmarshalJSON ¶
func (v *NullableSynchronizationMode) UnmarshalJSON(src []byte) error
func (*NullableSynchronizationMode) Unset ¶
func (v *NullableSynchronizationMode) 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 NullableUser ¶ added in v1.1.2
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶ added in v1.1.2
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶ added in v1.1.2
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶ added in v1.1.2
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶ added in v1.1.2
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶ added in v1.1.2
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶ added in v1.1.2
func (v *NullableUser) Unset()
type NullableUserItems ¶ added in v1.1.2
type NullableUserItems struct {
// contains filtered or unexported fields
}
func NewNullableUserItems ¶ added in v1.1.2
func NewNullableUserItems(val *UserItems) *NullableUserItems
func (NullableUserItems) Get ¶ added in v1.1.2
func (v NullableUserItems) Get() *UserItems
func (NullableUserItems) IsSet ¶ added in v1.1.2
func (v NullableUserItems) IsSet() bool
func (NullableUserItems) MarshalJSON ¶ added in v1.1.2
func (v NullableUserItems) MarshalJSON() ([]byte, error)
func (*NullableUserItems) Set ¶ added in v1.1.2
func (v *NullableUserItems) Set(val *UserItems)
func (*NullableUserItems) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableUserItems) UnmarshalJSON(src []byte) error
func (*NullableUserItems) Unset ¶ added in v1.1.2
func (v *NullableUserItems) Unset()
type NullableUserList ¶ added in v1.1.2
type NullableUserList struct {
// contains filtered or unexported fields
}
func NewNullableUserList ¶ added in v1.1.2
func NewNullableUserList(val *UserList) *NullableUserList
func (NullableUserList) Get ¶ added in v1.1.2
func (v NullableUserList) Get() *UserList
func (NullableUserList) IsSet ¶ added in v1.1.2
func (v NullableUserList) IsSet() bool
func (NullableUserList) MarshalJSON ¶ added in v1.1.2
func (v NullableUserList) MarshalJSON() ([]byte, error)
func (*NullableUserList) Set ¶ added in v1.1.2
func (v *NullableUserList) Set(val *UserList)
func (*NullableUserList) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableUserList) UnmarshalJSON(src []byte) error
func (*NullableUserList) Unset ¶ added in v1.1.2
func (v *NullableUserList) Unset()
type NullableUserProperties ¶ added in v1.1.2
type NullableUserProperties struct {
// contains filtered or unexported fields
}
func NewNullableUserProperties ¶ added in v1.1.2
func NewNullableUserProperties(val *UserProperties) *NullableUserProperties
func (NullableUserProperties) Get ¶ added in v1.1.2
func (v NullableUserProperties) Get() *UserProperties
func (NullableUserProperties) IsSet ¶ added in v1.1.2
func (v NullableUserProperties) IsSet() bool
func (NullableUserProperties) MarshalJSON ¶ added in v1.1.2
func (v NullableUserProperties) MarshalJSON() ([]byte, error)
func (*NullableUserProperties) Set ¶ added in v1.1.2
func (v *NullableUserProperties) Set(val *UserProperties)
func (*NullableUserProperties) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableUserProperties) UnmarshalJSON(src []byte) error
func (*NullableUserProperties) Unset ¶ added in v1.1.2
func (v *NullableUserProperties) Unset()
type NullableUserResource ¶ added in v1.1.2
type NullableUserResource struct {
// contains filtered or unexported fields
}
func NewNullableUserResource ¶ added in v1.1.2
func NewNullableUserResource(val *UserResource) *NullableUserResource
func (NullableUserResource) Get ¶ added in v1.1.2
func (v NullableUserResource) Get() *UserResource
func (NullableUserResource) IsSet ¶ added in v1.1.2
func (v NullableUserResource) IsSet() bool
func (NullableUserResource) MarshalJSON ¶ added in v1.1.2
func (v NullableUserResource) MarshalJSON() ([]byte, error)
func (*NullableUserResource) Set ¶ added in v1.1.2
func (v *NullableUserResource) Set(val *UserResource)
func (*NullableUserResource) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableUserResource) UnmarshalJSON(src []byte) error
func (*NullableUserResource) Unset ¶ added in v1.1.2
func (v *NullableUserResource) Unset()
type NullableUsersPatchRequest ¶ added in v1.1.2
type NullableUsersPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableUsersPatchRequest ¶ added in v1.1.2
func NewNullableUsersPatchRequest(val *UsersPatchRequest) *NullableUsersPatchRequest
func (NullableUsersPatchRequest) Get ¶ added in v1.1.2
func (v NullableUsersPatchRequest) Get() *UsersPatchRequest
func (NullableUsersPatchRequest) IsSet ¶ added in v1.1.2
func (v NullableUsersPatchRequest) IsSet() bool
func (NullableUsersPatchRequest) MarshalJSON ¶ added in v1.1.2
func (v NullableUsersPatchRequest) MarshalJSON() ([]byte, error)
func (*NullableUsersPatchRequest) Set ¶ added in v1.1.2
func (v *NullableUsersPatchRequest) Set(val *UsersPatchRequest)
func (*NullableUsersPatchRequest) UnmarshalJSON ¶ added in v1.1.2
func (v *NullableUsersPatchRequest) UnmarshalJSON(src []byte) error
func (*NullableUsersPatchRequest) Unset ¶ added in v1.1.2
func (v *NullableUsersPatchRequest) 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"` Links *PaginationLinks `json:"_links,omitempty"` }
Pagination Pagination information in list responses.
func NewPagination ¶ added in v1.0.2
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 ¶ added in v1.0.2
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) 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) 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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 ¶
type PatchClusterProperties struct { // The number of CPU cores per instance. Cores *int32 `json:"cores,omitempty"` // The amount of memory per instance in megabytes. Has to be a multiple of 1024. Ram *int32 `json:"ram,omitempty"` // The amount of storage per instance in megabytes. StorageSize *int32 `json:"storageSize,omitempty"` Connections *[]Connection `json:"connections,omitempty"` // The friendly name of your cluster. DisplayName *string `json:"displayName,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` // The PostgreSQL version of your cluster. PostgresVersion *string `json:"postgresVersion,omitempty"` // The total number of instances in the cluster (one master and n-1 standbys). Instances *int32 `json:"instances,omitempty"` ConnectionPooler *ConnectionPooler `json:"connectionPooler,omitempty"` }
PatchClusterProperties Properties of the payload to change a cluster.
func NewPatchClusterProperties ¶ added in v1.0.2
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.0.2
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) GetConnectionPooler ¶ added in v1.1.3
func (o *PatchClusterProperties) GetConnectionPooler() *ConnectionPooler
GetConnectionPooler returns the ConnectionPooler field value If the value is explicit nil, the zero value for ConnectionPooler will be returned
func (*PatchClusterProperties) GetConnectionPoolerOk ¶ added in v1.1.3
func (o *PatchClusterProperties) GetConnectionPoolerOk() (*ConnectionPooler, bool)
GetConnectionPoolerOk returns a tuple with the ConnectionPooler 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) GetConnections ¶
func (o *PatchClusterProperties) GetConnections() *[]Connection
GetConnections returns the Connections field value If the value is explicit nil, the zero value for []Connection will be returned
func (*PatchClusterProperties) GetConnectionsOk ¶
func (o *PatchClusterProperties) 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 (*PatchClusterProperties) GetCores ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) GetPostgresVersion ¶
func (o *PatchClusterProperties) GetPostgresVersion() *string
GetPostgresVersion returns the PostgresVersion field value If the value is explicit nil, the zero value for string will be returned
func (*PatchClusterProperties) GetPostgresVersionOk ¶
func (o *PatchClusterProperties) GetPostgresVersionOk() (*string, bool)
GetPostgresVersionOk returns a tuple with the PostgresVersion 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 ¶
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 ¶
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 ¶
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 ¶
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) HasConnectionPooler ¶ added in v1.1.3
func (o *PatchClusterProperties) HasConnectionPooler() bool
HasConnectionPooler returns a boolean if a field has been set.
func (*PatchClusterProperties) HasConnections ¶
func (o *PatchClusterProperties) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (*PatchClusterProperties) HasCores ¶
func (o *PatchClusterProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*PatchClusterProperties) HasDisplayName ¶
func (o *PatchClusterProperties) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*PatchClusterProperties) HasInstances ¶
func (o *PatchClusterProperties) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (*PatchClusterProperties) HasMaintenanceWindow ¶
func (o *PatchClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*PatchClusterProperties) HasPostgresVersion ¶
func (o *PatchClusterProperties) HasPostgresVersion() bool
HasPostgresVersion returns a boolean if a field has been set.
func (*PatchClusterProperties) HasRam ¶
func (o *PatchClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*PatchClusterProperties) HasStorageSize ¶
func (o *PatchClusterProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (PatchClusterProperties) MarshalJSON ¶
func (o PatchClusterProperties) MarshalJSON() ([]byte, error)
func (*PatchClusterProperties) SetConnectionPooler ¶ added in v1.1.3
func (o *PatchClusterProperties) SetConnectionPooler(v ConnectionPooler)
SetConnectionPooler sets field value
func (*PatchClusterProperties) SetConnections ¶
func (o *PatchClusterProperties) SetConnections(v []Connection)
SetConnections sets field value
func (*PatchClusterProperties) SetCores ¶
func (o *PatchClusterProperties) SetCores(v int32)
SetCores sets field value
func (*PatchClusterProperties) SetDisplayName ¶
func (o *PatchClusterProperties) SetDisplayName(v string)
SetDisplayName sets field value
func (*PatchClusterProperties) SetInstances ¶
func (o *PatchClusterProperties) SetInstances(v int32)
SetInstances sets field value
func (*PatchClusterProperties) SetMaintenanceWindow ¶
func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*PatchClusterProperties) SetPostgresVersion ¶
func (o *PatchClusterProperties) SetPostgresVersion(v string)
SetPostgresVersion sets field value
func (*PatchClusterProperties) SetRam ¶
func (o *PatchClusterProperties) SetRam(v int32)
SetRam sets field value
func (*PatchClusterProperties) SetStorageSize ¶
func (o *PatchClusterProperties) SetStorageSize(v int32)
SetStorageSize sets field value
type PatchClusterRequest ¶
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.0.2
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.0.2
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *PatchClusterRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*PatchClusterRequest) HasProperties ¶
func (o *PatchClusterRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (PatchClusterRequest) MarshalJSON ¶
func (o PatchClusterRequest) MarshalJSON() ([]byte, error)
func (*PatchClusterRequest) SetMetadata ¶
func (o *PatchClusterRequest) SetMetadata(v ClusterMetadata)
SetMetadata sets field value
func (*PatchClusterRequest) SetProperties ¶
func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
SetProperties sets field value
type PatchUserProperties ¶ added in v1.1.2
type PatchUserProperties struct { // The password of a given user. Password *string `json:"password,omitempty"` }
PatchUserProperties struct for PatchUserProperties
func NewPatchUserProperties ¶ added in v1.1.2
func NewPatchUserProperties() *PatchUserProperties
NewPatchUserProperties instantiates a new PatchUserProperties 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 NewPatchUserPropertiesWithDefaults ¶ added in v1.1.2
func NewPatchUserPropertiesWithDefaults() *PatchUserProperties
NewPatchUserPropertiesWithDefaults instantiates a new PatchUserProperties 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 (*PatchUserProperties) GetPassword ¶ added in v1.1.2
func (o *PatchUserProperties) GetPassword() *string
GetPassword returns the Password field value If the value is explicit nil, the zero value for string will be returned
func (*PatchUserProperties) GetPasswordOk ¶ added in v1.1.2
func (o *PatchUserProperties) GetPasswordOk() (*string, bool)
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 (*PatchUserProperties) HasPassword ¶ added in v1.1.2
func (o *PatchUserProperties) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (PatchUserProperties) MarshalJSON ¶ added in v1.1.2
func (o PatchUserProperties) MarshalJSON() ([]byte, error)
func (*PatchUserProperties) SetPassword ¶ added in v1.1.2
func (o *PatchUserProperties) SetPassword(v string)
SetPassword sets field value
type PoolMode ¶ added in v1.1.3
type PoolMode string
PoolMode Represents different modes of connection pooling for the connection pooler.
func (*PoolMode) UnmarshalJSON ¶ added in v1.1.3
type PostgresVersionList ¶
type PostgresVersionList struct {
Data *[]PostgresVersionListData `json:"data,omitempty"`
}
PostgresVersionList List of PostgreSQL versions.
func NewPostgresVersionList ¶ added in v1.0.2
func NewPostgresVersionList() *PostgresVersionList
NewPostgresVersionList instantiates a new PostgresVersionList 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 NewPostgresVersionListWithDefaults ¶ added in v1.0.2
func NewPostgresVersionListWithDefaults() *PostgresVersionList
NewPostgresVersionListWithDefaults instantiates a new PostgresVersionList 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 (*PostgresVersionList) GetData ¶
func (o *PostgresVersionList) GetData() *[]PostgresVersionListData
GetData returns the Data field value If the value is explicit nil, the zero value for []PostgresVersionListData will be returned
func (*PostgresVersionList) GetDataOk ¶
func (o *PostgresVersionList) GetDataOk() (*[]PostgresVersionListData, bool)
GetDataOk returns a tuple with the Data 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 (*PostgresVersionList) HasData ¶
func (o *PostgresVersionList) HasData() bool
HasData returns a boolean if a field has been set.
func (PostgresVersionList) MarshalJSON ¶
func (o PostgresVersionList) MarshalJSON() ([]byte, error)
func (*PostgresVersionList) SetData ¶
func (o *PostgresVersionList) SetData(v []PostgresVersionListData)
SetData sets field value
type PostgresVersionListData ¶
type PostgresVersionListData struct {
Name *string `json:"name,omitempty"`
}
PostgresVersionListData struct for PostgresVersionListData
func NewPostgresVersionListData ¶ added in v1.0.2
func NewPostgresVersionListData() *PostgresVersionListData
NewPostgresVersionListData instantiates a new PostgresVersionListData 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 NewPostgresVersionListDataWithDefaults ¶ added in v1.0.2
func NewPostgresVersionListDataWithDefaults() *PostgresVersionListData
NewPostgresVersionListDataWithDefaults instantiates a new PostgresVersionListData 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 (*PostgresVersionListData) GetName ¶
func (o *PostgresVersionListData) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*PostgresVersionListData) GetNameOk ¶
func (o *PostgresVersionListData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*PostgresVersionListData) HasName ¶
func (o *PostgresVersionListData) HasName() bool
HasName returns a boolean if a field has been set.
func (PostgresVersionListData) MarshalJSON ¶
func (o PostgresVersionListData) MarshalJSON() ([]byte, error)
func (*PostgresVersionListData) SetName ¶
func (o *PostgresVersionListData) SetName(v string)
SetName sets field value
type Resource ¶ added in v1.1.2
type Resource struct { Type *ResourceType `json:"type"` // The unique ID of the resource. Id *string `json:"id"` // Absolute URL of the resource. Href *string `json:"href"` }
Resource struct for Resource
func NewResource ¶ added in v1.1.2
func NewResource(type_ ResourceType, id string, href string) *Resource
NewResource instantiates a new Resource 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 NewResourceWithDefaults ¶ added in v1.1.2
func NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource 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 (*Resource) GetHref ¶ added in v1.1.2
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*Resource) GetHrefOk ¶ added in v1.1.2
GetHrefOk returns a tuple with the Href 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 (*Resource) GetId ¶ added in v1.1.2
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*Resource) GetIdOk ¶ added in v1.1.2
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 (*Resource) GetType ¶ added in v1.1.2
func (o *Resource) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*Resource) GetTypeOk ¶ added in v1.1.2
func (o *Resource) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (Resource) MarshalJSON ¶ added in v1.1.2
func (*Resource) SetType ¶ added in v1.1.2
func (o *Resource) SetType(v ResourceType)
SetType sets field value
type ResourceMetadata ¶ added in v1.1.2
type ResourceMetadata struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
ResourceMetadata struct for ResourceMetadata
func NewResourceMetadata ¶ added in v1.1.2
func NewResourceMetadata() *ResourceMetadata
NewResourceMetadata instantiates a new ResourceMetadata 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 NewResourceMetadataWithDefaults ¶ added in v1.1.2
func NewResourceMetadataWithDefaults() *ResourceMetadata
NewResourceMetadataWithDefaults instantiates a new ResourceMetadata 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 (*ResourceMetadata) GetMetadata ¶ added in v1.1.2
func (o *ResourceMetadata) GetMetadata() *Metadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*ResourceMetadata) GetMetadataOk ¶ added in v1.1.2
func (o *ResourceMetadata) GetMetadataOk() (*Metadata, 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 (*ResourceMetadata) HasMetadata ¶ added in v1.1.2
func (o *ResourceMetadata) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (ResourceMetadata) MarshalJSON ¶ added in v1.1.2
func (o ResourceMetadata) MarshalJSON() ([]byte, error)
func (*ResourceMetadata) SetMetadata ¶ added in v1.1.2
func (o *ResourceMetadata) SetMetadata(v Metadata)
SetMetadata sets field value
type ResourceType ¶
type ResourceType string
ResourceType The type of the resource.
const ( COLLECTION ResourceType = "collection" CLUSTER ResourceType = "cluster" BACKUP ResourceType = "backup" USER ResourceType = "user" DATABASE ResourceType = "database" )
List of ResourceType
func (ResourceType) Ptr ¶
func (v ResourceType) Ptr() *ResourceType
Ptr returns reference to ResourceType value
func (*ResourceType) UnmarshalJSON ¶
func (v *ResourceType) UnmarshalJSON(src []byte) error
type RestoresApiService ¶
type RestoresApiService service
RestoresApiService RestoresApi service
func (*RestoresApiService) ClusterRestorePost ¶
func (a *RestoresApiService) ClusterRestorePost(ctx _context.Context, clusterId string) ApiClusterRestorePostRequest
* ClusterRestorePost In-place restore of a cluster * Triggers an in-place restore of the given PostgreSQL. * @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 ApiClusterRestorePostRequest
func (*RestoresApiService) ClusterRestorePostExecute ¶
func (a *RestoresApiService) ClusterRestorePostExecute(r ApiClusterRestorePostRequest) (*APIResponse, error)
* Execute executes the request
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 ( AVAILABLE State = "AVAILABLE" BUSY State = "BUSY" DESTROYING State = "DESTROYING" DEGRADED State = "DEGRADED" FAILED State = "FAILED" UNKNOWN State = "UNKNOWN" )
List of State
func (*State) UnmarshalJSON ¶
type StorageType ¶
type StorageType string
StorageType The storage type used in your cluster. (Value \"SSD\" is deprecated. Use the equivalent \"SSD Premium\" instead)
const ( HDD StorageType = "HDD" SSD StorageType = "SSD" SSD_STANDARD StorageType = "SSD Standard" SSD_PREMIUM StorageType = "SSD Premium" )
List of StorageType
func (StorageType) Ptr ¶
func (v StorageType) Ptr() *StorageType
Ptr returns reference to StorageType value
func (*StorageType) UnmarshalJSON ¶
func (v *StorageType) UnmarshalJSON(src []byte) error
type SynchronizationMode ¶
type SynchronizationMode string
SynchronizationMode Represents different modes of replication.
const ( ASYNCHRONOUS SynchronizationMode = "ASYNCHRONOUS" SYNCHRONOUS SynchronizationMode = "SYNCHRONOUS" STRICTLY_SYNCHRONOUS SynchronizationMode = "STRICTLY_SYNCHRONOUS" )
List of SynchronizationMode
func (SynchronizationMode) Ptr ¶
func (v SynchronizationMode) Ptr() *SynchronizationMode
Ptr returns reference to SynchronizationMode value
func (*SynchronizationMode) UnmarshalJSON ¶
func (v *SynchronizationMode) UnmarshalJSON(src []byte) error
type User ¶ added in v1.1.2
type User struct {
Properties *UserProperties `json:"properties"`
}
User struct for User
func NewUser ¶ added in v1.1.2
func NewUser(properties UserProperties) *User
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶ added in v1.1.2
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetProperties ¶ added in v1.1.2
func (o *User) GetProperties() *UserProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for UserProperties will be returned
func (*User) GetPropertiesOk ¶ added in v1.1.2
func (o *User) GetPropertiesOk() (*UserProperties, 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 (*User) HasProperties ¶ added in v1.1.2
HasProperties returns a boolean if a field has been set.
func (User) MarshalJSON ¶ added in v1.1.2
func (*User) SetProperties ¶ added in v1.1.2
func (o *User) SetProperties(v UserProperties)
SetProperties sets field value
type UserItems ¶ added in v1.1.2
type UserItems struct {
Items *[]UserResource `json:"items"`
}
UserItems struct for UserItems
func NewUserItems ¶ added in v1.1.2
func NewUserItems(items []UserResource) *UserItems
NewUserItems instantiates a new UserItems 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 NewUserItemsWithDefaults ¶ added in v1.1.2
func NewUserItemsWithDefaults() *UserItems
NewUserItemsWithDefaults instantiates a new UserItems 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 (*UserItems) GetItems ¶ added in v1.1.2
func (o *UserItems) GetItems() *[]UserResource
GetItems returns the Items field value If the value is explicit nil, the zero value for []UserResource will be returned
func (*UserItems) GetItemsOk ¶ added in v1.1.2
func (o *UserItems) GetItemsOk() (*[]UserResource, 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 (UserItems) MarshalJSON ¶ added in v1.1.2
func (*UserItems) SetItems ¶ added in v1.1.2
func (o *UserItems) SetItems(v []UserResource)
SetItems sets field value
type UserList ¶ added in v1.1.2
type UserList 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"` Links *PaginationLinks `json:"_links,omitempty"` Type *ResourceType `json:"type"` // The unique ID of the resource. Id *string `json:"id"` // Absolute URL of the resource. Href *string `json:"href"` Items *[]UserResource `json:"items"` }
UserList struct for UserList
func NewUserList ¶ added in v1.1.2
func NewUserList(type_ ResourceType, id string, href string, items []UserResource) *UserList
NewUserList instantiates a new UserList 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 NewUserListWithDefaults ¶ added in v1.1.2
func NewUserListWithDefaults() *UserList
NewUserListWithDefaults instantiates a new UserList 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 (*UserList) GetHref ¶ added in v1.1.2
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*UserList) GetHrefOk ¶ added in v1.1.2
GetHrefOk returns a tuple with the Href 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 (*UserList) GetId ¶ added in v1.1.2
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*UserList) GetIdOk ¶ added in v1.1.2
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 (*UserList) GetItems ¶ added in v1.1.2
func (o *UserList) GetItems() *[]UserResource
GetItems returns the Items field value If the value is explicit nil, the zero value for []UserResource will be returned
func (*UserList) GetItemsOk ¶ added in v1.1.2
func (o *UserList) GetItemsOk() (*[]UserResource, 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 (*UserList) GetLimit ¶ added in v1.1.2
GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned
func (*UserList) GetLimitOk ¶ added in v1.1.2
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 (*UserList) GetLinks ¶ added in v1.1.2
func (o *UserList) GetLinks() *PaginationLinks
GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned
func (*UserList) GetLinksOk ¶ added in v1.1.2
func (o *UserList) 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 (*UserList) GetOffset ¶ added in v1.1.2
GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned
func (*UserList) GetOffsetOk ¶ added in v1.1.2
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 (*UserList) GetType ¶ added in v1.1.2
func (o *UserList) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*UserList) GetTypeOk ¶ added in v1.1.2
func (o *UserList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (UserList) MarshalJSON ¶ added in v1.1.2
func (*UserList) SetItems ¶ added in v1.1.2
func (o *UserList) SetItems(v []UserResource)
SetItems sets field value
func (*UserList) SetLinks ¶ added in v1.1.2
func (o *UserList) SetLinks(v PaginationLinks)
SetLinks sets field value
func (*UserList) SetType ¶ added in v1.1.2
func (o *UserList) SetType(v ResourceType)
SetType sets field value
type UserProperties ¶ added in v1.1.2
type UserProperties struct { // The username of a given user. Username *string `json:"username"` // The password of a given user. Password *string `json:"password,omitempty"` // Describes whether this user is a system user or not. A system user cannot be updated or deleted. System *bool `json:"system,omitempty"` }
UserProperties struct for UserProperties
func NewUserProperties ¶ added in v1.1.2
func NewUserProperties(username string) *UserProperties
NewUserProperties instantiates a new UserProperties 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 NewUserPropertiesWithDefaults ¶ added in v1.1.2
func NewUserPropertiesWithDefaults() *UserProperties
NewUserPropertiesWithDefaults instantiates a new UserProperties 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 (*UserProperties) GetPassword ¶ added in v1.1.2
func (o *UserProperties) GetPassword() *string
GetPassword returns the Password field value If the value is explicit nil, the zero value for string will be returned
func (*UserProperties) GetPasswordOk ¶ added in v1.1.2
func (o *UserProperties) GetPasswordOk() (*string, bool)
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 (*UserProperties) GetSystem ¶ added in v1.1.2
func (o *UserProperties) GetSystem() *bool
GetSystem returns the System field value If the value is explicit nil, the zero value for bool will be returned
func (*UserProperties) GetSystemOk ¶ added in v1.1.2
func (o *UserProperties) GetSystemOk() (*bool, bool)
GetSystemOk returns a tuple with the System 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 (*UserProperties) GetUsername ¶ added in v1.1.2
func (o *UserProperties) GetUsername() *string
GetUsername returns the Username field value If the value is explicit nil, the zero value for string will be returned
func (*UserProperties) GetUsernameOk ¶ added in v1.1.2
func (o *UserProperties) GetUsernameOk() (*string, bool)
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 (*UserProperties) HasPassword ¶ added in v1.1.2
func (o *UserProperties) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*UserProperties) HasSystem ¶ added in v1.1.2
func (o *UserProperties) HasSystem() bool
HasSystem returns a boolean if a field has been set.
func (*UserProperties) HasUsername ¶ added in v1.1.2
func (o *UserProperties) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (UserProperties) MarshalJSON ¶ added in v1.1.2
func (o UserProperties) MarshalJSON() ([]byte, error)
func (*UserProperties) SetPassword ¶ added in v1.1.2
func (o *UserProperties) SetPassword(v string)
SetPassword sets field value
func (*UserProperties) SetSystem ¶ added in v1.1.2
func (o *UserProperties) SetSystem(v bool)
SetSystem sets field value
func (*UserProperties) SetUsername ¶ added in v1.1.2
func (o *UserProperties) SetUsername(v string)
SetUsername sets field value
type UserResource ¶ added in v1.1.2
type UserResource struct { Type *ResourceType `json:"type"` // The unique ID of the resource. Id *string `json:"id"` // Absolute URL of the resource. Href *string `json:"href"` Metadata *Metadata `json:"metadata,omitempty"` Properties *UserProperties `json:"properties"` }
UserResource struct for UserResource
func NewUserResource ¶ added in v1.1.2
func NewUserResource(type_ ResourceType, id string, href string, properties UserProperties) *UserResource
NewUserResource instantiates a new UserResource 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 NewUserResourceWithDefaults ¶ added in v1.1.2
func NewUserResourceWithDefaults() *UserResource
NewUserResourceWithDefaults instantiates a new UserResource 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 (*UserResource) GetHref ¶ added in v1.1.2
func (o *UserResource) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*UserResource) GetHrefOk ¶ added in v1.1.2
func (o *UserResource) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href 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 (*UserResource) GetId ¶ added in v1.1.2
func (o *UserResource) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*UserResource) GetIdOk ¶ added in v1.1.2
func (o *UserResource) 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 (*UserResource) GetMetadata ¶ added in v1.1.2
func (o *UserResource) GetMetadata() *Metadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*UserResource) GetMetadataOk ¶ added in v1.1.2
func (o *UserResource) GetMetadataOk() (*Metadata, 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 (*UserResource) GetProperties ¶ added in v1.1.2
func (o *UserResource) GetProperties() *UserProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for UserProperties will be returned
func (*UserResource) GetPropertiesOk ¶ added in v1.1.2
func (o *UserResource) GetPropertiesOk() (*UserProperties, 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 (*UserResource) GetType ¶ added in v1.1.2
func (o *UserResource) GetType() *ResourceType
GetType returns the Type field value If the value is explicit nil, the zero value for ResourceType will be returned
func (*UserResource) GetTypeOk ¶ added in v1.1.2
func (o *UserResource) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type 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 (*UserResource) HasHref ¶ added in v1.1.2
func (o *UserResource) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*UserResource) HasId ¶ added in v1.1.2
func (o *UserResource) HasId() bool
HasId returns a boolean if a field has been set.
func (*UserResource) HasMetadata ¶ added in v1.1.2
func (o *UserResource) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*UserResource) HasProperties ¶ added in v1.1.2
func (o *UserResource) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*UserResource) HasType ¶ added in v1.1.2
func (o *UserResource) HasType() bool
HasType returns a boolean if a field has been set.
func (UserResource) MarshalJSON ¶ added in v1.1.2
func (o UserResource) MarshalJSON() ([]byte, error)
func (*UserResource) SetHref ¶ added in v1.1.2
func (o *UserResource) SetHref(v string)
SetHref sets field value
func (*UserResource) SetId ¶ added in v1.1.2
func (o *UserResource) SetId(v string)
SetId sets field value
func (*UserResource) SetMetadata ¶ added in v1.1.2
func (o *UserResource) SetMetadata(v Metadata)
SetMetadata sets field value
func (*UserResource) SetProperties ¶ added in v1.1.2
func (o *UserResource) SetProperties(v UserProperties)
SetProperties sets field value
func (*UserResource) SetType ¶ added in v1.1.2
func (o *UserResource) SetType(v ResourceType)
SetType sets field value
type UsersApiService ¶ added in v1.1.2
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) UsersDelete ¶ added in v1.1.2
func (a *UsersApiService) UsersDelete(ctx _context.Context, clusterId string, username string) ApiUsersDeleteRequest
* UsersDelete Delete user * Deletes a single user * @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. * @param username The authentication username. * @return ApiUsersDeleteRequest
func (*UsersApiService) UsersDeleteExecute ¶ added in v1.1.2
func (a *UsersApiService) UsersDeleteExecute(r ApiUsersDeleteRequest) (*APIResponse, error)
* Execute executes the request
func (*UsersApiService) UsersGet ¶ added in v1.1.2
func (a *UsersApiService) UsersGet(ctx _context.Context, clusterId string, username string) ApiUsersGetRequest
* UsersGet Get user * Retrieves a single user * @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. * @param username The authentication username. * @return ApiUsersGetRequest
func (*UsersApiService) UsersGetExecute ¶ added in v1.1.2
func (a *UsersApiService) UsersGetExecute(r ApiUsersGetRequest) (UserResource, *APIResponse, error)
* Execute executes the request * @return UserResource
func (*UsersApiService) UsersList ¶ added in v1.1.2
func (a *UsersApiService) UsersList(ctx _context.Context, clusterId string) ApiUsersListRequest
* UsersList List users * Retrieves a list of users * @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 ApiUsersListRequest
func (*UsersApiService) UsersListExecute ¶ added in v1.1.2
func (a *UsersApiService) UsersListExecute(r ApiUsersListRequest) (UserList, *APIResponse, error)
* Execute executes the request * @return UserList
func (*UsersApiService) UsersPatch ¶ added in v1.1.2
func (a *UsersApiService) UsersPatch(ctx _context.Context, clusterId string, username string) ApiUsersPatchRequest
* UsersPatch Patch user * Patches a single user. Only changing the password is supported. System users cannot be patched. * @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. * @param username The authentication username. * @return ApiUsersPatchRequest
func (*UsersApiService) UsersPatchExecute ¶ added in v1.1.2
func (a *UsersApiService) UsersPatchExecute(r ApiUsersPatchRequest) (UserResource, *APIResponse, error)
* Execute executes the request * @return UserResource
func (*UsersApiService) UsersPost ¶ added in v1.1.2
func (a *UsersApiService) UsersPost(ctx _context.Context, clusterId string) ApiUsersPostRequest
* UsersPost Create a user * Create a new Postgres User * @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 ApiUsersPostRequest
func (*UsersApiService) UsersPostExecute ¶ added in v1.1.2
func (a *UsersApiService) UsersPostExecute(r ApiUsersPostRequest) (UserResource, *APIResponse, error)
* Execute executes the request * @return UserResource
type UsersPatchRequest ¶ added in v1.1.2
type UsersPatchRequest struct {
Properties *PatchUserProperties `json:"properties"`
}
UsersPatchRequest struct for UsersPatchRequest
func NewUsersPatchRequest ¶ added in v1.1.2
func NewUsersPatchRequest(properties PatchUserProperties) *UsersPatchRequest
NewUsersPatchRequest instantiates a new UsersPatchRequest 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 NewUsersPatchRequestWithDefaults ¶ added in v1.1.2
func NewUsersPatchRequestWithDefaults() *UsersPatchRequest
NewUsersPatchRequestWithDefaults instantiates a new UsersPatchRequest 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 (*UsersPatchRequest) GetProperties ¶ added in v1.1.2
func (o *UsersPatchRequest) GetProperties() *PatchUserProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchUserProperties will be returned
func (*UsersPatchRequest) GetPropertiesOk ¶ added in v1.1.2
func (o *UsersPatchRequest) GetPropertiesOk() (*PatchUserProperties, 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 (*UsersPatchRequest) HasProperties ¶ added in v1.1.2
func (o *UsersPatchRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (UsersPatchRequest) MarshalJSON ¶ added in v1.1.2
func (o UsersPatchRequest) MarshalJSON() ([]byte, error)
func (*UsersPatchRequest) SetProperties ¶ added in v1.1.2
func (o *UsersPatchRequest) SetProperties(v PatchUserProperties)
SetProperties sets field value
Source Files ¶
- api_backups.go
- api_clusters.go
- api_databases.go
- api_logs.go
- api_metadata.go
- api_restores.go
- api_users.go
- client.go
- configuration.go
- logger.go
- model_api_version.go
- model_backup_metadata.go
- model_backup_response.go
- model_cluster_backup.go
- model_cluster_backup_list.go
- model_cluster_backup_list_all_of.go
- model_cluster_list.go
- model_cluster_list_all_of.go
- model_cluster_logs.go
- model_cluster_logs_instances.go
- model_cluster_logs_instances_messages.go
- model_cluster_metadata.go
- model_cluster_properties.go
- model_cluster_response.go
- model_connection.go
- model_connection_pooler.go
- model_create_cluster_properties.go
- model_create_cluster_request.go
- model_create_restore_request.go
- model_database.go
- model_database_items.go
- model_database_list.go
- model_database_properties.go
- model_database_resource.go
- model_day_of_the_week.go
- model_db_user.go
- model_deprecated_pagination.go
- model_error_message.go
- model_error_response.go
- model_maintenance_window.go
- model_metadata.go
- model_pagination.go
- model_pagination_links.go
- model_patch_cluster_properties.go
- model_patch_cluster_request.go
- model_patch_user_properties.go
- model_pool_mode.go
- model_postgres_version_list.go
- model_postgres_version_list_data.go
- model_resource.go
- model_resource_metadata.go
- model_resource_type.go
- model_state.go
- model_storage_type.go
- model_synchronization_mode.go
- model_user.go
- model_user_items.go
- model_user_list.go
- model_user_properties.go
- model_user_resource.go
- model_users_patch_request.go
- response.go
- utils.go