// @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 { IoArgoprojWorkflowV1alpha1ValueFrom } from './ioArgoprojWorkflowV1alpha1ValueFrom';

/**
* Parameter indicate a passed string parameter to a service template with an optional default value
*/
export class IoArgoprojWorkflowV1alpha1Parameter {
    /**
    * Default is the default value to use for an input parameter if a value was not supplied
    */
    '_default'?: string;
    /**
    * Description is the parameter description
    */
    'description'?: string;
    /**
    * Enum holds a list of string values to choose from, for the actual value of the parameter
    */
    '_enum'?: Array<string>;
    /**
    * GlobalName exports an output parameter to the global scope, making it available as \'{{io.argoproj.workflow.v1alpha1.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters
    */
    'globalName'?: string;
    /**
    * Name is the parameter name
    */
    'name': string;
    /**
    * Value is the literal value to use for the parameter. If specified in the context of an input parameter, the value takes precedence over any passed values
    */
    'value'?: string;
    'valueFrom'?: IoArgoprojWorkflowV1alpha1ValueFrom;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "_default",
            "baseName": "default",
            "type": "string"
        },
        {
            "name": "description",
            "baseName": "description",
            "type": "string"
        },
        {
            "name": "_enum",
            "baseName": "enum",
            "type": "Array<string>"
        },
        {
            "name": "globalName",
            "baseName": "globalName",
            "type": "string"
        },
        {
            "name": "name",
            "baseName": "name",
            "type": "string"
        },
        {
            "name": "value",
            "baseName": "value",
            "type": "string"
        },
        {
            "name": "valueFrom",
            "baseName": "valueFrom",
            "type": "IoArgoprojWorkflowV1alpha1ValueFrom"
        }    ];

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

