UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

21 lines (20 loc) 689 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CacheControlSettingsSegments = void 0; const Mapper_1 = require("../common/Mapper"); const CacheControl_1 = require("./CacheControl"); /** * @export * @class CacheControlSettingsSegments */ class CacheControlSettingsSegments { constructor(obj) { if (!obj) { return; } this.initSegment = (0, Mapper_1.map)(obj.initSegment, CacheControl_1.default); this.mediaSegment = (0, Mapper_1.map)(obj.mediaSegment, CacheControl_1.default); } } exports.CacheControlSettingsSegments = CacheControlSettingsSegments; exports.default = CacheControlSettingsSegments;