Beispiel #1
0
 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);
 }
Beispiel #2
0
 public void appendExcludes(FlightSeatTypeJSON.TypeValue new_value)
 {
     appendExcludes(new FlightSeatTypeJSON(new_value));
 }