// @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';

/**
* TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed
*/
export class IoArgoprojWorkflowV1alpha1TTLStrategy {
    /**
    * SecondsAfterCompletion is the number of seconds to live after completion
    */
    'secondsAfterCompletion'?: number;
    /**
    * SecondsAfterFailure is the number of seconds to live after failure
    */
    'secondsAfterFailure'?: number;
    /**
    * SecondsAfterSuccess is the number of seconds to live after success
    */
    'secondsAfterSuccess'?: number;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "secondsAfterCompletion",
            "baseName": "secondsAfterCompletion",
            "type": "number"
        },
        {
            "name": "secondsAfterFailure",
            "baseName": "secondsAfterFailure",
            "type": "number"
        },
        {
            "name": "secondsAfterSuccess",
            "baseName": "secondsAfterSuccess",
            "type": "number"
        }    ];

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

