"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 = exports.DescribeVpcsResponseBodyVpcsVpcTags = exports.DescribeVpcsResponseBodyVpcsVpcTagsTag = exports.DescribeVpcsResponseBodyVpcsVpcSecondaryCidrBlocks = exports.DescribeVpcsResponseBodyVpcsVpcRouterTableIds = exports.DescribeVpcsResponseBodyVpcsVpcNatGatewayIds = exports.DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks = exports.DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocksIpv6CidrBlock = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocksIpv6CidrBlock extends $dara.Model {
    static names() {
        return {
            ipv6CidrBlock: 'Ipv6CidrBlock',
            ipv6Isp: 'Ipv6Isp',
        };
    }
    static types() {
        return {
            ipv6CidrBlock: 'string',
            ipv6Isp: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocksIpv6CidrBlock = DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocksIpv6CidrBlock;
class DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks extends $dara.Model {
    static names() {
        return {
            ipv6CidrBlock: 'Ipv6CidrBlock',
        };
    }
    static types() {
        return {
            ipv6CidrBlock: { 'type': 'array', 'itemType': DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocksIpv6CidrBlock },
        };
    }
    validate() {
        if (Array.isArray(this.ipv6CidrBlock)) {
            $dara.Model.validateArray(this.ipv6CidrBlock);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks = DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks;
class DescribeVpcsResponseBodyVpcsVpcNatGatewayIds extends $dara.Model {
    static names() {
        return {
            natGatewayIds: 'NatGatewayIds',
        };
    }
    static types() {
        return {
            natGatewayIds: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.natGatewayIds)) {
            $dara.Model.validateArray(this.natGatewayIds);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcNatGatewayIds = DescribeVpcsResponseBodyVpcsVpcNatGatewayIds;
class DescribeVpcsResponseBodyVpcsVpcRouterTableIds extends $dara.Model {
    static names() {
        return {
            routerTableIds: 'RouterTableIds',
        };
    }
    static types() {
        return {
            routerTableIds: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.routerTableIds)) {
            $dara.Model.validateArray(this.routerTableIds);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcRouterTableIds = DescribeVpcsResponseBodyVpcsVpcRouterTableIds;
class DescribeVpcsResponseBodyVpcsVpcSecondaryCidrBlocks extends $dara.Model {
    static names() {
        return {
            secondaryCidrBlock: 'SecondaryCidrBlock',
        };
    }
    static types() {
        return {
            secondaryCidrBlock: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.secondaryCidrBlock)) {
            $dara.Model.validateArray(this.secondaryCidrBlock);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcSecondaryCidrBlocks = DescribeVpcsResponseBodyVpcsVpcSecondaryCidrBlocks;
class DescribeVpcsResponseBodyVpcsVpcTagsTag extends $dara.Model {
    static names() {
        return {
            key: 'Key',
            value: 'Value',
        };
    }
    static types() {
        return {
            key: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcTagsTag = DescribeVpcsResponseBodyVpcsVpcTagsTag;
class DescribeVpcsResponseBodyVpcsVpcTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeVpcsResponseBodyVpcsVpcTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcsResponseBodyVpcsVpcTags = DescribeVpcsResponseBodyVpcsVpcTags;
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 {
            cenStatus: 'CenStatus',
            cidrBlock: 'CidrBlock',
            creationTime: 'CreationTime',
            description: 'Description',
            dhcpOptionsSetId: 'DhcpOptionsSetId',
            dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
            dnsHostnameStatus: 'DnsHostnameStatus',
            enabledIpv6: 'EnabledIpv6',
            ipv6CidrBlock: 'Ipv6CidrBlock',
            ipv6CidrBlocks: 'Ipv6CidrBlocks',
            isDefault: 'IsDefault',
            natGatewayIds: 'NatGatewayIds',
            ownerId: 'OwnerId',
            regionId: 'RegionId',
            resourceGroupId: 'ResourceGroupId',
            routerTableIds: 'RouterTableIds',
            secondaryCidrBlocks: 'SecondaryCidrBlocks',
            status: 'Status',
            tags: 'Tags',
            userCidrs: 'UserCidrs',
            VRouterId: 'VRouterId',
            vSwitchIds: 'VSwitchIds',
            vpcId: 'VpcId',
            vpcName: 'VpcName',
        };
    }
    static types() {
        return {
            cenStatus: 'string',
            cidrBlock: 'string',
            creationTime: 'string',
            description: 'string',
            dhcpOptionsSetId: 'string',
            dhcpOptionsSetStatus: 'string',
            dnsHostnameStatus: 'string',
            enabledIpv6: 'boolean',
            ipv6CidrBlock: 'string',
            ipv6CidrBlocks: DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks,
            isDefault: 'boolean',
            natGatewayIds: DescribeVpcsResponseBodyVpcsVpcNatGatewayIds,
            ownerId: 'number',
            regionId: 'string',
            resourceGroupId: 'string',
            routerTableIds: DescribeVpcsResponseBodyVpcsVpcRouterTableIds,
            secondaryCidrBlocks: DescribeVpcsResponseBodyVpcsVpcSecondaryCidrBlocks,
            status: 'string',
            tags: DescribeVpcsResponseBodyVpcsVpcTags,
            userCidrs: DescribeVpcsResponseBodyVpcsVpcUserCidrs,
            VRouterId: 'string',
            vSwitchIds: DescribeVpcsResponseBodyVpcsVpcVSwitchIds,
            vpcId: 'string',
            vpcName: 'string',
        };
    }
    validate() {
        if (this.ipv6CidrBlocks && typeof this.ipv6CidrBlocks.validate === 'function') {
            this.ipv6CidrBlocks.validate();
        }
        if (this.natGatewayIds && typeof this.natGatewayIds.validate === 'function') {
            this.natGatewayIds.validate();
        }
        if (this.routerTableIds && typeof this.routerTableIds.validate === 'function') {
            this.routerTableIds.validate();
        }
        if (this.secondaryCidrBlocks && typeof this.secondaryCidrBlocks.validate === 'function') {
            this.secondaryCidrBlocks.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.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