public void translateToMap() {
   if (noOpIn != null) {
     noOpIn.resetFlags(true, true);
     addInput(
         "BatchRequestSegment",
         BatchRequestSegmentObjectHelper.toMap(noOpIn, new HashMap(), "BatchRequestSegment")
             .get("BatchRequestSegment"));
   }
 }
 public void translateFromMap() {
   noOpIn = BatchRequestSegmentObjectHelper.fromMap(inputMap, "BatchRequestSegment");
 }