models.protected_object module

class models.protected_object.ProtectedObject(job_id=None, protection_fauilure_reason=None, protection_source_id=None)[source]

Bases: object

Implementation of the ‘ProtectedObject’ model.

Provides details about a Protected Object.

job_id (UniversalId): Specifies an id for an object that is unique

across Cohesity Clusters. The id is composite of all the ids listed below.

protection_fauilure_reason (string): If protection fails then

specifies why the protection failed on this object.

protection_source_id (long|int): Specifies the id of the Protection


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.