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