"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaginatedListDocumentTemplate = void 0;
const DocumentTemplate_1 = require("./DocumentTemplate");
class PaginatedListDocumentTemplate {
    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 DocumentTemplate_1.DocumentTemplate(r)) }));
    }
}
exports.PaginatedListDocumentTemplate = PaginatedListDocumentTemplate;
//# sourceMappingURL=PaginatedListDocumentTemplate.js.map