/**
 * Dusky API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { V1LabelSelector } from './v1LabelSelector';

export class V1TopologySpreadConstraint {
    'labelSelector'?: V1LabelSelector;
    'maxSkew'?: number;
    'topologyKey'?: string;
    'whenUnsatisfiable'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "labelSelector",
            "baseName": "labelSelector",
            "type": "V1LabelSelector"
        },
        {
            "name": "maxSkew",
            "baseName": "maxSkew",
            "type": "number"
        },
        {
            "name": "topologyKey",
            "baseName": "topologyKey",
            "type": "string"
        },
        {
            "name": "whenUnsatisfiable",
            "baseName": "whenUnsatisfiable",
            "type": "string"
        }    ];

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

