_propDict)) { if (is_a($this->_propDict["applicationIdentityType"], "\Microsoft\Graph\Model\TeamworkApplicationIdentityType") || is_null($this->_propDict["applicationIdentityType"])) { return $this->_propDict["applicationIdentityType"]; } else { $this->_propDict["applicationIdentityType"] = new TeamworkApplicationIdentityType($this->_propDict["applicationIdentityType"]); return $this->_propDict["applicationIdentityType"]; } } return null; } /** * Sets the applicationIdentityType * Type of application that is referenced. Possible values are: aadApplication, bot, tenantBot, office365Connector, outgoingWebhook, and unknownFutureValue. * * @param TeamworkApplicationIdentityType $val The value to assign to the applicationIdentityType * * @return TeamworkApplicationIdentity The TeamworkApplicationIdentity */ public function setApplicationIdentityType($val) { $this->_propDict["applicationIdentityType"] = $val; return $this; } }