/*
 * The version of the OpenAPI document: v6
 * Contact: developer-experience@adyen.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit this class manually.
 */

import { FieldType } from './fieldType';

export class ErrorFieldType {
    /**
    * The validation error code.
    */
    'errorCode'?: number;
    /**
    * A description of the validation error.
    */
    'errorDescription'?: string;
    'fieldType'?: FieldType;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "errorCode",
            "baseName": "errorCode",
            "type": "number"
        },
        {
            "name": "errorDescription",
            "baseName": "errorDescription",
            "type": "string"
        },
        {
            "name": "fieldType",
            "baseName": "fieldType",
            "type": "FieldType"
        }    ];

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

