/**
 * 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 { DuskyObjectModelsDatabaseServiceCondition } from './duskyObjectModelsDatabaseServiceCondition';

export class DuskyObjectModelsDatabaseServiceStatus {
    'state'?: string;
    'appliedGeneration'?: number | null;
    'conditions'?: Array<DuskyObjectModelsDatabaseServiceCondition>;
    'internalIP'?: string;
    'internalPort'?: number | null;
    'externalIP'?: string;
    'externalPort'?: number | null;
    'podsFailed'?: number;
    'podsPending'?: number;
    'podsRunning'?: number;
    'podsUnknown'?: number;
    'restartRequired'?: boolean;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "state",
            "baseName": "state",
            "type": "string"
        },
        {
            "name": "appliedGeneration",
            "baseName": "appliedGeneration",
            "type": "number"
        },
        {
            "name": "conditions",
            "baseName": "conditions",
            "type": "Array<DuskyObjectModelsDatabaseServiceCondition>"
        },
        {
            "name": "internalIP",
            "baseName": "internalIP",
            "type": "string"
        },
        {
            "name": "internalPort",
            "baseName": "internalPort",
            "type": "number"
        },
        {
            "name": "externalIP",
            "baseName": "externalIP",
            "type": "string"
        },
        {
            "name": "externalPort",
            "baseName": "externalPort",
            "type": "number"
        },
        {
            "name": "podsFailed",
            "baseName": "podsFailed",
            "type": "number"
        },
        {
            "name": "podsPending",
            "baseName": "podsPending",
            "type": "number"
        },
        {
            "name": "podsRunning",
            "baseName": "podsRunning",
            "type": "number"
        },
        {
            "name": "podsUnknown",
            "baseName": "podsUnknown",
            "type": "number"
        },
        {
            "name": "restartRequired",
            "baseName": "restartRequired",
            "type": "boolean"
        }    ];

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

