models.universal_id module

class models.universal_id.UniversalId(cluster_id=None, cluster_incarnation_id=None, id=None)[source]

Bases: object

Implementation of the ‘UniversalId’ model.

Specifies an id for an object that is unique across Cohesity Clusters. The id is composite of all the ids listed below.

Attributes:
cluster_id (long|int): Specifies the Cohesity Cluster id where the

object was created.

cluster_incarnation_id (long|int): Specifies an id for the Cohesity

Cluster that is generated when a Cohesity Cluster is initially created.

id (long|int): Specifies a unique id assigned to an object (such as a

Job) by the Cohesity Cluster.

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.