"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.DescribeDeploymentSetsResponseBody = exports.DescribeDeploymentSetsResponseBodyDeploymentSets = exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet = exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetInstanceIds = exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacities = exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacitiesCapacity = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacitiesCapacity extends $dara.Model {
    static names() {
        return {
            availableAmount: 'AvailableAmount',
            usedAmount: 'UsedAmount',
            zoneId: 'ZoneId',
        };
    }
    static types() {
        return {
            availableAmount: 'number',
            usedAmount: 'number',
            zoneId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacitiesCapacity = DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacitiesCapacity;
class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacities extends $dara.Model {
    static names() {
        return {
            capacity: 'Capacity',
        };
    }
    static types() {
        return {
            capacity: { 'type': 'array', 'itemType': DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacitiesCapacity },
        };
    }
    validate() {
        if (Array.isArray(this.capacity)) {
            $dara.Model.validateArray(this.capacity);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacities = DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacities;
class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetInstanceIds extends $dara.Model {
    static names() {
        return {
            instanceId: 'InstanceId',
        };
    }
    static types() {
        return {
            instanceId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.instanceId)) {
            $dara.Model.validateArray(this.instanceId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetInstanceIds = DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetInstanceIds;
class DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet extends $dara.Model {
    static names() {
        return {
            accountId: 'AccountId',
            capacities: 'Capacities',
            creationTime: 'CreationTime',
            deploymentSetDescription: 'DeploymentSetDescription',
            deploymentSetId: 'DeploymentSetId',
            deploymentSetName: 'DeploymentSetName',
            deploymentStrategy: 'DeploymentStrategy',
            domain: 'Domain',
            granularity: 'Granularity',
            groupCount: 'GroupCount',
            instanceAmount: 'InstanceAmount',
            instanceIds: 'InstanceIds',
            strategy: 'Strategy',
        };
    }
    static types() {
        return {
            accountId: 'number',
            capacities: DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetCapacities,
            creationTime: 'string',
            deploymentSetDescription: 'string',
            deploymentSetId: 'string',
            deploymentSetName: 'string',
            deploymentStrategy: 'string',
            domain: 'string',
            granularity: 'string',
            groupCount: 'number',
            instanceAmount: 'number',
            instanceIds: DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSetInstanceIds,
            strategy: 'string',
        };
    }
    validate() {
        if (this.capacities && typeof this.capacities.validate === 'function') {
            this.capacities.validate();
        }
        if (this.instanceIds && typeof this.instanceIds.validate === 'function') {
            this.instanceIds.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet = DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet;
class DescribeDeploymentSetsResponseBodyDeploymentSets extends $dara.Model {
    static names() {
        return {
            deploymentSet: 'DeploymentSet',
        };
    }
    static types() {
        return {
            deploymentSet: { 'type': 'array', 'itemType': DescribeDeploymentSetsResponseBodyDeploymentSetsDeploymentSet },
        };
    }
    validate() {
        if (Array.isArray(this.deploymentSet)) {
            $dara.Model.validateArray(this.deploymentSet);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDeploymentSetsResponseBodyDeploymentSets = DescribeDeploymentSetsResponseBodyDeploymentSets;
class DescribeDeploymentSetsResponseBody extends $dara.Model {
    static names() {
        return {
            deploymentSets: 'DeploymentSets',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            regionId: 'RegionId',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            deploymentSets: DescribeDeploymentSetsResponseBodyDeploymentSets,
            pageNumber: 'number',
            pageSize: 'number',
            regionId: 'string',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.deploymentSets && typeof this.deploymentSets.validate === 'function') {
            this.deploymentSets.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDeploymentSetsResponseBody = DescribeDeploymentSetsResponseBody;
//# sourceMappingURL=DescribeDeploymentSetsResponseBody.js.map