Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 5.62 KB

TargetProtectionGroup.md

File metadata and controls

160 lines (87 loc) · 5.62 KB

TargetProtectionGroup

Properties

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]
Allowed Pointer to bool If set to `true`, the target array or pod allows the source array to replicate protection group data to the target. If set to `false`, the target array or pod does not allow the source array to replicate protection group data to the target. [optional]
Group Pointer to Reference [optional]
Member Pointer to ReferenceWithType [optional]
Status Pointer to string The replication status of the target. Valid values are `replicating`, `suspended`, and `disallowed`. If `allowed` is `true` and protection group data is replicating to the target, `status` will display `replicating`. If `allowed` is `true`, but replication is suspended due to the target being demoted, linked, stretched or there is a missing realm connection to the target; `status` will display `suspended`. Replication will resume automatically once the conditions for suspend no longer hold. If `allowed` is `false`, `status` will display `disallowed`. [optional]

Methods

NewTargetProtectionGroup

func NewTargetProtectionGroup() *TargetProtectionGroup

NewTargetProtectionGroup instantiates a new TargetProtectionGroup 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

NewTargetProtectionGroupWithDefaults

func NewTargetProtectionGroupWithDefaults() *TargetProtectionGroup

NewTargetProtectionGroupWithDefaults instantiates a new TargetProtectionGroup 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

GetContext

func (o *TargetProtectionGroup) GetContext() FixedReferenceWithType

GetContext returns the Context field if non-nil, zero value otherwise.

GetContextOk

func (o *TargetProtectionGroup) 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.

SetContext

func (o *TargetProtectionGroup) SetContext(v FixedReferenceWithType)

SetContext sets Context field to given value.

HasContext

func (o *TargetProtectionGroup) HasContext() bool

HasContext returns a boolean if a field has been set.

GetAllowed

func (o *TargetProtectionGroup) GetAllowed() bool

GetAllowed returns the Allowed field if non-nil, zero value otherwise.

GetAllowedOk

func (o *TargetProtectionGroup) GetAllowedOk() (*bool, bool)

GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllowed

func (o *TargetProtectionGroup) SetAllowed(v bool)

SetAllowed sets Allowed field to given value.

HasAllowed

func (o *TargetProtectionGroup) HasAllowed() bool

HasAllowed returns a boolean if a field has been set.

GetGroup

func (o *TargetProtectionGroup) GetGroup() Reference

GetGroup returns the Group field if non-nil, zero value otherwise.

GetGroupOk

func (o *TargetProtectionGroup) GetGroupOk() (*Reference, bool)

GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGroup

func (o *TargetProtectionGroup) SetGroup(v Reference)

SetGroup sets Group field to given value.

HasGroup

func (o *TargetProtectionGroup) HasGroup() bool

HasGroup returns a boolean if a field has been set.

GetMember

func (o *TargetProtectionGroup) GetMember() ReferenceWithType

GetMember returns the Member field if non-nil, zero value otherwise.

GetMemberOk

func (o *TargetProtectionGroup) GetMemberOk() (*ReferenceWithType, bool)

GetMemberOk returns a tuple with the Member field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMember

func (o *TargetProtectionGroup) SetMember(v ReferenceWithType)

SetMember sets Member field to given value.

HasMember

func (o *TargetProtectionGroup) HasMember() bool

HasMember returns a boolean if a field has been set.

GetStatus

func (o *TargetProtectionGroup) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *TargetProtectionGroup) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *TargetProtectionGroup) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *TargetProtectionGroup) HasStatus() bool

HasStatus returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]