/*
 * The version of the OpenAPI document: v1
 * 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.
 */


export class ExternalTerminalAction {
    /**
    * The type of terminal action: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, or **UninstallAndroidCertificate**.
    */
    'actionType'?: string;
    /**
    * Technical information about the terminal action.
    */
    'config'?: string;
    /**
    * The date and time when the action was carried out.
    */
    'confirmedAt'?: Date;
    /**
    * The unique ID of the terminal action.
    */
    'id'?: string;
    /**
    * The result message for the action.
    */
    'result'?: string;
    /**
    * The date and time when the action was scheduled to happen.
    */
    'scheduledAt'?: Date;
    /**
    * The status of the terminal action: **pending**, **successful**, **failed**, **cancelled**, or **tryLater**.
    */
    'status'?: string;
    /**
    * The unique ID of the terminal that the action applies to.
    */
    'terminalId'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "actionType",
            "baseName": "actionType",
            "type": "string"
        },
        {
            "name": "config",
            "baseName": "config",
            "type": "string"
        },
        {
            "name": "confirmedAt",
            "baseName": "confirmedAt",
            "type": "Date"
        },
        {
            "name": "id",
            "baseName": "id",
            "type": "string"
        },
        {
            "name": "result",
            "baseName": "result",
            "type": "string"
        },
        {
            "name": "scheduledAt",
            "baseName": "scheduledAt",
            "type": "Date"
        },
        {
            "name": "status",
            "baseName": "status",
            "type": "string"
        },
        {
            "name": "terminalId",
            "baseName": "terminalId",
            "type": "string"
        }    ];

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

