models_v2.week_schedule_1 module

class models_v2.week_schedule_1.WeekSchedule1(frequency=None, day_of_week=None)[source]

Bases: object

Implementation of the ‘Week Schedule1’ model.

Specifies settings that define a schedule for a Protection Group runs to start on certain days of week.

frequency (long|int): Specifies a factor to multiply the unit by, to

determine the backup schedule. <br> Example: If ‘frequency’ set to 2 and the unit is ‘Hours’, then Snapshots are backed up every 2 hours. If selected unit is ‘Weeks’ or ‘Months’ then frequency will only be applied if policy type is DMaas.

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


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.


object: An instance of this structure class.