Subversion Repositories SmartDukaan

Rev

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

Rev 9482 Rev 9495
Line 349... Line 349...
349
 
349
 
350
    public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem) throws org.apache.thrift.TException;
350
    public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem) throws org.apache.thrift.TException;
351
 
351
 
352
    public double getNlcForWarehouse(long warehouse_id, long item_id) throws org.apache.thrift.TException;
352
    public double getNlcForWarehouse(long warehouse_id, long item_id) throws org.apache.thrift.TException;
353
 
353
 
354
    public long getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException;
-
 
355
 
-
 
356
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot) throws org.apache.thrift.TException;
354
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot) throws org.apache.thrift.TException;
357
 
355
 
-
 
356
    public void addOrUpdateAllSnapdealInventory(List<SnapdealInventoryItem> allsnapdealinventorysnapshot) throws org.apache.thrift.TException;
-
 
357
 
-
 
358
    public List<SnapdealInventoryItem> getSnapdealInventorySnapshot() throws org.apache.thrift.TException;
-
 
359
 
358
  }
360
  }
359
 
361
 
360
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
362
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
361
 
363
 
362
    public void addWarehouse(Warehouse warehouse, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addWarehouse_call> resultHandler) throws org.apache.thrift.TException;
364
    public void addWarehouse(Warehouse warehouse, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addWarehouse_call> resultHandler) throws org.apache.thrift.TException;
Line 487... Line 489...
487
 
489
 
488
    public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateSnapdealInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
490
    public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateSnapdealInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
489
 
491
 
490
    public void getNlcForWarehouse(long warehouse_id, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNlcForWarehouse_call> resultHandler) throws org.apache.thrift.TException;
492
    public void getNlcForWarehouse(long warehouse_id, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNlcForWarehouse_call> resultHandler) throws org.apache.thrift.TException;
491
 
493
 
492
    public void getLastUpdatedTimeForSnapdealInventory(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLastUpdatedTimeForSnapdealInventory_call> resultHandler) throws org.apache.thrift.TException;
-
 
493
 
-
 
494
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAllAmazonFbaInventory_call> resultHandler) throws org.apache.thrift.TException;
494
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAllAmazonFbaInventory_call> resultHandler) throws org.apache.thrift.TException;
495
 
495
 
-
 
496
    public void addOrUpdateAllSnapdealInventory(List<SnapdealInventoryItem> allsnapdealinventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAllSnapdealInventory_call> resultHandler) throws org.apache.thrift.TException;
-
 
497
 
-
 
498
    public void getSnapdealInventorySnapshot(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
-
 
499
 
496
  }
500
  }
497
 
501
 
498
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
502
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
499
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
503
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
500
      public Factory() {}
504
      public Factory() {}
Line 2064... Line 2068...
2064
        return result.success;
2068
        return result.success;
2065
      }
2069
      }
2066
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getNlcForWarehouse failed: unknown result");
2070
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getNlcForWarehouse failed: unknown result");
2067
    }
2071
    }
2068
 
2072
 
2069
    public long getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException
-
 
2070
    {
-
 
2071
      send_getLastUpdatedTimeForSnapdealInventory();
-
 
2072
      return recv_getLastUpdatedTimeForSnapdealInventory();
-
 
2073
    }
-
 
2074
 
-
 
2075
    public void send_getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException
-
 
2076
    {
-
 
2077
      getLastUpdatedTimeForSnapdealInventory_args args = new getLastUpdatedTimeForSnapdealInventory_args();
-
 
2078
      sendBase("getLastUpdatedTimeForSnapdealInventory", args);
-
 
2079
    }
-
 
2080
 
-
 
2081
    public long recv_getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException
-
 
2082
    {
-
 
2083
      getLastUpdatedTimeForSnapdealInventory_result result = new getLastUpdatedTimeForSnapdealInventory_result();
-
 
2084
      receiveBase(result, "getLastUpdatedTimeForSnapdealInventory");
-
 
2085
      if (result.isSetSuccess()) {
-
 
2086
        return result.success;
-
 
2087
      }
-
 
2088
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLastUpdatedTimeForSnapdealInventory failed: unknown result");
-
 
2089
    }
-
 
2090
 
-
 
2091
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot) throws org.apache.thrift.TException
2073
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot) throws org.apache.thrift.TException
2092
    {
2074
    {
2093
      send_addOrUpdateAllAmazonFbaInventory(allamazonfbainventorysnapshot);
2075
      send_addOrUpdateAllAmazonFbaInventory(allamazonfbainventorysnapshot);
2094
      recv_addOrUpdateAllAmazonFbaInventory();
2076
      recv_addOrUpdateAllAmazonFbaInventory();
2095
    }
2077
    }
Line 2106... Line 2088...
2106
      addOrUpdateAllAmazonFbaInventory_result result = new addOrUpdateAllAmazonFbaInventory_result();
2088
      addOrUpdateAllAmazonFbaInventory_result result = new addOrUpdateAllAmazonFbaInventory_result();
2107
      receiveBase(result, "addOrUpdateAllAmazonFbaInventory");
2089
      receiveBase(result, "addOrUpdateAllAmazonFbaInventory");
2108
      return;
2090
      return;
2109
    }
2091
    }
2110
 
2092
 
-
 
2093
    public void addOrUpdateAllSnapdealInventory(List<SnapdealInventoryItem> allsnapdealinventorysnapshot) throws org.apache.thrift.TException
-
 
2094
    {
-
 
2095
      send_addOrUpdateAllSnapdealInventory(allsnapdealinventorysnapshot);
-
 
2096
      recv_addOrUpdateAllSnapdealInventory();
-
 
2097
    }
-
 
2098
 
-
 
2099
    public void send_addOrUpdateAllSnapdealInventory(List<SnapdealInventoryItem> allsnapdealinventorysnapshot) throws org.apache.thrift.TException
-
 
2100
    {
-
 
2101
      addOrUpdateAllSnapdealInventory_args args = new addOrUpdateAllSnapdealInventory_args();
-
 
2102
      args.setAllsnapdealinventorysnapshot(allsnapdealinventorysnapshot);
-
 
2103
      sendBase("addOrUpdateAllSnapdealInventory", args);
-
 
2104
    }
-
 
2105
 
-
 
2106
    public void recv_addOrUpdateAllSnapdealInventory() throws org.apache.thrift.TException
-
 
2107
    {
-
 
2108
      addOrUpdateAllSnapdealInventory_result result = new addOrUpdateAllSnapdealInventory_result();
-
 
2109
      receiveBase(result, "addOrUpdateAllSnapdealInventory");
-
 
2110
      return;
-
 
2111
    }
-
 
2112
 
-
 
2113
    public List<SnapdealInventoryItem> getSnapdealInventorySnapshot() throws org.apache.thrift.TException
-
 
2114
    {
-
 
2115
      send_getSnapdealInventorySnapshot();
-
 
2116
      return recv_getSnapdealInventorySnapshot();
-
 
2117
    }
-
 
2118
 
-
 
2119
    public void send_getSnapdealInventorySnapshot() throws org.apache.thrift.TException
-
 
2120
    {
-
 
2121
      getSnapdealInventorySnapshot_args args = new getSnapdealInventorySnapshot_args();
-
 
2122
      sendBase("getSnapdealInventorySnapshot", args);
-
 
2123
    }
-
 
2124
 
-
 
2125
    public List<SnapdealInventoryItem> recv_getSnapdealInventorySnapshot() throws org.apache.thrift.TException
-
 
2126
    {
-
 
2127
      getSnapdealInventorySnapshot_result result = new getSnapdealInventorySnapshot_result();
-
 
2128
      receiveBase(result, "getSnapdealInventorySnapshot");
-
 
2129
      if (result.isSetSuccess()) {
-
 
2130
        return result.success;
-
 
2131
      }
-
 
2132
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSnapdealInventorySnapshot failed: unknown result");
-
 
2133
    }
-
 
2134
 
2111
  }
2135
  }
2112
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2136
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2113
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2137
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2114
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2138
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2115
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2139
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 4336... Line 4360...
4336
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4360
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4337
        return (new Client(prot)).recv_getNlcForWarehouse();
4361
        return (new Client(prot)).recv_getNlcForWarehouse();
4338
      }
4362
      }
4339
    }
4363
    }
4340
 
4364
 
4341
    public void getLastUpdatedTimeForSnapdealInventory(org.apache.thrift.async.AsyncMethodCallback<getLastUpdatedTimeForSnapdealInventory_call> resultHandler) throws org.apache.thrift.TException {
4365
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAllAmazonFbaInventory_call> resultHandler) throws org.apache.thrift.TException {
4342
      checkReady();
4366
      checkReady();
4343
      getLastUpdatedTimeForSnapdealInventory_call method_call = new getLastUpdatedTimeForSnapdealInventory_call(resultHandler, this, ___protocolFactory, ___transport);
4367
      addOrUpdateAllAmazonFbaInventory_call method_call = new addOrUpdateAllAmazonFbaInventory_call(allamazonfbainventorysnapshot, resultHandler, this, ___protocolFactory, ___transport);
4344
      this.___currentMethod = method_call;
4368
      this.___currentMethod = method_call;
4345
      ___manager.call(method_call);
4369
      ___manager.call(method_call);
4346
    }
4370
    }
4347
 
4371
 
4348
    public static class getLastUpdatedTimeForSnapdealInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
4372
    public static class addOrUpdateAllAmazonFbaInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4373
      private List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot;
4349
      public getLastUpdatedTimeForSnapdealInventory_call(org.apache.thrift.async.AsyncMethodCallback<getLastUpdatedTimeForSnapdealInventory_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 {
4374
      public addOrUpdateAllAmazonFbaInventory_call(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAllAmazonFbaInventory_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 {
4350
        super(client, protocolFactory, transport, resultHandler, false);
4375
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4376
        this.allamazonfbainventorysnapshot = allamazonfbainventorysnapshot;
4351
      }
4377
      }
4352
 
4378
 
4353
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4379
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4354
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLastUpdatedTimeForSnapdealInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
4380
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateAllAmazonFbaInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
4355
        getLastUpdatedTimeForSnapdealInventory_args args = new getLastUpdatedTimeForSnapdealInventory_args();
4381
        addOrUpdateAllAmazonFbaInventory_args args = new addOrUpdateAllAmazonFbaInventory_args();
-
 
4382
        args.setAllamazonfbainventorysnapshot(allamazonfbainventorysnapshot);
4356
        args.write(prot);
4383
        args.write(prot);
4357
        prot.writeMessageEnd();
4384
        prot.writeMessageEnd();
4358
      }
4385
      }
4359
 
4386
 
4360
      public long getResult() throws org.apache.thrift.TException {
4387
      public void getResult() throws org.apache.thrift.TException {
4361
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4388
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4362
          throw new IllegalStateException("Method call not finished!");
4389
          throw new IllegalStateException("Method call not finished!");
4363
        }
4390
        }
4364
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4391
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4365
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4392
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4366
        return (new Client(prot)).recv_getLastUpdatedTimeForSnapdealInventory();
4393
        (new Client(prot)).recv_addOrUpdateAllAmazonFbaInventory();
4367
      }
4394
      }
4368
    }
4395
    }
4369
 
4396
 
4370
    public void addOrUpdateAllAmazonFbaInventory(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAllAmazonFbaInventory_call> resultHandler) throws org.apache.thrift.TException {
4397
    public void addOrUpdateAllSnapdealInventory(List<SnapdealInventoryItem> allsnapdealinventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAllSnapdealInventory_call> resultHandler) throws org.apache.thrift.TException {
4371
      checkReady();
4398
      checkReady();
4372
      addOrUpdateAllAmazonFbaInventory_call method_call = new addOrUpdateAllAmazonFbaInventory_call(allamazonfbainventorysnapshot, resultHandler, this, ___protocolFactory, ___transport);
4399
      addOrUpdateAllSnapdealInventory_call method_call = new addOrUpdateAllSnapdealInventory_call(allsnapdealinventorysnapshot, resultHandler, this, ___protocolFactory, ___transport);
4373
      this.___currentMethod = method_call;
4400
      this.___currentMethod = method_call;
4374
      ___manager.call(method_call);
4401
      ___manager.call(method_call);
4375
    }
4402
    }
4376
 
4403
 
4377
    public static class addOrUpdateAllAmazonFbaInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
4404
    public static class addOrUpdateAllSnapdealInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
4378
      private List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot;
4405
      private List<SnapdealInventoryItem> allsnapdealinventorysnapshot;
4379
      public addOrUpdateAllAmazonFbaInventory_call(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAllAmazonFbaInventory_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 {
4406
      public addOrUpdateAllSnapdealInventory_call(List<SnapdealInventoryItem> allsnapdealinventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAllSnapdealInventory_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 {
4380
        super(client, protocolFactory, transport, resultHandler, false);
4407
        super(client, protocolFactory, transport, resultHandler, false);
4381
        this.allamazonfbainventorysnapshot = allamazonfbainventorysnapshot;
4408
        this.allsnapdealinventorysnapshot = allsnapdealinventorysnapshot;
4382
      }
4409
      }
4383
 
4410
 
4384
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4411
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4385
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateAllAmazonFbaInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
4412
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateAllSnapdealInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
4386
        addOrUpdateAllAmazonFbaInventory_args args = new addOrUpdateAllAmazonFbaInventory_args();
4413
        addOrUpdateAllSnapdealInventory_args args = new addOrUpdateAllSnapdealInventory_args();
4387
        args.setAllamazonfbainventorysnapshot(allamazonfbainventorysnapshot);
4414
        args.setAllsnapdealinventorysnapshot(allsnapdealinventorysnapshot);
4388
        args.write(prot);
4415
        args.write(prot);
4389
        prot.writeMessageEnd();
4416
        prot.writeMessageEnd();
4390
      }
4417
      }
4391
 
4418
 
4392
      public void getResult() throws org.apache.thrift.TException {
4419
      public void getResult() throws org.apache.thrift.TException {
4393
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4420
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4394
          throw new IllegalStateException("Method call not finished!");
4421
          throw new IllegalStateException("Method call not finished!");
4395
        }
4422
        }
4396
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4423
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4397
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4424
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4425
        (new Client(prot)).recv_addOrUpdateAllSnapdealInventory();
-
 
4426
      }
-
 
4427
    }
-
 
4428
 
-
 
4429
    public void getSnapdealInventorySnapshot(org.apache.thrift.async.AsyncMethodCallback<getSnapdealInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException {
-
 
4430
      checkReady();
-
 
4431
      getSnapdealInventorySnapshot_call method_call = new getSnapdealInventorySnapshot_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
4432
      this.___currentMethod = method_call;
-
 
4433
      ___manager.call(method_call);
-
 
4434
    }
-
 
4435
 
-
 
4436
    public static class getSnapdealInventorySnapshot_call extends org.apache.thrift.async.TAsyncMethodCall {
4398
        (new Client(prot)).recv_addOrUpdateAllAmazonFbaInventory();
4437
      public getSnapdealInventorySnapshot_call(org.apache.thrift.async.AsyncMethodCallback<getSnapdealInventorySnapshot_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 {
-
 
4438
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4439
      }
-
 
4440
 
-
 
4441
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4442
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSnapdealInventorySnapshot", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4443
        getSnapdealInventorySnapshot_args args = new getSnapdealInventorySnapshot_args();
-
 
4444
        args.write(prot);
-
 
4445
        prot.writeMessageEnd();
-
 
4446
      }
-
 
4447
 
-
 
4448
      public List<SnapdealInventoryItem> getResult() throws org.apache.thrift.TException {
-
 
4449
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4450
          throw new IllegalStateException("Method call not finished!");
-
 
4451
        }
-
 
4452
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4453
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4454
        return (new Client(prot)).recv_getSnapdealInventorySnapshot();
4399
      }
4455
      }
4400
    }
4456
    }
4401
 
4457
 
4402
  }
4458
  }
4403
 
4459
 
Line 4475... Line 4531...
4475
      processMap.put("getOursGoodWarehouseIdsForLocation", new getOursGoodWarehouseIdsForLocation());
4531
      processMap.put("getOursGoodWarehouseIdsForLocation", new getOursGoodWarehouseIdsForLocation());
4476
      processMap.put("getHoldInventoryDetailForItemForWarehouseIdExceptSource", new getHoldInventoryDetailForItemForWarehouseIdExceptSource());
4532
      processMap.put("getHoldInventoryDetailForItemForWarehouseIdExceptSource", new getHoldInventoryDetailForItemForWarehouseIdExceptSource());
4477
      processMap.put("getSnapdealInventoryForItem", new getSnapdealInventoryForItem());
4533
      processMap.put("getSnapdealInventoryForItem", new getSnapdealInventoryForItem());
4478
      processMap.put("addOrUpdateSnapdealInventoryForItem", new addOrUpdateSnapdealInventoryForItem());
4534
      processMap.put("addOrUpdateSnapdealInventoryForItem", new addOrUpdateSnapdealInventoryForItem());
4479
      processMap.put("getNlcForWarehouse", new getNlcForWarehouse());
4535
      processMap.put("getNlcForWarehouse", new getNlcForWarehouse());
4480
      processMap.put("getLastUpdatedTimeForSnapdealInventory", new getLastUpdatedTimeForSnapdealInventory());
-
 
4481
      processMap.put("addOrUpdateAllAmazonFbaInventory", new addOrUpdateAllAmazonFbaInventory());
4536
      processMap.put("addOrUpdateAllAmazonFbaInventory", new addOrUpdateAllAmazonFbaInventory());
-
 
4537
      processMap.put("addOrUpdateAllSnapdealInventory", new addOrUpdateAllSnapdealInventory());
-
 
4538
      processMap.put("getSnapdealInventorySnapshot", new getSnapdealInventorySnapshot());
4482
      return processMap;
4539
      return processMap;
4483
    }
4540
    }
4484
 
4541
 
4485
    private static class addWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addWarehouse_args> {
4542
    private static class addWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addWarehouse_args> {
4486
      public addWarehouse() {
4543
      public addWarehouse() {
Line 5626... Line 5683...
5626
        result.setSuccessIsSet(true);
5683
        result.setSuccessIsSet(true);
5627
        return result;
5684
        return result;
5628
      }
5685
      }
5629
    }
5686
    }
5630
 
5687
 
5631
    private static class getLastUpdatedTimeForSnapdealInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLastUpdatedTimeForSnapdealInventory_args> {
-
 
5632
      public getLastUpdatedTimeForSnapdealInventory() {
-
 
5633
        super("getLastUpdatedTimeForSnapdealInventory");
-
 
5634
      }
-
 
5635
 
-
 
5636
      protected getLastUpdatedTimeForSnapdealInventory_args getEmptyArgsInstance() {
-
 
5637
        return new getLastUpdatedTimeForSnapdealInventory_args();
-
 
5638
      }
-
 
5639
 
-
 
5640
      protected getLastUpdatedTimeForSnapdealInventory_result getResult(I iface, getLastUpdatedTimeForSnapdealInventory_args args) throws org.apache.thrift.TException {
-
 
5641
        getLastUpdatedTimeForSnapdealInventory_result result = new getLastUpdatedTimeForSnapdealInventory_result();
-
 
5642
        result.success = iface.getLastUpdatedTimeForSnapdealInventory();
-
 
5643
        result.setSuccessIsSet(true);
-
 
5644
        return result;
-
 
5645
      }
-
 
5646
    }
-
 
5647
 
-
 
5648
    private static class addOrUpdateAllAmazonFbaInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addOrUpdateAllAmazonFbaInventory_args> {
5688
    private static class addOrUpdateAllAmazonFbaInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addOrUpdateAllAmazonFbaInventory_args> {
5649
      public addOrUpdateAllAmazonFbaInventory() {
5689
      public addOrUpdateAllAmazonFbaInventory() {
5650
        super("addOrUpdateAllAmazonFbaInventory");
5690
        super("addOrUpdateAllAmazonFbaInventory");
5651
      }
5691
      }
5652
 
5692
 
Line 5659... Line 5699...
5659
        iface.addOrUpdateAllAmazonFbaInventory(args.allamazonfbainventorysnapshot);
5699
        iface.addOrUpdateAllAmazonFbaInventory(args.allamazonfbainventorysnapshot);
5660
        return result;
5700
        return result;
5661
      }
5701
      }
5662
    }
5702
    }
5663
 
5703
 
-
 
5704
    private static class addOrUpdateAllSnapdealInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addOrUpdateAllSnapdealInventory_args> {
-
 
5705
      public addOrUpdateAllSnapdealInventory() {
-
 
5706
        super("addOrUpdateAllSnapdealInventory");
-
 
5707
      }
-
 
5708
 
-
 
5709
      protected addOrUpdateAllSnapdealInventory_args getEmptyArgsInstance() {
-
 
5710
        return new addOrUpdateAllSnapdealInventory_args();
-
 
5711
      }
-
 
5712
 
-
 
5713
      protected addOrUpdateAllSnapdealInventory_result getResult(I iface, addOrUpdateAllSnapdealInventory_args args) throws org.apache.thrift.TException {
-
 
5714
        addOrUpdateAllSnapdealInventory_result result = new addOrUpdateAllSnapdealInventory_result();
-
 
5715
        iface.addOrUpdateAllSnapdealInventory(args.allsnapdealinventorysnapshot);
-
 
5716
        return result;
-
 
5717
      }
-
 
5718
    }
-
 
5719
 
-
 
5720
    private static class getSnapdealInventorySnapshot<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSnapdealInventorySnapshot_args> {
-
 
5721
      public getSnapdealInventorySnapshot() {
-
 
5722
        super("getSnapdealInventorySnapshot");
-
 
5723
      }
-
 
5724
 
-
 
5725
      protected getSnapdealInventorySnapshot_args getEmptyArgsInstance() {
-
 
5726
        return new getSnapdealInventorySnapshot_args();
-
 
5727
      }
-
 
5728
 
-
 
5729
      protected getSnapdealInventorySnapshot_result getResult(I iface, getSnapdealInventorySnapshot_args args) throws org.apache.thrift.TException {
-
 
5730
        getSnapdealInventorySnapshot_result result = new getSnapdealInventorySnapshot_result();
-
 
5731
        result.success = iface.getSnapdealInventorySnapshot();
-
 
5732
        return result;
-
 
5733
      }
-
 
5734
    }
-
 
5735
 
5664
  }
5736
  }
5665
 
5737
 
5666
  public static class addWarehouse_args implements org.apache.thrift.TBase<addWarehouse_args, addWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
5738
  public static class addWarehouse_args implements org.apache.thrift.TBase<addWarehouse_args, addWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
5667
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addWarehouse_args");
5739
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addWarehouse_args");
5668
 
5740
 
Line 48849... Line 48921...
48849
      }
48921
      }
48850
    }
48922
    }
48851
 
48923
 
48852
  }
48924
  }
48853
 
48925
 
48854
  public static class getLastUpdatedTimeForSnapdealInventory_args implements org.apache.thrift.TBase<getLastUpdatedTimeForSnapdealInventory_args, getLastUpdatedTimeForSnapdealInventory_args._Fields>, java.io.Serializable, Cloneable   {
48926
  public static class addOrUpdateAllAmazonFbaInventory_args implements org.apache.thrift.TBase<addOrUpdateAllAmazonFbaInventory_args, addOrUpdateAllAmazonFbaInventory_args._Fields>, java.io.Serializable, Cloneable   {
48855
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLastUpdatedTimeForSnapdealInventory_args");
48927
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAllAmazonFbaInventory_args");
48856
 
48928
 
-
 
48929
    private static final org.apache.thrift.protocol.TField ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("allamazonfbainventorysnapshot", org.apache.thrift.protocol.TType.LIST, (short)-1);
48857
 
48930
 
-
 
48931
    private List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot; // required
48858
 
48932
 
48859
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
48933
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
48860
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
48934
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
48861
;
-
 
-
 
48935
      ALLAMAZONFBAINVENTORYSNAPSHOT((short)-1, "allamazonfbainventorysnapshot");
48862
 
48936
 
48863
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
48937
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
48864
 
48938
 
48865
      static {
48939
      static {
48866
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
48940
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 48871... Line 48945...
48871
      /**
48945
      /**
48872
       * Find the _Fields constant that matches fieldId, or null if its not found.
48946
       * Find the _Fields constant that matches fieldId, or null if its not found.
48873
       */
48947
       */
48874
      public static _Fields findByThriftId(int fieldId) {
48948
      public static _Fields findByThriftId(int fieldId) {
48875
        switch(fieldId) {
48949
        switch(fieldId) {
-
 
48950
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
-
 
48951
            return ALLAMAZONFBAINVENTORYSNAPSHOT;
48876
          default:
48952
          default:
48877
            return null;
48953
            return null;
48878
        }
48954
        }
48879
      }
48955
      }
48880
 
48956
 
Line 48909... Line 48985...
48909
 
48985
 
48910
      public String getFieldName() {
48986
      public String getFieldName() {
48911
        return _fieldName;
48987
        return _fieldName;
48912
      }
48988
      }
48913
    }
48989
    }
-
 
48990
 
-
 
48991
    // isset id assignments
-
 
48992
 
48914
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
48993
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
48915
    static {
48994
    static {
48916
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
48995
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
48996
      tmpMap.put(_Fields.ALLAMAZONFBAINVENTORYSNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("allamazonfbainventorysnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
48997
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
48998
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonFbaInventorySnapshot.class))));
48917
      metaDataMap = Collections.unmodifiableMap(tmpMap);
48999
      metaDataMap = Collections.unmodifiableMap(tmpMap);
48918
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLastUpdatedTimeForSnapdealInventory_args.class, metaDataMap);
49000
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAllAmazonFbaInventory_args.class, metaDataMap);
48919
    }
49001
    }
48920
 
49002
 
48921
    public getLastUpdatedTimeForSnapdealInventory_args() {
49003
    public addOrUpdateAllAmazonFbaInventory_args() {
-
 
49004
    }
-
 
49005
 
-
 
49006
    public addOrUpdateAllAmazonFbaInventory_args(
-
 
49007
      List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot)
-
 
49008
    {
-
 
49009
      this();
-
 
49010
      this.allamazonfbainventorysnapshot = allamazonfbainventorysnapshot;
48922
    }
49011
    }
48923
 
49012
 
48924
    /**
49013
    /**
48925
     * Performs a deep copy on <i>other</i>.
49014
     * Performs a deep copy on <i>other</i>.
48926
     */
49015
     */
48927
    public getLastUpdatedTimeForSnapdealInventory_args(getLastUpdatedTimeForSnapdealInventory_args other) {
49016
    public addOrUpdateAllAmazonFbaInventory_args(addOrUpdateAllAmazonFbaInventory_args other) {
-
 
49017
      if (other.isSetAllamazonfbainventorysnapshot()) {
-
 
49018
        List<AmazonFbaInventorySnapshot> __this__allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>();
-
 
49019
        for (AmazonFbaInventorySnapshot other_element : other.allamazonfbainventorysnapshot) {
-
 
49020
          __this__allamazonfbainventorysnapshot.add(new AmazonFbaInventorySnapshot(other_element));
-
 
49021
        }
-
 
49022
        this.allamazonfbainventorysnapshot = __this__allamazonfbainventorysnapshot;
-
 
49023
      }
48928
    }
49024
    }
48929
 
49025
 
48930
    public getLastUpdatedTimeForSnapdealInventory_args deepCopy() {
49026
    public addOrUpdateAllAmazonFbaInventory_args deepCopy() {
48931
      return new getLastUpdatedTimeForSnapdealInventory_args(this);
49027
      return new addOrUpdateAllAmazonFbaInventory_args(this);
48932
    }
49028
    }
48933
 
49029
 
48934
    @Override
49030
    @Override
48935
    public void clear() {
49031
    public void clear() {
-
 
49032
      this.allamazonfbainventorysnapshot = null;
-
 
49033
    }
-
 
49034
 
-
 
49035
    public int getAllamazonfbainventorysnapshotSize() {
-
 
49036
      return (this.allamazonfbainventorysnapshot == null) ? 0 : this.allamazonfbainventorysnapshot.size();
-
 
49037
    }
-
 
49038
 
-
 
49039
    public java.util.Iterator<AmazonFbaInventorySnapshot> getAllamazonfbainventorysnapshotIterator() {
-
 
49040
      return (this.allamazonfbainventorysnapshot == null) ? null : this.allamazonfbainventorysnapshot.iterator();
-
 
49041
    }
-
 
49042
 
-
 
49043
    public void addToAllamazonfbainventorysnapshot(AmazonFbaInventorySnapshot elem) {
-
 
49044
      if (this.allamazonfbainventorysnapshot == null) {
-
 
49045
        this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>();
-
 
49046
      }
-
 
49047
      this.allamazonfbainventorysnapshot.add(elem);
-
 
49048
    }
-
 
49049
 
-
 
49050
    public List<AmazonFbaInventorySnapshot> getAllamazonfbainventorysnapshot() {
-
 
49051
      return this.allamazonfbainventorysnapshot;
-
 
49052
    }
-
 
49053
 
-
 
49054
    public void setAllamazonfbainventorysnapshot(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot) {
-
 
49055
      this.allamazonfbainventorysnapshot = allamazonfbainventorysnapshot;
-
 
49056
    }
-
 
49057
 
-
 
49058
    public void unsetAllamazonfbainventorysnapshot() {
-
 
49059
      this.allamazonfbainventorysnapshot = null;
-
 
49060
    }
-
 
49061
 
-
 
49062
    /** Returns true if field allamazonfbainventorysnapshot is set (has been assigned a value) and false otherwise */
-
 
49063
    public boolean isSetAllamazonfbainventorysnapshot() {
-
 
49064
      return this.allamazonfbainventorysnapshot != null;
-
 
49065
    }
-
 
49066
 
-
 
49067
    public void setAllamazonfbainventorysnapshotIsSet(boolean value) {
-
 
49068
      if (!value) {
-
 
49069
        this.allamazonfbainventorysnapshot = null;
-
 
49070
      }
48936
    }
49071
    }
48937
 
49072
 
48938
    public void setFieldValue(_Fields field, Object value) {
49073
    public void setFieldValue(_Fields field, Object value) {
48939
      switch (field) {
49074
      switch (field) {
-
 
49075
      case ALLAMAZONFBAINVENTORYSNAPSHOT:
-
 
49076
        if (value == null) {
-
 
49077
          unsetAllamazonfbainventorysnapshot();
-
 
49078
        } else {
-
 
49079
          setAllamazonfbainventorysnapshot((List<AmazonFbaInventorySnapshot>)value);
-
 
49080
        }
-
 
49081
        break;
-
 
49082
 
48940
      }
49083
      }
48941
    }
49084
    }
48942
 
49085
 
48943
    public Object getFieldValue(_Fields field) {
49086
    public Object getFieldValue(_Fields field) {
48944
      switch (field) {
49087
      switch (field) {
-
 
49088
      case ALLAMAZONFBAINVENTORYSNAPSHOT:
-
 
49089
        return getAllamazonfbainventorysnapshot();
-
 
49090
 
48945
      }
49091
      }
48946
      throw new IllegalStateException();
49092
      throw new IllegalStateException();
48947
    }
49093
    }
48948
 
49094
 
48949
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
49095
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 48951... Line 49097...
48951
      if (field == null) {
49097
      if (field == null) {
48952
        throw new IllegalArgumentException();
49098
        throw new IllegalArgumentException();
48953
      }
49099
      }
48954
 
49100
 
48955
      switch (field) {
49101
      switch (field) {
-
 
49102
      case ALLAMAZONFBAINVENTORYSNAPSHOT:
-
 
49103
        return isSetAllamazonfbainventorysnapshot();
48956
      }
49104
      }
48957
      throw new IllegalStateException();
49105
      throw new IllegalStateException();
48958
    }
49106
    }
48959
 
49107
 
48960
    @Override
49108
    @Override
48961
    public boolean equals(Object that) {
49109
    public boolean equals(Object that) {
48962
      if (that == null)
49110
      if (that == null)
48963
        return false;
49111
        return false;
48964
      if (that instanceof getLastUpdatedTimeForSnapdealInventory_args)
49112
      if (that instanceof addOrUpdateAllAmazonFbaInventory_args)
48965
        return this.equals((getLastUpdatedTimeForSnapdealInventory_args)that);
49113
        return this.equals((addOrUpdateAllAmazonFbaInventory_args)that);
48966
      return false;
49114
      return false;
48967
    }
49115
    }
48968
 
49116
 
48969
    public boolean equals(getLastUpdatedTimeForSnapdealInventory_args that) {
49117
    public boolean equals(addOrUpdateAllAmazonFbaInventory_args that) {
48970
      if (that == null)
49118
      if (that == null)
48971
        return false;
49119
        return false;
48972
 
49120
 
-
 
49121
      boolean this_present_allamazonfbainventorysnapshot = true && this.isSetAllamazonfbainventorysnapshot();
-
 
49122
      boolean that_present_allamazonfbainventorysnapshot = true && that.isSetAllamazonfbainventorysnapshot();
-
 
49123
      if (this_present_allamazonfbainventorysnapshot || that_present_allamazonfbainventorysnapshot) {
-
 
49124
        if (!(this_present_allamazonfbainventorysnapshot && that_present_allamazonfbainventorysnapshot))
-
 
49125
          return false;
-
 
49126
        if (!this.allamazonfbainventorysnapshot.equals(that.allamazonfbainventorysnapshot))
-
 
49127
          return false;
-
 
49128
      }
-
 
49129
 
48973
      return true;
49130
      return true;
48974
    }
49131
    }
48975
 
49132
 
48976
    @Override
49133
    @Override
48977
    public int hashCode() {
49134
    public int hashCode() {
48978
      return 0;
49135
      return 0;
48979
    }
49136
    }
48980
 
49137
 
48981
    public int compareTo(getLastUpdatedTimeForSnapdealInventory_args other) {
49138
    public int compareTo(addOrUpdateAllAmazonFbaInventory_args other) {
48982
      if (!getClass().equals(other.getClass())) {
49139
      if (!getClass().equals(other.getClass())) {
48983
        return getClass().getName().compareTo(other.getClass().getName());
49140
        return getClass().getName().compareTo(other.getClass().getName());
48984
      }
49141
      }
48985
 
49142
 
48986
      int lastComparison = 0;
49143
      int lastComparison = 0;
48987
      getLastUpdatedTimeForSnapdealInventory_args typedOther = (getLastUpdatedTimeForSnapdealInventory_args)other;
49144
      addOrUpdateAllAmazonFbaInventory_args typedOther = (addOrUpdateAllAmazonFbaInventory_args)other;
48988
 
49145
 
-
 
49146
      lastComparison = Boolean.valueOf(isSetAllamazonfbainventorysnapshot()).compareTo(typedOther.isSetAllamazonfbainventorysnapshot());
-
 
49147
      if (lastComparison != 0) {
-
 
49148
        return lastComparison;
-
 
49149
      }
-
 
49150
      if (isSetAllamazonfbainventorysnapshot()) {
-
 
49151
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allamazonfbainventorysnapshot, typedOther.allamazonfbainventorysnapshot);
-
 
49152
        if (lastComparison != 0) {
-
 
49153
          return lastComparison;
-
 
49154
        }
-
 
49155
      }
48989
      return 0;
49156
      return 0;
48990
    }
49157
    }
48991
 
49158
 
48992
    public _Fields fieldForId(int fieldId) {
49159
    public _Fields fieldForId(int fieldId) {
48993
      return _Fields.findByThriftId(fieldId);
49160
      return _Fields.findByThriftId(fieldId);
Line 49001... Line 49168...
49001
        field = iprot.readFieldBegin();
49168
        field = iprot.readFieldBegin();
49002
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
49169
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
49003
          break;
49170
          break;
49004
        }
49171
        }
49005
        switch (field.id) {
49172
        switch (field.id) {
-
 
49173
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
-
 
49174
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
49175
              {
-
 
49176
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
-
 
49177
                this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>(_list138.size);
-
 
49178
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
-
 
49179
                {
-
 
49180
                  AmazonFbaInventorySnapshot _elem140; // required
-
 
49181
                  _elem140 = new AmazonFbaInventorySnapshot();
-
 
49182
                  _elem140.read(iprot);
-
 
49183
                  this.allamazonfbainventorysnapshot.add(_elem140);
-
 
49184
                }
-
 
49185
                iprot.readListEnd();
-
 
49186
              }
-
 
49187
            } else { 
-
 
49188
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49189
            }
-
 
49190
            break;
49006
          default:
49191
          default:
49007
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49192
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49008
        }
49193
        }
49009
        iprot.readFieldEnd();
49194
        iprot.readFieldEnd();
49010
      }
49195
      }
Line 49014... Line 49199...
49014
 
49199
 
49015
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
49200
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
49016
      validate();
49201
      validate();
49017
 
49202
 
49018
      oprot.writeStructBegin(STRUCT_DESC);
49203
      oprot.writeStructBegin(STRUCT_DESC);
-
 
49204
      if (this.allamazonfbainventorysnapshot != null) {
-
 
49205
        oprot.writeFieldBegin(ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC);
-
 
49206
        {
-
 
49207
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allamazonfbainventorysnapshot.size()));
-
 
49208
          for (AmazonFbaInventorySnapshot _iter141 : this.allamazonfbainventorysnapshot)
-
 
49209
          {
-
 
49210
            _iter141.write(oprot);
-
 
49211
          }
-
 
49212
          oprot.writeListEnd();
-
 
49213
        }
-
 
49214
        oprot.writeFieldEnd();
-
 
49215
      }
49019
      oprot.writeFieldStop();
49216
      oprot.writeFieldStop();
49020
      oprot.writeStructEnd();
49217
      oprot.writeStructEnd();
49021
    }
49218
    }
49022
 
49219
 
49023
    @Override
49220
    @Override
49024
    public String toString() {
49221
    public String toString() {
49025
      StringBuilder sb = new StringBuilder("getLastUpdatedTimeForSnapdealInventory_args(");
49222
      StringBuilder sb = new StringBuilder("addOrUpdateAllAmazonFbaInventory_args(");
49026
      boolean first = true;
49223
      boolean first = true;
49027
 
49224
 
-
 
49225
      sb.append("allamazonfbainventorysnapshot:");
-
 
49226
      if (this.allamazonfbainventorysnapshot == null) {
-
 
49227
        sb.append("null");
-
 
49228
      } else {
-
 
49229
        sb.append(this.allamazonfbainventorysnapshot);
-
 
49230
      }
-
 
49231
      first = false;
49028
      sb.append(")");
49232
      sb.append(")");
49029
      return sb.toString();
49233
      return sb.toString();
49030
    }
49234
    }
49031
 
49235
 
49032
    public void validate() throws org.apache.thrift.TException {
49236
    public void validate() throws org.apache.thrift.TException {
Line 49049... Line 49253...
49049
      }
49253
      }
49050
    }
49254
    }
49051
 
49255
 
49052
  }
49256
  }
49053
 
49257
 
49054
  public static class getLastUpdatedTimeForSnapdealInventory_result implements org.apache.thrift.TBase<getLastUpdatedTimeForSnapdealInventory_result, getLastUpdatedTimeForSnapdealInventory_result._Fields>, java.io.Serializable, Cloneable   {
49258
  public static class addOrUpdateAllAmazonFbaInventory_result implements org.apache.thrift.TBase<addOrUpdateAllAmazonFbaInventory_result, addOrUpdateAllAmazonFbaInventory_result._Fields>, java.io.Serializable, Cloneable   {
49055
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLastUpdatedTimeForSnapdealInventory_result");
49259
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAllAmazonFbaInventory_result");
49056
 
49260
 
49057
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
-
 
49058
 
49261
 
49059
    private long success; // required
-
 
49060
 
49262
 
49061
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49263
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49062
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
49264
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
49063
      SUCCESS((short)0, "success");
-
 
-
 
49265
;
49064
 
49266
 
49065
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
49267
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
49066
 
49268
 
49067
      static {
49269
      static {
49068
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
49270
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 49073... Line 49275...
49073
      /**
49275
      /**
49074
       * Find the _Fields constant that matches fieldId, or null if its not found.
49276
       * Find the _Fields constant that matches fieldId, or null if its not found.
49075
       */
49277
       */
49076
      public static _Fields findByThriftId(int fieldId) {
49278
      public static _Fields findByThriftId(int fieldId) {
49077
        switch(fieldId) {
49279
        switch(fieldId) {
49078
          case 0: // SUCCESS
-
 
49079
            return SUCCESS;
-
 
49080
          default:
49280
          default:
49081
            return null;
49281
            return null;
49082
        }
49282
        }
49083
      }
49283
      }
49084
 
49284
 
Line 49113... Line 49313...
49113
 
49313
 
49114
      public String getFieldName() {
49314
      public String getFieldName() {
49115
        return _fieldName;
49315
        return _fieldName;
49116
      }
49316
      }
49117
    }
49317
    }
49118
 
-
 
49119
    // isset id assignments
-
 
49120
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
49121
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
49122
 
-
 
49123
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
49318
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
49124
    static {
49319
    static {
49125
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
49320
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
49126
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
49127
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
49128
      metaDataMap = Collections.unmodifiableMap(tmpMap);
49321
      metaDataMap = Collections.unmodifiableMap(tmpMap);
49129
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLastUpdatedTimeForSnapdealInventory_result.class, metaDataMap);
49322
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAllAmazonFbaInventory_result.class, metaDataMap);
49130
    }
-
 
49131
 
-
 
49132
    public getLastUpdatedTimeForSnapdealInventory_result() {
-
 
49133
    }
49323
    }
49134
 
49324
 
49135
    public getLastUpdatedTimeForSnapdealInventory_result(
49325
    public addOrUpdateAllAmazonFbaInventory_result() {
49136
      long success)
-
 
49137
    {
-
 
49138
      this();
-
 
49139
      this.success = success;
-
 
49140
      setSuccessIsSet(true);
-
 
49141
    }
49326
    }
49142
 
49327
 
49143
    /**
49328
    /**
49144
     * Performs a deep copy on <i>other</i>.
49329
     * Performs a deep copy on <i>other</i>.
49145
     */
49330
     */
49146
    public getLastUpdatedTimeForSnapdealInventory_result(getLastUpdatedTimeForSnapdealInventory_result other) {
49331
    public addOrUpdateAllAmazonFbaInventory_result(addOrUpdateAllAmazonFbaInventory_result other) {
49147
      __isset_bit_vector.clear();
-
 
49148
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
49149
      this.success = other.success;
-
 
49150
    }
49332
    }
49151
 
49333
 
49152
    public getLastUpdatedTimeForSnapdealInventory_result deepCopy() {
49334
    public addOrUpdateAllAmazonFbaInventory_result deepCopy() {
49153
      return new getLastUpdatedTimeForSnapdealInventory_result(this);
49335
      return new addOrUpdateAllAmazonFbaInventory_result(this);
49154
    }
49336
    }
49155
 
49337
 
49156
    @Override
49338
    @Override
49157
    public void clear() {
49339
    public void clear() {
49158
      setSuccessIsSet(false);
-
 
49159
      this.success = 0;
-
 
49160
    }
-
 
49161
 
-
 
49162
    public long getSuccess() {
-
 
49163
      return this.success;
-
 
49164
    }
-
 
49165
 
-
 
49166
    public void setSuccess(long success) {
-
 
49167
      this.success = success;
-
 
49168
      setSuccessIsSet(true);
-
 
49169
    }
-
 
49170
 
-
 
49171
    public void unsetSuccess() {
-
 
49172
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
49173
    }
-
 
49174
 
-
 
49175
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
49176
    public boolean isSetSuccess() {
-
 
49177
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
49178
    }
-
 
49179
 
-
 
49180
    public void setSuccessIsSet(boolean value) {
-
 
49181
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
49182
    }
49340
    }
49183
 
49341
 
49184
    public void setFieldValue(_Fields field, Object value) {
49342
    public void setFieldValue(_Fields field, Object value) {
49185
      switch (field) {
49343
      switch (field) {
49186
      case SUCCESS:
-
 
49187
        if (value == null) {
-
 
49188
          unsetSuccess();
-
 
49189
        } else {
-
 
49190
          setSuccess((Long)value);
-
 
49191
        }
-
 
49192
        break;
-
 
49193
 
-
 
49194
      }
49344
      }
49195
    }
49345
    }
49196
 
49346
 
49197
    public Object getFieldValue(_Fields field) {
49347
    public Object getFieldValue(_Fields field) {
49198
      switch (field) {
49348
      switch (field) {
49199
      case SUCCESS:
-
 
49200
        return Long.valueOf(getSuccess());
-
 
49201
 
-
 
49202
      }
49349
      }
49203
      throw new IllegalStateException();
49350
      throw new IllegalStateException();
49204
    }
49351
    }
49205
 
49352
 
49206
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
49353
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 49208... Line 49355...
49208
      if (field == null) {
49355
      if (field == null) {
49209
        throw new IllegalArgumentException();
49356
        throw new IllegalArgumentException();
49210
      }
49357
      }
49211
 
49358
 
49212
      switch (field) {
49359
      switch (field) {
49213
      case SUCCESS:
-
 
49214
        return isSetSuccess();
-
 
49215
      }
49360
      }
49216
      throw new IllegalStateException();
49361
      throw new IllegalStateException();
49217
    }
49362
    }
49218
 
49363
 
49219
    @Override
49364
    @Override
49220
    public boolean equals(Object that) {
49365
    public boolean equals(Object that) {
49221
      if (that == null)
49366
      if (that == null)
49222
        return false;
49367
        return false;
49223
      if (that instanceof getLastUpdatedTimeForSnapdealInventory_result)
49368
      if (that instanceof addOrUpdateAllAmazonFbaInventory_result)
49224
        return this.equals((getLastUpdatedTimeForSnapdealInventory_result)that);
49369
        return this.equals((addOrUpdateAllAmazonFbaInventory_result)that);
49225
      return false;
49370
      return false;
49226
    }
49371
    }
49227
 
49372
 
49228
    public boolean equals(getLastUpdatedTimeForSnapdealInventory_result that) {
49373
    public boolean equals(addOrUpdateAllAmazonFbaInventory_result that) {
49229
      if (that == null)
49374
      if (that == null)
49230
        return false;
49375
        return false;
49231
 
49376
 
49232
      boolean this_present_success = true;
-
 
49233
      boolean that_present_success = true;
-
 
49234
      if (this_present_success || that_present_success) {
-
 
49235
        if (!(this_present_success && that_present_success))
-
 
49236
          return false;
-
 
49237
        if (this.success != that.success)
-
 
49238
          return false;
-
 
49239
      }
-
 
49240
 
-
 
49241
      return true;
49377
      return true;
49242
    }
49378
    }
49243
 
49379
 
49244
    @Override
49380
    @Override
49245
    public int hashCode() {
49381
    public int hashCode() {
49246
      return 0;
49382
      return 0;
49247
    }
49383
    }
49248
 
49384
 
49249
    public int compareTo(getLastUpdatedTimeForSnapdealInventory_result other) {
49385
    public int compareTo(addOrUpdateAllAmazonFbaInventory_result other) {
49250
      if (!getClass().equals(other.getClass())) {
49386
      if (!getClass().equals(other.getClass())) {
49251
        return getClass().getName().compareTo(other.getClass().getName());
49387
        return getClass().getName().compareTo(other.getClass().getName());
49252
      }
49388
      }
49253
 
49389
 
49254
      int lastComparison = 0;
49390
      int lastComparison = 0;
49255
      getLastUpdatedTimeForSnapdealInventory_result typedOther = (getLastUpdatedTimeForSnapdealInventory_result)other;
49391
      addOrUpdateAllAmazonFbaInventory_result typedOther = (addOrUpdateAllAmazonFbaInventory_result)other;
49256
 
49392
 
49257
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
49258
      if (lastComparison != 0) {
-
 
49259
        return lastComparison;
-
 
49260
      }
-
 
49261
      if (isSetSuccess()) {
-
 
49262
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
49263
        if (lastComparison != 0) {
-
 
49264
          return lastComparison;
-
 
49265
        }
-
 
49266
      }
-
 
49267
      return 0;
49393
      return 0;
49268
    }
49394
    }
49269
 
49395
 
49270
    public _Fields fieldForId(int fieldId) {
49396
    public _Fields fieldForId(int fieldId) {
49271
      return _Fields.findByThriftId(fieldId);
49397
      return _Fields.findByThriftId(fieldId);
Line 49279... Line 49405...
49279
        field = iprot.readFieldBegin();
49405
        field = iprot.readFieldBegin();
49280
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
49406
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
49281
          break;
49407
          break;
49282
        }
49408
        }
49283
        switch (field.id) {
49409
        switch (field.id) {
49284
          case 0: // SUCCESS
-
 
49285
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
49286
              this.success = iprot.readI64();
-
 
49287
              setSuccessIsSet(true);
-
 
49288
            } else { 
-
 
49289
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49290
            }
-
 
49291
            break;
-
 
49292
          default:
49410
          default:
49293
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49411
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49294
        }
49412
        }
49295
        iprot.readFieldEnd();
49413
        iprot.readFieldEnd();
49296
      }
49414
      }
Line 49299... Line 49417...
49299
    }
49417
    }
49300
 
49418
 
49301
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
49419
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
49302
      oprot.writeStructBegin(STRUCT_DESC);
49420
      oprot.writeStructBegin(STRUCT_DESC);
49303
 
49421
 
49304
      if (this.isSetSuccess()) {
-
 
49305
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
49306
        oprot.writeI64(this.success);
-
 
49307
        oprot.writeFieldEnd();
-
 
49308
      }
-
 
49309
      oprot.writeFieldStop();
49422
      oprot.writeFieldStop();
49310
      oprot.writeStructEnd();
49423
      oprot.writeStructEnd();
49311
    }
49424
    }
49312
 
49425
 
49313
    @Override
49426
    @Override
49314
    public String toString() {
49427
    public String toString() {
49315
      StringBuilder sb = new StringBuilder("getLastUpdatedTimeForSnapdealInventory_result(");
49428
      StringBuilder sb = new StringBuilder("addOrUpdateAllAmazonFbaInventory_result(");
49316
      boolean first = true;
49429
      boolean first = true;
49317
 
49430
 
49318
      sb.append("success:");
-
 
49319
      sb.append(this.success);
-
 
49320
      first = false;
-
 
49321
      sb.append(")");
49431
      sb.append(")");
49322
      return sb.toString();
49432
      return sb.toString();
49323
    }
49433
    }
49324
 
49434
 
49325
    public void validate() throws org.apache.thrift.TException {
49435
    public void validate() throws org.apache.thrift.TException {
Line 49342... Line 49452...
49342
      }
49452
      }
49343
    }
49453
    }
49344
 
49454
 
49345
  }
49455
  }
49346
 
49456
 
49347
  public static class addOrUpdateAllAmazonFbaInventory_args implements org.apache.thrift.TBase<addOrUpdateAllAmazonFbaInventory_args, addOrUpdateAllAmazonFbaInventory_args._Fields>, java.io.Serializable, Cloneable   {
49457
  public static class addOrUpdateAllSnapdealInventory_args implements org.apache.thrift.TBase<addOrUpdateAllSnapdealInventory_args, addOrUpdateAllSnapdealInventory_args._Fields>, java.io.Serializable, Cloneable   {
49348
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAllAmazonFbaInventory_args");
49458
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAllSnapdealInventory_args");
49349
 
49459
 
49350
    private static final org.apache.thrift.protocol.TField ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("allamazonfbainventorysnapshot", org.apache.thrift.protocol.TType.LIST, (short)-1);
49460
    private static final org.apache.thrift.protocol.TField ALLSNAPDEALINVENTORYSNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("allsnapdealinventorysnapshot", org.apache.thrift.protocol.TType.LIST, (short)-1);
49351
 
49461
 
49352
    private List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot; // required
49462
    private List<SnapdealInventoryItem> allsnapdealinventorysnapshot; // required
49353
 
49463
 
49354
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49464
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49355
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
49465
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
49356
      ALLAMAZONFBAINVENTORYSNAPSHOT((short)-1, "allamazonfbainventorysnapshot");
49466
      ALLSNAPDEALINVENTORYSNAPSHOT((short)-1, "allsnapdealinventorysnapshot");
49357
 
49467
 
49358
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
49468
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
49359
 
49469
 
49360
      static {
49470
      static {
49361
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
49471
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 49366... Line 49476...
49366
      /**
49476
      /**
49367
       * Find the _Fields constant that matches fieldId, or null if its not found.
49477
       * Find the _Fields constant that matches fieldId, or null if its not found.
49368
       */
49478
       */
49369
      public static _Fields findByThriftId(int fieldId) {
49479
      public static _Fields findByThriftId(int fieldId) {
49370
        switch(fieldId) {
49480
        switch(fieldId) {
49371
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
49481
          case -1: // ALLSNAPDEALINVENTORYSNAPSHOT
49372
            return ALLAMAZONFBAINVENTORYSNAPSHOT;
49482
            return ALLSNAPDEALINVENTORYSNAPSHOT;
49373
          default:
49483
          default:
49374
            return null;
49484
            return null;
49375
        }
49485
        }
49376
      }
49486
      }
49377
 
49487
 
Line 49412... Line 49522...
49412
    // isset id assignments
49522
    // isset id assignments
49413
 
49523
 
49414
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
49524
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
49415
    static {
49525
    static {
49416
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
49526
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
49417
      tmpMap.put(_Fields.ALLAMAZONFBAINVENTORYSNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("allamazonfbainventorysnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT, 
49527
      tmpMap.put(_Fields.ALLSNAPDEALINVENTORYSNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("allsnapdealinventorysnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT, 
49418
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
49528
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
49419
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonFbaInventorySnapshot.class))));
49529
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SnapdealInventoryItem.class))));
49420
      metaDataMap = Collections.unmodifiableMap(tmpMap);
49530
      metaDataMap = Collections.unmodifiableMap(tmpMap);
49421
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAllAmazonFbaInventory_args.class, metaDataMap);
49531
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAllSnapdealInventory_args.class, metaDataMap);
49422
    }
49532
    }
49423
 
49533
 
49424
    public addOrUpdateAllAmazonFbaInventory_args() {
49534
    public addOrUpdateAllSnapdealInventory_args() {
49425
    }
49535
    }
49426
 
49536
 
49427
    public addOrUpdateAllAmazonFbaInventory_args(
49537
    public addOrUpdateAllSnapdealInventory_args(
49428
      List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot)
49538
      List<SnapdealInventoryItem> allsnapdealinventorysnapshot)
49429
    {
49539
    {
49430
      this();
49540
      this();
49431
      this.allamazonfbainventorysnapshot = allamazonfbainventorysnapshot;
49541
      this.allsnapdealinventorysnapshot = allsnapdealinventorysnapshot;
49432
    }
49542
    }
49433
 
49543
 
49434
    /**
49544
    /**
49435
     * Performs a deep copy on <i>other</i>.
49545
     * Performs a deep copy on <i>other</i>.
49436
     */
49546
     */
49437
    public addOrUpdateAllAmazonFbaInventory_args(addOrUpdateAllAmazonFbaInventory_args other) {
49547
    public addOrUpdateAllSnapdealInventory_args(addOrUpdateAllSnapdealInventory_args other) {
49438
      if (other.isSetAllamazonfbainventorysnapshot()) {
49548
      if (other.isSetAllsnapdealinventorysnapshot()) {
49439
        List<AmazonFbaInventorySnapshot> __this__allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>();
49549
        List<SnapdealInventoryItem> __this__allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>();
49440
        for (AmazonFbaInventorySnapshot other_element : other.allamazonfbainventorysnapshot) {
49550
        for (SnapdealInventoryItem other_element : other.allsnapdealinventorysnapshot) {
49441
          __this__allamazonfbainventorysnapshot.add(new AmazonFbaInventorySnapshot(other_element));
49551
          __this__allsnapdealinventorysnapshot.add(new SnapdealInventoryItem(other_element));
49442
        }
49552
        }
49443
        this.allamazonfbainventorysnapshot = __this__allamazonfbainventorysnapshot;
49553
        this.allsnapdealinventorysnapshot = __this__allsnapdealinventorysnapshot;
49444
      }
49554
      }
49445
    }
49555
    }
49446
 
49556
 
49447
    public addOrUpdateAllAmazonFbaInventory_args deepCopy() {
49557
    public addOrUpdateAllSnapdealInventory_args deepCopy() {
49448
      return new addOrUpdateAllAmazonFbaInventory_args(this);
49558
      return new addOrUpdateAllSnapdealInventory_args(this);
49449
    }
49559
    }
49450
 
49560
 
49451
    @Override
49561
    @Override
49452
    public void clear() {
49562
    public void clear() {
49453
      this.allamazonfbainventorysnapshot = null;
49563
      this.allsnapdealinventorysnapshot = null;
49454
    }
49564
    }
49455
 
49565
 
49456
    public int getAllamazonfbainventorysnapshotSize() {
49566
    public int getAllsnapdealinventorysnapshotSize() {
49457
      return (this.allamazonfbainventorysnapshot == null) ? 0 : this.allamazonfbainventorysnapshot.size();
49567
      return (this.allsnapdealinventorysnapshot == null) ? 0 : this.allsnapdealinventorysnapshot.size();
49458
    }
49568
    }
49459
 
49569
 
49460
    public java.util.Iterator<AmazonFbaInventorySnapshot> getAllamazonfbainventorysnapshotIterator() {
49570
    public java.util.Iterator<SnapdealInventoryItem> getAllsnapdealinventorysnapshotIterator() {
49461
      return (this.allamazonfbainventorysnapshot == null) ? null : this.allamazonfbainventorysnapshot.iterator();
49571
      return (this.allsnapdealinventorysnapshot == null) ? null : this.allsnapdealinventorysnapshot.iterator();
49462
    }
49572
    }
49463
 
49573
 
49464
    public void addToAllamazonfbainventorysnapshot(AmazonFbaInventorySnapshot elem) {
49574
    public void addToAllsnapdealinventorysnapshot(SnapdealInventoryItem elem) {
49465
      if (this.allamazonfbainventorysnapshot == null) {
49575
      if (this.allsnapdealinventorysnapshot == null) {
49466
        this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>();
49576
        this.allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>();
49467
      }
49577
      }
49468
      this.allamazonfbainventorysnapshot.add(elem);
49578
      this.allsnapdealinventorysnapshot.add(elem);
49469
    }
49579
    }
49470
 
49580
 
49471
    public List<AmazonFbaInventorySnapshot> getAllamazonfbainventorysnapshot() {
49581
    public List<SnapdealInventoryItem> getAllsnapdealinventorysnapshot() {
49472
      return this.allamazonfbainventorysnapshot;
49582
      return this.allsnapdealinventorysnapshot;
49473
    }
49583
    }
49474
 
49584
 
49475
    public void setAllamazonfbainventorysnapshot(List<AmazonFbaInventorySnapshot> allamazonfbainventorysnapshot) {
49585
    public void setAllsnapdealinventorysnapshot(List<SnapdealInventoryItem> allsnapdealinventorysnapshot) {
49476
      this.allamazonfbainventorysnapshot = allamazonfbainventorysnapshot;
49586
      this.allsnapdealinventorysnapshot = allsnapdealinventorysnapshot;
49477
    }
49587
    }
49478
 
49588
 
49479
    public void unsetAllamazonfbainventorysnapshot() {
49589
    public void unsetAllsnapdealinventorysnapshot() {
49480
      this.allamazonfbainventorysnapshot = null;
49590
      this.allsnapdealinventorysnapshot = null;
49481
    }
49591
    }
49482
 
49592
 
49483
    /** Returns true if field allamazonfbainventorysnapshot is set (has been assigned a value) and false otherwise */
49593
    /** Returns true if field allsnapdealinventorysnapshot is set (has been assigned a value) and false otherwise */
49484
    public boolean isSetAllamazonfbainventorysnapshot() {
49594
    public boolean isSetAllsnapdealinventorysnapshot() {
49485
      return this.allamazonfbainventorysnapshot != null;
49595
      return this.allsnapdealinventorysnapshot != null;
49486
    }
49596
    }
49487
 
49597
 
49488
    public void setAllamazonfbainventorysnapshotIsSet(boolean value) {
49598
    public void setAllsnapdealinventorysnapshotIsSet(boolean value) {
49489
      if (!value) {
49599
      if (!value) {
49490
        this.allamazonfbainventorysnapshot = null;
49600
        this.allsnapdealinventorysnapshot = null;
49491
      }
49601
      }
49492
    }
49602
    }
49493
 
49603
 
49494
    public void setFieldValue(_Fields field, Object value) {
49604
    public void setFieldValue(_Fields field, Object value) {
49495
      switch (field) {
49605
      switch (field) {
49496
      case ALLAMAZONFBAINVENTORYSNAPSHOT:
49606
      case ALLSNAPDEALINVENTORYSNAPSHOT:
49497
        if (value == null) {
49607
        if (value == null) {
49498
          unsetAllamazonfbainventorysnapshot();
49608
          unsetAllsnapdealinventorysnapshot();
49499
        } else {
49609
        } else {
49500
          setAllamazonfbainventorysnapshot((List<AmazonFbaInventorySnapshot>)value);
49610
          setAllsnapdealinventorysnapshot((List<SnapdealInventoryItem>)value);
49501
        }
49611
        }
49502
        break;
49612
        break;
49503
 
49613
 
49504
      }
49614
      }
49505
    }
49615
    }
49506
 
49616
 
49507
    public Object getFieldValue(_Fields field) {
49617
    public Object getFieldValue(_Fields field) {
49508
      switch (field) {
49618
      switch (field) {
49509
      case ALLAMAZONFBAINVENTORYSNAPSHOT:
49619
      case ALLSNAPDEALINVENTORYSNAPSHOT:
49510
        return getAllamazonfbainventorysnapshot();
49620
        return getAllsnapdealinventorysnapshot();
49511
 
49621
 
49512
      }
49622
      }
49513
      throw new IllegalStateException();
49623
      throw new IllegalStateException();
49514
    }
49624
    }
49515
 
49625
 
Line 49518... Line 49628...
49518
      if (field == null) {
49628
      if (field == null) {
49519
        throw new IllegalArgumentException();
49629
        throw new IllegalArgumentException();
49520
      }
49630
      }
49521
 
49631
 
49522
      switch (field) {
49632
      switch (field) {
49523
      case ALLAMAZONFBAINVENTORYSNAPSHOT:
49633
      case ALLSNAPDEALINVENTORYSNAPSHOT:
49524
        return isSetAllamazonfbainventorysnapshot();
49634
        return isSetAllsnapdealinventorysnapshot();
49525
      }
49635
      }
49526
      throw new IllegalStateException();
49636
      throw new IllegalStateException();
49527
    }
49637
    }
49528
 
49638
 
49529
    @Override
49639
    @Override
49530
    public boolean equals(Object that) {
49640
    public boolean equals(Object that) {
49531
      if (that == null)
49641
      if (that == null)
49532
        return false;
49642
        return false;
49533
      if (that instanceof addOrUpdateAllAmazonFbaInventory_args)
49643
      if (that instanceof addOrUpdateAllSnapdealInventory_args)
49534
        return this.equals((addOrUpdateAllAmazonFbaInventory_args)that);
49644
        return this.equals((addOrUpdateAllSnapdealInventory_args)that);
49535
      return false;
49645
      return false;
49536
    }
49646
    }
49537
 
49647
 
49538
    public boolean equals(addOrUpdateAllAmazonFbaInventory_args that) {
49648
    public boolean equals(addOrUpdateAllSnapdealInventory_args that) {
49539
      if (that == null)
49649
      if (that == null)
49540
        return false;
49650
        return false;
49541
 
49651
 
49542
      boolean this_present_allamazonfbainventorysnapshot = true && this.isSetAllamazonfbainventorysnapshot();
49652
      boolean this_present_allsnapdealinventorysnapshot = true && this.isSetAllsnapdealinventorysnapshot();
49543
      boolean that_present_allamazonfbainventorysnapshot = true && that.isSetAllamazonfbainventorysnapshot();
49653
      boolean that_present_allsnapdealinventorysnapshot = true && that.isSetAllsnapdealinventorysnapshot();
49544
      if (this_present_allamazonfbainventorysnapshot || that_present_allamazonfbainventorysnapshot) {
49654
      if (this_present_allsnapdealinventorysnapshot || that_present_allsnapdealinventorysnapshot) {
49545
        if (!(this_present_allamazonfbainventorysnapshot && that_present_allamazonfbainventorysnapshot))
49655
        if (!(this_present_allsnapdealinventorysnapshot && that_present_allsnapdealinventorysnapshot))
49546
          return false;
49656
          return false;
49547
        if (!this.allamazonfbainventorysnapshot.equals(that.allamazonfbainventorysnapshot))
49657
        if (!this.allsnapdealinventorysnapshot.equals(that.allsnapdealinventorysnapshot))
49548
          return false;
49658
          return false;
49549
      }
49659
      }
49550
 
49660
 
49551
      return true;
49661
      return true;
49552
    }
49662
    }
Line 49554... Line 49664...
49554
    @Override
49664
    @Override
49555
    public int hashCode() {
49665
    public int hashCode() {
49556
      return 0;
49666
      return 0;
49557
    }
49667
    }
49558
 
49668
 
49559
    public int compareTo(addOrUpdateAllAmazonFbaInventory_args other) {
49669
    public int compareTo(addOrUpdateAllSnapdealInventory_args other) {
49560
      if (!getClass().equals(other.getClass())) {
49670
      if (!getClass().equals(other.getClass())) {
49561
        return getClass().getName().compareTo(other.getClass().getName());
49671
        return getClass().getName().compareTo(other.getClass().getName());
49562
      }
49672
      }
49563
 
49673
 
49564
      int lastComparison = 0;
49674
      int lastComparison = 0;
49565
      addOrUpdateAllAmazonFbaInventory_args typedOther = (addOrUpdateAllAmazonFbaInventory_args)other;
49675
      addOrUpdateAllSnapdealInventory_args typedOther = (addOrUpdateAllSnapdealInventory_args)other;
49566
 
49676
 
49567
      lastComparison = Boolean.valueOf(isSetAllamazonfbainventorysnapshot()).compareTo(typedOther.isSetAllamazonfbainventorysnapshot());
49677
      lastComparison = Boolean.valueOf(isSetAllsnapdealinventorysnapshot()).compareTo(typedOther.isSetAllsnapdealinventorysnapshot());
49568
      if (lastComparison != 0) {
49678
      if (lastComparison != 0) {
49569
        return lastComparison;
49679
        return lastComparison;
49570
      }
49680
      }
49571
      if (isSetAllamazonfbainventorysnapshot()) {
49681
      if (isSetAllsnapdealinventorysnapshot()) {
49572
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allamazonfbainventorysnapshot, typedOther.allamazonfbainventorysnapshot);
49682
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allsnapdealinventorysnapshot, typedOther.allsnapdealinventorysnapshot);
49573
        if (lastComparison != 0) {
49683
        if (lastComparison != 0) {
49574
          return lastComparison;
49684
          return lastComparison;
49575
        }
49685
        }
49576
      }
49686
      }
49577
      return 0;
49687
      return 0;
Line 49589... Line 49699...
49589
        field = iprot.readFieldBegin();
49699
        field = iprot.readFieldBegin();
49590
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
49700
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
49591
          break;
49701
          break;
49592
        }
49702
        }
49593
        switch (field.id) {
49703
        switch (field.id) {
49594
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
49704
          case -1: // ALLSNAPDEALINVENTORYSNAPSHOT
49595
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49705
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49596
              {
49706
              {
49597
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
49707
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
49598
                this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>(_list138.size);
49708
                this.allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>(_list142.size);
49599
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
49709
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
49600
                {
49710
                {
49601
                  AmazonFbaInventorySnapshot _elem140; // required
49711
                  SnapdealInventoryItem _elem144; // required
49602
                  _elem140 = new AmazonFbaInventorySnapshot();
49712
                  _elem144 = new SnapdealInventoryItem();
49603
                  _elem140.read(iprot);
49713
                  _elem144.read(iprot);
49604
                  this.allamazonfbainventorysnapshot.add(_elem140);
49714
                  this.allsnapdealinventorysnapshot.add(_elem144);
49605
                }
49715
                }
49606
                iprot.readListEnd();
49716
                iprot.readListEnd();
49607
              }
49717
              }
49608
            } else { 
49718
            } else { 
49609
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49719
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49620... Line 49730...
49620
 
49730
 
49621
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
49731
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
49622
      validate();
49732
      validate();
49623
 
49733
 
49624
      oprot.writeStructBegin(STRUCT_DESC);
49734
      oprot.writeStructBegin(STRUCT_DESC);
49625
      if (this.allamazonfbainventorysnapshot != null) {
49735
      if (this.allsnapdealinventorysnapshot != null) {
49626
        oprot.writeFieldBegin(ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC);
49736
        oprot.writeFieldBegin(ALLSNAPDEALINVENTORYSNAPSHOT_FIELD_DESC);
49627
        {
49737
        {
49628
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allamazonfbainventorysnapshot.size()));
49738
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealinventorysnapshot.size()));
49629
          for (AmazonFbaInventorySnapshot _iter141 : this.allamazonfbainventorysnapshot)
49739
          for (SnapdealInventoryItem _iter145 : this.allsnapdealinventorysnapshot)
49630
          {
49740
          {
49631
            _iter141.write(oprot);
49741
            _iter145.write(oprot);
49632
          }
49742
          }
49633
          oprot.writeListEnd();
49743
          oprot.writeListEnd();
49634
        }
49744
        }
49635
        oprot.writeFieldEnd();
49745
        oprot.writeFieldEnd();
49636
      }
49746
      }
Line 49638... Line 49748...
49638
      oprot.writeStructEnd();
49748
      oprot.writeStructEnd();
49639
    }
49749
    }
49640
 
49750
 
49641
    @Override
49751
    @Override
49642
    public String toString() {
49752
    public String toString() {
49643
      StringBuilder sb = new StringBuilder("addOrUpdateAllAmazonFbaInventory_args(");
49753
      StringBuilder sb = new StringBuilder("addOrUpdateAllSnapdealInventory_args(");
49644
      boolean first = true;
49754
      boolean first = true;
49645
 
49755
 
49646
      sb.append("allamazonfbainventorysnapshot:");
49756
      sb.append("allsnapdealinventorysnapshot:");
49647
      if (this.allamazonfbainventorysnapshot == null) {
49757
      if (this.allsnapdealinventorysnapshot == null) {
49648
        sb.append("null");
49758
        sb.append("null");
49649
      } else {
49759
      } else {
49650
        sb.append(this.allamazonfbainventorysnapshot);
49760
        sb.append(this.allsnapdealinventorysnapshot);
49651
      }
49761
      }
49652
      first = false;
49762
      first = false;
49653
      sb.append(")");
49763
      sb.append(")");
49654
      return sb.toString();
49764
      return sb.toString();
49655
    }
49765
    }
Line 49674... Line 49784...
49674
      }
49784
      }
49675
    }
49785
    }
49676
 
49786
 
49677
  }
49787
  }
49678
 
49788
 
49679
  public static class addOrUpdateAllAmazonFbaInventory_result implements org.apache.thrift.TBase<addOrUpdateAllAmazonFbaInventory_result, addOrUpdateAllAmazonFbaInventory_result._Fields>, java.io.Serializable, Cloneable   {
49789
  public static class addOrUpdateAllSnapdealInventory_result implements org.apache.thrift.TBase<addOrUpdateAllSnapdealInventory_result, addOrUpdateAllSnapdealInventory_result._Fields>, java.io.Serializable, Cloneable   {
49680
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAllAmazonFbaInventory_result");
49790
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAllSnapdealInventory_result");
49681
 
49791
 
49682
 
49792
 
49683
 
49793
 
49684
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49794
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49685
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
49795
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
Line 49738... Line 49848...
49738
    }
49848
    }
49739
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
49849
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
49740
    static {
49850
    static {
49741
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
49851
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
49742
      metaDataMap = Collections.unmodifiableMap(tmpMap);
49852
      metaDataMap = Collections.unmodifiableMap(tmpMap);
49743
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAllAmazonFbaInventory_result.class, metaDataMap);
49853
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAllSnapdealInventory_result.class, metaDataMap);
49744
    }
49854
    }
49745
 
49855
 
49746
    public addOrUpdateAllAmazonFbaInventory_result() {
49856
    public addOrUpdateAllSnapdealInventory_result() {
49747
    }
49857
    }
49748
 
49858
 
49749
    /**
49859
    /**
49750
     * Performs a deep copy on <i>other</i>.
49860
     * Performs a deep copy on <i>other</i>.
49751
     */
49861
     */
49752
    public addOrUpdateAllAmazonFbaInventory_result(addOrUpdateAllAmazonFbaInventory_result other) {
49862
    public addOrUpdateAllSnapdealInventory_result(addOrUpdateAllSnapdealInventory_result other) {
49753
    }
49863
    }
49754
 
49864
 
49755
    public addOrUpdateAllAmazonFbaInventory_result deepCopy() {
49865
    public addOrUpdateAllSnapdealInventory_result deepCopy() {
49756
      return new addOrUpdateAllAmazonFbaInventory_result(this);
49866
      return new addOrUpdateAllSnapdealInventory_result(this);
49757
    }
49867
    }
49758
 
49868
 
49759
    @Override
49869
    @Override
49760
    public void clear() {
49870
    public void clear() {
49761
    }
49871
    }
Line 49784... Line 49894...
49784
 
49894
 
49785
    @Override
49895
    @Override
49786
    public boolean equals(Object that) {
49896
    public boolean equals(Object that) {
49787
      if (that == null)
49897
      if (that == null)
49788
        return false;
49898
        return false;
49789
      if (that instanceof addOrUpdateAllAmazonFbaInventory_result)
49899
      if (that instanceof addOrUpdateAllSnapdealInventory_result)
49790
        return this.equals((addOrUpdateAllAmazonFbaInventory_result)that);
49900
        return this.equals((addOrUpdateAllSnapdealInventory_result)that);
49791
      return false;
49901
      return false;
49792
    }
49902
    }
49793
 
49903
 
49794
    public boolean equals(addOrUpdateAllAmazonFbaInventory_result that) {
49904
    public boolean equals(addOrUpdateAllSnapdealInventory_result that) {
49795
      if (that == null)
49905
      if (that == null)
49796
        return false;
49906
        return false;
49797
 
49907
 
49798
      return true;
49908
      return true;
49799
    }
49909
    }
Line 49801... Line 49911...
49801
    @Override
49911
    @Override
49802
    public int hashCode() {
49912
    public int hashCode() {
49803
      return 0;
49913
      return 0;
49804
    }
49914
    }
49805
 
49915
 
49806
    public int compareTo(addOrUpdateAllAmazonFbaInventory_result other) {
49916
    public int compareTo(addOrUpdateAllSnapdealInventory_result other) {
49807
      if (!getClass().equals(other.getClass())) {
49917
      if (!getClass().equals(other.getClass())) {
49808
        return getClass().getName().compareTo(other.getClass().getName());
49918
        return getClass().getName().compareTo(other.getClass().getName());
49809
      }
49919
      }
49810
 
49920
 
49811
      int lastComparison = 0;
49921
      int lastComparison = 0;
49812
      addOrUpdateAllAmazonFbaInventory_result typedOther = (addOrUpdateAllAmazonFbaInventory_result)other;
49922
      addOrUpdateAllSnapdealInventory_result typedOther = (addOrUpdateAllSnapdealInventory_result)other;
49813
 
49923
 
49814
      return 0;
49924
      return 0;
49815
    }
49925
    }
49816
 
49926
 
49817
    public _Fields fieldForId(int fieldId) {
49927
    public _Fields fieldForId(int fieldId) {
Line 49844... Line 49954...
49844
      oprot.writeStructEnd();
49954
      oprot.writeStructEnd();
49845
    }
49955
    }
49846
 
49956
 
49847
    @Override
49957
    @Override
49848
    public String toString() {
49958
    public String toString() {
49849
      StringBuilder sb = new StringBuilder("addOrUpdateAllAmazonFbaInventory_result(");
49959
      StringBuilder sb = new StringBuilder("addOrUpdateAllSnapdealInventory_result(");
-
 
49960
      boolean first = true;
-
 
49961
 
-
 
49962
      sb.append(")");
-
 
49963
      return sb.toString();
-
 
49964
    }
-
 
49965
 
-
 
49966
    public void validate() throws org.apache.thrift.TException {
-
 
49967
      // check for required fields
-
 
49968
    }
-
 
49969
 
-
 
49970
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
49971
      try {
-
 
49972
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
49973
      } catch (org.apache.thrift.TException te) {
-
 
49974
        throw new java.io.IOException(te);
-
 
49975
      }
-
 
49976
    }
-
 
49977
 
-
 
49978
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
49979
      try {
-
 
49980
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
49981
      } catch (org.apache.thrift.TException te) {
-
 
49982
        throw new java.io.IOException(te);
-
 
49983
      }
-
 
49984
    }
-
 
49985
 
-
 
49986
  }
-
 
49987
 
-
 
49988
  public static class getSnapdealInventorySnapshot_args implements org.apache.thrift.TBase<getSnapdealInventorySnapshot_args, getSnapdealInventorySnapshot_args._Fields>, java.io.Serializable, Cloneable   {
-
 
49989
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSnapdealInventorySnapshot_args");
-
 
49990
 
-
 
49991
 
-
 
49992
 
-
 
49993
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
49994
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
49995
;
-
 
49996
 
-
 
49997
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
49998
 
-
 
49999
      static {
-
 
50000
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
50001
          byName.put(field.getFieldName(), field);
-
 
50002
        }
-
 
50003
      }
-
 
50004
 
-
 
50005
      /**
-
 
50006
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
50007
       */
-
 
50008
      public static _Fields findByThriftId(int fieldId) {
-
 
50009
        switch(fieldId) {
-
 
50010
          default:
-
 
50011
            return null;
-
 
50012
        }
-
 
50013
      }
-
 
50014
 
-
 
50015
      /**
-
 
50016
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
50017
       * if it is not found.
-
 
50018
       */
-
 
50019
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
50020
        _Fields fields = findByThriftId(fieldId);
-
 
50021
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
50022
        return fields;
-
 
50023
      }
-
 
50024
 
-
 
50025
      /**
-
 
50026
       * Find the _Fields constant that matches name, or null if its not found.
-
 
50027
       */
-
 
50028
      public static _Fields findByName(String name) {
-
 
50029
        return byName.get(name);
-
 
50030
      }
-
 
50031
 
-
 
50032
      private final short _thriftId;
-
 
50033
      private final String _fieldName;
-
 
50034
 
-
 
50035
      _Fields(short thriftId, String fieldName) {
-
 
50036
        _thriftId = thriftId;
-
 
50037
        _fieldName = fieldName;
-
 
50038
      }
-
 
50039
 
-
 
50040
      public short getThriftFieldId() {
-
 
50041
        return _thriftId;
-
 
50042
      }
-
 
50043
 
-
 
50044
      public String getFieldName() {
-
 
50045
        return _fieldName;
-
 
50046
      }
-
 
50047
    }
-
 
50048
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
50049
    static {
-
 
50050
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
50051
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
50052
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSnapdealInventorySnapshot_args.class, metaDataMap);
-
 
50053
    }
-
 
50054
 
-
 
50055
    public getSnapdealInventorySnapshot_args() {
-
 
50056
    }
-
 
50057
 
-
 
50058
    /**
-
 
50059
     * Performs a deep copy on <i>other</i>.
-
 
50060
     */
-
 
50061
    public getSnapdealInventorySnapshot_args(getSnapdealInventorySnapshot_args other) {
-
 
50062
    }
-
 
50063
 
-
 
50064
    public getSnapdealInventorySnapshot_args deepCopy() {
-
 
50065
      return new getSnapdealInventorySnapshot_args(this);
-
 
50066
    }
-
 
50067
 
-
 
50068
    @Override
-
 
50069
    public void clear() {
-
 
50070
    }
-
 
50071
 
-
 
50072
    public void setFieldValue(_Fields field, Object value) {
-
 
50073
      switch (field) {
-
 
50074
      }
-
 
50075
    }
-
 
50076
 
-
 
50077
    public Object getFieldValue(_Fields field) {
-
 
50078
      switch (field) {
-
 
50079
      }
-
 
50080
      throw new IllegalStateException();
-
 
50081
    }
-
 
50082
 
-
 
50083
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
50084
    public boolean isSet(_Fields field) {
-
 
50085
      if (field == null) {
-
 
50086
        throw new IllegalArgumentException();
-
 
50087
      }
-
 
50088
 
-
 
50089
      switch (field) {
-
 
50090
      }
-
 
50091
      throw new IllegalStateException();
-
 
50092
    }
-
 
50093
 
-
 
50094
    @Override
-
 
50095
    public boolean equals(Object that) {
-
 
50096
      if (that == null)
-
 
50097
        return false;
-
 
50098
      if (that instanceof getSnapdealInventorySnapshot_args)
-
 
50099
        return this.equals((getSnapdealInventorySnapshot_args)that);
-
 
50100
      return false;
-
 
50101
    }
-
 
50102
 
-
 
50103
    public boolean equals(getSnapdealInventorySnapshot_args that) {
-
 
50104
      if (that == null)
-
 
50105
        return false;
-
 
50106
 
-
 
50107
      return true;
-
 
50108
    }
-
 
50109
 
-
 
50110
    @Override
-
 
50111
    public int hashCode() {
-
 
50112
      return 0;
-
 
50113
    }
-
 
50114
 
-
 
50115
    public int compareTo(getSnapdealInventorySnapshot_args other) {
-
 
50116
      if (!getClass().equals(other.getClass())) {
-
 
50117
        return getClass().getName().compareTo(other.getClass().getName());
-
 
50118
      }
-
 
50119
 
-
 
50120
      int lastComparison = 0;
-
 
50121
      getSnapdealInventorySnapshot_args typedOther = (getSnapdealInventorySnapshot_args)other;
-
 
50122
 
-
 
50123
      return 0;
-
 
50124
    }
-
 
50125
 
-
 
50126
    public _Fields fieldForId(int fieldId) {
-
 
50127
      return _Fields.findByThriftId(fieldId);
-
 
50128
    }
-
 
50129
 
-
 
50130
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
50131
      org.apache.thrift.protocol.TField field;
-
 
50132
      iprot.readStructBegin();
-
 
50133
      while (true)
-
 
50134
      {
-
 
50135
        field = iprot.readFieldBegin();
-
 
50136
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
50137
          break;
-
 
50138
        }
-
 
50139
        switch (field.id) {
-
 
50140
          default:
-
 
50141
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
50142
        }
-
 
50143
        iprot.readFieldEnd();
-
 
50144
      }
-
 
50145
      iprot.readStructEnd();
-
 
50146
      validate();
-
 
50147
    }
-
 
50148
 
-
 
50149
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
50150
      validate();
-
 
50151
 
-
 
50152
      oprot.writeStructBegin(STRUCT_DESC);
-
 
50153
      oprot.writeFieldStop();
-
 
50154
      oprot.writeStructEnd();
-
 
50155
    }
-
 
50156
 
-
 
50157
    @Override
-
 
50158
    public String toString() {
-
 
50159
      StringBuilder sb = new StringBuilder("getSnapdealInventorySnapshot_args(");
49850
      boolean first = true;
50160
      boolean first = true;
49851
 
50161
 
49852
      sb.append(")");
50162
      sb.append(")");
49853
      return sb.toString();
50163
      return sb.toString();
49854
    }
50164
    }
49855
 
50165
 
49856
    public void validate() throws org.apache.thrift.TException {
50166
    public void validate() throws org.apache.thrift.TException {
-
 
50167
      // check for required fields
-
 
50168
    }
-
 
50169
 
-
 
50170
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
50171
      try {
-
 
50172
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
50173
      } catch (org.apache.thrift.TException te) {
-
 
50174
        throw new java.io.IOException(te);
-
 
50175
      }
-
 
50176
    }
-
 
50177
 
-
 
50178
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
50179
      try {
-
 
50180
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
50181
      } catch (org.apache.thrift.TException te) {
-
 
50182
        throw new java.io.IOException(te);
-
 
50183
      }
-
 
50184
    }
-
 
50185
 
-
 
50186
  }
-
 
50187
 
-
 
50188
  public static class getSnapdealInventorySnapshot_result implements org.apache.thrift.TBase<getSnapdealInventorySnapshot_result, getSnapdealInventorySnapshot_result._Fields>, java.io.Serializable, Cloneable   {
-
 
50189
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSnapdealInventorySnapshot_result");
-
 
50190
 
-
 
50191
    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);
-
 
50192
 
-
 
50193
    private List<SnapdealInventoryItem> success; // required
-
 
50194
 
-
 
50195
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
50196
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
50197
      SUCCESS((short)0, "success");
-
 
50198
 
-
 
50199
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
50200
 
-
 
50201
      static {
-
 
50202
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
50203
          byName.put(field.getFieldName(), field);
-
 
50204
        }
-
 
50205
      }
-
 
50206
 
-
 
50207
      /**
-
 
50208
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
50209
       */
-
 
50210
      public static _Fields findByThriftId(int fieldId) {
-
 
50211
        switch(fieldId) {
-
 
50212
          case 0: // SUCCESS
-
 
50213
            return SUCCESS;
-
 
50214
          default:
-
 
50215
            return null;
-
 
50216
        }
-
 
50217
      }
-
 
50218
 
-
 
50219
      /**
-
 
50220
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
50221
       * if it is not found.
-
 
50222
       */
-
 
50223
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
50224
        _Fields fields = findByThriftId(fieldId);
-
 
50225
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
50226
        return fields;
-
 
50227
      }
-
 
50228
 
-
 
50229
      /**
-
 
50230
       * Find the _Fields constant that matches name, or null if its not found.
-
 
50231
       */
-
 
50232
      public static _Fields findByName(String name) {
-
 
50233
        return byName.get(name);
-
 
50234
      }
-
 
50235
 
-
 
50236
      private final short _thriftId;
-
 
50237
      private final String _fieldName;
-
 
50238
 
-
 
50239
      _Fields(short thriftId, String fieldName) {
-
 
50240
        _thriftId = thriftId;
-
 
50241
        _fieldName = fieldName;
-
 
50242
      }
-
 
50243
 
-
 
50244
      public short getThriftFieldId() {
-
 
50245
        return _thriftId;
-
 
50246
      }
-
 
50247
 
-
 
50248
      public String getFieldName() {
-
 
50249
        return _fieldName;
-
 
50250
      }
-
 
50251
    }
-
 
50252
 
-
 
50253
    // isset id assignments
-
 
50254
 
-
 
50255
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
50256
    static {
-
 
50257
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
50258
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
50259
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
50260
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SnapdealInventoryItem.class))));
-
 
50261
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
50262
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSnapdealInventorySnapshot_result.class, metaDataMap);
-
 
50263
    }
-
 
50264
 
-
 
50265
    public getSnapdealInventorySnapshot_result() {
-
 
50266
    }
-
 
50267
 
-
 
50268
    public getSnapdealInventorySnapshot_result(
-
 
50269
      List<SnapdealInventoryItem> success)
-
 
50270
    {
-
 
50271
      this();
-
 
50272
      this.success = success;
-
 
50273
    }
-
 
50274
 
-
 
50275
    /**
-
 
50276
     * Performs a deep copy on <i>other</i>.
-
 
50277
     */
-
 
50278
    public getSnapdealInventorySnapshot_result(getSnapdealInventorySnapshot_result other) {
-
 
50279
      if (other.isSetSuccess()) {
-
 
50280
        List<SnapdealInventoryItem> __this__success = new ArrayList<SnapdealInventoryItem>();
-
 
50281
        for (SnapdealInventoryItem other_element : other.success) {
-
 
50282
          __this__success.add(new SnapdealInventoryItem(other_element));
-
 
50283
        }
-
 
50284
        this.success = __this__success;
-
 
50285
      }
-
 
50286
    }
-
 
50287
 
-
 
50288
    public getSnapdealInventorySnapshot_result deepCopy() {
-
 
50289
      return new getSnapdealInventorySnapshot_result(this);
-
 
50290
    }
-
 
50291
 
-
 
50292
    @Override
-
 
50293
    public void clear() {
-
 
50294
      this.success = null;
-
 
50295
    }
-
 
50296
 
-
 
50297
    public int getSuccessSize() {
-
 
50298
      return (this.success == null) ? 0 : this.success.size();
-
 
50299
    }
-
 
50300
 
-
 
50301
    public java.util.Iterator<SnapdealInventoryItem> getSuccessIterator() {
-
 
50302
      return (this.success == null) ? null : this.success.iterator();
-
 
50303
    }
-
 
50304
 
-
 
50305
    public void addToSuccess(SnapdealInventoryItem elem) {
-
 
50306
      if (this.success == null) {
-
 
50307
        this.success = new ArrayList<SnapdealInventoryItem>();
-
 
50308
      }
-
 
50309
      this.success.add(elem);
-
 
50310
    }
-
 
50311
 
-
 
50312
    public List<SnapdealInventoryItem> getSuccess() {
-
 
50313
      return this.success;
-
 
50314
    }
-
 
50315
 
-
 
50316
    public void setSuccess(List<SnapdealInventoryItem> success) {
-
 
50317
      this.success = success;
-
 
50318
    }
-
 
50319
 
-
 
50320
    public void unsetSuccess() {
-
 
50321
      this.success = null;
-
 
50322
    }
-
 
50323
 
-
 
50324
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
50325
    public boolean isSetSuccess() {
-
 
50326
      return this.success != null;
-
 
50327
    }
-
 
50328
 
-
 
50329
    public void setSuccessIsSet(boolean value) {
-
 
50330
      if (!value) {
-
 
50331
        this.success = null;
-
 
50332
      }
-
 
50333
    }
-
 
50334
 
-
 
50335
    public void setFieldValue(_Fields field, Object value) {
-
 
50336
      switch (field) {
-
 
50337
      case SUCCESS:
-
 
50338
        if (value == null) {
-
 
50339
          unsetSuccess();
-
 
50340
        } else {
-
 
50341
          setSuccess((List<SnapdealInventoryItem>)value);
-
 
50342
        }
-
 
50343
        break;
-
 
50344
 
-
 
50345
      }
-
 
50346
    }
-
 
50347
 
-
 
50348
    public Object getFieldValue(_Fields field) {
-
 
50349
      switch (field) {
-
 
50350
      case SUCCESS:
-
 
50351
        return getSuccess();
-
 
50352
 
-
 
50353
      }
-
 
50354
      throw new IllegalStateException();
-
 
50355
    }
-
 
50356
 
-
 
50357
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
50358
    public boolean isSet(_Fields field) {
-
 
50359
      if (field == null) {
-
 
50360
        throw new IllegalArgumentException();
-
 
50361
      }
-
 
50362
 
-
 
50363
      switch (field) {
-
 
50364
      case SUCCESS:
-
 
50365
        return isSetSuccess();
-
 
50366
      }
-
 
50367
      throw new IllegalStateException();
-
 
50368
    }
-
 
50369
 
-
 
50370
    @Override
-
 
50371
    public boolean equals(Object that) {
-
 
50372
      if (that == null)
-
 
50373
        return false;
-
 
50374
      if (that instanceof getSnapdealInventorySnapshot_result)
-
 
50375
        return this.equals((getSnapdealInventorySnapshot_result)that);
-
 
50376
      return false;
-
 
50377
    }
-
 
50378
 
-
 
50379
    public boolean equals(getSnapdealInventorySnapshot_result that) {
-
 
50380
      if (that == null)
-
 
50381
        return false;
-
 
50382
 
-
 
50383
      boolean this_present_success = true && this.isSetSuccess();
-
 
50384
      boolean that_present_success = true && that.isSetSuccess();
-
 
50385
      if (this_present_success || that_present_success) {
-
 
50386
        if (!(this_present_success && that_present_success))
-
 
50387
          return false;
-
 
50388
        if (!this.success.equals(that.success))
-
 
50389
          return false;
-
 
50390
      }
-
 
50391
 
-
 
50392
      return true;
-
 
50393
    }
-
 
50394
 
-
 
50395
    @Override
-
 
50396
    public int hashCode() {
-
 
50397
      return 0;
-
 
50398
    }
-
 
50399
 
-
 
50400
    public int compareTo(getSnapdealInventorySnapshot_result other) {
-
 
50401
      if (!getClass().equals(other.getClass())) {
-
 
50402
        return getClass().getName().compareTo(other.getClass().getName());
-
 
50403
      }
-
 
50404
 
-
 
50405
      int lastComparison = 0;
-
 
50406
      getSnapdealInventorySnapshot_result typedOther = (getSnapdealInventorySnapshot_result)other;
-
 
50407
 
-
 
50408
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
50409
      if (lastComparison != 0) {
-
 
50410
        return lastComparison;
-
 
50411
      }
-
 
50412
      if (isSetSuccess()) {
-
 
50413
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
50414
        if (lastComparison != 0) {
-
 
50415
          return lastComparison;
-
 
50416
        }
-
 
50417
      }
-
 
50418
      return 0;
-
 
50419
    }
-
 
50420
 
-
 
50421
    public _Fields fieldForId(int fieldId) {
-
 
50422
      return _Fields.findByThriftId(fieldId);
-
 
50423
    }
-
 
50424
 
-
 
50425
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
50426
      org.apache.thrift.protocol.TField field;
-
 
50427
      iprot.readStructBegin();
-
 
50428
      while (true)
-
 
50429
      {
-
 
50430
        field = iprot.readFieldBegin();
-
 
50431
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
50432
          break;
-
 
50433
        }
-
 
50434
        switch (field.id) {
-
 
50435
          case 0: // SUCCESS
-
 
50436
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
50437
              {
-
 
50438
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
-
 
50439
                this.success = new ArrayList<SnapdealInventoryItem>(_list146.size);
-
 
50440
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
-
 
50441
                {
-
 
50442
                  SnapdealInventoryItem _elem148; // required
-
 
50443
                  _elem148 = new SnapdealInventoryItem();
-
 
50444
                  _elem148.read(iprot);
-
 
50445
                  this.success.add(_elem148);
-
 
50446
                }
-
 
50447
                iprot.readListEnd();
-
 
50448
              }
-
 
50449
            } else { 
-
 
50450
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
50451
            }
-
 
50452
            break;
-
 
50453
          default:
-
 
50454
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
50455
        }
-
 
50456
        iprot.readFieldEnd();
-
 
50457
      }
-
 
50458
      iprot.readStructEnd();
-
 
50459
      validate();
-
 
50460
    }
-
 
50461
 
-
 
50462
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
50463
      oprot.writeStructBegin(STRUCT_DESC);
-
 
50464
 
-
 
50465
      if (this.isSetSuccess()) {
-
 
50466
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
50467
        {
-
 
50468
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
50469
          for (SnapdealInventoryItem _iter149 : this.success)
-
 
50470
          {
-
 
50471
            _iter149.write(oprot);
-
 
50472
          }
-
 
50473
          oprot.writeListEnd();
-
 
50474
        }
-
 
50475
        oprot.writeFieldEnd();
-
 
50476
      }
-
 
50477
      oprot.writeFieldStop();
-
 
50478
      oprot.writeStructEnd();
-
 
50479
    }
-
 
50480
 
-
 
50481
    @Override
-
 
50482
    public String toString() {
-
 
50483
      StringBuilder sb = new StringBuilder("getSnapdealInventorySnapshot_result(");
-
 
50484
      boolean first = true;
-
 
50485
 
-
 
50486
      sb.append("success:");
-
 
50487
      if (this.success == null) {
-
 
50488
        sb.append("null");
-
 
50489
      } else {
-
 
50490
        sb.append(this.success);
-
 
50491
      }
-
 
50492
      first = false;
-
 
50493
      sb.append(")");
-
 
50494
      return sb.toString();
-
 
50495
    }
-
 
50496
 
-
 
50497
    public void validate() throws org.apache.thrift.TException {
49857
      // check for required fields
50498
      // check for required fields
49858
    }
50499
    }
49859
 
50500
 
49860
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
50501
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
49861
      try {
50502
      try {