/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CustomFieldValidValue } from './CustomFieldValidValue'; /** * Optional validation rules for the custom field * @export * @interface CustomFieldValidationRules */ export interface CustomFieldValidationRules { /** * If this field must be unique for every user in the environment * @type {boolean} * @memberof CustomFieldValidationRules */ unique?: boolean; /** * The regex pattern that the text field must match * @type {string} * @memberof CustomFieldValidationRules */ regex?: string; /** * The dropdown options for the select field * @type {Array} * @memberof CustomFieldValidationRules */ validOptions?: Array; /** * The text that will be displayed for the checkbox field * @type {string} * @memberof CustomFieldValidationRules */ checkboxText?: string; } export declare function CustomFieldValidationRulesFromJSON(json: any): CustomFieldValidationRules; export declare function CustomFieldValidationRulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldValidationRules; export declare function CustomFieldValidationRulesToJSON(value?: CustomFieldValidationRules | null): any;