_propDict)) { if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { return $this->_propDict["completionDateTime"]; } else { $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); return $this->_propDict["completionDateTime"]; } } return null; } /** * Sets the completionDateTime * * @param \DateTime $val The completionDateTime * * @return ExactMatchJobBase */ public function setCompletionDateTime($val) { $this->_propDict["completionDateTime"] = $val; return $this; } /** * Gets the creationDateTime * * @return \DateTime|null The creationDateTime */ public function getCreationDateTime() { if (array_key_exists("creationDateTime", $this->_propDict)) { if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { return $this->_propDict["creationDateTime"]; } else { $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); return $this->_propDict["creationDateTime"]; } } return null; } /** * Sets the creationDateTime * * @param \DateTime $val The creationDateTime * * @return ExactMatchJobBase */ public function setCreationDateTime($val) { $this->_propDict["creationDateTime"] = $val; return $this; } /** * Gets the error * * @return ClassificationError|null The error */ public function getError() { if (array_key_exists("error", $this->_propDict)) { if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\ClassificationError") || is_null($this->_propDict["error"])) { return $this->_propDict["error"]; } else { $this->_propDict["error"] = new ClassificationError($this->_propDict["error"]); return $this->_propDict["error"]; } } return null; } /** * Sets the error * * @param ClassificationError $val The error * * @return ExactMatchJobBase */ public function setError($val) { $this->_propDict["error"] = $val; return $this; } /** * Gets the lastUpdatedDateTime * * @return \DateTime|null The lastUpdatedDateTime */ public function getLastUpdatedDateTime() { if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) { return $this->_propDict["lastUpdatedDateTime"]; } else { $this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]); return $this->_propDict["lastUpdatedDateTime"]; } } return null; } /** * Sets the lastUpdatedDateTime * * @param \DateTime $val The lastUpdatedDateTime * * @return ExactMatchJobBase */ public function setLastUpdatedDateTime($val) { $this->_propDict["lastUpdatedDateTime"] = $val; return $this; } /** * Gets the startDateTime * * @return \DateTime|null The startDateTime */ public function getStartDateTime() { if (array_key_exists("startDateTime", $this->_propDict)) { if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { return $this->_propDict["startDateTime"]; } else { $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); return $this->_propDict["startDateTime"]; } } return null; } /** * Sets the startDateTime * * @param \DateTime $val The startDateTime * * @return ExactMatchJobBase */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } }