Subversion Repositories SmartDukaan

Rev

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

Rev 12363 Rev 12523
Line 61... Line 61...
61
 
61
 
62
    public List<Item> getAllItemsByStatus(status itemStatus) throws CatalogServiceException, org.apache.thrift.TException;
62
    public List<Item> getAllItemsByStatus(status itemStatus) throws CatalogServiceException, org.apache.thrift.TException;
63
 
63
 
64
    public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid) throws CatalogServiceException, org.apache.thrift.TException;
64
    public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid) throws CatalogServiceException, org.apache.thrift.TException;
65
 
65
 
-
 
66
    public Map<Long,Double> getVatRates(long itemId, long categoryId) throws CatalogServiceException, org.apache.thrift.TException;
-
 
67
 
66
    /**
68
    /**
67
     * Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
69
     * Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
68
     * 
70
     * 
69
     * @param offset
71
     * @param offset
70
     * @param limit
72
     * @param limit
Line 570... Line 572...
570
 
572
 
571
    public List<AmazonPromotion> getAmazonPromotion(long startDate, long endDate) throws org.apache.thrift.TException;
573
    public List<AmazonPromotion> getAmazonPromotion(long startDate, long endDate) throws org.apache.thrift.TException;
572
 
574
 
573
    public boolean updateAmazonPromotion(List<AmazonPromotion> amazonPromotions) throws org.apache.thrift.TException;
575
    public boolean updateAmazonPromotion(List<AmazonPromotion> amazonPromotions) throws org.apache.thrift.TException;
574
 
576
 
-
 
577
    public boolean markPartiallyActive(long itemId, long categoryId) throws org.apache.thrift.TException;
-
 
578
 
-
 
579
    public boolean updateItemStateVat(long itemId, Map<Long,Double> statevat) throws org.apache.thrift.TException;
-
 
580
 
575
  }
581
  }
576
 
582
 
577
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
583
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
578
 
584
 
579
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
585
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 602... Line 608...
602
 
608
 
603
    public void getAllItemsByStatus(status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatus_call> resultHandler) throws org.apache.thrift.TException;
609
    public void getAllItemsByStatus(status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatus_call> resultHandler) throws org.apache.thrift.TException;
604
 
610
 
605
    public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException;
611
    public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException;
606
 
612
 
-
 
613
    public void getVatRates(long itemId, long categoryId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getVatRates_call> resultHandler) throws org.apache.thrift.TException;
-
 
614
 
607
    public void getAllItemsInRange(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsInRange_call> resultHandler) throws org.apache.thrift.TException;
615
    public void getAllItemsInRange(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsInRange_call> resultHandler) throws org.apache.thrift.TException;
608
 
616
 
609
    public void getAllItemsByStatusInRange(status itemStatus, long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatusInRange_call> resultHandler) throws org.apache.thrift.TException;
617
    public void getAllItemsByStatusInRange(status itemStatus, long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatusInRange_call> resultHandler) throws org.apache.thrift.TException;
610
 
618
 
611
    public void getItemCountByStatus(boolean useStatus, status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemCountByStatus_call> resultHandler) throws org.apache.thrift.TException;
619
    public void getItemCountByStatus(boolean useStatus, status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemCountByStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 924... Line 932...
924
 
932
 
925
    public void getAmazonPromotion(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonPromotion_call> resultHandler) throws org.apache.thrift.TException;
933
    public void getAmazonPromotion(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonPromotion_call> resultHandler) throws org.apache.thrift.TException;
926
 
934
 
927
    public void updateAmazonPromotion(List<AmazonPromotion> amazonPromotions, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonPromotion_call> resultHandler) throws org.apache.thrift.TException;
935
    public void updateAmazonPromotion(List<AmazonPromotion> amazonPromotions, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonPromotion_call> resultHandler) throws org.apache.thrift.TException;
928
 
936
 
-
 
937
    public void markPartiallyActive(long itemId, long categoryId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markPartiallyActive_call> resultHandler) throws org.apache.thrift.TException;
-
 
938
 
-
 
939
    public void updateItemStateVat(long itemId, Map<Long,Double> statevat, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateItemStateVat_call> resultHandler) throws org.apache.thrift.TException;
-
 
940
 
929
  }
941
  }
930
 
942
 
931
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
943
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
932
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
944
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
933
      public Factory() {}
945
      public Factory() {}
Line 1310... Line 1322...
1310
        throw result.cex;
1322
        throw result.cex;
1311
      }
1323
      }
1312
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1324
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1313
    }
1325
    }
1314
 
1326
 
-
 
1327
    public Map<Long,Double> getVatRates(long itemId, long categoryId) throws CatalogServiceException, org.apache.thrift.TException
-
 
1328
    {
-
 
1329
      send_getVatRates(itemId, categoryId);
-
 
1330
      return recv_getVatRates();
-
 
1331
    }
-
 
1332
 
-
 
1333
    public void send_getVatRates(long itemId, long categoryId) throws org.apache.thrift.TException
-
 
1334
    {
-
 
1335
      getVatRates_args args = new getVatRates_args();
-
 
1336
      args.setItemId(itemId);
-
 
1337
      args.setCategoryId(categoryId);
-
 
1338
      sendBase("getVatRates", args);
-
 
1339
    }
-
 
1340
 
-
 
1341
    public Map<Long,Double> recv_getVatRates() throws CatalogServiceException, org.apache.thrift.TException
-
 
1342
    {
-
 
1343
      getVatRates_result result = new getVatRates_result();
-
 
1344
      receiveBase(result, "getVatRates");
-
 
1345
      if (result.isSetSuccess()) {
-
 
1346
        return result.success;
-
 
1347
      }
-
 
1348
      if (result.cex != null) {
-
 
1349
        throw result.cex;
-
 
1350
      }
-
 
1351
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
-
 
1352
    }
-
 
1353
 
1315
    public List<Item> getAllItemsInRange(long offset, long limit) throws CatalogServiceException, org.apache.thrift.TException
1354
    public List<Item> getAllItemsInRange(long offset, long limit) throws CatalogServiceException, org.apache.thrift.TException
1316
    {
1355
    {
1317
      send_getAllItemsInRange(offset, limit);
1356
      send_getAllItemsInRange(offset, limit);
1318
      return recv_getAllItemsInRange();
1357
      return recv_getAllItemsInRange();
1319
    }
1358
    }
Line 5081... Line 5120...
5081
        return result.success;
5120
        return result.success;
5082
      }
5121
      }
5083
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
5122
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
5084
    }
5123
    }
5085
 
5124
 
-
 
5125
    public boolean markPartiallyActive(long itemId, long categoryId) throws org.apache.thrift.TException
-
 
5126
    {
-
 
5127
      send_markPartiallyActive(itemId, categoryId);
-
 
5128
      return recv_markPartiallyActive();
-
 
5129
    }
-
 
5130
 
-
 
5131
    public void send_markPartiallyActive(long itemId, long categoryId) throws org.apache.thrift.TException
-
 
5132
    {
-
 
5133
      markPartiallyActive_args args = new markPartiallyActive_args();
-
 
5134
      args.setItemId(itemId);
-
 
5135
      args.setCategoryId(categoryId);
-
 
5136
      sendBase("markPartiallyActive", args);
-
 
5137
    }
-
 
5138
 
-
 
5139
    public boolean recv_markPartiallyActive() throws org.apache.thrift.TException
-
 
5140
    {
-
 
5141
      markPartiallyActive_result result = new markPartiallyActive_result();
-
 
5142
      receiveBase(result, "markPartiallyActive");
-
 
5143
      if (result.isSetSuccess()) {
-
 
5144
        return result.success;
-
 
5145
      }
-
 
5146
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
-
 
5147
    }
-
 
5148
 
-
 
5149
    public boolean updateItemStateVat(long itemId, Map<Long,Double> statevat) throws org.apache.thrift.TException
-
 
5150
    {
-
 
5151
      send_updateItemStateVat(itemId, statevat);
-
 
5152
      return recv_updateItemStateVat();
-
 
5153
    }
-
 
5154
 
-
 
5155
    public void send_updateItemStateVat(long itemId, Map<Long,Double> statevat) throws org.apache.thrift.TException
-
 
5156
    {
-
 
5157
      updateItemStateVat_args args = new updateItemStateVat_args();
-
 
5158
      args.setItemId(itemId);
-
 
5159
      args.setStatevat(statevat);
-
 
5160
      sendBase("updateItemStateVat", args);
-
 
5161
    }
-
 
5162
 
-
 
5163
    public boolean recv_updateItemStateVat() throws org.apache.thrift.TException
-
 
5164
    {
-
 
5165
      updateItemStateVat_result result = new updateItemStateVat_result();
-
 
5166
      receiveBase(result, "updateItemStateVat");
-
 
5167
      if (result.isSetSuccess()) {
-
 
5168
        return result.success;
-
 
5169
      }
-
 
5170
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
-
 
5171
    }
-
 
5172
 
5086
  }
5173
  }
5087
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5174
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5088
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5175
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5089
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5176
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5090
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5177
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 5574... Line 5661...
5574
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5661
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5575
        return (new Client(prot)).recv_markItemAsContentComplete();
5662
        return (new Client(prot)).recv_markItemAsContentComplete();
5576
      }
5663
      }
5577
    }
5664
    }
5578
 
5665
 
-
 
5666
    public void getVatRates(long itemId, long categoryId, org.apache.thrift.async.AsyncMethodCallback<getVatRates_call> resultHandler) throws org.apache.thrift.TException {
-
 
5667
      checkReady();
-
 
5668
      getVatRates_call method_call = new getVatRates_call(itemId, categoryId, resultHandler, this, ___protocolFactory, ___transport);
-
 
5669
      this.___currentMethod = method_call;
-
 
5670
      ___manager.call(method_call);
-
 
5671
    }
-
 
5672
 
-
 
5673
    public static class getVatRates_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5674
      private long itemId;
-
 
5675
      private long categoryId;
-
 
5676
      public getVatRates_call(long itemId, long categoryId, org.apache.thrift.async.AsyncMethodCallback<getVatRates_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 {
-
 
5677
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5678
        this.itemId = itemId;
-
 
5679
        this.categoryId = categoryId;
-
 
5680
      }
-
 
5681
 
-
 
5682
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5683
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getVatRates", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5684
        getVatRates_args args = new getVatRates_args();
-
 
5685
        args.setItemId(itemId);
-
 
5686
        args.setCategoryId(categoryId);
-
 
5687
        args.write(prot);
-
 
5688
        prot.writeMessageEnd();
-
 
5689
      }
-
 
5690
 
-
 
5691
      public Map<Long,Double> getResult() throws CatalogServiceException, org.apache.thrift.TException {
-
 
5692
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5693
          throw new IllegalStateException("Method call not finished!");
-
 
5694
        }
-
 
5695
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5696
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5697
        return (new Client(prot)).recv_getVatRates();
-
 
5698
      }
-
 
5699
    }
-
 
5700
 
5579
    public void getAllItemsInRange(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<getAllItemsInRange_call> resultHandler) throws org.apache.thrift.TException {
5701
    public void getAllItemsInRange(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<getAllItemsInRange_call> resultHandler) throws org.apache.thrift.TException {
5580
      checkReady();
5702
      checkReady();
5581
      getAllItemsInRange_call method_call = new getAllItemsInRange_call(offset, limit, resultHandler, this, ___protocolFactory, ___transport);
5703
      getAllItemsInRange_call method_call = new getAllItemsInRange_call(offset, limit, resultHandler, this, ___protocolFactory, ___transport);
5582
      this.___currentMethod = method_call;
5704
      this.___currentMethod = method_call;
5583
      ___manager.call(method_call);
5705
      ___manager.call(method_call);
Line 10849... Line 10971...
10849
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10971
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10850
        return (new Client(prot)).recv_updateAmazonPromotion();
10972
        return (new Client(prot)).recv_updateAmazonPromotion();
10851
      }
10973
      }
10852
    }
10974
    }
10853
 
10975
 
-
 
10976
    public void markPartiallyActive(long itemId, long categoryId, org.apache.thrift.async.AsyncMethodCallback<markPartiallyActive_call> resultHandler) throws org.apache.thrift.TException {
-
 
10977
      checkReady();
-
 
10978
      markPartiallyActive_call method_call = new markPartiallyActive_call(itemId, categoryId, resultHandler, this, ___protocolFactory, ___transport);
-
 
10979
      this.___currentMethod = method_call;
-
 
10980
      ___manager.call(method_call);
-
 
10981
    }
-
 
10982
 
-
 
10983
    public static class markPartiallyActive_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10984
      private long itemId;
-
 
10985
      private long categoryId;
-
 
10986
      public markPartiallyActive_call(long itemId, long categoryId, org.apache.thrift.async.AsyncMethodCallback<markPartiallyActive_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 {
-
 
10987
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10988
        this.itemId = itemId;
-
 
10989
        this.categoryId = categoryId;
-
 
10990
      }
-
 
10991
 
-
 
10992
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10993
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markPartiallyActive", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10994
        markPartiallyActive_args args = new markPartiallyActive_args();
-
 
10995
        args.setItemId(itemId);
-
 
10996
        args.setCategoryId(categoryId);
-
 
10997
        args.write(prot);
-
 
10998
        prot.writeMessageEnd();
-
 
10999
      }
-
 
11000
 
-
 
11001
      public boolean getResult() throws org.apache.thrift.TException {
-
 
11002
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11003
          throw new IllegalStateException("Method call not finished!");
-
 
11004
        }
-
 
11005
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11006
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11007
        return (new Client(prot)).recv_markPartiallyActive();
-
 
11008
      }
-
 
11009
    }
-
 
11010
 
-
 
11011
    public void updateItemStateVat(long itemId, Map<Long,Double> statevat, org.apache.thrift.async.AsyncMethodCallback<updateItemStateVat_call> resultHandler) throws org.apache.thrift.TException {
-
 
11012
      checkReady();
-
 
11013
      updateItemStateVat_call method_call = new updateItemStateVat_call(itemId, statevat, resultHandler, this, ___protocolFactory, ___transport);
-
 
11014
      this.___currentMethod = method_call;
-
 
11015
      ___manager.call(method_call);
-
 
11016
    }
-
 
11017
 
-
 
11018
    public static class updateItemStateVat_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11019
      private long itemId;
-
 
11020
      private Map<Long,Double> statevat;
-
 
11021
      public updateItemStateVat_call(long itemId, Map<Long,Double> statevat, org.apache.thrift.async.AsyncMethodCallback<updateItemStateVat_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 {
-
 
11022
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11023
        this.itemId = itemId;
-
 
11024
        this.statevat = statevat;
-
 
11025
      }
-
 
11026
 
-
 
11027
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11028
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateItemStateVat", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11029
        updateItemStateVat_args args = new updateItemStateVat_args();
-
 
11030
        args.setItemId(itemId);
-
 
11031
        args.setStatevat(statevat);
-
 
11032
        args.write(prot);
-
 
11033
        prot.writeMessageEnd();
-
 
11034
      }
-
 
11035
 
-
 
11036
      public boolean getResult() throws org.apache.thrift.TException {
-
 
11037
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11038
          throw new IllegalStateException("Method call not finished!");
-
 
11039
        }
-
 
11040
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11041
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11042
        return (new Client(prot)).recv_updateItemStateVat();
-
 
11043
      }
-
 
11044
    }
-
 
11045
 
10854
  }
11046
  }
10855
 
11047
 
10856
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11048
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10857
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11049
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10858
    public Processor(I iface) {
11050
    public Processor(I iface) {
Line 10876... Line 11068...
10876
      processMap.put("getItemsByCatalogId", new getItemsByCatalogId());
11068
      processMap.put("getItemsByCatalogId", new getItemsByCatalogId());
10877
      processMap.put("getValidItemsByCatalogId", new getValidItemsByCatalogId());
11069
      processMap.put("getValidItemsByCatalogId", new getValidItemsByCatalogId());
10878
      processMap.put("getAllItems", new getAllItems());
11070
      processMap.put("getAllItems", new getAllItems());
10879
      processMap.put("getAllItemsByStatus", new getAllItemsByStatus());
11071
      processMap.put("getAllItemsByStatus", new getAllItemsByStatus());
10880
      processMap.put("markItemAsContentComplete", new markItemAsContentComplete());
11072
      processMap.put("markItemAsContentComplete", new markItemAsContentComplete());
-
 
11073
      processMap.put("getVatRates", new getVatRates());
10881
      processMap.put("getAllItemsInRange", new getAllItemsInRange());
11074
      processMap.put("getAllItemsInRange", new getAllItemsInRange());
10882
      processMap.put("getAllItemsByStatusInRange", new getAllItemsByStatusInRange());
11075
      processMap.put("getAllItemsByStatusInRange", new getAllItemsByStatusInRange());
10883
      processMap.put("getItemCountByStatus", new getItemCountByStatus());
11076
      processMap.put("getItemCountByStatus", new getItemCountByStatus());
10884
      processMap.put("getBestSellers", new getBestSellers());
11077
      processMap.put("getBestSellers", new getBestSellers());
10885
      processMap.put("getBestSellersCatalogIds", new getBestSellersCatalogIds());
11078
      processMap.put("getBestSellersCatalogIds", new getBestSellersCatalogIds());
Line 11037... Line 11230...
11037
      processMap.put("getPreviousCompetitorScraping", new getPreviousCompetitorScraping());
11230
      processMap.put("getPreviousCompetitorScraping", new getPreviousCompetitorScraping());
11038
      processMap.put("getUploadResultById", new getUploadResultById());
11231
      processMap.put("getUploadResultById", new getUploadResultById());
11039
      processMap.put("addAmazonPromotion", new addAmazonPromotion());
11232
      processMap.put("addAmazonPromotion", new addAmazonPromotion());
11040
      processMap.put("getAmazonPromotion", new getAmazonPromotion());
11233
      processMap.put("getAmazonPromotion", new getAmazonPromotion());
11041
      processMap.put("updateAmazonPromotion", new updateAmazonPromotion());
11234
      processMap.put("updateAmazonPromotion", new updateAmazonPromotion());
-
 
11235
      processMap.put("markPartiallyActive", new markPartiallyActive());
-
 
11236
      processMap.put("updateItemStateVat", new updateItemStateVat());
11042
      return processMap;
11237
      return processMap;
11043
    }
11238
    }
11044
 
11239
 
11045
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
11240
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
11046
      public addItem() {
11241
      public addItem() {
Line 11323... Line 11518...
11323
        }
11518
        }
11324
        return result;
11519
        return result;
11325
      }
11520
      }
11326
    }
11521
    }
11327
 
11522
 
-
 
11523
    private static class getVatRates<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getVatRates_args> {
-
 
11524
      public getVatRates() {
-
 
11525
        super("getVatRates");
-
 
11526
      }
-
 
11527
 
-
 
11528
      protected getVatRates_args getEmptyArgsInstance() {
-
 
11529
        return new getVatRates_args();
-
 
11530
      }
-
 
11531
 
-
 
11532
      protected getVatRates_result getResult(I iface, getVatRates_args args) throws org.apache.thrift.TException {
-
 
11533
        getVatRates_result result = new getVatRates_result();
-
 
11534
        try {
-
 
11535
          result.success = iface.getVatRates(args.itemId, args.categoryId);
-
 
11536
        } catch (CatalogServiceException cex) {
-
 
11537
          result.cex = cex;
-
 
11538
        }
-
 
11539
        return result;
-
 
11540
      }
-
 
11541
    }
-
 
11542
 
11328
    private static class getAllItemsInRange<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllItemsInRange_args> {
11543
    private static class getAllItemsInRange<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllItemsInRange_args> {
11329
      public getAllItemsInRange() {
11544
      public getAllItemsInRange() {
11330
        super("getAllItemsInRange");
11545
        super("getAllItemsInRange");
11331
      }
11546
      }
11332
 
11547
 
Line 14070... Line 14285...
14070
        result.setSuccessIsSet(true);
14285
        result.setSuccessIsSet(true);
14071
        return result;
14286
        return result;
14072
      }
14287
      }
14073
    }
14288
    }
14074
 
14289
 
-
 
14290
    private static class markPartiallyActive<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markPartiallyActive_args> {
-
 
14291
      public markPartiallyActive() {
-
 
14292
        super("markPartiallyActive");
-
 
14293
      }
-
 
14294
 
-
 
14295
      protected markPartiallyActive_args getEmptyArgsInstance() {
-
 
14296
        return new markPartiallyActive_args();
-
 
14297
      }
-
 
14298
 
-
 
14299
      protected markPartiallyActive_result getResult(I iface, markPartiallyActive_args args) throws org.apache.thrift.TException {
-
 
14300
        markPartiallyActive_result result = new markPartiallyActive_result();
-
 
14301
        result.success = iface.markPartiallyActive(args.itemId, args.categoryId);
-
 
14302
        result.setSuccessIsSet(true);
-
 
14303
        return result;
-
 
14304
      }
-
 
14305
    }
-
 
14306
 
-
 
14307
    private static class updateItemStateVat<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateItemStateVat_args> {
-
 
14308
      public updateItemStateVat() {
-
 
14309
        super("updateItemStateVat");
-
 
14310
      }
-
 
14311
 
-
 
14312
      protected updateItemStateVat_args getEmptyArgsInstance() {
-
 
14313
        return new updateItemStateVat_args();
-
 
14314
      }
-
 
14315
 
-
 
14316
      protected updateItemStateVat_result getResult(I iface, updateItemStateVat_args args) throws org.apache.thrift.TException {
-
 
14317
        updateItemStateVat_result result = new updateItemStateVat_result();
-
 
14318
        result.success = iface.updateItemStateVat(args.itemId, args.statevat);
-
 
14319
        result.setSuccessIsSet(true);
-
 
14320
        return result;
-
 
14321
      }
-
 
14322
    }
-
 
14323
 
14075
  }
14324
  }
14076
 
14325
 
14077
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
14326
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
14078
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
14327
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
14079
 
14328
 
Line 24288... Line 24537...
24288
      }
24537
      }
24289
    }
24538
    }
24290
 
24539
 
24291
  }
24540
  }
24292
 
24541
 
-
 
24542
  public static class getVatRates_args implements org.apache.thrift.TBase<getVatRates_args, getVatRates_args._Fields>, java.io.Serializable, Cloneable   {
-
 
24543
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getVatRates_args");
-
 
24544
 
-
 
24545
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
24546
    private static final org.apache.thrift.protocol.TField CATEGORY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("categoryId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
24547
 
-
 
24548
    private long itemId; // required
-
 
24549
    private long categoryId; // required
-
 
24550
 
-
 
24551
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
24552
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
24553
      ITEM_ID((short)1, "itemId"),
-
 
24554
      CATEGORY_ID((short)2, "categoryId");
-
 
24555
 
-
 
24556
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
24557
 
-
 
24558
      static {
-
 
24559
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
24560
          byName.put(field.getFieldName(), field);
-
 
24561
        }
-
 
24562
      }
-
 
24563
 
-
 
24564
      /**
-
 
24565
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
24566
       */
-
 
24567
      public static _Fields findByThriftId(int fieldId) {
-
 
24568
        switch(fieldId) {
-
 
24569
          case 1: // ITEM_ID
-
 
24570
            return ITEM_ID;
-
 
24571
          case 2: // CATEGORY_ID
-
 
24572
            return CATEGORY_ID;
-
 
24573
          default:
-
 
24574
            return null;
-
 
24575
        }
-
 
24576
      }
-
 
24577
 
-
 
24578
      /**
-
 
24579
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
24580
       * if it is not found.
-
 
24581
       */
-
 
24582
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
24583
        _Fields fields = findByThriftId(fieldId);
-
 
24584
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
24585
        return fields;
-
 
24586
      }
-
 
24587
 
-
 
24588
      /**
-
 
24589
       * Find the _Fields constant that matches name, or null if its not found.
-
 
24590
       */
-
 
24591
      public static _Fields findByName(String name) {
-
 
24592
        return byName.get(name);
-
 
24593
      }
-
 
24594
 
-
 
24595
      private final short _thriftId;
-
 
24596
      private final String _fieldName;
-
 
24597
 
-
 
24598
      _Fields(short thriftId, String fieldName) {
-
 
24599
        _thriftId = thriftId;
-
 
24600
        _fieldName = fieldName;
-
 
24601
      }
-
 
24602
 
-
 
24603
      public short getThriftFieldId() {
-
 
24604
        return _thriftId;
-
 
24605
      }
-
 
24606
 
-
 
24607
      public String getFieldName() {
-
 
24608
        return _fieldName;
-
 
24609
      }
-
 
24610
    }
-
 
24611
 
-
 
24612
    // isset id assignments
-
 
24613
    private static final int __ITEMID_ISSET_ID = 0;
-
 
24614
    private static final int __CATEGORYID_ISSET_ID = 1;
-
 
24615
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
24616
 
-
 
24617
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
24618
    static {
-
 
24619
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
24620
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
24621
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
24622
      tmpMap.put(_Fields.CATEGORY_ID, new org.apache.thrift.meta_data.FieldMetaData("categoryId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
24623
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
24624
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
24625
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVatRates_args.class, metaDataMap);
-
 
24626
    }
-
 
24627
 
-
 
24628
    public getVatRates_args() {
-
 
24629
    }
-
 
24630
 
-
 
24631
    public getVatRates_args(
-
 
24632
      long itemId,
-
 
24633
      long categoryId)
-
 
24634
    {
-
 
24635
      this();
-
 
24636
      this.itemId = itemId;
-
 
24637
      setItemIdIsSet(true);
-
 
24638
      this.categoryId = categoryId;
-
 
24639
      setCategoryIdIsSet(true);
-
 
24640
    }
-
 
24641
 
-
 
24642
    /**
-
 
24643
     * Performs a deep copy on <i>other</i>.
-
 
24644
     */
-
 
24645
    public getVatRates_args(getVatRates_args other) {
-
 
24646
      __isset_bit_vector.clear();
-
 
24647
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
24648
      this.itemId = other.itemId;
-
 
24649
      this.categoryId = other.categoryId;
-
 
24650
    }
-
 
24651
 
-
 
24652
    public getVatRates_args deepCopy() {
-
 
24653
      return new getVatRates_args(this);
-
 
24654
    }
-
 
24655
 
-
 
24656
    @Override
-
 
24657
    public void clear() {
-
 
24658
      setItemIdIsSet(false);
-
 
24659
      this.itemId = 0;
-
 
24660
      setCategoryIdIsSet(false);
-
 
24661
      this.categoryId = 0;
-
 
24662
    }
-
 
24663
 
-
 
24664
    public long getItemId() {
-
 
24665
      return this.itemId;
-
 
24666
    }
-
 
24667
 
-
 
24668
    public void setItemId(long itemId) {
-
 
24669
      this.itemId = itemId;
-
 
24670
      setItemIdIsSet(true);
-
 
24671
    }
-
 
24672
 
-
 
24673
    public void unsetItemId() {
-
 
24674
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
24675
    }
-
 
24676
 
-
 
24677
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
24678
    public boolean isSetItemId() {
-
 
24679
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
24680
    }
-
 
24681
 
-
 
24682
    public void setItemIdIsSet(boolean value) {
-
 
24683
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
24684
    }
-
 
24685
 
-
 
24686
    public long getCategoryId() {
-
 
24687
      return this.categoryId;
-
 
24688
    }
-
 
24689
 
-
 
24690
    public void setCategoryId(long categoryId) {
-
 
24691
      this.categoryId = categoryId;
-
 
24692
      setCategoryIdIsSet(true);
-
 
24693
    }
-
 
24694
 
-
 
24695
    public void unsetCategoryId() {
-
 
24696
      __isset_bit_vector.clear(__CATEGORYID_ISSET_ID);
-
 
24697
    }
-
 
24698
 
-
 
24699
    /** Returns true if field categoryId is set (has been assigned a value) and false otherwise */
-
 
24700
    public boolean isSetCategoryId() {
-
 
24701
      return __isset_bit_vector.get(__CATEGORYID_ISSET_ID);
-
 
24702
    }
-
 
24703
 
-
 
24704
    public void setCategoryIdIsSet(boolean value) {
-
 
24705
      __isset_bit_vector.set(__CATEGORYID_ISSET_ID, value);
-
 
24706
    }
-
 
24707
 
-
 
24708
    public void setFieldValue(_Fields field, Object value) {
-
 
24709
      switch (field) {
-
 
24710
      case ITEM_ID:
-
 
24711
        if (value == null) {
-
 
24712
          unsetItemId();
-
 
24713
        } else {
-
 
24714
          setItemId((Long)value);
-
 
24715
        }
-
 
24716
        break;
-
 
24717
 
-
 
24718
      case CATEGORY_ID:
-
 
24719
        if (value == null) {
-
 
24720
          unsetCategoryId();
-
 
24721
        } else {
-
 
24722
          setCategoryId((Long)value);
-
 
24723
        }
-
 
24724
        break;
-
 
24725
 
-
 
24726
      }
-
 
24727
    }
-
 
24728
 
-
 
24729
    public Object getFieldValue(_Fields field) {
-
 
24730
      switch (field) {
-
 
24731
      case ITEM_ID:
-
 
24732
        return Long.valueOf(getItemId());
-
 
24733
 
-
 
24734
      case CATEGORY_ID:
-
 
24735
        return Long.valueOf(getCategoryId());
-
 
24736
 
-
 
24737
      }
-
 
24738
      throw new IllegalStateException();
-
 
24739
    }
-
 
24740
 
-
 
24741
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
24742
    public boolean isSet(_Fields field) {
-
 
24743
      if (field == null) {
-
 
24744
        throw new IllegalArgumentException();
-
 
24745
      }
-
 
24746
 
-
 
24747
      switch (field) {
-
 
24748
      case ITEM_ID:
-
 
24749
        return isSetItemId();
-
 
24750
      case CATEGORY_ID:
-
 
24751
        return isSetCategoryId();
-
 
24752
      }
-
 
24753
      throw new IllegalStateException();
-
 
24754
    }
-
 
24755
 
-
 
24756
    @Override
-
 
24757
    public boolean equals(Object that) {
-
 
24758
      if (that == null)
-
 
24759
        return false;
-
 
24760
      if (that instanceof getVatRates_args)
-
 
24761
        return this.equals((getVatRates_args)that);
-
 
24762
      return false;
-
 
24763
    }
-
 
24764
 
-
 
24765
    public boolean equals(getVatRates_args that) {
-
 
24766
      if (that == null)
-
 
24767
        return false;
-
 
24768
 
-
 
24769
      boolean this_present_itemId = true;
-
 
24770
      boolean that_present_itemId = true;
-
 
24771
      if (this_present_itemId || that_present_itemId) {
-
 
24772
        if (!(this_present_itemId && that_present_itemId))
-
 
24773
          return false;
-
 
24774
        if (this.itemId != that.itemId)
-
 
24775
          return false;
-
 
24776
      }
-
 
24777
 
-
 
24778
      boolean this_present_categoryId = true;
-
 
24779
      boolean that_present_categoryId = true;
-
 
24780
      if (this_present_categoryId || that_present_categoryId) {
-
 
24781
        if (!(this_present_categoryId && that_present_categoryId))
-
 
24782
          return false;
-
 
24783
        if (this.categoryId != that.categoryId)
-
 
24784
          return false;
-
 
24785
      }
-
 
24786
 
-
 
24787
      return true;
-
 
24788
    }
-
 
24789
 
-
 
24790
    @Override
-
 
24791
    public int hashCode() {
-
 
24792
      return 0;
-
 
24793
    }
-
 
24794
 
-
 
24795
    public int compareTo(getVatRates_args other) {
-
 
24796
      if (!getClass().equals(other.getClass())) {
-
 
24797
        return getClass().getName().compareTo(other.getClass().getName());
-
 
24798
      }
-
 
24799
 
-
 
24800
      int lastComparison = 0;
-
 
24801
      getVatRates_args typedOther = (getVatRates_args)other;
-
 
24802
 
-
 
24803
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
24804
      if (lastComparison != 0) {
-
 
24805
        return lastComparison;
-
 
24806
      }
-
 
24807
      if (isSetItemId()) {
-
 
24808
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
24809
        if (lastComparison != 0) {
-
 
24810
          return lastComparison;
-
 
24811
        }
-
 
24812
      }
-
 
24813
      lastComparison = Boolean.valueOf(isSetCategoryId()).compareTo(typedOther.isSetCategoryId());
-
 
24814
      if (lastComparison != 0) {
-
 
24815
        return lastComparison;
-
 
24816
      }
-
 
24817
      if (isSetCategoryId()) {
-
 
24818
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.categoryId, typedOther.categoryId);
-
 
24819
        if (lastComparison != 0) {
-
 
24820
          return lastComparison;
-
 
24821
        }
-
 
24822
      }
-
 
24823
      return 0;
-
 
24824
    }
-
 
24825
 
-
 
24826
    public _Fields fieldForId(int fieldId) {
-
 
24827
      return _Fields.findByThriftId(fieldId);
-
 
24828
    }
-
 
24829
 
-
 
24830
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
24831
      org.apache.thrift.protocol.TField field;
-
 
24832
      iprot.readStructBegin();
-
 
24833
      while (true)
-
 
24834
      {
-
 
24835
        field = iprot.readFieldBegin();
-
 
24836
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
24837
          break;
-
 
24838
        }
-
 
24839
        switch (field.id) {
-
 
24840
          case 1: // ITEM_ID
-
 
24841
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
24842
              this.itemId = iprot.readI64();
-
 
24843
              setItemIdIsSet(true);
-
 
24844
            } else { 
-
 
24845
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
24846
            }
-
 
24847
            break;
-
 
24848
          case 2: // CATEGORY_ID
-
 
24849
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
24850
              this.categoryId = iprot.readI64();
-
 
24851
              setCategoryIdIsSet(true);
-
 
24852
            } else { 
-
 
24853
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
24854
            }
-
 
24855
            break;
-
 
24856
          default:
-
 
24857
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
24858
        }
-
 
24859
        iprot.readFieldEnd();
-
 
24860
      }
-
 
24861
      iprot.readStructEnd();
-
 
24862
      validate();
-
 
24863
    }
-
 
24864
 
-
 
24865
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
24866
      validate();
-
 
24867
 
-
 
24868
      oprot.writeStructBegin(STRUCT_DESC);
-
 
24869
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
24870
      oprot.writeI64(this.itemId);
-
 
24871
      oprot.writeFieldEnd();
-
 
24872
      oprot.writeFieldBegin(CATEGORY_ID_FIELD_DESC);
-
 
24873
      oprot.writeI64(this.categoryId);
-
 
24874
      oprot.writeFieldEnd();
-
 
24875
      oprot.writeFieldStop();
-
 
24876
      oprot.writeStructEnd();
-
 
24877
    }
-
 
24878
 
-
 
24879
    @Override
-
 
24880
    public String toString() {
-
 
24881
      StringBuilder sb = new StringBuilder("getVatRates_args(");
-
 
24882
      boolean first = true;
-
 
24883
 
-
 
24884
      sb.append("itemId:");
-
 
24885
      sb.append(this.itemId);
-
 
24886
      first = false;
-
 
24887
      if (!first) sb.append(", ");
-
 
24888
      sb.append("categoryId:");
-
 
24889
      sb.append(this.categoryId);
-
 
24890
      first = false;
-
 
24891
      sb.append(")");
-
 
24892
      return sb.toString();
-
 
24893
    }
-
 
24894
 
-
 
24895
    public void validate() throws org.apache.thrift.TException {
-
 
24896
      // check for required fields
-
 
24897
    }
-
 
24898
 
-
 
24899
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
24900
      try {
-
 
24901
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
24902
      } catch (org.apache.thrift.TException te) {
-
 
24903
        throw new java.io.IOException(te);
-
 
24904
      }
-
 
24905
    }
-
 
24906
 
-
 
24907
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
24908
      try {
-
 
24909
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
24910
        __isset_bit_vector = new BitSet(1);
-
 
24911
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
24912
      } catch (org.apache.thrift.TException te) {
-
 
24913
        throw new java.io.IOException(te);
-
 
24914
      }
-
 
24915
    }
-
 
24916
 
-
 
24917
  }
-
 
24918
 
-
 
24919
  public static class getVatRates_result implements org.apache.thrift.TBase<getVatRates_result, getVatRates_result._Fields>, java.io.Serializable, Cloneable   {
-
 
24920
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getVatRates_result");
-
 
24921
 
-
 
24922
    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);
-
 
24923
    private static final org.apache.thrift.protocol.TField CEX_FIELD_DESC = new org.apache.thrift.protocol.TField("cex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
24924
 
-
 
24925
    private Map<Long,Double> success; // required
-
 
24926
    private CatalogServiceException cex; // required
-
 
24927
 
-
 
24928
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
24929
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
24930
      SUCCESS((short)0, "success"),
-
 
24931
      CEX((short)1, "cex");
-
 
24932
 
-
 
24933
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
24934
 
-
 
24935
      static {
-
 
24936
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
24937
          byName.put(field.getFieldName(), field);
-
 
24938
        }
-
 
24939
      }
-
 
24940
 
-
 
24941
      /**
-
 
24942
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
24943
       */
-
 
24944
      public static _Fields findByThriftId(int fieldId) {
-
 
24945
        switch(fieldId) {
-
 
24946
          case 0: // SUCCESS
-
 
24947
            return SUCCESS;
-
 
24948
          case 1: // CEX
-
 
24949
            return CEX;
-
 
24950
          default:
-
 
24951
            return null;
-
 
24952
        }
-
 
24953
      }
-
 
24954
 
-
 
24955
      /**
-
 
24956
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
24957
       * if it is not found.
-
 
24958
       */
-
 
24959
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
24960
        _Fields fields = findByThriftId(fieldId);
-
 
24961
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
24962
        return fields;
-
 
24963
      }
-
 
24964
 
-
 
24965
      /**
-
 
24966
       * Find the _Fields constant that matches name, or null if its not found.
-
 
24967
       */
-
 
24968
      public static _Fields findByName(String name) {
-
 
24969
        return byName.get(name);
-
 
24970
      }
-
 
24971
 
-
 
24972
      private final short _thriftId;
-
 
24973
      private final String _fieldName;
-
 
24974
 
-
 
24975
      _Fields(short thriftId, String fieldName) {
-
 
24976
        _thriftId = thriftId;
-
 
24977
        _fieldName = fieldName;
-
 
24978
      }
-
 
24979
 
-
 
24980
      public short getThriftFieldId() {
-
 
24981
        return _thriftId;
-
 
24982
      }
-
 
24983
 
-
 
24984
      public String getFieldName() {
-
 
24985
        return _fieldName;
-
 
24986
      }
-
 
24987
    }
-
 
24988
 
-
 
24989
    // isset id assignments
-
 
24990
 
-
 
24991
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
24992
    static {
-
 
24993
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
24994
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
24995
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
24996
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
24997
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE))));
-
 
24998
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
24999
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
25000
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
25001
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getVatRates_result.class, metaDataMap);
-
 
25002
    }
-
 
25003
 
-
 
25004
    public getVatRates_result() {
-
 
25005
    }
-
 
25006
 
-
 
25007
    public getVatRates_result(
-
 
25008
      Map<Long,Double> success,
-
 
25009
      CatalogServiceException cex)
-
 
25010
    {
-
 
25011
      this();
-
 
25012
      this.success = success;
-
 
25013
      this.cex = cex;
-
 
25014
    }
-
 
25015
 
-
 
25016
    /**
-
 
25017
     * Performs a deep copy on <i>other</i>.
-
 
25018
     */
-
 
25019
    public getVatRates_result(getVatRates_result other) {
-
 
25020
      if (other.isSetSuccess()) {
-
 
25021
        Map<Long,Double> __this__success = new HashMap<Long,Double>();
-
 
25022
        for (Map.Entry<Long, Double> other_element : other.success.entrySet()) {
-
 
25023
 
-
 
25024
          Long other_element_key = other_element.getKey();
-
 
25025
          Double other_element_value = other_element.getValue();
-
 
25026
 
-
 
25027
          Long __this__success_copy_key = other_element_key;
-
 
25028
 
-
 
25029
          Double __this__success_copy_value = other_element_value;
-
 
25030
 
-
 
25031
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
25032
        }
-
 
25033
        this.success = __this__success;
-
 
25034
      }
-
 
25035
      if (other.isSetCex()) {
-
 
25036
        this.cex = new CatalogServiceException(other.cex);
-
 
25037
      }
-
 
25038
    }
-
 
25039
 
-
 
25040
    public getVatRates_result deepCopy() {
-
 
25041
      return new getVatRates_result(this);
-
 
25042
    }
-
 
25043
 
-
 
25044
    @Override
-
 
25045
    public void clear() {
-
 
25046
      this.success = null;
-
 
25047
      this.cex = null;
-
 
25048
    }
-
 
25049
 
-
 
25050
    public int getSuccessSize() {
-
 
25051
      return (this.success == null) ? 0 : this.success.size();
-
 
25052
    }
-
 
25053
 
-
 
25054
    public void putToSuccess(long key, double val) {
-
 
25055
      if (this.success == null) {
-
 
25056
        this.success = new HashMap<Long,Double>();
-
 
25057
      }
-
 
25058
      this.success.put(key, val);
-
 
25059
    }
-
 
25060
 
-
 
25061
    public Map<Long,Double> getSuccess() {
-
 
25062
      return this.success;
-
 
25063
    }
-
 
25064
 
-
 
25065
    public void setSuccess(Map<Long,Double> success) {
-
 
25066
      this.success = success;
-
 
25067
    }
-
 
25068
 
-
 
25069
    public void unsetSuccess() {
-
 
25070
      this.success = null;
-
 
25071
    }
-
 
25072
 
-
 
25073
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
25074
    public boolean isSetSuccess() {
-
 
25075
      return this.success != null;
-
 
25076
    }
-
 
25077
 
-
 
25078
    public void setSuccessIsSet(boolean value) {
-
 
25079
      if (!value) {
-
 
25080
        this.success = null;
-
 
25081
      }
-
 
25082
    }
-
 
25083
 
-
 
25084
    public CatalogServiceException getCex() {
-
 
25085
      return this.cex;
-
 
25086
    }
-
 
25087
 
-
 
25088
    public void setCex(CatalogServiceException cex) {
-
 
25089
      this.cex = cex;
-
 
25090
    }
-
 
25091
 
-
 
25092
    public void unsetCex() {
-
 
25093
      this.cex = null;
-
 
25094
    }
-
 
25095
 
-
 
25096
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
25097
    public boolean isSetCex() {
-
 
25098
      return this.cex != null;
-
 
25099
    }
-
 
25100
 
-
 
25101
    public void setCexIsSet(boolean value) {
-
 
25102
      if (!value) {
-
 
25103
        this.cex = null;
-
 
25104
      }
-
 
25105
    }
-
 
25106
 
-
 
25107
    public void setFieldValue(_Fields field, Object value) {
-
 
25108
      switch (field) {
-
 
25109
      case SUCCESS:
-
 
25110
        if (value == null) {
-
 
25111
          unsetSuccess();
-
 
25112
        } else {
-
 
25113
          setSuccess((Map<Long,Double>)value);
-
 
25114
        }
-
 
25115
        break;
-
 
25116
 
-
 
25117
      case CEX:
-
 
25118
        if (value == null) {
-
 
25119
          unsetCex();
-
 
25120
        } else {
-
 
25121
          setCex((CatalogServiceException)value);
-
 
25122
        }
-
 
25123
        break;
-
 
25124
 
-
 
25125
      }
-
 
25126
    }
-
 
25127
 
-
 
25128
    public Object getFieldValue(_Fields field) {
-
 
25129
      switch (field) {
-
 
25130
      case SUCCESS:
-
 
25131
        return getSuccess();
-
 
25132
 
-
 
25133
      case CEX:
-
 
25134
        return getCex();
-
 
25135
 
-
 
25136
      }
-
 
25137
      throw new IllegalStateException();
-
 
25138
    }
-
 
25139
 
-
 
25140
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
25141
    public boolean isSet(_Fields field) {
-
 
25142
      if (field == null) {
-
 
25143
        throw new IllegalArgumentException();
-
 
25144
      }
-
 
25145
 
-
 
25146
      switch (field) {
-
 
25147
      case SUCCESS:
-
 
25148
        return isSetSuccess();
-
 
25149
      case CEX:
-
 
25150
        return isSetCex();
-
 
25151
      }
-
 
25152
      throw new IllegalStateException();
-
 
25153
    }
-
 
25154
 
-
 
25155
    @Override
-
 
25156
    public boolean equals(Object that) {
-
 
25157
      if (that == null)
-
 
25158
        return false;
-
 
25159
      if (that instanceof getVatRates_result)
-
 
25160
        return this.equals((getVatRates_result)that);
-
 
25161
      return false;
-
 
25162
    }
-
 
25163
 
-
 
25164
    public boolean equals(getVatRates_result that) {
-
 
25165
      if (that == null)
-
 
25166
        return false;
-
 
25167
 
-
 
25168
      boolean this_present_success = true && this.isSetSuccess();
-
 
25169
      boolean that_present_success = true && that.isSetSuccess();
-
 
25170
      if (this_present_success || that_present_success) {
-
 
25171
        if (!(this_present_success && that_present_success))
-
 
25172
          return false;
-
 
25173
        if (!this.success.equals(that.success))
-
 
25174
          return false;
-
 
25175
      }
-
 
25176
 
-
 
25177
      boolean this_present_cex = true && this.isSetCex();
-
 
25178
      boolean that_present_cex = true && that.isSetCex();
-
 
25179
      if (this_present_cex || that_present_cex) {
-
 
25180
        if (!(this_present_cex && that_present_cex))
-
 
25181
          return false;
-
 
25182
        if (!this.cex.equals(that.cex))
-
 
25183
          return false;
-
 
25184
      }
-
 
25185
 
-
 
25186
      return true;
-
 
25187
    }
-
 
25188
 
-
 
25189
    @Override
-
 
25190
    public int hashCode() {
-
 
25191
      return 0;
-
 
25192
    }
-
 
25193
 
-
 
25194
    public int compareTo(getVatRates_result other) {
-
 
25195
      if (!getClass().equals(other.getClass())) {
-
 
25196
        return getClass().getName().compareTo(other.getClass().getName());
-
 
25197
      }
-
 
25198
 
-
 
25199
      int lastComparison = 0;
-
 
25200
      getVatRates_result typedOther = (getVatRates_result)other;
-
 
25201
 
-
 
25202
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
25203
      if (lastComparison != 0) {
-
 
25204
        return lastComparison;
-
 
25205
      }
-
 
25206
      if (isSetSuccess()) {
-
 
25207
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
25208
        if (lastComparison != 0) {
-
 
25209
          return lastComparison;
-
 
25210
        }
-
 
25211
      }
-
 
25212
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
25213
      if (lastComparison != 0) {
-
 
25214
        return lastComparison;
-
 
25215
      }
-
 
25216
      if (isSetCex()) {
-
 
25217
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
25218
        if (lastComparison != 0) {
-
 
25219
          return lastComparison;
-
 
25220
        }
-
 
25221
      }
-
 
25222
      return 0;
-
 
25223
    }
-
 
25224
 
-
 
25225
    public _Fields fieldForId(int fieldId) {
-
 
25226
      return _Fields.findByThriftId(fieldId);
-
 
25227
    }
-
 
25228
 
-
 
25229
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
25230
      org.apache.thrift.protocol.TField field;
-
 
25231
      iprot.readStructBegin();
-
 
25232
      while (true)
-
 
25233
      {
-
 
25234
        field = iprot.readFieldBegin();
-
 
25235
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
25236
          break;
-
 
25237
        }
-
 
25238
        switch (field.id) {
-
 
25239
          case 0: // SUCCESS
-
 
25240
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
25241
              {
-
 
25242
                org.apache.thrift.protocol.TMap _map42 = iprot.readMapBegin();
-
 
25243
                this.success = new HashMap<Long,Double>(2*_map42.size);
-
 
25244
                for (int _i43 = 0; _i43 < _map42.size; ++_i43)
-
 
25245
                {
-
 
25246
                  long _key44; // required
-
 
25247
                  double _val45; // required
-
 
25248
                  _key44 = iprot.readI64();
-
 
25249
                  _val45 = iprot.readDouble();
-
 
25250
                  this.success.put(_key44, _val45);
-
 
25251
                }
-
 
25252
                iprot.readMapEnd();
-
 
25253
              }
-
 
25254
            } else { 
-
 
25255
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25256
            }
-
 
25257
            break;
-
 
25258
          case 1: // CEX
-
 
25259
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
25260
              this.cex = new CatalogServiceException();
-
 
25261
              this.cex.read(iprot);
-
 
25262
            } else { 
-
 
25263
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25264
            }
-
 
25265
            break;
-
 
25266
          default:
-
 
25267
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25268
        }
-
 
25269
        iprot.readFieldEnd();
-
 
25270
      }
-
 
25271
      iprot.readStructEnd();
-
 
25272
      validate();
-
 
25273
    }
-
 
25274
 
-
 
25275
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
25276
      oprot.writeStructBegin(STRUCT_DESC);
-
 
25277
 
-
 
25278
      if (this.isSetSuccess()) {
-
 
25279
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
25280
        {
-
 
25281
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.success.size()));
-
 
25282
          for (Map.Entry<Long, Double> _iter46 : this.success.entrySet())
-
 
25283
          {
-
 
25284
            oprot.writeI64(_iter46.getKey());
-
 
25285
            oprot.writeDouble(_iter46.getValue());
-
 
25286
          }
-
 
25287
          oprot.writeMapEnd();
-
 
25288
        }
-
 
25289
        oprot.writeFieldEnd();
-
 
25290
      } else if (this.isSetCex()) {
-
 
25291
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
25292
        this.cex.write(oprot);
-
 
25293
        oprot.writeFieldEnd();
-
 
25294
      }
-
 
25295
      oprot.writeFieldStop();
-
 
25296
      oprot.writeStructEnd();
-
 
25297
    }
-
 
25298
 
-
 
25299
    @Override
-
 
25300
    public String toString() {
-
 
25301
      StringBuilder sb = new StringBuilder("getVatRates_result(");
-
 
25302
      boolean first = true;
-
 
25303
 
-
 
25304
      sb.append("success:");
-
 
25305
      if (this.success == null) {
-
 
25306
        sb.append("null");
-
 
25307
      } else {
-
 
25308
        sb.append(this.success);
-
 
25309
      }
-
 
25310
      first = false;
-
 
25311
      if (!first) sb.append(", ");
-
 
25312
      sb.append("cex:");
-
 
25313
      if (this.cex == null) {
-
 
25314
        sb.append("null");
-
 
25315
      } else {
-
 
25316
        sb.append(this.cex);
-
 
25317
      }
-
 
25318
      first = false;
-
 
25319
      sb.append(")");
-
 
25320
      return sb.toString();
-
 
25321
    }
-
 
25322
 
-
 
25323
    public void validate() throws org.apache.thrift.TException {
-
 
25324
      // check for required fields
-
 
25325
    }
-
 
25326
 
-
 
25327
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
25328
      try {
-
 
25329
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
25330
      } catch (org.apache.thrift.TException te) {
-
 
25331
        throw new java.io.IOException(te);
-
 
25332
      }
-
 
25333
    }
-
 
25334
 
-
 
25335
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
25336
      try {
-
 
25337
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
25338
      } catch (org.apache.thrift.TException te) {
-
 
25339
        throw new java.io.IOException(te);
-
 
25340
      }
-
 
25341
    }
-
 
25342
 
-
 
25343
  }
-
 
25344
 
24293
  public static class getAllItemsInRange_args implements org.apache.thrift.TBase<getAllItemsInRange_args, getAllItemsInRange_args._Fields>, java.io.Serializable, Cloneable   {
25345
  public static class getAllItemsInRange_args implements org.apache.thrift.TBase<getAllItemsInRange_args, getAllItemsInRange_args._Fields>, java.io.Serializable, Cloneable   {
24294
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllItemsInRange_args");
25346
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllItemsInRange_args");
24295
 
25347
 
24296
    private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I64, (short)1);
25348
    private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I64, (short)1);
24297
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)2);
25349
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)2);
Line 24981... Line 26033...
24981
        }
26033
        }
24982
        switch (field.id) {
26034
        switch (field.id) {
24983
          case 0: // SUCCESS
26035
          case 0: // SUCCESS
24984
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26036
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24985
              {
26037
              {
24986
                org.apache.thrift.protocol.TList _list42 = iprot.readListBegin();
26038
                org.apache.thrift.protocol.TList _list47 = iprot.readListBegin();
24987
                this.success = new ArrayList<Item>(_list42.size);
26039
                this.success = new ArrayList<Item>(_list47.size);
24988
                for (int _i43 = 0; _i43 < _list42.size; ++_i43)
26040
                for (int _i48 = 0; _i48 < _list47.size; ++_i48)
24989
                {
26041
                {
24990
                  Item _elem44; // required
26042
                  Item _elem49; // required
24991
                  _elem44 = new Item();
26043
                  _elem49 = new Item();
24992
                  _elem44.read(iprot);
26044
                  _elem49.read(iprot);
24993
                  this.success.add(_elem44);
26045
                  this.success.add(_elem49);
24994
                }
26046
                }
24995
                iprot.readListEnd();
26047
                iprot.readListEnd();
24996
              }
26048
              }
24997
            } else { 
26049
            } else { 
24998
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26050
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25020... Line 26072...
25020
 
26072
 
25021
      if (this.isSetSuccess()) {
26073
      if (this.isSetSuccess()) {
25022
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26074
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25023
        {
26075
        {
25024
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26076
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25025
          for (Item _iter45 : this.success)
26077
          for (Item _iter50 : this.success)
25026
          {
26078
          {
25027
            _iter45.write(oprot);
26079
            _iter50.write(oprot);
25028
          }
26080
          }
25029
          oprot.writeListEnd();
26081
          oprot.writeListEnd();
25030
        }
26082
        }
25031
        oprot.writeFieldEnd();
26083
        oprot.writeFieldEnd();
25032
      } else if (this.isSetCex()) {
26084
      } else if (this.isSetCex()) {
Line 25875... Line 26927...
25875
        }
26927
        }
25876
        switch (field.id) {
26928
        switch (field.id) {
25877
          case 0: // SUCCESS
26929
          case 0: // SUCCESS
25878
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26930
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25879
              {
26931
              {
25880
                org.apache.thrift.protocol.TList _list46 = iprot.readListBegin();
26932
                org.apache.thrift.protocol.TList _list51 = iprot.readListBegin();
25881
                this.success = new ArrayList<Item>(_list46.size);
26933
                this.success = new ArrayList<Item>(_list51.size);
25882
                for (int _i47 = 0; _i47 < _list46.size; ++_i47)
26934
                for (int _i52 = 0; _i52 < _list51.size; ++_i52)
25883
                {
26935
                {
25884
                  Item _elem48; // required
26936
                  Item _elem53; // required
25885
                  _elem48 = new Item();
26937
                  _elem53 = new Item();
25886
                  _elem48.read(iprot);
26938
                  _elem53.read(iprot);
25887
                  this.success.add(_elem48);
26939
                  this.success.add(_elem53);
25888
                }
26940
                }
25889
                iprot.readListEnd();
26941
                iprot.readListEnd();
25890
              }
26942
              }
25891
            } else { 
26943
            } else { 
25892
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26944
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25914... Line 26966...
25914
 
26966
 
25915
      if (this.isSetSuccess()) {
26967
      if (this.isSetSuccess()) {
25916
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26968
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25917
        {
26969
        {
25918
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26970
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25919
          for (Item _iter49 : this.success)
26971
          for (Item _iter54 : this.success)
25920
          {
26972
          {
25921
            _iter49.write(oprot);
26973
            _iter54.write(oprot);
25922
          }
26974
          }
25923
          oprot.writeListEnd();
26975
          oprot.writeListEnd();
25924
        }
26976
        }
25925
        oprot.writeFieldEnd();
26977
        oprot.writeFieldEnd();
25926
      } else if (this.isSetCex()) {
26978
      } else if (this.isSetCex()) {
Line 27181... Line 28233...
27181
        }
28233
        }
27182
        switch (field.id) {
28234
        switch (field.id) {
27183
          case 0: // SUCCESS
28235
          case 0: // SUCCESS
27184
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28236
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27185
              {
28237
              {
27186
                org.apache.thrift.protocol.TList _list50 = iprot.readListBegin();
28238
                org.apache.thrift.protocol.TList _list55 = iprot.readListBegin();
27187
                this.success = new ArrayList<Item>(_list50.size);
28239
                this.success = new ArrayList<Item>(_list55.size);
27188
                for (int _i51 = 0; _i51 < _list50.size; ++_i51)
28240
                for (int _i56 = 0; _i56 < _list55.size; ++_i56)
27189
                {
28241
                {
27190
                  Item _elem52; // required
28242
                  Item _elem57; // required
27191
                  _elem52 = new Item();
28243
                  _elem57 = new Item();
27192
                  _elem52.read(iprot);
28244
                  _elem57.read(iprot);
27193
                  this.success.add(_elem52);
28245
                  this.success.add(_elem57);
27194
                }
28246
                }
27195
                iprot.readListEnd();
28247
                iprot.readListEnd();
27196
              }
28248
              }
27197
            } else { 
28249
            } else { 
27198
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28250
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 27220... Line 28272...
27220
 
28272
 
27221
      if (this.isSetSuccess()) {
28273
      if (this.isSetSuccess()) {
27222
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28274
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27223
        {
28275
        {
27224
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28276
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
27225
          for (Item _iter53 : this.success)
28277
          for (Item _iter58 : this.success)
27226
          {
28278
          {
27227
            _iter53.write(oprot);
28279
            _iter58.write(oprot);
27228
          }
28280
          }
27229
          oprot.writeListEnd();
28281
          oprot.writeListEnd();
27230
        }
28282
        }
27231
        oprot.writeFieldEnd();
28283
        oprot.writeFieldEnd();
27232
      } else if (this.isSetIsex()) {
28284
      } else if (this.isSetIsex()) {
Line 28148... Line 29200...
28148
        }
29200
        }
28149
        switch (field.id) {
29201
        switch (field.id) {
28150
          case 0: // SUCCESS
29202
          case 0: // SUCCESS
28151
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29203
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28152
              {
29204
              {
28153
                org.apache.thrift.protocol.TList _list54 = iprot.readListBegin();
29205
                org.apache.thrift.protocol.TList _list59 = iprot.readListBegin();
28154
                this.success = new ArrayList<Long>(_list54.size);
29206
                this.success = new ArrayList<Long>(_list59.size);
28155
                for (int _i55 = 0; _i55 < _list54.size; ++_i55)
29207
                for (int _i60 = 0; _i60 < _list59.size; ++_i60)
28156
                {
29208
                {
28157
                  long _elem56; // required
29209
                  long _elem61; // required
28158
                  _elem56 = iprot.readI64();
29210
                  _elem61 = iprot.readI64();
28159
                  this.success.add(_elem56);
29211
                  this.success.add(_elem61);
28160
                }
29212
                }
28161
                iprot.readListEnd();
29213
                iprot.readListEnd();
28162
              }
29214
              }
28163
            } else { 
29215
            } else { 
28164
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29216
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28186... Line 29238...
28186
 
29238
 
28187
      if (this.isSetSuccess()) {
29239
      if (this.isSetSuccess()) {
28188
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29240
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28189
        {
29241
        {
28190
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
29242
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
28191
          for (long _iter57 : this.success)
29243
          for (long _iter62 : this.success)
28192
          {
29244
          {
28193
            oprot.writeI64(_iter57);
29245
            oprot.writeI64(_iter62);
28194
          }
29246
          }
28195
          oprot.writeListEnd();
29247
          oprot.writeListEnd();
28196
        }
29248
        }
28197
        oprot.writeFieldEnd();
29249
        oprot.writeFieldEnd();
28198
      } else if (this.isSetCex()) {
29250
      } else if (this.isSetCex()) {
Line 29347... Line 30399...
29347
        }
30399
        }
29348
        switch (field.id) {
30400
        switch (field.id) {
29349
          case 0: // SUCCESS
30401
          case 0: // SUCCESS
29350
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30402
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29351
              {
30403
              {
29352
                org.apache.thrift.protocol.TList _list58 = iprot.readListBegin();
30404
                org.apache.thrift.protocol.TList _list63 = iprot.readListBegin();
29353
                this.success = new ArrayList<Item>(_list58.size);
30405
                this.success = new ArrayList<Item>(_list63.size);
29354
                for (int _i59 = 0; _i59 < _list58.size; ++_i59)
30406
                for (int _i64 = 0; _i64 < _list63.size; ++_i64)
29355
                {
30407
                {
29356
                  Item _elem60; // required
30408
                  Item _elem65; // required
29357
                  _elem60 = new Item();
30409
                  _elem65 = new Item();
29358
                  _elem60.read(iprot);
30410
                  _elem65.read(iprot);
29359
                  this.success.add(_elem60);
30411
                  this.success.add(_elem65);
29360
                }
30412
                }
29361
                iprot.readListEnd();
30413
                iprot.readListEnd();
29362
              }
30414
              }
29363
            } else { 
30415
            } else { 
29364
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
30416
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29386... Line 30438...
29386
 
30438
 
29387
      if (this.isSetSuccess()) {
30439
      if (this.isSetSuccess()) {
29388
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30440
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29389
        {
30441
        {
29390
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30442
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29391
          for (Item _iter61 : this.success)
30443
          for (Item _iter66 : this.success)
29392
          {
30444
          {
29393
            _iter61.write(oprot);
30445
            _iter66.write(oprot);
29394
          }
30446
          }
29395
          oprot.writeListEnd();
30447
          oprot.writeListEnd();
29396
        }
30448
        }
29397
        oprot.writeFieldEnd();
30449
        oprot.writeFieldEnd();
29398
      } else if (this.isSetIsex()) {
30450
      } else if (this.isSetIsex()) {
Line 30314... Line 31366...
30314
        }
31366
        }
30315
        switch (field.id) {
31367
        switch (field.id) {
30316
          case 0: // SUCCESS
31368
          case 0: // SUCCESS
30317
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31369
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30318
              {
31370
              {
30319
                org.apache.thrift.protocol.TList _list62 = iprot.readListBegin();
31371
                org.apache.thrift.protocol.TList _list67 = iprot.readListBegin();
30320
                this.success = new ArrayList<Long>(_list62.size);
31372
                this.success = new ArrayList<Long>(_list67.size);
30321
                for (int _i63 = 0; _i63 < _list62.size; ++_i63)
31373
                for (int _i68 = 0; _i68 < _list67.size; ++_i68)
30322
                {
31374
                {
30323
                  long _elem64; // required
31375
                  long _elem69; // required
30324
                  _elem64 = iprot.readI64();
31376
                  _elem69 = iprot.readI64();
30325
                  this.success.add(_elem64);
31377
                  this.success.add(_elem69);
30326
                }
31378
                }
30327
                iprot.readListEnd();
31379
                iprot.readListEnd();
30328
              }
31380
              }
30329
            } else { 
31381
            } else { 
30330
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31382
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 30352... Line 31404...
30352
 
31404
 
30353
      if (this.isSetSuccess()) {
31405
      if (this.isSetSuccess()) {
30354
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31406
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30355
        {
31407
        {
30356
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
31408
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
30357
          for (long _iter65 : this.success)
31409
          for (long _iter70 : this.success)
30358
          {
31410
          {
30359
            oprot.writeI64(_iter65);
31411
            oprot.writeI64(_iter70);
30360
          }
31412
          }
30361
          oprot.writeListEnd();
31413
          oprot.writeListEnd();
30362
        }
31414
        }
30363
        oprot.writeFieldEnd();
31415
        oprot.writeFieldEnd();
30364
      } else if (this.isSetCex()) {
31416
      } else if (this.isSetCex()) {
Line 31513... Line 32565...
31513
        }
32565
        }
31514
        switch (field.id) {
32566
        switch (field.id) {
31515
          case 0: // SUCCESS
32567
          case 0: // SUCCESS
31516
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32568
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31517
              {
32569
              {
31518
                org.apache.thrift.protocol.TList _list66 = iprot.readListBegin();
32570
                org.apache.thrift.protocol.TList _list71 = iprot.readListBegin();
31519
                this.success = new ArrayList<Item>(_list66.size);
32571
                this.success = new ArrayList<Item>(_list71.size);
31520
                for (int _i67 = 0; _i67 < _list66.size; ++_i67)
32572
                for (int _i72 = 0; _i72 < _list71.size; ++_i72)
31521
                {
32573
                {
31522
                  Item _elem68; // required
32574
                  Item _elem73; // required
31523
                  _elem68 = new Item();
32575
                  _elem73 = new Item();
31524
                  _elem68.read(iprot);
32576
                  _elem73.read(iprot);
31525
                  this.success.add(_elem68);
32577
                  this.success.add(_elem73);
31526
                }
32578
                }
31527
                iprot.readListEnd();
32579
                iprot.readListEnd();
31528
              }
32580
              }
31529
            } else { 
32581
            } else { 
31530
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32582
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31552... Line 32604...
31552
 
32604
 
31553
      if (this.isSetSuccess()) {
32605
      if (this.isSetSuccess()) {
31554
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32606
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31555
        {
32607
        {
31556
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32608
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31557
          for (Item _iter69 : this.success)
32609
          for (Item _iter74 : this.success)
31558
          {
32610
          {
31559
            _iter69.write(oprot);
32611
            _iter74.write(oprot);
31560
          }
32612
          }
31561
          oprot.writeListEnd();
32613
          oprot.writeListEnd();
31562
        }
32614
        }
31563
        oprot.writeFieldEnd();
32615
        oprot.writeFieldEnd();
31564
      } else if (this.isSetIsex()) {
32616
      } else if (this.isSetIsex()) {
Line 32480... Line 33532...
32480
        }
33532
        }
32481
        switch (field.id) {
33533
        switch (field.id) {
32482
          case 0: // SUCCESS
33534
          case 0: // SUCCESS
32483
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33535
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32484
              {
33536
              {
32485
                org.apache.thrift.protocol.TList _list70 = iprot.readListBegin();
33537
                org.apache.thrift.protocol.TList _list75 = iprot.readListBegin();
32486
                this.success = new ArrayList<Long>(_list70.size);
33538
                this.success = new ArrayList<Long>(_list75.size);
32487
                for (int _i71 = 0; _i71 < _list70.size; ++_i71)
33539
                for (int _i76 = 0; _i76 < _list75.size; ++_i76)
32488
                {
33540
                {
32489
                  long _elem72; // required
33541
                  long _elem77; // required
32490
                  _elem72 = iprot.readI64();
33542
                  _elem77 = iprot.readI64();
32491
                  this.success.add(_elem72);
33543
                  this.success.add(_elem77);
32492
                }
33544
                }
32493
                iprot.readListEnd();
33545
                iprot.readListEnd();
32494
              }
33546
              }
32495
            } else { 
33547
            } else { 
32496
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33548
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32518... Line 33570...
32518
 
33570
 
32519
      if (this.isSetSuccess()) {
33571
      if (this.isSetSuccess()) {
32520
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33572
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32521
        {
33573
        {
32522
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
33574
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32523
          for (long _iter73 : this.success)
33575
          for (long _iter78 : this.success)
32524
          {
33576
          {
32525
            oprot.writeI64(_iter73);
33577
            oprot.writeI64(_iter78);
32526
          }
33578
          }
32527
          oprot.writeListEnd();
33579
          oprot.writeListEnd();
32528
        }
33580
        }
32529
        oprot.writeFieldEnd();
33581
        oprot.writeFieldEnd();
32530
      } else if (this.isSetCex()) {
33582
      } else if (this.isSetCex()) {
Line 33679... Line 34731...
33679
        }
34731
        }
33680
        switch (field.id) {
34732
        switch (field.id) {
33681
          case 0: // SUCCESS
34733
          case 0: // SUCCESS
33682
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34734
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33683
              {
34735
              {
33684
                org.apache.thrift.protocol.TList _list74 = iprot.readListBegin();
34736
                org.apache.thrift.protocol.TList _list79 = iprot.readListBegin();
33685
                this.success = new ArrayList<Item>(_list74.size);
34737
                this.success = new ArrayList<Item>(_list79.size);
33686
                for (int _i75 = 0; _i75 < _list74.size; ++_i75)
34738
                for (int _i80 = 0; _i80 < _list79.size; ++_i80)
33687
                {
34739
                {
33688
                  Item _elem76; // required
34740
                  Item _elem81; // required
33689
                  _elem76 = new Item();
34741
                  _elem81 = new Item();
33690
                  _elem76.read(iprot);
34742
                  _elem81.read(iprot);
33691
                  this.success.add(_elem76);
34743
                  this.success.add(_elem81);
33692
                }
34744
                }
33693
                iprot.readListEnd();
34745
                iprot.readListEnd();
33694
              }
34746
              }
33695
            } else { 
34747
            } else { 
33696
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34748
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33718... Line 34770...
33718
 
34770
 
33719
      if (this.isSetSuccess()) {
34771
      if (this.isSetSuccess()) {
33720
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34772
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33721
        {
34773
        {
33722
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34774
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33723
          for (Item _iter77 : this.success)
34775
          for (Item _iter82 : this.success)
33724
          {
34776
          {
33725
            _iter77.write(oprot);
34777
            _iter82.write(oprot);
33726
          }
34778
          }
33727
          oprot.writeListEnd();
34779
          oprot.writeListEnd();
33728
        }
34780
        }
33729
        oprot.writeFieldEnd();
34781
        oprot.writeFieldEnd();
33730
      } else if (this.isSetIsex()) {
34782
      } else if (this.isSetIsex()) {
Line 34260... Line 35312...
34260
            }
35312
            }
34261
            break;
35313
            break;
34262
          case 4: // CATEGORIES
35314
          case 4: // CATEGORIES
34263
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35315
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34264
              {
35316
              {
34265
                org.apache.thrift.protocol.TList _list78 = iprot.readListBegin();
35317
                org.apache.thrift.protocol.TList _list83 = iprot.readListBegin();
34266
                this.categories = new ArrayList<Long>(_list78.size);
35318
                this.categories = new ArrayList<Long>(_list83.size);
34267
                for (int _i79 = 0; _i79 < _list78.size; ++_i79)
35319
                for (int _i84 = 0; _i84 < _list83.size; ++_i84)
34268
                {
35320
                {
34269
                  long _elem80; // required
35321
                  long _elem85; // required
34270
                  _elem80 = iprot.readI64();
35322
                  _elem85 = iprot.readI64();
34271
                  this.categories.add(_elem80);
35323
                  this.categories.add(_elem85);
34272
                }
35324
                }
34273
                iprot.readListEnd();
35325
                iprot.readListEnd();
34274
              }
35326
              }
34275
            } else { 
35327
            } else { 
34276
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35328
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34302... Line 35354...
34302
      }
35354
      }
34303
      if (this.categories != null) {
35355
      if (this.categories != null) {
34304
        oprot.writeFieldBegin(CATEGORIES_FIELD_DESC);
35356
        oprot.writeFieldBegin(CATEGORIES_FIELD_DESC);
34305
        {
35357
        {
34306
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.categories.size()));
35358
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.categories.size()));
34307
          for (long _iter81 : this.categories)
35359
          for (long _iter86 : this.categories)
34308
          {
35360
          {
34309
            oprot.writeI64(_iter81);
35361
            oprot.writeI64(_iter86);
34310
          }
35362
          }
34311
          oprot.writeListEnd();
35363
          oprot.writeListEnd();
34312
        }
35364
        }
34313
        oprot.writeFieldEnd();
35365
        oprot.writeFieldEnd();
34314
      }
35366
      }
Line 34686... Line 35738...
34686
        }
35738
        }
34687
        switch (field.id) {
35739
        switch (field.id) {
34688
          case 0: // SUCCESS
35740
          case 0: // SUCCESS
34689
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35741
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34690
              {
35742
              {
34691
                org.apache.thrift.protocol.TList _list82 = iprot.readListBegin();
35743
                org.apache.thrift.protocol.TList _list87 = iprot.readListBegin();
34692
                this.success = new ArrayList<Long>(_list82.size);
35744
                this.success = new ArrayList<Long>(_list87.size);
34693
                for (int _i83 = 0; _i83 < _list82.size; ++_i83)
35745
                for (int _i88 = 0; _i88 < _list87.size; ++_i88)
34694
                {
35746
                {
34695
                  long _elem84; // required
35747
                  long _elem89; // required
34696
                  _elem84 = iprot.readI64();
35748
                  _elem89 = iprot.readI64();
34697
                  this.success.add(_elem84);
35749
                  this.success.add(_elem89);
34698
                }
35750
                }
34699
                iprot.readListEnd();
35751
                iprot.readListEnd();
34700
              }
35752
              }
34701
            } else { 
35753
            } else { 
34702
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35754
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34724... Line 35776...
34724
 
35776
 
34725
      if (this.isSetSuccess()) {
35777
      if (this.isSetSuccess()) {
34726
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35778
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34727
        {
35779
        {
34728
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
35780
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
34729
          for (long _iter85 : this.success)
35781
          for (long _iter90 : this.success)
34730
          {
35782
          {
34731
            oprot.writeI64(_iter85);
35783
            oprot.writeI64(_iter90);
34732
          }
35784
          }
34733
          oprot.writeListEnd();
35785
          oprot.writeListEnd();
34734
        }
35786
        }
34735
        oprot.writeFieldEnd();
35787
        oprot.writeFieldEnd();
34736
      } else if (this.isSetCex()) {
35788
      } else if (this.isSetCex()) {
Line 37486... Line 38538...
37486
        }
38538
        }
37487
        switch (field.id) {
38539
        switch (field.id) {
37488
          case 0: // SUCCESS
38540
          case 0: // SUCCESS
37489
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38541
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37490
              {
38542
              {
37491
                org.apache.thrift.protocol.TList _list86 = iprot.readListBegin();
38543
                org.apache.thrift.protocol.TList _list91 = iprot.readListBegin();
37492
                this.success = new ArrayList<Category>(_list86.size);
38544
                this.success = new ArrayList<Category>(_list91.size);
37493
                for (int _i87 = 0; _i87 < _list86.size; ++_i87)
38545
                for (int _i92 = 0; _i92 < _list91.size; ++_i92)
37494
                {
38546
                {
37495
                  Category _elem88; // required
38547
                  Category _elem93; // required
37496
                  _elem88 = new Category();
38548
                  _elem93 = new Category();
37497
                  _elem88.read(iprot);
38549
                  _elem93.read(iprot);
37498
                  this.success.add(_elem88);
38550
                  this.success.add(_elem93);
37499
                }
38551
                }
37500
                iprot.readListEnd();
38552
                iprot.readListEnd();
37501
              }
38553
              }
37502
            } else { 
38554
            } else { 
37503
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38555
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37517... Line 38569...
37517
 
38569
 
37518
      if (this.isSetSuccess()) {
38570
      if (this.isSetSuccess()) {
37519
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38571
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37520
        {
38572
        {
37521
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38573
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37522
          for (Category _iter89 : this.success)
38574
          for (Category _iter94 : this.success)
37523
          {
38575
          {
37524
            _iter89.write(oprot);
38576
            _iter94.write(oprot);
37525
          }
38577
          }
37526
          oprot.writeListEnd();
38578
          oprot.writeListEnd();
37527
        }
38579
        }
37528
        oprot.writeFieldEnd();
38580
        oprot.writeFieldEnd();
37529
      }
38581
      }
Line 38111... Line 39163...
38111
        }
39163
        }
38112
        switch (field.id) {
39164
        switch (field.id) {
38113
          case 0: // SUCCESS
39165
          case 0: // SUCCESS
38114
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39166
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38115
              {
39167
              {
38116
                org.apache.thrift.protocol.TList _list90 = iprot.readListBegin();
39168
                org.apache.thrift.protocol.TList _list95 = iprot.readListBegin();
38117
                this.success = new ArrayList<Item>(_list90.size);
39169
                this.success = new ArrayList<Item>(_list95.size);
38118
                for (int _i91 = 0; _i91 < _list90.size; ++_i91)
39170
                for (int _i96 = 0; _i96 < _list95.size; ++_i96)
38119
                {
39171
                {
38120
                  Item _elem92; // required
39172
                  Item _elem97; // required
38121
                  _elem92 = new Item();
39173
                  _elem97 = new Item();
38122
                  _elem92.read(iprot);
39174
                  _elem97.read(iprot);
38123
                  this.success.add(_elem92);
39175
                  this.success.add(_elem97);
38124
                }
39176
                }
38125
                iprot.readListEnd();
39177
                iprot.readListEnd();
38126
              }
39178
              }
38127
            } else { 
39179
            } else { 
38128
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39180
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38142... Line 39194...
38142
 
39194
 
38143
      if (this.isSetSuccess()) {
39195
      if (this.isSetSuccess()) {
38144
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39196
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38145
        {
39197
        {
38146
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39198
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38147
          for (Item _iter93 : this.success)
39199
          for (Item _iter98 : this.success)
38148
          {
39200
          {
38149
            _iter93.write(oprot);
39201
            _iter98.write(oprot);
38150
          }
39202
          }
38151
          oprot.writeListEnd();
39203
          oprot.writeListEnd();
38152
        }
39204
        }
38153
        oprot.writeFieldEnd();
39205
        oprot.writeFieldEnd();
38154
      }
39206
      }
Line 41338... Line 42390...
41338
        }
42390
        }
41339
        switch (field.id) {
42391
        switch (field.id) {
41340
          case 0: // SUCCESS
42392
          case 0: // SUCCESS
41341
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42393
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41342
              {
42394
              {
41343
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
42395
                org.apache.thrift.protocol.TList _list99 = iprot.readListBegin();
41344
                this.success = new ArrayList<String>(_list94.size);
42396
                this.success = new ArrayList<String>(_list99.size);
41345
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
42397
                for (int _i100 = 0; _i100 < _list99.size; ++_i100)
41346
                {
42398
                {
41347
                  String _elem96; // required
42399
                  String _elem101; // required
41348
                  _elem96 = iprot.readString();
42400
                  _elem101 = iprot.readString();
41349
                  this.success.add(_elem96);
42401
                  this.success.add(_elem101);
41350
                }
42402
                }
41351
                iprot.readListEnd();
42403
                iprot.readListEnd();
41352
              }
42404
              }
41353
            } else { 
42405
            } else { 
41354
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42406
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41368... Line 42420...
41368
 
42420
 
41369
      if (this.isSetSuccess()) {
42421
      if (this.isSetSuccess()) {
41370
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42422
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41371
        {
42423
        {
41372
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
42424
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
41373
          for (String _iter97 : this.success)
42425
          for (String _iter102 : this.success)
41374
          {
42426
          {
41375
            oprot.writeString(_iter97);
42427
            oprot.writeString(_iter102);
41376
          }
42428
          }
41377
          oprot.writeListEnd();
42429
          oprot.writeListEnd();
41378
        }
42430
        }
41379
        oprot.writeFieldEnd();
42431
        oprot.writeFieldEnd();
41380
      }
42432
      }
Line 41962... Line 43014...
41962
        }
43014
        }
41963
        switch (field.id) {
43015
        switch (field.id) {
41964
          case 0: // SUCCESS
43016
          case 0: // SUCCESS
41965
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43017
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41966
              {
43018
              {
41967
                org.apache.thrift.protocol.TList _list98 = iprot.readListBegin();
43019
                org.apache.thrift.protocol.TList _list103 = iprot.readListBegin();
41968
                this.success = new ArrayList<Long>(_list98.size);
43020
                this.success = new ArrayList<Long>(_list103.size);
41969
                for (int _i99 = 0; _i99 < _list98.size; ++_i99)
43021
                for (int _i104 = 0; _i104 < _list103.size; ++_i104)
41970
                {
43022
                {
41971
                  long _elem100; // required
43023
                  long _elem105; // required
41972
                  _elem100 = iprot.readI64();
43024
                  _elem105 = iprot.readI64();
41973
                  this.success.add(_elem100);
43025
                  this.success.add(_elem105);
41974
                }
43026
                }
41975
                iprot.readListEnd();
43027
                iprot.readListEnd();
41976
              }
43028
              }
41977
            } else { 
43029
            } else { 
41978
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43030
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41992... Line 43044...
41992
 
43044
 
41993
      if (this.isSetSuccess()) {
43045
      if (this.isSetSuccess()) {
41994
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43046
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41995
        {
43047
        {
41996
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
43048
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
41997
          for (long _iter101 : this.success)
43049
          for (long _iter106 : this.success)
41998
          {
43050
          {
41999
            oprot.writeI64(_iter101);
43051
            oprot.writeI64(_iter106);
42000
          }
43052
          }
42001
          oprot.writeListEnd();
43053
          oprot.writeListEnd();
42002
        }
43054
        }
42003
        oprot.writeFieldEnd();
43055
        oprot.writeFieldEnd();
42004
      }
43056
      }
Line 42501... Line 43553...
42501
        }
43553
        }
42502
        switch (field.id) {
43554
        switch (field.id) {
42503
          case 0: // SUCCESS
43555
          case 0: // SUCCESS
42504
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
43556
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
42505
              {
43557
              {
42506
                org.apache.thrift.protocol.TMap _map102 = iprot.readMapBegin();
43558
                org.apache.thrift.protocol.TMap _map107 = iprot.readMapBegin();
42507
                this.success = new HashMap<Long,List<String>>(2*_map102.size);
43559
                this.success = new HashMap<Long,List<String>>(2*_map107.size);
42508
                for (int _i103 = 0; _i103 < _map102.size; ++_i103)
43560
                for (int _i108 = 0; _i108 < _map107.size; ++_i108)
42509
                {
43561
                {
42510
                  long _key104; // required
43562
                  long _key109; // required
42511
                  List<String> _val105; // required
43563
                  List<String> _val110; // required
42512
                  _key104 = iprot.readI64();
43564
                  _key109 = iprot.readI64();
42513
                  {
43565
                  {
42514
                    org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
43566
                    org.apache.thrift.protocol.TList _list111 = iprot.readListBegin();
42515
                    _val105 = new ArrayList<String>(_list106.size);
43567
                    _val110 = new ArrayList<String>(_list111.size);
42516
                    for (int _i107 = 0; _i107 < _list106.size; ++_i107)
43568
                    for (int _i112 = 0; _i112 < _list111.size; ++_i112)
42517
                    {
43569
                    {
42518
                      String _elem108; // required
43570
                      String _elem113; // required
42519
                      _elem108 = iprot.readString();
43571
                      _elem113 = iprot.readString();
42520
                      _val105.add(_elem108);
43572
                      _val110.add(_elem113);
42521
                    }
43573
                    }
42522
                    iprot.readListEnd();
43574
                    iprot.readListEnd();
42523
                  }
43575
                  }
42524
                  this.success.put(_key104, _val105);
43576
                  this.success.put(_key109, _val110);
42525
                }
43577
                }
42526
                iprot.readMapEnd();
43578
                iprot.readMapEnd();
42527
              }
43579
              }
42528
            } else { 
43580
            } else { 
42529
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43581
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42543... Line 43595...
42543
 
43595
 
42544
      if (this.isSetSuccess()) {
43596
      if (this.isSetSuccess()) {
42545
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43597
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42546
        {
43598
        {
42547
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
43599
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
42548
          for (Map.Entry<Long, List<String>> _iter109 : this.success.entrySet())
43600
          for (Map.Entry<Long, List<String>> _iter114 : this.success.entrySet())
42549
          {
43601
          {
42550
            oprot.writeI64(_iter109.getKey());
43602
            oprot.writeI64(_iter114.getKey());
42551
            {
43603
            {
42552
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter109.getValue().size()));
43604
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter114.getValue().size()));
42553
              for (String _iter110 : _iter109.getValue())
43605
              for (String _iter115 : _iter114.getValue())
42554
              {
43606
              {
42555
                oprot.writeString(_iter110);
43607
                oprot.writeString(_iter115);
42556
              }
43608
              }
42557
              oprot.writeListEnd();
43609
              oprot.writeListEnd();
42558
            }
43610
            }
42559
          }
43611
          }
42560
          oprot.writeMapEnd();
43612
          oprot.writeMapEnd();
Line 44227... Line 45279...
44227
        }
45279
        }
44228
        switch (field.id) {
45280
        switch (field.id) {
44229
          case 0: // SUCCESS
45281
          case 0: // SUCCESS
44230
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45282
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44231
              {
45283
              {
44232
                org.apache.thrift.protocol.TList _list111 = iprot.readListBegin();
45284
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
44233
                this.success = new ArrayList<Banner>(_list111.size);
45285
                this.success = new ArrayList<Banner>(_list116.size);
44234
                for (int _i112 = 0; _i112 < _list111.size; ++_i112)
45286
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
44235
                {
45287
                {
44236
                  Banner _elem113; // required
45288
                  Banner _elem118; // required
44237
                  _elem113 = new Banner();
45289
                  _elem118 = new Banner();
44238
                  _elem113.read(iprot);
45290
                  _elem118.read(iprot);
44239
                  this.success.add(_elem113);
45291
                  this.success.add(_elem118);
44240
                }
45292
                }
44241
                iprot.readListEnd();
45293
                iprot.readListEnd();
44242
              }
45294
              }
44243
            } else { 
45295
            } else { 
44244
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44258... Line 45310...
44258
 
45310
 
44259
      if (this.isSetSuccess()) {
45311
      if (this.isSetSuccess()) {
44260
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45312
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44261
        {
45313
        {
44262
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45314
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44263
          for (Banner _iter114 : this.success)
45315
          for (Banner _iter119 : this.success)
44264
          {
45316
          {
44265
            _iter114.write(oprot);
45317
            _iter119.write(oprot);
44266
          }
45318
          }
44267
          oprot.writeListEnd();
45319
          oprot.writeListEnd();
44268
        }
45320
        }
44269
        oprot.writeFieldEnd();
45321
        oprot.writeFieldEnd();
44270
      }
45322
      }
Line 46142... Line 47194...
46142
        }
47194
        }
46143
        switch (field.id) {
47195
        switch (field.id) {
46144
          case 0: // SUCCESS
47196
          case 0: // SUCCESS
46145
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
47197
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46146
              {
47198
              {
46147
                org.apache.thrift.protocol.TMap _map115 = iprot.readMapBegin();
47199
                org.apache.thrift.protocol.TMap _map120 = iprot.readMapBegin();
46148
                this.success = new HashMap<String,List<Banner>>(2*_map115.size);
47200
                this.success = new HashMap<String,List<Banner>>(2*_map120.size);
46149
                for (int _i116 = 0; _i116 < _map115.size; ++_i116)
47201
                for (int _i121 = 0; _i121 < _map120.size; ++_i121)
46150
                {
47202
                {
46151
                  String _key117; // required
47203
                  String _key122; // required
46152
                  List<Banner> _val118; // required
47204
                  List<Banner> _val123; // required
46153
                  _key117 = iprot.readString();
47205
                  _key122 = iprot.readString();
46154
                  {
47206
                  {
46155
                    org.apache.thrift.protocol.TList _list119 = iprot.readListBegin();
47207
                    org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
46156
                    _val118 = new ArrayList<Banner>(_list119.size);
47208
                    _val123 = new ArrayList<Banner>(_list124.size);
46157
                    for (int _i120 = 0; _i120 < _list119.size; ++_i120)
47209
                    for (int _i125 = 0; _i125 < _list124.size; ++_i125)
46158
                    {
47210
                    {
46159
                      Banner _elem121; // required
47211
                      Banner _elem126; // required
46160
                      _elem121 = new Banner();
47212
                      _elem126 = new Banner();
46161
                      _elem121.read(iprot);
47213
                      _elem126.read(iprot);
46162
                      _val118.add(_elem121);
47214
                      _val123.add(_elem126);
46163
                    }
47215
                    }
46164
                    iprot.readListEnd();
47216
                    iprot.readListEnd();
46165
                  }
47217
                  }
46166
                  this.success.put(_key117, _val118);
47218
                  this.success.put(_key122, _val123);
46167
                }
47219
                }
46168
                iprot.readMapEnd();
47220
                iprot.readMapEnd();
46169
              }
47221
              }
46170
            } else { 
47222
            } else { 
46171
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47223
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46185... Line 47237...
46185
 
47237
 
46186
      if (this.isSetSuccess()) {
47238
      if (this.isSetSuccess()) {
46187
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47239
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46188
        {
47240
        {
46189
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.success.size()));
47241
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.success.size()));
46190
          for (Map.Entry<String, List<Banner>> _iter122 : this.success.entrySet())
47242
          for (Map.Entry<String, List<Banner>> _iter127 : this.success.entrySet())
46191
          {
47243
          {
46192
            oprot.writeString(_iter122.getKey());
47244
            oprot.writeString(_iter127.getKey());
46193
            {
47245
            {
46194
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter122.getValue().size()));
47246
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter127.getValue().size()));
46195
              for (Banner _iter123 : _iter122.getValue())
47247
              for (Banner _iter128 : _iter127.getValue())
46196
              {
47248
              {
46197
                _iter123.write(oprot);
47249
                _iter128.write(oprot);
46198
              }
47250
              }
46199
              oprot.writeListEnd();
47251
              oprot.writeListEnd();
46200
            }
47252
            }
46201
          }
47253
          }
46202
          oprot.writeMapEnd();
47254
          oprot.writeMapEnd();
Line 46493... Line 47545...
46493
        }
47545
        }
46494
        switch (field.id) {
47546
        switch (field.id) {
46495
          case 1: // BANNER_MAPS
47547
          case 1: // BANNER_MAPS
46496
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47548
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46497
              {
47549
              {
46498
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
47550
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
46499
                this.bannerMaps = new ArrayList<BannerMap>(_list124.size);
47551
                this.bannerMaps = new ArrayList<BannerMap>(_list129.size);
46500
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
47552
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
46501
                {
47553
                {
46502
                  BannerMap _elem126; // required
47554
                  BannerMap _elem131; // required
46503
                  _elem126 = new BannerMap();
47555
                  _elem131 = new BannerMap();
46504
                  _elem126.read(iprot);
47556
                  _elem131.read(iprot);
46505
                  this.bannerMaps.add(_elem126);
47557
                  this.bannerMaps.add(_elem131);
46506
                }
47558
                }
46507
                iprot.readListEnd();
47559
                iprot.readListEnd();
46508
              }
47560
              }
46509
            } else { 
47561
            } else { 
46510
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47562
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46525... Line 47577...
46525
      oprot.writeStructBegin(STRUCT_DESC);
47577
      oprot.writeStructBegin(STRUCT_DESC);
46526
      if (this.bannerMaps != null) {
47578
      if (this.bannerMaps != null) {
46527
        oprot.writeFieldBegin(BANNER_MAPS_FIELD_DESC);
47579
        oprot.writeFieldBegin(BANNER_MAPS_FIELD_DESC);
46528
        {
47580
        {
46529
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bannerMaps.size()));
47581
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bannerMaps.size()));
46530
          for (BannerMap _iter127 : this.bannerMaps)
47582
          for (BannerMap _iter132 : this.bannerMaps)
46531
          {
47583
          {
46532
            _iter127.write(oprot);
47584
            _iter132.write(oprot);
46533
          }
47585
          }
46534
          oprot.writeListEnd();
47586
          oprot.writeListEnd();
46535
        }
47587
        }
46536
        oprot.writeFieldEnd();
47588
        oprot.writeFieldEnd();
46537
      }
47589
      }
Line 48687... Line 49739...
48687
        }
49739
        }
48688
        switch (field.id) {
49740
        switch (field.id) {
48689
          case 0: // SUCCESS
49741
          case 0: // SUCCESS
48690
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49742
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48691
              {
49743
              {
48692
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
49744
                org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
48693
                this.success = new ArrayList<BannerMap>(_list128.size);
49745
                this.success = new ArrayList<BannerMap>(_list133.size);
48694
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
49746
                for (int _i134 = 0; _i134 < _list133.size; ++_i134)
48695
                {
49747
                {
48696
                  BannerMap _elem130; // required
49748
                  BannerMap _elem135; // required
48697
                  _elem130 = new BannerMap();
49749
                  _elem135 = new BannerMap();
48698
                  _elem130.read(iprot);
49750
                  _elem135.read(iprot);
48699
                  this.success.add(_elem130);
49751
                  this.success.add(_elem135);
48700
                }
49752
                }
48701
                iprot.readListEnd();
49753
                iprot.readListEnd();
48702
              }
49754
              }
48703
            } else { 
49755
            } else { 
48704
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49756
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48718... Line 49770...
48718
 
49770
 
48719
      if (this.isSetSuccess()) {
49771
      if (this.isSetSuccess()) {
48720
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49772
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48721
        {
49773
        {
48722
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49774
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48723
          for (BannerMap _iter131 : this.success)
49775
          for (BannerMap _iter136 : this.success)
48724
          {
49776
          {
48725
            _iter131.write(oprot);
49777
            _iter136.write(oprot);
48726
          }
49778
          }
48727
          oprot.writeListEnd();
49779
          oprot.writeListEnd();
48728
        }
49780
        }
48729
        oprot.writeFieldEnd();
49781
        oprot.writeFieldEnd();
48730
      }
49782
      }
Line 49018... Line 50070...
49018
        }
50070
        }
49019
        switch (field.id) {
50071
        switch (field.id) {
49020
          case 1: // BANNER_URI_MAPPINGS
50072
          case 1: // BANNER_URI_MAPPINGS
49021
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50073
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49022
              {
50074
              {
49023
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
50075
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
49024
                this.bannerUriMappings = new ArrayList<BannerUriMapping>(_list132.size);
50076
                this.bannerUriMappings = new ArrayList<BannerUriMapping>(_list137.size);
49025
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
50077
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
49026
                {
50078
                {
49027
                  BannerUriMapping _elem134; // required
50079
                  BannerUriMapping _elem139; // required
49028
                  _elem134 = new BannerUriMapping();
50080
                  _elem139 = new BannerUriMapping();
49029
                  _elem134.read(iprot);
50081
                  _elem139.read(iprot);
49030
                  this.bannerUriMappings.add(_elem134);
50082
                  this.bannerUriMappings.add(_elem139);
49031
                }
50083
                }
49032
                iprot.readListEnd();
50084
                iprot.readListEnd();
49033
              }
50085
              }
49034
            } else { 
50086
            } else { 
49035
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50087
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49050... Line 50102...
49050
      oprot.writeStructBegin(STRUCT_DESC);
50102
      oprot.writeStructBegin(STRUCT_DESC);
49051
      if (this.bannerUriMappings != null) {
50103
      if (this.bannerUriMappings != null) {
49052
        oprot.writeFieldBegin(BANNER_URI_MAPPINGS_FIELD_DESC);
50104
        oprot.writeFieldBegin(BANNER_URI_MAPPINGS_FIELD_DESC);
49053
        {
50105
        {
49054
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bannerUriMappings.size()));
50106
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bannerUriMappings.size()));
49055
          for (BannerUriMapping _iter135 : this.bannerUriMappings)
50107
          for (BannerUriMapping _iter140 : this.bannerUriMappings)
49056
          {
50108
          {
49057
            _iter135.write(oprot);
50109
            _iter140.write(oprot);
49058
          }
50110
          }
49059
          oprot.writeListEnd();
50111
          oprot.writeListEnd();
49060
        }
50112
        }
49061
        oprot.writeFieldEnd();
50113
        oprot.writeFieldEnd();
49062
      }
50114
      }
Line 49943... Line 50995...
49943
        }
50995
        }
49944
        switch (field.id) {
50996
        switch (field.id) {
49945
          case 0: // SUCCESS
50997
          case 0: // SUCCESS
49946
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50998
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49947
              {
50999
              {
49948
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
51000
                org.apache.thrift.protocol.TList _list141 = iprot.readListBegin();
49949
                this.success = new ArrayList<BannerUriMapping>(_list136.size);
51001
                this.success = new ArrayList<BannerUriMapping>(_list141.size);
49950
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
51002
                for (int _i142 = 0; _i142 < _list141.size; ++_i142)
49951
                {
51003
                {
49952
                  BannerUriMapping _elem138; // required
51004
                  BannerUriMapping _elem143; // required
49953
                  _elem138 = new BannerUriMapping();
51005
                  _elem143 = new BannerUriMapping();
49954
                  _elem138.read(iprot);
51006
                  _elem143.read(iprot);
49955
                  this.success.add(_elem138);
51007
                  this.success.add(_elem143);
49956
                }
51008
                }
49957
                iprot.readListEnd();
51009
                iprot.readListEnd();
49958
              }
51010
              }
49959
            } else { 
51011
            } else { 
49960
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51012
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49974... Line 51026...
49974
 
51026
 
49975
      if (this.isSetSuccess()) {
51027
      if (this.isSetSuccess()) {
49976
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51028
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49977
        {
51029
        {
49978
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51030
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49979
          for (BannerUriMapping _iter139 : this.success)
51031
          for (BannerUriMapping _iter144 : this.success)
49980
          {
51032
          {
49981
            _iter139.write(oprot);
51033
            _iter144.write(oprot);
49982
          }
51034
          }
49983
          oprot.writeListEnd();
51035
          oprot.writeListEnd();
49984
        }
51036
        }
49985
        oprot.writeFieldEnd();
51037
        oprot.writeFieldEnd();
49986
      }
51038
      }
Line 51062... Line 52114...
51062
        }
52114
        }
51063
        switch (field.id) {
52115
        switch (field.id) {
51064
          case 0: // SUCCESS
52116
          case 0: // SUCCESS
51065
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52117
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51066
              {
52118
              {
51067
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
52119
                org.apache.thrift.protocol.TList _list145 = iprot.readListBegin();
51068
                this.success = new ArrayList<Campaign>(_list140.size);
52120
                this.success = new ArrayList<Campaign>(_list145.size);
51069
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
52121
                for (int _i146 = 0; _i146 < _list145.size; ++_i146)
51070
                {
52122
                {
51071
                  Campaign _elem142; // required
52123
                  Campaign _elem147; // required
51072
                  _elem142 = new Campaign();
52124
                  _elem147 = new Campaign();
51073
                  _elem142.read(iprot);
52125
                  _elem147.read(iprot);
51074
                  this.success.add(_elem142);
52126
                  this.success.add(_elem147);
51075
                }
52127
                }
51076
                iprot.readListEnd();
52128
                iprot.readListEnd();
51077
              }
52129
              }
51078
            } else { 
52130
            } else { 
51079
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52131
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51093... Line 52145...
51093
 
52145
 
51094
      if (this.isSetSuccess()) {
52146
      if (this.isSetSuccess()) {
51095
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52147
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51096
        {
52148
        {
51097
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52149
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51098
          for (Campaign _iter143 : this.success)
52150
          for (Campaign _iter148 : this.success)
51099
          {
52151
          {
51100
            _iter143.write(oprot);
52152
            _iter148.write(oprot);
51101
          }
52153
          }
51102
          oprot.writeListEnd();
52154
          oprot.writeListEnd();
51103
        }
52155
        }
51104
        oprot.writeFieldEnd();
52156
        oprot.writeFieldEnd();
51105
      }
52157
      }
Line 52086... Line 53138...
52086
        }
53138
        }
52087
        switch (field.id) {
53139
        switch (field.id) {
52088
          case 0: // SUCCESS
53140
          case 0: // SUCCESS
52089
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53141
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52090
              {
53142
              {
52091
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
53143
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
52092
                this.success = new ArrayList<String>(_list144.size);
53144
                this.success = new ArrayList<String>(_list149.size);
52093
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
53145
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
52094
                {
53146
                {
52095
                  String _elem146; // required
53147
                  String _elem151; // required
52096
                  _elem146 = iprot.readString();
53148
                  _elem151 = iprot.readString();
52097
                  this.success.add(_elem146);
53149
                  this.success.add(_elem151);
52098
                }
53150
                }
52099
                iprot.readListEnd();
53151
                iprot.readListEnd();
52100
              }
53152
              }
52101
            } else { 
53153
            } else { 
52102
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53154
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52116... Line 53168...
52116
 
53168
 
52117
      if (this.isSetSuccess()) {
53169
      if (this.isSetSuccess()) {
52118
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53170
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52119
        {
53171
        {
52120
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
53172
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
52121
          for (String _iter147 : this.success)
53173
          for (String _iter152 : this.success)
52122
          {
53174
          {
52123
            oprot.writeString(_iter147);
53175
            oprot.writeString(_iter152);
52124
          }
53176
          }
52125
          oprot.writeListEnd();
53177
          oprot.writeListEnd();
52126
        }
53178
        }
52127
        oprot.writeFieldEnd();
53179
        oprot.writeFieldEnd();
52128
      }
53180
      }
Line 52625... Line 53677...
52625
        }
53677
        }
52626
        switch (field.id) {
53678
        switch (field.id) {
52627
          case 0: // SUCCESS
53679
          case 0: // SUCCESS
52628
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
53680
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52629
              {
53681
              {
52630
                org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
53682
                org.apache.thrift.protocol.TMap _map153 = iprot.readMapBegin();
52631
                this.success = new HashMap<String,List<Banner>>(2*_map148.size);
53683
                this.success = new HashMap<String,List<Banner>>(2*_map153.size);
52632
                for (int _i149 = 0; _i149 < _map148.size; ++_i149)
53684
                for (int _i154 = 0; _i154 < _map153.size; ++_i154)
52633
                {
53685
                {
52634
                  String _key150; // required
53686
                  String _key155; // required
52635
                  List<Banner> _val151; // required
53687
                  List<Banner> _val156; // required
52636
                  _key150 = iprot.readString();
53688
                  _key155 = iprot.readString();
52637
                  {
53689
                  {
52638
                    org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
53690
                    org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
52639
                    _val151 = new ArrayList<Banner>(_list152.size);
53691
                    _val156 = new ArrayList<Banner>(_list157.size);
52640
                    for (int _i153 = 0; _i153 < _list152.size; ++_i153)
53692
                    for (int _i158 = 0; _i158 < _list157.size; ++_i158)
52641
                    {
53693
                    {
52642
                      Banner _elem154; // required
53694
                      Banner _elem159; // required
52643
                      _elem154 = new Banner();
53695
                      _elem159 = new Banner();
52644
                      _elem154.read(iprot);
53696
                      _elem159.read(iprot);
52645
                      _val151.add(_elem154);
53697
                      _val156.add(_elem159);
52646
                    }
53698
                    }
52647
                    iprot.readListEnd();
53699
                    iprot.readListEnd();
52648
                  }
53700
                  }
52649
                  this.success.put(_key150, _val151);
53701
                  this.success.put(_key155, _val156);
52650
                }
53702
                }
52651
                iprot.readMapEnd();
53703
                iprot.readMapEnd();
52652
              }
53704
              }
52653
            } else { 
53705
            } else { 
52654
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53706
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52668... Line 53720...
52668
 
53720
 
52669
      if (this.isSetSuccess()) {
53721
      if (this.isSetSuccess()) {
52670
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53722
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52671
        {
53723
        {
52672
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.success.size()));
53724
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.success.size()));
52673
          for (Map.Entry<String, List<Banner>> _iter155 : this.success.entrySet())
53725
          for (Map.Entry<String, List<Banner>> _iter160 : this.success.entrySet())
52674
          {
53726
          {
52675
            oprot.writeString(_iter155.getKey());
53727
            oprot.writeString(_iter160.getKey());
52676
            {
53728
            {
52677
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter155.getValue().size()));
53729
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter160.getValue().size()));
52678
              for (Banner _iter156 : _iter155.getValue())
53730
              for (Banner _iter161 : _iter160.getValue())
52679
              {
53731
              {
52680
                _iter156.write(oprot);
53732
                _iter161.write(oprot);
52681
              }
53733
              }
52682
              oprot.writeListEnd();
53734
              oprot.writeListEnd();
52683
            }
53735
            }
52684
          }
53736
          }
52685
          oprot.writeMapEnd();
53737
          oprot.writeMapEnd();
Line 55852... Line 56904...
55852
        }
56904
        }
55853
        switch (field.id) {
56905
        switch (field.id) {
55854
          case 0: // SUCCESS
56906
          case 0: // SUCCESS
55855
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56907
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55856
              {
56908
              {
55857
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
56909
                org.apache.thrift.protocol.TList _list162 = iprot.readListBegin();
55858
                this.success = new ArrayList<Item>(_list157.size);
56910
                this.success = new ArrayList<Item>(_list162.size);
55859
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
56911
                for (int _i163 = 0; _i163 < _list162.size; ++_i163)
55860
                {
56912
                {
55861
                  Item _elem159; // required
56913
                  Item _elem164; // required
55862
                  _elem159 = new Item();
56914
                  _elem164 = new Item();
55863
                  _elem159.read(iprot);
56915
                  _elem164.read(iprot);
55864
                  this.success.add(_elem159);
56916
                  this.success.add(_elem164);
55865
                }
56917
                }
55866
                iprot.readListEnd();
56918
                iprot.readListEnd();
55867
              }
56919
              }
55868
            } else { 
56920
            } else { 
55869
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56921
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55883... Line 56935...
55883
 
56935
 
55884
      if (this.isSetSuccess()) {
56936
      if (this.isSetSuccess()) {
55885
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56937
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55886
        {
56938
        {
55887
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56939
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55888
          for (Item _iter160 : this.success)
56940
          for (Item _iter165 : this.success)
55889
          {
56941
          {
55890
            _iter160.write(oprot);
56942
            _iter165.write(oprot);
55891
          }
56943
          }
55892
          oprot.writeListEnd();
56944
          oprot.writeListEnd();
55893
        }
56945
        }
55894
        oprot.writeFieldEnd();
56946
        oprot.writeFieldEnd();
55895
      }
56947
      }
Line 56565... Line 57617...
56565
        }
57617
        }
56566
        switch (field.id) {
57618
        switch (field.id) {
56567
          case 0: // SUCCESS
57619
          case 0: // SUCCESS
56568
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57620
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56569
              {
57621
              {
56570
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
57622
                org.apache.thrift.protocol.TList _list166 = iprot.readListBegin();
56571
                this.success = new ArrayList<Item>(_list161.size);
57623
                this.success = new ArrayList<Item>(_list166.size);
56572
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
57624
                for (int _i167 = 0; _i167 < _list166.size; ++_i167)
56573
                {
57625
                {
56574
                  Item _elem163; // required
57626
                  Item _elem168; // required
56575
                  _elem163 = new Item();
57627
                  _elem168 = new Item();
56576
                  _elem163.read(iprot);
57628
                  _elem168.read(iprot);
56577
                  this.success.add(_elem163);
57629
                  this.success.add(_elem168);
56578
                }
57630
                }
56579
                iprot.readListEnd();
57631
                iprot.readListEnd();
56580
              }
57632
              }
56581
            } else { 
57633
            } else { 
56582
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57634
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56596... Line 57648...
56596
 
57648
 
56597
      if (this.isSetSuccess()) {
57649
      if (this.isSetSuccess()) {
56598
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57650
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56599
        {
57651
        {
56600
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57652
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56601
          for (Item _iter164 : this.success)
57653
          for (Item _iter169 : this.success)
56602
          {
57654
          {
56603
            _iter164.write(oprot);
57655
            _iter169.write(oprot);
56604
          }
57656
          }
56605
          oprot.writeListEnd();
57657
          oprot.writeListEnd();
56606
        }
57658
        }
56607
        oprot.writeFieldEnd();
57659
        oprot.writeFieldEnd();
56608
      }
57660
      }
Line 57354... Line 58406...
57354
        }
58406
        }
57355
        switch (field.id) {
58407
        switch (field.id) {
57356
          case 0: // SUCCESS
58408
          case 0: // SUCCESS
57357
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58409
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57358
              {
58410
              {
57359
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
58411
                org.apache.thrift.protocol.TList _list170 = iprot.readListBegin();
57360
                this.success = new ArrayList<Long>(_list165.size);
58412
                this.success = new ArrayList<Long>(_list170.size);
57361
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
58413
                for (int _i171 = 0; _i171 < _list170.size; ++_i171)
57362
                {
58414
                {
57363
                  long _elem167; // required
58415
                  long _elem172; // required
57364
                  _elem167 = iprot.readI64();
58416
                  _elem172 = iprot.readI64();
57365
                  this.success.add(_elem167);
58417
                  this.success.add(_elem172);
57366
                }
58418
                }
57367
                iprot.readListEnd();
58419
                iprot.readListEnd();
57368
              }
58420
              }
57369
            } else { 
58421
            } else { 
57370
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58422
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57384... Line 58436...
57384
 
58436
 
57385
      if (this.isSetSuccess()) {
58437
      if (this.isSetSuccess()) {
57386
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58438
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57387
        {
58439
        {
57388
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
58440
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
57389
          for (long _iter168 : this.success)
58441
          for (long _iter173 : this.success)
57390
          {
58442
          {
57391
            oprot.writeI64(_iter168);
58443
            oprot.writeI64(_iter173);
57392
          }
58444
          }
57393
          oprot.writeListEnd();
58445
          oprot.writeListEnd();
57394
        }
58446
        }
57395
        oprot.writeFieldEnd();
58447
        oprot.writeFieldEnd();
57396
      }
58448
      }
Line 57806... Line 58858...
57806
      }
58858
      }
57807
    }
58859
    }
57808
 
58860
 
57809
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58861
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57810
      try {
58862
      try {
-
 
58863
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
58864
        __isset_bit_vector = new BitSet(1);
57811
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58865
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57812
      } catch (org.apache.thrift.TException te) {
58866
      } catch (org.apache.thrift.TException te) {
57813
        throw new java.io.IOException(te);
58867
        throw new java.io.IOException(te);
57814
      }
58868
      }
57815
    }
58869
    }
Line 59144... Line 60198...
59144
        }
60198
        }
59145
        switch (field.id) {
60199
        switch (field.id) {
59146
          case 0: // SUCCESS
60200
          case 0: // SUCCESS
59147
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60201
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59148
              {
60202
              {
59149
                org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
60203
                org.apache.thrift.protocol.TList _list174 = iprot.readListBegin();
59150
                this.success = new ArrayList<String>(_list169.size);
60204
                this.success = new ArrayList<String>(_list174.size);
59151
                for (int _i170 = 0; _i170 < _list169.size; ++_i170)
60205
                for (int _i175 = 0; _i175 < _list174.size; ++_i175)
59152
                {
60206
                {
59153
                  String _elem171; // required
60207
                  String _elem176; // required
59154
                  _elem171 = iprot.readString();
60208
                  _elem176 = iprot.readString();
59155
                  this.success.add(_elem171);
60209
                  this.success.add(_elem176);
59156
                }
60210
                }
59157
                iprot.readListEnd();
60211
                iprot.readListEnd();
59158
              }
60212
              }
59159
            } else { 
60213
            } else { 
59160
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60214
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59174... Line 60228...
59174
 
60228
 
59175
      if (this.isSetSuccess()) {
60229
      if (this.isSetSuccess()) {
59176
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60230
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59177
        {
60231
        {
59178
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
60232
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
59179
          for (String _iter172 : this.success)
60233
          for (String _iter177 : this.success)
59180
          {
60234
          {
59181
            oprot.writeString(_iter172);
60235
            oprot.writeString(_iter177);
59182
          }
60236
          }
59183
          oprot.writeListEnd();
60237
          oprot.writeListEnd();
59184
        }
60238
        }
59185
        oprot.writeFieldEnd();
60239
        oprot.writeFieldEnd();
59186
      }
60240
      }
Line 59674... Line 60728...
59674
        }
60728
        }
59675
        switch (field.id) {
60729
        switch (field.id) {
59676
          case 0: // SUCCESS
60730
          case 0: // SUCCESS
59677
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60731
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59678
              {
60732
              {
59679
                org.apache.thrift.protocol.TList _list173 = iprot.readListBegin();
60733
                org.apache.thrift.protocol.TList _list178 = iprot.readListBegin();
59680
                this.success = new ArrayList<String>(_list173.size);
60734
                this.success = new ArrayList<String>(_list178.size);
59681
                for (int _i174 = 0; _i174 < _list173.size; ++_i174)
60735
                for (int _i179 = 0; _i179 < _list178.size; ++_i179)
59682
                {
60736
                {
59683
                  String _elem175; // required
60737
                  String _elem180; // required
59684
                  _elem175 = iprot.readString();
60738
                  _elem180 = iprot.readString();
59685
                  this.success.add(_elem175);
60739
                  this.success.add(_elem180);
59686
                }
60740
                }
59687
                iprot.readListEnd();
60741
                iprot.readListEnd();
59688
              }
60742
              }
59689
            } else { 
60743
            } else { 
59690
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60744
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59704... Line 60758...
59704
 
60758
 
59705
      if (this.isSetSuccess()) {
60759
      if (this.isSetSuccess()) {
59706
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60760
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59707
        {
60761
        {
59708
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
60762
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
59709
          for (String _iter176 : this.success)
60763
          for (String _iter181 : this.success)
59710
          {
60764
          {
59711
            oprot.writeString(_iter176);
60765
            oprot.writeString(_iter181);
59712
          }
60766
          }
59713
          oprot.writeListEnd();
60767
          oprot.writeListEnd();
59714
        }
60768
        }
59715
        oprot.writeFieldEnd();
60769
        oprot.writeFieldEnd();
59716
      }
60770
      }
Line 60204... Line 61258...
60204
        }
61258
        }
60205
        switch (field.id) {
61259
        switch (field.id) {
60206
          case 0: // SUCCESS
61260
          case 0: // SUCCESS
60207
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
61261
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60208
              {
61262
              {
60209
                org.apache.thrift.protocol.TList _list177 = iprot.readListBegin();
61263
                org.apache.thrift.protocol.TList _list182 = iprot.readListBegin();
60210
                this.success = new ArrayList<Source>(_list177.size);
61264
                this.success = new ArrayList<Source>(_list182.size);
60211
                for (int _i178 = 0; _i178 < _list177.size; ++_i178)
61265
                for (int _i183 = 0; _i183 < _list182.size; ++_i183)
60212
                {
61266
                {
60213
                  Source _elem179; // required
61267
                  Source _elem184; // required
60214
                  _elem179 = new Source();
61268
                  _elem184 = new Source();
60215
                  _elem179.read(iprot);
61269
                  _elem184.read(iprot);
60216
                  this.success.add(_elem179);
61270
                  this.success.add(_elem184);
60217
                }
61271
                }
60218
                iprot.readListEnd();
61272
                iprot.readListEnd();
60219
              }
61273
              }
60220
            } else { 
61274
            } else { 
60221
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
61275
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 60235... Line 61289...
60235
 
61289
 
60236
      if (this.isSetSuccess()) {
61290
      if (this.isSetSuccess()) {
60237
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
61291
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60238
        {
61292
        {
60239
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
61293
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60240
          for (Source _iter180 : this.success)
61294
          for (Source _iter185 : this.success)
60241
          {
61295
          {
60242
            _iter180.write(oprot);
61296
            _iter185.write(oprot);
60243
          }
61297
          }
60244
          oprot.writeListEnd();
61298
          oprot.writeListEnd();
60245
        }
61299
        }
60246
        oprot.writeFieldEnd();
61300
        oprot.writeFieldEnd();
60247
      }
61301
      }
Line 62241... Line 63295...
62241
        }
63295
        }
62242
        switch (field.id) {
63296
        switch (field.id) {
62243
          case 0: // SUCCESS
63297
          case 0: // SUCCESS
62244
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63298
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62245
              {
63299
              {
62246
                org.apache.thrift.protocol.TList _list181 = iprot.readListBegin();
63300
                org.apache.thrift.protocol.TList _list186 = iprot.readListBegin();
62247
                this.success = new ArrayList<SourceItemPricing>(_list181.size);
63301
                this.success = new ArrayList<SourceItemPricing>(_list186.size);
62248
                for (int _i182 = 0; _i182 < _list181.size; ++_i182)
63302
                for (int _i187 = 0; _i187 < _list186.size; ++_i187)
62249
                {
63303
                {
62250
                  SourceItemPricing _elem183; // required
63304
                  SourceItemPricing _elem188; // required
62251
                  _elem183 = new SourceItemPricing();
63305
                  _elem188 = new SourceItemPricing();
62252
                  _elem183.read(iprot);
63306
                  _elem188.read(iprot);
62253
                  this.success.add(_elem183);
63307
                  this.success.add(_elem188);
62254
                }
63308
                }
62255
                iprot.readListEnd();
63309
                iprot.readListEnd();
62256
              }
63310
              }
62257
            } else { 
63311
            } else { 
62258
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63312
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62280... Line 63334...
62280
 
63334
 
62281
      if (this.isSetSuccess()) {
63335
      if (this.isSetSuccess()) {
62282
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63336
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62283
        {
63337
        {
62284
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63338
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62285
          for (SourceItemPricing _iter184 : this.success)
63339
          for (SourceItemPricing _iter189 : this.success)
62286
          {
63340
          {
62287
            _iter184.write(oprot);
63341
            _iter189.write(oprot);
62288
          }
63342
          }
62289
          oprot.writeListEnd();
63343
          oprot.writeListEnd();
62290
        }
63344
        }
62291
        oprot.writeFieldEnd();
63345
        oprot.writeFieldEnd();
62292
      } else if (this.isSetCex()) {
63346
      } else if (this.isSetCex()) {
Line 63488... Line 64542...
63488
        }
64542
        }
63489
        switch (field.id) {
64543
        switch (field.id) {
63490
          case 1: // SEARCH_TERMS
64544
          case 1: // SEARCH_TERMS
63491
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64545
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63492
              {
64546
              {
63493
                org.apache.thrift.protocol.TList _list185 = iprot.readListBegin();
64547
                org.apache.thrift.protocol.TList _list190 = iprot.readListBegin();
63494
                this.searchTerms = new ArrayList<String>(_list185.size);
64548
                this.searchTerms = new ArrayList<String>(_list190.size);
63495
                for (int _i186 = 0; _i186 < _list185.size; ++_i186)
64549
                for (int _i191 = 0; _i191 < _list190.size; ++_i191)
63496
                {
64550
                {
63497
                  String _elem187; // required
64551
                  String _elem192; // required
63498
                  _elem187 = iprot.readString();
64552
                  _elem192 = iprot.readString();
63499
                  this.searchTerms.add(_elem187);
64553
                  this.searchTerms.add(_elem192);
63500
                }
64554
                }
63501
                iprot.readListEnd();
64555
                iprot.readListEnd();
63502
              }
64556
              }
63503
            } else { 
64557
            } else { 
63504
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64558
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63535... Line 64589...
63535
      oprot.writeStructBegin(STRUCT_DESC);
64589
      oprot.writeStructBegin(STRUCT_DESC);
63536
      if (this.searchTerms != null) {
64590
      if (this.searchTerms != null) {
63537
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
64591
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
63538
        {
64592
        {
63539
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
64593
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
63540
          for (String _iter188 : this.searchTerms)
64594
          for (String _iter193 : this.searchTerms)
63541
          {
64595
          {
63542
            oprot.writeString(_iter188);
64596
            oprot.writeString(_iter193);
63543
          }
64597
          }
63544
          oprot.writeListEnd();
64598
          oprot.writeListEnd();
63545
        }
64599
        }
63546
        oprot.writeFieldEnd();
64600
        oprot.writeFieldEnd();
63547
      }
64601
      }
Line 63849... Line 64903...
63849
        }
64903
        }
63850
        switch (field.id) {
64904
        switch (field.id) {
63851
          case 0: // SUCCESS
64905
          case 0: // SUCCESS
63852
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64906
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63853
              {
64907
              {
63854
                org.apache.thrift.protocol.TList _list189 = iprot.readListBegin();
64908
                org.apache.thrift.protocol.TList _list194 = iprot.readListBegin();
63855
                this.success = new ArrayList<Item>(_list189.size);
64909
                this.success = new ArrayList<Item>(_list194.size);
63856
                for (int _i190 = 0; _i190 < _list189.size; ++_i190)
64910
                for (int _i195 = 0; _i195 < _list194.size; ++_i195)
63857
                {
64911
                {
63858
                  Item _elem191; // required
64912
                  Item _elem196; // required
63859
                  _elem191 = new Item();
64913
                  _elem196 = new Item();
63860
                  _elem191.read(iprot);
64914
                  _elem196.read(iprot);
63861
                  this.success.add(_elem191);
64915
                  this.success.add(_elem196);
63862
                }
64916
                }
63863
                iprot.readListEnd();
64917
                iprot.readListEnd();
63864
              }
64918
              }
63865
            } else { 
64919
            } else { 
63866
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64920
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 63880... Line 64934...
63880
 
64934
 
63881
      if (this.isSetSuccess()) {
64935
      if (this.isSetSuccess()) {
63882
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64936
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63883
        {
64937
        {
63884
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64938
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
63885
          for (Item _iter192 : this.success)
64939
          for (Item _iter197 : this.success)
63886
          {
64940
          {
63887
            _iter192.write(oprot);
64941
            _iter197.write(oprot);
63888
          }
64942
          }
63889
          oprot.writeListEnd();
64943
          oprot.writeListEnd();
63890
        }
64944
        }
63891
        oprot.writeFieldEnd();
64945
        oprot.writeFieldEnd();
63892
      }
64946
      }
Line 64180... Line 65234...
64180
        }
65234
        }
64181
        switch (field.id) {
65235
        switch (field.id) {
64182
          case 1: // SEARCH_TERMS
65236
          case 1: // SEARCH_TERMS
64183
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65237
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64184
              {
65238
              {
64185
                org.apache.thrift.protocol.TList _list193 = iprot.readListBegin();
65239
                org.apache.thrift.protocol.TList _list198 = iprot.readListBegin();
64186
                this.searchTerms = new ArrayList<String>(_list193.size);
65240
                this.searchTerms = new ArrayList<String>(_list198.size);
64187
                for (int _i194 = 0; _i194 < _list193.size; ++_i194)
65241
                for (int _i199 = 0; _i199 < _list198.size; ++_i199)
64188
                {
65242
                {
64189
                  String _elem195; // required
65243
                  String _elem200; // required
64190
                  _elem195 = iprot.readString();
65244
                  _elem200 = iprot.readString();
64191
                  this.searchTerms.add(_elem195);
65245
                  this.searchTerms.add(_elem200);
64192
                }
65246
                }
64193
                iprot.readListEnd();
65247
                iprot.readListEnd();
64194
              }
65248
              }
64195
            } else { 
65249
            } else { 
64196
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
65250
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64211... Line 65265...
64211
      oprot.writeStructBegin(STRUCT_DESC);
65265
      oprot.writeStructBegin(STRUCT_DESC);
64212
      if (this.searchTerms != null) {
65266
      if (this.searchTerms != null) {
64213
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
65267
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
64214
        {
65268
        {
64215
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
65269
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
64216
          for (String _iter196 : this.searchTerms)
65270
          for (String _iter201 : this.searchTerms)
64217
          {
65271
          {
64218
            oprot.writeString(_iter196);
65272
            oprot.writeString(_iter201);
64219
          }
65273
          }
64220
          oprot.writeListEnd();
65274
          oprot.writeListEnd();
64221
        }
65275
        }
64222
        oprot.writeFieldEnd();
65276
        oprot.writeFieldEnd();
64223
      }
65277
      }
Line 65098... Line 66152...
65098
        }
66152
        }
65099
        switch (field.id) {
66153
        switch (field.id) {
65100
          case 0: // SUCCESS
66154
          case 0: // SUCCESS
65101
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66155
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65102
              {
66156
              {
65103
                org.apache.thrift.protocol.TList _list197 = iprot.readListBegin();
66157
                org.apache.thrift.protocol.TList _list202 = iprot.readListBegin();
65104
                this.success = new ArrayList<ProductNotificationRequest>(_list197.size);
66158
                this.success = new ArrayList<ProductNotificationRequest>(_list202.size);
65105
                for (int _i198 = 0; _i198 < _list197.size; ++_i198)
66159
                for (int _i203 = 0; _i203 < _list202.size; ++_i203)
65106
                {
66160
                {
65107
                  ProductNotificationRequest _elem199; // required
66161
                  ProductNotificationRequest _elem204; // required
65108
                  _elem199 = new ProductNotificationRequest();
66162
                  _elem204 = new ProductNotificationRequest();
65109
                  _elem199.read(iprot);
66163
                  _elem204.read(iprot);
65110
                  this.success.add(_elem199);
66164
                  this.success.add(_elem204);
65111
                }
66165
                }
65112
                iprot.readListEnd();
66166
                iprot.readListEnd();
65113
              }
66167
              }
65114
            } else { 
66168
            } else { 
65115
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66169
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65129... Line 66183...
65129
 
66183
 
65130
      if (this.isSetSuccess()) {
66184
      if (this.isSetSuccess()) {
65131
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66185
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65132
        {
66186
        {
65133
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
66187
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
65134
          for (ProductNotificationRequest _iter200 : this.success)
66188
          for (ProductNotificationRequest _iter205 : this.success)
65135
          {
66189
          {
65136
            _iter200.write(oprot);
66190
            _iter205.write(oprot);
65137
          }
66191
          }
65138
          oprot.writeListEnd();
66192
          oprot.writeListEnd();
65139
        }
66193
        }
65140
        oprot.writeFieldEnd();
66194
        oprot.writeFieldEnd();
65141
      }
66195
      }
Line 65806... Line 66860...
65806
        }
66860
        }
65807
        switch (field.id) {
66861
        switch (field.id) {
65808
          case 0: // SUCCESS
66862
          case 0: // SUCCESS
65809
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66863
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65810
              {
66864
              {
65811
                org.apache.thrift.protocol.TList _list201 = iprot.readListBegin();
66865
                org.apache.thrift.protocol.TList _list206 = iprot.readListBegin();
65812
                this.success = new ArrayList<ProductNotificationRequestCount>(_list201.size);
66866
                this.success = new ArrayList<ProductNotificationRequestCount>(_list206.size);
65813
                for (int _i202 = 0; _i202 < _list201.size; ++_i202)
66867
                for (int _i207 = 0; _i207 < _list206.size; ++_i207)
65814
                {
66868
                {
65815
                  ProductNotificationRequestCount _elem203; // required
66869
                  ProductNotificationRequestCount _elem208; // required
65816
                  _elem203 = new ProductNotificationRequestCount();
66870
                  _elem208 = new ProductNotificationRequestCount();
65817
                  _elem203.read(iprot);
66871
                  _elem208.read(iprot);
65818
                  this.success.add(_elem203);
66872
                  this.success.add(_elem208);
65819
                }
66873
                }
65820
                iprot.readListEnd();
66874
                iprot.readListEnd();
65821
              }
66875
              }
65822
            } else { 
66876
            } else { 
65823
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66877
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 65837... Line 66891...
65837
 
66891
 
65838
      if (this.isSetSuccess()) {
66892
      if (this.isSetSuccess()) {
65839
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66893
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65840
        {
66894
        {
65841
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
66895
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
65842
          for (ProductNotificationRequestCount _iter204 : this.success)
66896
          for (ProductNotificationRequestCount _iter209 : this.success)
65843
          {
66897
          {
65844
            _iter204.write(oprot);
66898
            _iter209.write(oprot);
65845
          }
66899
          }
65846
          oprot.writeListEnd();
66900
          oprot.writeListEnd();
65847
        }
66901
        }
65848
        oprot.writeFieldEnd();
66902
        oprot.writeFieldEnd();
65849
      }
66903
      }
Line 69549... Line 70603...
69549
        }
70603
        }
69550
        switch (field.id) {
70604
        switch (field.id) {
69551
          case 0: // SUCCESS
70605
          case 0: // SUCCESS
69552
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70606
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69553
              {
70607
              {
69554
                org.apache.thrift.protocol.TList _list205 = iprot.readListBegin();
70608
                org.apache.thrift.protocol.TList _list210 = iprot.readListBegin();
69555
                this.success = new ArrayList<VoucherItemMapping>(_list205.size);
70609
                this.success = new ArrayList<VoucherItemMapping>(_list210.size);
69556
                for (int _i206 = 0; _i206 < _list205.size; ++_i206)
70610
                for (int _i211 = 0; _i211 < _list210.size; ++_i211)
69557
                {
70611
                {
69558
                  VoucherItemMapping _elem207; // required
70612
                  VoucherItemMapping _elem212; // required
69559
                  _elem207 = new VoucherItemMapping();
70613
                  _elem212 = new VoucherItemMapping();
69560
                  _elem207.read(iprot);
70614
                  _elem212.read(iprot);
69561
                  this.success.add(_elem207);
70615
                  this.success.add(_elem212);
69562
                }
70616
                }
69563
                iprot.readListEnd();
70617
                iprot.readListEnd();
69564
              }
70618
              }
69565
            } else { 
70619
            } else { 
69566
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70620
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69580... Line 70634...
69580
 
70634
 
69581
      if (this.isSetSuccess()) {
70635
      if (this.isSetSuccess()) {
69582
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70636
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69583
        {
70637
        {
69584
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70638
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69585
          for (VoucherItemMapping _iter208 : this.success)
70639
          for (VoucherItemMapping _iter213 : this.success)
69586
          {
70640
          {
69587
            _iter208.write(oprot);
70641
            _iter213.write(oprot);
69588
          }
70642
          }
69589
          oprot.writeListEnd();
70643
          oprot.writeListEnd();
69590
        }
70644
        }
69591
        oprot.writeFieldEnd();
70645
        oprot.writeFieldEnd();
69592
      }
70646
      }
Line 72355... Line 73409...
72355
        }
73409
        }
72356
        switch (field.id) {
73410
        switch (field.id) {
72357
          case 0: // SUCCESS
73411
          case 0: // SUCCESS
72358
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73412
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72359
              {
73413
              {
72360
                org.apache.thrift.protocol.TList _list209 = iprot.readListBegin();
73414
                org.apache.thrift.protocol.TList _list214 = iprot.readListBegin();
72361
                this.success = new ArrayList<Item>(_list209.size);
73415
                this.success = new ArrayList<Item>(_list214.size);
72362
                for (int _i210 = 0; _i210 < _list209.size; ++_i210)
73416
                for (int _i215 = 0; _i215 < _list214.size; ++_i215)
72363
                {
73417
                {
72364
                  Item _elem211; // required
73418
                  Item _elem216; // required
72365
                  _elem211 = new Item();
73419
                  _elem216 = new Item();
72366
                  _elem211.read(iprot);
73420
                  _elem216.read(iprot);
72367
                  this.success.add(_elem211);
73421
                  this.success.add(_elem216);
72368
                }
73422
                }
72369
                iprot.readListEnd();
73423
                iprot.readListEnd();
72370
              }
73424
              }
72371
            } else { 
73425
            } else { 
72372
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73426
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72386... Line 73440...
72386
 
73440
 
72387
      if (this.isSetSuccess()) {
73441
      if (this.isSetSuccess()) {
72388
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73442
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72389
        {
73443
        {
72390
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73444
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72391
          for (Item _iter212 : this.success)
73445
          for (Item _iter217 : this.success)
72392
          {
73446
          {
72393
            _iter212.write(oprot);
73447
            _iter217.write(oprot);
72394
          }
73448
          }
72395
          oprot.writeListEnd();
73449
          oprot.writeListEnd();
72396
        }
73450
        }
72397
        oprot.writeFieldEnd();
73451
        oprot.writeFieldEnd();
72398
      }
73452
      }
Line 72886... Line 73940...
72886
        }
73940
        }
72887
        switch (field.id) {
73941
        switch (field.id) {
72888
          case 0: // SUCCESS
73942
          case 0: // SUCCESS
72889
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73943
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72890
              {
73944
              {
72891
                org.apache.thrift.protocol.TList _list213 = iprot.readListBegin();
73945
                org.apache.thrift.protocol.TList _list218 = iprot.readListBegin();
72892
                this.success = new ArrayList<Item>(_list213.size);
73946
                this.success = new ArrayList<Item>(_list218.size);
72893
                for (int _i214 = 0; _i214 < _list213.size; ++_i214)
73947
                for (int _i219 = 0; _i219 < _list218.size; ++_i219)
72894
                {
73948
                {
72895
                  Item _elem215; // required
73949
                  Item _elem220; // required
72896
                  _elem215 = new Item();
73950
                  _elem220 = new Item();
72897
                  _elem215.read(iprot);
73951
                  _elem220.read(iprot);
72898
                  this.success.add(_elem215);
73952
                  this.success.add(_elem220);
72899
                }
73953
                }
72900
                iprot.readListEnd();
73954
                iprot.readListEnd();
72901
              }
73955
              }
72902
            } else { 
73956
            } else { 
72903
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73957
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72917... Line 73971...
72917
 
73971
 
72918
      if (this.isSetSuccess()) {
73972
      if (this.isSetSuccess()) {
72919
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73973
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72920
        {
73974
        {
72921
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73975
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72922
          for (Item _iter216 : this.success)
73976
          for (Item _iter221 : this.success)
72923
          {
73977
          {
72924
            _iter216.write(oprot);
73978
            _iter221.write(oprot);
72925
          }
73979
          }
72926
          oprot.writeListEnd();
73980
          oprot.writeListEnd();
72927
        }
73981
        }
72928
        oprot.writeFieldEnd();
73982
        oprot.writeFieldEnd();
72929
      }
73983
      }
Line 74839... Line 75893...
74839
        }
75893
        }
74840
        switch (field.id) {
75894
        switch (field.id) {
74841
          case 0: // SUCCESS
75895
          case 0: // SUCCESS
74842
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
75896
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74843
              {
75897
              {
74844
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
75898
                org.apache.thrift.protocol.TList _list222 = iprot.readListBegin();
74845
                this.success = new ArrayList<Insurer>(_list217.size);
75899
                this.success = new ArrayList<Insurer>(_list222.size);
74846
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
75900
                for (int _i223 = 0; _i223 < _list222.size; ++_i223)
74847
                {
75901
                {
74848
                  Insurer _elem219; // required
75902
                  Insurer _elem224; // required
74849
                  _elem219 = new Insurer();
75903
                  _elem224 = new Insurer();
74850
                  _elem219.read(iprot);
75904
                  _elem224.read(iprot);
74851
                  this.success.add(_elem219);
75905
                  this.success.add(_elem224);
74852
                }
75906
                }
74853
                iprot.readListEnd();
75907
                iprot.readListEnd();
74854
              }
75908
              }
74855
            } else { 
75909
            } else { 
74856
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
75910
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 74870... Line 75924...
74870
 
75924
 
74871
      if (this.isSetSuccess()) {
75925
      if (this.isSetSuccess()) {
74872
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75926
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
74873
        {
75927
        {
74874
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75928
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
74875
          for (Insurer _iter220 : this.success)
75929
          for (Insurer _iter225 : this.success)
74876
          {
75930
          {
74877
            _iter220.write(oprot);
75931
            _iter225.write(oprot);
74878
          }
75932
          }
74879
          oprot.writeListEnd();
75933
          oprot.writeListEnd();
74880
        }
75934
        }
74881
        oprot.writeFieldEnd();
75935
        oprot.writeFieldEnd();
74882
      }
75936
      }
Line 77526... Line 78580...
77526
        }
78580
        }
77527
        switch (field.id) {
78581
        switch (field.id) {
77528
          case 0: // SUCCESS
78582
          case 0: // SUCCESS
77529
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
78583
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
77530
              {
78584
              {
77531
                org.apache.thrift.protocol.TMap _map221 = iprot.readMapBegin();
78585
                org.apache.thrift.protocol.TMap _map226 = iprot.readMapBegin();
77532
                this.success = new HashMap<String,BrandInfo>(2*_map221.size);
78586
                this.success = new HashMap<String,BrandInfo>(2*_map226.size);
77533
                for (int _i222 = 0; _i222 < _map221.size; ++_i222)
78587
                for (int _i227 = 0; _i227 < _map226.size; ++_i227)
77534
                {
78588
                {
77535
                  String _key223; // required
78589
                  String _key228; // required
77536
                  BrandInfo _val224; // required
78590
                  BrandInfo _val229; // required
77537
                  _key223 = iprot.readString();
78591
                  _key228 = iprot.readString();
77538
                  _val224 = new BrandInfo();
78592
                  _val229 = new BrandInfo();
77539
                  _val224.read(iprot);
78593
                  _val229.read(iprot);
77540
                  this.success.put(_key223, _val224);
78594
                  this.success.put(_key228, _val229);
77541
                }
78595
                }
77542
                iprot.readMapEnd();
78596
                iprot.readMapEnd();
77543
              }
78597
              }
77544
            } else { 
78598
            } else { 
77545
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
78599
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 77559... Line 78613...
77559
 
78613
 
77560
      if (this.isSetSuccess()) {
78614
      if (this.isSetSuccess()) {
77561
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78615
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77562
        {
78616
        {
77563
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78617
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77564
          for (Map.Entry<String, BrandInfo> _iter225 : this.success.entrySet())
78618
          for (Map.Entry<String, BrandInfo> _iter230 : this.success.entrySet())
77565
          {
78619
          {
77566
            oprot.writeString(_iter225.getKey());
78620
            oprot.writeString(_iter230.getKey());
77567
            _iter225.getValue().write(oprot);
78621
            _iter230.getValue().write(oprot);
77568
          }
78622
          }
77569
          oprot.writeMapEnd();
78623
          oprot.writeMapEnd();
77570
        }
78624
        }
77571
        oprot.writeFieldEnd();
78625
        oprot.writeFieldEnd();
77572
      }
78626
      }
Line 78448... Line 79502...
78448
        }
79502
        }
78449
        switch (field.id) {
79503
        switch (field.id) {
78450
          case 1: // ITEM_IDS
79504
          case 1: // ITEM_IDS
78451
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79505
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78452
              {
79506
              {
78453
                org.apache.thrift.protocol.TList _list226 = iprot.readListBegin();
79507
                org.apache.thrift.protocol.TList _list231 = iprot.readListBegin();
78454
                this.itemIds = new ArrayList<Long>(_list226.size);
79508
                this.itemIds = new ArrayList<Long>(_list231.size);
78455
                for (int _i227 = 0; _i227 < _list226.size; ++_i227)
79509
                for (int _i232 = 0; _i232 < _list231.size; ++_i232)
78456
                {
79510
                {
78457
                  long _elem228; // required
79511
                  long _elem233; // required
78458
                  _elem228 = iprot.readI64();
79512
                  _elem233 = iprot.readI64();
78459
                  this.itemIds.add(_elem228);
79513
                  this.itemIds.add(_elem233);
78460
                }
79514
                }
78461
                iprot.readListEnd();
79515
                iprot.readListEnd();
78462
              }
79516
              }
78463
            } else { 
79517
            } else { 
78464
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79518
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78479... Line 79533...
78479
      oprot.writeStructBegin(STRUCT_DESC);
79533
      oprot.writeStructBegin(STRUCT_DESC);
78480
      if (this.itemIds != null) {
79534
      if (this.itemIds != null) {
78481
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
79535
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
78482
        {
79536
        {
78483
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
79537
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
78484
          for (long _iter229 : this.itemIds)
79538
          for (long _iter234 : this.itemIds)
78485
          {
79539
          {
78486
            oprot.writeI64(_iter229);
79540
            oprot.writeI64(_iter234);
78487
          }
79541
          }
78488
          oprot.writeListEnd();
79542
          oprot.writeListEnd();
78489
        }
79543
        }
78490
        oprot.writeFieldEnd();
79544
        oprot.writeFieldEnd();
78491
      }
79545
      }
Line 78779... Line 79833...
78779
        }
79833
        }
78780
        switch (field.id) {
79834
        switch (field.id) {
78781
          case 0: // SUCCESS
79835
          case 0: // SUCCESS
78782
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79836
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78783
              {
79837
              {
78784
                org.apache.thrift.protocol.TList _list230 = iprot.readListBegin();
79838
                org.apache.thrift.protocol.TList _list235 = iprot.readListBegin();
78785
                this.success = new ArrayList<StorePricing>(_list230.size);
79839
                this.success = new ArrayList<StorePricing>(_list235.size);
78786
                for (int _i231 = 0; _i231 < _list230.size; ++_i231)
79840
                for (int _i236 = 0; _i236 < _list235.size; ++_i236)
78787
                {
79841
                {
78788
                  StorePricing _elem232; // required
79842
                  StorePricing _elem237; // required
78789
                  _elem232 = new StorePricing();
79843
                  _elem237 = new StorePricing();
78790
                  _elem232.read(iprot);
79844
                  _elem237.read(iprot);
78791
                  this.success.add(_elem232);
79845
                  this.success.add(_elem237);
78792
                }
79846
                }
78793
                iprot.readListEnd();
79847
                iprot.readListEnd();
78794
              }
79848
              }
78795
            } else { 
79849
            } else { 
78796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79850
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78810... Line 79864...
78810
 
79864
 
78811
      if (this.isSetSuccess()) {
79865
      if (this.isSetSuccess()) {
78812
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79866
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78813
        {
79867
        {
78814
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79868
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78815
          for (StorePricing _iter233 : this.success)
79869
          for (StorePricing _iter238 : this.success)
78816
          {
79870
          {
78817
            _iter233.write(oprot);
79871
            _iter238.write(oprot);
78818
          }
79872
          }
78819
          oprot.writeListEnd();
79873
          oprot.writeListEnd();
78820
        }
79874
        }
78821
        oprot.writeFieldEnd();
79875
        oprot.writeFieldEnd();
78822
      }
79876
      }
Line 79892... Line 80946...
79892
        }
80946
        }
79893
        switch (field.id) {
80947
        switch (field.id) {
79894
          case 0: // SUCCESS
80948
          case 0: // SUCCESS
79895
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80949
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79896
              {
80950
              {
79897
                org.apache.thrift.protocol.TList _list234 = iprot.readListBegin();
80951
                org.apache.thrift.protocol.TList _list239 = iprot.readListBegin();
79898
                this.success = new ArrayList<Amazonlisted>(_list234.size);
80952
                this.success = new ArrayList<Amazonlisted>(_list239.size);
79899
                for (int _i235 = 0; _i235 < _list234.size; ++_i235)
80953
                for (int _i240 = 0; _i240 < _list239.size; ++_i240)
79900
                {
80954
                {
79901
                  Amazonlisted _elem236; // required
80955
                  Amazonlisted _elem241; // required
79902
                  _elem236 = new Amazonlisted();
80956
                  _elem241 = new Amazonlisted();
79903
                  _elem236.read(iprot);
80957
                  _elem241.read(iprot);
79904
                  this.success.add(_elem236);
80958
                  this.success.add(_elem241);
79905
                }
80959
                }
79906
                iprot.readListEnd();
80960
                iprot.readListEnd();
79907
              }
80961
              }
79908
            } else { 
80962
            } else { 
79909
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80963
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79923... Line 80977...
79923
 
80977
 
79924
      if (this.isSetSuccess()) {
80978
      if (this.isSetSuccess()) {
79925
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80979
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79926
        {
80980
        {
79927
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80981
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79928
          for (Amazonlisted _iter237 : this.success)
80982
          for (Amazonlisted _iter242 : this.success)
79929
          {
80983
          {
79930
            _iter237.write(oprot);
80984
            _iter242.write(oprot);
79931
          }
80985
          }
79932
          oprot.writeListEnd();
80986
          oprot.writeListEnd();
79933
        }
80987
        }
79934
        oprot.writeFieldEnd();
80988
        oprot.writeFieldEnd();
79935
      }
80989
      }
Line 80362... Line 81416...
80362
        }
81416
        }
80363
        switch (field.id) {
81417
        switch (field.id) {
80364
          case 1: // SEARCH_TERM
81418
          case 1: // SEARCH_TERM
80365
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81419
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80366
              {
81420
              {
80367
                org.apache.thrift.protocol.TList _list238 = iprot.readListBegin();
81421
                org.apache.thrift.protocol.TList _list243 = iprot.readListBegin();
80368
                this.searchTerm = new ArrayList<String>(_list238.size);
81422
                this.searchTerm = new ArrayList<String>(_list243.size);
80369
                for (int _i239 = 0; _i239 < _list238.size; ++_i239)
81423
                for (int _i244 = 0; _i244 < _list243.size; ++_i244)
80370
                {
81424
                {
80371
                  String _elem240; // required
81425
                  String _elem245; // required
80372
                  _elem240 = iprot.readString();
81426
                  _elem245 = iprot.readString();
80373
                  this.searchTerm.add(_elem240);
81427
                  this.searchTerm.add(_elem245);
80374
                }
81428
                }
80375
                iprot.readListEnd();
81429
                iprot.readListEnd();
80376
              }
81430
              }
80377
            } else { 
81431
            } else { 
80378
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81432
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80409... Line 81463...
80409
      oprot.writeStructBegin(STRUCT_DESC);
81463
      oprot.writeStructBegin(STRUCT_DESC);
80410
      if (this.searchTerm != null) {
81464
      if (this.searchTerm != null) {
80411
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
81465
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
80412
        {
81466
        {
80413
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
81467
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
80414
          for (String _iter241 : this.searchTerm)
81468
          for (String _iter246 : this.searchTerm)
80415
          {
81469
          {
80416
            oprot.writeString(_iter241);
81470
            oprot.writeString(_iter246);
80417
          }
81471
          }
80418
          oprot.writeListEnd();
81472
          oprot.writeListEnd();
80419
        }
81473
        }
80420
        oprot.writeFieldEnd();
81474
        oprot.writeFieldEnd();
80421
      }
81475
      }
Line 80725... Line 81779...
80725
        }
81779
        }
80726
        switch (field.id) {
81780
        switch (field.id) {
80727
          case 0: // SUCCESS
81781
          case 0: // SUCCESS
80728
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81782
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80729
              {
81783
              {
80730
                org.apache.thrift.protocol.TList _list242 = iprot.readListBegin();
81784
                org.apache.thrift.protocol.TList _list247 = iprot.readListBegin();
80731
                this.success = new ArrayList<Amazonlisted>(_list242.size);
81785
                this.success = new ArrayList<Amazonlisted>(_list247.size);
80732
                for (int _i243 = 0; _i243 < _list242.size; ++_i243)
81786
                for (int _i248 = 0; _i248 < _list247.size; ++_i248)
80733
                {
81787
                {
80734
                  Amazonlisted _elem244; // required
81788
                  Amazonlisted _elem249; // required
80735
                  _elem244 = new Amazonlisted();
81789
                  _elem249 = new Amazonlisted();
80736
                  _elem244.read(iprot);
81790
                  _elem249.read(iprot);
80737
                  this.success.add(_elem244);
81791
                  this.success.add(_elem249);
80738
                }
81792
                }
80739
                iprot.readListEnd();
81793
                iprot.readListEnd();
80740
              }
81794
              }
80741
            } else { 
81795
            } else { 
80742
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80756... Line 81810...
80756
 
81810
 
80757
      if (this.isSetSuccess()) {
81811
      if (this.isSetSuccess()) {
80758
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81812
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80759
        {
81813
        {
80760
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81814
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80761
          for (Amazonlisted _iter245 : this.success)
81815
          for (Amazonlisted _iter250 : this.success)
80762
          {
81816
          {
80763
            _iter245.write(oprot);
81817
            _iter250.write(oprot);
80764
          }
81818
          }
80765
          oprot.writeListEnd();
81819
          oprot.writeListEnd();
80766
        }
81820
        }
80767
        oprot.writeFieldEnd();
81821
        oprot.writeFieldEnd();
80768
      }
81822
      }
Line 81056... Line 82110...
81056
        }
82110
        }
81057
        switch (field.id) {
82111
        switch (field.id) {
81058
          case 1: // SEARCH_TERM
82112
          case 1: // SEARCH_TERM
81059
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82113
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81060
              {
82114
              {
81061
                org.apache.thrift.protocol.TList _list246 = iprot.readListBegin();
82115
                org.apache.thrift.protocol.TList _list251 = iprot.readListBegin();
81062
                this.searchTerm = new ArrayList<String>(_list246.size);
82116
                this.searchTerm = new ArrayList<String>(_list251.size);
81063
                for (int _i247 = 0; _i247 < _list246.size; ++_i247)
82117
                for (int _i252 = 0; _i252 < _list251.size; ++_i252)
81064
                {
82118
                {
81065
                  String _elem248; // required
82119
                  String _elem253; // required
81066
                  _elem248 = iprot.readString();
82120
                  _elem253 = iprot.readString();
81067
                  this.searchTerm.add(_elem248);
82121
                  this.searchTerm.add(_elem253);
81068
                }
82122
                }
81069
                iprot.readListEnd();
82123
                iprot.readListEnd();
81070
              }
82124
              }
81071
            } else { 
82125
            } else { 
81072
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82126
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81087... Line 82141...
81087
      oprot.writeStructBegin(STRUCT_DESC);
82141
      oprot.writeStructBegin(STRUCT_DESC);
81088
      if (this.searchTerm != null) {
82142
      if (this.searchTerm != null) {
81089
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
82143
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
81090
        {
82144
        {
81091
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
82145
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
81092
          for (String _iter249 : this.searchTerm)
82146
          for (String _iter254 : this.searchTerm)
81093
          {
82147
          {
81094
            oprot.writeString(_iter249);
82148
            oprot.writeString(_iter254);
81095
          }
82149
          }
81096
          oprot.writeListEnd();
82150
          oprot.writeListEnd();
81097
        }
82151
        }
81098
        oprot.writeFieldEnd();
82152
        oprot.writeFieldEnd();
81099
      }
82153
      }
Line 83949... Line 85003...
83949
        }
85003
        }
83950
        switch (field.id) {
85004
        switch (field.id) {
83951
          case 0: // SUCCESS
85005
          case 0: // SUCCESS
83952
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85006
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83953
              {
85007
              {
83954
                org.apache.thrift.protocol.TList _list250 = iprot.readListBegin();
85008
                org.apache.thrift.protocol.TList _list255 = iprot.readListBegin();
83955
                this.success = new ArrayList<Item>(_list250.size);
85009
                this.success = new ArrayList<Item>(_list255.size);
83956
                for (int _i251 = 0; _i251 < _list250.size; ++_i251)
85010
                for (int _i256 = 0; _i256 < _list255.size; ++_i256)
83957
                {
85011
                {
83958
                  Item _elem252; // required
85012
                  Item _elem257; // required
83959
                  _elem252 = new Item();
85013
                  _elem257 = new Item();
83960
                  _elem252.read(iprot);
85014
                  _elem257.read(iprot);
83961
                  this.success.add(_elem252);
85015
                  this.success.add(_elem257);
83962
                }
85016
                }
83963
                iprot.readListEnd();
85017
                iprot.readListEnd();
83964
              }
85018
              }
83965
            } else { 
85019
            } else { 
83966
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85020
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 83980... Line 85034...
83980
 
85034
 
83981
      if (this.isSetSuccess()) {
85035
      if (this.isSetSuccess()) {
83982
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85036
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83983
        {
85037
        {
83984
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85038
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83985
          for (Item _iter253 : this.success)
85039
          for (Item _iter258 : this.success)
83986
          {
85040
          {
83987
            _iter253.write(oprot);
85041
            _iter258.write(oprot);
83988
          }
85042
          }
83989
          oprot.writeListEnd();
85043
          oprot.writeListEnd();
83990
        }
85044
        }
83991
        oprot.writeFieldEnd();
85045
        oprot.writeFieldEnd();
83992
      }
85046
      }
Line 84480... Line 85534...
84480
        }
85534
        }
84481
        switch (field.id) {
85535
        switch (field.id) {
84482
          case 0: // SUCCESS
85536
          case 0: // SUCCESS
84483
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85537
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84484
              {
85538
              {
84485
                org.apache.thrift.protocol.TList _list254 = iprot.readListBegin();
85539
                org.apache.thrift.protocol.TList _list259 = iprot.readListBegin();
84486
                this.success = new ArrayList<Amazonlisted>(_list254.size);
85540
                this.success = new ArrayList<Amazonlisted>(_list259.size);
84487
                for (int _i255 = 0; _i255 < _list254.size; ++_i255)
85541
                for (int _i260 = 0; _i260 < _list259.size; ++_i260)
84488
                {
85542
                {
84489
                  Amazonlisted _elem256; // required
85543
                  Amazonlisted _elem261; // required
84490
                  _elem256 = new Amazonlisted();
85544
                  _elem261 = new Amazonlisted();
84491
                  _elem256.read(iprot);
85545
                  _elem261.read(iprot);
84492
                  this.success.add(_elem256);
85546
                  this.success.add(_elem261);
84493
                }
85547
                }
84494
                iprot.readListEnd();
85548
                iprot.readListEnd();
84495
              }
85549
              }
84496
            } else { 
85550
            } else { 
84497
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
85551
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 84511... Line 85565...
84511
 
85565
 
84512
      if (this.isSetSuccess()) {
85566
      if (this.isSetSuccess()) {
84513
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85567
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84514
        {
85568
        {
84515
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85569
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84516
          for (Amazonlisted _iter257 : this.success)
85570
          for (Amazonlisted _iter262 : this.success)
84517
          {
85571
          {
84518
            _iter257.write(oprot);
85572
            _iter262.write(oprot);
84519
          }
85573
          }
84520
          oprot.writeListEnd();
85574
          oprot.writeListEnd();
84521
        }
85575
        }
84522
        oprot.writeFieldEnd();
85576
        oprot.writeFieldEnd();
84523
      }
85577
      }
Line 85011... Line 86065...
85011
        }
86065
        }
85012
        switch (field.id) {
86066
        switch (field.id) {
85013
          case 0: // SUCCESS
86067
          case 0: // SUCCESS
85014
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86068
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85015
              {
86069
              {
85016
                org.apache.thrift.protocol.TList _list258 = iprot.readListBegin();
86070
                org.apache.thrift.protocol.TList _list263 = iprot.readListBegin();
85017
                this.success = new ArrayList<Amazonlisted>(_list258.size);
86071
                this.success = new ArrayList<Amazonlisted>(_list263.size);
85018
                for (int _i259 = 0; _i259 < _list258.size; ++_i259)
86072
                for (int _i264 = 0; _i264 < _list263.size; ++_i264)
85019
                {
86073
                {
85020
                  Amazonlisted _elem260; // required
86074
                  Amazonlisted _elem265; // required
85021
                  _elem260 = new Amazonlisted();
86075
                  _elem265 = new Amazonlisted();
85022
                  _elem260.read(iprot);
86076
                  _elem265.read(iprot);
85023
                  this.success.add(_elem260);
86077
                  this.success.add(_elem265);
85024
                }
86078
                }
85025
                iprot.readListEnd();
86079
                iprot.readListEnd();
85026
              }
86080
              }
85027
            } else { 
86081
            } else { 
85028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86082
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85042... Line 86096...
85042
 
86096
 
85043
      if (this.isSetSuccess()) {
86097
      if (this.isSetSuccess()) {
85044
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86098
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85045
        {
86099
        {
85046
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
86100
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85047
          for (Amazonlisted _iter261 : this.success)
86101
          for (Amazonlisted _iter266 : this.success)
85048
          {
86102
          {
85049
            _iter261.write(oprot);
86103
            _iter266.write(oprot);
85050
          }
86104
          }
85051
          oprot.writeListEnd();
86105
          oprot.writeListEnd();
85052
        }
86106
        }
85053
        oprot.writeFieldEnd();
86107
        oprot.writeFieldEnd();
85054
      }
86108
      }
Line 86241... Line 87295...
86241
            }
87295
            }
86242
            break;
87296
            break;
86243
          case 2: // SKU
87297
          case 2: // SKU
86244
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87298
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86245
              {
87299
              {
86246
                org.apache.thrift.protocol.TList _list262 = iprot.readListBegin();
87300
                org.apache.thrift.protocol.TList _list267 = iprot.readListBegin();
86247
                this.sku = new ArrayList<Long>(_list262.size);
87301
                this.sku = new ArrayList<Long>(_list267.size);
86248
                for (int _i263 = 0; _i263 < _list262.size; ++_i263)
87302
                for (int _i268 = 0; _i268 < _list267.size; ++_i268)
86249
                {
87303
                {
86250
                  long _elem264; // required
87304
                  long _elem269; // required
86251
                  _elem264 = iprot.readI64();
87305
                  _elem269 = iprot.readI64();
86252
                  this.sku.add(_elem264);
87306
                  this.sku.add(_elem269);
86253
                }
87307
                }
86254
                iprot.readListEnd();
87308
                iprot.readListEnd();
86255
              }
87309
              }
86256
            } else { 
87310
            } else { 
86257
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
87311
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 86285... Line 87339...
86285
      }
87339
      }
86286
      if (this.sku != null) {
87340
      if (this.sku != null) {
86287
        oprot.writeFieldBegin(SKU_FIELD_DESC);
87341
        oprot.writeFieldBegin(SKU_FIELD_DESC);
86288
        {
87342
        {
86289
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
87343
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
86290
          for (long _iter265 : this.sku)
87344
          for (long _iter270 : this.sku)
86291
          {
87345
          {
86292
            oprot.writeI64(_iter265);
87346
            oprot.writeI64(_iter270);
86293
          }
87347
          }
86294
          oprot.writeListEnd();
87348
          oprot.writeListEnd();
86295
        }
87349
        }
86296
        oprot.writeFieldEnd();
87350
        oprot.writeFieldEnd();
86297
      }
87351
      }
Line 87095... Line 88149...
87095
        }
88149
        }
87096
        switch (field.id) {
88150
        switch (field.id) {
87097
          case 0: // SUCCESS
88151
          case 0: // SUCCESS
87098
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88152
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87099
              {
88153
              {
87100
                org.apache.thrift.protocol.TList _list266 = iprot.readListBegin();
88154
                org.apache.thrift.protocol.TList _list271 = iprot.readListBegin();
87101
                this.success = new ArrayList<Category>(_list266.size);
88155
                this.success = new ArrayList<Category>(_list271.size);
87102
                for (int _i267 = 0; _i267 < _list266.size; ++_i267)
88156
                for (int _i272 = 0; _i272 < _list271.size; ++_i272)
87103
                {
88157
                {
87104
                  Category _elem268; // required
88158
                  Category _elem273; // required
87105
                  _elem268 = new Category();
88159
                  _elem273 = new Category();
87106
                  _elem268.read(iprot);
88160
                  _elem273.read(iprot);
87107
                  this.success.add(_elem268);
88161
                  this.success.add(_elem273);
87108
                }
88162
                }
87109
                iprot.readListEnd();
88163
                iprot.readListEnd();
87110
              }
88164
              }
87111
            } else { 
88165
            } else { 
87112
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88166
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87126... Line 88180...
87126
 
88180
 
87127
      if (this.isSetSuccess()) {
88181
      if (this.isSetSuccess()) {
87128
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88182
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87129
        {
88183
        {
87130
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
88184
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87131
          for (Category _iter269 : this.success)
88185
          for (Category _iter274 : this.success)
87132
          {
88186
          {
87133
            _iter269.write(oprot);
88187
            _iter274.write(oprot);
87134
          }
88188
          }
87135
          oprot.writeListEnd();
88189
          oprot.writeListEnd();
87136
        }
88190
        }
87137
        oprot.writeFieldEnd();
88191
        oprot.writeFieldEnd();
87138
      }
88192
      }
Line 90367... Line 91421...
90367
        }
91421
        }
90368
        switch (field.id) {
91422
        switch (field.id) {
90369
          case 0: // SUCCESS
91423
          case 0: // SUCCESS
90370
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91424
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90371
              {
91425
              {
90372
                org.apache.thrift.protocol.TList _list270 = iprot.readListBegin();
91426
                org.apache.thrift.protocol.TList _list275 = iprot.readListBegin();
90373
                this.success = new ArrayList<Amazonlisted>(_list270.size);
91427
                this.success = new ArrayList<Amazonlisted>(_list275.size);
90374
                for (int _i271 = 0; _i271 < _list270.size; ++_i271)
91428
                for (int _i276 = 0; _i276 < _list275.size; ++_i276)
90375
                {
91429
                {
90376
                  Amazonlisted _elem272; // required
91430
                  Amazonlisted _elem277; // required
90377
                  _elem272 = new Amazonlisted();
91431
                  _elem277 = new Amazonlisted();
90378
                  _elem272.read(iprot);
91432
                  _elem277.read(iprot);
90379
                  this.success.add(_elem272);
91433
                  this.success.add(_elem277);
90380
                }
91434
                }
90381
                iprot.readListEnd();
91435
                iprot.readListEnd();
90382
              }
91436
              }
90383
            } else { 
91437
            } else { 
90384
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91438
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90398... Line 91452...
90398
 
91452
 
90399
      if (this.isSetSuccess()) {
91453
      if (this.isSetSuccess()) {
90400
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91454
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90401
        {
91455
        {
90402
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91456
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
90403
          for (Amazonlisted _iter273 : this.success)
91457
          for (Amazonlisted _iter278 : this.success)
90404
          {
91458
          {
90405
            _iter273.write(oprot);
91459
            _iter278.write(oprot);
90406
          }
91460
          }
90407
          oprot.writeListEnd();
91461
          oprot.writeListEnd();
90408
        }
91462
        }
90409
        oprot.writeFieldEnd();
91463
        oprot.writeFieldEnd();
90410
      }
91464
      }
Line 90703... Line 91757...
90703
        }
91757
        }
90704
        switch (field.id) {
91758
        switch (field.id) {
90705
          case 1: // AMAZONLISTED
91759
          case 1: // AMAZONLISTED
90706
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
91760
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
90707
              {
91761
              {
90708
                org.apache.thrift.protocol.TMap _map274 = iprot.readMapBegin();
91762
                org.apache.thrift.protocol.TMap _map279 = iprot.readMapBegin();
90709
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map274.size);
91763
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map279.size);
90710
                for (int _i275 = 0; _i275 < _map274.size; ++_i275)
91764
                for (int _i280 = 0; _i280 < _map279.size; ++_i280)
90711
                {
91765
                {
90712
                  long _key276; // required
91766
                  long _key281; // required
90713
                  Amazonlisted _val277; // required
91767
                  Amazonlisted _val282; // required
90714
                  _key276 = iprot.readI64();
91768
                  _key281 = iprot.readI64();
90715
                  _val277 = new Amazonlisted();
91769
                  _val282 = new Amazonlisted();
90716
                  _val277.read(iprot);
91770
                  _val282.read(iprot);
90717
                  this.amazonlisted.put(_key276, _val277);
91771
                  this.amazonlisted.put(_key281, _val282);
90718
                }
91772
                }
90719
                iprot.readMapEnd();
91773
                iprot.readMapEnd();
90720
              }
91774
              }
90721
            } else { 
91775
            } else { 
90722
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
91776
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 90737... Line 91791...
90737
      oprot.writeStructBegin(STRUCT_DESC);
91791
      oprot.writeStructBegin(STRUCT_DESC);
90738
      if (this.amazonlisted != null) {
91792
      if (this.amazonlisted != null) {
90739
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
91793
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
90740
        {
91794
        {
90741
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
91795
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
90742
          for (Map.Entry<Long, Amazonlisted> _iter278 : this.amazonlisted.entrySet())
91796
          for (Map.Entry<Long, Amazonlisted> _iter283 : this.amazonlisted.entrySet())
90743
          {
91797
          {
90744
            oprot.writeI64(_iter278.getKey());
91798
            oprot.writeI64(_iter283.getKey());
90745
            _iter278.getValue().write(oprot);
91799
            _iter283.getValue().write(oprot);
90746
          }
91800
          }
90747
          oprot.writeMapEnd();
91801
          oprot.writeMapEnd();
90748
        }
91802
        }
90749
        oprot.writeFieldEnd();
91803
        oprot.writeFieldEnd();
90750
      }
91804
      }
Line 91531... Line 92585...
91531
        }
92585
        }
91532
        switch (field.id) {
92586
        switch (field.id) {
91533
          case 0: // SUCCESS
92587
          case 0: // SUCCESS
91534
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92588
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
91535
              {
92589
              {
91536
                org.apache.thrift.protocol.TList _list279 = iprot.readListBegin();
92590
                org.apache.thrift.protocol.TList _list284 = iprot.readListBegin();
91537
                this.success = new ArrayList<Amazonlisted>(_list279.size);
92591
                this.success = new ArrayList<Amazonlisted>(_list284.size);
91538
                for (int _i280 = 0; _i280 < _list279.size; ++_i280)
92592
                for (int _i285 = 0; _i285 < _list284.size; ++_i285)
91539
                {
92593
                {
91540
                  Amazonlisted _elem281; // required
92594
                  Amazonlisted _elem286; // required
91541
                  _elem281 = new Amazonlisted();
92595
                  _elem286 = new Amazonlisted();
91542
                  _elem281.read(iprot);
92596
                  _elem286.read(iprot);
91543
                  this.success.add(_elem281);
92597
                  this.success.add(_elem286);
91544
                }
92598
                }
91545
                iprot.readListEnd();
92599
                iprot.readListEnd();
91546
              }
92600
              }
91547
            } else { 
92601
            } else { 
91548
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
92602
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 91562... Line 92616...
91562
 
92616
 
91563
      if (this.isSetSuccess()) {
92617
      if (this.isSetSuccess()) {
91564
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92618
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
91565
        {
92619
        {
91566
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92620
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
91567
          for (Amazonlisted _iter282 : this.success)
92621
          for (Amazonlisted _iter287 : this.success)
91568
          {
92622
          {
91569
            _iter282.write(oprot);
92623
            _iter287.write(oprot);
91570
          }
92624
          }
91571
          oprot.writeListEnd();
92625
          oprot.writeListEnd();
91572
        }
92626
        }
91573
        oprot.writeFieldEnd();
92627
        oprot.writeFieldEnd();
91574
      }
92628
      }
Line 92062... Line 93116...
92062
        }
93116
        }
92063
        switch (field.id) {
93117
        switch (field.id) {
92064
          case 0: // SUCCESS
93118
          case 0: // SUCCESS
92065
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
93119
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
92066
              {
93120
              {
92067
                org.apache.thrift.protocol.TList _list283 = iprot.readListBegin();
93121
                org.apache.thrift.protocol.TList _list288 = iprot.readListBegin();
92068
                this.success = new ArrayList<Amazonlisted>(_list283.size);
93122
                this.success = new ArrayList<Amazonlisted>(_list288.size);
92069
                for (int _i284 = 0; _i284 < _list283.size; ++_i284)
93123
                for (int _i289 = 0; _i289 < _list288.size; ++_i289)
92070
                {
93124
                {
92071
                  Amazonlisted _elem285; // required
93125
                  Amazonlisted _elem290; // required
92072
                  _elem285 = new Amazonlisted();
93126
                  _elem290 = new Amazonlisted();
92073
                  _elem285.read(iprot);
93127
                  _elem290.read(iprot);
92074
                  this.success.add(_elem285);
93128
                  this.success.add(_elem290);
92075
                }
93129
                }
92076
                iprot.readListEnd();
93130
                iprot.readListEnd();
92077
              }
93131
              }
92078
            } else { 
93132
            } else { 
92079
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93133
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92093... Line 93147...
92093
 
93147
 
92094
      if (this.isSetSuccess()) {
93148
      if (this.isSetSuccess()) {
92095
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
93149
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
92096
        {
93150
        {
92097
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
93151
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
92098
          for (Amazonlisted _iter286 : this.success)
93152
          for (Amazonlisted _iter291 : this.success)
92099
          {
93153
          {
92100
            _iter286.write(oprot);
93154
            _iter291.write(oprot);
92101
          }
93155
          }
92102
          oprot.writeListEnd();
93156
          oprot.writeListEnd();
92103
        }
93157
        }
92104
        oprot.writeFieldEnd();
93158
        oprot.writeFieldEnd();
92105
      }
93159
      }
Line 92398... Line 93452...
92398
        }
93452
        }
92399
        switch (field.id) {
93453
        switch (field.id) {
92400
          case 1: // ITEM
93454
          case 1: // ITEM
92401
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
93455
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
92402
              {
93456
              {
92403
                org.apache.thrift.protocol.TMap _map287 = iprot.readMapBegin();
93457
                org.apache.thrift.protocol.TMap _map292 = iprot.readMapBegin();
92404
                this.item = new HashMap<Long,Item>(2*_map287.size);
93458
                this.item = new HashMap<Long,Item>(2*_map292.size);
92405
                for (int _i288 = 0; _i288 < _map287.size; ++_i288)
93459
                for (int _i293 = 0; _i293 < _map292.size; ++_i293)
92406
                {
93460
                {
92407
                  long _key289; // required
93461
                  long _key294; // required
92408
                  Item _val290; // required
93462
                  Item _val295; // required
92409
                  _key289 = iprot.readI64();
93463
                  _key294 = iprot.readI64();
92410
                  _val290 = new Item();
93464
                  _val295 = new Item();
92411
                  _val290.read(iprot);
93465
                  _val295.read(iprot);
92412
                  this.item.put(_key289, _val290);
93466
                  this.item.put(_key294, _val295);
92413
                }
93467
                }
92414
                iprot.readMapEnd();
93468
                iprot.readMapEnd();
92415
              }
93469
              }
92416
            } else { 
93470
            } else { 
92417
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
93471
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 92432... Line 93486...
92432
      oprot.writeStructBegin(STRUCT_DESC);
93486
      oprot.writeStructBegin(STRUCT_DESC);
92433
      if (this.item != null) {
93487
      if (this.item != null) {
92434
        oprot.writeFieldBegin(ITEM_FIELD_DESC);
93488
        oprot.writeFieldBegin(ITEM_FIELD_DESC);
92435
        {
93489
        {
92436
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.item.size()));
93490
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.item.size()));
92437
          for (Map.Entry<Long, Item> _iter291 : this.item.entrySet())
93491
          for (Map.Entry<Long, Item> _iter296 : this.item.entrySet())
92438
          {
93492
          {
92439
            oprot.writeI64(_iter291.getKey());
93493
            oprot.writeI64(_iter296.getKey());
92440
            _iter291.getValue().write(oprot);
93494
            _iter296.getValue().write(oprot);
92441
          }
93495
          }
92442
          oprot.writeMapEnd();
93496
          oprot.writeMapEnd();
92443
        }
93497
        }
92444
        oprot.writeFieldEnd();
93498
        oprot.writeFieldEnd();
92445
      }
93499
      }
Line 94896... Line 95950...
94896
        }
95950
        }
94897
        switch (field.id) {
95951
        switch (field.id) {
94898
          case 0: // SUCCESS
95952
          case 0: // SUCCESS
94899
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95953
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
94900
              {
95954
              {
94901
                org.apache.thrift.protocol.TList _list292 = iprot.readListBegin();
95955
                org.apache.thrift.protocol.TList _list297 = iprot.readListBegin();
94902
                this.success = new ArrayList<SnapdealItemDetails>(_list292.size);
95956
                this.success = new ArrayList<SnapdealItemDetails>(_list297.size);
94903
                for (int _i293 = 0; _i293 < _list292.size; ++_i293)
95957
                for (int _i298 = 0; _i298 < _list297.size; ++_i298)
94904
                {
95958
                {
94905
                  SnapdealItemDetails _elem294; // required
95959
                  SnapdealItemDetails _elem299; // required
94906
                  _elem294 = new SnapdealItemDetails();
95960
                  _elem299 = new SnapdealItemDetails();
94907
                  _elem294.read(iprot);
95961
                  _elem299.read(iprot);
94908
                  this.success.add(_elem294);
95962
                  this.success.add(_elem299);
94909
                }
95963
                }
94910
                iprot.readListEnd();
95964
                iprot.readListEnd();
94911
              }
95965
              }
94912
            } else { 
95966
            } else { 
94913
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
95967
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 94927... Line 95981...
94927
 
95981
 
94928
      if (this.isSetSuccess()) {
95982
      if (this.isSetSuccess()) {
94929
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95983
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
94930
        {
95984
        {
94931
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95985
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
94932
          for (SnapdealItemDetails _iter295 : this.success)
95986
          for (SnapdealItemDetails _iter300 : this.success)
94933
          {
95987
          {
94934
            _iter295.write(oprot);
95988
            _iter300.write(oprot);
94935
          }
95989
          }
94936
          oprot.writeListEnd();
95990
          oprot.writeListEnd();
94937
        }
95991
        }
94938
        oprot.writeFieldEnd();
95992
        oprot.writeFieldEnd();
94939
      }
95993
      }
Line 95604... Line 96658...
95604
        }
96658
        }
95605
        switch (field.id) {
96659
        switch (field.id) {
95606
          case 0: // SUCCESS
96660
          case 0: // SUCCESS
95607
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96661
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
95608
              {
96662
              {
95609
                org.apache.thrift.protocol.TList _list296 = iprot.readListBegin();
96663
                org.apache.thrift.protocol.TList _list301 = iprot.readListBegin();
95610
                this.success = new ArrayList<SnapdealItemDetails>(_list296.size);
96664
                this.success = new ArrayList<SnapdealItemDetails>(_list301.size);
95611
                for (int _i297 = 0; _i297 < _list296.size; ++_i297)
96665
                for (int _i302 = 0; _i302 < _list301.size; ++_i302)
95612
                {
96666
                {
95613
                  SnapdealItemDetails _elem298; // required
96667
                  SnapdealItemDetails _elem303; // required
95614
                  _elem298 = new SnapdealItemDetails();
96668
                  _elem303 = new SnapdealItemDetails();
95615
                  _elem298.read(iprot);
96669
                  _elem303.read(iprot);
95616
                  this.success.add(_elem298);
96670
                  this.success.add(_elem303);
95617
                }
96671
                }
95618
                iprot.readListEnd();
96672
                iprot.readListEnd();
95619
              }
96673
              }
95620
            } else { 
96674
            } else { 
95621
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
96675
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 95635... Line 96689...
95635
 
96689
 
95636
      if (this.isSetSuccess()) {
96690
      if (this.isSetSuccess()) {
95637
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96691
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
95638
        {
96692
        {
95639
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96693
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
95640
          for (SnapdealItemDetails _iter299 : this.success)
96694
          for (SnapdealItemDetails _iter304 : this.success)
95641
          {
96695
          {
95642
            _iter299.write(oprot);
96696
            _iter304.write(oprot);
95643
          }
96697
          }
95644
          oprot.writeListEnd();
96698
          oprot.writeListEnd();
95645
        }
96699
        }
95646
        oprot.writeFieldEnd();
96700
        oprot.writeFieldEnd();
95647
      }
96701
      }
Line 96074... Line 97128...
96074
        }
97128
        }
96075
        switch (field.id) {
97129
        switch (field.id) {
96076
          case 1: // SEARCH_TERM
97130
          case 1: // SEARCH_TERM
96077
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97131
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96078
              {
97132
              {
96079
                org.apache.thrift.protocol.TList _list300 = iprot.readListBegin();
97133
                org.apache.thrift.protocol.TList _list305 = iprot.readListBegin();
96080
                this.searchTerm = new ArrayList<String>(_list300.size);
97134
                this.searchTerm = new ArrayList<String>(_list305.size);
96081
                for (int _i301 = 0; _i301 < _list300.size; ++_i301)
97135
                for (int _i306 = 0; _i306 < _list305.size; ++_i306)
96082
                {
97136
                {
96083
                  String _elem302; // required
97137
                  String _elem307; // required
96084
                  _elem302 = iprot.readString();
97138
                  _elem307 = iprot.readString();
96085
                  this.searchTerm.add(_elem302);
97139
                  this.searchTerm.add(_elem307);
96086
                }
97140
                }
96087
                iprot.readListEnd();
97141
                iprot.readListEnd();
96088
              }
97142
              }
96089
            } else { 
97143
            } else { 
96090
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97144
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 96121... Line 97175...
96121
      oprot.writeStructBegin(STRUCT_DESC);
97175
      oprot.writeStructBegin(STRUCT_DESC);
96122
      if (this.searchTerm != null) {
97176
      if (this.searchTerm != null) {
96123
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
97177
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
96124
        {
97178
        {
96125
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
97179
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
96126
          for (String _iter303 : this.searchTerm)
97180
          for (String _iter308 : this.searchTerm)
96127
          {
97181
          {
96128
            oprot.writeString(_iter303);
97182
            oprot.writeString(_iter308);
96129
          }
97183
          }
96130
          oprot.writeListEnd();
97184
          oprot.writeListEnd();
96131
        }
97185
        }
96132
        oprot.writeFieldEnd();
97186
        oprot.writeFieldEnd();
96133
      }
97187
      }
Line 96437... Line 97491...
96437
        }
97491
        }
96438
        switch (field.id) {
97492
        switch (field.id) {
96439
          case 0: // SUCCESS
97493
          case 0: // SUCCESS
96440
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97494
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
96441
              {
97495
              {
96442
                org.apache.thrift.protocol.TList _list304 = iprot.readListBegin();
97496
                org.apache.thrift.protocol.TList _list309 = iprot.readListBegin();
96443
                this.success = new ArrayList<SnapdealItemDetails>(_list304.size);
97497
                this.success = new ArrayList<SnapdealItemDetails>(_list309.size);
96444
                for (int _i305 = 0; _i305 < _list304.size; ++_i305)
97498
                for (int _i310 = 0; _i310 < _list309.size; ++_i310)
96445
                {
97499
                {
96446
                  SnapdealItemDetails _elem306; // required
97500
                  SnapdealItemDetails _elem311; // required
96447
                  _elem306 = new SnapdealItemDetails();
97501
                  _elem311 = new SnapdealItemDetails();
96448
                  _elem306.read(iprot);
97502
                  _elem311.read(iprot);
96449
                  this.success.add(_elem306);
97503
                  this.success.add(_elem311);
96450
                }
97504
                }
96451
                iprot.readListEnd();
97505
                iprot.readListEnd();
96452
              }
97506
              }
96453
            } else { 
97507
            } else { 
96454
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
97508
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 96468... Line 97522...
96468
 
97522
 
96469
      if (this.isSetSuccess()) {
97523
      if (this.isSetSuccess()) {
96470
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
97524
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
96471
        {
97525
        {
96472
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
97526
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
96473
          for (SnapdealItemDetails _iter307 : this.success)
97527
          for (SnapdealItemDetails _iter312 : this.success)
96474
          {
97528
          {
96475
            _iter307.write(oprot);
97529
            _iter312.write(oprot);
96476
          }
97530
          }
96477
          oprot.writeListEnd();
97531
          oprot.writeListEnd();
96478
        }
97532
        }
96479
        oprot.writeFieldEnd();
97533
        oprot.writeFieldEnd();
96480
      }
97534
      }
Line 97261... Line 98315...
97261
        }
98315
        }
97262
        switch (field.id) {
98316
        switch (field.id) {
97263
          case 1: // SEARCH_TERM
98317
          case 1: // SEARCH_TERM
97264
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
98318
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
97265
              {
98319
              {
97266
                org.apache.thrift.protocol.TList _list308 = iprot.readListBegin();
98320
                org.apache.thrift.protocol.TList _list313 = iprot.readListBegin();
97267
                this.searchTerm = new ArrayList<String>(_list308.size);
98321
                this.searchTerm = new ArrayList<String>(_list313.size);
97268
                for (int _i309 = 0; _i309 < _list308.size; ++_i309)
98322
                for (int _i314 = 0; _i314 < _list313.size; ++_i314)
97269
                {
98323
                {
97270
                  String _elem310; // required
98324
                  String _elem315; // required
97271
                  _elem310 = iprot.readString();
98325
                  _elem315 = iprot.readString();
97272
                  this.searchTerm.add(_elem310);
98326
                  this.searchTerm.add(_elem315);
97273
                }
98327
                }
97274
                iprot.readListEnd();
98328
                iprot.readListEnd();
97275
              }
98329
              }
97276
            } else { 
98330
            } else { 
97277
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
98331
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 97292... Line 98346...
97292
      oprot.writeStructBegin(STRUCT_DESC);
98346
      oprot.writeStructBegin(STRUCT_DESC);
97293
      if (this.searchTerm != null) {
98347
      if (this.searchTerm != null) {
97294
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
98348
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
97295
        {
98349
        {
97296
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
98350
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
97297
          for (String _iter311 : this.searchTerm)
98351
          for (String _iter316 : this.searchTerm)
97298
          {
98352
          {
97299
            oprot.writeString(_iter311);
98353
            oprot.writeString(_iter316);
97300
          }
98354
          }
97301
          oprot.writeListEnd();
98355
          oprot.writeListEnd();
97302
        }
98356
        }
97303
        oprot.writeFieldEnd();
98357
        oprot.writeFieldEnd();
97304
      }
98358
      }
Line 102131... Line 103185...
102131
        }
103185
        }
102132
        switch (field.id) {
103186
        switch (field.id) {
102133
          case 0: // SUCCESS
103187
          case 0: // SUCCESS
102134
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
103188
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
102135
              {
103189
              {
102136
                org.apache.thrift.protocol.TList _list312 = iprot.readListBegin();
103190
                org.apache.thrift.protocol.TList _list317 = iprot.readListBegin();
102137
                this.success = new ArrayList<ProductFeedSubmit>(_list312.size);
103191
                this.success = new ArrayList<ProductFeedSubmit>(_list317.size);
102138
                for (int _i313 = 0; _i313 < _list312.size; ++_i313)
103192
                for (int _i318 = 0; _i318 < _list317.size; ++_i318)
102139
                {
103193
                {
102140
                  ProductFeedSubmit _elem314; // required
103194
                  ProductFeedSubmit _elem319; // required
102141
                  _elem314 = new ProductFeedSubmit();
103195
                  _elem319 = new ProductFeedSubmit();
102142
                  _elem314.read(iprot);
103196
                  _elem319.read(iprot);
102143
                  this.success.add(_elem314);
103197
                  this.success.add(_elem319);
102144
                }
103198
                }
102145
                iprot.readListEnd();
103199
                iprot.readListEnd();
102146
              }
103200
              }
102147
            } else { 
103201
            } else { 
102148
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
103202
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 102170... Line 103224...
102170
 
103224
 
102171
      if (this.isSetSuccess()) {
103225
      if (this.isSetSuccess()) {
102172
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
103226
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
102173
        {
103227
        {
102174
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
103228
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
102175
          for (ProductFeedSubmit _iter315 : this.success)
103229
          for (ProductFeedSubmit _iter320 : this.success)
102176
          {
103230
          {
102177
            _iter315.write(oprot);
103231
            _iter320.write(oprot);
102178
          }
103232
          }
102179
          oprot.writeListEnd();
103233
          oprot.writeListEnd();
102180
        }
103234
        }
102181
        oprot.writeFieldEnd();
103235
        oprot.writeFieldEnd();
102182
      } else if (this.isSetCex()) {
103236
      } else if (this.isSetCex()) {
Line 104706... Line 105760...
104706
        }
105760
        }
104707
        switch (field.id) {
105761
        switch (field.id) {
104708
          case 0: // SUCCESS
105762
          case 0: // SUCCESS
104709
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
105763
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
104710
              {
105764
              {
104711
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
105765
                org.apache.thrift.protocol.TList _list321 = iprot.readListBegin();
104712
                this.success = new ArrayList<MarketPlaceItemPrice>(_list316.size);
105766
                this.success = new ArrayList<MarketPlaceItemPrice>(_list321.size);
104713
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
105767
                for (int _i322 = 0; _i322 < _list321.size; ++_i322)
104714
                {
105768
                {
104715
                  MarketPlaceItemPrice _elem318; // required
105769
                  MarketPlaceItemPrice _elem323; // required
104716
                  _elem318 = new MarketPlaceItemPrice();
105770
                  _elem323 = new MarketPlaceItemPrice();
104717
                  _elem318.read(iprot);
105771
                  _elem323.read(iprot);
104718
                  this.success.add(_elem318);
105772
                  this.success.add(_elem323);
104719
                }
105773
                }
104720
                iprot.readListEnd();
105774
                iprot.readListEnd();
104721
              }
105775
              }
104722
            } else { 
105776
            } else { 
104723
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
105777
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 104737... Line 105791...
104737
 
105791
 
104738
      if (this.isSetSuccess()) {
105792
      if (this.isSetSuccess()) {
104739
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
105793
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
104740
        {
105794
        {
104741
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
105795
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
104742
          for (MarketPlaceItemPrice _iter319 : this.success)
105796
          for (MarketPlaceItemPrice _iter324 : this.success)
104743
          {
105797
          {
104744
            _iter319.write(oprot);
105798
            _iter324.write(oprot);
104745
          }
105799
          }
104746
          oprot.writeListEnd();
105800
          oprot.writeListEnd();
104747
        }
105801
        }
104748
        oprot.writeFieldEnd();
105802
        oprot.writeFieldEnd();
104749
      }
105803
      }
Line 105176... Line 106230...
105176
        }
106230
        }
105177
        switch (field.id) {
106231
        switch (field.id) {
105178
          case 1: // SKULIST
106232
          case 1: // SKULIST
105179
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
106233
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
105180
              {
106234
              {
105181
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
106235
                org.apache.thrift.protocol.TList _list325 = iprot.readListBegin();
105182
                this.skulist = new ArrayList<Long>(_list320.size);
106236
                this.skulist = new ArrayList<Long>(_list325.size);
105183
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
106237
                for (int _i326 = 0; _i326 < _list325.size; ++_i326)
105184
                {
106238
                {
105185
                  long _elem322; // required
106239
                  long _elem327; // required
105186
                  _elem322 = iprot.readI64();
106240
                  _elem327 = iprot.readI64();
105187
                  this.skulist.add(_elem322);
106241
                  this.skulist.add(_elem327);
105188
                }
106242
                }
105189
                iprot.readListEnd();
106243
                iprot.readListEnd();
105190
              }
106244
              }
105191
            } else { 
106245
            } else { 
105192
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
106246
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 105223... Line 106277...
105223
      oprot.writeStructBegin(STRUCT_DESC);
106277
      oprot.writeStructBegin(STRUCT_DESC);
105224
      if (this.skulist != null) {
106278
      if (this.skulist != null) {
105225
        oprot.writeFieldBegin(SKULIST_FIELD_DESC);
106279
        oprot.writeFieldBegin(SKULIST_FIELD_DESC);
105226
        {
106280
        {
105227
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.skulist.size()));
106281
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.skulist.size()));
105228
          for (long _iter323 : this.skulist)
106282
          for (long _iter328 : this.skulist)
105229
          {
106283
          {
105230
            oprot.writeI64(_iter323);
106284
            oprot.writeI64(_iter328);
105231
          }
106285
          }
105232
          oprot.writeListEnd();
106286
          oprot.writeListEnd();
105233
        }
106287
        }
105234
        oprot.writeFieldEnd();
106288
        oprot.writeFieldEnd();
105235
      }
106289
      }
Line 105743... Line 106797...
105743
        }
106797
        }
105744
        switch (field.id) {
106798
        switch (field.id) {
105745
          case 1: // ITEM_HOLD_MAP
106799
          case 1: // ITEM_HOLD_MAP
105746
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
106800
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
105747
              {
106801
              {
105748
                org.apache.thrift.protocol.TMap _map324 = iprot.readMapBegin();
106802
                org.apache.thrift.protocol.TMap _map329 = iprot.readMapBegin();
105749
                this.itemHoldMap = new HashMap<Long,Long>(2*_map324.size);
106803
                this.itemHoldMap = new HashMap<Long,Long>(2*_map329.size);
105750
                for (int _i325 = 0; _i325 < _map324.size; ++_i325)
106804
                for (int _i330 = 0; _i330 < _map329.size; ++_i330)
105751
                {
106805
                {
105752
                  long _key326; // required
106806
                  long _key331; // required
105753
                  long _val327; // required
106807
                  long _val332; // required
105754
                  _key326 = iprot.readI64();
106808
                  _key331 = iprot.readI64();
105755
                  _val327 = iprot.readI64();
106809
                  _val332 = iprot.readI64();
105756
                  this.itemHoldMap.put(_key326, _val327);
106810
                  this.itemHoldMap.put(_key331, _val332);
105757
                }
106811
                }
105758
                iprot.readMapEnd();
106812
                iprot.readMapEnd();
105759
              }
106813
              }
105760
            } else { 
106814
            } else { 
105761
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
106815
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 105776... Line 106830...
105776
      oprot.writeStructBegin(STRUCT_DESC);
106830
      oprot.writeStructBegin(STRUCT_DESC);
105777
      if (this.itemHoldMap != null) {
106831
      if (this.itemHoldMap != null) {
105778
        oprot.writeFieldBegin(ITEM_HOLD_MAP_FIELD_DESC);
106832
        oprot.writeFieldBegin(ITEM_HOLD_MAP_FIELD_DESC);
105779
        {
106833
        {
105780
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemHoldMap.size()));
106834
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.itemHoldMap.size()));
105781
          for (Map.Entry<Long, Long> _iter328 : this.itemHoldMap.entrySet())
106835
          for (Map.Entry<Long, Long> _iter333 : this.itemHoldMap.entrySet())
105782
          {
106836
          {
105783
            oprot.writeI64(_iter328.getKey());
106837
            oprot.writeI64(_iter333.getKey());
105784
            oprot.writeI64(_iter328.getValue());
106838
            oprot.writeI64(_iter333.getValue());
105785
          }
106839
          }
105786
          oprot.writeMapEnd();
106840
          oprot.writeMapEnd();
105787
        }
106841
        }
105788
        oprot.writeFieldEnd();
106842
        oprot.writeFieldEnd();
105789
      }
106843
      }
Line 107135... Line 108189...
107135
        }
108189
        }
107136
        switch (field.id) {
108190
        switch (field.id) {
107137
          case 0: // SUCCESS
108191
          case 0: // SUCCESS
107138
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
108192
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
107139
              {
108193
              {
107140
                org.apache.thrift.protocol.TList _list329 = iprot.readListBegin();
108194
                org.apache.thrift.protocol.TList _list334 = iprot.readListBegin();
107141
                this.success = new ArrayList<FlipkartItem>(_list329.size);
108195
                this.success = new ArrayList<FlipkartItem>(_list334.size);
107142
                for (int _i330 = 0; _i330 < _list329.size; ++_i330)
108196
                for (int _i335 = 0; _i335 < _list334.size; ++_i335)
107143
                {
108197
                {
107144
                  FlipkartItem _elem331; // required
108198
                  FlipkartItem _elem336; // required
107145
                  _elem331 = new FlipkartItem();
108199
                  _elem336 = new FlipkartItem();
107146
                  _elem331.read(iprot);
108200
                  _elem336.read(iprot);
107147
                  this.success.add(_elem331);
108201
                  this.success.add(_elem336);
107148
                }
108202
                }
107149
                iprot.readListEnd();
108203
                iprot.readListEnd();
107150
              }
108204
              }
107151
            } else { 
108205
            } else { 
107152
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
108206
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 107166... Line 108220...
107166
 
108220
 
107167
      if (this.isSetSuccess()) {
108221
      if (this.isSetSuccess()) {
107168
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
108222
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
107169
        {
108223
        {
107170
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
108224
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
107171
          for (FlipkartItem _iter332 : this.success)
108225
          for (FlipkartItem _iter337 : this.success)
107172
          {
108226
          {
107173
            _iter332.write(oprot);
108227
            _iter337.write(oprot);
107174
          }
108228
          }
107175
          oprot.writeListEnd();
108229
          oprot.writeListEnd();
107176
        }
108230
        }
107177
        oprot.writeFieldEnd();
108231
        oprot.writeFieldEnd();
107178
      }
108232
      }
Line 109607... Line 110661...
109607
        }
110661
        }
109608
        switch (field.id) {
110662
        switch (field.id) {
109609
          case 0: // SUCCESS
110663
          case 0: // SUCCESS
109610
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
110664
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
109611
              {
110665
              {
109612
                org.apache.thrift.protocol.TList _list333 = iprot.readListBegin();
110666
                org.apache.thrift.protocol.TList _list338 = iprot.readListBegin();
109613
                this.success = new ArrayList<FlipkartItemDetails>(_list333.size);
110667
                this.success = new ArrayList<FlipkartItemDetails>(_list338.size);
109614
                for (int _i334 = 0; _i334 < _list333.size; ++_i334)
110668
                for (int _i339 = 0; _i339 < _list338.size; ++_i339)
109615
                {
110669
                {
109616
                  FlipkartItemDetails _elem335; // required
110670
                  FlipkartItemDetails _elem340; // required
109617
                  _elem335 = new FlipkartItemDetails();
110671
                  _elem340 = new FlipkartItemDetails();
109618
                  _elem335.read(iprot);
110672
                  _elem340.read(iprot);
109619
                  this.success.add(_elem335);
110673
                  this.success.add(_elem340);
109620
                }
110674
                }
109621
                iprot.readListEnd();
110675
                iprot.readListEnd();
109622
              }
110676
              }
109623
            } else { 
110677
            } else { 
109624
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
110678
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 109638... Line 110692...
109638
 
110692
 
109639
      if (this.isSetSuccess()) {
110693
      if (this.isSetSuccess()) {
109640
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
110694
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
109641
        {
110695
        {
109642
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
110696
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
109643
          for (FlipkartItemDetails _iter336 : this.success)
110697
          for (FlipkartItemDetails _iter341 : this.success)
109644
          {
110698
          {
109645
            _iter336.write(oprot);
110699
            _iter341.write(oprot);
109646
          }
110700
          }
109647
          oprot.writeListEnd();
110701
          oprot.writeListEnd();
109648
        }
110702
        }
109649
        oprot.writeFieldEnd();
110703
        oprot.writeFieldEnd();
109650
      }
110704
      }
Line 110077... Line 111131...
110077
        }
111131
        }
110078
        switch (field.id) {
111132
        switch (field.id) {
110079
          case 1: // SEARCH_TERM
111133
          case 1: // SEARCH_TERM
110080
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
111134
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
110081
              {
111135
              {
110082
                org.apache.thrift.protocol.TList _list337 = iprot.readListBegin();
111136
                org.apache.thrift.protocol.TList _list342 = iprot.readListBegin();
110083
                this.searchTerm = new ArrayList<String>(_list337.size);
111137
                this.searchTerm = new ArrayList<String>(_list342.size);
110084
                for (int _i338 = 0; _i338 < _list337.size; ++_i338)
111138
                for (int _i343 = 0; _i343 < _list342.size; ++_i343)
110085
                {
111139
                {
110086
                  String _elem339; // required
111140
                  String _elem344; // required
110087
                  _elem339 = iprot.readString();
111141
                  _elem344 = iprot.readString();
110088
                  this.searchTerm.add(_elem339);
111142
                  this.searchTerm.add(_elem344);
110089
                }
111143
                }
110090
                iprot.readListEnd();
111144
                iprot.readListEnd();
110091
              }
111145
              }
110092
            } else { 
111146
            } else { 
110093
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
111147
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 110124... Line 111178...
110124
      oprot.writeStructBegin(STRUCT_DESC);
111178
      oprot.writeStructBegin(STRUCT_DESC);
110125
      if (this.searchTerm != null) {
111179
      if (this.searchTerm != null) {
110126
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
111180
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
110127
        {
111181
        {
110128
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
111182
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
110129
          for (String _iter340 : this.searchTerm)
111183
          for (String _iter345 : this.searchTerm)
110130
          {
111184
          {
110131
            oprot.writeString(_iter340);
111185
            oprot.writeString(_iter345);
110132
          }
111186
          }
110133
          oprot.writeListEnd();
111187
          oprot.writeListEnd();
110134
        }
111188
        }
110135
        oprot.writeFieldEnd();
111189
        oprot.writeFieldEnd();
110136
      }
111190
      }
Line 110440... Line 111494...
110440
        }
111494
        }
110441
        switch (field.id) {
111495
        switch (field.id) {
110442
          case 0: // SUCCESS
111496
          case 0: // SUCCESS
110443
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
111497
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
110444
              {
111498
              {
110445
                org.apache.thrift.protocol.TList _list341 = iprot.readListBegin();
111499
                org.apache.thrift.protocol.TList _list346 = iprot.readListBegin();
110446
                this.success = new ArrayList<FlipkartItemDetails>(_list341.size);
111500
                this.success = new ArrayList<FlipkartItemDetails>(_list346.size);
110447
                for (int _i342 = 0; _i342 < _list341.size; ++_i342)
111501
                for (int _i347 = 0; _i347 < _list346.size; ++_i347)
110448
                {
111502
                {
110449
                  FlipkartItemDetails _elem343; // required
111503
                  FlipkartItemDetails _elem348; // required
110450
                  _elem343 = new FlipkartItemDetails();
111504
                  _elem348 = new FlipkartItemDetails();
110451
                  _elem343.read(iprot);
111505
                  _elem348.read(iprot);
110452
                  this.success.add(_elem343);
111506
                  this.success.add(_elem348);
110453
                }
111507
                }
110454
                iprot.readListEnd();
111508
                iprot.readListEnd();
110455
              }
111509
              }
110456
            } else { 
111510
            } else { 
110457
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
111511
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 110471... Line 111525...
110471
 
111525
 
110472
      if (this.isSetSuccess()) {
111526
      if (this.isSetSuccess()) {
110473
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
111527
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
110474
        {
111528
        {
110475
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
111529
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
110476
          for (FlipkartItemDetails _iter344 : this.success)
111530
          for (FlipkartItemDetails _iter349 : this.success)
110477
          {
111531
          {
110478
            _iter344.write(oprot);
111532
            _iter349.write(oprot);
110479
          }
111533
          }
110480
          oprot.writeListEnd();
111534
          oprot.writeListEnd();
110481
        }
111535
        }
110482
        oprot.writeFieldEnd();
111536
        oprot.writeFieldEnd();
110483
      }
111537
      }
Line 111264... Line 112318...
111264
        }
112318
        }
111265
        switch (field.id) {
112319
        switch (field.id) {
111266
          case 1: // SEARCH_TERM
112320
          case 1: // SEARCH_TERM
111267
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
112321
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
111268
              {
112322
              {
111269
                org.apache.thrift.protocol.TList _list345 = iprot.readListBegin();
112323
                org.apache.thrift.protocol.TList _list350 = iprot.readListBegin();
111270
                this.searchTerm = new ArrayList<String>(_list345.size);
112324
                this.searchTerm = new ArrayList<String>(_list350.size);
111271
                for (int _i346 = 0; _i346 < _list345.size; ++_i346)
112325
                for (int _i351 = 0; _i351 < _list350.size; ++_i351)
111272
                {
112326
                {
111273
                  String _elem347; // required
112327
                  String _elem352; // required
111274
                  _elem347 = iprot.readString();
112328
                  _elem352 = iprot.readString();
111275
                  this.searchTerm.add(_elem347);
112329
                  this.searchTerm.add(_elem352);
111276
                }
112330
                }
111277
                iprot.readListEnd();
112331
                iprot.readListEnd();
111278
              }
112332
              }
111279
            } else { 
112333
            } else { 
111280
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
112334
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 111295... Line 112349...
111295
      oprot.writeStructBegin(STRUCT_DESC);
112349
      oprot.writeStructBegin(STRUCT_DESC);
111296
      if (this.searchTerm != null) {
112350
      if (this.searchTerm != null) {
111297
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
112351
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
111298
        {
112352
        {
111299
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
112353
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
111300
          for (String _iter348 : this.searchTerm)
112354
          for (String _iter353 : this.searchTerm)
111301
          {
112355
          {
111302
            oprot.writeString(_iter348);
112356
            oprot.writeString(_iter353);
111303
          }
112357
          }
111304
          oprot.writeListEnd();
112358
          oprot.writeListEnd();
111305
        }
112359
        }
111306
        oprot.writeFieldEnd();
112360
        oprot.writeFieldEnd();
111307
      }
112361
      }
Line 112088... Line 113142...
112088
        }
113142
        }
112089
        switch (field.id) {
113143
        switch (field.id) {
112090
          case 0: // SUCCESS
113144
          case 0: // SUCCESS
112091
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
113145
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
112092
              {
113146
              {
112093
                org.apache.thrift.protocol.TList _list349 = iprot.readListBegin();
113147
                org.apache.thrift.protocol.TList _list354 = iprot.readListBegin();
112094
                this.success = new ArrayList<FlipkartItemDetails>(_list349.size);
113148
                this.success = new ArrayList<FlipkartItemDetails>(_list354.size);
112095
                for (int _i350 = 0; _i350 < _list349.size; ++_i350)
113149
                for (int _i355 = 0; _i355 < _list354.size; ++_i355)
112096
                {
113150
                {
112097
                  FlipkartItemDetails _elem351; // required
113151
                  FlipkartItemDetails _elem356; // required
112098
                  _elem351 = new FlipkartItemDetails();
113152
                  _elem356 = new FlipkartItemDetails();
112099
                  _elem351.read(iprot);
113153
                  _elem356.read(iprot);
112100
                  this.success.add(_elem351);
113154
                  this.success.add(_elem356);
112101
                }
113155
                }
112102
                iprot.readListEnd();
113156
                iprot.readListEnd();
112103
              }
113157
              }
112104
            } else { 
113158
            } else { 
112105
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
113159
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 112119... Line 113173...
112119
 
113173
 
112120
      if (this.isSetSuccess()) {
113174
      if (this.isSetSuccess()) {
112121
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
113175
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
112122
        {
113176
        {
112123
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
113177
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
112124
          for (FlipkartItemDetails _iter352 : this.success)
113178
          for (FlipkartItemDetails _iter357 : this.success)
112125
          {
113179
          {
112126
            _iter352.write(oprot);
113180
            _iter357.write(oprot);
112127
          }
113181
          }
112128
          oprot.writeListEnd();
113182
          oprot.writeListEnd();
112129
        }
113183
        }
112130
        oprot.writeFieldEnd();
113184
        oprot.writeFieldEnd();
112131
      }
113185
      }
Line 113467... Line 114521...
113467
        }
114521
        }
113468
        switch (field.id) {
114522
        switch (field.id) {
113469
          case 0: // SUCCESS
114523
          case 0: // SUCCESS
113470
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
114524
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
113471
              {
114525
              {
113472
                org.apache.thrift.protocol.TList _list353 = iprot.readListBegin();
114526
                org.apache.thrift.protocol.TList _list358 = iprot.readListBegin();
113473
                this.success = new ArrayList<MarketplaceHistory>(_list353.size);
114527
                this.success = new ArrayList<MarketplaceHistory>(_list358.size);
113474
                for (int _i354 = 0; _i354 < _list353.size; ++_i354)
114528
                for (int _i359 = 0; _i359 < _list358.size; ++_i359)
113475
                {
114529
                {
113476
                  MarketplaceHistory _elem355; // required
114530
                  MarketplaceHistory _elem360; // required
113477
                  _elem355 = new MarketplaceHistory();
114531
                  _elem360 = new MarketplaceHistory();
113478
                  _elem355.read(iprot);
114532
                  _elem360.read(iprot);
113479
                  this.success.add(_elem355);
114533
                  this.success.add(_elem360);
113480
                }
114534
                }
113481
                iprot.readListEnd();
114535
                iprot.readListEnd();
113482
              }
114536
              }
113483
            } else { 
114537
            } else { 
113484
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
114538
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 113498... Line 114552...
113498
 
114552
 
113499
      if (this.isSetSuccess()) {
114553
      if (this.isSetSuccess()) {
113500
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
114554
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
113501
        {
114555
        {
113502
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
114556
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
113503
          for (MarketplaceHistory _iter356 : this.success)
114557
          for (MarketplaceHistory _iter361 : this.success)
113504
          {
114558
          {
113505
            _iter356.write(oprot);
114559
            _iter361.write(oprot);
113506
          }
114560
          }
113507
          oprot.writeListEnd();
114561
          oprot.writeListEnd();
113508
        }
114562
        }
113509
        oprot.writeFieldEnd();
114563
        oprot.writeFieldEnd();
113510
      }
114564
      }
Line 113998... Line 115052...
113998
        }
115052
        }
113999
        switch (field.id) {
115053
        switch (field.id) {
114000
          case 0: // SUCCESS
115054
          case 0: // SUCCESS
114001
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
115055
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
114002
              {
115056
              {
114003
                org.apache.thrift.protocol.TList _list357 = iprot.readListBegin();
115057
                org.apache.thrift.protocol.TList _list362 = iprot.readListBegin();
114004
                this.success = new ArrayList<Amazonlisted>(_list357.size);
115058
                this.success = new ArrayList<Amazonlisted>(_list362.size);
114005
                for (int _i358 = 0; _i358 < _list357.size; ++_i358)
115059
                for (int _i363 = 0; _i363 < _list362.size; ++_i363)
114006
                {
115060
                {
114007
                  Amazonlisted _elem359; // required
115061
                  Amazonlisted _elem364; // required
114008
                  _elem359 = new Amazonlisted();
115062
                  _elem364 = new Amazonlisted();
114009
                  _elem359.read(iprot);
115063
                  _elem364.read(iprot);
114010
                  this.success.add(_elem359);
115064
                  this.success.add(_elem364);
114011
                }
115065
                }
114012
                iprot.readListEnd();
115066
                iprot.readListEnd();
114013
              }
115067
              }
114014
            } else { 
115068
            } else { 
114015
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
115069
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 114029... Line 115083...
114029
 
115083
 
114030
      if (this.isSetSuccess()) {
115084
      if (this.isSetSuccess()) {
114031
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
115085
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
114032
        {
115086
        {
114033
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
115087
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
114034
          for (Amazonlisted _iter360 : this.success)
115088
          for (Amazonlisted _iter365 : this.success)
114035
          {
115089
          {
114036
            _iter360.write(oprot);
115090
            _iter365.write(oprot);
114037
          }
115091
          }
114038
          oprot.writeListEnd();
115092
          oprot.writeListEnd();
114039
        }
115093
        }
114040
        oprot.writeFieldEnd();
115094
        oprot.writeFieldEnd();
114041
      }
115095
      }
Line 114529... Line 115583...
114529
        }
115583
        }
114530
        switch (field.id) {
115584
        switch (field.id) {
114531
          case 0: // SUCCESS
115585
          case 0: // SUCCESS
114532
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
115586
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
114533
              {
115587
              {
114534
                org.apache.thrift.protocol.TList _list361 = iprot.readListBegin();
115588
                org.apache.thrift.protocol.TList _list366 = iprot.readListBegin();
114535
                this.success = new ArrayList<Amazonlisted>(_list361.size);
115589
                this.success = new ArrayList<Amazonlisted>(_list366.size);
114536
                for (int _i362 = 0; _i362 < _list361.size; ++_i362)
115590
                for (int _i367 = 0; _i367 < _list366.size; ++_i367)
114537
                {
115591
                {
114538
                  Amazonlisted _elem363; // required
115592
                  Amazonlisted _elem368; // required
114539
                  _elem363 = new Amazonlisted();
115593
                  _elem368 = new Amazonlisted();
114540
                  _elem363.read(iprot);
115594
                  _elem368.read(iprot);
114541
                  this.success.add(_elem363);
115595
                  this.success.add(_elem368);
114542
                }
115596
                }
114543
                iprot.readListEnd();
115597
                iprot.readListEnd();
114544
              }
115598
              }
114545
            } else { 
115599
            } else { 
114546
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
115600
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 114560... Line 115614...
114560
 
115614
 
114561
      if (this.isSetSuccess()) {
115615
      if (this.isSetSuccess()) {
114562
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
115616
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
114563
        {
115617
        {
114564
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
115618
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
114565
          for (Amazonlisted _iter364 : this.success)
115619
          for (Amazonlisted _iter369 : this.success)
114566
          {
115620
          {
114567
            _iter364.write(oprot);
115621
            _iter369.write(oprot);
114568
          }
115622
          }
114569
          oprot.writeListEnd();
115623
          oprot.writeListEnd();
114570
        }
115624
        }
114571
        oprot.writeFieldEnd();
115625
        oprot.writeFieldEnd();
114572
      }
115626
      }
Line 116239... Line 117293...
116239
        }
117293
        }
116240
        switch (field.id) {
117294
        switch (field.id) {
116241
          case 0: // SUCCESS
117295
          case 0: // SUCCESS
116242
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
117296
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
116243
              {
117297
              {
116244
                org.apache.thrift.protocol.TList _list365 = iprot.readListBegin();
117298
                org.apache.thrift.protocol.TList _list370 = iprot.readListBegin();
116245
                this.success = new ArrayList<MarketplaceHistory>(_list365.size);
117299
                this.success = new ArrayList<MarketplaceHistory>(_list370.size);
116246
                for (int _i366 = 0; _i366 < _list365.size; ++_i366)
117300
                for (int _i371 = 0; _i371 < _list370.size; ++_i371)
116247
                {
117301
                {
116248
                  MarketplaceHistory _elem367; // required
117302
                  MarketplaceHistory _elem372; // required
116249
                  _elem367 = new MarketplaceHistory();
117303
                  _elem372 = new MarketplaceHistory();
116250
                  _elem367.read(iprot);
117304
                  _elem372.read(iprot);
116251
                  this.success.add(_elem367);
117305
                  this.success.add(_elem372);
116252
                }
117306
                }
116253
                iprot.readListEnd();
117307
                iprot.readListEnd();
116254
              }
117308
              }
116255
            } else { 
117309
            } else { 
116256
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
117310
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 116270... Line 117324...
116270
 
117324
 
116271
      if (this.isSetSuccess()) {
117325
      if (this.isSetSuccess()) {
116272
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
117326
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
116273
        {
117327
        {
116274
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
117328
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
116275
          for (MarketplaceHistory _iter368 : this.success)
117329
          for (MarketplaceHistory _iter373 : this.success)
116276
          {
117330
          {
116277
            _iter368.write(oprot);
117331
            _iter373.write(oprot);
116278
          }
117332
          }
116279
          oprot.writeListEnd();
117333
          oprot.writeListEnd();
116280
        }
117334
        }
116281
        oprot.writeFieldEnd();
117335
        oprot.writeFieldEnd();
116282
      }
117336
      }
Line 117535... Line 118589...
117535
        }
118589
        }
117536
        switch (field.id) {
118590
        switch (field.id) {
117537
          case 0: // SUCCESS
118591
          case 0: // SUCCESS
117538
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
118592
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
117539
              {
118593
              {
117540
                org.apache.thrift.protocol.TList _list369 = iprot.readListBegin();
118594
                org.apache.thrift.protocol.TList _list374 = iprot.readListBegin();
117541
                this.success = new ArrayList<Item>(_list369.size);
118595
                this.success = new ArrayList<Item>(_list374.size);
117542
                for (int _i370 = 0; _i370 < _list369.size; ++_i370)
118596
                for (int _i375 = 0; _i375 < _list374.size; ++_i375)
117543
                {
118597
                {
117544
                  Item _elem371; // required
118598
                  Item _elem376; // required
117545
                  _elem371 = new Item();
118599
                  _elem376 = new Item();
117546
                  _elem371.read(iprot);
118600
                  _elem376.read(iprot);
117547
                  this.success.add(_elem371);
118601
                  this.success.add(_elem376);
117548
                }
118602
                }
117549
                iprot.readListEnd();
118603
                iprot.readListEnd();
117550
              }
118604
              }
117551
            } else { 
118605
            } else { 
117552
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
118606
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 117566... Line 118620...
117566
 
118620
 
117567
      if (this.isSetSuccess()) {
118621
      if (this.isSetSuccess()) {
117568
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
118622
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
117569
        {
118623
        {
117570
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
118624
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
117571
          for (Item _iter372 : this.success)
118625
          for (Item _iter377 : this.success)
117572
          {
118626
          {
117573
            _iter372.write(oprot);
118627
            _iter377.write(oprot);
117574
          }
118628
          }
117575
          oprot.writeListEnd();
118629
          oprot.writeListEnd();
117576
        }
118630
        }
117577
        oprot.writeFieldEnd();
118631
        oprot.writeFieldEnd();
117578
      }
118632
      }
Line 117937... Line 118991...
117937
        }
118991
        }
117938
        switch (field.id) {
118992
        switch (field.id) {
117939
          case 1: // ITEM_IDS
118993
          case 1: // ITEM_IDS
117940
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
118994
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
117941
              {
118995
              {
117942
                org.apache.thrift.protocol.TList _list373 = iprot.readListBegin();
118996
                org.apache.thrift.protocol.TList _list378 = iprot.readListBegin();
117943
                this.itemIds = new ArrayList<Long>(_list373.size);
118997
                this.itemIds = new ArrayList<Long>(_list378.size);
117944
                for (int _i374 = 0; _i374 < _list373.size; ++_i374)
118998
                for (int _i379 = 0; _i379 < _list378.size; ++_i379)
117945
                {
118999
                {
117946
                  long _elem375; // required
119000
                  long _elem380; // required
117947
                  _elem375 = iprot.readI64();
119001
                  _elem380 = iprot.readI64();
117948
                  this.itemIds.add(_elem375);
119002
                  this.itemIds.add(_elem380);
117949
                }
119003
                }
117950
                iprot.readListEnd();
119004
                iprot.readListEnd();
117951
              }
119005
              }
117952
            } else { 
119006
            } else { 
117953
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
119007
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 117976... Line 119030...
117976
      oprot.writeStructBegin(STRUCT_DESC);
119030
      oprot.writeStructBegin(STRUCT_DESC);
117977
      if (this.itemIds != null) {
119031
      if (this.itemIds != null) {
117978
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
119032
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
117979
        {
119033
        {
117980
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
119034
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
117981
          for (long _iter376 : this.itemIds)
119035
          for (long _iter381 : this.itemIds)
117982
          {
119036
          {
117983
            oprot.writeI64(_iter376);
119037
            oprot.writeI64(_iter381);
117984
          }
119038
          }
117985
          oprot.writeListEnd();
119039
          oprot.writeListEnd();
117986
        }
119040
        }
117987
        oprot.writeFieldEnd();
119041
        oprot.writeFieldEnd();
117988
      }
119042
      }
Line 118290... Line 119344...
118290
        }
119344
        }
118291
        switch (field.id) {
119345
        switch (field.id) {
118292
          case 0: // SUCCESS
119346
          case 0: // SUCCESS
118293
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
119347
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
118294
              {
119348
              {
118295
                org.apache.thrift.protocol.TMap _map377 = iprot.readMapBegin();
119349
                org.apache.thrift.protocol.TMap _map382 = iprot.readMapBegin();
118296
                this.success = new HashMap<Long,PrivateDeal>(2*_map377.size);
119350
                this.success = new HashMap<Long,PrivateDeal>(2*_map382.size);
118297
                for (int _i378 = 0; _i378 < _map377.size; ++_i378)
119351
                for (int _i383 = 0; _i383 < _map382.size; ++_i383)
118298
                {
119352
                {
118299
                  long _key379; // required
119353
                  long _key384; // required
118300
                  PrivateDeal _val380; // required
119354
                  PrivateDeal _val385; // required
118301
                  _key379 = iprot.readI64();
119355
                  _key384 = iprot.readI64();
118302
                  _val380 = new PrivateDeal();
119356
                  _val385 = new PrivateDeal();
118303
                  _val380.read(iprot);
119357
                  _val385.read(iprot);
118304
                  this.success.put(_key379, _val380);
119358
                  this.success.put(_key384, _val385);
118305
                }
119359
                }
118306
                iprot.readMapEnd();
119360
                iprot.readMapEnd();
118307
              }
119361
              }
118308
            } else { 
119362
            } else { 
118309
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
119363
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 118323... Line 119377...
118323
 
119377
 
118324
      if (this.isSetSuccess()) {
119378
      if (this.isSetSuccess()) {
118325
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
119379
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
118326
        {
119380
        {
118327
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
119381
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
118328
          for (Map.Entry<Long, PrivateDeal> _iter381 : this.success.entrySet())
119382
          for (Map.Entry<Long, PrivateDeal> _iter386 : this.success.entrySet())
118329
          {
119383
          {
118330
            oprot.writeI64(_iter381.getKey());
119384
            oprot.writeI64(_iter386.getKey());
118331
            _iter381.getValue().write(oprot);
119385
            _iter386.getValue().write(oprot);
118332
          }
119386
          }
118333
          oprot.writeMapEnd();
119387
          oprot.writeMapEnd();
118334
        }
119388
        }
118335
        oprot.writeFieldEnd();
119389
        oprot.writeFieldEnd();
118336
      }
119390
      }
Line 119657... Line 120711...
119657
        }
120711
        }
119658
        switch (field.id) {
120712
        switch (field.id) {
119659
          case 0: // SUCCESS
120713
          case 0: // SUCCESS
119660
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
120714
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
119661
              {
120715
              {
119662
                org.apache.thrift.protocol.TList _list382 = iprot.readListBegin();
120716
                org.apache.thrift.protocol.TList _list387 = iprot.readListBegin();
119663
                this.success = new ArrayList<Long>(_list382.size);
120717
                this.success = new ArrayList<Long>(_list387.size);
119664
                for (int _i383 = 0; _i383 < _list382.size; ++_i383)
120718
                for (int _i388 = 0; _i388 < _list387.size; ++_i388)
119665
                {
120719
                {
119666
                  long _elem384; // required
120720
                  long _elem389; // required
119667
                  _elem384 = iprot.readI64();
120721
                  _elem389 = iprot.readI64();
119668
                  this.success.add(_elem384);
120722
                  this.success.add(_elem389);
119669
                }
120723
                }
119670
                iprot.readListEnd();
120724
                iprot.readListEnd();
119671
              }
120725
              }
119672
            } else { 
120726
            } else { 
119673
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
120727
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 119695... Line 120749...
119695
 
120749
 
119696
      if (this.isSetSuccess()) {
120750
      if (this.isSetSuccess()) {
119697
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
120751
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
119698
        {
120752
        {
119699
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
120753
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
119700
          for (long _iter385 : this.success)
120754
          for (long _iter390 : this.success)
119701
          {
120755
          {
119702
            oprot.writeI64(_iter385);
120756
            oprot.writeI64(_iter390);
119703
          }
120757
          }
119704
          oprot.writeListEnd();
120758
          oprot.writeListEnd();
119705
        }
120759
        }
119706
        oprot.writeFieldEnd();
120760
        oprot.writeFieldEnd();
119707
      } else if (this.isSetCex()) {
120761
      } else if (this.isSetCex()) {
Line 121288... Line 122342...
121288
        }
122342
        }
121289
        switch (field.id) {
122343
        switch (field.id) {
121290
          case 0: // SUCCESS
122344
          case 0: // SUCCESS
121291
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
122345
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
121292
              {
122346
              {
121293
                org.apache.thrift.protocol.TList _list386 = iprot.readListBegin();
122347
                org.apache.thrift.protocol.TList _list391 = iprot.readListBegin();
121294
                this.success = new ArrayList<PdPriceComp>(_list386.size);
122348
                this.success = new ArrayList<PdPriceComp>(_list391.size);
121295
                for (int _i387 = 0; _i387 < _list386.size; ++_i387)
122349
                for (int _i392 = 0; _i392 < _list391.size; ++_i392)
121296
                {
122350
                {
121297
                  PdPriceComp _elem388; // required
122351
                  PdPriceComp _elem393; // required
121298
                  _elem388 = new PdPriceComp();
122352
                  _elem393 = new PdPriceComp();
121299
                  _elem388.read(iprot);
122353
                  _elem393.read(iprot);
121300
                  this.success.add(_elem388);
122354
                  this.success.add(_elem393);
121301
                }
122355
                }
121302
                iprot.readListEnd();
122356
                iprot.readListEnd();
121303
              }
122357
              }
121304
            } else { 
122358
            } else { 
121305
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
122359
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 121319... Line 122373...
121319
 
122373
 
121320
      if (this.isSetSuccess()) {
122374
      if (this.isSetSuccess()) {
121321
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
122375
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
121322
        {
122376
        {
121323
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
122377
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
121324
          for (PdPriceComp _iter389 : this.success)
122378
          for (PdPriceComp _iter394 : this.success)
121325
          {
122379
          {
121326
            _iter389.write(oprot);
122380
            _iter394.write(oprot);
121327
          }
122381
          }
121328
          oprot.writeListEnd();
122382
          oprot.writeListEnd();
121329
        }
122383
        }
121330
        oprot.writeFieldEnd();
122384
        oprot.writeFieldEnd();
121331
      }
122385
      }
Line 121819... Line 122873...
121819
        }
122873
        }
121820
        switch (field.id) {
122874
        switch (field.id) {
121821
          case 0: // SUCCESS
122875
          case 0: // SUCCESS
121822
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
122876
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
121823
              {
122877
              {
121824
                org.apache.thrift.protocol.TList _list390 = iprot.readListBegin();
122878
                org.apache.thrift.protocol.TList _list395 = iprot.readListBegin();
121825
                this.success = new ArrayList<SnapdealItem>(_list390.size);
122879
                this.success = new ArrayList<SnapdealItem>(_list395.size);
121826
                for (int _i391 = 0; _i391 < _list390.size; ++_i391)
122880
                for (int _i396 = 0; _i396 < _list395.size; ++_i396)
121827
                {
122881
                {
121828
                  SnapdealItem _elem392; // required
122882
                  SnapdealItem _elem397; // required
121829
                  _elem392 = new SnapdealItem();
122883
                  _elem397 = new SnapdealItem();
121830
                  _elem392.read(iprot);
122884
                  _elem397.read(iprot);
121831
                  this.success.add(_elem392);
122885
                  this.success.add(_elem397);
121832
                }
122886
                }
121833
                iprot.readListEnd();
122887
                iprot.readListEnd();
121834
              }
122888
              }
121835
            } else { 
122889
            } else { 
121836
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
122890
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 121850... Line 122904...
121850
 
122904
 
121851
      if (this.isSetSuccess()) {
122905
      if (this.isSetSuccess()) {
121852
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
122906
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
121853
        {
122907
        {
121854
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
122908
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
121855
          for (SnapdealItem _iter393 : this.success)
122909
          for (SnapdealItem _iter398 : this.success)
121856
          {
122910
          {
121857
            _iter393.write(oprot);
122911
            _iter398.write(oprot);
121858
          }
122912
          }
121859
          oprot.writeListEnd();
122913
          oprot.writeListEnd();
121860
        }
122914
        }
121861
        oprot.writeFieldEnd();
122915
        oprot.writeFieldEnd();
121862
      }
122916
      }
Line 122350... Line 123404...
122350
        }
123404
        }
122351
        switch (field.id) {
123405
        switch (field.id) {
122352
          case 0: // SUCCESS
123406
          case 0: // SUCCESS
122353
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
123407
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
122354
              {
123408
              {
122355
                org.apache.thrift.protocol.TList _list394 = iprot.readListBegin();
123409
                org.apache.thrift.protocol.TList _list399 = iprot.readListBegin();
122356
                this.success = new ArrayList<FlipkartItem>(_list394.size);
123410
                this.success = new ArrayList<FlipkartItem>(_list399.size);
122357
                for (int _i395 = 0; _i395 < _list394.size; ++_i395)
123411
                for (int _i400 = 0; _i400 < _list399.size; ++_i400)
122358
                {
123412
                {
122359
                  FlipkartItem _elem396; // required
123413
                  FlipkartItem _elem401; // required
122360
                  _elem396 = new FlipkartItem();
123414
                  _elem401 = new FlipkartItem();
122361
                  _elem396.read(iprot);
123415
                  _elem401.read(iprot);
122362
                  this.success.add(_elem396);
123416
                  this.success.add(_elem401);
122363
                }
123417
                }
122364
                iprot.readListEnd();
123418
                iprot.readListEnd();
122365
              }
123419
              }
122366
            } else { 
123420
            } else { 
122367
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
123421
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 122381... Line 123435...
122381
 
123435
 
122382
      if (this.isSetSuccess()) {
123436
      if (this.isSetSuccess()) {
122383
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
123437
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
122384
        {
123438
        {
122385
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
123439
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
122386
          for (FlipkartItem _iter397 : this.success)
123440
          for (FlipkartItem _iter402 : this.success)
122387
          {
123441
          {
122388
            _iter397.write(oprot);
123442
            _iter402.write(oprot);
122389
          }
123443
          }
122390
          oprot.writeListEnd();
123444
          oprot.writeListEnd();
122391
        }
123445
        }
122392
        oprot.writeFieldEnd();
123446
        oprot.writeFieldEnd();
122393
      }
123447
      }
Line 122686... Line 123740...
122686
        }
123740
        }
122687
        switch (field.id) {
123741
        switch (field.id) {
122688
          case 1: // COMPETITOR_PRICING_MAP
123742
          case 1: // COMPETITOR_PRICING_MAP
122689
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
123743
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
122690
              {
123744
              {
122691
                org.apache.thrift.protocol.TMap _map398 = iprot.readMapBegin();
123745
                org.apache.thrift.protocol.TMap _map403 = iprot.readMapBegin();
122692
                this.competitorPricingMap = new HashMap<Long,CompetitorPricing>(2*_map398.size);
123746
                this.competitorPricingMap = new HashMap<Long,CompetitorPricing>(2*_map403.size);
122693
                for (int _i399 = 0; _i399 < _map398.size; ++_i399)
123747
                for (int _i404 = 0; _i404 < _map403.size; ++_i404)
122694
                {
123748
                {
122695
                  long _key400; // required
123749
                  long _key405; // required
122696
                  CompetitorPricing _val401; // required
123750
                  CompetitorPricing _val406; // required
122697
                  _key400 = iprot.readI64();
123751
                  _key405 = iprot.readI64();
122698
                  _val401 = new CompetitorPricing();
123752
                  _val406 = new CompetitorPricing();
122699
                  _val401.read(iprot);
123753
                  _val406.read(iprot);
122700
                  this.competitorPricingMap.put(_key400, _val401);
123754
                  this.competitorPricingMap.put(_key405, _val406);
122701
                }
123755
                }
122702
                iprot.readMapEnd();
123756
                iprot.readMapEnd();
122703
              }
123757
              }
122704
            } else { 
123758
            } else { 
122705
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
123759
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 122720... Line 123774...
122720
      oprot.writeStructBegin(STRUCT_DESC);
123774
      oprot.writeStructBegin(STRUCT_DESC);
122721
      if (this.competitorPricingMap != null) {
123775
      if (this.competitorPricingMap != null) {
122722
        oprot.writeFieldBegin(COMPETITOR_PRICING_MAP_FIELD_DESC);
123776
        oprot.writeFieldBegin(COMPETITOR_PRICING_MAP_FIELD_DESC);
122723
        {
123777
        {
122724
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.competitorPricingMap.size()));
123778
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.competitorPricingMap.size()));
122725
          for (Map.Entry<Long, CompetitorPricing> _iter402 : this.competitorPricingMap.entrySet())
123779
          for (Map.Entry<Long, CompetitorPricing> _iter407 : this.competitorPricingMap.entrySet())
122726
          {
123780
          {
122727
            oprot.writeI64(_iter402.getKey());
123781
            oprot.writeI64(_iter407.getKey());
122728
            _iter402.getValue().write(oprot);
123782
            _iter407.getValue().write(oprot);
122729
          }
123783
          }
122730
          oprot.writeMapEnd();
123784
          oprot.writeMapEnd();
122731
        }
123785
        }
122732
        oprot.writeFieldEnd();
123786
        oprot.writeFieldEnd();
122733
      }
123787
      }
Line 123514... Line 124568...
123514
        }
124568
        }
123515
        switch (field.id) {
124569
        switch (field.id) {
123516
          case 0: // SUCCESS
124570
          case 0: // SUCCESS
123517
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
124571
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
123518
              {
124572
              {
123519
                org.apache.thrift.protocol.TList _list403 = iprot.readListBegin();
124573
                org.apache.thrift.protocol.TList _list408 = iprot.readListBegin();
123520
                this.success = new ArrayList<CompetitorPricing>(_list403.size);
124574
                this.success = new ArrayList<CompetitorPricing>(_list408.size);
123521
                for (int _i404 = 0; _i404 < _list403.size; ++_i404)
124575
                for (int _i409 = 0; _i409 < _list408.size; ++_i409)
123522
                {
124576
                {
123523
                  CompetitorPricing _elem405; // required
124577
                  CompetitorPricing _elem410; // required
123524
                  _elem405 = new CompetitorPricing();
124578
                  _elem410 = new CompetitorPricing();
123525
                  _elem405.read(iprot);
124579
                  _elem410.read(iprot);
123526
                  this.success.add(_elem405);
124580
                  this.success.add(_elem410);
123527
                }
124581
                }
123528
                iprot.readListEnd();
124582
                iprot.readListEnd();
123529
              }
124583
              }
123530
            } else { 
124584
            } else { 
123531
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
124585
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 123545... Line 124599...
123545
 
124599
 
123546
      if (this.isSetSuccess()) {
124600
      if (this.isSetSuccess()) {
123547
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
124601
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
123548
        {
124602
        {
123549
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
124603
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
123550
          for (CompetitorPricing _iter406 : this.success)
124604
          for (CompetitorPricing _iter411 : this.success)
123551
          {
124605
          {
123552
            _iter406.write(oprot);
124606
            _iter411.write(oprot);
123553
          }
124607
          }
123554
          oprot.writeListEnd();
124608
          oprot.writeListEnd();
123555
        }
124609
        }
123556
        oprot.writeFieldEnd();
124610
        oprot.writeFieldEnd();
123557
      }
124611
      }
Line 124139... Line 125193...
124139
        }
125193
        }
124140
        switch (field.id) {
125194
        switch (field.id) {
124141
          case 0: // SUCCESS
125195
          case 0: // SUCCESS
124142
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
125196
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
124143
              {
125197
              {
124144
                org.apache.thrift.protocol.TList _list407 = iprot.readListBegin();
125198
                org.apache.thrift.protocol.TList _list412 = iprot.readListBegin();
124145
                this.success = new ArrayList<CompetitorPricing>(_list407.size);
125199
                this.success = new ArrayList<CompetitorPricing>(_list412.size);
124146
                for (int _i408 = 0; _i408 < _list407.size; ++_i408)
125200
                for (int _i413 = 0; _i413 < _list412.size; ++_i413)
124147
                {
125201
                {
124148
                  CompetitorPricing _elem409; // required
125202
                  CompetitorPricing _elem414; // required
124149
                  _elem409 = new CompetitorPricing();
125203
                  _elem414 = new CompetitorPricing();
124150
                  _elem409.read(iprot);
125204
                  _elem414.read(iprot);
124151
                  this.success.add(_elem409);
125205
                  this.success.add(_elem414);
124152
                }
125206
                }
124153
                iprot.readListEnd();
125207
                iprot.readListEnd();
124154
              }
125208
              }
124155
            } else { 
125209
            } else { 
124156
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
125210
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 124170... Line 125224...
124170
 
125224
 
124171
      if (this.isSetSuccess()) {
125225
      if (this.isSetSuccess()) {
124172
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
125226
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
124173
        {
125227
        {
124174
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
125228
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
124175
          for (CompetitorPricing _iter410 : this.success)
125229
          for (CompetitorPricing _iter415 : this.success)
124176
          {
125230
          {
124177
            _iter410.write(oprot);
125231
            _iter415.write(oprot);
124178
          }
125232
          }
124179
          oprot.writeListEnd();
125233
          oprot.writeListEnd();
124180
        }
125234
        }
124181
        oprot.writeFieldEnd();
125235
        oprot.writeFieldEnd();
124182
      }
125236
      }
Line 124475... Line 125529...
124475
        }
125529
        }
124476
        switch (field.id) {
125530
        switch (field.id) {
124477
          case 1: // AMAZON_PROMOTIONS
125531
          case 1: // AMAZON_PROMOTIONS
124478
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
125532
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
124479
              {
125533
              {
124480
                org.apache.thrift.protocol.TMap _map411 = iprot.readMapBegin();
125534
                org.apache.thrift.protocol.TMap _map416 = iprot.readMapBegin();
124481
                this.amazonPromotions = new HashMap<String,AmazonPromotion>(2*_map411.size);
125535
                this.amazonPromotions = new HashMap<String,AmazonPromotion>(2*_map416.size);
124482
                for (int _i412 = 0; _i412 < _map411.size; ++_i412)
125536
                for (int _i417 = 0; _i417 < _map416.size; ++_i417)
124483
                {
125537
                {
124484
                  String _key413; // required
125538
                  String _key418; // required
124485
                  AmazonPromotion _val414; // required
125539
                  AmazonPromotion _val419; // required
124486
                  _key413 = iprot.readString();
125540
                  _key418 = iprot.readString();
124487
                  _val414 = new AmazonPromotion();
125541
                  _val419 = new AmazonPromotion();
124488
                  _val414.read(iprot);
125542
                  _val419.read(iprot);
124489
                  this.amazonPromotions.put(_key413, _val414);
125543
                  this.amazonPromotions.put(_key418, _val419);
124490
                }
125544
                }
124491
                iprot.readMapEnd();
125545
                iprot.readMapEnd();
124492
              }
125546
              }
124493
            } else { 
125547
            } else { 
124494
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
125548
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 124509... Line 125563...
124509
      oprot.writeStructBegin(STRUCT_DESC);
125563
      oprot.writeStructBegin(STRUCT_DESC);
124510
      if (this.amazonPromotions != null) {
125564
      if (this.amazonPromotions != null) {
124511
        oprot.writeFieldBegin(AMAZON_PROMOTIONS_FIELD_DESC);
125565
        oprot.writeFieldBegin(AMAZON_PROMOTIONS_FIELD_DESC);
124512
        {
125566
        {
124513
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.amazonPromotions.size()));
125567
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.amazonPromotions.size()));
124514
          for (Map.Entry<String, AmazonPromotion> _iter415 : this.amazonPromotions.entrySet())
125568
          for (Map.Entry<String, AmazonPromotion> _iter420 : this.amazonPromotions.entrySet())
124515
          {
125569
          {
124516
            oprot.writeString(_iter415.getKey());
125570
            oprot.writeString(_iter420.getKey());
124517
            _iter415.getValue().write(oprot);
125571
            _iter420.getValue().write(oprot);
124518
          }
125572
          }
124519
          oprot.writeMapEnd();
125573
          oprot.writeMapEnd();
124520
        }
125574
        }
124521
        oprot.writeFieldEnd();
125575
        oprot.writeFieldEnd();
124522
      }
125576
      }
Line 125480... Line 126534...
125480
        }
126534
        }
125481
        switch (field.id) {
126535
        switch (field.id) {
125482
          case 0: // SUCCESS
126536
          case 0: // SUCCESS
125483
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
126537
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
125484
              {
126538
              {
125485
                org.apache.thrift.protocol.TList _list416 = iprot.readListBegin();
126539
                org.apache.thrift.protocol.TList _list421 = iprot.readListBegin();
125486
                this.success = new ArrayList<AmazonPromotion>(_list416.size);
126540
                this.success = new ArrayList<AmazonPromotion>(_list421.size);
125487
                for (int _i417 = 0; _i417 < _list416.size; ++_i417)
126541
                for (int _i422 = 0; _i422 < _list421.size; ++_i422)
125488
                {
126542
                {
125489
                  AmazonPromotion _elem418; // required
126543
                  AmazonPromotion _elem423; // required
125490
                  _elem418 = new AmazonPromotion();
126544
                  _elem423 = new AmazonPromotion();
125491
                  _elem418.read(iprot);
126545
                  _elem423.read(iprot);
125492
                  this.success.add(_elem418);
126546
                  this.success.add(_elem423);
125493
                }
126547
                }
125494
                iprot.readListEnd();
126548
                iprot.readListEnd();
125495
              }
126549
              }
125496
            } else { 
126550
            } else { 
125497
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
126551
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 125511... Line 126565...
125511
 
126565
 
125512
      if (this.isSetSuccess()) {
126566
      if (this.isSetSuccess()) {
125513
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
126567
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
125514
        {
126568
        {
125515
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
126569
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
125516
          for (AmazonPromotion _iter419 : this.success)
126570
          for (AmazonPromotion _iter424 : this.success)
125517
          {
126571
          {
125518
            _iter419.write(oprot);
126572
            _iter424.write(oprot);
125519
          }
126573
          }
125520
          oprot.writeListEnd();
126574
          oprot.writeListEnd();
125521
        }
126575
        }
125522
        oprot.writeFieldEnd();
126576
        oprot.writeFieldEnd();
125523
      }
126577
      }
Line 125811... Line 126865...
125811
        }
126865
        }
125812
        switch (field.id) {
126866
        switch (field.id) {
125813
          case 1: // AMAZON_PROMOTIONS
126867
          case 1: // AMAZON_PROMOTIONS
125814
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
126868
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
125815
              {
126869
              {
125816
                org.apache.thrift.protocol.TList _list420 = iprot.readListBegin();
126870
                org.apache.thrift.protocol.TList _list425 = iprot.readListBegin();
125817
                this.amazonPromotions = new ArrayList<AmazonPromotion>(_list420.size);
126871
                this.amazonPromotions = new ArrayList<AmazonPromotion>(_list425.size);
125818
                for (int _i421 = 0; _i421 < _list420.size; ++_i421)
126872
                for (int _i426 = 0; _i426 < _list425.size; ++_i426)
125819
                {
126873
                {
125820
                  AmazonPromotion _elem422; // required
126874
                  AmazonPromotion _elem427; // required
125821
                  _elem422 = new AmazonPromotion();
126875
                  _elem427 = new AmazonPromotion();
125822
                  _elem422.read(iprot);
126876
                  _elem427.read(iprot);
125823
                  this.amazonPromotions.add(_elem422);
126877
                  this.amazonPromotions.add(_elem427);
125824
                }
126878
                }
125825
                iprot.readListEnd();
126879
                iprot.readListEnd();
125826
              }
126880
              }
125827
            } else { 
126881
            } else { 
125828
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
126882
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 125843... Line 126897...
125843
      oprot.writeStructBegin(STRUCT_DESC);
126897
      oprot.writeStructBegin(STRUCT_DESC);
125844
      if (this.amazonPromotions != null) {
126898
      if (this.amazonPromotions != null) {
125845
        oprot.writeFieldBegin(AMAZON_PROMOTIONS_FIELD_DESC);
126899
        oprot.writeFieldBegin(AMAZON_PROMOTIONS_FIELD_DESC);
125846
        {
126900
        {
125847
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.amazonPromotions.size()));
126901
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.amazonPromotions.size()));
125848
          for (AmazonPromotion _iter423 : this.amazonPromotions)
126902
          for (AmazonPromotion _iter428 : this.amazonPromotions)
125849
          {
126903
          {
125850
            _iter423.write(oprot);
126904
            _iter428.write(oprot);
125851
          }
126905
          }
125852
          oprot.writeListEnd();
126906
          oprot.writeListEnd();
125853
        }
126907
        }
125854
        oprot.writeFieldEnd();
126908
        oprot.writeFieldEnd();
125855
      }
126909
      }
Line 126160... Line 127214...
126160
      boolean first = true;
127214
      boolean first = true;
126161
 
127215
 
126162
      sb.append("success:");
127216
      sb.append("success:");
126163
      sb.append(this.success);
127217
      sb.append(this.success);
126164
      first = false;
127218
      first = false;
-
 
127219
      sb.append(")");
-
 
127220
      return sb.toString();
-
 
127221
    }
-
 
127222
 
-
 
127223
    public void validate() throws org.apache.thrift.TException {
-
 
127224
      // check for required fields
-
 
127225
    }
-
 
127226
 
-
 
127227
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
127228
      try {
-
 
127229
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
127230
      } catch (org.apache.thrift.TException te) {
-
 
127231
        throw new java.io.IOException(te);
-
 
127232
      }
-
 
127233
    }
-
 
127234
 
-
 
127235
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
127236
      try {
-
 
127237
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
127238
      } catch (org.apache.thrift.TException te) {
-
 
127239
        throw new java.io.IOException(te);
-
 
127240
      }
-
 
127241
    }
-
 
127242
 
-
 
127243
  }
-
 
127244
 
-
 
127245
  public static class markPartiallyActive_args implements org.apache.thrift.TBase<markPartiallyActive_args, markPartiallyActive_args._Fields>, java.io.Serializable, Cloneable   {
-
 
127246
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markPartiallyActive_args");
-
 
127247
 
-
 
127248
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
127249
    private static final org.apache.thrift.protocol.TField CATEGORY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("categoryId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
127250
 
-
 
127251
    private long itemId; // required
-
 
127252
    private long categoryId; // required
-
 
127253
 
-
 
127254
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
127255
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
127256
      ITEM_ID((short)1, "itemId"),
-
 
127257
      CATEGORY_ID((short)2, "categoryId");
-
 
127258
 
-
 
127259
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
127260
 
-
 
127261
      static {
-
 
127262
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
127263
          byName.put(field.getFieldName(), field);
-
 
127264
        }
-
 
127265
      }
-
 
127266
 
-
 
127267
      /**
-
 
127268
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
127269
       */
-
 
127270
      public static _Fields findByThriftId(int fieldId) {
-
 
127271
        switch(fieldId) {
-
 
127272
          case 1: // ITEM_ID
-
 
127273
            return ITEM_ID;
-
 
127274
          case 2: // CATEGORY_ID
-
 
127275
            return CATEGORY_ID;
-
 
127276
          default:
-
 
127277
            return null;
-
 
127278
        }
-
 
127279
      }
-
 
127280
 
-
 
127281
      /**
-
 
127282
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
127283
       * if it is not found.
-
 
127284
       */
-
 
127285
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
127286
        _Fields fields = findByThriftId(fieldId);
-
 
127287
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
127288
        return fields;
-
 
127289
      }
-
 
127290
 
-
 
127291
      /**
-
 
127292
       * Find the _Fields constant that matches name, or null if its not found.
-
 
127293
       */
-
 
127294
      public static _Fields findByName(String name) {
-
 
127295
        return byName.get(name);
-
 
127296
      }
-
 
127297
 
-
 
127298
      private final short _thriftId;
-
 
127299
      private final String _fieldName;
-
 
127300
 
-
 
127301
      _Fields(short thriftId, String fieldName) {
-
 
127302
        _thriftId = thriftId;
-
 
127303
        _fieldName = fieldName;
-
 
127304
      }
-
 
127305
 
-
 
127306
      public short getThriftFieldId() {
-
 
127307
        return _thriftId;
-
 
127308
      }
-
 
127309
 
-
 
127310
      public String getFieldName() {
-
 
127311
        return _fieldName;
-
 
127312
      }
-
 
127313
    }
-
 
127314
 
-
 
127315
    // isset id assignments
-
 
127316
    private static final int __ITEMID_ISSET_ID = 0;
-
 
127317
    private static final int __CATEGORYID_ISSET_ID = 1;
-
 
127318
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
127319
 
-
 
127320
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
127321
    static {
-
 
127322
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
127323
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127324
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
127325
      tmpMap.put(_Fields.CATEGORY_ID, new org.apache.thrift.meta_data.FieldMetaData("categoryId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127326
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
127327
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
127328
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPartiallyActive_args.class, metaDataMap);
-
 
127329
    }
-
 
127330
 
-
 
127331
    public markPartiallyActive_args() {
-
 
127332
    }
-
 
127333
 
-
 
127334
    public markPartiallyActive_args(
-
 
127335
      long itemId,
-
 
127336
      long categoryId)
-
 
127337
    {
-
 
127338
      this();
-
 
127339
      this.itemId = itemId;
-
 
127340
      setItemIdIsSet(true);
-
 
127341
      this.categoryId = categoryId;
-
 
127342
      setCategoryIdIsSet(true);
-
 
127343
    }
-
 
127344
 
-
 
127345
    /**
-
 
127346
     * Performs a deep copy on <i>other</i>.
-
 
127347
     */
-
 
127348
    public markPartiallyActive_args(markPartiallyActive_args other) {
-
 
127349
      __isset_bit_vector.clear();
-
 
127350
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
127351
      this.itemId = other.itemId;
-
 
127352
      this.categoryId = other.categoryId;
-
 
127353
    }
-
 
127354
 
-
 
127355
    public markPartiallyActive_args deepCopy() {
-
 
127356
      return new markPartiallyActive_args(this);
-
 
127357
    }
-
 
127358
 
-
 
127359
    @Override
-
 
127360
    public void clear() {
-
 
127361
      setItemIdIsSet(false);
-
 
127362
      this.itemId = 0;
-
 
127363
      setCategoryIdIsSet(false);
-
 
127364
      this.categoryId = 0;
-
 
127365
    }
-
 
127366
 
-
 
127367
    public long getItemId() {
-
 
127368
      return this.itemId;
-
 
127369
    }
-
 
127370
 
-
 
127371
    public void setItemId(long itemId) {
-
 
127372
      this.itemId = itemId;
-
 
127373
      setItemIdIsSet(true);
-
 
127374
    }
-
 
127375
 
-
 
127376
    public void unsetItemId() {
-
 
127377
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
127378
    }
-
 
127379
 
-
 
127380
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
127381
    public boolean isSetItemId() {
-
 
127382
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
127383
    }
-
 
127384
 
-
 
127385
    public void setItemIdIsSet(boolean value) {
-
 
127386
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
127387
    }
-
 
127388
 
-
 
127389
    public long getCategoryId() {
-
 
127390
      return this.categoryId;
-
 
127391
    }
-
 
127392
 
-
 
127393
    public void setCategoryId(long categoryId) {
-
 
127394
      this.categoryId = categoryId;
-
 
127395
      setCategoryIdIsSet(true);
-
 
127396
    }
-
 
127397
 
-
 
127398
    public void unsetCategoryId() {
-
 
127399
      __isset_bit_vector.clear(__CATEGORYID_ISSET_ID);
-
 
127400
    }
-
 
127401
 
-
 
127402
    /** Returns true if field categoryId is set (has been assigned a value) and false otherwise */
-
 
127403
    public boolean isSetCategoryId() {
-
 
127404
      return __isset_bit_vector.get(__CATEGORYID_ISSET_ID);
-
 
127405
    }
-
 
127406
 
-
 
127407
    public void setCategoryIdIsSet(boolean value) {
-
 
127408
      __isset_bit_vector.set(__CATEGORYID_ISSET_ID, value);
-
 
127409
    }
-
 
127410
 
-
 
127411
    public void setFieldValue(_Fields field, Object value) {
-
 
127412
      switch (field) {
-
 
127413
      case ITEM_ID:
-
 
127414
        if (value == null) {
-
 
127415
          unsetItemId();
-
 
127416
        } else {
-
 
127417
          setItemId((Long)value);
-
 
127418
        }
-
 
127419
        break;
-
 
127420
 
-
 
127421
      case CATEGORY_ID:
-
 
127422
        if (value == null) {
-
 
127423
          unsetCategoryId();
-
 
127424
        } else {
-
 
127425
          setCategoryId((Long)value);
-
 
127426
        }
-
 
127427
        break;
-
 
127428
 
-
 
127429
      }
-
 
127430
    }
-
 
127431
 
-
 
127432
    public Object getFieldValue(_Fields field) {
-
 
127433
      switch (field) {
-
 
127434
      case ITEM_ID:
-
 
127435
        return Long.valueOf(getItemId());
-
 
127436
 
-
 
127437
      case CATEGORY_ID:
-
 
127438
        return Long.valueOf(getCategoryId());
-
 
127439
 
-
 
127440
      }
-
 
127441
      throw new IllegalStateException();
-
 
127442
    }
-
 
127443
 
-
 
127444
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
127445
    public boolean isSet(_Fields field) {
-
 
127446
      if (field == null) {
-
 
127447
        throw new IllegalArgumentException();
-
 
127448
      }
-
 
127449
 
-
 
127450
      switch (field) {
-
 
127451
      case ITEM_ID:
-
 
127452
        return isSetItemId();
-
 
127453
      case CATEGORY_ID:
-
 
127454
        return isSetCategoryId();
-
 
127455
      }
-
 
127456
      throw new IllegalStateException();
-
 
127457
    }
-
 
127458
 
-
 
127459
    @Override
-
 
127460
    public boolean equals(Object that) {
-
 
127461
      if (that == null)
-
 
127462
        return false;
-
 
127463
      if (that instanceof markPartiallyActive_args)
-
 
127464
        return this.equals((markPartiallyActive_args)that);
-
 
127465
      return false;
-
 
127466
    }
-
 
127467
 
-
 
127468
    public boolean equals(markPartiallyActive_args that) {
-
 
127469
      if (that == null)
-
 
127470
        return false;
-
 
127471
 
-
 
127472
      boolean this_present_itemId = true;
-
 
127473
      boolean that_present_itemId = true;
-
 
127474
      if (this_present_itemId || that_present_itemId) {
-
 
127475
        if (!(this_present_itemId && that_present_itemId))
-
 
127476
          return false;
-
 
127477
        if (this.itemId != that.itemId)
-
 
127478
          return false;
-
 
127479
      }
-
 
127480
 
-
 
127481
      boolean this_present_categoryId = true;
-
 
127482
      boolean that_present_categoryId = true;
-
 
127483
      if (this_present_categoryId || that_present_categoryId) {
-
 
127484
        if (!(this_present_categoryId && that_present_categoryId))
-
 
127485
          return false;
-
 
127486
        if (this.categoryId != that.categoryId)
-
 
127487
          return false;
-
 
127488
      }
-
 
127489
 
-
 
127490
      return true;
-
 
127491
    }
-
 
127492
 
-
 
127493
    @Override
-
 
127494
    public int hashCode() {
-
 
127495
      return 0;
-
 
127496
    }
-
 
127497
 
-
 
127498
    public int compareTo(markPartiallyActive_args other) {
-
 
127499
      if (!getClass().equals(other.getClass())) {
-
 
127500
        return getClass().getName().compareTo(other.getClass().getName());
-
 
127501
      }
-
 
127502
 
-
 
127503
      int lastComparison = 0;
-
 
127504
      markPartiallyActive_args typedOther = (markPartiallyActive_args)other;
-
 
127505
 
-
 
127506
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
127507
      if (lastComparison != 0) {
-
 
127508
        return lastComparison;
-
 
127509
      }
-
 
127510
      if (isSetItemId()) {
-
 
127511
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
127512
        if (lastComparison != 0) {
-
 
127513
          return lastComparison;
-
 
127514
        }
-
 
127515
      }
-
 
127516
      lastComparison = Boolean.valueOf(isSetCategoryId()).compareTo(typedOther.isSetCategoryId());
-
 
127517
      if (lastComparison != 0) {
-
 
127518
        return lastComparison;
-
 
127519
      }
-
 
127520
      if (isSetCategoryId()) {
-
 
127521
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.categoryId, typedOther.categoryId);
-
 
127522
        if (lastComparison != 0) {
-
 
127523
          return lastComparison;
-
 
127524
        }
-
 
127525
      }
-
 
127526
      return 0;
-
 
127527
    }
-
 
127528
 
-
 
127529
    public _Fields fieldForId(int fieldId) {
-
 
127530
      return _Fields.findByThriftId(fieldId);
-
 
127531
    }
-
 
127532
 
-
 
127533
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
127534
      org.apache.thrift.protocol.TField field;
-
 
127535
      iprot.readStructBegin();
-
 
127536
      while (true)
-
 
127537
      {
-
 
127538
        field = iprot.readFieldBegin();
-
 
127539
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
127540
          break;
-
 
127541
        }
-
 
127542
        switch (field.id) {
-
 
127543
          case 1: // ITEM_ID
-
 
127544
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
127545
              this.itemId = iprot.readI64();
-
 
127546
              setItemIdIsSet(true);
-
 
127547
            } else { 
-
 
127548
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
127549
            }
-
 
127550
            break;
-
 
127551
          case 2: // CATEGORY_ID
-
 
127552
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
127553
              this.categoryId = iprot.readI64();
-
 
127554
              setCategoryIdIsSet(true);
-
 
127555
            } else { 
-
 
127556
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
127557
            }
-
 
127558
            break;
-
 
127559
          default:
-
 
127560
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
127561
        }
-
 
127562
        iprot.readFieldEnd();
-
 
127563
      }
-
 
127564
      iprot.readStructEnd();
-
 
127565
      validate();
-
 
127566
    }
-
 
127567
 
-
 
127568
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
127569
      validate();
-
 
127570
 
-
 
127571
      oprot.writeStructBegin(STRUCT_DESC);
-
 
127572
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
127573
      oprot.writeI64(this.itemId);
-
 
127574
      oprot.writeFieldEnd();
-
 
127575
      oprot.writeFieldBegin(CATEGORY_ID_FIELD_DESC);
-
 
127576
      oprot.writeI64(this.categoryId);
-
 
127577
      oprot.writeFieldEnd();
-
 
127578
      oprot.writeFieldStop();
-
 
127579
      oprot.writeStructEnd();
-
 
127580
    }
-
 
127581
 
-
 
127582
    @Override
-
 
127583
    public String toString() {
-
 
127584
      StringBuilder sb = new StringBuilder("markPartiallyActive_args(");
-
 
127585
      boolean first = true;
-
 
127586
 
-
 
127587
      sb.append("itemId:");
-
 
127588
      sb.append(this.itemId);
-
 
127589
      first = false;
-
 
127590
      if (!first) sb.append(", ");
-
 
127591
      sb.append("categoryId:");
-
 
127592
      sb.append(this.categoryId);
-
 
127593
      first = false;
-
 
127594
      sb.append(")");
-
 
127595
      return sb.toString();
-
 
127596
    }
-
 
127597
 
-
 
127598
    public void validate() throws org.apache.thrift.TException {
-
 
127599
      // check for required fields
-
 
127600
    }
-
 
127601
 
-
 
127602
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
127603
      try {
-
 
127604
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
127605
      } catch (org.apache.thrift.TException te) {
-
 
127606
        throw new java.io.IOException(te);
-
 
127607
      }
-
 
127608
    }
-
 
127609
 
-
 
127610
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
127611
      try {
-
 
127612
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
127613
        __isset_bit_vector = new BitSet(1);
-
 
127614
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
127615
      } catch (org.apache.thrift.TException te) {
-
 
127616
        throw new java.io.IOException(te);
-
 
127617
      }
-
 
127618
    }
-
 
127619
 
-
 
127620
  }
-
 
127621
 
-
 
127622
  public static class markPartiallyActive_result implements org.apache.thrift.TBase<markPartiallyActive_result, markPartiallyActive_result._Fields>, java.io.Serializable, Cloneable   {
-
 
127623
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markPartiallyActive_result");
-
 
127624
 
-
 
127625
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
127626
 
-
 
127627
    private boolean success; // required
-
 
127628
 
-
 
127629
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
127630
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
127631
      SUCCESS((short)0, "success");
-
 
127632
 
-
 
127633
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
127634
 
-
 
127635
      static {
-
 
127636
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
127637
          byName.put(field.getFieldName(), field);
-
 
127638
        }
-
 
127639
      }
-
 
127640
 
-
 
127641
      /**
-
 
127642
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
127643
       */
-
 
127644
      public static _Fields findByThriftId(int fieldId) {
-
 
127645
        switch(fieldId) {
-
 
127646
          case 0: // SUCCESS
-
 
127647
            return SUCCESS;
-
 
127648
          default:
-
 
127649
            return null;
-
 
127650
        }
-
 
127651
      }
-
 
127652
 
-
 
127653
      /**
-
 
127654
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
127655
       * if it is not found.
-
 
127656
       */
-
 
127657
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
127658
        _Fields fields = findByThriftId(fieldId);
-
 
127659
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
127660
        return fields;
-
 
127661
      }
-
 
127662
 
-
 
127663
      /**
-
 
127664
       * Find the _Fields constant that matches name, or null if its not found.
-
 
127665
       */
-
 
127666
      public static _Fields findByName(String name) {
-
 
127667
        return byName.get(name);
-
 
127668
      }
-
 
127669
 
-
 
127670
      private final short _thriftId;
-
 
127671
      private final String _fieldName;
-
 
127672
 
-
 
127673
      _Fields(short thriftId, String fieldName) {
-
 
127674
        _thriftId = thriftId;
-
 
127675
        _fieldName = fieldName;
-
 
127676
      }
-
 
127677
 
-
 
127678
      public short getThriftFieldId() {
-
 
127679
        return _thriftId;
-
 
127680
      }
-
 
127681
 
-
 
127682
      public String getFieldName() {
-
 
127683
        return _fieldName;
-
 
127684
      }
-
 
127685
    }
-
 
127686
 
-
 
127687
    // isset id assignments
-
 
127688
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
127689
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
127690
 
-
 
127691
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
127692
    static {
-
 
127693
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
127694
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127695
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
127696
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
127697
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPartiallyActive_result.class, metaDataMap);
-
 
127698
    }
-
 
127699
 
-
 
127700
    public markPartiallyActive_result() {
-
 
127701
    }
-
 
127702
 
-
 
127703
    public markPartiallyActive_result(
-
 
127704
      boolean success)
-
 
127705
    {
-
 
127706
      this();
-
 
127707
      this.success = success;
-
 
127708
      setSuccessIsSet(true);
-
 
127709
    }
-
 
127710
 
-
 
127711
    /**
-
 
127712
     * Performs a deep copy on <i>other</i>.
-
 
127713
     */
-
 
127714
    public markPartiallyActive_result(markPartiallyActive_result other) {
-
 
127715
      __isset_bit_vector.clear();
-
 
127716
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
127717
      this.success = other.success;
-
 
127718
    }
-
 
127719
 
-
 
127720
    public markPartiallyActive_result deepCopy() {
-
 
127721
      return new markPartiallyActive_result(this);
-
 
127722
    }
-
 
127723
 
-
 
127724
    @Override
-
 
127725
    public void clear() {
-
 
127726
      setSuccessIsSet(false);
-
 
127727
      this.success = false;
-
 
127728
    }
-
 
127729
 
-
 
127730
    public boolean isSuccess() {
-
 
127731
      return this.success;
-
 
127732
    }
-
 
127733
 
-
 
127734
    public void setSuccess(boolean success) {
-
 
127735
      this.success = success;
-
 
127736
      setSuccessIsSet(true);
-
 
127737
    }
-
 
127738
 
-
 
127739
    public void unsetSuccess() {
-
 
127740
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
127741
    }
-
 
127742
 
-
 
127743
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
127744
    public boolean isSetSuccess() {
-
 
127745
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
127746
    }
-
 
127747
 
-
 
127748
    public void setSuccessIsSet(boolean value) {
-
 
127749
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
127750
    }
-
 
127751
 
-
 
127752
    public void setFieldValue(_Fields field, Object value) {
-
 
127753
      switch (field) {
-
 
127754
      case SUCCESS:
-
 
127755
        if (value == null) {
-
 
127756
          unsetSuccess();
-
 
127757
        } else {
-
 
127758
          setSuccess((Boolean)value);
-
 
127759
        }
-
 
127760
        break;
-
 
127761
 
-
 
127762
      }
-
 
127763
    }
-
 
127764
 
-
 
127765
    public Object getFieldValue(_Fields field) {
-
 
127766
      switch (field) {
-
 
127767
      case SUCCESS:
-
 
127768
        return Boolean.valueOf(isSuccess());
-
 
127769
 
-
 
127770
      }
-
 
127771
      throw new IllegalStateException();
-
 
127772
    }
-
 
127773
 
-
 
127774
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
127775
    public boolean isSet(_Fields field) {
-
 
127776
      if (field == null) {
-
 
127777
        throw new IllegalArgumentException();
-
 
127778
      }
-
 
127779
 
-
 
127780
      switch (field) {
-
 
127781
      case SUCCESS:
-
 
127782
        return isSetSuccess();
-
 
127783
      }
-
 
127784
      throw new IllegalStateException();
-
 
127785
    }
-
 
127786
 
-
 
127787
    @Override
-
 
127788
    public boolean equals(Object that) {
-
 
127789
      if (that == null)
-
 
127790
        return false;
-
 
127791
      if (that instanceof markPartiallyActive_result)
-
 
127792
        return this.equals((markPartiallyActive_result)that);
-
 
127793
      return false;
-
 
127794
    }
-
 
127795
 
-
 
127796
    public boolean equals(markPartiallyActive_result that) {
-
 
127797
      if (that == null)
-
 
127798
        return false;
-
 
127799
 
-
 
127800
      boolean this_present_success = true;
-
 
127801
      boolean that_present_success = true;
-
 
127802
      if (this_present_success || that_present_success) {
-
 
127803
        if (!(this_present_success && that_present_success))
-
 
127804
          return false;
-
 
127805
        if (this.success != that.success)
-
 
127806
          return false;
-
 
127807
      }
-
 
127808
 
-
 
127809
      return true;
-
 
127810
    }
-
 
127811
 
-
 
127812
    @Override
-
 
127813
    public int hashCode() {
-
 
127814
      return 0;
-
 
127815
    }
-
 
127816
 
-
 
127817
    public int compareTo(markPartiallyActive_result other) {
-
 
127818
      if (!getClass().equals(other.getClass())) {
-
 
127819
        return getClass().getName().compareTo(other.getClass().getName());
-
 
127820
      }
-
 
127821
 
-
 
127822
      int lastComparison = 0;
-
 
127823
      markPartiallyActive_result typedOther = (markPartiallyActive_result)other;
-
 
127824
 
-
 
127825
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
127826
      if (lastComparison != 0) {
-
 
127827
        return lastComparison;
-
 
127828
      }
-
 
127829
      if (isSetSuccess()) {
-
 
127830
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
127831
        if (lastComparison != 0) {
-
 
127832
          return lastComparison;
-
 
127833
        }
-
 
127834
      }
-
 
127835
      return 0;
-
 
127836
    }
-
 
127837
 
-
 
127838
    public _Fields fieldForId(int fieldId) {
-
 
127839
      return _Fields.findByThriftId(fieldId);
-
 
127840
    }
-
 
127841
 
-
 
127842
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
127843
      org.apache.thrift.protocol.TField field;
-
 
127844
      iprot.readStructBegin();
-
 
127845
      while (true)
-
 
127846
      {
-
 
127847
        field = iprot.readFieldBegin();
-
 
127848
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
127849
          break;
-
 
127850
        }
-
 
127851
        switch (field.id) {
-
 
127852
          case 0: // SUCCESS
-
 
127853
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
127854
              this.success = iprot.readBool();
-
 
127855
              setSuccessIsSet(true);
-
 
127856
            } else { 
-
 
127857
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
127858
            }
-
 
127859
            break;
-
 
127860
          default:
-
 
127861
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
127862
        }
-
 
127863
        iprot.readFieldEnd();
-
 
127864
      }
-
 
127865
      iprot.readStructEnd();
-
 
127866
      validate();
-
 
127867
    }
-
 
127868
 
-
 
127869
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
127870
      oprot.writeStructBegin(STRUCT_DESC);
-
 
127871
 
-
 
127872
      if (this.isSetSuccess()) {
-
 
127873
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
127874
        oprot.writeBool(this.success);
-
 
127875
        oprot.writeFieldEnd();
-
 
127876
      }
-
 
127877
      oprot.writeFieldStop();
-
 
127878
      oprot.writeStructEnd();
-
 
127879
    }
-
 
127880
 
-
 
127881
    @Override
-
 
127882
    public String toString() {
-
 
127883
      StringBuilder sb = new StringBuilder("markPartiallyActive_result(");
-
 
127884
      boolean first = true;
-
 
127885
 
-
 
127886
      sb.append("success:");
-
 
127887
      sb.append(this.success);
-
 
127888
      first = false;
-
 
127889
      sb.append(")");
-
 
127890
      return sb.toString();
-
 
127891
    }
-
 
127892
 
-
 
127893
    public void validate() throws org.apache.thrift.TException {
-
 
127894
      // check for required fields
-
 
127895
    }
-
 
127896
 
-
 
127897
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
127898
      try {
-
 
127899
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
127900
      } catch (org.apache.thrift.TException te) {
-
 
127901
        throw new java.io.IOException(te);
-
 
127902
      }
-
 
127903
    }
-
 
127904
 
-
 
127905
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
127906
      try {
-
 
127907
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
127908
      } catch (org.apache.thrift.TException te) {
-
 
127909
        throw new java.io.IOException(te);
-
 
127910
      }
-
 
127911
    }
-
 
127912
 
-
 
127913
  }
-
 
127914
 
-
 
127915
  public static class updateItemStateVat_args implements org.apache.thrift.TBase<updateItemStateVat_args, updateItemStateVat_args._Fields>, java.io.Serializable, Cloneable   {
-
 
127916
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateItemStateVat_args");
-
 
127917
 
-
 
127918
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
127919
    private static final org.apache.thrift.protocol.TField STATEVAT_FIELD_DESC = new org.apache.thrift.protocol.TField("statevat", org.apache.thrift.protocol.TType.MAP, (short)2);
-
 
127920
 
-
 
127921
    private long itemId; // required
-
 
127922
    private Map<Long,Double> statevat; // required
-
 
127923
 
-
 
127924
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
127925
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
127926
      ITEM_ID((short)1, "itemId"),
-
 
127927
      STATEVAT((short)2, "statevat");
-
 
127928
 
-
 
127929
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
127930
 
-
 
127931
      static {
-
 
127932
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
127933
          byName.put(field.getFieldName(), field);
-
 
127934
        }
-
 
127935
      }
-
 
127936
 
-
 
127937
      /**
-
 
127938
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
127939
       */
-
 
127940
      public static _Fields findByThriftId(int fieldId) {
-
 
127941
        switch(fieldId) {
-
 
127942
          case 1: // ITEM_ID
-
 
127943
            return ITEM_ID;
-
 
127944
          case 2: // STATEVAT
-
 
127945
            return STATEVAT;
-
 
127946
          default:
-
 
127947
            return null;
-
 
127948
        }
-
 
127949
      }
-
 
127950
 
-
 
127951
      /**
-
 
127952
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
127953
       * if it is not found.
-
 
127954
       */
-
 
127955
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
127956
        _Fields fields = findByThriftId(fieldId);
-
 
127957
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
127958
        return fields;
-
 
127959
      }
-
 
127960
 
-
 
127961
      /**
-
 
127962
       * Find the _Fields constant that matches name, or null if its not found.
-
 
127963
       */
-
 
127964
      public static _Fields findByName(String name) {
-
 
127965
        return byName.get(name);
-
 
127966
      }
-
 
127967
 
-
 
127968
      private final short _thriftId;
-
 
127969
      private final String _fieldName;
-
 
127970
 
-
 
127971
      _Fields(short thriftId, String fieldName) {
-
 
127972
        _thriftId = thriftId;
-
 
127973
        _fieldName = fieldName;
-
 
127974
      }
-
 
127975
 
-
 
127976
      public short getThriftFieldId() {
-
 
127977
        return _thriftId;
-
 
127978
      }
-
 
127979
 
-
 
127980
      public String getFieldName() {
-
 
127981
        return _fieldName;
-
 
127982
      }
-
 
127983
    }
-
 
127984
 
-
 
127985
    // isset id assignments
-
 
127986
    private static final int __ITEMID_ISSET_ID = 0;
-
 
127987
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
127988
 
-
 
127989
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
127990
    static {
-
 
127991
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
127992
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127993
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
127994
      tmpMap.put(_Fields.STATEVAT, new org.apache.thrift.meta_data.FieldMetaData("statevat", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
127995
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
127996
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
127997
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE))));
-
 
127998
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
127999
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateItemStateVat_args.class, metaDataMap);
-
 
128000
    }
-
 
128001
 
-
 
128002
    public updateItemStateVat_args() {
-
 
128003
    }
-
 
128004
 
-
 
128005
    public updateItemStateVat_args(
-
 
128006
      long itemId,
-
 
128007
      Map<Long,Double> statevat)
-
 
128008
    {
-
 
128009
      this();
-
 
128010
      this.itemId = itemId;
-
 
128011
      setItemIdIsSet(true);
-
 
128012
      this.statevat = statevat;
-
 
128013
    }
-
 
128014
 
-
 
128015
    /**
-
 
128016
     * Performs a deep copy on <i>other</i>.
-
 
128017
     */
-
 
128018
    public updateItemStateVat_args(updateItemStateVat_args other) {
-
 
128019
      __isset_bit_vector.clear();
-
 
128020
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
128021
      this.itemId = other.itemId;
-
 
128022
      if (other.isSetStatevat()) {
-
 
128023
        Map<Long,Double> __this__statevat = new HashMap<Long,Double>();
-
 
128024
        for (Map.Entry<Long, Double> other_element : other.statevat.entrySet()) {
-
 
128025
 
-
 
128026
          Long other_element_key = other_element.getKey();
-
 
128027
          Double other_element_value = other_element.getValue();
-
 
128028
 
-
 
128029
          Long __this__statevat_copy_key = other_element_key;
-
 
128030
 
-
 
128031
          Double __this__statevat_copy_value = other_element_value;
-
 
128032
 
-
 
128033
          __this__statevat.put(__this__statevat_copy_key, __this__statevat_copy_value);
-
 
128034
        }
-
 
128035
        this.statevat = __this__statevat;
-
 
128036
      }
-
 
128037
    }
-
 
128038
 
-
 
128039
    public updateItemStateVat_args deepCopy() {
-
 
128040
      return new updateItemStateVat_args(this);
-
 
128041
    }
-
 
128042
 
-
 
128043
    @Override
-
 
128044
    public void clear() {
-
 
128045
      setItemIdIsSet(false);
-
 
128046
      this.itemId = 0;
-
 
128047
      this.statevat = null;
-
 
128048
    }
-
 
128049
 
-
 
128050
    public long getItemId() {
-
 
128051
      return this.itemId;
-
 
128052
    }
-
 
128053
 
-
 
128054
    public void setItemId(long itemId) {
-
 
128055
      this.itemId = itemId;
-
 
128056
      setItemIdIsSet(true);
-
 
128057
    }
-
 
128058
 
-
 
128059
    public void unsetItemId() {
-
 
128060
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
128061
    }
-
 
128062
 
-
 
128063
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
128064
    public boolean isSetItemId() {
-
 
128065
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
128066
    }
-
 
128067
 
-
 
128068
    public void setItemIdIsSet(boolean value) {
-
 
128069
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
128070
    }
-
 
128071
 
-
 
128072
    public int getStatevatSize() {
-
 
128073
      return (this.statevat == null) ? 0 : this.statevat.size();
-
 
128074
    }
-
 
128075
 
-
 
128076
    public void putToStatevat(long key, double val) {
-
 
128077
      if (this.statevat == null) {
-
 
128078
        this.statevat = new HashMap<Long,Double>();
-
 
128079
      }
-
 
128080
      this.statevat.put(key, val);
-
 
128081
    }
-
 
128082
 
-
 
128083
    public Map<Long,Double> getStatevat() {
-
 
128084
      return this.statevat;
-
 
128085
    }
-
 
128086
 
-
 
128087
    public void setStatevat(Map<Long,Double> statevat) {
-
 
128088
      this.statevat = statevat;
-
 
128089
    }
-
 
128090
 
-
 
128091
    public void unsetStatevat() {
-
 
128092
      this.statevat = null;
-
 
128093
    }
-
 
128094
 
-
 
128095
    /** Returns true if field statevat is set (has been assigned a value) and false otherwise */
-
 
128096
    public boolean isSetStatevat() {
-
 
128097
      return this.statevat != null;
-
 
128098
    }
-
 
128099
 
-
 
128100
    public void setStatevatIsSet(boolean value) {
-
 
128101
      if (!value) {
-
 
128102
        this.statevat = null;
-
 
128103
      }
-
 
128104
    }
-
 
128105
 
-
 
128106
    public void setFieldValue(_Fields field, Object value) {
-
 
128107
      switch (field) {
-
 
128108
      case ITEM_ID:
-
 
128109
        if (value == null) {
-
 
128110
          unsetItemId();
-
 
128111
        } else {
-
 
128112
          setItemId((Long)value);
-
 
128113
        }
-
 
128114
        break;
-
 
128115
 
-
 
128116
      case STATEVAT:
-
 
128117
        if (value == null) {
-
 
128118
          unsetStatevat();
-
 
128119
        } else {
-
 
128120
          setStatevat((Map<Long,Double>)value);
-
 
128121
        }
-
 
128122
        break;
-
 
128123
 
-
 
128124
      }
-
 
128125
    }
-
 
128126
 
-
 
128127
    public Object getFieldValue(_Fields field) {
-
 
128128
      switch (field) {
-
 
128129
      case ITEM_ID:
-
 
128130
        return Long.valueOf(getItemId());
-
 
128131
 
-
 
128132
      case STATEVAT:
-
 
128133
        return getStatevat();
-
 
128134
 
-
 
128135
      }
-
 
128136
      throw new IllegalStateException();
-
 
128137
    }
-
 
128138
 
-
 
128139
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
128140
    public boolean isSet(_Fields field) {
-
 
128141
      if (field == null) {
-
 
128142
        throw new IllegalArgumentException();
-
 
128143
      }
-
 
128144
 
-
 
128145
      switch (field) {
-
 
128146
      case ITEM_ID:
-
 
128147
        return isSetItemId();
-
 
128148
      case STATEVAT:
-
 
128149
        return isSetStatevat();
-
 
128150
      }
-
 
128151
      throw new IllegalStateException();
-
 
128152
    }
-
 
128153
 
-
 
128154
    @Override
-
 
128155
    public boolean equals(Object that) {
-
 
128156
      if (that == null)
-
 
128157
        return false;
-
 
128158
      if (that instanceof updateItemStateVat_args)
-
 
128159
        return this.equals((updateItemStateVat_args)that);
-
 
128160
      return false;
-
 
128161
    }
-
 
128162
 
-
 
128163
    public boolean equals(updateItemStateVat_args that) {
-
 
128164
      if (that == null)
-
 
128165
        return false;
-
 
128166
 
-
 
128167
      boolean this_present_itemId = true;
-
 
128168
      boolean that_present_itemId = true;
-
 
128169
      if (this_present_itemId || that_present_itemId) {
-
 
128170
        if (!(this_present_itemId && that_present_itemId))
-
 
128171
          return false;
-
 
128172
        if (this.itemId != that.itemId)
-
 
128173
          return false;
-
 
128174
      }
-
 
128175
 
-
 
128176
      boolean this_present_statevat = true && this.isSetStatevat();
-
 
128177
      boolean that_present_statevat = true && that.isSetStatevat();
-
 
128178
      if (this_present_statevat || that_present_statevat) {
-
 
128179
        if (!(this_present_statevat && that_present_statevat))
-
 
128180
          return false;
-
 
128181
        if (!this.statevat.equals(that.statevat))
-
 
128182
          return false;
-
 
128183
      }
-
 
128184
 
-
 
128185
      return true;
-
 
128186
    }
-
 
128187
 
-
 
128188
    @Override
-
 
128189
    public int hashCode() {
-
 
128190
      return 0;
-
 
128191
    }
-
 
128192
 
-
 
128193
    public int compareTo(updateItemStateVat_args other) {
-
 
128194
      if (!getClass().equals(other.getClass())) {
-
 
128195
        return getClass().getName().compareTo(other.getClass().getName());
-
 
128196
      }
-
 
128197
 
-
 
128198
      int lastComparison = 0;
-
 
128199
      updateItemStateVat_args typedOther = (updateItemStateVat_args)other;
-
 
128200
 
-
 
128201
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
128202
      if (lastComparison != 0) {
-
 
128203
        return lastComparison;
-
 
128204
      }
-
 
128205
      if (isSetItemId()) {
-
 
128206
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
128207
        if (lastComparison != 0) {
-
 
128208
          return lastComparison;
-
 
128209
        }
-
 
128210
      }
-
 
128211
      lastComparison = Boolean.valueOf(isSetStatevat()).compareTo(typedOther.isSetStatevat());
-
 
128212
      if (lastComparison != 0) {
-
 
128213
        return lastComparison;
-
 
128214
      }
-
 
128215
      if (isSetStatevat()) {
-
 
128216
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statevat, typedOther.statevat);
-
 
128217
        if (lastComparison != 0) {
-
 
128218
          return lastComparison;
-
 
128219
        }
-
 
128220
      }
-
 
128221
      return 0;
-
 
128222
    }
-
 
128223
 
-
 
128224
    public _Fields fieldForId(int fieldId) {
-
 
128225
      return _Fields.findByThriftId(fieldId);
-
 
128226
    }
-
 
128227
 
-
 
128228
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
128229
      org.apache.thrift.protocol.TField field;
-
 
128230
      iprot.readStructBegin();
-
 
128231
      while (true)
-
 
128232
      {
-
 
128233
        field = iprot.readFieldBegin();
-
 
128234
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
128235
          break;
-
 
128236
        }
-
 
128237
        switch (field.id) {
-
 
128238
          case 1: // ITEM_ID
-
 
128239
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
128240
              this.itemId = iprot.readI64();
-
 
128241
              setItemIdIsSet(true);
-
 
128242
            } else { 
-
 
128243
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128244
            }
-
 
128245
            break;
-
 
128246
          case 2: // STATEVAT
-
 
128247
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
128248
              {
-
 
128249
                org.apache.thrift.protocol.TMap _map429 = iprot.readMapBegin();
-
 
128250
                this.statevat = new HashMap<Long,Double>(2*_map429.size);
-
 
128251
                for (int _i430 = 0; _i430 < _map429.size; ++_i430)
-
 
128252
                {
-
 
128253
                  long _key431; // required
-
 
128254
                  double _val432; // required
-
 
128255
                  _key431 = iprot.readI64();
-
 
128256
                  _val432 = iprot.readDouble();
-
 
128257
                  this.statevat.put(_key431, _val432);
-
 
128258
                }
-
 
128259
                iprot.readMapEnd();
-
 
128260
              }
-
 
128261
            } else { 
-
 
128262
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128263
            }
-
 
128264
            break;
-
 
128265
          default:
-
 
128266
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128267
        }
-
 
128268
        iprot.readFieldEnd();
-
 
128269
      }
-
 
128270
      iprot.readStructEnd();
-
 
128271
      validate();
-
 
128272
    }
-
 
128273
 
-
 
128274
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
128275
      validate();
-
 
128276
 
-
 
128277
      oprot.writeStructBegin(STRUCT_DESC);
-
 
128278
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
128279
      oprot.writeI64(this.itemId);
-
 
128280
      oprot.writeFieldEnd();
-
 
128281
      if (this.statevat != null) {
-
 
128282
        oprot.writeFieldBegin(STATEVAT_FIELD_DESC);
-
 
128283
        {
-
 
128284
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.statevat.size()));
-
 
128285
          for (Map.Entry<Long, Double> _iter433 : this.statevat.entrySet())
-
 
128286
          {
-
 
128287
            oprot.writeI64(_iter433.getKey());
-
 
128288
            oprot.writeDouble(_iter433.getValue());
-
 
128289
          }
-
 
128290
          oprot.writeMapEnd();
-
 
128291
        }
-
 
128292
        oprot.writeFieldEnd();
-
 
128293
      }
-
 
128294
      oprot.writeFieldStop();
-
 
128295
      oprot.writeStructEnd();
-
 
128296
    }
-
 
128297
 
-
 
128298
    @Override
-
 
128299
    public String toString() {
-
 
128300
      StringBuilder sb = new StringBuilder("updateItemStateVat_args(");
-
 
128301
      boolean first = true;
-
 
128302
 
-
 
128303
      sb.append("itemId:");
-
 
128304
      sb.append(this.itemId);
-
 
128305
      first = false;
-
 
128306
      if (!first) sb.append(", ");
-
 
128307
      sb.append("statevat:");
-
 
128308
      if (this.statevat == null) {
-
 
128309
        sb.append("null");
-
 
128310
      } else {
-
 
128311
        sb.append(this.statevat);
-
 
128312
      }
-
 
128313
      first = false;
-
 
128314
      sb.append(")");
-
 
128315
      return sb.toString();
-
 
128316
    }
-
 
128317
 
-
 
128318
    public void validate() throws org.apache.thrift.TException {
-
 
128319
      // check for required fields
-
 
128320
    }
-
 
128321
 
-
 
128322
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
128323
      try {
-
 
128324
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
128325
      } catch (org.apache.thrift.TException te) {
-
 
128326
        throw new java.io.IOException(te);
-
 
128327
      }
-
 
128328
    }
-
 
128329
 
-
 
128330
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
128331
      try {
-
 
128332
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
128333
        __isset_bit_vector = new BitSet(1);
-
 
128334
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
128335
      } catch (org.apache.thrift.TException te) {
-
 
128336
        throw new java.io.IOException(te);
-
 
128337
      }
-
 
128338
    }
-
 
128339
 
-
 
128340
  }
-
 
128341
 
-
 
128342
  public static class updateItemStateVat_result implements org.apache.thrift.TBase<updateItemStateVat_result, updateItemStateVat_result._Fields>, java.io.Serializable, Cloneable   {
-
 
128343
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateItemStateVat_result");
-
 
128344
 
-
 
128345
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
128346
 
-
 
128347
    private boolean success; // required
-
 
128348
 
-
 
128349
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
128350
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
128351
      SUCCESS((short)0, "success");
-
 
128352
 
-
 
128353
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
128354
 
-
 
128355
      static {
-
 
128356
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
128357
          byName.put(field.getFieldName(), field);
-
 
128358
        }
-
 
128359
      }
-
 
128360
 
-
 
128361
      /**
-
 
128362
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
128363
       */
-
 
128364
      public static _Fields findByThriftId(int fieldId) {
-
 
128365
        switch(fieldId) {
-
 
128366
          case 0: // SUCCESS
-
 
128367
            return SUCCESS;
-
 
128368
          default:
-
 
128369
            return null;
-
 
128370
        }
-
 
128371
      }
-
 
128372
 
-
 
128373
      /**
-
 
128374
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
128375
       * if it is not found.
-
 
128376
       */
-
 
128377
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
128378
        _Fields fields = findByThriftId(fieldId);
-
 
128379
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
128380
        return fields;
-
 
128381
      }
-
 
128382
 
-
 
128383
      /**
-
 
128384
       * Find the _Fields constant that matches name, or null if its not found.
-
 
128385
       */
-
 
128386
      public static _Fields findByName(String name) {
-
 
128387
        return byName.get(name);
-
 
128388
      }
-
 
128389
 
-
 
128390
      private final short _thriftId;
-
 
128391
      private final String _fieldName;
-
 
128392
 
-
 
128393
      _Fields(short thriftId, String fieldName) {
-
 
128394
        _thriftId = thriftId;
-
 
128395
        _fieldName = fieldName;
-
 
128396
      }
-
 
128397
 
-
 
128398
      public short getThriftFieldId() {
-
 
128399
        return _thriftId;
-
 
128400
      }
-
 
128401
 
-
 
128402
      public String getFieldName() {
-
 
128403
        return _fieldName;
-
 
128404
      }
-
 
128405
    }
-
 
128406
 
-
 
128407
    // isset id assignments
-
 
128408
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
128409
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
128410
 
-
 
128411
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
128412
    static {
-
 
128413
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
128414
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
128415
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
128416
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
128417
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateItemStateVat_result.class, metaDataMap);
-
 
128418
    }
-
 
128419
 
-
 
128420
    public updateItemStateVat_result() {
-
 
128421
    }
-
 
128422
 
-
 
128423
    public updateItemStateVat_result(
-
 
128424
      boolean success)
-
 
128425
    {
-
 
128426
      this();
-
 
128427
      this.success = success;
-
 
128428
      setSuccessIsSet(true);
-
 
128429
    }
-
 
128430
 
-
 
128431
    /**
-
 
128432
     * Performs a deep copy on <i>other</i>.
-
 
128433
     */
-
 
128434
    public updateItemStateVat_result(updateItemStateVat_result other) {
-
 
128435
      __isset_bit_vector.clear();
-
 
128436
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
128437
      this.success = other.success;
-
 
128438
    }
-
 
128439
 
-
 
128440
    public updateItemStateVat_result deepCopy() {
-
 
128441
      return new updateItemStateVat_result(this);
-
 
128442
    }
-
 
128443
 
-
 
128444
    @Override
-
 
128445
    public void clear() {
-
 
128446
      setSuccessIsSet(false);
-
 
128447
      this.success = false;
-
 
128448
    }
-
 
128449
 
-
 
128450
    public boolean isSuccess() {
-
 
128451
      return this.success;
-
 
128452
    }
-
 
128453
 
-
 
128454
    public void setSuccess(boolean success) {
-
 
128455
      this.success = success;
-
 
128456
      setSuccessIsSet(true);
-
 
128457
    }
-
 
128458
 
-
 
128459
    public void unsetSuccess() {
-
 
128460
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
128461
    }
-
 
128462
 
-
 
128463
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
128464
    public boolean isSetSuccess() {
-
 
128465
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
128466
    }
-
 
128467
 
-
 
128468
    public void setSuccessIsSet(boolean value) {
-
 
128469
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
128470
    }
-
 
128471
 
-
 
128472
    public void setFieldValue(_Fields field, Object value) {
-
 
128473
      switch (field) {
-
 
128474
      case SUCCESS:
-
 
128475
        if (value == null) {
-
 
128476
          unsetSuccess();
-
 
128477
        } else {
-
 
128478
          setSuccess((Boolean)value);
-
 
128479
        }
-
 
128480
        break;
-
 
128481
 
-
 
128482
      }
-
 
128483
    }
-
 
128484
 
-
 
128485
    public Object getFieldValue(_Fields field) {
-
 
128486
      switch (field) {
-
 
128487
      case SUCCESS:
-
 
128488
        return Boolean.valueOf(isSuccess());
-
 
128489
 
-
 
128490
      }
-
 
128491
      throw new IllegalStateException();
-
 
128492
    }
-
 
128493
 
-
 
128494
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
128495
    public boolean isSet(_Fields field) {
-
 
128496
      if (field == null) {
-
 
128497
        throw new IllegalArgumentException();
-
 
128498
      }
-
 
128499
 
-
 
128500
      switch (field) {
-
 
128501
      case SUCCESS:
-
 
128502
        return isSetSuccess();
-
 
128503
      }
-
 
128504
      throw new IllegalStateException();
-
 
128505
    }
-
 
128506
 
-
 
128507
    @Override
-
 
128508
    public boolean equals(Object that) {
-
 
128509
      if (that == null)
-
 
128510
        return false;
-
 
128511
      if (that instanceof updateItemStateVat_result)
-
 
128512
        return this.equals((updateItemStateVat_result)that);
-
 
128513
      return false;
-
 
128514
    }
-
 
128515
 
-
 
128516
    public boolean equals(updateItemStateVat_result that) {
-
 
128517
      if (that == null)
-
 
128518
        return false;
-
 
128519
 
-
 
128520
      boolean this_present_success = true;
-
 
128521
      boolean that_present_success = true;
-
 
128522
      if (this_present_success || that_present_success) {
-
 
128523
        if (!(this_present_success && that_present_success))
-
 
128524
          return false;
-
 
128525
        if (this.success != that.success)
-
 
128526
          return false;
-
 
128527
      }
-
 
128528
 
-
 
128529
      return true;
-
 
128530
    }
-
 
128531
 
-
 
128532
    @Override
-
 
128533
    public int hashCode() {
-
 
128534
      return 0;
-
 
128535
    }
-
 
128536
 
-
 
128537
    public int compareTo(updateItemStateVat_result other) {
-
 
128538
      if (!getClass().equals(other.getClass())) {
-
 
128539
        return getClass().getName().compareTo(other.getClass().getName());
-
 
128540
      }
-
 
128541
 
-
 
128542
      int lastComparison = 0;
-
 
128543
      updateItemStateVat_result typedOther = (updateItemStateVat_result)other;
-
 
128544
 
-
 
128545
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
128546
      if (lastComparison != 0) {
-
 
128547
        return lastComparison;
-
 
128548
      }
-
 
128549
      if (isSetSuccess()) {
-
 
128550
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
128551
        if (lastComparison != 0) {
-
 
128552
          return lastComparison;
-
 
128553
        }
-
 
128554
      }
-
 
128555
      return 0;
-
 
128556
    }
-
 
128557
 
-
 
128558
    public _Fields fieldForId(int fieldId) {
-
 
128559
      return _Fields.findByThriftId(fieldId);
-
 
128560
    }
-
 
128561
 
-
 
128562
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
128563
      org.apache.thrift.protocol.TField field;
-
 
128564
      iprot.readStructBegin();
-
 
128565
      while (true)
-
 
128566
      {
-
 
128567
        field = iprot.readFieldBegin();
-
 
128568
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
128569
          break;
-
 
128570
        }
-
 
128571
        switch (field.id) {
-
 
128572
          case 0: // SUCCESS
-
 
128573
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
128574
              this.success = iprot.readBool();
-
 
128575
              setSuccessIsSet(true);
-
 
128576
            } else { 
-
 
128577
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128578
            }
-
 
128579
            break;
-
 
128580
          default:
-
 
128581
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
128582
        }
-
 
128583
        iprot.readFieldEnd();
-
 
128584
      }
-
 
128585
      iprot.readStructEnd();
-
 
128586
      validate();
-
 
128587
    }
-
 
128588
 
-
 
128589
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
128590
      oprot.writeStructBegin(STRUCT_DESC);
-
 
128591
 
-
 
128592
      if (this.isSetSuccess()) {
-
 
128593
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
128594
        oprot.writeBool(this.success);
-
 
128595
        oprot.writeFieldEnd();
-
 
128596
      }
-
 
128597
      oprot.writeFieldStop();
-
 
128598
      oprot.writeStructEnd();
-
 
128599
    }
-
 
128600
 
-
 
128601
    @Override
-
 
128602
    public String toString() {
-
 
128603
      StringBuilder sb = new StringBuilder("updateItemStateVat_result(");
-
 
128604
      boolean first = true;
-
 
128605
 
-
 
128606
      sb.append("success:");
-
 
128607
      sb.append(this.success);
-
 
128608
      first = false;
126165
      sb.append(")");
128609
      sb.append(")");
126166
      return sb.toString();
128610
      return sb.toString();
126167
    }
128611
    }
126168
 
128612
 
126169
    public void validate() throws org.apache.thrift.TException {
128613
    public void validate() throws org.apache.thrift.TException {