models_v2.daily_schedule module¶
-
class
models_v2.daily_schedule.
DailySchedule
(frequency=None)[source]¶ Bases:
object
Implementation of the ‘Daily Schedule’ model.
Specifies settings that define a daily schedule for a Protection Policy.
- Attributes:
- 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. <br> This field is only applicable if unit is ‘Minutes’, ‘Hours’ or ‘Days’.
-
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.