models_v2.time_range module

class models_v2.time_range.TimeRange(start_time_usecs=None, end_time_usecs=None, protection_group_id=None)[source]

Bases: object

Implementation of the ‘Time range.’ model.

Specifies a valid time range to which this object can be recovered.

Attributes:
start_time_usecs (long|int): Specifies the start time of this time

range.

end_time_usecs (long|int): Specifies the end time of this time range. protection_group_id (string): Specifies id of the Protection Group

corresponding to this time range.

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.