UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

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