ClusterBackup
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewClusterBackup() *ClusterBackup
NewClusterBackup instantiates a new ClusterBackup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterBackupWithDefaults() *ClusterBackup
NewClusterBackupWithDefaults instantiates a new ClusterBackup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ClusterBackup) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetId(v string)
SetId sets Id field to given value.
func (o *ClusterBackup) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ClusterBackup) GetClusterId() string
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetClusterId(v string)
SetClusterId sets ClusterId field to given value.
func (o *ClusterBackup) HasClusterId() bool
HasClusterId returns a boolean if a field has been set.
func (o *ClusterBackup) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *ClusterBackup) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *ClusterBackup) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *ClusterBackup) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *ClusterBackup) GetEarliestRecoveryTargetTime() time.Time
GetEarliestRecoveryTargetTime returns the EarliestRecoveryTargetTime field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetEarliestRecoveryTargetTimeOk() (*time.Time, bool)
GetEarliestRecoveryTargetTimeOk returns a tuple with the EarliestRecoveryTargetTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetEarliestRecoveryTargetTime(v time.Time)
SetEarliestRecoveryTargetTime sets EarliestRecoveryTargetTime field to given value.
func (o *ClusterBackup) HasEarliestRecoveryTargetTime() bool
HasEarliestRecoveryTargetTime returns a boolean if a field has been set.
func (o *ClusterBackup) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetSize(v int32)
SetSize sets Size field to given value.
func (o *ClusterBackup) HasSize() bool
HasSize returns a boolean if a field has been set.
func (o *ClusterBackup) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *ClusterBackup) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterBackup) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *ClusterBackup) HasLocation() bool
HasLocation returns a boolean if a field has been set.
Id
Pointer to string
The unique ID of the resource.
[optional]
ClusterId
Pointer to string
The unique ID of the cluster.
[optional]
Version
Pointer to string
The PostgreSQL version this backup was created from.
[optional]
IsActive
Pointer to bool
Whether a cluster currently backs up data to this backup.
[optional]
EarliestRecoveryTargetTime
Pointer to time.Time
The oldest available timestamp to which you can restore.
[optional]
Size
Pointer to int32
Size of all base backups including the wal size in MB.
[optional]
Location
Pointer to string
The S3 location where the backups will be stored.
[optional]