models.magneto_object_id module¶
-
class
models.magneto_object_id.
MagnetoObjectId
(entity=None, job_id=None, job_uid=None)[source]¶ Bases:
object
Implementation of the ‘MagnetoObjectId’ model.
TODO: type model description here.
- Attributes:
- entity (EntityProto): Specifies the attributes and the latest
statistics about an entity.
- job_id (long|int): The id of the local job that the object belongs to,
which may or may not match the object_id field in job_uid below depending on whether the object originally belonged to this local job or to a different remote job.
job_uid (UniversalIdProto): 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.