models_v2.object_protection_stats_summary module

class models_v2.object_protection_stats_summary.ObjectProtectionStatsSummary(environment=None, protected_count=None, unprotected_count=None, protected_size_bytes=None, unprotected_size_bytes=None)[source]

Bases: object

Implementation of the ‘Object Protection Stats Summary’ model.

Specifies the count and size of protected and unprotected objects for a given environment.

Attributes:
environment (Environment2Enum): Specifies the environment of the

object.

protected_count (long|int): Specifies the count of the protected leaf

objects.

unprotected_count (long|int): Specifies the count of the unprotected

leaf objects.

protected_size_bytes (long|int): Specifies the protected logical size

in bytes.

unprotected_size_bytes (long|int): Specifies the unprotected logical

size 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.