UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

25 lines (24 loc) 775 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StreamKey = void 0; const Mapper_1 = require("../common/Mapper"); const BitmovinResource_1 = require("./BitmovinResource"); /** * @export * @class StreamKey */ class StreamKey extends BitmovinResource_1.default { constructor(obj) { super(obj); if (!obj) { return; } this.value = (0, Mapper_1.map)(obj.value); this.status = (0, Mapper_1.map)(obj.status); this.type = (0, Mapper_1.map)(obj.type); this.assignedEncodingId = (0, Mapper_1.map)(obj.assignedEncodingId); this.assignedIngestPointId = (0, Mapper_1.map)(obj.assignedIngestPointId); } } exports.StreamKey = StreamKey; exports.default = StreamKey;