_propDict)) { return $this->_propDict["acquiredByPrinter"]; } else { return null; } } /** * Sets the acquiredByPrinter * * @param bool $val The value of the acquiredByPrinter * * @return PrintJobStatus */ public function setAcquiredByPrinter($val) { $this->_propDict["acquiredByPrinter"] = $val; return $this; } /** * Gets the description * A human-readable description of the print job's current processing state. Read-only. * * @return string|null The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * A human-readable description of the print job's current processing state. Read-only. * * @param string $val The value of the description * * @return PrintJobStatus */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the details * Additional details for print job state. Valid values are described in the following table. Read-only. * * @return PrintJobStateDetail|null The details */ public function getDetails() { if (array_key_exists("details", $this->_propDict)) { if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PrintJobStateDetail") || is_null($this->_propDict["details"])) { return $this->_propDict["details"]; } else { $this->_propDict["details"] = new PrintJobStateDetail($this->_propDict["details"]); return $this->_propDict["details"]; } } return null; } /** * Sets the details * Additional details for print job state. Valid values are described in the following table. Read-only. * * @param PrintJobStateDetail $val The value to assign to the details * * @return PrintJobStatus The PrintJobStatus */ public function setDetails($val) { $this->_propDict["details"] = $val; return $this; } /** * Gets the isAcquiredByPrinter * True if the job was acknowledged by a printer; false otherwise. Read-only. * * @return bool|null The isAcquiredByPrinter */ public function getIsAcquiredByPrinter() { if (array_key_exists("isAcquiredByPrinter", $this->_propDict)) { return $this->_propDict["isAcquiredByPrinter"]; } else { return null; } } /** * Sets the isAcquiredByPrinter * True if the job was acknowledged by a printer; false otherwise. Read-only. * * @param bool $val The value of the isAcquiredByPrinter * * @return PrintJobStatus */ public function setIsAcquiredByPrinter($val) { $this->_propDict["isAcquiredByPrinter"] = $val; return $this; } /** * Gets the processingState * * @return PrintJobProcessingState|null The processingState */ public function getProcessingState() { if (array_key_exists("processingState", $this->_propDict)) { if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["processingState"])) { return $this->_propDict["processingState"]; } else { $this->_propDict["processingState"] = new PrintJobProcessingState($this->_propDict["processingState"]); return $this->_propDict["processingState"]; } } return null; } /** * Sets the processingState * * @param PrintJobProcessingState $val The value to assign to the processingState * * @return PrintJobStatus The PrintJobStatus */ public function setProcessingState($val) { $this->_propDict["processingState"] = $val; return $this; } /** * Gets the processingStateDescription * * @return string|null The processingStateDescription */ public function getProcessingStateDescription() { if (array_key_exists("processingStateDescription", $this->_propDict)) { return $this->_propDict["processingStateDescription"]; } else { return null; } } /** * Sets the processingStateDescription * * @param string $val The value of the processingStateDescription * * @return PrintJobStatus */ public function setProcessingStateDescription($val) { $this->_propDict["processingStateDescription"] = $val; return $this; } /** * Gets the state * The print job's current processing state. Valid values are described in the following table. Read-only. * * @return PrintJobProcessingState|null The state */ public function getState() { if (array_key_exists("state", $this->_propDict)) { if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["state"])) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new PrintJobProcessingState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * The print job's current processing state. Valid values are described in the following table. Read-only. * * @param PrintJobProcessingState $val The value to assign to the state * * @return PrintJobStatus The PrintJobStatus */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } }