/**
 * BoldSign API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { RequestFile } from './models';

export class Validation {
    'type': Validation.TypeEnum;
    'regex'?: string | null;
    'regexMessage'?: string | null;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "type",
            "baseName": "type",
            "type": "Validation.TypeEnum"
        },
        {
            "name": "regex",
            "baseName": "regex",
            "type": "string"
        },
        {
            "name": "regexMessage",
            "baseName": "regexMessage",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return Validation.attributeTypeMap;
    }
}

export namespace Validation {
    export enum TypeEnum {
        NumberOnly = <any> 'NumberOnly',
        Email = <any> 'Email',
        Currency = <any> 'Currency',
        Regex = <any> 'Regex',
        None = <any> 'None'
    }
}
