_propDict)) { return $this->_propDict["activityId"]; } else { return null; } } /** * Sets the activityId * * @param string $val The value of the activityId * * @return ClassificationInnerError */ public function setActivityId($val) { $this->_propDict["activityId"] = $val; return $this; } /** * Gets the clientRequestId * * @return string|null The clientRequestId */ public function getClientRequestId() { if (array_key_exists("clientRequestId", $this->_propDict)) { return $this->_propDict["clientRequestId"]; } else { return null; } } /** * Sets the clientRequestId * * @param string $val The value of the clientRequestId * * @return ClassificationInnerError */ public function setClientRequestId($val) { $this->_propDict["clientRequestId"] = $val; return $this; } /** * Gets the code * * @return string|null The code */ public function getCode() { if (array_key_exists("code", $this->_propDict)) { return $this->_propDict["code"]; } else { return null; } } /** * Sets the code * * @param string $val The value of the code * * @return ClassificationInnerError */ public function setCode($val) { $this->_propDict["code"] = $val; return $this; } /** * Gets the errorDateTime * * @return \DateTime|null The errorDateTime */ public function getErrorDateTime() { if (array_key_exists("errorDateTime", $this->_propDict)) { if (is_a($this->_propDict["errorDateTime"], "\DateTime") || is_null($this->_propDict["errorDateTime"])) { return $this->_propDict["errorDateTime"]; } else { $this->_propDict["errorDateTime"] = new \DateTime($this->_propDict["errorDateTime"]); return $this->_propDict["errorDateTime"]; } } return null; } /** * Sets the errorDateTime * * @param \DateTime $val The value to assign to the errorDateTime * * @return ClassificationInnerError The ClassificationInnerError */ public function setErrorDateTime($val) { $this->_propDict["errorDateTime"] = $val; return $this; } }