/**
 * 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 { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository';
import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository';
import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository';
import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository';
import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository';
import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository';
import { HttpFile } from '../http/http';

/**
* ArtifactRepository represents an artifact repository in which a controller will store its artifacts
*/
export class IoArgoprojWorkflowV1alpha1ArtifactRepository {
    /**
    * ArchiveLogs enables log archiving
    */
    'archiveLogs'?: boolean;
    'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository;
    'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifactRepository;
    'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifactRepository;
    'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifactRepository;
    'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifactRepository;
    's3'?: IoArgoprojWorkflowV1alpha1S3ArtifactRepository;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "archiveLogs",
            "baseName": "archiveLogs",
            "type": "boolean",
            "format": ""
        },
        {
            "name": "artifactory",
            "baseName": "artifactory",
            "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository",
            "format": ""
        },
        {
            "name": "azure",
            "baseName": "azure",
            "type": "IoArgoprojWorkflowV1alpha1AzureArtifactRepository",
            "format": ""
        },
        {
            "name": "gcs",
            "baseName": "gcs",
            "type": "IoArgoprojWorkflowV1alpha1GCSArtifactRepository",
            "format": ""
        },
        {
            "name": "hdfs",
            "baseName": "hdfs",
            "type": "IoArgoprojWorkflowV1alpha1HDFSArtifactRepository",
            "format": ""
        },
        {
            "name": "oss",
            "baseName": "oss",
            "type": "IoArgoprojWorkflowV1alpha1OSSArtifactRepository",
            "format": ""
        },
        {
            "name": "s3",
            "baseName": "s3",
            "type": "IoArgoprojWorkflowV1alpha1S3ArtifactRepository",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1ArtifactRepository.attributeTypeMap;
    }

    public constructor() {
    }
}

