mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
16 lines
363 B
JavaScript
16 lines
363 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
const NavigationEndpoint = require('./NavigationEndpoint');
|
|
|
|
class SubFeedOption {
|
|
type = 'SubFeedOption';
|
|
|
|
constructor(data) {
|
|
this.name = new Text(data.name);
|
|
this.is_selected = data.isSelected;
|
|
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
|
|
}
|
|
}
|
|
|
|
module.exports = SubFeedOption; |