public void translateToMap() {
   if (BilledUsagefindAccountCountIn != null) {
     Integer index = BilledUsagefindAccountCountIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "BilledUsage",
         BilledUsageAccountObjectHelper.toMap(
                 BilledUsagefindAccountCountIn, new HashMap(), "TotalCount")
             .get("TotalCount"));
   }
   if (LatestInvoice1 != null) {
     addInput("LatestInvoice", LatestInvoice1);
   }
 }
 public void translateFromMap() {
   BilledUsagefindAccountCountIn =
       BilledUsageAccountObjectHelper.fromMapFilter(inputMap, "BilledUsage");
   LatestInvoice1 = (Boolean) inputMap.get("LatestInvoice");
 }