/**
 * 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 { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact';
import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact';
import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource';
import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact';
import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact';
import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector';
import { HttpFile } from '../http/http';

export class IoArgoprojEventsV1alpha1ArtifactLocation {
    'configmap'?: IoK8sApiCoreV1ConfigMapKeySelector;
    'file'?: IoArgoprojEventsV1alpha1FileArtifact;
    'git'?: IoArgoprojEventsV1alpha1GitArtifact;
    'inline'?: string;
    'resource'?: IoArgoprojEventsV1alpha1Resource;
    's3'?: IoArgoprojEventsV1alpha1S3Artifact;
    'url'?: IoArgoprojEventsV1alpha1URLArtifact;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "configmap",
            "baseName": "configmap",
            "type": "IoK8sApiCoreV1ConfigMapKeySelector",
            "format": ""
        },
        {
            "name": "file",
            "baseName": "file",
            "type": "IoArgoprojEventsV1alpha1FileArtifact",
            "format": ""
        },
        {
            "name": "git",
            "baseName": "git",
            "type": "IoArgoprojEventsV1alpha1GitArtifact",
            "format": ""
        },
        {
            "name": "inline",
            "baseName": "inline",
            "type": "string",
            "format": ""
        },
        {
            "name": "resource",
            "baseName": "resource",
            "type": "IoArgoprojEventsV1alpha1Resource",
            "format": ""
        },
        {
            "name": "s3",
            "baseName": "s3",
            "type": "IoArgoprojEventsV1alpha1S3Artifact",
            "format": ""
        },
        {
            "name": "url",
            "baseName": "url",
            "type": "IoArgoprojEventsV1alpha1URLArtifact",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1ArtifactLocation.attributeTypeMap;
    }

    public constructor() {
    }
}

