define a property mapping between template and registration.
Attributes
Name | Type | Description |
---|---|---|
twin_registration_property_id | uuid.UUID | technical id of the twin registration property. |
twin_registration_id | uuid.UUID | technical id of the twin registration. |
template_property | TemplateProperty | template property associated. |
p_type | VarType | type associate to this registration - equal the one on template_property. |
value | value of the registration property, type is depending upon p_type. | |
createdById | uuid.UUID | unique identifier of creating user. |
createdDate | int | timestamp of created date. |
updatedById | uuid.UUID | unique identifier of updating user. |
updatedDate | int | timestamp of updated date. |
Methods
api_id()
return current object id on Web API format.
endpoint()
return endpoint name used to contact backend.
from_json()
load the object from a dict originating of a JSON format.
Name | Type | Default | Description |
---|---|---|---|
obj | object to load information from. |
set_id()
specify the id_value neutrally
Name | Type | Default | Description |
---|---|---|---|
id_value |
return:
to_json()
transform current object into a dict that could be JSONIFY.
Name | Type | Default | Description |
---|---|---|---|
target | str | None |
return: dumpable dict.