"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.DescribeVpnGatewayResponseBody = exports.DescribeVpnGatewayResponseBodyTags = exports.DescribeVpnGatewayResponseBodyTagsTag = exports.DescribeVpnGatewayResponseBodyReservationData = exports.DescribeVpnGatewayResponseBodyEniInstanceIds = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeVpnGatewayResponseBodyEniInstanceIds extends $dara.Model {
    static names() {
        return {
            eniInstanceId: 'EniInstanceId',
        };
    }
    static types() {
        return {
            eniInstanceId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.eniInstanceId)) {
            $dara.Model.validateArray(this.eniInstanceId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpnGatewayResponseBodyEniInstanceIds = DescribeVpnGatewayResponseBodyEniInstanceIds;
class DescribeVpnGatewayResponseBodyReservationData extends $dara.Model {
    static names() {
        return {
            reservationEndTime: 'ReservationEndTime',
            reservationIpsec: 'ReservationIpsec',
            reservationMaxConnections: 'ReservationMaxConnections',
            reservationOrderType: 'ReservationOrderType',
            reservationSpec: 'ReservationSpec',
            reservationSsl: 'ReservationSsl',
            status: 'Status',
        };
    }
    static types() {
        return {
            reservationEndTime: 'string',
            reservationIpsec: 'string',
            reservationMaxConnections: 'number',
            reservationOrderType: 'string',
            reservationSpec: 'string',
            reservationSsl: 'string',
            status: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpnGatewayResponseBodyReservationData = DescribeVpnGatewayResponseBodyReservationData;
class DescribeVpnGatewayResponseBodyTagsTag 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.DescribeVpnGatewayResponseBodyTagsTag = DescribeVpnGatewayResponseBodyTagsTag;
class DescribeVpnGatewayResponseBodyTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeVpnGatewayResponseBodyTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpnGatewayResponseBodyTags = DescribeVpnGatewayResponseBodyTags;
class DescribeVpnGatewayResponseBody extends $dara.Model {
    static names() {
        return {
            autoPropagate: 'AutoPropagate',
            businessStatus: 'BusinessStatus',
            chargeType: 'ChargeType',
            createTime: 'CreateTime',
            description: 'Description',
            disasterRecoveryInternetIp: 'DisasterRecoveryInternetIp',
            disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
            enableBgp: 'EnableBgp',
            endTime: 'EndTime',
            eniInstanceIds: 'EniInstanceIds',
            gatewayType: 'GatewayType',
            internetIp: 'InternetIp',
            ipsecVpn: 'IpsecVpn',
            name: 'Name',
            networkType: 'NetworkType',
            requestId: 'RequestId',
            reservationData: 'ReservationData',
            resourceGroupId: 'ResourceGroupId',
            spec: 'Spec',
            sslMaxConnections: 'SslMaxConnections',
            sslVpn: 'SslVpn',
            sslVpnInternetIp: 'SslVpnInternetIp',
            status: 'Status',
            tag: 'Tag',
            tags: 'Tags',
            vSwitchId: 'VSwitchId',
            vpcId: 'VpcId',
            vpnGatewayId: 'VpnGatewayId',
            vpnType: 'VpnType',
        };
    }
    static types() {
        return {
            autoPropagate: 'boolean',
            businessStatus: 'string',
            chargeType: 'string',
            createTime: 'number',
            description: 'string',
            disasterRecoveryInternetIp: 'string',
            disasterRecoveryVSwitchId: 'string',
            enableBgp: 'boolean',
            endTime: 'number',
            eniInstanceIds: DescribeVpnGatewayResponseBodyEniInstanceIds,
            gatewayType: 'string',
            internetIp: 'string',
            ipsecVpn: 'string',
            name: 'string',
            networkType: 'string',
            requestId: 'string',
            reservationData: DescribeVpnGatewayResponseBodyReservationData,
            resourceGroupId: 'string',
            spec: 'string',
            sslMaxConnections: 'number',
            sslVpn: 'string',
            sslVpnInternetIp: 'string',
            status: 'string',
            tag: 'string',
            tags: DescribeVpnGatewayResponseBodyTags,
            vSwitchId: 'string',
            vpcId: 'string',
            vpnGatewayId: 'string',
            vpnType: 'string',
        };
    }
    validate() {
        if (this.eniInstanceIds && typeof this.eniInstanceIds.validate === 'function') {
            this.eniInstanceIds.validate();
        }
        if (this.reservationData && typeof this.reservationData.validate === 'function') {
            this.reservationData.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVpnGatewayResponseBody = DescribeVpnGatewayResponseBody;
//# sourceMappingURL=DescribeVpnGatewayResponseBody.js.map