/**
 * OpenAPI enums
 * Tests generation of enums with open opi
 *
 * OpenAPI spec version: 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 { ExternalEnum } from './externalEnum';

export class ObjectWithEnums {
    'enumInObject'?: ObjectWithEnums.EnumInObjectEnum;
    'externalEnum'?: ExternalEnum;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "enumInObject",
            "baseName": "enumInObject",
            "type": "ObjectWithEnums.EnumInObjectEnum"
        },
        {
            "name": "externalEnum",
            "baseName": "externalEnum",
            "type": "ExternalEnum"
        }    ];

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

export namespace ObjectWithEnums {
    export enum EnumInObjectEnum {
        Red = <any> 'red',
        Blue = <any> 'blue'
    }
}
