<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of NotificationAlert
 *
 * @author Kunal Mestri <kunal@laurus-it.com>
 */
class NotificationAlert {
  private $notAlertId;
  private $notInviteToConnect;
  private $notMessage;
  private $notTaskUpdates;
  private $notUserId;
  public function getNotInviteToConnect() {
      return $this->notInviteToConnect;
  }

  public function setNotInviteToConnect($notInviteToConnect) {
      $this->notInviteToConnect = $notInviteToConnect;
  }

  public function getNotMessage() {
      return $this->notMessage;
  }

  public function setNotMessage($notMessage) {
      $this->notMessage = $notMessage;
  }

  public function getNotTaskUpdates() {
      return $this->notTaskUpdates;
  }

  public function setNotTaskUpdates($notTaskUpdates) {
      $this->notTaskUpdates = $notTaskUpdates;
  }

  public function getNotAlertId() {
      return $this->notAlertId;
  }

  public function setNotAlertId($notAlertId) {
      $this->notAlertId = $notAlertId;
  }

  
  public function getNotUserId() {
      return $this->notUserId;
  }

  public function setNotUserId($notUserId) {
      $this->notUserId = $notUserId;
  }

  public function toJson() {
        $jsonMap = new Map();
        if ($this->getNotInviteToConnect() != "") {
            $jsonMap->put("notInviteToConnect", $this->getNotInviteToConnect());
        }
        if ($this->getNotMessage() != "") {
            $jsonMap->put("notMessage", $this->getNotMessage());
        }
        if ($this->getNotTaskUpdates() != "") {
            $jsonMap->put("notTaskUpdates", $this->getNotTaskUpdates());
        }
        if ($this->getNotAlertId() != "") {
            $jsonMap->put("notAlertId", $this->getNotAlertId());
        }
        if ($this->getNotUserId() != "") {
            $jsonMap->put("notUserId", $this->getNotUserId());
        }
       
        return $jsonMap->toJson();
    }
}

?>
