"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.DescribeRouteEntryListResponseBody = exports.DescribeRouteEntryListResponseBodyRouteEntrys = exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry = exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops = exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHop = exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHopNextHopRelatedInfo = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHopNextHopRelatedInfo extends $dara.Model {
    static names() {
        return {
            instanceId: 'InstanceId',
            instanceType: 'InstanceType',
            regionId: 'RegionId',
        };
    }
    static types() {
        return {
            instanceId: 'string',
            instanceType: 'string',
            regionId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHopNextHopRelatedInfo = DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHopNextHopRelatedInfo;
class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHop extends $dara.Model {
    static names() {
        return {
            enabled: 'Enabled',
            nextHopId: 'NextHopId',
            nextHopRegionId: 'NextHopRegionId',
            nextHopRelatedInfo: 'NextHopRelatedInfo',
            nextHopType: 'NextHopType',
            weight: 'Weight',
        };
    }
    static types() {
        return {
            enabled: 'number',
            nextHopId: 'string',
            nextHopRegionId: 'string',
            nextHopRelatedInfo: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHopNextHopRelatedInfo,
            nextHopType: 'string',
            weight: 'number',
        };
    }
    validate() {
        if (this.nextHopRelatedInfo && typeof this.nextHopRelatedInfo.validate === 'function') {
            this.nextHopRelatedInfo.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHop = DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHop;
class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops extends $dara.Model {
    static names() {
        return {
            nextHop: 'NextHop',
        };
    }
    static types() {
        return {
            nextHop: { 'type': 'array', 'itemType': DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHopsNextHop },
        };
    }
    validate() {
        if (Array.isArray(this.nextHop)) {
            $dara.Model.validateArray(this.nextHop);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops = DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops;
class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $dara.Model {
    static names() {
        return {
            description: 'Description',
            destinationCidrBlock: 'DestinationCidrBlock',
            gmtModified: 'GmtModified',
            ipVersion: 'IpVersion',
            nextHops: 'NextHops',
            origin: 'Origin',
            routeEntryId: 'RouteEntryId',
            routeEntryName: 'RouteEntryName',
            routeTableId: 'RouteTableId',
            serviceType: 'ServiceType',
            status: 'Status',
            type: 'Type',
        };
    }
    static types() {
        return {
            description: 'string',
            destinationCidrBlock: 'string',
            gmtModified: 'string',
            ipVersion: 'string',
            nextHops: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops,
            origin: 'string',
            routeEntryId: 'string',
            routeEntryName: 'string',
            routeTableId: 'string',
            serviceType: 'string',
            status: 'string',
            type: 'string',
        };
    }
    validate() {
        if (this.nextHops && typeof this.nextHops.validate === 'function') {
            this.nextHops.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry = DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry;
class DescribeRouteEntryListResponseBodyRouteEntrys extends $dara.Model {
    static names() {
        return {
            routeEntry: 'RouteEntry',
        };
    }
    static types() {
        return {
            routeEntry: { 'type': 'array', 'itemType': DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry },
        };
    }
    validate() {
        if (Array.isArray(this.routeEntry)) {
            $dara.Model.validateArray(this.routeEntry);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteEntryListResponseBodyRouteEntrys = DescribeRouteEntryListResponseBodyRouteEntrys;
class DescribeRouteEntryListResponseBody extends $dara.Model {
    static names() {
        return {
            nextToken: 'NextToken',
            requestId: 'RequestId',
            routeEntrys: 'RouteEntrys',
        };
    }
    static types() {
        return {
            nextToken: 'string',
            requestId: 'string',
            routeEntrys: DescribeRouteEntryListResponseBodyRouteEntrys,
        };
    }
    validate() {
        if (this.routeEntrys && typeof this.routeEntrys.validate === 'function') {
            this.routeEntrys.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteEntryListResponseBody = DescribeRouteEntryListResponseBody;
//# sourceMappingURL=DescribeRouteEntryListResponseBody.js.map