"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.DescribeResourcesModificationResponseBody = exports.DescribeResourcesModificationResponseBodyAvailableZones = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZone = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResources = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions = exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition extends $dara.Model {
    static names() {
        return {
            key: 'Key',
        };
    }
    static types() {
        return {
            key: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions extends $dara.Model {
    static names() {
        return {
            condition: 'Condition',
        };
    }
    static types() {
        return {
            condition: { 'type': 'array', 'itemType': DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition },
        };
    }
    validate() {
        if (Array.isArray(this.condition)) {
            $dara.Model.validateArray(this.condition);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource extends $dara.Model {
    static names() {
        return {
            conditions: 'Conditions',
            max: 'Max',
            min: 'Min',
            status: 'Status',
            statusCategory: 'StatusCategory',
            unit: 'Unit',
            value: 'Value',
        };
    }
    static types() {
        return {
            conditions: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions,
            max: 'number',
            min: 'number',
            status: 'string',
            statusCategory: 'string',
            unit: 'string',
            value: 'string',
        };
    }
    validate() {
        if (this.conditions && typeof this.conditions.validate === 'function') {
            this.conditions.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources extends $dara.Model {
    static names() {
        return {
            conditionSupportedResource: 'ConditionSupportedResource',
        };
    }
    static types() {
        return {
            conditionSupportedResource: { 'type': 'array', 'itemType': DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource },
        };
    }
    validate() {
        if (Array.isArray(this.conditionSupportedResource)) {
            $dara.Model.validateArray(this.conditionSupportedResource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource 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.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources extends $dara.Model {
    static names() {
        return {
            supportedResource: 'SupportedResource',
        };
    }
    static types() {
        return {
            supportedResource: { 'type': 'array', 'itemType': DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource },
        };
    }
    validate() {
        if (Array.isArray(this.supportedResource)) {
            $dara.Model.validateArray(this.supportedResource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource extends $dara.Model {
    static names() {
        return {
            conditionSupportedResources: 'ConditionSupportedResources',
            supportedResources: 'SupportedResources',
            type: 'Type',
        };
    }
    static types() {
        return {
            conditionSupportedResources: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources,
            supportedResources: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources,
            type: 'string',
        };
    }
    validate() {
        if (this.conditionSupportedResources && typeof this.conditionSupportedResources.validate === 'function') {
            this.conditionSupportedResources.validate();
        }
        if (this.supportedResources && typeof this.supportedResources.validate === 'function') {
            this.supportedResources.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResources extends $dara.Model {
    static names() {
        return {
            availableResource: 'AvailableResource',
        };
    }
    static types() {
        return {
            availableResource: { 'type': 'array', 'itemType': DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource },
        };
    }
    validate() {
        if (Array.isArray(this.availableResource)) {
            $dara.Model.validateArray(this.availableResource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResources = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResources;
class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZone extends $dara.Model {
    static names() {
        return {
            availableResources: 'AvailableResources',
            regionId: 'RegionId',
            status: 'Status',
            statusCategory: 'StatusCategory',
            zoneId: 'ZoneId',
        };
    }
    static types() {
        return {
            availableResources: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResources,
            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.DescribeResourcesModificationResponseBodyAvailableZonesAvailableZone = DescribeResourcesModificationResponseBodyAvailableZonesAvailableZone;
class DescribeResourcesModificationResponseBodyAvailableZones extends $dara.Model {
    static names() {
        return {
            availableZone: 'AvailableZone',
        };
    }
    static types() {
        return {
            availableZone: { 'type': 'array', 'itemType': DescribeResourcesModificationResponseBodyAvailableZonesAvailableZone },
        };
    }
    validate() {
        if (Array.isArray(this.availableZone)) {
            $dara.Model.validateArray(this.availableZone);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBodyAvailableZones = DescribeResourcesModificationResponseBodyAvailableZones;
class DescribeResourcesModificationResponseBody extends $dara.Model {
    static names() {
        return {
            availableZones: 'AvailableZones',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            availableZones: DescribeResourcesModificationResponseBodyAvailableZones,
            requestId: 'string',
        };
    }
    validate() {
        if (this.availableZones && typeof this.availableZones.validate === 'function') {
            this.availableZones.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeResourcesModificationResponseBody = DescribeResourcesModificationResponseBody;
//# sourceMappingURL=DescribeResourcesModificationResponseBody.js.map