EntityReference#

class EntityReference(ext_id=None, name=None, uris=None, entity_type=None, *args, **kwargs)#

Bases: object

Parameters:
  • ext_id – (ext_id) A globally unique identifier of an instance that is suitable for external consumption.

  • name (max=256 chars) – (name) Name of entity that’s represented by this reference.

  • uris – (uris) URI of entities that’s represented by this reference.

  • entity_type – (entity_type)

property entity_type#
Type:

EntityType

property ext_id#

A globally unique identifier of an instance that is suitable for external consumption.

Type:

str

property name#

Name of entity that’s represented by this reference.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property uris#

URI of entities that’s represented by this reference.

Type:

list[ str ]