models_v2.points_in_time_for_restore module

class models_v2.points_in_time_for_restore.PointsInTimeForRestore(time_ranges=None)[source]

Bases: object

Implementation of the ‘Points in time for restore’ model.

Specifies the points in time available for restore as a set of one or more time ranges. If the number of available ranges exceeds 1000, then the latest 1000 will be returned.

Attributes:
time_ranges (list of TimeRange): Specifies the time ranges within

which this object can be restored to any point in time. If the number of available ranges exceeds 1000, then the latest 1000 will be returned.

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.