"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.DescribeRouteTablesResponseBody = exports.DescribeRouteTablesResponseBodyRouteTables = exports.DescribeRouteTablesResponseBodyRouteTablesRouteTable = exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrys = exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntry = exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHops = exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHopsNextHop = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHopsNextHop extends $dara.Model {
    static names() {
        return {
            enabled: 'Enabled',
            nextHopId: 'NextHopId',
            nextHopType: 'NextHopType',
            weight: 'Weight',
        };
    }
    static types() {
        return {
            enabled: 'number',
            nextHopId: 'string',
            nextHopType: 'string',
            weight: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHopsNextHop = DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHopsNextHop;
class DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHops extends $dara.Model {
    static names() {
        return {
            nextHop: 'NextHop',
        };
    }
    static types() {
        return {
            nextHop: { 'type': 'array', 'itemType': DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHopsNextHop },
        };
    }
    validate() {
        if (Array.isArray(this.nextHop)) {
            $dara.Model.validateArray(this.nextHop);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHops = DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHops;
class DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntry extends $dara.Model {
    static names() {
        return {
            destinationCidrBlock: 'DestinationCidrBlock',
            instanceId: 'InstanceId',
            nextHopType: 'NextHopType',
            nextHops: 'NextHops',
            routeTableId: 'RouteTableId',
            status: 'Status',
            type: 'Type',
        };
    }
    static types() {
        return {
            destinationCidrBlock: 'string',
            instanceId: 'string',
            nextHopType: 'string',
            nextHops: DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntryNextHops,
            routeTableId: 'string',
            status: 'string',
            type: 'string',
        };
    }
    validate() {
        if (this.nextHops && typeof this.nextHops.validate === 'function') {
            this.nextHops.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntry = DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntry;
class DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrys extends $dara.Model {
    static names() {
        return {
            routeEntry: 'RouteEntry',
        };
    }
    static types() {
        return {
            routeEntry: { 'type': 'array', 'itemType': DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrysRouteEntry },
        };
    }
    validate() {
        if (Array.isArray(this.routeEntry)) {
            $dara.Model.validateArray(this.routeEntry);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrys = DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrys;
class DescribeRouteTablesResponseBodyRouteTablesRouteTable extends $dara.Model {
    static names() {
        return {
            creationTime: 'CreationTime',
            resourceGroupId: 'ResourceGroupId',
            routeEntrys: 'RouteEntrys',
            routeTableId: 'RouteTableId',
            routeTableType: 'RouteTableType',
            VRouterId: 'VRouterId',
        };
    }
    static types() {
        return {
            creationTime: 'string',
            resourceGroupId: 'string',
            routeEntrys: DescribeRouteTablesResponseBodyRouteTablesRouteTableRouteEntrys,
            routeTableId: 'string',
            routeTableType: 'string',
            VRouterId: 'string',
        };
    }
    validate() {
        if (this.routeEntrys && typeof this.routeEntrys.validate === 'function') {
            this.routeEntrys.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBodyRouteTablesRouteTable = DescribeRouteTablesResponseBodyRouteTablesRouteTable;
class DescribeRouteTablesResponseBodyRouteTables extends $dara.Model {
    static names() {
        return {
            routeTable: 'RouteTable',
        };
    }
    static types() {
        return {
            routeTable: { 'type': 'array', 'itemType': DescribeRouteTablesResponseBodyRouteTablesRouteTable },
        };
    }
    validate() {
        if (Array.isArray(this.routeTable)) {
            $dara.Model.validateArray(this.routeTable);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBodyRouteTables = DescribeRouteTablesResponseBodyRouteTables;
class DescribeRouteTablesResponseBody extends $dara.Model {
    static names() {
        return {
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            routeTables: 'RouteTables',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            routeTables: DescribeRouteTablesResponseBodyRouteTables,
            totalCount: 'number',
        };
    }
    validate() {
        if (this.routeTables && typeof this.routeTables.validate === 'function') {
            this.routeTables.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRouteTablesResponseBody = DescribeRouteTablesResponseBody;
//# sourceMappingURL=DescribeRouteTablesResponseBody.js.map