| Name | Type | Description | Notes |
|---|---|---|---|
| Context | Pointer to FixedReferenceWithType | The context in which the operation was performed. Valid values include a reference to any array which is a member of the same fleet or to the fleet itself. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided `context`. | [optional] [readonly] |
| Id | Pointer to string | A globally unique, system-generated ID. The ID cannot be modified and cannot refer to another resource. | [optional] [readonly] |
| Name | Pointer to string | A user-specified name. The name must be locally unique and can be changed. | [optional] |
| Destroyed | Pointer to bool | Has this protection group been destroyed? To destroy a protection group, patch to `true`. To recover a destroyed protection group, patch to `false`. If not specified, defaults to `false`. | [optional] |
| EradicationConfig | Pointer to ProtectionGroupEradicationConfig | [optional] | |
| HostCount | Pointer to int64 | Number of hosts in this protection group. | [optional] [readonly] |
| HostGroupCount | Pointer to int64 | Number of host groups in this protection group. | [optional] [readonly] |
| IsLocal | Pointer to bool | If set to `true`, the protection group belongs to the local array. If set to `false`, the protection group belongs to the remote array. | [optional] [readonly] |
| Pod | Pointer to FixedReference | The pod in which the protection group resides. | [optional] |
| ReplicationSchedule | Pointer to ReplicationSchedule | The schedule settings for asynchronous replication. | [optional] |
| RetentionLock | Pointer to string | The valid values are `ratcheted` and `unlocked`. The default value for a newly created protection group is `unlocked`. Set `retention_lock` to `ratcheted` to enable SafeMode restrictions on the protection group. Contact Pure Technical Services to change `retention_lock` to `unlocked`. | [optional] |
| SnapshotSchedule | Pointer to SnapshotSchedule | The schedule settings for protection group snapshots. | [optional] |
| Source | Pointer to FixedReference | The array or pod on which the protection group was created. | [optional] |
| SourceRetention | Pointer to RetentionPolicy | The retention policy for the source array of the protection group. | [optional] |
| Space | Pointer to Space | Displays provisioned size and physical storage consumption data for each protection group. | [optional] |
| TargetCount | Pointer to int64 | The number of targets to where this protection group replicates. | [optional] [readonly] |
| TargetRetention | Pointer to RetentionPolicy | The retention policy for the target(s) of the protection group. | [optional] |
| TimeRemaining | Pointer to int64 | The amount of time left until the destroyed protection group is permanently eradicated. Measured in milliseconds. Before the `time_remaining` period has elapsed, the destroyed protection group can be recovered by setting `destroyed=false`. | [optional] [readonly] |
| VolumeCount | Pointer to int64 | The number of volumes in the protection group. | [optional] [readonly] |
| Workload | Pointer to WorkloadConfigurationFixedReference | [optional] |
func NewProtectionGroup() *ProtectionGroup
NewProtectionGroup instantiates a new ProtectionGroup 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 NewProtectionGroupWithDefaults() *ProtectionGroup
NewProtectionGroupWithDefaults instantiates a new ProtectionGroup 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 *ProtectionGroup) GetContext() FixedReferenceWithType
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetContextOk() (*FixedReferenceWithType, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetContext(v FixedReferenceWithType)
SetContext sets Context field to given value.
func (o *ProtectionGroup) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *ProtectionGroup) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ProtectionGroup) 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 *ProtectionGroup) SetId(v string)
SetId sets Id field to given value.
func (o *ProtectionGroup) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ProtectionGroup) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetName(v string)
SetName sets Name field to given value.
func (o *ProtectionGroup) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ProtectionGroup) GetDestroyed() bool
GetDestroyed returns the Destroyed field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetDestroyedOk() (*bool, bool)
GetDestroyedOk returns a tuple with the Destroyed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetDestroyed(v bool)
SetDestroyed sets Destroyed field to given value.
func (o *ProtectionGroup) HasDestroyed() bool
HasDestroyed returns a boolean if a field has been set.
func (o *ProtectionGroup) GetEradicationConfig() ProtectionGroupEradicationConfig
GetEradicationConfig returns the EradicationConfig field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetEradicationConfigOk() (*ProtectionGroupEradicationConfig, bool)
GetEradicationConfigOk returns a tuple with the EradicationConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetEradicationConfig(v ProtectionGroupEradicationConfig)
SetEradicationConfig sets EradicationConfig field to given value.
func (o *ProtectionGroup) HasEradicationConfig() bool
HasEradicationConfig returns a boolean if a field has been set.
func (o *ProtectionGroup) GetHostCount() int64
GetHostCount returns the HostCount field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetHostCountOk() (*int64, bool)
GetHostCountOk returns a tuple with the HostCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetHostCount(v int64)
SetHostCount sets HostCount field to given value.
func (o *ProtectionGroup) HasHostCount() bool
HasHostCount returns a boolean if a field has been set.
func (o *ProtectionGroup) GetHostGroupCount() int64
GetHostGroupCount returns the HostGroupCount field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetHostGroupCountOk() (*int64, bool)
GetHostGroupCountOk returns a tuple with the HostGroupCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetHostGroupCount(v int64)
SetHostGroupCount sets HostGroupCount field to given value.
func (o *ProtectionGroup) HasHostGroupCount() bool
HasHostGroupCount returns a boolean if a field has been set.
func (o *ProtectionGroup) GetIsLocal() bool
GetIsLocal returns the IsLocal field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetIsLocalOk() (*bool, bool)
GetIsLocalOk returns a tuple with the IsLocal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetIsLocal(v bool)
SetIsLocal sets IsLocal field to given value.
func (o *ProtectionGroup) HasIsLocal() bool
HasIsLocal returns a boolean if a field has been set.
func (o *ProtectionGroup) GetPod() FixedReference
GetPod returns the Pod field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetPodOk() (*FixedReference, bool)
GetPodOk returns a tuple with the Pod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetPod(v FixedReference)
SetPod sets Pod field to given value.
func (o *ProtectionGroup) HasPod() bool
HasPod returns a boolean if a field has been set.
func (o *ProtectionGroup) GetReplicationSchedule() ReplicationSchedule
GetReplicationSchedule returns the ReplicationSchedule field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetReplicationScheduleOk() (*ReplicationSchedule, bool)
GetReplicationScheduleOk returns a tuple with the ReplicationSchedule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetReplicationSchedule(v ReplicationSchedule)
SetReplicationSchedule sets ReplicationSchedule field to given value.
func (o *ProtectionGroup) HasReplicationSchedule() bool
HasReplicationSchedule returns a boolean if a field has been set.
func (o *ProtectionGroup) GetRetentionLock() string
GetRetentionLock returns the RetentionLock field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetRetentionLockOk() (*string, bool)
GetRetentionLockOk returns a tuple with the RetentionLock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetRetentionLock(v string)
SetRetentionLock sets RetentionLock field to given value.
func (o *ProtectionGroup) HasRetentionLock() bool
HasRetentionLock returns a boolean if a field has been set.
func (o *ProtectionGroup) GetSnapshotSchedule() SnapshotSchedule
GetSnapshotSchedule returns the SnapshotSchedule field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetSnapshotScheduleOk() (*SnapshotSchedule, bool)
GetSnapshotScheduleOk returns a tuple with the SnapshotSchedule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetSnapshotSchedule(v SnapshotSchedule)
SetSnapshotSchedule sets SnapshotSchedule field to given value.
func (o *ProtectionGroup) HasSnapshotSchedule() bool
HasSnapshotSchedule returns a boolean if a field has been set.
func (o *ProtectionGroup) GetSource() FixedReference
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetSourceOk() (*FixedReference, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetSource(v FixedReference)
SetSource sets Source field to given value.
func (o *ProtectionGroup) HasSource() bool
HasSource returns a boolean if a field has been set.
func (o *ProtectionGroup) GetSourceRetention() RetentionPolicy
GetSourceRetention returns the SourceRetention field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetSourceRetentionOk() (*RetentionPolicy, bool)
GetSourceRetentionOk returns a tuple with the SourceRetention field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetSourceRetention(v RetentionPolicy)
SetSourceRetention sets SourceRetention field to given value.
func (o *ProtectionGroup) HasSourceRetention() bool
HasSourceRetention returns a boolean if a field has been set.
func (o *ProtectionGroup) GetSpace() Space
GetSpace returns the Space field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetSpaceOk() (*Space, bool)
GetSpaceOk returns a tuple with the Space field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetSpace(v Space)
SetSpace sets Space field to given value.
func (o *ProtectionGroup) HasSpace() bool
HasSpace returns a boolean if a field has been set.
func (o *ProtectionGroup) GetTargetCount() int64
GetTargetCount returns the TargetCount field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetTargetCountOk() (*int64, bool)
GetTargetCountOk returns a tuple with the TargetCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetTargetCount(v int64)
SetTargetCount sets TargetCount field to given value.
func (o *ProtectionGroup) HasTargetCount() bool
HasTargetCount returns a boolean if a field has been set.
func (o *ProtectionGroup) GetTargetRetention() RetentionPolicy
GetTargetRetention returns the TargetRetention field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetTargetRetentionOk() (*RetentionPolicy, bool)
GetTargetRetentionOk returns a tuple with the TargetRetention field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetTargetRetention(v RetentionPolicy)
SetTargetRetention sets TargetRetention field to given value.
func (o *ProtectionGroup) HasTargetRetention() bool
HasTargetRetention returns a boolean if a field has been set.
func (o *ProtectionGroup) GetTimeRemaining() int64
GetTimeRemaining returns the TimeRemaining field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetTimeRemainingOk() (*int64, bool)
GetTimeRemainingOk returns a tuple with the TimeRemaining field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetTimeRemaining(v int64)
SetTimeRemaining sets TimeRemaining field to given value.
func (o *ProtectionGroup) HasTimeRemaining() bool
HasTimeRemaining returns a boolean if a field has been set.
func (o *ProtectionGroup) GetVolumeCount() int64
GetVolumeCount returns the VolumeCount field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetVolumeCountOk() (*int64, bool)
GetVolumeCountOk returns a tuple with the VolumeCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetVolumeCount(v int64)
SetVolumeCount sets VolumeCount field to given value.
func (o *ProtectionGroup) HasVolumeCount() bool
HasVolumeCount returns a boolean if a field has been set.
func (o *ProtectionGroup) GetWorkload() WorkloadConfigurationFixedReference
GetWorkload returns the Workload field if non-nil, zero value otherwise.
func (o *ProtectionGroup) GetWorkloadOk() (*WorkloadConfigurationFixedReference, bool)
GetWorkloadOk returns a tuple with the Workload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtectionGroup) SetWorkload(v WorkloadConfigurationFixedReference)
SetWorkload sets Workload field to given value.
func (o *ProtectionGroup) HasWorkload() bool
HasWorkload returns a boolean if a field has been set.