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