UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

27 lines (26 loc) 848 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Invitation = void 0; const Mapper_1 = require("../common/Mapper"); /** * @export * @class Invitation */ class Invitation { constructor(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); } } exports.Invitation = Invitation; exports.default = Invitation;