public void setActionOnSelection(string chars) { DisambiguateLocationActionOnSelectionJSON.TypeValueKnownValues known = DisambiguateLocationActionOnSelectionJSON.stringToValue(chars); DisambiguateLocationActionOnSelectionJSON.TypeValue new_value = new DisambiguateLocationActionOnSelectionJSON.TypeValue(); if (known == DisambiguateLocationActionOnSelectionJSON.TypeValueKnownValues.Value__none) { new_value.in_known_list = false; new_value.string_value = chars; } else { new_value.in_known_list = true; new_value.list_value = known; } setActionOnSelection(new_value); }
public void setActionOnSelection(DisambiguateLocationActionOnSelectionJSON.TypeValue new_value) { setActionOnSelection(new DisambiguateLocationActionOnSelectionJSON(new_value)); }