UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

22 lines (21 loc) 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TenantWithGroups = void 0; const Mapper_1 = require("../common/Mapper"); const TenantGroupDetail_1 = require("./TenantGroupDetail"); /** * @export * @class TenantWithGroups */ class TenantWithGroups { constructor(obj) { if (!obj) { return; } this.id = (0, Mapper_1.map)(obj.id); this.email = (0, Mapper_1.map)(obj.email); this.groups = (0, Mapper_1.mapArray)(obj.groups, TenantGroupDetail_1.default); } } exports.TenantWithGroups = TenantWithGroups; exports.default = TenantWithGroups;