Exemple #1
0
 protected void finish(SportsOlympicsBasicAttributeArgumentQueryTypeJSON result)
 {
     if (fieldGeneratorType.have_value)
     {
         result.setType(fieldGeneratorType.value);
         fieldGeneratorType.have_value = false;
     }
     else if ((!(result.hasType())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"Type\" field was missing.");
     }
     base.finish(result);
 }