/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * Adyen NodeJS API Library
 * Copyright (c) 2021 Adyen B.V.
 * This file is open source and available under the MIT license.
 * See the LICENSE file for more info.
 */
 
/**
 * Terminal API
 * Definition of Terminal API Schema
 *
 * 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 { EncryptedContent } from './encryptedContent';

export class EnvelopedData {
    'EncryptedContent': EncryptedContent;
    'KeyTransportOrKEK'?: Array<any>;
    'Version'?: EnvelopedData.VersionEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "EncryptedContent",
            "baseName": "EncryptedContent",
            "type": "EncryptedContent"
        },
        {
            "name": "KeyTransportOrKEK",
            "baseName": "KeyTransportOrKEK",
            "type": "Array<any>"
        },
        {
            "name": "Version",
            "baseName": "Version",
            "type": "EnvelopedData.VersionEnum"
        }    ];

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

export namespace EnvelopedData {
    export enum VersionEnum {
        V0 = <any> 'V0',
        V1 = <any> 'V1',
        V2 = <any> 'V2',
        V3 = <any> 'V3',
        V4 = <any> 'V4',
        V5 = <any> 'V5'
    }
}
