_propDict)) { if (is_a($this->_propDict["item"], "\Microsoft\Graph\Model\OutlookItem") || is_null($this->_propDict["item"])) { return $this->_propDict["item"]; } else { $this->_propDict["item"] = new OutlookItem($this->_propDict["item"]); return $this->_propDict["item"]; } } return null; } /** * Sets the item * The attached message or event. Navigation property. * * @param OutlookItem $val The item * * @return ItemAttachment */ public function setItem($val) { $this->_propDict["item"] = $val; return $this; } }