TemplateProperty

defines a specific property associated with a template.

Attributes

NameTypeDescription
template_property_iduuid.UUIDtechnical id of the template property.
namestrname of the property to use in your queries, properties, dataframes, ...
template_iduuid.UUIDtemplate id on which the property is associated.
descriptionstradditional description of your property.
p_typeVarTypeproperty type as a valid VarType.
requiredboolset if your property is required.
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.