"use strict";
/**
 * Kubernetes
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: release-1.28
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.V1PodFailurePolicyRule = void 0;
/**
* PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
*/
class V1PodFailurePolicyRule {
    static getAttributeTypeMap() {
        return V1PodFailurePolicyRule.attributeTypeMap;
    }
}
exports.V1PodFailurePolicyRule = V1PodFailurePolicyRule;
V1PodFailurePolicyRule.discriminator = undefined;
V1PodFailurePolicyRule.attributeTypeMap = [
    {
        "name": "action",
        "baseName": "action",
        "type": "string"
    },
    {
        "name": "onExitCodes",
        "baseName": "onExitCodes",
        "type": "V1PodFailurePolicyOnExitCodesRequirement"
    },
    {
        "name": "onPodConditions",
        "baseName": "onPodConditions",
        "type": "Array<V1PodFailurePolicyOnPodConditionsPattern>"
    }
];
//# sourceMappingURL=v1PodFailurePolicyRule.js.map