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

/**
* Backoff is a backoff strategy to use within retryStrategy
*/
export class IoArgoprojWorkflowV1alpha1Backoff {
    /**
    * Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")
    */
    'duration'?: string;
    'factor'?: string;
    /**
    * MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy
    */
    'maxDuration'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "duration",
            "baseName": "duration",
            "type": "string"
        },
        {
            "name": "factor",
            "baseName": "factor",
            "type": "string"
        },
        {
            "name": "maxDuration",
            "baseName": "maxDuration",
            "type": "string"
        }    ];

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

