public void translateToMap() {
   if (CPIUpdIn != null) {
     CPIUpdIn.resetFlags(true, true);
     addInput(
         "CorridorPlanId",
         CPIObjectHelper.toMap(CPIUpdIn, new HashMap(), "CorridorPlanId").get("CorridorPlanId"));
   }
 }
 /**
  * Constructor to create a CorridorPlanIdFindRequest
  *
  * @param id Unique request name
  * @param CPIFindIn CPIObjectFilter for CorridorPlanIdFindRequest
  */
 @JsonCreator
 public CorridorPlanIdFindRequest(
     @JsonProperty("RequestId") String id,
     @JsonProperty("CorridorPlanId") CPIObjectFilter CPIFindIn) {
   super(id, "CorridorPlanIdFind");
   if (CPIFindIn != null) {
     Integer index = CPIFindIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "CorridorPlanId",
         CPIObjectHelper.toMap(CPIFindIn, new HashMap(), "CorridorPlanId").get("CorridorPlanId"));
   }
 }