models.protected_objects_summary module¶
-
class
models.protected_objects_summary.
ProtectedObjectsSummary
(num_objects_protected=None, num_objects_unprotected=None, protected_size_bytes=None, stats_by_env=None, unprotected_size_bytes=None)[source]¶ Bases:
object
Implementation of the ‘ProtectedObjectsSummary’ model.
Specifies the statistics of the protected objects on the cluster.
- Attributes:
- num_objects_protected (long|int): Specifies the total number of
protected objects.
- num_objects_unprotected (long|int): Specifies the total number of
unprotected objects.
- protected_size_bytes (long|int): Specifies the total size of protected
objects in bytes.
- stats_by_env (list of ProtectedObjectsSummaryByEnv): Specifies the
stats of Protected objects by environment.
- unprotected_size_bytes (long|int): Specifies the total size of
unprotected objects in bytes.
-
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.