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 | typing.Union[ type, NoneType ] | |
| commit | bool | |
| datatype | typing.Union[ flow_api.system.NotSet, str ] | |
| debug | bool | |
| description | typing.Union[ flow_api.system.NotSet, str ] | |
| init | typing.Union[ dict, NoneType ] | |
| is_hidden | typing.Union[ flow_api.system.NotSet, bool ] | |
| is_nullable | typing.Union[ flow_api.system.NotSet, bool ] | |
| is_unique | typing.Union[ flow_api.system.NotSet, bool ] | |
| name | typing.Union[ flow_api.system.NotSet, str ] | |
| object_template_id | typing.Union[ flow_api.system.NotSet, str ] | |
| reference_object_template_id | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
| reference_record_type | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
| select | typing.Union[ str, NoneType ] | |
| silent_update | typing.Union[ flow_api.system.NotSet, bool ] |