models_v2.view_protection_2 module¶
- 
class 
models_v2.view_protection_2.ViewProtection2(magneto_entity_id=None, protection_groups=None, inactive=None)[source]¶ Bases:
objectImplementation of the ‘ViewProtection2’ model.
TODO: type model description here.
- Attributes:
 - magneto_entity_id (long|int): Specifies the id of the Protection
 Source that is using this View.
- protection_groups (list of ProtectionGroupInfo): Array of Protection
 Group. Specifies the Protection Group that are protecting the View.
- inactive (bool): Specifies if this View is an inactive View that was
 created on this Remote Cluster to store the Snapshots created by replication. This inactive View cannot be NFS or SMB mounted.
- 
classmethod 
from_dictionary(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
 dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
 object: An instance of this structure class.