mirror of https://github.com/Hypfer/Valetudo.git
22 lines
510 B
JavaScript
22 lines
510 B
JavaScript
const SerializableEntity = require("../SerializableEntity");
|
|
|
|
|
|
// noinspection JSCheckFunctionSignatures
|
|
class ValetudoSelectionPreset extends SerializableEntity {
|
|
/**
|
|
* @param {object} options
|
|
* @param {string} options.name
|
|
* @param {any} options.value
|
|
* @param {object} [options.metaData]
|
|
* @class
|
|
*/
|
|
constructor(options) {
|
|
super(options);
|
|
|
|
this.name = options.name;
|
|
this.value = options.value;
|
|
}
|
|
}
|
|
|
|
module.exports = ValetudoSelectionPreset;
|