models.universal_id_proto module¶
-
class
models.universal_id_proto.
UniversalIdProto
(cluster_id=None, cluster_incarnation_id=None, object_id=None)[source]¶ Bases:
object
Implementation of the ‘UniversalIdProto’ model.
TODO: type model description here.
- Attributes:
- cluster_id (long|int): The id of the cluster at which the object was
created.
- cluster_incarnation_id (long|int): The incarnation id of the above
cluster.
- object_id (long|int): The object id - this is unique within the above
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.