Reference#

class Reference(resource_id=None, links=None, *args, **kwargs)[source]#

Bases: object

Contains references for entities given in EntityAssociation. This contains the entity ID and a list of links to fetch the associated entities.

Parameters:
  • resource_id – (resource_id) The external identifier of the resource which uniquely identifies it.

  • links – (links)

Type:

list[ ApiLink ]

property resource_id#

The external identifier of the resource which uniquely identifies it.

Type:

str

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model