@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
44 lines (43 loc) • 2.25 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AnalyticsLicense = void 0;
var Mapper_1 = require("../common/Mapper");
var AnalyticsLicenseCustomDataFieldLabels_1 = require("./AnalyticsLicenseCustomDataFieldLabels");
var AnalyticsLicenseDomain_1 = require("./AnalyticsLicenseDomain");
var AnalyticsLicenseFeatures_1 = require("./AnalyticsLicenseFeatures");
/**
* @export
* @class AnalyticsLicense
*/
var AnalyticsLicense = /** @class */ (function () {
function AnalyticsLicense(obj) {
if (!obj) {
return;
}
this.id = (0, Mapper_1.map)(obj.id);
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
this.customData = (0, Mapper_1.map)(obj.customData);
this.licenseKey = (0, Mapper_1.map)(obj.licenseKey);
this.name = (0, Mapper_1.map)(obj.name);
this.industry = (0, Mapper_1.map)(obj.industry);
this.subIndustry = (0, Mapper_1.map)(obj.subIndustry);
this.ignoreDNT = (0, Mapper_1.map)(obj.ignoreDNT);
this.impressions = (0, Mapper_1.map)(obj.impressions);
this.maxImpressions = (0, Mapper_1.map)(obj.maxImpressions);
this.timeZone = (0, Mapper_1.map)(obj.timeZone);
this.retentionTime = (0, Mapper_1.map)(obj.retentionTime);
this.compressedRetentionTime = (0, Mapper_1.map)(obj.compressedRetentionTime);
this.domains = (0, Mapper_1.mapArray)(obj.domains, AnalyticsLicenseDomain_1.default);
this.playerDomains = (0, Mapper_1.mapArray)(obj.playerDomains);
this.includeInInsights = (0, Mapper_1.map)(obj.includeInInsights);
this.customDataFieldLabels = (0, Mapper_1.map)(obj.customDataFieldLabels, AnalyticsLicenseCustomDataFieldLabels_1.default);
this.customDataFieldsCount = (0, Mapper_1.map)(obj.customDataFieldsCount);
this.orderIndex = (0, Mapper_1.map)(obj.orderIndex);
this.rateLimit = (0, Mapper_1.map)(obj.rateLimit);
this.features = (0, Mapper_1.map)(obj.features, AnalyticsLicenseFeatures_1.default);
this.planExpiredAt = (0, Mapper_1.map)(obj.planExpiredAt, Date);
}
return AnalyticsLicense;
}());
exports.AnalyticsLicense = AnalyticsLicense;
exports.default = AnalyticsLicense;