models.stubbing_policy_proto module

class models.stubbing_policy_proto.StubbingPolicyProto(retention_policy=None, scheduling_policy=None)[source]

Bases: object

Implementation of the ‘StubbingPolicyProto’ model.

Stubbing jobs do not use protection policies. Instead, schedule and retention policy will be embedded in the BackupJobProto.

Attributes:
retention_policy (RetentionPolicyProto): Message that specifies the

retention policy for backup snapshots.

scheduling_policy (SchedulingPolicyProto): TODO: type description

here.

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.