public void translateToMap() {
   if (noOpIn != null) {
     noOpIn.resetFlags(true, true);
     addInput(
         "CorridorPlan",
         CPObjectHelper.toMap(noOpIn, new HashMap(), "CorridorPlan").get("CorridorPlan"));
   }
 }
 /**
  * Constructor to create a CorridorPlanFindRequest
  *
  * @param id Unique request name
  * @param CPFindIn CPObjectFilter for CorridorPlanFindRequest
  */
 @JsonCreator
 public CorridorPlanFindRequest(
     @JsonProperty("RequestId") String id, @JsonProperty("CorridorPlan") CPObjectFilter CPFindIn) {
   super(id, "CorridorPlanFind");
   if (CPFindIn != null) {
     Integer index = CPFindIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "CorridorPlan",
         CPObjectHelper.toMap(CPFindIn, new HashMap(), "CorridorPlan").get("CorridorPlan"));
   }
 }