_propDict)) { if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { return $this->_propDict["oneNoteClientUrl"]; } else { $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); return $this->_propDict["oneNoteClientUrl"]; } } return null; } /** * Sets the oneNoteClientUrl * Opens the notebook in the OneNote native client if it's installed. * * @param ExternalLink $val The value to assign to the oneNoteClientUrl * * @return NotebookLinks The NotebookLinks */ public function setOneNoteClientUrl($val) { $this->_propDict["oneNoteClientUrl"] = $val; return $this; } /** * Gets the oneNoteWebUrl * Opens the notebook in OneNote on the web. * * @return ExternalLink|null The oneNoteWebUrl */ public function getOneNoteWebUrl() { if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { return $this->_propDict["oneNoteWebUrl"]; } else { $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); return $this->_propDict["oneNoteWebUrl"]; } } return null; } /** * Sets the oneNoteWebUrl * Opens the notebook in OneNote on the web. * * @param ExternalLink $val The value to assign to the oneNoteWebUrl * * @return NotebookLinks The NotebookLinks */ public function setOneNoteWebUrl($val) { $this->_propDict["oneNoteWebUrl"] = $val; return $this; } }