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

/**
* 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 readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1Parameter.attributeTypeMap;
    }

    public constructor() {
    }
}

