models_v2.week_schedule module¶
-
class
models_v2.week_schedule.
WeekSchedule
(day_of_week=None)[source]¶ Bases:
object
Implementation of the ‘Week Schedule’ model.
Specifies settings that define a schedule for a Protection Group runs to start on certain days of week.
- Attributes:
- day_of_week (list of DayOfWeekEnum): Specifies a list of days of the
week when to start Protection Group Runs. <br> Example: To run a Protection Group on every Monday and Tuesday, set the schedule with following values: <br> unit: ‘Weeks’ <br> dayOfWeek: [‘Monday’,’Tuesday’]
-
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.