"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListResponseStreamEventTypeOutSerializer = void 0;
const streamEventTypeOut_1 = require("./streamEventTypeOut");
exports.ListResponseStreamEventTypeOutSerializer = {
    _fromJsonObject(object) {
        return {
            data: object["data"].map((item) => streamEventTypeOut_1.StreamEventTypeOutSerializer._fromJsonObject(item)),
            done: object["done"],
            iterator: object["iterator"],
            prevIterator: object["prevIterator"],
        };
    },
    _toJsonObject(self) {
        return {
            data: self.data.map((item) => streamEventTypeOut_1.StreamEventTypeOutSerializer._toJsonObject(item)),
            done: self.done,
            iterator: self.iterator,
            prevIterator: self.prevIterator,
        };
    },
};
//# sourceMappingURL=listResponseStreamEventTypeOut.js.map