models_v2.object_stats module

class models_v2.object_stats.ObjectStats(snapshots_summary=None)[source]

Bases: object

Implementation of the ‘Object Stats.’ model.

Specifies the object stats.

Attributes:
snapshots_summary (list of SnapshotsSummary): Specifies a summary of

the object snapshots.

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.