models.protection_tile module

class models.protection_tile.ProtectionTile(last_day_archival=None, last_day_backup=None, last_day_replication_in=None, last_day_replication_out=None)[source]

Bases: object

Implementation of the ‘ProtectionTile’ model.

Protection information and statistics.

Attributes:

last_day_archival (ProtectionStats): Protection Statistics. last_day_backup (ProtectionStats): Protection Statistics. last_day_replication_in (ProtectionStats): Protection Statistics. last_day_replication_out (ProtectionStats): Protection Statistics.

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.