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

/**
* HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container
*/
export class IoArgoprojWorkflowV1alpha1HTTPArtifact {
    'auth'?: IoArgoprojWorkflowV1alpha1HTTPAuth;
    /**
    * Headers are an optional list of headers to send with HTTP requests for artifacts
    */
    'headers'?: Array<IoArgoprojWorkflowV1alpha1Header>;
    /**
    * URL of the artifact
    */
    'url': string;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "auth",
            "baseName": "auth",
            "type": "IoArgoprojWorkflowV1alpha1HTTPAuth",
            "format": ""
        },
        {
            "name": "headers",
            "baseName": "headers",
            "type": "Array<IoArgoprojWorkflowV1alpha1Header>",
            "format": ""
        },
        {
            "name": "url",
            "baseName": "url",
            "type": "string",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1HTTPArtifact.attributeTypeMap;
    }

    public constructor() {
    }
}

