Subversion Repositories SmartDukaan

Rev

Rev 5185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5185 Rev 5217
Line 186... Line 186...
186
 
186
 
187
    public List<Long> getBestDealsCatalogIds(long beginIndex, long totalItems, String brand, long category) throws InventoryServiceException, org.apache.thrift.TException;
187
    public List<Long> getBestDealsCatalogIds(long beginIndex, long totalItems, String brand, long category) throws InventoryServiceException, org.apache.thrift.TException;
188
 
188
 
189
    public long getBestDealsCount() throws InventoryServiceException, org.apache.thrift.TException;
189
    public long getBestDealsCount() throws InventoryServiceException, org.apache.thrift.TException;
190
 
190
 
-
 
191
    public List<Item> getComingSoon() throws InventoryServiceException, org.apache.thrift.TException;
-
 
192
 
-
 
193
    public List<Long> getComingSoonCatalogIds(long beginIndex, long totalItems, String brand, long category) throws InventoryServiceException, org.apache.thrift.TException;
-
 
194
 
-
 
195
    public long getComingSoonCount() throws InventoryServiceException, org.apache.thrift.TException;
-
 
196
 
191
    /**
197
    /**
192
     * Returns a list of items sorted in the descending order by start date.
198
     * Returns a list of items sorted in the descending order by start date.
193
     * The list is limited to the 'latest_arrivals_count' configuraiton parameter.
199
     * The list is limited to the 'latest_arrivals_count' configuraiton parameter.
194
     */
200
     */
195
    public List<Item> getLatestArrivals() throws InventoryServiceException, org.apache.thrift.TException;
201
    public List<Item> getLatestArrivals() throws InventoryServiceException, org.apache.thrift.TException;
Line 581... Line 587...
581
 
587
 
582
    public void getBestDealsCatalogIds(long beginIndex, long totalItems, String brand, long category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBestDealsCatalogIds_call> resultHandler) throws org.apache.thrift.TException;
588
    public void getBestDealsCatalogIds(long beginIndex, long totalItems, String brand, long category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBestDealsCatalogIds_call> resultHandler) throws org.apache.thrift.TException;
583
 
589
 
584
    public void getBestDealsCount(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBestDealsCount_call> resultHandler) throws org.apache.thrift.TException;
590
    public void getBestDealsCount(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBestDealsCount_call> resultHandler) throws org.apache.thrift.TException;
585
 
591
 
-
 
592
    public void getComingSoon(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getComingSoon_call> resultHandler) throws org.apache.thrift.TException;
-
 
593
 
-
 
594
    public void getComingSoonCatalogIds(long beginIndex, long totalItems, String brand, long category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getComingSoonCatalogIds_call> resultHandler) throws org.apache.thrift.TException;
-
 
595
 
-
 
596
    public void getComingSoonCount(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getComingSoonCount_call> resultHandler) throws org.apache.thrift.TException;
-
 
597
 
586
    public void getLatestArrivals(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLatestArrivals_call> resultHandler) throws org.apache.thrift.TException;
598
    public void getLatestArrivals(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLatestArrivals_call> resultHandler) throws org.apache.thrift.TException;
587
 
599
 
588
    public void getLatestArrivalsCatalogIds(long beginIndex, long totalItems, String brand, List<Long> categories, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLatestArrivalsCatalogIds_call> resultHandler) throws org.apache.thrift.TException;
600
    public void getLatestArrivalsCatalogIds(long beginIndex, long totalItems, String brand, List<Long> categories, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLatestArrivalsCatalogIds_call> resultHandler) throws org.apache.thrift.TException;
589
 
601
 
590
    public void getLatestArrivalsCount(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLatestArrivalsCount_call> resultHandler) throws org.apache.thrift.TException;
602
    public void getLatestArrivalsCount(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLatestArrivalsCount_call> resultHandler) throws org.apache.thrift.TException;
Line 1653... Line 1665...
1653
        throw result.cex;
1665
        throw result.cex;
1654
      }
1666
      }
1655
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
1667
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
1656
    }
1668
    }
1657
 
1669
 
-
 
1670
    public List<Item> getComingSoon() throws InventoryServiceException, org.apache.thrift.TException
-
 
1671
    {
-
 
1672
      send_getComingSoon();
-
 
1673
      return recv_getComingSoon();
-
 
1674
    }
-
 
1675
 
-
 
1676
    public void send_getComingSoon() throws org.apache.thrift.TException
-
 
1677
    {
-
 
1678
      getComingSoon_args args = new getComingSoon_args();
-
 
1679
      sendBase("getComingSoon", args);
-
 
1680
    }
-
 
1681
 
-
 
1682
    public List<Item> recv_getComingSoon() throws InventoryServiceException, org.apache.thrift.TException
-
 
1683
    {
-
 
1684
      getComingSoon_result result = new getComingSoon_result();
-
 
1685
      receiveBase(result, "getComingSoon");
-
 
1686
      if (result.isSetSuccess()) {
-
 
1687
        return result.success;
-
 
1688
      }
-
 
1689
      if (result.isex != null) {
-
 
1690
        throw result.isex;
-
 
1691
      }
-
 
1692
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
-
 
1693
    }
-
 
1694
 
-
 
1695
    public List<Long> getComingSoonCatalogIds(long beginIndex, long totalItems, String brand, long category) throws InventoryServiceException, org.apache.thrift.TException
-
 
1696
    {
-
 
1697
      send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category);
-
 
1698
      return recv_getComingSoonCatalogIds();
-
 
1699
    }
-
 
1700
 
-
 
1701
    public void send_getComingSoonCatalogIds(long beginIndex, long totalItems, String brand, long category) throws org.apache.thrift.TException
-
 
1702
    {
-
 
1703
      getComingSoonCatalogIds_args args = new getComingSoonCatalogIds_args();
-
 
1704
      args.setBeginIndex(beginIndex);
-
 
1705
      args.setTotalItems(totalItems);
-
 
1706
      args.setBrand(brand);
-
 
1707
      args.setCategory(category);
-
 
1708
      sendBase("getComingSoonCatalogIds", args);
-
 
1709
    }
-
 
1710
 
-
 
1711
    public List<Long> recv_getComingSoonCatalogIds() throws InventoryServiceException, org.apache.thrift.TException
-
 
1712
    {
-
 
1713
      getComingSoonCatalogIds_result result = new getComingSoonCatalogIds_result();
-
 
1714
      receiveBase(result, "getComingSoonCatalogIds");
-
 
1715
      if (result.isSetSuccess()) {
-
 
1716
        return result.success;
-
 
1717
      }
-
 
1718
      if (result.cex != null) {
-
 
1719
        throw result.cex;
-
 
1720
      }
-
 
1721
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
-
 
1722
    }
-
 
1723
 
-
 
1724
    public long getComingSoonCount() throws InventoryServiceException, org.apache.thrift.TException
-
 
1725
    {
-
 
1726
      send_getComingSoonCount();
-
 
1727
      return recv_getComingSoonCount();
-
 
1728
    }
-
 
1729
 
-
 
1730
    public void send_getComingSoonCount() throws org.apache.thrift.TException
-
 
1731
    {
-
 
1732
      getComingSoonCount_args args = new getComingSoonCount_args();
-
 
1733
      sendBase("getComingSoonCount", args);
-
 
1734
    }
-
 
1735
 
-
 
1736
    public long recv_getComingSoonCount() throws InventoryServiceException, org.apache.thrift.TException
-
 
1737
    {
-
 
1738
      getComingSoonCount_result result = new getComingSoonCount_result();
-
 
1739
      receiveBase(result, "getComingSoonCount");
-
 
1740
      if (result.isSetSuccess()) {
-
 
1741
        return result.success;
-
 
1742
      }
-
 
1743
      if (result.cex != null) {
-
 
1744
        throw result.cex;
-
 
1745
      }
-
 
1746
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
-
 
1747
    }
-
 
1748
 
1658
    public List<Item> getLatestArrivals() throws InventoryServiceException, org.apache.thrift.TException
1749
    public List<Item> getLatestArrivals() throws InventoryServiceException, org.apache.thrift.TException
1659
    {
1750
    {
1660
      send_getLatestArrivals();
1751
      send_getLatestArrivals();
1661
      return recv_getLatestArrivals();
1752
      return recv_getLatestArrivals();
1662
    }
1753
    }
Line 3972... Line 4063...
3972
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4063
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3973
        return (new Client(prot)).recv_getBestDealsCount();
4064
        return (new Client(prot)).recv_getBestDealsCount();
3974
      }
4065
      }
3975
    }
4066
    }
3976
 
4067
 
-
 
4068
    public void getComingSoon(org.apache.thrift.async.AsyncMethodCallback<getComingSoon_call> resultHandler) throws org.apache.thrift.TException {
-
 
4069
      checkReady();
-
 
4070
      getComingSoon_call method_call = new getComingSoon_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
4071
      this.___currentMethod = method_call;
-
 
4072
      ___manager.call(method_call);
-
 
4073
    }
-
 
4074
 
-
 
4075
    public static class getComingSoon_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4076
      public getComingSoon_call(org.apache.thrift.async.AsyncMethodCallback<getComingSoon_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 {
-
 
4077
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4078
      }
-
 
4079
 
-
 
4080
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4081
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getComingSoon", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4082
        getComingSoon_args args = new getComingSoon_args();
-
 
4083
        args.write(prot);
-
 
4084
        prot.writeMessageEnd();
-
 
4085
      }
-
 
4086
 
-
 
4087
      public List<Item> getResult() throws InventoryServiceException, org.apache.thrift.TException {
-
 
4088
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4089
          throw new IllegalStateException("Method call not finished!");
-
 
4090
        }
-
 
4091
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4092
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4093
        return (new Client(prot)).recv_getComingSoon();
-
 
4094
      }
-
 
4095
    }
-
 
4096
 
-
 
4097
    public void getComingSoonCatalogIds(long beginIndex, long totalItems, String brand, long category, org.apache.thrift.async.AsyncMethodCallback<getComingSoonCatalogIds_call> resultHandler) throws org.apache.thrift.TException {
-
 
4098
      checkReady();
-
 
4099
      getComingSoonCatalogIds_call method_call = new getComingSoonCatalogIds_call(beginIndex, totalItems, brand, category, resultHandler, this, ___protocolFactory, ___transport);
-
 
4100
      this.___currentMethod = method_call;
-
 
4101
      ___manager.call(method_call);
-
 
4102
    }
-
 
4103
 
-
 
4104
    public static class getComingSoonCatalogIds_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4105
      private long beginIndex;
-
 
4106
      private long totalItems;
-
 
4107
      private String brand;
-
 
4108
      private long category;
-
 
4109
      public getComingSoonCatalogIds_call(long beginIndex, long totalItems, String brand, long category, org.apache.thrift.async.AsyncMethodCallback<getComingSoonCatalogIds_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 {
-
 
4110
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4111
        this.beginIndex = beginIndex;
-
 
4112
        this.totalItems = totalItems;
-
 
4113
        this.brand = brand;
-
 
4114
        this.category = category;
-
 
4115
      }
-
 
4116
 
-
 
4117
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4118
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getComingSoonCatalogIds", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4119
        getComingSoonCatalogIds_args args = new getComingSoonCatalogIds_args();
-
 
4120
        args.setBeginIndex(beginIndex);
-
 
4121
        args.setTotalItems(totalItems);
-
 
4122
        args.setBrand(brand);
-
 
4123
        args.setCategory(category);
-
 
4124
        args.write(prot);
-
 
4125
        prot.writeMessageEnd();
-
 
4126
      }
-
 
4127
 
-
 
4128
      public List<Long> getResult() throws InventoryServiceException, org.apache.thrift.TException {
-
 
4129
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4130
          throw new IllegalStateException("Method call not finished!");
-
 
4131
        }
-
 
4132
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4133
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4134
        return (new Client(prot)).recv_getComingSoonCatalogIds();
-
 
4135
      }
-
 
4136
    }
-
 
4137
 
-
 
4138
    public void getComingSoonCount(org.apache.thrift.async.AsyncMethodCallback<getComingSoonCount_call> resultHandler) throws org.apache.thrift.TException {
-
 
4139
      checkReady();
-
 
4140
      getComingSoonCount_call method_call = new getComingSoonCount_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
4141
      this.___currentMethod = method_call;
-
 
4142
      ___manager.call(method_call);
-
 
4143
    }
-
 
4144
 
-
 
4145
    public static class getComingSoonCount_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4146
      public getComingSoonCount_call(org.apache.thrift.async.AsyncMethodCallback<getComingSoonCount_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 {
-
 
4147
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4148
      }
-
 
4149
 
-
 
4150
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4151
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getComingSoonCount", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4152
        getComingSoonCount_args args = new getComingSoonCount_args();
-
 
4153
        args.write(prot);
-
 
4154
        prot.writeMessageEnd();
-
 
4155
      }
-
 
4156
 
-
 
4157
      public long getResult() throws InventoryServiceException, org.apache.thrift.TException {
-
 
4158
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4159
          throw new IllegalStateException("Method call not finished!");
-
 
4160
        }
-
 
4161
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4162
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4163
        return (new Client(prot)).recv_getComingSoonCount();
-
 
4164
      }
-
 
4165
    }
-
 
4166
 
3977
    public void getLatestArrivals(org.apache.thrift.async.AsyncMethodCallback<getLatestArrivals_call> resultHandler) throws org.apache.thrift.TException {
4167
    public void getLatestArrivals(org.apache.thrift.async.AsyncMethodCallback<getLatestArrivals_call> resultHandler) throws org.apache.thrift.TException {
3978
      checkReady();
4168
      checkReady();
3979
      getLatestArrivals_call method_call = new getLatestArrivals_call(resultHandler, this, ___protocolFactory, ___transport);
4169
      getLatestArrivals_call method_call = new getLatestArrivals_call(resultHandler, this, ___protocolFactory, ___transport);
3980
      this.___currentMethod = method_call;
4170
      this.___currentMethod = method_call;
3981
      ___manager.call(method_call);
4171
      ___manager.call(method_call);
Line 5458... Line 5648...
5458
      processMap.put("getBestSellersCatalogIds", new getBestSellersCatalogIds());
5648
      processMap.put("getBestSellersCatalogIds", new getBestSellersCatalogIds());
5459
      processMap.put("getBestSellersCount", new getBestSellersCount());
5649
      processMap.put("getBestSellersCount", new getBestSellersCount());
5460
      processMap.put("getBestDeals", new getBestDeals());
5650
      processMap.put("getBestDeals", new getBestDeals());
5461
      processMap.put("getBestDealsCatalogIds", new getBestDealsCatalogIds());
5651
      processMap.put("getBestDealsCatalogIds", new getBestDealsCatalogIds());
5462
      processMap.put("getBestDealsCount", new getBestDealsCount());
5652
      processMap.put("getBestDealsCount", new getBestDealsCount());
-
 
5653
      processMap.put("getComingSoon", new getComingSoon());
-
 
5654
      processMap.put("getComingSoonCatalogIds", new getComingSoonCatalogIds());
-
 
5655
      processMap.put("getComingSoonCount", new getComingSoonCount());
5463
      processMap.put("getLatestArrivals", new getLatestArrivals());
5656
      processMap.put("getLatestArrivals", new getLatestArrivals());
5464
      processMap.put("getLatestArrivalsCatalogIds", new getLatestArrivalsCatalogIds());
5657
      processMap.put("getLatestArrivalsCatalogIds", new getLatestArrivalsCatalogIds());
5465
      processMap.put("getLatestArrivalsCount", new getLatestArrivalsCount());
5658
      processMap.put("getLatestArrivalsCount", new getLatestArrivalsCount());
5466
      processMap.put("generateNewEntityID", new generateNewEntityID());
5659
      processMap.put("generateNewEntityID", new generateNewEntityID());
5467
      processMap.put("getItemPricing", new getItemPricing());
5660
      processMap.put("getItemPricing", new getItemPricing());
Line 6251... Line 6444...
6251
        }
6444
        }
6252
        return result;
6445
        return result;
6253
      }
6446
      }
6254
    }
6447
    }
6255
 
6448
 
-
 
6449
    private static class getComingSoon<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getComingSoon_args> {
-
 
6450
      public getComingSoon() {
-
 
6451
        super("getComingSoon");
-
 
6452
      }
-
 
6453
 
-
 
6454
      protected getComingSoon_args getEmptyArgsInstance() {
-
 
6455
        return new getComingSoon_args();
-
 
6456
      }
-
 
6457
 
-
 
6458
      protected getComingSoon_result getResult(I iface, getComingSoon_args args) throws org.apache.thrift.TException {
-
 
6459
        getComingSoon_result result = new getComingSoon_result();
-
 
6460
        try {
-
 
6461
          result.success = iface.getComingSoon();
-
 
6462
        } catch (InventoryServiceException isex) {
-
 
6463
          result.isex = isex;
-
 
6464
        }
-
 
6465
        return result;
-
 
6466
      }
-
 
6467
    }
-
 
6468
 
-
 
6469
    private static class getComingSoonCatalogIds<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getComingSoonCatalogIds_args> {
-
 
6470
      public getComingSoonCatalogIds() {
-
 
6471
        super("getComingSoonCatalogIds");
-
 
6472
      }
-
 
6473
 
-
 
6474
      protected getComingSoonCatalogIds_args getEmptyArgsInstance() {
-
 
6475
        return new getComingSoonCatalogIds_args();
-
 
6476
      }
-
 
6477
 
-
 
6478
      protected getComingSoonCatalogIds_result getResult(I iface, getComingSoonCatalogIds_args args) throws org.apache.thrift.TException {
-
 
6479
        getComingSoonCatalogIds_result result = new getComingSoonCatalogIds_result();
-
 
6480
        try {
-
 
6481
          result.success = iface.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category);
-
 
6482
        } catch (InventoryServiceException cex) {
-
 
6483
          result.cex = cex;
-
 
6484
        }
-
 
6485
        return result;
-
 
6486
      }
-
 
6487
    }
-
 
6488
 
-
 
6489
    private static class getComingSoonCount<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getComingSoonCount_args> {
-
 
6490
      public getComingSoonCount() {
-
 
6491
        super("getComingSoonCount");
-
 
6492
      }
-
 
6493
 
-
 
6494
      protected getComingSoonCount_args getEmptyArgsInstance() {
-
 
6495
        return new getComingSoonCount_args();
-
 
6496
      }
-
 
6497
 
-
 
6498
      protected getComingSoonCount_result getResult(I iface, getComingSoonCount_args args) throws org.apache.thrift.TException {
-
 
6499
        getComingSoonCount_result result = new getComingSoonCount_result();
-
 
6500
        try {
-
 
6501
          result.success = iface.getComingSoonCount();
-
 
6502
          result.setSuccessIsSet(true);
-
 
6503
        } catch (InventoryServiceException cex) {
-
 
6504
          result.cex = cex;
-
 
6505
        }
-
 
6506
        return result;
-
 
6507
      }
-
 
6508
    }
-
 
6509
 
6256
    private static class getLatestArrivals<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLatestArrivals_args> {
6510
    private static class getLatestArrivals<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLatestArrivals_args> {
6257
      public getLatestArrivals() {
6511
      public getLatestArrivals() {
6258
        super("getLatestArrivals");
6512
        super("getLatestArrivals");
6259
      }
6513
      }
6260
 
6514
 
Line 34131... Line 34385...
34131
      }
34385
      }
34132
    }
34386
    }
34133
 
34387
 
34134
  }
34388
  }
34135
 
34389
 
-
 
34390
  public static class getComingSoon_args implements org.apache.thrift.TBase<getComingSoon_args, getComingSoon_args._Fields>, java.io.Serializable, Cloneable   {
-
 
34391
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getComingSoon_args");
-
 
34392
 
-
 
34393
 
-
 
34394
 
-
 
34395
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
34396
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
34397
;
-
 
34398
 
-
 
34399
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
34400
 
-
 
34401
      static {
-
 
34402
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
34403
          byName.put(field.getFieldName(), field);
-
 
34404
        }
-
 
34405
      }
-
 
34406
 
-
 
34407
      /**
-
 
34408
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
34409
       */
-
 
34410
      public static _Fields findByThriftId(int fieldId) {
-
 
34411
        switch(fieldId) {
-
 
34412
          default:
-
 
34413
            return null;
-
 
34414
        }
-
 
34415
      }
-
 
34416
 
-
 
34417
      /**
-
 
34418
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
34419
       * if it is not found.
-
 
34420
       */
-
 
34421
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
34422
        _Fields fields = findByThriftId(fieldId);
-
 
34423
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
34424
        return fields;
-
 
34425
      }
-
 
34426
 
-
 
34427
      /**
-
 
34428
       * Find the _Fields constant that matches name, or null if its not found.
-
 
34429
       */
-
 
34430
      public static _Fields findByName(String name) {
-
 
34431
        return byName.get(name);
-
 
34432
      }
-
 
34433
 
-
 
34434
      private final short _thriftId;
-
 
34435
      private final String _fieldName;
-
 
34436
 
-
 
34437
      _Fields(short thriftId, String fieldName) {
-
 
34438
        _thriftId = thriftId;
-
 
34439
        _fieldName = fieldName;
-
 
34440
      }
-
 
34441
 
-
 
34442
      public short getThriftFieldId() {
-
 
34443
        return _thriftId;
-
 
34444
      }
-
 
34445
 
-
 
34446
      public String getFieldName() {
-
 
34447
        return _fieldName;
-
 
34448
      }
-
 
34449
    }
-
 
34450
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
34451
    static {
-
 
34452
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
34453
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
34454
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getComingSoon_args.class, metaDataMap);
-
 
34455
    }
-
 
34456
 
-
 
34457
    public getComingSoon_args() {
-
 
34458
    }
-
 
34459
 
-
 
34460
    /**
-
 
34461
     * Performs a deep copy on <i>other</i>.
-
 
34462
     */
-
 
34463
    public getComingSoon_args(getComingSoon_args other) {
-
 
34464
    }
-
 
34465
 
-
 
34466
    public getComingSoon_args deepCopy() {
-
 
34467
      return new getComingSoon_args(this);
-
 
34468
    }
-
 
34469
 
-
 
34470
    @Override
-
 
34471
    public void clear() {
-
 
34472
    }
-
 
34473
 
-
 
34474
    public void setFieldValue(_Fields field, Object value) {
-
 
34475
      switch (field) {
-
 
34476
      }
-
 
34477
    }
-
 
34478
 
-
 
34479
    public Object getFieldValue(_Fields field) {
-
 
34480
      switch (field) {
-
 
34481
      }
-
 
34482
      throw new IllegalStateException();
-
 
34483
    }
-
 
34484
 
-
 
34485
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
34486
    public boolean isSet(_Fields field) {
-
 
34487
      if (field == null) {
-
 
34488
        throw new IllegalArgumentException();
-
 
34489
      }
-
 
34490
 
-
 
34491
      switch (field) {
-
 
34492
      }
-
 
34493
      throw new IllegalStateException();
-
 
34494
    }
-
 
34495
 
-
 
34496
    @Override
-
 
34497
    public boolean equals(Object that) {
-
 
34498
      if (that == null)
-
 
34499
        return false;
-
 
34500
      if (that instanceof getComingSoon_args)
-
 
34501
        return this.equals((getComingSoon_args)that);
-
 
34502
      return false;
-
 
34503
    }
-
 
34504
 
-
 
34505
    public boolean equals(getComingSoon_args that) {
-
 
34506
      if (that == null)
-
 
34507
        return false;
-
 
34508
 
-
 
34509
      return true;
-
 
34510
    }
-
 
34511
 
-
 
34512
    @Override
-
 
34513
    public int hashCode() {
-
 
34514
      return 0;
-
 
34515
    }
-
 
34516
 
-
 
34517
    public int compareTo(getComingSoon_args other) {
-
 
34518
      if (!getClass().equals(other.getClass())) {
-
 
34519
        return getClass().getName().compareTo(other.getClass().getName());
-
 
34520
      }
-
 
34521
 
-
 
34522
      int lastComparison = 0;
-
 
34523
      getComingSoon_args typedOther = (getComingSoon_args)other;
-
 
34524
 
-
 
34525
      return 0;
-
 
34526
    }
-
 
34527
 
-
 
34528
    public _Fields fieldForId(int fieldId) {
-
 
34529
      return _Fields.findByThriftId(fieldId);
-
 
34530
    }
-
 
34531
 
-
 
34532
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
34533
      org.apache.thrift.protocol.TField field;
-
 
34534
      iprot.readStructBegin();
-
 
34535
      while (true)
-
 
34536
      {
-
 
34537
        field = iprot.readFieldBegin();
-
 
34538
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
34539
          break;
-
 
34540
        }
-
 
34541
        switch (field.id) {
-
 
34542
          default:
-
 
34543
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34544
        }
-
 
34545
        iprot.readFieldEnd();
-
 
34546
      }
-
 
34547
      iprot.readStructEnd();
-
 
34548
      validate();
-
 
34549
    }
-
 
34550
 
-
 
34551
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
34552
      validate();
-
 
34553
 
-
 
34554
      oprot.writeStructBegin(STRUCT_DESC);
-
 
34555
      oprot.writeFieldStop();
-
 
34556
      oprot.writeStructEnd();
-
 
34557
    }
-
 
34558
 
-
 
34559
    @Override
-
 
34560
    public String toString() {
-
 
34561
      StringBuilder sb = new StringBuilder("getComingSoon_args(");
-
 
34562
      boolean first = true;
-
 
34563
 
-
 
34564
      sb.append(")");
-
 
34565
      return sb.toString();
-
 
34566
    }
-
 
34567
 
-
 
34568
    public void validate() throws org.apache.thrift.TException {
-
 
34569
      // check for required fields
-
 
34570
    }
-
 
34571
 
-
 
34572
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
34573
      try {
-
 
34574
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
34575
      } catch (org.apache.thrift.TException te) {
-
 
34576
        throw new java.io.IOException(te);
-
 
34577
      }
-
 
34578
    }
-
 
34579
 
-
 
34580
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
34581
      try {
-
 
34582
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
34583
      } catch (org.apache.thrift.TException te) {
-
 
34584
        throw new java.io.IOException(te);
-
 
34585
      }
-
 
34586
    }
-
 
34587
 
-
 
34588
  }
-
 
34589
 
-
 
34590
  public static class getComingSoon_result implements org.apache.thrift.TBase<getComingSoon_result, getComingSoon_result._Fields>, java.io.Serializable, Cloneable   {
-
 
34591
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getComingSoon_result");
-
 
34592
 
-
 
34593
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
34594
    private static final org.apache.thrift.protocol.TField ISEX_FIELD_DESC = new org.apache.thrift.protocol.TField("isex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
34595
 
-
 
34596
    private List<Item> success; // required
-
 
34597
    private InventoryServiceException isex; // required
-
 
34598
 
-
 
34599
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
34600
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
34601
      SUCCESS((short)0, "success"),
-
 
34602
      ISEX((short)1, "isex");
-
 
34603
 
-
 
34604
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
34605
 
-
 
34606
      static {
-
 
34607
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
34608
          byName.put(field.getFieldName(), field);
-
 
34609
        }
-
 
34610
      }
-
 
34611
 
-
 
34612
      /**
-
 
34613
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
34614
       */
-
 
34615
      public static _Fields findByThriftId(int fieldId) {
-
 
34616
        switch(fieldId) {
-
 
34617
          case 0: // SUCCESS
-
 
34618
            return SUCCESS;
-
 
34619
          case 1: // ISEX
-
 
34620
            return ISEX;
-
 
34621
          default:
-
 
34622
            return null;
-
 
34623
        }
-
 
34624
      }
-
 
34625
 
-
 
34626
      /**
-
 
34627
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
34628
       * if it is not found.
-
 
34629
       */
-
 
34630
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
34631
        _Fields fields = findByThriftId(fieldId);
-
 
34632
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
34633
        return fields;
-
 
34634
      }
-
 
34635
 
-
 
34636
      /**
-
 
34637
       * Find the _Fields constant that matches name, or null if its not found.
-
 
34638
       */
-
 
34639
      public static _Fields findByName(String name) {
-
 
34640
        return byName.get(name);
-
 
34641
      }
-
 
34642
 
-
 
34643
      private final short _thriftId;
-
 
34644
      private final String _fieldName;
-
 
34645
 
-
 
34646
      _Fields(short thriftId, String fieldName) {
-
 
34647
        _thriftId = thriftId;
-
 
34648
        _fieldName = fieldName;
-
 
34649
      }
-
 
34650
 
-
 
34651
      public short getThriftFieldId() {
-
 
34652
        return _thriftId;
-
 
34653
      }
-
 
34654
 
-
 
34655
      public String getFieldName() {
-
 
34656
        return _fieldName;
-
 
34657
      }
-
 
34658
    }
-
 
34659
 
-
 
34660
    // isset id assignments
-
 
34661
 
-
 
34662
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
34663
    static {
-
 
34664
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
34665
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34666
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
34667
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Item.class))));
-
 
34668
      tmpMap.put(_Fields.ISEX, new org.apache.thrift.meta_data.FieldMetaData("isex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34669
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
34670
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
34671
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getComingSoon_result.class, metaDataMap);
-
 
34672
    }
-
 
34673
 
-
 
34674
    public getComingSoon_result() {
-
 
34675
    }
-
 
34676
 
-
 
34677
    public getComingSoon_result(
-
 
34678
      List<Item> success,
-
 
34679
      InventoryServiceException isex)
-
 
34680
    {
-
 
34681
      this();
-
 
34682
      this.success = success;
-
 
34683
      this.isex = isex;
-
 
34684
    }
-
 
34685
 
-
 
34686
    /**
-
 
34687
     * Performs a deep copy on <i>other</i>.
-
 
34688
     */
-
 
34689
    public getComingSoon_result(getComingSoon_result other) {
-
 
34690
      if (other.isSetSuccess()) {
-
 
34691
        List<Item> __this__success = new ArrayList<Item>();
-
 
34692
        for (Item other_element : other.success) {
-
 
34693
          __this__success.add(new Item(other_element));
-
 
34694
        }
-
 
34695
        this.success = __this__success;
-
 
34696
      }
-
 
34697
      if (other.isSetIsex()) {
-
 
34698
        this.isex = new InventoryServiceException(other.isex);
-
 
34699
      }
-
 
34700
    }
-
 
34701
 
-
 
34702
    public getComingSoon_result deepCopy() {
-
 
34703
      return new getComingSoon_result(this);
-
 
34704
    }
-
 
34705
 
-
 
34706
    @Override
-
 
34707
    public void clear() {
-
 
34708
      this.success = null;
-
 
34709
      this.isex = null;
-
 
34710
    }
-
 
34711
 
-
 
34712
    public int getSuccessSize() {
-
 
34713
      return (this.success == null) ? 0 : this.success.size();
-
 
34714
    }
-
 
34715
 
-
 
34716
    public java.util.Iterator<Item> getSuccessIterator() {
-
 
34717
      return (this.success == null) ? null : this.success.iterator();
-
 
34718
    }
-
 
34719
 
-
 
34720
    public void addToSuccess(Item elem) {
-
 
34721
      if (this.success == null) {
-
 
34722
        this.success = new ArrayList<Item>();
-
 
34723
      }
-
 
34724
      this.success.add(elem);
-
 
34725
    }
-
 
34726
 
-
 
34727
    public List<Item> getSuccess() {
-
 
34728
      return this.success;
-
 
34729
    }
-
 
34730
 
-
 
34731
    public void setSuccess(List<Item> success) {
-
 
34732
      this.success = success;
-
 
34733
    }
-
 
34734
 
-
 
34735
    public void unsetSuccess() {
-
 
34736
      this.success = null;
-
 
34737
    }
-
 
34738
 
-
 
34739
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
34740
    public boolean isSetSuccess() {
-
 
34741
      return this.success != null;
-
 
34742
    }
-
 
34743
 
-
 
34744
    public void setSuccessIsSet(boolean value) {
-
 
34745
      if (!value) {
-
 
34746
        this.success = null;
-
 
34747
      }
-
 
34748
    }
-
 
34749
 
-
 
34750
    public InventoryServiceException getIsex() {
-
 
34751
      return this.isex;
-
 
34752
    }
-
 
34753
 
-
 
34754
    public void setIsex(InventoryServiceException isex) {
-
 
34755
      this.isex = isex;
-
 
34756
    }
-
 
34757
 
-
 
34758
    public void unsetIsex() {
-
 
34759
      this.isex = null;
-
 
34760
    }
-
 
34761
 
-
 
34762
    /** Returns true if field isex is set (has been assigned a value) and false otherwise */
-
 
34763
    public boolean isSetIsex() {
-
 
34764
      return this.isex != null;
-
 
34765
    }
-
 
34766
 
-
 
34767
    public void setIsexIsSet(boolean value) {
-
 
34768
      if (!value) {
-
 
34769
        this.isex = null;
-
 
34770
      }
-
 
34771
    }
-
 
34772
 
-
 
34773
    public void setFieldValue(_Fields field, Object value) {
-
 
34774
      switch (field) {
-
 
34775
      case SUCCESS:
-
 
34776
        if (value == null) {
-
 
34777
          unsetSuccess();
-
 
34778
        } else {
-
 
34779
          setSuccess((List<Item>)value);
-
 
34780
        }
-
 
34781
        break;
-
 
34782
 
-
 
34783
      case ISEX:
-
 
34784
        if (value == null) {
-
 
34785
          unsetIsex();
-
 
34786
        } else {
-
 
34787
          setIsex((InventoryServiceException)value);
-
 
34788
        }
-
 
34789
        break;
-
 
34790
 
-
 
34791
      }
-
 
34792
    }
-
 
34793
 
-
 
34794
    public Object getFieldValue(_Fields field) {
-
 
34795
      switch (field) {
-
 
34796
      case SUCCESS:
-
 
34797
        return getSuccess();
-
 
34798
 
-
 
34799
      case ISEX:
-
 
34800
        return getIsex();
-
 
34801
 
-
 
34802
      }
-
 
34803
      throw new IllegalStateException();
-
 
34804
    }
-
 
34805
 
-
 
34806
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
34807
    public boolean isSet(_Fields field) {
-
 
34808
      if (field == null) {
-
 
34809
        throw new IllegalArgumentException();
-
 
34810
      }
-
 
34811
 
-
 
34812
      switch (field) {
-
 
34813
      case SUCCESS:
-
 
34814
        return isSetSuccess();
-
 
34815
      case ISEX:
-
 
34816
        return isSetIsex();
-
 
34817
      }
-
 
34818
      throw new IllegalStateException();
-
 
34819
    }
-
 
34820
 
-
 
34821
    @Override
-
 
34822
    public boolean equals(Object that) {
-
 
34823
      if (that == null)
-
 
34824
        return false;
-
 
34825
      if (that instanceof getComingSoon_result)
-
 
34826
        return this.equals((getComingSoon_result)that);
-
 
34827
      return false;
-
 
34828
    }
-
 
34829
 
-
 
34830
    public boolean equals(getComingSoon_result that) {
-
 
34831
      if (that == null)
-
 
34832
        return false;
-
 
34833
 
-
 
34834
      boolean this_present_success = true && this.isSetSuccess();
-
 
34835
      boolean that_present_success = true && that.isSetSuccess();
-
 
34836
      if (this_present_success || that_present_success) {
-
 
34837
        if (!(this_present_success && that_present_success))
-
 
34838
          return false;
-
 
34839
        if (!this.success.equals(that.success))
-
 
34840
          return false;
-
 
34841
      }
-
 
34842
 
-
 
34843
      boolean this_present_isex = true && this.isSetIsex();
-
 
34844
      boolean that_present_isex = true && that.isSetIsex();
-
 
34845
      if (this_present_isex || that_present_isex) {
-
 
34846
        if (!(this_present_isex && that_present_isex))
-
 
34847
          return false;
-
 
34848
        if (!this.isex.equals(that.isex))
-
 
34849
          return false;
-
 
34850
      }
-
 
34851
 
-
 
34852
      return true;
-
 
34853
    }
-
 
34854
 
-
 
34855
    @Override
-
 
34856
    public int hashCode() {
-
 
34857
      return 0;
-
 
34858
    }
-
 
34859
 
-
 
34860
    public int compareTo(getComingSoon_result other) {
-
 
34861
      if (!getClass().equals(other.getClass())) {
-
 
34862
        return getClass().getName().compareTo(other.getClass().getName());
-
 
34863
      }
-
 
34864
 
-
 
34865
      int lastComparison = 0;
-
 
34866
      getComingSoon_result typedOther = (getComingSoon_result)other;
-
 
34867
 
-
 
34868
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
34869
      if (lastComparison != 0) {
-
 
34870
        return lastComparison;
-
 
34871
      }
-
 
34872
      if (isSetSuccess()) {
-
 
34873
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
34874
        if (lastComparison != 0) {
-
 
34875
          return lastComparison;
-
 
34876
        }
-
 
34877
      }
-
 
34878
      lastComparison = Boolean.valueOf(isSetIsex()).compareTo(typedOther.isSetIsex());
-
 
34879
      if (lastComparison != 0) {
-
 
34880
        return lastComparison;
-
 
34881
      }
-
 
34882
      if (isSetIsex()) {
-
 
34883
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isex, typedOther.isex);
-
 
34884
        if (lastComparison != 0) {
-
 
34885
          return lastComparison;
-
 
34886
        }
-
 
34887
      }
-
 
34888
      return 0;
-
 
34889
    }
-
 
34890
 
-
 
34891
    public _Fields fieldForId(int fieldId) {
-
 
34892
      return _Fields.findByThriftId(fieldId);
-
 
34893
    }
-
 
34894
 
-
 
34895
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
34896
      org.apache.thrift.protocol.TField field;
-
 
34897
      iprot.readStructBegin();
-
 
34898
      while (true)
-
 
34899
      {
-
 
34900
        field = iprot.readFieldBegin();
-
 
34901
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
34902
          break;
-
 
34903
        }
-
 
34904
        switch (field.id) {
-
 
34905
          case 0: // SUCCESS
-
 
34906
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
34907
              {
-
 
34908
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
-
 
34909
                this.success = new ArrayList<Item>(_list85.size);
-
 
34910
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
-
 
34911
                {
-
 
34912
                  Item _elem87; // required
-
 
34913
                  _elem87 = new Item();
-
 
34914
                  _elem87.read(iprot);
-
 
34915
                  this.success.add(_elem87);
-
 
34916
                }
-
 
34917
                iprot.readListEnd();
-
 
34918
              }
-
 
34919
            } else { 
-
 
34920
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34921
            }
-
 
34922
            break;
-
 
34923
          case 1: // ISEX
-
 
34924
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
34925
              this.isex = new InventoryServiceException();
-
 
34926
              this.isex.read(iprot);
-
 
34927
            } else { 
-
 
34928
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34929
            }
-
 
34930
            break;
-
 
34931
          default:
-
 
34932
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
34933
        }
-
 
34934
        iprot.readFieldEnd();
-
 
34935
      }
-
 
34936
      iprot.readStructEnd();
-
 
34937
      validate();
-
 
34938
    }
-
 
34939
 
-
 
34940
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
34941
      oprot.writeStructBegin(STRUCT_DESC);
-
 
34942
 
-
 
34943
      if (this.isSetSuccess()) {
-
 
34944
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
34945
        {
-
 
34946
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
34947
          for (Item _iter88 : this.success)
-
 
34948
          {
-
 
34949
            _iter88.write(oprot);
-
 
34950
          }
-
 
34951
          oprot.writeListEnd();
-
 
34952
        }
-
 
34953
        oprot.writeFieldEnd();
-
 
34954
      } else if (this.isSetIsex()) {
-
 
34955
        oprot.writeFieldBegin(ISEX_FIELD_DESC);
-
 
34956
        this.isex.write(oprot);
-
 
34957
        oprot.writeFieldEnd();
-
 
34958
      }
-
 
34959
      oprot.writeFieldStop();
-
 
34960
      oprot.writeStructEnd();
-
 
34961
    }
-
 
34962
 
-
 
34963
    @Override
-
 
34964
    public String toString() {
-
 
34965
      StringBuilder sb = new StringBuilder("getComingSoon_result(");
-
 
34966
      boolean first = true;
-
 
34967
 
-
 
34968
      sb.append("success:");
-
 
34969
      if (this.success == null) {
-
 
34970
        sb.append("null");
-
 
34971
      } else {
-
 
34972
        sb.append(this.success);
-
 
34973
      }
-
 
34974
      first = false;
-
 
34975
      if (!first) sb.append(", ");
-
 
34976
      sb.append("isex:");
-
 
34977
      if (this.isex == null) {
-
 
34978
        sb.append("null");
-
 
34979
      } else {
-
 
34980
        sb.append(this.isex);
-
 
34981
      }
-
 
34982
      first = false;
-
 
34983
      sb.append(")");
-
 
34984
      return sb.toString();
-
 
34985
    }
-
 
34986
 
-
 
34987
    public void validate() throws org.apache.thrift.TException {
-
 
34988
      // check for required fields
-
 
34989
    }
-
 
34990
 
-
 
34991
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
34992
      try {
-
 
34993
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
34994
      } catch (org.apache.thrift.TException te) {
-
 
34995
        throw new java.io.IOException(te);
-
 
34996
      }
-
 
34997
    }
-
 
34998
 
-
 
34999
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35000
      try {
-
 
35001
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35002
      } catch (org.apache.thrift.TException te) {
-
 
35003
        throw new java.io.IOException(te);
-
 
35004
      }
-
 
35005
    }
-
 
35006
 
-
 
35007
  }
-
 
35008
 
-
 
35009
  public static class getComingSoonCatalogIds_args implements org.apache.thrift.TBase<getComingSoonCatalogIds_args, getComingSoonCatalogIds_args._Fields>, java.io.Serializable, Cloneable   {
-
 
35010
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getComingSoonCatalogIds_args");
-
 
35011
 
-
 
35012
    private static final org.apache.thrift.protocol.TField BEGIN_INDEX_FIELD_DESC = new org.apache.thrift.protocol.TField("beginIndex", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
35013
    private static final org.apache.thrift.protocol.TField TOTAL_ITEMS_FIELD_DESC = new org.apache.thrift.protocol.TField("totalItems", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
35014
    private static final org.apache.thrift.protocol.TField BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
35015
    private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
35016
 
-
 
35017
    private long beginIndex; // required
-
 
35018
    private long totalItems; // required
-
 
35019
    private String brand; // required
-
 
35020
    private long category; // required
-
 
35021
 
-
 
35022
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35023
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35024
      BEGIN_INDEX((short)1, "beginIndex"),
-
 
35025
      TOTAL_ITEMS((short)2, "totalItems"),
-
 
35026
      BRAND((short)3, "brand"),
-
 
35027
      CATEGORY((short)4, "category");
-
 
35028
 
-
 
35029
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35030
 
-
 
35031
      static {
-
 
35032
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35033
          byName.put(field.getFieldName(), field);
-
 
35034
        }
-
 
35035
      }
-
 
35036
 
-
 
35037
      /**
-
 
35038
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35039
       */
-
 
35040
      public static _Fields findByThriftId(int fieldId) {
-
 
35041
        switch(fieldId) {
-
 
35042
          case 1: // BEGIN_INDEX
-
 
35043
            return BEGIN_INDEX;
-
 
35044
          case 2: // TOTAL_ITEMS
-
 
35045
            return TOTAL_ITEMS;
-
 
35046
          case 3: // BRAND
-
 
35047
            return BRAND;
-
 
35048
          case 4: // CATEGORY
-
 
35049
            return CATEGORY;
-
 
35050
          default:
-
 
35051
            return null;
-
 
35052
        }
-
 
35053
      }
-
 
35054
 
-
 
35055
      /**
-
 
35056
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35057
       * if it is not found.
-
 
35058
       */
-
 
35059
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35060
        _Fields fields = findByThriftId(fieldId);
-
 
35061
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35062
        return fields;
-
 
35063
      }
-
 
35064
 
-
 
35065
      /**
-
 
35066
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35067
       */
-
 
35068
      public static _Fields findByName(String name) {
-
 
35069
        return byName.get(name);
-
 
35070
      }
-
 
35071
 
-
 
35072
      private final short _thriftId;
-
 
35073
      private final String _fieldName;
-
 
35074
 
-
 
35075
      _Fields(short thriftId, String fieldName) {
-
 
35076
        _thriftId = thriftId;
-
 
35077
        _fieldName = fieldName;
-
 
35078
      }
-
 
35079
 
-
 
35080
      public short getThriftFieldId() {
-
 
35081
        return _thriftId;
-
 
35082
      }
-
 
35083
 
-
 
35084
      public String getFieldName() {
-
 
35085
        return _fieldName;
-
 
35086
      }
-
 
35087
    }
-
 
35088
 
-
 
35089
    // isset id assignments
-
 
35090
    private static final int __BEGININDEX_ISSET_ID = 0;
-
 
35091
    private static final int __TOTALITEMS_ISSET_ID = 1;
-
 
35092
    private static final int __CATEGORY_ISSET_ID = 2;
-
 
35093
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
35094
 
-
 
35095
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35096
    static {
-
 
35097
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35098
      tmpMap.put(_Fields.BEGIN_INDEX, new org.apache.thrift.meta_data.FieldMetaData("beginIndex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35099
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
35100
      tmpMap.put(_Fields.TOTAL_ITEMS, new org.apache.thrift.meta_data.FieldMetaData("totalItems", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35101
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
35102
      tmpMap.put(_Fields.BRAND, new org.apache.thrift.meta_data.FieldMetaData("brand", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35103
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
35104
      tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35105
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
35106
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35107
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getComingSoonCatalogIds_args.class, metaDataMap);
-
 
35108
    }
-
 
35109
 
-
 
35110
    public getComingSoonCatalogIds_args() {
-
 
35111
    }
-
 
35112
 
-
 
35113
    public getComingSoonCatalogIds_args(
-
 
35114
      long beginIndex,
-
 
35115
      long totalItems,
-
 
35116
      String brand,
-
 
35117
      long category)
-
 
35118
    {
-
 
35119
      this();
-
 
35120
      this.beginIndex = beginIndex;
-
 
35121
      setBeginIndexIsSet(true);
-
 
35122
      this.totalItems = totalItems;
-
 
35123
      setTotalItemsIsSet(true);
-
 
35124
      this.brand = brand;
-
 
35125
      this.category = category;
-
 
35126
      setCategoryIsSet(true);
-
 
35127
    }
-
 
35128
 
-
 
35129
    /**
-
 
35130
     * Performs a deep copy on <i>other</i>.
-
 
35131
     */
-
 
35132
    public getComingSoonCatalogIds_args(getComingSoonCatalogIds_args other) {
-
 
35133
      __isset_bit_vector.clear();
-
 
35134
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
35135
      this.beginIndex = other.beginIndex;
-
 
35136
      this.totalItems = other.totalItems;
-
 
35137
      if (other.isSetBrand()) {
-
 
35138
        this.brand = other.brand;
-
 
35139
      }
-
 
35140
      this.category = other.category;
-
 
35141
    }
-
 
35142
 
-
 
35143
    public getComingSoonCatalogIds_args deepCopy() {
-
 
35144
      return new getComingSoonCatalogIds_args(this);
-
 
35145
    }
-
 
35146
 
-
 
35147
    @Override
-
 
35148
    public void clear() {
-
 
35149
      setBeginIndexIsSet(false);
-
 
35150
      this.beginIndex = 0;
-
 
35151
      setTotalItemsIsSet(false);
-
 
35152
      this.totalItems = 0;
-
 
35153
      this.brand = null;
-
 
35154
      setCategoryIsSet(false);
-
 
35155
      this.category = 0;
-
 
35156
    }
-
 
35157
 
-
 
35158
    public long getBeginIndex() {
-
 
35159
      return this.beginIndex;
-
 
35160
    }
-
 
35161
 
-
 
35162
    public void setBeginIndex(long beginIndex) {
-
 
35163
      this.beginIndex = beginIndex;
-
 
35164
      setBeginIndexIsSet(true);
-
 
35165
    }
-
 
35166
 
-
 
35167
    public void unsetBeginIndex() {
-
 
35168
      __isset_bit_vector.clear(__BEGININDEX_ISSET_ID);
-
 
35169
    }
-
 
35170
 
-
 
35171
    /** Returns true if field beginIndex is set (has been assigned a value) and false otherwise */
-
 
35172
    public boolean isSetBeginIndex() {
-
 
35173
      return __isset_bit_vector.get(__BEGININDEX_ISSET_ID);
-
 
35174
    }
-
 
35175
 
-
 
35176
    public void setBeginIndexIsSet(boolean value) {
-
 
35177
      __isset_bit_vector.set(__BEGININDEX_ISSET_ID, value);
-
 
35178
    }
-
 
35179
 
-
 
35180
    public long getTotalItems() {
-
 
35181
      return this.totalItems;
-
 
35182
    }
-
 
35183
 
-
 
35184
    public void setTotalItems(long totalItems) {
-
 
35185
      this.totalItems = totalItems;
-
 
35186
      setTotalItemsIsSet(true);
-
 
35187
    }
-
 
35188
 
-
 
35189
    public void unsetTotalItems() {
-
 
35190
      __isset_bit_vector.clear(__TOTALITEMS_ISSET_ID);
-
 
35191
    }
-
 
35192
 
-
 
35193
    /** Returns true if field totalItems is set (has been assigned a value) and false otherwise */
-
 
35194
    public boolean isSetTotalItems() {
-
 
35195
      return __isset_bit_vector.get(__TOTALITEMS_ISSET_ID);
-
 
35196
    }
-
 
35197
 
-
 
35198
    public void setTotalItemsIsSet(boolean value) {
-
 
35199
      __isset_bit_vector.set(__TOTALITEMS_ISSET_ID, value);
-
 
35200
    }
-
 
35201
 
-
 
35202
    public String getBrand() {
-
 
35203
      return this.brand;
-
 
35204
    }
-
 
35205
 
-
 
35206
    public void setBrand(String brand) {
-
 
35207
      this.brand = brand;
-
 
35208
    }
-
 
35209
 
-
 
35210
    public void unsetBrand() {
-
 
35211
      this.brand = null;
-
 
35212
    }
-
 
35213
 
-
 
35214
    /** Returns true if field brand is set (has been assigned a value) and false otherwise */
-
 
35215
    public boolean isSetBrand() {
-
 
35216
      return this.brand != null;
-
 
35217
    }
-
 
35218
 
-
 
35219
    public void setBrandIsSet(boolean value) {
-
 
35220
      if (!value) {
-
 
35221
        this.brand = null;
-
 
35222
      }
-
 
35223
    }
-
 
35224
 
-
 
35225
    public long getCategory() {
-
 
35226
      return this.category;
-
 
35227
    }
-
 
35228
 
-
 
35229
    public void setCategory(long category) {
-
 
35230
      this.category = category;
-
 
35231
      setCategoryIsSet(true);
-
 
35232
    }
-
 
35233
 
-
 
35234
    public void unsetCategory() {
-
 
35235
      __isset_bit_vector.clear(__CATEGORY_ISSET_ID);
-
 
35236
    }
-
 
35237
 
-
 
35238
    /** Returns true if field category is set (has been assigned a value) and false otherwise */
-
 
35239
    public boolean isSetCategory() {
-
 
35240
      return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
-
 
35241
    }
-
 
35242
 
-
 
35243
    public void setCategoryIsSet(boolean value) {
-
 
35244
      __isset_bit_vector.set(__CATEGORY_ISSET_ID, value);
-
 
35245
    }
-
 
35246
 
-
 
35247
    public void setFieldValue(_Fields field, Object value) {
-
 
35248
      switch (field) {
-
 
35249
      case BEGIN_INDEX:
-
 
35250
        if (value == null) {
-
 
35251
          unsetBeginIndex();
-
 
35252
        } else {
-
 
35253
          setBeginIndex((Long)value);
-
 
35254
        }
-
 
35255
        break;
-
 
35256
 
-
 
35257
      case TOTAL_ITEMS:
-
 
35258
        if (value == null) {
-
 
35259
          unsetTotalItems();
-
 
35260
        } else {
-
 
35261
          setTotalItems((Long)value);
-
 
35262
        }
-
 
35263
        break;
-
 
35264
 
-
 
35265
      case BRAND:
-
 
35266
        if (value == null) {
-
 
35267
          unsetBrand();
-
 
35268
        } else {
-
 
35269
          setBrand((String)value);
-
 
35270
        }
-
 
35271
        break;
-
 
35272
 
-
 
35273
      case CATEGORY:
-
 
35274
        if (value == null) {
-
 
35275
          unsetCategory();
-
 
35276
        } else {
-
 
35277
          setCategory((Long)value);
-
 
35278
        }
-
 
35279
        break;
-
 
35280
 
-
 
35281
      }
-
 
35282
    }
-
 
35283
 
-
 
35284
    public Object getFieldValue(_Fields field) {
-
 
35285
      switch (field) {
-
 
35286
      case BEGIN_INDEX:
-
 
35287
        return Long.valueOf(getBeginIndex());
-
 
35288
 
-
 
35289
      case TOTAL_ITEMS:
-
 
35290
        return Long.valueOf(getTotalItems());
-
 
35291
 
-
 
35292
      case BRAND:
-
 
35293
        return getBrand();
-
 
35294
 
-
 
35295
      case CATEGORY:
-
 
35296
        return Long.valueOf(getCategory());
-
 
35297
 
-
 
35298
      }
-
 
35299
      throw new IllegalStateException();
-
 
35300
    }
-
 
35301
 
-
 
35302
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35303
    public boolean isSet(_Fields field) {
-
 
35304
      if (field == null) {
-
 
35305
        throw new IllegalArgumentException();
-
 
35306
      }
-
 
35307
 
-
 
35308
      switch (field) {
-
 
35309
      case BEGIN_INDEX:
-
 
35310
        return isSetBeginIndex();
-
 
35311
      case TOTAL_ITEMS:
-
 
35312
        return isSetTotalItems();
-
 
35313
      case BRAND:
-
 
35314
        return isSetBrand();
-
 
35315
      case CATEGORY:
-
 
35316
        return isSetCategory();
-
 
35317
      }
-
 
35318
      throw new IllegalStateException();
-
 
35319
    }
-
 
35320
 
-
 
35321
    @Override
-
 
35322
    public boolean equals(Object that) {
-
 
35323
      if (that == null)
-
 
35324
        return false;
-
 
35325
      if (that instanceof getComingSoonCatalogIds_args)
-
 
35326
        return this.equals((getComingSoonCatalogIds_args)that);
-
 
35327
      return false;
-
 
35328
    }
-
 
35329
 
-
 
35330
    public boolean equals(getComingSoonCatalogIds_args that) {
-
 
35331
      if (that == null)
-
 
35332
        return false;
-
 
35333
 
-
 
35334
      boolean this_present_beginIndex = true;
-
 
35335
      boolean that_present_beginIndex = true;
-
 
35336
      if (this_present_beginIndex || that_present_beginIndex) {
-
 
35337
        if (!(this_present_beginIndex && that_present_beginIndex))
-
 
35338
          return false;
-
 
35339
        if (this.beginIndex != that.beginIndex)
-
 
35340
          return false;
-
 
35341
      }
-
 
35342
 
-
 
35343
      boolean this_present_totalItems = true;
-
 
35344
      boolean that_present_totalItems = true;
-
 
35345
      if (this_present_totalItems || that_present_totalItems) {
-
 
35346
        if (!(this_present_totalItems && that_present_totalItems))
-
 
35347
          return false;
-
 
35348
        if (this.totalItems != that.totalItems)
-
 
35349
          return false;
-
 
35350
      }
-
 
35351
 
-
 
35352
      boolean this_present_brand = true && this.isSetBrand();
-
 
35353
      boolean that_present_brand = true && that.isSetBrand();
-
 
35354
      if (this_present_brand || that_present_brand) {
-
 
35355
        if (!(this_present_brand && that_present_brand))
-
 
35356
          return false;
-
 
35357
        if (!this.brand.equals(that.brand))
-
 
35358
          return false;
-
 
35359
      }
-
 
35360
 
-
 
35361
      boolean this_present_category = true;
-
 
35362
      boolean that_present_category = true;
-
 
35363
      if (this_present_category || that_present_category) {
-
 
35364
        if (!(this_present_category && that_present_category))
-
 
35365
          return false;
-
 
35366
        if (this.category != that.category)
-
 
35367
          return false;
-
 
35368
      }
-
 
35369
 
-
 
35370
      return true;
-
 
35371
    }
-
 
35372
 
-
 
35373
    @Override
-
 
35374
    public int hashCode() {
-
 
35375
      return 0;
-
 
35376
    }
-
 
35377
 
-
 
35378
    public int compareTo(getComingSoonCatalogIds_args other) {
-
 
35379
      if (!getClass().equals(other.getClass())) {
-
 
35380
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35381
      }
-
 
35382
 
-
 
35383
      int lastComparison = 0;
-
 
35384
      getComingSoonCatalogIds_args typedOther = (getComingSoonCatalogIds_args)other;
-
 
35385
 
-
 
35386
      lastComparison = Boolean.valueOf(isSetBeginIndex()).compareTo(typedOther.isSetBeginIndex());
-
 
35387
      if (lastComparison != 0) {
-
 
35388
        return lastComparison;
-
 
35389
      }
-
 
35390
      if (isSetBeginIndex()) {
-
 
35391
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.beginIndex, typedOther.beginIndex);
-
 
35392
        if (lastComparison != 0) {
-
 
35393
          return lastComparison;
-
 
35394
        }
-
 
35395
      }
-
 
35396
      lastComparison = Boolean.valueOf(isSetTotalItems()).compareTo(typedOther.isSetTotalItems());
-
 
35397
      if (lastComparison != 0) {
-
 
35398
        return lastComparison;
-
 
35399
      }
-
 
35400
      if (isSetTotalItems()) {
-
 
35401
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalItems, typedOther.totalItems);
-
 
35402
        if (lastComparison != 0) {
-
 
35403
          return lastComparison;
-
 
35404
        }
-
 
35405
      }
-
 
35406
      lastComparison = Boolean.valueOf(isSetBrand()).compareTo(typedOther.isSetBrand());
-
 
35407
      if (lastComparison != 0) {
-
 
35408
        return lastComparison;
-
 
35409
      }
-
 
35410
      if (isSetBrand()) {
-
 
35411
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.brand, typedOther.brand);
-
 
35412
        if (lastComparison != 0) {
-
 
35413
          return lastComparison;
-
 
35414
        }
-
 
35415
      }
-
 
35416
      lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
-
 
35417
      if (lastComparison != 0) {
-
 
35418
        return lastComparison;
-
 
35419
      }
-
 
35420
      if (isSetCategory()) {
-
 
35421
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
-
 
35422
        if (lastComparison != 0) {
-
 
35423
          return lastComparison;
-
 
35424
        }
-
 
35425
      }
-
 
35426
      return 0;
-
 
35427
    }
-
 
35428
 
-
 
35429
    public _Fields fieldForId(int fieldId) {
-
 
35430
      return _Fields.findByThriftId(fieldId);
-
 
35431
    }
-
 
35432
 
-
 
35433
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35434
      org.apache.thrift.protocol.TField field;
-
 
35435
      iprot.readStructBegin();
-
 
35436
      while (true)
-
 
35437
      {
-
 
35438
        field = iprot.readFieldBegin();
-
 
35439
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35440
          break;
-
 
35441
        }
-
 
35442
        switch (field.id) {
-
 
35443
          case 1: // BEGIN_INDEX
-
 
35444
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
35445
              this.beginIndex = iprot.readI64();
-
 
35446
              setBeginIndexIsSet(true);
-
 
35447
            } else { 
-
 
35448
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35449
            }
-
 
35450
            break;
-
 
35451
          case 2: // TOTAL_ITEMS
-
 
35452
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
35453
              this.totalItems = iprot.readI64();
-
 
35454
              setTotalItemsIsSet(true);
-
 
35455
            } else { 
-
 
35456
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35457
            }
-
 
35458
            break;
-
 
35459
          case 3: // BRAND
-
 
35460
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
35461
              this.brand = iprot.readString();
-
 
35462
            } else { 
-
 
35463
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35464
            }
-
 
35465
            break;
-
 
35466
          case 4: // CATEGORY
-
 
35467
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
35468
              this.category = iprot.readI64();
-
 
35469
              setCategoryIsSet(true);
-
 
35470
            } else { 
-
 
35471
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35472
            }
-
 
35473
            break;
-
 
35474
          default:
-
 
35475
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35476
        }
-
 
35477
        iprot.readFieldEnd();
-
 
35478
      }
-
 
35479
      iprot.readStructEnd();
-
 
35480
      validate();
-
 
35481
    }
-
 
35482
 
-
 
35483
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35484
      validate();
-
 
35485
 
-
 
35486
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35487
      oprot.writeFieldBegin(BEGIN_INDEX_FIELD_DESC);
-
 
35488
      oprot.writeI64(this.beginIndex);
-
 
35489
      oprot.writeFieldEnd();
-
 
35490
      oprot.writeFieldBegin(TOTAL_ITEMS_FIELD_DESC);
-
 
35491
      oprot.writeI64(this.totalItems);
-
 
35492
      oprot.writeFieldEnd();
-
 
35493
      if (this.brand != null) {
-
 
35494
        oprot.writeFieldBegin(BRAND_FIELD_DESC);
-
 
35495
        oprot.writeString(this.brand);
-
 
35496
        oprot.writeFieldEnd();
-
 
35497
      }
-
 
35498
      oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
-
 
35499
      oprot.writeI64(this.category);
-
 
35500
      oprot.writeFieldEnd();
-
 
35501
      oprot.writeFieldStop();
-
 
35502
      oprot.writeStructEnd();
-
 
35503
    }
-
 
35504
 
-
 
35505
    @Override
-
 
35506
    public String toString() {
-
 
35507
      StringBuilder sb = new StringBuilder("getComingSoonCatalogIds_args(");
-
 
35508
      boolean first = true;
-
 
35509
 
-
 
35510
      sb.append("beginIndex:");
-
 
35511
      sb.append(this.beginIndex);
-
 
35512
      first = false;
-
 
35513
      if (!first) sb.append(", ");
-
 
35514
      sb.append("totalItems:");
-
 
35515
      sb.append(this.totalItems);
-
 
35516
      first = false;
-
 
35517
      if (!first) sb.append(", ");
-
 
35518
      sb.append("brand:");
-
 
35519
      if (this.brand == null) {
-
 
35520
        sb.append("null");
-
 
35521
      } else {
-
 
35522
        sb.append(this.brand);
-
 
35523
      }
-
 
35524
      first = false;
-
 
35525
      if (!first) sb.append(", ");
-
 
35526
      sb.append("category:");
-
 
35527
      sb.append(this.category);
-
 
35528
      first = false;
-
 
35529
      sb.append(")");
-
 
35530
      return sb.toString();
-
 
35531
    }
-
 
35532
 
-
 
35533
    public void validate() throws org.apache.thrift.TException {
-
 
35534
      // check for required fields
-
 
35535
    }
-
 
35536
 
-
 
35537
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35538
      try {
-
 
35539
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35540
      } catch (org.apache.thrift.TException te) {
-
 
35541
        throw new java.io.IOException(te);
-
 
35542
      }
-
 
35543
    }
-
 
35544
 
-
 
35545
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35546
      try {
-
 
35547
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
35548
        __isset_bit_vector = new BitSet(1);
-
 
35549
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35550
      } catch (org.apache.thrift.TException te) {
-
 
35551
        throw new java.io.IOException(te);
-
 
35552
      }
-
 
35553
    }
-
 
35554
 
-
 
35555
  }
-
 
35556
 
-
 
35557
  public static class getComingSoonCatalogIds_result implements org.apache.thrift.TBase<getComingSoonCatalogIds_result, getComingSoonCatalogIds_result._Fields>, java.io.Serializable, Cloneable   {
-
 
35558
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getComingSoonCatalogIds_result");
-
 
35559
 
-
 
35560
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
35561
    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);
-
 
35562
 
-
 
35563
    private List<Long> success; // required
-
 
35564
    private InventoryServiceException cex; // required
-
 
35565
 
-
 
35566
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35567
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35568
      SUCCESS((short)0, "success"),
-
 
35569
      CEX((short)1, "cex");
-
 
35570
 
-
 
35571
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35572
 
-
 
35573
      static {
-
 
35574
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35575
          byName.put(field.getFieldName(), field);
-
 
35576
        }
-
 
35577
      }
-
 
35578
 
-
 
35579
      /**
-
 
35580
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35581
       */
-
 
35582
      public static _Fields findByThriftId(int fieldId) {
-
 
35583
        switch(fieldId) {
-
 
35584
          case 0: // SUCCESS
-
 
35585
            return SUCCESS;
-
 
35586
          case 1: // CEX
-
 
35587
            return CEX;
-
 
35588
          default:
-
 
35589
            return null;
-
 
35590
        }
-
 
35591
      }
-
 
35592
 
-
 
35593
      /**
-
 
35594
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35595
       * if it is not found.
-
 
35596
       */
-
 
35597
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35598
        _Fields fields = findByThriftId(fieldId);
-
 
35599
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35600
        return fields;
-
 
35601
      }
-
 
35602
 
-
 
35603
      /**
-
 
35604
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35605
       */
-
 
35606
      public static _Fields findByName(String name) {
-
 
35607
        return byName.get(name);
-
 
35608
      }
-
 
35609
 
-
 
35610
      private final short _thriftId;
-
 
35611
      private final String _fieldName;
-
 
35612
 
-
 
35613
      _Fields(short thriftId, String fieldName) {
-
 
35614
        _thriftId = thriftId;
-
 
35615
        _fieldName = fieldName;
-
 
35616
      }
-
 
35617
 
-
 
35618
      public short getThriftFieldId() {
-
 
35619
        return _thriftId;
-
 
35620
      }
-
 
35621
 
-
 
35622
      public String getFieldName() {
-
 
35623
        return _fieldName;
-
 
35624
      }
-
 
35625
    }
-
 
35626
 
-
 
35627
    // isset id assignments
-
 
35628
 
-
 
35629
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35630
    static {
-
 
35631
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35632
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35633
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
35634
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
35635
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35636
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
35637
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35638
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getComingSoonCatalogIds_result.class, metaDataMap);
-
 
35639
    }
-
 
35640
 
-
 
35641
    public getComingSoonCatalogIds_result() {
-
 
35642
    }
-
 
35643
 
-
 
35644
    public getComingSoonCatalogIds_result(
-
 
35645
      List<Long> success,
-
 
35646
      InventoryServiceException cex)
-
 
35647
    {
-
 
35648
      this();
-
 
35649
      this.success = success;
-
 
35650
      this.cex = cex;
-
 
35651
    }
-
 
35652
 
-
 
35653
    /**
-
 
35654
     * Performs a deep copy on <i>other</i>.
-
 
35655
     */
-
 
35656
    public getComingSoonCatalogIds_result(getComingSoonCatalogIds_result other) {
-
 
35657
      if (other.isSetSuccess()) {
-
 
35658
        List<Long> __this__success = new ArrayList<Long>();
-
 
35659
        for (Long other_element : other.success) {
-
 
35660
          __this__success.add(other_element);
-
 
35661
        }
-
 
35662
        this.success = __this__success;
-
 
35663
      }
-
 
35664
      if (other.isSetCex()) {
-
 
35665
        this.cex = new InventoryServiceException(other.cex);
-
 
35666
      }
-
 
35667
    }
-
 
35668
 
-
 
35669
    public getComingSoonCatalogIds_result deepCopy() {
-
 
35670
      return new getComingSoonCatalogIds_result(this);
-
 
35671
    }
-
 
35672
 
-
 
35673
    @Override
-
 
35674
    public void clear() {
-
 
35675
      this.success = null;
-
 
35676
      this.cex = null;
-
 
35677
    }
-
 
35678
 
-
 
35679
    public int getSuccessSize() {
-
 
35680
      return (this.success == null) ? 0 : this.success.size();
-
 
35681
    }
-
 
35682
 
-
 
35683
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
35684
      return (this.success == null) ? null : this.success.iterator();
-
 
35685
    }
-
 
35686
 
-
 
35687
    public void addToSuccess(long elem) {
-
 
35688
      if (this.success == null) {
-
 
35689
        this.success = new ArrayList<Long>();
-
 
35690
      }
-
 
35691
      this.success.add(elem);
-
 
35692
    }
-
 
35693
 
-
 
35694
    public List<Long> getSuccess() {
-
 
35695
      return this.success;
-
 
35696
    }
-
 
35697
 
-
 
35698
    public void setSuccess(List<Long> success) {
-
 
35699
      this.success = success;
-
 
35700
    }
-
 
35701
 
-
 
35702
    public void unsetSuccess() {
-
 
35703
      this.success = null;
-
 
35704
    }
-
 
35705
 
-
 
35706
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
35707
    public boolean isSetSuccess() {
-
 
35708
      return this.success != null;
-
 
35709
    }
-
 
35710
 
-
 
35711
    public void setSuccessIsSet(boolean value) {
-
 
35712
      if (!value) {
-
 
35713
        this.success = null;
-
 
35714
      }
-
 
35715
    }
-
 
35716
 
-
 
35717
    public InventoryServiceException getCex() {
-
 
35718
      return this.cex;
-
 
35719
    }
-
 
35720
 
-
 
35721
    public void setCex(InventoryServiceException cex) {
-
 
35722
      this.cex = cex;
-
 
35723
    }
-
 
35724
 
-
 
35725
    public void unsetCex() {
-
 
35726
      this.cex = null;
-
 
35727
    }
-
 
35728
 
-
 
35729
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
35730
    public boolean isSetCex() {
-
 
35731
      return this.cex != null;
-
 
35732
    }
-
 
35733
 
-
 
35734
    public void setCexIsSet(boolean value) {
-
 
35735
      if (!value) {
-
 
35736
        this.cex = null;
-
 
35737
      }
-
 
35738
    }
-
 
35739
 
-
 
35740
    public void setFieldValue(_Fields field, Object value) {
-
 
35741
      switch (field) {
-
 
35742
      case SUCCESS:
-
 
35743
        if (value == null) {
-
 
35744
          unsetSuccess();
-
 
35745
        } else {
-
 
35746
          setSuccess((List<Long>)value);
-
 
35747
        }
-
 
35748
        break;
-
 
35749
 
-
 
35750
      case CEX:
-
 
35751
        if (value == null) {
-
 
35752
          unsetCex();
-
 
35753
        } else {
-
 
35754
          setCex((InventoryServiceException)value);
-
 
35755
        }
-
 
35756
        break;
-
 
35757
 
-
 
35758
      }
-
 
35759
    }
-
 
35760
 
-
 
35761
    public Object getFieldValue(_Fields field) {
-
 
35762
      switch (field) {
-
 
35763
      case SUCCESS:
-
 
35764
        return getSuccess();
-
 
35765
 
-
 
35766
      case CEX:
-
 
35767
        return getCex();
-
 
35768
 
-
 
35769
      }
-
 
35770
      throw new IllegalStateException();
-
 
35771
    }
-
 
35772
 
-
 
35773
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35774
    public boolean isSet(_Fields field) {
-
 
35775
      if (field == null) {
-
 
35776
        throw new IllegalArgumentException();
-
 
35777
      }
-
 
35778
 
-
 
35779
      switch (field) {
-
 
35780
      case SUCCESS:
-
 
35781
        return isSetSuccess();
-
 
35782
      case CEX:
-
 
35783
        return isSetCex();
-
 
35784
      }
-
 
35785
      throw new IllegalStateException();
-
 
35786
    }
-
 
35787
 
-
 
35788
    @Override
-
 
35789
    public boolean equals(Object that) {
-
 
35790
      if (that == null)
-
 
35791
        return false;
-
 
35792
      if (that instanceof getComingSoonCatalogIds_result)
-
 
35793
        return this.equals((getComingSoonCatalogIds_result)that);
-
 
35794
      return false;
-
 
35795
    }
-
 
35796
 
-
 
35797
    public boolean equals(getComingSoonCatalogIds_result that) {
-
 
35798
      if (that == null)
-
 
35799
        return false;
-
 
35800
 
-
 
35801
      boolean this_present_success = true && this.isSetSuccess();
-
 
35802
      boolean that_present_success = true && that.isSetSuccess();
-
 
35803
      if (this_present_success || that_present_success) {
-
 
35804
        if (!(this_present_success && that_present_success))
-
 
35805
          return false;
-
 
35806
        if (!this.success.equals(that.success))
-
 
35807
          return false;
-
 
35808
      }
-
 
35809
 
-
 
35810
      boolean this_present_cex = true && this.isSetCex();
-
 
35811
      boolean that_present_cex = true && that.isSetCex();
-
 
35812
      if (this_present_cex || that_present_cex) {
-
 
35813
        if (!(this_present_cex && that_present_cex))
-
 
35814
          return false;
-
 
35815
        if (!this.cex.equals(that.cex))
-
 
35816
          return false;
-
 
35817
      }
-
 
35818
 
-
 
35819
      return true;
-
 
35820
    }
-
 
35821
 
-
 
35822
    @Override
-
 
35823
    public int hashCode() {
-
 
35824
      return 0;
-
 
35825
    }
-
 
35826
 
-
 
35827
    public int compareTo(getComingSoonCatalogIds_result other) {
-
 
35828
      if (!getClass().equals(other.getClass())) {
-
 
35829
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35830
      }
-
 
35831
 
-
 
35832
      int lastComparison = 0;
-
 
35833
      getComingSoonCatalogIds_result typedOther = (getComingSoonCatalogIds_result)other;
-
 
35834
 
-
 
35835
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
35836
      if (lastComparison != 0) {
-
 
35837
        return lastComparison;
-
 
35838
      }
-
 
35839
      if (isSetSuccess()) {
-
 
35840
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
35841
        if (lastComparison != 0) {
-
 
35842
          return lastComparison;
-
 
35843
        }
-
 
35844
      }
-
 
35845
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
35846
      if (lastComparison != 0) {
-
 
35847
        return lastComparison;
-
 
35848
      }
-
 
35849
      if (isSetCex()) {
-
 
35850
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
35851
        if (lastComparison != 0) {
-
 
35852
          return lastComparison;
-
 
35853
        }
-
 
35854
      }
-
 
35855
      return 0;
-
 
35856
    }
-
 
35857
 
-
 
35858
    public _Fields fieldForId(int fieldId) {
-
 
35859
      return _Fields.findByThriftId(fieldId);
-
 
35860
    }
-
 
35861
 
-
 
35862
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35863
      org.apache.thrift.protocol.TField field;
-
 
35864
      iprot.readStructBegin();
-
 
35865
      while (true)
-
 
35866
      {
-
 
35867
        field = iprot.readFieldBegin();
-
 
35868
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35869
          break;
-
 
35870
        }
-
 
35871
        switch (field.id) {
-
 
35872
          case 0: // SUCCESS
-
 
35873
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
35874
              {
-
 
35875
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
-
 
35876
                this.success = new ArrayList<Long>(_list89.size);
-
 
35877
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
-
 
35878
                {
-
 
35879
                  long _elem91; // required
-
 
35880
                  _elem91 = iprot.readI64();
-
 
35881
                  this.success.add(_elem91);
-
 
35882
                }
-
 
35883
                iprot.readListEnd();
-
 
35884
              }
-
 
35885
            } else { 
-
 
35886
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35887
            }
-
 
35888
            break;
-
 
35889
          case 1: // CEX
-
 
35890
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
35891
              this.cex = new InventoryServiceException();
-
 
35892
              this.cex.read(iprot);
-
 
35893
            } else { 
-
 
35894
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35895
            }
-
 
35896
            break;
-
 
35897
          default:
-
 
35898
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35899
        }
-
 
35900
        iprot.readFieldEnd();
-
 
35901
      }
-
 
35902
      iprot.readStructEnd();
-
 
35903
      validate();
-
 
35904
    }
-
 
35905
 
-
 
35906
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35907
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35908
 
-
 
35909
      if (this.isSetSuccess()) {
-
 
35910
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
35911
        {
-
 
35912
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
35913
          for (long _iter92 : this.success)
-
 
35914
          {
-
 
35915
            oprot.writeI64(_iter92);
-
 
35916
          }
-
 
35917
          oprot.writeListEnd();
-
 
35918
        }
-
 
35919
        oprot.writeFieldEnd();
-
 
35920
      } else if (this.isSetCex()) {
-
 
35921
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
35922
        this.cex.write(oprot);
-
 
35923
        oprot.writeFieldEnd();
-
 
35924
      }
-
 
35925
      oprot.writeFieldStop();
-
 
35926
      oprot.writeStructEnd();
-
 
35927
    }
-
 
35928
 
-
 
35929
    @Override
-
 
35930
    public String toString() {
-
 
35931
      StringBuilder sb = new StringBuilder("getComingSoonCatalogIds_result(");
-
 
35932
      boolean first = true;
-
 
35933
 
-
 
35934
      sb.append("success:");
-
 
35935
      if (this.success == null) {
-
 
35936
        sb.append("null");
-
 
35937
      } else {
-
 
35938
        sb.append(this.success);
-
 
35939
      }
-
 
35940
      first = false;
-
 
35941
      if (!first) sb.append(", ");
-
 
35942
      sb.append("cex:");
-
 
35943
      if (this.cex == null) {
-
 
35944
        sb.append("null");
-
 
35945
      } else {
-
 
35946
        sb.append(this.cex);
-
 
35947
      }
-
 
35948
      first = false;
-
 
35949
      sb.append(")");
-
 
35950
      return sb.toString();
-
 
35951
    }
-
 
35952
 
-
 
35953
    public void validate() throws org.apache.thrift.TException {
-
 
35954
      // check for required fields
-
 
35955
    }
-
 
35956
 
-
 
35957
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35958
      try {
-
 
35959
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35960
      } catch (org.apache.thrift.TException te) {
-
 
35961
        throw new java.io.IOException(te);
-
 
35962
      }
-
 
35963
    }
-
 
35964
 
-
 
35965
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35966
      try {
-
 
35967
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35968
      } catch (org.apache.thrift.TException te) {
-
 
35969
        throw new java.io.IOException(te);
-
 
35970
      }
-
 
35971
    }
-
 
35972
 
-
 
35973
  }
-
 
35974
 
-
 
35975
  public static class getComingSoonCount_args implements org.apache.thrift.TBase<getComingSoonCount_args, getComingSoonCount_args._Fields>, java.io.Serializable, Cloneable   {
-
 
35976
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getComingSoonCount_args");
-
 
35977
 
-
 
35978
 
-
 
35979
 
-
 
35980
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35981
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35982
;
-
 
35983
 
-
 
35984
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35985
 
-
 
35986
      static {
-
 
35987
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35988
          byName.put(field.getFieldName(), field);
-
 
35989
        }
-
 
35990
      }
-
 
35991
 
-
 
35992
      /**
-
 
35993
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35994
       */
-
 
35995
      public static _Fields findByThriftId(int fieldId) {
-
 
35996
        switch(fieldId) {
-
 
35997
          default:
-
 
35998
            return null;
-
 
35999
        }
-
 
36000
      }
-
 
36001
 
-
 
36002
      /**
-
 
36003
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
36004
       * if it is not found.
-
 
36005
       */
-
 
36006
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
36007
        _Fields fields = findByThriftId(fieldId);
-
 
36008
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
36009
        return fields;
-
 
36010
      }
-
 
36011
 
-
 
36012
      /**
-
 
36013
       * Find the _Fields constant that matches name, or null if its not found.
-
 
36014
       */
-
 
36015
      public static _Fields findByName(String name) {
-
 
36016
        return byName.get(name);
-
 
36017
      }
-
 
36018
 
-
 
36019
      private final short _thriftId;
-
 
36020
      private final String _fieldName;
-
 
36021
 
-
 
36022
      _Fields(short thriftId, String fieldName) {
-
 
36023
        _thriftId = thriftId;
-
 
36024
        _fieldName = fieldName;
-
 
36025
      }
-
 
36026
 
-
 
36027
      public short getThriftFieldId() {
-
 
36028
        return _thriftId;
-
 
36029
      }
-
 
36030
 
-
 
36031
      public String getFieldName() {
-
 
36032
        return _fieldName;
-
 
36033
      }
-
 
36034
    }
-
 
36035
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
36036
    static {
-
 
36037
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
36038
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
36039
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getComingSoonCount_args.class, metaDataMap);
-
 
36040
    }
-
 
36041
 
-
 
36042
    public getComingSoonCount_args() {
-
 
36043
    }
-
 
36044
 
-
 
36045
    /**
-
 
36046
     * Performs a deep copy on <i>other</i>.
-
 
36047
     */
-
 
36048
    public getComingSoonCount_args(getComingSoonCount_args other) {
-
 
36049
    }
-
 
36050
 
-
 
36051
    public getComingSoonCount_args deepCopy() {
-
 
36052
      return new getComingSoonCount_args(this);
-
 
36053
    }
-
 
36054
 
-
 
36055
    @Override
-
 
36056
    public void clear() {
-
 
36057
    }
-
 
36058
 
-
 
36059
    public void setFieldValue(_Fields field, Object value) {
-
 
36060
      switch (field) {
-
 
36061
      }
-
 
36062
    }
-
 
36063
 
-
 
36064
    public Object getFieldValue(_Fields field) {
-
 
36065
      switch (field) {
-
 
36066
      }
-
 
36067
      throw new IllegalStateException();
-
 
36068
    }
-
 
36069
 
-
 
36070
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36071
    public boolean isSet(_Fields field) {
-
 
36072
      if (field == null) {
-
 
36073
        throw new IllegalArgumentException();
-
 
36074
      }
-
 
36075
 
-
 
36076
      switch (field) {
-
 
36077
      }
-
 
36078
      throw new IllegalStateException();
-
 
36079
    }
-
 
36080
 
-
 
36081
    @Override
-
 
36082
    public boolean equals(Object that) {
-
 
36083
      if (that == null)
-
 
36084
        return false;
-
 
36085
      if (that instanceof getComingSoonCount_args)
-
 
36086
        return this.equals((getComingSoonCount_args)that);
-
 
36087
      return false;
-
 
36088
    }
-
 
36089
 
-
 
36090
    public boolean equals(getComingSoonCount_args that) {
-
 
36091
      if (that == null)
-
 
36092
        return false;
-
 
36093
 
-
 
36094
      return true;
-
 
36095
    }
-
 
36096
 
-
 
36097
    @Override
-
 
36098
    public int hashCode() {
-
 
36099
      return 0;
-
 
36100
    }
-
 
36101
 
-
 
36102
    public int compareTo(getComingSoonCount_args other) {
-
 
36103
      if (!getClass().equals(other.getClass())) {
-
 
36104
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36105
      }
-
 
36106
 
-
 
36107
      int lastComparison = 0;
-
 
36108
      getComingSoonCount_args typedOther = (getComingSoonCount_args)other;
-
 
36109
 
-
 
36110
      return 0;
-
 
36111
    }
-
 
36112
 
-
 
36113
    public _Fields fieldForId(int fieldId) {
-
 
36114
      return _Fields.findByThriftId(fieldId);
-
 
36115
    }
-
 
36116
 
-
 
36117
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36118
      org.apache.thrift.protocol.TField field;
-
 
36119
      iprot.readStructBegin();
-
 
36120
      while (true)
-
 
36121
      {
-
 
36122
        field = iprot.readFieldBegin();
-
 
36123
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36124
          break;
-
 
36125
        }
-
 
36126
        switch (field.id) {
-
 
36127
          default:
-
 
36128
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36129
        }
-
 
36130
        iprot.readFieldEnd();
-
 
36131
      }
-
 
36132
      iprot.readStructEnd();
-
 
36133
      validate();
-
 
36134
    }
-
 
36135
 
-
 
36136
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36137
      validate();
-
 
36138
 
-
 
36139
      oprot.writeStructBegin(STRUCT_DESC);
-
 
36140
      oprot.writeFieldStop();
-
 
36141
      oprot.writeStructEnd();
-
 
36142
    }
-
 
36143
 
-
 
36144
    @Override
-
 
36145
    public String toString() {
-
 
36146
      StringBuilder sb = new StringBuilder("getComingSoonCount_args(");
-
 
36147
      boolean first = true;
-
 
36148
 
-
 
36149
      sb.append(")");
-
 
36150
      return sb.toString();
-
 
36151
    }
-
 
36152
 
-
 
36153
    public void validate() throws org.apache.thrift.TException {
-
 
36154
      // check for required fields
-
 
36155
    }
-
 
36156
 
-
 
36157
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
36158
      try {
-
 
36159
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
36160
      } catch (org.apache.thrift.TException te) {
-
 
36161
        throw new java.io.IOException(te);
-
 
36162
      }
-
 
36163
    }
-
 
36164
 
-
 
36165
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
36166
      try {
-
 
36167
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
36168
      } catch (org.apache.thrift.TException te) {
-
 
36169
        throw new java.io.IOException(te);
-
 
36170
      }
-
 
36171
    }
-
 
36172
 
-
 
36173
  }
-
 
36174
 
-
 
36175
  public static class getComingSoonCount_result implements org.apache.thrift.TBase<getComingSoonCount_result, getComingSoonCount_result._Fields>, java.io.Serializable, Cloneable   {
-
 
36176
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getComingSoonCount_result");
-
 
36177
 
-
 
36178
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
-
 
36179
    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);
-
 
36180
 
-
 
36181
    private long success; // required
-
 
36182
    private InventoryServiceException cex; // required
-
 
36183
 
-
 
36184
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
36185
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
36186
      SUCCESS((short)0, "success"),
-
 
36187
      CEX((short)1, "cex");
-
 
36188
 
-
 
36189
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
36190
 
-
 
36191
      static {
-
 
36192
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
36193
          byName.put(field.getFieldName(), field);
-
 
36194
        }
-
 
36195
      }
-
 
36196
 
-
 
36197
      /**
-
 
36198
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
36199
       */
-
 
36200
      public static _Fields findByThriftId(int fieldId) {
-
 
36201
        switch(fieldId) {
-
 
36202
          case 0: // SUCCESS
-
 
36203
            return SUCCESS;
-
 
36204
          case 1: // CEX
-
 
36205
            return CEX;
-
 
36206
          default:
-
 
36207
            return null;
-
 
36208
        }
-
 
36209
      }
-
 
36210
 
-
 
36211
      /**
-
 
36212
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
36213
       * if it is not found.
-
 
36214
       */
-
 
36215
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
36216
        _Fields fields = findByThriftId(fieldId);
-
 
36217
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
36218
        return fields;
-
 
36219
      }
-
 
36220
 
-
 
36221
      /**
-
 
36222
       * Find the _Fields constant that matches name, or null if its not found.
-
 
36223
       */
-
 
36224
      public static _Fields findByName(String name) {
-
 
36225
        return byName.get(name);
-
 
36226
      }
-
 
36227
 
-
 
36228
      private final short _thriftId;
-
 
36229
      private final String _fieldName;
-
 
36230
 
-
 
36231
      _Fields(short thriftId, String fieldName) {
-
 
36232
        _thriftId = thriftId;
-
 
36233
        _fieldName = fieldName;
-
 
36234
      }
-
 
36235
 
-
 
36236
      public short getThriftFieldId() {
-
 
36237
        return _thriftId;
-
 
36238
      }
-
 
36239
 
-
 
36240
      public String getFieldName() {
-
 
36241
        return _fieldName;
-
 
36242
      }
-
 
36243
    }
-
 
36244
 
-
 
36245
    // isset id assignments
-
 
36246
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
36247
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
36248
 
-
 
36249
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
36250
    static {
-
 
36251
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
36252
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
36253
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
36254
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
36255
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
36256
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
36257
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getComingSoonCount_result.class, metaDataMap);
-
 
36258
    }
-
 
36259
 
-
 
36260
    public getComingSoonCount_result() {
-
 
36261
    }
-
 
36262
 
-
 
36263
    public getComingSoonCount_result(
-
 
36264
      long success,
-
 
36265
      InventoryServiceException cex)
-
 
36266
    {
-
 
36267
      this();
-
 
36268
      this.success = success;
-
 
36269
      setSuccessIsSet(true);
-
 
36270
      this.cex = cex;
-
 
36271
    }
-
 
36272
 
-
 
36273
    /**
-
 
36274
     * Performs a deep copy on <i>other</i>.
-
 
36275
     */
-
 
36276
    public getComingSoonCount_result(getComingSoonCount_result other) {
-
 
36277
      __isset_bit_vector.clear();
-
 
36278
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
36279
      this.success = other.success;
-
 
36280
      if (other.isSetCex()) {
-
 
36281
        this.cex = new InventoryServiceException(other.cex);
-
 
36282
      }
-
 
36283
    }
-
 
36284
 
-
 
36285
    public getComingSoonCount_result deepCopy() {
-
 
36286
      return new getComingSoonCount_result(this);
-
 
36287
    }
-
 
36288
 
-
 
36289
    @Override
-
 
36290
    public void clear() {
-
 
36291
      setSuccessIsSet(false);
-
 
36292
      this.success = 0;
-
 
36293
      this.cex = null;
-
 
36294
    }
-
 
36295
 
-
 
36296
    public long getSuccess() {
-
 
36297
      return this.success;
-
 
36298
    }
-
 
36299
 
-
 
36300
    public void setSuccess(long success) {
-
 
36301
      this.success = success;
-
 
36302
      setSuccessIsSet(true);
-
 
36303
    }
-
 
36304
 
-
 
36305
    public void unsetSuccess() {
-
 
36306
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
36307
    }
-
 
36308
 
-
 
36309
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
36310
    public boolean isSetSuccess() {
-
 
36311
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
36312
    }
-
 
36313
 
-
 
36314
    public void setSuccessIsSet(boolean value) {
-
 
36315
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
36316
    }
-
 
36317
 
-
 
36318
    public InventoryServiceException getCex() {
-
 
36319
      return this.cex;
-
 
36320
    }
-
 
36321
 
-
 
36322
    public void setCex(InventoryServiceException cex) {
-
 
36323
      this.cex = cex;
-
 
36324
    }
-
 
36325
 
-
 
36326
    public void unsetCex() {
-
 
36327
      this.cex = null;
-
 
36328
    }
-
 
36329
 
-
 
36330
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
36331
    public boolean isSetCex() {
-
 
36332
      return this.cex != null;
-
 
36333
    }
-
 
36334
 
-
 
36335
    public void setCexIsSet(boolean value) {
-
 
36336
      if (!value) {
-
 
36337
        this.cex = null;
-
 
36338
      }
-
 
36339
    }
-
 
36340
 
-
 
36341
    public void setFieldValue(_Fields field, Object value) {
-
 
36342
      switch (field) {
-
 
36343
      case SUCCESS:
-
 
36344
        if (value == null) {
-
 
36345
          unsetSuccess();
-
 
36346
        } else {
-
 
36347
          setSuccess((Long)value);
-
 
36348
        }
-
 
36349
        break;
-
 
36350
 
-
 
36351
      case CEX:
-
 
36352
        if (value == null) {
-
 
36353
          unsetCex();
-
 
36354
        } else {
-
 
36355
          setCex((InventoryServiceException)value);
-
 
36356
        }
-
 
36357
        break;
-
 
36358
 
-
 
36359
      }
-
 
36360
    }
-
 
36361
 
-
 
36362
    public Object getFieldValue(_Fields field) {
-
 
36363
      switch (field) {
-
 
36364
      case SUCCESS:
-
 
36365
        return Long.valueOf(getSuccess());
-
 
36366
 
-
 
36367
      case CEX:
-
 
36368
        return getCex();
-
 
36369
 
-
 
36370
      }
-
 
36371
      throw new IllegalStateException();
-
 
36372
    }
-
 
36373
 
-
 
36374
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36375
    public boolean isSet(_Fields field) {
-
 
36376
      if (field == null) {
-
 
36377
        throw new IllegalArgumentException();
-
 
36378
      }
-
 
36379
 
-
 
36380
      switch (field) {
-
 
36381
      case SUCCESS:
-
 
36382
        return isSetSuccess();
-
 
36383
      case CEX:
-
 
36384
        return isSetCex();
-
 
36385
      }
-
 
36386
      throw new IllegalStateException();
-
 
36387
    }
-
 
36388
 
-
 
36389
    @Override
-
 
36390
    public boolean equals(Object that) {
-
 
36391
      if (that == null)
-
 
36392
        return false;
-
 
36393
      if (that instanceof getComingSoonCount_result)
-
 
36394
        return this.equals((getComingSoonCount_result)that);
-
 
36395
      return false;
-
 
36396
    }
-
 
36397
 
-
 
36398
    public boolean equals(getComingSoonCount_result that) {
-
 
36399
      if (that == null)
-
 
36400
        return false;
-
 
36401
 
-
 
36402
      boolean this_present_success = true;
-
 
36403
      boolean that_present_success = true;
-
 
36404
      if (this_present_success || that_present_success) {
-
 
36405
        if (!(this_present_success && that_present_success))
-
 
36406
          return false;
-
 
36407
        if (this.success != that.success)
-
 
36408
          return false;
-
 
36409
      }
-
 
36410
 
-
 
36411
      boolean this_present_cex = true && this.isSetCex();
-
 
36412
      boolean that_present_cex = true && that.isSetCex();
-
 
36413
      if (this_present_cex || that_present_cex) {
-
 
36414
        if (!(this_present_cex && that_present_cex))
-
 
36415
          return false;
-
 
36416
        if (!this.cex.equals(that.cex))
-
 
36417
          return false;
-
 
36418
      }
-
 
36419
 
-
 
36420
      return true;
-
 
36421
    }
-
 
36422
 
-
 
36423
    @Override
-
 
36424
    public int hashCode() {
-
 
36425
      return 0;
-
 
36426
    }
-
 
36427
 
-
 
36428
    public int compareTo(getComingSoonCount_result other) {
-
 
36429
      if (!getClass().equals(other.getClass())) {
-
 
36430
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36431
      }
-
 
36432
 
-
 
36433
      int lastComparison = 0;
-
 
36434
      getComingSoonCount_result typedOther = (getComingSoonCount_result)other;
-
 
36435
 
-
 
36436
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
36437
      if (lastComparison != 0) {
-
 
36438
        return lastComparison;
-
 
36439
      }
-
 
36440
      if (isSetSuccess()) {
-
 
36441
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
36442
        if (lastComparison != 0) {
-
 
36443
          return lastComparison;
-
 
36444
        }
-
 
36445
      }
-
 
36446
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
36447
      if (lastComparison != 0) {
-
 
36448
        return lastComparison;
-
 
36449
      }
-
 
36450
      if (isSetCex()) {
-
 
36451
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
36452
        if (lastComparison != 0) {
-
 
36453
          return lastComparison;
-
 
36454
        }
-
 
36455
      }
-
 
36456
      return 0;
-
 
36457
    }
-
 
36458
 
-
 
36459
    public _Fields fieldForId(int fieldId) {
-
 
36460
      return _Fields.findByThriftId(fieldId);
-
 
36461
    }
-
 
36462
 
-
 
36463
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36464
      org.apache.thrift.protocol.TField field;
-
 
36465
      iprot.readStructBegin();
-
 
36466
      while (true)
-
 
36467
      {
-
 
36468
        field = iprot.readFieldBegin();
-
 
36469
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36470
          break;
-
 
36471
        }
-
 
36472
        switch (field.id) {
-
 
36473
          case 0: // SUCCESS
-
 
36474
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
36475
              this.success = iprot.readI64();
-
 
36476
              setSuccessIsSet(true);
-
 
36477
            } else { 
-
 
36478
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36479
            }
-
 
36480
            break;
-
 
36481
          case 1: // CEX
-
 
36482
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
36483
              this.cex = new InventoryServiceException();
-
 
36484
              this.cex.read(iprot);
-
 
36485
            } else { 
-
 
36486
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36487
            }
-
 
36488
            break;
-
 
36489
          default:
-
 
36490
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36491
        }
-
 
36492
        iprot.readFieldEnd();
-
 
36493
      }
-
 
36494
      iprot.readStructEnd();
-
 
36495
      validate();
-
 
36496
    }
-
 
36497
 
-
 
36498
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36499
      oprot.writeStructBegin(STRUCT_DESC);
-
 
36500
 
-
 
36501
      if (this.isSetSuccess()) {
-
 
36502
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
36503
        oprot.writeI64(this.success);
-
 
36504
        oprot.writeFieldEnd();
-
 
36505
      } else if (this.isSetCex()) {
-
 
36506
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
36507
        this.cex.write(oprot);
-
 
36508
        oprot.writeFieldEnd();
-
 
36509
      }
-
 
36510
      oprot.writeFieldStop();
-
 
36511
      oprot.writeStructEnd();
-
 
36512
    }
-
 
36513
 
-
 
36514
    @Override
-
 
36515
    public String toString() {
-
 
36516
      StringBuilder sb = new StringBuilder("getComingSoonCount_result(");
-
 
36517
      boolean first = true;
-
 
36518
 
-
 
36519
      sb.append("success:");
-
 
36520
      sb.append(this.success);
-
 
36521
      first = false;
-
 
36522
      if (!first) sb.append(", ");
-
 
36523
      sb.append("cex:");
-
 
36524
      if (this.cex == null) {
-
 
36525
        sb.append("null");
-
 
36526
      } else {
-
 
36527
        sb.append(this.cex);
-
 
36528
      }
-
 
36529
      first = false;
-
 
36530
      sb.append(")");
-
 
36531
      return sb.toString();
-
 
36532
    }
-
 
36533
 
-
 
36534
    public void validate() throws org.apache.thrift.TException {
-
 
36535
      // check for required fields
-
 
36536
    }
-
 
36537
 
-
 
36538
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
36539
      try {
-
 
36540
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
36541
      } catch (org.apache.thrift.TException te) {
-
 
36542
        throw new java.io.IOException(te);
-
 
36543
      }
-
 
36544
    }
-
 
36545
 
-
 
36546
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
36547
      try {
-
 
36548
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
36549
      } catch (org.apache.thrift.TException te) {
-
 
36550
        throw new java.io.IOException(te);
-
 
36551
      }
-
 
36552
    }
-
 
36553
 
-
 
36554
  }
-
 
36555
 
34136
  public static class getLatestArrivals_args implements org.apache.thrift.TBase<getLatestArrivals_args, getLatestArrivals_args._Fields>, java.io.Serializable, Cloneable   {
36556
  public static class getLatestArrivals_args implements org.apache.thrift.TBase<getLatestArrivals_args, getLatestArrivals_args._Fields>, java.io.Serializable, Cloneable   {
34137
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLatestArrivals_args");
36557
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLatestArrivals_args");
34138
 
36558
 
34139
 
36559
 
34140
 
36560
 
Line 34649... Line 37069...
34649
        }
37069
        }
34650
        switch (field.id) {
37070
        switch (field.id) {
34651
          case 0: // SUCCESS
37071
          case 0: // SUCCESS
34652
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37072
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34653
              {
37073
              {
34654
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
37074
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
34655
                this.success = new ArrayList<Item>(_list85.size);
37075
                this.success = new ArrayList<Item>(_list93.size);
34656
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
37076
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
34657
                {
37077
                {
34658
                  Item _elem87; // required
37078
                  Item _elem95; // required
34659
                  _elem87 = new Item();
37079
                  _elem95 = new Item();
34660
                  _elem87.read(iprot);
37080
                  _elem95.read(iprot);
34661
                  this.success.add(_elem87);
37081
                  this.success.add(_elem95);
34662
                }
37082
                }
34663
                iprot.readListEnd();
37083
                iprot.readListEnd();
34664
              }
37084
              }
34665
            } else { 
37085
            } else { 
34666
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37086
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34688... Line 37108...
34688
 
37108
 
34689
      if (this.isSetSuccess()) {
37109
      if (this.isSetSuccess()) {
34690
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37110
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34691
        {
37111
        {
34692
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37112
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34693
          for (Item _iter88 : this.success)
37113
          for (Item _iter96 : this.success)
34694
          {
37114
          {
34695
            _iter88.write(oprot);
37115
            _iter96.write(oprot);
34696
          }
37116
          }
34697
          oprot.writeListEnd();
37117
          oprot.writeListEnd();
34698
        }
37118
        }
34699
        oprot.writeFieldEnd();
37119
        oprot.writeFieldEnd();
34700
      } else if (this.isSetIsex()) {
37120
      } else if (this.isSetIsex()) {
Line 35230... Line 37650...
35230
            }
37650
            }
35231
            break;
37651
            break;
35232
          case 4: // CATEGORIES
37652
          case 4: // CATEGORIES
35233
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37653
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35234
              {
37654
              {
35235
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
37655
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
35236
                this.categories = new ArrayList<Long>(_list89.size);
37656
                this.categories = new ArrayList<Long>(_list97.size);
35237
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
37657
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
35238
                {
37658
                {
35239
                  long _elem91; // required
37659
                  long _elem99; // required
35240
                  _elem91 = iprot.readI64();
37660
                  _elem99 = iprot.readI64();
35241
                  this.categories.add(_elem91);
37661
                  this.categories.add(_elem99);
35242
                }
37662
                }
35243
                iprot.readListEnd();
37663
                iprot.readListEnd();
35244
              }
37664
              }
35245
            } else { 
37665
            } else { 
35246
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37666
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35272... Line 37692...
35272
      }
37692
      }
35273
      if (this.categories != null) {
37693
      if (this.categories != null) {
35274
        oprot.writeFieldBegin(CATEGORIES_FIELD_DESC);
37694
        oprot.writeFieldBegin(CATEGORIES_FIELD_DESC);
35275
        {
37695
        {
35276
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.categories.size()));
37696
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.categories.size()));
35277
          for (long _iter92 : this.categories)
37697
          for (long _iter100 : this.categories)
35278
          {
37698
          {
35279
            oprot.writeI64(_iter92);
37699
            oprot.writeI64(_iter100);
35280
          }
37700
          }
35281
          oprot.writeListEnd();
37701
          oprot.writeListEnd();
35282
        }
37702
        }
35283
        oprot.writeFieldEnd();
37703
        oprot.writeFieldEnd();
35284
      }
37704
      }
Line 35656... Line 38076...
35656
        }
38076
        }
35657
        switch (field.id) {
38077
        switch (field.id) {
35658
          case 0: // SUCCESS
38078
          case 0: // SUCCESS
35659
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38079
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35660
              {
38080
              {
35661
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
38081
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
35662
                this.success = new ArrayList<Long>(_list93.size);
38082
                this.success = new ArrayList<Long>(_list101.size);
35663
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
38083
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
35664
                {
38084
                {
35665
                  long _elem95; // required
38085
                  long _elem103; // required
35666
                  _elem95 = iprot.readI64();
38086
                  _elem103 = iprot.readI64();
35667
                  this.success.add(_elem95);
38087
                  this.success.add(_elem103);
35668
                }
38088
                }
35669
                iprot.readListEnd();
38089
                iprot.readListEnd();
35670
              }
38090
              }
35671
            } else { 
38091
            } else { 
35672
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38092
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35694... Line 38114...
35694
 
38114
 
35695
      if (this.isSetSuccess()) {
38115
      if (this.isSetSuccess()) {
35696
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38116
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35697
        {
38117
        {
35698
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
38118
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
35699
          for (long _iter96 : this.success)
38119
          for (long _iter104 : this.success)
35700
          {
38120
          {
35701
            oprot.writeI64(_iter96);
38121
            oprot.writeI64(_iter104);
35702
          }
38122
          }
35703
          oprot.writeListEnd();
38123
          oprot.writeListEnd();
35704
        }
38124
        }
35705
        oprot.writeFieldEnd();
38125
        oprot.writeFieldEnd();
35706
      } else if (this.isSetCex()) {
38126
      } else if (this.isSetCex()) {
Line 39213... Line 41633...
39213
        }
41633
        }
39214
        switch (field.id) {
41634
        switch (field.id) {
39215
          case 0: // SUCCESS
41635
          case 0: // SUCCESS
39216
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41636
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39217
              {
41637
              {
39218
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
41638
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
39219
                this.success = new ArrayList<Category>(_list97.size);
41639
                this.success = new ArrayList<Category>(_list105.size);
39220
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
41640
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
39221
                {
41641
                {
39222
                  Category _elem99; // required
41642
                  Category _elem107; // required
39223
                  _elem99 = new Category();
41643
                  _elem107 = new Category();
39224
                  _elem99.read(iprot);
41644
                  _elem107.read(iprot);
39225
                  this.success.add(_elem99);
41645
                  this.success.add(_elem107);
39226
                }
41646
                }
39227
                iprot.readListEnd();
41647
                iprot.readListEnd();
39228
              }
41648
              }
39229
            } else { 
41649
            } else { 
39230
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41650
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39244... Line 41664...
39244
 
41664
 
39245
      if (this.isSetSuccess()) {
41665
      if (this.isSetSuccess()) {
39246
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41666
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39247
        {
41667
        {
39248
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41668
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39249
          for (Category _iter100 : this.success)
41669
          for (Category _iter108 : this.success)
39250
          {
41670
          {
39251
            _iter100.write(oprot);
41671
            _iter108.write(oprot);
39252
          }
41672
          }
39253
          oprot.writeListEnd();
41673
          oprot.writeListEnd();
39254
        }
41674
        }
39255
        oprot.writeFieldEnd();
41675
        oprot.writeFieldEnd();
39256
      }
41676
      }
Line 39904... Line 42324...
39904
        }
42324
        }
39905
        switch (field.id) {
42325
        switch (field.id) {
39906
          case 0: // SUCCESS
42326
          case 0: // SUCCESS
39907
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42327
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39908
              {
42328
              {
39909
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
42329
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
39910
                this.success = new ArrayList<VendorItemPricing>(_list101.size);
42330
                this.success = new ArrayList<VendorItemPricing>(_list109.size);
39911
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
42331
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
39912
                {
42332
                {
39913
                  VendorItemPricing _elem103; // required
42333
                  VendorItemPricing _elem111; // required
39914
                  _elem103 = new VendorItemPricing();
42334
                  _elem111 = new VendorItemPricing();
39915
                  _elem103.read(iprot);
42335
                  _elem111.read(iprot);
39916
                  this.success.add(_elem103);
42336
                  this.success.add(_elem111);
39917
                }
42337
                }
39918
                iprot.readListEnd();
42338
                iprot.readListEnd();
39919
              }
42339
              }
39920
            } else { 
42340
            } else { 
39921
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42341
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39943... Line 42363...
39943
 
42363
 
39944
      if (this.isSetSuccess()) {
42364
      if (this.isSetSuccess()) {
39945
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42365
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39946
        {
42366
        {
39947
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42367
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39948
          for (VendorItemPricing _iter104 : this.success)
42368
          for (VendorItemPricing _iter112 : this.success)
39949
          {
42369
          {
39950
            _iter104.write(oprot);
42370
            _iter112.write(oprot);
39951
          }
42371
          }
39952
          oprot.writeListEnd();
42372
          oprot.writeListEnd();
39953
        }
42373
        }
39954
        oprot.writeFieldEnd();
42374
        oprot.writeFieldEnd();
39955
      } else if (this.isSetCex()) {
42375
      } else if (this.isSetCex()) {
Line 41044... Line 43464...
41044
        }
43464
        }
41045
        switch (field.id) {
43465
        switch (field.id) {
41046
          case 0: // SUCCESS
43466
          case 0: // SUCCESS
41047
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43467
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41048
              {
43468
              {
41049
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
43469
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
41050
                this.success = new ArrayList<Vendor>(_list105.size);
43470
                this.success = new ArrayList<Vendor>(_list113.size);
41051
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
43471
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
41052
                {
43472
                {
41053
                  Vendor _elem107; // required
43473
                  Vendor _elem115; // required
41054
                  _elem107 = new Vendor();
43474
                  _elem115 = new Vendor();
41055
                  _elem107.read(iprot);
43475
                  _elem115.read(iprot);
41056
                  this.success.add(_elem107);
43476
                  this.success.add(_elem115);
41057
                }
43477
                }
41058
                iprot.readListEnd();
43478
                iprot.readListEnd();
41059
              }
43479
              }
41060
            } else { 
43480
            } else { 
41061
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43481
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41075... Line 43495...
41075
 
43495
 
41076
      if (this.isSetSuccess()) {
43496
      if (this.isSetSuccess()) {
41077
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43497
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41078
        {
43498
        {
41079
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43499
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41080
          for (Vendor _iter108 : this.success)
43500
          for (Vendor _iter116 : this.success)
41081
          {
43501
          {
41082
            _iter108.write(oprot);
43502
            _iter116.write(oprot);
41083
          }
43503
          }
41084
          oprot.writeListEnd();
43504
          oprot.writeListEnd();
41085
        }
43505
        }
41086
        oprot.writeFieldEnd();
43506
        oprot.writeFieldEnd();
41087
      }
43507
      }
Line 41669... Line 44089...
41669
        }
44089
        }
41670
        switch (field.id) {
44090
        switch (field.id) {
41671
          case 0: // SUCCESS
44091
          case 0: // SUCCESS
41672
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44092
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41673
              {
44093
              {
41674
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
44094
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
41675
                this.success = new ArrayList<Item>(_list109.size);
44095
                this.success = new ArrayList<Item>(_list117.size);
41676
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
44096
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
41677
                {
44097
                {
41678
                  Item _elem111; // required
44098
                  Item _elem119; // required
41679
                  _elem111 = new Item();
44099
                  _elem119 = new Item();
41680
                  _elem111.read(iprot);
44100
                  _elem119.read(iprot);
41681
                  this.success.add(_elem111);
44101
                  this.success.add(_elem119);
41682
                }
44102
                }
41683
                iprot.readListEnd();
44103
                iprot.readListEnd();
41684
              }
44104
              }
41685
            } else { 
44105
            } else { 
41686
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44106
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41700... Line 44120...
41700
 
44120
 
41701
      if (this.isSetSuccess()) {
44121
      if (this.isSetSuccess()) {
41702
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44122
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41703
        {
44123
        {
41704
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44124
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41705
          for (Item _iter112 : this.success)
44125
          for (Item _iter120 : this.success)
41706
          {
44126
          {
41707
            _iter112.write(oprot);
44127
            _iter120.write(oprot);
41708
          }
44128
          }
41709
          oprot.writeListEnd();
44129
          oprot.writeListEnd();
41710
        }
44130
        }
41711
        oprot.writeFieldEnd();
44131
        oprot.writeFieldEnd();
41712
      }
44132
      }
Line 44554... Line 46974...
44554
        }
46974
        }
44555
        switch (field.id) {
46975
        switch (field.id) {
44556
          case 0: // SUCCESS
46976
          case 0: // SUCCESS
44557
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46977
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44558
              {
46978
              {
44559
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
46979
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
44560
                this.success = new ArrayList<VendorItemMapping>(_list113.size);
46980
                this.success = new ArrayList<VendorItemMapping>(_list121.size);
44561
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
46981
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
44562
                {
46982
                {
44563
                  VendorItemMapping _elem115; // required
46983
                  VendorItemMapping _elem123; // required
44564
                  _elem115 = new VendorItemMapping();
46984
                  _elem123 = new VendorItemMapping();
44565
                  _elem115.read(iprot);
46985
                  _elem123.read(iprot);
44566
                  this.success.add(_elem115);
46986
                  this.success.add(_elem123);
44567
                }
46987
                }
44568
                iprot.readListEnd();
46988
                iprot.readListEnd();
44569
              }
46989
              }
44570
            } else { 
46990
            } else { 
44571
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46991
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44593... Line 47013...
44593
 
47013
 
44594
      if (this.isSetSuccess()) {
47014
      if (this.isSetSuccess()) {
44595
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47015
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44596
        {
47016
        {
44597
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47017
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44598
          for (VendorItemMapping _iter116 : this.success)
47018
          for (VendorItemMapping _iter124 : this.success)
44599
          {
47019
          {
44600
            _iter116.write(oprot);
47020
            _iter124.write(oprot);
44601
          }
47021
          }
44602
          oprot.writeListEnd();
47022
          oprot.writeListEnd();
44603
        }
47023
        }
44604
        oprot.writeFieldEnd();
47024
        oprot.writeFieldEnd();
44605
      } else if (this.isSetCex()) {
47025
      } else if (this.isSetCex()) {
Line 46530... Line 48950...
46530
        }
48950
        }
46531
        switch (field.id) {
48951
        switch (field.id) {
46532
          case 0: // SUCCESS
48952
          case 0: // SUCCESS
46533
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48953
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46534
              {
48954
              {
46535
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
48955
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
46536
                this.success = new ArrayList<Item>(_list117.size);
48956
                this.success = new ArrayList<Item>(_list125.size);
46537
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
48957
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
46538
                {
48958
                {
46539
                  Item _elem119; // required
48959
                  Item _elem127; // required
46540
                  _elem119 = new Item();
48960
                  _elem127 = new Item();
46541
                  _elem119.read(iprot);
48961
                  _elem127.read(iprot);
46542
                  this.success.add(_elem119);
48962
                  this.success.add(_elem127);
46543
                }
48963
                }
46544
                iprot.readListEnd();
48964
                iprot.readListEnd();
46545
              }
48965
              }
46546
            } else { 
48966
            } else { 
46547
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48967
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46561... Line 48981...
46561
 
48981
 
46562
      if (this.isSetSuccess()) {
48982
      if (this.isSetSuccess()) {
46563
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48983
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46564
        {
48984
        {
46565
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48985
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46566
          for (Item _iter120 : this.success)
48986
          for (Item _iter128 : this.success)
46567
          {
48987
          {
46568
            _iter120.write(oprot);
48988
            _iter128.write(oprot);
46569
          }
48989
          }
46570
          oprot.writeListEnd();
48990
          oprot.writeListEnd();
46571
        }
48991
        }
46572
        oprot.writeFieldEnd();
48992
        oprot.writeFieldEnd();
46573
      }
48993
      }
Line 47243... Line 49663...
47243
        }
49663
        }
47244
        switch (field.id) {
49664
        switch (field.id) {
47245
          case 0: // SUCCESS
49665
          case 0: // SUCCESS
47246
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49666
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47247
              {
49667
              {
47248
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
49668
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
47249
                this.success = new ArrayList<Item>(_list121.size);
49669
                this.success = new ArrayList<Item>(_list129.size);
47250
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
49670
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
47251
                {
49671
                {
47252
                  Item _elem123; // required
49672
                  Item _elem131; // required
47253
                  _elem123 = new Item();
49673
                  _elem131 = new Item();
47254
                  _elem123.read(iprot);
49674
                  _elem131.read(iprot);
47255
                  this.success.add(_elem123);
49675
                  this.success.add(_elem131);
47256
                }
49676
                }
47257
                iprot.readListEnd();
49677
                iprot.readListEnd();
47258
              }
49678
              }
47259
            } else { 
49679
            } else { 
47260
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49680
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47274... Line 49694...
47274
 
49694
 
47275
      if (this.isSetSuccess()) {
49695
      if (this.isSetSuccess()) {
47276
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49696
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47277
        {
49697
        {
47278
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49698
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47279
          for (Item _iter124 : this.success)
49699
          for (Item _iter132 : this.success)
47280
          {
49700
          {
47281
            _iter124.write(oprot);
49701
            _iter132.write(oprot);
47282
          }
49702
          }
47283
          oprot.writeListEnd();
49703
          oprot.writeListEnd();
47284
        }
49704
        }
47285
        oprot.writeFieldEnd();
49705
        oprot.writeFieldEnd();
47286
      }
49706
      }
Line 48032... Line 50452...
48032
        }
50452
        }
48033
        switch (field.id) {
50453
        switch (field.id) {
48034
          case 0: // SUCCESS
50454
          case 0: // SUCCESS
48035
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50455
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48036
              {
50456
              {
48037
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
50457
                org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
48038
                this.success = new ArrayList<Long>(_list125.size);
50458
                this.success = new ArrayList<Long>(_list133.size);
48039
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
50459
                for (int _i134 = 0; _i134 < _list133.size; ++_i134)
48040
                {
50460
                {
48041
                  long _elem127; // required
50461
                  long _elem135; // required
48042
                  _elem127 = iprot.readI64();
50462
                  _elem135 = iprot.readI64();
48043
                  this.success.add(_elem127);
50463
                  this.success.add(_elem135);
48044
                }
50464
                }
48045
                iprot.readListEnd();
50465
                iprot.readListEnd();
48046
              }
50466
              }
48047
            } else { 
50467
            } else { 
48048
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50468
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48062... Line 50482...
48062
 
50482
 
48063
      if (this.isSetSuccess()) {
50483
      if (this.isSetSuccess()) {
48064
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50484
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48065
        {
50485
        {
48066
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50486
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48067
          for (long _iter128 : this.success)
50487
          for (long _iter136 : this.success)
48068
          {
50488
          {
48069
            oprot.writeI64(_iter128);
50489
            oprot.writeI64(_iter136);
48070
          }
50490
          }
48071
          oprot.writeListEnd();
50491
          oprot.writeListEnd();
48072
        }
50492
        }
48073
        oprot.writeFieldEnd();
50493
        oprot.writeFieldEnd();
48074
      }
50494
      }
Line 49824... Line 52244...
49824
        }
52244
        }
49825
        switch (field.id) {
52245
        switch (field.id) {
49826
          case 0: // SUCCESS
52246
          case 0: // SUCCESS
49827
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52247
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49828
              {
52248
              {
49829
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
52249
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
49830
                this.success = new ArrayList<String>(_list129.size);
52250
                this.success = new ArrayList<String>(_list137.size);
49831
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
52251
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
49832
                {
52252
                {
49833
                  String _elem131; // required
52253
                  String _elem139; // required
49834
                  _elem131 = iprot.readString();
52254
                  _elem139 = iprot.readString();
49835
                  this.success.add(_elem131);
52255
                  this.success.add(_elem139);
49836
                }
52256
                }
49837
                iprot.readListEnd();
52257
                iprot.readListEnd();
49838
              }
52258
              }
49839
            } else { 
52259
            } else { 
49840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52260
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49854... Line 52274...
49854
 
52274
 
49855
      if (this.isSetSuccess()) {
52275
      if (this.isSetSuccess()) {
49856
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52276
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49857
        {
52277
        {
49858
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
52278
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
49859
          for (String _iter132 : this.success)
52279
          for (String _iter140 : this.success)
49860
          {
52280
          {
49861
            oprot.writeString(_iter132);
52281
            oprot.writeString(_iter140);
49862
          }
52282
          }
49863
          oprot.writeListEnd();
52283
          oprot.writeListEnd();
49864
        }
52284
        }
49865
        oprot.writeFieldEnd();
52285
        oprot.writeFieldEnd();
49866
      }
52286
      }
Line 50354... Line 52774...
50354
        }
52774
        }
50355
        switch (field.id) {
52775
        switch (field.id) {
50356
          case 0: // SUCCESS
52776
          case 0: // SUCCESS
50357
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52777
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50358
              {
52778
              {
50359
                org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
52779
                org.apache.thrift.protocol.TList _list141 = iprot.readListBegin();
50360
                this.success = new ArrayList<String>(_list133.size);
52780
                this.success = new ArrayList<String>(_list141.size);
50361
                for (int _i134 = 0; _i134 < _list133.size; ++_i134)
52781
                for (int _i142 = 0; _i142 < _list141.size; ++_i142)
50362
                {
52782
                {
50363
                  String _elem135; // required
52783
                  String _elem143; // required
50364
                  _elem135 = iprot.readString();
52784
                  _elem143 = iprot.readString();
50365
                  this.success.add(_elem135);
52785
                  this.success.add(_elem143);
50366
                }
52786
                }
50367
                iprot.readListEnd();
52787
                iprot.readListEnd();
50368
              }
52788
              }
50369
            } else { 
52789
            } else { 
50370
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50384... Line 52804...
50384
 
52804
 
50385
      if (this.isSetSuccess()) {
52805
      if (this.isSetSuccess()) {
50386
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52806
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50387
        {
52807
        {
50388
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
52808
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
50389
          for (String _iter136 : this.success)
52809
          for (String _iter144 : this.success)
50390
          {
52810
          {
50391
            oprot.writeString(_iter136);
52811
            oprot.writeString(_iter144);
50392
          }
52812
          }
50393
          oprot.writeListEnd();
52813
          oprot.writeListEnd();
50394
        }
52814
        }
50395
        oprot.writeFieldEnd();
52815
        oprot.writeFieldEnd();
50396
      }
52816
      }
Line 50884... Line 53304...
50884
        }
53304
        }
50885
        switch (field.id) {
53305
        switch (field.id) {
50886
          case 0: // SUCCESS
53306
          case 0: // SUCCESS
50887
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53307
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50888
              {
53308
              {
50889
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
53309
                org.apache.thrift.protocol.TList _list145 = iprot.readListBegin();
50890
                this.success = new ArrayList<Source>(_list137.size);
53310
                this.success = new ArrayList<Source>(_list145.size);
50891
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
53311
                for (int _i146 = 0; _i146 < _list145.size; ++_i146)
50892
                {
53312
                {
50893
                  Source _elem139; // required
53313
                  Source _elem147; // required
50894
                  _elem139 = new Source();
53314
                  _elem147 = new Source();
50895
                  _elem139.read(iprot);
53315
                  _elem147.read(iprot);
50896
                  this.success.add(_elem139);
53316
                  this.success.add(_elem147);
50897
                }
53317
                }
50898
                iprot.readListEnd();
53318
                iprot.readListEnd();
50899
              }
53319
              }
50900
            } else { 
53320
            } else { 
50901
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53321
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50915... Line 53335...
50915
 
53335
 
50916
      if (this.isSetSuccess()) {
53336
      if (this.isSetSuccess()) {
50917
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53337
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50918
        {
53338
        {
50919
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53339
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50920
          for (Source _iter140 : this.success)
53340
          for (Source _iter148 : this.success)
50921
          {
53341
          {
50922
            _iter140.write(oprot);
53342
            _iter148.write(oprot);
50923
          }
53343
          }
50924
          oprot.writeListEnd();
53344
          oprot.writeListEnd();
50925
        }
53345
        }
50926
        oprot.writeFieldEnd();
53346
        oprot.writeFieldEnd();
50927
      }
53347
      }
Line 52921... Line 55341...
52921
        }
55341
        }
52922
        switch (field.id) {
55342
        switch (field.id) {
52923
          case 0: // SUCCESS
55343
          case 0: // SUCCESS
52924
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55344
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52925
              {
55345
              {
52926
                org.apache.thrift.protocol.TList _list141 = iprot.readListBegin();
55346
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
52927
                this.success = new ArrayList<SourceItemPricing>(_list141.size);
55347
                this.success = new ArrayList<SourceItemPricing>(_list149.size);
52928
                for (int _i142 = 0; _i142 < _list141.size; ++_i142)
55348
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
52929
                {
55349
                {
52930
                  SourceItemPricing _elem143; // required
55350
                  SourceItemPricing _elem151; // required
52931
                  _elem143 = new SourceItemPricing();
55351
                  _elem151 = new SourceItemPricing();
52932
                  _elem143.read(iprot);
55352
                  _elem151.read(iprot);
52933
                  this.success.add(_elem143);
55353
                  this.success.add(_elem151);
52934
                }
55354
                }
52935
                iprot.readListEnd();
55355
                iprot.readListEnd();
52936
              }
55356
              }
52937
            } else { 
55357
            } else { 
52938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55358
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52960... Line 55380...
52960
 
55380
 
52961
      if (this.isSetSuccess()) {
55381
      if (this.isSetSuccess()) {
52962
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55382
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52963
        {
55383
        {
52964
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55384
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52965
          for (SourceItemPricing _iter144 : this.success)
55385
          for (SourceItemPricing _iter152 : this.success)
52966
          {
55386
          {
52967
            _iter144.write(oprot);
55387
            _iter152.write(oprot);
52968
          }
55388
          }
52969
          oprot.writeListEnd();
55389
          oprot.writeListEnd();
52970
        }
55390
        }
52971
        oprot.writeFieldEnd();
55391
        oprot.writeFieldEnd();
52972
      } else if (this.isSetCex()) {
55392
      } else if (this.isSetCex()) {
Line 54168... Line 56588...
54168
        }
56588
        }
54169
        switch (field.id) {
56589
        switch (field.id) {
54170
          case 1: // SEARCH_TERMS
56590
          case 1: // SEARCH_TERMS
54171
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56591
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54172
              {
56592
              {
54173
                org.apache.thrift.protocol.TList _list145 = iprot.readListBegin();
56593
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
54174
                this.searchTerms = new ArrayList<String>(_list145.size);
56594
                this.searchTerms = new ArrayList<String>(_list153.size);
54175
                for (int _i146 = 0; _i146 < _list145.size; ++_i146)
56595
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
54176
                {
56596
                {
54177
                  String _elem147; // required
56597
                  String _elem155; // required
54178
                  _elem147 = iprot.readString();
56598
                  _elem155 = iprot.readString();
54179
                  this.searchTerms.add(_elem147);
56599
                  this.searchTerms.add(_elem155);
54180
                }
56600
                }
54181
                iprot.readListEnd();
56601
                iprot.readListEnd();
54182
              }
56602
              }
54183
            } else { 
56603
            } else { 
54184
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56604
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54215... Line 56635...
54215
      oprot.writeStructBegin(STRUCT_DESC);
56635
      oprot.writeStructBegin(STRUCT_DESC);
54216
      if (this.searchTerms != null) {
56636
      if (this.searchTerms != null) {
54217
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
56637
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
54218
        {
56638
        {
54219
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
56639
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
54220
          for (String _iter148 : this.searchTerms)
56640
          for (String _iter156 : this.searchTerms)
54221
          {
56641
          {
54222
            oprot.writeString(_iter148);
56642
            oprot.writeString(_iter156);
54223
          }
56643
          }
54224
          oprot.writeListEnd();
56644
          oprot.writeListEnd();
54225
        }
56645
        }
54226
        oprot.writeFieldEnd();
56646
        oprot.writeFieldEnd();
54227
      }
56647
      }
Line 54529... Line 56949...
54529
        }
56949
        }
54530
        switch (field.id) {
56950
        switch (field.id) {
54531
          case 0: // SUCCESS
56951
          case 0: // SUCCESS
54532
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56952
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54533
              {
56953
              {
54534
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
56954
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
54535
                this.success = new ArrayList<Item>(_list149.size);
56955
                this.success = new ArrayList<Item>(_list157.size);
54536
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
56956
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
54537
                {
56957
                {
54538
                  Item _elem151; // required
56958
                  Item _elem159; // required
54539
                  _elem151 = new Item();
56959
                  _elem159 = new Item();
54540
                  _elem151.read(iprot);
56960
                  _elem159.read(iprot);
54541
                  this.success.add(_elem151);
56961
                  this.success.add(_elem159);
54542
                }
56962
                }
54543
                iprot.readListEnd();
56963
                iprot.readListEnd();
54544
              }
56964
              }
54545
            } else { 
56965
            } else { 
54546
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56966
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54560... Line 56980...
54560
 
56980
 
54561
      if (this.isSetSuccess()) {
56981
      if (this.isSetSuccess()) {
54562
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56982
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54563
        {
56983
        {
54564
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56984
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54565
          for (Item _iter152 : this.success)
56985
          for (Item _iter160 : this.success)
54566
          {
56986
          {
54567
            _iter152.write(oprot);
56987
            _iter160.write(oprot);
54568
          }
56988
          }
54569
          oprot.writeListEnd();
56989
          oprot.writeListEnd();
54570
        }
56990
        }
54571
        oprot.writeFieldEnd();
56991
        oprot.writeFieldEnd();
54572
      }
56992
      }
Line 54860... Line 57280...
54860
        }
57280
        }
54861
        switch (field.id) {
57281
        switch (field.id) {
54862
          case 1: // SEARCH_TERMS
57282
          case 1: // SEARCH_TERMS
54863
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57283
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54864
              {
57284
              {
54865
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
57285
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
54866
                this.searchTerms = new ArrayList<String>(_list153.size);
57286
                this.searchTerms = new ArrayList<String>(_list161.size);
54867
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
57287
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
54868
                {
57288
                {
54869
                  String _elem155; // required
57289
                  String _elem163; // required
54870
                  _elem155 = iprot.readString();
57290
                  _elem163 = iprot.readString();
54871
                  this.searchTerms.add(_elem155);
57291
                  this.searchTerms.add(_elem163);
54872
                }
57292
                }
54873
                iprot.readListEnd();
57293
                iprot.readListEnd();
54874
              }
57294
              }
54875
            } else { 
57295
            } else { 
54876
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57296
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54891... Line 57311...
54891
      oprot.writeStructBegin(STRUCT_DESC);
57311
      oprot.writeStructBegin(STRUCT_DESC);
54892
      if (this.searchTerms != null) {
57312
      if (this.searchTerms != null) {
54893
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
57313
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
54894
        {
57314
        {
54895
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
57315
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
54896
          for (String _iter156 : this.searchTerms)
57316
          for (String _iter164 : this.searchTerms)
54897
          {
57317
          {
54898
            oprot.writeString(_iter156);
57318
            oprot.writeString(_iter164);
54899
          }
57319
          }
54900
          oprot.writeListEnd();
57320
          oprot.writeListEnd();
54901
        }
57321
        }
54902
        oprot.writeFieldEnd();
57322
        oprot.writeFieldEnd();
54903
      }
57323
      }
Line 55778... Line 58198...
55778
        }
58198
        }
55779
        switch (field.id) {
58199
        switch (field.id) {
55780
          case 0: // SUCCESS
58200
          case 0: // SUCCESS
55781
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58201
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55782
              {
58202
              {
55783
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
58203
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
55784
                this.success = new ArrayList<AvailableAndReservedStock>(_list157.size);
58204
                this.success = new ArrayList<AvailableAndReservedStock>(_list165.size);
55785
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
58205
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
55786
                {
58206
                {
55787
                  AvailableAndReservedStock _elem159; // required
58207
                  AvailableAndReservedStock _elem167; // required
55788
                  _elem159 = new AvailableAndReservedStock();
58208
                  _elem167 = new AvailableAndReservedStock();
55789
                  _elem159.read(iprot);
58209
                  _elem167.read(iprot);
55790
                  this.success.add(_elem159);
58210
                  this.success.add(_elem167);
55791
                }
58211
                }
55792
                iprot.readListEnd();
58212
                iprot.readListEnd();
55793
              }
58213
              }
55794
            } else { 
58214
            } else { 
55795
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58215
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55809... Line 58229...
55809
 
58229
 
55810
      if (this.isSetSuccess()) {
58230
      if (this.isSetSuccess()) {
55811
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58231
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55812
        {
58232
        {
55813
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58233
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55814
          for (AvailableAndReservedStock _iter160 : this.success)
58234
          for (AvailableAndReservedStock _iter168 : this.success)
55815
          {
58235
          {
55816
            _iter160.write(oprot);
58236
            _iter168.write(oprot);
55817
          }
58237
          }
55818
          oprot.writeListEnd();
58238
          oprot.writeListEnd();
55819
        }
58239
        }
55820
        oprot.writeFieldEnd();
58240
        oprot.writeFieldEnd();
55821
      }
58241
      }
Line 56403... Line 58823...
56403
        }
58823
        }
56404
        switch (field.id) {
58824
        switch (field.id) {
56405
          case 0: // SUCCESS
58825
          case 0: // SUCCESS
56406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58826
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56407
              {
58827
              {
56408
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
58828
                org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
56409
                this.success = new ArrayList<ProductNotificationRequest>(_list161.size);
58829
                this.success = new ArrayList<ProductNotificationRequest>(_list169.size);
56410
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
58830
                for (int _i170 = 0; _i170 < _list169.size; ++_i170)
56411
                {
58831
                {
56412
                  ProductNotificationRequest _elem163; // required
58832
                  ProductNotificationRequest _elem171; // required
56413
                  _elem163 = new ProductNotificationRequest();
58833
                  _elem171 = new ProductNotificationRequest();
56414
                  _elem163.read(iprot);
58834
                  _elem171.read(iprot);
56415
                  this.success.add(_elem163);
58835
                  this.success.add(_elem171);
56416
                }
58836
                }
56417
                iprot.readListEnd();
58837
                iprot.readListEnd();
56418
              }
58838
              }
56419
            } else { 
58839
            } else { 
56420
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56434... Line 58854...
56434
 
58854
 
56435
      if (this.isSetSuccess()) {
58855
      if (this.isSetSuccess()) {
56436
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58856
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56437
        {
58857
        {
56438
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58858
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56439
          for (ProductNotificationRequest _iter164 : this.success)
58859
          for (ProductNotificationRequest _iter172 : this.success)
56440
          {
58860
          {
56441
            _iter164.write(oprot);
58861
            _iter172.write(oprot);
56442
          }
58862
          }
56443
          oprot.writeListEnd();
58863
          oprot.writeListEnd();
56444
        }
58864
        }
56445
        oprot.writeFieldEnd();
58865
        oprot.writeFieldEnd();
56446
      }
58866
      }
Line 57028... Line 59448...
57028
        }
59448
        }
57029
        switch (field.id) {
59449
        switch (field.id) {
57030
          case 0: // SUCCESS
59450
          case 0: // SUCCESS
57031
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59451
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57032
              {
59452
              {
57033
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
59453
                org.apache.thrift.protocol.TList _list173 = iprot.readListBegin();
57034
                this.success = new ArrayList<ProductNotificationRequestCount>(_list165.size);
59454
                this.success = new ArrayList<ProductNotificationRequestCount>(_list173.size);
57035
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
59455
                for (int _i174 = 0; _i174 < _list173.size; ++_i174)
57036
                {
59456
                {
57037
                  ProductNotificationRequestCount _elem167; // required
59457
                  ProductNotificationRequestCount _elem175; // required
57038
                  _elem167 = new ProductNotificationRequestCount();
59458
                  _elem175 = new ProductNotificationRequestCount();
57039
                  _elem167.read(iprot);
59459
                  _elem175.read(iprot);
57040
                  this.success.add(_elem167);
59460
                  this.success.add(_elem175);
57041
                }
59461
                }
57042
                iprot.readListEnd();
59462
                iprot.readListEnd();
57043
              }
59463
              }
57044
            } else { 
59464
            } else { 
57045
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59465
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57059... Line 59479...
57059
 
59479
 
57060
      if (this.isSetSuccess()) {
59480
      if (this.isSetSuccess()) {
57061
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59481
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57062
        {
59482
        {
57063
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59483
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57064
          for (ProductNotificationRequestCount _iter168 : this.success)
59484
          for (ProductNotificationRequestCount _iter176 : this.success)
57065
          {
59485
          {
57066
            _iter168.write(oprot);
59486
            _iter176.write(oprot);
57067
          }
59487
          }
57068
          oprot.writeListEnd();
59488
          oprot.writeListEnd();
57069
        }
59489
        }
57070
        oprot.writeFieldEnd();
59490
        oprot.writeFieldEnd();
57071
      }
59491
      }
Line 58870... Line 61290...
58870
        }
61290
        }
58871
        switch (field.id) {
61291
        switch (field.id) {
58872
          case 0: // SUCCESS
61292
          case 0: // SUCCESS
58873
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
61293
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58874
              {
61294
              {
58875
                org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
61295
                org.apache.thrift.protocol.TList _list177 = iprot.readListBegin();
58876
                this.success = new ArrayList<Warehouse>(_list169.size);
61296
                this.success = new ArrayList<Warehouse>(_list177.size);
58877
                for (int _i170 = 0; _i170 < _list169.size; ++_i170)
61297
                for (int _i178 = 0; _i178 < _list177.size; ++_i178)
58878
                {
61298
                {
58879
                  Warehouse _elem171; // required
61299
                  Warehouse _elem179; // required
58880
                  _elem171 = new Warehouse();
61300
                  _elem179 = new Warehouse();
58881
                  _elem171.read(iprot);
61301
                  _elem179.read(iprot);
58882
                  this.success.add(_elem171);
61302
                  this.success.add(_elem179);
58883
                }
61303
                }
58884
                iprot.readListEnd();
61304
                iprot.readListEnd();
58885
              }
61305
              }
58886
            } else { 
61306
            } else { 
58887
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
61307
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58901... Line 61321...
58901
 
61321
 
58902
      if (this.isSetSuccess()) {
61322
      if (this.isSetSuccess()) {
58903
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
61323
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58904
        {
61324
        {
58905
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
61325
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58906
          for (Warehouse _iter172 : this.success)
61326
          for (Warehouse _iter180 : this.success)
58907
          {
61327
          {
58908
            _iter172.write(oprot);
61328
            _iter180.write(oprot);
58909
          }
61329
          }
58910
          oprot.writeListEnd();
61330
          oprot.writeListEnd();
58911
        }
61331
        }
58912
        oprot.writeFieldEnd();
61332
        oprot.writeFieldEnd();
58913
      }
61333
      }
Line 60335... Line 62755...
60335
        }
62755
        }
60336
        switch (field.id) {
62756
        switch (field.id) {
60337
          case 0: // SUCCESS
62757
          case 0: // SUCCESS
60338
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62758
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60339
              {
62759
              {
60340
                org.apache.thrift.protocol.TList _list173 = iprot.readListBegin();
62760
                org.apache.thrift.protocol.TList _list181 = iprot.readListBegin();
60341
                this.success = new ArrayList<String>(_list173.size);
62761
                this.success = new ArrayList<String>(_list181.size);
60342
                for (int _i174 = 0; _i174 < _list173.size; ++_i174)
62762
                for (int _i182 = 0; _i182 < _list181.size; ++_i182)
60343
                {
62763
                {
60344
                  String _elem175; // required
62764
                  String _elem183; // required
60345
                  _elem175 = iprot.readString();
62765
                  _elem183 = iprot.readString();
60346
                  this.success.add(_elem175);
62766
                  this.success.add(_elem183);
60347
                }
62767
                }
60348
                iprot.readListEnd();
62768
                iprot.readListEnd();
60349
              }
62769
              }
60350
            } else { 
62770
            } else { 
60351
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
62771
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 60365... Line 62785...
60365
 
62785
 
60366
      if (this.isSetSuccess()) {
62786
      if (this.isSetSuccess()) {
60367
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62787
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60368
        {
62788
        {
60369
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
62789
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
60370
          for (String _iter176 : this.success)
62790
          for (String _iter184 : this.success)
60371
          {
62791
          {
60372
            oprot.writeString(_iter176);
62792
            oprot.writeString(_iter184);
60373
          }
62793
          }
60374
          oprot.writeListEnd();
62794
          oprot.writeListEnd();
60375
        }
62795
        }
60376
        oprot.writeFieldEnd();
62796
        oprot.writeFieldEnd();
60377
      }
62797
      }
Line 61462... Line 63882...
61462
        }
63882
        }
61463
        switch (field.id) {
63883
        switch (field.id) {
61464
          case 0: // SUCCESS
63884
          case 0: // SUCCESS
61465
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
63885
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
61466
              {
63886
              {
61467
                org.apache.thrift.protocol.TMap _map177 = iprot.readMapBegin();
63887
                org.apache.thrift.protocol.TMap _map185 = iprot.readMapBegin();
61468
                this.success = new HashMap<String,Map<Long,Long>>(2*_map177.size);
63888
                this.success = new HashMap<String,Map<Long,Long>>(2*_map185.size);
61469
                for (int _i178 = 0; _i178 < _map177.size; ++_i178)
63889
                for (int _i186 = 0; _i186 < _map185.size; ++_i186)
61470
                {
63890
                {
61471
                  String _key179; // required
63891
                  String _key187; // required
61472
                  Map<Long,Long> _val180; // required
63892
                  Map<Long,Long> _val188; // required
61473
                  _key179 = iprot.readString();
63893
                  _key187 = iprot.readString();
61474
                  {
63894
                  {
61475
                    org.apache.thrift.protocol.TMap _map181 = iprot.readMapBegin();
63895
                    org.apache.thrift.protocol.TMap _map189 = iprot.readMapBegin();
61476
                    _val180 = new HashMap<Long,Long>(2*_map181.size);
63896
                    _val188 = new HashMap<Long,Long>(2*_map189.size);
61477
                    for (int _i182 = 0; _i182 < _map181.size; ++_i182)
63897
                    for (int _i190 = 0; _i190 < _map189.size; ++_i190)
61478
                    {
63898
                    {
61479
                      long _key183; // required
63899
                      long _key191; // required
61480
                      long _val184; // required
63900
                      long _val192; // required
61481
                      _key183 = iprot.readI64();
63901
                      _key191 = iprot.readI64();
61482
                      _val184 = iprot.readI64();
63902
                      _val192 = iprot.readI64();
61483
                      _val180.put(_key183, _val184);
63903
                      _val188.put(_key191, _val192);
61484
                    }
63904
                    }
61485
                    iprot.readMapEnd();
63905
                    iprot.readMapEnd();
61486
                  }
63906
                  }
61487
                  this.success.put(_key179, _val180);
63907
                  this.success.put(_key187, _val188);
61488
                }
63908
                }
61489
                iprot.readMapEnd();
63909
                iprot.readMapEnd();
61490
              }
63910
              }
61491
            } else { 
63911
            } else { 
61492
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
63912
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 61506... Line 63926...
61506
 
63926
 
61507
      if (this.isSetSuccess()) {
63927
      if (this.isSetSuccess()) {
61508
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
63928
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
61509
        {
63929
        {
61510
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, this.success.size()));
63930
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, this.success.size()));
61511
          for (Map.Entry<String, Map<Long,Long>> _iter185 : this.success.entrySet())
63931
          for (Map.Entry<String, Map<Long,Long>> _iter193 : this.success.entrySet())
61512
          {
63932
          {
61513
            oprot.writeString(_iter185.getKey());
63933
            oprot.writeString(_iter193.getKey());
61514
            {
63934
            {
61515
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, _iter185.getValue().size()));
63935
              oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, _iter193.getValue().size()));
61516
              for (Map.Entry<Long, Long> _iter186 : _iter185.getValue().entrySet())
63936
              for (Map.Entry<Long, Long> _iter194 : _iter193.getValue().entrySet())
61517
              {
63937
              {
61518
                oprot.writeI64(_iter186.getKey());
63938
                oprot.writeI64(_iter194.getKey());
61519
                oprot.writeI64(_iter186.getValue());
63939
                oprot.writeI64(_iter194.getValue());
61520
              }
63940
              }
61521
              oprot.writeMapEnd();
63941
              oprot.writeMapEnd();
61522
            }
63942
            }
61523
          }
63943
          }
61524
          oprot.writeMapEnd();
63944
          oprot.writeMapEnd();
Line 62769... Line 65189...
62769
        }
65189
        }
62770
        switch (field.id) {
65190
        switch (field.id) {
62771
          case 0: // SUCCESS
65191
          case 0: // SUCCESS
62772
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65192
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62773
              {
65193
              {
62774
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
65194
                org.apache.thrift.protocol.TList _list195 = iprot.readListBegin();
62775
                this.success = new ArrayList<Warehouse>(_list187.size);
65195
                this.success = new ArrayList<Warehouse>(_list195.size);
62776
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
65196
                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
62777
                {
65197
                {
62778
                  Warehouse _elem189; // required
65198
                  Warehouse _elem197; // required
62779
                  _elem189 = new Warehouse();
65199
                  _elem197 = new Warehouse();
62780
                  _elem189.read(iprot);
65200
                  _elem197.read(iprot);
62781
                  this.success.add(_elem189);
65201
                  this.success.add(_elem197);
62782
                }
65202
                }
62783
                iprot.readListEnd();
65203
                iprot.readListEnd();
62784
              }
65204
              }
62785
            } else { 
65205
            } else { 
62786
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
65206
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62800... Line 65220...
62800
 
65220
 
62801
      if (this.isSetSuccess()) {
65221
      if (this.isSetSuccess()) {
62802
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65222
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62803
        {
65223
        {
62804
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
65224
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62805
          for (Warehouse _iter190 : this.success)
65225
          for (Warehouse _iter198 : this.success)
62806
          {
65226
          {
62807
            _iter190.write(oprot);
65227
            _iter198.write(oprot);
62808
          }
65228
          }
62809
          oprot.writeListEnd();
65229
          oprot.writeListEnd();
62810
        }
65230
        }
62811
        oprot.writeFieldEnd();
65231
        oprot.writeFieldEnd();
62812
      }
65232
      }