models_v2.object_identifier module

class models_v2.object_identifier.ObjectIdentifier(id=None, name=None, source_id=None, source_name=None, environment=None)[source]

Bases: object

Implementation of the ‘Object Identifier.’ model.

Specifies the basic info to identify an object.

Attributes:

id (long|int): Specifies object id. name (string): Specifies the name of the object. source_id (long|int): Specifies registered source id to which object

belongs.

source_name (string): Specifies registered source name to which object

belongs.

environment (EnvironmentEnum): Specifies the environment of the

object.

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.