setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance"); } /** * Gets the choiceSettingValue * Choice setting value * * @return DeviceManagementConfigurationChoiceSettingValue|null The choiceSettingValue */ public function getChoiceSettingValue() { if (array_key_exists("choiceSettingValue", $this->_propDict)) { if (is_a($this->_propDict["choiceSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValue") || is_null($this->_propDict["choiceSettingValue"])) { return $this->_propDict["choiceSettingValue"]; } else { $this->_propDict["choiceSettingValue"] = new DeviceManagementConfigurationChoiceSettingValue($this->_propDict["choiceSettingValue"]); return $this->_propDict["choiceSettingValue"]; } } return null; } /** * Sets the choiceSettingValue * Choice setting value * * @param DeviceManagementConfigurationChoiceSettingValue $val The value to assign to the choiceSettingValue * * @return DeviceManagementConfigurationChoiceSettingInstance The DeviceManagementConfigurationChoiceSettingInstance */ public function setChoiceSettingValue($val) { $this->_propDict["choiceSettingValue"] = $val; return $this; } }