/**
 * 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 { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource';
import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource';
import { HttpFile } from '../http/http';

/**
* EnvFromSource represents the source of a set of ConfigMaps
*/
export class IoK8sApiCoreV1EnvFromSource {
    'configMapRef'?: IoK8sApiCoreV1ConfigMapEnvSource;
    /**
    * An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
    */
    'prefix'?: string;
    'secretRef'?: IoK8sApiCoreV1SecretEnvSource;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "configMapRef",
            "baseName": "configMapRef",
            "type": "IoK8sApiCoreV1ConfigMapEnvSource",
            "format": ""
        },
        {
            "name": "prefix",
            "baseName": "prefix",
            "type": "string",
            "format": ""
        },
        {
            "name": "secretRef",
            "baseName": "secretRef",
            "type": "IoK8sApiCoreV1SecretEnvSource",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoK8sApiCoreV1EnvFromSource.attributeTypeMap;
    }

    public constructor() {
    }
}

