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

/**
* 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 readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1TTLStrategy.attributeTypeMap;
    }

    public constructor() {
    }
}

