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

/**
* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
*/
export class IoK8sApiPolicyV1PodDisruptionBudgetSpec {
    'maxUnavailable'?: string;
    'minAvailable'?: string;
    'selector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "maxUnavailable",
            "baseName": "maxUnavailable",
            "type": "string",
            "format": ""
        },
        {
            "name": "minAvailable",
            "baseName": "minAvailable",
            "type": "string",
            "format": ""
        },
        {
            "name": "selector",
            "baseName": "selector",
            "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoK8sApiPolicyV1PodDisruptionBudgetSpec.attributeTypeMap;
    }

    public constructor() {
    }
}

