/**
 * 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/
 *
 * OpenAPI spec version: 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 { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection';
import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection';
import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection';
import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection';
import { HttpFile } from '../http/http';

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

    static readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoK8sApiCoreV1VolumeProjection.attributeTypeMap;
    }

    public constructor() {
    }
}

