ObjectTemplateAttribute
class flow_api.object_template_attribute.ObjectTemplateAttribute(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=False, datatype=<class 'flow_api.system.NotSet'>, description=<class 'flow_api.system.NotSet'>, is_hidden=<class 'flow_api.system.NotSet'>, is_nullable=<class 'flow_api.system.NotSet'>, is_unique=<class 'flow_api.system.NotSet'>, name=<class 'flow_api.system.NotSet'>, object_template_id=<class 'flow_api.system.NotSet'>, reference_object_template_id=<class 'flow_api.system.NotSet'>, reference_record_type=<class 'flow_api.system.NotSet'>, silent_update=<class 'flow_api.system.NotSet'>, debug=False)
Base class: Row
A definition of an attribute of an object_template.
Behaves similarly to database column with properties like datatype, nullability, uniqueness.
Parameters
| Name | Type | Description |
|---|---|---|
| allow_deleted | bool | |
| allow_normal | bool | |
| by | str | |
| cls | Optional | |
| commit | bool | |
| datatype | Union | The datatype of the attribute. |
| debug | bool | if set, the content of the data being written will be logged. |
| description | Union | A description of attribute. |
| init | Optional | |
| is_hidden | Union | A flag to control if attribute should be hidden in the "more" section of the form. |
| is_nullable | Union | A flag to control if the attribute can be NULL. |
| is_unique | Union | A flag to control if attribute values must be unique. |
| name | Union | The name of the attribute. |
| object_template_id | Union | Reference to the object_template this object_template_attribute is associated with. |
| reference_object_template_id | Union | The object template the attribute is referencing. Only valid when datatype is OBJECT_TEMPLATE_REFERENCE. |
| reference_record_type | Union | The record type the attribute is referencing. Only valid when datatype is RECORD_REFERENCE. |
| select | Optional | |
| silent_update | Union | A flag to control if a change to this attribute should trigger the on-update provisioning execution. |