models.protection_stats module

class models.protection_stats.ProtectionStats(num_failed=None, num_objects=None, size_bytes=None)[source]

Bases: object

Implementation of the ‘ProtectionStats’ model.

Protection Statistics.

Attributes:

num_failed (int): Number of Failed Objects. num_objects (int): Number of Objects. size_bytes (long|int): 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.