_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * A human-readable description of the printer's current processing state. Read-only. * * @param string $val The value of the description * * @return PrinterStatus */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the details * The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only. * * @return PrinterProcessingStateDetail|null The details */ public function getDetails() { if (array_key_exists("details", $this->_propDict)) { if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PrinterProcessingStateDetail") || is_null($this->_propDict["details"])) { return $this->_propDict["details"]; } else { $this->_propDict["details"] = new PrinterProcessingStateDetail($this->_propDict["details"]); return $this->_propDict["details"]; } } return null; } /** * Sets the details * The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only. * * @param PrinterProcessingStateDetail $val The value to assign to the details * * @return PrinterStatus The PrinterStatus */ public function setDetails($val) { $this->_propDict["details"] = $val; return $this; } /** * Gets the state * The current processing state. Valid values are described in the following table. Read-only. * * @return PrinterProcessingState|null The state */ public function getState() { if (array_key_exists("state", $this->_propDict)) { if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrinterProcessingState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new PrinterProcessingState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * The current processing state. Valid values are described in the following table. Read-only. * * @param PrinterProcessingState $val The value to assign to the state * * @return PrinterStatus The PrinterStatus */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } }