alert; } public function setAlert($alert) { $this->alert = $alert; } public function getContentAvailable() { return $this->contentAvailable; } public function setContentAvailable($contentAvailable) { $this->contentAvailable = $contentAvailable; $this->apiParam["content-available"] = $contentAvailable; } public function getSound() { return $this->sound; } public function setSound($sound) { $this->sound = $sound; $this->apiParam["sound"] = $sound; } public function getCategory() { return $this->category; } public function setCategory($category) { $this->category = $category; $this->apiParam["category"] = $category; } public function getThreadId() { return $this->threadId; } public function setThreadId($threadId) { $this->threadId = $threadId; $this->apiParam["thread-id"] = $threadId; } public function getApiParam() { if ($this->alert != null){ $this->apiParam["alert"] = $this->alert->getApiParam(); } return $this->apiParam; } }