Subversion Repositories SmartDukaan

Rev

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

Rev 6484 Rev 6531
Line 281... Line 281...
281
 
281
 
282
    public long getOurWarehouseIdForVendor(long vendorId) throws org.apache.thrift.TException;
282
    public long getOurWarehouseIdForVendor(long vendorId) throws org.apache.thrift.TException;
283
 
283
 
284
    public Map<Long,Long> getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids) throws org.apache.thrift.TException;
284
    public Map<Long,Long> getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids) throws org.apache.thrift.TException;
285
 
285
 
-
 
286
    public List<Long> getMonitoredWarehouseForVendors(List<Long> vendorIds) throws org.apache.thrift.TException;
-
 
287
 
-
 
288
    public List<IgnoredInventoryUpdateItems> getIgnoredWarehouseidsAndItemids() throws org.apache.thrift.TException;
-
 
289
 
-
 
290
    public boolean insertItemtoIgnoreInventoryUpdatelist(long item_id, long warehouse_id) throws org.apache.thrift.TException;
-
 
291
 
-
 
292
    public boolean deleteItemFromIgnoredInventoryUpdateList(long item_id, long warehouse_id) throws org.apache.thrift.TException;
-
 
293
 
-
 
294
    public int getAllIgnoredInventoryupdateItemsCount() throws org.apache.thrift.TException;
-
 
295
 
-
 
296
    public List<Long> getIgnoredInventoryUpdateItemids(int offset, int limit) throws org.apache.thrift.TException;
-
 
297
 
286
  }
298
  }
287
 
299
 
288
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
300
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
289
 
301
 
290
    public void addWarehouse(Warehouse warehouse, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addWarehouse_call> resultHandler) throws org.apache.thrift.TException;
302
    public void addWarehouse(Warehouse warehouse, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addWarehouse_call> resultHandler) throws org.apache.thrift.TException;
Line 361... Line 373...
361
 
373
 
362
    public void getOurWarehouseIdForVendor(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOurWarehouseIdForVendor_call> resultHandler) throws org.apache.thrift.TException;
374
    public void getOurWarehouseIdForVendor(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOurWarehouseIdForVendor_call> resultHandler) throws org.apache.thrift.TException;
363
 
375
 
364
    public void getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemAvailabilitiesAtOurWarehouses_call> resultHandler) throws org.apache.thrift.TException;
376
    public void getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemAvailabilitiesAtOurWarehouses_call> resultHandler) throws org.apache.thrift.TException;
365
 
377
 
-
 
378
    public void getMonitoredWarehouseForVendors(List<Long> vendorIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMonitoredWarehouseForVendors_call> resultHandler) throws org.apache.thrift.TException;
-
 
379
 
-
 
380
    public void getIgnoredWarehouseidsAndItemids(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getIgnoredWarehouseidsAndItemids_call> resultHandler) throws org.apache.thrift.TException;
-
 
381
 
-
 
382
    public void insertItemtoIgnoreInventoryUpdatelist(long item_id, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.insertItemtoIgnoreInventoryUpdatelist_call> resultHandler) throws org.apache.thrift.TException;
-
 
383
 
-
 
384
    public void deleteItemFromIgnoredInventoryUpdateList(long item_id, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteItemFromIgnoredInventoryUpdateList_call> resultHandler) throws org.apache.thrift.TException;
-
 
385
 
-
 
386
    public void getAllIgnoredInventoryupdateItemsCount(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllIgnoredInventoryupdateItemsCount_call> resultHandler) throws org.apache.thrift.TException;
-
 
387
 
-
 
388
    public void getIgnoredInventoryUpdateItemids(int offset, int limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getIgnoredInventoryUpdateItemids_call> resultHandler) throws org.apache.thrift.TException;
-
 
389
 
366
  }
390
  }
367
 
391
 
368
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
392
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
369
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
393
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
370
      public Factory() {}
394
      public Factory() {}
Line 1313... Line 1337...
1313
        return result.success;
1337
        return result.success;
1314
      }
1338
      }
1315
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getItemAvailabilitiesAtOurWarehouses failed: unknown result");
1339
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getItemAvailabilitiesAtOurWarehouses failed: unknown result");
1316
    }
1340
    }
1317
 
1341
 
-
 
1342
    public List<Long> getMonitoredWarehouseForVendors(List<Long> vendorIds) throws org.apache.thrift.TException
-
 
1343
    {
-
 
1344
      send_getMonitoredWarehouseForVendors(vendorIds);
-
 
1345
      return recv_getMonitoredWarehouseForVendors();
-
 
1346
    }
-
 
1347
 
-
 
1348
    public void send_getMonitoredWarehouseForVendors(List<Long> vendorIds) throws org.apache.thrift.TException
-
 
1349
    {
-
 
1350
      getMonitoredWarehouseForVendors_args args = new getMonitoredWarehouseForVendors_args();
-
 
1351
      args.setVendorIds(vendorIds);
-
 
1352
      sendBase("getMonitoredWarehouseForVendors", args);
-
 
1353
    }
-
 
1354
 
-
 
1355
    public List<Long> recv_getMonitoredWarehouseForVendors() throws org.apache.thrift.TException
-
 
1356
    {
-
 
1357
      getMonitoredWarehouseForVendors_result result = new getMonitoredWarehouseForVendors_result();
-
 
1358
      receiveBase(result, "getMonitoredWarehouseForVendors");
-
 
1359
      if (result.isSetSuccess()) {
-
 
1360
        return result.success;
-
 
1361
      }
-
 
1362
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMonitoredWarehouseForVendors failed: unknown result");
-
 
1363
    }
-
 
1364
 
-
 
1365
    public List<IgnoredInventoryUpdateItems> getIgnoredWarehouseidsAndItemids() throws org.apache.thrift.TException
-
 
1366
    {
-
 
1367
      send_getIgnoredWarehouseidsAndItemids();
-
 
1368
      return recv_getIgnoredWarehouseidsAndItemids();
-
 
1369
    }
-
 
1370
 
-
 
1371
    public void send_getIgnoredWarehouseidsAndItemids() throws org.apache.thrift.TException
-
 
1372
    {
-
 
1373
      getIgnoredWarehouseidsAndItemids_args args = new getIgnoredWarehouseidsAndItemids_args();
-
 
1374
      sendBase("getIgnoredWarehouseidsAndItemids", args);
-
 
1375
    }
-
 
1376
 
-
 
1377
    public List<IgnoredInventoryUpdateItems> recv_getIgnoredWarehouseidsAndItemids() throws org.apache.thrift.TException
-
 
1378
    {
-
 
1379
      getIgnoredWarehouseidsAndItemids_result result = new getIgnoredWarehouseidsAndItemids_result();
-
 
1380
      receiveBase(result, "getIgnoredWarehouseidsAndItemids");
-
 
1381
      if (result.isSetSuccess()) {
-
 
1382
        return result.success;
-
 
1383
      }
-
 
1384
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getIgnoredWarehouseidsAndItemids failed: unknown result");
-
 
1385
    }
-
 
1386
 
-
 
1387
    public boolean insertItemtoIgnoreInventoryUpdatelist(long item_id, long warehouse_id) throws org.apache.thrift.TException
-
 
1388
    {
-
 
1389
      send_insertItemtoIgnoreInventoryUpdatelist(item_id, warehouse_id);
-
 
1390
      return recv_insertItemtoIgnoreInventoryUpdatelist();
-
 
1391
    }
-
 
1392
 
-
 
1393
    public void send_insertItemtoIgnoreInventoryUpdatelist(long item_id, long warehouse_id) throws org.apache.thrift.TException
-
 
1394
    {
-
 
1395
      insertItemtoIgnoreInventoryUpdatelist_args args = new insertItemtoIgnoreInventoryUpdatelist_args();
-
 
1396
      args.setItem_id(item_id);
-
 
1397
      args.setWarehouse_id(warehouse_id);
-
 
1398
      sendBase("insertItemtoIgnoreInventoryUpdatelist", args);
-
 
1399
    }
-
 
1400
 
-
 
1401
    public boolean recv_insertItemtoIgnoreInventoryUpdatelist() throws org.apache.thrift.TException
-
 
1402
    {
-
 
1403
      insertItemtoIgnoreInventoryUpdatelist_result result = new insertItemtoIgnoreInventoryUpdatelist_result();
-
 
1404
      receiveBase(result, "insertItemtoIgnoreInventoryUpdatelist");
-
 
1405
      if (result.isSetSuccess()) {
-
 
1406
        return result.success;
-
 
1407
      }
-
 
1408
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertItemtoIgnoreInventoryUpdatelist failed: unknown result");
-
 
1409
    }
-
 
1410
 
-
 
1411
    public boolean deleteItemFromIgnoredInventoryUpdateList(long item_id, long warehouse_id) throws org.apache.thrift.TException
-
 
1412
    {
-
 
1413
      send_deleteItemFromIgnoredInventoryUpdateList(item_id, warehouse_id);
-
 
1414
      return recv_deleteItemFromIgnoredInventoryUpdateList();
-
 
1415
    }
-
 
1416
 
-
 
1417
    public void send_deleteItemFromIgnoredInventoryUpdateList(long item_id, long warehouse_id) throws org.apache.thrift.TException
-
 
1418
    {
-
 
1419
      deleteItemFromIgnoredInventoryUpdateList_args args = new deleteItemFromIgnoredInventoryUpdateList_args();
-
 
1420
      args.setItem_id(item_id);
-
 
1421
      args.setWarehouse_id(warehouse_id);
-
 
1422
      sendBase("deleteItemFromIgnoredInventoryUpdateList", args);
-
 
1423
    }
-
 
1424
 
-
 
1425
    public boolean recv_deleteItemFromIgnoredInventoryUpdateList() throws org.apache.thrift.TException
-
 
1426
    {
-
 
1427
      deleteItemFromIgnoredInventoryUpdateList_result result = new deleteItemFromIgnoredInventoryUpdateList_result();
-
 
1428
      receiveBase(result, "deleteItemFromIgnoredInventoryUpdateList");
-
 
1429
      if (result.isSetSuccess()) {
-
 
1430
        return result.success;
-
 
1431
      }
-
 
1432
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteItemFromIgnoredInventoryUpdateList failed: unknown result");
-
 
1433
    }
-
 
1434
 
-
 
1435
    public int getAllIgnoredInventoryupdateItemsCount() throws org.apache.thrift.TException
-
 
1436
    {
-
 
1437
      send_getAllIgnoredInventoryupdateItemsCount();
-
 
1438
      return recv_getAllIgnoredInventoryupdateItemsCount();
-
 
1439
    }
-
 
1440
 
-
 
1441
    public void send_getAllIgnoredInventoryupdateItemsCount() throws org.apache.thrift.TException
-
 
1442
    {
-
 
1443
      getAllIgnoredInventoryupdateItemsCount_args args = new getAllIgnoredInventoryupdateItemsCount_args();
-
 
1444
      sendBase("getAllIgnoredInventoryupdateItemsCount", args);
-
 
1445
    }
-
 
1446
 
-
 
1447
    public int recv_getAllIgnoredInventoryupdateItemsCount() throws org.apache.thrift.TException
-
 
1448
    {
-
 
1449
      getAllIgnoredInventoryupdateItemsCount_result result = new getAllIgnoredInventoryupdateItemsCount_result();
-
 
1450
      receiveBase(result, "getAllIgnoredInventoryupdateItemsCount");
-
 
1451
      if (result.isSetSuccess()) {
-
 
1452
        return result.success;
-
 
1453
      }
-
 
1454
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryupdateItemsCount failed: unknown result");
-
 
1455
    }
-
 
1456
 
-
 
1457
    public List<Long> getIgnoredInventoryUpdateItemids(int offset, int limit) throws org.apache.thrift.TException
-
 
1458
    {
-
 
1459
      send_getIgnoredInventoryUpdateItemids(offset, limit);
-
 
1460
      return recv_getIgnoredInventoryUpdateItemids();
-
 
1461
    }
-
 
1462
 
-
 
1463
    public void send_getIgnoredInventoryUpdateItemids(int offset, int limit) throws org.apache.thrift.TException
-
 
1464
    {
-
 
1465
      getIgnoredInventoryUpdateItemids_args args = new getIgnoredInventoryUpdateItemids_args();
-
 
1466
      args.setOffset(offset);
-
 
1467
      args.setLimit(limit);
-
 
1468
      sendBase("getIgnoredInventoryUpdateItemids", args);
-
 
1469
    }
-
 
1470
 
-
 
1471
    public List<Long> recv_getIgnoredInventoryUpdateItemids() throws org.apache.thrift.TException
-
 
1472
    {
-
 
1473
      getIgnoredInventoryUpdateItemids_result result = new getIgnoredInventoryUpdateItemids_result();
-
 
1474
      receiveBase(result, "getIgnoredInventoryUpdateItemids");
-
 
1475
      if (result.isSetSuccess()) {
-
 
1476
        return result.success;
-
 
1477
      }
-
 
1478
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getIgnoredInventoryUpdateItemids failed: unknown result");
-
 
1479
    }
-
 
1480
 
1318
  }
1481
  }
1319
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
1482
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
1320
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
1483
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
1321
      private org.apache.thrift.async.TAsyncClientManager clientManager;
1484
      private org.apache.thrift.async.TAsyncClientManager clientManager;
1322
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
1485
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 2634... Line 2797...
2634
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2797
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2635
        return (new Client(prot)).recv_getItemAvailabilitiesAtOurWarehouses();
2798
        return (new Client(prot)).recv_getItemAvailabilitiesAtOurWarehouses();
2636
      }
2799
      }
2637
    }
2800
    }
2638
 
2801
 
-
 
2802
    public void getMonitoredWarehouseForVendors(List<Long> vendorIds, org.apache.thrift.async.AsyncMethodCallback<getMonitoredWarehouseForVendors_call> resultHandler) throws org.apache.thrift.TException {
-
 
2803
      checkReady();
-
 
2804
      getMonitoredWarehouseForVendors_call method_call = new getMonitoredWarehouseForVendors_call(vendorIds, resultHandler, this, ___protocolFactory, ___transport);
-
 
2805
      this.___currentMethod = method_call;
-
 
2806
      ___manager.call(method_call);
-
 
2807
    }
-
 
2808
 
-
 
2809
    public static class getMonitoredWarehouseForVendors_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2810
      private List<Long> vendorIds;
-
 
2811
      public getMonitoredWarehouseForVendors_call(List<Long> vendorIds, org.apache.thrift.async.AsyncMethodCallback<getMonitoredWarehouseForVendors_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 {
-
 
2812
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2813
        this.vendorIds = vendorIds;
-
 
2814
      }
-
 
2815
 
-
 
2816
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2817
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getMonitoredWarehouseForVendors", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2818
        getMonitoredWarehouseForVendors_args args = new getMonitoredWarehouseForVendors_args();
-
 
2819
        args.setVendorIds(vendorIds);
-
 
2820
        args.write(prot);
-
 
2821
        prot.writeMessageEnd();
-
 
2822
      }
-
 
2823
 
-
 
2824
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
2825
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2826
          throw new IllegalStateException("Method call not finished!");
-
 
2827
        }
-
 
2828
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2829
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2830
        return (new Client(prot)).recv_getMonitoredWarehouseForVendors();
-
 
2831
      }
-
 
2832
    }
-
 
2833
 
-
 
2834
    public void getIgnoredWarehouseidsAndItemids(org.apache.thrift.async.AsyncMethodCallback<getIgnoredWarehouseidsAndItemids_call> resultHandler) throws org.apache.thrift.TException {
-
 
2835
      checkReady();
-
 
2836
      getIgnoredWarehouseidsAndItemids_call method_call = new getIgnoredWarehouseidsAndItemids_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
2837
      this.___currentMethod = method_call;
-
 
2838
      ___manager.call(method_call);
-
 
2839
    }
-
 
2840
 
-
 
2841
    public static class getIgnoredWarehouseidsAndItemids_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2842
      public getIgnoredWarehouseidsAndItemids_call(org.apache.thrift.async.AsyncMethodCallback<getIgnoredWarehouseidsAndItemids_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 {
-
 
2843
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2844
      }
-
 
2845
 
-
 
2846
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2847
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getIgnoredWarehouseidsAndItemids", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2848
        getIgnoredWarehouseidsAndItemids_args args = new getIgnoredWarehouseidsAndItemids_args();
-
 
2849
        args.write(prot);
-
 
2850
        prot.writeMessageEnd();
-
 
2851
      }
-
 
2852
 
-
 
2853
      public List<IgnoredInventoryUpdateItems> getResult() throws org.apache.thrift.TException {
-
 
2854
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2855
          throw new IllegalStateException("Method call not finished!");
-
 
2856
        }
-
 
2857
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2858
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2859
        return (new Client(prot)).recv_getIgnoredWarehouseidsAndItemids();
-
 
2860
      }
-
 
2861
    }
-
 
2862
 
-
 
2863
    public void insertItemtoIgnoreInventoryUpdatelist(long item_id, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<insertItemtoIgnoreInventoryUpdatelist_call> resultHandler) throws org.apache.thrift.TException {
-
 
2864
      checkReady();
-
 
2865
      insertItemtoIgnoreInventoryUpdatelist_call method_call = new insertItemtoIgnoreInventoryUpdatelist_call(item_id, warehouse_id, resultHandler, this, ___protocolFactory, ___transport);
-
 
2866
      this.___currentMethod = method_call;
-
 
2867
      ___manager.call(method_call);
-
 
2868
    }
-
 
2869
 
-
 
2870
    public static class insertItemtoIgnoreInventoryUpdatelist_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2871
      private long item_id;
-
 
2872
      private long warehouse_id;
-
 
2873
      public insertItemtoIgnoreInventoryUpdatelist_call(long item_id, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<insertItemtoIgnoreInventoryUpdatelist_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 {
-
 
2874
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2875
        this.item_id = item_id;
-
 
2876
        this.warehouse_id = warehouse_id;
-
 
2877
      }
-
 
2878
 
-
 
2879
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2880
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("insertItemtoIgnoreInventoryUpdatelist", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2881
        insertItemtoIgnoreInventoryUpdatelist_args args = new insertItemtoIgnoreInventoryUpdatelist_args();
-
 
2882
        args.setItem_id(item_id);
-
 
2883
        args.setWarehouse_id(warehouse_id);
-
 
2884
        args.write(prot);
-
 
2885
        prot.writeMessageEnd();
-
 
2886
      }
-
 
2887
 
-
 
2888
      public boolean getResult() throws org.apache.thrift.TException {
-
 
2889
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2890
          throw new IllegalStateException("Method call not finished!");
-
 
2891
        }
-
 
2892
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2893
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2894
        return (new Client(prot)).recv_insertItemtoIgnoreInventoryUpdatelist();
-
 
2895
      }
-
 
2896
    }
-
 
2897
 
-
 
2898
    public void deleteItemFromIgnoredInventoryUpdateList(long item_id, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<deleteItemFromIgnoredInventoryUpdateList_call> resultHandler) throws org.apache.thrift.TException {
-
 
2899
      checkReady();
-
 
2900
      deleteItemFromIgnoredInventoryUpdateList_call method_call = new deleteItemFromIgnoredInventoryUpdateList_call(item_id, warehouse_id, resultHandler, this, ___protocolFactory, ___transport);
-
 
2901
      this.___currentMethod = method_call;
-
 
2902
      ___manager.call(method_call);
-
 
2903
    }
-
 
2904
 
-
 
2905
    public static class deleteItemFromIgnoredInventoryUpdateList_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2906
      private long item_id;
-
 
2907
      private long warehouse_id;
-
 
2908
      public deleteItemFromIgnoredInventoryUpdateList_call(long item_id, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<deleteItemFromIgnoredInventoryUpdateList_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 {
-
 
2909
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2910
        this.item_id = item_id;
-
 
2911
        this.warehouse_id = warehouse_id;
-
 
2912
      }
-
 
2913
 
-
 
2914
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2915
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteItemFromIgnoredInventoryUpdateList", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2916
        deleteItemFromIgnoredInventoryUpdateList_args args = new deleteItemFromIgnoredInventoryUpdateList_args();
-
 
2917
        args.setItem_id(item_id);
-
 
2918
        args.setWarehouse_id(warehouse_id);
-
 
2919
        args.write(prot);
-
 
2920
        prot.writeMessageEnd();
-
 
2921
      }
-
 
2922
 
-
 
2923
      public boolean getResult() throws org.apache.thrift.TException {
-
 
2924
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2925
          throw new IllegalStateException("Method call not finished!");
-
 
2926
        }
-
 
2927
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2928
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2929
        return (new Client(prot)).recv_deleteItemFromIgnoredInventoryUpdateList();
-
 
2930
      }
-
 
2931
    }
-
 
2932
 
-
 
2933
    public void getAllIgnoredInventoryupdateItemsCount(org.apache.thrift.async.AsyncMethodCallback<getAllIgnoredInventoryupdateItemsCount_call> resultHandler) throws org.apache.thrift.TException {
-
 
2934
      checkReady();
-
 
2935
      getAllIgnoredInventoryupdateItemsCount_call method_call = new getAllIgnoredInventoryupdateItemsCount_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
2936
      this.___currentMethod = method_call;
-
 
2937
      ___manager.call(method_call);
-
 
2938
    }
-
 
2939
 
-
 
2940
    public static class getAllIgnoredInventoryupdateItemsCount_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2941
      public getAllIgnoredInventoryupdateItemsCount_call(org.apache.thrift.async.AsyncMethodCallback<getAllIgnoredInventoryupdateItemsCount_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 {
-
 
2942
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2943
      }
-
 
2944
 
-
 
2945
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2946
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllIgnoredInventoryupdateItemsCount", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2947
        getAllIgnoredInventoryupdateItemsCount_args args = new getAllIgnoredInventoryupdateItemsCount_args();
-
 
2948
        args.write(prot);
-
 
2949
        prot.writeMessageEnd();
-
 
2950
      }
-
 
2951
 
-
 
2952
      public int getResult() throws org.apache.thrift.TException {
-
 
2953
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2954
          throw new IllegalStateException("Method call not finished!");
-
 
2955
        }
-
 
2956
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2957
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2958
        return (new Client(prot)).recv_getAllIgnoredInventoryupdateItemsCount();
-
 
2959
      }
-
 
2960
    }
-
 
2961
 
-
 
2962
    public void getIgnoredInventoryUpdateItemids(int offset, int limit, org.apache.thrift.async.AsyncMethodCallback<getIgnoredInventoryUpdateItemids_call> resultHandler) throws org.apache.thrift.TException {
-
 
2963
      checkReady();
-
 
2964
      getIgnoredInventoryUpdateItemids_call method_call = new getIgnoredInventoryUpdateItemids_call(offset, limit, resultHandler, this, ___protocolFactory, ___transport);
-
 
2965
      this.___currentMethod = method_call;
-
 
2966
      ___manager.call(method_call);
-
 
2967
    }
-
 
2968
 
-
 
2969
    public static class getIgnoredInventoryUpdateItemids_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2970
      private int offset;
-
 
2971
      private int limit;
-
 
2972
      public getIgnoredInventoryUpdateItemids_call(int offset, int limit, org.apache.thrift.async.AsyncMethodCallback<getIgnoredInventoryUpdateItemids_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 {
-
 
2973
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2974
        this.offset = offset;
-
 
2975
        this.limit = limit;
-
 
2976
      }
-
 
2977
 
-
 
2978
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2979
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getIgnoredInventoryUpdateItemids", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2980
        getIgnoredInventoryUpdateItemids_args args = new getIgnoredInventoryUpdateItemids_args();
-
 
2981
        args.setOffset(offset);
-
 
2982
        args.setLimit(limit);
-
 
2983
        args.write(prot);
-
 
2984
        prot.writeMessageEnd();
-
 
2985
      }
-
 
2986
 
-
 
2987
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
2988
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2989
          throw new IllegalStateException("Method call not finished!");
-
 
2990
        }
-
 
2991
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2992
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2993
        return (new Client(prot)).recv_getIgnoredInventoryUpdateItemids();
-
 
2994
      }
-
 
2995
    }
-
 
2996
 
2639
  }
2997
  }
2640
 
2998
 
2641
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
2999
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
2642
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
3000
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
2643
    public Processor(I iface) {
3001
    public Processor(I iface) {
Line 2685... Line 3043...
2685
      processMap.put("clearItemAvailabilityCache", new clearItemAvailabilityCache());
3043
      processMap.put("clearItemAvailabilityCache", new clearItemAvailabilityCache());
2686
      processMap.put("updateVendorString", new updateVendorString());
3044
      processMap.put("updateVendorString", new updateVendorString());
2687
      processMap.put("clearItemAvailabilityCacheForItem", new clearItemAvailabilityCacheForItem());
3045
      processMap.put("clearItemAvailabilityCacheForItem", new clearItemAvailabilityCacheForItem());
2688
      processMap.put("getOurWarehouseIdForVendor", new getOurWarehouseIdForVendor());
3046
      processMap.put("getOurWarehouseIdForVendor", new getOurWarehouseIdForVendor());
2689
      processMap.put("getItemAvailabilitiesAtOurWarehouses", new getItemAvailabilitiesAtOurWarehouses());
3047
      processMap.put("getItemAvailabilitiesAtOurWarehouses", new getItemAvailabilitiesAtOurWarehouses());
-
 
3048
      processMap.put("getMonitoredWarehouseForVendors", new getMonitoredWarehouseForVendors());
-
 
3049
      processMap.put("getIgnoredWarehouseidsAndItemids", new getIgnoredWarehouseidsAndItemids());
-
 
3050
      processMap.put("insertItemtoIgnoreInventoryUpdatelist", new insertItemtoIgnoreInventoryUpdatelist());
-
 
3051
      processMap.put("deleteItemFromIgnoredInventoryUpdateList", new deleteItemFromIgnoredInventoryUpdateList());
-
 
3052
      processMap.put("getAllIgnoredInventoryupdateItemsCount", new getAllIgnoredInventoryupdateItemsCount());
-
 
3053
      processMap.put("getIgnoredInventoryUpdateItemids", new getIgnoredInventoryUpdateItemids());
2690
      return processMap;
3054
      return processMap;
2691
    }
3055
    }
2692
 
3056
 
2693
    private static class addWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addWarehouse_args> {
3057
    private static class addWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addWarehouse_args> {
2694
      public addWarehouse() {
3058
      public addWarehouse() {
Line 3391... Line 3755...
3391
        result.success = iface.getItemAvailabilitiesAtOurWarehouses(args.item_ids);
3755
        result.success = iface.getItemAvailabilitiesAtOurWarehouses(args.item_ids);
3392
        return result;
3756
        return result;
3393
      }
3757
      }
3394
    }
3758
    }
3395
 
3759
 
-
 
3760
    private static class getMonitoredWarehouseForVendors<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getMonitoredWarehouseForVendors_args> {
-
 
3761
      public getMonitoredWarehouseForVendors() {
-
 
3762
        super("getMonitoredWarehouseForVendors");
-
 
3763
      }
-
 
3764
 
-
 
3765
      protected getMonitoredWarehouseForVendors_args getEmptyArgsInstance() {
-
 
3766
        return new getMonitoredWarehouseForVendors_args();
-
 
3767
      }
-
 
3768
 
-
 
3769
      protected getMonitoredWarehouseForVendors_result getResult(I iface, getMonitoredWarehouseForVendors_args args) throws org.apache.thrift.TException {
-
 
3770
        getMonitoredWarehouseForVendors_result result = new getMonitoredWarehouseForVendors_result();
-
 
3771
        result.success = iface.getMonitoredWarehouseForVendors(args.vendorIds);
-
 
3772
        return result;
-
 
3773
      }
-
 
3774
    }
-
 
3775
 
-
 
3776
    private static class getIgnoredWarehouseidsAndItemids<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getIgnoredWarehouseidsAndItemids_args> {
-
 
3777
      public getIgnoredWarehouseidsAndItemids() {
-
 
3778
        super("getIgnoredWarehouseidsAndItemids");
-
 
3779
      }
-
 
3780
 
-
 
3781
      protected getIgnoredWarehouseidsAndItemids_args getEmptyArgsInstance() {
-
 
3782
        return new getIgnoredWarehouseidsAndItemids_args();
-
 
3783
      }
-
 
3784
 
-
 
3785
      protected getIgnoredWarehouseidsAndItemids_result getResult(I iface, getIgnoredWarehouseidsAndItemids_args args) throws org.apache.thrift.TException {
-
 
3786
        getIgnoredWarehouseidsAndItemids_result result = new getIgnoredWarehouseidsAndItemids_result();
-
 
3787
        result.success = iface.getIgnoredWarehouseidsAndItemids();
-
 
3788
        return result;
-
 
3789
      }
-
 
3790
    }
-
 
3791
 
-
 
3792
    private static class insertItemtoIgnoreInventoryUpdatelist<I extends Iface> extends org.apache.thrift.ProcessFunction<I, insertItemtoIgnoreInventoryUpdatelist_args> {
-
 
3793
      public insertItemtoIgnoreInventoryUpdatelist() {
-
 
3794
        super("insertItemtoIgnoreInventoryUpdatelist");
-
 
3795
      }
-
 
3796
 
-
 
3797
      protected insertItemtoIgnoreInventoryUpdatelist_args getEmptyArgsInstance() {
-
 
3798
        return new insertItemtoIgnoreInventoryUpdatelist_args();
-
 
3799
      }
-
 
3800
 
-
 
3801
      protected insertItemtoIgnoreInventoryUpdatelist_result getResult(I iface, insertItemtoIgnoreInventoryUpdatelist_args args) throws org.apache.thrift.TException {
-
 
3802
        insertItemtoIgnoreInventoryUpdatelist_result result = new insertItemtoIgnoreInventoryUpdatelist_result();
-
 
3803
        result.success = iface.insertItemtoIgnoreInventoryUpdatelist(args.item_id, args.warehouse_id);
-
 
3804
        result.setSuccessIsSet(true);
-
 
3805
        return result;
-
 
3806
      }
-
 
3807
    }
-
 
3808
 
-
 
3809
    private static class deleteItemFromIgnoredInventoryUpdateList<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteItemFromIgnoredInventoryUpdateList_args> {
-
 
3810
      public deleteItemFromIgnoredInventoryUpdateList() {
-
 
3811
        super("deleteItemFromIgnoredInventoryUpdateList");
-
 
3812
      }
-
 
3813
 
-
 
3814
      protected deleteItemFromIgnoredInventoryUpdateList_args getEmptyArgsInstance() {
-
 
3815
        return new deleteItemFromIgnoredInventoryUpdateList_args();
-
 
3816
      }
-
 
3817
 
-
 
3818
      protected deleteItemFromIgnoredInventoryUpdateList_result getResult(I iface, deleteItemFromIgnoredInventoryUpdateList_args args) throws org.apache.thrift.TException {
-
 
3819
        deleteItemFromIgnoredInventoryUpdateList_result result = new deleteItemFromIgnoredInventoryUpdateList_result();
-
 
3820
        result.success = iface.deleteItemFromIgnoredInventoryUpdateList(args.item_id, args.warehouse_id);
-
 
3821
        result.setSuccessIsSet(true);
-
 
3822
        return result;
-
 
3823
      }
-
 
3824
    }
-
 
3825
 
-
 
3826
    private static class getAllIgnoredInventoryupdateItemsCount<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllIgnoredInventoryupdateItemsCount_args> {
-
 
3827
      public getAllIgnoredInventoryupdateItemsCount() {
-
 
3828
        super("getAllIgnoredInventoryupdateItemsCount");
-
 
3829
      }
-
 
3830
 
-
 
3831
      protected getAllIgnoredInventoryupdateItemsCount_args getEmptyArgsInstance() {
-
 
3832
        return new getAllIgnoredInventoryupdateItemsCount_args();
-
 
3833
      }
-
 
3834
 
-
 
3835
      protected getAllIgnoredInventoryupdateItemsCount_result getResult(I iface, getAllIgnoredInventoryupdateItemsCount_args args) throws org.apache.thrift.TException {
-
 
3836
        getAllIgnoredInventoryupdateItemsCount_result result = new getAllIgnoredInventoryupdateItemsCount_result();
-
 
3837
        result.success = iface.getAllIgnoredInventoryupdateItemsCount();
-
 
3838
        result.setSuccessIsSet(true);
-
 
3839
        return result;
-
 
3840
      }
-
 
3841
    }
-
 
3842
 
-
 
3843
    private static class getIgnoredInventoryUpdateItemids<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getIgnoredInventoryUpdateItemids_args> {
-
 
3844
      public getIgnoredInventoryUpdateItemids() {
-
 
3845
        super("getIgnoredInventoryUpdateItemids");
-
 
3846
      }
-
 
3847
 
-
 
3848
      protected getIgnoredInventoryUpdateItemids_args getEmptyArgsInstance() {
-
 
3849
        return new getIgnoredInventoryUpdateItemids_args();
-
 
3850
      }
-
 
3851
 
-
 
3852
      protected getIgnoredInventoryUpdateItemids_result getResult(I iface, getIgnoredInventoryUpdateItemids_args args) throws org.apache.thrift.TException {
-
 
3853
        getIgnoredInventoryUpdateItemids_result result = new getIgnoredInventoryUpdateItemids_result();
-
 
3854
        result.success = iface.getIgnoredInventoryUpdateItemids(args.offset, args.limit);
-
 
3855
        return result;
-
 
3856
      }
-
 
3857
    }
-
 
3858
 
3396
  }
3859
  }
3397
 
3860
 
3398
  public static class addWarehouse_args implements org.apache.thrift.TBase<addWarehouse_args, addWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
3861
  public static class addWarehouse_args implements org.apache.thrift.TBase<addWarehouse_args, addWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
3399
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addWarehouse_args");
3862
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addWarehouse_args");
3400
 
3863
 
Line 5250... Line 5713...
5250
      }
5713
      }
5251
    }
5714
    }
5252
 
5715
 
5253
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5716
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5254
      try {
5717
      try {
-
 
5718
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
5719
        __isset_bit_vector = new BitSet(1);
5255
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5720
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5256
      } catch (org.apache.thrift.TException te) {
5721
      } catch (org.apache.thrift.TException te) {
5257
        throw new java.io.IOException(te);
5722
        throw new java.io.IOException(te);
5258
      }
5723
      }
5259
    }
5724
    }
Line 24871... Line 25336...
24871
      }
25336
      }
24872
    }
25337
    }
24873
 
25338
 
24874
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
25339
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
24875
      try {
25340
      try {
-
 
25341
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
25342
        __isset_bit_vector = new BitSet(1);
24876
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
25343
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
24877
      } catch (org.apache.thrift.TException te) {
25344
      } catch (org.apache.thrift.TException te) {
24878
        throw new java.io.IOException(te);
25345
        throw new java.io.IOException(te);
24879
      }
25346
      }
24880
    }
25347
    }
Line 29567... Line 30034...
29567
      boolean first = true;
30034
      boolean first = true;
29568
 
30035
 
29569
      sb.append("success:");
30036
      sb.append("success:");
29570
      if (this.success == null) {
30037
      if (this.success == null) {
29571
        sb.append("null");
30038
        sb.append("null");
-
 
30039
      } else {
-
 
30040
        sb.append(this.success);
-
 
30041
      }
-
 
30042
      first = false;
-
 
30043
      sb.append(")");
-
 
30044
      return sb.toString();
-
 
30045
    }
-
 
30046
 
-
 
30047
    public void validate() throws org.apache.thrift.TException {
-
 
30048
      // check for required fields
-
 
30049
    }
-
 
30050
 
-
 
30051
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30052
      try {
-
 
30053
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30054
      } catch (org.apache.thrift.TException te) {
-
 
30055
        throw new java.io.IOException(te);
-
 
30056
      }
-
 
30057
    }
-
 
30058
 
-
 
30059
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30060
      try {
-
 
30061
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30062
      } catch (org.apache.thrift.TException te) {
-
 
30063
        throw new java.io.IOException(te);
-
 
30064
      }
-
 
30065
    }
-
 
30066
 
-
 
30067
  }
-
 
30068
 
-
 
30069
  public static class getMonitoredWarehouseForVendors_args implements org.apache.thrift.TBase<getMonitoredWarehouseForVendors_args, getMonitoredWarehouseForVendors_args._Fields>, java.io.Serializable, Cloneable   {
-
 
30070
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMonitoredWarehouseForVendors_args");
-
 
30071
 
-
 
30072
    private static final org.apache.thrift.protocol.TField VENDOR_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorIds", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
30073
 
-
 
30074
    private List<Long> vendorIds; // required
-
 
30075
 
-
 
30076
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30077
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30078
      VENDOR_IDS((short)1, "vendorIds");
-
 
30079
 
-
 
30080
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30081
 
-
 
30082
      static {
-
 
30083
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30084
          byName.put(field.getFieldName(), field);
-
 
30085
        }
-
 
30086
      }
-
 
30087
 
-
 
30088
      /**
-
 
30089
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30090
       */
-
 
30091
      public static _Fields findByThriftId(int fieldId) {
-
 
30092
        switch(fieldId) {
-
 
30093
          case 1: // VENDOR_IDS
-
 
30094
            return VENDOR_IDS;
-
 
30095
          default:
-
 
30096
            return null;
-
 
30097
        }
-
 
30098
      }
-
 
30099
 
-
 
30100
      /**
-
 
30101
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30102
       * if it is not found.
-
 
30103
       */
-
 
30104
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30105
        _Fields fields = findByThriftId(fieldId);
-
 
30106
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30107
        return fields;
-
 
30108
      }
-
 
30109
 
-
 
30110
      /**
-
 
30111
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30112
       */
-
 
30113
      public static _Fields findByName(String name) {
-
 
30114
        return byName.get(name);
-
 
30115
      }
-
 
30116
 
-
 
30117
      private final short _thriftId;
-
 
30118
      private final String _fieldName;
-
 
30119
 
-
 
30120
      _Fields(short thriftId, String fieldName) {
-
 
30121
        _thriftId = thriftId;
-
 
30122
        _fieldName = fieldName;
-
 
30123
      }
-
 
30124
 
-
 
30125
      public short getThriftFieldId() {
-
 
30126
        return _thriftId;
-
 
30127
      }
-
 
30128
 
-
 
30129
      public String getFieldName() {
-
 
30130
        return _fieldName;
-
 
30131
      }
-
 
30132
    }
-
 
30133
 
-
 
30134
    // isset id assignments
-
 
30135
 
-
 
30136
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30137
    static {
-
 
30138
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30139
      tmpMap.put(_Fields.VENDOR_IDS, new org.apache.thrift.meta_data.FieldMetaData("vendorIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30140
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
30141
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
30142
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30143
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMonitoredWarehouseForVendors_args.class, metaDataMap);
-
 
30144
    }
-
 
30145
 
-
 
30146
    public getMonitoredWarehouseForVendors_args() {
-
 
30147
    }
-
 
30148
 
-
 
30149
    public getMonitoredWarehouseForVendors_args(
-
 
30150
      List<Long> vendorIds)
-
 
30151
    {
-
 
30152
      this();
-
 
30153
      this.vendorIds = vendorIds;
-
 
30154
    }
-
 
30155
 
-
 
30156
    /**
-
 
30157
     * Performs a deep copy on <i>other</i>.
-
 
30158
     */
-
 
30159
    public getMonitoredWarehouseForVendors_args(getMonitoredWarehouseForVendors_args other) {
-
 
30160
      if (other.isSetVendorIds()) {
-
 
30161
        List<Long> __this__vendorIds = new ArrayList<Long>();
-
 
30162
        for (Long other_element : other.vendorIds) {
-
 
30163
          __this__vendorIds.add(other_element);
-
 
30164
        }
-
 
30165
        this.vendorIds = __this__vendorIds;
-
 
30166
      }
-
 
30167
    }
-
 
30168
 
-
 
30169
    public getMonitoredWarehouseForVendors_args deepCopy() {
-
 
30170
      return new getMonitoredWarehouseForVendors_args(this);
-
 
30171
    }
-
 
30172
 
-
 
30173
    @Override
-
 
30174
    public void clear() {
-
 
30175
      this.vendorIds = null;
-
 
30176
    }
-
 
30177
 
-
 
30178
    public int getVendorIdsSize() {
-
 
30179
      return (this.vendorIds == null) ? 0 : this.vendorIds.size();
-
 
30180
    }
-
 
30181
 
-
 
30182
    public java.util.Iterator<Long> getVendorIdsIterator() {
-
 
30183
      return (this.vendorIds == null) ? null : this.vendorIds.iterator();
-
 
30184
    }
-
 
30185
 
-
 
30186
    public void addToVendorIds(long elem) {
-
 
30187
      if (this.vendorIds == null) {
-
 
30188
        this.vendorIds = new ArrayList<Long>();
-
 
30189
      }
-
 
30190
      this.vendorIds.add(elem);
-
 
30191
    }
-
 
30192
 
-
 
30193
    public List<Long> getVendorIds() {
-
 
30194
      return this.vendorIds;
-
 
30195
    }
-
 
30196
 
-
 
30197
    public void setVendorIds(List<Long> vendorIds) {
-
 
30198
      this.vendorIds = vendorIds;
-
 
30199
    }
-
 
30200
 
-
 
30201
    public void unsetVendorIds() {
-
 
30202
      this.vendorIds = null;
-
 
30203
    }
-
 
30204
 
-
 
30205
    /** Returns true if field vendorIds is set (has been assigned a value) and false otherwise */
-
 
30206
    public boolean isSetVendorIds() {
-
 
30207
      return this.vendorIds != null;
-
 
30208
    }
-
 
30209
 
-
 
30210
    public void setVendorIdsIsSet(boolean value) {
-
 
30211
      if (!value) {
-
 
30212
        this.vendorIds = null;
-
 
30213
      }
-
 
30214
    }
-
 
30215
 
-
 
30216
    public void setFieldValue(_Fields field, Object value) {
-
 
30217
      switch (field) {
-
 
30218
      case VENDOR_IDS:
-
 
30219
        if (value == null) {
-
 
30220
          unsetVendorIds();
-
 
30221
        } else {
-
 
30222
          setVendorIds((List<Long>)value);
-
 
30223
        }
-
 
30224
        break;
-
 
30225
 
-
 
30226
      }
-
 
30227
    }
-
 
30228
 
-
 
30229
    public Object getFieldValue(_Fields field) {
-
 
30230
      switch (field) {
-
 
30231
      case VENDOR_IDS:
-
 
30232
        return getVendorIds();
-
 
30233
 
-
 
30234
      }
-
 
30235
      throw new IllegalStateException();
-
 
30236
    }
-
 
30237
 
-
 
30238
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30239
    public boolean isSet(_Fields field) {
-
 
30240
      if (field == null) {
-
 
30241
        throw new IllegalArgumentException();
-
 
30242
      }
-
 
30243
 
-
 
30244
      switch (field) {
-
 
30245
      case VENDOR_IDS:
-
 
30246
        return isSetVendorIds();
-
 
30247
      }
-
 
30248
      throw new IllegalStateException();
-
 
30249
    }
-
 
30250
 
-
 
30251
    @Override
-
 
30252
    public boolean equals(Object that) {
-
 
30253
      if (that == null)
-
 
30254
        return false;
-
 
30255
      if (that instanceof getMonitoredWarehouseForVendors_args)
-
 
30256
        return this.equals((getMonitoredWarehouseForVendors_args)that);
-
 
30257
      return false;
-
 
30258
    }
-
 
30259
 
-
 
30260
    public boolean equals(getMonitoredWarehouseForVendors_args that) {
-
 
30261
      if (that == null)
-
 
30262
        return false;
-
 
30263
 
-
 
30264
      boolean this_present_vendorIds = true && this.isSetVendorIds();
-
 
30265
      boolean that_present_vendorIds = true && that.isSetVendorIds();
-
 
30266
      if (this_present_vendorIds || that_present_vendorIds) {
-
 
30267
        if (!(this_present_vendorIds && that_present_vendorIds))
-
 
30268
          return false;
-
 
30269
        if (!this.vendorIds.equals(that.vendorIds))
-
 
30270
          return false;
-
 
30271
      }
-
 
30272
 
-
 
30273
      return true;
-
 
30274
    }
-
 
30275
 
-
 
30276
    @Override
-
 
30277
    public int hashCode() {
-
 
30278
      return 0;
-
 
30279
    }
-
 
30280
 
-
 
30281
    public int compareTo(getMonitoredWarehouseForVendors_args other) {
-
 
30282
      if (!getClass().equals(other.getClass())) {
-
 
30283
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30284
      }
-
 
30285
 
-
 
30286
      int lastComparison = 0;
-
 
30287
      getMonitoredWarehouseForVendors_args typedOther = (getMonitoredWarehouseForVendors_args)other;
-
 
30288
 
-
 
30289
      lastComparison = Boolean.valueOf(isSetVendorIds()).compareTo(typedOther.isSetVendorIds());
-
 
30290
      if (lastComparison != 0) {
-
 
30291
        return lastComparison;
-
 
30292
      }
-
 
30293
      if (isSetVendorIds()) {
-
 
30294
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorIds, typedOther.vendorIds);
-
 
30295
        if (lastComparison != 0) {
-
 
30296
          return lastComparison;
-
 
30297
        }
-
 
30298
      }
-
 
30299
      return 0;
-
 
30300
    }
-
 
30301
 
-
 
30302
    public _Fields fieldForId(int fieldId) {
-
 
30303
      return _Fields.findByThriftId(fieldId);
-
 
30304
    }
-
 
30305
 
-
 
30306
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30307
      org.apache.thrift.protocol.TField field;
-
 
30308
      iprot.readStructBegin();
-
 
30309
      while (true)
-
 
30310
      {
-
 
30311
        field = iprot.readFieldBegin();
-
 
30312
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30313
          break;
-
 
30314
        }
-
 
30315
        switch (field.id) {
-
 
30316
          case 1: // VENDOR_IDS
-
 
30317
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
30318
              {
-
 
30319
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
-
 
30320
                this.vendorIds = new ArrayList<Long>(_list88.size);
-
 
30321
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
-
 
30322
                {
-
 
30323
                  long _elem90; // required
-
 
30324
                  _elem90 = iprot.readI64();
-
 
30325
                  this.vendorIds.add(_elem90);
-
 
30326
                }
-
 
30327
                iprot.readListEnd();
-
 
30328
              }
-
 
30329
            } else { 
-
 
30330
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30331
            }
-
 
30332
            break;
-
 
30333
          default:
-
 
30334
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30335
        }
-
 
30336
        iprot.readFieldEnd();
-
 
30337
      }
-
 
30338
      iprot.readStructEnd();
-
 
30339
      validate();
-
 
30340
    }
-
 
30341
 
-
 
30342
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30343
      validate();
-
 
30344
 
-
 
30345
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30346
      if (this.vendorIds != null) {
-
 
30347
        oprot.writeFieldBegin(VENDOR_IDS_FIELD_DESC);
-
 
30348
        {
-
 
30349
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.vendorIds.size()));
-
 
30350
          for (long _iter91 : this.vendorIds)
-
 
30351
          {
-
 
30352
            oprot.writeI64(_iter91);
-
 
30353
          }
-
 
30354
          oprot.writeListEnd();
-
 
30355
        }
-
 
30356
        oprot.writeFieldEnd();
-
 
30357
      }
-
 
30358
      oprot.writeFieldStop();
-
 
30359
      oprot.writeStructEnd();
-
 
30360
    }
-
 
30361
 
-
 
30362
    @Override
-
 
30363
    public String toString() {
-
 
30364
      StringBuilder sb = new StringBuilder("getMonitoredWarehouseForVendors_args(");
-
 
30365
      boolean first = true;
-
 
30366
 
-
 
30367
      sb.append("vendorIds:");
-
 
30368
      if (this.vendorIds == null) {
-
 
30369
        sb.append("null");
-
 
30370
      } else {
-
 
30371
        sb.append(this.vendorIds);
-
 
30372
      }
-
 
30373
      first = false;
-
 
30374
      sb.append(")");
-
 
30375
      return sb.toString();
-
 
30376
    }
-
 
30377
 
-
 
30378
    public void validate() throws org.apache.thrift.TException {
-
 
30379
      // check for required fields
-
 
30380
    }
-
 
30381
 
-
 
30382
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30383
      try {
-
 
30384
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30385
      } catch (org.apache.thrift.TException te) {
-
 
30386
        throw new java.io.IOException(te);
-
 
30387
      }
-
 
30388
    }
-
 
30389
 
-
 
30390
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30391
      try {
-
 
30392
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30393
      } catch (org.apache.thrift.TException te) {
-
 
30394
        throw new java.io.IOException(te);
-
 
30395
      }
-
 
30396
    }
-
 
30397
 
-
 
30398
  }
-
 
30399
 
-
 
30400
  public static class getMonitoredWarehouseForVendors_result implements org.apache.thrift.TBase<getMonitoredWarehouseForVendors_result, getMonitoredWarehouseForVendors_result._Fields>, java.io.Serializable, Cloneable   {
-
 
30401
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMonitoredWarehouseForVendors_result");
-
 
30402
 
-
 
30403
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
30404
 
-
 
30405
    private List<Long> success; // required
-
 
30406
 
-
 
30407
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30408
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30409
      SUCCESS((short)0, "success");
-
 
30410
 
-
 
30411
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30412
 
-
 
30413
      static {
-
 
30414
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30415
          byName.put(field.getFieldName(), field);
-
 
30416
        }
-
 
30417
      }
-
 
30418
 
-
 
30419
      /**
-
 
30420
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30421
       */
-
 
30422
      public static _Fields findByThriftId(int fieldId) {
-
 
30423
        switch(fieldId) {
-
 
30424
          case 0: // SUCCESS
-
 
30425
            return SUCCESS;
-
 
30426
          default:
-
 
30427
            return null;
-
 
30428
        }
-
 
30429
      }
-
 
30430
 
-
 
30431
      /**
-
 
30432
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30433
       * if it is not found.
-
 
30434
       */
-
 
30435
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30436
        _Fields fields = findByThriftId(fieldId);
-
 
30437
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30438
        return fields;
-
 
30439
      }
-
 
30440
 
-
 
30441
      /**
-
 
30442
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30443
       */
-
 
30444
      public static _Fields findByName(String name) {
-
 
30445
        return byName.get(name);
-
 
30446
      }
-
 
30447
 
-
 
30448
      private final short _thriftId;
-
 
30449
      private final String _fieldName;
-
 
30450
 
-
 
30451
      _Fields(short thriftId, String fieldName) {
-
 
30452
        _thriftId = thriftId;
-
 
30453
        _fieldName = fieldName;
-
 
30454
      }
-
 
30455
 
-
 
30456
      public short getThriftFieldId() {
-
 
30457
        return _thriftId;
-
 
30458
      }
-
 
30459
 
-
 
30460
      public String getFieldName() {
-
 
30461
        return _fieldName;
-
 
30462
      }
-
 
30463
    }
-
 
30464
 
-
 
30465
    // isset id assignments
-
 
30466
 
-
 
30467
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30468
    static {
-
 
30469
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30470
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30471
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
30472
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
30473
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30474
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMonitoredWarehouseForVendors_result.class, metaDataMap);
-
 
30475
    }
-
 
30476
 
-
 
30477
    public getMonitoredWarehouseForVendors_result() {
-
 
30478
    }
-
 
30479
 
-
 
30480
    public getMonitoredWarehouseForVendors_result(
-
 
30481
      List<Long> success)
-
 
30482
    {
-
 
30483
      this();
-
 
30484
      this.success = success;
-
 
30485
    }
-
 
30486
 
-
 
30487
    /**
-
 
30488
     * Performs a deep copy on <i>other</i>.
-
 
30489
     */
-
 
30490
    public getMonitoredWarehouseForVendors_result(getMonitoredWarehouseForVendors_result other) {
-
 
30491
      if (other.isSetSuccess()) {
-
 
30492
        List<Long> __this__success = new ArrayList<Long>();
-
 
30493
        for (Long other_element : other.success) {
-
 
30494
          __this__success.add(other_element);
-
 
30495
        }
-
 
30496
        this.success = __this__success;
-
 
30497
      }
-
 
30498
    }
-
 
30499
 
-
 
30500
    public getMonitoredWarehouseForVendors_result deepCopy() {
-
 
30501
      return new getMonitoredWarehouseForVendors_result(this);
-
 
30502
    }
-
 
30503
 
-
 
30504
    @Override
-
 
30505
    public void clear() {
-
 
30506
      this.success = null;
-
 
30507
    }
-
 
30508
 
-
 
30509
    public int getSuccessSize() {
-
 
30510
      return (this.success == null) ? 0 : this.success.size();
-
 
30511
    }
-
 
30512
 
-
 
30513
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
30514
      return (this.success == null) ? null : this.success.iterator();
-
 
30515
    }
-
 
30516
 
-
 
30517
    public void addToSuccess(long elem) {
-
 
30518
      if (this.success == null) {
-
 
30519
        this.success = new ArrayList<Long>();
-
 
30520
      }
-
 
30521
      this.success.add(elem);
-
 
30522
    }
-
 
30523
 
-
 
30524
    public List<Long> getSuccess() {
-
 
30525
      return this.success;
-
 
30526
    }
-
 
30527
 
-
 
30528
    public void setSuccess(List<Long> success) {
-
 
30529
      this.success = success;
-
 
30530
    }
-
 
30531
 
-
 
30532
    public void unsetSuccess() {
-
 
30533
      this.success = null;
-
 
30534
    }
-
 
30535
 
-
 
30536
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
30537
    public boolean isSetSuccess() {
-
 
30538
      return this.success != null;
-
 
30539
    }
-
 
30540
 
-
 
30541
    public void setSuccessIsSet(boolean value) {
-
 
30542
      if (!value) {
-
 
30543
        this.success = null;
-
 
30544
      }
-
 
30545
    }
-
 
30546
 
-
 
30547
    public void setFieldValue(_Fields field, Object value) {
-
 
30548
      switch (field) {
-
 
30549
      case SUCCESS:
-
 
30550
        if (value == null) {
-
 
30551
          unsetSuccess();
-
 
30552
        } else {
-
 
30553
          setSuccess((List<Long>)value);
-
 
30554
        }
-
 
30555
        break;
-
 
30556
 
-
 
30557
      }
-
 
30558
    }
-
 
30559
 
-
 
30560
    public Object getFieldValue(_Fields field) {
-
 
30561
      switch (field) {
-
 
30562
      case SUCCESS:
-
 
30563
        return getSuccess();
-
 
30564
 
-
 
30565
      }
-
 
30566
      throw new IllegalStateException();
-
 
30567
    }
-
 
30568
 
-
 
30569
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30570
    public boolean isSet(_Fields field) {
-
 
30571
      if (field == null) {
-
 
30572
        throw new IllegalArgumentException();
-
 
30573
      }
-
 
30574
 
-
 
30575
      switch (field) {
-
 
30576
      case SUCCESS:
-
 
30577
        return isSetSuccess();
-
 
30578
      }
-
 
30579
      throw new IllegalStateException();
-
 
30580
    }
-
 
30581
 
-
 
30582
    @Override
-
 
30583
    public boolean equals(Object that) {
-
 
30584
      if (that == null)
-
 
30585
        return false;
-
 
30586
      if (that instanceof getMonitoredWarehouseForVendors_result)
-
 
30587
        return this.equals((getMonitoredWarehouseForVendors_result)that);
-
 
30588
      return false;
-
 
30589
    }
-
 
30590
 
-
 
30591
    public boolean equals(getMonitoredWarehouseForVendors_result that) {
-
 
30592
      if (that == null)
-
 
30593
        return false;
-
 
30594
 
-
 
30595
      boolean this_present_success = true && this.isSetSuccess();
-
 
30596
      boolean that_present_success = true && that.isSetSuccess();
-
 
30597
      if (this_present_success || that_present_success) {
-
 
30598
        if (!(this_present_success && that_present_success))
-
 
30599
          return false;
-
 
30600
        if (!this.success.equals(that.success))
-
 
30601
          return false;
-
 
30602
      }
-
 
30603
 
-
 
30604
      return true;
-
 
30605
    }
-
 
30606
 
-
 
30607
    @Override
-
 
30608
    public int hashCode() {
-
 
30609
      return 0;
-
 
30610
    }
-
 
30611
 
-
 
30612
    public int compareTo(getMonitoredWarehouseForVendors_result other) {
-
 
30613
      if (!getClass().equals(other.getClass())) {
-
 
30614
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30615
      }
-
 
30616
 
-
 
30617
      int lastComparison = 0;
-
 
30618
      getMonitoredWarehouseForVendors_result typedOther = (getMonitoredWarehouseForVendors_result)other;
-
 
30619
 
-
 
30620
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
30621
      if (lastComparison != 0) {
-
 
30622
        return lastComparison;
-
 
30623
      }
-
 
30624
      if (isSetSuccess()) {
-
 
30625
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
30626
        if (lastComparison != 0) {
-
 
30627
          return lastComparison;
-
 
30628
        }
-
 
30629
      }
-
 
30630
      return 0;
-
 
30631
    }
-
 
30632
 
-
 
30633
    public _Fields fieldForId(int fieldId) {
-
 
30634
      return _Fields.findByThriftId(fieldId);
-
 
30635
    }
-
 
30636
 
-
 
30637
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30638
      org.apache.thrift.protocol.TField field;
-
 
30639
      iprot.readStructBegin();
-
 
30640
      while (true)
-
 
30641
      {
-
 
30642
        field = iprot.readFieldBegin();
-
 
30643
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30644
          break;
-
 
30645
        }
-
 
30646
        switch (field.id) {
-
 
30647
          case 0: // SUCCESS
-
 
30648
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
30649
              {
-
 
30650
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
-
 
30651
                this.success = new ArrayList<Long>(_list92.size);
-
 
30652
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
-
 
30653
                {
-
 
30654
                  long _elem94; // required
-
 
30655
                  _elem94 = iprot.readI64();
-
 
30656
                  this.success.add(_elem94);
-
 
30657
                }
-
 
30658
                iprot.readListEnd();
-
 
30659
              }
-
 
30660
            } else { 
-
 
30661
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30662
            }
-
 
30663
            break;
-
 
30664
          default:
-
 
30665
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30666
        }
-
 
30667
        iprot.readFieldEnd();
-
 
30668
      }
-
 
30669
      iprot.readStructEnd();
-
 
30670
      validate();
-
 
30671
    }
-
 
30672
 
-
 
30673
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30674
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30675
 
-
 
30676
      if (this.isSetSuccess()) {
-
 
30677
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
30678
        {
-
 
30679
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
30680
          for (long _iter95 : this.success)
-
 
30681
          {
-
 
30682
            oprot.writeI64(_iter95);
-
 
30683
          }
-
 
30684
          oprot.writeListEnd();
-
 
30685
        }
-
 
30686
        oprot.writeFieldEnd();
-
 
30687
      }
-
 
30688
      oprot.writeFieldStop();
-
 
30689
      oprot.writeStructEnd();
-
 
30690
    }
-
 
30691
 
-
 
30692
    @Override
-
 
30693
    public String toString() {
-
 
30694
      StringBuilder sb = new StringBuilder("getMonitoredWarehouseForVendors_result(");
-
 
30695
      boolean first = true;
-
 
30696
 
-
 
30697
      sb.append("success:");
-
 
30698
      if (this.success == null) {
-
 
30699
        sb.append("null");
-
 
30700
      } else {
-
 
30701
        sb.append(this.success);
-
 
30702
      }
-
 
30703
      first = false;
-
 
30704
      sb.append(")");
-
 
30705
      return sb.toString();
-
 
30706
    }
-
 
30707
 
-
 
30708
    public void validate() throws org.apache.thrift.TException {
-
 
30709
      // check for required fields
-
 
30710
    }
-
 
30711
 
-
 
30712
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30713
      try {
-
 
30714
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30715
      } catch (org.apache.thrift.TException te) {
-
 
30716
        throw new java.io.IOException(te);
-
 
30717
      }
-
 
30718
    }
-
 
30719
 
-
 
30720
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30721
      try {
-
 
30722
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30723
      } catch (org.apache.thrift.TException te) {
-
 
30724
        throw new java.io.IOException(te);
-
 
30725
      }
-
 
30726
    }
-
 
30727
 
-
 
30728
  }
-
 
30729
 
-
 
30730
  public static class getIgnoredWarehouseidsAndItemids_args implements org.apache.thrift.TBase<getIgnoredWarehouseidsAndItemids_args, getIgnoredWarehouseidsAndItemids_args._Fields>, java.io.Serializable, Cloneable   {
-
 
30731
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgnoredWarehouseidsAndItemids_args");
-
 
30732
 
-
 
30733
 
-
 
30734
 
-
 
30735
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30736
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30737
;
-
 
30738
 
-
 
30739
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30740
 
-
 
30741
      static {
-
 
30742
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30743
          byName.put(field.getFieldName(), field);
-
 
30744
        }
-
 
30745
      }
-
 
30746
 
-
 
30747
      /**
-
 
30748
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30749
       */
-
 
30750
      public static _Fields findByThriftId(int fieldId) {
-
 
30751
        switch(fieldId) {
-
 
30752
          default:
-
 
30753
            return null;
-
 
30754
        }
-
 
30755
      }
-
 
30756
 
-
 
30757
      /**
-
 
30758
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30759
       * if it is not found.
-
 
30760
       */
-
 
30761
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30762
        _Fields fields = findByThriftId(fieldId);
-
 
30763
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30764
        return fields;
-
 
30765
      }
-
 
30766
 
-
 
30767
      /**
-
 
30768
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30769
       */
-
 
30770
      public static _Fields findByName(String name) {
-
 
30771
        return byName.get(name);
-
 
30772
      }
-
 
30773
 
-
 
30774
      private final short _thriftId;
-
 
30775
      private final String _fieldName;
-
 
30776
 
-
 
30777
      _Fields(short thriftId, String fieldName) {
-
 
30778
        _thriftId = thriftId;
-
 
30779
        _fieldName = fieldName;
-
 
30780
      }
-
 
30781
 
-
 
30782
      public short getThriftFieldId() {
-
 
30783
        return _thriftId;
-
 
30784
      }
-
 
30785
 
-
 
30786
      public String getFieldName() {
-
 
30787
        return _fieldName;
-
 
30788
      }
-
 
30789
    }
-
 
30790
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30791
    static {
-
 
30792
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30793
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30794
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgnoredWarehouseidsAndItemids_args.class, metaDataMap);
-
 
30795
    }
-
 
30796
 
-
 
30797
    public getIgnoredWarehouseidsAndItemids_args() {
-
 
30798
    }
-
 
30799
 
-
 
30800
    /**
-
 
30801
     * Performs a deep copy on <i>other</i>.
-
 
30802
     */
-
 
30803
    public getIgnoredWarehouseidsAndItemids_args(getIgnoredWarehouseidsAndItemids_args other) {
-
 
30804
    }
-
 
30805
 
-
 
30806
    public getIgnoredWarehouseidsAndItemids_args deepCopy() {
-
 
30807
      return new getIgnoredWarehouseidsAndItemids_args(this);
-
 
30808
    }
-
 
30809
 
-
 
30810
    @Override
-
 
30811
    public void clear() {
-
 
30812
    }
-
 
30813
 
-
 
30814
    public void setFieldValue(_Fields field, Object value) {
-
 
30815
      switch (field) {
-
 
30816
      }
-
 
30817
    }
-
 
30818
 
-
 
30819
    public Object getFieldValue(_Fields field) {
-
 
30820
      switch (field) {
-
 
30821
      }
-
 
30822
      throw new IllegalStateException();
-
 
30823
    }
-
 
30824
 
-
 
30825
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30826
    public boolean isSet(_Fields field) {
-
 
30827
      if (field == null) {
-
 
30828
        throw new IllegalArgumentException();
-
 
30829
      }
-
 
30830
 
-
 
30831
      switch (field) {
-
 
30832
      }
-
 
30833
      throw new IllegalStateException();
-
 
30834
    }
-
 
30835
 
-
 
30836
    @Override
-
 
30837
    public boolean equals(Object that) {
-
 
30838
      if (that == null)
-
 
30839
        return false;
-
 
30840
      if (that instanceof getIgnoredWarehouseidsAndItemids_args)
-
 
30841
        return this.equals((getIgnoredWarehouseidsAndItemids_args)that);
-
 
30842
      return false;
-
 
30843
    }
-
 
30844
 
-
 
30845
    public boolean equals(getIgnoredWarehouseidsAndItemids_args that) {
-
 
30846
      if (that == null)
-
 
30847
        return false;
-
 
30848
 
-
 
30849
      return true;
-
 
30850
    }
-
 
30851
 
-
 
30852
    @Override
-
 
30853
    public int hashCode() {
-
 
30854
      return 0;
-
 
30855
    }
-
 
30856
 
-
 
30857
    public int compareTo(getIgnoredWarehouseidsAndItemids_args other) {
-
 
30858
      if (!getClass().equals(other.getClass())) {
-
 
30859
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30860
      }
-
 
30861
 
-
 
30862
      int lastComparison = 0;
-
 
30863
      getIgnoredWarehouseidsAndItemids_args typedOther = (getIgnoredWarehouseidsAndItemids_args)other;
-
 
30864
 
-
 
30865
      return 0;
-
 
30866
    }
-
 
30867
 
-
 
30868
    public _Fields fieldForId(int fieldId) {
-
 
30869
      return _Fields.findByThriftId(fieldId);
-
 
30870
    }
-
 
30871
 
-
 
30872
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30873
      org.apache.thrift.protocol.TField field;
-
 
30874
      iprot.readStructBegin();
-
 
30875
      while (true)
-
 
30876
      {
-
 
30877
        field = iprot.readFieldBegin();
-
 
30878
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30879
          break;
-
 
30880
        }
-
 
30881
        switch (field.id) {
-
 
30882
          default:
-
 
30883
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30884
        }
-
 
30885
        iprot.readFieldEnd();
-
 
30886
      }
-
 
30887
      iprot.readStructEnd();
-
 
30888
      validate();
-
 
30889
    }
-
 
30890
 
-
 
30891
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30892
      validate();
-
 
30893
 
-
 
30894
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30895
      oprot.writeFieldStop();
-
 
30896
      oprot.writeStructEnd();
-
 
30897
    }
-
 
30898
 
-
 
30899
    @Override
-
 
30900
    public String toString() {
-
 
30901
      StringBuilder sb = new StringBuilder("getIgnoredWarehouseidsAndItemids_args(");
-
 
30902
      boolean first = true;
-
 
30903
 
-
 
30904
      sb.append(")");
-
 
30905
      return sb.toString();
-
 
30906
    }
-
 
30907
 
-
 
30908
    public void validate() throws org.apache.thrift.TException {
-
 
30909
      // check for required fields
-
 
30910
    }
-
 
30911
 
-
 
30912
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30913
      try {
-
 
30914
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30915
      } catch (org.apache.thrift.TException te) {
-
 
30916
        throw new java.io.IOException(te);
-
 
30917
      }
-
 
30918
    }
-
 
30919
 
-
 
30920
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30921
      try {
-
 
30922
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30923
      } catch (org.apache.thrift.TException te) {
-
 
30924
        throw new java.io.IOException(te);
-
 
30925
      }
-
 
30926
    }
-
 
30927
 
-
 
30928
  }
-
 
30929
 
-
 
30930
  public static class getIgnoredWarehouseidsAndItemids_result implements org.apache.thrift.TBase<getIgnoredWarehouseidsAndItemids_result, getIgnoredWarehouseidsAndItemids_result._Fields>, java.io.Serializable, Cloneable   {
-
 
30931
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgnoredWarehouseidsAndItemids_result");
-
 
30932
 
-
 
30933
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
30934
 
-
 
30935
    private List<IgnoredInventoryUpdateItems> success; // required
-
 
30936
 
-
 
30937
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30938
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30939
      SUCCESS((short)0, "success");
-
 
30940
 
-
 
30941
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30942
 
-
 
30943
      static {
-
 
30944
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30945
          byName.put(field.getFieldName(), field);
-
 
30946
        }
-
 
30947
      }
-
 
30948
 
-
 
30949
      /**
-
 
30950
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30951
       */
-
 
30952
      public static _Fields findByThriftId(int fieldId) {
-
 
30953
        switch(fieldId) {
-
 
30954
          case 0: // SUCCESS
-
 
30955
            return SUCCESS;
-
 
30956
          default:
-
 
30957
            return null;
-
 
30958
        }
-
 
30959
      }
-
 
30960
 
-
 
30961
      /**
-
 
30962
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30963
       * if it is not found.
-
 
30964
       */
-
 
30965
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30966
        _Fields fields = findByThriftId(fieldId);
-
 
30967
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30968
        return fields;
-
 
30969
      }
-
 
30970
 
-
 
30971
      /**
-
 
30972
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30973
       */
-
 
30974
      public static _Fields findByName(String name) {
-
 
30975
        return byName.get(name);
-
 
30976
      }
-
 
30977
 
-
 
30978
      private final short _thriftId;
-
 
30979
      private final String _fieldName;
-
 
30980
 
-
 
30981
      _Fields(short thriftId, String fieldName) {
-
 
30982
        _thriftId = thriftId;
-
 
30983
        _fieldName = fieldName;
-
 
30984
      }
-
 
30985
 
-
 
30986
      public short getThriftFieldId() {
-
 
30987
        return _thriftId;
-
 
30988
      }
-
 
30989
 
-
 
30990
      public String getFieldName() {
-
 
30991
        return _fieldName;
-
 
30992
      }
-
 
30993
    }
-
 
30994
 
-
 
30995
    // isset id assignments
-
 
30996
 
-
 
30997
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30998
    static {
-
 
30999
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31000
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31001
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
31002
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IgnoredInventoryUpdateItems.class))));
-
 
31003
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31004
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgnoredWarehouseidsAndItemids_result.class, metaDataMap);
-
 
31005
    }
-
 
31006
 
-
 
31007
    public getIgnoredWarehouseidsAndItemids_result() {
-
 
31008
    }
-
 
31009
 
-
 
31010
    public getIgnoredWarehouseidsAndItemids_result(
-
 
31011
      List<IgnoredInventoryUpdateItems> success)
-
 
31012
    {
-
 
31013
      this();
-
 
31014
      this.success = success;
-
 
31015
    }
-
 
31016
 
-
 
31017
    /**
-
 
31018
     * Performs a deep copy on <i>other</i>.
-
 
31019
     */
-
 
31020
    public getIgnoredWarehouseidsAndItemids_result(getIgnoredWarehouseidsAndItemids_result other) {
-
 
31021
      if (other.isSetSuccess()) {
-
 
31022
        List<IgnoredInventoryUpdateItems> __this__success = new ArrayList<IgnoredInventoryUpdateItems>();
-
 
31023
        for (IgnoredInventoryUpdateItems other_element : other.success) {
-
 
31024
          __this__success.add(new IgnoredInventoryUpdateItems(other_element));
-
 
31025
        }
-
 
31026
        this.success = __this__success;
-
 
31027
      }
-
 
31028
    }
-
 
31029
 
-
 
31030
    public getIgnoredWarehouseidsAndItemids_result deepCopy() {
-
 
31031
      return new getIgnoredWarehouseidsAndItemids_result(this);
-
 
31032
    }
-
 
31033
 
-
 
31034
    @Override
-
 
31035
    public void clear() {
-
 
31036
      this.success = null;
-
 
31037
    }
-
 
31038
 
-
 
31039
    public int getSuccessSize() {
-
 
31040
      return (this.success == null) ? 0 : this.success.size();
-
 
31041
    }
-
 
31042
 
-
 
31043
    public java.util.Iterator<IgnoredInventoryUpdateItems> getSuccessIterator() {
-
 
31044
      return (this.success == null) ? null : this.success.iterator();
-
 
31045
    }
-
 
31046
 
-
 
31047
    public void addToSuccess(IgnoredInventoryUpdateItems elem) {
-
 
31048
      if (this.success == null) {
-
 
31049
        this.success = new ArrayList<IgnoredInventoryUpdateItems>();
-
 
31050
      }
-
 
31051
      this.success.add(elem);
-
 
31052
    }
-
 
31053
 
-
 
31054
    public List<IgnoredInventoryUpdateItems> getSuccess() {
-
 
31055
      return this.success;
-
 
31056
    }
-
 
31057
 
-
 
31058
    public void setSuccess(List<IgnoredInventoryUpdateItems> success) {
-
 
31059
      this.success = success;
-
 
31060
    }
-
 
31061
 
-
 
31062
    public void unsetSuccess() {
-
 
31063
      this.success = null;
-
 
31064
    }
-
 
31065
 
-
 
31066
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
31067
    public boolean isSetSuccess() {
-
 
31068
      return this.success != null;
-
 
31069
    }
-
 
31070
 
-
 
31071
    public void setSuccessIsSet(boolean value) {
-
 
31072
      if (!value) {
-
 
31073
        this.success = null;
-
 
31074
      }
-
 
31075
    }
-
 
31076
 
-
 
31077
    public void setFieldValue(_Fields field, Object value) {
-
 
31078
      switch (field) {
-
 
31079
      case SUCCESS:
-
 
31080
        if (value == null) {
-
 
31081
          unsetSuccess();
-
 
31082
        } else {
-
 
31083
          setSuccess((List<IgnoredInventoryUpdateItems>)value);
-
 
31084
        }
-
 
31085
        break;
-
 
31086
 
-
 
31087
      }
-
 
31088
    }
-
 
31089
 
-
 
31090
    public Object getFieldValue(_Fields field) {
-
 
31091
      switch (field) {
-
 
31092
      case SUCCESS:
-
 
31093
        return getSuccess();
-
 
31094
 
-
 
31095
      }
-
 
31096
      throw new IllegalStateException();
-
 
31097
    }
-
 
31098
 
-
 
31099
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31100
    public boolean isSet(_Fields field) {
-
 
31101
      if (field == null) {
-
 
31102
        throw new IllegalArgumentException();
-
 
31103
      }
-
 
31104
 
-
 
31105
      switch (field) {
-
 
31106
      case SUCCESS:
-
 
31107
        return isSetSuccess();
-
 
31108
      }
-
 
31109
      throw new IllegalStateException();
-
 
31110
    }
-
 
31111
 
-
 
31112
    @Override
-
 
31113
    public boolean equals(Object that) {
-
 
31114
      if (that == null)
-
 
31115
        return false;
-
 
31116
      if (that instanceof getIgnoredWarehouseidsAndItemids_result)
-
 
31117
        return this.equals((getIgnoredWarehouseidsAndItemids_result)that);
-
 
31118
      return false;
-
 
31119
    }
-
 
31120
 
-
 
31121
    public boolean equals(getIgnoredWarehouseidsAndItemids_result that) {
-
 
31122
      if (that == null)
-
 
31123
        return false;
-
 
31124
 
-
 
31125
      boolean this_present_success = true && this.isSetSuccess();
-
 
31126
      boolean that_present_success = true && that.isSetSuccess();
-
 
31127
      if (this_present_success || that_present_success) {
-
 
31128
        if (!(this_present_success && that_present_success))
-
 
31129
          return false;
-
 
31130
        if (!this.success.equals(that.success))
-
 
31131
          return false;
-
 
31132
      }
-
 
31133
 
-
 
31134
      return true;
-
 
31135
    }
-
 
31136
 
-
 
31137
    @Override
-
 
31138
    public int hashCode() {
-
 
31139
      return 0;
-
 
31140
    }
-
 
31141
 
-
 
31142
    public int compareTo(getIgnoredWarehouseidsAndItemids_result other) {
-
 
31143
      if (!getClass().equals(other.getClass())) {
-
 
31144
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31145
      }
-
 
31146
 
-
 
31147
      int lastComparison = 0;
-
 
31148
      getIgnoredWarehouseidsAndItemids_result typedOther = (getIgnoredWarehouseidsAndItemids_result)other;
-
 
31149
 
-
 
31150
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
31151
      if (lastComparison != 0) {
-
 
31152
        return lastComparison;
-
 
31153
      }
-
 
31154
      if (isSetSuccess()) {
-
 
31155
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
31156
        if (lastComparison != 0) {
-
 
31157
          return lastComparison;
-
 
31158
        }
-
 
31159
      }
-
 
31160
      return 0;
-
 
31161
    }
-
 
31162
 
-
 
31163
    public _Fields fieldForId(int fieldId) {
-
 
31164
      return _Fields.findByThriftId(fieldId);
-
 
31165
    }
-
 
31166
 
-
 
31167
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31168
      org.apache.thrift.protocol.TField field;
-
 
31169
      iprot.readStructBegin();
-
 
31170
      while (true)
-
 
31171
      {
-
 
31172
        field = iprot.readFieldBegin();
-
 
31173
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31174
          break;
-
 
31175
        }
-
 
31176
        switch (field.id) {
-
 
31177
          case 0: // SUCCESS
-
 
31178
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
31179
              {
-
 
31180
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
-
 
31181
                this.success = new ArrayList<IgnoredInventoryUpdateItems>(_list96.size);
-
 
31182
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
-
 
31183
                {
-
 
31184
                  IgnoredInventoryUpdateItems _elem98; // required
-
 
31185
                  _elem98 = new IgnoredInventoryUpdateItems();
-
 
31186
                  _elem98.read(iprot);
-
 
31187
                  this.success.add(_elem98);
-
 
31188
                }
-
 
31189
                iprot.readListEnd();
-
 
31190
              }
-
 
31191
            } else { 
-
 
31192
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31193
            }
-
 
31194
            break;
-
 
31195
          default:
-
 
31196
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31197
        }
-
 
31198
        iprot.readFieldEnd();
-
 
31199
      }
-
 
31200
      iprot.readStructEnd();
-
 
31201
      validate();
-
 
31202
    }
-
 
31203
 
-
 
31204
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31205
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31206
 
-
 
31207
      if (this.isSetSuccess()) {
-
 
31208
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
31209
        {
-
 
31210
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
31211
          for (IgnoredInventoryUpdateItems _iter99 : this.success)
-
 
31212
          {
-
 
31213
            _iter99.write(oprot);
-
 
31214
          }
-
 
31215
          oprot.writeListEnd();
-
 
31216
        }
-
 
31217
        oprot.writeFieldEnd();
-
 
31218
      }
-
 
31219
      oprot.writeFieldStop();
-
 
31220
      oprot.writeStructEnd();
-
 
31221
    }
-
 
31222
 
-
 
31223
    @Override
-
 
31224
    public String toString() {
-
 
31225
      StringBuilder sb = new StringBuilder("getIgnoredWarehouseidsAndItemids_result(");
-
 
31226
      boolean first = true;
-
 
31227
 
-
 
31228
      sb.append("success:");
-
 
31229
      if (this.success == null) {
-
 
31230
        sb.append("null");
-
 
31231
      } else {
-
 
31232
        sb.append(this.success);
-
 
31233
      }
-
 
31234
      first = false;
-
 
31235
      sb.append(")");
-
 
31236
      return sb.toString();
-
 
31237
    }
-
 
31238
 
-
 
31239
    public void validate() throws org.apache.thrift.TException {
-
 
31240
      // check for required fields
-
 
31241
    }
-
 
31242
 
-
 
31243
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31244
      try {
-
 
31245
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31246
      } catch (org.apache.thrift.TException te) {
-
 
31247
        throw new java.io.IOException(te);
-
 
31248
      }
-
 
31249
    }
-
 
31250
 
-
 
31251
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31252
      try {
-
 
31253
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31254
      } catch (org.apache.thrift.TException te) {
-
 
31255
        throw new java.io.IOException(te);
-
 
31256
      }
-
 
31257
    }
-
 
31258
 
-
 
31259
  }
-
 
31260
 
-
 
31261
  public static class insertItemtoIgnoreInventoryUpdatelist_args implements org.apache.thrift.TBase<insertItemtoIgnoreInventoryUpdatelist_args, insertItemtoIgnoreInventoryUpdatelist_args._Fields>, java.io.Serializable, Cloneable   {
-
 
31262
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("insertItemtoIgnoreInventoryUpdatelist_args");
-
 
31263
 
-
 
31264
    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);
-
 
31265
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouse_id", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
31266
 
-
 
31267
    private long item_id; // required
-
 
31268
    private long warehouse_id; // required
-
 
31269
 
-
 
31270
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31271
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31272
      ITEM_ID((short)1, "item_id"),
-
 
31273
      WAREHOUSE_ID((short)2, "warehouse_id");
-
 
31274
 
-
 
31275
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31276
 
-
 
31277
      static {
-
 
31278
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31279
          byName.put(field.getFieldName(), field);
-
 
31280
        }
-
 
31281
      }
-
 
31282
 
-
 
31283
      /**
-
 
31284
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31285
       */
-
 
31286
      public static _Fields findByThriftId(int fieldId) {
-
 
31287
        switch(fieldId) {
-
 
31288
          case 1: // ITEM_ID
-
 
31289
            return ITEM_ID;
-
 
31290
          case 2: // WAREHOUSE_ID
-
 
31291
            return WAREHOUSE_ID;
-
 
31292
          default:
-
 
31293
            return null;
-
 
31294
        }
-
 
31295
      }
-
 
31296
 
-
 
31297
      /**
-
 
31298
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31299
       * if it is not found.
-
 
31300
       */
-
 
31301
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31302
        _Fields fields = findByThriftId(fieldId);
-
 
31303
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31304
        return fields;
-
 
31305
      }
-
 
31306
 
-
 
31307
      /**
-
 
31308
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31309
       */
-
 
31310
      public static _Fields findByName(String name) {
-
 
31311
        return byName.get(name);
-
 
31312
      }
-
 
31313
 
-
 
31314
      private final short _thriftId;
-
 
31315
      private final String _fieldName;
-
 
31316
 
-
 
31317
      _Fields(short thriftId, String fieldName) {
-
 
31318
        _thriftId = thriftId;
-
 
31319
        _fieldName = fieldName;
-
 
31320
      }
-
 
31321
 
-
 
31322
      public short getThriftFieldId() {
-
 
31323
        return _thriftId;
-
 
31324
      }
-
 
31325
 
-
 
31326
      public String getFieldName() {
-
 
31327
        return _fieldName;
-
 
31328
      }
-
 
31329
    }
-
 
31330
 
-
 
31331
    // isset id assignments
-
 
31332
    private static final int __ITEM_ID_ISSET_ID = 0;
-
 
31333
    private static final int __WAREHOUSE_ID_ISSET_ID = 1;
-
 
31334
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
31335
 
-
 
31336
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31337
    static {
-
 
31338
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31339
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31340
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
31341
      tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31342
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
31343
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31344
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(insertItemtoIgnoreInventoryUpdatelist_args.class, metaDataMap);
-
 
31345
    }
-
 
31346
 
-
 
31347
    public insertItemtoIgnoreInventoryUpdatelist_args() {
-
 
31348
    }
-
 
31349
 
-
 
31350
    public insertItemtoIgnoreInventoryUpdatelist_args(
-
 
31351
      long item_id,
-
 
31352
      long warehouse_id)
-
 
31353
    {
-
 
31354
      this();
-
 
31355
      this.item_id = item_id;
-
 
31356
      setItem_idIsSet(true);
-
 
31357
      this.warehouse_id = warehouse_id;
-
 
31358
      setWarehouse_idIsSet(true);
-
 
31359
    }
-
 
31360
 
-
 
31361
    /**
-
 
31362
     * Performs a deep copy on <i>other</i>.
-
 
31363
     */
-
 
31364
    public insertItemtoIgnoreInventoryUpdatelist_args(insertItemtoIgnoreInventoryUpdatelist_args other) {
-
 
31365
      __isset_bit_vector.clear();
-
 
31366
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
31367
      this.item_id = other.item_id;
-
 
31368
      this.warehouse_id = other.warehouse_id;
-
 
31369
    }
-
 
31370
 
-
 
31371
    public insertItemtoIgnoreInventoryUpdatelist_args deepCopy() {
-
 
31372
      return new insertItemtoIgnoreInventoryUpdatelist_args(this);
-
 
31373
    }
-
 
31374
 
-
 
31375
    @Override
-
 
31376
    public void clear() {
-
 
31377
      setItem_idIsSet(false);
-
 
31378
      this.item_id = 0;
-
 
31379
      setWarehouse_idIsSet(false);
-
 
31380
      this.warehouse_id = 0;
-
 
31381
    }
-
 
31382
 
-
 
31383
    public long getItem_id() {
-
 
31384
      return this.item_id;
-
 
31385
    }
-
 
31386
 
-
 
31387
    public void setItem_id(long item_id) {
-
 
31388
      this.item_id = item_id;
-
 
31389
      setItem_idIsSet(true);
-
 
31390
    }
-
 
31391
 
-
 
31392
    public void unsetItem_id() {
-
 
31393
      __isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
-
 
31394
    }
-
 
31395
 
-
 
31396
    /** Returns true if field item_id is set (has been assigned a value) and false otherwise */
-
 
31397
    public boolean isSetItem_id() {
-
 
31398
      return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
-
 
31399
    }
-
 
31400
 
-
 
31401
    public void setItem_idIsSet(boolean value) {
-
 
31402
      __isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
-
 
31403
    }
-
 
31404
 
-
 
31405
    public long getWarehouse_id() {
-
 
31406
      return this.warehouse_id;
-
 
31407
    }
-
 
31408
 
-
 
31409
    public void setWarehouse_id(long warehouse_id) {
-
 
31410
      this.warehouse_id = warehouse_id;
-
 
31411
      setWarehouse_idIsSet(true);
-
 
31412
    }
-
 
31413
 
-
 
31414
    public void unsetWarehouse_id() {
-
 
31415
      __isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
-
 
31416
    }
-
 
31417
 
-
 
31418
    /** Returns true if field warehouse_id is set (has been assigned a value) and false otherwise */
-
 
31419
    public boolean isSetWarehouse_id() {
-
 
31420
      return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
-
 
31421
    }
-
 
31422
 
-
 
31423
    public void setWarehouse_idIsSet(boolean value) {
-
 
31424
      __isset_bit_vector.set(__WAREHOUSE_ID_ISSET_ID, value);
-
 
31425
    }
-
 
31426
 
-
 
31427
    public void setFieldValue(_Fields field, Object value) {
-
 
31428
      switch (field) {
-
 
31429
      case ITEM_ID:
-
 
31430
        if (value == null) {
-
 
31431
          unsetItem_id();
-
 
31432
        } else {
-
 
31433
          setItem_id((Long)value);
-
 
31434
        }
-
 
31435
        break;
-
 
31436
 
-
 
31437
      case WAREHOUSE_ID:
-
 
31438
        if (value == null) {
-
 
31439
          unsetWarehouse_id();
-
 
31440
        } else {
-
 
31441
          setWarehouse_id((Long)value);
-
 
31442
        }
-
 
31443
        break;
-
 
31444
 
-
 
31445
      }
-
 
31446
    }
-
 
31447
 
-
 
31448
    public Object getFieldValue(_Fields field) {
-
 
31449
      switch (field) {
-
 
31450
      case ITEM_ID:
-
 
31451
        return Long.valueOf(getItem_id());
-
 
31452
 
-
 
31453
      case WAREHOUSE_ID:
-
 
31454
        return Long.valueOf(getWarehouse_id());
-
 
31455
 
-
 
31456
      }
-
 
31457
      throw new IllegalStateException();
-
 
31458
    }
-
 
31459
 
-
 
31460
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31461
    public boolean isSet(_Fields field) {
-
 
31462
      if (field == null) {
-
 
31463
        throw new IllegalArgumentException();
-
 
31464
      }
-
 
31465
 
-
 
31466
      switch (field) {
-
 
31467
      case ITEM_ID:
-
 
31468
        return isSetItem_id();
-
 
31469
      case WAREHOUSE_ID:
-
 
31470
        return isSetWarehouse_id();
-
 
31471
      }
-
 
31472
      throw new IllegalStateException();
-
 
31473
    }
-
 
31474
 
-
 
31475
    @Override
-
 
31476
    public boolean equals(Object that) {
-
 
31477
      if (that == null)
-
 
31478
        return false;
-
 
31479
      if (that instanceof insertItemtoIgnoreInventoryUpdatelist_args)
-
 
31480
        return this.equals((insertItemtoIgnoreInventoryUpdatelist_args)that);
-
 
31481
      return false;
-
 
31482
    }
-
 
31483
 
-
 
31484
    public boolean equals(insertItemtoIgnoreInventoryUpdatelist_args that) {
-
 
31485
      if (that == null)
-
 
31486
        return false;
-
 
31487
 
-
 
31488
      boolean this_present_item_id = true;
-
 
31489
      boolean that_present_item_id = true;
-
 
31490
      if (this_present_item_id || that_present_item_id) {
-
 
31491
        if (!(this_present_item_id && that_present_item_id))
-
 
31492
          return false;
-
 
31493
        if (this.item_id != that.item_id)
-
 
31494
          return false;
-
 
31495
      }
-
 
31496
 
-
 
31497
      boolean this_present_warehouse_id = true;
-
 
31498
      boolean that_present_warehouse_id = true;
-
 
31499
      if (this_present_warehouse_id || that_present_warehouse_id) {
-
 
31500
        if (!(this_present_warehouse_id && that_present_warehouse_id))
-
 
31501
          return false;
-
 
31502
        if (this.warehouse_id != that.warehouse_id)
-
 
31503
          return false;
-
 
31504
      }
-
 
31505
 
-
 
31506
      return true;
-
 
31507
    }
-
 
31508
 
-
 
31509
    @Override
-
 
31510
    public int hashCode() {
-
 
31511
      return 0;
-
 
31512
    }
-
 
31513
 
-
 
31514
    public int compareTo(insertItemtoIgnoreInventoryUpdatelist_args other) {
-
 
31515
      if (!getClass().equals(other.getClass())) {
-
 
31516
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31517
      }
-
 
31518
 
-
 
31519
      int lastComparison = 0;
-
 
31520
      insertItemtoIgnoreInventoryUpdatelist_args typedOther = (insertItemtoIgnoreInventoryUpdatelist_args)other;
-
 
31521
 
-
 
31522
      lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
-
 
31523
      if (lastComparison != 0) {
-
 
31524
        return lastComparison;
-
 
31525
      }
-
 
31526
      if (isSetItem_id()) {
-
 
31527
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
-
 
31528
        if (lastComparison != 0) {
-
 
31529
          return lastComparison;
-
 
31530
        }
-
 
31531
      }
-
 
31532
      lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(typedOther.isSetWarehouse_id());
-
 
31533
      if (lastComparison != 0) {
-
 
31534
        return lastComparison;
-
 
31535
      }
-
 
31536
      if (isSetWarehouse_id()) {
-
 
31537
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_id, typedOther.warehouse_id);
-
 
31538
        if (lastComparison != 0) {
-
 
31539
          return lastComparison;
-
 
31540
        }
-
 
31541
      }
-
 
31542
      return 0;
-
 
31543
    }
-
 
31544
 
-
 
31545
    public _Fields fieldForId(int fieldId) {
-
 
31546
      return _Fields.findByThriftId(fieldId);
-
 
31547
    }
-
 
31548
 
-
 
31549
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31550
      org.apache.thrift.protocol.TField field;
-
 
31551
      iprot.readStructBegin();
-
 
31552
      while (true)
-
 
31553
      {
-
 
31554
        field = iprot.readFieldBegin();
-
 
31555
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31556
          break;
-
 
31557
        }
-
 
31558
        switch (field.id) {
-
 
31559
          case 1: // ITEM_ID
-
 
31560
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
31561
              this.item_id = iprot.readI64();
-
 
31562
              setItem_idIsSet(true);
-
 
31563
            } else { 
-
 
31564
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31565
            }
-
 
31566
            break;
-
 
31567
          case 2: // WAREHOUSE_ID
-
 
31568
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
31569
              this.warehouse_id = iprot.readI64();
-
 
31570
              setWarehouse_idIsSet(true);
-
 
31571
            } else { 
-
 
31572
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31573
            }
-
 
31574
            break;
-
 
31575
          default:
-
 
31576
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31577
        }
-
 
31578
        iprot.readFieldEnd();
-
 
31579
      }
-
 
31580
      iprot.readStructEnd();
-
 
31581
      validate();
-
 
31582
    }
-
 
31583
 
-
 
31584
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31585
      validate();
-
 
31586
 
-
 
31587
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31588
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
31589
      oprot.writeI64(this.item_id);
-
 
31590
      oprot.writeFieldEnd();
-
 
31591
      oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
-
 
31592
      oprot.writeI64(this.warehouse_id);
-
 
31593
      oprot.writeFieldEnd();
-
 
31594
      oprot.writeFieldStop();
-
 
31595
      oprot.writeStructEnd();
-
 
31596
    }
-
 
31597
 
-
 
31598
    @Override
-
 
31599
    public String toString() {
-
 
31600
      StringBuilder sb = new StringBuilder("insertItemtoIgnoreInventoryUpdatelist_args(");
-
 
31601
      boolean first = true;
-
 
31602
 
-
 
31603
      sb.append("item_id:");
-
 
31604
      sb.append(this.item_id);
-
 
31605
      first = false;
-
 
31606
      if (!first) sb.append(", ");
-
 
31607
      sb.append("warehouse_id:");
-
 
31608
      sb.append(this.warehouse_id);
-
 
31609
      first = false;
-
 
31610
      sb.append(")");
-
 
31611
      return sb.toString();
-
 
31612
    }
-
 
31613
 
-
 
31614
    public void validate() throws org.apache.thrift.TException {
-
 
31615
      // check for required fields
-
 
31616
    }
-
 
31617
 
-
 
31618
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31619
      try {
-
 
31620
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31621
      } catch (org.apache.thrift.TException te) {
-
 
31622
        throw new java.io.IOException(te);
-
 
31623
      }
-
 
31624
    }
-
 
31625
 
-
 
31626
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31627
      try {
-
 
31628
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
31629
        __isset_bit_vector = new BitSet(1);
-
 
31630
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31631
      } catch (org.apache.thrift.TException te) {
-
 
31632
        throw new java.io.IOException(te);
-
 
31633
      }
-
 
31634
    }
-
 
31635
 
-
 
31636
  }
-
 
31637
 
-
 
31638
  public static class insertItemtoIgnoreInventoryUpdatelist_result implements org.apache.thrift.TBase<insertItemtoIgnoreInventoryUpdatelist_result, insertItemtoIgnoreInventoryUpdatelist_result._Fields>, java.io.Serializable, Cloneable   {
-
 
31639
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("insertItemtoIgnoreInventoryUpdatelist_result");
-
 
31640
 
-
 
31641
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
31642
 
-
 
31643
    private boolean success; // required
-
 
31644
 
-
 
31645
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31646
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31647
      SUCCESS((short)0, "success");
-
 
31648
 
-
 
31649
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31650
 
-
 
31651
      static {
-
 
31652
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31653
          byName.put(field.getFieldName(), field);
-
 
31654
        }
-
 
31655
      }
-
 
31656
 
-
 
31657
      /**
-
 
31658
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31659
       */
-
 
31660
      public static _Fields findByThriftId(int fieldId) {
-
 
31661
        switch(fieldId) {
-
 
31662
          case 0: // SUCCESS
-
 
31663
            return SUCCESS;
-
 
31664
          default:
-
 
31665
            return null;
-
 
31666
        }
-
 
31667
      }
-
 
31668
 
-
 
31669
      /**
-
 
31670
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31671
       * if it is not found.
-
 
31672
       */
-
 
31673
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31674
        _Fields fields = findByThriftId(fieldId);
-
 
31675
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31676
        return fields;
-
 
31677
      }
-
 
31678
 
-
 
31679
      /**
-
 
31680
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31681
       */
-
 
31682
      public static _Fields findByName(String name) {
-
 
31683
        return byName.get(name);
-
 
31684
      }
-
 
31685
 
-
 
31686
      private final short _thriftId;
-
 
31687
      private final String _fieldName;
-
 
31688
 
-
 
31689
      _Fields(short thriftId, String fieldName) {
-
 
31690
        _thriftId = thriftId;
-
 
31691
        _fieldName = fieldName;
-
 
31692
      }
-
 
31693
 
-
 
31694
      public short getThriftFieldId() {
-
 
31695
        return _thriftId;
-
 
31696
      }
-
 
31697
 
-
 
31698
      public String getFieldName() {
-
 
31699
        return _fieldName;
-
 
31700
      }
-
 
31701
    }
-
 
31702
 
-
 
31703
    // isset id assignments
-
 
31704
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
31705
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
31706
 
-
 
31707
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31708
    static {
-
 
31709
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31710
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31711
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
31712
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31713
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(insertItemtoIgnoreInventoryUpdatelist_result.class, metaDataMap);
-
 
31714
    }
-
 
31715
 
-
 
31716
    public insertItemtoIgnoreInventoryUpdatelist_result() {
-
 
31717
    }
-
 
31718
 
-
 
31719
    public insertItemtoIgnoreInventoryUpdatelist_result(
-
 
31720
      boolean success)
-
 
31721
    {
-
 
31722
      this();
-
 
31723
      this.success = success;
-
 
31724
      setSuccessIsSet(true);
-
 
31725
    }
-
 
31726
 
-
 
31727
    /**
-
 
31728
     * Performs a deep copy on <i>other</i>.
-
 
31729
     */
-
 
31730
    public insertItemtoIgnoreInventoryUpdatelist_result(insertItemtoIgnoreInventoryUpdatelist_result other) {
-
 
31731
      __isset_bit_vector.clear();
-
 
31732
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
31733
      this.success = other.success;
-
 
31734
    }
-
 
31735
 
-
 
31736
    public insertItemtoIgnoreInventoryUpdatelist_result deepCopy() {
-
 
31737
      return new insertItemtoIgnoreInventoryUpdatelist_result(this);
-
 
31738
    }
-
 
31739
 
-
 
31740
    @Override
-
 
31741
    public void clear() {
-
 
31742
      setSuccessIsSet(false);
-
 
31743
      this.success = false;
-
 
31744
    }
-
 
31745
 
-
 
31746
    public boolean isSuccess() {
-
 
31747
      return this.success;
-
 
31748
    }
-
 
31749
 
-
 
31750
    public void setSuccess(boolean success) {
-
 
31751
      this.success = success;
-
 
31752
      setSuccessIsSet(true);
-
 
31753
    }
-
 
31754
 
-
 
31755
    public void unsetSuccess() {
-
 
31756
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
31757
    }
-
 
31758
 
-
 
31759
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
31760
    public boolean isSetSuccess() {
-
 
31761
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
31762
    }
-
 
31763
 
-
 
31764
    public void setSuccessIsSet(boolean value) {
-
 
31765
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
31766
    }
-
 
31767
 
-
 
31768
    public void setFieldValue(_Fields field, Object value) {
-
 
31769
      switch (field) {
-
 
31770
      case SUCCESS:
-
 
31771
        if (value == null) {
-
 
31772
          unsetSuccess();
-
 
31773
        } else {
-
 
31774
          setSuccess((Boolean)value);
-
 
31775
        }
-
 
31776
        break;
-
 
31777
 
-
 
31778
      }
-
 
31779
    }
-
 
31780
 
-
 
31781
    public Object getFieldValue(_Fields field) {
-
 
31782
      switch (field) {
-
 
31783
      case SUCCESS:
-
 
31784
        return Boolean.valueOf(isSuccess());
-
 
31785
 
-
 
31786
      }
-
 
31787
      throw new IllegalStateException();
-
 
31788
    }
-
 
31789
 
-
 
31790
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31791
    public boolean isSet(_Fields field) {
-
 
31792
      if (field == null) {
-
 
31793
        throw new IllegalArgumentException();
-
 
31794
      }
-
 
31795
 
-
 
31796
      switch (field) {
-
 
31797
      case SUCCESS:
-
 
31798
        return isSetSuccess();
-
 
31799
      }
-
 
31800
      throw new IllegalStateException();
-
 
31801
    }
-
 
31802
 
-
 
31803
    @Override
-
 
31804
    public boolean equals(Object that) {
-
 
31805
      if (that == null)
-
 
31806
        return false;
-
 
31807
      if (that instanceof insertItemtoIgnoreInventoryUpdatelist_result)
-
 
31808
        return this.equals((insertItemtoIgnoreInventoryUpdatelist_result)that);
-
 
31809
      return false;
-
 
31810
    }
-
 
31811
 
-
 
31812
    public boolean equals(insertItemtoIgnoreInventoryUpdatelist_result that) {
-
 
31813
      if (that == null)
-
 
31814
        return false;
-
 
31815
 
-
 
31816
      boolean this_present_success = true;
-
 
31817
      boolean that_present_success = true;
-
 
31818
      if (this_present_success || that_present_success) {
-
 
31819
        if (!(this_present_success && that_present_success))
-
 
31820
          return false;
-
 
31821
        if (this.success != that.success)
-
 
31822
          return false;
-
 
31823
      }
-
 
31824
 
-
 
31825
      return true;
-
 
31826
    }
-
 
31827
 
-
 
31828
    @Override
-
 
31829
    public int hashCode() {
-
 
31830
      return 0;
-
 
31831
    }
-
 
31832
 
-
 
31833
    public int compareTo(insertItemtoIgnoreInventoryUpdatelist_result other) {
-
 
31834
      if (!getClass().equals(other.getClass())) {
-
 
31835
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31836
      }
-
 
31837
 
-
 
31838
      int lastComparison = 0;
-
 
31839
      insertItemtoIgnoreInventoryUpdatelist_result typedOther = (insertItemtoIgnoreInventoryUpdatelist_result)other;
-
 
31840
 
-
 
31841
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
31842
      if (lastComparison != 0) {
-
 
31843
        return lastComparison;
-
 
31844
      }
-
 
31845
      if (isSetSuccess()) {
-
 
31846
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
31847
        if (lastComparison != 0) {
-
 
31848
          return lastComparison;
-
 
31849
        }
-
 
31850
      }
-
 
31851
      return 0;
-
 
31852
    }
-
 
31853
 
-
 
31854
    public _Fields fieldForId(int fieldId) {
-
 
31855
      return _Fields.findByThriftId(fieldId);
-
 
31856
    }
-
 
31857
 
-
 
31858
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31859
      org.apache.thrift.protocol.TField field;
-
 
31860
      iprot.readStructBegin();
-
 
31861
      while (true)
-
 
31862
      {
-
 
31863
        field = iprot.readFieldBegin();
-
 
31864
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31865
          break;
-
 
31866
        }
-
 
31867
        switch (field.id) {
-
 
31868
          case 0: // SUCCESS
-
 
31869
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
31870
              this.success = iprot.readBool();
-
 
31871
              setSuccessIsSet(true);
-
 
31872
            } else { 
-
 
31873
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31874
            }
-
 
31875
            break;
-
 
31876
          default:
-
 
31877
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31878
        }
-
 
31879
        iprot.readFieldEnd();
-
 
31880
      }
-
 
31881
      iprot.readStructEnd();
-
 
31882
      validate();
-
 
31883
    }
-
 
31884
 
-
 
31885
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31886
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31887
 
-
 
31888
      if (this.isSetSuccess()) {
-
 
31889
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
31890
        oprot.writeBool(this.success);
-
 
31891
        oprot.writeFieldEnd();
-
 
31892
      }
-
 
31893
      oprot.writeFieldStop();
-
 
31894
      oprot.writeStructEnd();
-
 
31895
    }
-
 
31896
 
-
 
31897
    @Override
-
 
31898
    public String toString() {
-
 
31899
      StringBuilder sb = new StringBuilder("insertItemtoIgnoreInventoryUpdatelist_result(");
-
 
31900
      boolean first = true;
-
 
31901
 
-
 
31902
      sb.append("success:");
-
 
31903
      sb.append(this.success);
-
 
31904
      first = false;
-
 
31905
      sb.append(")");
-
 
31906
      return sb.toString();
-
 
31907
    }
-
 
31908
 
-
 
31909
    public void validate() throws org.apache.thrift.TException {
-
 
31910
      // check for required fields
-
 
31911
    }
-
 
31912
 
-
 
31913
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31914
      try {
-
 
31915
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31916
      } catch (org.apache.thrift.TException te) {
-
 
31917
        throw new java.io.IOException(te);
-
 
31918
      }
-
 
31919
    }
-
 
31920
 
-
 
31921
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31922
      try {
-
 
31923
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31924
      } catch (org.apache.thrift.TException te) {
-
 
31925
        throw new java.io.IOException(te);
-
 
31926
      }
-
 
31927
    }
-
 
31928
 
-
 
31929
  }
-
 
31930
 
-
 
31931
  public static class deleteItemFromIgnoredInventoryUpdateList_args implements org.apache.thrift.TBase<deleteItemFromIgnoredInventoryUpdateList_args, deleteItemFromIgnoredInventoryUpdateList_args._Fields>, java.io.Serializable, Cloneable   {
-
 
31932
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteItemFromIgnoredInventoryUpdateList_args");
-
 
31933
 
-
 
31934
    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);
-
 
31935
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouse_id", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
31936
 
-
 
31937
    private long item_id; // required
-
 
31938
    private long warehouse_id; // required
-
 
31939
 
-
 
31940
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31941
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31942
      ITEM_ID((short)1, "item_id"),
-
 
31943
      WAREHOUSE_ID((short)2, "warehouse_id");
-
 
31944
 
-
 
31945
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31946
 
-
 
31947
      static {
-
 
31948
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31949
          byName.put(field.getFieldName(), field);
-
 
31950
        }
-
 
31951
      }
-
 
31952
 
-
 
31953
      /**
-
 
31954
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31955
       */
-
 
31956
      public static _Fields findByThriftId(int fieldId) {
-
 
31957
        switch(fieldId) {
-
 
31958
          case 1: // ITEM_ID
-
 
31959
            return ITEM_ID;
-
 
31960
          case 2: // WAREHOUSE_ID
-
 
31961
            return WAREHOUSE_ID;
-
 
31962
          default:
-
 
31963
            return null;
-
 
31964
        }
-
 
31965
      }
-
 
31966
 
-
 
31967
      /**
-
 
31968
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31969
       * if it is not found.
-
 
31970
       */
-
 
31971
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31972
        _Fields fields = findByThriftId(fieldId);
-
 
31973
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31974
        return fields;
-
 
31975
      }
-
 
31976
 
-
 
31977
      /**
-
 
31978
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31979
       */
-
 
31980
      public static _Fields findByName(String name) {
-
 
31981
        return byName.get(name);
-
 
31982
      }
-
 
31983
 
-
 
31984
      private final short _thriftId;
-
 
31985
      private final String _fieldName;
-
 
31986
 
-
 
31987
      _Fields(short thriftId, String fieldName) {
-
 
31988
        _thriftId = thriftId;
-
 
31989
        _fieldName = fieldName;
-
 
31990
      }
-
 
31991
 
-
 
31992
      public short getThriftFieldId() {
-
 
31993
        return _thriftId;
-
 
31994
      }
-
 
31995
 
-
 
31996
      public String getFieldName() {
-
 
31997
        return _fieldName;
-
 
31998
      }
-
 
31999
    }
-
 
32000
 
-
 
32001
    // isset id assignments
-
 
32002
    private static final int __ITEM_ID_ISSET_ID = 0;
-
 
32003
    private static final int __WAREHOUSE_ID_ISSET_ID = 1;
-
 
32004
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
32005
 
-
 
32006
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32007
    static {
-
 
32008
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32009
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32010
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
32011
      tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32012
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
32013
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32014
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteItemFromIgnoredInventoryUpdateList_args.class, metaDataMap);
-
 
32015
    }
-
 
32016
 
-
 
32017
    public deleteItemFromIgnoredInventoryUpdateList_args() {
-
 
32018
    }
-
 
32019
 
-
 
32020
    public deleteItemFromIgnoredInventoryUpdateList_args(
-
 
32021
      long item_id,
-
 
32022
      long warehouse_id)
-
 
32023
    {
-
 
32024
      this();
-
 
32025
      this.item_id = item_id;
-
 
32026
      setItem_idIsSet(true);
-
 
32027
      this.warehouse_id = warehouse_id;
-
 
32028
      setWarehouse_idIsSet(true);
-
 
32029
    }
-
 
32030
 
-
 
32031
    /**
-
 
32032
     * Performs a deep copy on <i>other</i>.
-
 
32033
     */
-
 
32034
    public deleteItemFromIgnoredInventoryUpdateList_args(deleteItemFromIgnoredInventoryUpdateList_args other) {
-
 
32035
      __isset_bit_vector.clear();
-
 
32036
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
32037
      this.item_id = other.item_id;
-
 
32038
      this.warehouse_id = other.warehouse_id;
-
 
32039
    }
-
 
32040
 
-
 
32041
    public deleteItemFromIgnoredInventoryUpdateList_args deepCopy() {
-
 
32042
      return new deleteItemFromIgnoredInventoryUpdateList_args(this);
-
 
32043
    }
-
 
32044
 
-
 
32045
    @Override
-
 
32046
    public void clear() {
-
 
32047
      setItem_idIsSet(false);
-
 
32048
      this.item_id = 0;
-
 
32049
      setWarehouse_idIsSet(false);
-
 
32050
      this.warehouse_id = 0;
-
 
32051
    }
-
 
32052
 
-
 
32053
    public long getItem_id() {
-
 
32054
      return this.item_id;
-
 
32055
    }
-
 
32056
 
-
 
32057
    public void setItem_id(long item_id) {
-
 
32058
      this.item_id = item_id;
-
 
32059
      setItem_idIsSet(true);
-
 
32060
    }
-
 
32061
 
-
 
32062
    public void unsetItem_id() {
-
 
32063
      __isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
-
 
32064
    }
-
 
32065
 
-
 
32066
    /** Returns true if field item_id is set (has been assigned a value) and false otherwise */
-
 
32067
    public boolean isSetItem_id() {
-
 
32068
      return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
-
 
32069
    }
-
 
32070
 
-
 
32071
    public void setItem_idIsSet(boolean value) {
-
 
32072
      __isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
-
 
32073
    }
-
 
32074
 
-
 
32075
    public long getWarehouse_id() {
-
 
32076
      return this.warehouse_id;
-
 
32077
    }
-
 
32078
 
-
 
32079
    public void setWarehouse_id(long warehouse_id) {
-
 
32080
      this.warehouse_id = warehouse_id;
-
 
32081
      setWarehouse_idIsSet(true);
-
 
32082
    }
-
 
32083
 
-
 
32084
    public void unsetWarehouse_id() {
-
 
32085
      __isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
-
 
32086
    }
-
 
32087
 
-
 
32088
    /** Returns true if field warehouse_id is set (has been assigned a value) and false otherwise */
-
 
32089
    public boolean isSetWarehouse_id() {
-
 
32090
      return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
-
 
32091
    }
-
 
32092
 
-
 
32093
    public void setWarehouse_idIsSet(boolean value) {
-
 
32094
      __isset_bit_vector.set(__WAREHOUSE_ID_ISSET_ID, value);
-
 
32095
    }
-
 
32096
 
-
 
32097
    public void setFieldValue(_Fields field, Object value) {
-
 
32098
      switch (field) {
-
 
32099
      case ITEM_ID:
-
 
32100
        if (value == null) {
-
 
32101
          unsetItem_id();
-
 
32102
        } else {
-
 
32103
          setItem_id((Long)value);
-
 
32104
        }
-
 
32105
        break;
-
 
32106
 
-
 
32107
      case WAREHOUSE_ID:
-
 
32108
        if (value == null) {
-
 
32109
          unsetWarehouse_id();
-
 
32110
        } else {
-
 
32111
          setWarehouse_id((Long)value);
-
 
32112
        }
-
 
32113
        break;
-
 
32114
 
-
 
32115
      }
-
 
32116
    }
-
 
32117
 
-
 
32118
    public Object getFieldValue(_Fields field) {
-
 
32119
      switch (field) {
-
 
32120
      case ITEM_ID:
-
 
32121
        return Long.valueOf(getItem_id());
-
 
32122
 
-
 
32123
      case WAREHOUSE_ID:
-
 
32124
        return Long.valueOf(getWarehouse_id());
-
 
32125
 
-
 
32126
      }
-
 
32127
      throw new IllegalStateException();
-
 
32128
    }
-
 
32129
 
-
 
32130
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32131
    public boolean isSet(_Fields field) {
-
 
32132
      if (field == null) {
-
 
32133
        throw new IllegalArgumentException();
-
 
32134
      }
-
 
32135
 
-
 
32136
      switch (field) {
-
 
32137
      case ITEM_ID:
-
 
32138
        return isSetItem_id();
-
 
32139
      case WAREHOUSE_ID:
-
 
32140
        return isSetWarehouse_id();
-
 
32141
      }
-
 
32142
      throw new IllegalStateException();
-
 
32143
    }
-
 
32144
 
-
 
32145
    @Override
-
 
32146
    public boolean equals(Object that) {
-
 
32147
      if (that == null)
-
 
32148
        return false;
-
 
32149
      if (that instanceof deleteItemFromIgnoredInventoryUpdateList_args)
-
 
32150
        return this.equals((deleteItemFromIgnoredInventoryUpdateList_args)that);
-
 
32151
      return false;
-
 
32152
    }
-
 
32153
 
-
 
32154
    public boolean equals(deleteItemFromIgnoredInventoryUpdateList_args that) {
-
 
32155
      if (that == null)
-
 
32156
        return false;
-
 
32157
 
-
 
32158
      boolean this_present_item_id = true;
-
 
32159
      boolean that_present_item_id = true;
-
 
32160
      if (this_present_item_id || that_present_item_id) {
-
 
32161
        if (!(this_present_item_id && that_present_item_id))
-
 
32162
          return false;
-
 
32163
        if (this.item_id != that.item_id)
-
 
32164
          return false;
-
 
32165
      }
-
 
32166
 
-
 
32167
      boolean this_present_warehouse_id = true;
-
 
32168
      boolean that_present_warehouse_id = true;
-
 
32169
      if (this_present_warehouse_id || that_present_warehouse_id) {
-
 
32170
        if (!(this_present_warehouse_id && that_present_warehouse_id))
-
 
32171
          return false;
-
 
32172
        if (this.warehouse_id != that.warehouse_id)
-
 
32173
          return false;
-
 
32174
      }
-
 
32175
 
-
 
32176
      return true;
-
 
32177
    }
-
 
32178
 
-
 
32179
    @Override
-
 
32180
    public int hashCode() {
-
 
32181
      return 0;
-
 
32182
    }
-
 
32183
 
-
 
32184
    public int compareTo(deleteItemFromIgnoredInventoryUpdateList_args other) {
-
 
32185
      if (!getClass().equals(other.getClass())) {
-
 
32186
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32187
      }
-
 
32188
 
-
 
32189
      int lastComparison = 0;
-
 
32190
      deleteItemFromIgnoredInventoryUpdateList_args typedOther = (deleteItemFromIgnoredInventoryUpdateList_args)other;
-
 
32191
 
-
 
32192
      lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
-
 
32193
      if (lastComparison != 0) {
-
 
32194
        return lastComparison;
-
 
32195
      }
-
 
32196
      if (isSetItem_id()) {
-
 
32197
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
-
 
32198
        if (lastComparison != 0) {
-
 
32199
          return lastComparison;
-
 
32200
        }
-
 
32201
      }
-
 
32202
      lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(typedOther.isSetWarehouse_id());
-
 
32203
      if (lastComparison != 0) {
-
 
32204
        return lastComparison;
-
 
32205
      }
-
 
32206
      if (isSetWarehouse_id()) {
-
 
32207
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_id, typedOther.warehouse_id);
-
 
32208
        if (lastComparison != 0) {
-
 
32209
          return lastComparison;
-
 
32210
        }
-
 
32211
      }
-
 
32212
      return 0;
-
 
32213
    }
-
 
32214
 
-
 
32215
    public _Fields fieldForId(int fieldId) {
-
 
32216
      return _Fields.findByThriftId(fieldId);
-
 
32217
    }
-
 
32218
 
-
 
32219
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32220
      org.apache.thrift.protocol.TField field;
-
 
32221
      iprot.readStructBegin();
-
 
32222
      while (true)
-
 
32223
      {
-
 
32224
        field = iprot.readFieldBegin();
-
 
32225
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32226
          break;
-
 
32227
        }
-
 
32228
        switch (field.id) {
-
 
32229
          case 1: // ITEM_ID
-
 
32230
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
32231
              this.item_id = iprot.readI64();
-
 
32232
              setItem_idIsSet(true);
-
 
32233
            } else { 
-
 
32234
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32235
            }
-
 
32236
            break;
-
 
32237
          case 2: // WAREHOUSE_ID
-
 
32238
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
32239
              this.warehouse_id = iprot.readI64();
-
 
32240
              setWarehouse_idIsSet(true);
-
 
32241
            } else { 
-
 
32242
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32243
            }
-
 
32244
            break;
-
 
32245
          default:
-
 
32246
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32247
        }
-
 
32248
        iprot.readFieldEnd();
-
 
32249
      }
-
 
32250
      iprot.readStructEnd();
-
 
32251
      validate();
-
 
32252
    }
-
 
32253
 
-
 
32254
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32255
      validate();
-
 
32256
 
-
 
32257
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32258
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
32259
      oprot.writeI64(this.item_id);
-
 
32260
      oprot.writeFieldEnd();
-
 
32261
      oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
-
 
32262
      oprot.writeI64(this.warehouse_id);
-
 
32263
      oprot.writeFieldEnd();
-
 
32264
      oprot.writeFieldStop();
-
 
32265
      oprot.writeStructEnd();
-
 
32266
    }
-
 
32267
 
-
 
32268
    @Override
-
 
32269
    public String toString() {
-
 
32270
      StringBuilder sb = new StringBuilder("deleteItemFromIgnoredInventoryUpdateList_args(");
-
 
32271
      boolean first = true;
-
 
32272
 
-
 
32273
      sb.append("item_id:");
-
 
32274
      sb.append(this.item_id);
-
 
32275
      first = false;
-
 
32276
      if (!first) sb.append(", ");
-
 
32277
      sb.append("warehouse_id:");
-
 
32278
      sb.append(this.warehouse_id);
-
 
32279
      first = false;
-
 
32280
      sb.append(")");
-
 
32281
      return sb.toString();
-
 
32282
    }
-
 
32283
 
-
 
32284
    public void validate() throws org.apache.thrift.TException {
-
 
32285
      // check for required fields
-
 
32286
    }
-
 
32287
 
-
 
32288
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32289
      try {
-
 
32290
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32291
      } catch (org.apache.thrift.TException te) {
-
 
32292
        throw new java.io.IOException(te);
-
 
32293
      }
-
 
32294
    }
-
 
32295
 
-
 
32296
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32297
      try {
-
 
32298
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
32299
        __isset_bit_vector = new BitSet(1);
-
 
32300
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32301
      } catch (org.apache.thrift.TException te) {
-
 
32302
        throw new java.io.IOException(te);
-
 
32303
      }
-
 
32304
    }
-
 
32305
 
-
 
32306
  }
-
 
32307
 
-
 
32308
  public static class deleteItemFromIgnoredInventoryUpdateList_result implements org.apache.thrift.TBase<deleteItemFromIgnoredInventoryUpdateList_result, deleteItemFromIgnoredInventoryUpdateList_result._Fields>, java.io.Serializable, Cloneable   {
-
 
32309
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteItemFromIgnoredInventoryUpdateList_result");
-
 
32310
 
-
 
32311
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
32312
 
-
 
32313
    private boolean success; // required
-
 
32314
 
-
 
32315
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32316
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32317
      SUCCESS((short)0, "success");
-
 
32318
 
-
 
32319
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32320
 
-
 
32321
      static {
-
 
32322
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32323
          byName.put(field.getFieldName(), field);
-
 
32324
        }
-
 
32325
      }
-
 
32326
 
-
 
32327
      /**
-
 
32328
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32329
       */
-
 
32330
      public static _Fields findByThriftId(int fieldId) {
-
 
32331
        switch(fieldId) {
-
 
32332
          case 0: // SUCCESS
-
 
32333
            return SUCCESS;
-
 
32334
          default:
-
 
32335
            return null;
-
 
32336
        }
-
 
32337
      }
-
 
32338
 
-
 
32339
      /**
-
 
32340
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32341
       * if it is not found.
-
 
32342
       */
-
 
32343
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32344
        _Fields fields = findByThriftId(fieldId);
-
 
32345
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32346
        return fields;
-
 
32347
      }
-
 
32348
 
-
 
32349
      /**
-
 
32350
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32351
       */
-
 
32352
      public static _Fields findByName(String name) {
-
 
32353
        return byName.get(name);
-
 
32354
      }
-
 
32355
 
-
 
32356
      private final short _thriftId;
-
 
32357
      private final String _fieldName;
-
 
32358
 
-
 
32359
      _Fields(short thriftId, String fieldName) {
-
 
32360
        _thriftId = thriftId;
-
 
32361
        _fieldName = fieldName;
-
 
32362
      }
-
 
32363
 
-
 
32364
      public short getThriftFieldId() {
-
 
32365
        return _thriftId;
-
 
32366
      }
-
 
32367
 
-
 
32368
      public String getFieldName() {
-
 
32369
        return _fieldName;
-
 
32370
      }
-
 
32371
    }
-
 
32372
 
-
 
32373
    // isset id assignments
-
 
32374
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
32375
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
32376
 
-
 
32377
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32378
    static {
-
 
32379
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32380
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32381
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
32382
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32383
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteItemFromIgnoredInventoryUpdateList_result.class, metaDataMap);
-
 
32384
    }
-
 
32385
 
-
 
32386
    public deleteItemFromIgnoredInventoryUpdateList_result() {
-
 
32387
    }
-
 
32388
 
-
 
32389
    public deleteItemFromIgnoredInventoryUpdateList_result(
-
 
32390
      boolean success)
-
 
32391
    {
-
 
32392
      this();
-
 
32393
      this.success = success;
-
 
32394
      setSuccessIsSet(true);
-
 
32395
    }
-
 
32396
 
-
 
32397
    /**
-
 
32398
     * Performs a deep copy on <i>other</i>.
-
 
32399
     */
-
 
32400
    public deleteItemFromIgnoredInventoryUpdateList_result(deleteItemFromIgnoredInventoryUpdateList_result other) {
-
 
32401
      __isset_bit_vector.clear();
-
 
32402
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
32403
      this.success = other.success;
-
 
32404
    }
-
 
32405
 
-
 
32406
    public deleteItemFromIgnoredInventoryUpdateList_result deepCopy() {
-
 
32407
      return new deleteItemFromIgnoredInventoryUpdateList_result(this);
-
 
32408
    }
-
 
32409
 
-
 
32410
    @Override
-
 
32411
    public void clear() {
-
 
32412
      setSuccessIsSet(false);
-
 
32413
      this.success = false;
-
 
32414
    }
-
 
32415
 
-
 
32416
    public boolean isSuccess() {
-
 
32417
      return this.success;
-
 
32418
    }
-
 
32419
 
-
 
32420
    public void setSuccess(boolean success) {
-
 
32421
      this.success = success;
-
 
32422
      setSuccessIsSet(true);
-
 
32423
    }
-
 
32424
 
-
 
32425
    public void unsetSuccess() {
-
 
32426
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
32427
    }
-
 
32428
 
-
 
32429
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
32430
    public boolean isSetSuccess() {
-
 
32431
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
32432
    }
-
 
32433
 
-
 
32434
    public void setSuccessIsSet(boolean value) {
-
 
32435
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
32436
    }
-
 
32437
 
-
 
32438
    public void setFieldValue(_Fields field, Object value) {
-
 
32439
      switch (field) {
-
 
32440
      case SUCCESS:
-
 
32441
        if (value == null) {
-
 
32442
          unsetSuccess();
-
 
32443
        } else {
-
 
32444
          setSuccess((Boolean)value);
-
 
32445
        }
-
 
32446
        break;
-
 
32447
 
-
 
32448
      }
-
 
32449
    }
-
 
32450
 
-
 
32451
    public Object getFieldValue(_Fields field) {
-
 
32452
      switch (field) {
-
 
32453
      case SUCCESS:
-
 
32454
        return Boolean.valueOf(isSuccess());
-
 
32455
 
-
 
32456
      }
-
 
32457
      throw new IllegalStateException();
-
 
32458
    }
-
 
32459
 
-
 
32460
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32461
    public boolean isSet(_Fields field) {
-
 
32462
      if (field == null) {
-
 
32463
        throw new IllegalArgumentException();
-
 
32464
      }
-
 
32465
 
-
 
32466
      switch (field) {
-
 
32467
      case SUCCESS:
-
 
32468
        return isSetSuccess();
-
 
32469
      }
-
 
32470
      throw new IllegalStateException();
-
 
32471
    }
-
 
32472
 
-
 
32473
    @Override
-
 
32474
    public boolean equals(Object that) {
-
 
32475
      if (that == null)
-
 
32476
        return false;
-
 
32477
      if (that instanceof deleteItemFromIgnoredInventoryUpdateList_result)
-
 
32478
        return this.equals((deleteItemFromIgnoredInventoryUpdateList_result)that);
-
 
32479
      return false;
-
 
32480
    }
-
 
32481
 
-
 
32482
    public boolean equals(deleteItemFromIgnoredInventoryUpdateList_result that) {
-
 
32483
      if (that == null)
-
 
32484
        return false;
-
 
32485
 
-
 
32486
      boolean this_present_success = true;
-
 
32487
      boolean that_present_success = true;
-
 
32488
      if (this_present_success || that_present_success) {
-
 
32489
        if (!(this_present_success && that_present_success))
-
 
32490
          return false;
-
 
32491
        if (this.success != that.success)
-
 
32492
          return false;
-
 
32493
      }
-
 
32494
 
-
 
32495
      return true;
-
 
32496
    }
-
 
32497
 
-
 
32498
    @Override
-
 
32499
    public int hashCode() {
-
 
32500
      return 0;
-
 
32501
    }
-
 
32502
 
-
 
32503
    public int compareTo(deleteItemFromIgnoredInventoryUpdateList_result other) {
-
 
32504
      if (!getClass().equals(other.getClass())) {
-
 
32505
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32506
      }
-
 
32507
 
-
 
32508
      int lastComparison = 0;
-
 
32509
      deleteItemFromIgnoredInventoryUpdateList_result typedOther = (deleteItemFromIgnoredInventoryUpdateList_result)other;
-
 
32510
 
-
 
32511
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
32512
      if (lastComparison != 0) {
-
 
32513
        return lastComparison;
-
 
32514
      }
-
 
32515
      if (isSetSuccess()) {
-
 
32516
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
32517
        if (lastComparison != 0) {
-
 
32518
          return lastComparison;
-
 
32519
        }
-
 
32520
      }
-
 
32521
      return 0;
-
 
32522
    }
-
 
32523
 
-
 
32524
    public _Fields fieldForId(int fieldId) {
-
 
32525
      return _Fields.findByThriftId(fieldId);
-
 
32526
    }
-
 
32527
 
-
 
32528
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32529
      org.apache.thrift.protocol.TField field;
-
 
32530
      iprot.readStructBegin();
-
 
32531
      while (true)
-
 
32532
      {
-
 
32533
        field = iprot.readFieldBegin();
-
 
32534
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32535
          break;
-
 
32536
        }
-
 
32537
        switch (field.id) {
-
 
32538
          case 0: // SUCCESS
-
 
32539
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
32540
              this.success = iprot.readBool();
-
 
32541
              setSuccessIsSet(true);
-
 
32542
            } else { 
-
 
32543
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32544
            }
-
 
32545
            break;
-
 
32546
          default:
-
 
32547
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32548
        }
-
 
32549
        iprot.readFieldEnd();
-
 
32550
      }
-
 
32551
      iprot.readStructEnd();
-
 
32552
      validate();
-
 
32553
    }
-
 
32554
 
-
 
32555
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32556
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32557
 
-
 
32558
      if (this.isSetSuccess()) {
-
 
32559
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
32560
        oprot.writeBool(this.success);
-
 
32561
        oprot.writeFieldEnd();
-
 
32562
      }
-
 
32563
      oprot.writeFieldStop();
-
 
32564
      oprot.writeStructEnd();
-
 
32565
    }
-
 
32566
 
-
 
32567
    @Override
-
 
32568
    public String toString() {
-
 
32569
      StringBuilder sb = new StringBuilder("deleteItemFromIgnoredInventoryUpdateList_result(");
-
 
32570
      boolean first = true;
-
 
32571
 
-
 
32572
      sb.append("success:");
-
 
32573
      sb.append(this.success);
-
 
32574
      first = false;
-
 
32575
      sb.append(")");
-
 
32576
      return sb.toString();
-
 
32577
    }
-
 
32578
 
-
 
32579
    public void validate() throws org.apache.thrift.TException {
-
 
32580
      // check for required fields
-
 
32581
    }
-
 
32582
 
-
 
32583
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32584
      try {
-
 
32585
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32586
      } catch (org.apache.thrift.TException te) {
-
 
32587
        throw new java.io.IOException(te);
-
 
32588
      }
-
 
32589
    }
-
 
32590
 
-
 
32591
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32592
      try {
-
 
32593
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32594
      } catch (org.apache.thrift.TException te) {
-
 
32595
        throw new java.io.IOException(te);
-
 
32596
      }
-
 
32597
    }
-
 
32598
 
-
 
32599
  }
-
 
32600
 
-
 
32601
  public static class getAllIgnoredInventoryupdateItemsCount_args implements org.apache.thrift.TBase<getAllIgnoredInventoryupdateItemsCount_args, getAllIgnoredInventoryupdateItemsCount_args._Fields>, java.io.Serializable, Cloneable   {
-
 
32602
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllIgnoredInventoryupdateItemsCount_args");
-
 
32603
 
-
 
32604
 
-
 
32605
 
-
 
32606
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32607
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32608
;
-
 
32609
 
-
 
32610
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32611
 
-
 
32612
      static {
-
 
32613
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32614
          byName.put(field.getFieldName(), field);
-
 
32615
        }
-
 
32616
      }
-
 
32617
 
-
 
32618
      /**
-
 
32619
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32620
       */
-
 
32621
      public static _Fields findByThriftId(int fieldId) {
-
 
32622
        switch(fieldId) {
-
 
32623
          default:
-
 
32624
            return null;
-
 
32625
        }
-
 
32626
      }
-
 
32627
 
-
 
32628
      /**
-
 
32629
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32630
       * if it is not found.
-
 
32631
       */
-
 
32632
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32633
        _Fields fields = findByThriftId(fieldId);
-
 
32634
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32635
        return fields;
-
 
32636
      }
-
 
32637
 
-
 
32638
      /**
-
 
32639
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32640
       */
-
 
32641
      public static _Fields findByName(String name) {
-
 
32642
        return byName.get(name);
-
 
32643
      }
-
 
32644
 
-
 
32645
      private final short _thriftId;
-
 
32646
      private final String _fieldName;
-
 
32647
 
-
 
32648
      _Fields(short thriftId, String fieldName) {
-
 
32649
        _thriftId = thriftId;
-
 
32650
        _fieldName = fieldName;
-
 
32651
      }
-
 
32652
 
-
 
32653
      public short getThriftFieldId() {
-
 
32654
        return _thriftId;
-
 
32655
      }
-
 
32656
 
-
 
32657
      public String getFieldName() {
-
 
32658
        return _fieldName;
-
 
32659
      }
-
 
32660
    }
-
 
32661
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32662
    static {
-
 
32663
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32664
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32665
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllIgnoredInventoryupdateItemsCount_args.class, metaDataMap);
-
 
32666
    }
-
 
32667
 
-
 
32668
    public getAllIgnoredInventoryupdateItemsCount_args() {
-
 
32669
    }
-
 
32670
 
-
 
32671
    /**
-
 
32672
     * Performs a deep copy on <i>other</i>.
-
 
32673
     */
-
 
32674
    public getAllIgnoredInventoryupdateItemsCount_args(getAllIgnoredInventoryupdateItemsCount_args other) {
-
 
32675
    }
-
 
32676
 
-
 
32677
    public getAllIgnoredInventoryupdateItemsCount_args deepCopy() {
-
 
32678
      return new getAllIgnoredInventoryupdateItemsCount_args(this);
-
 
32679
    }
-
 
32680
 
-
 
32681
    @Override
-
 
32682
    public void clear() {
-
 
32683
    }
-
 
32684
 
-
 
32685
    public void setFieldValue(_Fields field, Object value) {
-
 
32686
      switch (field) {
-
 
32687
      }
-
 
32688
    }
-
 
32689
 
-
 
32690
    public Object getFieldValue(_Fields field) {
-
 
32691
      switch (field) {
-
 
32692
      }
-
 
32693
      throw new IllegalStateException();
-
 
32694
    }
-
 
32695
 
-
 
32696
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32697
    public boolean isSet(_Fields field) {
-
 
32698
      if (field == null) {
-
 
32699
        throw new IllegalArgumentException();
-
 
32700
      }
-
 
32701
 
-
 
32702
      switch (field) {
-
 
32703
      }
-
 
32704
      throw new IllegalStateException();
-
 
32705
    }
-
 
32706
 
-
 
32707
    @Override
-
 
32708
    public boolean equals(Object that) {
-
 
32709
      if (that == null)
-
 
32710
        return false;
-
 
32711
      if (that instanceof getAllIgnoredInventoryupdateItemsCount_args)
-
 
32712
        return this.equals((getAllIgnoredInventoryupdateItemsCount_args)that);
-
 
32713
      return false;
-
 
32714
    }
-
 
32715
 
-
 
32716
    public boolean equals(getAllIgnoredInventoryupdateItemsCount_args that) {
-
 
32717
      if (that == null)
-
 
32718
        return false;
-
 
32719
 
-
 
32720
      return true;
-
 
32721
    }
-
 
32722
 
-
 
32723
    @Override
-
 
32724
    public int hashCode() {
-
 
32725
      return 0;
-
 
32726
    }
-
 
32727
 
-
 
32728
    public int compareTo(getAllIgnoredInventoryupdateItemsCount_args other) {
-
 
32729
      if (!getClass().equals(other.getClass())) {
-
 
32730
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32731
      }
-
 
32732
 
-
 
32733
      int lastComparison = 0;
-
 
32734
      getAllIgnoredInventoryupdateItemsCount_args typedOther = (getAllIgnoredInventoryupdateItemsCount_args)other;
-
 
32735
 
-
 
32736
      return 0;
-
 
32737
    }
-
 
32738
 
-
 
32739
    public _Fields fieldForId(int fieldId) {
-
 
32740
      return _Fields.findByThriftId(fieldId);
-
 
32741
    }
-
 
32742
 
-
 
32743
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32744
      org.apache.thrift.protocol.TField field;
-
 
32745
      iprot.readStructBegin();
-
 
32746
      while (true)
-
 
32747
      {
-
 
32748
        field = iprot.readFieldBegin();
-
 
32749
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32750
          break;
-
 
32751
        }
-
 
32752
        switch (field.id) {
-
 
32753
          default:
-
 
32754
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32755
        }
-
 
32756
        iprot.readFieldEnd();
-
 
32757
      }
-
 
32758
      iprot.readStructEnd();
-
 
32759
      validate();
-
 
32760
    }
-
 
32761
 
-
 
32762
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32763
      validate();
-
 
32764
 
-
 
32765
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32766
      oprot.writeFieldStop();
-
 
32767
      oprot.writeStructEnd();
-
 
32768
    }
-
 
32769
 
-
 
32770
    @Override
-
 
32771
    public String toString() {
-
 
32772
      StringBuilder sb = new StringBuilder("getAllIgnoredInventoryupdateItemsCount_args(");
-
 
32773
      boolean first = true;
-
 
32774
 
-
 
32775
      sb.append(")");
-
 
32776
      return sb.toString();
-
 
32777
    }
-
 
32778
 
-
 
32779
    public void validate() throws org.apache.thrift.TException {
-
 
32780
      // check for required fields
-
 
32781
    }
-
 
32782
 
-
 
32783
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32784
      try {
-
 
32785
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32786
      } catch (org.apache.thrift.TException te) {
-
 
32787
        throw new java.io.IOException(te);
-
 
32788
      }
-
 
32789
    }
-
 
32790
 
-
 
32791
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32792
      try {
-
 
32793
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32794
      } catch (org.apache.thrift.TException te) {
-
 
32795
        throw new java.io.IOException(te);
-
 
32796
      }
-
 
32797
    }
-
 
32798
 
-
 
32799
  }
-
 
32800
 
-
 
32801
  public static class getAllIgnoredInventoryupdateItemsCount_result implements org.apache.thrift.TBase<getAllIgnoredInventoryupdateItemsCount_result, getAllIgnoredInventoryupdateItemsCount_result._Fields>, java.io.Serializable, Cloneable   {
-
 
32802
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllIgnoredInventoryupdateItemsCount_result");
-
 
32803
 
-
 
32804
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0);
-
 
32805
 
-
 
32806
    private int success; // required
-
 
32807
 
-
 
32808
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32809
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32810
      SUCCESS((short)0, "success");
-
 
32811
 
-
 
32812
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32813
 
-
 
32814
      static {
-
 
32815
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32816
          byName.put(field.getFieldName(), field);
-
 
32817
        }
-
 
32818
      }
-
 
32819
 
-
 
32820
      /**
-
 
32821
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32822
       */
-
 
32823
      public static _Fields findByThriftId(int fieldId) {
-
 
32824
        switch(fieldId) {
-
 
32825
          case 0: // SUCCESS
-
 
32826
            return SUCCESS;
-
 
32827
          default:
-
 
32828
            return null;
-
 
32829
        }
-
 
32830
      }
-
 
32831
 
-
 
32832
      /**
-
 
32833
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32834
       * if it is not found.
-
 
32835
       */
-
 
32836
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32837
        _Fields fields = findByThriftId(fieldId);
-
 
32838
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32839
        return fields;
-
 
32840
      }
-
 
32841
 
-
 
32842
      /**
-
 
32843
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32844
       */
-
 
32845
      public static _Fields findByName(String name) {
-
 
32846
        return byName.get(name);
-
 
32847
      }
-
 
32848
 
-
 
32849
      private final short _thriftId;
-
 
32850
      private final String _fieldName;
-
 
32851
 
-
 
32852
      _Fields(short thriftId, String fieldName) {
-
 
32853
        _thriftId = thriftId;
-
 
32854
        _fieldName = fieldName;
-
 
32855
      }
-
 
32856
 
-
 
32857
      public short getThriftFieldId() {
-
 
32858
        return _thriftId;
-
 
32859
      }
-
 
32860
 
-
 
32861
      public String getFieldName() {
-
 
32862
        return _fieldName;
-
 
32863
      }
-
 
32864
    }
-
 
32865
 
-
 
32866
    // isset id assignments
-
 
32867
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
32868
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
32869
 
-
 
32870
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32871
    static {
-
 
32872
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32873
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32874
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
32875
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32876
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllIgnoredInventoryupdateItemsCount_result.class, metaDataMap);
-
 
32877
    }
-
 
32878
 
-
 
32879
    public getAllIgnoredInventoryupdateItemsCount_result() {
-
 
32880
    }
-
 
32881
 
-
 
32882
    public getAllIgnoredInventoryupdateItemsCount_result(
-
 
32883
      int success)
-
 
32884
    {
-
 
32885
      this();
-
 
32886
      this.success = success;
-
 
32887
      setSuccessIsSet(true);
-
 
32888
    }
-
 
32889
 
-
 
32890
    /**
-
 
32891
     * Performs a deep copy on <i>other</i>.
-
 
32892
     */
-
 
32893
    public getAllIgnoredInventoryupdateItemsCount_result(getAllIgnoredInventoryupdateItemsCount_result other) {
-
 
32894
      __isset_bit_vector.clear();
-
 
32895
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
32896
      this.success = other.success;
-
 
32897
    }
-
 
32898
 
-
 
32899
    public getAllIgnoredInventoryupdateItemsCount_result deepCopy() {
-
 
32900
      return new getAllIgnoredInventoryupdateItemsCount_result(this);
-
 
32901
    }
-
 
32902
 
-
 
32903
    @Override
-
 
32904
    public void clear() {
-
 
32905
      setSuccessIsSet(false);
-
 
32906
      this.success = 0;
-
 
32907
    }
-
 
32908
 
-
 
32909
    public int getSuccess() {
-
 
32910
      return this.success;
-
 
32911
    }
-
 
32912
 
-
 
32913
    public void setSuccess(int success) {
-
 
32914
      this.success = success;
-
 
32915
      setSuccessIsSet(true);
-
 
32916
    }
-
 
32917
 
-
 
32918
    public void unsetSuccess() {
-
 
32919
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
32920
    }
-
 
32921
 
-
 
32922
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
32923
    public boolean isSetSuccess() {
-
 
32924
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
32925
    }
-
 
32926
 
-
 
32927
    public void setSuccessIsSet(boolean value) {
-
 
32928
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
32929
    }
-
 
32930
 
-
 
32931
    public void setFieldValue(_Fields field, Object value) {
-
 
32932
      switch (field) {
-
 
32933
      case SUCCESS:
-
 
32934
        if (value == null) {
-
 
32935
          unsetSuccess();
-
 
32936
        } else {
-
 
32937
          setSuccess((Integer)value);
-
 
32938
        }
-
 
32939
        break;
-
 
32940
 
-
 
32941
      }
-
 
32942
    }
-
 
32943
 
-
 
32944
    public Object getFieldValue(_Fields field) {
-
 
32945
      switch (field) {
-
 
32946
      case SUCCESS:
-
 
32947
        return Integer.valueOf(getSuccess());
-
 
32948
 
-
 
32949
      }
-
 
32950
      throw new IllegalStateException();
-
 
32951
    }
-
 
32952
 
-
 
32953
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32954
    public boolean isSet(_Fields field) {
-
 
32955
      if (field == null) {
-
 
32956
        throw new IllegalArgumentException();
-
 
32957
      }
-
 
32958
 
-
 
32959
      switch (field) {
-
 
32960
      case SUCCESS:
-
 
32961
        return isSetSuccess();
-
 
32962
      }
-
 
32963
      throw new IllegalStateException();
-
 
32964
    }
-
 
32965
 
-
 
32966
    @Override
-
 
32967
    public boolean equals(Object that) {
-
 
32968
      if (that == null)
-
 
32969
        return false;
-
 
32970
      if (that instanceof getAllIgnoredInventoryupdateItemsCount_result)
-
 
32971
        return this.equals((getAllIgnoredInventoryupdateItemsCount_result)that);
-
 
32972
      return false;
-
 
32973
    }
-
 
32974
 
-
 
32975
    public boolean equals(getAllIgnoredInventoryupdateItemsCount_result that) {
-
 
32976
      if (that == null)
-
 
32977
        return false;
-
 
32978
 
-
 
32979
      boolean this_present_success = true;
-
 
32980
      boolean that_present_success = true;
-
 
32981
      if (this_present_success || that_present_success) {
-
 
32982
        if (!(this_present_success && that_present_success))
-
 
32983
          return false;
-
 
32984
        if (this.success != that.success)
-
 
32985
          return false;
-
 
32986
      }
-
 
32987
 
-
 
32988
      return true;
-
 
32989
    }
-
 
32990
 
-
 
32991
    @Override
-
 
32992
    public int hashCode() {
-
 
32993
      return 0;
-
 
32994
    }
-
 
32995
 
-
 
32996
    public int compareTo(getAllIgnoredInventoryupdateItemsCount_result other) {
-
 
32997
      if (!getClass().equals(other.getClass())) {
-
 
32998
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32999
      }
-
 
33000
 
-
 
33001
      int lastComparison = 0;
-
 
33002
      getAllIgnoredInventoryupdateItemsCount_result typedOther = (getAllIgnoredInventoryupdateItemsCount_result)other;
-
 
33003
 
-
 
33004
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
33005
      if (lastComparison != 0) {
-
 
33006
        return lastComparison;
-
 
33007
      }
-
 
33008
      if (isSetSuccess()) {
-
 
33009
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
33010
        if (lastComparison != 0) {
-
 
33011
          return lastComparison;
-
 
33012
        }
-
 
33013
      }
-
 
33014
      return 0;
-
 
33015
    }
-
 
33016
 
-
 
33017
    public _Fields fieldForId(int fieldId) {
-
 
33018
      return _Fields.findByThriftId(fieldId);
-
 
33019
    }
-
 
33020
 
-
 
33021
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
33022
      org.apache.thrift.protocol.TField field;
-
 
33023
      iprot.readStructBegin();
-
 
33024
      while (true)
-
 
33025
      {
-
 
33026
        field = iprot.readFieldBegin();
-
 
33027
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
33028
          break;
-
 
33029
        }
-
 
33030
        switch (field.id) {
-
 
33031
          case 0: // SUCCESS
-
 
33032
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
33033
              this.success = iprot.readI32();
-
 
33034
              setSuccessIsSet(true);
-
 
33035
            } else { 
-
 
33036
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33037
            }
-
 
33038
            break;
-
 
33039
          default:
-
 
33040
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33041
        }
-
 
33042
        iprot.readFieldEnd();
-
 
33043
      }
-
 
33044
      iprot.readStructEnd();
-
 
33045
      validate();
-
 
33046
    }
-
 
33047
 
-
 
33048
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
33049
      oprot.writeStructBegin(STRUCT_DESC);
-
 
33050
 
-
 
33051
      if (this.isSetSuccess()) {
-
 
33052
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
33053
        oprot.writeI32(this.success);
-
 
33054
        oprot.writeFieldEnd();
-
 
33055
      }
-
 
33056
      oprot.writeFieldStop();
-
 
33057
      oprot.writeStructEnd();
-
 
33058
    }
-
 
33059
 
-
 
33060
    @Override
-
 
33061
    public String toString() {
-
 
33062
      StringBuilder sb = new StringBuilder("getAllIgnoredInventoryupdateItemsCount_result(");
-
 
33063
      boolean first = true;
-
 
33064
 
-
 
33065
      sb.append("success:");
-
 
33066
      sb.append(this.success);
-
 
33067
      first = false;
-
 
33068
      sb.append(")");
-
 
33069
      return sb.toString();
-
 
33070
    }
-
 
33071
 
-
 
33072
    public void validate() throws org.apache.thrift.TException {
-
 
33073
      // check for required fields
-
 
33074
    }
-
 
33075
 
-
 
33076
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
33077
      try {
-
 
33078
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
33079
      } catch (org.apache.thrift.TException te) {
-
 
33080
        throw new java.io.IOException(te);
-
 
33081
      }
-
 
33082
    }
-
 
33083
 
-
 
33084
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
33085
      try {
-
 
33086
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
33087
      } catch (org.apache.thrift.TException te) {
-
 
33088
        throw new java.io.IOException(te);
-
 
33089
      }
-
 
33090
    }
-
 
33091
 
-
 
33092
  }
-
 
33093
 
-
 
33094
  public static class getIgnoredInventoryUpdateItemids_args implements org.apache.thrift.TBase<getIgnoredInventoryUpdateItemids_args, getIgnoredInventoryUpdateItemids_args._Fields>, java.io.Serializable, Cloneable   {
-
 
33095
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgnoredInventoryUpdateItemids_args");
-
 
33096
 
-
 
33097
    private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I32, (short)1);
-
 
33098
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
33099
 
-
 
33100
    private int offset; // required
-
 
33101
    private int limit; // required
-
 
33102
 
-
 
33103
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
33104
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
33105
      OFFSET((short)1, "offset"),
-
 
33106
      LIMIT((short)2, "limit");
-
 
33107
 
-
 
33108
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
33109
 
-
 
33110
      static {
-
 
33111
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
33112
          byName.put(field.getFieldName(), field);
-
 
33113
        }
-
 
33114
      }
-
 
33115
 
-
 
33116
      /**
-
 
33117
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
33118
       */
-
 
33119
      public static _Fields findByThriftId(int fieldId) {
-
 
33120
        switch(fieldId) {
-
 
33121
          case 1: // OFFSET
-
 
33122
            return OFFSET;
-
 
33123
          case 2: // LIMIT
-
 
33124
            return LIMIT;
-
 
33125
          default:
-
 
33126
            return null;
-
 
33127
        }
-
 
33128
      }
-
 
33129
 
-
 
33130
      /**
-
 
33131
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
33132
       * if it is not found.
-
 
33133
       */
-
 
33134
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
33135
        _Fields fields = findByThriftId(fieldId);
-
 
33136
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
33137
        return fields;
-
 
33138
      }
-
 
33139
 
-
 
33140
      /**
-
 
33141
       * Find the _Fields constant that matches name, or null if its not found.
-
 
33142
       */
-
 
33143
      public static _Fields findByName(String name) {
-
 
33144
        return byName.get(name);
-
 
33145
      }
-
 
33146
 
-
 
33147
      private final short _thriftId;
-
 
33148
      private final String _fieldName;
-
 
33149
 
-
 
33150
      _Fields(short thriftId, String fieldName) {
-
 
33151
        _thriftId = thriftId;
-
 
33152
        _fieldName = fieldName;
-
 
33153
      }
-
 
33154
 
-
 
33155
      public short getThriftFieldId() {
-
 
33156
        return _thriftId;
-
 
33157
      }
-
 
33158
 
-
 
33159
      public String getFieldName() {
-
 
33160
        return _fieldName;
-
 
33161
      }
-
 
33162
    }
-
 
33163
 
-
 
33164
    // isset id assignments
-
 
33165
    private static final int __OFFSET_ISSET_ID = 0;
-
 
33166
    private static final int __LIMIT_ISSET_ID = 1;
-
 
33167
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
33168
 
-
 
33169
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
33170
    static {
-
 
33171
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
33172
      tmpMap.put(_Fields.OFFSET, new org.apache.thrift.meta_data.FieldMetaData("offset", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
33173
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
33174
      tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
33175
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
33176
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
33177
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgnoredInventoryUpdateItemids_args.class, metaDataMap);
-
 
33178
    }
-
 
33179
 
-
 
33180
    public getIgnoredInventoryUpdateItemids_args() {
-
 
33181
    }
-
 
33182
 
-
 
33183
    public getIgnoredInventoryUpdateItemids_args(
-
 
33184
      int offset,
-
 
33185
      int limit)
-
 
33186
    {
-
 
33187
      this();
-
 
33188
      this.offset = offset;
-
 
33189
      setOffsetIsSet(true);
-
 
33190
      this.limit = limit;
-
 
33191
      setLimitIsSet(true);
-
 
33192
    }
-
 
33193
 
-
 
33194
    /**
-
 
33195
     * Performs a deep copy on <i>other</i>.
-
 
33196
     */
-
 
33197
    public getIgnoredInventoryUpdateItemids_args(getIgnoredInventoryUpdateItemids_args other) {
-
 
33198
      __isset_bit_vector.clear();
-
 
33199
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
33200
      this.offset = other.offset;
-
 
33201
      this.limit = other.limit;
-
 
33202
    }
-
 
33203
 
-
 
33204
    public getIgnoredInventoryUpdateItemids_args deepCopy() {
-
 
33205
      return new getIgnoredInventoryUpdateItemids_args(this);
-
 
33206
    }
-
 
33207
 
-
 
33208
    @Override
-
 
33209
    public void clear() {
-
 
33210
      setOffsetIsSet(false);
-
 
33211
      this.offset = 0;
-
 
33212
      setLimitIsSet(false);
-
 
33213
      this.limit = 0;
-
 
33214
    }
-
 
33215
 
-
 
33216
    public int getOffset() {
-
 
33217
      return this.offset;
-
 
33218
    }
-
 
33219
 
-
 
33220
    public void setOffset(int offset) {
-
 
33221
      this.offset = offset;
-
 
33222
      setOffsetIsSet(true);
-
 
33223
    }
-
 
33224
 
-
 
33225
    public void unsetOffset() {
-
 
33226
      __isset_bit_vector.clear(__OFFSET_ISSET_ID);
-
 
33227
    }
-
 
33228
 
-
 
33229
    /** Returns true if field offset is set (has been assigned a value) and false otherwise */
-
 
33230
    public boolean isSetOffset() {
-
 
33231
      return __isset_bit_vector.get(__OFFSET_ISSET_ID);
-
 
33232
    }
-
 
33233
 
-
 
33234
    public void setOffsetIsSet(boolean value) {
-
 
33235
      __isset_bit_vector.set(__OFFSET_ISSET_ID, value);
-
 
33236
    }
-
 
33237
 
-
 
33238
    public int getLimit() {
-
 
33239
      return this.limit;
-
 
33240
    }
-
 
33241
 
-
 
33242
    public void setLimit(int limit) {
-
 
33243
      this.limit = limit;
-
 
33244
      setLimitIsSet(true);
-
 
33245
    }
-
 
33246
 
-
 
33247
    public void unsetLimit() {
-
 
33248
      __isset_bit_vector.clear(__LIMIT_ISSET_ID);
-
 
33249
    }
-
 
33250
 
-
 
33251
    /** Returns true if field limit is set (has been assigned a value) and false otherwise */
-
 
33252
    public boolean isSetLimit() {
-
 
33253
      return __isset_bit_vector.get(__LIMIT_ISSET_ID);
-
 
33254
    }
-
 
33255
 
-
 
33256
    public void setLimitIsSet(boolean value) {
-
 
33257
      __isset_bit_vector.set(__LIMIT_ISSET_ID, value);
-
 
33258
    }
-
 
33259
 
-
 
33260
    public void setFieldValue(_Fields field, Object value) {
-
 
33261
      switch (field) {
-
 
33262
      case OFFSET:
-
 
33263
        if (value == null) {
-
 
33264
          unsetOffset();
-
 
33265
        } else {
-
 
33266
          setOffset((Integer)value);
-
 
33267
        }
-
 
33268
        break;
-
 
33269
 
-
 
33270
      case LIMIT:
-
 
33271
        if (value == null) {
-
 
33272
          unsetLimit();
-
 
33273
        } else {
-
 
33274
          setLimit((Integer)value);
-
 
33275
        }
-
 
33276
        break;
-
 
33277
 
-
 
33278
      }
-
 
33279
    }
-
 
33280
 
-
 
33281
    public Object getFieldValue(_Fields field) {
-
 
33282
      switch (field) {
-
 
33283
      case OFFSET:
-
 
33284
        return Integer.valueOf(getOffset());
-
 
33285
 
-
 
33286
      case LIMIT:
-
 
33287
        return Integer.valueOf(getLimit());
-
 
33288
 
-
 
33289
      }
-
 
33290
      throw new IllegalStateException();
-
 
33291
    }
-
 
33292
 
-
 
33293
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
33294
    public boolean isSet(_Fields field) {
-
 
33295
      if (field == null) {
-
 
33296
        throw new IllegalArgumentException();
-
 
33297
      }
-
 
33298
 
-
 
33299
      switch (field) {
-
 
33300
      case OFFSET:
-
 
33301
        return isSetOffset();
-
 
33302
      case LIMIT:
-
 
33303
        return isSetLimit();
-
 
33304
      }
-
 
33305
      throw new IllegalStateException();
-
 
33306
    }
-
 
33307
 
-
 
33308
    @Override
-
 
33309
    public boolean equals(Object that) {
-
 
33310
      if (that == null)
-
 
33311
        return false;
-
 
33312
      if (that instanceof getIgnoredInventoryUpdateItemids_args)
-
 
33313
        return this.equals((getIgnoredInventoryUpdateItemids_args)that);
-
 
33314
      return false;
-
 
33315
    }
-
 
33316
 
-
 
33317
    public boolean equals(getIgnoredInventoryUpdateItemids_args that) {
-
 
33318
      if (that == null)
-
 
33319
        return false;
-
 
33320
 
-
 
33321
      boolean this_present_offset = true;
-
 
33322
      boolean that_present_offset = true;
-
 
33323
      if (this_present_offset || that_present_offset) {
-
 
33324
        if (!(this_present_offset && that_present_offset))
-
 
33325
          return false;
-
 
33326
        if (this.offset != that.offset)
-
 
33327
          return false;
-
 
33328
      }
-
 
33329
 
-
 
33330
      boolean this_present_limit = true;
-
 
33331
      boolean that_present_limit = true;
-
 
33332
      if (this_present_limit || that_present_limit) {
-
 
33333
        if (!(this_present_limit && that_present_limit))
-
 
33334
          return false;
-
 
33335
        if (this.limit != that.limit)
-
 
33336
          return false;
-
 
33337
      }
-
 
33338
 
-
 
33339
      return true;
-
 
33340
    }
-
 
33341
 
-
 
33342
    @Override
-
 
33343
    public int hashCode() {
-
 
33344
      return 0;
-
 
33345
    }
-
 
33346
 
-
 
33347
    public int compareTo(getIgnoredInventoryUpdateItemids_args other) {
-
 
33348
      if (!getClass().equals(other.getClass())) {
-
 
33349
        return getClass().getName().compareTo(other.getClass().getName());
-
 
33350
      }
-
 
33351
 
-
 
33352
      int lastComparison = 0;
-
 
33353
      getIgnoredInventoryUpdateItemids_args typedOther = (getIgnoredInventoryUpdateItemids_args)other;
-
 
33354
 
-
 
33355
      lastComparison = Boolean.valueOf(isSetOffset()).compareTo(typedOther.isSetOffset());
-
 
33356
      if (lastComparison != 0) {
-
 
33357
        return lastComparison;
-
 
33358
      }
-
 
33359
      if (isSetOffset()) {
-
 
33360
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset, typedOther.offset);
-
 
33361
        if (lastComparison != 0) {
-
 
33362
          return lastComparison;
-
 
33363
        }
-
 
33364
      }
-
 
33365
      lastComparison = Boolean.valueOf(isSetLimit()).compareTo(typedOther.isSetLimit());
-
 
33366
      if (lastComparison != 0) {
-
 
33367
        return lastComparison;
-
 
33368
      }
-
 
33369
      if (isSetLimit()) {
-
 
33370
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, typedOther.limit);
-
 
33371
        if (lastComparison != 0) {
-
 
33372
          return lastComparison;
-
 
33373
        }
-
 
33374
      }
-
 
33375
      return 0;
-
 
33376
    }
-
 
33377
 
-
 
33378
    public _Fields fieldForId(int fieldId) {
-
 
33379
      return _Fields.findByThriftId(fieldId);
-
 
33380
    }
-
 
33381
 
-
 
33382
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
33383
      org.apache.thrift.protocol.TField field;
-
 
33384
      iprot.readStructBegin();
-
 
33385
      while (true)
-
 
33386
      {
-
 
33387
        field = iprot.readFieldBegin();
-
 
33388
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
33389
          break;
-
 
33390
        }
-
 
33391
        switch (field.id) {
-
 
33392
          case 1: // OFFSET
-
 
33393
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
33394
              this.offset = iprot.readI32();
-
 
33395
              setOffsetIsSet(true);
-
 
33396
            } else { 
-
 
33397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33398
            }
-
 
33399
            break;
-
 
33400
          case 2: // LIMIT
-
 
33401
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
33402
              this.limit = iprot.readI32();
-
 
33403
              setLimitIsSet(true);
-
 
33404
            } else { 
-
 
33405
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33406
            }
-
 
33407
            break;
-
 
33408
          default:
-
 
33409
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33410
        }
-
 
33411
        iprot.readFieldEnd();
-
 
33412
      }
-
 
33413
      iprot.readStructEnd();
-
 
33414
      validate();
-
 
33415
    }
-
 
33416
 
-
 
33417
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
33418
      validate();
-
 
33419
 
-
 
33420
      oprot.writeStructBegin(STRUCT_DESC);
-
 
33421
      oprot.writeFieldBegin(OFFSET_FIELD_DESC);
-
 
33422
      oprot.writeI32(this.offset);
-
 
33423
      oprot.writeFieldEnd();
-
 
33424
      oprot.writeFieldBegin(LIMIT_FIELD_DESC);
-
 
33425
      oprot.writeI32(this.limit);
-
 
33426
      oprot.writeFieldEnd();
-
 
33427
      oprot.writeFieldStop();
-
 
33428
      oprot.writeStructEnd();
-
 
33429
    }
-
 
33430
 
-
 
33431
    @Override
-
 
33432
    public String toString() {
-
 
33433
      StringBuilder sb = new StringBuilder("getIgnoredInventoryUpdateItemids_args(");
-
 
33434
      boolean first = true;
-
 
33435
 
-
 
33436
      sb.append("offset:");
-
 
33437
      sb.append(this.offset);
-
 
33438
      first = false;
-
 
33439
      if (!first) sb.append(", ");
-
 
33440
      sb.append("limit:");
-
 
33441
      sb.append(this.limit);
-
 
33442
      first = false;
-
 
33443
      sb.append(")");
-
 
33444
      return sb.toString();
-
 
33445
    }
-
 
33446
 
-
 
33447
    public void validate() throws org.apache.thrift.TException {
-
 
33448
      // check for required fields
-
 
33449
    }
-
 
33450
 
-
 
33451
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
33452
      try {
-
 
33453
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
33454
      } catch (org.apache.thrift.TException te) {
-
 
33455
        throw new java.io.IOException(te);
-
 
33456
      }
-
 
33457
    }
-
 
33458
 
-
 
33459
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
33460
      try {
-
 
33461
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33462
        __isset_bit_vector = new BitSet(1);
-
 
33463
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
33464
      } catch (org.apache.thrift.TException te) {
-
 
33465
        throw new java.io.IOException(te);
-
 
33466
      }
-
 
33467
    }
-
 
33468
 
-
 
33469
  }
-
 
33470
 
-
 
33471
  public static class getIgnoredInventoryUpdateItemids_result implements org.apache.thrift.TBase<getIgnoredInventoryUpdateItemids_result, getIgnoredInventoryUpdateItemids_result._Fields>, java.io.Serializable, Cloneable   {
-
 
33472
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIgnoredInventoryUpdateItemids_result");
-
 
33473
 
-
 
33474
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
33475
 
-
 
33476
    private List<Long> success; // required
-
 
33477
 
-
 
33478
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
33479
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
33480
      SUCCESS((short)0, "success");
-
 
33481
 
-
 
33482
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
33483
 
-
 
33484
      static {
-
 
33485
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
33486
          byName.put(field.getFieldName(), field);
-
 
33487
        }
-
 
33488
      }
-
 
33489
 
-
 
33490
      /**
-
 
33491
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
33492
       */
-
 
33493
      public static _Fields findByThriftId(int fieldId) {
-
 
33494
        switch(fieldId) {
-
 
33495
          case 0: // SUCCESS
-
 
33496
            return SUCCESS;
-
 
33497
          default:
-
 
33498
            return null;
-
 
33499
        }
-
 
33500
      }
-
 
33501
 
-
 
33502
      /**
-
 
33503
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
33504
       * if it is not found.
-
 
33505
       */
-
 
33506
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
33507
        _Fields fields = findByThriftId(fieldId);
-
 
33508
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
33509
        return fields;
-
 
33510
      }
-
 
33511
 
-
 
33512
      /**
-
 
33513
       * Find the _Fields constant that matches name, or null if its not found.
-
 
33514
       */
-
 
33515
      public static _Fields findByName(String name) {
-
 
33516
        return byName.get(name);
-
 
33517
      }
-
 
33518
 
-
 
33519
      private final short _thriftId;
-
 
33520
      private final String _fieldName;
-
 
33521
 
-
 
33522
      _Fields(short thriftId, String fieldName) {
-
 
33523
        _thriftId = thriftId;
-
 
33524
        _fieldName = fieldName;
-
 
33525
      }
-
 
33526
 
-
 
33527
      public short getThriftFieldId() {
-
 
33528
        return _thriftId;
-
 
33529
      }
-
 
33530
 
-
 
33531
      public String getFieldName() {
-
 
33532
        return _fieldName;
-
 
33533
      }
-
 
33534
    }
-
 
33535
 
-
 
33536
    // isset id assignments
-
 
33537
 
-
 
33538
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
33539
    static {
-
 
33540
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
33541
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
33542
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
33543
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
33544
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
33545
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIgnoredInventoryUpdateItemids_result.class, metaDataMap);
-
 
33546
    }
-
 
33547
 
-
 
33548
    public getIgnoredInventoryUpdateItemids_result() {
-
 
33549
    }
-
 
33550
 
-
 
33551
    public getIgnoredInventoryUpdateItemids_result(
-
 
33552
      List<Long> success)
-
 
33553
    {
-
 
33554
      this();
-
 
33555
      this.success = success;
-
 
33556
    }
-
 
33557
 
-
 
33558
    /**
-
 
33559
     * Performs a deep copy on <i>other</i>.
-
 
33560
     */
-
 
33561
    public getIgnoredInventoryUpdateItemids_result(getIgnoredInventoryUpdateItemids_result other) {
-
 
33562
      if (other.isSetSuccess()) {
-
 
33563
        List<Long> __this__success = new ArrayList<Long>();
-
 
33564
        for (Long other_element : other.success) {
-
 
33565
          __this__success.add(other_element);
-
 
33566
        }
-
 
33567
        this.success = __this__success;
-
 
33568
      }
-
 
33569
    }
-
 
33570
 
-
 
33571
    public getIgnoredInventoryUpdateItemids_result deepCopy() {
-
 
33572
      return new getIgnoredInventoryUpdateItemids_result(this);
-
 
33573
    }
-
 
33574
 
-
 
33575
    @Override
-
 
33576
    public void clear() {
-
 
33577
      this.success = null;
-
 
33578
    }
-
 
33579
 
-
 
33580
    public int getSuccessSize() {
-
 
33581
      return (this.success == null) ? 0 : this.success.size();
-
 
33582
    }
-
 
33583
 
-
 
33584
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
33585
      return (this.success == null) ? null : this.success.iterator();
-
 
33586
    }
-
 
33587
 
-
 
33588
    public void addToSuccess(long elem) {
-
 
33589
      if (this.success == null) {
-
 
33590
        this.success = new ArrayList<Long>();
-
 
33591
      }
-
 
33592
      this.success.add(elem);
-
 
33593
    }
-
 
33594
 
-
 
33595
    public List<Long> getSuccess() {
-
 
33596
      return this.success;
-
 
33597
    }
-
 
33598
 
-
 
33599
    public void setSuccess(List<Long> success) {
-
 
33600
      this.success = success;
-
 
33601
    }
-
 
33602
 
-
 
33603
    public void unsetSuccess() {
-
 
33604
      this.success = null;
-
 
33605
    }
-
 
33606
 
-
 
33607
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
33608
    public boolean isSetSuccess() {
-
 
33609
      return this.success != null;
-
 
33610
    }
-
 
33611
 
-
 
33612
    public void setSuccessIsSet(boolean value) {
-
 
33613
      if (!value) {
-
 
33614
        this.success = null;
-
 
33615
      }
-
 
33616
    }
-
 
33617
 
-
 
33618
    public void setFieldValue(_Fields field, Object value) {
-
 
33619
      switch (field) {
-
 
33620
      case SUCCESS:
-
 
33621
        if (value == null) {
-
 
33622
          unsetSuccess();
-
 
33623
        } else {
-
 
33624
          setSuccess((List<Long>)value);
-
 
33625
        }
-
 
33626
        break;
-
 
33627
 
-
 
33628
      }
-
 
33629
    }
-
 
33630
 
-
 
33631
    public Object getFieldValue(_Fields field) {
-
 
33632
      switch (field) {
-
 
33633
      case SUCCESS:
-
 
33634
        return getSuccess();
-
 
33635
 
-
 
33636
      }
-
 
33637
      throw new IllegalStateException();
-
 
33638
    }
-
 
33639
 
-
 
33640
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
33641
    public boolean isSet(_Fields field) {
-
 
33642
      if (field == null) {
-
 
33643
        throw new IllegalArgumentException();
-
 
33644
      }
-
 
33645
 
-
 
33646
      switch (field) {
-
 
33647
      case SUCCESS:
-
 
33648
        return isSetSuccess();
-
 
33649
      }
-
 
33650
      throw new IllegalStateException();
-
 
33651
    }
-
 
33652
 
-
 
33653
    @Override
-
 
33654
    public boolean equals(Object that) {
-
 
33655
      if (that == null)
-
 
33656
        return false;
-
 
33657
      if (that instanceof getIgnoredInventoryUpdateItemids_result)
-
 
33658
        return this.equals((getIgnoredInventoryUpdateItemids_result)that);
-
 
33659
      return false;
-
 
33660
    }
-
 
33661
 
-
 
33662
    public boolean equals(getIgnoredInventoryUpdateItemids_result that) {
-
 
33663
      if (that == null)
-
 
33664
        return false;
-
 
33665
 
-
 
33666
      boolean this_present_success = true && this.isSetSuccess();
-
 
33667
      boolean that_present_success = true && that.isSetSuccess();
-
 
33668
      if (this_present_success || that_present_success) {
-
 
33669
        if (!(this_present_success && that_present_success))
-
 
33670
          return false;
-
 
33671
        if (!this.success.equals(that.success))
-
 
33672
          return false;
-
 
33673
      }
-
 
33674
 
-
 
33675
      return true;
-
 
33676
    }
-
 
33677
 
-
 
33678
    @Override
-
 
33679
    public int hashCode() {
-
 
33680
      return 0;
-
 
33681
    }
-
 
33682
 
-
 
33683
    public int compareTo(getIgnoredInventoryUpdateItemids_result other) {
-
 
33684
      if (!getClass().equals(other.getClass())) {
-
 
33685
        return getClass().getName().compareTo(other.getClass().getName());
-
 
33686
      }
-
 
33687
 
-
 
33688
      int lastComparison = 0;
-
 
33689
      getIgnoredInventoryUpdateItemids_result typedOther = (getIgnoredInventoryUpdateItemids_result)other;
-
 
33690
 
-
 
33691
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
33692
      if (lastComparison != 0) {
-
 
33693
        return lastComparison;
-
 
33694
      }
-
 
33695
      if (isSetSuccess()) {
-
 
33696
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
33697
        if (lastComparison != 0) {
-
 
33698
          return lastComparison;
-
 
33699
        }
-
 
33700
      }
-
 
33701
      return 0;
-
 
33702
    }
-
 
33703
 
-
 
33704
    public _Fields fieldForId(int fieldId) {
-
 
33705
      return _Fields.findByThriftId(fieldId);
-
 
33706
    }
-
 
33707
 
-
 
33708
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
33709
      org.apache.thrift.protocol.TField field;
-
 
33710
      iprot.readStructBegin();
-
 
33711
      while (true)
-
 
33712
      {
-
 
33713
        field = iprot.readFieldBegin();
-
 
33714
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
33715
          break;
-
 
33716
        }
-
 
33717
        switch (field.id) {
-
 
33718
          case 0: // SUCCESS
-
 
33719
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
33720
              {
-
 
33721
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
-
 
33722
                this.success = new ArrayList<Long>(_list100.size);
-
 
33723
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
-
 
33724
                {
-
 
33725
                  long _elem102; // required
-
 
33726
                  _elem102 = iprot.readI64();
-
 
33727
                  this.success.add(_elem102);
-
 
33728
                }
-
 
33729
                iprot.readListEnd();
-
 
33730
              }
-
 
33731
            } else { 
-
 
33732
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33733
            }
-
 
33734
            break;
-
 
33735
          default:
-
 
33736
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33737
        }
-
 
33738
        iprot.readFieldEnd();
-
 
33739
      }
-
 
33740
      iprot.readStructEnd();
-
 
33741
      validate();
-
 
33742
    }
-
 
33743
 
-
 
33744
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
33745
      oprot.writeStructBegin(STRUCT_DESC);
-
 
33746
 
-
 
33747
      if (this.isSetSuccess()) {
-
 
33748
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
33749
        {
-
 
33750
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
33751
          for (long _iter103 : this.success)
-
 
33752
          {
-
 
33753
            oprot.writeI64(_iter103);
-
 
33754
          }
-
 
33755
          oprot.writeListEnd();
-
 
33756
        }
-
 
33757
        oprot.writeFieldEnd();
-
 
33758
      }
-
 
33759
      oprot.writeFieldStop();
-
 
33760
      oprot.writeStructEnd();
-
 
33761
    }
-
 
33762
 
-
 
33763
    @Override
-
 
33764
    public String toString() {
-
 
33765
      StringBuilder sb = new StringBuilder("getIgnoredInventoryUpdateItemids_result(");
-
 
33766
      boolean first = true;
-
 
33767
 
-
 
33768
      sb.append("success:");
-
 
33769
      if (this.success == null) {
-
 
33770
        sb.append("null");
29572
      } else {
33771
      } else {
29573
        sb.append(this.success);
33772
        sb.append(this.success);
29574
      }
33773
      }
29575
      first = false;
33774
      first = false;
29576
      sb.append(")");
33775
      sb.append(")");