_propDict)) { return $this->_propDict["entryType"]; } else { return null; } } /** * Sets the entryType * Represents the sync entity (school, section, student, teacher). * * @param string $val The entryType * * @return EducationSynchronizationError */ public function setEntryType($val) { $this->_propDict["entryType"] = $val; return $this; } /** * Gets the errorCode * Represents the error code for this error. * * @return string|null The errorCode */ public function getErrorCode() { if (array_key_exists("errorCode", $this->_propDict)) { return $this->_propDict["errorCode"]; } else { return null; } } /** * Sets the errorCode * Represents the error code for this error. * * @param string $val The errorCode * * @return EducationSynchronizationError */ public function setErrorCode($val) { $this->_propDict["errorCode"] = $val; return $this; } /** * Gets the errorMessage * Contains a description of the error. * * @return string|null The errorMessage */ public function getErrorMessage() { if (array_key_exists("errorMessage", $this->_propDict)) { return $this->_propDict["errorMessage"]; } else { return null; } } /** * Sets the errorMessage * Contains a description of the error. * * @param string $val The errorMessage * * @return EducationSynchronizationError */ public function setErrorMessage($val) { $this->_propDict["errorMessage"] = $val; return $this; } /** * Gets the joiningValue * The unique identifier for the entry. * * @return string|null The joiningValue */ public function getJoiningValue() { if (array_key_exists("joiningValue", $this->_propDict)) { return $this->_propDict["joiningValue"]; } else { return null; } } /** * Sets the joiningValue * The unique identifier for the entry. * * @param string $val The joiningValue * * @return EducationSynchronizationError */ public function setJoiningValue($val) { $this->_propDict["joiningValue"] = $val; return $this; } /** * Gets the recordedDateTime * The time of occurrence of this error. * * @return \DateTime|null The recordedDateTime */ public function getRecordedDateTime() { if (array_key_exists("recordedDateTime", $this->_propDict)) { if (is_a($this->_propDict["recordedDateTime"], "\DateTime") || is_null($this->_propDict["recordedDateTime"])) { return $this->_propDict["recordedDateTime"]; } else { $this->_propDict["recordedDateTime"] = new \DateTime($this->_propDict["recordedDateTime"]); return $this->_propDict["recordedDateTime"]; } } return null; } /** * Sets the recordedDateTime * The time of occurrence of this error. * * @param \DateTime $val The recordedDateTime * * @return EducationSynchronizationError */ public function setRecordedDateTime($val) { $this->_propDict["recordedDateTime"] = $val; return $this; } /** * Gets the reportableIdentifier * The identifier of this error entry. * * @return string|null The reportableIdentifier */ public function getReportableIdentifier() { if (array_key_exists("reportableIdentifier", $this->_propDict)) { return $this->_propDict["reportableIdentifier"]; } else { return null; } } /** * Sets the reportableIdentifier * The identifier of this error entry. * * @param string $val The reportableIdentifier * * @return EducationSynchronizationError */ public function setReportableIdentifier($val) { $this->_propDict["reportableIdentifier"] = $val; return $this; } }