mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 12:02:11 +00:00
14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
'use strict';
|
|
|
|
const NavigationEndpoint = require('../NavigationEndpoint');
|
|
|
|
class MenuServiceItemDownload {
|
|
type = 'MenuServiceItemDownload';
|
|
|
|
constructor(data) {
|
|
this.has_separator = data.hasSeparator;
|
|
this.endpoint = new NavigationEndpoint(data.navigationEndpoint || data.serviceEndpoint);
|
|
}
|
|
}
|
|
|
|
module.exports = MenuServiceItemDownload; |