_propDict)) { if (is_a($this->_propDict["teamsApp"], "Microsoft\Graph\Model\TeamsApp")) { return $this->_propDict["teamsApp"]; } else { $this->_propDict["teamsApp"] = new TeamsApp($this->_propDict["teamsApp"]); return $this->_propDict["teamsApp"]; } } return null; } /** * Sets the teamsApp * The app that is installed. * * @param TeamsApp $val The teamsApp * * @return TeamsAppInstallation */ public function setTeamsApp($val) { $this->_propDict["teamsApp"] = $val; return $this; } /** * Gets the teamsAppDefinition * The details of this version of the app. * * @return TeamsAppDefinition The teamsAppDefinition */ public function getTeamsAppDefinition() { if (array_key_exists("teamsAppDefinition", $this->_propDict)) { if (is_a($this->_propDict["teamsAppDefinition"], "Microsoft\Graph\Model\TeamsAppDefinition")) { return $this->_propDict["teamsAppDefinition"]; } else { $this->_propDict["teamsAppDefinition"] = new TeamsAppDefinition($this->_propDict["teamsAppDefinition"]); return $this->_propDict["teamsAppDefinition"]; } } return null; } /** * Sets the teamsAppDefinition * The details of this version of the app. * * @param TeamsAppDefinition $val The teamsAppDefinition * * @return TeamsAppInstallation */ public function setTeamsAppDefinition($val) { $this->_propDict["teamsAppDefinition"] = $val; return $this; } }