_propDict)) { return $this->_propDict["details"]; } else { return null; } } /** * Sets the details * More details about service event. This property doesn't support filters. * * @param KeyValuePair[] $val The details * * @return ServiceAnnouncementBase */ public function setDetails($val) { $this->_propDict["details"] = $val; return $this; } /** * Gets the endDateTime * The end time of the service event. * * @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 * The end time of the service event. * * @param \DateTime $val The endDateTime * * @return ServiceAnnouncementBase */ public function setEndDateTime($val) { $this->_propDict["endDateTime"] = $val; return $this; } /** * Gets the lastModifiedDateTime * The last modified time of the service event. * * @return \DateTime|null The lastModifiedDateTime */ public function getLastModifiedDateTime() { if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { return $this->_propDict["lastModifiedDateTime"]; } else { $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); return $this->_propDict["lastModifiedDateTime"]; } } return null; } /** * Sets the lastModifiedDateTime * The last modified time of the service event. * * @param \DateTime $val The lastModifiedDateTime * * @return ServiceAnnouncementBase */ public function setLastModifiedDateTime($val) { $this->_propDict["lastModifiedDateTime"] = $val; return $this; } /** * Gets the startDateTime * The start time of the service event. * * @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 * The start time of the service event. * * @param \DateTime $val The startDateTime * * @return ServiceAnnouncementBase */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } /** * Gets the title * The title of the service event. * * @return string|null The title */ public function getTitle() { if (array_key_exists("title", $this->_propDict)) { return $this->_propDict["title"]; } else { return null; } } /** * Sets the title * The title of the service event. * * @param string $val The title * * @return ServiceAnnouncementBase */ public function setTitle($val) { $this->_propDict["title"] = $val; return $this; } }