UNPKG

league-wrapper

Version:

REST API Wrapper for the League of Legends API

22 lines (19 loc) 498 B
'use strict'; class QueueTypeData { /** * @param {string} gameQueueConfigId * @param {number} queueType * @param {string} name * @param {boolean} [deprecated] */ constructor(gameQueueConfigId, queueType, name, deprecated) { this.gameQueueConfigId = gameQueueConfigId; this.queueType = queueType; this.name = name; this.deprecated = deprecated || false; } getQueryString() { return this.gameQueueConfigId; } } exports = module.exports = QueueTypeData;