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

/**
* ArchiveStrategy describes how to archive files/directory when saving artifacts
*/
export class IoArgoprojWorkflowV1alpha1ArchiveStrategy {
    /**
    * NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately.
    */
    'none'?: any;
    'tar'?: IoArgoprojWorkflowV1alpha1TarStrategy;
    /**
    * ZipStrategy will unzip zipped input artifacts
    */
    'zip'?: any;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "none",
            "baseName": "none",
            "type": "any",
            "format": ""
        },
        {
            "name": "tar",
            "baseName": "tar",
            "type": "IoArgoprojWorkflowV1alpha1TarStrategy",
            "format": ""
        },
        {
            "name": "zip",
            "baseName": "zip",
            "type": "any",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1ArchiveStrategy.attributeTypeMap;
    }

    public constructor() {
    }
}

