models.scheduling_policy_proto module

class models.scheduling_policy_proto.SchedulingPolicyProto(continuous_schedule=None, daily_schedule=None, monthly_schedule=None, periodicity=None, rpo_schedule=None)[source]

Bases: object

Implementation of the ‘SchedulingPolicyProto’ model.

TODO: type model description here.

Attributes:
continuous_schedule (SchedulingPolicyProtoContinuousSchedule): Set if

periodicity is kContinuous.

daily_schedule (SchedulingPolicyProtoDailySchedule): Set if

periodicity is kDaily.

monthly_schedule (SchedulingPolicyProtoMonthlySchedule): Set if

periodicity is kMonthly.

periodicity (int): Determines how often the job should be run. rpo_schedule (SchedulingPolicyProtoRPOSchedule): Set if periodicity

is kContinuousRPO.

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.