_propDict)) { if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { return $this->_propDict["eventDateTime"]; } else { $this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]); return $this->_propDict["eventDateTime"]; } } return null; } /** * Sets the eventDateTime * Time when the event occurred . * * @param \DateTime $val The eventDateTime * * @return DeviceManagementTroubleshootingEvent */ public function setEventDateTime($val) { $this->_propDict["eventDateTime"] = $val; return $this; } /** * Gets the correlationId * Id used for tracing the failure in the service. * * @return string The correlationId */ public function getCorrelationId() { if (array_key_exists("correlationId", $this->_propDict)) { return $this->_propDict["correlationId"]; } else { return null; } } /** * Sets the correlationId * Id used for tracing the failure in the service. * * @param string $val The correlationId * * @return DeviceManagementTroubleshootingEvent */ public function setCorrelationId($val) { $this->_propDict["correlationId"] = $val; return $this; } }