@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
33 lines (32 loc) • 1.32 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccountInformation = void 0;
const Mapper_1 = require("../common/Mapper");
const AccountApiKey_1 = require("./AccountApiKey");
const BitmovinResource_1 = require("./BitmovinResource");
/**
* @export
* @class AccountInformation
*/
class AccountInformation extends BitmovinResource_1.default {
constructor(obj) {
super(obj);
if (!obj) {
return;
}
this.email = (0, Mapper_1.map)(obj.email);
this.apiKeys = (0, Mapper_1.mapArray)(obj.apiKeys, AccountApiKey_1.default);
this.firstName = (0, Mapper_1.map)(obj.firstName);
this.lastName = (0, Mapper_1.map)(obj.lastName);
this.phone = (0, Mapper_1.map)(obj.phone);
this.company = (0, Mapper_1.map)(obj.company);
this.verified = (0, Mapper_1.map)(obj.verified);
this.marketplace = (0, Mapper_1.map)(obj.marketplace);
this.mfaEnabled = (0, Mapper_1.map)(obj.mfaEnabled);
this.intercomIdVerification = (0, Mapper_1.map)(obj.intercomIdVerification);
this.samlDomain = (0, Mapper_1.map)(obj.samlDomain);
this.tosAccepted = (0, Mapper_1.map)(obj.tosAccepted);
}
}
exports.AccountInformation = AccountInformation;
exports.default = AccountInformation;