models.restore_stats module

class models.restore_stats.RestoreStats(num_cloned_objects=None, num_recovered_objects=None, stats_by_environment=None)[source]

Bases: object

Implementation of the ‘RestoreStats’ model.

Specifies the restore statistics details.

Attributes:
num_cloned_objects (long|int): Specifies the count of cloned objects

in the given time frame.

num_recovered_objects (long|int): Specifies the count of recovered

objects in the given time frame.

stats_by_environment (list of RestoreEnvStats): Specifies the stats of

recovery jobs aggregated by the environment type.

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.