EntityReference#

class EntityReference(ext_id=None, rel=None, *args, **kwargs)[source]#

Bases: object

Details of the entity.

Parameters:
  • ext_id – (ext_id) A globally unique identifier of the entity.

  • rel – (rel) Entity type identified as ‘namespace:module[:submodule]:entityType’. For example - vmm:ahv:vm, where vmm is the namepsace, ahv is the module and vm is the entitytype.

property ext_id#

A globally unique identifier of the entity.

Type:

str

property rel#

Entity type identified as ‘namespace:module[:submodule]:entityType’. For example - vmm:ahv:vm, where vmm is the namepsace, ahv is the module and vm is the entitytype.

Type:

str

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model