_propDict)) { return $this->_propDict["reactionType"]; } else { return null; } } /** * Sets the reactionType * * @param string $val The value of the reactionType * * @return ChatMessageReaction */ public function setReactionType($val) { $this->_propDict["reactionType"] = $val; return $this; } /** * Gets the createdDateTime * * @return \DateTime The createdDateTime */ public function getCreatedDateTime() { if (array_key_exists("createdDateTime", $this->_propDict)) { if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { return $this->_propDict["createdDateTime"]; } else { $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); return $this->_propDict["createdDateTime"]; } } return null; } /** * Sets the createdDateTime * * @param \DateTime $val The value to assign to the createdDateTime * * @return ChatMessageReaction The ChatMessageReaction */ public function setCreatedDateTime($val) { $this->_propDict["createdDateTime"] = $val; return $this; } /** * Gets the user * * @return IdentitySet The user */ public function getUser() { if (array_key_exists("user", $this->_propDict)) { if (is_a($this->_propDict["user"], "Microsoft\Graph\Model\IdentitySet")) { return $this->_propDict["user"]; } else { $this->_propDict["user"] = new IdentitySet($this->_propDict["user"]); return $this->_propDict["user"]; } } return null; } /** * Sets the user * * @param IdentitySet $val The value to assign to the user * * @return ChatMessageReaction The ChatMessageReaction */ public function setUser($val) { $this->_propDict["user"] = $val; return $this; } }