models.backup_policy_proto_exclusion_time_range module¶
- 
class models.backup_policy_proto_exclusion_time_range.BackupPolicyProtoExclusionTimeRange(day=None, end_time=None, start_time=None)[source]¶
- Bases: - object- Implementation of the ‘BackupPolicyProto_ExclusionTimeRange’ model. - A proto to specify a time range within a single day when backups are not permitted to run. - Attributes:
- day (int): If the day is not set, the time range applies to all days. end_time (Time): A message to encapusulate time of a day. Users of - this proto will have to store the timezone information separately. For example, when this proto is part of a backup job, timezone of the backup job is applied to get the absolute time. - start_time (Time): A message to encapusulate time of a day. Users of
- this proto will have to store the timezone information separately. For example, when this proto is part of a backup job, timezone of the backup job is applied to get the absolute time. 
 
 - 
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.