UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

23 lines (22 loc) 793 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AgentSessionListResponse = void 0; var Mapper_1 = require("../common/Mapper"); var AgentSessionListItem_1 = require("./AgentSessionListItem"); /** * @export * @class AgentSessionListResponse */ var AgentSessionListResponse = /** @class */ (function () { function AgentSessionListResponse(obj) { if (!obj) { return; } this.appName = (0, Mapper_1.map)(obj.appName); this.userId = (0, Mapper_1.map)(obj.userId); this.sessions = (0, Mapper_1.mapArray)(obj.sessions, AgentSessionListItem_1.default); } return AgentSessionListResponse; }()); exports.AgentSessionListResponse = AgentSessionListResponse; exports.default = AgentSessionListResponse;