@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
28 lines (27 loc) • 908 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Invitation = void 0;
var Mapper_1 = require("../common/Mapper");
/**
* @export
* @class Invitation
*/
var Invitation = /** @class */ (function () {
function Invitation(obj) {
if (!obj) {
return;
}
this.id = (0, Mapper_1.map)(obj.id);
this.email = (0, Mapper_1.map)(obj.email);
this.status = (0, Mapper_1.map)(obj.status);
this.company = (0, Mapper_1.map)(obj.company);
this.firstName = (0, Mapper_1.map)(obj.firstName);
this.lastName = (0, Mapper_1.map)(obj.lastName);
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
this.jobTitle = (0, Mapper_1.map)(obj.jobTitle);
this.phone = (0, Mapper_1.map)(obj.phone);
}
return Invitation;
}());
exports.Invitation = Invitation;
exports.default = Invitation;