UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

22 lines (21 loc) 559 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Credits = void 0; const Mapper_1 = require("../common/Mapper"); const Person_1 = require("./Person"); const Song_1 = require("./Song"); /** * @export * @class Credits */ class Credits { constructor(obj) { if (!obj) { return; } this.persons = (0, Mapper_1.mapArray)(obj.persons, Person_1.default); this.songs = (0, Mapper_1.mapArray)(obj.songs, Song_1.default); } } exports.Credits = Credits; exports.default = Credits;