/**
 * 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 { V1PodAffinityTerm } from './v1PodAffinityTerm';
import { V1WeightedPodAffinityTerm } from './v1WeightedPodAffinityTerm';

export class V1PodAffinity {
    'preferredDuringSchedulingIgnoredDuringExecution'?: Array<V1WeightedPodAffinityTerm>;
    'requiredDuringSchedulingIgnoredDuringExecution'?: Array<V1PodAffinityTerm>;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "preferredDuringSchedulingIgnoredDuringExecution",
            "baseName": "preferredDuringSchedulingIgnoredDuringExecution",
            "type": "Array<V1WeightedPodAffinityTerm>"
        },
        {
            "name": "requiredDuringSchedulingIgnoredDuringExecution",
            "baseName": "requiredDuringSchedulingIgnoredDuringExecution",
            "type": "Array<V1PodAffinityTerm>"
        }    ];

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

