_propDict)) { if (is_a($this->_propDict["deviceLocation"], "\Microsoft\Graph\Model\DeviceGeoLocation") || is_null($this->_propDict["deviceLocation"])) { return $this->_propDict["deviceLocation"]; } else { $this->_propDict["deviceLocation"] = new DeviceGeoLocation($this->_propDict["deviceLocation"]); return $this->_propDict["deviceLocation"]; } } return null; } /** * Sets the deviceLocation * device location * * @param DeviceGeoLocation $val The value to assign to the deviceLocation * * @return LocateDeviceActionResult The LocateDeviceActionResult */ public function setDeviceLocation($val) { $this->_propDict["deviceLocation"] = $val; return $this; } }