// @ts-nocheck
/**
 * Argo Workflows API
 * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/
 *
 * The version of the OpenAPI document: VERSION
 * 
 *
 * 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';
import { IoK8sApiCoreV1ConfigMapProjection } from './ioK8sApiCoreV1ConfigMapProjection';
import { IoK8sApiCoreV1DownwardAPIProjection } from './ioK8sApiCoreV1DownwardAPIProjection';
import { IoK8sApiCoreV1SecretProjection } from './ioK8sApiCoreV1SecretProjection';
import { IoK8sApiCoreV1ServiceAccountTokenProjection } from './ioK8sApiCoreV1ServiceAccountTokenProjection';

/**
* Projection that may be projected along with other supported volume types
*/
export class IoK8sApiCoreV1VolumeProjection {
    'configMap'?: IoK8sApiCoreV1ConfigMapProjection;
    'downwardAPI'?: IoK8sApiCoreV1DownwardAPIProjection;
    'secret'?: IoK8sApiCoreV1SecretProjection;
    'serviceAccountToken'?: IoK8sApiCoreV1ServiceAccountTokenProjection;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "configMap",
            "baseName": "configMap",
            "type": "IoK8sApiCoreV1ConfigMapProjection"
        },
        {
            "name": "downwardAPI",
            "baseName": "downwardAPI",
            "type": "IoK8sApiCoreV1DownwardAPIProjection"
        },
        {
            "name": "secret",
            "baseName": "secret",
            "type": "IoK8sApiCoreV1SecretProjection"
        },
        {
            "name": "serviceAccountToken",
            "baseName": "serviceAccountToken",
            "type": "IoK8sApiCoreV1ServiceAccountTokenProjection"
        }    ];

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

