"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.DescribeNatGatewaysResponseBody = exports.DescribeNatGatewaysResponseBodyNatGateways = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGateway = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpListsIpList = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds = exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode extends $dara.Model {
    static names() {
        return {
            modeValue: 'ModeValue',
            tunnelType: 'TunnelType',
        };
    }
    static types() {
        return {
            modeValue: 'string',
            tunnelType: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $dara.Model {
    static names() {
        return {
            forwardTableId: 'ForwardTableId',
        };
    }
    static types() {
        return {
            forwardTableId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.forwardTableId)) {
            $dara.Model.validateArray(this.forwardTableId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds extends $dara.Model {
    static names() {
        return {
            fullNatTableId: 'FullNatTableId',
        };
    }
    static types() {
        return {
            fullNatTableId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.fullNatTableId)) {
            $dara.Model.validateArray(this.fullNatTableId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpListsIpList extends $dara.Model {
    static names() {
        return {
            allocationId: 'AllocationId',
            ipAddress: 'IpAddress',
            privateIpAddress: 'PrivateIpAddress',
            snatEntryEnabled: 'SnatEntryEnabled',
            usingStatus: 'UsingStatus',
        };
    }
    static types() {
        return {
            allocationId: 'string',
            ipAddress: 'string',
            privateIpAddress: 'string',
            snatEntryEnabled: 'boolean',
            usingStatus: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpListsIpList = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpListsIpList;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists extends $dara.Model {
    static names() {
        return {
            ipList: 'IpList',
        };
    }
    static types() {
        return {
            ipList: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpListsIpList },
        };
    }
    validate() {
        if (Array.isArray(this.ipList)) {
            $dara.Model.validateArray(this.ipList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList extends $dara.Model {
    static names() {
        return {
            ipPrefix: 'IpPrefix',
        };
    }
    static types() {
        return {
            ipPrefix: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList extends $dara.Model {
    static names() {
        return {
            ipPrefixList: 'IpPrefixList',
        };
    }
    static types() {
        return {
            ipPrefixList: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixListIpPrefixList },
        };
    }
    validate() {
        if (Array.isArray(this.ipPrefixList)) {
            $dara.Model.validateArray(this.ipPrefixList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo extends $dara.Model {
    static names() {
        return {
            eniInstanceId: 'EniInstanceId',
            eniType: 'EniType',
            izNo: 'IzNo',
            maxBandwidth: 'MaxBandwidth',
            maxSessionEstablishRate: 'MaxSessionEstablishRate',
            maxSessionQuota: 'MaxSessionQuota',
            privateIpAddress: 'PrivateIpAddress',
            vswitchId: 'VswitchId',
        };
    }
    static types() {
        return {
            eniInstanceId: 'string',
            eniType: 'string',
            izNo: 'string',
            maxBandwidth: 'number',
            maxSessionEstablishRate: 'number',
            maxSessionQuota: 'number',
            privateIpAddress: 'string',
            vswitchId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds extends $dara.Model {
    static names() {
        return {
            snatTableId: 'SnatTableId',
        };
    }
    static types() {
        return {
            snatTableId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.snatTableId)) {
            $dara.Model.validateArray(this.snatTableId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag extends $dara.Model {
    static names() {
        return {
            tagKey: 'TagKey',
            tagValue: 'TagValue',
        };
    }
    static types() {
        return {
            tagKey: 'string',
            tagValue: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags;
class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.Model {
    static names() {
        return {
            accessMode: 'AccessMode',
            autoPay: 'AutoPay',
            businessStatus: 'BusinessStatus',
            creationTime: 'CreationTime',
            deletionProtection: 'DeletionProtection',
            description: 'Description',
            ecsMetricEnabled: 'EcsMetricEnabled',
            eipBindMode: 'EipBindMode',
            enableSessionLog: 'EnableSessionLog',
            expiredTime: 'ExpiredTime',
            forwardTableIds: 'ForwardTableIds',
            fullNatTableIds: 'FullNatTableIds',
            icmpReplyEnabled: 'IcmpReplyEnabled',
            instanceChargeType: 'InstanceChargeType',
            internetChargeType: 'InternetChargeType',
            ipLists: 'IpLists',
            ipPrefixList: 'IpPrefixList',
            name: 'Name',
            natGatewayId: 'NatGatewayId',
            natGatewayPrivateInfo: 'NatGatewayPrivateInfo',
            natType: 'NatType',
            networkType: 'NetworkType',
            privateLinkEnabled: 'PrivateLinkEnabled',
            privateLinkMode: 'PrivateLinkMode',
            regionId: 'RegionId',
            resourceGroupId: 'ResourceGroupId',
            securityProtectionEnabled: 'SecurityProtectionEnabled',
            snatTableIds: 'SnatTableIds',
            spec: 'Spec',
            status: 'Status',
            tags: 'Tags',
            vpcId: 'VpcId',
        };
    }
    static types() {
        return {
            accessMode: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode,
            autoPay: 'boolean',
            businessStatus: 'string',
            creationTime: 'string',
            deletionProtection: 'boolean',
            description: 'string',
            ecsMetricEnabled: 'boolean',
            eipBindMode: 'string',
            enableSessionLog: 'string',
            expiredTime: 'string',
            forwardTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds,
            fullNatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds,
            icmpReplyEnabled: 'boolean',
            instanceChargeType: 'string',
            internetChargeType: 'string',
            ipLists: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpLists,
            ipPrefixList: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayIpPrefixList,
            name: 'string',
            natGatewayId: 'string',
            natGatewayPrivateInfo: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayNatGatewayPrivateInfo,
            natType: 'string',
            networkType: 'string',
            privateLinkEnabled: 'boolean',
            privateLinkMode: 'string',
            regionId: 'string',
            resourceGroupId: 'string',
            securityProtectionEnabled: 'boolean',
            snatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds,
            spec: 'string',
            status: 'string',
            tags: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags,
            vpcId: 'string',
        };
    }
    validate() {
        if (this.accessMode && typeof this.accessMode.validate === 'function') {
            this.accessMode.validate();
        }
        if (this.forwardTableIds && typeof this.forwardTableIds.validate === 'function') {
            this.forwardTableIds.validate();
        }
        if (this.fullNatTableIds && typeof this.fullNatTableIds.validate === 'function') {
            this.fullNatTableIds.validate();
        }
        if (this.ipLists && typeof this.ipLists.validate === 'function') {
            this.ipLists.validate();
        }
        if (this.ipPrefixList && typeof this.ipPrefixList.validate === 'function') {
            this.ipPrefixList.validate();
        }
        if (this.natGatewayPrivateInfo && typeof this.natGatewayPrivateInfo.validate === 'function') {
            this.natGatewayPrivateInfo.validate();
        }
        if (this.snatTableIds && typeof this.snatTableIds.validate === 'function') {
            this.snatTableIds.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGateway = DescribeNatGatewaysResponseBodyNatGatewaysNatGateway;
class DescribeNatGatewaysResponseBodyNatGateways extends $dara.Model {
    static names() {
        return {
            natGateway: 'NatGateway',
        };
    }
    static types() {
        return {
            natGateway: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGateway },
        };
    }
    validate() {
        if (Array.isArray(this.natGateway)) {
            $dara.Model.validateArray(this.natGateway);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBodyNatGateways = DescribeNatGatewaysResponseBodyNatGateways;
class DescribeNatGatewaysResponseBody extends $dara.Model {
    static names() {
        return {
            natGateways: 'NatGateways',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            natGateways: DescribeNatGatewaysResponseBodyNatGateways,
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.natGateways && typeof this.natGateways.validate === 'function') {
            this.natGateways.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNatGatewaysResponseBody = DescribeNatGatewaysResponseBody;
//# sourceMappingURL=DescribeNatGatewaysResponseBody.js.map