TwinRegistrationProperty

define a property mapping between template and registration.

Attributes

NameTypeDescription
twin_registration_property_iduuid.UUIDtechnical id of the twin registration property.
twin_registration_iduuid.UUIDtechnical id of the twin registration.
template_propertyTemplatePropertytemplate property associated.
p_typeVarTypetype associate to this registration - equal the one on template_property.
valuevalue of the registration property, type is depending upon p_type.
createdByIduuid.UUIDunique identifier of creating user.
createdDateinttimestamp of created date.
updatedByIduuid.UUIDunique identifier of updating user.
updatedDateinttimestamp 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.

NameTypeDefaultDescription
objobject to load information from.

set_id()

specify the id_value neutrally

NameTypeDefaultDescription
id_value

return:

to_json()

transform current object into a dict that could be JSONIFY.

NameTypeDefaultDescription
targetstrNone

return: dumpable dict.