"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaginatedListService = void 0;
const Service_1 = require("./Service");
class PaginatedListService {
    constructor(json) {
        var _a;
        Object.assign(this, Object.assign(Object.assign({}, json), { rows: (_a = json.rows) === null || _a === void 0 ? void 0 : _a.map((r) => new Service_1.Service(r)) }));
    }
}
exports.PaginatedListService = PaginatedListService;
//# sourceMappingURL=PaginatedListService.js.map