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