_propDict)) { if (is_a($this->_propDict["userAgent"], "\Microsoft\Graph\CallRecords\Model\UserAgent") || is_null($this->_propDict["userAgent"])) { return $this->_propDict["userAgent"]; } else { $this->_propDict["userAgent"] = new UserAgent($this->_propDict["userAgent"]); return $this->_propDict["userAgent"]; } } return null; } /** * Sets the userAgent * User-agent reported by this endpoint. * * @param UserAgent $val The value to assign to the userAgent * * @return Endpoint The Endpoint */ public function setUserAgent($val) { $this->_propDict["userAgent"] = $val; return $this; } }