_propDict)) { return $this->_propDict["deviceId"]; } else { return null; } } /** * Sets the deviceId * DeviceId of device represented by this object * * @param string $val The value of the deviceId * * @return ManagedDeviceSummarizedAppState */ public function setDeviceId($val) { $this->_propDict["deviceId"] = $val; return $this; } /** * Gets the summarizedAppState * runState for the object. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. * * @return RunState|null The summarizedAppState */ public function getSummarizedAppState() { if (array_key_exists("summarizedAppState", $this->_propDict)) { if (is_a($this->_propDict["summarizedAppState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["summarizedAppState"])) { return $this->_propDict["summarizedAppState"]; } else { $this->_propDict["summarizedAppState"] = new RunState($this->_propDict["summarizedAppState"]); return $this->_propDict["summarizedAppState"]; } } return null; } /** * Sets the summarizedAppState * runState for the object. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. * * @param RunState $val The value to assign to the summarizedAppState * * @return ManagedDeviceSummarizedAppState The ManagedDeviceSummarizedAppState */ public function setSummarizedAppState($val) { $this->_propDict["summarizedAppState"] = $val; return $this; } }