@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
24 lines (23 loc) • 823 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AgentSessionHistoryResponse = void 0;
const Mapper_1 = require("../common/Mapper");
const AgentChatMessage_1 = require("./AgentChatMessage");
/**
* @export
* @class AgentSessionHistoryResponse
*/
class AgentSessionHistoryResponse {
constructor(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);
}
}
exports.AgentSessionHistoryResponse = AgentSessionHistoryResponse;
exports.default = AgentSessionHistoryResponse;