protected void finish(TypeNativeDataJSON result)
 {
     if (fieldGeneratorRequestedApp.have_value)
     {
         result.setRequestedApp(fieldGeneratorRequestedApp.value);
         fieldGeneratorRequestedApp.have_value = false;
     }
     else if ((!(result.hasRequestedApp())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"RequestedApp\" field was missing.");
     }
 }