mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
16 lines
325 B
JavaScript
16 lines
325 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class PlaylistVideoList {
|
|
type = 'PlaylistVideoList';
|
|
|
|
constructor(data) {
|
|
this.id = data.playlistId;
|
|
this.is_editable = data.isEditable;
|
|
this.can_reorder = data.canReorder;
|
|
this.videos = Parser.parse(data.contents);
|
|
}
|
|
}
|
|
|
|
module.exports = PlaylistVideoList; |