models_v2.blackout_window_1 module¶
-
class
models_v2.blackout_window_1.
BlackoutWindow1
(day=None, start_time=None, end_time=None, config_id=None)[source]¶ Bases:
object
Implementation of the ‘Blackout Window1’ model.
List of Blackout Windows. If specified, this field defines blackout periods when backups are not triggered..
- Attributes:
- day (DayEnum): Specifies a day in the week when no new Protection
Group Runs should be started such as ‘Sunday’. If not set, the time range applies to all days. Specifies a day in a week such as ‘Sunday’, ‘Monday’, etc.
- start_time (TimeOfDay): Specifies the time of day. Used for scheduling
purposes.
- end_time (TimeOfDay): Specifies the time of day. Used for scheduling
purposes.
- config_id (string): Specifies the unique identifier for the blackout
getting added. This field should only be set if policy is getting updated.
-
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.