_propDict)) { if (is_a($this->_propDict["dependencyType"], "\Beta\Microsoft\Graph\Model\MobileAppDependencyType") || is_null($this->_propDict["dependencyType"])) { return $this->_propDict["dependencyType"]; } else { $this->_propDict["dependencyType"] = new MobileAppDependencyType($this->_propDict["dependencyType"]); return $this->_propDict["dependencyType"]; } } return null; } /** * Sets the dependencyType * The type of dependency relationship between the parent and child apps. Possible values are: detect, autoInstall. * * @param MobileAppDependencyType $val The dependencyType * * @return MobileAppDependency */ public function setDependencyType($val) { $this->_propDict["dependencyType"] = $val; return $this; } /** * Gets the dependentAppCount * The total number of apps that directly or indirectly depend on the parent app. * * @return int|null The dependentAppCount */ public function getDependentAppCount() { if (array_key_exists("dependentAppCount", $this->_propDict)) { return $this->_propDict["dependentAppCount"]; } else { return null; } } /** * Sets the dependentAppCount * The total number of apps that directly or indirectly depend on the parent app. * * @param int $val The dependentAppCount * * @return MobileAppDependency */ public function setDependentAppCount($val) { $this->_propDict["dependentAppCount"] = intval($val); return $this; } /** * Gets the dependsOnAppCount * The total number of apps the child app directly or indirectly depends on. * * @return int|null The dependsOnAppCount */ public function getDependsOnAppCount() { if (array_key_exists("dependsOnAppCount", $this->_propDict)) { return $this->_propDict["dependsOnAppCount"]; } else { return null; } } /** * Sets the dependsOnAppCount * The total number of apps the child app directly or indirectly depends on. * * @param int $val The dependsOnAppCount * * @return MobileAppDependency */ public function setDependsOnAppCount($val) { $this->_propDict["dependsOnAppCount"] = intval($val); return $this; } }