Documentation ¶
Index ¶
- Constants
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)
- func IsNil(i interface{}) bool
- func IsZero(v interface{}) bool
- type APIClient
- 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) SetName(v string)
- func (o *APIVersion) SetSwaggerUrl(v string)
- func (o APIVersion) ToMap() (map[string]interface{}, error)
- type ApiClustersDeleteRequest
- type ApiClustersFindByIdRequest
- type ApiClustersGetRequest
- func (r ApiClustersGetRequest) Execute() (ClusterList, *shared.APIResponse, error)
- func (r ApiClustersGetRequest) FilterName(filterName string) ApiClustersGetRequest
- func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
- func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
- type ApiClustersLogsGetRequest
- func (r ApiClustersLogsGetRequest) Direction(direction string) ApiClustersLogsGetRequest
- func (r ApiClustersLogsGetRequest) End(end time.Time) ApiClustersLogsGetRequest
- func (r ApiClustersLogsGetRequest) Execute() (ClusterLogs, *shared.APIResponse, error)
- func (r ApiClustersLogsGetRequest) Limit(limit int32) ApiClustersLogsGetRequest
- func (r ApiClustersLogsGetRequest) Start(start time.Time) ApiClustersLogsGetRequest
- type ApiClustersPatchRequest
- type ApiClustersPostRequest
- type ApiClustersRestorePostRequest
- type ApiClustersSnapshotsGetRequest
- type ApiClustersUsersDeleteRequest
- type ApiClustersUsersFindByIdRequest
- type ApiClustersUsersGetRequest
- type ApiClustersUsersPatchRequest
- type ApiClustersUsersPostRequest
- type ApiInfosVersionGetRequest
- type ApiInfosVersionsGetRequest
- type ApiTemplatesGetRequest
- type BackupProperties
- func (o *BackupProperties) GetBackupRetention() BackupRetentionProperties
- func (o *BackupProperties) GetBackupRetentionOk() (*BackupRetentionProperties, bool)
- func (o *BackupProperties) GetLocation() string
- func (o *BackupProperties) GetLocationOk() (*string, bool)
- func (o *BackupProperties) GetPointInTimeWindowHours() int32
- func (o *BackupProperties) GetPointInTimeWindowHoursOk() (*int32, bool)
- func (o *BackupProperties) GetSnapshotIntervalHours() int32
- func (o *BackupProperties) GetSnapshotIntervalHoursOk() (*int32, bool)
- func (o *BackupProperties) HasBackupRetention() bool
- func (o *BackupProperties) HasLocation() bool
- func (o *BackupProperties) HasPointInTimeWindowHours() bool
- func (o *BackupProperties) HasSnapshotIntervalHours() bool
- func (o *BackupProperties) SetBackupRetention(v BackupRetentionProperties)
- func (o *BackupProperties) SetLocation(v string)
- func (o *BackupProperties) SetPointInTimeWindowHours(v int32)
- func (o *BackupProperties) SetSnapshotIntervalHours(v int32)
- func (o BackupProperties) ToMap() (map[string]interface{}, error)
- type BackupRetentionProperties
- func (o *BackupRetentionProperties) GetDailySnapshotRetentionDays() int32
- func (o *BackupRetentionProperties) GetDailySnapshotRetentionDaysOk() (*int32, bool)
- func (o *BackupRetentionProperties) GetMonthlySnapshotRetentionMonths() int32
- func (o *BackupRetentionProperties) GetMonthlySnapshotRetentionMonthsOk() (*int32, bool)
- func (o *BackupRetentionProperties) GetSnapshotRetentionDays() int32
- func (o *BackupRetentionProperties) GetSnapshotRetentionDaysOk() (*int32, bool)
- func (o *BackupRetentionProperties) GetWeeklySnapshotRetentionWeeks() int32
- func (o *BackupRetentionProperties) GetWeeklySnapshotRetentionWeeksOk() (*int32, bool)
- func (o *BackupRetentionProperties) HasDailySnapshotRetentionDays() bool
- func (o *BackupRetentionProperties) HasMonthlySnapshotRetentionMonths() bool
- func (o *BackupRetentionProperties) HasSnapshotRetentionDays() bool
- func (o *BackupRetentionProperties) HasWeeklySnapshotRetentionWeeks() bool
- func (o *BackupRetentionProperties) SetDailySnapshotRetentionDays(v int32)
- func (o *BackupRetentionProperties) SetMonthlySnapshotRetentionMonths(v int32)
- func (o *BackupRetentionProperties) SetSnapshotRetentionDays(v int32)
- func (o *BackupRetentionProperties) SetWeeklySnapshotRetentionWeeks(v int32)
- func (o BackupRetentionProperties) ToMap() (map[string]interface{}, error)
- type BiConnectorProperties
- func (o *BiConnectorProperties) GetEnabled() bool
- func (o *BiConnectorProperties) GetEnabledOk() (*bool, bool)
- func (o *BiConnectorProperties) GetHost() string
- func (o *BiConnectorProperties) GetHostOk() (*string, bool)
- func (o *BiConnectorProperties) GetPort() string
- func (o *BiConnectorProperties) GetPortOk() (*string, bool)
- func (o *BiConnectorProperties) HasEnabled() bool
- func (o *BiConnectorProperties) HasHost() bool
- func (o *BiConnectorProperties) HasPort() bool
- func (o *BiConnectorProperties) SetEnabled(v bool)
- func (o *BiConnectorProperties) SetHost(v string)
- func (o *BiConnectorProperties) SetPort(v string)
- func (o BiConnectorProperties) ToMap() (map[string]interface{}, error)
- 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) 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)
- func (o ClusterList) ToMap() (map[string]interface{}, error)
- 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) SetId(v string)
- func (o *ClusterListAllOf) SetItems(v []ClusterResponse)
- func (o *ClusterListAllOf) SetType(v ResourceType)
- func (o ClusterListAllOf) ToMap() (map[string]interface{}, error)
- 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) SetMessages(v []ClusterLogsInstancesMessages)
- func (o *ClusterLogsInstances) SetName(v string)
- func (o ClusterLogsInstances) ToMap() (map[string]interface{}, error)
- 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) SetMessage(v string)
- func (o *ClusterLogsInstancesMessages) SetTime(v time.Time)
- func (o ClusterLogsInstancesMessages) ToMap() (map[string]interface{}, error)
- type ClusterProperties
- func (o *ClusterProperties) GetBackup() BackupProperties
- func (o *ClusterProperties) GetBackupOk() (*BackupProperties, bool)
- func (o *ClusterProperties) GetBiConnector() BiConnectorProperties
- func (o *ClusterProperties) GetBiConnectorOk() (*BiConnectorProperties, bool)
- func (o *ClusterProperties) GetConnectionString() string
- func (o *ClusterProperties) GetConnectionStringOk() (*string, 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) GetEdition() string
- func (o *ClusterProperties) GetEditionOk() (*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) GetMongoDBVersion() string
- func (o *ClusterProperties) GetMongoDBVersionOk() (*string, bool)
- func (o *ClusterProperties) GetRam() int32
- func (o *ClusterProperties) GetRamOk() (*int32, bool)
- func (o *ClusterProperties) GetShards() int32
- func (o *ClusterProperties) GetShardsOk() (*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) GetTemplateID() string
- func (o *ClusterProperties) GetTemplateIDOk() (*string, bool)
- func (o *ClusterProperties) GetType() string
- func (o *ClusterProperties) GetTypeOk() (*string, bool)
- func (o *ClusterProperties) HasBackup() bool
- func (o *ClusterProperties) HasBiConnector() bool
- func (o *ClusterProperties) HasConnectionString() bool
- func (o *ClusterProperties) HasConnections() bool
- func (o *ClusterProperties) HasCores() bool
- func (o *ClusterProperties) HasDisplayName() bool
- func (o *ClusterProperties) HasEdition() bool
- func (o *ClusterProperties) HasInstances() bool
- func (o *ClusterProperties) HasLocation() bool
- func (o *ClusterProperties) HasMaintenanceWindow() bool
- func (o *ClusterProperties) HasMongoDBVersion() bool
- func (o *ClusterProperties) HasRam() bool
- func (o *ClusterProperties) HasShards() bool
- func (o *ClusterProperties) HasStorageSize() bool
- func (o *ClusterProperties) HasStorageType() bool
- func (o *ClusterProperties) HasTemplateID() bool
- func (o *ClusterProperties) HasType() bool
- func (o *ClusterProperties) SetBackup(v BackupProperties)
- func (o *ClusterProperties) SetBiConnector(v BiConnectorProperties)
- func (o *ClusterProperties) SetConnectionString(v string)
- func (o *ClusterProperties) SetConnections(v []Connection)
- func (o *ClusterProperties) SetCores(v int32)
- func (o *ClusterProperties) SetDisplayName(v string)
- func (o *ClusterProperties) SetEdition(v string)
- func (o *ClusterProperties) SetInstances(v int32)
- func (o *ClusterProperties) SetLocation(v string)
- func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *ClusterProperties) SetMongoDBVersion(v string)
- func (o *ClusterProperties) SetRam(v int32)
- func (o *ClusterProperties) SetShards(v int32)
- func (o *ClusterProperties) SetStorageSize(v int32)
- func (o *ClusterProperties) SetStorageType(v StorageType)
- func (o *ClusterProperties) SetTemplateID(v string)
- func (o *ClusterProperties) SetType(v string)
- func (o ClusterProperties) ToMap() (map[string]interface{}, error)
- type ClusterResponse
- func (o *ClusterResponse) GetId() string
- func (o *ClusterResponse) GetIdOk() (*string, bool)
- func (o *ClusterResponse) GetMetadata() Metadata
- func (o *ClusterResponse) GetMetadataOk() (*Metadata, 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) SetId(v string)
- func (o *ClusterResponse) SetMetadata(v Metadata)
- func (o *ClusterResponse) SetProperties(v ClusterProperties)
- func (o *ClusterResponse) SetType(v ResourceType)
- func (o ClusterResponse) ToMap() (map[string]interface{}, error)
- type ClustersApiService
- func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
- func (a *ClustersApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (ClusterResponse, *shared.APIResponse, error)
- func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
- func (a *ClustersApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterResponse, *shared.APIResponse, error)
- func (a *ClustersApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
- func (a *ClustersApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterList, *shared.APIResponse, error)
- func (a *ClustersApiService) ClustersPatch(ctx _context.Context, clusterId string) ApiClustersPatchRequest
- func (a *ClustersApiService) ClustersPatchExecute(r ApiClustersPatchRequest) (ClusterResponse, *shared.APIResponse, error)
- func (a *ClustersApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
- func (a *ClustersApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterResponse, *shared.APIResponse, error)
- type Connection
- func (o *Connection) GetCidrList() []string
- func (o *Connection) GetCidrListOk() ([]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) GetWhitelist() []string
- func (o *Connection) GetWhitelistOk() ([]string, bool)
- func (o *Connection) HasWhitelist() bool
- func (o *Connection) SetCidrList(v []string)
- func (o *Connection) SetDatacenterId(v string)
- func (o *Connection) SetLanId(v string)
- func (o *Connection) SetWhitelist(v []string)
- func (o Connection) ToMap() (map[string]interface{}, error)
- type CreateClusterProperties
- func (o *CreateClusterProperties) GetBackup() BackupProperties
- func (o *CreateClusterProperties) GetBackupOk() (*BackupProperties, bool)
- func (o *CreateClusterProperties) GetBiConnector() BiConnectorProperties
- func (o *CreateClusterProperties) GetBiConnectorOk() (*BiConnectorProperties, 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) GetDisplayName() string
- func (o *CreateClusterProperties) GetDisplayNameOk() (*string, bool)
- func (o *CreateClusterProperties) GetEdition() string
- func (o *CreateClusterProperties) GetEditionOk() (*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) GetMongoDBVersion() string
- func (o *CreateClusterProperties) GetMongoDBVersionOk() (*string, bool)
- func (o *CreateClusterProperties) GetRam() int32
- func (o *CreateClusterProperties) GetRamOk() (*int32, bool)
- func (o *CreateClusterProperties) GetShards() int32
- func (o *CreateClusterProperties) GetShardsOk() (*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) GetTemplateID() string
- func (o *CreateClusterProperties) GetTemplateIDOk() (*string, bool)
- func (o *CreateClusterProperties) GetType() string
- func (o *CreateClusterProperties) GetTypeOk() (*string, bool)
- func (o *CreateClusterProperties) HasBackup() bool
- func (o *CreateClusterProperties) HasBiConnector() bool
- func (o *CreateClusterProperties) HasCores() bool
- func (o *CreateClusterProperties) HasEdition() bool
- func (o *CreateClusterProperties) HasFromBackup() bool
- func (o *CreateClusterProperties) HasMaintenanceWindow() bool
- func (o *CreateClusterProperties) HasMongoDBVersion() bool
- func (o *CreateClusterProperties) HasRam() bool
- func (o *CreateClusterProperties) HasShards() bool
- func (o *CreateClusterProperties) HasStorageSize() bool
- func (o *CreateClusterProperties) HasStorageType() bool
- func (o *CreateClusterProperties) HasTemplateID() bool
- func (o *CreateClusterProperties) HasType() bool
- func (o *CreateClusterProperties) SetBackup(v BackupProperties)
- func (o *CreateClusterProperties) SetBiConnector(v BiConnectorProperties)
- func (o *CreateClusterProperties) SetConnections(v []Connection)
- func (o *CreateClusterProperties) SetCores(v int32)
- func (o *CreateClusterProperties) SetDisplayName(v string)
- func (o *CreateClusterProperties) SetEdition(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) SetMongoDBVersion(v string)
- func (o *CreateClusterProperties) SetRam(v int32)
- func (o *CreateClusterProperties) SetShards(v int32)
- func (o *CreateClusterProperties) SetStorageSize(v int32)
- func (o *CreateClusterProperties) SetStorageType(v StorageType)
- func (o *CreateClusterProperties) SetTemplateID(v string)
- func (o *CreateClusterProperties) SetType(v string)
- func (o CreateClusterProperties) ToMap() (map[string]interface{}, error)
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetMetadata() Metadata
- func (o *CreateClusterRequest) GetMetadataOk() (*Metadata, 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) SetMetadata(v Metadata)
- func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
- func (o CreateClusterRequest) ToMap() (map[string]interface{}, error)
- type CreateRestoreRequest
- func (o *CreateRestoreRequest) GetRecoveryTargetTime() time.Time
- func (o *CreateRestoreRequest) GetRecoveryTargetTimeOk() (*time.Time, bool)
- func (o *CreateRestoreRequest) GetSnapshotId() string
- func (o *CreateRestoreRequest) GetSnapshotIdOk() (*string, bool)
- func (o *CreateRestoreRequest) HasRecoveryTargetTime() bool
- func (o *CreateRestoreRequest) HasSnapshotId() bool
- func (o *CreateRestoreRequest) SetRecoveryTargetTime(v time.Time)
- func (o *CreateRestoreRequest) SetSnapshotId(v string)
- func (o CreateRestoreRequest) ToMap() (map[string]interface{}, error)
- type DayOfTheWeek
- type ErrorMessage
- func (o *ErrorMessage) GetErrorCode() string
- func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessage) GetMessage() string
- func (o *ErrorMessage) GetMessageOk() (*string, bool)
- func (o *ErrorMessage) HasErrorCode() bool
- func (o *ErrorMessage) HasMessage() bool
- func (o *ErrorMessage) SetErrorCode(v string)
- func (o *ErrorMessage) SetMessage(v string)
- func (o ErrorMessage) ToMap() (map[string]interface{}, error)
- 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) SetHttpStatus(v int32)
- func (o *ErrorResponse) SetMessages(v []ErrorMessage)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type Health
- type IonosTime
- 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) SetDayOfTheWeek(v DayOfTheWeek)
- func (o *MaintenanceWindow) SetTime(v string)
- func (o MaintenanceWindow) ToMap() (map[string]interface{}, error)
- type MappedNullable
- 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) GetHealth() Health
- func (o *Metadata) GetHealthOk() (*Health, 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) GetState() State
- func (o *Metadata) GetStateOk() (*State, bool)
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasHealth() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasState() bool
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetHealth(v Health)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetState(v State)
- func (o Metadata) ToMap() (map[string]interface{}, error)
- type MetadataApiService
- func (a *MetadataApiService) InfosVersionGet(ctx _context.Context) ApiInfosVersionGetRequest
- func (a *MetadataApiService) InfosVersionGetExecute(r ApiInfosVersionGetRequest) (APIVersion, *shared.APIResponse, error)
- func (a *MetadataApiService) InfosVersionsGet(ctx _context.Context) ApiInfosVersionsGetRequest
- func (a *MetadataApiService) InfosVersionsGetExecute(r ApiInfosVersionsGetRequest) ([]APIVersion, *shared.APIResponse, error)
- type NullableAPIVersion
- type NullableBackupProperties
- func (v NullableBackupProperties) Get() *BackupProperties
- func (v NullableBackupProperties) IsSet() bool
- func (v NullableBackupProperties) MarshalJSON() ([]byte, error)
- func (v *NullableBackupProperties) Set(val *BackupProperties)
- func (v *NullableBackupProperties) UnmarshalJSON(src []byte) error
- func (v *NullableBackupProperties) Unset()
- type NullableBackupRetentionProperties
- func (v NullableBackupRetentionProperties) Get() *BackupRetentionProperties
- func (v NullableBackupRetentionProperties) IsSet() bool
- func (v NullableBackupRetentionProperties) MarshalJSON() ([]byte, error)
- func (v *NullableBackupRetentionProperties) Set(val *BackupRetentionProperties)
- func (v *NullableBackupRetentionProperties) UnmarshalJSON(src []byte) error
- func (v *NullableBackupRetentionProperties) Unset()
- type NullableBiConnectorProperties
- func (v NullableBiConnectorProperties) Get() *BiConnectorProperties
- func (v NullableBiConnectorProperties) IsSet() bool
- func (v NullableBiConnectorProperties) MarshalJSON() ([]byte, error)
- func (v *NullableBiConnectorProperties) Set(val *BiConnectorProperties)
- func (v *NullableBiConnectorProperties) UnmarshalJSON(src []byte) error
- func (v *NullableBiConnectorProperties) Unset()
- type NullableBool
- type NullableClusterList
- func (v NullableClusterList) Get() *ClusterList
- func (v NullableClusterList) IsSet() bool
- func (v NullableClusterList) MarshalJSON() ([]byte, error)
- func (v *NullableClusterList) Set(val *ClusterList)
- func (v *NullableClusterList) UnmarshalJSON(src []byte) error
- func (v *NullableClusterList) Unset()
- type NullableClusterListAllOf
- func (v NullableClusterListAllOf) Get() *ClusterListAllOf
- func (v NullableClusterListAllOf) IsSet() bool
- func (v NullableClusterListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableClusterListAllOf) Set(val *ClusterListAllOf)
- func (v *NullableClusterListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableClusterListAllOf) Unset()
- type 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 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 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 NullableDayOfTheWeek
- func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
- func (v NullableDayOfTheWeek) IsSet() bool
- func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
- func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
- func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
- func (v *NullableDayOfTheWeek) Unset()
- type NullableErrorMessage
- func (v NullableErrorMessage) Get() *ErrorMessage
- func (v NullableErrorMessage) IsSet() bool
- func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessage) Set(val *ErrorMessage)
- func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessage) Unset()
- type 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 NullableHealth
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIonosTime
- 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 NullablePatchUserRequest
- func (v NullablePatchUserRequest) Get() *PatchUserRequest
- func (v NullablePatchUserRequest) IsSet() bool
- func (v NullablePatchUserRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchUserRequest) Set(val *PatchUserRequest)
- func (v *NullablePatchUserRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchUserRequest) 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 NullableSnapshotList
- func (v NullableSnapshotList) Get() *SnapshotList
- func (v NullableSnapshotList) IsSet() bool
- func (v NullableSnapshotList) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotList) Set(val *SnapshotList)
- func (v *NullableSnapshotList) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotList) Unset()
- type NullableSnapshotListAllOf
- func (v NullableSnapshotListAllOf) Get() *SnapshotListAllOf
- func (v NullableSnapshotListAllOf) IsSet() bool
- func (v NullableSnapshotListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotListAllOf) Set(val *SnapshotListAllOf)
- func (v *NullableSnapshotListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotListAllOf) Unset()
- type NullableSnapshotProperties
- func (v NullableSnapshotProperties) Get() *SnapshotProperties
- func (v NullableSnapshotProperties) IsSet() bool
- func (v NullableSnapshotProperties) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotProperties) Set(val *SnapshotProperties)
- func (v *NullableSnapshotProperties) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotProperties) Unset()
- type NullableSnapshotResponse
- func (v NullableSnapshotResponse) Get() *SnapshotResponse
- func (v NullableSnapshotResponse) IsSet() bool
- func (v NullableSnapshotResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSnapshotResponse) Set(val *SnapshotResponse)
- func (v *NullableSnapshotResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSnapshotResponse) 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 NullableTemplateList
- func (v NullableTemplateList) Get() *TemplateList
- func (v NullableTemplateList) IsSet() bool
- func (v NullableTemplateList) MarshalJSON() ([]byte, error)
- func (v *NullableTemplateList) Set(val *TemplateList)
- func (v *NullableTemplateList) UnmarshalJSON(src []byte) error
- func (v *NullableTemplateList) Unset()
- type NullableTemplateListAllOf
- func (v NullableTemplateListAllOf) Get() *TemplateListAllOf
- func (v NullableTemplateListAllOf) IsSet() bool
- func (v NullableTemplateListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableTemplateListAllOf) Set(val *TemplateListAllOf)
- func (v *NullableTemplateListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableTemplateListAllOf) Unset()
- type NullableTemplateProperties
- func (v NullableTemplateProperties) Get() *TemplateProperties
- func (v NullableTemplateProperties) IsSet() bool
- func (v NullableTemplateProperties) MarshalJSON() ([]byte, error)
- func (v *NullableTemplateProperties) Set(val *TemplateProperties)
- func (v *NullableTemplateProperties) UnmarshalJSON(src []byte) error
- func (v *NullableTemplateProperties) Unset()
- type NullableTemplateResponse
- func (v NullableTemplateResponse) Get() *TemplateResponse
- func (v NullableTemplateResponse) IsSet() bool
- func (v NullableTemplateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTemplateResponse) Set(val *TemplateResponse)
- func (v *NullableTemplateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTemplateResponse) Unset()
- type NullableTime
- type NullableUser
- type NullableUserMetadata
- func (v NullableUserMetadata) Get() *UserMetadata
- func (v NullableUserMetadata) IsSet() bool
- func (v NullableUserMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableUserMetadata) Set(val *UserMetadata)
- func (v *NullableUserMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableUserMetadata) Unset()
- 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 NullableUserRoles
- type NullableUsersList
- 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) SetLimit(v int32)
- func (o *Pagination) SetLinks(v PaginationLinks)
- func (o *Pagination) SetOffset(v int32)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- 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) SetNext(v string)
- func (o *PaginationLinks) SetPrev(v string)
- func (o *PaginationLinks) SetSelf(v string)
- func (o PaginationLinks) ToMap() (map[string]interface{}, error)
- type PatchClusterProperties
- func (o *PatchClusterProperties) GetBackup() BackupProperties
- func (o *PatchClusterProperties) GetBackupOk() (*BackupProperties, bool)
- func (o *PatchClusterProperties) GetBiConnector() BiConnectorProperties
- func (o *PatchClusterProperties) GetBiConnectorOk() (*BiConnectorProperties, 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) GetEdition() string
- func (o *PatchClusterProperties) GetEditionOk() (*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) GetRam() int32
- func (o *PatchClusterProperties) GetRamOk() (*int32, bool)
- func (o *PatchClusterProperties) GetShards() int32
- func (o *PatchClusterProperties) GetShardsOk() (*int32, bool)
- func (o *PatchClusterProperties) GetStorageSize() int32
- func (o *PatchClusterProperties) GetStorageSizeOk() (*int32, bool)
- func (o *PatchClusterProperties) GetStorageType() StorageType
- func (o *PatchClusterProperties) GetStorageTypeOk() (*StorageType, bool)
- func (o *PatchClusterProperties) GetTemplateID() string
- func (o *PatchClusterProperties) GetTemplateIDOk() (*string, bool)
- func (o *PatchClusterProperties) GetType() string
- func (o *PatchClusterProperties) GetTypeOk() (*string, bool)
- func (o *PatchClusterProperties) HasBackup() bool
- func (o *PatchClusterProperties) HasBiConnector() bool
- func (o *PatchClusterProperties) HasConnections() bool
- func (o *PatchClusterProperties) HasCores() bool
- func (o *PatchClusterProperties) HasDisplayName() bool
- func (o *PatchClusterProperties) HasEdition() bool
- func (o *PatchClusterProperties) HasInstances() bool
- func (o *PatchClusterProperties) HasMaintenanceWindow() bool
- func (o *PatchClusterProperties) HasRam() bool
- func (o *PatchClusterProperties) HasShards() bool
- func (o *PatchClusterProperties) HasStorageSize() bool
- func (o *PatchClusterProperties) HasStorageType() bool
- func (o *PatchClusterProperties) HasTemplateID() bool
- func (o *PatchClusterProperties) HasType() bool
- func (o *PatchClusterProperties) SetBackup(v BackupProperties)
- func (o *PatchClusterProperties) SetBiConnector(v BiConnectorProperties)
- func (o *PatchClusterProperties) SetConnections(v []Connection)
- func (o *PatchClusterProperties) SetCores(v int32)
- func (o *PatchClusterProperties) SetDisplayName(v string)
- func (o *PatchClusterProperties) SetEdition(v string)
- func (o *PatchClusterProperties) SetInstances(v int32)
- func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *PatchClusterProperties) SetRam(v int32)
- func (o *PatchClusterProperties) SetShards(v int32)
- func (o *PatchClusterProperties) SetStorageSize(v int32)
- func (o *PatchClusterProperties) SetStorageType(v StorageType)
- func (o *PatchClusterProperties) SetTemplateID(v string)
- func (o *PatchClusterProperties) SetType(v string)
- func (o PatchClusterProperties) ToMap() (map[string]interface{}, error)
- type PatchClusterRequest
- func (o *PatchClusterRequest) GetMetadata() Metadata
- func (o *PatchClusterRequest) GetMetadataOk() (*Metadata, 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) SetMetadata(v Metadata)
- func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
- func (o PatchClusterRequest) ToMap() (map[string]interface{}, error)
- type PatchUserProperties
- func (o *PatchUserProperties) GetPassword() string
- func (o *PatchUserProperties) GetPasswordOk() (*string, bool)
- func (o *PatchUserProperties) GetRoles() []UserRoles
- func (o *PatchUserProperties) GetRolesOk() ([]UserRoles, bool)
- func (o *PatchUserProperties) HasPassword() bool
- func (o *PatchUserProperties) HasRoles() bool
- func (o *PatchUserProperties) SetPassword(v string)
- func (o *PatchUserProperties) SetRoles(v []UserRoles)
- func (o PatchUserProperties) ToMap() (map[string]interface{}, error)
- type PatchUserRequest
- func (o *PatchUserRequest) GetMetadata() UserMetadata
- func (o *PatchUserRequest) GetMetadataOk() (*UserMetadata, bool)
- func (o *PatchUserRequest) GetProperties() PatchUserProperties
- func (o *PatchUserRequest) GetPropertiesOk() (*PatchUserProperties, bool)
- func (o *PatchUserRequest) HasMetadata() bool
- func (o *PatchUserRequest) HasProperties() bool
- func (o *PatchUserRequest) SetMetadata(v UserMetadata)
- func (o *PatchUserRequest) SetProperties(v PatchUserProperties)
- func (o PatchUserRequest) ToMap() (map[string]interface{}, error)
- type ResourceType
- type RestoresApiService
- type SnapshotList
- func (o *SnapshotList) GetId() string
- func (o *SnapshotList) GetIdOk() (*string, bool)
- func (o *SnapshotList) GetItems() []SnapshotResponse
- func (o *SnapshotList) GetItemsOk() ([]SnapshotResponse, bool)
- func (o *SnapshotList) GetLimit() int32
- func (o *SnapshotList) GetLimitOk() (*int32, bool)
- func (o *SnapshotList) GetLinks() PaginationLinks
- func (o *SnapshotList) GetLinksOk() (*PaginationLinks, bool)
- func (o *SnapshotList) GetOffset() int32
- func (o *SnapshotList) GetOffsetOk() (*int32, bool)
- func (o *SnapshotList) GetType() ResourceType
- func (o *SnapshotList) GetTypeOk() (*ResourceType, bool)
- func (o *SnapshotList) HasId() bool
- func (o *SnapshotList) HasItems() bool
- func (o *SnapshotList) HasLimit() bool
- func (o *SnapshotList) HasLinks() bool
- func (o *SnapshotList) HasOffset() bool
- func (o *SnapshotList) HasType() bool
- func (o *SnapshotList) SetId(v string)
- func (o *SnapshotList) SetItems(v []SnapshotResponse)
- func (o *SnapshotList) SetLimit(v int32)
- func (o *SnapshotList) SetLinks(v PaginationLinks)
- func (o *SnapshotList) SetOffset(v int32)
- func (o *SnapshotList) SetType(v ResourceType)
- func (o SnapshotList) ToMap() (map[string]interface{}, error)
- type SnapshotListAllOf
- func (o *SnapshotListAllOf) GetId() string
- func (o *SnapshotListAllOf) GetIdOk() (*string, bool)
- func (o *SnapshotListAllOf) GetItems() []SnapshotResponse
- func (o *SnapshotListAllOf) GetItemsOk() ([]SnapshotResponse, bool)
- func (o *SnapshotListAllOf) GetType() ResourceType
- func (o *SnapshotListAllOf) GetTypeOk() (*ResourceType, bool)
- func (o *SnapshotListAllOf) HasId() bool
- func (o *SnapshotListAllOf) HasItems() bool
- func (o *SnapshotListAllOf) HasType() bool
- func (o *SnapshotListAllOf) SetId(v string)
- func (o *SnapshotListAllOf) SetItems(v []SnapshotResponse)
- func (o *SnapshotListAllOf) SetType(v ResourceType)
- func (o SnapshotListAllOf) ToMap() (map[string]interface{}, error)
- type SnapshotProperties
- func (o *SnapshotProperties) GetCreationTime() time.Time
- func (o *SnapshotProperties) GetCreationTimeOk() (*time.Time, bool)
- func (o *SnapshotProperties) GetSize() int32
- func (o *SnapshotProperties) GetSizeOk() (*int32, bool)
- func (o *SnapshotProperties) GetVersion() string
- func (o *SnapshotProperties) GetVersionOk() (*string, bool)
- func (o *SnapshotProperties) HasCreationTime() bool
- func (o *SnapshotProperties) HasSize() bool
- func (o *SnapshotProperties) HasVersion() bool
- func (o *SnapshotProperties) SetCreationTime(v time.Time)
- func (o *SnapshotProperties) SetSize(v int32)
- func (o *SnapshotProperties) SetVersion(v string)
- func (o SnapshotProperties) ToMap() (map[string]interface{}, error)
- type SnapshotResponse
- func (o *SnapshotResponse) GetId() string
- func (o *SnapshotResponse) GetIdOk() (*string, bool)
- func (o *SnapshotResponse) GetProperties() SnapshotProperties
- func (o *SnapshotResponse) GetPropertiesOk() (*SnapshotProperties, bool)
- func (o *SnapshotResponse) GetType() ResourceType
- func (o *SnapshotResponse) GetTypeOk() (*ResourceType, bool)
- func (o *SnapshotResponse) HasId() bool
- func (o *SnapshotResponse) HasProperties() bool
- func (o *SnapshotResponse) HasType() bool
- func (o *SnapshotResponse) SetId(v string)
- func (o *SnapshotResponse) SetProperties(v SnapshotProperties)
- func (o *SnapshotResponse) SetType(v ResourceType)
- func (o SnapshotResponse) ToMap() (map[string]interface{}, error)
- type SnapshotsApiService
- type State
- type StorageType
- type TLSDial
- type TemplateList
- func (o *TemplateList) GetId() string
- func (o *TemplateList) GetIdOk() (*string, bool)
- func (o *TemplateList) GetItems() []TemplateResponse
- func (o *TemplateList) GetItemsOk() ([]TemplateResponse, bool)
- func (o *TemplateList) GetLimit() int32
- func (o *TemplateList) GetLimitOk() (*int32, bool)
- func (o *TemplateList) GetLinks() PaginationLinks
- func (o *TemplateList) GetLinksOk() (*PaginationLinks, bool)
- func (o *TemplateList) GetOffset() int32
- func (o *TemplateList) GetOffsetOk() (*int32, bool)
- func (o *TemplateList) GetType() ResourceType
- func (o *TemplateList) GetTypeOk() (*ResourceType, bool)
- func (o *TemplateList) HasId() bool
- func (o *TemplateList) HasItems() bool
- func (o *TemplateList) HasLimit() bool
- func (o *TemplateList) HasLinks() bool
- func (o *TemplateList) HasOffset() bool
- func (o *TemplateList) HasType() bool
- func (o *TemplateList) SetId(v string)
- func (o *TemplateList) SetItems(v []TemplateResponse)
- func (o *TemplateList) SetLimit(v int32)
- func (o *TemplateList) SetLinks(v PaginationLinks)
- func (o *TemplateList) SetOffset(v int32)
- func (o *TemplateList) SetType(v ResourceType)
- func (o TemplateList) ToMap() (map[string]interface{}, error)
- type TemplateListAllOf
- func (o *TemplateListAllOf) GetId() string
- func (o *TemplateListAllOf) GetIdOk() (*string, bool)
- func (o *TemplateListAllOf) GetItems() []TemplateResponse
- func (o *TemplateListAllOf) GetItemsOk() ([]TemplateResponse, bool)
- func (o *TemplateListAllOf) GetType() ResourceType
- func (o *TemplateListAllOf) GetTypeOk() (*ResourceType, bool)
- func (o *TemplateListAllOf) HasId() bool
- func (o *TemplateListAllOf) HasItems() bool
- func (o *TemplateListAllOf) HasType() bool
- func (o *TemplateListAllOf) SetId(v string)
- func (o *TemplateListAllOf) SetItems(v []TemplateResponse)
- func (o *TemplateListAllOf) SetType(v ResourceType)
- func (o TemplateListAllOf) ToMap() (map[string]interface{}, error)
- type TemplateProperties
- func (o *TemplateProperties) GetCores() int32
- func (o *TemplateProperties) GetCoresOk() (*int32, bool)
- func (o *TemplateProperties) GetEdition() string
- func (o *TemplateProperties) GetEditionOk() (*string, bool)
- func (o *TemplateProperties) GetName() string
- func (o *TemplateProperties) GetNameOk() (*string, bool)
- func (o *TemplateProperties) GetRam() int32
- func (o *TemplateProperties) GetRamOk() (*int32, bool)
- func (o *TemplateProperties) GetStorageSize() int32
- func (o *TemplateProperties) GetStorageSizeOk() (*int32, bool)
- func (o *TemplateProperties) HasCores() bool
- func (o *TemplateProperties) HasEdition() bool
- func (o *TemplateProperties) HasName() bool
- func (o *TemplateProperties) HasRam() bool
- func (o *TemplateProperties) HasStorageSize() bool
- func (o *TemplateProperties) SetCores(v int32)
- func (o *TemplateProperties) SetEdition(v string)
- func (o *TemplateProperties) SetName(v string)
- func (o *TemplateProperties) SetRam(v int32)
- func (o *TemplateProperties) SetStorageSize(v int32)
- func (o TemplateProperties) ToMap() (map[string]interface{}, error)
- type TemplateResponse
- func (o *TemplateResponse) GetId() string
- func (o *TemplateResponse) GetIdOk() (*string, bool)
- func (o *TemplateResponse) GetMetadata() Metadata
- func (o *TemplateResponse) GetMetadataOk() (*Metadata, bool)
- func (o *TemplateResponse) GetProperties() TemplateProperties
- func (o *TemplateResponse) GetPropertiesOk() (*TemplateProperties, bool)
- func (o *TemplateResponse) GetType() ResourceType
- func (o *TemplateResponse) GetTypeOk() (*ResourceType, bool)
- func (o *TemplateResponse) HasId() bool
- func (o *TemplateResponse) HasMetadata() bool
- func (o *TemplateResponse) HasProperties() bool
- func (o *TemplateResponse) HasType() bool
- func (o *TemplateResponse) SetId(v string)
- func (o *TemplateResponse) SetMetadata(v Metadata)
- func (o *TemplateResponse) SetProperties(v TemplateProperties)
- func (o *TemplateResponse) SetType(v ResourceType)
- func (o TemplateResponse) ToMap() (map[string]interface{}, error)
- type TemplatesApiService
- type User
- func (o *User) GetMetadata() UserMetadata
- func (o *User) GetMetadataOk() (*UserMetadata, bool)
- func (o *User) GetProperties() UserProperties
- func (o *User) GetPropertiesOk() (*UserProperties, bool)
- func (o *User) GetType() ResourceType
- func (o *User) GetTypeOk() (*ResourceType, bool)
- func (o *User) HasMetadata() bool
- func (o *User) HasProperties() bool
- func (o *User) HasType() bool
- func (o *User) SetMetadata(v UserMetadata)
- func (o *User) SetProperties(v UserProperties)
- func (o *User) SetType(v ResourceType)
- func (o User) ToMap() (map[string]interface{}, error)
- type UserMetadata
- func (o *UserMetadata) GetCreatedBy() string
- func (o *UserMetadata) GetCreatedByOk() (*string, bool)
- func (o *UserMetadata) GetCreatedByUserId() string
- func (o *UserMetadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *UserMetadata) GetCreatedDate() time.Time
- func (o *UserMetadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *UserMetadata) HasCreatedBy() bool
- func (o *UserMetadata) HasCreatedByUserId() bool
- func (o *UserMetadata) HasCreatedDate() bool
- func (o *UserMetadata) SetCreatedBy(v string)
- func (o *UserMetadata) SetCreatedByUserId(v string)
- func (o *UserMetadata) SetCreatedDate(v time.Time)
- func (o UserMetadata) ToMap() (map[string]interface{}, error)
- type UserProperties
- func (o *UserProperties) GetPassword() string
- func (o *UserProperties) GetPasswordOk() (*string, bool)
- func (o *UserProperties) GetRoles() []UserRoles
- func (o *UserProperties) GetRolesOk() ([]UserRoles, bool)
- func (o *UserProperties) GetUsername() string
- func (o *UserProperties) GetUsernameOk() (*string, bool)
- func (o *UserProperties) HasRoles() bool
- func (o *UserProperties) SetPassword(v string)
- func (o *UserProperties) SetRoles(v []UserRoles)
- func (o *UserProperties) SetUsername(v string)
- func (o UserProperties) ToMap() (map[string]interface{}, error)
- type UserRoles
- func (o *UserRoles) GetDatabase() string
- func (o *UserRoles) GetDatabaseOk() (*string, bool)
- func (o *UserRoles) GetRole() string
- func (o *UserRoles) GetRoleOk() (*string, bool)
- func (o *UserRoles) HasDatabase() bool
- func (o *UserRoles) HasRole() bool
- func (o *UserRoles) SetDatabase(v string)
- func (o *UserRoles) SetRole(v string)
- func (o UserRoles) ToMap() (map[string]interface{}, error)
- type UsersApiService
- func (a *UsersApiService) ClustersUsersDelete(ctx _context.Context, clusterId string, username string) ApiClustersUsersDeleteRequest
- func (a *UsersApiService) ClustersUsersDeleteExecute(r ApiClustersUsersDeleteRequest) (User, *shared.APIResponse, error)
- func (a *UsersApiService) ClustersUsersFindById(ctx _context.Context, clusterId string, username string) ApiClustersUsersFindByIdRequest
- func (a *UsersApiService) ClustersUsersFindByIdExecute(r ApiClustersUsersFindByIdRequest) (User, *shared.APIResponse, error)
- func (a *UsersApiService) ClustersUsersGet(ctx _context.Context, clusterId string) ApiClustersUsersGetRequest
- func (a *UsersApiService) ClustersUsersGetExecute(r ApiClustersUsersGetRequest) (UsersList, *shared.APIResponse, error)
- func (a *UsersApiService) ClustersUsersPatch(ctx _context.Context, clusterId string, username string) ApiClustersUsersPatchRequest
- func (a *UsersApiService) ClustersUsersPatchExecute(r ApiClustersUsersPatchRequest) (User, *shared.APIResponse, error)
- func (a *UsersApiService) ClustersUsersPost(ctx _context.Context, clusterId string) ApiClustersUsersPostRequest
- func (a *UsersApiService) ClustersUsersPostExecute(r ApiClustersUsersPostRequest) (User, *shared.APIResponse, error)
- type UsersList
- func (o *UsersList) GetId() string
- func (o *UsersList) GetIdOk() (*string, bool)
- func (o *UsersList) GetItems() []User
- func (o *UsersList) GetItemsOk() ([]User, bool)
- func (o *UsersList) GetType() ResourceType
- func (o *UsersList) GetTypeOk() (*ResourceType, bool)
- func (o *UsersList) HasId() bool
- func (o *UsersList) HasItems() bool
- func (o *UsersList) HasType() bool
- func (o *UsersList) SetId(v string)
- func (o *UsersList) SetItems(v []User)
- func (o *UsersList) SetType(v ResourceType)
- func (o UsersList) ToMap() (map[string]interface{}, error)
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "products/dbaas/mongo/v2.0.2" )
Variables ¶
This section is empty.
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func DeepCopy ¶ added in v2.0.2
func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)
Types ¶
type APIClient ¶
type APIClient struct { ClustersApi *ClustersApiService LogsApi *LogsApiService MetadataApi *MetadataApiService RestoresApi *RestoresApiService SnapshotsApi *SnapshotsApiService TemplatesApi *TemplatesApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS DBaaS MongoDB REST API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *shared.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() *shared.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 APIVersion ¶
type APIVersion struct { Name *string `json:"name,omitempty"` SwaggerUrl *string `json:"swaggerUrl,omitempty"` }
APIVersion struct for APIVersion
func NewAPIVersion ¶
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 ¶
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 set, zero value otherwise.
func (*APIVersion) GetNameOk ¶
func (o *APIVersion) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIVersion) GetSwaggerUrl ¶
func (o *APIVersion) GetSwaggerUrl() string
GetSwaggerUrl returns the SwaggerUrl field value if set, zero value otherwise.
func (*APIVersion) GetSwaggerUrlOk ¶
func (o *APIVersion) GetSwaggerUrlOk() (*string, bool)
GetSwaggerUrlOk returns a tuple with the SwaggerUrl field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetName ¶
func (o *APIVersion) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*APIVersion) SetSwaggerUrl ¶
func (o *APIVersion) SetSwaggerUrl(v string)
SetSwaggerUrl gets a reference to the given string and assigns it to the SwaggerUrl field.
func (APIVersion) ToMap ¶
func (o APIVersion) ToMap() (map[string]interface{}, error)
type ApiClustersDeleteRequest ¶
type ApiClustersDeleteRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersDeleteRequest) Execute ¶
func (r ApiClustersDeleteRequest) Execute() (ClusterResponse, *shared.APIResponse, error)
type ApiClustersFindByIdRequest ¶
type ApiClustersFindByIdRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersFindByIdRequest) Execute ¶
func (r ApiClustersFindByIdRequest) Execute() (ClusterResponse, *shared.APIResponse, error)
type ApiClustersGetRequest ¶
type ApiClustersGetRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersGetRequest) Execute ¶
func (r ApiClustersGetRequest) Execute() (ClusterList, *shared.APIResponse, error)
func (ApiClustersGetRequest) FilterName ¶
func (r ApiClustersGetRequest) FilterName(filterName string) ApiClustersGetRequest
func (ApiClustersGetRequest) Limit ¶
func (r ApiClustersGetRequest) Limit(limit int32) ApiClustersGetRequest
func (ApiClustersGetRequest) Offset ¶
func (r ApiClustersGetRequest) Offset(offset int32) ApiClustersGetRequest
type ApiClustersLogsGetRequest ¶
type ApiClustersLogsGetRequest struct { ApiService *LogsApiService // contains filtered or unexported fields }
func (ApiClustersLogsGetRequest) Direction ¶
func (r ApiClustersLogsGetRequest) Direction(direction string) ApiClustersLogsGetRequest
func (ApiClustersLogsGetRequest) End ¶
func (r ApiClustersLogsGetRequest) End(end time.Time) ApiClustersLogsGetRequest
func (ApiClustersLogsGetRequest) Execute ¶
func (r ApiClustersLogsGetRequest) Execute() (ClusterLogs, *shared.APIResponse, error)
func (ApiClustersLogsGetRequest) Limit ¶
func (r ApiClustersLogsGetRequest) Limit(limit int32) ApiClustersLogsGetRequest
func (ApiClustersLogsGetRequest) Start ¶
func (r ApiClustersLogsGetRequest) Start(start time.Time) ApiClustersLogsGetRequest
type ApiClustersPatchRequest ¶
type ApiClustersPatchRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiClustersPatchRequest) Execute ¶
func (r ApiClustersPatchRequest) Execute() (ClusterResponse, *shared.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, *shared.APIResponse, error)
type ApiClustersRestorePostRequest ¶
type ApiClustersRestorePostRequest struct { ApiService *RestoresApiService // contains filtered or unexported fields }
func (ApiClustersRestorePostRequest) CreateRestoreRequest ¶
func (r ApiClustersRestorePostRequest) CreateRestoreRequest(createRestoreRequest CreateRestoreRequest) ApiClustersRestorePostRequest
func (ApiClustersRestorePostRequest) Execute ¶
func (r ApiClustersRestorePostRequest) Execute() (*shared.APIResponse, error)
type ApiClustersSnapshotsGetRequest ¶
type ApiClustersSnapshotsGetRequest struct { ApiService *SnapshotsApiService // contains filtered or unexported fields }
func (ApiClustersSnapshotsGetRequest) Execute ¶
func (r ApiClustersSnapshotsGetRequest) Execute() (SnapshotList, *shared.APIResponse, error)
func (ApiClustersSnapshotsGetRequest) Limit ¶
func (r ApiClustersSnapshotsGetRequest) Limit(limit int32) ApiClustersSnapshotsGetRequest
func (ApiClustersSnapshotsGetRequest) Offset ¶
func (r ApiClustersSnapshotsGetRequest) Offset(offset int32) ApiClustersSnapshotsGetRequest
type ApiClustersUsersDeleteRequest ¶
type ApiClustersUsersDeleteRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiClustersUsersDeleteRequest) Execute ¶
func (r ApiClustersUsersDeleteRequest) Execute() (User, *shared.APIResponse, error)
type ApiClustersUsersFindByIdRequest ¶
type ApiClustersUsersFindByIdRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiClustersUsersFindByIdRequest) Execute ¶
func (r ApiClustersUsersFindByIdRequest) Execute() (User, *shared.APIResponse, error)
type ApiClustersUsersGetRequest ¶
type ApiClustersUsersGetRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiClustersUsersGetRequest) Execute ¶
func (r ApiClustersUsersGetRequest) Execute() (UsersList, *shared.APIResponse, error)
func (ApiClustersUsersGetRequest) Limit ¶
func (r ApiClustersUsersGetRequest) Limit(limit int32) ApiClustersUsersGetRequest
func (ApiClustersUsersGetRequest) Offset ¶
func (r ApiClustersUsersGetRequest) Offset(offset int32) ApiClustersUsersGetRequest
type ApiClustersUsersPatchRequest ¶
type ApiClustersUsersPatchRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiClustersUsersPatchRequest) Execute ¶
func (r ApiClustersUsersPatchRequest) Execute() (User, *shared.APIResponse, error)
func (ApiClustersUsersPatchRequest) PatchUserRequest ¶
func (r ApiClustersUsersPatchRequest) PatchUserRequest(patchUserRequest PatchUserRequest) ApiClustersUsersPatchRequest
type ApiClustersUsersPostRequest ¶
type ApiClustersUsersPostRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiClustersUsersPostRequest) Execute ¶
func (r ApiClustersUsersPostRequest) Execute() (User, *shared.APIResponse, error)
func (ApiClustersUsersPostRequest) User ¶
func (r ApiClustersUsersPostRequest) User(user User) ApiClustersUsersPostRequest
type ApiInfosVersionGetRequest ¶
type ApiInfosVersionGetRequest struct { ApiService *MetadataApiService // contains filtered or unexported fields }
func (ApiInfosVersionGetRequest) Execute ¶
func (r ApiInfosVersionGetRequest) Execute() (APIVersion, *shared.APIResponse, error)
type ApiInfosVersionsGetRequest ¶
type ApiInfosVersionsGetRequest struct { ApiService *MetadataApiService // contains filtered or unexported fields }
func (ApiInfosVersionsGetRequest) Execute ¶
func (r ApiInfosVersionsGetRequest) Execute() ([]APIVersion, *shared.APIResponse, error)
type ApiTemplatesGetRequest ¶
type ApiTemplatesGetRequest struct { ApiService *TemplatesApiService // contains filtered or unexported fields }
func (ApiTemplatesGetRequest) Execute ¶
func (r ApiTemplatesGetRequest) Execute() (TemplateList, *shared.APIResponse, error)
func (ApiTemplatesGetRequest) Limit ¶
func (r ApiTemplatesGetRequest) Limit(limit int32) ApiTemplatesGetRequest
func (ApiTemplatesGetRequest) Offset ¶
func (r ApiTemplatesGetRequest) Offset(offset int32) ApiTemplatesGetRequest
type BackupProperties ¶
type BackupProperties struct { // Number of hours between snapshots. SnapshotIntervalHours *int32 `json:"snapshotIntervalHours,omitempty"` // Number of hours in the past for which a point-in-time snapshot can be created. PointInTimeWindowHours *int32 `json:"pointInTimeWindowHours,omitempty"` BackupRetention *BackupRetentionProperties `json:"backupRetention,omitempty"` // The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Location *string `json:"location,omitempty"` }
BackupProperties Backup related properties.
func NewBackupProperties ¶
func NewBackupProperties() *BackupProperties
NewBackupProperties instantiates a new BackupProperties 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 NewBackupPropertiesWithDefaults ¶
func NewBackupPropertiesWithDefaults() *BackupProperties
NewBackupPropertiesWithDefaults instantiates a new BackupProperties 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 (*BackupProperties) GetBackupRetention ¶
func (o *BackupProperties) GetBackupRetention() BackupRetentionProperties
GetBackupRetention returns the BackupRetention field value if set, zero value otherwise.
func (*BackupProperties) GetBackupRetentionOk ¶
func (o *BackupProperties) GetBackupRetentionOk() (*BackupRetentionProperties, bool)
GetBackupRetentionOk returns a tuple with the BackupRetention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupProperties) GetLocation ¶
func (o *BackupProperties) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*BackupProperties) GetLocationOk ¶
func (o *BackupProperties) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupProperties) GetPointInTimeWindowHours ¶
func (o *BackupProperties) GetPointInTimeWindowHours() int32
GetPointInTimeWindowHours returns the PointInTimeWindowHours field value if set, zero value otherwise.
func (*BackupProperties) GetPointInTimeWindowHoursOk ¶
func (o *BackupProperties) GetPointInTimeWindowHoursOk() (*int32, bool)
GetPointInTimeWindowHoursOk returns a tuple with the PointInTimeWindowHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupProperties) GetSnapshotIntervalHours ¶
func (o *BackupProperties) GetSnapshotIntervalHours() int32
GetSnapshotIntervalHours returns the SnapshotIntervalHours field value if set, zero value otherwise.
func (*BackupProperties) GetSnapshotIntervalHoursOk ¶
func (o *BackupProperties) GetSnapshotIntervalHoursOk() (*int32, bool)
GetSnapshotIntervalHoursOk returns a tuple with the SnapshotIntervalHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupProperties) HasBackupRetention ¶
func (o *BackupProperties) HasBackupRetention() bool
HasBackupRetention returns a boolean if a field has been set.
func (*BackupProperties) HasLocation ¶
func (o *BackupProperties) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*BackupProperties) HasPointInTimeWindowHours ¶
func (o *BackupProperties) HasPointInTimeWindowHours() bool
HasPointInTimeWindowHours returns a boolean if a field has been set.
func (*BackupProperties) HasSnapshotIntervalHours ¶
func (o *BackupProperties) HasSnapshotIntervalHours() bool
HasSnapshotIntervalHours returns a boolean if a field has been set.
func (*BackupProperties) SetBackupRetention ¶
func (o *BackupProperties) SetBackupRetention(v BackupRetentionProperties)
SetBackupRetention gets a reference to the given BackupRetentionProperties and assigns it to the BackupRetention field.
func (*BackupProperties) SetLocation ¶
func (o *BackupProperties) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*BackupProperties) SetPointInTimeWindowHours ¶
func (o *BackupProperties) SetPointInTimeWindowHours(v int32)
SetPointInTimeWindowHours gets a reference to the given int32 and assigns it to the PointInTimeWindowHours field.
func (*BackupProperties) SetSnapshotIntervalHours ¶
func (o *BackupProperties) SetSnapshotIntervalHours(v int32)
SetSnapshotIntervalHours gets a reference to the given int32 and assigns it to the SnapshotIntervalHours field.
func (BackupProperties) ToMap ¶
func (o BackupProperties) ToMap() (map[string]interface{}, error)
type BackupRetentionProperties ¶
type BackupRetentionProperties struct { // Number of days to keep recent snapshots. SnapshotRetentionDays *int32 `json:"snapshotRetentionDays,omitempty"` // Number of days to retain daily snapshots. DailySnapshotRetentionDays *int32 `json:"dailySnapshotRetentionDays,omitempty"` // Number of weeks to retain weekly snapshots.. WeeklySnapshotRetentionWeeks *int32 `json:"weeklySnapshotRetentionWeeks,omitempty"` // Number of months to retain monthly snapshots. MonthlySnapshotRetentionMonths *int32 `json:"monthlySnapshotRetentionMonths,omitempty"` }
BackupRetentionProperties Backup retention related properties.
func NewBackupRetentionProperties ¶
func NewBackupRetentionProperties() *BackupRetentionProperties
NewBackupRetentionProperties instantiates a new BackupRetentionProperties 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 NewBackupRetentionPropertiesWithDefaults ¶
func NewBackupRetentionPropertiesWithDefaults() *BackupRetentionProperties
NewBackupRetentionPropertiesWithDefaults instantiates a new BackupRetentionProperties 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 (*BackupRetentionProperties) GetDailySnapshotRetentionDays ¶
func (o *BackupRetentionProperties) GetDailySnapshotRetentionDays() int32
GetDailySnapshotRetentionDays returns the DailySnapshotRetentionDays field value if set, zero value otherwise.
func (*BackupRetentionProperties) GetDailySnapshotRetentionDaysOk ¶
func (o *BackupRetentionProperties) GetDailySnapshotRetentionDaysOk() (*int32, bool)
GetDailySnapshotRetentionDaysOk returns a tuple with the DailySnapshotRetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRetentionProperties) GetMonthlySnapshotRetentionMonths ¶
func (o *BackupRetentionProperties) GetMonthlySnapshotRetentionMonths() int32
GetMonthlySnapshotRetentionMonths returns the MonthlySnapshotRetentionMonths field value if set, zero value otherwise.
func (*BackupRetentionProperties) GetMonthlySnapshotRetentionMonthsOk ¶
func (o *BackupRetentionProperties) GetMonthlySnapshotRetentionMonthsOk() (*int32, bool)
GetMonthlySnapshotRetentionMonthsOk returns a tuple with the MonthlySnapshotRetentionMonths field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRetentionProperties) GetSnapshotRetentionDays ¶
func (o *BackupRetentionProperties) GetSnapshotRetentionDays() int32
GetSnapshotRetentionDays returns the SnapshotRetentionDays field value if set, zero value otherwise.
func (*BackupRetentionProperties) GetSnapshotRetentionDaysOk ¶
func (o *BackupRetentionProperties) GetSnapshotRetentionDaysOk() (*int32, bool)
GetSnapshotRetentionDaysOk returns a tuple with the SnapshotRetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRetentionProperties) GetWeeklySnapshotRetentionWeeks ¶
func (o *BackupRetentionProperties) GetWeeklySnapshotRetentionWeeks() int32
GetWeeklySnapshotRetentionWeeks returns the WeeklySnapshotRetentionWeeks field value if set, zero value otherwise.
func (*BackupRetentionProperties) GetWeeklySnapshotRetentionWeeksOk ¶
func (o *BackupRetentionProperties) GetWeeklySnapshotRetentionWeeksOk() (*int32, bool)
GetWeeklySnapshotRetentionWeeksOk returns a tuple with the WeeklySnapshotRetentionWeeks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRetentionProperties) HasDailySnapshotRetentionDays ¶
func (o *BackupRetentionProperties) HasDailySnapshotRetentionDays() bool
HasDailySnapshotRetentionDays returns a boolean if a field has been set.
func (*BackupRetentionProperties) HasMonthlySnapshotRetentionMonths ¶
func (o *BackupRetentionProperties) HasMonthlySnapshotRetentionMonths() bool
HasMonthlySnapshotRetentionMonths returns a boolean if a field has been set.
func (*BackupRetentionProperties) HasSnapshotRetentionDays ¶
func (o *BackupRetentionProperties) HasSnapshotRetentionDays() bool
HasSnapshotRetentionDays returns a boolean if a field has been set.
func (*BackupRetentionProperties) HasWeeklySnapshotRetentionWeeks ¶
func (o *BackupRetentionProperties) HasWeeklySnapshotRetentionWeeks() bool
HasWeeklySnapshotRetentionWeeks returns a boolean if a field has been set.
func (*BackupRetentionProperties) SetDailySnapshotRetentionDays ¶
func (o *BackupRetentionProperties) SetDailySnapshotRetentionDays(v int32)
SetDailySnapshotRetentionDays gets a reference to the given int32 and assigns it to the DailySnapshotRetentionDays field.
func (*BackupRetentionProperties) SetMonthlySnapshotRetentionMonths ¶
func (o *BackupRetentionProperties) SetMonthlySnapshotRetentionMonths(v int32)
SetMonthlySnapshotRetentionMonths gets a reference to the given int32 and assigns it to the MonthlySnapshotRetentionMonths field.
func (*BackupRetentionProperties) SetSnapshotRetentionDays ¶
func (o *BackupRetentionProperties) SetSnapshotRetentionDays(v int32)
SetSnapshotRetentionDays gets a reference to the given int32 and assigns it to the SnapshotRetentionDays field.
func (*BackupRetentionProperties) SetWeeklySnapshotRetentionWeeks ¶
func (o *BackupRetentionProperties) SetWeeklySnapshotRetentionWeeks(v int32)
SetWeeklySnapshotRetentionWeeks gets a reference to the given int32 and assigns it to the WeeklySnapshotRetentionWeeks field.
func (BackupRetentionProperties) ToMap ¶
func (o BackupRetentionProperties) ToMap() (map[string]interface{}, error)
type BiConnectorProperties ¶
type BiConnectorProperties struct { // The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis. Enabled *bool `json:"enabled,omitempty"` // The host where this new BI Connector is installed. Host *string `json:"host,omitempty"` // Port number used when connecting to this new BI Connector. Port *string `json:"port,omitempty"` }
BiConnectorProperties struct for BiConnectorProperties
func NewBiConnectorProperties ¶
func NewBiConnectorProperties() *BiConnectorProperties
NewBiConnectorProperties instantiates a new BiConnectorProperties 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 NewBiConnectorPropertiesWithDefaults ¶
func NewBiConnectorPropertiesWithDefaults() *BiConnectorProperties
NewBiConnectorPropertiesWithDefaults instantiates a new BiConnectorProperties 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 (*BiConnectorProperties) GetEnabled ¶
func (o *BiConnectorProperties) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*BiConnectorProperties) GetEnabledOk ¶
func (o *BiConnectorProperties) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BiConnectorProperties) GetHost ¶
func (o *BiConnectorProperties) GetHost() string
GetHost returns the Host field value if set, zero value otherwise.
func (*BiConnectorProperties) GetHostOk ¶
func (o *BiConnectorProperties) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BiConnectorProperties) GetPort ¶
func (o *BiConnectorProperties) GetPort() string
GetPort returns the Port field value if set, zero value otherwise.
func (*BiConnectorProperties) GetPortOk ¶
func (o *BiConnectorProperties) GetPortOk() (*string, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BiConnectorProperties) HasEnabled ¶
func (o *BiConnectorProperties) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*BiConnectorProperties) HasHost ¶
func (o *BiConnectorProperties) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*BiConnectorProperties) HasPort ¶
func (o *BiConnectorProperties) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*BiConnectorProperties) SetEnabled ¶
func (o *BiConnectorProperties) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*BiConnectorProperties) SetHost ¶
func (o *BiConnectorProperties) SetHost(v string)
SetHost gets a reference to the given string and assigns it to the Host field.
func (*BiConnectorProperties) SetPort ¶
func (o *BiConnectorProperties) SetPort(v string)
SetPort gets a reference to the given string and assigns it to the Port field.
func (BiConnectorProperties) ToMap ¶
func (o BiConnectorProperties) ToMap() (map[string]interface{}, error)
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 ¶
func NewClusterList() *ClusterList
NewClusterList instantiates a new ClusterList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterListWithDefaults ¶
func NewClusterListWithDefaults() *ClusterList
NewClusterListWithDefaults instantiates a new ClusterList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterList) GetId ¶
func (o *ClusterList) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ClusterList) GetIdOk ¶
func (o *ClusterList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterList) GetItems ¶
func (o *ClusterList) GetItems() []ClusterResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*ClusterList) GetItemsOk ¶
func (o *ClusterList) GetItemsOk() ([]ClusterResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterList) GetLimit ¶
func (o *ClusterList) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*ClusterList) GetLimitOk ¶
func (o *ClusterList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterList) GetLinks ¶
func (o *ClusterList) GetLinks() PaginationLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*ClusterList) GetLinksOk ¶
func (o *ClusterList) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterList) GetOffset ¶
func (o *ClusterList) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*ClusterList) GetOffsetOk ¶
func (o *ClusterList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterList) GetType ¶
func (o *ClusterList) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*ClusterList) GetTypeOk ¶
func (o *ClusterList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetId ¶
func (o *ClusterList) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ClusterList) SetItems ¶
func (o *ClusterList) SetItems(v []ClusterResponse)
SetItems gets a reference to the given []ClusterResponse and assigns it to the Items field.
func (*ClusterList) SetLimit ¶
func (o *ClusterList) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*ClusterList) SetLinks ¶
func (o *ClusterList) SetLinks(v PaginationLinks)
SetLinks gets a reference to the given PaginationLinks and assigns it to the Links field.
func (*ClusterList) SetOffset ¶
func (o *ClusterList) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*ClusterList) SetType ¶
func (o *ClusterList) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (ClusterList) ToMap ¶
func (o ClusterList) ToMap() (map[string]interface{}, error)
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 ¶
func NewClusterListAllOf() *ClusterListAllOf
NewClusterListAllOf instantiates a new ClusterListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterListAllOfWithDefaults ¶
func NewClusterListAllOfWithDefaults() *ClusterListAllOf
NewClusterListAllOfWithDefaults instantiates a new ClusterListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterListAllOf) GetId ¶
func (o *ClusterListAllOf) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ClusterListAllOf) GetIdOk ¶
func (o *ClusterListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListAllOf) GetItems ¶
func (o *ClusterListAllOf) GetItems() []ClusterResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*ClusterListAllOf) GetItemsOk ¶
func (o *ClusterListAllOf) GetItemsOk() ([]ClusterResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListAllOf) GetType ¶
func (o *ClusterListAllOf) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*ClusterListAllOf) GetTypeOk ¶
func (o *ClusterListAllOf) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetId ¶
func (o *ClusterListAllOf) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ClusterListAllOf) SetItems ¶
func (o *ClusterListAllOf) SetItems(v []ClusterResponse)
SetItems gets a reference to the given []ClusterResponse and assigns it to the Items field.
func (*ClusterListAllOf) SetType ¶
func (o *ClusterListAllOf) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (ClusterListAllOf) ToMap ¶
func (o ClusterListAllOf) ToMap() (map[string]interface{}, error)
type ClusterLogs ¶
type ClusterLogs struct {
Instances []ClusterLogsInstances `json:"instances,omitempty"`
}
ClusterLogs The logs of the MongoDB cluster.
func NewClusterLogs ¶
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 ¶
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 set, zero value otherwise.
func (*ClusterLogs) GetInstancesOk ¶
func (o *ClusterLogs) GetInstancesOk() ([]ClusterLogsInstances, bool)
GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLogs) HasInstances ¶
func (o *ClusterLogs) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (*ClusterLogs) SetInstances ¶
func (o *ClusterLogs) SetInstances(v []ClusterLogsInstances)
SetInstances gets a reference to the given []ClusterLogsInstances and assigns it to the Instances field.
func (ClusterLogs) ToMap ¶
func (o ClusterLogs) ToMap() (map[string]interface{}, error)
type ClusterLogsInstances ¶
type ClusterLogsInstances struct { // The name of the MongoDB instance. Name *string `json:"name,omitempty"` Messages []ClusterLogsInstancesMessages `json:"messages,omitempty"` }
ClusterLogsInstances struct for ClusterLogsInstances
func NewClusterLogsInstances ¶
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 ¶
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 set, zero value otherwise.
func (*ClusterLogsInstances) GetMessagesOk ¶
func (o *ClusterLogsInstances) GetMessagesOk() ([]ClusterLogsInstancesMessages, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLogsInstances) GetName ¶
func (o *ClusterLogsInstances) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ClusterLogsInstances) GetNameOk ¶
func (o *ClusterLogsInstances) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) SetMessages ¶
func (o *ClusterLogsInstances) SetMessages(v []ClusterLogsInstancesMessages)
SetMessages gets a reference to the given []ClusterLogsInstancesMessages and assigns it to the Messages field.
func (*ClusterLogsInstances) SetName ¶
func (o *ClusterLogsInstances) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ClusterLogsInstances) ToMap ¶
func (o ClusterLogsInstances) ToMap() (map[string]interface{}, error)
type ClusterLogsInstancesMessages ¶
type ClusterLogsInstancesMessages struct { Time *IonosTime `json:"time,omitempty"` Message *string `json:"message,omitempty"` }
ClusterLogsInstancesMessages struct for ClusterLogsInstancesMessages
func NewClusterLogsInstancesMessages ¶
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 ¶
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 ¶
func (o *ClusterLogsInstancesMessages) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ClusterLogsInstancesMessages) GetMessageOk ¶
func (o *ClusterLogsInstancesMessages) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLogsInstancesMessages) GetTime ¶
func (o *ClusterLogsInstancesMessages) GetTime() time.Time
GetTime returns the Time field value if set, zero value otherwise.
func (*ClusterLogsInstancesMessages) GetTimeOk ¶
func (o *ClusterLogsInstancesMessages) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLogsInstancesMessages) HasMessage ¶
func (o *ClusterLogsInstancesMessages) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ClusterLogsInstancesMessages) HasTime ¶
func (o *ClusterLogsInstancesMessages) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*ClusterLogsInstancesMessages) SetMessage ¶
func (o *ClusterLogsInstancesMessages) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ClusterLogsInstancesMessages) SetTime ¶
func (o *ClusterLogsInstancesMessages) SetTime(v time.Time)
SetTime gets a reference to the given time.Time and assigns it to the Time field.
func (ClusterLogsInstancesMessages) ToMap ¶
func (o ClusterLogsInstancesMessages) ToMap() (map[string]interface{}, error)
type ClusterProperties ¶
type ClusterProperties struct { // The cluster type, either `replicaset` or `sharded-cluster`. Type *string `json:"type,omitempty"` // The name of your cluster. DisplayName *string `json:"displayName,omitempty"` // The MongoDB version of your cluster. MongoDBVersion *string `json:"mongoDBVersion,omitempty"` // The physical location where the cluster will be created. This is the location where all your instances will be located. This property is immutable. Location *string `json:"location,omitempty"` Backup *BackupProperties `json:"backup,omitempty"` // The total number of instances in the cluster (one primary and n-1 secondaries). Instances *int32 `json:"instances,omitempty"` // The total number of shards in the cluster. Shards *int32 `json:"shards,omitempty"` Connections []Connection `json:"connections,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` // The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. TemplateID *string `json:"templateID,omitempty"` // The connection string for your cluster. ConnectionString *string `json:"connectionString,omitempty"` BiConnector *BiConnectorProperties `json:"biConnector,omitempty"` // The cluster edition. Edition *string `json:"edition,omitempty"` // 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"` StorageType *StorageType `json:"storageType,omitempty"` }
ClusterProperties Properties of a database cluster.
func NewClusterProperties ¶
func NewClusterProperties() *ClusterProperties
NewClusterProperties instantiates a new ClusterProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterPropertiesWithDefaults ¶
func NewClusterPropertiesWithDefaults() *ClusterProperties
NewClusterPropertiesWithDefaults instantiates a new ClusterProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterProperties) GetBackup ¶
func (o *ClusterProperties) GetBackup() BackupProperties
GetBackup returns the Backup field value if set, zero value otherwise.
func (*ClusterProperties) GetBackupOk ¶
func (o *ClusterProperties) GetBackupOk() (*BackupProperties, bool)
GetBackupOk returns a tuple with the Backup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetBiConnector ¶
func (o *ClusterProperties) GetBiConnector() BiConnectorProperties
GetBiConnector returns the BiConnector field value if set, zero value otherwise.
func (*ClusterProperties) GetBiConnectorOk ¶
func (o *ClusterProperties) GetBiConnectorOk() (*BiConnectorProperties, bool)
GetBiConnectorOk returns a tuple with the BiConnector field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetConnectionString ¶
func (o *ClusterProperties) GetConnectionString() string
GetConnectionString returns the ConnectionString field value if set, zero value otherwise.
func (*ClusterProperties) GetConnectionStringOk ¶
func (o *ClusterProperties) GetConnectionStringOk() (*string, bool)
GetConnectionStringOk returns a tuple with the ConnectionString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetConnections ¶
func (o *ClusterProperties) GetConnections() []Connection
GetConnections returns the Connections field value if set, zero value otherwise.
func (*ClusterProperties) GetConnectionsOk ¶
func (o *ClusterProperties) GetConnectionsOk() ([]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetCores ¶
func (o *ClusterProperties) GetCores() int32
GetCores returns the Cores field value if set, zero value otherwise.
func (*ClusterProperties) GetCoresOk ¶
func (o *ClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetDisplayName ¶
func (o *ClusterProperties) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*ClusterProperties) GetDisplayNameOk ¶
func (o *ClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetEdition ¶
func (o *ClusterProperties) GetEdition() string
GetEdition returns the Edition field value if set, zero value otherwise.
func (*ClusterProperties) GetEditionOk ¶
func (o *ClusterProperties) GetEditionOk() (*string, bool)
GetEditionOk returns a tuple with the Edition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetInstances ¶
func (o *ClusterProperties) GetInstances() int32
GetInstances returns the Instances field value if set, zero value otherwise.
func (*ClusterProperties) GetInstancesOk ¶
func (o *ClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetLocation ¶
func (o *ClusterProperties) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*ClusterProperties) GetLocationOk ¶
func (o *ClusterProperties) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetMaintenanceWindow ¶
func (o *ClusterProperties) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*ClusterProperties) GetMaintenanceWindowOk ¶
func (o *ClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetMongoDBVersion ¶
func (o *ClusterProperties) GetMongoDBVersion() string
GetMongoDBVersion returns the MongoDBVersion field value if set, zero value otherwise.
func (*ClusterProperties) GetMongoDBVersionOk ¶
func (o *ClusterProperties) GetMongoDBVersionOk() (*string, bool)
GetMongoDBVersionOk returns a tuple with the MongoDBVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetRam ¶
func (o *ClusterProperties) GetRam() int32
GetRam returns the Ram field value if set, zero value otherwise.
func (*ClusterProperties) GetRamOk ¶
func (o *ClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetShards ¶
func (o *ClusterProperties) GetShards() int32
GetShards returns the Shards field value if set, zero value otherwise.
func (*ClusterProperties) GetShardsOk ¶
func (o *ClusterProperties) GetShardsOk() (*int32, bool)
GetShardsOk returns a tuple with the Shards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetStorageSize ¶
func (o *ClusterProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field value if set, zero value otherwise.
func (*ClusterProperties) GetStorageSizeOk ¶
func (o *ClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetStorageType ¶
func (o *ClusterProperties) GetStorageType() StorageType
GetStorageType returns the StorageType field value if set, zero value otherwise.
func (*ClusterProperties) GetStorageTypeOk ¶
func (o *ClusterProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetTemplateID ¶
func (o *ClusterProperties) GetTemplateID() string
GetTemplateID returns the TemplateID field value if set, zero value otherwise.
func (*ClusterProperties) GetTemplateIDOk ¶
func (o *ClusterProperties) GetTemplateIDOk() (*string, bool)
GetTemplateIDOk returns a tuple with the TemplateID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) GetType ¶
func (o *ClusterProperties) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ClusterProperties) GetTypeOk ¶
func (o *ClusterProperties) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterProperties) HasBackup ¶
func (o *ClusterProperties) HasBackup() bool
HasBackup returns a boolean if a field has been set.
func (*ClusterProperties) HasBiConnector ¶
func (o *ClusterProperties) HasBiConnector() bool
HasBiConnector returns a boolean if a field has been set.
func (*ClusterProperties) HasConnectionString ¶
func (o *ClusterProperties) HasConnectionString() bool
HasConnectionString 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) HasEdition ¶
func (o *ClusterProperties) HasEdition() bool
HasEdition 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) HasMongoDBVersion ¶
func (o *ClusterProperties) HasMongoDBVersion() bool
HasMongoDBVersion 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) HasShards ¶
func (o *ClusterProperties) HasShards() bool
HasShards 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) HasTemplateID ¶
func (o *ClusterProperties) HasTemplateID() bool
HasTemplateID returns a boolean if a field has been set.
func (*ClusterProperties) HasType ¶
func (o *ClusterProperties) HasType() bool
HasType returns a boolean if a field has been set.
func (*ClusterProperties) SetBackup ¶
func (o *ClusterProperties) SetBackup(v BackupProperties)
SetBackup gets a reference to the given BackupProperties and assigns it to the Backup field.
func (*ClusterProperties) SetBiConnector ¶
func (o *ClusterProperties) SetBiConnector(v BiConnectorProperties)
SetBiConnector gets a reference to the given BiConnectorProperties and assigns it to the BiConnector field.
func (*ClusterProperties) SetConnectionString ¶
func (o *ClusterProperties) SetConnectionString(v string)
SetConnectionString gets a reference to the given string and assigns it to the ConnectionString field.
func (*ClusterProperties) SetConnections ¶
func (o *ClusterProperties) SetConnections(v []Connection)
SetConnections gets a reference to the given []Connection and assigns it to the Connections field.
func (*ClusterProperties) SetCores ¶
func (o *ClusterProperties) SetCores(v int32)
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*ClusterProperties) SetDisplayName ¶
func (o *ClusterProperties) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*ClusterProperties) SetEdition ¶
func (o *ClusterProperties) SetEdition(v string)
SetEdition gets a reference to the given string and assigns it to the Edition field.
func (*ClusterProperties) SetInstances ¶
func (o *ClusterProperties) SetInstances(v int32)
SetInstances gets a reference to the given int32 and assigns it to the Instances field.
func (*ClusterProperties) SetLocation ¶
func (o *ClusterProperties) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*ClusterProperties) SetMaintenanceWindow ¶
func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow gets a reference to the given MaintenanceWindow and assigns it to the MaintenanceWindow field.
func (*ClusterProperties) SetMongoDBVersion ¶
func (o *ClusterProperties) SetMongoDBVersion(v string)
SetMongoDBVersion gets a reference to the given string and assigns it to the MongoDBVersion field.
func (*ClusterProperties) SetRam ¶
func (o *ClusterProperties) SetRam(v int32)
SetRam gets a reference to the given int32 and assigns it to the Ram field.
func (*ClusterProperties) SetShards ¶
func (o *ClusterProperties) SetShards(v int32)
SetShards gets a reference to the given int32 and assigns it to the Shards field.
func (*ClusterProperties) SetStorageSize ¶
func (o *ClusterProperties) SetStorageSize(v int32)
SetStorageSize gets a reference to the given int32 and assigns it to the StorageSize field.
func (*ClusterProperties) SetStorageType ¶
func (o *ClusterProperties) SetStorageType(v StorageType)
SetStorageType gets a reference to the given StorageType and assigns it to the StorageType field.
func (*ClusterProperties) SetTemplateID ¶
func (o *ClusterProperties) SetTemplateID(v string)
SetTemplateID gets a reference to the given string and assigns it to the TemplateID field.
func (*ClusterProperties) SetType ¶
func (o *ClusterProperties) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ClusterProperties) ToMap ¶
func (o ClusterProperties) ToMap() (map[string]interface{}, error)
type ClusterResponse ¶
type ClusterResponse struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` Properties *ClusterProperties `json:"properties,omitempty"` }
ClusterResponse A database cluster.
func NewClusterResponse ¶
func NewClusterResponse() *ClusterResponse
NewClusterResponse instantiates a new ClusterResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterResponseWithDefaults ¶
func NewClusterResponseWithDefaults() *ClusterResponse
NewClusterResponseWithDefaults instantiates a new ClusterResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterResponse) GetId ¶
func (o *ClusterResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ClusterResponse) GetIdOk ¶
func (o *ClusterResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterResponse) GetMetadata ¶
func (o *ClusterResponse) GetMetadata() Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ClusterResponse) GetMetadataOk ¶
func (o *ClusterResponse) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterResponse) GetProperties ¶
func (o *ClusterResponse) GetProperties() ClusterProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*ClusterResponse) GetPropertiesOk ¶
func (o *ClusterResponse) GetPropertiesOk() (*ClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterResponse) GetType ¶
func (o *ClusterResponse) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*ClusterResponse) GetTypeOk ¶
func (o *ClusterResponse) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetId ¶
func (o *ClusterResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ClusterResponse) SetMetadata ¶
func (o *ClusterResponse) SetMetadata(v Metadata)
SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.
func (*ClusterResponse) SetProperties ¶
func (o *ClusterResponse) SetProperties(v ClusterProperties)
SetProperties gets a reference to the given ClusterProperties and assigns it to the Properties field.
func (*ClusterResponse) SetType ¶
func (o *ClusterResponse) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (ClusterResponse) ToMap ¶
func (o ClusterResponse) ToMap() (map[string]interface{}, error)
type ClustersApiService ¶
type ClustersApiService service
ClustersApiService ClustersApi service
func (*ClustersApiService) ClustersDelete ¶
func (a *ClustersApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
* ClustersDelete Delete a Cluster * Deletes a MongoDB 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, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponse
func (*ClustersApiService) ClustersFindById ¶
func (a *ClustersApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
* ClustersFindById Get a cluster by id * Get a cluster by id. * @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, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponse
func (*ClustersApiService) ClustersGet ¶
func (a *ClustersApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
* ClustersGet Get Clusters * Retrieves a list of MongoDB 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, *shared.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 MongoDB 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, *shared.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 MongoDB cluster.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiClustersPostRequest
func (*ClustersApiService) ClustersPostExecute ¶
func (a *ClustersApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterResponse, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponse
type Connection ¶
type Connection struct { // The datacenter to which your cluster will be connected. DatacenterId string `json:"datacenterId"` // The numeric LAN ID with which you connect your cluster. LanId string `json:"lanId"` // The list of IPs for your cluster. All IPs must be in a /24 network. Note the following unavailable IP ranges: 10.233.114.0/24 CidrList []string `json:"cidrList"` // List of whitelisted CIDRs. Whitelist []string `json:"whitelist,omitempty"` }
Connection The network connection details for your cluster.
func NewConnection ¶
func NewConnection(datacenterId string, lanId string, cidrList []string) *Connection
NewConnection instantiates a new Connection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConnectionWithDefaults ¶
func NewConnectionWithDefaults() *Connection
NewConnectionWithDefaults instantiates a new Connection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Connection) GetCidrList ¶
func (o *Connection) GetCidrList() []string
GetCidrList returns the CidrList field value
func (*Connection) GetCidrListOk ¶
func (o *Connection) GetCidrListOk() ([]string, bool)
GetCidrListOk returns a tuple with the CidrList field value and a boolean to check if the value has been set.
func (*Connection) GetDatacenterId ¶
func (o *Connection) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field value
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.
func (*Connection) GetLanId ¶
func (o *Connection) GetLanId() string
GetLanId returns the LanId field value
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.
func (*Connection) GetWhitelist ¶
func (o *Connection) GetWhitelist() []string
GetWhitelist returns the Whitelist field value if set, zero value otherwise.
func (*Connection) GetWhitelistOk ¶
func (o *Connection) GetWhitelistOk() ([]string, bool)
GetWhitelistOk returns a tuple with the Whitelist field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Connection) HasWhitelist ¶
func (o *Connection) HasWhitelist() bool
HasWhitelist returns a boolean if a field has been set.
func (*Connection) SetCidrList ¶
func (o *Connection) SetCidrList(v []string)
SetCidrList sets field value
func (*Connection) SetDatacenterId ¶
func (o *Connection) SetDatacenterId(v string)
SetDatacenterId sets field value
func (*Connection) SetWhitelist ¶
func (o *Connection) SetWhitelist(v []string)
SetWhitelist gets a reference to the given []string and assigns it to the Whitelist field.
func (Connection) ToMap ¶
func (o Connection) ToMap() (map[string]interface{}, error)
type CreateClusterProperties ¶
type CreateClusterProperties struct { // The cluster type, either `replicaset` or `sharded-cluster`. Type *string `json:"type,omitempty"` // The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. TemplateID *string `json:"templateID,omitempty"` // The MongoDB version of your cluster. MongoDBVersion *string `json:"mongoDBVersion,omitempty"` // The total number of instances in the cluster (one primary and n-1 secondaries). Instances int32 `json:"instances"` // The total number of shards in the cluster. Shards *int32 `json:"shards,omitempty"` Connections []Connection `json:"connections"` // The physical location where the cluster will be created. This is the location where all your instances will be located. This property is immutable. Location string `json:"location"` Backup *BackupProperties `json:"backup,omitempty"` // The name of your cluster. DisplayName string `json:"displayName"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` BiConnector *BiConnectorProperties `json:"biConnector,omitempty"` FromBackup *CreateRestoreRequest `json:"fromBackup,omitempty"` // The cluster edition. Edition *string `json:"edition,omitempty"` // 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"` StorageType *StorageType `json:"storageType,omitempty"` }
CreateClusterProperties The properties with all data needed to create a new MongoDB cluster.
func NewCreateClusterProperties ¶
func NewCreateClusterProperties(instances int32, connections []Connection, location string, displayName string) *CreateClusterProperties
NewCreateClusterProperties instantiates a new CreateClusterProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateClusterPropertiesWithDefaults ¶
func NewCreateClusterPropertiesWithDefaults() *CreateClusterProperties
NewCreateClusterPropertiesWithDefaults instantiates a new CreateClusterProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateClusterProperties) GetBackup ¶
func (o *CreateClusterProperties) GetBackup() BackupProperties
GetBackup returns the Backup field value if set, zero value otherwise.
func (*CreateClusterProperties) GetBackupOk ¶
func (o *CreateClusterProperties) GetBackupOk() (*BackupProperties, bool)
GetBackupOk returns a tuple with the Backup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetBiConnector ¶
func (o *CreateClusterProperties) GetBiConnector() BiConnectorProperties
GetBiConnector returns the BiConnector field value if set, zero value otherwise.
func (*CreateClusterProperties) GetBiConnectorOk ¶
func (o *CreateClusterProperties) GetBiConnectorOk() (*BiConnectorProperties, bool)
GetBiConnectorOk returns a tuple with the BiConnector field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetConnections ¶
func (o *CreateClusterProperties) GetConnections() []Connection
GetConnections returns the Connections field value
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.
func (*CreateClusterProperties) GetCores ¶
func (o *CreateClusterProperties) GetCores() int32
GetCores returns the Cores field value if set, zero value otherwise.
func (*CreateClusterProperties) GetCoresOk ¶
func (o *CreateClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetDisplayName ¶
func (o *CreateClusterProperties) GetDisplayName() string
GetDisplayName returns the DisplayName field value
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.
func (*CreateClusterProperties) GetEdition ¶
func (o *CreateClusterProperties) GetEdition() string
GetEdition returns the Edition field value if set, zero value otherwise.
func (*CreateClusterProperties) GetEditionOk ¶
func (o *CreateClusterProperties) GetEditionOk() (*string, bool)
GetEditionOk returns a tuple with the Edition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetFromBackup ¶
func (o *CreateClusterProperties) GetFromBackup() CreateRestoreRequest
GetFromBackup returns the FromBackup field value if set, zero value otherwise.
func (*CreateClusterProperties) GetFromBackupOk ¶
func (o *CreateClusterProperties) GetFromBackupOk() (*CreateRestoreRequest, bool)
GetFromBackupOk returns a tuple with the FromBackup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetInstances ¶
func (o *CreateClusterProperties) GetInstances() int32
GetInstances returns the Instances field value
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.
func (*CreateClusterProperties) GetLocation ¶
func (o *CreateClusterProperties) GetLocation() string
GetLocation returns the Location field value
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.
func (*CreateClusterProperties) GetMaintenanceWindow ¶
func (o *CreateClusterProperties) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*CreateClusterProperties) GetMaintenanceWindowOk ¶
func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetMongoDBVersion ¶
func (o *CreateClusterProperties) GetMongoDBVersion() string
GetMongoDBVersion returns the MongoDBVersion field value if set, zero value otherwise.
func (*CreateClusterProperties) GetMongoDBVersionOk ¶
func (o *CreateClusterProperties) GetMongoDBVersionOk() (*string, bool)
GetMongoDBVersionOk returns a tuple with the MongoDBVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetRam ¶
func (o *CreateClusterProperties) GetRam() int32
GetRam returns the Ram field value if set, zero value otherwise.
func (*CreateClusterProperties) GetRamOk ¶
func (o *CreateClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetShards ¶
func (o *CreateClusterProperties) GetShards() int32
GetShards returns the Shards field value if set, zero value otherwise.
func (*CreateClusterProperties) GetShardsOk ¶
func (o *CreateClusterProperties) GetShardsOk() (*int32, bool)
GetShardsOk returns a tuple with the Shards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetStorageSize ¶
func (o *CreateClusterProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field value if set, zero value otherwise.
func (*CreateClusterProperties) GetStorageSizeOk ¶
func (o *CreateClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetStorageType ¶
func (o *CreateClusterProperties) GetStorageType() StorageType
GetStorageType returns the StorageType field value if set, zero value otherwise.
func (*CreateClusterProperties) GetStorageTypeOk ¶
func (o *CreateClusterProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetTemplateID ¶
func (o *CreateClusterProperties) GetTemplateID() string
GetTemplateID returns the TemplateID field value if set, zero value otherwise.
func (*CreateClusterProperties) GetTemplateIDOk ¶
func (o *CreateClusterProperties) GetTemplateIDOk() (*string, bool)
GetTemplateIDOk returns a tuple with the TemplateID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) GetType ¶
func (o *CreateClusterProperties) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CreateClusterProperties) GetTypeOk ¶
func (o *CreateClusterProperties) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterProperties) HasBackup ¶
func (o *CreateClusterProperties) HasBackup() bool
HasBackup returns a boolean if a field has been set.
func (*CreateClusterProperties) HasBiConnector ¶
func (o *CreateClusterProperties) HasBiConnector() bool
HasBiConnector 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) HasEdition ¶
func (o *CreateClusterProperties) HasEdition() bool
HasEdition 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) HasMaintenanceWindow ¶
func (o *CreateClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*CreateClusterProperties) HasMongoDBVersion ¶
func (o *CreateClusterProperties) HasMongoDBVersion() bool
HasMongoDBVersion 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) HasShards ¶
func (o *CreateClusterProperties) HasShards() bool
HasShards 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) HasTemplateID ¶
func (o *CreateClusterProperties) HasTemplateID() bool
HasTemplateID returns a boolean if a field has been set.
func (*CreateClusterProperties) HasType ¶
func (o *CreateClusterProperties) HasType() bool
HasType returns a boolean if a field has been set.
func (*CreateClusterProperties) SetBackup ¶
func (o *CreateClusterProperties) SetBackup(v BackupProperties)
SetBackup gets a reference to the given BackupProperties and assigns it to the Backup field.
func (*CreateClusterProperties) SetBiConnector ¶
func (o *CreateClusterProperties) SetBiConnector(v BiConnectorProperties)
SetBiConnector gets a reference to the given BiConnectorProperties and assigns it to the BiConnector field.
func (*CreateClusterProperties) SetConnections ¶
func (o *CreateClusterProperties) SetConnections(v []Connection)
SetConnections sets field value
func (*CreateClusterProperties) SetCores ¶
func (o *CreateClusterProperties) SetCores(v int32)
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*CreateClusterProperties) SetDisplayName ¶
func (o *CreateClusterProperties) SetDisplayName(v string)
SetDisplayName sets field value
func (*CreateClusterProperties) SetEdition ¶
func (o *CreateClusterProperties) SetEdition(v string)
SetEdition gets a reference to the given string and assigns it to the Edition field.
func (*CreateClusterProperties) SetFromBackup ¶
func (o *CreateClusterProperties) SetFromBackup(v CreateRestoreRequest)
SetFromBackup gets a reference to the given CreateRestoreRequest and assigns it to the FromBackup field.
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 gets a reference to the given MaintenanceWindow and assigns it to the MaintenanceWindow field.
func (*CreateClusterProperties) SetMongoDBVersion ¶
func (o *CreateClusterProperties) SetMongoDBVersion(v string)
SetMongoDBVersion gets a reference to the given string and assigns it to the MongoDBVersion field.
func (*CreateClusterProperties) SetRam ¶
func (o *CreateClusterProperties) SetRam(v int32)
SetRam gets a reference to the given int32 and assigns it to the Ram field.
func (*CreateClusterProperties) SetShards ¶
func (o *CreateClusterProperties) SetShards(v int32)
SetShards gets a reference to the given int32 and assigns it to the Shards field.
func (*CreateClusterProperties) SetStorageSize ¶
func (o *CreateClusterProperties) SetStorageSize(v int32)
SetStorageSize gets a reference to the given int32 and assigns it to the StorageSize field.
func (*CreateClusterProperties) SetStorageType ¶
func (o *CreateClusterProperties) SetStorageType(v StorageType)
SetStorageType gets a reference to the given StorageType and assigns it to the StorageType field.
func (*CreateClusterProperties) SetTemplateID ¶
func (o *CreateClusterProperties) SetTemplateID(v string)
SetTemplateID gets a reference to the given string and assigns it to the TemplateID field.
func (*CreateClusterProperties) SetType ¶
func (o *CreateClusterProperties) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CreateClusterProperties) ToMap ¶
func (o CreateClusterProperties) ToMap() (map[string]interface{}, error)
type CreateClusterRequest ¶
type CreateClusterRequest struct { Metadata *Metadata `json:"metadata,omitempty"` Properties *CreateClusterProperties `json:"properties,omitempty"` }
CreateClusterRequest The request payload with all data needed to create a new MongoDB cluster.
func NewCreateClusterRequest ¶
func NewCreateClusterRequest() *CreateClusterRequest
NewCreateClusterRequest instantiates a new CreateClusterRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateClusterRequestWithDefaults ¶
func NewCreateClusterRequestWithDefaults() *CreateClusterRequest
NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateClusterRequest) GetMetadata ¶
func (o *CreateClusterRequest) GetMetadata() Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*CreateClusterRequest) GetMetadataOk ¶
func (o *CreateClusterRequest) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterRequest) GetProperties ¶
func (o *CreateClusterRequest) GetProperties() CreateClusterProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*CreateClusterRequest) GetPropertiesOk ¶
func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetMetadata ¶
func (o *CreateClusterRequest) SetMetadata(v Metadata)
SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.
func (*CreateClusterRequest) SetProperties ¶
func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
SetProperties gets a reference to the given CreateClusterProperties and assigns it to the Properties field.
func (CreateClusterRequest) ToMap ¶
func (o CreateClusterRequest) ToMap() (map[string]interface{}, error)
type CreateRestoreRequest ¶
type CreateRestoreRequest struct { // The unique ID of the snapshot you want to restore. SnapshotId *string `json:"snapshotId,omitempty"` // If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. RecoveryTargetTime *IonosTime `json:"recoveryTargetTime,omitempty"` }
CreateRestoreRequest The restore request.
func NewCreateRestoreRequest ¶
func NewCreateRestoreRequest() *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 ¶
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) GetRecoveryTargetTime ¶
func (o *CreateRestoreRequest) GetRecoveryTargetTime() time.Time
GetRecoveryTargetTime returns the RecoveryTargetTime field value if set, zero value otherwise.
func (*CreateRestoreRequest) GetRecoveryTargetTimeOk ¶
func (o *CreateRestoreRequest) GetRecoveryTargetTimeOk() (*time.Time, bool)
GetRecoveryTargetTimeOk returns a tuple with the RecoveryTargetTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRestoreRequest) GetSnapshotId ¶
func (o *CreateRestoreRequest) GetSnapshotId() string
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*CreateRestoreRequest) GetSnapshotIdOk ¶
func (o *CreateRestoreRequest) GetSnapshotIdOk() (*string, bool)
GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRestoreRequest) HasRecoveryTargetTime ¶
func (o *CreateRestoreRequest) HasRecoveryTargetTime() bool
HasRecoveryTargetTime returns a boolean if a field has been set.
func (*CreateRestoreRequest) HasSnapshotId ¶
func (o *CreateRestoreRequest) HasSnapshotId() bool
HasSnapshotId returns a boolean if a field has been set.
func (*CreateRestoreRequest) SetRecoveryTargetTime ¶
func (o *CreateRestoreRequest) SetRecoveryTargetTime(v time.Time)
SetRecoveryTargetTime gets a reference to the given time.Time and assigns it to the RecoveryTargetTime field.
func (*CreateRestoreRequest) SetSnapshotId ¶
func (o *CreateRestoreRequest) SetSnapshotId(v string)
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (CreateRestoreRequest) ToMap ¶
func (o CreateRestoreRequest) ToMap() (map[string]interface{}, error)
type DayOfTheWeek ¶
type DayOfTheWeek string
DayOfTheWeek The week day.
const ( DAYOFTHEWEEK_SUNDAY DayOfTheWeek = "Sunday" DAYOFTHEWEEK_MONDAY DayOfTheWeek = "Monday" DAYOFTHEWEEK_TUESDAY DayOfTheWeek = "Tuesday" DAYOFTHEWEEK_WEDNESDAY DayOfTheWeek = "Wednesday" DAYOFTHEWEEK_THURSDAY DayOfTheWeek = "Thursday" DAYOFTHEWEEK_FRIDAY DayOfTheWeek = "Friday" DAYOFTHEWEEK_SATURDAY DayOfTheWeek = "Saturday" )
List of DayOfTheWeek
func (DayOfTheWeek) Ptr ¶
func (v DayOfTheWeek) Ptr() *DayOfTheWeek
Ptr returns reference to DayOfTheWeek value
func (*DayOfTheWeek) UnmarshalJSON ¶
func (v *DayOfTheWeek) UnmarshalJSON(src []byte) error
type ErrorMessage ¶
type ErrorMessage struct { // Application internal error code. ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation specific to this occurrence of the problem. Message *string `json:"message,omitempty"` }
ErrorMessage struct for ErrorMessage
func NewErrorMessage ¶
func NewErrorMessage() *ErrorMessage
NewErrorMessage instantiates a new ErrorMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorMessageWithDefaults ¶
func NewErrorMessageWithDefaults() *ErrorMessage
NewErrorMessageWithDefaults instantiates a new ErrorMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorMessage) GetErrorCode ¶
func (o *ErrorMessage) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*ErrorMessage) GetErrorCodeOk ¶
func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessage) GetMessage ¶
func (o *ErrorMessage) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorMessage) GetMessageOk ¶
func (o *ErrorMessage) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetErrorCode ¶
func (o *ErrorMessage) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
func (*ErrorMessage) SetMessage ¶
func (o *ErrorMessage) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ErrorMessage) ToMap ¶
func (o ErrorMessage) ToMap() (map[string]interface{}, error)
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 ¶
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 ¶
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 set, zero value otherwise.
func (*ErrorResponse) GetHttpStatusOk ¶
func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessages ¶
func (o *ErrorResponse) GetMessages() []ErrorMessage
GetMessages returns the Messages field value if set, zero value otherwise.
func (*ErrorResponse) GetMessagesOk ¶
func (o *ErrorResponse) GetMessagesOk() ([]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetHttpStatus ¶
func (o *ErrorResponse) SetHttpStatus(v int32)
SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.
func (*ErrorResponse) SetMessages ¶
func (o *ErrorResponse) SetMessages(v []ErrorMessage)
SetMessages gets a reference to the given []ErrorMessage and assigns it to the Messages field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type Health ¶
type Health string
Health The current health status reported by the cluster. * **HEALTHY** Primary exists and number of replicas is equal to specified. * **UNHEALTHY** Primary does not exist or cluster doesn't have majority. * **DEGRADED** Primary exists and number of replicas is less than specified. * **UNKNOWN** The health status is unknown.
const ( HEALTH_HEALTHY Health = "HEALTHY" HEALTH_UNHEALTHY Health = "UNHEALTHY" HEALTH_DEGRADED Health = "DEGRADED" HEALTH_UNKNOWN Health = "UNKNOWN" )
List of Health
func (*Health) UnmarshalJSON ¶
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type LogsApiService ¶
type LogsApiService service
LogsApiService LogsApi service
func (*LogsApiService) ClustersLogsGet ¶
func (a *LogsApiService) ClustersLogsGet(ctx _context.Context, clusterId string) ApiClustersLogsGetRequest
* ClustersLogsGet Get logs of your cluster * Retrieves MongoDB 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 ApiClustersLogsGetRequest
func (*LogsApiService) ClustersLogsGetExecute ¶
func (a *LogsApiService) ClustersLogsGetExecute(r ApiClustersLogsGetRequest) (ClusterLogs, *shared.APIResponse, error)
* Execute executes the request * @return ClusterLogs
type MaintenanceWindow ¶
type MaintenanceWindow struct { Time string `json:"time"` DayOfTheWeek DayOfTheWeek `json:"dayOfTheWeek"` }
MaintenanceWindow A weekly window of 4 hours during which maintenance work can be performed.
func NewMaintenanceWindow ¶
func NewMaintenanceWindow(time string, dayOfTheWeek DayOfTheWeek) *MaintenanceWindow
NewMaintenanceWindow instantiates a new MaintenanceWindow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMaintenanceWindowWithDefaults ¶
func NewMaintenanceWindowWithDefaults() *MaintenanceWindow
NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MaintenanceWindow) GetDayOfTheWeek ¶
func (o *MaintenanceWindow) GetDayOfTheWeek() DayOfTheWeek
GetDayOfTheWeek returns the DayOfTheWeek field value
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.
func (*MaintenanceWindow) GetTime ¶
func (o *MaintenanceWindow) GetTime() string
GetTime returns the Time field value
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.
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
func (MaintenanceWindow) ToMap ¶
func (o MaintenanceWindow) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Metadata ¶
type Metadata struct { // The date the resource was created. CreatedDate *IonosTime `json:"createdDate,omitempty"` // The user who created the resource. CreatedBy *string `json:"createdBy,omitempty"` // The ID of the user who created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` // The date the resource was last modified. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // The last user who modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The ID of the user who last modified the resource. LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` State *State `json:"state,omitempty"` Health *Health `json:"health,omitempty"` }
Metadata The metadata of the resource.
func NewMetadata ¶
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 ¶
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 set, zero value otherwise.
func (*Metadata) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetHealthOk ¶
GetHealthOk returns a tuple with the Health field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetCreatedBy ¶
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*Metadata) SetCreatedDate ¶
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*Metadata) SetHealth ¶
SetHealth gets a reference to the given Health and assigns it to the Health field.
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.
type MetadataApiService ¶
type MetadataApiService service
MetadataApiService MetadataApi service
func (*MetadataApiService) InfosVersionGet ¶
func (a *MetadataApiService) InfosVersionGet(ctx _context.Context) ApiInfosVersionGetRequest
* InfosVersionGet Get 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, *shared.APIResponse, error)
* Execute executes the request * @return APIVersion
func (*MetadataApiService) InfosVersionsGet ¶
func (a *MetadataApiService) InfosVersionsGet(ctx _context.Context) ApiInfosVersionsGetRequest
* InfosVersionsGet Get 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, *shared.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 NullableBackupProperties ¶
type NullableBackupProperties struct {
// contains filtered or unexported fields
}
func NewNullableBackupProperties ¶
func NewNullableBackupProperties(val *BackupProperties) *NullableBackupProperties
func (NullableBackupProperties) Get ¶
func (v NullableBackupProperties) Get() *BackupProperties
func (NullableBackupProperties) IsSet ¶
func (v NullableBackupProperties) IsSet() bool
func (NullableBackupProperties) MarshalJSON ¶
func (v NullableBackupProperties) MarshalJSON() ([]byte, error)
func (*NullableBackupProperties) Set ¶
func (v *NullableBackupProperties) Set(val *BackupProperties)
func (*NullableBackupProperties) UnmarshalJSON ¶
func (v *NullableBackupProperties) UnmarshalJSON(src []byte) error
func (*NullableBackupProperties) Unset ¶
func (v *NullableBackupProperties) Unset()
type NullableBackupRetentionProperties ¶
type NullableBackupRetentionProperties struct {
// contains filtered or unexported fields
}
func NewNullableBackupRetentionProperties ¶
func NewNullableBackupRetentionProperties(val *BackupRetentionProperties) *NullableBackupRetentionProperties
func (NullableBackupRetentionProperties) Get ¶
func (v NullableBackupRetentionProperties) Get() *BackupRetentionProperties
func (NullableBackupRetentionProperties) IsSet ¶
func (v NullableBackupRetentionProperties) IsSet() bool
func (NullableBackupRetentionProperties) MarshalJSON ¶
func (v NullableBackupRetentionProperties) MarshalJSON() ([]byte, error)
func (*NullableBackupRetentionProperties) Set ¶
func (v *NullableBackupRetentionProperties) Set(val *BackupRetentionProperties)
func (*NullableBackupRetentionProperties) UnmarshalJSON ¶
func (v *NullableBackupRetentionProperties) UnmarshalJSON(src []byte) error
func (*NullableBackupRetentionProperties) Unset ¶
func (v *NullableBackupRetentionProperties) Unset()
type NullableBiConnectorProperties ¶
type NullableBiConnectorProperties struct {
// contains filtered or unexported fields
}
func NewNullableBiConnectorProperties ¶
func NewNullableBiConnectorProperties(val *BiConnectorProperties) *NullableBiConnectorProperties
func (NullableBiConnectorProperties) Get ¶
func (v NullableBiConnectorProperties) Get() *BiConnectorProperties
func (NullableBiConnectorProperties) IsSet ¶
func (v NullableBiConnectorProperties) IsSet() bool
func (NullableBiConnectorProperties) MarshalJSON ¶
func (v NullableBiConnectorProperties) MarshalJSON() ([]byte, error)
func (*NullableBiConnectorProperties) Set ¶
func (v *NullableBiConnectorProperties) Set(val *BiConnectorProperties)
func (*NullableBiConnectorProperties) UnmarshalJSON ¶
func (v *NullableBiConnectorProperties) UnmarshalJSON(src []byte) error
func (*NullableBiConnectorProperties) Unset ¶
func (v *NullableBiConnectorProperties) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableClusterList ¶
type NullableClusterList struct {
// contains filtered or unexported fields
}
func NewNullableClusterList ¶
func NewNullableClusterList(val *ClusterList) *NullableClusterList
func (NullableClusterList) Get ¶
func (v NullableClusterList) Get() *ClusterList
func (NullableClusterList) IsSet ¶
func (v NullableClusterList) IsSet() bool
func (NullableClusterList) MarshalJSON ¶
func (v NullableClusterList) MarshalJSON() ([]byte, error)
func (*NullableClusterList) Set ¶
func (v *NullableClusterList) Set(val *ClusterList)
func (*NullableClusterList) UnmarshalJSON ¶
func (v *NullableClusterList) UnmarshalJSON(src []byte) error
func (*NullableClusterList) Unset ¶
func (v *NullableClusterList) Unset()
type NullableClusterListAllOf ¶
type NullableClusterListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableClusterListAllOf ¶
func NewNullableClusterListAllOf(val *ClusterListAllOf) *NullableClusterListAllOf
func (NullableClusterListAllOf) Get ¶
func (v NullableClusterListAllOf) Get() *ClusterListAllOf
func (NullableClusterListAllOf) IsSet ¶
func (v NullableClusterListAllOf) IsSet() bool
func (NullableClusterListAllOf) MarshalJSON ¶
func (v NullableClusterListAllOf) MarshalJSON() ([]byte, error)
func (*NullableClusterListAllOf) Set ¶
func (v *NullableClusterListAllOf) Set(val *ClusterListAllOf)
func (*NullableClusterListAllOf) UnmarshalJSON ¶
func (v *NullableClusterListAllOf) UnmarshalJSON(src []byte) error
func (*NullableClusterListAllOf) Unset ¶
func (v *NullableClusterListAllOf) Unset()
type 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 ¶
type NullableClusterLogsInstancesMessages struct {
// contains filtered or unexported fields
}
func NewNullableClusterLogsInstancesMessages ¶
func NewNullableClusterLogsInstancesMessages(val *ClusterLogsInstancesMessages) *NullableClusterLogsInstancesMessages
func (NullableClusterLogsInstancesMessages) Get ¶
func (v NullableClusterLogsInstancesMessages) Get() *ClusterLogsInstancesMessages
func (NullableClusterLogsInstancesMessages) IsSet ¶
func (v NullableClusterLogsInstancesMessages) IsSet() bool
func (NullableClusterLogsInstancesMessages) MarshalJSON ¶
func (v NullableClusterLogsInstancesMessages) MarshalJSON() ([]byte, error)
func (*NullableClusterLogsInstancesMessages) Set ¶
func (v *NullableClusterLogsInstancesMessages) Set(val *ClusterLogsInstancesMessages)
func (*NullableClusterLogsInstancesMessages) UnmarshalJSON ¶
func (v *NullableClusterLogsInstancesMessages) UnmarshalJSON(src []byte) error
func (*NullableClusterLogsInstancesMessages) Unset ¶
func (v *NullableClusterLogsInstancesMessages) 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 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 NullableDayOfTheWeek ¶
type NullableDayOfTheWeek struct {
// contains filtered or unexported fields
}
func NewNullableDayOfTheWeek ¶
func NewNullableDayOfTheWeek(val *DayOfTheWeek) *NullableDayOfTheWeek
func (NullableDayOfTheWeek) Get ¶
func (v NullableDayOfTheWeek) Get() *DayOfTheWeek
func (NullableDayOfTheWeek) IsSet ¶
func (v NullableDayOfTheWeek) IsSet() bool
func (NullableDayOfTheWeek) MarshalJSON ¶
func (v NullableDayOfTheWeek) MarshalJSON() ([]byte, error)
func (*NullableDayOfTheWeek) Set ¶
func (v *NullableDayOfTheWeek) Set(val *DayOfTheWeek)
func (*NullableDayOfTheWeek) UnmarshalJSON ¶
func (v *NullableDayOfTheWeek) UnmarshalJSON(src []byte) error
func (*NullableDayOfTheWeek) Unset ¶
func (v *NullableDayOfTheWeek) Unset()
type NullableErrorMessage ¶
type NullableErrorMessage struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessage ¶
func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage
func (NullableErrorMessage) Get ¶
func (v NullableErrorMessage) Get() *ErrorMessage
func (NullableErrorMessage) IsSet ¶
func (v NullableErrorMessage) IsSet() bool
func (NullableErrorMessage) MarshalJSON ¶
func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
func (*NullableErrorMessage) Set ¶
func (v *NullableErrorMessage) Set(val *ErrorMessage)
func (*NullableErrorMessage) UnmarshalJSON ¶
func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
func (*NullableErrorMessage) Unset ¶
func (v *NullableErrorMessage) Unset()
type 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 NullableHealth ¶
type NullableHealth struct {
// contains filtered or unexported fields
}
func NewNullableHealth ¶
func NewNullableHealth(val *Health) *NullableHealth
func (NullableHealth) Get ¶
func (v NullableHealth) Get() *Health
func (NullableHealth) IsSet ¶
func (v NullableHealth) IsSet() bool
func (NullableHealth) MarshalJSON ¶
func (v NullableHealth) MarshalJSON() ([]byte, error)
func (*NullableHealth) Set ¶
func (v *NullableHealth) Set(val *Health)
func (*NullableHealth) UnmarshalJSON ¶
func (v *NullableHealth) UnmarshalJSON(src []byte) error
func (*NullableHealth) Unset ¶
func (v *NullableHealth) 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 NullableIonosTime ¶ added in v2.0.2
type NullableIonosTime struct {
NullableTime
}
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 ¶
type NullablePatchUserProperties struct {
// contains filtered or unexported fields
}
func NewNullablePatchUserProperties ¶
func NewNullablePatchUserProperties(val *PatchUserProperties) *NullablePatchUserProperties
func (NullablePatchUserProperties) Get ¶
func (v NullablePatchUserProperties) Get() *PatchUserProperties
func (NullablePatchUserProperties) IsSet ¶
func (v NullablePatchUserProperties) IsSet() bool
func (NullablePatchUserProperties) MarshalJSON ¶
func (v NullablePatchUserProperties) MarshalJSON() ([]byte, error)
func (*NullablePatchUserProperties) Set ¶
func (v *NullablePatchUserProperties) Set(val *PatchUserProperties)
func (*NullablePatchUserProperties) UnmarshalJSON ¶
func (v *NullablePatchUserProperties) UnmarshalJSON(src []byte) error
func (*NullablePatchUserProperties) Unset ¶
func (v *NullablePatchUserProperties) Unset()
type NullablePatchUserRequest ¶
type NullablePatchUserRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchUserRequest ¶
func NewNullablePatchUserRequest(val *PatchUserRequest) *NullablePatchUserRequest
func (NullablePatchUserRequest) Get ¶
func (v NullablePatchUserRequest) Get() *PatchUserRequest
func (NullablePatchUserRequest) IsSet ¶
func (v NullablePatchUserRequest) IsSet() bool
func (NullablePatchUserRequest) MarshalJSON ¶
func (v NullablePatchUserRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchUserRequest) Set ¶
func (v *NullablePatchUserRequest) Set(val *PatchUserRequest)
func (*NullablePatchUserRequest) UnmarshalJSON ¶
func (v *NullablePatchUserRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchUserRequest) Unset ¶
func (v *NullablePatchUserRequest) 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 NullableSnapshotList ¶
type NullableSnapshotList struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotList ¶
func NewNullableSnapshotList(val *SnapshotList) *NullableSnapshotList
func (NullableSnapshotList) Get ¶
func (v NullableSnapshotList) Get() *SnapshotList
func (NullableSnapshotList) IsSet ¶
func (v NullableSnapshotList) IsSet() bool
func (NullableSnapshotList) MarshalJSON ¶
func (v NullableSnapshotList) MarshalJSON() ([]byte, error)
func (*NullableSnapshotList) Set ¶
func (v *NullableSnapshotList) Set(val *SnapshotList)
func (*NullableSnapshotList) UnmarshalJSON ¶
func (v *NullableSnapshotList) UnmarshalJSON(src []byte) error
func (*NullableSnapshotList) Unset ¶
func (v *NullableSnapshotList) Unset()
type NullableSnapshotListAllOf ¶
type NullableSnapshotListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotListAllOf ¶
func NewNullableSnapshotListAllOf(val *SnapshotListAllOf) *NullableSnapshotListAllOf
func (NullableSnapshotListAllOf) Get ¶
func (v NullableSnapshotListAllOf) Get() *SnapshotListAllOf
func (NullableSnapshotListAllOf) IsSet ¶
func (v NullableSnapshotListAllOf) IsSet() bool
func (NullableSnapshotListAllOf) MarshalJSON ¶
func (v NullableSnapshotListAllOf) MarshalJSON() ([]byte, error)
func (*NullableSnapshotListAllOf) Set ¶
func (v *NullableSnapshotListAllOf) Set(val *SnapshotListAllOf)
func (*NullableSnapshotListAllOf) UnmarshalJSON ¶
func (v *NullableSnapshotListAllOf) UnmarshalJSON(src []byte) error
func (*NullableSnapshotListAllOf) Unset ¶
func (v *NullableSnapshotListAllOf) Unset()
type NullableSnapshotProperties ¶
type NullableSnapshotProperties struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotProperties ¶
func NewNullableSnapshotProperties(val *SnapshotProperties) *NullableSnapshotProperties
func (NullableSnapshotProperties) Get ¶
func (v NullableSnapshotProperties) Get() *SnapshotProperties
func (NullableSnapshotProperties) IsSet ¶
func (v NullableSnapshotProperties) IsSet() bool
func (NullableSnapshotProperties) MarshalJSON ¶
func (v NullableSnapshotProperties) MarshalJSON() ([]byte, error)
func (*NullableSnapshotProperties) Set ¶
func (v *NullableSnapshotProperties) Set(val *SnapshotProperties)
func (*NullableSnapshotProperties) UnmarshalJSON ¶
func (v *NullableSnapshotProperties) UnmarshalJSON(src []byte) error
func (*NullableSnapshotProperties) Unset ¶
func (v *NullableSnapshotProperties) Unset()
type NullableSnapshotResponse ¶
type NullableSnapshotResponse struct {
// contains filtered or unexported fields
}
func NewNullableSnapshotResponse ¶
func NewNullableSnapshotResponse(val *SnapshotResponse) *NullableSnapshotResponse
func (NullableSnapshotResponse) Get ¶
func (v NullableSnapshotResponse) Get() *SnapshotResponse
func (NullableSnapshotResponse) IsSet ¶
func (v NullableSnapshotResponse) IsSet() bool
func (NullableSnapshotResponse) MarshalJSON ¶
func (v NullableSnapshotResponse) MarshalJSON() ([]byte, error)
func (*NullableSnapshotResponse) Set ¶
func (v *NullableSnapshotResponse) Set(val *SnapshotResponse)
func (*NullableSnapshotResponse) UnmarshalJSON ¶
func (v *NullableSnapshotResponse) UnmarshalJSON(src []byte) error
func (*NullableSnapshotResponse) Unset ¶
func (v *NullableSnapshotResponse) 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 NullableTemplateList ¶
type NullableTemplateList struct {
// contains filtered or unexported fields
}
func NewNullableTemplateList ¶
func NewNullableTemplateList(val *TemplateList) *NullableTemplateList
func (NullableTemplateList) Get ¶
func (v NullableTemplateList) Get() *TemplateList
func (NullableTemplateList) IsSet ¶
func (v NullableTemplateList) IsSet() bool
func (NullableTemplateList) MarshalJSON ¶
func (v NullableTemplateList) MarshalJSON() ([]byte, error)
func (*NullableTemplateList) Set ¶
func (v *NullableTemplateList) Set(val *TemplateList)
func (*NullableTemplateList) UnmarshalJSON ¶
func (v *NullableTemplateList) UnmarshalJSON(src []byte) error
func (*NullableTemplateList) Unset ¶
func (v *NullableTemplateList) Unset()
type NullableTemplateListAllOf ¶
type NullableTemplateListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableTemplateListAllOf ¶
func NewNullableTemplateListAllOf(val *TemplateListAllOf) *NullableTemplateListAllOf
func (NullableTemplateListAllOf) Get ¶
func (v NullableTemplateListAllOf) Get() *TemplateListAllOf
func (NullableTemplateListAllOf) IsSet ¶
func (v NullableTemplateListAllOf) IsSet() bool
func (NullableTemplateListAllOf) MarshalJSON ¶
func (v NullableTemplateListAllOf) MarshalJSON() ([]byte, error)
func (*NullableTemplateListAllOf) Set ¶
func (v *NullableTemplateListAllOf) Set(val *TemplateListAllOf)
func (*NullableTemplateListAllOf) UnmarshalJSON ¶
func (v *NullableTemplateListAllOf) UnmarshalJSON(src []byte) error
func (*NullableTemplateListAllOf) Unset ¶
func (v *NullableTemplateListAllOf) Unset()
type NullableTemplateProperties ¶
type NullableTemplateProperties struct {
// contains filtered or unexported fields
}
func NewNullableTemplateProperties ¶
func NewNullableTemplateProperties(val *TemplateProperties) *NullableTemplateProperties
func (NullableTemplateProperties) Get ¶
func (v NullableTemplateProperties) Get() *TemplateProperties
func (NullableTemplateProperties) IsSet ¶
func (v NullableTemplateProperties) IsSet() bool
func (NullableTemplateProperties) MarshalJSON ¶
func (v NullableTemplateProperties) MarshalJSON() ([]byte, error)
func (*NullableTemplateProperties) Set ¶
func (v *NullableTemplateProperties) Set(val *TemplateProperties)
func (*NullableTemplateProperties) UnmarshalJSON ¶
func (v *NullableTemplateProperties) UnmarshalJSON(src []byte) error
func (*NullableTemplateProperties) Unset ¶
func (v *NullableTemplateProperties) Unset()
type NullableTemplateResponse ¶
type NullableTemplateResponse struct {
// contains filtered or unexported fields
}
func NewNullableTemplateResponse ¶
func NewNullableTemplateResponse(val *TemplateResponse) *NullableTemplateResponse
func (NullableTemplateResponse) Get ¶
func (v NullableTemplateResponse) Get() *TemplateResponse
func (NullableTemplateResponse) IsSet ¶
func (v NullableTemplateResponse) IsSet() bool
func (NullableTemplateResponse) MarshalJSON ¶
func (v NullableTemplateResponse) MarshalJSON() ([]byte, error)
func (*NullableTemplateResponse) Set ¶
func (v *NullableTemplateResponse) Set(val *TemplateResponse)
func (*NullableTemplateResponse) UnmarshalJSON ¶
func (v *NullableTemplateResponse) UnmarshalJSON(src []byte) error
func (*NullableTemplateResponse) Unset ¶
func (v *NullableTemplateResponse) 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 ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserMetadata ¶
type NullableUserMetadata struct {
// contains filtered or unexported fields
}
func NewNullableUserMetadata ¶
func NewNullableUserMetadata(val *UserMetadata) *NullableUserMetadata
func (NullableUserMetadata) Get ¶
func (v NullableUserMetadata) Get() *UserMetadata
func (NullableUserMetadata) IsSet ¶
func (v NullableUserMetadata) IsSet() bool
func (NullableUserMetadata) MarshalJSON ¶
func (v NullableUserMetadata) MarshalJSON() ([]byte, error)
func (*NullableUserMetadata) Set ¶
func (v *NullableUserMetadata) Set(val *UserMetadata)
func (*NullableUserMetadata) UnmarshalJSON ¶
func (v *NullableUserMetadata) UnmarshalJSON(src []byte) error
func (*NullableUserMetadata) Unset ¶
func (v *NullableUserMetadata) Unset()
type NullableUserProperties ¶
type NullableUserProperties struct {
// contains filtered or unexported fields
}
func NewNullableUserProperties ¶
func NewNullableUserProperties(val *UserProperties) *NullableUserProperties
func (NullableUserProperties) Get ¶
func (v NullableUserProperties) Get() *UserProperties
func (NullableUserProperties) IsSet ¶
func (v NullableUserProperties) IsSet() bool
func (NullableUserProperties) MarshalJSON ¶
func (v NullableUserProperties) MarshalJSON() ([]byte, error)
func (*NullableUserProperties) Set ¶
func (v *NullableUserProperties) Set(val *UserProperties)
func (*NullableUserProperties) UnmarshalJSON ¶
func (v *NullableUserProperties) UnmarshalJSON(src []byte) error
func (*NullableUserProperties) Unset ¶
func (v *NullableUserProperties) Unset()
type NullableUserRoles ¶
type NullableUserRoles struct {
// contains filtered or unexported fields
}
func NewNullableUserRoles ¶
func NewNullableUserRoles(val *UserRoles) *NullableUserRoles
func (NullableUserRoles) Get ¶
func (v NullableUserRoles) Get() *UserRoles
func (NullableUserRoles) IsSet ¶
func (v NullableUserRoles) IsSet() bool
func (NullableUserRoles) MarshalJSON ¶
func (v NullableUserRoles) MarshalJSON() ([]byte, error)
func (*NullableUserRoles) Set ¶
func (v *NullableUserRoles) Set(val *UserRoles)
func (*NullableUserRoles) UnmarshalJSON ¶
func (v *NullableUserRoles) UnmarshalJSON(src []byte) error
func (*NullableUserRoles) Unset ¶
func (v *NullableUserRoles) Unset()
type NullableUsersList ¶
type NullableUsersList struct {
// contains filtered or unexported fields
}
func NewNullableUsersList ¶
func NewNullableUsersList(val *UsersList) *NullableUsersList
func (NullableUsersList) Get ¶
func (v NullableUsersList) Get() *UsersList
func (NullableUsersList) IsSet ¶
func (v NullableUsersList) IsSet() bool
func (NullableUsersList) MarshalJSON ¶
func (v NullableUsersList) MarshalJSON() ([]byte, error)
func (*NullableUsersList) Set ¶
func (v *NullableUsersList) Set(val *UsersList)
func (*NullableUsersList) UnmarshalJSON ¶
func (v *NullableUsersList) UnmarshalJSON(src []byte) error
func (*NullableUsersList) Unset ¶
func (v *NullableUsersList) 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 ¶
func NewPagination() *Pagination
NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Pagination) GetLimit ¶
func (o *Pagination) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*Pagination) GetLimitOk ¶
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() PaginationLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetOffset ¶
func (o *Pagination) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*Pagination) GetOffsetOk ¶
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetLimit ¶
func (o *Pagination) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*Pagination) SetLinks ¶
func (o *Pagination) SetLinks(v PaginationLinks)
SetLinks gets a reference to the given PaginationLinks and assigns it to the Links field.
func (*Pagination) SetOffset ¶
func (o *Pagination) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
type PaginationLinks ¶
type PaginationLinks struct { // The URL (with offset and limit parameters) of the previous page; only present if the offset is greater than 0. Prev *string `json:"prev,omitempty"` // The URL (with offset and limit parameters) of the current page. Self *string `json:"self,omitempty"` // The URL (with offset and limit parameters) of the next page; only present if the offset and limit is less than the total number of elements. Next *string `json:"next,omitempty"` }
PaginationLinks The URLs to navigate the different pages.
func NewPaginationLinks ¶
func NewPaginationLinks() *PaginationLinks
NewPaginationLinks instantiates a new PaginationLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaginationLinksWithDefaults ¶
func NewPaginationLinksWithDefaults() *PaginationLinks
NewPaginationLinksWithDefaults instantiates a new PaginationLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PaginationLinks) GetNext ¶
func (o *PaginationLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*PaginationLinks) GetNextOk ¶
func (o *PaginationLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationLinks) GetPrev ¶
func (o *PaginationLinks) GetPrev() string
GetPrev returns the Prev field value if set, zero value otherwise.
func (*PaginationLinks) GetPrevOk ¶
func (o *PaginationLinks) GetPrevOk() (*string, bool)
GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationLinks) GetSelf ¶
func (o *PaginationLinks) GetSelf() string
GetSelf returns the Self field value if set, zero value otherwise.
func (*PaginationLinks) GetSelfOk ¶
func (o *PaginationLinks) GetSelfOk() (*string, bool)
GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetNext ¶
func (o *PaginationLinks) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*PaginationLinks) SetPrev ¶
func (o *PaginationLinks) SetPrev(v string)
SetPrev gets a reference to the given string and assigns it to the Prev field.
func (*PaginationLinks) SetSelf ¶
func (o *PaginationLinks) SetSelf(v string)
SetSelf gets a reference to the given string and assigns it to the Self field.
func (PaginationLinks) ToMap ¶
func (o PaginationLinks) ToMap() (map[string]interface{}, error)
type PatchClusterProperties ¶
type PatchClusterProperties struct { // The cluster type, either `replicaset` or `sharded-cluster`. Type *string `json:"type,omitempty"` // The name of your cluster. DisplayName *string `json:"displayName,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` // The total number of instances in the cluster (one primary and n-1 secondaries). Instances *int32 `json:"instances,omitempty"` // The total number of shards in the cluster. Shards *int32 `json:"shards,omitempty"` Backup *BackupProperties `json:"backup,omitempty"` BiConnector *BiConnectorProperties `json:"biConnector,omitempty"` Connections []Connection `json:"connections,omitempty"` // The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint. TemplateID *string `json:"templateID,omitempty"` // The cluster edition. Edition *string `json:"edition,omitempty"` // 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"` StorageType *StorageType `json:"storageType,omitempty"` }
PatchClusterProperties Properties of the payload to change a cluster.
func NewPatchClusterProperties ¶
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 ¶
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) GetBackup ¶
func (o *PatchClusterProperties) GetBackup() BackupProperties
GetBackup returns the Backup field value if set, zero value otherwise.
func (*PatchClusterProperties) GetBackupOk ¶
func (o *PatchClusterProperties) GetBackupOk() (*BackupProperties, bool)
GetBackupOk returns a tuple with the Backup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetBiConnector ¶
func (o *PatchClusterProperties) GetBiConnector() BiConnectorProperties
GetBiConnector returns the BiConnector field value if set, zero value otherwise.
func (*PatchClusterProperties) GetBiConnectorOk ¶
func (o *PatchClusterProperties) GetBiConnectorOk() (*BiConnectorProperties, bool)
GetBiConnectorOk returns a tuple with the BiConnector field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetConnections ¶
func (o *PatchClusterProperties) GetConnections() []Connection
GetConnections returns the Connections field value if set, zero value otherwise.
func (*PatchClusterProperties) GetConnectionsOk ¶
func (o *PatchClusterProperties) GetConnectionsOk() ([]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetCores ¶
func (o *PatchClusterProperties) GetCores() int32
GetCores returns the Cores field value if set, zero value otherwise.
func (*PatchClusterProperties) GetCoresOk ¶
func (o *PatchClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetDisplayName ¶
func (o *PatchClusterProperties) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*PatchClusterProperties) GetDisplayNameOk ¶
func (o *PatchClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetEdition ¶
func (o *PatchClusterProperties) GetEdition() string
GetEdition returns the Edition field value if set, zero value otherwise.
func (*PatchClusterProperties) GetEditionOk ¶
func (o *PatchClusterProperties) GetEditionOk() (*string, bool)
GetEditionOk returns a tuple with the Edition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetInstances ¶
func (o *PatchClusterProperties) GetInstances() int32
GetInstances returns the Instances field value if set, zero value otherwise.
func (*PatchClusterProperties) GetInstancesOk ¶
func (o *PatchClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetMaintenanceWindow ¶
func (o *PatchClusterProperties) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value if set, zero value otherwise.
func (*PatchClusterProperties) GetMaintenanceWindowOk ¶
func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetRam ¶
func (o *PatchClusterProperties) GetRam() int32
GetRam returns the Ram field value if set, zero value otherwise.
func (*PatchClusterProperties) GetRamOk ¶
func (o *PatchClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetShards ¶
func (o *PatchClusterProperties) GetShards() int32
GetShards returns the Shards field value if set, zero value otherwise.
func (*PatchClusterProperties) GetShardsOk ¶
func (o *PatchClusterProperties) GetShardsOk() (*int32, bool)
GetShardsOk returns a tuple with the Shards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetStorageSize ¶
func (o *PatchClusterProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field value if set, zero value otherwise.
func (*PatchClusterProperties) GetStorageSizeOk ¶
func (o *PatchClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetStorageType ¶
func (o *PatchClusterProperties) GetStorageType() StorageType
GetStorageType returns the StorageType field value if set, zero value otherwise.
func (*PatchClusterProperties) GetStorageTypeOk ¶
func (o *PatchClusterProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetTemplateID ¶
func (o *PatchClusterProperties) GetTemplateID() string
GetTemplateID returns the TemplateID field value if set, zero value otherwise.
func (*PatchClusterProperties) GetTemplateIDOk ¶
func (o *PatchClusterProperties) GetTemplateIDOk() (*string, bool)
GetTemplateIDOk returns a tuple with the TemplateID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) GetType ¶
func (o *PatchClusterProperties) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PatchClusterProperties) GetTypeOk ¶
func (o *PatchClusterProperties) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterProperties) HasBackup ¶
func (o *PatchClusterProperties) HasBackup() bool
HasBackup returns a boolean if a field has been set.
func (*PatchClusterProperties) HasBiConnector ¶
func (o *PatchClusterProperties) HasBiConnector() bool
HasBiConnector 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) HasEdition ¶
func (o *PatchClusterProperties) HasEdition() bool
HasEdition 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) HasRam ¶
func (o *PatchClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*PatchClusterProperties) HasShards ¶
func (o *PatchClusterProperties) HasShards() bool
HasShards 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) HasStorageType ¶
func (o *PatchClusterProperties) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (*PatchClusterProperties) HasTemplateID ¶
func (o *PatchClusterProperties) HasTemplateID() bool
HasTemplateID returns a boolean if a field has been set.
func (*PatchClusterProperties) HasType ¶
func (o *PatchClusterProperties) HasType() bool
HasType returns a boolean if a field has been set.
func (*PatchClusterProperties) SetBackup ¶
func (o *PatchClusterProperties) SetBackup(v BackupProperties)
SetBackup gets a reference to the given BackupProperties and assigns it to the Backup field.
func (*PatchClusterProperties) SetBiConnector ¶
func (o *PatchClusterProperties) SetBiConnector(v BiConnectorProperties)
SetBiConnector gets a reference to the given BiConnectorProperties and assigns it to the BiConnector field.
func (*PatchClusterProperties) SetConnections ¶
func (o *PatchClusterProperties) SetConnections(v []Connection)
SetConnections gets a reference to the given []Connection and assigns it to the Connections field.
func (*PatchClusterProperties) SetCores ¶
func (o *PatchClusterProperties) SetCores(v int32)
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*PatchClusterProperties) SetDisplayName ¶
func (o *PatchClusterProperties) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*PatchClusterProperties) SetEdition ¶
func (o *PatchClusterProperties) SetEdition(v string)
SetEdition gets a reference to the given string and assigns it to the Edition field.
func (*PatchClusterProperties) SetInstances ¶
func (o *PatchClusterProperties) SetInstances(v int32)
SetInstances gets a reference to the given int32 and assigns it to the Instances field.
func (*PatchClusterProperties) SetMaintenanceWindow ¶
func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow gets a reference to the given MaintenanceWindow and assigns it to the MaintenanceWindow field.
func (*PatchClusterProperties) SetRam ¶
func (o *PatchClusterProperties) SetRam(v int32)
SetRam gets a reference to the given int32 and assigns it to the Ram field.
func (*PatchClusterProperties) SetShards ¶
func (o *PatchClusterProperties) SetShards(v int32)
SetShards gets a reference to the given int32 and assigns it to the Shards field.
func (*PatchClusterProperties) SetStorageSize ¶
func (o *PatchClusterProperties) SetStorageSize(v int32)
SetStorageSize gets a reference to the given int32 and assigns it to the StorageSize field.
func (*PatchClusterProperties) SetStorageType ¶
func (o *PatchClusterProperties) SetStorageType(v StorageType)
SetStorageType gets a reference to the given StorageType and assigns it to the StorageType field.
func (*PatchClusterProperties) SetTemplateID ¶
func (o *PatchClusterProperties) SetTemplateID(v string)
SetTemplateID gets a reference to the given string and assigns it to the TemplateID field.
func (*PatchClusterProperties) SetType ¶
func (o *PatchClusterProperties) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (PatchClusterProperties) ToMap ¶
func (o PatchClusterProperties) ToMap() (map[string]interface{}, error)
type PatchClusterRequest ¶
type PatchClusterRequest struct { Metadata *Metadata `json:"metadata,omitempty"` Properties *PatchClusterProperties `json:"properties,omitempty"` }
PatchClusterRequest Request payload to change a cluster.
func NewPatchClusterRequest ¶
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 ¶
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() Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*PatchClusterRequest) GetMetadataOk ¶
func (o *PatchClusterRequest) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchClusterRequest) GetProperties ¶
func (o *PatchClusterRequest) GetProperties() PatchClusterProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*PatchClusterRequest) GetPropertiesOk ¶
func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
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) SetMetadata ¶
func (o *PatchClusterRequest) SetMetadata(v Metadata)
SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.
func (*PatchClusterRequest) SetProperties ¶
func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
SetProperties gets a reference to the given PatchClusterProperties and assigns it to the Properties field.
func (PatchClusterRequest) ToMap ¶
func (o PatchClusterRequest) ToMap() (map[string]interface{}, error)
type PatchUserProperties ¶
type PatchUserProperties struct { Password *string `json:"password,omitempty"` Roles []UserRoles `json:"roles,omitempty"` }
PatchUserProperties MongoDB database user patch request properties.
func NewPatchUserProperties ¶
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 ¶
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 ¶
func (o *PatchUserProperties) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*PatchUserProperties) GetPasswordOk ¶
func (o *PatchUserProperties) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUserProperties) GetRoles ¶
func (o *PatchUserProperties) GetRoles() []UserRoles
GetRoles returns the Roles field value if set, zero value otherwise.
func (*PatchUserProperties) GetRolesOk ¶
func (o *PatchUserProperties) GetRolesOk() ([]UserRoles, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUserProperties) HasPassword ¶
func (o *PatchUserProperties) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*PatchUserProperties) HasRoles ¶
func (o *PatchUserProperties) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (*PatchUserProperties) SetPassword ¶
func (o *PatchUserProperties) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*PatchUserProperties) SetRoles ¶
func (o *PatchUserProperties) SetRoles(v []UserRoles)
SetRoles gets a reference to the given []UserRoles and assigns it to the Roles field.
func (PatchUserProperties) ToMap ¶
func (o PatchUserProperties) ToMap() (map[string]interface{}, error)
type PatchUserRequest ¶
type PatchUserRequest struct { Metadata *UserMetadata `json:"metadata,omitempty"` Properties *PatchUserProperties `json:"properties,omitempty"` }
PatchUserRequest MongoDB database user patch request.
func NewPatchUserRequest ¶
func NewPatchUserRequest() *PatchUserRequest
NewPatchUserRequest instantiates a new PatchUserRequest 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 NewPatchUserRequestWithDefaults ¶
func NewPatchUserRequestWithDefaults() *PatchUserRequest
NewPatchUserRequestWithDefaults instantiates a new PatchUserRequest 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 (*PatchUserRequest) GetMetadata ¶
func (o *PatchUserRequest) GetMetadata() UserMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*PatchUserRequest) GetMetadataOk ¶
func (o *PatchUserRequest) GetMetadataOk() (*UserMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUserRequest) GetProperties ¶
func (o *PatchUserRequest) GetProperties() PatchUserProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*PatchUserRequest) GetPropertiesOk ¶
func (o *PatchUserRequest) GetPropertiesOk() (*PatchUserProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUserRequest) HasMetadata ¶
func (o *PatchUserRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*PatchUserRequest) HasProperties ¶
func (o *PatchUserRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*PatchUserRequest) SetMetadata ¶
func (o *PatchUserRequest) SetMetadata(v UserMetadata)
SetMetadata gets a reference to the given UserMetadata and assigns it to the Metadata field.
func (*PatchUserRequest) SetProperties ¶
func (o *PatchUserRequest) SetProperties(v PatchUserProperties)
SetProperties gets a reference to the given PatchUserProperties and assigns it to the Properties field.
func (PatchUserRequest) ToMap ¶
func (o PatchUserRequest) ToMap() (map[string]interface{}, error)
type ResourceType ¶
type ResourceType string
ResourceType The resource type.
const ( RESOURCETYPE_COLLECTION ResourceType = "collection" RESOURCETYPE_CLUSTER ResourceType = "cluster" RESOURCETYPE_USER ResourceType = "user" RESOURCETYPE_SNAPSHOT ResourceType = "snapshot" RESOURCETYPE_TEMPLATE ResourceType = "template" )
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) ClustersRestorePost ¶
func (a *RestoresApiService) ClustersRestorePost(ctx _context.Context, clusterId string) ApiClustersRestorePostRequest
* ClustersRestorePost In-place restore of a cluster * Triggers an in-place restore of the given MongoDB 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 ApiClustersRestorePostRequest
func (*RestoresApiService) ClustersRestorePostExecute ¶
func (a *RestoresApiService) ClustersRestorePostExecute(r ApiClustersRestorePostRequest) (*shared.APIResponse, error)
* Execute executes the request
type SnapshotList ¶
type SnapshotList struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items []SnapshotResponse `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"` }
SnapshotList List of snapshots.
func NewSnapshotList ¶
func NewSnapshotList() *SnapshotList
NewSnapshotList instantiates a new SnapshotList 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 NewSnapshotListWithDefaults ¶
func NewSnapshotListWithDefaults() *SnapshotList
NewSnapshotListWithDefaults instantiates a new SnapshotList 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 (*SnapshotList) GetId ¶
func (o *SnapshotList) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SnapshotList) GetIdOk ¶
func (o *SnapshotList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotList) GetItems ¶
func (o *SnapshotList) GetItems() []SnapshotResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*SnapshotList) GetItemsOk ¶
func (o *SnapshotList) GetItemsOk() ([]SnapshotResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotList) GetLimit ¶
func (o *SnapshotList) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*SnapshotList) GetLimitOk ¶
func (o *SnapshotList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotList) GetLinks ¶
func (o *SnapshotList) GetLinks() PaginationLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*SnapshotList) GetLinksOk ¶
func (o *SnapshotList) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotList) GetOffset ¶
func (o *SnapshotList) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*SnapshotList) GetOffsetOk ¶
func (o *SnapshotList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotList) GetType ¶
func (o *SnapshotList) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*SnapshotList) GetTypeOk ¶
func (o *SnapshotList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotList) HasId ¶
func (o *SnapshotList) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotList) HasItems ¶
func (o *SnapshotList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*SnapshotList) HasLimit ¶
func (o *SnapshotList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*SnapshotList) HasLinks ¶
func (o *SnapshotList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*SnapshotList) HasOffset ¶
func (o *SnapshotList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*SnapshotList) HasType ¶
func (o *SnapshotList) HasType() bool
HasType returns a boolean if a field has been set.
func (*SnapshotList) SetId ¶
func (o *SnapshotList) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SnapshotList) SetItems ¶
func (o *SnapshotList) SetItems(v []SnapshotResponse)
SetItems gets a reference to the given []SnapshotResponse and assigns it to the Items field.
func (*SnapshotList) SetLimit ¶
func (o *SnapshotList) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*SnapshotList) SetLinks ¶
func (o *SnapshotList) SetLinks(v PaginationLinks)
SetLinks gets a reference to the given PaginationLinks and assigns it to the Links field.
func (*SnapshotList) SetOffset ¶
func (o *SnapshotList) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*SnapshotList) SetType ¶
func (o *SnapshotList) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (SnapshotList) ToMap ¶
func (o SnapshotList) ToMap() (map[string]interface{}, error)
type SnapshotListAllOf ¶
type SnapshotListAllOf struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items []SnapshotResponse `json:"items,omitempty"` }
SnapshotListAllOf struct for SnapshotListAllOf
func NewSnapshotListAllOf ¶
func NewSnapshotListAllOf() *SnapshotListAllOf
NewSnapshotListAllOf instantiates a new SnapshotListAllOf 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 NewSnapshotListAllOfWithDefaults ¶
func NewSnapshotListAllOfWithDefaults() *SnapshotListAllOf
NewSnapshotListAllOfWithDefaults instantiates a new SnapshotListAllOf 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 (*SnapshotListAllOf) GetId ¶
func (o *SnapshotListAllOf) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SnapshotListAllOf) GetIdOk ¶
func (o *SnapshotListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotListAllOf) GetItems ¶
func (o *SnapshotListAllOf) GetItems() []SnapshotResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*SnapshotListAllOf) GetItemsOk ¶
func (o *SnapshotListAllOf) GetItemsOk() ([]SnapshotResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotListAllOf) GetType ¶
func (o *SnapshotListAllOf) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*SnapshotListAllOf) GetTypeOk ¶
func (o *SnapshotListAllOf) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotListAllOf) HasId ¶
func (o *SnapshotListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotListAllOf) HasItems ¶
func (o *SnapshotListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*SnapshotListAllOf) HasType ¶
func (o *SnapshotListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (*SnapshotListAllOf) SetId ¶
func (o *SnapshotListAllOf) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SnapshotListAllOf) SetItems ¶
func (o *SnapshotListAllOf) SetItems(v []SnapshotResponse)
SetItems gets a reference to the given []SnapshotResponse and assigns it to the Items field.
func (*SnapshotListAllOf) SetType ¶
func (o *SnapshotListAllOf) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (SnapshotListAllOf) ToMap ¶
func (o SnapshotListAllOf) ToMap() (map[string]interface{}, error)
type SnapshotProperties ¶
type SnapshotProperties struct { // The MongoDB version this backup was created from. Version *string `json:"version,omitempty"` // The size of the snapshot in Mebibytes. Size *int32 `json:"size,omitempty"` // The date the resource was created. CreationTime *IonosTime `json:"creationTime,omitempty"` }
SnapshotProperties Properties of a snapshot.
func NewSnapshotProperties ¶
func NewSnapshotProperties() *SnapshotProperties
NewSnapshotProperties instantiates a new SnapshotProperties 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 NewSnapshotPropertiesWithDefaults ¶
func NewSnapshotPropertiesWithDefaults() *SnapshotProperties
NewSnapshotPropertiesWithDefaults instantiates a new SnapshotProperties 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 (*SnapshotProperties) GetCreationTime ¶
func (o *SnapshotProperties) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value if set, zero value otherwise.
func (*SnapshotProperties) GetCreationTimeOk ¶
func (o *SnapshotProperties) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotProperties) GetSize ¶
func (o *SnapshotProperties) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*SnapshotProperties) GetSizeOk ¶
func (o *SnapshotProperties) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotProperties) GetVersion ¶
func (o *SnapshotProperties) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*SnapshotProperties) GetVersionOk ¶
func (o *SnapshotProperties) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotProperties) HasCreationTime ¶
func (o *SnapshotProperties) HasCreationTime() bool
HasCreationTime returns a boolean if a field has been set.
func (*SnapshotProperties) HasSize ¶
func (o *SnapshotProperties) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*SnapshotProperties) HasVersion ¶
func (o *SnapshotProperties) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (*SnapshotProperties) SetCreationTime ¶
func (o *SnapshotProperties) SetCreationTime(v time.Time)
SetCreationTime gets a reference to the given time.Time and assigns it to the CreationTime field.
func (*SnapshotProperties) SetSize ¶
func (o *SnapshotProperties) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*SnapshotProperties) SetVersion ¶
func (o *SnapshotProperties) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (SnapshotProperties) ToMap ¶
func (o SnapshotProperties) ToMap() (map[string]interface{}, error)
type SnapshotResponse ¶
type SnapshotResponse struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Properties *SnapshotProperties `json:"properties,omitempty"` }
SnapshotResponse A database snapshot.
func NewSnapshotResponse ¶
func NewSnapshotResponse() *SnapshotResponse
NewSnapshotResponse instantiates a new SnapshotResponse 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 NewSnapshotResponseWithDefaults ¶
func NewSnapshotResponseWithDefaults() *SnapshotResponse
NewSnapshotResponseWithDefaults instantiates a new SnapshotResponse 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 (*SnapshotResponse) GetId ¶
func (o *SnapshotResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SnapshotResponse) GetIdOk ¶
func (o *SnapshotResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotResponse) GetProperties ¶
func (o *SnapshotResponse) GetProperties() SnapshotProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*SnapshotResponse) GetPropertiesOk ¶
func (o *SnapshotResponse) GetPropertiesOk() (*SnapshotProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotResponse) GetType ¶
func (o *SnapshotResponse) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*SnapshotResponse) GetTypeOk ¶
func (o *SnapshotResponse) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SnapshotResponse) HasId ¶
func (o *SnapshotResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*SnapshotResponse) HasProperties ¶
func (o *SnapshotResponse) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*SnapshotResponse) HasType ¶
func (o *SnapshotResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*SnapshotResponse) SetId ¶
func (o *SnapshotResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SnapshotResponse) SetProperties ¶
func (o *SnapshotResponse) SetProperties(v SnapshotProperties)
SetProperties gets a reference to the given SnapshotProperties and assigns it to the Properties field.
func (*SnapshotResponse) SetType ¶
func (o *SnapshotResponse) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (SnapshotResponse) ToMap ¶
func (o SnapshotResponse) ToMap() (map[string]interface{}, error)
type SnapshotsApiService ¶
type SnapshotsApiService service
SnapshotsApiService SnapshotsApi service
func (*SnapshotsApiService) ClustersSnapshotsGet ¶
func (a *SnapshotsApiService) ClustersSnapshotsGet(ctx _context.Context, clusterId string) ApiClustersSnapshotsGetRequest
* ClustersSnapshotsGet Get the snapshots of your cluster * Retrieves MongoDB snapshots. * @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 ApiClustersSnapshotsGetRequest
func (*SnapshotsApiService) ClustersSnapshotsGetExecute ¶
func (a *SnapshotsApiService) ClustersSnapshotsGetExecute(r ApiClustersSnapshotsGetRequest) (SnapshotList, *shared.APIResponse, error)
* Execute executes the request * @return SnapshotList
type State ¶
type State string
State The current status reported by the cluster. * **AVAILABLE** Resources for this cluster exist and are healthy. * **BUSY** Resources for this cluster are being created or updated. * **DESTROYING** Delete cluster command was issued, the cluster is being deleted. * **FAILED** Failed to get the cluster status. * **UNKNOWN** The state is unknown. * **UPGRADING** The cluster is upgrading to a different edition.
const ( STATE_AVAILABLE State = "AVAILABLE" STATE_BUSY State = "BUSY" STATE_DESTROYING State = "DESTROYING" STATE_FAILED State = "FAILED" STATE_UNKNOWN State = "UNKNOWN" STATE_UPGRADING State = "UPGRADING" )
List of State
func (*State) UnmarshalJSON ¶
type StorageType ¶
type StorageType string
StorageType The storage type used in your cluster.
const ( STORAGETYPE_HDD StorageType = "HDD" STORAGETYPE_SSD StorageType = "SSD" STORAGETYPE_SSD_STANDARD StorageType = "SSD Standard" STORAGETYPE_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 TemplateList ¶
type TemplateList struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items []TemplateResponse `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"` }
TemplateList List of MongoDB templates.
func NewTemplateList ¶
func NewTemplateList() *TemplateList
NewTemplateList instantiates a new TemplateList 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 NewTemplateListWithDefaults ¶
func NewTemplateListWithDefaults() *TemplateList
NewTemplateListWithDefaults instantiates a new TemplateList 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 (*TemplateList) GetId ¶
func (o *TemplateList) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TemplateList) GetIdOk ¶
func (o *TemplateList) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateList) GetItems ¶
func (o *TemplateList) GetItems() []TemplateResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*TemplateList) GetItemsOk ¶
func (o *TemplateList) GetItemsOk() ([]TemplateResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateList) GetLimit ¶
func (o *TemplateList) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*TemplateList) GetLimitOk ¶
func (o *TemplateList) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateList) GetLinks ¶
func (o *TemplateList) GetLinks() PaginationLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*TemplateList) GetLinksOk ¶
func (o *TemplateList) GetLinksOk() (*PaginationLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateList) GetOffset ¶
func (o *TemplateList) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*TemplateList) GetOffsetOk ¶
func (o *TemplateList) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateList) GetType ¶
func (o *TemplateList) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*TemplateList) GetTypeOk ¶
func (o *TemplateList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateList) HasId ¶
func (o *TemplateList) HasId() bool
HasId returns a boolean if a field has been set.
func (*TemplateList) HasItems ¶
func (o *TemplateList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*TemplateList) HasLimit ¶
func (o *TemplateList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*TemplateList) HasLinks ¶
func (o *TemplateList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*TemplateList) HasOffset ¶
func (o *TemplateList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*TemplateList) HasType ¶
func (o *TemplateList) HasType() bool
HasType returns a boolean if a field has been set.
func (*TemplateList) SetId ¶
func (o *TemplateList) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TemplateList) SetItems ¶
func (o *TemplateList) SetItems(v []TemplateResponse)
SetItems gets a reference to the given []TemplateResponse and assigns it to the Items field.
func (*TemplateList) SetLimit ¶
func (o *TemplateList) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*TemplateList) SetLinks ¶
func (o *TemplateList) SetLinks(v PaginationLinks)
SetLinks gets a reference to the given PaginationLinks and assigns it to the Links field.
func (*TemplateList) SetOffset ¶
func (o *TemplateList) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*TemplateList) SetType ¶
func (o *TemplateList) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (TemplateList) ToMap ¶
func (o TemplateList) ToMap() (map[string]interface{}, error)
type TemplateListAllOf ¶
type TemplateListAllOf struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items []TemplateResponse `json:"items,omitempty"` }
TemplateListAllOf struct for TemplateListAllOf
func NewTemplateListAllOf ¶
func NewTemplateListAllOf() *TemplateListAllOf
NewTemplateListAllOf instantiates a new TemplateListAllOf 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 NewTemplateListAllOfWithDefaults ¶
func NewTemplateListAllOfWithDefaults() *TemplateListAllOf
NewTemplateListAllOfWithDefaults instantiates a new TemplateListAllOf 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 (*TemplateListAllOf) GetId ¶
func (o *TemplateListAllOf) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TemplateListAllOf) GetIdOk ¶
func (o *TemplateListAllOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateListAllOf) GetItems ¶
func (o *TemplateListAllOf) GetItems() []TemplateResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*TemplateListAllOf) GetItemsOk ¶
func (o *TemplateListAllOf) GetItemsOk() ([]TemplateResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateListAllOf) GetType ¶
func (o *TemplateListAllOf) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*TemplateListAllOf) GetTypeOk ¶
func (o *TemplateListAllOf) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateListAllOf) HasId ¶
func (o *TemplateListAllOf) HasId() bool
HasId returns a boolean if a field has been set.
func (*TemplateListAllOf) HasItems ¶
func (o *TemplateListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*TemplateListAllOf) HasType ¶
func (o *TemplateListAllOf) HasType() bool
HasType returns a boolean if a field has been set.
func (*TemplateListAllOf) SetId ¶
func (o *TemplateListAllOf) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TemplateListAllOf) SetItems ¶
func (o *TemplateListAllOf) SetItems(v []TemplateResponse)
SetItems gets a reference to the given []TemplateResponse and assigns it to the Items field.
func (*TemplateListAllOf) SetType ¶
func (o *TemplateListAllOf) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (TemplateListAllOf) ToMap ¶
func (o TemplateListAllOf) ToMap() (map[string]interface{}, error)
type TemplateProperties ¶
type TemplateProperties struct { // The name of the template. Name *string `json:"name,omitempty"` // The edition of the template (e.g. enterprise) Edition *string `json:"edition,omitempty"` // The number of CPU cores. Cores *int32 `json:"cores,omitempty"` // The amount of memory in MB. Ram *int32 `json:"ram,omitempty"` // The amount of storage size in GB. StorageSize *int32 `json:"storageSize,omitempty"` }
TemplateProperties The properties of a MongoDB template.
func NewTemplateProperties ¶
func NewTemplateProperties() *TemplateProperties
NewTemplateProperties instantiates a new TemplateProperties 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 NewTemplatePropertiesWithDefaults ¶
func NewTemplatePropertiesWithDefaults() *TemplateProperties
NewTemplatePropertiesWithDefaults instantiates a new TemplateProperties 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 (*TemplateProperties) GetCores ¶
func (o *TemplateProperties) GetCores() int32
GetCores returns the Cores field value if set, zero value otherwise.
func (*TemplateProperties) GetCoresOk ¶
func (o *TemplateProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateProperties) GetEdition ¶
func (o *TemplateProperties) GetEdition() string
GetEdition returns the Edition field value if set, zero value otherwise.
func (*TemplateProperties) GetEditionOk ¶
func (o *TemplateProperties) GetEditionOk() (*string, bool)
GetEditionOk returns a tuple with the Edition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateProperties) GetName ¶
func (o *TemplateProperties) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TemplateProperties) GetNameOk ¶
func (o *TemplateProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateProperties) GetRam ¶
func (o *TemplateProperties) GetRam() int32
GetRam returns the Ram field value if set, zero value otherwise.
func (*TemplateProperties) GetRamOk ¶
func (o *TemplateProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateProperties) GetStorageSize ¶
func (o *TemplateProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field value if set, zero value otherwise.
func (*TemplateProperties) GetStorageSizeOk ¶
func (o *TemplateProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateProperties) HasCores ¶
func (o *TemplateProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*TemplateProperties) HasEdition ¶
func (o *TemplateProperties) HasEdition() bool
HasEdition returns a boolean if a field has been set.
func (*TemplateProperties) HasName ¶
func (o *TemplateProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (*TemplateProperties) HasRam ¶
func (o *TemplateProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (*TemplateProperties) HasStorageSize ¶
func (o *TemplateProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (*TemplateProperties) SetCores ¶
func (o *TemplateProperties) SetCores(v int32)
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*TemplateProperties) SetEdition ¶
func (o *TemplateProperties) SetEdition(v string)
SetEdition gets a reference to the given string and assigns it to the Edition field.
func (*TemplateProperties) SetName ¶
func (o *TemplateProperties) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TemplateProperties) SetRam ¶
func (o *TemplateProperties) SetRam(v int32)
SetRam gets a reference to the given int32 and assigns it to the Ram field.
func (*TemplateProperties) SetStorageSize ¶
func (o *TemplateProperties) SetStorageSize(v int32)
SetStorageSize gets a reference to the given int32 and assigns it to the StorageSize field.
func (TemplateProperties) ToMap ¶
func (o TemplateProperties) ToMap() (map[string]interface{}, error)
type TemplateResponse ¶
type TemplateResponse struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` Properties *TemplateProperties `json:"properties,omitempty"` }
TemplateResponse A MongoDB template.
func NewTemplateResponse ¶
func NewTemplateResponse() *TemplateResponse
NewTemplateResponse instantiates a new TemplateResponse 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 NewTemplateResponseWithDefaults ¶
func NewTemplateResponseWithDefaults() *TemplateResponse
NewTemplateResponseWithDefaults instantiates a new TemplateResponse 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 (*TemplateResponse) GetId ¶
func (o *TemplateResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TemplateResponse) GetIdOk ¶
func (o *TemplateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateResponse) GetMetadata ¶
func (o *TemplateResponse) GetMetadata() Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*TemplateResponse) GetMetadataOk ¶
func (o *TemplateResponse) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateResponse) GetProperties ¶
func (o *TemplateResponse) GetProperties() TemplateProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*TemplateResponse) GetPropertiesOk ¶
func (o *TemplateResponse) GetPropertiesOk() (*TemplateProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateResponse) GetType ¶
func (o *TemplateResponse) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*TemplateResponse) GetTypeOk ¶
func (o *TemplateResponse) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemplateResponse) HasId ¶
func (o *TemplateResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TemplateResponse) HasMetadata ¶
func (o *TemplateResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*TemplateResponse) HasProperties ¶
func (o *TemplateResponse) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*TemplateResponse) HasType ¶
func (o *TemplateResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*TemplateResponse) SetId ¶
func (o *TemplateResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TemplateResponse) SetMetadata ¶
func (o *TemplateResponse) SetMetadata(v Metadata)
SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.
func (*TemplateResponse) SetProperties ¶
func (o *TemplateResponse) SetProperties(v TemplateProperties)
SetProperties gets a reference to the given TemplateProperties and assigns it to the Properties field.
func (*TemplateResponse) SetType ¶
func (o *TemplateResponse) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
func (TemplateResponse) ToMap ¶
func (o TemplateResponse) ToMap() (map[string]interface{}, error)
type TemplatesApiService ¶
type TemplatesApiService service
TemplatesApiService TemplatesApi service
func (*TemplatesApiService) TemplatesGet ¶
func (a *TemplatesApiService) TemplatesGet(ctx _context.Context) ApiTemplatesGetRequest
* TemplatesGet Get Templates * Retrieves a list of valid templates. These templates can be used to create MongoDB clusters; they contain properties, such as number of cores, RAM, and the storage size.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiTemplatesGetRequest
func (*TemplatesApiService) TemplatesGetExecute ¶
func (a *TemplatesApiService) TemplatesGetExecute(r ApiTemplatesGetRequest) (TemplateList, *shared.APIResponse, error)
* Execute executes the request * @return TemplateList
type User ¶
type User struct { Type *ResourceType `json:"type,omitempty"` Metadata *UserMetadata `json:"metadata,omitempty"` Properties *UserProperties `json:"properties,omitempty"` }
User MongoDB database user.
func NewUser ¶
func NewUser() *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 ¶
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) GetMetadata ¶
func (o *User) GetMetadata() UserMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*User) GetMetadataOk ¶
func (o *User) GetMetadataOk() (*UserMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetProperties ¶
func (o *User) GetProperties() UserProperties
GetProperties returns the Properties field value if set, zero value otherwise.
func (*User) GetPropertiesOk ¶
func (o *User) GetPropertiesOk() (*UserProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetType ¶
func (o *User) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*User) GetTypeOk ¶
func (o *User) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*User) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (*User) SetMetadata ¶
func (o *User) SetMetadata(v UserMetadata)
SetMetadata gets a reference to the given UserMetadata and assigns it to the Metadata field.
func (*User) SetProperties ¶
func (o *User) SetProperties(v UserProperties)
SetProperties gets a reference to the given UserProperties and assigns it to the Properties field.
func (*User) SetType ¶
func (o *User) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
type UserMetadata ¶
type UserMetadata struct { // The date the resource was created. CreatedDate *IonosTime `json:"createdDate,omitempty"` // The user who created the resource. CreatedBy *string `json:"createdBy,omitempty"` // The ID of the user who created the resource. CreatedByUserId *string `json:"createdByUserId,omitempty"` }
UserMetadata The metadata of the resource.
func NewUserMetadata ¶
func NewUserMetadata() *UserMetadata
NewUserMetadata instantiates a new UserMetadata 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 NewUserMetadataWithDefaults ¶
func NewUserMetadataWithDefaults() *UserMetadata
NewUserMetadataWithDefaults instantiates a new UserMetadata 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 (*UserMetadata) GetCreatedBy ¶
func (o *UserMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*UserMetadata) GetCreatedByOk ¶
func (o *UserMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserMetadata) GetCreatedByUserId ¶
func (o *UserMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.
func (*UserMetadata) GetCreatedByUserIdOk ¶
func (o *UserMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserMetadata) GetCreatedDate ¶
func (o *UserMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*UserMetadata) GetCreatedDateOk ¶
func (o *UserMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserMetadata) HasCreatedBy ¶
func (o *UserMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*UserMetadata) HasCreatedByUserId ¶
func (o *UserMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (*UserMetadata) HasCreatedDate ¶
func (o *UserMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*UserMetadata) SetCreatedBy ¶
func (o *UserMetadata) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*UserMetadata) SetCreatedByUserId ¶
func (o *UserMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.
func (*UserMetadata) SetCreatedDate ¶
func (o *UserMetadata) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (UserMetadata) ToMap ¶
func (o UserMetadata) ToMap() (map[string]interface{}, error)
type UserProperties ¶
type UserProperties struct { Username string `json:"username"` Password string `json:"password"` Roles []UserRoles `json:"roles,omitempty"` }
UserProperties Mongodb user properties.
func NewUserProperties ¶
func NewUserProperties(username string, password 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 ¶
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 ¶
func (o *UserProperties) GetPassword() string
GetPassword returns the Password field value
func (*UserProperties) GetPasswordOk ¶
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.
func (*UserProperties) GetRoles ¶
func (o *UserProperties) GetRoles() []UserRoles
GetRoles returns the Roles field value if set, zero value otherwise.
func (*UserProperties) GetRolesOk ¶
func (o *UserProperties) GetRolesOk() ([]UserRoles, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProperties) GetUsername ¶
func (o *UserProperties) GetUsername() string
GetUsername returns the Username field value
func (*UserProperties) GetUsernameOk ¶
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.
func (*UserProperties) HasRoles ¶
func (o *UserProperties) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (*UserProperties) SetPassword ¶
func (o *UserProperties) SetPassword(v string)
SetPassword sets field value
func (*UserProperties) SetRoles ¶
func (o *UserProperties) SetRoles(v []UserRoles)
SetRoles gets a reference to the given []UserRoles and assigns it to the Roles field.
func (*UserProperties) SetUsername ¶
func (o *UserProperties) SetUsername(v string)
SetUsername sets field value
func (UserProperties) ToMap ¶
func (o UserProperties) ToMap() (map[string]interface{}, error)
type UserRoles ¶
type UserRoles struct { Role *string `json:"role,omitempty"` Database *string `json:"database,omitempty"` }
UserRoles a list of mongodb user role.
func NewUserRoles ¶
func NewUserRoles() *UserRoles
NewUserRoles instantiates a new UserRoles 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 NewUserRolesWithDefaults ¶
func NewUserRolesWithDefaults() *UserRoles
NewUserRolesWithDefaults instantiates a new UserRoles 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 (*UserRoles) GetDatabase ¶
GetDatabase returns the Database field value if set, zero value otherwise.
func (*UserRoles) GetDatabaseOk ¶
GetDatabaseOk returns a tuple with the Database field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserRoles) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserRoles) HasDatabase ¶
HasDatabase returns a boolean if a field has been set.
func (*UserRoles) SetDatabase ¶
SetDatabase gets a reference to the given string and assigns it to the Database field.
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) ClustersUsersDelete ¶
func (a *UsersApiService) ClustersUsersDelete(ctx _context.Context, clusterId string, username string) ApiClustersUsersDeleteRequest
* ClustersUsersDelete Delete a MongoDB User by ID * Deletes a MongoDB user specified by its ID. * @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 ApiClustersUsersDeleteRequest
func (*UsersApiService) ClustersUsersDeleteExecute ¶
func (a *UsersApiService) ClustersUsersDeleteExecute(r ApiClustersUsersDeleteRequest) (User, *shared.APIResponse, error)
* Execute executes the request * @return User
func (*UsersApiService) ClustersUsersFindById ¶
func (a *UsersApiService) ClustersUsersFindById(ctx _context.Context, clusterId string, username string) ApiClustersUsersFindByIdRequest
* ClustersUsersFindById Get a MongoDB User by ID * Retrieves the MongoDB user identified by the username. * @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 ApiClustersUsersFindByIdRequest
func (*UsersApiService) ClustersUsersFindByIdExecute ¶
func (a *UsersApiService) ClustersUsersFindByIdExecute(r ApiClustersUsersFindByIdRequest) (User, *shared.APIResponse, error)
* Execute executes the request * @return User
func (*UsersApiService) ClustersUsersGet ¶
func (a *UsersApiService) ClustersUsersGet(ctx _context.Context, clusterId string) ApiClustersUsersGetRequest
* ClustersUsersGet Get all Cluster Users * Retrieves a list of MongoDB 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 ApiClustersUsersGetRequest
func (*UsersApiService) ClustersUsersGetExecute ¶
func (a *UsersApiService) ClustersUsersGetExecute(r ApiClustersUsersGetRequest) (UsersList, *shared.APIResponse, error)
* Execute executes the request * @return UsersList
func (*UsersApiService) ClustersUsersPatch ¶
func (a *UsersApiService) ClustersUsersPatch(ctx _context.Context, clusterId string, username string) ApiClustersUsersPatchRequest
* ClustersUsersPatch Patch a MongoDB User by ID * Patches a MongoDB user specified by its ID. * @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 ApiClustersUsersPatchRequest
func (*UsersApiService) ClustersUsersPatchExecute ¶
func (a *UsersApiService) ClustersUsersPatchExecute(r ApiClustersUsersPatchRequest) (User, *shared.APIResponse, error)
* Execute executes the request * @return User
func (*UsersApiService) ClustersUsersPost ¶
func (a *UsersApiService) ClustersUsersPost(ctx _context.Context, clusterId string) ApiClustersUsersPostRequest
* ClustersUsersPost Create MongoDB User * Creates a MongoDB 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 ApiClustersUsersPostRequest
func (*UsersApiService) ClustersUsersPostExecute ¶
func (a *UsersApiService) ClustersUsersPostExecute(r ApiClustersUsersPostRequest) (User, *shared.APIResponse, error)
* Execute executes the request * @return User
type UsersList ¶
type UsersList struct { Type *ResourceType `json:"type,omitempty"` // The unique ID of the resource. Id *string `json:"id,omitempty"` Items []User `json:"items,omitempty"` }
UsersList List of cluster users.
func NewUsersList ¶
func NewUsersList() *UsersList
NewUsersList instantiates a new UsersList 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 NewUsersListWithDefaults ¶
func NewUsersListWithDefaults() *UsersList
NewUsersListWithDefaults instantiates a new UsersList 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 (*UsersList) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersList) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersList) GetType ¶
func (o *UsersList) GetType() ResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*UsersList) GetTypeOk ¶
func (o *UsersList) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersList) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*UsersList) SetItems ¶
SetItems gets a reference to the given []User and assigns it to the Items field.
func (*UsersList) SetType ¶
func (o *UsersList) SetType(v ResourceType)
SetType gets a reference to the given ResourceType and assigns it to the Type field.
Source Files ¶
- api_clusters.go
- api_logs.go
- api_metadata.go
- api_restores.go
- api_snapshots.go
- api_templates.go
- api_users.go
- client.go
- model_api_version.go
- model_backup_properties.go
- model_backup_retention_properties.go
- model_bi_connector_properties.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_properties.go
- model_cluster_response.go
- model_connection.go
- model_create_cluster_properties.go
- model_create_cluster_request.go
- model_create_restore_request.go
- model_day_of_the_week.go
- model_error_message.go
- model_error_response.go
- model_health.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_patch_user_request.go
- model_resource_type.go
- model_snapshot_list.go
- model_snapshot_list_all_of.go
- model_snapshot_properties.go
- model_snapshot_response.go
- model_state.go
- model_storage_type.go
- model_template_list.go
- model_template_list_all_of.go
- model_template_properties.go
- model_template_response.go
- model_user.go
- model_user_metadata.go
- model_user_properties.go
- model_user_roles.go
- model_users_list.go
- utils.go