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