public void translateToMap() {
   if (noOpIn != null) {
     noOpIn.resetFlags(true, true);
     addInput(
         "ExternalIdType",
         ExternalIdTypeObjectHelper.toMap(noOpIn, new HashMap(), "ExternalIdType")
             .get("ExternalIdType"));
   }
 }
 /**
  * Constructor to create a ExternalIdTypeFindEligibleNoOpRequest
  *
  * @param id Unique request name
  * @param noOpIn Simulated response object
  */
 public ExternalIdTypeFindEligibleNoOpRequest(String id, ExternalIdTypeObjectDataList noOpIn) {
   super(id, "ExternalIdTypeFindEligibleNoOpRequest");
   if (noOpIn != null) {
     Map mapList = new HashMap();
     Map[] mapArray = null;
     mapList.put("Count", noOpIn.getLength());
     mapList.put("TotalCount", noOpIn.getTotalCount());
     mapList.put("Index", noOpIn.getIndex());
     mapArray = new HashMap[noOpIn.getLength()];
     for (int i = 0; i < noOpIn.getLength(); i++) {
       mapArray[i] = ExternalIdTypeObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("ExternalIdType", noOpIn);
     }
     addInput("ExternalIdType", mapList);
   }
 }