"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.DescribeVpcAttributeResponseBody = exports.DescribeVpcAttributeResponseBodyVSwitchIds = exports.DescribeVpcAttributeResponseBodyUserCidrs = exports.DescribeVpcAttributeResponseBodyTags = exports.DescribeVpcAttributeResponseBodyTagsTag = exports.DescribeVpcAttributeResponseBodySecondaryCidrBlocks = exports.DescribeVpcAttributeResponseBodyIpv6CidrBlocks = exports.DescribeVpcAttributeResponseBodyIpv6CidrBlocksIpv6CidrBlock = exports.DescribeVpcAttributeResponseBodyCloudResources = exports.DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType = exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSources = exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources = exports.DescribeVpcAttributeResponseBodyAssociatedCens = exports.DescribeVpcAttributeResponseBodyAssociatedCensAssociatedCen = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeVpcAttributeResponseBodyAssociatedCensAssociatedCen extends $dara.Model {
    static names() {
        return {
            cenId: 'CenId',
            cenOwnerId: 'CenOwnerId',
            cenStatus: 'CenStatus',
        };
    }
    static types() {
        return {
            cenId: 'string',
            cenOwnerId: 'number',
            cenStatus: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyAssociatedCensAssociatedCen = DescribeVpcAttributeResponseBodyAssociatedCensAssociatedCen;
class DescribeVpcAttributeResponseBodyAssociatedCens extends $dara.Model {
    static names() {
        return {
            associatedCen: 'AssociatedCen',
        };
    }
    static types() {
        return {
            associatedCen: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyAssociatedCensAssociatedCen },
        };
    }
    validate() {
        if (Array.isArray(this.associatedCen)) {
            $dara.Model.validateArray(this.associatedCen);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyAssociatedCens = DescribeVpcAttributeResponseBodyAssociatedCens;
class DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources extends $dara.Model {
    static names() {
        return {
            routePropagated: 'RoutePropagated',
            sourceInstanceId: 'SourceInstanceId',
            sourceOwnerId: 'SourceOwnerId',
            sourceType: 'SourceType',
            status: 'Status',
        };
    }
    static types() {
        return {
            routePropagated: 'boolean',
            sourceInstanceId: 'string',
            sourceOwnerId: 'number',
            sourceType: 'string',
            status: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources = DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources;
class DescribeVpcAttributeResponseBodyAssociatedPropagationSources extends $dara.Model {
    static names() {
        return {
            associatedPropagationSources: 'AssociatedPropagationSources',
        };
    }
    static types() {
        return {
            associatedPropagationSources: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources },
        };
    }
    validate() {
        if (Array.isArray(this.associatedPropagationSources)) {
            $dara.Model.validateArray(this.associatedPropagationSources);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSources = DescribeVpcAttributeResponseBodyAssociatedPropagationSources;
class DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType extends $dara.Model {
    static names() {
        return {
            resourceCount: 'ResourceCount',
            resourceType: 'ResourceType',
        };
    }
    static types() {
        return {
            resourceCount: 'number',
            resourceType: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType = DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType;
class DescribeVpcAttributeResponseBodyCloudResources extends $dara.Model {
    static names() {
        return {
            cloudResourceSetType: 'CloudResourceSetType',
        };
    }
    static types() {
        return {
            cloudResourceSetType: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType },
        };
    }
    validate() {
        if (Array.isArray(this.cloudResourceSetType)) {
            $dara.Model.validateArray(this.cloudResourceSetType);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyCloudResources = DescribeVpcAttributeResponseBodyCloudResources;
class DescribeVpcAttributeResponseBodyIpv6CidrBlocksIpv6CidrBlock 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.DescribeVpcAttributeResponseBodyIpv6CidrBlocksIpv6CidrBlock = DescribeVpcAttributeResponseBodyIpv6CidrBlocksIpv6CidrBlock;
class DescribeVpcAttributeResponseBodyIpv6CidrBlocks extends $dara.Model {
    static names() {
        return {
            ipv6CidrBlock: 'Ipv6CidrBlock',
        };
    }
    static types() {
        return {
            ipv6CidrBlock: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyIpv6CidrBlocksIpv6CidrBlock },
        };
    }
    validate() {
        if (Array.isArray(this.ipv6CidrBlock)) {
            $dara.Model.validateArray(this.ipv6CidrBlock);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyIpv6CidrBlocks = DescribeVpcAttributeResponseBodyIpv6CidrBlocks;
class DescribeVpcAttributeResponseBodySecondaryCidrBlocks 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.DescribeVpcAttributeResponseBodySecondaryCidrBlocks = DescribeVpcAttributeResponseBodySecondaryCidrBlocks;
class DescribeVpcAttributeResponseBodyTagsTag 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.DescribeVpcAttributeResponseBodyTagsTag = DescribeVpcAttributeResponseBodyTagsTag;
class DescribeVpcAttributeResponseBodyTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpcAttributeResponseBodyTags = DescribeVpcAttributeResponseBodyTags;
class DescribeVpcAttributeResponseBodyUserCidrs 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.DescribeVpcAttributeResponseBodyUserCidrs = DescribeVpcAttributeResponseBodyUserCidrs;
class DescribeVpcAttributeResponseBodyVSwitchIds 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.DescribeVpcAttributeResponseBodyVSwitchIds = DescribeVpcAttributeResponseBodyVSwitchIds;
class DescribeVpcAttributeResponseBody extends $dara.Model {
    static names() {
        return {
            associatedCens: 'AssociatedCens',
            associatedPropagationSources: 'AssociatedPropagationSources',
            cidrBlock: 'CidrBlock',
            classicLinkEnabled: 'ClassicLinkEnabled',
            cloudResources: 'CloudResources',
            creationTime: 'CreationTime',
            description: 'Description',
            dhcpOptionsSetId: 'DhcpOptionsSetId',
            dhcpOptionsSetStatus: 'DhcpOptionsSetStatus',
            dnsHostnameStatus: 'DnsHostnameStatus',
            enabledIpv6: 'EnabledIpv6',
            ipv4GatewayId: 'Ipv4GatewayId',
            ipv6CidrBlock: 'Ipv6CidrBlock',
            ipv6CidrBlocks: 'Ipv6CidrBlocks',
            isDefault: 'IsDefault',
            ownerId: 'OwnerId',
            regionId: 'RegionId',
            requestId: 'RequestId',
            resourceGroupId: 'ResourceGroupId',
            secondaryCidrBlocks: 'SecondaryCidrBlocks',
            status: 'Status',
            supportIpv4Gateway: 'SupportIpv4Gateway',
            tags: 'Tags',
            userCidrs: 'UserCidrs',
            VRouterId: 'VRouterId',
            vSwitchIds: 'VSwitchIds',
            vpcId: 'VpcId',
            vpcName: 'VpcName',
        };
    }
    static types() {
        return {
            associatedCens: DescribeVpcAttributeResponseBodyAssociatedCens,
            associatedPropagationSources: DescribeVpcAttributeResponseBodyAssociatedPropagationSources,
            cidrBlock: 'string',
            classicLinkEnabled: 'boolean',
            cloudResources: DescribeVpcAttributeResponseBodyCloudResources,
            creationTime: 'string',
            description: 'string',
            dhcpOptionsSetId: 'string',
            dhcpOptionsSetStatus: 'string',
            dnsHostnameStatus: 'string',
            enabledIpv6: 'boolean',
            ipv4GatewayId: 'string',
            ipv6CidrBlock: 'string',
            ipv6CidrBlocks: DescribeVpcAttributeResponseBodyIpv6CidrBlocks,
            isDefault: 'boolean',
            ownerId: 'number',
            regionId: 'string',
            requestId: 'string',
            resourceGroupId: 'string',
            secondaryCidrBlocks: DescribeVpcAttributeResponseBodySecondaryCidrBlocks,
            status: 'string',
            supportIpv4Gateway: 'boolean',
            tags: DescribeVpcAttributeResponseBodyTags,
            userCidrs: DescribeVpcAttributeResponseBodyUserCidrs,
            VRouterId: 'string',
            vSwitchIds: DescribeVpcAttributeResponseBodyVSwitchIds,
            vpcId: 'string',
            vpcName: 'string',
        };
    }
    validate() {
        if (this.associatedCens && typeof this.associatedCens.validate === 'function') {
            this.associatedCens.validate();
        }
        if (this.associatedPropagationSources && typeof this.associatedPropagationSources.validate === 'function') {
            this.associatedPropagationSources.validate();
        }
        if (this.cloudResources && typeof this.cloudResources.validate === 'function') {
            this.cloudResources.validate();
        }
        if (this.ipv6CidrBlocks && typeof this.ipv6CidrBlocks.validate === 'function') {
            this.ipv6CidrBlocks.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.DescribeVpcAttributeResponseBody = DescribeVpcAttributeResponseBody;
//# sourceMappingURL=DescribeVpcAttributeResponseBody.js.map