Subversion Repositories SmartDukaan

Rev

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

Rev 4423 Rev 4431
Line 99... Line 99...
99
 
99
 
100
    public List<Item> getAllItems(boolean isActive) throws InventoryServiceException, org.apache.thrift.TException;
100
    public List<Item> getAllItems(boolean isActive) throws InventoryServiceException, org.apache.thrift.TException;
101
 
101
 
102
    public List<Item> getAllItemsByStatus(status itemStatus) throws InventoryServiceException, org.apache.thrift.TException;
102
    public List<Item> getAllItemsByStatus(status itemStatus) throws InventoryServiceException, org.apache.thrift.TException;
103
 
103
 
104
    public ItemInventory getItemInventory(long item_id) throws InventoryServiceException, org.apache.thrift.TException;
-
 
105
 
-
 
106
    public ItemInventory getItemInventoryByItemId(long item_id) throws InventoryServiceException, org.apache.thrift.TException;
104
    public ItemInventory getItemInventoryByItemId(long item_id) throws InventoryServiceException, org.apache.thrift.TException;
107
 
105
 
108
    public long getItemAvailibilityAtWarehouse(long warehouse_id, long item_id) throws InventoryServiceException, org.apache.thrift.TException;
106
    public long getItemAvailibilityAtWarehouse(long warehouse_id, long item_id) throws InventoryServiceException, org.apache.thrift.TException;
109
 
107
 
110
    public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws InventoryServiceException, org.apache.thrift.TException;
108
    public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws InventoryServiceException, org.apache.thrift.TException;
Line 498... Line 496...
498
 
496
 
499
    public void getAllItems(boolean isActive, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItems_call> resultHandler) throws org.apache.thrift.TException;
497
    public void getAllItems(boolean isActive, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItems_call> resultHandler) throws org.apache.thrift.TException;
500
 
498
 
501
    public void getAllItemsByStatus(status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatus_call> resultHandler) throws org.apache.thrift.TException;
499
    public void getAllItemsByStatus(status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatus_call> resultHandler) throws org.apache.thrift.TException;
502
 
500
 
503
    public void getItemInventory(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemInventory_call> resultHandler) throws org.apache.thrift.TException;
-
 
504
 
-
 
505
    public void getItemInventoryByItemId(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemInventoryByItemId_call> resultHandler) throws org.apache.thrift.TException;
501
    public void getItemInventoryByItemId(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemInventoryByItemId_call> resultHandler) throws org.apache.thrift.TException;
506
 
502
 
507
    public void getItemAvailibilityAtWarehouse(long warehouse_id, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemAvailibilityAtWarehouse_call> resultHandler) throws org.apache.thrift.TException;
503
    public void getItemAvailibilityAtWarehouse(long warehouse_id, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemAvailibilityAtWarehouse_call> resultHandler) throws org.apache.thrift.TException;
508
 
504
 
509
    public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException;
505
    public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException;
Line 1133... Line 1129...
1133
        throw result.cex;
1129
        throw result.cex;
1134
      }
1130
      }
1135
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1131
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1136
    }
1132
    }
1137
 
1133
 
1138
    public ItemInventory getItemInventory(long item_id) throws InventoryServiceException, org.apache.thrift.TException
-
 
1139
    {
-
 
1140
      send_getItemInventory(item_id);
-
 
1141
      return recv_getItemInventory();
-
 
1142
    }
-
 
1143
 
-
 
1144
    public void send_getItemInventory(long item_id) throws org.apache.thrift.TException
-
 
1145
    {
-
 
1146
      getItemInventory_args args = new getItemInventory_args();
-
 
1147
      args.setItem_id(item_id);
-
 
1148
      sendBase("getItemInventory", args);
-
 
1149
    }
-
 
1150
 
-
 
1151
    public ItemInventory recv_getItemInventory() throws InventoryServiceException, org.apache.thrift.TException
-
 
1152
    {
-
 
1153
      getItemInventory_result result = new getItemInventory_result();
-
 
1154
      receiveBase(result, "getItemInventory");
-
 
1155
      if (result.isSetSuccess()) {
-
 
1156
        return result.success;
-
 
1157
      }
-
 
1158
      if (result.cex != null) {
-
 
1159
        throw result.cex;
-
 
1160
      }
-
 
1161
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getItemInventory failed: unknown result");
-
 
1162
    }
-
 
1163
 
-
 
1164
    public ItemInventory getItemInventoryByItemId(long item_id) throws InventoryServiceException, org.apache.thrift.TException
1134
    public ItemInventory getItemInventoryByItemId(long item_id) throws InventoryServiceException, org.apache.thrift.TException
1165
    {
1135
    {
1166
      send_getItemInventoryByItemId(item_id);
1136
      send_getItemInventoryByItemId(item_id);
1167
      return recv_getItemInventoryByItemId();
1137
      return recv_getItemInventoryByItemId();
1168
    }
1138
    }
Line 3234... Line 3204...
3234
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3204
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3235
        return (new Client(prot)).recv_getAllItemsByStatus();
3205
        return (new Client(prot)).recv_getAllItemsByStatus();
3236
      }
3206
      }
3237
    }
3207
    }
3238
 
3208
 
3239
    public void getItemInventory(long item_id, org.apache.thrift.async.AsyncMethodCallback<getItemInventory_call> resultHandler) throws org.apache.thrift.TException {
-
 
3240
      checkReady();
-
 
3241
      getItemInventory_call method_call = new getItemInventory_call(item_id, resultHandler, this, ___protocolFactory, ___transport);
-
 
3242
      this.___currentMethod = method_call;
-
 
3243
      ___manager.call(method_call);
-
 
3244
    }
-
 
3245
 
-
 
3246
    public static class getItemInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3247
      private long item_id;
-
 
3248
      public getItemInventory_call(long item_id, org.apache.thrift.async.AsyncMethodCallback<getItemInventory_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 {
-
 
3249
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3250
        this.item_id = item_id;
-
 
3251
      }
-
 
3252
 
-
 
3253
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3254
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getItemInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3255
        getItemInventory_args args = new getItemInventory_args();
-
 
3256
        args.setItem_id(item_id);
-
 
3257
        args.write(prot);
-
 
3258
        prot.writeMessageEnd();
-
 
3259
      }
-
 
3260
 
-
 
3261
      public ItemInventory getResult() throws InventoryServiceException, org.apache.thrift.TException {
-
 
3262
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3263
          throw new IllegalStateException("Method call not finished!");
-
 
3264
        }
-
 
3265
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3266
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3267
        return (new Client(prot)).recv_getItemInventory();
-
 
3268
      }
-
 
3269
    }
-
 
3270
 
-
 
3271
    public void getItemInventoryByItemId(long item_id, org.apache.thrift.async.AsyncMethodCallback<getItemInventoryByItemId_call> resultHandler) throws org.apache.thrift.TException {
3209
    public void getItemInventoryByItemId(long item_id, org.apache.thrift.async.AsyncMethodCallback<getItemInventoryByItemId_call> resultHandler) throws org.apache.thrift.TException {
3272
      checkReady();
3210
      checkReady();
3273
      getItemInventoryByItemId_call method_call = new getItemInventoryByItemId_call(item_id, resultHandler, this, ___protocolFactory, ___transport);
3211
      getItemInventoryByItemId_call method_call = new getItemInventoryByItemId_call(item_id, resultHandler, this, ___protocolFactory, ___transport);
3274
      this.___currentMethod = method_call;
3212
      this.___currentMethod = method_call;
3275
      ___manager.call(method_call);
3213
      ___manager.call(method_call);
Line 5155... Line 5093...
5155
      processMap.put("changeItemStatus", new changeItemStatus());
5093
      processMap.put("changeItemStatus", new changeItemStatus());
5156
      processMap.put("getItem", new getItem());
5094
      processMap.put("getItem", new getItem());
5157
      processMap.put("getItemsByCatalogId", new getItemsByCatalogId());
5095
      processMap.put("getItemsByCatalogId", new getItemsByCatalogId());
5158
      processMap.put("getAllItems", new getAllItems());
5096
      processMap.put("getAllItems", new getAllItems());
5159
      processMap.put("getAllItemsByStatus", new getAllItemsByStatus());
5097
      processMap.put("getAllItemsByStatus", new getAllItemsByStatus());
5160
      processMap.put("getItemInventory", new getItemInventory());
-
 
5161
      processMap.put("getItemInventoryByItemId", new getItemInventoryByItemId());
5098
      processMap.put("getItemInventoryByItemId", new getItemInventoryByItemId());
5162
      processMap.put("getItemAvailibilityAtWarehouse", new getItemAvailibilityAtWarehouse());
5099
      processMap.put("getItemAvailibilityAtWarehouse", new getItemAvailibilityAtWarehouse());
5163
      processMap.put("markItemAsContentComplete", new markItemAsContentComplete());
5100
      processMap.put("markItemAsContentComplete", new markItemAsContentComplete());
5164
      processMap.put("getAllItemsInRange", new getAllItemsInRange());
5101
      processMap.put("getAllItemsInRange", new getAllItemsInRange());
5165
      processMap.put("getAllItemsByStatusInRange", new getAllItemsByStatusInRange());
5102
      processMap.put("getAllItemsByStatusInRange", new getAllItemsByStatusInRange());
Line 5607... Line 5544...
5607
        }
5544
        }
5608
        return result;
5545
        return result;
5609
      }
5546
      }
5610
    }
5547
    }
5611
 
5548
 
5612
    private static class getItemInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getItemInventory_args> {
-
 
5613
      public getItemInventory() {
-
 
5614
        super("getItemInventory");
-
 
5615
      }
-
 
5616
 
-
 
5617
      protected getItemInventory_args getEmptyArgsInstance() {
-
 
5618
        return new getItemInventory_args();
-
 
5619
      }
-
 
5620
 
-
 
5621
      protected getItemInventory_result getResult(I iface, getItemInventory_args args) throws org.apache.thrift.TException {
-
 
5622
        getItemInventory_result result = new getItemInventory_result();
-
 
5623
        try {
-
 
5624
          result.success = iface.getItemInventory(args.item_id);
-
 
5625
        } catch (InventoryServiceException cex) {
-
 
5626
          result.cex = cex;
-
 
5627
        }
-
 
5628
        return result;
-
 
5629
      }
-
 
5630
    }
-
 
5631
 
-
 
5632
    private static class getItemInventoryByItemId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getItemInventoryByItemId_args> {
5549
    private static class getItemInventoryByItemId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getItemInventoryByItemId_args> {
5633
      public getItemInventoryByItemId() {
5550
      public getItemInventoryByItemId() {
5634
        super("getItemInventoryByItemId");
5551
        super("getItemInventoryByItemId");
5635
      }
5552
      }
5636
 
5553
 
Line 10575... Line 10492...
10575
        }
10492
        }
10576
        switch (field.id) {
10493
        switch (field.id) {
10577
          case 0: // SUCCESS
10494
          case 0: // SUCCESS
10578
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
10495
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
10579
              {
10496
              {
10580
                org.apache.thrift.protocol.TList _list14 = iprot.readListBegin();
10497
                org.apache.thrift.protocol.TList _list19 = iprot.readListBegin();
10581
                this.success = new ArrayList<Vendor>(_list14.size);
10498
                this.success = new ArrayList<Vendor>(_list19.size);
10582
                for (int _i15 = 0; _i15 < _list14.size; ++_i15)
10499
                for (int _i20 = 0; _i20 < _list19.size; ++_i20)
10583
                {
10500
                {
10584
                  Vendor _elem16; // required
10501
                  Vendor _elem21; // required
10585
                  _elem16 = new Vendor();
10502
                  _elem21 = new Vendor();
10586
                  _elem16.read(iprot);
10503
                  _elem21.read(iprot);
10587
                  this.success.add(_elem16);
10504
                  this.success.add(_elem21);
10588
                }
10505
                }
10589
                iprot.readListEnd();
10506
                iprot.readListEnd();
10590
              }
10507
              }
10591
            } else { 
10508
            } else { 
10592
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
10509
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 10606... Line 10523...
10606
 
10523
 
10607
      if (this.isSetSuccess()) {
10524
      if (this.isSetSuccess()) {
10608
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
10525
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
10609
        {
10526
        {
10610
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
10527
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
10611
          for (Vendor _iter17 : this.success)
10528
          for (Vendor _iter22 : this.success)
10612
          {
10529
          {
10613
            _iter17.write(oprot);
10530
            _iter22.write(oprot);
10614
          }
10531
          }
10615
          oprot.writeListEnd();
10532
          oprot.writeListEnd();
10616
        }
10533
        }
10617
        oprot.writeFieldEnd();
10534
        oprot.writeFieldEnd();
10618
      }
10535
      }
Line 11200... Line 11117...
11200
        }
11117
        }
11201
        switch (field.id) {
11118
        switch (field.id) {
11202
          case 0: // SUCCESS
11119
          case 0: // SUCCESS
11203
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
11120
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
11204
              {
11121
              {
11205
                org.apache.thrift.protocol.TList _list18 = iprot.readListBegin();
11122
                org.apache.thrift.protocol.TList _list23 = iprot.readListBegin();
11206
                this.success = new ArrayList<Warehouse>(_list18.size);
11123
                this.success = new ArrayList<Warehouse>(_list23.size);
11207
                for (int _i19 = 0; _i19 < _list18.size; ++_i19)
11124
                for (int _i24 = 0; _i24 < _list23.size; ++_i24)
11208
                {
11125
                {
11209
                  Warehouse _elem20; // required
11126
                  Warehouse _elem25; // required
11210
                  _elem20 = new Warehouse();
11127
                  _elem25 = new Warehouse();
11211
                  _elem20.read(iprot);
11128
                  _elem25.read(iprot);
11212
                  this.success.add(_elem20);
11129
                  this.success.add(_elem25);
11213
                }
11130
                }
11214
                iprot.readListEnd();
11131
                iprot.readListEnd();
11215
              }
11132
              }
11216
            } else { 
11133
            } else { 
11217
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
11134
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 11231... Line 11148...
11231
 
11148
 
11232
      if (this.isSetSuccess()) {
11149
      if (this.isSetSuccess()) {
11233
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
11150
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
11234
        {
11151
        {
11235
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
11152
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
11236
          for (Warehouse _iter21 : this.success)
11153
          for (Warehouse _iter26 : this.success)
11237
          {
11154
          {
11238
            _iter21.write(oprot);
11155
            _iter26.write(oprot);
11239
          }
11156
          }
11240
          oprot.writeListEnd();
11157
          oprot.writeListEnd();
11241
        }
11158
        }
11242
        oprot.writeFieldEnd();
11159
        oprot.writeFieldEnd();
11243
      }
11160
      }
Line 13039... Line 12956...
13039
            }
12956
            }
13040
            break;
12957
            break;
13041
          case 3: // AVAILABILITY
12958
          case 3: // AVAILABILITY
13042
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
12959
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
13043
              {
12960
              {
13044
                org.apache.thrift.protocol.TMap _map22 = iprot.readMapBegin();
12961
                org.apache.thrift.protocol.TMap _map27 = iprot.readMapBegin();
13045
                this.availability = new HashMap<String,Long>(2*_map22.size);
12962
                this.availability = new HashMap<String,Long>(2*_map27.size);
13046
                for (int _i23 = 0; _i23 < _map22.size; ++_i23)
12963
                for (int _i28 = 0; _i28 < _map27.size; ++_i28)
13047
                {
12964
                {
13048
                  String _key24; // required
12965
                  String _key29; // required
13049
                  long _val25; // required
12966
                  long _val30; // required
13050
                  _key24 = iprot.readString();
12967
                  _key29 = iprot.readString();
13051
                  _val25 = iprot.readI64();
12968
                  _val30 = iprot.readI64();
13052
                  this.availability.put(_key24, _val25);
12969
                  this.availability.put(_key29, _val30);
13053
                }
12970
                }
13054
                iprot.readMapEnd();
12971
                iprot.readMapEnd();
13055
              }
12972
              }
13056
            } else { 
12973
            } else { 
13057
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
12974
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 13080... Line 12997...
13080
      }
12997
      }
13081
      if (this.availability != null) {
12998
      if (this.availability != null) {
13082
        oprot.writeFieldBegin(AVAILABILITY_FIELD_DESC);
12999
        oprot.writeFieldBegin(AVAILABILITY_FIELD_DESC);
13083
        {
13000
        {
13084
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, this.availability.size()));
13001
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, this.availability.size()));
13085
          for (Map.Entry<String, Long> _iter26 : this.availability.entrySet())
13002
          for (Map.Entry<String, Long> _iter31 : this.availability.entrySet())
13086
          {
13003
          {
13087
            oprot.writeString(_iter26.getKey());
13004
            oprot.writeString(_iter31.getKey());
13088
            oprot.writeI64(_iter26.getValue());
13005
            oprot.writeI64(_iter31.getValue());
13089
          }
13006
          }
13090
          oprot.writeMapEnd();
13007
          oprot.writeMapEnd();
13091
        }
13008
        }
13092
        oprot.writeFieldEnd();
13009
        oprot.writeFieldEnd();
13093
      }
13010
      }
Line 13848... Line 13765...
13848
            }
13765
            }
13849
            break;
13766
            break;
13850
          case 3: // AVAILABILITY
13767
          case 3: // AVAILABILITY
13851
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
13768
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
13852
              {
13769
              {
13853
                org.apache.thrift.protocol.TMap _map27 = iprot.readMapBegin();
13770
                org.apache.thrift.protocol.TMap _map32 = iprot.readMapBegin();
13854
                this.availability = new HashMap<String,Long>(2*_map27.size);
13771
                this.availability = new HashMap<String,Long>(2*_map32.size);
13855
                for (int _i28 = 0; _i28 < _map27.size; ++_i28)
13772
                for (int _i33 = 0; _i33 < _map32.size; ++_i33)
13856
                {
13773
                {
13857
                  String _key29; // required
13774
                  String _key34; // required
13858
                  long _val30; // required
13775
                  long _val35; // required
13859
                  _key29 = iprot.readString();
13776
                  _key34 = iprot.readString();
13860
                  _val30 = iprot.readI64();
13777
                  _val35 = iprot.readI64();
13861
                  this.availability.put(_key29, _val30);
13778
                  this.availability.put(_key34, _val35);
13862
                }
13779
                }
13863
                iprot.readMapEnd();
13780
                iprot.readMapEnd();
13864
              }
13781
              }
13865
            } else { 
13782
            } else { 
13866
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
13783
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 13889... Line 13806...
13889
      }
13806
      }
13890
      if (this.availability != null) {
13807
      if (this.availability != null) {
13891
        oprot.writeFieldBegin(AVAILABILITY_FIELD_DESC);
13808
        oprot.writeFieldBegin(AVAILABILITY_FIELD_DESC);
13892
        {
13809
        {
13893
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, this.availability.size()));
13810
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, this.availability.size()));
13894
          for (Map.Entry<String, Long> _iter31 : this.availability.entrySet())
13811
          for (Map.Entry<String, Long> _iter36 : this.availability.entrySet())
13895
          {
13812
          {
13896
            oprot.writeString(_iter31.getKey());
13813
            oprot.writeString(_iter36.getKey());
13897
            oprot.writeI64(_iter31.getValue());
13814
            oprot.writeI64(_iter36.getValue());
13898
          }
13815
          }
13899
          oprot.writeMapEnd();
13816
          oprot.writeMapEnd();
13900
        }
13817
        }
13901
        oprot.writeFieldEnd();
13818
        oprot.writeFieldEnd();
13902
      }
13819
      }
Line 18991... Line 18908...
18991
        }
18908
        }
18992
        switch (field.id) {
18909
        switch (field.id) {
18993
          case 0: // SUCCESS
18910
          case 0: // SUCCESS
18994
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18911
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18995
              {
18912
              {
18996
                org.apache.thrift.protocol.TList _list32 = iprot.readListBegin();
18913
                org.apache.thrift.protocol.TList _list37 = iprot.readListBegin();
18997
                this.success = new ArrayList<Item>(_list32.size);
18914
                this.success = new ArrayList<Item>(_list37.size);
18998
                for (int _i33 = 0; _i33 < _list32.size; ++_i33)
18915
                for (int _i38 = 0; _i38 < _list37.size; ++_i38)
18999
                {
18916
                {
19000
                  Item _elem34; // required
18917
                  Item _elem39; // required
19001
                  _elem34 = new Item();
18918
                  _elem39 = new Item();
19002
                  _elem34.read(iprot);
18919
                  _elem39.read(iprot);
19003
                  this.success.add(_elem34);
18920
                  this.success.add(_elem39);
19004
                }
18921
                }
19005
                iprot.readListEnd();
18922
                iprot.readListEnd();
19006
              }
18923
              }
19007
            } else { 
18924
            } else { 
19008
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18925
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 19030... Line 18947...
19030
 
18947
 
19031
      if (this.isSetSuccess()) {
18948
      if (this.isSetSuccess()) {
19032
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18949
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19033
        {
18950
        {
19034
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18951
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19035
          for (Item _iter35 : this.success)
18952
          for (Item _iter40 : this.success)
19036
          {
18953
          {
19037
            _iter35.write(oprot);
18954
            _iter40.write(oprot);
19038
          }
18955
          }
19039
          oprot.writeListEnd();
18956
          oprot.writeListEnd();
19040
        }
18957
        }
19041
        oprot.writeFieldEnd();
18958
        oprot.writeFieldEnd();
19042
      } else if (this.isSetCex()) {
18959
      } else if (this.isSetCex()) {
Line 19704... Line 19621...
19704
        }
19621
        }
19705
        switch (field.id) {
19622
        switch (field.id) {
19706
          case 0: // SUCCESS
19623
          case 0: // SUCCESS
19707
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19624
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19708
              {
19625
              {
19709
                org.apache.thrift.protocol.TList _list36 = iprot.readListBegin();
19626
                org.apache.thrift.protocol.TList _list41 = iprot.readListBegin();
19710
                this.success = new ArrayList<Item>(_list36.size);
19627
                this.success = new ArrayList<Item>(_list41.size);
19711
                for (int _i37 = 0; _i37 < _list36.size; ++_i37)
19628
                for (int _i42 = 0; _i42 < _list41.size; ++_i42)
19712
                {
19629
                {
19713
                  Item _elem38; // required
19630
                  Item _elem43; // required
19714
                  _elem38 = new Item();
19631
                  _elem43 = new Item();
19715
                  _elem38.read(iprot);
19632
                  _elem43.read(iprot);
19716
                  this.success.add(_elem38);
19633
                  this.success.add(_elem43);
19717
                }
19634
                }
19718
                iprot.readListEnd();
19635
                iprot.readListEnd();
19719
              }
19636
              }
19720
            } else { 
19637
            } else { 
19721
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
19638
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 19743... Line 19660...
19743
 
19660
 
19744
      if (this.isSetSuccess()) {
19661
      if (this.isSetSuccess()) {
19745
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19662
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19746
        {
19663
        {
19747
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19664
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19748
          for (Item _iter39 : this.success)
19665
          for (Item _iter44 : this.success)
19749
          {
19666
          {
19750
            _iter39.write(oprot);
19667
            _iter44.write(oprot);
19751
          }
19668
          }
19752
          oprot.writeListEnd();
19669
          oprot.writeListEnd();
19753
        }
19670
        }
19754
        oprot.writeFieldEnd();
19671
        oprot.writeFieldEnd();
19755
      } else if (this.isSetCex()) {
19672
      } else if (this.isSetCex()) {
Line 20429... Line 20346...
20429
        }
20346
        }
20430
        switch (field.id) {
20347
        switch (field.id) {
20431
          case 0: // SUCCESS
20348
          case 0: // SUCCESS
20432
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20349
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20433
              {
20350
              {
20434
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
20351
                org.apache.thrift.protocol.TList _list45 = iprot.readListBegin();
20435
                this.success = new ArrayList<Item>(_list40.size);
20352
                this.success = new ArrayList<Item>(_list45.size);
20436
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
20353
                for (int _i46 = 0; _i46 < _list45.size; ++_i46)
20437
                {
20354
                {
20438
                  Item _elem42; // required
20355
                  Item _elem47; // required
20439
                  _elem42 = new Item();
20356
                  _elem47 = new Item();
20440
                  _elem42.read(iprot);
20357
                  _elem47.read(iprot);
20441
                  this.success.add(_elem42);
20358
                  this.success.add(_elem47);
20442
                }
20359
                }
20443
                iprot.readListEnd();
20360
                iprot.readListEnd();
20444
              }
20361
              }
20445
            } else { 
20362
            } else { 
20446
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
20363
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 20468... Line 20385...
20468
 
20385
 
20469
      if (this.isSetSuccess()) {
20386
      if (this.isSetSuccess()) {
20470
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20387
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20471
        {
20388
        {
20472
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20389
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20473
          for (Item _iter43 : this.success)
20390
          for (Item _iter48 : this.success)
20474
          {
20391
          {
20475
            _iter43.write(oprot);
20392
            _iter48.write(oprot);
20476
          }
20393
          }
20477
          oprot.writeListEnd();
20394
          oprot.writeListEnd();
20478
        }
20395
        }
20479
        oprot.writeFieldEnd();
20396
        oprot.writeFieldEnd();
20480
      } else if (this.isSetCex()) {
20397
      } else if (this.isSetCex()) {
Line 20530... Line 20447...
20530
      }
20447
      }
20531
    }
20448
    }
20532
 
20449
 
20533
  }
20450
  }
20534
 
20451
 
20535
  public static class getItemInventory_args implements org.apache.thrift.TBase<getItemInventory_args, getItemInventory_args._Fields>, java.io.Serializable, Cloneable   {
-
 
20536
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemInventory_args");
-
 
20537
 
-
 
20538
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
20539
 
-
 
20540
    private long item_id; // required
-
 
20541
 
-
 
20542
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
20543
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
20544
      ITEM_ID((short)1, "item_id");
-
 
20545
 
-
 
20546
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
20547
 
-
 
20548
      static {
-
 
20549
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
20550
          byName.put(field.getFieldName(), field);
-
 
20551
        }
-
 
20552
      }
-
 
20553
 
-
 
20554
      /**
-
 
20555
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
20556
       */
-
 
20557
      public static _Fields findByThriftId(int fieldId) {
-
 
20558
        switch(fieldId) {
-
 
20559
          case 1: // ITEM_ID
-
 
20560
            return ITEM_ID;
-
 
20561
          default:
-
 
20562
            return null;
-
 
20563
        }
-
 
20564
      }
-
 
20565
 
-
 
20566
      /**
-
 
20567
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
20568
       * if it is not found.
-
 
20569
       */
-
 
20570
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
20571
        _Fields fields = findByThriftId(fieldId);
-
 
20572
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
20573
        return fields;
-
 
20574
      }
-
 
20575
 
-
 
20576
      /**
-
 
20577
       * Find the _Fields constant that matches name, or null if its not found.
-
 
20578
       */
-
 
20579
      public static _Fields findByName(String name) {
-
 
20580
        return byName.get(name);
-
 
20581
      }
-
 
20582
 
-
 
20583
      private final short _thriftId;
-
 
20584
      private final String _fieldName;
-
 
20585
 
-
 
20586
      _Fields(short thriftId, String fieldName) {
-
 
20587
        _thriftId = thriftId;
-
 
20588
        _fieldName = fieldName;
-
 
20589
      }
-
 
20590
 
-
 
20591
      public short getThriftFieldId() {
-
 
20592
        return _thriftId;
-
 
20593
      }
-
 
20594
 
-
 
20595
      public String getFieldName() {
-
 
20596
        return _fieldName;
-
 
20597
      }
-
 
20598
    }
-
 
20599
 
-
 
20600
    // isset id assignments
-
 
20601
    private static final int __ITEM_ID_ISSET_ID = 0;
-
 
20602
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
20603
 
-
 
20604
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
20605
    static {
-
 
20606
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
20607
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
20608
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
20609
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
20610
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getItemInventory_args.class, metaDataMap);
-
 
20611
    }
-
 
20612
 
-
 
20613
    public getItemInventory_args() {
-
 
20614
    }
-
 
20615
 
-
 
20616
    public getItemInventory_args(
-
 
20617
      long item_id)
-
 
20618
    {
-
 
20619
      this();
-
 
20620
      this.item_id = item_id;
-
 
20621
      setItem_idIsSet(true);
-
 
20622
    }
-
 
20623
 
-
 
20624
    /**
-
 
20625
     * Performs a deep copy on <i>other</i>.
-
 
20626
     */
-
 
20627
    public getItemInventory_args(getItemInventory_args other) {
-
 
20628
      __isset_bit_vector.clear();
-
 
20629
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
20630
      this.item_id = other.item_id;
-
 
20631
    }
-
 
20632
 
-
 
20633
    public getItemInventory_args deepCopy() {
-
 
20634
      return new getItemInventory_args(this);
-
 
20635
    }
-
 
20636
 
-
 
20637
    @Override
-
 
20638
    public void clear() {
-
 
20639
      setItem_idIsSet(false);
-
 
20640
      this.item_id = 0;
-
 
20641
    }
-
 
20642
 
-
 
20643
    public long getItem_id() {
-
 
20644
      return this.item_id;
-
 
20645
    }
-
 
20646
 
-
 
20647
    public void setItem_id(long item_id) {
-
 
20648
      this.item_id = item_id;
-
 
20649
      setItem_idIsSet(true);
-
 
20650
    }
-
 
20651
 
-
 
20652
    public void unsetItem_id() {
-
 
20653
      __isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
-
 
20654
    }
-
 
20655
 
-
 
20656
    /** Returns true if field item_id is set (has been assigned a value) and false otherwise */
-
 
20657
    public boolean isSetItem_id() {
-
 
20658
      return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
-
 
20659
    }
-
 
20660
 
-
 
20661
    public void setItem_idIsSet(boolean value) {
-
 
20662
      __isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
-
 
20663
    }
-
 
20664
 
-
 
20665
    public void setFieldValue(_Fields field, Object value) {
-
 
20666
      switch (field) {
-
 
20667
      case ITEM_ID:
-
 
20668
        if (value == null) {
-
 
20669
          unsetItem_id();
-
 
20670
        } else {
-
 
20671
          setItem_id((Long)value);
-
 
20672
        }
-
 
20673
        break;
-
 
20674
 
-
 
20675
      }
-
 
20676
    }
-
 
20677
 
-
 
20678
    public Object getFieldValue(_Fields field) {
-
 
20679
      switch (field) {
-
 
20680
      case ITEM_ID:
-
 
20681
        return Long.valueOf(getItem_id());
-
 
20682
 
-
 
20683
      }
-
 
20684
      throw new IllegalStateException();
-
 
20685
    }
-
 
20686
 
-
 
20687
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
20688
    public boolean isSet(_Fields field) {
-
 
20689
      if (field == null) {
-
 
20690
        throw new IllegalArgumentException();
-
 
20691
      }
-
 
20692
 
-
 
20693
      switch (field) {
-
 
20694
      case ITEM_ID:
-
 
20695
        return isSetItem_id();
-
 
20696
      }
-
 
20697
      throw new IllegalStateException();
-
 
20698
    }
-
 
20699
 
-
 
20700
    @Override
-
 
20701
    public boolean equals(Object that) {
-
 
20702
      if (that == null)
-
 
20703
        return false;
-
 
20704
      if (that instanceof getItemInventory_args)
-
 
20705
        return this.equals((getItemInventory_args)that);
-
 
20706
      return false;
-
 
20707
    }
-
 
20708
 
-
 
20709
    public boolean equals(getItemInventory_args that) {
-
 
20710
      if (that == null)
-
 
20711
        return false;
-
 
20712
 
-
 
20713
      boolean this_present_item_id = true;
-
 
20714
      boolean that_present_item_id = true;
-
 
20715
      if (this_present_item_id || that_present_item_id) {
-
 
20716
        if (!(this_present_item_id && that_present_item_id))
-
 
20717
          return false;
-
 
20718
        if (this.item_id != that.item_id)
-
 
20719
          return false;
-
 
20720
      }
-
 
20721
 
-
 
20722
      return true;
-
 
20723
    }
-
 
20724
 
-
 
20725
    @Override
-
 
20726
    public int hashCode() {
-
 
20727
      return 0;
-
 
20728
    }
-
 
20729
 
-
 
20730
    public int compareTo(getItemInventory_args other) {
-
 
20731
      if (!getClass().equals(other.getClass())) {
-
 
20732
        return getClass().getName().compareTo(other.getClass().getName());
-
 
20733
      }
-
 
20734
 
-
 
20735
      int lastComparison = 0;
-
 
20736
      getItemInventory_args typedOther = (getItemInventory_args)other;
-
 
20737
 
-
 
20738
      lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
-
 
20739
      if (lastComparison != 0) {
-
 
20740
        return lastComparison;
-
 
20741
      }
-
 
20742
      if (isSetItem_id()) {
-
 
20743
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
-
 
20744
        if (lastComparison != 0) {
-
 
20745
          return lastComparison;
-
 
20746
        }
-
 
20747
      }
-
 
20748
      return 0;
-
 
20749
    }
-
 
20750
 
-
 
20751
    public _Fields fieldForId(int fieldId) {
-
 
20752
      return _Fields.findByThriftId(fieldId);
-
 
20753
    }
-
 
20754
 
-
 
20755
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
20756
      org.apache.thrift.protocol.TField field;
-
 
20757
      iprot.readStructBegin();
-
 
20758
      while (true)
-
 
20759
      {
-
 
20760
        field = iprot.readFieldBegin();
-
 
20761
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
20762
          break;
-
 
20763
        }
-
 
20764
        switch (field.id) {
-
 
20765
          case 1: // ITEM_ID
-
 
20766
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
20767
              this.item_id = iprot.readI64();
-
 
20768
              setItem_idIsSet(true);
-
 
20769
            } else { 
-
 
20770
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
20771
            }
-
 
20772
            break;
-
 
20773
          default:
-
 
20774
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
20775
        }
-
 
20776
        iprot.readFieldEnd();
-
 
20777
      }
-
 
20778
      iprot.readStructEnd();
-
 
20779
      validate();
-
 
20780
    }
-
 
20781
 
-
 
20782
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
20783
      validate();
-
 
20784
 
-
 
20785
      oprot.writeStructBegin(STRUCT_DESC);
-
 
20786
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
20787
      oprot.writeI64(this.item_id);
-
 
20788
      oprot.writeFieldEnd();
-
 
20789
      oprot.writeFieldStop();
-
 
20790
      oprot.writeStructEnd();
-
 
20791
    }
-
 
20792
 
-
 
20793
    @Override
-
 
20794
    public String toString() {
-
 
20795
      StringBuilder sb = new StringBuilder("getItemInventory_args(");
-
 
20796
      boolean first = true;
-
 
20797
 
-
 
20798
      sb.append("item_id:");
-
 
20799
      sb.append(this.item_id);
-
 
20800
      first = false;
-
 
20801
      sb.append(")");
-
 
20802
      return sb.toString();
-
 
20803
    }
-
 
20804
 
-
 
20805
    public void validate() throws org.apache.thrift.TException {
-
 
20806
      // check for required fields
-
 
20807
    }
-
 
20808
 
-
 
20809
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
20810
      try {
-
 
20811
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
20812
      } catch (org.apache.thrift.TException te) {
-
 
20813
        throw new java.io.IOException(te);
-
 
20814
      }
-
 
20815
    }
-
 
20816
 
-
 
20817
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
20818
      try {
-
 
20819
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
20820
        __isset_bit_vector = new BitSet(1);
-
 
20821
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
20822
      } catch (org.apache.thrift.TException te) {
-
 
20823
        throw new java.io.IOException(te);
-
 
20824
      }
-
 
20825
    }
-
 
20826
 
-
 
20827
  }
-
 
20828
 
-
 
20829
  public static class getItemInventory_result implements org.apache.thrift.TBase<getItemInventory_result, getItemInventory_result._Fields>, java.io.Serializable, Cloneable   {
-
 
20830
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemInventory_result");
-
 
20831
 
-
 
20832
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
20833
    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);
-
 
20834
 
-
 
20835
    private ItemInventory success; // required
-
 
20836
    private InventoryServiceException cex; // required
-
 
20837
 
-
 
20838
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
20839
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
20840
      SUCCESS((short)0, "success"),
-
 
20841
      CEX((short)1, "cex");
-
 
20842
 
-
 
20843
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
20844
 
-
 
20845
      static {
-
 
20846
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
20847
          byName.put(field.getFieldName(), field);
-
 
20848
        }
-
 
20849
      }
-
 
20850
 
-
 
20851
      /**
-
 
20852
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
20853
       */
-
 
20854
      public static _Fields findByThriftId(int fieldId) {
-
 
20855
        switch(fieldId) {
-
 
20856
          case 0: // SUCCESS
-
 
20857
            return SUCCESS;
-
 
20858
          case 1: // CEX
-
 
20859
            return CEX;
-
 
20860
          default:
-
 
20861
            return null;
-
 
20862
        }
-
 
20863
      }
-
 
20864
 
-
 
20865
      /**
-
 
20866
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
20867
       * if it is not found.
-
 
20868
       */
-
 
20869
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
20870
        _Fields fields = findByThriftId(fieldId);
-
 
20871
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
20872
        return fields;
-
 
20873
      }
-
 
20874
 
-
 
20875
      /**
-
 
20876
       * Find the _Fields constant that matches name, or null if its not found.
-
 
20877
       */
-
 
20878
      public static _Fields findByName(String name) {
-
 
20879
        return byName.get(name);
-
 
20880
      }
-
 
20881
 
-
 
20882
      private final short _thriftId;
-
 
20883
      private final String _fieldName;
-
 
20884
 
-
 
20885
      _Fields(short thriftId, String fieldName) {
-
 
20886
        _thriftId = thriftId;
-
 
20887
        _fieldName = fieldName;
-
 
20888
      }
-
 
20889
 
-
 
20890
      public short getThriftFieldId() {
-
 
20891
        return _thriftId;
-
 
20892
      }
-
 
20893
 
-
 
20894
      public String getFieldName() {
-
 
20895
        return _fieldName;
-
 
20896
      }
-
 
20897
    }
-
 
20898
 
-
 
20899
    // isset id assignments
-
 
20900
 
-
 
20901
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
20902
    static {
-
 
20903
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
20904
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
20905
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ItemInventory.class)));
-
 
20906
      tmpMap.put(_Fields.CEX, new org.apache.thrift.meta_data.FieldMetaData("cex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
20907
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
20908
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
20909
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getItemInventory_result.class, metaDataMap);
-
 
20910
    }
-
 
20911
 
-
 
20912
    public getItemInventory_result() {
-
 
20913
    }
-
 
20914
 
-
 
20915
    public getItemInventory_result(
-
 
20916
      ItemInventory success,
-
 
20917
      InventoryServiceException cex)
-
 
20918
    {
-
 
20919
      this();
-
 
20920
      this.success = success;
-
 
20921
      this.cex = cex;
-
 
20922
    }
-
 
20923
 
-
 
20924
    /**
-
 
20925
     * Performs a deep copy on <i>other</i>.
-
 
20926
     */
-
 
20927
    public getItemInventory_result(getItemInventory_result other) {
-
 
20928
      if (other.isSetSuccess()) {
-
 
20929
        this.success = new ItemInventory(other.success);
-
 
20930
      }
-
 
20931
      if (other.isSetCex()) {
-
 
20932
        this.cex = new InventoryServiceException(other.cex);
-
 
20933
      }
-
 
20934
    }
-
 
20935
 
-
 
20936
    public getItemInventory_result deepCopy() {
-
 
20937
      return new getItemInventory_result(this);
-
 
20938
    }
-
 
20939
 
-
 
20940
    @Override
-
 
20941
    public void clear() {
-
 
20942
      this.success = null;
-
 
20943
      this.cex = null;
-
 
20944
    }
-
 
20945
 
-
 
20946
    public ItemInventory getSuccess() {
-
 
20947
      return this.success;
-
 
20948
    }
-
 
20949
 
-
 
20950
    public void setSuccess(ItemInventory success) {
-
 
20951
      this.success = success;
-
 
20952
    }
-
 
20953
 
-
 
20954
    public void unsetSuccess() {
-
 
20955
      this.success = null;
-
 
20956
    }
-
 
20957
 
-
 
20958
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
20959
    public boolean isSetSuccess() {
-
 
20960
      return this.success != null;
-
 
20961
    }
-
 
20962
 
-
 
20963
    public void setSuccessIsSet(boolean value) {
-
 
20964
      if (!value) {
-
 
20965
        this.success = null;
-
 
20966
      }
-
 
20967
    }
-
 
20968
 
-
 
20969
    public InventoryServiceException getCex() {
-
 
20970
      return this.cex;
-
 
20971
    }
-
 
20972
 
-
 
20973
    public void setCex(InventoryServiceException cex) {
-
 
20974
      this.cex = cex;
-
 
20975
    }
-
 
20976
 
-
 
20977
    public void unsetCex() {
-
 
20978
      this.cex = null;
-
 
20979
    }
-
 
20980
 
-
 
20981
    /** Returns true if field cex is set (has been assigned a value) and false otherwise */
-
 
20982
    public boolean isSetCex() {
-
 
20983
      return this.cex != null;
-
 
20984
    }
-
 
20985
 
-
 
20986
    public void setCexIsSet(boolean value) {
-
 
20987
      if (!value) {
-
 
20988
        this.cex = null;
-
 
20989
      }
-
 
20990
    }
-
 
20991
 
-
 
20992
    public void setFieldValue(_Fields field, Object value) {
-
 
20993
      switch (field) {
-
 
20994
      case SUCCESS:
-
 
20995
        if (value == null) {
-
 
20996
          unsetSuccess();
-
 
20997
        } else {
-
 
20998
          setSuccess((ItemInventory)value);
-
 
20999
        }
-
 
21000
        break;
-
 
21001
 
-
 
21002
      case CEX:
-
 
21003
        if (value == null) {
-
 
21004
          unsetCex();
-
 
21005
        } else {
-
 
21006
          setCex((InventoryServiceException)value);
-
 
21007
        }
-
 
21008
        break;
-
 
21009
 
-
 
21010
      }
-
 
21011
    }
-
 
21012
 
-
 
21013
    public Object getFieldValue(_Fields field) {
-
 
21014
      switch (field) {
-
 
21015
      case SUCCESS:
-
 
21016
        return getSuccess();
-
 
21017
 
-
 
21018
      case CEX:
-
 
21019
        return getCex();
-
 
21020
 
-
 
21021
      }
-
 
21022
      throw new IllegalStateException();
-
 
21023
    }
-
 
21024
 
-
 
21025
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
21026
    public boolean isSet(_Fields field) {
-
 
21027
      if (field == null) {
-
 
21028
        throw new IllegalArgumentException();
-
 
21029
      }
-
 
21030
 
-
 
21031
      switch (field) {
-
 
21032
      case SUCCESS:
-
 
21033
        return isSetSuccess();
-
 
21034
      case CEX:
-
 
21035
        return isSetCex();
-
 
21036
      }
-
 
21037
      throw new IllegalStateException();
-
 
21038
    }
-
 
21039
 
-
 
21040
    @Override
-
 
21041
    public boolean equals(Object that) {
-
 
21042
      if (that == null)
-
 
21043
        return false;
-
 
21044
      if (that instanceof getItemInventory_result)
-
 
21045
        return this.equals((getItemInventory_result)that);
-
 
21046
      return false;
-
 
21047
    }
-
 
21048
 
-
 
21049
    public boolean equals(getItemInventory_result that) {
-
 
21050
      if (that == null)
-
 
21051
        return false;
-
 
21052
 
-
 
21053
      boolean this_present_success = true && this.isSetSuccess();
-
 
21054
      boolean that_present_success = true && that.isSetSuccess();
-
 
21055
      if (this_present_success || that_present_success) {
-
 
21056
        if (!(this_present_success && that_present_success))
-
 
21057
          return false;
-
 
21058
        if (!this.success.equals(that.success))
-
 
21059
          return false;
-
 
21060
      }
-
 
21061
 
-
 
21062
      boolean this_present_cex = true && this.isSetCex();
-
 
21063
      boolean that_present_cex = true && that.isSetCex();
-
 
21064
      if (this_present_cex || that_present_cex) {
-
 
21065
        if (!(this_present_cex && that_present_cex))
-
 
21066
          return false;
-
 
21067
        if (!this.cex.equals(that.cex))
-
 
21068
          return false;
-
 
21069
      }
-
 
21070
 
-
 
21071
      return true;
-
 
21072
    }
-
 
21073
 
-
 
21074
    @Override
-
 
21075
    public int hashCode() {
-
 
21076
      return 0;
-
 
21077
    }
-
 
21078
 
-
 
21079
    public int compareTo(getItemInventory_result other) {
-
 
21080
      if (!getClass().equals(other.getClass())) {
-
 
21081
        return getClass().getName().compareTo(other.getClass().getName());
-
 
21082
      }
-
 
21083
 
-
 
21084
      int lastComparison = 0;
-
 
21085
      getItemInventory_result typedOther = (getItemInventory_result)other;
-
 
21086
 
-
 
21087
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
21088
      if (lastComparison != 0) {
-
 
21089
        return lastComparison;
-
 
21090
      }
-
 
21091
      if (isSetSuccess()) {
-
 
21092
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
21093
        if (lastComparison != 0) {
-
 
21094
          return lastComparison;
-
 
21095
        }
-
 
21096
      }
-
 
21097
      lastComparison = Boolean.valueOf(isSetCex()).compareTo(typedOther.isSetCex());
-
 
21098
      if (lastComparison != 0) {
-
 
21099
        return lastComparison;
-
 
21100
      }
-
 
21101
      if (isSetCex()) {
-
 
21102
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cex, typedOther.cex);
-
 
21103
        if (lastComparison != 0) {
-
 
21104
          return lastComparison;
-
 
21105
        }
-
 
21106
      }
-
 
21107
      return 0;
-
 
21108
    }
-
 
21109
 
-
 
21110
    public _Fields fieldForId(int fieldId) {
-
 
21111
      return _Fields.findByThriftId(fieldId);
-
 
21112
    }
-
 
21113
 
-
 
21114
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
21115
      org.apache.thrift.protocol.TField field;
-
 
21116
      iprot.readStructBegin();
-
 
21117
      while (true)
-
 
21118
      {
-
 
21119
        field = iprot.readFieldBegin();
-
 
21120
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
21121
          break;
-
 
21122
        }
-
 
21123
        switch (field.id) {
-
 
21124
          case 0: // SUCCESS
-
 
21125
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
21126
              this.success = new ItemInventory();
-
 
21127
              this.success.read(iprot);
-
 
21128
            } else { 
-
 
21129
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
21130
            }
-
 
21131
            break;
-
 
21132
          case 1: // CEX
-
 
21133
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
21134
              this.cex = new InventoryServiceException();
-
 
21135
              this.cex.read(iprot);
-
 
21136
            } else { 
-
 
21137
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
21138
            }
-
 
21139
            break;
-
 
21140
          default:
-
 
21141
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
21142
        }
-
 
21143
        iprot.readFieldEnd();
-
 
21144
      }
-
 
21145
      iprot.readStructEnd();
-
 
21146
      validate();
-
 
21147
    }
-
 
21148
 
-
 
21149
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
21150
      oprot.writeStructBegin(STRUCT_DESC);
-
 
21151
 
-
 
21152
      if (this.isSetSuccess()) {
-
 
21153
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
21154
        this.success.write(oprot);
-
 
21155
        oprot.writeFieldEnd();
-
 
21156
      } else if (this.isSetCex()) {
-
 
21157
        oprot.writeFieldBegin(CEX_FIELD_DESC);
-
 
21158
        this.cex.write(oprot);
-
 
21159
        oprot.writeFieldEnd();
-
 
21160
      }
-
 
21161
      oprot.writeFieldStop();
-
 
21162
      oprot.writeStructEnd();
-
 
21163
    }
-
 
21164
 
-
 
21165
    @Override
-
 
21166
    public String toString() {
-
 
21167
      StringBuilder sb = new StringBuilder("getItemInventory_result(");
-
 
21168
      boolean first = true;
-
 
21169
 
-
 
21170
      sb.append("success:");
-
 
21171
      if (this.success == null) {
-
 
21172
        sb.append("null");
-
 
21173
      } else {
-
 
21174
        sb.append(this.success);
-
 
21175
      }
-
 
21176
      first = false;
-
 
21177
      if (!first) sb.append(", ");
-
 
21178
      sb.append("cex:");
-
 
21179
      if (this.cex == null) {
-
 
21180
        sb.append("null");
-
 
21181
      } else {
-
 
21182
        sb.append(this.cex);
-
 
21183
      }
-
 
21184
      first = false;
-
 
21185
      sb.append(")");
-
 
21186
      return sb.toString();
-
 
21187
    }
-
 
21188
 
-
 
21189
    public void validate() throws org.apache.thrift.TException {
-
 
21190
      // check for required fields
-
 
21191
    }
-
 
21192
 
-
 
21193
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
21194
      try {
-
 
21195
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
21196
      } catch (org.apache.thrift.TException te) {
-
 
21197
        throw new java.io.IOException(te);
-
 
21198
      }
-
 
21199
    }
-
 
21200
 
-
 
21201
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
21202
      try {
-
 
21203
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
21204
      } catch (org.apache.thrift.TException te) {
-
 
21205
        throw new java.io.IOException(te);
-
 
21206
      }
-
 
21207
    }
-
 
21208
 
-
 
21209
  }
-
 
21210
 
-
 
21211
  public static class getItemInventoryByItemId_args implements org.apache.thrift.TBase<getItemInventoryByItemId_args, getItemInventoryByItemId_args._Fields>, java.io.Serializable, Cloneable   {
20452
  public static class getItemInventoryByItemId_args implements org.apache.thrift.TBase<getItemInventoryByItemId_args, getItemInventoryByItemId_args._Fields>, java.io.Serializable, Cloneable   {
21212
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemInventoryByItemId_args");
20453
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemInventoryByItemId_args");
21213
 
20454
 
21214
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
20455
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
21215
 
20456
 
Line 24355... Line 23596...
24355
        }
23596
        }
24356
        switch (field.id) {
23597
        switch (field.id) {
24357
          case 0: // SUCCESS
23598
          case 0: // SUCCESS
24358
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23599
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24359
              {
23600
              {
24360
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
23601
                org.apache.thrift.protocol.TList _list49 = iprot.readListBegin();
24361
                this.success = new ArrayList<Item>(_list44.size);
23602
                this.success = new ArrayList<Item>(_list49.size);
24362
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
23603
                for (int _i50 = 0; _i50 < _list49.size; ++_i50)
24363
                {
23604
                {
24364
                  Item _elem46; // required
23605
                  Item _elem51; // required
24365
                  _elem46 = new Item();
23606
                  _elem51 = new Item();
24366
                  _elem46.read(iprot);
23607
                  _elem51.read(iprot);
24367
                  this.success.add(_elem46);
23608
                  this.success.add(_elem51);
24368
                }
23609
                }
24369
                iprot.readListEnd();
23610
                iprot.readListEnd();
24370
              }
23611
              }
24371
            } else { 
23612
            } else { 
24372
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
23613
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 24394... Line 23635...
24394
 
23635
 
24395
      if (this.isSetSuccess()) {
23636
      if (this.isSetSuccess()) {
24396
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23637
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24397
        {
23638
        {
24398
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
23639
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24399
          for (Item _iter47 : this.success)
23640
          for (Item _iter52 : this.success)
24400
          {
23641
          {
24401
            _iter47.write(oprot);
23642
            _iter52.write(oprot);
24402
          }
23643
          }
24403
          oprot.writeListEnd();
23644
          oprot.writeListEnd();
24404
        }
23645
        }
24405
        oprot.writeFieldEnd();
23646
        oprot.writeFieldEnd();
24406
      } else if (this.isSetCex()) {
23647
      } else if (this.isSetCex()) {
Line 25249... Line 24490...
25249
        }
24490
        }
25250
        switch (field.id) {
24491
        switch (field.id) {
25251
          case 0: // SUCCESS
24492
          case 0: // SUCCESS
25252
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24493
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25253
              {
24494
              {
25254
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
24495
                org.apache.thrift.protocol.TList _list53 = iprot.readListBegin();
25255
                this.success = new ArrayList<Item>(_list48.size);
24496
                this.success = new ArrayList<Item>(_list53.size);
25256
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
24497
                for (int _i54 = 0; _i54 < _list53.size; ++_i54)
25257
                {
24498
                {
25258
                  Item _elem50; // required
24499
                  Item _elem55; // required
25259
                  _elem50 = new Item();
24500
                  _elem55 = new Item();
25260
                  _elem50.read(iprot);
24501
                  _elem55.read(iprot);
25261
                  this.success.add(_elem50);
24502
                  this.success.add(_elem55);
25262
                }
24503
                }
25263
                iprot.readListEnd();
24504
                iprot.readListEnd();
25264
              }
24505
              }
25265
            } else { 
24506
            } else { 
25266
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
24507
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25288... Line 24529...
25288
 
24529
 
25289
      if (this.isSetSuccess()) {
24530
      if (this.isSetSuccess()) {
25290
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24531
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25291
        {
24532
        {
25292
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24533
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25293
          for (Item _iter51 : this.success)
24534
          for (Item _iter56 : this.success)
25294
          {
24535
          {
25295
            _iter51.write(oprot);
24536
            _iter56.write(oprot);
25296
          }
24537
          }
25297
          oprot.writeListEnd();
24538
          oprot.writeListEnd();
25298
        }
24539
        }
25299
        oprot.writeFieldEnd();
24540
        oprot.writeFieldEnd();
25300
      } else if (this.isSetCex()) {
24541
      } else if (this.isSetCex()) {
Line 26730... Line 25971...
26730
        }
25971
        }
26731
        switch (field.id) {
25972
        switch (field.id) {
26732
          case 0: // SUCCESS
25973
          case 0: // SUCCESS
26733
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25974
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26734
              {
25975
              {
26735
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
25976
                org.apache.thrift.protocol.TList _list57 = iprot.readListBegin();
26736
                this.success = new ArrayList<Long>(_list52.size);
25977
                this.success = new ArrayList<Long>(_list57.size);
26737
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
25978
                for (int _i58 = 0; _i58 < _list57.size; ++_i58)
26738
                {
25979
                {
26739
                  long _elem54; // required
25980
                  long _elem59; // required
26740
                  _elem54 = iprot.readI64();
25981
                  _elem59 = iprot.readI64();
26741
                  this.success.add(_elem54);
25982
                  this.success.add(_elem59);
26742
                }
25983
                }
26743
                iprot.readListEnd();
25984
                iprot.readListEnd();
26744
              }
25985
              }
26745
            } else { 
25986
            } else { 
26746
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25987
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 26768... Line 26009...
26768
 
26009
 
26769
      if (this.isSetSuccess()) {
26010
      if (this.isSetSuccess()) {
26770
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26011
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26771
        {
26012
        {
26772
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
26013
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
26773
          for (long _iter55 : this.success)
26014
          for (long _iter60 : this.success)
26774
          {
26015
          {
26775
            oprot.writeI64(_iter55);
26016
            oprot.writeI64(_iter60);
26776
          }
26017
          }
26777
          oprot.writeListEnd();
26018
          oprot.writeListEnd();
26778
        }
26019
        }
26779
        oprot.writeFieldEnd();
26020
        oprot.writeFieldEnd();
26780
      } else if (this.isSetIsex()) {
26021
      } else if (this.isSetIsex()) {
Line 27440... Line 26681...
27440
        }
26681
        }
27441
        switch (field.id) {
26682
        switch (field.id) {
27442
          case 0: // SUCCESS
26683
          case 0: // SUCCESS
27443
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26684
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27444
              {
26685
              {
27445
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
26686
                org.apache.thrift.protocol.TList _list61 = iprot.readListBegin();
27446
                this.success = new ArrayList<Warehouse>(_list56.size);
26687
                this.success = new ArrayList<Warehouse>(_list61.size);
27447
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
26688
                for (int _i62 = 0; _i62 < _list61.size; ++_i62)
27448
                {
26689
                {
27449
                  Warehouse _elem58; // required
26690
                  Warehouse _elem63; // required
27450
                  _elem58 = new Warehouse();
26691
                  _elem63 = new Warehouse();
27451
                  _elem58.read(iprot);
26692
                  _elem63.read(iprot);
27452
                  this.success.add(_elem58);
26693
                  this.success.add(_elem63);
27453
                }
26694
                }
27454
                iprot.readListEnd();
26695
                iprot.readListEnd();
27455
              }
26696
              }
27456
            } else { 
26697
            } else { 
27457
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26698
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 27479... Line 26720...
27479
 
26720
 
27480
      if (this.isSetSuccess()) {
26721
      if (this.isSetSuccess()) {
27481
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26722
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27482
        {
26723
        {
27483
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26724
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
27484
          for (Warehouse _iter59 : this.success)
26725
          for (Warehouse _iter64 : this.success)
27485
          {
26726
          {
27486
            _iter59.write(oprot);
26727
            _iter64.write(oprot);
27487
          }
26728
          }
27488
          oprot.writeListEnd();
26729
          oprot.writeListEnd();
27489
        }
26730
        }
27490
        oprot.writeFieldEnd();
26731
        oprot.writeFieldEnd();
27491
      } else if (this.isSetCex()) {
26732
      } else if (this.isSetCex()) {
Line 28829... Line 28070...
28829
        }
28070
        }
28830
        switch (field.id) {
28071
        switch (field.id) {
28831
          case 0: // SUCCESS
28072
          case 0: // SUCCESS
28832
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28073
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28833
              {
28074
              {
28834
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
28075
                org.apache.thrift.protocol.TList _list65 = iprot.readListBegin();
28835
                this.success = new ArrayList<Warehouse>(_list60.size);
28076
                this.success = new ArrayList<Warehouse>(_list65.size);
28836
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
28077
                for (int _i66 = 0; _i66 < _list65.size; ++_i66)
28837
                {
28078
                {
28838
                  Warehouse _elem62; // required
28079
                  Warehouse _elem67; // required
28839
                  _elem62 = new Warehouse();
28080
                  _elem67 = new Warehouse();
28840
                  _elem62.read(iprot);
28081
                  _elem67.read(iprot);
28841
                  this.success.add(_elem62);
28082
                  this.success.add(_elem67);
28842
                }
28083
                }
28843
                iprot.readListEnd();
28084
                iprot.readListEnd();
28844
              }
28085
              }
28845
            } else { 
28086
            } else { 
28846
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28087
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 28868... Line 28109...
28868
 
28109
 
28869
      if (this.isSetSuccess()) {
28110
      if (this.isSetSuccess()) {
28870
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28111
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28871
        {
28112
        {
28872
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28113
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28873
          for (Warehouse _iter63 : this.success)
28114
          for (Warehouse _iter68 : this.success)
28874
          {
28115
          {
28875
            _iter63.write(oprot);
28116
            _iter68.write(oprot);
28876
          }
28117
          }
28877
          oprot.writeListEnd();
28118
          oprot.writeListEnd();
28878
        }
28119
        }
28879
        oprot.writeFieldEnd();
28120
        oprot.writeFieldEnd();
28880
      } else if (this.isSetCex()) {
28121
      } else if (this.isSetCex()) {
Line 29542... Line 28783...
29542
        }
28783
        }
29543
        switch (field.id) {
28784
        switch (field.id) {
29544
          case 0: // SUCCESS
28785
          case 0: // SUCCESS
29545
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28786
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
29546
              {
28787
              {
29547
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
28788
                org.apache.thrift.protocol.TList _list69 = iprot.readListBegin();
29548
                this.success = new ArrayList<Item>(_list64.size);
28789
                this.success = new ArrayList<Item>(_list69.size);
29549
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
28790
                for (int _i70 = 0; _i70 < _list69.size; ++_i70)
29550
                {
28791
                {
29551
                  Item _elem66; // required
28792
                  Item _elem71; // required
29552
                  _elem66 = new Item();
28793
                  _elem71 = new Item();
29553
                  _elem66.read(iprot);
28794
                  _elem71.read(iprot);
29554
                  this.success.add(_elem66);
28795
                  this.success.add(_elem71);
29555
                }
28796
                }
29556
                iprot.readListEnd();
28797
                iprot.readListEnd();
29557
              }
28798
              }
29558
            } else { 
28799
            } else { 
29559
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28800
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 29581... Line 28822...
29581
 
28822
 
29582
      if (this.isSetSuccess()) {
28823
      if (this.isSetSuccess()) {
29583
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28824
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29584
        {
28825
        {
29585
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28826
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
29586
          for (Item _iter67 : this.success)
28827
          for (Item _iter72 : this.success)
29587
          {
28828
          {
29588
            _iter67.write(oprot);
28829
            _iter72.write(oprot);
29589
          }
28830
          }
29590
          oprot.writeListEnd();
28831
          oprot.writeListEnd();
29591
        }
28832
        }
29592
        oprot.writeFieldEnd();
28833
        oprot.writeFieldEnd();
29593
      } else if (this.isSetCex()) {
28834
      } else if (this.isSetCex()) {
Line 31839... Line 31080...
31839
        }
31080
        }
31840
        switch (field.id) {
31081
        switch (field.id) {
31841
          case 0: // SUCCESS
31082
          case 0: // SUCCESS
31842
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31083
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31843
              {
31084
              {
31844
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
31085
                org.apache.thrift.protocol.TList _list73 = iprot.readListBegin();
31845
                this.success = new ArrayList<Item>(_list68.size);
31086
                this.success = new ArrayList<Item>(_list73.size);
31846
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
31087
                for (int _i74 = 0; _i74 < _list73.size; ++_i74)
31847
                {
31088
                {
31848
                  Item _elem70; // required
31089
                  Item _elem75; // required
31849
                  _elem70 = new Item();
31090
                  _elem75 = new Item();
31850
                  _elem70.read(iprot);
31091
                  _elem75.read(iprot);
31851
                  this.success.add(_elem70);
31092
                  this.success.add(_elem75);
31852
                }
31093
                }
31853
                iprot.readListEnd();
31094
                iprot.readListEnd();
31854
              }
31095
              }
31855
            } else { 
31096
            } else { 
31856
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
31097
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31878... Line 31119...
31878
 
31119
 
31879
      if (this.isSetSuccess()) {
31120
      if (this.isSetSuccess()) {
31880
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31121
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31881
        {
31122
        {
31882
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31123
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31883
          for (Item _iter71 : this.success)
31124
          for (Item _iter76 : this.success)
31884
          {
31125
          {
31885
            _iter71.write(oprot);
31126
            _iter76.write(oprot);
31886
          }
31127
          }
31887
          oprot.writeListEnd();
31128
          oprot.writeListEnd();
31888
        }
31129
        }
31889
        oprot.writeFieldEnd();
31130
        oprot.writeFieldEnd();
31890
      } else if (this.isSetIsex()) {
31131
      } else if (this.isSetIsex()) {
Line 32806... Line 32047...
32806
        }
32047
        }
32807
        switch (field.id) {
32048
        switch (field.id) {
32808
          case 0: // SUCCESS
32049
          case 0: // SUCCESS
32809
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32050
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32810
              {
32051
              {
32811
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
32052
                org.apache.thrift.protocol.TList _list77 = iprot.readListBegin();
32812
                this.success = new ArrayList<Long>(_list72.size);
32053
                this.success = new ArrayList<Long>(_list77.size);
32813
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
32054
                for (int _i78 = 0; _i78 < _list77.size; ++_i78)
32814
                {
32055
                {
32815
                  long _elem74; // required
32056
                  long _elem79; // required
32816
                  _elem74 = iprot.readI64();
32057
                  _elem79 = iprot.readI64();
32817
                  this.success.add(_elem74);
32058
                  this.success.add(_elem79);
32818
                }
32059
                }
32819
                iprot.readListEnd();
32060
                iprot.readListEnd();
32820
              }
32061
              }
32821
            } else { 
32062
            } else { 
32822
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32063
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32844... Line 32085...
32844
 
32085
 
32845
      if (this.isSetSuccess()) {
32086
      if (this.isSetSuccess()) {
32846
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32087
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32847
        {
32088
        {
32848
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32089
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32849
          for (long _iter75 : this.success)
32090
          for (long _iter80 : this.success)
32850
          {
32091
          {
32851
            oprot.writeI64(_iter75);
32092
            oprot.writeI64(_iter80);
32852
          }
32093
          }
32853
          oprot.writeListEnd();
32094
          oprot.writeListEnd();
32854
        }
32095
        }
32855
        oprot.writeFieldEnd();
32096
        oprot.writeFieldEnd();
32856
      } else if (this.isSetCex()) {
32097
      } else if (this.isSetCex()) {
Line 34005... Line 33246...
34005
        }
33246
        }
34006
        switch (field.id) {
33247
        switch (field.id) {
34007
          case 0: // SUCCESS
33248
          case 0: // SUCCESS
34008
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33249
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34009
              {
33250
              {
34010
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
33251
                org.apache.thrift.protocol.TList _list81 = iprot.readListBegin();
34011
                this.success = new ArrayList<Item>(_list76.size);
33252
                this.success = new ArrayList<Item>(_list81.size);
34012
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
33253
                for (int _i82 = 0; _i82 < _list81.size; ++_i82)
34013
                {
33254
                {
34014
                  Item _elem78; // required
33255
                  Item _elem83; // required
34015
                  _elem78 = new Item();
33256
                  _elem83 = new Item();
34016
                  _elem78.read(iprot);
33257
                  _elem83.read(iprot);
34017
                  this.success.add(_elem78);
33258
                  this.success.add(_elem83);
34018
                }
33259
                }
34019
                iprot.readListEnd();
33260
                iprot.readListEnd();
34020
              }
33261
              }
34021
            } else { 
33262
            } else { 
34022
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33263
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34044... Line 33285...
34044
 
33285
 
34045
      if (this.isSetSuccess()) {
33286
      if (this.isSetSuccess()) {
34046
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33287
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34047
        {
33288
        {
34048
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33289
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34049
          for (Item _iter79 : this.success)
33290
          for (Item _iter84 : this.success)
34050
          {
33291
          {
34051
            _iter79.write(oprot);
33292
            _iter84.write(oprot);
34052
          }
33293
          }
34053
          oprot.writeListEnd();
33294
          oprot.writeListEnd();
34054
        }
33295
        }
34055
        oprot.writeFieldEnd();
33296
        oprot.writeFieldEnd();
34056
      } else if (this.isSetIsex()) {
33297
      } else if (this.isSetIsex()) {
Line 34972... Line 34213...
34972
        }
34213
        }
34973
        switch (field.id) {
34214
        switch (field.id) {
34974
          case 0: // SUCCESS
34215
          case 0: // SUCCESS
34975
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34216
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34976
              {
34217
              {
34977
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
34218
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
34978
                this.success = new ArrayList<Long>(_list80.size);
34219
                this.success = new ArrayList<Long>(_list85.size);
34979
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
34220
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
34980
                {
34221
                {
34981
                  long _elem82; // required
34222
                  long _elem87; // required
34982
                  _elem82 = iprot.readI64();
34223
                  _elem87 = iprot.readI64();
34983
                  this.success.add(_elem82);
34224
                  this.success.add(_elem87);
34984
                }
34225
                }
34985
                iprot.readListEnd();
34226
                iprot.readListEnd();
34986
              }
34227
              }
34987
            } else { 
34228
            } else { 
34988
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34229
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35010... Line 34251...
35010
 
34251
 
35011
      if (this.isSetSuccess()) {
34252
      if (this.isSetSuccess()) {
35012
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34253
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35013
        {
34254
        {
35014
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
34255
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
35015
          for (long _iter83 : this.success)
34256
          for (long _iter88 : this.success)
35016
          {
34257
          {
35017
            oprot.writeI64(_iter83);
34258
            oprot.writeI64(_iter88);
35018
          }
34259
          }
35019
          oprot.writeListEnd();
34260
          oprot.writeListEnd();
35020
        }
34261
        }
35021
        oprot.writeFieldEnd();
34262
        oprot.writeFieldEnd();
35022
      } else if (this.isSetCex()) {
34263
      } else if (this.isSetCex()) {
Line 36171... Line 35412...
36171
        }
35412
        }
36172
        switch (field.id) {
35413
        switch (field.id) {
36173
          case 0: // SUCCESS
35414
          case 0: // SUCCESS
36174
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35415
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36175
              {
35416
              {
36176
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
35417
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
36177
                this.success = new ArrayList<Item>(_list84.size);
35418
                this.success = new ArrayList<Item>(_list89.size);
36178
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
35419
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
36179
                {
35420
                {
36180
                  Item _elem86; // required
35421
                  Item _elem91; // required
36181
                  _elem86 = new Item();
35422
                  _elem91 = new Item();
36182
                  _elem86.read(iprot);
35423
                  _elem91.read(iprot);
36183
                  this.success.add(_elem86);
35424
                  this.success.add(_elem91);
36184
                }
35425
                }
36185
                iprot.readListEnd();
35426
                iprot.readListEnd();
36186
              }
35427
              }
36187
            } else { 
35428
            } else { 
36188
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35429
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36210... Line 35451...
36210
 
35451
 
36211
      if (this.isSetSuccess()) {
35452
      if (this.isSetSuccess()) {
36212
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35453
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36213
        {
35454
        {
36214
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
35455
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36215
          for (Item _iter87 : this.success)
35456
          for (Item _iter92 : this.success)
36216
          {
35457
          {
36217
            _iter87.write(oprot);
35458
            _iter92.write(oprot);
36218
          }
35459
          }
36219
          oprot.writeListEnd();
35460
          oprot.writeListEnd();
36220
        }
35461
        }
36221
        oprot.writeFieldEnd();
35462
        oprot.writeFieldEnd();
36222
      } else if (this.isSetIsex()) {
35463
      } else if (this.isSetIsex()) {
Line 36752... Line 35993...
36752
            }
35993
            }
36753
            break;
35994
            break;
36754
          case 4: // CATEGORIES
35995
          case 4: // CATEGORIES
36755
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35996
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36756
              {
35997
              {
36757
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
35998
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
36758
                this.categories = new ArrayList<Long>(_list88.size);
35999
                this.categories = new ArrayList<Long>(_list93.size);
36759
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
36000
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
36760
                {
36001
                {
36761
                  long _elem90; // required
36002
                  long _elem95; // required
36762
                  _elem90 = iprot.readI64();
36003
                  _elem95 = iprot.readI64();
36763
                  this.categories.add(_elem90);
36004
                  this.categories.add(_elem95);
36764
                }
36005
                }
36765
                iprot.readListEnd();
36006
                iprot.readListEnd();
36766
              }
36007
              }
36767
            } else { 
36008
            } else { 
36768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36009
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36794... Line 36035...
36794
      }
36035
      }
36795
      if (this.categories != null) {
36036
      if (this.categories != null) {
36796
        oprot.writeFieldBegin(CATEGORIES_FIELD_DESC);
36037
        oprot.writeFieldBegin(CATEGORIES_FIELD_DESC);
36797
        {
36038
        {
36798
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.categories.size()));
36039
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.categories.size()));
36799
          for (long _iter91 : this.categories)
36040
          for (long _iter96 : this.categories)
36800
          {
36041
          {
36801
            oprot.writeI64(_iter91);
36042
            oprot.writeI64(_iter96);
36802
          }
36043
          }
36803
          oprot.writeListEnd();
36044
          oprot.writeListEnd();
36804
        }
36045
        }
36805
        oprot.writeFieldEnd();
36046
        oprot.writeFieldEnd();
36806
      }
36047
      }
Line 37178... Line 36419...
37178
        }
36419
        }
37179
        switch (field.id) {
36420
        switch (field.id) {
37180
          case 0: // SUCCESS
36421
          case 0: // SUCCESS
37181
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36422
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37182
              {
36423
              {
37183
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
36424
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
37184
                this.success = new ArrayList<Long>(_list92.size);
36425
                this.success = new ArrayList<Long>(_list97.size);
37185
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
36426
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
37186
                {
36427
                {
37187
                  long _elem94; // required
36428
                  long _elem99; // required
37188
                  _elem94 = iprot.readI64();
36429
                  _elem99 = iprot.readI64();
37189
                  this.success.add(_elem94);
36430
                  this.success.add(_elem99);
37190
                }
36431
                }
37191
                iprot.readListEnd();
36432
                iprot.readListEnd();
37192
              }
36433
              }
37193
            } else { 
36434
            } else { 
37194
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36435
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37216... Line 36457...
37216
 
36457
 
37217
      if (this.isSetSuccess()) {
36458
      if (this.isSetSuccess()) {
37218
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36459
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37219
        {
36460
        {
37220
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
36461
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
37221
          for (long _iter95 : this.success)
36462
          for (long _iter100 : this.success)
37222
          {
36463
          {
37223
            oprot.writeI64(_iter95);
36464
            oprot.writeI64(_iter100);
37224
          }
36465
          }
37225
          oprot.writeListEnd();
36466
          oprot.writeListEnd();
37226
        }
36467
        }
37227
        oprot.writeFieldEnd();
36468
        oprot.writeFieldEnd();
37228
      } else if (this.isSetCex()) {
36469
      } else if (this.isSetCex()) {
Line 40735... Line 39976...
40735
        }
39976
        }
40736
        switch (field.id) {
39977
        switch (field.id) {
40737
          case 0: // SUCCESS
39978
          case 0: // SUCCESS
40738
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39979
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40739
              {
39980
              {
40740
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
39981
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
40741
                this.success = new ArrayList<Category>(_list96.size);
39982
                this.success = new ArrayList<Category>(_list101.size);
40742
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
39983
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
40743
                {
39984
                {
40744
                  Category _elem98; // required
39985
                  Category _elem103; // required
40745
                  _elem98 = new Category();
39986
                  _elem103 = new Category();
40746
                  _elem98.read(iprot);
39987
                  _elem103.read(iprot);
40747
                  this.success.add(_elem98);
39988
                  this.success.add(_elem103);
40748
                }
39989
                }
40749
                iprot.readListEnd();
39990
                iprot.readListEnd();
40750
              }
39991
              }
40751
            } else { 
39992
            } else { 
40752
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39993
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40766... Line 40007...
40766
 
40007
 
40767
      if (this.isSetSuccess()) {
40008
      if (this.isSetSuccess()) {
40768
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40009
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40769
        {
40010
        {
40770
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40011
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40771
          for (Category _iter99 : this.success)
40012
          for (Category _iter104 : this.success)
40772
          {
40013
          {
40773
            _iter99.write(oprot);
40014
            _iter104.write(oprot);
40774
          }
40015
          }
40775
          oprot.writeListEnd();
40016
          oprot.writeListEnd();
40776
        }
40017
        }
40777
        oprot.writeFieldEnd();
40018
        oprot.writeFieldEnd();
40778
      }
40019
      }
Line 41426... Line 40667...
41426
        }
40667
        }
41427
        switch (field.id) {
40668
        switch (field.id) {
41428
          case 0: // SUCCESS
40669
          case 0: // SUCCESS
41429
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40670
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41430
              {
40671
              {
41431
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
40672
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
41432
                this.success = new ArrayList<VendorItemPricing>(_list100.size);
40673
                this.success = new ArrayList<VendorItemPricing>(_list105.size);
41433
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
40674
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
41434
                {
40675
                {
41435
                  VendorItemPricing _elem102; // required
40676
                  VendorItemPricing _elem107; // required
41436
                  _elem102 = new VendorItemPricing();
40677
                  _elem107 = new VendorItemPricing();
41437
                  _elem102.read(iprot);
40678
                  _elem107.read(iprot);
41438
                  this.success.add(_elem102);
40679
                  this.success.add(_elem107);
41439
                }
40680
                }
41440
                iprot.readListEnd();
40681
                iprot.readListEnd();
41441
              }
40682
              }
41442
            } else { 
40683
            } else { 
41443
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40684
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41465... Line 40706...
41465
 
40706
 
41466
      if (this.isSetSuccess()) {
40707
      if (this.isSetSuccess()) {
41467
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40708
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41468
        {
40709
        {
41469
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40710
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41470
          for (VendorItemPricing _iter103 : this.success)
40711
          for (VendorItemPricing _iter108 : this.success)
41471
          {
40712
          {
41472
            _iter103.write(oprot);
40713
            _iter108.write(oprot);
41473
          }
40714
          }
41474
          oprot.writeListEnd();
40715
          oprot.writeListEnd();
41475
        }
40716
        }
41476
        oprot.writeFieldEnd();
40717
        oprot.writeFieldEnd();
41477
      } else if (this.isSetCex()) {
40718
      } else if (this.isSetCex()) {
Line 42566... Line 41807...
42566
        }
41807
        }
42567
        switch (field.id) {
41808
        switch (field.id) {
42568
          case 0: // SUCCESS
41809
          case 0: // SUCCESS
42569
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41810
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42570
              {
41811
              {
42571
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
41812
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
42572
                this.success = new ArrayList<Vendor>(_list104.size);
41813
                this.success = new ArrayList<Vendor>(_list109.size);
42573
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
41814
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
42574
                {
41815
                {
42575
                  Vendor _elem106; // required
41816
                  Vendor _elem111; // required
42576
                  _elem106 = new Vendor();
41817
                  _elem111 = new Vendor();
42577
                  _elem106.read(iprot);
41818
                  _elem111.read(iprot);
42578
                  this.success.add(_elem106);
41819
                  this.success.add(_elem111);
42579
                }
41820
                }
42580
                iprot.readListEnd();
41821
                iprot.readListEnd();
42581
              }
41822
              }
42582
            } else { 
41823
            } else { 
42583
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41824
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42597... Line 41838...
42597
 
41838
 
42598
      if (this.isSetSuccess()) {
41839
      if (this.isSetSuccess()) {
42599
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41840
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42600
        {
41841
        {
42601
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41842
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42602
          for (Vendor _iter107 : this.success)
41843
          for (Vendor _iter112 : this.success)
42603
          {
41844
          {
42604
            _iter107.write(oprot);
41845
            _iter112.write(oprot);
42605
          }
41846
          }
42606
          oprot.writeListEnd();
41847
          oprot.writeListEnd();
42607
        }
41848
        }
42608
        oprot.writeFieldEnd();
41849
        oprot.writeFieldEnd();
42609
      }
41850
      }
Line 43191... Line 42432...
43191
        }
42432
        }
43192
        switch (field.id) {
42433
        switch (field.id) {
43193
          case 0: // SUCCESS
42434
          case 0: // SUCCESS
43194
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42435
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43195
              {
42436
              {
43196
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
42437
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
43197
                this.success = new ArrayList<Item>(_list108.size);
42438
                this.success = new ArrayList<Item>(_list113.size);
43198
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
42439
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
43199
                {
42440
                {
43200
                  Item _elem110; // required
42441
                  Item _elem115; // required
43201
                  _elem110 = new Item();
42442
                  _elem115 = new Item();
43202
                  _elem110.read(iprot);
42443
                  _elem115.read(iprot);
43203
                  this.success.add(_elem110);
42444
                  this.success.add(_elem115);
43204
                }
42445
                }
43205
                iprot.readListEnd();
42446
                iprot.readListEnd();
43206
              }
42447
              }
43207
            } else { 
42448
            } else { 
43208
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42449
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43222... Line 42463...
43222
 
42463
 
43223
      if (this.isSetSuccess()) {
42464
      if (this.isSetSuccess()) {
43224
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42465
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43225
        {
42466
        {
43226
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42467
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43227
          for (Item _iter111 : this.success)
42468
          for (Item _iter116 : this.success)
43228
          {
42469
          {
43229
            _iter111.write(oprot);
42470
            _iter116.write(oprot);
43230
          }
42471
          }
43231
          oprot.writeListEnd();
42472
          oprot.writeListEnd();
43232
        }
42473
        }
43233
        oprot.writeFieldEnd();
42474
        oprot.writeFieldEnd();
43234
      }
42475
      }
Line 47101... Line 46342...
47101
        }
46342
        }
47102
        switch (field.id) {
46343
        switch (field.id) {
47103
          case 0: // SUCCESS
46344
          case 0: // SUCCESS
47104
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46345
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47105
              {
46346
              {
47106
                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
46347
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
47107
                this.success = new ArrayList<VendorItemMapping>(_list112.size);
46348
                this.success = new ArrayList<VendorItemMapping>(_list117.size);
47108
                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
46349
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
47109
                {
46350
                {
47110
                  VendorItemMapping _elem114; // required
46351
                  VendorItemMapping _elem119; // required
47111
                  _elem114 = new VendorItemMapping();
46352
                  _elem119 = new VendorItemMapping();
47112
                  _elem114.read(iprot);
46353
                  _elem119.read(iprot);
47113
                  this.success.add(_elem114);
46354
                  this.success.add(_elem119);
47114
                }
46355
                }
47115
                iprot.readListEnd();
46356
                iprot.readListEnd();
47116
              }
46357
              }
47117
            } else { 
46358
            } else { 
47118
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46359
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47140... Line 46381...
47140
 
46381
 
47141
      if (this.isSetSuccess()) {
46382
      if (this.isSetSuccess()) {
47142
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46383
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47143
        {
46384
        {
47144
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46385
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47145
          for (VendorItemMapping _iter115 : this.success)
46386
          for (VendorItemMapping _iter120 : this.success)
47146
          {
46387
          {
47147
            _iter115.write(oprot);
46388
            _iter120.write(oprot);
47148
          }
46389
          }
47149
          oprot.writeListEnd();
46390
          oprot.writeListEnd();
47150
        }
46391
        }
47151
        oprot.writeFieldEnd();
46392
        oprot.writeFieldEnd();
47152
      } else if (this.isSetCex()) {
46393
      } else if (this.isSetCex()) {
Line 49077... Line 48318...
49077
        }
48318
        }
49078
        switch (field.id) {
48319
        switch (field.id) {
49079
          case 0: // SUCCESS
48320
          case 0: // SUCCESS
49080
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48321
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49081
              {
48322
              {
49082
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
48323
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
49083
                this.success = new ArrayList<Item>(_list116.size);
48324
                this.success = new ArrayList<Item>(_list121.size);
49084
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
48325
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
49085
                {
48326
                {
49086
                  Item _elem118; // required
48327
                  Item _elem123; // required
49087
                  _elem118 = new Item();
48328
                  _elem123 = new Item();
49088
                  _elem118.read(iprot);
48329
                  _elem123.read(iprot);
49089
                  this.success.add(_elem118);
48330
                  this.success.add(_elem123);
49090
                }
48331
                }
49091
                iprot.readListEnd();
48332
                iprot.readListEnd();
49092
              }
48333
              }
49093
            } else { 
48334
            } else { 
49094
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48335
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49108... Line 48349...
49108
 
48349
 
49109
      if (this.isSetSuccess()) {
48350
      if (this.isSetSuccess()) {
49110
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48351
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49111
        {
48352
        {
49112
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48353
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49113
          for (Item _iter119 : this.success)
48354
          for (Item _iter124 : this.success)
49114
          {
48355
          {
49115
            _iter119.write(oprot);
48356
            _iter124.write(oprot);
49116
          }
48357
          }
49117
          oprot.writeListEnd();
48358
          oprot.writeListEnd();
49118
        }
48359
        }
49119
        oprot.writeFieldEnd();
48360
        oprot.writeFieldEnd();
49120
      }
48361
      }
Line 49702... Line 48943...
49702
        }
48943
        }
49703
        switch (field.id) {
48944
        switch (field.id) {
49704
          case 0: // SUCCESS
48945
          case 0: // SUCCESS
49705
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48946
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49706
              {
48947
              {
49707
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
48948
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
49708
                this.success = new ArrayList<Item>(_list120.size);
48949
                this.success = new ArrayList<Item>(_list125.size);
49709
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
48950
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
49710
                {
48951
                {
49711
                  Item _elem122; // required
48952
                  Item _elem127; // required
49712
                  _elem122 = new Item();
48953
                  _elem127 = new Item();
49713
                  _elem122.read(iprot);
48954
                  _elem127.read(iprot);
49714
                  this.success.add(_elem122);
48955
                  this.success.add(_elem127);
49715
                }
48956
                }
49716
                iprot.readListEnd();
48957
                iprot.readListEnd();
49717
              }
48958
              }
49718
            } else { 
48959
            } else { 
49719
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48960
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49733... Line 48974...
49733
 
48974
 
49734
      if (this.isSetSuccess()) {
48975
      if (this.isSetSuccess()) {
49735
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48976
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49736
        {
48977
        {
49737
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48978
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49738
          for (Item _iter123 : this.success)
48979
          for (Item _iter128 : this.success)
49739
          {
48980
          {
49740
            _iter123.write(oprot);
48981
            _iter128.write(oprot);
49741
          }
48982
          }
49742
          oprot.writeListEnd();
48983
          oprot.writeListEnd();
49743
        }
48984
        }
49744
        oprot.writeFieldEnd();
48985
        oprot.writeFieldEnd();
49745
      }
48986
      }
Line 50491... Line 49732...
50491
        }
49732
        }
50492
        switch (field.id) {
49733
        switch (field.id) {
50493
          case 0: // SUCCESS
49734
          case 0: // SUCCESS
50494
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49735
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50495
              {
49736
              {
50496
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
49737
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
50497
                this.success = new ArrayList<Long>(_list124.size);
49738
                this.success = new ArrayList<Long>(_list129.size);
50498
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
49739
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
50499
                {
49740
                {
50500
                  long _elem126; // required
49741
                  long _elem131; // required
50501
                  _elem126 = iprot.readI64();
49742
                  _elem131 = iprot.readI64();
50502
                  this.success.add(_elem126);
49743
                  this.success.add(_elem131);
50503
                }
49744
                }
50504
                iprot.readListEnd();
49745
                iprot.readListEnd();
50505
              }
49746
              }
50506
            } else { 
49747
            } else { 
50507
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49748
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50521... Line 49762...
50521
 
49762
 
50522
      if (this.isSetSuccess()) {
49763
      if (this.isSetSuccess()) {
50523
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49764
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50524
        {
49765
        {
50525
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
49766
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50526
          for (long _iter127 : this.success)
49767
          for (long _iter132 : this.success)
50527
          {
49768
          {
50528
            oprot.writeI64(_iter127);
49769
            oprot.writeI64(_iter132);
50529
          }
49770
          }
50530
          oprot.writeListEnd();
49771
          oprot.writeListEnd();
50531
        }
49772
        }
50532
        oprot.writeFieldEnd();
49773
        oprot.writeFieldEnd();
50533
      }
49774
      }
Line 52283... Line 51524...
52283
        }
51524
        }
52284
        switch (field.id) {
51525
        switch (field.id) {
52285
          case 0: // SUCCESS
51526
          case 0: // SUCCESS
52286
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51527
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52287
              {
51528
              {
52288
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
51529
                org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
52289
                this.success = new ArrayList<String>(_list128.size);
51530
                this.success = new ArrayList<String>(_list133.size);
52290
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
51531
                for (int _i134 = 0; _i134 < _list133.size; ++_i134)
52291
                {
51532
                {
52292
                  String _elem130; // required
51533
                  String _elem135; // required
52293
                  _elem130 = iprot.readString();
51534
                  _elem135 = iprot.readString();
52294
                  this.success.add(_elem130);
51535
                  this.success.add(_elem135);
52295
                }
51536
                }
52296
                iprot.readListEnd();
51537
                iprot.readListEnd();
52297
              }
51538
              }
52298
            } else { 
51539
            } else { 
52299
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51540
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52313... Line 51554...
52313
 
51554
 
52314
      if (this.isSetSuccess()) {
51555
      if (this.isSetSuccess()) {
52315
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51556
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52316
        {
51557
        {
52317
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
51558
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
52318
          for (String _iter131 : this.success)
51559
          for (String _iter136 : this.success)
52319
          {
51560
          {
52320
            oprot.writeString(_iter131);
51561
            oprot.writeString(_iter136);
52321
          }
51562
          }
52322
          oprot.writeListEnd();
51563
          oprot.writeListEnd();
52323
        }
51564
        }
52324
        oprot.writeFieldEnd();
51565
        oprot.writeFieldEnd();
52325
      }
51566
      }
Line 52813... Line 52054...
52813
        }
52054
        }
52814
        switch (field.id) {
52055
        switch (field.id) {
52815
          case 0: // SUCCESS
52056
          case 0: // SUCCESS
52816
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52057
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52817
              {
52058
              {
52818
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
52059
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
52819
                this.success = new ArrayList<Source>(_list132.size);
52060
                this.success = new ArrayList<Source>(_list137.size);
52820
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
52061
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
52821
                {
52062
                {
52822
                  Source _elem134; // required
52063
                  Source _elem139; // required
52823
                  _elem134 = new Source();
52064
                  _elem139 = new Source();
52824
                  _elem134.read(iprot);
52065
                  _elem139.read(iprot);
52825
                  this.success.add(_elem134);
52066
                  this.success.add(_elem139);
52826
                }
52067
                }
52827
                iprot.readListEnd();
52068
                iprot.readListEnd();
52828
              }
52069
              }
52829
            } else { 
52070
            } else { 
52830
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52071
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52844... Line 52085...
52844
 
52085
 
52845
      if (this.isSetSuccess()) {
52086
      if (this.isSetSuccess()) {
52846
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52087
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52847
        {
52088
        {
52848
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52089
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52849
          for (Source _iter135 : this.success)
52090
          for (Source _iter140 : this.success)
52850
          {
52091
          {
52851
            _iter135.write(oprot);
52092
            _iter140.write(oprot);
52852
          }
52093
          }
52853
          oprot.writeListEnd();
52094
          oprot.writeListEnd();
52854
        }
52095
        }
52855
        oprot.writeFieldEnd();
52096
        oprot.writeFieldEnd();
52856
      }
52097
      }
Line 54850... Line 54091...
54850
        }
54091
        }
54851
        switch (field.id) {
54092
        switch (field.id) {
54852
          case 0: // SUCCESS
54093
          case 0: // SUCCESS
54853
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54094
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54854
              {
54095
              {
54855
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
54096
                org.apache.thrift.protocol.TList _list141 = iprot.readListBegin();
54856
                this.success = new ArrayList<SourceItemPricing>(_list136.size);
54097
                this.success = new ArrayList<SourceItemPricing>(_list141.size);
54857
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
54098
                for (int _i142 = 0; _i142 < _list141.size; ++_i142)
54858
                {
54099
                {
54859
                  SourceItemPricing _elem138; // required
54100
                  SourceItemPricing _elem143; // required
54860
                  _elem138 = new SourceItemPricing();
54101
                  _elem143 = new SourceItemPricing();
54861
                  _elem138.read(iprot);
54102
                  _elem143.read(iprot);
54862
                  this.success.add(_elem138);
54103
                  this.success.add(_elem143);
54863
                }
54104
                }
54864
                iprot.readListEnd();
54105
                iprot.readListEnd();
54865
              }
54106
              }
54866
            } else { 
54107
            } else { 
54867
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54108
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54889... Line 54130...
54889
 
54130
 
54890
      if (this.isSetSuccess()) {
54131
      if (this.isSetSuccess()) {
54891
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54132
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54892
        {
54133
        {
54893
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54134
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54894
          for (SourceItemPricing _iter139 : this.success)
54135
          for (SourceItemPricing _iter144 : this.success)
54895
          {
54136
          {
54896
            _iter139.write(oprot);
54137
            _iter144.write(oprot);
54897
          }
54138
          }
54898
          oprot.writeListEnd();
54139
          oprot.writeListEnd();
54899
        }
54140
        }
54900
        oprot.writeFieldEnd();
54141
        oprot.writeFieldEnd();
54901
      } else if (this.isSetCex()) {
54142
      } else if (this.isSetCex()) {
Line 56097... Line 55338...
56097
        }
55338
        }
56098
        switch (field.id) {
55339
        switch (field.id) {
56099
          case 1: // SEARCH_TERMS
55340
          case 1: // SEARCH_TERMS
56100
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55341
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56101
              {
55342
              {
56102
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
55343
                org.apache.thrift.protocol.TList _list145 = iprot.readListBegin();
56103
                this.searchTerms = new ArrayList<String>(_list140.size);
55344
                this.searchTerms = new ArrayList<String>(_list145.size);
56104
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
55345
                for (int _i146 = 0; _i146 < _list145.size; ++_i146)
56105
                {
55346
                {
56106
                  String _elem142; // required
55347
                  String _elem147; // required
56107
                  _elem142 = iprot.readString();
55348
                  _elem147 = iprot.readString();
56108
                  this.searchTerms.add(_elem142);
55349
                  this.searchTerms.add(_elem147);
56109
                }
55350
                }
56110
                iprot.readListEnd();
55351
                iprot.readListEnd();
56111
              }
55352
              }
56112
            } else { 
55353
            } else { 
56113
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55354
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56144... Line 55385...
56144
      oprot.writeStructBegin(STRUCT_DESC);
55385
      oprot.writeStructBegin(STRUCT_DESC);
56145
      if (this.searchTerms != null) {
55386
      if (this.searchTerms != null) {
56146
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
55387
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
56147
        {
55388
        {
56148
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
55389
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
56149
          for (String _iter143 : this.searchTerms)
55390
          for (String _iter148 : this.searchTerms)
56150
          {
55391
          {
56151
            oprot.writeString(_iter143);
55392
            oprot.writeString(_iter148);
56152
          }
55393
          }
56153
          oprot.writeListEnd();
55394
          oprot.writeListEnd();
56154
        }
55395
        }
56155
        oprot.writeFieldEnd();
55396
        oprot.writeFieldEnd();
56156
      }
55397
      }
Line 56458... Line 55699...
56458
        }
55699
        }
56459
        switch (field.id) {
55700
        switch (field.id) {
56460
          case 0: // SUCCESS
55701
          case 0: // SUCCESS
56461
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55702
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56462
              {
55703
              {
56463
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
55704
                org.apache.thrift.protocol.TList _list149 = iprot.readListBegin();
56464
                this.success = new ArrayList<Item>(_list144.size);
55705
                this.success = new ArrayList<Item>(_list149.size);
56465
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
55706
                for (int _i150 = 0; _i150 < _list149.size; ++_i150)
56466
                {
55707
                {
56467
                  Item _elem146; // required
55708
                  Item _elem151; // required
56468
                  _elem146 = new Item();
55709
                  _elem151 = new Item();
56469
                  _elem146.read(iprot);
55710
                  _elem151.read(iprot);
56470
                  this.success.add(_elem146);
55711
                  this.success.add(_elem151);
56471
                }
55712
                }
56472
                iprot.readListEnd();
55713
                iprot.readListEnd();
56473
              }
55714
              }
56474
            } else { 
55715
            } else { 
56475
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55716
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56489... Line 55730...
56489
 
55730
 
56490
      if (this.isSetSuccess()) {
55731
      if (this.isSetSuccess()) {
56491
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55732
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56492
        {
55733
        {
56493
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55734
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56494
          for (Item _iter147 : this.success)
55735
          for (Item _iter152 : this.success)
56495
          {
55736
          {
56496
            _iter147.write(oprot);
55737
            _iter152.write(oprot);
56497
          }
55738
          }
56498
          oprot.writeListEnd();
55739
          oprot.writeListEnd();
56499
        }
55740
        }
56500
        oprot.writeFieldEnd();
55741
        oprot.writeFieldEnd();
56501
      }
55742
      }
Line 56789... Line 56030...
56789
        }
56030
        }
56790
        switch (field.id) {
56031
        switch (field.id) {
56791
          case 1: // SEARCH_TERMS
56032
          case 1: // SEARCH_TERMS
56792
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56033
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56793
              {
56034
              {
56794
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
56035
                org.apache.thrift.protocol.TList _list153 = iprot.readListBegin();
56795
                this.searchTerms = new ArrayList<String>(_list148.size);
56036
                this.searchTerms = new ArrayList<String>(_list153.size);
56796
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
56037
                for (int _i154 = 0; _i154 < _list153.size; ++_i154)
56797
                {
56038
                {
56798
                  String _elem150; // required
56039
                  String _elem155; // required
56799
                  _elem150 = iprot.readString();
56040
                  _elem155 = iprot.readString();
56800
                  this.searchTerms.add(_elem150);
56041
                  this.searchTerms.add(_elem155);
56801
                }
56042
                }
56802
                iprot.readListEnd();
56043
                iprot.readListEnd();
56803
              }
56044
              }
56804
            } else { 
56045
            } else { 
56805
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56046
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56820... Line 56061...
56820
      oprot.writeStructBegin(STRUCT_DESC);
56061
      oprot.writeStructBegin(STRUCT_DESC);
56821
      if (this.searchTerms != null) {
56062
      if (this.searchTerms != null) {
56822
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
56063
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
56823
        {
56064
        {
56824
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
56065
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
56825
          for (String _iter151 : this.searchTerms)
56066
          for (String _iter156 : this.searchTerms)
56826
          {
56067
          {
56827
            oprot.writeString(_iter151);
56068
            oprot.writeString(_iter156);
56828
          }
56069
          }
56829
          oprot.writeListEnd();
56070
          oprot.writeListEnd();
56830
        }
56071
        }
56831
        oprot.writeFieldEnd();
56072
        oprot.writeFieldEnd();
56832
      }
56073
      }
Line 57707... Line 56948...
57707
        }
56948
        }
57708
        switch (field.id) {
56949
        switch (field.id) {
57709
          case 0: // SUCCESS
56950
          case 0: // SUCCESS
57710
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56951
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57711
              {
56952
              {
57712
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
56953
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
57713
                this.success = new ArrayList<AvailableAndReservedStock>(_list152.size);
56954
                this.success = new ArrayList<AvailableAndReservedStock>(_list157.size);
57714
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
56955
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
57715
                {
56956
                {
57716
                  AvailableAndReservedStock _elem154; // required
56957
                  AvailableAndReservedStock _elem159; // required
57717
                  _elem154 = new AvailableAndReservedStock();
56958
                  _elem159 = new AvailableAndReservedStock();
57718
                  _elem154.read(iprot);
56959
                  _elem159.read(iprot);
57719
                  this.success.add(_elem154);
56960
                  this.success.add(_elem159);
57720
                }
56961
                }
57721
                iprot.readListEnd();
56962
                iprot.readListEnd();
57722
              }
56963
              }
57723
            } else { 
56964
            } else { 
57724
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56965
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57738... Line 56979...
57738
 
56979
 
57739
      if (this.isSetSuccess()) {
56980
      if (this.isSetSuccess()) {
57740
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56981
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57741
        {
56982
        {
57742
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56983
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57743
          for (AvailableAndReservedStock _iter155 : this.success)
56984
          for (AvailableAndReservedStock _iter160 : this.success)
57744
          {
56985
          {
57745
            _iter155.write(oprot);
56986
            _iter160.write(oprot);
57746
          }
56987
          }
57747
          oprot.writeListEnd();
56988
          oprot.writeListEnd();
57748
        }
56989
        }
57749
        oprot.writeFieldEnd();
56990
        oprot.writeFieldEnd();
57750
      }
56991
      }
Line 58332... Line 57573...
58332
        }
57573
        }
58333
        switch (field.id) {
57574
        switch (field.id) {
58334
          case 0: // SUCCESS
57575
          case 0: // SUCCESS
58335
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57576
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58336
              {
57577
              {
58337
                org.apache.thrift.protocol.TList _list156 = iprot.readListBegin();
57578
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
58338
                this.success = new ArrayList<ProductNotificationRequest>(_list156.size);
57579
                this.success = new ArrayList<ProductNotificationRequest>(_list161.size);
58339
                for (int _i157 = 0; _i157 < _list156.size; ++_i157)
57580
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
58340
                {
57581
                {
58341
                  ProductNotificationRequest _elem158; // required
57582
                  ProductNotificationRequest _elem163; // required
58342
                  _elem158 = new ProductNotificationRequest();
57583
                  _elem163 = new ProductNotificationRequest();
58343
                  _elem158.read(iprot);
57584
                  _elem163.read(iprot);
58344
                  this.success.add(_elem158);
57585
                  this.success.add(_elem163);
58345
                }
57586
                }
58346
                iprot.readListEnd();
57587
                iprot.readListEnd();
58347
              }
57588
              }
58348
            } else { 
57589
            } else { 
58349
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58363... Line 57604...
58363
 
57604
 
58364
      if (this.isSetSuccess()) {
57605
      if (this.isSetSuccess()) {
58365
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57606
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58366
        {
57607
        {
58367
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57608
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58368
          for (ProductNotificationRequest _iter159 : this.success)
57609
          for (ProductNotificationRequest _iter164 : this.success)
58369
          {
57610
          {
58370
            _iter159.write(oprot);
57611
            _iter164.write(oprot);
58371
          }
57612
          }
58372
          oprot.writeListEnd();
57613
          oprot.writeListEnd();
58373
        }
57614
        }
58374
        oprot.writeFieldEnd();
57615
        oprot.writeFieldEnd();
58375
      }
57616
      }
Line 58957... Line 58198...
58957
        }
58198
        }
58958
        switch (field.id) {
58199
        switch (field.id) {
58959
          case 0: // SUCCESS
58200
          case 0: // SUCCESS
58960
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58201
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58961
              {
58202
              {
58962
                org.apache.thrift.protocol.TList _list160 = iprot.readListBegin();
58203
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
58963
                this.success = new ArrayList<ProductNotificationRequestCount>(_list160.size);
58204
                this.success = new ArrayList<ProductNotificationRequestCount>(_list165.size);
58964
                for (int _i161 = 0; _i161 < _list160.size; ++_i161)
58205
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
58965
                {
58206
                {
58966
                  ProductNotificationRequestCount _elem162; // required
58207
                  ProductNotificationRequestCount _elem167; // required
58967
                  _elem162 = new ProductNotificationRequestCount();
58208
                  _elem167 = new ProductNotificationRequestCount();
58968
                  _elem162.read(iprot);
58209
                  _elem167.read(iprot);
58969
                  this.success.add(_elem162);
58210
                  this.success.add(_elem167);
58970
                }
58211
                }
58971
                iprot.readListEnd();
58212
                iprot.readListEnd();
58972
              }
58213
              }
58973
            } else { 
58214
            } else { 
58974
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58215
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58988... Line 58229...
58988
 
58229
 
58989
      if (this.isSetSuccess()) {
58230
      if (this.isSetSuccess()) {
58990
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58231
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58991
        {
58232
        {
58992
          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()));
58993
          for (ProductNotificationRequestCount _iter163 : this.success)
58234
          for (ProductNotificationRequestCount _iter168 : this.success)
58994
          {
58235
          {
58995
            _iter163.write(oprot);
58236
            _iter168.write(oprot);
58996
          }
58237
          }
58997
          oprot.writeListEnd();
58238
          oprot.writeListEnd();
58998
        }
58239
        }
58999
        oprot.writeFieldEnd();
58240
        oprot.writeFieldEnd();
59000
      }
58241
      }