/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { DataTypeLookup } from './data-type-lookup';
import { TypeBinary } from './type-binary';
import { TypeDatetime } from './type-datetime';
import { TypeDuration } from './type-duration';
import { TypeFloat } from './type-float';
import { TypeInt } from './type-int';
import { TypeKind } from './type-kind';
import { TypeText } from './type-text';
import { TypeUint } from './type-uint';
/**
 * Field of the struct.
 * @export
 * @interface DataField
 */
export interface DataField {
    /**
     * Always signifies that the field value will be computed on any write (INSERT OR UPDATE) operations. The field cannot be written to, and when read the result of the last generated expression will be returned.  The generation expression can refer to other columns in the table, but not other generated columns. Any functions and operators used must be immutable. References to other tables are not allowed.
     * @type {object}
     * @memberof DataField
     */
    always?: object;
    /**
     *
     * @type {TypeBinary}
     * @memberof DataField
     */
    binary?: TypeBinary;
    /**
     *
     * @type {object}
     * @memberof DataField
     */
    bool?: object;
    /**
     *
     * @type {TypeDatetime}
     * @memberof DataField
     */
    datetime?: TypeDatetime;
    /**
     * The `default` expression will be used in `INSERT` operation that does not specify a value for the field.  If there is no default for a field, then the default is null.
     * @type {object}
     * @memberof DataField
     */
    _default?: object;
    /**
     *
     * @type {boolean}
     * @memberof DataField
     */
    disabled?: boolean;
    /**
     *
     * @type {TypeDuration}
     * @memberof DataField
     */
    duration?: TypeDuration;
    /**
     *
     * @type {TypeFloat}
     * @memberof DataField
     */
    _float?: TypeFloat;
    /**
     *
     * @type {TypeFloat}
     * @memberof DataField
     */
    float32?: TypeFloat;
    /**
     *
     * @type {TypeFloat}
     * @memberof DataField
     */
    float64?: TypeFloat;
    /**
     *
     * @type {boolean}
     * @memberof DataField
     */
    hidden?: boolean;
    /**
     * Short description. Default: {name}.
     * @type {string}
     * @memberof DataField
     */
    hint?: string;
    /**
     * Field [code] name.  code
     * @type {string}
     * @memberof DataField
     */
    id?: string;
    /**
     *
     * @type {TypeInt}
     * @memberof DataField
     */
    _int?: TypeInt;
    /**
     *
     * @type {TypeInt}
     * @memberof DataField
     */
    int32?: TypeInt;
    /**
     *
     * @type {TypeInt}
     * @memberof DataField
     */
    int64?: TypeInt;
    /**
     *
     * @type {TypeKind}
     * @memberof DataField
     */
    kind?: TypeKind;
    /**
     *
     * @type {DataTypeLookup}
     * @memberof DataField
     */
    lookup?: DataTypeLookup;
    /**
     * Title of the field. Lang specific.  title
     * @type {string}
     * @memberof DataField
     */
    name?: string;
    /**
     * Optional. Disable any write (INSERT OR UPDATE) operations. READONLY signifies that the field value will be always computed on any write (INSERT OR UPDATE) operations. If selected, the `default` value MUST be specified.  FIXME: Is base field ? [ id, created_, updated_ ]
     * @type {boolean}
     * @memberof DataField
     */
    readonly?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof DataField
     */
    required?: boolean;
    /**
     *
     * @type {TypeText}
     * @memberof DataField
     */
    richtext?: TypeText;
    /**
     *
     * @type {TypeText}
     * @memberof DataField
     */
    string?: TypeText;
    /**
     *
     * @type {TypeUint}
     * @memberof DataField
     */
    uint?: TypeUint;
    /**
     *
     * @type {TypeUint}
     * @memberof DataField
     */
    uint32?: TypeUint;
    /**
     *
     * @type {TypeUint}
     * @memberof DataField
     */
    uint64?: TypeUint;
}
//# sourceMappingURL=data-field.d.ts.map