_propDict)) { if (is_a($this->_propDict["appAvailability"], "\Microsoft\Graph\Model\ManagedAppAvailability") || is_null($this->_propDict["appAvailability"])) { return $this->_propDict["appAvailability"]; } else { $this->_propDict["appAvailability"] = new ManagedAppAvailability($this->_propDict["appAvailability"]); return $this->_propDict["appAvailability"]; } } return null; } /** * Sets the appAvailability * The Application's availability. Possible values are: global, lineOfBusiness. * * @param ManagedAppAvailability $val The appAvailability * * @return ManagedApp */ public function setAppAvailability($val) { $this->_propDict["appAvailability"] = $val; return $this; } /** * Gets the version * The Application's version. * * @return string|null The version */ public function getVersion() { if (array_key_exists("version", $this->_propDict)) { return $this->_propDict["version"]; } else { return null; } } /** * Sets the version * The Application's version. * * @param string $val The version * * @return ManagedApp */ public function setVersion($val) { $this->_propDict["version"] = $val; return $this; } }