// @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 { IoArgoprojEventsV1alpha1FileArtifact } from './ioArgoprojEventsV1alpha1FileArtifact';
import { IoArgoprojEventsV1alpha1GitArtifact } from './ioArgoprojEventsV1alpha1GitArtifact';
import { IoArgoprojEventsV1alpha1Resource } from './ioArgoprojEventsV1alpha1Resource';
import { IoArgoprojEventsV1alpha1S3Artifact } from './ioArgoprojEventsV1alpha1S3Artifact';
import { IoArgoprojEventsV1alpha1URLArtifact } from './ioArgoprojEventsV1alpha1URLArtifact';
import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector';

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

    static discriminator: string | undefined = undefined;

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

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

