// @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 { IoArgoprojWorkflowV1alpha1Cache } from './ioArgoprojWorkflowV1alpha1Cache';

/**
* Memoization enables caching for the Outputs of the template
*/
export class IoArgoprojWorkflowV1alpha1Memoize {
    'cache': IoArgoprojWorkflowV1alpha1Cache;
    /**
    * Key is the key to use as the caching key
    */
    'key': string;
    /**
    * MaxAge is the maximum age (e.g. \"180s\", \"24h\") of an entry that is still considered valid. If an entry is older than the MaxAge, it will be ignored.
    */
    'maxAge': string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "cache",
            "baseName": "cache",
            "type": "IoArgoprojWorkflowV1alpha1Cache"
        },
        {
            "name": "key",
            "baseName": "key",
            "type": "string"
        },
        {
            "name": "maxAge",
            "baseName": "maxAge",
            "type": "string"
        }    ];

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

