_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 JobResponseBase */ public function setCreationDateTime($val) { $this->_propDict["creationDateTime"] = $val; return $this; } /** * Gets the endDateTime * * @return \DateTime|null The endDateTime */ public function getEndDateTime() { if (array_key_exists("endDateTime", $this->_propDict)) { if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { return $this->_propDict["endDateTime"]; } else { $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); return $this->_propDict["endDateTime"]; } } return null; } /** * Sets the endDateTime * * @param \DateTime $val The endDateTime * * @return JobResponseBase */ public function setEndDateTime($val) { $this->_propDict["endDateTime"] = $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 JobResponseBase */ public function setError($val) { $this->_propDict["error"] = $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 JobResponseBase */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } /** * Gets the status * * @return string|null The status */ public function getStatus() { if (array_key_exists("status", $this->_propDict)) { return $this->_propDict["status"]; } else { return null; } } /** * Sets the status * * @param string $val The status * * @return JobResponseBase */ public function setStatus($val) { $this->_propDict["status"] = $val; return $this; } /** * Gets the tenantId * * @return string|null The tenantId */ public function getTenantId() { if (array_key_exists("tenantId", $this->_propDict)) { return $this->_propDict["tenantId"]; } else { return null; } } /** * Sets the tenantId * * @param string $val The tenantId * * @return JobResponseBase */ public function setTenantId($val) { $this->_propDict["tenantId"] = $val; return $this; } /** * Gets the type * * @return string|null The type */ public function getType() { if (array_key_exists("type", $this->_propDict)) { return $this->_propDict["type"]; } else { return null; } } /** * Sets the type * * @param string $val The type * * @return JobResponseBase */ public function setType($val) { $this->_propDict["type"] = $val; return $this; } /** * Gets the userId * * @return string|null The userId */ public function getUserId() { if (array_key_exists("userId", $this->_propDict)) { return $this->_propDict["userId"]; } else { return null; } } /** * Sets the userId * * @param string $val The userId * * @return JobResponseBase */ public function setUserId($val) { $this->_propDict["userId"] = $val; return $this; } }