_propDict)) { if (is_a($this->_propDict["conversationIdentityType"], "\Microsoft\Graph\Model\TeamworkConversationIdentityType") || is_null($this->_propDict["conversationIdentityType"])) { return $this->_propDict["conversationIdentityType"]; } else { $this->_propDict["conversationIdentityType"] = new TeamworkConversationIdentityType($this->_propDict["conversationIdentityType"]); return $this->_propDict["conversationIdentityType"]; } } return null; } /** * Sets the conversationIdentityType * Type of conversation. Possible values are: team, channel, chat, and unknownFutureValue. * * @param TeamworkConversationIdentityType $val The value to assign to the conversationIdentityType * * @return TeamworkConversationIdentity The TeamworkConversationIdentity */ public function setConversationIdentityType($val) { $this->_propDict["conversationIdentityType"] = $val; return $this; } }