public void appendExcludes(string chars) { FlightSeatTypeJSON.TypeValueKnownValues known = FlightSeatTypeJSON.stringToValue(chars); FlightSeatTypeJSON.TypeValue new_value = new FlightSeatTypeJSON.TypeValue(); if (known == FlightSeatTypeJSON.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; } appendExcludes(new_value); }
public void appendExcludes(FlightSeatTypeJSON.TypeValue new_value) { appendExcludes(new FlightSeatTypeJSON(new_value)); }