_propDict)) { return $this->_propDict["body"]; } else { return null; } } /** * Sets the body * The body of a visual user notification. Body is optional. * * @param string $val The value of the body * * @return VisualProperties */ public function setBody($val) { $this->_propDict["body"] = $val; return $this; } /** * Gets the title * The title of a visual user notification. This field is required for visual notification payloads. * * @return string|null The title */ public function getTitle() { if (array_key_exists("title", $this->_propDict)) { return $this->_propDict["title"]; } else { return null; } } /** * Sets the title * The title of a visual user notification. This field is required for visual notification payloads. * * @param string $val The value of the title * * @return VisualProperties */ public function setTitle($val) { $this->_propDict["title"] = $val; return $this; } }