UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

23 lines (22 loc) 644 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Setting = void 0; const Mapper_1 = require("../common/Mapper"); const Atmosphere_1 = require("./Atmosphere"); const Location_1 = require("./Location"); /** * @export * @class Setting */ class Setting { constructor(obj) { if (!obj) { return; } this.location = (0, Mapper_1.map)(obj.location, Location_1.default); this.timeOfDay = (0, Mapper_1.map)(obj.timeOfDay); this.atmosphere = (0, Mapper_1.map)(obj.atmosphere, Atmosphere_1.default); } } exports.Setting = Setting; exports.default = Setting;