_propDict)) { if (is_a($this->_propDict["conversation"], "\Beta\Microsoft\Graph\Model\TeamworkConversationIdentity") || is_null($this->_propDict["conversation"])) { return $this->_propDict["conversation"]; } else { $this->_propDict["conversation"] = new TeamworkConversationIdentity($this->_propDict["conversation"]); return $this->_propDict["conversation"]; } } return null; } /** * Sets the conversation * If present, represents a conversation (for example, team or channel) @mentioned in a message. * * @param TeamworkConversationIdentity $val The value to assign to the conversation * * @return ChatMessageMentionedIdentitySet The ChatMessageMentionedIdentitySet */ public function setConversation($val) { $this->_propDict["conversation"] = $val; return $this; } /** * Gets the tag * If present, represents a tag @mentioned in a team message. * * @return TeamworkTagIdentity|null The tag */ public function getTag() { if (array_key_exists("tag", $this->_propDict)) { if (is_a($this->_propDict["tag"], "\Beta\Microsoft\Graph\Model\TeamworkTagIdentity") || is_null($this->_propDict["tag"])) { return $this->_propDict["tag"]; } else { $this->_propDict["tag"] = new TeamworkTagIdentity($this->_propDict["tag"]); return $this->_propDict["tag"]; } } return null; } /** * Sets the tag * If present, represents a tag @mentioned in a team message. * * @param TeamworkTagIdentity $val The value to assign to the tag * * @return ChatMessageMentionedIdentitySet The ChatMessageMentionedIdentitySet */ public function setTag($val) { $this->_propDict["tag"] = $val; return $this; } }