"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.DescribeAvailableResourceResponseBody = exports.DescribeAvailableResourceResponseBodyAvailableZones = exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone = exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResources = exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource = exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources = exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource extends $dara.Model {
    static names() {
        return {
            max: 'Max',
            min: 'Min',
            status: 'Status',
            statusCategory: 'StatusCategory',
            unit: 'Unit',
            value: 'Value',
        };
    }
    static types() {
        return {
            max: 'number',
            min: 'number',
            status: 'string',
            statusCategory: 'string',
            unit: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource = DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource;
class DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources extends $dara.Model {
    static names() {
        return {
            supportedResource: 'SupportedResource',
        };
    }
    static types() {
        return {
            supportedResource: { 'type': 'array', 'itemType': DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource },
        };
    }
    validate() {
        if (Array.isArray(this.supportedResource)) {
            $dara.Model.validateArray(this.supportedResource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources = DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources;
class DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource extends $dara.Model {
    static names() {
        return {
            supportedResources: 'SupportedResources',
            type: 'Type',
        };
    }
    static types() {
        return {
            supportedResources: DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources,
            type: 'string',
        };
    }
    validate() {
        if (this.supportedResources && typeof this.supportedResources.validate === 'function') {
            this.supportedResources.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource = DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource;
class DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResources extends $dara.Model {
    static names() {
        return {
            availableResource: 'AvailableResource',
        };
    }
    static types() {
        return {
            availableResource: { 'type': 'array', 'itemType': DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource },
        };
    }
    validate() {
        if (Array.isArray(this.availableResource)) {
            $dara.Model.validateArray(this.availableResource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResources = DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResources;
class DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone extends $dara.Model {
    static names() {
        return {
            availableResources: 'AvailableResources',
            regionId: 'RegionId',
            status: 'Status',
            statusCategory: 'StatusCategory',
            zoneId: 'ZoneId',
        };
    }
    static types() {
        return {
            availableResources: DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneAvailableResources,
            regionId: 'string',
            status: 'string',
            statusCategory: 'string',
            zoneId: 'string',
        };
    }
    validate() {
        if (this.availableResources && typeof this.availableResources.validate === 'function') {
            this.availableResources.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone = DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone;
class DescribeAvailableResourceResponseBodyAvailableZones extends $dara.Model {
    static names() {
        return {
            availableZone: 'AvailableZone',
        };
    }
    static types() {
        return {
            availableZone: { 'type': 'array', 'itemType': DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone },
        };
    }
    validate() {
        if (Array.isArray(this.availableZone)) {
            $dara.Model.validateArray(this.availableZone);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBodyAvailableZones = DescribeAvailableResourceResponseBodyAvailableZones;
class DescribeAvailableResourceResponseBody extends $dara.Model {
    static names() {
        return {
            availableZones: 'AvailableZones',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            availableZones: DescribeAvailableResourceResponseBodyAvailableZones,
            requestId: 'string',
        };
    }
    validate() {
        if (this.availableZones && typeof this.availableZones.validate === 'function') {
            this.availableZones.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeAvailableResourceResponseBody = DescribeAvailableResourceResponseBody;
//# sourceMappingURL=DescribeAvailableResourceResponseBody.js.map