_propDict)) { if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValue") || is_null($this->_propDict["defaultValue"])) { return $this->_propDict["defaultValue"]; } else { $this->_propDict["defaultValue"] = new DeviceManagementConfigurationSettingValue($this->_propDict["defaultValue"]); return $this->_propDict["defaultValue"]; } } return null; } /** * Sets the defaultValue * Default setting value for this setting * * @param DeviceManagementConfigurationSettingValue $val The defaultValue * * @return DeviceManagementConfigurationSimpleSettingDefinition */ public function setDefaultValue($val) { $this->_propDict["defaultValue"] = $val; return $this; } /** * Gets the dependedOnBy * list of child settings that depend on this setting * * @return array|null The dependedOnBy */ public function getDependedOnBy() { if (array_key_exists("dependedOnBy", $this->_propDict)) { return $this->_propDict["dependedOnBy"]; } else { return null; } } /** * Sets the dependedOnBy * list of child settings that depend on this setting * * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy * * @return DeviceManagementConfigurationSimpleSettingDefinition */ public function setDependedOnBy($val) { $this->_propDict["dependedOnBy"] = $val; return $this; } /** * Gets the dependentOn * list of parent settings this setting is dependent on * * @return array|null The dependentOn */ public function getDependentOn() { if (array_key_exists("dependentOn", $this->_propDict)) { return $this->_propDict["dependentOn"]; } else { return null; } } /** * Sets the dependentOn * list of parent settings this setting is dependent on * * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn * * @return DeviceManagementConfigurationSimpleSettingDefinition */ public function setDependentOn($val) { $this->_propDict["dependentOn"] = $val; return $this; } /** * Gets the valueDefinition * Definition of the value for this setting * * @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition */ public function getValueDefinition() { if (array_key_exists("valueDefinition", $this->_propDict)) { if (is_a($this->_propDict["valueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValueDefinition") || is_null($this->_propDict["valueDefinition"])) { return $this->_propDict["valueDefinition"]; } else { $this->_propDict["valueDefinition"] = new DeviceManagementConfigurationSettingValueDefinition($this->_propDict["valueDefinition"]); return $this->_propDict["valueDefinition"]; } } return null; } /** * Sets the valueDefinition * Definition of the value for this setting * * @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition * * @return DeviceManagementConfigurationSimpleSettingDefinition */ public function setValueDefinition($val) { $this->_propDict["valueDefinition"] = $val; return $this; } }