UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

25 lines (24 loc) 915 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AgentSessionHistoryResponse = void 0; var Mapper_1 = require("../common/Mapper"); var AgentChatMessage_1 = require("./AgentChatMessage"); /** * @export * @class AgentSessionHistoryResponse */ var AgentSessionHistoryResponse = /** @class */ (function () { function AgentSessionHistoryResponse(obj) { if (!obj) { return; } this.sessionId = (0, Mapper_1.map)(obj.sessionId); this.appName = (0, Mapper_1.map)(obj.appName); this.userId = (0, Mapper_1.map)(obj.userId); this.title = (0, Mapper_1.map)(obj.title); this.messages = (0, Mapper_1.mapArray)(obj.messages, AgentChatMessage_1.default); } return AgentSessionHistoryResponse; }()); exports.AgentSessionHistoryResponse = AgentSessionHistoryResponse; exports.default = AgentSessionHistoryResponse;