setODataType("#microsoft.graph.omaSettingDateTime"); } /** * Gets the value * Value. * * @return \DateTime|null The value */ public function getValue() { if (array_key_exists("value", $this->_propDict)) { if (is_a($this->_propDict["value"], "\DateTime") || is_null($this->_propDict["value"])) { return $this->_propDict["value"]; } else { $this->_propDict["value"] = new \DateTime($this->_propDict["value"]); return $this->_propDict["value"]; } } return null; } /** * Sets the value * Value. * * @param \DateTime $val The value to assign to the value * * @return OmaSettingDateTime The OmaSettingDateTime */ public function setValue($val) { $this->_propDict["value"] = $val; return $this; } }