@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
23 lines (22 loc) • 704 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TenantWithGroups = void 0;
var Mapper_1 = require("../common/Mapper");
var TenantGroupDetail_1 = require("./TenantGroupDetail");
/**
* @export
* @class TenantWithGroups
*/
var TenantWithGroups = /** @class */ (function () {
function TenantWithGroups(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);
}
return TenantWithGroups;
}());
exports.TenantWithGroups = TenantWithGroups;
exports.default = TenantWithGroups;