Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIError
- func (o *APIError) GetApiID() string
- func (o *APIError) GetApiIDOk() (*string, bool)
- func (o *APIError) GetCauses() map[string]bool
- func (o *APIError) GetCausesOk() (*map[string]bool, bool)
- func (o *APIError) GetCode() int32
- func (o *APIError) GetCodeOk() (*int32, bool)
- func (o *APIError) GetMessage() string
- func (o *APIError) GetMessageOk() (*string, bool)
- func (o *APIError) GetRequestID() string
- func (o *APIError) GetRequestIDOk() (*string, bool)
- func (o *APIError) GetTimestamp() string
- func (o *APIError) GetTimestampOk() (*string, bool)
- func (o *APIError) HasApiID() bool
- func (o *APIError) HasCauses() bool
- func (o *APIError) HasRequestID() bool
- func (o *APIError) HasTimestamp() bool
- func (o APIError) MarshalJSON() ([]byte, error)
- func (o *APIError) SetApiID(v string)
- func (o *APIError) SetCauses(v map[string]bool)
- func (o *APIError) SetCode(v int32)
- func (o *APIError) SetMessage(v string)
- func (o *APIError) SetRequestID(v string)
- func (o *APIError) SetTimestamp(v string)
- type APIKey
- type APIResponse
- type AllowedIP
- func (o *AllowedIP) GetCidrIp() string
- func (o *AllowedIP) GetCidrIpOk() (*string, bool)
- func (o *AllowedIP) GetCreatedAt() string
- func (o *AllowedIP) GetCreatedAtOk() (*string, bool)
- func (o *AllowedIP) GetCreatedBy() string
- func (o *AllowedIP) GetCreatedByOk() (*string, bool)
- func (o *AllowedIP) GetDeletedAt() string
- func (o *AllowedIP) GetDeletedAtOk() (*string, bool)
- func (o *AllowedIP) GetDeletedBy() string
- func (o *AllowedIP) GetDeletedByOk() (*string, bool)
- func (o *AllowedIP) GetId() string
- func (o *AllowedIP) GetIdOk() (*string, bool)
- func (o *AllowedIP) GetName() string
- func (o *AllowedIP) GetNameOk() (*string, bool)
- func (o *AllowedIP) HasDeletedAt() bool
- func (o *AllowedIP) HasDeletedBy() bool
- func (o AllowedIP) MarshalJSON() ([]byte, error)
- func (o *AllowedIP) SetCidrIp(v string)
- func (o *AllowedIP) SetCreatedAt(v string)
- func (o *AllowedIP) SetCreatedBy(v string)
- func (o *AllowedIP) SetDeletedAt(v string)
- func (o *AllowedIP) SetDeletedBy(v string)
- func (o *AllowedIP) SetId(v string)
- func (o *AllowedIP) SetName(v string)
- type ApiAddAllowedIPRequest
- type ApiCreateClusterRequest
- type ApiCreateDatabaseRequest
- type ApiDeleteAllowedIPRequest
- type ApiDeleteClusterRequest
- type ApiDeleteDatabaseRequest
- type ApiDeleteUserRequest
- type ApiGetAllowedIPRequest
- type ApiGetClusterConnectionRequest
- type ApiGetClusterRequest
- type ApiGetDatabaseRequest
- type ApiGetUsageRequest
- type ApiListAllowedIPsRequest
- type ApiListClusterSizesRequest
- type ApiListClustersRequest
- type ApiListDatabasesRequest
- type ApiListPlatformsRequest
- type ApiListRegionsRequest
- type ApiListUsersRequest
- type ApiPatchUserRequest
- type ApiScaleClusterRequest
- type ApiStartClusterRequest
- type ApiStartDatabaseRequest
- type ApiStopClusterRequest
- type ApiStopDatabaseRequest
- type ApiUpdateAllowedIPRequest
- type ApiUpdateClusterRequest
- type ApiUpdateDatabaseRequest
- type ApiUpdateUserRequest
- type AutoStop
- type BasicAuth
- type Cluster
- func (o *Cluster) GetAutoStop() AutoStop
- func (o *Cluster) GetAutoStopOk() (*AutoStop, bool)
- func (o *Cluster) GetCreatedAt() string
- func (o *Cluster) GetCreatedAtOk() (*string, bool)
- func (o *Cluster) GetCreatedBy() string
- func (o *Cluster) GetCreatedByOk() (*string, bool)
- func (o *Cluster) GetDeletedAt() string
- func (o *Cluster) GetDeletedAtOk() (*string, bool)
- func (o *Cluster) GetDeletedBy() string
- func (o *Cluster) GetDeletedByOk() (*string, bool)
- func (o *Cluster) GetId() string
- func (o *Cluster) GetIdOk() (*string, bool)
- func (o *Cluster) GetMainCluster() bool
- func (o *Cluster) GetMainClusterOk() (*bool, bool)
- func (o *Cluster) GetName() string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) GetSize() string
- func (o *Cluster) GetSizeOk() (*string, bool)
- func (o *Cluster) GetStatus() Status
- func (o *Cluster) GetStatusOk() (*Status, bool)
- func (o *Cluster) HasAutoStop() bool
- func (o *Cluster) HasDeletedAt() bool
- func (o *Cluster) HasDeletedBy() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetAutoStop(v AutoStop)
- func (o *Cluster) SetCreatedAt(v string)
- func (o *Cluster) SetCreatedBy(v string)
- func (o *Cluster) SetDeletedAt(v string)
- func (o *Cluster) SetDeletedBy(v string)
- func (o *Cluster) SetId(v string)
- func (o *Cluster) SetMainCluster(v bool)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetSize(v string)
- func (o *Cluster) SetStatus(v Status)
- type ClusterOverview
- func (o *ClusterOverview) GetRunning() int32
- func (o *ClusterOverview) GetRunningOk() (*int32, bool)
- func (o *ClusterOverview) GetTotal() int32
- func (o *ClusterOverview) GetTotalOk() (*int32, bool)
- func (o ClusterOverview) MarshalJSON() ([]byte, error)
- func (o *ClusterOverview) SetRunning(v int32)
- func (o *ClusterOverview) SetTotal(v int32)
- type ClusterSize
- func (o *ClusterSize) GetIsDefault() bool
- func (o *ClusterSize) GetIsDefaultOk() (*bool, bool)
- func (o *ClusterSize) GetName() string
- func (o *ClusterSize) GetNameOk() (*string, bool)
- func (o *ClusterSize) GetPrice() float32
- func (o *ClusterSize) GetPriceOk() (*float32, bool)
- func (o *ClusterSize) GetRam() float32
- func (o *ClusterSize) GetRamOk() (*float32, bool)
- func (o *ClusterSize) GetSize() string
- func (o *ClusterSize) GetSizeOk() (*string, bool)
- func (o *ClusterSize) GetVcpu() float32
- func (o *ClusterSize) GetVcpuOk() (*float32, bool)
- func (o ClusterSize) MarshalJSON() ([]byte, error)
- func (o *ClusterSize) SetIsDefault(v bool)
- func (o *ClusterSize) SetName(v string)
- func (o *ClusterSize) SetPrice(v float32)
- func (o *ClusterSize) SetRam(v float32)
- func (o *ClusterSize) SetSize(v string)
- func (o *ClusterSize) SetVcpu(v float32)
- type ClustersApiService
- func (a *ClustersApiService) CreateCluster(ctx context.Context, accountID string, databaseID string) ApiCreateClusterRequest
- func (a *ClustersApiService) CreateClusterExecute(r ApiCreateClusterRequest) (*Cluster, *http.Response, error)
- func (a *ClustersApiService) DeleteCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiDeleteClusterRequest
- func (a *ClustersApiService) DeleteClusterExecute(r ApiDeleteClusterRequest) (*http.Response, error)
- func (a *ClustersApiService) GetCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiGetClusterRequest
- func (a *ClustersApiService) GetClusterConnection(ctx context.Context, accountID string, databaseID string, clusterID string) ApiGetClusterConnectionRequest
- func (a *ClustersApiService) GetClusterConnectionExecute(r ApiGetClusterConnectionRequest) (*Connections, *http.Response, error)
- func (a *ClustersApiService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, *http.Response, error)
- func (a *ClustersApiService) ListClusters(ctx context.Context, accountID string, databaseID string) ApiListClustersRequest
- func (a *ClustersApiService) ListClustersExecute(r ApiListClustersRequest) ([]Cluster, *http.Response, error)
- func (a *ClustersApiService) ScaleCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiScaleClusterRequest
- func (a *ClustersApiService) ScaleClusterExecute(r ApiScaleClusterRequest) (*http.Response, error)
- func (a *ClustersApiService) StartCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiStartClusterRequest
- func (a *ClustersApiService) StartClusterExecute(r ApiStartClusterRequest) (*http.Response, error)
- func (a *ClustersApiService) StopCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiStopClusterRequest
- func (a *ClustersApiService) StopClusterExecute(r ApiStopClusterRequest) (*http.Response, error)
- func (a *ClustersApiService) UpdateCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiUpdateClusterRequest
- func (a *ClustersApiService) UpdateClusterExecute(r ApiUpdateClusterRequest) (*http.Response, error)
- type Configuration
- type ConnectionIPs
- func (o *ConnectionIPs) GetPrivate() []string
- func (o *ConnectionIPs) GetPrivateOk() ([]string, bool)
- func (o *ConnectionIPs) GetPublic() []string
- func (o *ConnectionIPs) GetPublicOk() ([]string, bool)
- func (o ConnectionIPs) MarshalJSON() ([]byte, error)
- func (o *ConnectionIPs) SetPrivate(v []string)
- func (o *ConnectionIPs) SetPublic(v []string)
- type Connections
- func (o *Connections) GetDbUsername() string
- func (o *Connections) GetDbUsernameOk() (*string, bool)
- func (o *Connections) GetDns() string
- func (o *Connections) GetDnsOk() (*string, bool)
- func (o *Connections) GetIps() ConnectionIPs
- func (o *Connections) GetIpsOk() (*ConnectionIPs, bool)
- func (o *Connections) GetJdbc() string
- func (o *Connections) GetJdbcOk() (*string, bool)
- func (o *Connections) GetPort() int32
- func (o *Connections) GetPortOk() (*int32, bool)
- func (o Connections) MarshalJSON() ([]byte, error)
- func (o *Connections) SetDbUsername(v string)
- func (o *Connections) SetDns(v string)
- func (o *Connections) SetIps(v ConnectionIPs)
- func (o *Connections) SetJdbc(v string)
- func (o *Connections) SetPort(v int32)
- type CreateAllowedIP
- func (o *CreateAllowedIP) GetCidrIp() string
- func (o *CreateAllowedIP) GetCidrIpOk() (*string, bool)
- func (o *CreateAllowedIP) GetName() string
- func (o *CreateAllowedIP) GetNameOk() (*string, bool)
- func (o CreateAllowedIP) MarshalJSON() ([]byte, error)
- func (o *CreateAllowedIP) SetCidrIp(v string)
- func (o *CreateAllowedIP) SetName(v string)
- type CreateCluster
- func (o *CreateCluster) GetAutoStop() AutoStop
- func (o *CreateCluster) GetAutoStopOk() (*AutoStop, bool)
- func (o *CreateCluster) GetName() string
- func (o *CreateCluster) GetNameOk() (*string, bool)
- func (o *CreateCluster) GetSize() string
- func (o *CreateCluster) GetSizeOk() (*string, bool)
- func (o *CreateCluster) HasAutoStop() bool
- func (o CreateCluster) MarshalJSON() ([]byte, error)
- func (o *CreateCluster) SetAutoStop(v AutoStop)
- func (o *CreateCluster) SetName(v string)
- func (o *CreateCluster) SetSize(v string)
- type CreateDatabase
- func (o *CreateDatabase) GetInitialCluster() CreateCluster
- func (o *CreateDatabase) GetInitialClusterOk() (*CreateCluster, bool)
- func (o *CreateDatabase) GetName() string
- func (o *CreateDatabase) GetNameOk() (*string, bool)
- func (o *CreateDatabase) GetProvider() string
- func (o *CreateDatabase) GetProviderOk() (*string, bool)
- func (o *CreateDatabase) GetRegion() string
- func (o *CreateDatabase) GetRegionOk() (*string, bool)
- func (o CreateDatabase) MarshalJSON() ([]byte, error)
- func (o *CreateDatabase) SetInitialCluster(v CreateCluster)
- func (o *CreateDatabase) SetName(v string)
- func (o *CreateDatabase) SetProvider(v string)
- func (o *CreateDatabase) SetRegion(v string)
- type Database
- func (o *Database) GetClusters() ClusterOverview
- func (o *Database) GetClustersOk() (*ClusterOverview, bool)
- func (o *Database) GetCreatedAt() string
- func (o *Database) GetCreatedAtOk() (*string, bool)
- func (o *Database) GetCreatedBy() string
- func (o *Database) GetCreatedByOk() (*string, bool)
- func (o *Database) GetDeletedAt() string
- func (o *Database) GetDeletedAtOk() (*string, bool)
- func (o *Database) GetDeletedBy() string
- func (o *Database) GetDeletedByOk() (*string, bool)
- func (o *Database) GetId() string
- func (o *Database) GetIdOk() (*string, bool)
- func (o *Database) GetIntegrations() []Integrations
- func (o *Database) GetIntegrationsOk() ([]Integrations, bool)
- func (o *Database) GetName() string
- func (o *Database) GetNameOk() (*string, bool)
- func (o *Database) GetProvider() string
- func (o *Database) GetProviderOk() (*string, bool)
- func (o *Database) GetRegion() string
- func (o *Database) GetRegionOk() (*string, bool)
- func (o *Database) GetStatus() Status
- func (o *Database) GetStatusOk() (*Status, bool)
- func (o *Database) HasDeletedAt() bool
- func (o *Database) HasDeletedBy() bool
- func (o *Database) HasIntegrations() bool
- func (o Database) MarshalJSON() ([]byte, error)
- func (o *Database) SetClusters(v ClusterOverview)
- func (o *Database) SetCreatedAt(v string)
- func (o *Database) SetCreatedBy(v string)
- func (o *Database) SetDeletedAt(v string)
- func (o *Database) SetDeletedBy(v string)
- func (o *Database) SetId(v string)
- func (o *Database) SetIntegrations(v []Integrations)
- func (o *Database) SetName(v string)
- func (o *Database) SetProvider(v string)
- func (o *Database) SetRegion(v string)
- func (o *Database) SetStatus(v Status)
- type DatabasesApiService
- func (a *DatabasesApiService) CreateDatabase(ctx context.Context, accountID string) ApiCreateDatabaseRequest
- func (a *DatabasesApiService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*Database, *http.Response, error)
- func (a *DatabasesApiService) DeleteDatabase(ctx context.Context, accountID string, databaseID string) ApiDeleteDatabaseRequest
- func (a *DatabasesApiService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) (*http.Response, error)
- func (a *DatabasesApiService) GetDatabase(ctx context.Context, accountID string, databaseID string) ApiGetDatabaseRequest
- func (a *DatabasesApiService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*Database, *http.Response, error)
- func (a *DatabasesApiService) ListDatabases(ctx context.Context, accountID string) ApiListDatabasesRequest
- func (a *DatabasesApiService) ListDatabasesExecute(r ApiListDatabasesRequest) ([]Database, *http.Response, error)
- func (a *DatabasesApiService) StartDatabase(ctx context.Context, accountID string, databaseID string) ApiStartDatabaseRequest
- func (a *DatabasesApiService) StartDatabaseExecute(r ApiStartDatabaseRequest) (*http.Response, error)
- func (a *DatabasesApiService) StopDatabase(ctx context.Context, accountID string, databaseID string) ApiStopDatabaseRequest
- func (a *DatabasesApiService) StopDatabaseExecute(r ApiStopDatabaseRequest) (*http.Response, error)
- func (a *DatabasesApiService) UpdateDatabase(ctx context.Context, accountID string, databaseID string) ApiUpdateDatabaseRequest
- func (a *DatabasesApiService) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) (*http.Response, error)
- type GenericOpenAPIError
- type Integrations
- func (o *Integrations) GetId() string
- func (o *Integrations) GetIdOk() (*string, bool)
- func (o *Integrations) GetName() string
- func (o *Integrations) GetNameOk() (*string, bool)
- func (o *Integrations) GetUrl() string
- func (o *Integrations) GetUrlOk() (*string, bool)
- func (o *Integrations) HasUrl() bool
- func (o Integrations) MarshalJSON() ([]byte, error)
- func (o *Integrations) SetId(v string)
- func (o *Integrations) SetName(v string)
- func (o *Integrations) SetUrl(v string)
- type NullableAPIError
- type NullableAllowedIP
- type NullableAutoStop
- type NullableBool
- type NullableCluster
- type NullableClusterOverview
- func (v NullableClusterOverview) Get() *ClusterOverview
- func (v NullableClusterOverview) IsSet() bool
- func (v NullableClusterOverview) MarshalJSON() ([]byte, error)
- func (v *NullableClusterOverview) Set(val *ClusterOverview)
- func (v *NullableClusterOverview) UnmarshalJSON(src []byte) error
- func (v *NullableClusterOverview) Unset()
- type NullableClusterSize
- func (v NullableClusterSize) Get() *ClusterSize
- func (v NullableClusterSize) IsSet() bool
- func (v NullableClusterSize) MarshalJSON() ([]byte, error)
- func (v *NullableClusterSize) Set(val *ClusterSize)
- func (v *NullableClusterSize) UnmarshalJSON(src []byte) error
- func (v *NullableClusterSize) Unset()
- type NullableConnectionIPs
- func (v NullableConnectionIPs) Get() *ConnectionIPs
- func (v NullableConnectionIPs) IsSet() bool
- func (v NullableConnectionIPs) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionIPs) Set(val *ConnectionIPs)
- func (v *NullableConnectionIPs) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionIPs) Unset()
- type NullableConnections
- func (v NullableConnections) Get() *Connections
- func (v NullableConnections) IsSet() bool
- func (v NullableConnections) MarshalJSON() ([]byte, error)
- func (v *NullableConnections) Set(val *Connections)
- func (v *NullableConnections) UnmarshalJSON(src []byte) error
- func (v *NullableConnections) Unset()
- type NullableCreateAllowedIP
- func (v NullableCreateAllowedIP) Get() *CreateAllowedIP
- func (v NullableCreateAllowedIP) IsSet() bool
- func (v NullableCreateAllowedIP) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAllowedIP) Set(val *CreateAllowedIP)
- func (v *NullableCreateAllowedIP) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAllowedIP) Unset()
- type NullableCreateCluster
- func (v NullableCreateCluster) Get() *CreateCluster
- func (v NullableCreateCluster) IsSet() bool
- func (v NullableCreateCluster) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCluster) Set(val *CreateCluster)
- func (v *NullableCreateCluster) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCluster) Unset()
- type NullableCreateDatabase
- func (v NullableCreateDatabase) Get() *CreateDatabase
- func (v NullableCreateDatabase) IsSet() bool
- func (v NullableCreateDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatabase) Set(val *CreateDatabase)
- func (v *NullableCreateDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatabase) Unset()
- type NullableDatabase
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIntegrations
- func (v NullableIntegrations) Get() *Integrations
- func (v NullableIntegrations) IsSet() bool
- func (v NullableIntegrations) MarshalJSON() ([]byte, error)
- func (v *NullableIntegrations) Set(val *Integrations)
- func (v *NullableIntegrations) UnmarshalJSON(src []byte) error
- func (v *NullableIntegrations) Unset()
- type NullablePatchDatabases
- func (v NullablePatchDatabases) Get() *PatchDatabases
- func (v NullablePatchDatabases) IsSet() bool
- func (v NullablePatchDatabases) MarshalJSON() ([]byte, error)
- func (v *NullablePatchDatabases) Set(val *PatchDatabases)
- func (v *NullablePatchDatabases) UnmarshalJSON(src []byte) error
- func (v *NullablePatchDatabases) Unset()
- type NullablePatchUser
- type NullablePlatform
- type NullableProfile
- type NullableRegion
- type NullableScaleCluster
- func (v NullableScaleCluster) Get() *ScaleCluster
- func (v NullableScaleCluster) IsSet() bool
- func (v NullableScaleCluster) MarshalJSON() ([]byte, error)
- func (v *NullableScaleCluster) Set(val *ScaleCluster)
- func (v *NullableScaleCluster) UnmarshalJSON(src []byte) error
- func (v *NullableScaleCluster) Unset()
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableUpdateAllowedIP
- func (v NullableUpdateAllowedIP) Get() *UpdateAllowedIP
- func (v NullableUpdateAllowedIP) IsSet() bool
- func (v NullableUpdateAllowedIP) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateAllowedIP) Set(val *UpdateAllowedIP)
- func (v *NullableUpdateAllowedIP) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateAllowedIP) Unset()
- type NullableUpdateCluster
- func (v NullableUpdateCluster) Get() *UpdateCluster
- func (v NullableUpdateCluster) IsSet() bool
- func (v NullableUpdateCluster) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCluster) Set(val *UpdateCluster)
- func (v *NullableUpdateCluster) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCluster) Unset()
- type NullableUpdateDatabase
- func (v NullableUpdateDatabase) Get() *UpdateDatabase
- func (v NullableUpdateDatabase) IsSet() bool
- func (v NullableUpdateDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatabase) Set(val *UpdateDatabase)
- func (v *NullableUpdateDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatabase) Unset()
- type NullableUpdateUser
- type NullableUsageCluster
- func (v NullableUsageCluster) Get() *UsageCluster
- func (v NullableUsageCluster) IsSet() bool
- func (v NullableUsageCluster) MarshalJSON() ([]byte, error)
- func (v *NullableUsageCluster) Set(val *UsageCluster)
- func (v *NullableUsageCluster) UnmarshalJSON(src []byte) error
- func (v *NullableUsageCluster) Unset()
- type NullableUsageDatabase
- func (v NullableUsageDatabase) Get() *UsageDatabase
- func (v NullableUsageDatabase) IsSet() bool
- func (v NullableUsageDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableUsageDatabase) Set(val *UsageDatabase)
- func (v *NullableUsageDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableUsageDatabase) Unset()
- type NullableUserDatabase
- func (v NullableUserDatabase) Get() *UserDatabase
- func (v NullableUserDatabase) IsSet() bool
- func (v NullableUserDatabase) MarshalJSON() ([]byte, error)
- func (v *NullableUserDatabase) Set(val *UserDatabase)
- func (v *NullableUserDatabase) UnmarshalJSON(src []byte) error
- func (v *NullableUserDatabase) Unset()
- type NullableUserRole
- type NullableUserStatus
- type PatchDatabases
- func (o *PatchDatabases) GetAdd() []string
- func (o *PatchDatabases) GetAddOk() ([]string, bool)
- func (o *PatchDatabases) GetDelete() []string
- func (o *PatchDatabases) GetDeleteOk() ([]string, bool)
- func (o PatchDatabases) MarshalJSON() ([]byte, error)
- func (o *PatchDatabases) SetAdd(v []string)
- func (o *PatchDatabases) SetDelete(v []string)
- type PatchUser
- func (o *PatchUser) GetDatabases() PatchDatabases
- func (o *PatchUser) GetDatabasesOk() (*PatchDatabases, bool)
- func (o *PatchUser) GetDbUsername() string
- func (o *PatchUser) GetDbUsernameOk() (*string, bool)
- func (o *PatchUser) GetRoleID() string
- func (o *PatchUser) GetRoleIDOk() (*string, bool)
- func (o *PatchUser) HasDatabases() bool
- func (o *PatchUser) HasDbUsername() bool
- func (o *PatchUser) HasRoleID() bool
- func (o PatchUser) MarshalJSON() ([]byte, error)
- func (o *PatchUser) SetDatabases(v PatchDatabases)
- func (o *PatchUser) SetDbUsername(v string)
- func (o *PatchUser) SetRoleID(v string)
- type Platform
- type PlatformApiService
- func (a *PlatformApiService) ListClusterSizes(ctx context.Context, platform string) ApiListClusterSizesRequest
- func (a *PlatformApiService) ListClusterSizesExecute(r ApiListClusterSizesRequest) ([]ClusterSize, *http.Response, error)
- func (a *PlatformApiService) ListPlatforms(ctx context.Context) ApiListPlatformsRequest
- func (a *PlatformApiService) ListPlatformsExecute(r ApiListPlatformsRequest) ([]Platform, *http.Response, error)
- func (a *PlatformApiService) ListRegions(ctx context.Context, platform string) ApiListRegionsRequest
- func (a *PlatformApiService) ListRegionsExecute(r ApiListRegionsRequest) ([]Region, *http.Response, error)
- type Profile
- func (o *Profile) GetCreatedAt() string
- func (o *Profile) GetCreatedAtOk() (*string, bool)
- func (o *Profile) GetCreatedBy() string
- func (o *Profile) GetCreatedByOk() (*string, bool)
- func (o *Profile) GetDatabases() []UserDatabase
- func (o *Profile) GetDatabasesOk() ([]UserDatabase, bool)
- func (o *Profile) GetDbUsername() string
- func (o *Profile) GetDbUsernameOk() (*string, bool)
- func (o *Profile) GetEmail() string
- func (o *Profile) GetEmailOk() (*string, bool)
- func (o *Profile) GetFirstName() string
- func (o *Profile) GetFirstNameOk() (*string, bool)
- func (o *Profile) GetId() string
- func (o *Profile) GetIdOk() (*string, bool)
- func (o *Profile) GetIsDeletable() bool
- func (o *Profile) GetIsDeletableOk() (*bool, bool)
- func (o *Profile) GetLastName() string
- func (o *Profile) GetLastNameOk() (*string, bool)
- func (o *Profile) GetRole() UserRole
- func (o *Profile) GetRoleOk() (*UserRole, bool)
- func (o *Profile) GetStatus() UserStatus
- func (o *Profile) GetStatusOk() (*UserStatus, bool)
- func (o *Profile) HasDatabases() bool
- func (o *Profile) HasDbUsername() bool
- func (o *Profile) HasFirstName() bool
- func (o *Profile) HasLastName() bool
- func (o Profile) MarshalJSON() ([]byte, error)
- func (o *Profile) SetCreatedAt(v string)
- func (o *Profile) SetCreatedBy(v string)
- func (o *Profile) SetDatabases(v []UserDatabase)
- func (o *Profile) SetDbUsername(v string)
- func (o *Profile) SetEmail(v string)
- func (o *Profile) SetFirstName(v string)
- func (o *Profile) SetId(v string)
- func (o *Profile) SetIsDeletable(v bool)
- func (o *Profile) SetLastName(v string)
- func (o *Profile) SetRole(v UserRole)
- func (o *Profile) SetStatus(v UserStatus)
- type Region
- func (o *Region) GetId() string
- func (o *Region) GetIdOk() (*string, bool)
- func (o *Region) GetName() string
- func (o *Region) GetNameOk() (*string, bool)
- func (o *Region) GetPriceMultiplier() float32
- func (o *Region) GetPriceMultiplierOk() (*float32, bool)
- func (o *Region) GetStoragePrice() float32
- func (o *Region) GetStoragePriceOk() (*float32, bool)
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetId(v string)
- func (o *Region) SetName(v string)
- func (o *Region) SetPriceMultiplier(v float32)
- func (o *Region) SetStoragePrice(v float32)
- type ScaleCluster
- type SecurityApiService
- func (a *SecurityApiService) AddAllowedIP(ctx context.Context, accountID string) ApiAddAllowedIPRequest
- func (a *SecurityApiService) AddAllowedIPExecute(r ApiAddAllowedIPRequest) (*AllowedIP, *http.Response, error)
- func (a *SecurityApiService) DeleteAllowedIP(ctx context.Context, accountID string, iD string) ApiDeleteAllowedIPRequest
- func (a *SecurityApiService) DeleteAllowedIPExecute(r ApiDeleteAllowedIPRequest) (*http.Response, error)
- func (a *SecurityApiService) GetAllowedIP(ctx context.Context, accountID string, iD string) ApiGetAllowedIPRequest
- func (a *SecurityApiService) GetAllowedIPExecute(r ApiGetAllowedIPRequest) (*AllowedIP, *http.Response, error)
- func (a *SecurityApiService) ListAllowedIPs(ctx context.Context, accountID string) ApiListAllowedIPsRequest
- func (a *SecurityApiService) ListAllowedIPsExecute(r ApiListAllowedIPsRequest) ([]AllowedIP, *http.Response, error)
- func (a *SecurityApiService) UpdateAllowedIP(ctx context.Context, accountID string, iD string) ApiUpdateAllowedIPRequest
- func (a *SecurityApiService) UpdateAllowedIPExecute(r ApiUpdateAllowedIPRequest) (*http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Status
- type UpdateAllowedIP
- func (o *UpdateAllowedIP) GetCidrIp() string
- func (o *UpdateAllowedIP) GetCidrIpOk() (*string, bool)
- func (o *UpdateAllowedIP) GetName() string
- func (o *UpdateAllowedIP) GetNameOk() (*string, bool)
- func (o UpdateAllowedIP) MarshalJSON() ([]byte, error)
- func (o *UpdateAllowedIP) SetCidrIp(v string)
- func (o *UpdateAllowedIP) SetName(v string)
- type UpdateCluster
- func (o *UpdateCluster) GetAutoStop() AutoStop
- func (o *UpdateCluster) GetAutoStopOk() (*AutoStop, bool)
- func (o *UpdateCluster) GetName() string
- func (o *UpdateCluster) GetNameOk() (*string, bool)
- func (o *UpdateCluster) HasAutoStop() bool
- func (o UpdateCluster) MarshalJSON() ([]byte, error)
- func (o *UpdateCluster) SetAutoStop(v AutoStop)
- func (o *UpdateCluster) SetName(v string)
- type UpdateDatabase
- type UpdateUser
- func (o *UpdateUser) GetDatabases() []string
- func (o *UpdateUser) GetDatabasesOk() ([]string, bool)
- func (o *UpdateUser) GetDbUsername() string
- func (o *UpdateUser) GetDbUsernameOk() (*string, bool)
- func (o *UpdateUser) GetRoleID() string
- func (o *UpdateUser) GetRoleIDOk() (*string, bool)
- func (o *UpdateUser) HasDatabases() bool
- func (o *UpdateUser) HasRoleID() bool
- func (o UpdateUser) MarshalJSON() ([]byte, error)
- func (o *UpdateUser) SetDatabases(v []string)
- func (o *UpdateUser) SetDbUsername(v string)
- func (o *UpdateUser) SetRoleID(v string)
- type UsageApiService
- type UsageCluster
- func (o *UsageCluster) GetCompute() float32
- func (o *UsageCluster) GetComputeOk() (*float32, bool)
- func (o *UsageCluster) GetId() string
- func (o *UsageCluster) GetIdOk() (*string, bool)
- func (o *UsageCluster) GetName() string
- func (o *UsageCluster) GetNameOk() (*string, bool)
- func (o *UsageCluster) GetOutDifferentRegion() float32
- func (o *UsageCluster) GetOutDifferentRegionOk() (*float32, bool)
- func (o *UsageCluster) GetOutInternet() float32
- func (o *UsageCluster) GetOutInternetOk() (*float32, bool)
- func (o *UsageCluster) GetOutSameRegion() float32
- func (o *UsageCluster) GetOutSameRegionOk() (*float32, bool)
- func (o *UsageCluster) GetSize() string
- func (o *UsageCluster) GetSizeOk() (*string, bool)
- func (o *UsageCluster) HasCompute() bool
- func (o *UsageCluster) HasOutDifferentRegion() bool
- func (o *UsageCluster) HasOutInternet() bool
- func (o *UsageCluster) HasOutSameRegion() bool
- func (o UsageCluster) MarshalJSON() ([]byte, error)
- func (o *UsageCluster) SetCompute(v float32)
- func (o *UsageCluster) SetId(v string)
- func (o *UsageCluster) SetName(v string)
- func (o *UsageCluster) SetOutDifferentRegion(v float32)
- func (o *UsageCluster) SetOutInternet(v float32)
- func (o *UsageCluster) SetOutSameRegion(v float32)
- func (o *UsageCluster) SetSize(v string)
- type UsageDatabase
- func (o *UsageDatabase) GetClusters() []UsageCluster
- func (o *UsageDatabase) GetClustersOk() ([]UsageCluster, bool)
- func (o *UsageDatabase) GetId() string
- func (o *UsageDatabase) GetIdOk() (*string, bool)
- func (o *UsageDatabase) GetName() string
- func (o *UsageDatabase) GetNameOk() (*string, bool)
- func (o *UsageDatabase) GetUsedStorage() float32
- func (o *UsageDatabase) GetUsedStorageOk() (*float32, bool)
- func (o *UsageDatabase) HasUsedStorage() bool
- func (o UsageDatabase) MarshalJSON() ([]byte, error)
- func (o *UsageDatabase) SetClusters(v []UsageCluster)
- func (o *UsageDatabase) SetId(v string)
- func (o *UsageDatabase) SetName(v string)
- func (o *UsageDatabase) SetUsedStorage(v float32)
- type UserDatabase
- func (o *UserDatabase) GetId() string
- func (o *UserDatabase) GetIdOk() (*string, bool)
- func (o *UserDatabase) GetName() string
- func (o *UserDatabase) GetNameOk() (*string, bool)
- func (o UserDatabase) MarshalJSON() ([]byte, error)
- func (o *UserDatabase) SetId(v string)
- func (o *UserDatabase) SetName(v string)
- type UserRole
- type UserStatus
- type UsersApiService
- func (a *UsersApiService) DeleteUser(ctx context.Context, accountID string, userID string) ApiDeleteUserRequest
- func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
- func (a *UsersApiService) ListUsers(ctx context.Context, accountID string) ApiListUsersRequest
- func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) ([]Profile, *http.Response, error)
- func (a *UsersApiService) PatchUser(ctx context.Context, accountID string, userID string) ApiPatchUserRequest
- func (a *UsersApiService) PatchUserExecute(r ApiPatchUserRequest) (*http.Response, error)
- func (a *UsersApiService) UpdateUser(ctx context.Context, accountID string, userID string) ApiUpdateUserRequest
- func (a *UsersApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedStatusEnumValues = []Status{
"todelete",
"tostart",
"tocreate",
"tostop",
"creating",
"starting",
"running",
"stopping",
"stopped",
"error",
"maintenance",
"deleting",
"deleted",
}
All allowed values of Status enum
var AllowedUserStatusEnumValues = []UserStatus{
"active",
"deactivated",
"pending",
}
All allowed values of UserStatus enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { ClustersApi *ClustersApiService DatabasesApi *DatabasesApiService PlatformApi *PlatformApiService SecurityApi *SecurityApiService UsageApi *UsageApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the Exasol SaaS REST-API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIError ¶
type APIError struct { Code int32 `json:"code"` Message string `json:"message"` Causes *map[string]bool `json:"causes,omitempty"` RequestID *string `json:"requestID,omitempty"` Timestamp *string `json:"timestamp,omitempty"` ApiID *string `json:"apiID,omitempty"` }
APIError struct for APIError
func NewAPIError ¶
NewAPIError instantiates a new APIError 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 NewAPIErrorWithDefaults ¶
func NewAPIErrorWithDefaults() *APIError
NewAPIErrorWithDefaults instantiates a new APIError 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 (*APIError) GetApiIDOk ¶
GetApiIDOk returns a tuple with the ApiID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIError) GetCausesOk ¶
GetCausesOk returns a tuple with the Causes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIError) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*APIError) GetMessage ¶
GetMessage returns the Message field value
func (*APIError) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*APIError) GetRequestID ¶
GetRequestID returns the RequestID field value if set, zero value otherwise.
func (*APIError) GetRequestIDOk ¶
GetRequestIDOk returns a tuple with the RequestID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIError) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*APIError) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIError) HasRequestID ¶
HasRequestID returns a boolean if a field has been set.
func (*APIError) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (APIError) MarshalJSON ¶
func (*APIError) SetApiID ¶
SetApiID gets a reference to the given string and assigns it to the ApiID field.
func (*APIError) SetCauses ¶
SetCauses gets a reference to the given map[string]bool and assigns it to the Causes field.
func (*APIError) SetRequestID ¶
SetRequestID gets a reference to the given string and assigns it to the RequestID field.
func (*APIError) SetTimestamp ¶
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AllowedIP ¶
type AllowedIP struct { Id string `json:"id"` Name string `json:"name"` CidrIp string `json:"cidrIp"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` DeletedBy *string `json:"deletedBy,omitempty"` DeletedAt *string `json:"deletedAt,omitempty"` }
AllowedIP struct for AllowedIP
func NewAllowedIP ¶
func NewAllowedIP(id string, name string, cidrIp string, createdAt string, createdBy string) *AllowedIP
NewAllowedIP instantiates a new AllowedIP 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 NewAllowedIPWithDefaults ¶
func NewAllowedIPWithDefaults() *AllowedIP
NewAllowedIPWithDefaults instantiates a new AllowedIP 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 (*AllowedIP) GetCidrIpOk ¶
GetCidrIpOk returns a tuple with the CidrIp field value and a boolean to check if the value has been set.
func (*AllowedIP) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*AllowedIP) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AllowedIP) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*AllowedIP) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*AllowedIP) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*AllowedIP) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllowedIP) GetDeletedBy ¶
GetDeletedBy returns the DeletedBy field value if set, zero value otherwise.
func (*AllowedIP) GetDeletedByOk ¶
GetDeletedByOk returns a tuple with the DeletedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllowedIP) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AllowedIP) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AllowedIP) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*AllowedIP) HasDeletedBy ¶
HasDeletedBy returns a boolean if a field has been set.
func (AllowedIP) MarshalJSON ¶
func (*AllowedIP) SetCreatedAt ¶
SetCreatedAt sets field value
func (*AllowedIP) SetCreatedBy ¶
SetCreatedBy sets field value
func (*AllowedIP) SetDeletedAt ¶
SetDeletedAt gets a reference to the given string and assigns it to the DeletedAt field.
func (*AllowedIP) SetDeletedBy ¶
SetDeletedBy gets a reference to the given string and assigns it to the DeletedBy field.
type ApiAddAllowedIPRequest ¶
type ApiAddAllowedIPRequest struct { ApiService *SecurityApiService // contains filtered or unexported fields }
func (ApiAddAllowedIPRequest) CreateAllowedIP ¶
func (r ApiAddAllowedIPRequest) CreateAllowedIP(createAllowedIP CreateAllowedIP) ApiAddAllowedIPRequest
type ApiCreateClusterRequest ¶
type ApiCreateClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiCreateClusterRequest) CreateCluster ¶
func (r ApiCreateClusterRequest) CreateCluster(createCluster CreateCluster) ApiCreateClusterRequest
type ApiCreateDatabaseRequest ¶
type ApiCreateDatabaseRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
func (ApiCreateDatabaseRequest) CreateDatabase ¶
func (r ApiCreateDatabaseRequest) CreateDatabase(createDatabase CreateDatabase) ApiCreateDatabaseRequest
type ApiDeleteAllowedIPRequest ¶
type ApiDeleteAllowedIPRequest struct { ApiService *SecurityApiService // contains filtered or unexported fields }
type ApiDeleteClusterRequest ¶
type ApiDeleteClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
type ApiDeleteDatabaseRequest ¶
type ApiDeleteDatabaseRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiGetAllowedIPRequest ¶
type ApiGetAllowedIPRequest struct { ApiService *SecurityApiService // contains filtered or unexported fields }
type ApiGetClusterConnectionRequest ¶
type ApiGetClusterConnectionRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiGetClusterConnectionRequest) Execute ¶
func (r ApiGetClusterConnectionRequest) Execute() (*Connections, *http.Response, error)
type ApiGetClusterRequest ¶
type ApiGetClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
type ApiGetDatabaseRequest ¶
type ApiGetDatabaseRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
type ApiGetUsageRequest ¶
type ApiGetUsageRequest struct { ApiService *UsageApiService // contains filtered or unexported fields }
func (ApiGetUsageRequest) Execute ¶
func (r ApiGetUsageRequest) Execute() (*map[string][]UsageDatabase, *http.Response, error)
func (ApiGetUsageRequest) Type_ ¶
func (r ApiGetUsageRequest) Type_(type_ string) ApiGetUsageRequest
Response format
func (ApiGetUsageRequest) YearMonth ¶
func (r ApiGetUsageRequest) YearMonth(yearMonth string) ApiGetUsageRequest
YYYY-MM
type ApiListAllowedIPsRequest ¶
type ApiListAllowedIPsRequest struct { ApiService *SecurityApiService // contains filtered or unexported fields }
type ApiListClusterSizesRequest ¶
type ApiListClusterSizesRequest struct { ApiService *PlatformApiService // contains filtered or unexported fields }
func (ApiListClusterSizesRequest) Execute ¶
func (r ApiListClusterSizesRequest) Execute() ([]ClusterSize, *http.Response, error)
type ApiListClustersRequest ¶
type ApiListClustersRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
type ApiListDatabasesRequest ¶
type ApiListDatabasesRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
type ApiListPlatformsRequest ¶
type ApiListPlatformsRequest struct { ApiService *PlatformApiService // contains filtered or unexported fields }
type ApiListRegionsRequest ¶
type ApiListRegionsRequest struct { ApiService *PlatformApiService // contains filtered or unexported fields }
type ApiListUsersRequest ¶
type ApiListUsersRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() ([]Profile, *http.Response, error)
func (ApiListUsersRequest) Filter ¶
func (r ApiListUsersRequest) Filter(filter string) ApiListUsersRequest
Filter users by email
func (ApiListUsersRequest) Limit ¶
func (r ApiListUsersRequest) Limit(limit int32) ApiListUsersRequest
Limit amount of user in response
func (ApiListUsersRequest) Next ¶
func (r ApiListUsersRequest) Next(next string) ApiListUsersRequest
Get next page of users
type ApiPatchUserRequest ¶
type ApiPatchUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiPatchUserRequest) PatchUser ¶
func (r ApiPatchUserRequest) PatchUser(patchUser PatchUser) ApiPatchUserRequest
type ApiScaleClusterRequest ¶
type ApiScaleClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiScaleClusterRequest) Execute ¶
func (r ApiScaleClusterRequest) Execute() (*http.Response, error)
func (ApiScaleClusterRequest) ScaleCluster ¶
func (r ApiScaleClusterRequest) ScaleCluster(scaleCluster ScaleCluster) ApiScaleClusterRequest
type ApiStartClusterRequest ¶
type ApiStartClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
type ApiStartDatabaseRequest ¶
type ApiStartDatabaseRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
type ApiStopClusterRequest ¶
type ApiStopClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
type ApiStopDatabaseRequest ¶
type ApiStopDatabaseRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
type ApiUpdateAllowedIPRequest ¶
type ApiUpdateAllowedIPRequest struct { ApiService *SecurityApiService // contains filtered or unexported fields }
func (ApiUpdateAllowedIPRequest) Execute ¶
func (r ApiUpdateAllowedIPRequest) Execute() (*http.Response, error)
func (ApiUpdateAllowedIPRequest) UpdateAllowedIP ¶
func (r ApiUpdateAllowedIPRequest) UpdateAllowedIP(updateAllowedIP UpdateAllowedIP) ApiUpdateAllowedIPRequest
type ApiUpdateClusterRequest ¶
type ApiUpdateClusterRequest struct { ApiService *ClustersApiService // contains filtered or unexported fields }
func (ApiUpdateClusterRequest) Execute ¶
func (r ApiUpdateClusterRequest) Execute() (*http.Response, error)
func (ApiUpdateClusterRequest) UpdateCluster ¶
func (r ApiUpdateClusterRequest) UpdateCluster(updateCluster UpdateCluster) ApiUpdateClusterRequest
type ApiUpdateDatabaseRequest ¶
type ApiUpdateDatabaseRequest struct { ApiService *DatabasesApiService // contains filtered or unexported fields }
func (ApiUpdateDatabaseRequest) Execute ¶
func (r ApiUpdateDatabaseRequest) Execute() (*http.Response, error)
func (ApiUpdateDatabaseRequest) UpdateDatabase ¶
func (r ApiUpdateDatabaseRequest) UpdateDatabase(updateDatabase UpdateDatabase) ApiUpdateDatabaseRequest
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() (*http.Response, error)
func (ApiUpdateUserRequest) UpdateUser ¶
func (r ApiUpdateUserRequest) UpdateUser(updateUser UpdateUser) ApiUpdateUserRequest
type AutoStop ¶
AutoStop struct for AutoStop
func NewAutoStop ¶
NewAutoStop instantiates a new AutoStop 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 NewAutoStopWithDefaults ¶
func NewAutoStopWithDefaults() *AutoStop
NewAutoStopWithDefaults instantiates a new AutoStop 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 (*AutoStop) GetEnabled ¶
GetEnabled returns the Enabled field value
func (*AutoStop) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*AutoStop) GetIdleTime ¶
GetIdleTime returns the IdleTime field value
func (*AutoStop) GetIdleTimeOk ¶
GetIdleTimeOk returns a tuple with the IdleTime field value and a boolean to check if the value has been set.
func (AutoStop) MarshalJSON ¶
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Cluster ¶
type Cluster struct { Status Status `json:"status"` DeletedAt *string `json:"deletedAt,omitempty"` DeletedBy *string `json:"deletedBy,omitempty"` Id string `json:"id"` Name string `json:"name"` Size string `json:"size"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` MainCluster bool `json:"mainCluster"` AutoStop *AutoStop `json:"autoStop,omitempty"` }
Cluster struct for Cluster
func NewCluster ¶
func NewCluster(status Status, id string, name string, size string, createdAt string, createdBy string, mainCluster bool) *Cluster
NewCluster instantiates a new Cluster 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 NewClusterWithDefaults ¶
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster 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 (*Cluster) GetAutoStop ¶
GetAutoStop returns the AutoStop field value if set, zero value otherwise.
func (*Cluster) GetAutoStopOk ¶
GetAutoStopOk returns a tuple with the AutoStop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Cluster) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Cluster) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Cluster) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Cluster) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Cluster) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetDeletedBy ¶
GetDeletedBy returns the DeletedBy field value if set, zero value otherwise.
func (*Cluster) GetDeletedByOk ¶
GetDeletedByOk returns a tuple with the DeletedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Cluster) GetMainCluster ¶
GetMainCluster returns the MainCluster field value
func (*Cluster) GetMainClusterOk ¶
GetMainClusterOk returns a tuple with the MainCluster field value and a boolean to check if the value has been set.
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Cluster) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Cluster) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Cluster) HasAutoStop ¶
HasAutoStop returns a boolean if a field has been set.
func (*Cluster) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*Cluster) HasDeletedBy ¶
HasDeletedBy returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
func (*Cluster) SetAutoStop ¶
SetAutoStop gets a reference to the given AutoStop and assigns it to the AutoStop field.
func (*Cluster) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Cluster) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Cluster) SetDeletedAt ¶
SetDeletedAt gets a reference to the given string and assigns it to the DeletedAt field.
func (*Cluster) SetDeletedBy ¶
SetDeletedBy gets a reference to the given string and assigns it to the DeletedBy field.
func (*Cluster) SetMainCluster ¶
SetMainCluster sets field value
type ClusterOverview ¶
ClusterOverview struct for ClusterOverview
func NewClusterOverview ¶
func NewClusterOverview(total int32, running int32) *ClusterOverview
NewClusterOverview instantiates a new ClusterOverview 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 NewClusterOverviewWithDefaults ¶
func NewClusterOverviewWithDefaults() *ClusterOverview
NewClusterOverviewWithDefaults instantiates a new ClusterOverview 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 (*ClusterOverview) GetRunning ¶
func (o *ClusterOverview) GetRunning() int32
GetRunning returns the Running field value
func (*ClusterOverview) GetRunningOk ¶
func (o *ClusterOverview) GetRunningOk() (*int32, bool)
GetRunningOk returns a tuple with the Running field value and a boolean to check if the value has been set.
func (*ClusterOverview) GetTotal ¶
func (o *ClusterOverview) GetTotal() int32
GetTotal returns the Total field value
func (*ClusterOverview) GetTotalOk ¶
func (o *ClusterOverview) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ClusterOverview) MarshalJSON ¶
func (o ClusterOverview) MarshalJSON() ([]byte, error)
func (*ClusterOverview) SetRunning ¶
func (o *ClusterOverview) SetRunning(v int32)
SetRunning sets field value
func (*ClusterOverview) SetTotal ¶
func (o *ClusterOverview) SetTotal(v int32)
SetTotal sets field value
type ClusterSize ¶
type ClusterSize struct { Size string `json:"size"` Price float32 `json:"price"` Vcpu float32 `json:"vcpu"` Ram float32 `json:"ram"` IsDefault bool `json:"isDefault"` Name string `json:"name"` }
ClusterSize struct for ClusterSize
func NewClusterSize ¶
func NewClusterSize(size string, price float32, vcpu float32, ram float32, isDefault bool, name string) *ClusterSize
NewClusterSize instantiates a new ClusterSize 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 NewClusterSizeWithDefaults ¶
func NewClusterSizeWithDefaults() *ClusterSize
NewClusterSizeWithDefaults instantiates a new ClusterSize 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 (*ClusterSize) GetIsDefault ¶
func (o *ClusterSize) GetIsDefault() bool
GetIsDefault returns the IsDefault field value
func (*ClusterSize) GetIsDefaultOk ¶
func (o *ClusterSize) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field value and a boolean to check if the value has been set.
func (*ClusterSize) GetName ¶
func (o *ClusterSize) GetName() string
GetName returns the Name field value
func (*ClusterSize) GetNameOk ¶
func (o *ClusterSize) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ClusterSize) GetPrice ¶
func (o *ClusterSize) GetPrice() float32
GetPrice returns the Price field value
func (*ClusterSize) GetPriceOk ¶
func (o *ClusterSize) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*ClusterSize) GetRam ¶
func (o *ClusterSize) GetRam() float32
GetRam returns the Ram field value
func (*ClusterSize) GetRamOk ¶
func (o *ClusterSize) GetRamOk() (*float32, bool)
GetRamOk returns a tuple with the Ram field value and a boolean to check if the value has been set.
func (*ClusterSize) GetSize ¶
func (o *ClusterSize) GetSize() string
GetSize returns the Size field value
func (*ClusterSize) GetSizeOk ¶
func (o *ClusterSize) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*ClusterSize) GetVcpu ¶
func (o *ClusterSize) GetVcpu() float32
GetVcpu returns the Vcpu field value
func (*ClusterSize) GetVcpuOk ¶
func (o *ClusterSize) GetVcpuOk() (*float32, bool)
GetVcpuOk returns a tuple with the Vcpu field value and a boolean to check if the value has been set.
func (ClusterSize) MarshalJSON ¶
func (o ClusterSize) MarshalJSON() ([]byte, error)
func (*ClusterSize) SetIsDefault ¶
func (o *ClusterSize) SetIsDefault(v bool)
SetIsDefault sets field value
type ClustersApiService ¶
type ClustersApiService service
ClustersApiService ClustersApi service
func (*ClustersApiService) CreateCluster ¶
func (a *ClustersApiService) CreateCluster(ctx context.Context, accountID string, databaseID string) ApiCreateClusterRequest
CreateCluster Create cluster
Create a new cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiCreateClusterRequest
func (*ClustersApiService) CreateClusterExecute ¶
func (a *ClustersApiService) CreateClusterExecute(r ApiCreateClusterRequest) (*Cluster, *http.Response, error)
Execute executes the request
@return Cluster
func (*ClustersApiService) DeleteCluster ¶
func (a *ClustersApiService) DeleteCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiDeleteClusterRequest
DeleteCluster Delete cluster
Delete the cluster, if main cluster is deleted, the whole database will be deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiDeleteClusterRequest
func (*ClustersApiService) DeleteClusterExecute ¶
func (a *ClustersApiService) DeleteClusterExecute(r ApiDeleteClusterRequest) (*http.Response, error)
Execute executes the request
func (*ClustersApiService) GetCluster ¶
func (a *ClustersApiService) GetCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiGetClusterRequest
GetCluster Get cluster
Get cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiGetClusterRequest
func (*ClustersApiService) GetClusterConnection ¶
func (a *ClustersApiService) GetClusterConnection(ctx context.Context, accountID string, databaseID string, clusterID string) ApiGetClusterConnectionRequest
GetClusterConnection Get connection information
Get connection information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiGetClusterConnectionRequest
func (*ClustersApiService) GetClusterConnectionExecute ¶
func (a *ClustersApiService) GetClusterConnectionExecute(r ApiGetClusterConnectionRequest) (*Connections, *http.Response, error)
Execute executes the request
@return Connections
func (*ClustersApiService) GetClusterExecute ¶
func (a *ClustersApiService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, *http.Response, error)
Execute executes the request
@return Cluster
func (*ClustersApiService) ListClusters ¶
func (a *ClustersApiService) ListClusters(ctx context.Context, accountID string, databaseID string) ApiListClustersRequest
ListClusters List clusters
List clusters from a database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiListClustersRequest
func (*ClustersApiService) ListClustersExecute ¶
func (a *ClustersApiService) ListClustersExecute(r ApiListClustersRequest) ([]Cluster, *http.Response, error)
Execute executes the request
@return []Cluster
func (*ClustersApiService) ScaleCluster ¶
func (a *ClustersApiService) ScaleCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiScaleClusterRequest
ScaleCluster Scale cluster
Scale cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiScaleClusterRequest
func (*ClustersApiService) ScaleClusterExecute ¶
func (a *ClustersApiService) ScaleClusterExecute(r ApiScaleClusterRequest) (*http.Response, error)
Execute executes the request
func (*ClustersApiService) StartCluster ¶
func (a *ClustersApiService) StartCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiStartClusterRequest
StartCluster Start cluster
Start cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiStartClusterRequest
func (*ClustersApiService) StartClusterExecute ¶
func (a *ClustersApiService) StartClusterExecute(r ApiStartClusterRequest) (*http.Response, error)
Execute executes the request
func (*ClustersApiService) StopCluster ¶
func (a *ClustersApiService) StopCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiStopClusterRequest
StopCluster Stop cluster
Stop cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiStopClusterRequest
func (*ClustersApiService) StopClusterExecute ¶
func (a *ClustersApiService) StopClusterExecute(r ApiStopClusterRequest) (*http.Response, error)
Execute executes the request
func (*ClustersApiService) UpdateCluster ¶
func (a *ClustersApiService) UpdateCluster(ctx context.Context, accountID string, databaseID string, clusterID string) ApiUpdateClusterRequest
UpdateCluster Update cluster
Update the cluster with the specified ID.
Only metadata can be changed. To scale the cluster size, use the scale cluster endpoint. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @param clusterID Cluster ID @return ApiUpdateClusterRequest
func (*ClustersApiService) UpdateClusterExecute ¶
func (a *ClustersApiService) UpdateClusterExecute(r ApiUpdateClusterRequest) (*http.Response, error)
Execute executes the request
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConnectionIPs ¶
ConnectionIPs struct for ConnectionIPs
func NewConnectionIPs ¶
func NewConnectionIPs(private []string, public []string) *ConnectionIPs
NewConnectionIPs instantiates a new ConnectionIPs 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 NewConnectionIPsWithDefaults ¶
func NewConnectionIPsWithDefaults() *ConnectionIPs
NewConnectionIPsWithDefaults instantiates a new ConnectionIPs 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 (*ConnectionIPs) GetPrivate ¶
func (o *ConnectionIPs) GetPrivate() []string
GetPrivate returns the Private field value
func (*ConnectionIPs) GetPrivateOk ¶
func (o *ConnectionIPs) GetPrivateOk() ([]string, bool)
GetPrivateOk returns a tuple with the Private field value and a boolean to check if the value has been set.
func (*ConnectionIPs) GetPublic ¶
func (o *ConnectionIPs) GetPublic() []string
GetPublic returns the Public field value
func (*ConnectionIPs) GetPublicOk ¶
func (o *ConnectionIPs) GetPublicOk() ([]string, bool)
GetPublicOk returns a tuple with the Public field value and a boolean to check if the value has been set.
func (ConnectionIPs) MarshalJSON ¶
func (o ConnectionIPs) MarshalJSON() ([]byte, error)
func (*ConnectionIPs) SetPrivate ¶
func (o *ConnectionIPs) SetPrivate(v []string)
SetPrivate sets field value
func (*ConnectionIPs) SetPublic ¶
func (o *ConnectionIPs) SetPublic(v []string)
SetPublic sets field value
type Connections ¶
type Connections struct { Dns string `json:"dns"` Port int32 `json:"port"` Jdbc string `json:"jdbc"` Ips ConnectionIPs `json:"ips"` DbUsername string `json:"dbUsername"` }
Connections struct for Connections
func NewConnections ¶
func NewConnections(dns string, port int32, jdbc string, ips ConnectionIPs, dbUsername string) *Connections
NewConnections instantiates a new Connections 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 NewConnectionsWithDefaults ¶
func NewConnectionsWithDefaults() *Connections
NewConnectionsWithDefaults instantiates a new Connections 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 (*Connections) GetDbUsername ¶
func (o *Connections) GetDbUsername() string
GetDbUsername returns the DbUsername field value
func (*Connections) GetDbUsernameOk ¶
func (o *Connections) GetDbUsernameOk() (*string, bool)
GetDbUsernameOk returns a tuple with the DbUsername field value and a boolean to check if the value has been set.
func (*Connections) GetDns ¶
func (o *Connections) GetDns() string
GetDns returns the Dns field value
func (*Connections) GetDnsOk ¶
func (o *Connections) GetDnsOk() (*string, bool)
GetDnsOk returns a tuple with the Dns field value and a boolean to check if the value has been set.
func (*Connections) GetIps ¶
func (o *Connections) GetIps() ConnectionIPs
GetIps returns the Ips field value
func (*Connections) GetIpsOk ¶
func (o *Connections) GetIpsOk() (*ConnectionIPs, bool)
GetIpsOk returns a tuple with the Ips field value and a boolean to check if the value has been set.
func (*Connections) GetJdbc ¶
func (o *Connections) GetJdbc() string
GetJdbc returns the Jdbc field value
func (*Connections) GetJdbcOk ¶
func (o *Connections) GetJdbcOk() (*string, bool)
GetJdbcOk returns a tuple with the Jdbc field value and a boolean to check if the value has been set.
func (*Connections) GetPort ¶
func (o *Connections) GetPort() int32
GetPort returns the Port field value
func (*Connections) GetPortOk ¶
func (o *Connections) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (Connections) MarshalJSON ¶
func (o Connections) MarshalJSON() ([]byte, error)
func (*Connections) SetDbUsername ¶
func (o *Connections) SetDbUsername(v string)
SetDbUsername sets field value
type CreateAllowedIP ¶
CreateAllowedIP struct for CreateAllowedIP
func NewCreateAllowedIP ¶
func NewCreateAllowedIP(name string, cidrIp string) *CreateAllowedIP
NewCreateAllowedIP instantiates a new CreateAllowedIP 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 NewCreateAllowedIPWithDefaults ¶
func NewCreateAllowedIPWithDefaults() *CreateAllowedIP
NewCreateAllowedIPWithDefaults instantiates a new CreateAllowedIP 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 (*CreateAllowedIP) GetCidrIp ¶
func (o *CreateAllowedIP) GetCidrIp() string
GetCidrIp returns the CidrIp field value
func (*CreateAllowedIP) GetCidrIpOk ¶
func (o *CreateAllowedIP) GetCidrIpOk() (*string, bool)
GetCidrIpOk returns a tuple with the CidrIp field value and a boolean to check if the value has been set.
func (*CreateAllowedIP) GetName ¶
func (o *CreateAllowedIP) GetName() string
GetName returns the Name field value
func (*CreateAllowedIP) GetNameOk ¶
func (o *CreateAllowedIP) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateAllowedIP) MarshalJSON ¶
func (o CreateAllowedIP) MarshalJSON() ([]byte, error)
func (*CreateAllowedIP) SetCidrIp ¶
func (o *CreateAllowedIP) SetCidrIp(v string)
SetCidrIp sets field value
func (*CreateAllowedIP) SetName ¶
func (o *CreateAllowedIP) SetName(v string)
SetName sets field value
type CreateCluster ¶
type CreateCluster struct { Name string `json:"name"` Size string `json:"size"` AutoStop *AutoStop `json:"autoStop,omitempty"` }
CreateCluster struct for CreateCluster
func NewCreateCluster ¶
func NewCreateCluster(name string, size string) *CreateCluster
NewCreateCluster instantiates a new CreateCluster 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 NewCreateClusterWithDefaults ¶
func NewCreateClusterWithDefaults() *CreateCluster
NewCreateClusterWithDefaults instantiates a new CreateCluster 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 (*CreateCluster) GetAutoStop ¶
func (o *CreateCluster) GetAutoStop() AutoStop
GetAutoStop returns the AutoStop field value if set, zero value otherwise.
func (*CreateCluster) GetAutoStopOk ¶
func (o *CreateCluster) GetAutoStopOk() (*AutoStop, bool)
GetAutoStopOk returns a tuple with the AutoStop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCluster) GetName ¶
func (o *CreateCluster) GetName() string
GetName returns the Name field value
func (*CreateCluster) GetNameOk ¶
func (o *CreateCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateCluster) GetSize ¶
func (o *CreateCluster) GetSize() string
GetSize returns the Size field value
func (*CreateCluster) GetSizeOk ¶
func (o *CreateCluster) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*CreateCluster) HasAutoStop ¶
func (o *CreateCluster) HasAutoStop() bool
HasAutoStop returns a boolean if a field has been set.
func (CreateCluster) MarshalJSON ¶
func (o CreateCluster) MarshalJSON() ([]byte, error)
func (*CreateCluster) SetAutoStop ¶
func (o *CreateCluster) SetAutoStop(v AutoStop)
SetAutoStop gets a reference to the given AutoStop and assigns it to the AutoStop field.
type CreateDatabase ¶
type CreateDatabase struct { Name string `json:"name"` InitialCluster CreateCluster `json:"initialCluster"` Provider string `json:"provider"` Region string `json:"region"` }
CreateDatabase struct for CreateDatabase
func NewCreateDatabase ¶
func NewCreateDatabase(name string, initialCluster CreateCluster, provider string, region string) *CreateDatabase
NewCreateDatabase instantiates a new CreateDatabase 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 NewCreateDatabaseWithDefaults ¶
func NewCreateDatabaseWithDefaults() *CreateDatabase
NewCreateDatabaseWithDefaults instantiates a new CreateDatabase 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 (*CreateDatabase) GetInitialCluster ¶
func (o *CreateDatabase) GetInitialCluster() CreateCluster
GetInitialCluster returns the InitialCluster field value
func (*CreateDatabase) GetInitialClusterOk ¶
func (o *CreateDatabase) GetInitialClusterOk() (*CreateCluster, bool)
GetInitialClusterOk returns a tuple with the InitialCluster field value and a boolean to check if the value has been set.
func (*CreateDatabase) GetName ¶
func (o *CreateDatabase) GetName() string
GetName returns the Name field value
func (*CreateDatabase) GetNameOk ¶
func (o *CreateDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateDatabase) GetProvider ¶
func (o *CreateDatabase) GetProvider() string
GetProvider returns the Provider field value
func (*CreateDatabase) GetProviderOk ¶
func (o *CreateDatabase) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*CreateDatabase) GetRegion ¶
func (o *CreateDatabase) GetRegion() string
GetRegion returns the Region field value
func (*CreateDatabase) GetRegionOk ¶
func (o *CreateDatabase) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (CreateDatabase) MarshalJSON ¶
func (o CreateDatabase) MarshalJSON() ([]byte, error)
func (*CreateDatabase) SetInitialCluster ¶
func (o *CreateDatabase) SetInitialCluster(v CreateCluster)
SetInitialCluster sets field value
func (*CreateDatabase) SetName ¶
func (o *CreateDatabase) SetName(v string)
SetName sets field value
func (*CreateDatabase) SetProvider ¶
func (o *CreateDatabase) SetProvider(v string)
SetProvider sets field value
func (*CreateDatabase) SetRegion ¶
func (o *CreateDatabase) SetRegion(v string)
SetRegion sets field value
type Database ¶
type Database struct { Status Status `json:"status"` Id string `json:"id"` Name string `json:"name"` Clusters ClusterOverview `json:"clusters"` Integrations []Integrations `json:"integrations,omitempty"` Provider string `json:"provider"` Region string `json:"region"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` DeletedBy *string `json:"deletedBy,omitempty"` DeletedAt *string `json:"deletedAt,omitempty"` }
Database struct for Database
func NewDatabase ¶
func NewDatabase(status Status, id string, name string, clusters ClusterOverview, provider string, region string, createdAt string, createdBy string) *Database
NewDatabase instantiates a new Database object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseWithDefaults ¶
func NewDatabaseWithDefaults() *Database
NewDatabaseWithDefaults instantiates a new Database object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Database) GetClusters ¶
func (o *Database) GetClusters() ClusterOverview
GetClusters returns the Clusters field value
func (*Database) GetClustersOk ¶
func (o *Database) GetClustersOk() (*ClusterOverview, bool)
GetClustersOk returns a tuple with the Clusters field value and a boolean to check if the value has been set.
func (*Database) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Database) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Database) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Database) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Database) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Database) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetDeletedBy ¶
GetDeletedBy returns the DeletedBy field value if set, zero value otherwise.
func (*Database) GetDeletedByOk ¶
GetDeletedByOk returns a tuple with the DeletedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Database) GetIntegrations ¶
func (o *Database) GetIntegrations() []Integrations
GetIntegrations returns the Integrations field value if set, zero value otherwise.
func (*Database) GetIntegrationsOk ¶
func (o *Database) GetIntegrationsOk() ([]Integrations, bool)
GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Database) GetProvider ¶
GetProvider returns the Provider field value
func (*Database) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Database) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Database) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Database) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*Database) HasDeletedBy ¶
HasDeletedBy returns a boolean if a field has been set.
func (*Database) HasIntegrations ¶
HasIntegrations returns a boolean if a field has been set.
func (Database) MarshalJSON ¶
func (*Database) SetClusters ¶
func (o *Database) SetClusters(v ClusterOverview)
SetClusters sets field value
func (*Database) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Database) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Database) SetDeletedAt ¶
SetDeletedAt gets a reference to the given string and assigns it to the DeletedAt field.
func (*Database) SetDeletedBy ¶
SetDeletedBy gets a reference to the given string and assigns it to the DeletedBy field.
func (*Database) SetIntegrations ¶
func (o *Database) SetIntegrations(v []Integrations)
SetIntegrations gets a reference to the given []Integrations and assigns it to the Integrations field.
func (*Database) SetProvider ¶
SetProvider sets field value
type DatabasesApiService ¶
type DatabasesApiService service
DatabasesApiService DatabasesApi service
func (*DatabasesApiService) CreateDatabase ¶
func (a *DatabasesApiService) CreateDatabase(ctx context.Context, accountID string) ApiCreateDatabaseRequest
CreateDatabase Create database
Create a new database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @return ApiCreateDatabaseRequest
func (*DatabasesApiService) CreateDatabaseExecute ¶
func (a *DatabasesApiService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (*Database, *http.Response, error)
Execute executes the request
@return Database
func (*DatabasesApiService) DeleteDatabase ¶
func (a *DatabasesApiService) DeleteDatabase(ctx context.Context, accountID string, databaseID string) ApiDeleteDatabaseRequest
DeleteDatabase Delete database
Delete the database and all cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiDeleteDatabaseRequest
func (*DatabasesApiService) DeleteDatabaseExecute ¶
func (a *DatabasesApiService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) (*http.Response, error)
Execute executes the request
func (*DatabasesApiService) GetDatabase ¶
func (a *DatabasesApiService) GetDatabase(ctx context.Context, accountID string, databaseID string) ApiGetDatabaseRequest
GetDatabase Get database
Get the database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiGetDatabaseRequest
func (*DatabasesApiService) GetDatabaseExecute ¶
func (a *DatabasesApiService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*Database, *http.Response, error)
Execute executes the request
@return Database
func (*DatabasesApiService) ListDatabases ¶
func (a *DatabasesApiService) ListDatabases(ctx context.Context, accountID string) ApiListDatabasesRequest
ListDatabases List databases
List databases
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @return ApiListDatabasesRequest
func (*DatabasesApiService) ListDatabasesExecute ¶
func (a *DatabasesApiService) ListDatabasesExecute(r ApiListDatabasesRequest) ([]Database, *http.Response, error)
Execute executes the request
@return []Database
func (*DatabasesApiService) StartDatabase ¶
func (a *DatabasesApiService) StartDatabase(ctx context.Context, accountID string, databaseID string) ApiStartDatabaseRequest
StartDatabase Start database
Start database If database is from type main, workers will be also started
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiStartDatabaseRequest
func (*DatabasesApiService) StartDatabaseExecute ¶
func (a *DatabasesApiService) StartDatabaseExecute(r ApiStartDatabaseRequest) (*http.Response, error)
Execute executes the request
func (*DatabasesApiService) StopDatabase ¶
func (a *DatabasesApiService) StopDatabase(ctx context.Context, accountID string, databaseID string) ApiStopDatabaseRequest
StopDatabase Stop database
Stop database If database is from type main, workers will be also stopped
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiStopDatabaseRequest
func (*DatabasesApiService) StopDatabaseExecute ¶
func (a *DatabasesApiService) StopDatabaseExecute(r ApiStopDatabaseRequest) (*http.Response, error)
Execute executes the request
func (*DatabasesApiService) UpdateDatabase ¶
func (a *DatabasesApiService) UpdateDatabase(ctx context.Context, accountID string, databaseID string) ApiUpdateDatabaseRequest
UpdateDatabase Update database
Update database
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param databaseID Database ID @return ApiUpdateDatabaseRequest
func (*DatabasesApiService) UpdateDatabaseExecute ¶
func (a *DatabasesApiService) UpdateDatabaseExecute(r ApiUpdateDatabaseRequest) (*http.Response, error)
Execute executes the request
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Integrations ¶
type Integrations struct { Id string `json:"id"` Name string `json:"name"` Url *string `json:"url,omitempty"` }
Integrations struct for Integrations
func NewIntegrations ¶
func NewIntegrations(id string, name string) *Integrations
NewIntegrations instantiates a new Integrations 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 NewIntegrationsWithDefaults ¶
func NewIntegrationsWithDefaults() *Integrations
NewIntegrationsWithDefaults instantiates a new Integrations 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 (*Integrations) GetIdOk ¶
func (o *Integrations) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Integrations) GetName ¶
func (o *Integrations) GetName() string
GetName returns the Name field value
func (*Integrations) GetNameOk ¶
func (o *Integrations) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Integrations) GetUrl ¶
func (o *Integrations) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*Integrations) GetUrlOk ¶
func (o *Integrations) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Integrations) HasUrl ¶
func (o *Integrations) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (Integrations) MarshalJSON ¶
func (o Integrations) MarshalJSON() ([]byte, error)
func (*Integrations) SetUrl ¶
func (o *Integrations) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
type NullableAPIError ¶
type NullableAPIError struct {
// contains filtered or unexported fields
}
func NewNullableAPIError ¶
func NewNullableAPIError(val *APIError) *NullableAPIError
func (NullableAPIError) Get ¶
func (v NullableAPIError) Get() *APIError
func (NullableAPIError) IsSet ¶
func (v NullableAPIError) IsSet() bool
func (NullableAPIError) MarshalJSON ¶
func (v NullableAPIError) MarshalJSON() ([]byte, error)
func (*NullableAPIError) Set ¶
func (v *NullableAPIError) Set(val *APIError)
func (*NullableAPIError) UnmarshalJSON ¶
func (v *NullableAPIError) UnmarshalJSON(src []byte) error
func (*NullableAPIError) Unset ¶
func (v *NullableAPIError) Unset()
type NullableAllowedIP ¶
type NullableAllowedIP struct {
// contains filtered or unexported fields
}
func NewNullableAllowedIP ¶
func NewNullableAllowedIP(val *AllowedIP) *NullableAllowedIP
func (NullableAllowedIP) Get ¶
func (v NullableAllowedIP) Get() *AllowedIP
func (NullableAllowedIP) IsSet ¶
func (v NullableAllowedIP) IsSet() bool
func (NullableAllowedIP) MarshalJSON ¶
func (v NullableAllowedIP) MarshalJSON() ([]byte, error)
func (*NullableAllowedIP) Set ¶
func (v *NullableAllowedIP) Set(val *AllowedIP)
func (*NullableAllowedIP) UnmarshalJSON ¶
func (v *NullableAllowedIP) UnmarshalJSON(src []byte) error
func (*NullableAllowedIP) Unset ¶
func (v *NullableAllowedIP) Unset()
type NullableAutoStop ¶
type NullableAutoStop struct {
// contains filtered or unexported fields
}
func NewNullableAutoStop ¶
func NewNullableAutoStop(val *AutoStop) *NullableAutoStop
func (NullableAutoStop) Get ¶
func (v NullableAutoStop) Get() *AutoStop
func (NullableAutoStop) IsSet ¶
func (v NullableAutoStop) IsSet() bool
func (NullableAutoStop) MarshalJSON ¶
func (v NullableAutoStop) MarshalJSON() ([]byte, error)
func (*NullableAutoStop) Set ¶
func (v *NullableAutoStop) Set(val *AutoStop)
func (*NullableAutoStop) UnmarshalJSON ¶
func (v *NullableAutoStop) UnmarshalJSON(src []byte) error
func (*NullableAutoStop) Unset ¶
func (v *NullableAutoStop) 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 NullableCluster ¶
type NullableCluster struct {
// contains filtered or unexported fields
}
func NewNullableCluster ¶
func NewNullableCluster(val *Cluster) *NullableCluster
func (NullableCluster) Get ¶
func (v NullableCluster) Get() *Cluster
func (NullableCluster) IsSet ¶
func (v NullableCluster) IsSet() bool
func (NullableCluster) MarshalJSON ¶
func (v NullableCluster) MarshalJSON() ([]byte, error)
func (*NullableCluster) Set ¶
func (v *NullableCluster) Set(val *Cluster)
func (*NullableCluster) UnmarshalJSON ¶
func (v *NullableCluster) UnmarshalJSON(src []byte) error
func (*NullableCluster) Unset ¶
func (v *NullableCluster) Unset()
type NullableClusterOverview ¶
type NullableClusterOverview struct {
// contains filtered or unexported fields
}
func NewNullableClusterOverview ¶
func NewNullableClusterOverview(val *ClusterOverview) *NullableClusterOverview
func (NullableClusterOverview) Get ¶
func (v NullableClusterOverview) Get() *ClusterOverview
func (NullableClusterOverview) IsSet ¶
func (v NullableClusterOverview) IsSet() bool
func (NullableClusterOverview) MarshalJSON ¶
func (v NullableClusterOverview) MarshalJSON() ([]byte, error)
func (*NullableClusterOverview) Set ¶
func (v *NullableClusterOverview) Set(val *ClusterOverview)
func (*NullableClusterOverview) UnmarshalJSON ¶
func (v *NullableClusterOverview) UnmarshalJSON(src []byte) error
func (*NullableClusterOverview) Unset ¶
func (v *NullableClusterOverview) Unset()
type NullableClusterSize ¶
type NullableClusterSize struct {
// contains filtered or unexported fields
}
func NewNullableClusterSize ¶
func NewNullableClusterSize(val *ClusterSize) *NullableClusterSize
func (NullableClusterSize) Get ¶
func (v NullableClusterSize) Get() *ClusterSize
func (NullableClusterSize) IsSet ¶
func (v NullableClusterSize) IsSet() bool
func (NullableClusterSize) MarshalJSON ¶
func (v NullableClusterSize) MarshalJSON() ([]byte, error)
func (*NullableClusterSize) Set ¶
func (v *NullableClusterSize) Set(val *ClusterSize)
func (*NullableClusterSize) UnmarshalJSON ¶
func (v *NullableClusterSize) UnmarshalJSON(src []byte) error
func (*NullableClusterSize) Unset ¶
func (v *NullableClusterSize) Unset()
type NullableConnectionIPs ¶
type NullableConnectionIPs struct {
// contains filtered or unexported fields
}
func NewNullableConnectionIPs ¶
func NewNullableConnectionIPs(val *ConnectionIPs) *NullableConnectionIPs
func (NullableConnectionIPs) Get ¶
func (v NullableConnectionIPs) Get() *ConnectionIPs
func (NullableConnectionIPs) IsSet ¶
func (v NullableConnectionIPs) IsSet() bool
func (NullableConnectionIPs) MarshalJSON ¶
func (v NullableConnectionIPs) MarshalJSON() ([]byte, error)
func (*NullableConnectionIPs) Set ¶
func (v *NullableConnectionIPs) Set(val *ConnectionIPs)
func (*NullableConnectionIPs) UnmarshalJSON ¶
func (v *NullableConnectionIPs) UnmarshalJSON(src []byte) error
func (*NullableConnectionIPs) Unset ¶
func (v *NullableConnectionIPs) Unset()
type NullableConnections ¶
type NullableConnections struct {
// contains filtered or unexported fields
}
func NewNullableConnections ¶
func NewNullableConnections(val *Connections) *NullableConnections
func (NullableConnections) Get ¶
func (v NullableConnections) Get() *Connections
func (NullableConnections) IsSet ¶
func (v NullableConnections) IsSet() bool
func (NullableConnections) MarshalJSON ¶
func (v NullableConnections) MarshalJSON() ([]byte, error)
func (*NullableConnections) Set ¶
func (v *NullableConnections) Set(val *Connections)
func (*NullableConnections) UnmarshalJSON ¶
func (v *NullableConnections) UnmarshalJSON(src []byte) error
func (*NullableConnections) Unset ¶
func (v *NullableConnections) Unset()
type NullableCreateAllowedIP ¶
type NullableCreateAllowedIP struct {
// contains filtered or unexported fields
}
func NewNullableCreateAllowedIP ¶
func NewNullableCreateAllowedIP(val *CreateAllowedIP) *NullableCreateAllowedIP
func (NullableCreateAllowedIP) Get ¶
func (v NullableCreateAllowedIP) Get() *CreateAllowedIP
func (NullableCreateAllowedIP) IsSet ¶
func (v NullableCreateAllowedIP) IsSet() bool
func (NullableCreateAllowedIP) MarshalJSON ¶
func (v NullableCreateAllowedIP) MarshalJSON() ([]byte, error)
func (*NullableCreateAllowedIP) Set ¶
func (v *NullableCreateAllowedIP) Set(val *CreateAllowedIP)
func (*NullableCreateAllowedIP) UnmarshalJSON ¶
func (v *NullableCreateAllowedIP) UnmarshalJSON(src []byte) error
func (*NullableCreateAllowedIP) Unset ¶
func (v *NullableCreateAllowedIP) Unset()
type NullableCreateCluster ¶
type NullableCreateCluster struct {
// contains filtered or unexported fields
}
func NewNullableCreateCluster ¶
func NewNullableCreateCluster(val *CreateCluster) *NullableCreateCluster
func (NullableCreateCluster) Get ¶
func (v NullableCreateCluster) Get() *CreateCluster
func (NullableCreateCluster) IsSet ¶
func (v NullableCreateCluster) IsSet() bool
func (NullableCreateCluster) MarshalJSON ¶
func (v NullableCreateCluster) MarshalJSON() ([]byte, error)
func (*NullableCreateCluster) Set ¶
func (v *NullableCreateCluster) Set(val *CreateCluster)
func (*NullableCreateCluster) UnmarshalJSON ¶
func (v *NullableCreateCluster) UnmarshalJSON(src []byte) error
func (*NullableCreateCluster) Unset ¶
func (v *NullableCreateCluster) Unset()
type NullableCreateDatabase ¶
type NullableCreateDatabase struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatabase ¶
func NewNullableCreateDatabase(val *CreateDatabase) *NullableCreateDatabase
func (NullableCreateDatabase) Get ¶
func (v NullableCreateDatabase) Get() *CreateDatabase
func (NullableCreateDatabase) IsSet ¶
func (v NullableCreateDatabase) IsSet() bool
func (NullableCreateDatabase) MarshalJSON ¶
func (v NullableCreateDatabase) MarshalJSON() ([]byte, error)
func (*NullableCreateDatabase) Set ¶
func (v *NullableCreateDatabase) Set(val *CreateDatabase)
func (*NullableCreateDatabase) UnmarshalJSON ¶
func (v *NullableCreateDatabase) UnmarshalJSON(src []byte) error
func (*NullableCreateDatabase) Unset ¶
func (v *NullableCreateDatabase) Unset()
type NullableDatabase ¶
type NullableDatabase struct {
// contains filtered or unexported fields
}
func NewNullableDatabase ¶
func NewNullableDatabase(val *Database) *NullableDatabase
func (NullableDatabase) Get ¶
func (v NullableDatabase) Get() *Database
func (NullableDatabase) IsSet ¶
func (v NullableDatabase) IsSet() bool
func (NullableDatabase) MarshalJSON ¶
func (v NullableDatabase) MarshalJSON() ([]byte, error)
func (*NullableDatabase) Set ¶
func (v *NullableDatabase) Set(val *Database)
func (*NullableDatabase) UnmarshalJSON ¶
func (v *NullableDatabase) UnmarshalJSON(src []byte) error
func (*NullableDatabase) Unset ¶
func (v *NullableDatabase) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableIntegrations ¶
type NullableIntegrations struct {
// contains filtered or unexported fields
}
func NewNullableIntegrations ¶
func NewNullableIntegrations(val *Integrations) *NullableIntegrations
func (NullableIntegrations) Get ¶
func (v NullableIntegrations) Get() *Integrations
func (NullableIntegrations) IsSet ¶
func (v NullableIntegrations) IsSet() bool
func (NullableIntegrations) MarshalJSON ¶
func (v NullableIntegrations) MarshalJSON() ([]byte, error)
func (*NullableIntegrations) Set ¶
func (v *NullableIntegrations) Set(val *Integrations)
func (*NullableIntegrations) UnmarshalJSON ¶
func (v *NullableIntegrations) UnmarshalJSON(src []byte) error
func (*NullableIntegrations) Unset ¶
func (v *NullableIntegrations) Unset()
type NullablePatchDatabases ¶
type NullablePatchDatabases struct {
// contains filtered or unexported fields
}
func NewNullablePatchDatabases ¶
func NewNullablePatchDatabases(val *PatchDatabases) *NullablePatchDatabases
func (NullablePatchDatabases) Get ¶
func (v NullablePatchDatabases) Get() *PatchDatabases
func (NullablePatchDatabases) IsSet ¶
func (v NullablePatchDatabases) IsSet() bool
func (NullablePatchDatabases) MarshalJSON ¶
func (v NullablePatchDatabases) MarshalJSON() ([]byte, error)
func (*NullablePatchDatabases) Set ¶
func (v *NullablePatchDatabases) Set(val *PatchDatabases)
func (*NullablePatchDatabases) UnmarshalJSON ¶
func (v *NullablePatchDatabases) UnmarshalJSON(src []byte) error
func (*NullablePatchDatabases) Unset ¶
func (v *NullablePatchDatabases) Unset()
type NullablePatchUser ¶
type NullablePatchUser struct {
// contains filtered or unexported fields
}
func NewNullablePatchUser ¶
func NewNullablePatchUser(val *PatchUser) *NullablePatchUser
func (NullablePatchUser) Get ¶
func (v NullablePatchUser) Get() *PatchUser
func (NullablePatchUser) IsSet ¶
func (v NullablePatchUser) IsSet() bool
func (NullablePatchUser) MarshalJSON ¶
func (v NullablePatchUser) MarshalJSON() ([]byte, error)
func (*NullablePatchUser) Set ¶
func (v *NullablePatchUser) Set(val *PatchUser)
func (*NullablePatchUser) UnmarshalJSON ¶
func (v *NullablePatchUser) UnmarshalJSON(src []byte) error
func (*NullablePatchUser) Unset ¶
func (v *NullablePatchUser) Unset()
type NullablePlatform ¶
type NullablePlatform struct {
// contains filtered or unexported fields
}
func NewNullablePlatform ¶
func NewNullablePlatform(val *Platform) *NullablePlatform
func (NullablePlatform) Get ¶
func (v NullablePlatform) Get() *Platform
func (NullablePlatform) IsSet ¶
func (v NullablePlatform) IsSet() bool
func (NullablePlatform) MarshalJSON ¶
func (v NullablePlatform) MarshalJSON() ([]byte, error)
func (*NullablePlatform) Set ¶
func (v *NullablePlatform) Set(val *Platform)
func (*NullablePlatform) UnmarshalJSON ¶
func (v *NullablePlatform) UnmarshalJSON(src []byte) error
func (*NullablePlatform) Unset ¶
func (v *NullablePlatform) Unset()
type NullableProfile ¶
type NullableProfile struct {
// contains filtered or unexported fields
}
func NewNullableProfile ¶
func NewNullableProfile(val *Profile) *NullableProfile
func (NullableProfile) Get ¶
func (v NullableProfile) Get() *Profile
func (NullableProfile) IsSet ¶
func (v NullableProfile) IsSet() bool
func (NullableProfile) MarshalJSON ¶
func (v NullableProfile) MarshalJSON() ([]byte, error)
func (*NullableProfile) Set ¶
func (v *NullableProfile) Set(val *Profile)
func (*NullableProfile) UnmarshalJSON ¶
func (v *NullableProfile) UnmarshalJSON(src []byte) error
func (*NullableProfile) Unset ¶
func (v *NullableProfile) Unset()
type NullableRegion ¶
type NullableRegion struct {
// contains filtered or unexported fields
}
func NewNullableRegion ¶
func NewNullableRegion(val *Region) *NullableRegion
func (NullableRegion) Get ¶
func (v NullableRegion) Get() *Region
func (NullableRegion) IsSet ¶
func (v NullableRegion) IsSet() bool
func (NullableRegion) MarshalJSON ¶
func (v NullableRegion) MarshalJSON() ([]byte, error)
func (*NullableRegion) Set ¶
func (v *NullableRegion) Set(val *Region)
func (*NullableRegion) UnmarshalJSON ¶
func (v *NullableRegion) UnmarshalJSON(src []byte) error
func (*NullableRegion) Unset ¶
func (v *NullableRegion) Unset()
type NullableScaleCluster ¶
type NullableScaleCluster struct {
// contains filtered or unexported fields
}
func NewNullableScaleCluster ¶
func NewNullableScaleCluster(val *ScaleCluster) *NullableScaleCluster
func (NullableScaleCluster) Get ¶
func (v NullableScaleCluster) Get() *ScaleCluster
func (NullableScaleCluster) IsSet ¶
func (v NullableScaleCluster) IsSet() bool
func (NullableScaleCluster) MarshalJSON ¶
func (v NullableScaleCluster) MarshalJSON() ([]byte, error)
func (*NullableScaleCluster) Set ¶
func (v *NullableScaleCluster) Set(val *ScaleCluster)
func (*NullableScaleCluster) UnmarshalJSON ¶
func (v *NullableScaleCluster) UnmarshalJSON(src []byte) error
func (*NullableScaleCluster) Unset ¶
func (v *NullableScaleCluster) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateAllowedIP ¶
type NullableUpdateAllowedIP struct {
// contains filtered or unexported fields
}
func NewNullableUpdateAllowedIP ¶
func NewNullableUpdateAllowedIP(val *UpdateAllowedIP) *NullableUpdateAllowedIP
func (NullableUpdateAllowedIP) Get ¶
func (v NullableUpdateAllowedIP) Get() *UpdateAllowedIP
func (NullableUpdateAllowedIP) IsSet ¶
func (v NullableUpdateAllowedIP) IsSet() bool
func (NullableUpdateAllowedIP) MarshalJSON ¶
func (v NullableUpdateAllowedIP) MarshalJSON() ([]byte, error)
func (*NullableUpdateAllowedIP) Set ¶
func (v *NullableUpdateAllowedIP) Set(val *UpdateAllowedIP)
func (*NullableUpdateAllowedIP) UnmarshalJSON ¶
func (v *NullableUpdateAllowedIP) UnmarshalJSON(src []byte) error
func (*NullableUpdateAllowedIP) Unset ¶
func (v *NullableUpdateAllowedIP) Unset()
type NullableUpdateCluster ¶
type NullableUpdateCluster struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCluster ¶
func NewNullableUpdateCluster(val *UpdateCluster) *NullableUpdateCluster
func (NullableUpdateCluster) Get ¶
func (v NullableUpdateCluster) Get() *UpdateCluster
func (NullableUpdateCluster) IsSet ¶
func (v NullableUpdateCluster) IsSet() bool
func (NullableUpdateCluster) MarshalJSON ¶
func (v NullableUpdateCluster) MarshalJSON() ([]byte, error)
func (*NullableUpdateCluster) Set ¶
func (v *NullableUpdateCluster) Set(val *UpdateCluster)
func (*NullableUpdateCluster) UnmarshalJSON ¶
func (v *NullableUpdateCluster) UnmarshalJSON(src []byte) error
func (*NullableUpdateCluster) Unset ¶
func (v *NullableUpdateCluster) Unset()
type NullableUpdateDatabase ¶
type NullableUpdateDatabase struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatabase ¶
func NewNullableUpdateDatabase(val *UpdateDatabase) *NullableUpdateDatabase
func (NullableUpdateDatabase) Get ¶
func (v NullableUpdateDatabase) Get() *UpdateDatabase
func (NullableUpdateDatabase) IsSet ¶
func (v NullableUpdateDatabase) IsSet() bool
func (NullableUpdateDatabase) MarshalJSON ¶
func (v NullableUpdateDatabase) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatabase) Set ¶
func (v *NullableUpdateDatabase) Set(val *UpdateDatabase)
func (*NullableUpdateDatabase) UnmarshalJSON ¶
func (v *NullableUpdateDatabase) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatabase) Unset ¶
func (v *NullableUpdateDatabase) Unset()
type NullableUpdateUser ¶
type NullableUpdateUser struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUser ¶
func NewNullableUpdateUser(val *UpdateUser) *NullableUpdateUser
func (NullableUpdateUser) Get ¶
func (v NullableUpdateUser) Get() *UpdateUser
func (NullableUpdateUser) IsSet ¶
func (v NullableUpdateUser) IsSet() bool
func (NullableUpdateUser) MarshalJSON ¶
func (v NullableUpdateUser) MarshalJSON() ([]byte, error)
func (*NullableUpdateUser) Set ¶
func (v *NullableUpdateUser) Set(val *UpdateUser)
func (*NullableUpdateUser) UnmarshalJSON ¶
func (v *NullableUpdateUser) UnmarshalJSON(src []byte) error
func (*NullableUpdateUser) Unset ¶
func (v *NullableUpdateUser) Unset()
type NullableUsageCluster ¶
type NullableUsageCluster struct {
// contains filtered or unexported fields
}
func NewNullableUsageCluster ¶
func NewNullableUsageCluster(val *UsageCluster) *NullableUsageCluster
func (NullableUsageCluster) Get ¶
func (v NullableUsageCluster) Get() *UsageCluster
func (NullableUsageCluster) IsSet ¶
func (v NullableUsageCluster) IsSet() bool
func (NullableUsageCluster) MarshalJSON ¶
func (v NullableUsageCluster) MarshalJSON() ([]byte, error)
func (*NullableUsageCluster) Set ¶
func (v *NullableUsageCluster) Set(val *UsageCluster)
func (*NullableUsageCluster) UnmarshalJSON ¶
func (v *NullableUsageCluster) UnmarshalJSON(src []byte) error
func (*NullableUsageCluster) Unset ¶
func (v *NullableUsageCluster) Unset()
type NullableUsageDatabase ¶
type NullableUsageDatabase struct {
// contains filtered or unexported fields
}
func NewNullableUsageDatabase ¶
func NewNullableUsageDatabase(val *UsageDatabase) *NullableUsageDatabase
func (NullableUsageDatabase) Get ¶
func (v NullableUsageDatabase) Get() *UsageDatabase
func (NullableUsageDatabase) IsSet ¶
func (v NullableUsageDatabase) IsSet() bool
func (NullableUsageDatabase) MarshalJSON ¶
func (v NullableUsageDatabase) MarshalJSON() ([]byte, error)
func (*NullableUsageDatabase) Set ¶
func (v *NullableUsageDatabase) Set(val *UsageDatabase)
func (*NullableUsageDatabase) UnmarshalJSON ¶
func (v *NullableUsageDatabase) UnmarshalJSON(src []byte) error
func (*NullableUsageDatabase) Unset ¶
func (v *NullableUsageDatabase) Unset()
type NullableUserDatabase ¶
type NullableUserDatabase struct {
// contains filtered or unexported fields
}
func NewNullableUserDatabase ¶
func NewNullableUserDatabase(val *UserDatabase) *NullableUserDatabase
func (NullableUserDatabase) Get ¶
func (v NullableUserDatabase) Get() *UserDatabase
func (NullableUserDatabase) IsSet ¶
func (v NullableUserDatabase) IsSet() bool
func (NullableUserDatabase) MarshalJSON ¶
func (v NullableUserDatabase) MarshalJSON() ([]byte, error)
func (*NullableUserDatabase) Set ¶
func (v *NullableUserDatabase) Set(val *UserDatabase)
func (*NullableUserDatabase) UnmarshalJSON ¶
func (v *NullableUserDatabase) UnmarshalJSON(src []byte) error
func (*NullableUserDatabase) Unset ¶
func (v *NullableUserDatabase) Unset()
type NullableUserRole ¶
type NullableUserRole struct {
// contains filtered or unexported fields
}
func NewNullableUserRole ¶
func NewNullableUserRole(val *UserRole) *NullableUserRole
func (NullableUserRole) Get ¶
func (v NullableUserRole) Get() *UserRole
func (NullableUserRole) IsSet ¶
func (v NullableUserRole) IsSet() bool
func (NullableUserRole) MarshalJSON ¶
func (v NullableUserRole) MarshalJSON() ([]byte, error)
func (*NullableUserRole) Set ¶
func (v *NullableUserRole) Set(val *UserRole)
func (*NullableUserRole) UnmarshalJSON ¶
func (v *NullableUserRole) UnmarshalJSON(src []byte) error
func (*NullableUserRole) Unset ¶
func (v *NullableUserRole) Unset()
type NullableUserStatus ¶
type NullableUserStatus struct {
// contains filtered or unexported fields
}
func NewNullableUserStatus ¶
func NewNullableUserStatus(val *UserStatus) *NullableUserStatus
func (NullableUserStatus) Get ¶
func (v NullableUserStatus) Get() *UserStatus
func (NullableUserStatus) IsSet ¶
func (v NullableUserStatus) IsSet() bool
func (NullableUserStatus) MarshalJSON ¶
func (v NullableUserStatus) MarshalJSON() ([]byte, error)
func (*NullableUserStatus) Set ¶
func (v *NullableUserStatus) Set(val *UserStatus)
func (*NullableUserStatus) UnmarshalJSON ¶
func (v *NullableUserStatus) UnmarshalJSON(src []byte) error
func (*NullableUserStatus) Unset ¶
func (v *NullableUserStatus) Unset()
type PatchDatabases ¶
PatchDatabases struct for PatchDatabases
func NewPatchDatabases ¶
func NewPatchDatabases(delete []string, add []string) *PatchDatabases
NewPatchDatabases instantiates a new PatchDatabases 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 NewPatchDatabasesWithDefaults ¶
func NewPatchDatabasesWithDefaults() *PatchDatabases
NewPatchDatabasesWithDefaults instantiates a new PatchDatabases 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 (*PatchDatabases) GetAdd ¶
func (o *PatchDatabases) GetAdd() []string
GetAdd returns the Add field value
func (*PatchDatabases) GetAddOk ¶
func (o *PatchDatabases) GetAddOk() ([]string, bool)
GetAddOk returns a tuple with the Add field value and a boolean to check if the value has been set.
func (*PatchDatabases) GetDelete ¶
func (o *PatchDatabases) GetDelete() []string
GetDelete returns the Delete field value
func (*PatchDatabases) GetDeleteOk ¶
func (o *PatchDatabases) GetDeleteOk() ([]string, bool)
GetDeleteOk returns a tuple with the Delete field value and a boolean to check if the value has been set.
func (PatchDatabases) MarshalJSON ¶
func (o PatchDatabases) MarshalJSON() ([]byte, error)
func (*PatchDatabases) SetDelete ¶
func (o *PatchDatabases) SetDelete(v []string)
SetDelete sets field value
type PatchUser ¶
type PatchUser struct { RoleID *string `json:"roleID,omitempty"` Databases *PatchDatabases `json:"databases,omitempty"` DbUsername *string `json:"dbUsername,omitempty"` }
PatchUser struct for PatchUser
func NewPatchUser ¶
func NewPatchUser() *PatchUser
NewPatchUser instantiates a new PatchUser 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 NewPatchUserWithDefaults ¶
func NewPatchUserWithDefaults() *PatchUser
NewPatchUserWithDefaults instantiates a new PatchUser 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 (*PatchUser) GetDatabases ¶
func (o *PatchUser) GetDatabases() PatchDatabases
GetDatabases returns the Databases field value if set, zero value otherwise.
func (*PatchUser) GetDatabasesOk ¶
func (o *PatchUser) GetDatabasesOk() (*PatchDatabases, bool)
GetDatabasesOk returns a tuple with the Databases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUser) GetDbUsername ¶
GetDbUsername returns the DbUsername field value if set, zero value otherwise.
func (*PatchUser) GetDbUsernameOk ¶
GetDbUsernameOk returns a tuple with the DbUsername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUser) GetRoleID ¶
GetRoleID returns the RoleID field value if set, zero value otherwise.
func (*PatchUser) GetRoleIDOk ¶
GetRoleIDOk returns a tuple with the RoleID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchUser) HasDatabases ¶
HasDatabases returns a boolean if a field has been set.
func (*PatchUser) HasDbUsername ¶
HasDbUsername returns a boolean if a field has been set.
func (PatchUser) MarshalJSON ¶
func (*PatchUser) SetDatabases ¶
func (o *PatchUser) SetDatabases(v PatchDatabases)
SetDatabases gets a reference to the given PatchDatabases and assigns it to the Databases field.
func (*PatchUser) SetDbUsername ¶
SetDbUsername gets a reference to the given string and assigns it to the DbUsername field.
type Platform ¶
Platform struct for Platform
func NewPlatform ¶
NewPlatform instantiates a new Platform 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 NewPlatformWithDefaults ¶
func NewPlatformWithDefaults() *Platform
NewPlatformWithDefaults instantiates a new Platform 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 (*Platform) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Platform) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Platform) MarshalJSON ¶
type PlatformApiService ¶
type PlatformApiService service
PlatformApiService PlatformApi service
func (*PlatformApiService) ListClusterSizes ¶
func (a *PlatformApiService) ListClusterSizes(ctx context.Context, platform string) ApiListClusterSizesRequest
ListClusterSizes Get cluster sizes for platform
Get available cluster sizes for platform
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param platform Platform ID @return ApiListClusterSizesRequest
func (*PlatformApiService) ListClusterSizesExecute ¶
func (a *PlatformApiService) ListClusterSizesExecute(r ApiListClusterSizesRequest) ([]ClusterSize, *http.Response, error)
Execute executes the request
@return []ClusterSize
func (*PlatformApiService) ListPlatforms ¶
func (a *PlatformApiService) ListPlatforms(ctx context.Context) ApiListPlatformsRequest
ListPlatforms List platforms
Get available platforms
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPlatformsRequest
func (*PlatformApiService) ListPlatformsExecute ¶
func (a *PlatformApiService) ListPlatformsExecute(r ApiListPlatformsRequest) ([]Platform, *http.Response, error)
Execute executes the request
@return []Platform
func (*PlatformApiService) ListRegions ¶
func (a *PlatformApiService) ListRegions(ctx context.Context, platform string) ApiListRegionsRequest
ListRegions Get regions for platform
Get available regions for platform
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param platform Platform ID @return ApiListRegionsRequest
func (*PlatformApiService) ListRegionsExecute ¶
func (a *PlatformApiService) ListRegionsExecute(r ApiListRegionsRequest) ([]Region, *http.Response, error)
Execute executes the request
@return []Region
type Profile ¶
type Profile struct { Email string `json:"email"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` Id string `json:"id"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` Status UserStatus `json:"status"` Databases []UserDatabase `json:"databases,omitempty"` Role UserRole `json:"role"` DbUsername *string `json:"dbUsername,omitempty"` IsDeletable bool `json:"isDeletable"` }
Profile struct for Profile
func NewProfile ¶
func NewProfile(email string, id string, createdAt string, createdBy string, status UserStatus, role UserRole, isDeletable bool) *Profile
NewProfile instantiates a new Profile 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 NewProfileWithDefaults ¶
func NewProfileWithDefaults() *Profile
NewProfileWithDefaults instantiates a new Profile 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 (*Profile) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Profile) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Profile) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Profile) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Profile) GetDatabases ¶
func (o *Profile) GetDatabases() []UserDatabase
GetDatabases returns the Databases field value if set, zero value otherwise.
func (*Profile) GetDatabasesOk ¶
func (o *Profile) GetDatabasesOk() ([]UserDatabase, bool)
GetDatabasesOk returns a tuple with the Databases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Profile) GetDbUsername ¶
GetDbUsername returns the DbUsername field value if set, zero value otherwise.
func (*Profile) GetDbUsernameOk ¶
GetDbUsernameOk returns a tuple with the DbUsername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Profile) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*Profile) GetFirstName ¶
GetFirstName returns the FirstName field value if set, zero value otherwise.
func (*Profile) GetFirstNameOk ¶
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Profile) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Profile) GetIsDeletable ¶
GetIsDeletable returns the IsDeletable field value
func (*Profile) GetIsDeletableOk ¶
GetIsDeletableOk returns a tuple with the IsDeletable field value and a boolean to check if the value has been set.
func (*Profile) GetLastName ¶
GetLastName returns the LastName field value if set, zero value otherwise.
func (*Profile) GetLastNameOk ¶
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Profile) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*Profile) GetStatus ¶
func (o *Profile) GetStatus() UserStatus
GetStatus returns the Status field value
func (*Profile) GetStatusOk ¶
func (o *Profile) GetStatusOk() (*UserStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Profile) HasDatabases ¶
HasDatabases returns a boolean if a field has been set.
func (*Profile) HasDbUsername ¶
HasDbUsername returns a boolean if a field has been set.
func (*Profile) HasFirstName ¶
HasFirstName returns a boolean if a field has been set.
func (*Profile) HasLastName ¶
HasLastName returns a boolean if a field has been set.
func (Profile) MarshalJSON ¶
func (*Profile) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Profile) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Profile) SetDatabases ¶
func (o *Profile) SetDatabases(v []UserDatabase)
SetDatabases gets a reference to the given []UserDatabase and assigns it to the Databases field.
func (*Profile) SetDbUsername ¶
SetDbUsername gets a reference to the given string and assigns it to the DbUsername field.
func (*Profile) SetFirstName ¶
SetFirstName gets a reference to the given string and assigns it to the FirstName field.
func (*Profile) SetIsDeletable ¶
SetIsDeletable sets field value
func (*Profile) SetLastName ¶
SetLastName gets a reference to the given string and assigns it to the LastName field.
type Region ¶
type Region struct { Id string `json:"id"` Name string `json:"name"` PriceMultiplier float32 `json:"priceMultiplier"` StoragePrice float32 `json:"storagePrice"` }
Region struct for Region
func NewRegion ¶
NewRegion instantiates a new Region 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 NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region 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 (*Region) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Region) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Region) GetPriceMultiplier ¶
GetPriceMultiplier returns the PriceMultiplier field value
func (*Region) GetPriceMultiplierOk ¶
GetPriceMultiplierOk returns a tuple with the PriceMultiplier field value and a boolean to check if the value has been set.
func (*Region) GetStoragePrice ¶
GetStoragePrice returns the StoragePrice field value
func (*Region) GetStoragePriceOk ¶
GetStoragePriceOk returns a tuple with the StoragePrice field value and a boolean to check if the value has been set.
func (Region) MarshalJSON ¶
func (*Region) SetPriceMultiplier ¶
SetPriceMultiplier sets field value
func (*Region) SetStoragePrice ¶
SetStoragePrice sets field value
type ScaleCluster ¶
type ScaleCluster struct {
Size string `json:"size"`
}
ScaleCluster struct for ScaleCluster
func NewScaleCluster ¶
func NewScaleCluster(size string) *ScaleCluster
NewScaleCluster instantiates a new ScaleCluster 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 NewScaleClusterWithDefaults ¶
func NewScaleClusterWithDefaults() *ScaleCluster
NewScaleClusterWithDefaults instantiates a new ScaleCluster 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 (*ScaleCluster) GetSize ¶
func (o *ScaleCluster) GetSize() string
GetSize returns the Size field value
func (*ScaleCluster) GetSizeOk ¶
func (o *ScaleCluster) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (ScaleCluster) MarshalJSON ¶
func (o ScaleCluster) MarshalJSON() ([]byte, error)
type SecurityApiService ¶
type SecurityApiService service
SecurityApiService SecurityApi service
func (*SecurityApiService) AddAllowedIP ¶
func (a *SecurityApiService) AddAllowedIP(ctx context.Context, accountID string) ApiAddAllowedIPRequest
AddAllowedIP Add security rule (CIDR)
Add security rule to allow access from CIDR
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @return ApiAddAllowedIPRequest
func (*SecurityApiService) AddAllowedIPExecute ¶
func (a *SecurityApiService) AddAllowedIPExecute(r ApiAddAllowedIPRequest) (*AllowedIP, *http.Response, error)
Execute executes the request
@return AllowedIP
func (*SecurityApiService) DeleteAllowedIP ¶
func (a *SecurityApiService) DeleteAllowedIP(ctx context.Context, accountID string, iD string) ApiDeleteAllowedIPRequest
DeleteAllowedIP Delete security rule (CIDR)
Delete security rule (CIDR). No access to database possible after deletion from CIDR
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param iD ID of rule @return ApiDeleteAllowedIPRequest
func (*SecurityApiService) DeleteAllowedIPExecute ¶
func (a *SecurityApiService) DeleteAllowedIPExecute(r ApiDeleteAllowedIPRequest) (*http.Response, error)
Execute executes the request
func (*SecurityApiService) GetAllowedIP ¶
func (a *SecurityApiService) GetAllowedIP(ctx context.Context, accountID string, iD string) ApiGetAllowedIPRequest
GetAllowedIP Get security rule (CIDR)
Get security rule (CIDR)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param iD ID of rule @return ApiGetAllowedIPRequest
func (*SecurityApiService) GetAllowedIPExecute ¶
func (a *SecurityApiService) GetAllowedIPExecute(r ApiGetAllowedIPRequest) (*AllowedIP, *http.Response, error)
Execute executes the request
@return AllowedIP
func (*SecurityApiService) ListAllowedIPs ¶
func (a *SecurityApiService) ListAllowedIPs(ctx context.Context, accountID string) ApiListAllowedIPsRequest
ListAllowedIPs List security rules (CIDR)
List security rules (CIDR)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @return ApiListAllowedIPsRequest
func (*SecurityApiService) ListAllowedIPsExecute ¶
func (a *SecurityApiService) ListAllowedIPsExecute(r ApiListAllowedIPsRequest) ([]AllowedIP, *http.Response, error)
Execute executes the request
@return []AllowedIP
func (*SecurityApiService) UpdateAllowedIP ¶
func (a *SecurityApiService) UpdateAllowedIP(ctx context.Context, accountID string, iD string) ApiUpdateAllowedIPRequest
UpdateAllowedIP Update security rule (CIDR)
Update security rule (CIDR)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param iD ID of rule @return ApiUpdateAllowedIPRequest
func (*SecurityApiService) UpdateAllowedIPExecute ¶
func (a *SecurityApiService) UpdateAllowedIPExecute(r ApiUpdateAllowedIPRequest) (*http.Response, error)
Execute executes the request
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Status ¶
type Status string
Status the model 'Status'
const ( TODELETE Status = "todelete" TOSTART Status = "tostart" TOCREATE Status = "tocreate" TOSTOP Status = "tostop" CREATING Status = "creating" STARTING Status = "starting" RUNNING Status = "running" STOPPING Status = "stopping" STOPPED Status = "stopped" ERROR Status = "error" MAINTENANCE Status = "maintenance" DELETING Status = "deleting" DELETED Status = "deleted" )
List of Status
func NewStatusFromValue ¶
NewStatusFromValue returns a pointer to a valid Status for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Status) UnmarshalJSON ¶
type UpdateAllowedIP ¶
UpdateAllowedIP struct for UpdateAllowedIP
func NewUpdateAllowedIP ¶
func NewUpdateAllowedIP(name string, cidrIp string) *UpdateAllowedIP
NewUpdateAllowedIP instantiates a new UpdateAllowedIP 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 NewUpdateAllowedIPWithDefaults ¶
func NewUpdateAllowedIPWithDefaults() *UpdateAllowedIP
NewUpdateAllowedIPWithDefaults instantiates a new UpdateAllowedIP 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 (*UpdateAllowedIP) GetCidrIp ¶
func (o *UpdateAllowedIP) GetCidrIp() string
GetCidrIp returns the CidrIp field value
func (*UpdateAllowedIP) GetCidrIpOk ¶
func (o *UpdateAllowedIP) GetCidrIpOk() (*string, bool)
GetCidrIpOk returns a tuple with the CidrIp field value and a boolean to check if the value has been set.
func (*UpdateAllowedIP) GetName ¶
func (o *UpdateAllowedIP) GetName() string
GetName returns the Name field value
func (*UpdateAllowedIP) GetNameOk ¶
func (o *UpdateAllowedIP) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (UpdateAllowedIP) MarshalJSON ¶
func (o UpdateAllowedIP) MarshalJSON() ([]byte, error)
func (*UpdateAllowedIP) SetCidrIp ¶
func (o *UpdateAllowedIP) SetCidrIp(v string)
SetCidrIp sets field value
func (*UpdateAllowedIP) SetName ¶
func (o *UpdateAllowedIP) SetName(v string)
SetName sets field value
type UpdateCluster ¶
type UpdateCluster struct { Name string `json:"name"` AutoStop *AutoStop `json:"autoStop,omitempty"` }
UpdateCluster struct for UpdateCluster
func NewUpdateCluster ¶
func NewUpdateCluster(name string) *UpdateCluster
NewUpdateCluster instantiates a new UpdateCluster 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 NewUpdateClusterWithDefaults ¶
func NewUpdateClusterWithDefaults() *UpdateCluster
NewUpdateClusterWithDefaults instantiates a new UpdateCluster 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 (*UpdateCluster) GetAutoStop ¶
func (o *UpdateCluster) GetAutoStop() AutoStop
GetAutoStop returns the AutoStop field value if set, zero value otherwise.
func (*UpdateCluster) GetAutoStopOk ¶
func (o *UpdateCluster) GetAutoStopOk() (*AutoStop, bool)
GetAutoStopOk returns a tuple with the AutoStop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCluster) GetName ¶
func (o *UpdateCluster) GetName() string
GetName returns the Name field value
func (*UpdateCluster) GetNameOk ¶
func (o *UpdateCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateCluster) HasAutoStop ¶
func (o *UpdateCluster) HasAutoStop() bool
HasAutoStop returns a boolean if a field has been set.
func (UpdateCluster) MarshalJSON ¶
func (o UpdateCluster) MarshalJSON() ([]byte, error)
func (*UpdateCluster) SetAutoStop ¶
func (o *UpdateCluster) SetAutoStop(v AutoStop)
SetAutoStop gets a reference to the given AutoStop and assigns it to the AutoStop field.
type UpdateDatabase ¶
type UpdateDatabase struct {
Name string `json:"name"`
}
UpdateDatabase struct for UpdateDatabase
func NewUpdateDatabase ¶
func NewUpdateDatabase(name string) *UpdateDatabase
NewUpdateDatabase instantiates a new UpdateDatabase 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 NewUpdateDatabaseWithDefaults ¶
func NewUpdateDatabaseWithDefaults() *UpdateDatabase
NewUpdateDatabaseWithDefaults instantiates a new UpdateDatabase 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 (*UpdateDatabase) GetName ¶
func (o *UpdateDatabase) GetName() string
GetName returns the Name field value
func (*UpdateDatabase) GetNameOk ¶
func (o *UpdateDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (UpdateDatabase) MarshalJSON ¶
func (o UpdateDatabase) MarshalJSON() ([]byte, error)
func (*UpdateDatabase) SetName ¶
func (o *UpdateDatabase) SetName(v string)
SetName sets field value
type UpdateUser ¶
type UpdateUser struct { RoleID *string `json:"roleID,omitempty"` Databases []string `json:"databases,omitempty"` DbUsername string `json:"dbUsername"` }
UpdateUser struct for UpdateUser
func NewUpdateUser ¶
func NewUpdateUser(dbUsername string) *UpdateUser
NewUpdateUser instantiates a new UpdateUser 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 NewUpdateUserWithDefaults ¶
func NewUpdateUserWithDefaults() *UpdateUser
NewUpdateUserWithDefaults instantiates a new UpdateUser 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 (*UpdateUser) GetDatabases ¶
func (o *UpdateUser) GetDatabases() []string
GetDatabases returns the Databases field value if set, zero value otherwise.
func (*UpdateUser) GetDatabasesOk ¶
func (o *UpdateUser) GetDatabasesOk() ([]string, bool)
GetDatabasesOk returns a tuple with the Databases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUser) GetDbUsername ¶
func (o *UpdateUser) GetDbUsername() string
GetDbUsername returns the DbUsername field value
func (*UpdateUser) GetDbUsernameOk ¶
func (o *UpdateUser) GetDbUsernameOk() (*string, bool)
GetDbUsernameOk returns a tuple with the DbUsername field value and a boolean to check if the value has been set.
func (*UpdateUser) GetRoleID ¶
func (o *UpdateUser) GetRoleID() string
GetRoleID returns the RoleID field value if set, zero value otherwise.
func (*UpdateUser) GetRoleIDOk ¶
func (o *UpdateUser) GetRoleIDOk() (*string, bool)
GetRoleIDOk returns a tuple with the RoleID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUser) HasDatabases ¶
func (o *UpdateUser) HasDatabases() bool
HasDatabases returns a boolean if a field has been set.
func (*UpdateUser) HasRoleID ¶
func (o *UpdateUser) HasRoleID() bool
HasRoleID returns a boolean if a field has been set.
func (UpdateUser) MarshalJSON ¶
func (o UpdateUser) MarshalJSON() ([]byte, error)
func (*UpdateUser) SetDatabases ¶
func (o *UpdateUser) SetDatabases(v []string)
SetDatabases gets a reference to the given []string and assigns it to the Databases field.
func (*UpdateUser) SetDbUsername ¶
func (o *UpdateUser) SetDbUsername(v string)
SetDbUsername sets field value
func (*UpdateUser) SetRoleID ¶
func (o *UpdateUser) SetRoleID(v string)
SetRoleID gets a reference to the given string and assigns it to the RoleID field.
type UsageApiService ¶
type UsageApiService service
UsageApiService UsageApi service
func (*UsageApiService) GetUsage ¶
func (a *UsageApiService) GetUsage(ctx context.Context, accountID string) ApiGetUsageRequest
GetUsage Get usage
Show usage for one month
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @return ApiGetUsageRequest
func (*UsageApiService) GetUsageExecute ¶
func (a *UsageApiService) GetUsageExecute(r ApiGetUsageRequest) (*map[string][]UsageDatabase, *http.Response, error)
Execute executes the request
@return map[string][]UsageDatabase
type UsageCluster ¶
type UsageCluster struct { Id string `json:"id"` Size string `json:"size"` Name string `json:"name"` Compute *float32 `json:"compute,omitempty"` OutSameRegion *float32 `json:"outSameRegion,omitempty"` OutDifferentRegion *float32 `json:"outDifferentRegion,omitempty"` OutInternet *float32 `json:"outInternet,omitempty"` }
UsageCluster struct for UsageCluster
func NewUsageCluster ¶
func NewUsageCluster(id string, size string, name string) *UsageCluster
NewUsageCluster instantiates a new UsageCluster 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 NewUsageClusterWithDefaults ¶
func NewUsageClusterWithDefaults() *UsageCluster
NewUsageClusterWithDefaults instantiates a new UsageCluster 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 (*UsageCluster) GetCompute ¶
func (o *UsageCluster) GetCompute() float32
GetCompute returns the Compute field value if set, zero value otherwise.
func (*UsageCluster) GetComputeOk ¶
func (o *UsageCluster) GetComputeOk() (*float32, bool)
GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageCluster) GetIdOk ¶
func (o *UsageCluster) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UsageCluster) GetName ¶
func (o *UsageCluster) GetName() string
GetName returns the Name field value
func (*UsageCluster) GetNameOk ¶
func (o *UsageCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UsageCluster) GetOutDifferentRegion ¶
func (o *UsageCluster) GetOutDifferentRegion() float32
GetOutDifferentRegion returns the OutDifferentRegion field value if set, zero value otherwise.
func (*UsageCluster) GetOutDifferentRegionOk ¶
func (o *UsageCluster) GetOutDifferentRegionOk() (*float32, bool)
GetOutDifferentRegionOk returns a tuple with the OutDifferentRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageCluster) GetOutInternet ¶
func (o *UsageCluster) GetOutInternet() float32
GetOutInternet returns the OutInternet field value if set, zero value otherwise.
func (*UsageCluster) GetOutInternetOk ¶
func (o *UsageCluster) GetOutInternetOk() (*float32, bool)
GetOutInternetOk returns a tuple with the OutInternet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageCluster) GetOutSameRegion ¶
func (o *UsageCluster) GetOutSameRegion() float32
GetOutSameRegion returns the OutSameRegion field value if set, zero value otherwise.
func (*UsageCluster) GetOutSameRegionOk ¶
func (o *UsageCluster) GetOutSameRegionOk() (*float32, bool)
GetOutSameRegionOk returns a tuple with the OutSameRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageCluster) GetSize ¶
func (o *UsageCluster) GetSize() string
GetSize returns the Size field value
func (*UsageCluster) GetSizeOk ¶
func (o *UsageCluster) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*UsageCluster) HasCompute ¶
func (o *UsageCluster) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*UsageCluster) HasOutDifferentRegion ¶
func (o *UsageCluster) HasOutDifferentRegion() bool
HasOutDifferentRegion returns a boolean if a field has been set.
func (*UsageCluster) HasOutInternet ¶
func (o *UsageCluster) HasOutInternet() bool
HasOutInternet returns a boolean if a field has been set.
func (*UsageCluster) HasOutSameRegion ¶
func (o *UsageCluster) HasOutSameRegion() bool
HasOutSameRegion returns a boolean if a field has been set.
func (UsageCluster) MarshalJSON ¶
func (o UsageCluster) MarshalJSON() ([]byte, error)
func (*UsageCluster) SetCompute ¶
func (o *UsageCluster) SetCompute(v float32)
SetCompute gets a reference to the given float32 and assigns it to the Compute field.
func (*UsageCluster) SetOutDifferentRegion ¶
func (o *UsageCluster) SetOutDifferentRegion(v float32)
SetOutDifferentRegion gets a reference to the given float32 and assigns it to the OutDifferentRegion field.
func (*UsageCluster) SetOutInternet ¶
func (o *UsageCluster) SetOutInternet(v float32)
SetOutInternet gets a reference to the given float32 and assigns it to the OutInternet field.
func (*UsageCluster) SetOutSameRegion ¶
func (o *UsageCluster) SetOutSameRegion(v float32)
SetOutSameRegion gets a reference to the given float32 and assigns it to the OutSameRegion field.
type UsageDatabase ¶
type UsageDatabase struct { Id string `json:"id"` Name string `json:"name"` UsedStorage *float32 `json:"usedStorage,omitempty"` Clusters []UsageCluster `json:"clusters"` }
UsageDatabase struct for UsageDatabase
func NewUsageDatabase ¶
func NewUsageDatabase(id string, name string, clusters []UsageCluster) *UsageDatabase
NewUsageDatabase instantiates a new UsageDatabase 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 NewUsageDatabaseWithDefaults ¶
func NewUsageDatabaseWithDefaults() *UsageDatabase
NewUsageDatabaseWithDefaults instantiates a new UsageDatabase 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 (*UsageDatabase) GetClusters ¶
func (o *UsageDatabase) GetClusters() []UsageCluster
GetClusters returns the Clusters field value
func (*UsageDatabase) GetClustersOk ¶
func (o *UsageDatabase) GetClustersOk() ([]UsageCluster, bool)
GetClustersOk returns a tuple with the Clusters field value and a boolean to check if the value has been set.
func (*UsageDatabase) GetId ¶
func (o *UsageDatabase) GetId() string
GetId returns the Id field value
func (*UsageDatabase) GetIdOk ¶
func (o *UsageDatabase) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UsageDatabase) GetName ¶
func (o *UsageDatabase) GetName() string
GetName returns the Name field value
func (*UsageDatabase) GetNameOk ¶
func (o *UsageDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UsageDatabase) GetUsedStorage ¶
func (o *UsageDatabase) GetUsedStorage() float32
GetUsedStorage returns the UsedStorage field value if set, zero value otherwise.
func (*UsageDatabase) GetUsedStorageOk ¶
func (o *UsageDatabase) GetUsedStorageOk() (*float32, bool)
GetUsedStorageOk returns a tuple with the UsedStorage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageDatabase) HasUsedStorage ¶
func (o *UsageDatabase) HasUsedStorage() bool
HasUsedStorage returns a boolean if a field has been set.
func (UsageDatabase) MarshalJSON ¶
func (o UsageDatabase) MarshalJSON() ([]byte, error)
func (*UsageDatabase) SetClusters ¶
func (o *UsageDatabase) SetClusters(v []UsageCluster)
SetClusters sets field value
func (*UsageDatabase) SetUsedStorage ¶
func (o *UsageDatabase) SetUsedStorage(v float32)
SetUsedStorage gets a reference to the given float32 and assigns it to the UsedStorage field.
type UserDatabase ¶
UserDatabase struct for UserDatabase
func NewUserDatabase ¶
func NewUserDatabase(id string, name string) *UserDatabase
NewUserDatabase instantiates a new UserDatabase 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 NewUserDatabaseWithDefaults ¶
func NewUserDatabaseWithDefaults() *UserDatabase
NewUserDatabaseWithDefaults instantiates a new UserDatabase 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 (*UserDatabase) GetIdOk ¶
func (o *UserDatabase) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UserDatabase) GetName ¶
func (o *UserDatabase) GetName() string
GetName returns the Name field value
func (*UserDatabase) GetNameOk ¶
func (o *UserDatabase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (UserDatabase) MarshalJSON ¶
func (o UserDatabase) MarshalJSON() ([]byte, error)
type UserRole ¶
UserRole struct for UserRole
func NewUserRole ¶
NewUserRole instantiates a new UserRole 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 NewUserRoleWithDefaults ¶
func NewUserRoleWithDefaults() *UserRole
NewUserRoleWithDefaults instantiates a new UserRole 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 (*UserRole) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UserRole) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (UserRole) MarshalJSON ¶
type UserStatus ¶
type UserStatus string
UserStatus the model 'UserStatus'
const ( ACTIVE UserStatus = "active" DEACTIVATED UserStatus = "deactivated" PENDING UserStatus = "pending" )
List of UserStatus
func NewUserStatusFromValue ¶
func NewUserStatusFromValue(v string) (*UserStatus, error)
NewUserStatusFromValue returns a pointer to a valid UserStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UserStatus) IsValid ¶
func (v UserStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UserStatus) Ptr ¶
func (v UserStatus) Ptr() *UserStatus
Ptr returns reference to UserStatus value
func (*UserStatus) UnmarshalJSON ¶
func (v *UserStatus) UnmarshalJSON(src []byte) error
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) DeleteUser ¶
func (a *UsersApiService) DeleteUser(ctx context.Context, accountID string, userID string) ApiDeleteUserRequest
DeleteUser Remove user
Remove user from account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param userID User ID @return ApiDeleteUserRequest
func (*UsersApiService) DeleteUserExecute ¶
func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
Execute executes the request
func (*UsersApiService) ListUsers ¶
func (a *UsersApiService) ListUsers(ctx context.Context, accountID string) ApiListUsersRequest
ListUsers List users
List users for account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @return ApiListUsersRequest
func (*UsersApiService) ListUsersExecute ¶
func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) ([]Profile, *http.Response, error)
Execute executes the request
@return []Profile
func (*UsersApiService) PatchUser ¶
func (a *UsersApiService) PatchUser(ctx context.Context, accountID string, userID string) ApiPatchUserRequest
PatchUser Patch user
Patch user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param userID User ID @return ApiPatchUserRequest
func (*UsersApiService) PatchUserExecute ¶
func (a *UsersApiService) PatchUserExecute(r ApiPatchUserRequest) (*http.Response, error)
Execute executes the request
func (*UsersApiService) UpdateUser ¶
func (a *UsersApiService) UpdateUser(ctx context.Context, accountID string, userID string) ApiUpdateUserRequest
UpdateUser Update user
Update user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountID Account ID @param userID User ID @return ApiUpdateUserRequest
func (*UsersApiService) UpdateUserExecute ¶
func (a *UsersApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*http.Response, error)
Execute executes the request
Source Files ¶
- api_clusters.go
- api_databases.go
- api_platform.go
- api_security.go
- api_usage.go
- api_users.go
- client.go
- configuration.go
- model_allowed_ip.go
- model_api_error.go
- model_auto_stop.go
- model_cluster.go
- model_cluster_overview.go
- model_cluster_size.go
- model_connection_ips.go
- model_connections.go
- model_create_allowed_ip.go
- model_create_cluster.go
- model_create_database.go
- model_database.go
- model_integrations.go
- model_patch_databases.go
- model_patch_user.go
- model_platform.go
- model_profile.go
- model_region.go
- model_scale_cluster.go
- model_status.go
- model_update_allowed_ip.go
- model_update_cluster.go
- model_update_database.go
- model_update_user.go
- model_usage_cluster.go
- model_usage_database.go
- model_user_database.go
- model_user_role.go
- model_user_status.go
- response.go
- utils.go