@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
23 lines (22 loc) • 840 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StreamsDomainRestrictionResponse = void 0;
var Mapper_1 = require("../common/Mapper");
/**
* @export
* @class StreamsDomainRestrictionResponse
*/
var StreamsDomainRestrictionResponse = /** @class */ (function () {
function StreamsDomainRestrictionResponse(obj) {
if (!obj) {
return;
}
this.id = (0, Mapper_1.map)(obj.id);
this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
this.allowShare = (0, Mapper_1.map)(obj.allowShare);
}
return StreamsDomainRestrictionResponse;
}());
exports.StreamsDomainRestrictionResponse = StreamsDomainRestrictionResponse;
exports.default = StreamsDomainRestrictionResponse;