models.protection_summary module¶
- 
class 
models.protection_summary.ProtectionSummary(protected_count=None, protected_size=None, unprotected_count=None, unprotected_size=None)[source]¶ Bases:
objectImplementation of the ‘ProtectionSummary’ model.
Specifies the number of protected and unprotected objects, and their sizes information of the given entity.
- Attributes:
 - protected_count (long|int): Specifies the number of objects that are
 protected under the given entity.
- protected_size (long|int): Specifies the total size of the protected
 objects under the given entity.
- unprotected_count (long|int): Specifies the number of objects that are
 not protected under the given entity.
- unprotected_size (long|int): Specifies the total size of the
 unprotected objects under the given entity.
- 
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.