PatchClusterProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewPatchClusterProperties() *PatchClusterProperties
NewPatchClusterProperties instantiates a new PatchClusterProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchClusterPropertiesWithDefaults() *PatchClusterProperties
NewPatchClusterPropertiesWithDefaults instantiates a new PatchClusterProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PatchClusterProperties) GetCores() int32
GetCores returns the Cores field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetCores(v int32)
SetCores sets Cores field to given value.
func (o *PatchClusterProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetRam() int32
GetRam returns the Ram field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetRam(v int32)
SetRam sets Ram field to given value.
func (o *PatchClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetStorageSize(v int32)
SetStorageSize sets StorageSize field to given value.
func (o *PatchClusterProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetConnections() []Connection
GetConnections returns the Connections field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetConnectionsOk() (*[]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetConnections(v []Connection)
SetConnections sets Connections field to given value.
func (o *PatchClusterProperties) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *PatchClusterProperties) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets MaintenanceWindow field to given value.
func (o *PatchClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetPostgresVersion() string
GetPostgresVersion returns the PostgresVersion field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetPostgresVersionOk() (*string, bool)
GetPostgresVersionOk returns a tuple with the PostgresVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetPostgresVersion(v string)
SetPostgresVersion sets PostgresVersion field to given value.
func (o *PatchClusterProperties) HasPostgresVersion() bool
HasPostgresVersion returns a boolean if a field has been set.
func (o *PatchClusterProperties) GetInstances() int32
GetInstances returns the Instances field if non-nil, zero value otherwise.
func (o *PatchClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchClusterProperties) SetInstances(v int32)
SetInstances sets Instances field to given value.
func (o *PatchClusterProperties) HasInstances() bool
HasInstances returns a boolean if a field has been set.
Cores
Pointer to int32
The number of CPU cores per instance.
[optional]
Ram
Pointer to int32
The amount of memory per instance in megabytes. Has to be a multiple of 1024.
[optional]
StorageSize
Pointer to int32
The amount of storage per instance in megabytes.
[optional]
Connections
Pointer to []Connection
[optional]
DisplayName
Pointer to string
The friendly name of your cluster.
[optional]
MaintenanceWindow
Pointer to MaintenanceWindow
[optional]
PostgresVersion
Pointer to string
The PostgreSQL version of your cluster.
[optional]
Instances
Pointer to int32
The total number of instances in the cluster (one master and n-1 standbys).
[optional]