"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.DescribeVpcsResponseBody = exports.DescribeVpcsResponseBodyVpcs = exports.DescribeVpcsResponseBodyVpcsVpc = exports.DescribeVpcsResponseBodyVpcsVpcVSwitchIds = exports.DescribeVpcsResponseBodyVpcsVpcUserCidrs = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeVpcsResponseBodyVpcsVpcUserCidrs extends $dara.Model {
    static names() {
        return {
            userCidr: 'UserCidr',
        };
    }
    static types() {
        return {
            userCidr: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.userCidr)) {
            $dara.Model.validateArray(this.userCidr);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcUserCidrs = DescribeVpcsResponseBodyVpcsVpcUserCidrs;
class DescribeVpcsResponseBodyVpcsVpcVSwitchIds extends $dara.Model {
    static names() {
        return {
            vSwitchId: 'VSwitchId',
        };
    }
    static types() {
        return {
            vSwitchId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.vSwitchId)) {
            $dara.Model.validateArray(this.vSwitchId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcVSwitchIds = DescribeVpcsResponseBodyVpcsVpcVSwitchIds;
class DescribeVpcsResponseBodyVpcsVpc extends $dara.Model {
    static names() {
        return {
            cidrBlock: 'CidrBlock',
            creationTime: 'CreationTime',
            description: 'Description',
            isDefault: 'IsDefault',
            regionId: 'RegionId',
            status: 'Status',
            userCidrs: 'UserCidrs',
            VRouterId: 'VRouterId',
            vSwitchIds: 'VSwitchIds',
            vpcId: 'VpcId',
            vpcName: 'VpcName',
        };
    }
    static types() {
        return {
            cidrBlock: 'string',
            creationTime: 'string',
            description: 'string',
            isDefault: 'boolean',
            regionId: 'string',
            status: 'string',
            userCidrs: DescribeVpcsResponseBodyVpcsVpcUserCidrs,
            VRouterId: 'string',
            vSwitchIds: DescribeVpcsResponseBodyVpcsVpcVSwitchIds,
            vpcId: 'string',
            vpcName: 'string',
        };
    }
    validate() {
        if (this.userCidrs && typeof this.userCidrs.validate === 'function') {
            this.userCidrs.validate();
        }
        if (this.vSwitchIds && typeof this.vSwitchIds.validate === 'function') {
            this.vSwitchIds.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpc = DescribeVpcsResponseBodyVpcsVpc;
class DescribeVpcsResponseBodyVpcs extends $dara.Model {
    static names() {
        return {
            vpc: 'Vpc',
        };
    }
    static types() {
        return {
            vpc: { 'type': 'array', 'itemType': DescribeVpcsResponseBodyVpcsVpc },
        };
    }
    validate() {
        if (Array.isArray(this.vpc)) {
            $dara.Model.validateArray(this.vpc);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcs = DescribeVpcsResponseBodyVpcs;
class DescribeVpcsResponseBody extends $dara.Model {
    static names() {
        return {
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
            vpcs: 'Vpcs',
        };
    }
    static types() {
        return {
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
            vpcs: DescribeVpcsResponseBodyVpcs,
        };
    }
    validate() {
        if (this.vpcs && typeof this.vpcs.validate === 'function') {
            this.vpcs.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBody = DescribeVpcsResponseBody;
//# sourceMappingURL=DescribeVpcsResponseBody.js.map