Subversion Repositories SmartDukaan

Rev

Rev 22717 | Rev 23118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22717 Rev 22721
Line 387... Line 387...
387
 
387
 
388
    public void addInventoryInBulk(List<BulkAddInventory> bulkInventoryList) throws InventoryServiceException, org.apache.thrift.TException;
388
    public void addInventoryInBulk(List<BulkAddInventory> bulkInventoryList) throws InventoryServiceException, org.apache.thrift.TException;
389
 
389
 
390
    public Map<Long,Long> getFofoAvailability(List<Long> itemIds) throws org.apache.thrift.TException;
390
    public Map<Long,Long> getFofoAvailability(List<Long> itemIds) throws org.apache.thrift.TException;
391
 
391
 
-
 
392
    public Map<Long,Warehouse> getFofoFulFillmentWarehouseMap(List<Long> itemIds) throws org.apache.thrift.TException;
-
 
393
 
392
    public List<ItemLocationAvailability> getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations) throws org.apache.thrift.TException;
394
    public List<ItemLocationAvailability> getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations) throws org.apache.thrift.TException;
393
 
395
 
394
    public List<ItemLocationAvailability> getItemLocationAvailabilityCacheByItemId(List<Long> itemIds) throws org.apache.thrift.TException;
396
    public List<ItemLocationAvailability> getItemLocationAvailabilityCacheByItemId(List<Long> itemIds) throws org.apache.thrift.TException;
395
 
397
 
396
    public String getItemPincodeAvailability(Map<Long,Long> itempricing, String pincode) throws org.apache.thrift.TException;
398
    public String getItemPincodeAvailability(Map<Long,Long> itempricing, String pincode) throws org.apache.thrift.TException;
Line 565... Line 567...
565
 
567
 
566
    public void addInventoryInBulk(List<BulkAddInventory> bulkInventoryList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInventoryInBulk_call> resultHandler) throws org.apache.thrift.TException;
568
    public void addInventoryInBulk(List<BulkAddInventory> bulkInventoryList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addInventoryInBulk_call> resultHandler) throws org.apache.thrift.TException;
567
 
569
 
568
    public void getFofoAvailability(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFofoAvailability_call> resultHandler) throws org.apache.thrift.TException;
570
    public void getFofoAvailability(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFofoAvailability_call> resultHandler) throws org.apache.thrift.TException;
569
 
571
 
-
 
572
    public void getFofoFulFillmentWarehouseMap(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFofoFulFillmentWarehouseMap_call> resultHandler) throws org.apache.thrift.TException;
-
 
573
 
570
    public void getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemLocationAvailabilityCache_call> resultHandler) throws org.apache.thrift.TException;
574
    public void getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemLocationAvailabilityCache_call> resultHandler) throws org.apache.thrift.TException;
571
 
575
 
572
    public void getItemLocationAvailabilityCacheByItemId(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemLocationAvailabilityCacheByItemId_call> resultHandler) throws org.apache.thrift.TException;
576
    public void getItemLocationAvailabilityCacheByItemId(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemLocationAvailabilityCacheByItemId_call> resultHandler) throws org.apache.thrift.TException;
573
 
577
 
574
    public void getItemPincodeAvailability(Map<Long,Long> itempricing, String pincode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemPincodeAvailability_call> resultHandler) throws org.apache.thrift.TException;
578
    public void getItemPincodeAvailability(Map<Long,Long> itempricing, String pincode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemPincodeAvailability_call> resultHandler) throws org.apache.thrift.TException;
Line 2574... Line 2578...
2574
        return result.success;
2578
        return result.success;
2575
      }
2579
      }
2576
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFofoAvailability failed: unknown result");
2580
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFofoAvailability failed: unknown result");
2577
    }
2581
    }
2578
 
2582
 
-
 
2583
    public Map<Long,Warehouse> getFofoFulFillmentWarehouseMap(List<Long> itemIds) throws org.apache.thrift.TException
-
 
2584
    {
-
 
2585
      send_getFofoFulFillmentWarehouseMap(itemIds);
-
 
2586
      return recv_getFofoFulFillmentWarehouseMap();
-
 
2587
    }
-
 
2588
 
-
 
2589
    public void send_getFofoFulFillmentWarehouseMap(List<Long> itemIds) throws org.apache.thrift.TException
-
 
2590
    {
-
 
2591
      getFofoFulFillmentWarehouseMap_args args = new getFofoFulFillmentWarehouseMap_args();
-
 
2592
      args.setItemIds(itemIds);
-
 
2593
      sendBase("getFofoFulFillmentWarehouseMap", args);
-
 
2594
    }
-
 
2595
 
-
 
2596
    public Map<Long,Warehouse> recv_getFofoFulFillmentWarehouseMap() throws org.apache.thrift.TException
-
 
2597
    {
-
 
2598
      getFofoFulFillmentWarehouseMap_result result = new getFofoFulFillmentWarehouseMap_result();
-
 
2599
      receiveBase(result, "getFofoFulFillmentWarehouseMap");
-
 
2600
      if (result.isSetSuccess()) {
-
 
2601
        return result.success;
-
 
2602
      }
-
 
2603
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFofoFulFillmentWarehouseMap failed: unknown result");
-
 
2604
    }
-
 
2605
 
2579
    public List<ItemLocationAvailability> getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations) throws org.apache.thrift.TException
2606
    public List<ItemLocationAvailability> getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations) throws org.apache.thrift.TException
2580
    {
2607
    {
2581
      send_getItemLocationAvailabilityCache(itemLocations);
2608
      send_getItemLocationAvailabilityCache(itemLocations);
2582
      return recv_getItemLocationAvailabilityCache();
2609
      return recv_getItemLocationAvailabilityCache();
2583
    }
2610
    }
Line 5497... Line 5524...
5497
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5524
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5498
        return (new Client(prot)).recv_getFofoAvailability();
5525
        return (new Client(prot)).recv_getFofoAvailability();
5499
      }
5526
      }
5500
    }
5527
    }
5501
 
5528
 
-
 
5529
    public void getFofoFulFillmentWarehouseMap(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<getFofoFulFillmentWarehouseMap_call> resultHandler) throws org.apache.thrift.TException {
-
 
5530
      checkReady();
-
 
5531
      getFofoFulFillmentWarehouseMap_call method_call = new getFofoFulFillmentWarehouseMap_call(itemIds, resultHandler, this, ___protocolFactory, ___transport);
-
 
5532
      this.___currentMethod = method_call;
-
 
5533
      ___manager.call(method_call);
-
 
5534
    }
-
 
5535
 
-
 
5536
    public static class getFofoFulFillmentWarehouseMap_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5537
      private List<Long> itemIds;
-
 
5538
      public getFofoFulFillmentWarehouseMap_call(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<getFofoFulFillmentWarehouseMap_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
5539
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5540
        this.itemIds = itemIds;
-
 
5541
      }
-
 
5542
 
-
 
5543
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5544
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFofoFulFillmentWarehouseMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5545
        getFofoFulFillmentWarehouseMap_args args = new getFofoFulFillmentWarehouseMap_args();
-
 
5546
        args.setItemIds(itemIds);
-
 
5547
        args.write(prot);
-
 
5548
        prot.writeMessageEnd();
-
 
5549
      }
-
 
5550
 
-
 
5551
      public Map<Long,Warehouse> getResult() throws org.apache.thrift.TException {
-
 
5552
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5553
          throw new IllegalStateException("Method call not finished!");
-
 
5554
        }
-
 
5555
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5556
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5557
        return (new Client(prot)).recv_getFofoFulFillmentWarehouseMap();
-
 
5558
      }
-
 
5559
    }
-
 
5560
 
5502
    public void getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations, org.apache.thrift.async.AsyncMethodCallback<getItemLocationAvailabilityCache_call> resultHandler) throws org.apache.thrift.TException {
5561
    public void getItemLocationAvailabilityCache(List<ItemLocationAvailability> itemLocations, org.apache.thrift.async.AsyncMethodCallback<getItemLocationAvailabilityCache_call> resultHandler) throws org.apache.thrift.TException {
5503
      checkReady();
5562
      checkReady();
5504
      getItemLocationAvailabilityCache_call method_call = new getItemLocationAvailabilityCache_call(itemLocations, resultHandler, this, ___protocolFactory, ___transport);
5563
      getItemLocationAvailabilityCache_call method_call = new getItemLocationAvailabilityCache_call(itemLocations, resultHandler, this, ___protocolFactory, ___transport);
5505
      this.___currentMethod = method_call;
5564
      this.___currentMethod = method_call;
5506
      ___manager.call(method_call);
5565
      ___manager.call(method_call);
Line 5693... Line 5752...
5693
      processMap.put("getAllAvailableAmazonFbaItemInventory", new getAllAvailableAmazonFbaItemInventory());
5752
      processMap.put("getAllAvailableAmazonFbaItemInventory", new getAllAvailableAmazonFbaItemInventory());
5694
      processMap.put("updateItemAvailabilityForItemIds", new updateItemAvailabilityForItemIds());
5753
      processMap.put("updateItemAvailabilityForItemIds", new updateItemAvailabilityForItemIds());
5695
      processMap.put("addVendorItemPricingInBulk", new addVendorItemPricingInBulk());
5754
      processMap.put("addVendorItemPricingInBulk", new addVendorItemPricingInBulk());
5696
      processMap.put("addInventoryInBulk", new addInventoryInBulk());
5755
      processMap.put("addInventoryInBulk", new addInventoryInBulk());
5697
      processMap.put("getFofoAvailability", new getFofoAvailability());
5756
      processMap.put("getFofoAvailability", new getFofoAvailability());
-
 
5757
      processMap.put("getFofoFulFillmentWarehouseMap", new getFofoFulFillmentWarehouseMap());
5698
      processMap.put("getItemLocationAvailabilityCache", new getItemLocationAvailabilityCache());
5758
      processMap.put("getItemLocationAvailabilityCache", new getItemLocationAvailabilityCache());
5699
      processMap.put("getItemLocationAvailabilityCacheByItemId", new getItemLocationAvailabilityCacheByItemId());
5759
      processMap.put("getItemLocationAvailabilityCacheByItemId", new getItemLocationAvailabilityCacheByItemId());
5700
      processMap.put("getItemPincodeAvailability", new getItemPincodeAvailability());
5760
      processMap.put("getItemPincodeAvailability", new getItemPincodeAvailability());
5701
      return processMap;
5761
      return processMap;
5702
    }
5762
    }
Line 7158... Line 7218...
7158
        result.success = iface.getFofoAvailability(args.itemIds);
7218
        result.success = iface.getFofoAvailability(args.itemIds);
7159
        return result;
7219
        return result;
7160
      }
7220
      }
7161
    }
7221
    }
7162
 
7222
 
-
 
7223
    private static class getFofoFulFillmentWarehouseMap<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getFofoFulFillmentWarehouseMap_args> {
-
 
7224
      public getFofoFulFillmentWarehouseMap() {
-
 
7225
        super("getFofoFulFillmentWarehouseMap");
-
 
7226
      }
-
 
7227
 
-
 
7228
      protected getFofoFulFillmentWarehouseMap_args getEmptyArgsInstance() {
-
 
7229
        return new getFofoFulFillmentWarehouseMap_args();
-
 
7230
      }
-
 
7231
 
-
 
7232
      protected getFofoFulFillmentWarehouseMap_result getResult(I iface, getFofoFulFillmentWarehouseMap_args args) throws org.apache.thrift.TException {
-
 
7233
        getFofoFulFillmentWarehouseMap_result result = new getFofoFulFillmentWarehouseMap_result();
-
 
7234
        result.success = iface.getFofoFulFillmentWarehouseMap(args.itemIds);
-
 
7235
        return result;
-
 
7236
      }
-
 
7237
    }
-
 
7238
 
7163
    private static class getItemLocationAvailabilityCache<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getItemLocationAvailabilityCache_args> {
7239
    private static class getItemLocationAvailabilityCache<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getItemLocationAvailabilityCache_args> {
7164
      public getItemLocationAvailabilityCache() {
7240
      public getItemLocationAvailabilityCache() {
7165
        super("getItemLocationAvailabilityCache");
7241
        super("getItemLocationAvailabilityCache");
7166
      }
7242
      }
7167
 
7243
 
Line 62336... Line 62412...
62336
      }
62412
      }
62337
    }
62413
    }
62338
 
62414
 
62339
  }
62415
  }
62340
 
62416
 
-
 
62417
  public static class getFofoFulFillmentWarehouseMap_args implements org.apache.thrift.TBase<getFofoFulFillmentWarehouseMap_args, getFofoFulFillmentWarehouseMap_args._Fields>, java.io.Serializable, Cloneable   {
-
 
62418
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFofoFulFillmentWarehouseMap_args");
-
 
62419
 
-
 
62420
    private static final org.apache.thrift.protocol.TField ITEM_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIds", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
62421
 
-
 
62422
    private List<Long> itemIds; // required
-
 
62423
 
-
 
62424
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
62425
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
62426
      ITEM_IDS((short)1, "itemIds");
-
 
62427
 
-
 
62428
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
62429
 
-
 
62430
      static {
-
 
62431
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
62432
          byName.put(field.getFieldName(), field);
-
 
62433
        }
-
 
62434
      }
-
 
62435
 
-
 
62436
      /**
-
 
62437
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
62438
       */
-
 
62439
      public static _Fields findByThriftId(int fieldId) {
-
 
62440
        switch(fieldId) {
-
 
62441
          case 1: // ITEM_IDS
-
 
62442
            return ITEM_IDS;
-
 
62443
          default:
-
 
62444
            return null;
-
 
62445
        }
-
 
62446
      }
-
 
62447
 
-
 
62448
      /**
-
 
62449
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
62450
       * if it is not found.
-
 
62451
       */
-
 
62452
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
62453
        _Fields fields = findByThriftId(fieldId);
-
 
62454
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
62455
        return fields;
-
 
62456
      }
-
 
62457
 
-
 
62458
      /**
-
 
62459
       * Find the _Fields constant that matches name, or null if its not found.
-
 
62460
       */
-
 
62461
      public static _Fields findByName(String name) {
-
 
62462
        return byName.get(name);
-
 
62463
      }
-
 
62464
 
-
 
62465
      private final short _thriftId;
-
 
62466
      private final String _fieldName;
-
 
62467
 
-
 
62468
      _Fields(short thriftId, String fieldName) {
-
 
62469
        _thriftId = thriftId;
-
 
62470
        _fieldName = fieldName;
-
 
62471
      }
-
 
62472
 
-
 
62473
      public short getThriftFieldId() {
-
 
62474
        return _thriftId;
-
 
62475
      }
-
 
62476
 
-
 
62477
      public String getFieldName() {
-
 
62478
        return _fieldName;
-
 
62479
      }
-
 
62480
    }
-
 
62481
 
-
 
62482
    // isset id assignments
-
 
62483
 
-
 
62484
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
62485
    static {
-
 
62486
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
62487
      tmpMap.put(_Fields.ITEM_IDS, new org.apache.thrift.meta_data.FieldMetaData("itemIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
62488
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
62489
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
62490
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
62491
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFofoFulFillmentWarehouseMap_args.class, metaDataMap);
-
 
62492
    }
-
 
62493
 
-
 
62494
    public getFofoFulFillmentWarehouseMap_args() {
-
 
62495
    }
-
 
62496
 
-
 
62497
    public getFofoFulFillmentWarehouseMap_args(
-
 
62498
      List<Long> itemIds)
-
 
62499
    {
-
 
62500
      this();
-
 
62501
      this.itemIds = itemIds;
-
 
62502
    }
-
 
62503
 
-
 
62504
    /**
-
 
62505
     * Performs a deep copy on <i>other</i>.
-
 
62506
     */
-
 
62507
    public getFofoFulFillmentWarehouseMap_args(getFofoFulFillmentWarehouseMap_args other) {
-
 
62508
      if (other.isSetItemIds()) {
-
 
62509
        List<Long> __this__itemIds = new ArrayList<Long>();
-
 
62510
        for (Long other_element : other.itemIds) {
-
 
62511
          __this__itemIds.add(other_element);
-
 
62512
        }
-
 
62513
        this.itemIds = __this__itemIds;
-
 
62514
      }
-
 
62515
    }
-
 
62516
 
-
 
62517
    public getFofoFulFillmentWarehouseMap_args deepCopy() {
-
 
62518
      return new getFofoFulFillmentWarehouseMap_args(this);
-
 
62519
    }
-
 
62520
 
-
 
62521
    @Override
-
 
62522
    public void clear() {
-
 
62523
      this.itemIds = null;
-
 
62524
    }
-
 
62525
 
-
 
62526
    public int getItemIdsSize() {
-
 
62527
      return (this.itemIds == null) ? 0 : this.itemIds.size();
-
 
62528
    }
-
 
62529
 
-
 
62530
    public java.util.Iterator<Long> getItemIdsIterator() {
-
 
62531
      return (this.itemIds == null) ? null : this.itemIds.iterator();
-
 
62532
    }
-
 
62533
 
-
 
62534
    public void addToItemIds(long elem) {
-
 
62535
      if (this.itemIds == null) {
-
 
62536
        this.itemIds = new ArrayList<Long>();
-
 
62537
      }
-
 
62538
      this.itemIds.add(elem);
-
 
62539
    }
-
 
62540
 
-
 
62541
    public List<Long> getItemIds() {
-
 
62542
      return this.itemIds;
-
 
62543
    }
-
 
62544
 
-
 
62545
    public void setItemIds(List<Long> itemIds) {
-
 
62546
      this.itemIds = itemIds;
-
 
62547
    }
-
 
62548
 
-
 
62549
    public void unsetItemIds() {
-
 
62550
      this.itemIds = null;
-
 
62551
    }
-
 
62552
 
-
 
62553
    /** Returns true if field itemIds is set (has been assigned a value) and false otherwise */
-
 
62554
    public boolean isSetItemIds() {
-
 
62555
      return this.itemIds != null;
-
 
62556
    }
-
 
62557
 
-
 
62558
    public void setItemIdsIsSet(boolean value) {
-
 
62559
      if (!value) {
-
 
62560
        this.itemIds = null;
-
 
62561
      }
-
 
62562
    }
-
 
62563
 
-
 
62564
    public void setFieldValue(_Fields field, Object value) {
-
 
62565
      switch (field) {
-
 
62566
      case ITEM_IDS:
-
 
62567
        if (value == null) {
-
 
62568
          unsetItemIds();
-
 
62569
        } else {
-
 
62570
          setItemIds((List<Long>)value);
-
 
62571
        }
-
 
62572
        break;
-
 
62573
 
-
 
62574
      }
-
 
62575
    }
-
 
62576
 
-
 
62577
    public Object getFieldValue(_Fields field) {
-
 
62578
      switch (field) {
-
 
62579
      case ITEM_IDS:
-
 
62580
        return getItemIds();
-
 
62581
 
-
 
62582
      }
-
 
62583
      throw new IllegalStateException();
-
 
62584
    }
-
 
62585
 
-
 
62586
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
62587
    public boolean isSet(_Fields field) {
-
 
62588
      if (field == null) {
-
 
62589
        throw new IllegalArgumentException();
-
 
62590
      }
-
 
62591
 
-
 
62592
      switch (field) {
-
 
62593
      case ITEM_IDS:
-
 
62594
        return isSetItemIds();
-
 
62595
      }
-
 
62596
      throw new IllegalStateException();
-
 
62597
    }
-
 
62598
 
-
 
62599
    @Override
-
 
62600
    public boolean equals(Object that) {
-
 
62601
      if (that == null)
-
 
62602
        return false;
-
 
62603
      if (that instanceof getFofoFulFillmentWarehouseMap_args)
-
 
62604
        return this.equals((getFofoFulFillmentWarehouseMap_args)that);
-
 
62605
      return false;
-
 
62606
    }
-
 
62607
 
-
 
62608
    public boolean equals(getFofoFulFillmentWarehouseMap_args that) {
-
 
62609
      if (that == null)
-
 
62610
        return false;
-
 
62611
 
-
 
62612
      boolean this_present_itemIds = true && this.isSetItemIds();
-
 
62613
      boolean that_present_itemIds = true && that.isSetItemIds();
-
 
62614
      if (this_present_itemIds || that_present_itemIds) {
-
 
62615
        if (!(this_present_itemIds && that_present_itemIds))
-
 
62616
          return false;
-
 
62617
        if (!this.itemIds.equals(that.itemIds))
-
 
62618
          return false;
-
 
62619
      }
-
 
62620
 
-
 
62621
      return true;
-
 
62622
    }
-
 
62623
 
-
 
62624
    @Override
-
 
62625
    public int hashCode() {
-
 
62626
      return 0;
-
 
62627
    }
-
 
62628
 
-
 
62629
    public int compareTo(getFofoFulFillmentWarehouseMap_args other) {
-
 
62630
      if (!getClass().equals(other.getClass())) {
-
 
62631
        return getClass().getName().compareTo(other.getClass().getName());
-
 
62632
      }
-
 
62633
 
-
 
62634
      int lastComparison = 0;
-
 
62635
      getFofoFulFillmentWarehouseMap_args typedOther = (getFofoFulFillmentWarehouseMap_args)other;
-
 
62636
 
-
 
62637
      lastComparison = Boolean.valueOf(isSetItemIds()).compareTo(typedOther.isSetItemIds());
-
 
62638
      if (lastComparison != 0) {
-
 
62639
        return lastComparison;
-
 
62640
      }
-
 
62641
      if (isSetItemIds()) {
-
 
62642
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemIds, typedOther.itemIds);
-
 
62643
        if (lastComparison != 0) {
-
 
62644
          return lastComparison;
-
 
62645
        }
-
 
62646
      }
-
 
62647
      return 0;
-
 
62648
    }
-
 
62649
 
-
 
62650
    public _Fields fieldForId(int fieldId) {
-
 
62651
      return _Fields.findByThriftId(fieldId);
-
 
62652
    }
-
 
62653
 
-
 
62654
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
62655
      org.apache.thrift.protocol.TField field;
-
 
62656
      iprot.readStructBegin();
-
 
62657
      while (true)
-
 
62658
      {
-
 
62659
        field = iprot.readFieldBegin();
-
 
62660
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
62661
          break;
-
 
62662
        }
-
 
62663
        switch (field.id) {
-
 
62664
          case 1: // ITEM_IDS
-
 
62665
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
62666
              {
-
 
62667
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
-
 
62668
                this.itemIds = new ArrayList<Long>(_list221.size);
-
 
62669
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
-
 
62670
                {
-
 
62671
                  long _elem223; // required
-
 
62672
                  _elem223 = iprot.readI64();
-
 
62673
                  this.itemIds.add(_elem223);
-
 
62674
                }
-
 
62675
                iprot.readListEnd();
-
 
62676
              }
-
 
62677
            } else { 
-
 
62678
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
62679
            }
-
 
62680
            break;
-
 
62681
          default:
-
 
62682
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
62683
        }
-
 
62684
        iprot.readFieldEnd();
-
 
62685
      }
-
 
62686
      iprot.readStructEnd();
-
 
62687
      validate();
-
 
62688
    }
-
 
62689
 
-
 
62690
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
62691
      validate();
-
 
62692
 
-
 
62693
      oprot.writeStructBegin(STRUCT_DESC);
-
 
62694
      if (this.itemIds != null) {
-
 
62695
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
-
 
62696
        {
-
 
62697
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
-
 
62698
          for (long _iter224 : this.itemIds)
-
 
62699
          {
-
 
62700
            oprot.writeI64(_iter224);
-
 
62701
          }
-
 
62702
          oprot.writeListEnd();
-
 
62703
        }
-
 
62704
        oprot.writeFieldEnd();
-
 
62705
      }
-
 
62706
      oprot.writeFieldStop();
-
 
62707
      oprot.writeStructEnd();
-
 
62708
    }
-
 
62709
 
-
 
62710
    @Override
-
 
62711
    public String toString() {
-
 
62712
      StringBuilder sb = new StringBuilder("getFofoFulFillmentWarehouseMap_args(");
-
 
62713
      boolean first = true;
-
 
62714
 
-
 
62715
      sb.append("itemIds:");
-
 
62716
      if (this.itemIds == null) {
-
 
62717
        sb.append("null");
-
 
62718
      } else {
-
 
62719
        sb.append(this.itemIds);
-
 
62720
      }
-
 
62721
      first = false;
-
 
62722
      sb.append(")");
-
 
62723
      return sb.toString();
-
 
62724
    }
-
 
62725
 
-
 
62726
    public void validate() throws org.apache.thrift.TException {
-
 
62727
      // check for required fields
-
 
62728
    }
-
 
62729
 
-
 
62730
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
62731
      try {
-
 
62732
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
62733
      } catch (org.apache.thrift.TException te) {
-
 
62734
        throw new java.io.IOException(te);
-
 
62735
      }
-
 
62736
    }
-
 
62737
 
-
 
62738
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
62739
      try {
-
 
62740
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
62741
      } catch (org.apache.thrift.TException te) {
-
 
62742
        throw new java.io.IOException(te);
-
 
62743
      }
-
 
62744
    }
-
 
62745
 
-
 
62746
  }
-
 
62747
 
-
 
62748
  public static class getFofoFulFillmentWarehouseMap_result implements org.apache.thrift.TBase<getFofoFulFillmentWarehouseMap_result, getFofoFulFillmentWarehouseMap_result._Fields>, java.io.Serializable, Cloneable   {
-
 
62749
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getFofoFulFillmentWarehouseMap_result");
-
 
62750
 
-
 
62751
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
62752
 
-
 
62753
    private Map<Long,Warehouse> success; // required
-
 
62754
 
-
 
62755
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
62756
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
62757
      SUCCESS((short)0, "success");
-
 
62758
 
-
 
62759
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
62760
 
-
 
62761
      static {
-
 
62762
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
62763
          byName.put(field.getFieldName(), field);
-
 
62764
        }
-
 
62765
      }
-
 
62766
 
-
 
62767
      /**
-
 
62768
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
62769
       */
-
 
62770
      public static _Fields findByThriftId(int fieldId) {
-
 
62771
        switch(fieldId) {
-
 
62772
          case 0: // SUCCESS
-
 
62773
            return SUCCESS;
-
 
62774
          default:
-
 
62775
            return null;
-
 
62776
        }
-
 
62777
      }
-
 
62778
 
-
 
62779
      /**
-
 
62780
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
62781
       * if it is not found.
-
 
62782
       */
-
 
62783
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
62784
        _Fields fields = findByThriftId(fieldId);
-
 
62785
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
62786
        return fields;
-
 
62787
      }
-
 
62788
 
-
 
62789
      /**
-
 
62790
       * Find the _Fields constant that matches name, or null if its not found.
-
 
62791
       */
-
 
62792
      public static _Fields findByName(String name) {
-
 
62793
        return byName.get(name);
-
 
62794
      }
-
 
62795
 
-
 
62796
      private final short _thriftId;
-
 
62797
      private final String _fieldName;
-
 
62798
 
-
 
62799
      _Fields(short thriftId, String fieldName) {
-
 
62800
        _thriftId = thriftId;
-
 
62801
        _fieldName = fieldName;
-
 
62802
      }
-
 
62803
 
-
 
62804
      public short getThriftFieldId() {
-
 
62805
        return _thriftId;
-
 
62806
      }
-
 
62807
 
-
 
62808
      public String getFieldName() {
-
 
62809
        return _fieldName;
-
 
62810
      }
-
 
62811
    }
-
 
62812
 
-
 
62813
    // isset id assignments
-
 
62814
 
-
 
62815
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
62816
    static {
-
 
62817
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
62818
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
62819
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
62820
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
62821
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Warehouse.class))));
-
 
62822
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
62823
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getFofoFulFillmentWarehouseMap_result.class, metaDataMap);
-
 
62824
    }
-
 
62825
 
-
 
62826
    public getFofoFulFillmentWarehouseMap_result() {
-
 
62827
    }
-
 
62828
 
-
 
62829
    public getFofoFulFillmentWarehouseMap_result(
-
 
62830
      Map<Long,Warehouse> success)
-
 
62831
    {
-
 
62832
      this();
-
 
62833
      this.success = success;
-
 
62834
    }
-
 
62835
 
-
 
62836
    /**
-
 
62837
     * Performs a deep copy on <i>other</i>.
-
 
62838
     */
-
 
62839
    public getFofoFulFillmentWarehouseMap_result(getFofoFulFillmentWarehouseMap_result other) {
-
 
62840
      if (other.isSetSuccess()) {
-
 
62841
        Map<Long,Warehouse> __this__success = new HashMap<Long,Warehouse>();
-
 
62842
        for (Map.Entry<Long, Warehouse> other_element : other.success.entrySet()) {
-
 
62843
 
-
 
62844
          Long other_element_key = other_element.getKey();
-
 
62845
          Warehouse other_element_value = other_element.getValue();
-
 
62846
 
-
 
62847
          Long __this__success_copy_key = other_element_key;
-
 
62848
 
-
 
62849
          Warehouse __this__success_copy_value = new Warehouse(other_element_value);
-
 
62850
 
-
 
62851
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
62852
        }
-
 
62853
        this.success = __this__success;
-
 
62854
      }
-
 
62855
    }
-
 
62856
 
-
 
62857
    public getFofoFulFillmentWarehouseMap_result deepCopy() {
-
 
62858
      return new getFofoFulFillmentWarehouseMap_result(this);
-
 
62859
    }
-
 
62860
 
-
 
62861
    @Override
-
 
62862
    public void clear() {
-
 
62863
      this.success = null;
-
 
62864
    }
-
 
62865
 
-
 
62866
    public int getSuccessSize() {
-
 
62867
      return (this.success == null) ? 0 : this.success.size();
-
 
62868
    }
-
 
62869
 
-
 
62870
    public void putToSuccess(long key, Warehouse val) {
-
 
62871
      if (this.success == null) {
-
 
62872
        this.success = new HashMap<Long,Warehouse>();
-
 
62873
      }
-
 
62874
      this.success.put(key, val);
-
 
62875
    }
-
 
62876
 
-
 
62877
    public Map<Long,Warehouse> getSuccess() {
-
 
62878
      return this.success;
-
 
62879
    }
-
 
62880
 
-
 
62881
    public void setSuccess(Map<Long,Warehouse> success) {
-
 
62882
      this.success = success;
-
 
62883
    }
-
 
62884
 
-
 
62885
    public void unsetSuccess() {
-
 
62886
      this.success = null;
-
 
62887
    }
-
 
62888
 
-
 
62889
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
62890
    public boolean isSetSuccess() {
-
 
62891
      return this.success != null;
-
 
62892
    }
-
 
62893
 
-
 
62894
    public void setSuccessIsSet(boolean value) {
-
 
62895
      if (!value) {
-
 
62896
        this.success = null;
-
 
62897
      }
-
 
62898
    }
-
 
62899
 
-
 
62900
    public void setFieldValue(_Fields field, Object value) {
-
 
62901
      switch (field) {
-
 
62902
      case SUCCESS:
-
 
62903
        if (value == null) {
-
 
62904
          unsetSuccess();
-
 
62905
        } else {
-
 
62906
          setSuccess((Map<Long,Warehouse>)value);
-
 
62907
        }
-
 
62908
        break;
-
 
62909
 
-
 
62910
      }
-
 
62911
    }
-
 
62912
 
-
 
62913
    public Object getFieldValue(_Fields field) {
-
 
62914
      switch (field) {
-
 
62915
      case SUCCESS:
-
 
62916
        return getSuccess();
-
 
62917
 
-
 
62918
      }
-
 
62919
      throw new IllegalStateException();
-
 
62920
    }
-
 
62921
 
-
 
62922
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
62923
    public boolean isSet(_Fields field) {
-
 
62924
      if (field == null) {
-
 
62925
        throw new IllegalArgumentException();
-
 
62926
      }
-
 
62927
 
-
 
62928
      switch (field) {
-
 
62929
      case SUCCESS:
-
 
62930
        return isSetSuccess();
-
 
62931
      }
-
 
62932
      throw new IllegalStateException();
-
 
62933
    }
-
 
62934
 
-
 
62935
    @Override
-
 
62936
    public boolean equals(Object that) {
-
 
62937
      if (that == null)
-
 
62938
        return false;
-
 
62939
      if (that instanceof getFofoFulFillmentWarehouseMap_result)
-
 
62940
        return this.equals((getFofoFulFillmentWarehouseMap_result)that);
-
 
62941
      return false;
-
 
62942
    }
-
 
62943
 
-
 
62944
    public boolean equals(getFofoFulFillmentWarehouseMap_result that) {
-
 
62945
      if (that == null)
-
 
62946
        return false;
-
 
62947
 
-
 
62948
      boolean this_present_success = true && this.isSetSuccess();
-
 
62949
      boolean that_present_success = true && that.isSetSuccess();
-
 
62950
      if (this_present_success || that_present_success) {
-
 
62951
        if (!(this_present_success && that_present_success))
-
 
62952
          return false;
-
 
62953
        if (!this.success.equals(that.success))
-
 
62954
          return false;
-
 
62955
      }
-
 
62956
 
-
 
62957
      return true;
-
 
62958
    }
-
 
62959
 
-
 
62960
    @Override
-
 
62961
    public int hashCode() {
-
 
62962
      return 0;
-
 
62963
    }
-
 
62964
 
-
 
62965
    public int compareTo(getFofoFulFillmentWarehouseMap_result other) {
-
 
62966
      if (!getClass().equals(other.getClass())) {
-
 
62967
        return getClass().getName().compareTo(other.getClass().getName());
-
 
62968
      }
-
 
62969
 
-
 
62970
      int lastComparison = 0;
-
 
62971
      getFofoFulFillmentWarehouseMap_result typedOther = (getFofoFulFillmentWarehouseMap_result)other;
-
 
62972
 
-
 
62973
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
62974
      if (lastComparison != 0) {
-
 
62975
        return lastComparison;
-
 
62976
      }
-
 
62977
      if (isSetSuccess()) {
-
 
62978
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
62979
        if (lastComparison != 0) {
-
 
62980
          return lastComparison;
-
 
62981
        }
-
 
62982
      }
-
 
62983
      return 0;
-
 
62984
    }
-
 
62985
 
-
 
62986
    public _Fields fieldForId(int fieldId) {
-
 
62987
      return _Fields.findByThriftId(fieldId);
-
 
62988
    }
-
 
62989
 
-
 
62990
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
62991
      org.apache.thrift.protocol.TField field;
-
 
62992
      iprot.readStructBegin();
-
 
62993
      while (true)
-
 
62994
      {
-
 
62995
        field = iprot.readFieldBegin();
-
 
62996
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
62997
          break;
-
 
62998
        }
-
 
62999
        switch (field.id) {
-
 
63000
          case 0: // SUCCESS
-
 
63001
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
63002
              {
-
 
63003
                org.apache.thrift.protocol.TMap _map225 = iprot.readMapBegin();
-
 
63004
                this.success = new HashMap<Long,Warehouse>(2*_map225.size);
-
 
63005
                for (int _i226 = 0; _i226 < _map225.size; ++_i226)
-
 
63006
                {
-
 
63007
                  long _key227; // required
-
 
63008
                  Warehouse _val228; // required
-
 
63009
                  _key227 = iprot.readI64();
-
 
63010
                  _val228 = new Warehouse();
-
 
63011
                  _val228.read(iprot);
-
 
63012
                  this.success.put(_key227, _val228);
-
 
63013
                }
-
 
63014
                iprot.readMapEnd();
-
 
63015
              }
-
 
63016
            } else { 
-
 
63017
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
63018
            }
-
 
63019
            break;
-
 
63020
          default:
-
 
63021
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
63022
        }
-
 
63023
        iprot.readFieldEnd();
-
 
63024
      }
-
 
63025
      iprot.readStructEnd();
-
 
63026
      validate();
-
 
63027
    }
-
 
63028
 
-
 
63029
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
63030
      oprot.writeStructBegin(STRUCT_DESC);
-
 
63031
 
-
 
63032
      if (this.isSetSuccess()) {
-
 
63033
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
63034
        {
-
 
63035
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
63036
          for (Map.Entry<Long, Warehouse> _iter229 : this.success.entrySet())
-
 
63037
          {
-
 
63038
            oprot.writeI64(_iter229.getKey());
-
 
63039
            _iter229.getValue().write(oprot);
-
 
63040
          }
-
 
63041
          oprot.writeMapEnd();
-
 
63042
        }
-
 
63043
        oprot.writeFieldEnd();
-
 
63044
      }
-
 
63045
      oprot.writeFieldStop();
-
 
63046
      oprot.writeStructEnd();
-
 
63047
    }
-
 
63048
 
-
 
63049
    @Override
-
 
63050
    public String toString() {
-
 
63051
      StringBuilder sb = new StringBuilder("getFofoFulFillmentWarehouseMap_result(");
-
 
63052
      boolean first = true;
-
 
63053
 
-
 
63054
      sb.append("success:");
-
 
63055
      if (this.success == null) {
-
 
63056
        sb.append("null");
-
 
63057
      } else {
-
 
63058
        sb.append(this.success);
-
 
63059
      }
-
 
63060
      first = false;
-
 
63061
      sb.append(")");
-
 
63062
      return sb.toString();
-
 
63063
    }
-
 
63064
 
-
 
63065
    public void validate() throws org.apache.thrift.TException {
-
 
63066
      // check for required fields
-
 
63067
    }
-
 
63068
 
-
 
63069
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
63070
      try {
-
 
63071
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
63072
      } catch (org.apache.thrift.TException te) {
-
 
63073
        throw new java.io.IOException(te);
-
 
63074
      }
-
 
63075
    }
-
 
63076
 
-
 
63077
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
63078
      try {
-
 
63079
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
63080
      } catch (org.apache.thrift.TException te) {
-
 
63081
        throw new java.io.IOException(te);
-
 
63082
      }
-
 
63083
    }
-
 
63084
 
-
 
63085
  }
-
 
63086
 
62341
  public static class getItemLocationAvailabilityCache_args implements org.apache.thrift.TBase<getItemLocationAvailabilityCache_args, getItemLocationAvailabilityCache_args._Fields>, java.io.Serializable, Cloneable   {
63087
  public static class getItemLocationAvailabilityCache_args implements org.apache.thrift.TBase<getItemLocationAvailabilityCache_args, getItemLocationAvailabilityCache_args._Fields>, java.io.Serializable, Cloneable   {
62342
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemLocationAvailabilityCache_args");
63088
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemLocationAvailabilityCache_args");
62343
 
63089
 
62344
    private static final org.apache.thrift.protocol.TField ITEM_LOCATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemLocations", org.apache.thrift.protocol.TType.LIST, (short)1);
63090
    private static final org.apache.thrift.protocol.TField ITEM_LOCATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemLocations", org.apache.thrift.protocol.TType.LIST, (short)1);
62345
 
63091
 
Line 62586... Line 63332...
62586
        }
63332
        }
62587
        switch (field.id) {
63333
        switch (field.id) {
62588
          case 1: // ITEM_LOCATIONS
63334
          case 1: // ITEM_LOCATIONS
62589
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63335
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62590
              {
63336
              {
62591
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
63337
                org.apache.thrift.protocol.TList _list230 = iprot.readListBegin();
62592
                this.itemLocations = new ArrayList<ItemLocationAvailability>(_list221.size);
63338
                this.itemLocations = new ArrayList<ItemLocationAvailability>(_list230.size);
62593
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
63339
                for (int _i231 = 0; _i231 < _list230.size; ++_i231)
62594
                {
63340
                {
62595
                  ItemLocationAvailability _elem223; // required
63341
                  ItemLocationAvailability _elem232; // required
62596
                  _elem223 = new ItemLocationAvailability();
63342
                  _elem232 = new ItemLocationAvailability();
62597
                  _elem223.read(iprot);
63343
                  _elem232.read(iprot);
62598
                  this.itemLocations.add(_elem223);
63344
                  this.itemLocations.add(_elem232);
62599
                }
63345
                }
62600
                iprot.readListEnd();
63346
                iprot.readListEnd();
62601
              }
63347
              }
62602
            } else { 
63348
            } else { 
62603
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63349
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62618... Line 63364...
62618
      oprot.writeStructBegin(STRUCT_DESC);
63364
      oprot.writeStructBegin(STRUCT_DESC);
62619
      if (this.itemLocations != null) {
63365
      if (this.itemLocations != null) {
62620
        oprot.writeFieldBegin(ITEM_LOCATIONS_FIELD_DESC);
63366
        oprot.writeFieldBegin(ITEM_LOCATIONS_FIELD_DESC);
62621
        {
63367
        {
62622
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.itemLocations.size()));
63368
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.itemLocations.size()));
62623
          for (ItemLocationAvailability _iter224 : this.itemLocations)
63369
          for (ItemLocationAvailability _iter233 : this.itemLocations)
62624
          {
63370
          {
62625
            _iter224.write(oprot);
63371
            _iter233.write(oprot);
62626
          }
63372
          }
62627
          oprot.writeListEnd();
63373
          oprot.writeListEnd();
62628
        }
63374
        }
62629
        oprot.writeFieldEnd();
63375
        oprot.writeFieldEnd();
62630
      }
63376
      }
Line 62918... Line 63664...
62918
        }
63664
        }
62919
        switch (field.id) {
63665
        switch (field.id) {
62920
          case 0: // SUCCESS
63666
          case 0: // SUCCESS
62921
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63667
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62922
              {
63668
              {
62923
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
63669
                org.apache.thrift.protocol.TList _list234 = iprot.readListBegin();
62924
                this.success = new ArrayList<ItemLocationAvailability>(_list225.size);
63670
                this.success = new ArrayList<ItemLocationAvailability>(_list234.size);
62925
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
63671
                for (int _i235 = 0; _i235 < _list234.size; ++_i235)
62926
                {
63672
                {
62927
                  ItemLocationAvailability _elem227; // required
63673
                  ItemLocationAvailability _elem236; // required
62928
                  _elem227 = new ItemLocationAvailability();
63674
                  _elem236 = new ItemLocationAvailability();
62929
                  _elem227.read(iprot);
63675
                  _elem236.read(iprot);
62930
                  this.success.add(_elem227);
63676
                  this.success.add(_elem236);
62931
                }
63677
                }
62932
                iprot.readListEnd();
63678
                iprot.readListEnd();
62933
              }
63679
              }
62934
            } else { 
63680
            } else { 
62935
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63681
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62949... Line 63695...
62949
 
63695
 
62950
      if (this.isSetSuccess()) {
63696
      if (this.isSetSuccess()) {
62951
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63697
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62952
        {
63698
        {
62953
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63699
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62954
          for (ItemLocationAvailability _iter228 : this.success)
63700
          for (ItemLocationAvailability _iter237 : this.success)
62955
          {
63701
          {
62956
            _iter228.write(oprot);
63702
            _iter237.write(oprot);
62957
          }
63703
          }
62958
          oprot.writeListEnd();
63704
          oprot.writeListEnd();
62959
        }
63705
        }
62960
        oprot.writeFieldEnd();
63706
        oprot.writeFieldEnd();
62961
      }
63707
      }
Line 63249... Line 63995...
63249
        }
63995
        }
63250
        switch (field.id) {
63996
        switch (field.id) {
63251
          case 1: // ITEM_IDS
63997
          case 1: // ITEM_IDS
63252
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63998
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63253
              {
63999
              {
63254
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
64000
                org.apache.thrift.protocol.TList _list238 = iprot.readListBegin();
63255
                this.itemIds = new ArrayList<Long>(_list229.size);
64001
                this.itemIds = new ArrayList<Long>(_list238.size);
63256
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
64002
                for (int _i239 = 0; _i239 < _list238.size; ++_i239)
63257
                {
64003
                {
63258
                  long _elem231; // required
64004
                  long _elem240; // required
63259
                  _elem231 = iprot.readI64();
64005
                  _elem240 = iprot.readI64();
63260
                  this.itemIds.add(_elem231);
64006
                  this.itemIds.add(_elem240);
63261
                }
64007
                }
63262
                iprot.readListEnd();
64008
                iprot.readListEnd();
63263
              }
64009
              }
63264
            } else { 
64010
            } else { 
63265
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64011
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63280... Line 64026...
63280
      oprot.writeStructBegin(STRUCT_DESC);
64026
      oprot.writeStructBegin(STRUCT_DESC);
63281
      if (this.itemIds != null) {
64027
      if (this.itemIds != null) {
63282
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
64028
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
63283
        {
64029
        {
63284
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
64030
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
63285
          for (long _iter232 : this.itemIds)
64031
          for (long _iter241 : this.itemIds)
63286
          {
64032
          {
63287
            oprot.writeI64(_iter232);
64033
            oprot.writeI64(_iter241);
63288
          }
64034
          }
63289
          oprot.writeListEnd();
64035
          oprot.writeListEnd();
63290
        }
64036
        }
63291
        oprot.writeFieldEnd();
64037
        oprot.writeFieldEnd();
63292
      }
64038
      }
Line 63580... Line 64326...
63580
        }
64326
        }
63581
        switch (field.id) {
64327
        switch (field.id) {
63582
          case 0: // SUCCESS
64328
          case 0: // SUCCESS
63583
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64329
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63584
              {
64330
              {
63585
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
64331
                org.apache.thrift.protocol.TList _list242 = iprot.readListBegin();
63586
                this.success = new ArrayList<ItemLocationAvailability>(_list233.size);
64332
                this.success = new ArrayList<ItemLocationAvailability>(_list242.size);
63587
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
64333
                for (int _i243 = 0; _i243 < _list242.size; ++_i243)
63588
                {
64334
                {
63589
                  ItemLocationAvailability _elem235; // required
64335
                  ItemLocationAvailability _elem244; // required
63590
                  _elem235 = new ItemLocationAvailability();
64336
                  _elem244 = new ItemLocationAvailability();
63591
                  _elem235.read(iprot);
64337
                  _elem244.read(iprot);
63592
                  this.success.add(_elem235);
64338
                  this.success.add(_elem244);
63593
                }
64339
                }
63594
                iprot.readListEnd();
64340
                iprot.readListEnd();
63595
              }
64341
              }
63596
            } else { 
64342
            } else { 
63597
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64343
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63611... Line 64357...
63611
 
64357
 
63612
      if (this.isSetSuccess()) {
64358
      if (this.isSetSuccess()) {
63613
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64359
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63614
        {
64360
        {
63615
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64361
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63616
          for (ItemLocationAvailability _iter236 : this.success)
64362
          for (ItemLocationAvailability _iter245 : this.success)
63617
          {
64363
          {
63618
            _iter236.write(oprot);
64364
            _iter245.write(oprot);
63619
          }
64365
          }
63620
          oprot.writeListEnd();
64366
          oprot.writeListEnd();
63621
        }
64367
        }
63622
        oprot.writeFieldEnd();
64368
        oprot.writeFieldEnd();
63623
      }
64369
      }
Line 63984... Line 64730...
63984
        }
64730
        }
63985
        switch (field.id) {
64731
        switch (field.id) {
63986
          case 1: // ITEMPRICING
64732
          case 1: // ITEMPRICING
63987
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
64733
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
63988
              {
64734
              {
63989
                org.apache.thrift.protocol.TMap _map237 = iprot.readMapBegin();
64735
                org.apache.thrift.protocol.TMap _map246 = iprot.readMapBegin();
63990
                this.itempricing = new HashMap<Long,Long>(2*_map237.size);
64736
                this.itempricing = new HashMap<Long,Long>(2*_map246.size);
63991
                for (int _i238 = 0; _i238 < _map237.size; ++_i238)
64737
                for (int _i247 = 0; _i247 < _map246.size; ++_i247)
63992
                {
64738
                {
63993
                  long _key239; // required
64739
                  long _key248; // required
63994
                  long _val240; // required
64740
                  long _val249; // required
63995
                  _key239 = iprot.readI64();
64741
                  _key248 = iprot.readI64();
63996
                  _val240 = iprot.readI64();
64742
                  _val249 = iprot.readI64();
63997
                  this.itempricing.put(_key239, _val240);
64743
                  this.itempricing.put(_key248, _val249);
63998
                }
64744
                }
63999
                iprot.readMapEnd();
64745
                iprot.readMapEnd();
64000
              }
64746
              }
64001
            } else { 
64747
            } else { 
64002
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64748
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64024... Line 64770...
64024
      oprot.writeStructBegin(STRUCT_DESC);
64770
      oprot.writeStructBegin(STRUCT_DESC);
64025
      if (this.itempricing != null) {
64771
      if (this.itempricing != null) {
64026
        oprot.writeFieldBegin(ITEMPRICING_FIELD_DESC);
64772
        oprot.writeFieldBegin(ITEMPRICING_FIELD_DESC);
64027
        {
64773
        {
64028
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itempricing.size()));
64774
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itempricing.size()));
64029
          for (Map.Entry<Long, Long> _iter241 : this.itempricing.entrySet())
64775
          for (Map.Entry<Long, Long> _iter250 : this.itempricing.entrySet())
64030
          {
64776
          {
64031
            oprot.writeI64(_iter241.getKey());
64777
            oprot.writeI64(_iter250.getKey());
64032
            oprot.writeI64(_iter241.getValue());
64778
            oprot.writeI64(_iter250.getValue());
64033
          }
64779
          }
64034
          oprot.writeMapEnd();
64780
          oprot.writeMapEnd();
64035
        }
64781
        }
64036
        oprot.writeFieldEnd();
64782
        oprot.writeFieldEnd();
64037
      }
64783
      }