Source: device-dto.js

/**
 *
 */
class DeviceDTO {
  constructor (json) {
    this.json = json
  }

  /**
   * @type {string}
   */
  get baseURL () {
    return this.json.baseURL
  }

  /**
   * @returns {any}
   */
  get configuration () {
    return this.json.configuration
  }

  /**
   * @type {string}
   */
  get name () {
    return this.json.name
  }

  /**
   * @type {string}
   */
  get platform () {
    return this.json.platform
  }

  /**
   * @type {string}
   */
  get token () {
    return this.json.token
  }
}

export default DeviceDTO