function PushMessage(devices, message, subject, sound, badge, data) {
    babelHelpers.classCallCheck(this, PushMessage);

    /**
     * Set of devices
     * @type Set<binding.Entity>
     */
    this.devices = null;

    if (devices instanceof Set) {
      this.devices = devices;
    } else if (!devices || devices[Symbol.iterator]) {
      this.devices = new Set(devices);
    } else if (devices instanceof Entity) {
      this.devices = new Set();
      this.devices.add(devices);
    } else {
      throw new Error("Only Sets, Lists and Arrays can be used as devices.");
    }

    /**
     * push notification message
     * @type string
     */
    this.message = message;

    /**
     * push notification subject
     * @type string
     */
    this.subject = subject;

    /**
     * push notification sound
     * @type string
     */
    this.sound = sound;

    /**
     * badge count
     * @type number
     */
    this.badge = badge;

    /**
     * data object
     * @type json
     */
    this.data = data;
  }
/**
   * Push message will be used to send a push notification to a set of devices
   *
   * @param {Set<binding.Entity>|Array<binding.Entity>} [devices] The Set of device references which
   * will receive this push notification.
   * @param {string=} message The message of the push notification.
   * @param {string=} subject The subject of the push notification.
   * @param {string=} sound The file reference of the sound file as a string. The device uses this file as the
   * notification sound.
   * @param {number=} badge The badge count.
   * @param {Object=} data The data object which can contain additional information.
   */
Push message will be used to send a push notification to a set of devices
@param {Set|Array} [devices] The Set of device references which
will receive this push notification.
@param {string=} message The message of the push notification.
@param {string=} subject The subject of the push notification.
@param {string=} sound The file reference of the sound file as a string. The device uses this file as the
notification sound.
@param {number=} badge The badge count.
@param {Object=} data The data object which can contain additional information.
Push message will be used to send a push notification to a set of devices @param { Set|Array } [ devices ] The Set of device references which will receive this push notification . @param { string = } message The message of the push notification . @param { string = } subject The subject of the push notification . @param { string = } sound The file reference of the sound file as a string . The device uses this file as the notification sound . @param { number = } badge The badge count . @param { Object = } data The data object which can contain additional information .
function PushMessage(devices, message, subject, sound, badge, data) {
    babelHelpers.classCallCheck(this, PushMessage);
    this.devices = null;
    if (devices instanceof Set) {
      this.devices = devices;
    } else if (!devices || devices[Symbol.iterator]) {
      this.devices = new Set(devices);
    } else if (devices instanceof Entity) {
      this.devices = new Set();
      this.devices.add(devices);
    } else {
      throw new Error("Only Sets, Lists and Arrays can be used as devices.");
    }
    this.message = message;
    this.subject = subject;
    this.sound = sound;
    this.badge = badge;
    this.data = data;
  }
function PushMessage ( devices , message , subject , sound , badge , data ) { babelHelpers . classCallCheck ( this , PushMessage ) ; this . devices = null ; if ( devices instanceof Set ) { this . devices = devices ; } else if ( ! devices || devices [ Symbol . iterator ] ) { this . devices = new Set ( devices ) ; } else if ( devices instanceof Entity ) { this . devices = new Set ( ) ; this . devices . add ( devices ) ; } else { throw new Error ( "Only Sets, Lists and Arrays can be used as devices." ) ; } this . message = message ; this . subject = subject ; this . sound = sound ; this . badge = badge ; this . data = data ; }
Push message will be used to send a push notification to a set of devices
 @param {Set<binding.Entity>|Array<binding.Entity>} [devices] The Set of device references which
 will receive this push notification.
Push message will be used to send a push notification to a set of devices @param { Set<binding . Entity > |Array<binding . Entity > } [ devices ] The Set of device references which will receive this push notification .
/**
     * Set of devices
     * @type Set<binding.Entity>
     */ /**
     * push notification message
     * @type string
     */ /**
     * push notification subject
     * @type string
     */ /**
     * push notification sound
     * @type string
     */ /**
     * badge count
     * @type number
     */ /**
     * data object
     * @type json
     */