Subversion Repositories SmartDukaan

Rev

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

Rev 7272 Rev 7281
Line 390... Line 390...
390
 
390
 
391
    public StorePricing getStorePricing(long itemId) throws org.apache.thrift.TException;
391
    public StorePricing getStorePricing(long itemId) throws org.apache.thrift.TException;
392
 
392
 
393
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException;
393
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException;
394
 
394
 
-
 
395
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
-
 
396
 
-
 
397
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
-
 
398
 
-
 
399
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride) throws org.apache.thrift.TException;
-
 
400
 
-
 
401
    public void addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException;
-
 
402
 
395
  }
403
  }
396
 
404
 
397
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
405
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
398
 
406
 
399
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
407
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 570... Line 578...
570
 
578
 
571
    public void getStorePricing(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricing_call> resultHandler) throws org.apache.thrift.TException;
579
    public void getStorePricing(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricing_call> resultHandler) throws org.apache.thrift.TException;
572
 
580
 
573
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateStorePricing_call> resultHandler) throws org.apache.thrift.TException;
581
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateStorePricing_call> resultHandler) throws org.apache.thrift.TException;
574
 
582
 
-
 
583
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
-
 
584
 
-
 
585
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
-
 
586
 
-
 
587
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
-
 
588
 
-
 
589
    public void addAmazonItem(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmazonItem_call> resultHandler) throws org.apache.thrift.TException;
-
 
590
 
575
  }
591
  }
576
 
592
 
577
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
593
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
578
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
594
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
579
      public Factory() {}
595
      public Factory() {}
Line 2733... Line 2749...
2733
      updateStorePricing_result result = new updateStorePricing_result();
2749
      updateStorePricing_result result = new updateStorePricing_result();
2734
      receiveBase(result, "updateStorePricing");
2750
      receiveBase(result, "updateStorePricing");
2735
      return;
2751
      return;
2736
    }
2752
    }
2737
 
2753
 
-
 
2754
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException
-
 
2755
    {
-
 
2756
      send_getAllAmazonListedItems();
-
 
2757
      return recv_getAllAmazonListedItems();
-
 
2758
    }
-
 
2759
 
-
 
2760
    public void send_getAllAmazonListedItems() throws org.apache.thrift.TException
-
 
2761
    {
-
 
2762
      getAllAmazonListedItems_args args = new getAllAmazonListedItems_args();
-
 
2763
      sendBase("getAllAmazonListedItems", args);
-
 
2764
    }
-
 
2765
 
-
 
2766
    public List<Amazonlisted> recv_getAllAmazonListedItems() throws org.apache.thrift.TException
-
 
2767
    {
-
 
2768
      getAllAmazonListedItems_result result = new getAllAmazonListedItems_result();
-
 
2769
      receiveBase(result, "getAllAmazonListedItems");
-
 
2770
      if (result.isSetSuccess()) {
-
 
2771
        return result.success;
-
 
2772
      }
-
 
2773
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
-
 
2774
    }
-
 
2775
 
-
 
2776
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException
-
 
2777
    {
-
 
2778
      send_getAmazonItemDetails(itemId);
-
 
2779
      return recv_getAmazonItemDetails();
-
 
2780
    }
-
 
2781
 
-
 
2782
    public void send_getAmazonItemDetails(long itemId) throws org.apache.thrift.TException
-
 
2783
    {
-
 
2784
      getAmazonItemDetails_args args = new getAmazonItemDetails_args();
-
 
2785
      args.setItemId(itemId);
-
 
2786
      sendBase("getAmazonItemDetails", args);
-
 
2787
    }
-
 
2788
 
-
 
2789
    public Amazonlisted recv_getAmazonItemDetails() throws org.apache.thrift.TException
-
 
2790
    {
-
 
2791
      getAmazonItemDetails_result result = new getAmazonItemDetails_result();
-
 
2792
      receiveBase(result, "getAmazonItemDetails");
-
 
2793
      if (result.isSetSuccess()) {
-
 
2794
        return result.success;
-
 
2795
      }
-
 
2796
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
-
 
2797
    }
-
 
2798
 
-
 
2799
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride) throws org.apache.thrift.TException
-
 
2800
    {
-
 
2801
      send_updateAmazonItemDetails(itemId, fbaPrice, sellingPrice, isFba, isNonFba, isInventoryOverride);
-
 
2802
      recv_updateAmazonItemDetails();
-
 
2803
    }
-
 
2804
 
-
 
2805
    public void send_updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride) throws org.apache.thrift.TException
-
 
2806
    {
-
 
2807
      updateAmazonItemDetails_args args = new updateAmazonItemDetails_args();
-
 
2808
      args.setItemId(itemId);
-
 
2809
      args.setFbaPrice(fbaPrice);
-
 
2810
      args.setSellingPrice(sellingPrice);
-
 
2811
      args.setIsFba(isFba);
-
 
2812
      args.setIsNonFba(isNonFba);
-
 
2813
      args.setIsInventoryOverride(isInventoryOverride);
-
 
2814
      sendBase("updateAmazonItemDetails", args);
-
 
2815
    }
-
 
2816
 
-
 
2817
    public void recv_updateAmazonItemDetails() throws org.apache.thrift.TException
-
 
2818
    {
-
 
2819
      updateAmazonItemDetails_result result = new updateAmazonItemDetails_result();
-
 
2820
      receiveBase(result, "updateAmazonItemDetails");
-
 
2821
      return;
-
 
2822
    }
-
 
2823
 
-
 
2824
    public void addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException
-
 
2825
    {
-
 
2826
      send_addAmazonItem(amazonlisted);
-
 
2827
      recv_addAmazonItem();
-
 
2828
    }
-
 
2829
 
-
 
2830
    public void send_addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException
-
 
2831
    {
-
 
2832
      addAmazonItem_args args = new addAmazonItem_args();
-
 
2833
      args.setAmazonlisted(amazonlisted);
-
 
2834
      sendBase("addAmazonItem", args);
-
 
2835
    }
-
 
2836
 
-
 
2837
    public void recv_addAmazonItem() throws org.apache.thrift.TException
-
 
2838
    {
-
 
2839
      addAmazonItem_result result = new addAmazonItem_result();
-
 
2840
      receiveBase(result, "addAmazonItem");
-
 
2841
      return;
-
 
2842
    }
-
 
2843
 
2738
  }
2844
  }
2739
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2845
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2740
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2846
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2741
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2847
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2742
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2848
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 5684... Line 5790...
5684
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5790
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5685
        (new Client(prot)).recv_updateStorePricing();
5791
        (new Client(prot)).recv_updateStorePricing();
5686
      }
5792
      }
5687
    }
5793
    }
5688
 
5794
 
-
 
5795
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException {
-
 
5796
      checkReady();
-
 
5797
      getAllAmazonListedItems_call method_call = new getAllAmazonListedItems_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
5798
      this.___currentMethod = method_call;
-
 
5799
      ___manager.call(method_call);
-
 
5800
    }
-
 
5801
 
-
 
5802
    public static class getAllAmazonListedItems_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5803
      public getAllAmazonListedItems_call(org.apache.thrift.async.AsyncMethodCallback<getAllAmazonListedItems_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 {
-
 
5804
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5805
      }
-
 
5806
 
-
 
5807
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5808
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllAmazonListedItems", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5809
        getAllAmazonListedItems_args args = new getAllAmazonListedItems_args();
-
 
5810
        args.write(prot);
-
 
5811
        prot.writeMessageEnd();
-
 
5812
      }
-
 
5813
 
-
 
5814
      public List<Amazonlisted> getResult() throws org.apache.thrift.TException {
-
 
5815
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5816
          throw new IllegalStateException("Method call not finished!");
-
 
5817
        }
-
 
5818
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5819
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5820
        return (new Client(prot)).recv_getAllAmazonListedItems();
-
 
5821
      }
-
 
5822
    }
-
 
5823
 
-
 
5824
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException {
-
 
5825
      checkReady();
-
 
5826
      getAmazonItemDetails_call method_call = new getAmazonItemDetails_call(itemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
5827
      this.___currentMethod = method_call;
-
 
5828
      ___manager.call(method_call);
-
 
5829
    }
-
 
5830
 
-
 
5831
    public static class getAmazonItemDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5832
      private long itemId;
-
 
5833
      public getAmazonItemDetails_call(long itemId, org.apache.thrift.async.AsyncMethodCallback<getAmazonItemDetails_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 {
-
 
5834
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5835
        this.itemId = itemId;
-
 
5836
      }
-
 
5837
 
-
 
5838
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5839
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAmazonItemDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5840
        getAmazonItemDetails_args args = new getAmazonItemDetails_args();
-
 
5841
        args.setItemId(itemId);
-
 
5842
        args.write(prot);
-
 
5843
        prot.writeMessageEnd();
-
 
5844
      }
-
 
5845
 
-
 
5846
      public Amazonlisted getResult() throws org.apache.thrift.TException {
-
 
5847
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5848
          throw new IllegalStateException("Method call not finished!");
-
 
5849
        }
-
 
5850
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5851
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5852
        return (new Client(prot)).recv_getAmazonItemDetails();
-
 
5853
      }
-
 
5854
    }
-
 
5855
 
-
 
5856
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, org.apache.thrift.async.AsyncMethodCallback<updateAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException {
-
 
5857
      checkReady();
-
 
5858
      updateAmazonItemDetails_call method_call = new updateAmazonItemDetails_call(itemId, fbaPrice, sellingPrice, isFba, isNonFba, isInventoryOverride, resultHandler, this, ___protocolFactory, ___transport);
-
 
5859
      this.___currentMethod = method_call;
-
 
5860
      ___manager.call(method_call);
-
 
5861
    }
-
 
5862
 
-
 
5863
    public static class updateAmazonItemDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5864
      private long itemId;
-
 
5865
      private double fbaPrice;
-
 
5866
      private double sellingPrice;
-
 
5867
      private boolean isFba;
-
 
5868
      private boolean isNonFba;
-
 
5869
      private boolean isInventoryOverride;
-
 
5870
      public updateAmazonItemDetails_call(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, org.apache.thrift.async.AsyncMethodCallback<updateAmazonItemDetails_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 {
-
 
5871
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5872
        this.itemId = itemId;
-
 
5873
        this.fbaPrice = fbaPrice;
-
 
5874
        this.sellingPrice = sellingPrice;
-
 
5875
        this.isFba = isFba;
-
 
5876
        this.isNonFba = isNonFba;
-
 
5877
        this.isInventoryOverride = isInventoryOverride;
-
 
5878
      }
-
 
5879
 
-
 
5880
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5881
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAmazonItemDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5882
        updateAmazonItemDetails_args args = new updateAmazonItemDetails_args();
-
 
5883
        args.setItemId(itemId);
-
 
5884
        args.setFbaPrice(fbaPrice);
-
 
5885
        args.setSellingPrice(sellingPrice);
-
 
5886
        args.setIsFba(isFba);
-
 
5887
        args.setIsNonFba(isNonFba);
-
 
5888
        args.setIsInventoryOverride(isInventoryOverride);
-
 
5889
        args.write(prot);
-
 
5890
        prot.writeMessageEnd();
-
 
5891
      }
-
 
5892
 
-
 
5893
      public void getResult() throws org.apache.thrift.TException {
-
 
5894
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5895
          throw new IllegalStateException("Method call not finished!");
-
 
5896
        }
-
 
5897
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5898
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5899
        (new Client(prot)).recv_updateAmazonItemDetails();
-
 
5900
      }
-
 
5901
    }
-
 
5902
 
-
 
5903
    public void addAmazonItem(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<addAmazonItem_call> resultHandler) throws org.apache.thrift.TException {
-
 
5904
      checkReady();
-
 
5905
      addAmazonItem_call method_call = new addAmazonItem_call(amazonlisted, resultHandler, this, ___protocolFactory, ___transport);
-
 
5906
      this.___currentMethod = method_call;
-
 
5907
      ___manager.call(method_call);
-
 
5908
    }
-
 
5909
 
-
 
5910
    public static class addAmazonItem_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5911
      private Amazonlisted amazonlisted;
-
 
5912
      public addAmazonItem_call(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<addAmazonItem_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 {
-
 
5913
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5914
        this.amazonlisted = amazonlisted;
-
 
5915
      }
-
 
5916
 
-
 
5917
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5918
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addAmazonItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5919
        addAmazonItem_args args = new addAmazonItem_args();
-
 
5920
        args.setAmazonlisted(amazonlisted);
-
 
5921
        args.write(prot);
-
 
5922
        prot.writeMessageEnd();
-
 
5923
      }
-
 
5924
 
-
 
5925
      public void getResult() throws org.apache.thrift.TException {
-
 
5926
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5927
          throw new IllegalStateException("Method call not finished!");
-
 
5928
        }
-
 
5929
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5930
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5931
        (new Client(prot)).recv_addAmazonItem();
-
 
5932
      }
-
 
5933
    }
-
 
5934
 
5689
  }
5935
  }
5690
 
5936
 
5691
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
5937
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
5692
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
5938
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
5693
    public Processor(I iface) {
5939
    public Processor(I iface) {
Line 5785... Line 6031...
5785
      processMap.put("addOrUpdateFreebieForItem", new addOrUpdateFreebieForItem());
6031
      processMap.put("addOrUpdateFreebieForItem", new addOrUpdateFreebieForItem());
5786
      processMap.put("addOrUpdateBrandInfo", new addOrUpdateBrandInfo());
6032
      processMap.put("addOrUpdateBrandInfo", new addOrUpdateBrandInfo());
5787
      processMap.put("getBrandInfo", new getBrandInfo());
6033
      processMap.put("getBrandInfo", new getBrandInfo());
5788
      processMap.put("getStorePricing", new getStorePricing());
6034
      processMap.put("getStorePricing", new getStorePricing());
5789
      processMap.put("updateStorePricing", new updateStorePricing());
6035
      processMap.put("updateStorePricing", new updateStorePricing());
-
 
6036
      processMap.put("getAllAmazonListedItems", new getAllAmazonListedItems());
-
 
6037
      processMap.put("getAmazonItemDetails", new getAmazonItemDetails());
-
 
6038
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
-
 
6039
      processMap.put("addAmazonItem", new addAmazonItem());
5790
      return processMap;
6040
      return processMap;
5791
    }
6041
    }
5792
 
6042
 
5793
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6043
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
5794
      public addItem() {
6044
      public addItem() {
Line 7371... Line 7621...
7371
        iface.updateStorePricing(args.sp);
7621
        iface.updateStorePricing(args.sp);
7372
        return result;
7622
        return result;
7373
      }
7623
      }
7374
    }
7624
    }
7375
 
7625
 
-
 
7626
    private static class getAllAmazonListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAmazonListedItems_args> {
-
 
7627
      public getAllAmazonListedItems() {
-
 
7628
        super("getAllAmazonListedItems");
-
 
7629
      }
-
 
7630
 
-
 
7631
      protected getAllAmazonListedItems_args getEmptyArgsInstance() {
-
 
7632
        return new getAllAmazonListedItems_args();
-
 
7633
      }
-
 
7634
 
-
 
7635
      protected getAllAmazonListedItems_result getResult(I iface, getAllAmazonListedItems_args args) throws org.apache.thrift.TException {
-
 
7636
        getAllAmazonListedItems_result result = new getAllAmazonListedItems_result();
-
 
7637
        result.success = iface.getAllAmazonListedItems();
-
 
7638
        return result;
-
 
7639
      }
-
 
7640
    }
-
 
7641
 
-
 
7642
    private static class getAmazonItemDetails<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonItemDetails_args> {
-
 
7643
      public getAmazonItemDetails() {
-
 
7644
        super("getAmazonItemDetails");
-
 
7645
      }
-
 
7646
 
-
 
7647
      protected getAmazonItemDetails_args getEmptyArgsInstance() {
-
 
7648
        return new getAmazonItemDetails_args();
-
 
7649
      }
-
 
7650
 
-
 
7651
      protected getAmazonItemDetails_result getResult(I iface, getAmazonItemDetails_args args) throws org.apache.thrift.TException {
-
 
7652
        getAmazonItemDetails_result result = new getAmazonItemDetails_result();
-
 
7653
        result.success = iface.getAmazonItemDetails(args.itemId);
-
 
7654
        return result;
-
 
7655
      }
-
 
7656
    }
-
 
7657
 
-
 
7658
    private static class updateAmazonItemDetails<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateAmazonItemDetails_args> {
-
 
7659
      public updateAmazonItemDetails() {
-
 
7660
        super("updateAmazonItemDetails");
-
 
7661
      }
-
 
7662
 
-
 
7663
      protected updateAmazonItemDetails_args getEmptyArgsInstance() {
-
 
7664
        return new updateAmazonItemDetails_args();
-
 
7665
      }
-
 
7666
 
-
 
7667
      protected updateAmazonItemDetails_result getResult(I iface, updateAmazonItemDetails_args args) throws org.apache.thrift.TException {
-
 
7668
        updateAmazonItemDetails_result result = new updateAmazonItemDetails_result();
-
 
7669
        iface.updateAmazonItemDetails(args.itemId, args.fbaPrice, args.sellingPrice, args.isFba, args.isNonFba, args.isInventoryOverride);
-
 
7670
        return result;
-
 
7671
      }
-
 
7672
    }
-
 
7673
 
-
 
7674
    private static class addAmazonItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addAmazonItem_args> {
-
 
7675
      public addAmazonItem() {
-
 
7676
        super("addAmazonItem");
-
 
7677
      }
-
 
7678
 
-
 
7679
      protected addAmazonItem_args getEmptyArgsInstance() {
-
 
7680
        return new addAmazonItem_args();
-
 
7681
      }
-
 
7682
 
-
 
7683
      protected addAmazonItem_result getResult(I iface, addAmazonItem_args args) throws org.apache.thrift.TException {
-
 
7684
        addAmazonItem_result result = new addAmazonItem_result();
-
 
7685
        iface.addAmazonItem(args.amazonlisted);
-
 
7686
        return result;
-
 
7687
      }
-
 
7688
    }
-
 
7689
 
7376
  }
7690
  }
7377
 
7691
 
7378
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
7692
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
7379
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
7693
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
7380
 
7694
 
Line 65983... Line 66297...
65983
      boolean first = true;
66297
      boolean first = true;
65984
 
66298
 
65985
      sb.append(")");
66299
      sb.append(")");
65986
      return sb.toString();
66300
      return sb.toString();
65987
    }
66301
    }
-
 
66302
 
-
 
66303
    public void validate() throws org.apache.thrift.TException {
-
 
66304
      // check for required fields
-
 
66305
    }
-
 
66306
 
-
 
66307
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
66308
      try {
-
 
66309
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
66310
      } catch (org.apache.thrift.TException te) {
-
 
66311
        throw new java.io.IOException(te);
-
 
66312
      }
-
 
66313
    }
-
 
66314
 
-
 
66315
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
66316
      try {
-
 
66317
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
66318
      } catch (org.apache.thrift.TException te) {
-
 
66319
        throw new java.io.IOException(te);
-
 
66320
      }
-
 
66321
    }
-
 
66322
 
-
 
66323
  }
-
 
66324
 
-
 
66325
  public static class getAllAmazonListedItems_args implements org.apache.thrift.TBase<getAllAmazonListedItems_args, getAllAmazonListedItems_args._Fields>, java.io.Serializable, Cloneable   {
-
 
66326
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllAmazonListedItems_args");
-
 
66327
 
-
 
66328
 
-
 
66329
 
-
 
66330
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
66331
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
66332
;
-
 
66333
 
-
 
66334
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
66335
 
-
 
66336
      static {
-
 
66337
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
66338
          byName.put(field.getFieldName(), field);
-
 
66339
        }
-
 
66340
      }
-
 
66341
 
-
 
66342
      /**
-
 
66343
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
66344
       */
-
 
66345
      public static _Fields findByThriftId(int fieldId) {
-
 
66346
        switch(fieldId) {
-
 
66347
          default:
-
 
66348
            return null;
-
 
66349
        }
-
 
66350
      }
-
 
66351
 
-
 
66352
      /**
-
 
66353
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
66354
       * if it is not found.
-
 
66355
       */
-
 
66356
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
66357
        _Fields fields = findByThriftId(fieldId);
-
 
66358
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
66359
        return fields;
-
 
66360
      }
-
 
66361
 
-
 
66362
      /**
-
 
66363
       * Find the _Fields constant that matches name, or null if its not found.
-
 
66364
       */
-
 
66365
      public static _Fields findByName(String name) {
-
 
66366
        return byName.get(name);
-
 
66367
      }
-
 
66368
 
-
 
66369
      private final short _thriftId;
-
 
66370
      private final String _fieldName;
-
 
66371
 
-
 
66372
      _Fields(short thriftId, String fieldName) {
-
 
66373
        _thriftId = thriftId;
-
 
66374
        _fieldName = fieldName;
-
 
66375
      }
-
 
66376
 
-
 
66377
      public short getThriftFieldId() {
-
 
66378
        return _thriftId;
-
 
66379
      }
-
 
66380
 
-
 
66381
      public String getFieldName() {
-
 
66382
        return _fieldName;
-
 
66383
      }
-
 
66384
    }
-
 
66385
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
66386
    static {
-
 
66387
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
66388
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
66389
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllAmazonListedItems_args.class, metaDataMap);
-
 
66390
    }
-
 
66391
 
-
 
66392
    public getAllAmazonListedItems_args() {
-
 
66393
    }
-
 
66394
 
-
 
66395
    /**
-
 
66396
     * Performs a deep copy on <i>other</i>.
-
 
66397
     */
-
 
66398
    public getAllAmazonListedItems_args(getAllAmazonListedItems_args other) {
-
 
66399
    }
-
 
66400
 
-
 
66401
    public getAllAmazonListedItems_args deepCopy() {
-
 
66402
      return new getAllAmazonListedItems_args(this);
-
 
66403
    }
-
 
66404
 
-
 
66405
    @Override
-
 
66406
    public void clear() {
-
 
66407
    }
-
 
66408
 
-
 
66409
    public void setFieldValue(_Fields field, Object value) {
-
 
66410
      switch (field) {
-
 
66411
      }
-
 
66412
    }
-
 
66413
 
-
 
66414
    public Object getFieldValue(_Fields field) {
-
 
66415
      switch (field) {
-
 
66416
      }
-
 
66417
      throw new IllegalStateException();
-
 
66418
    }
-
 
66419
 
-
 
66420
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
66421
    public boolean isSet(_Fields field) {
-
 
66422
      if (field == null) {
-
 
66423
        throw new IllegalArgumentException();
-
 
66424
      }
-
 
66425
 
-
 
66426
      switch (field) {
-
 
66427
      }
-
 
66428
      throw new IllegalStateException();
-
 
66429
    }
-
 
66430
 
-
 
66431
    @Override
-
 
66432
    public boolean equals(Object that) {
-
 
66433
      if (that == null)
-
 
66434
        return false;
-
 
66435
      if (that instanceof getAllAmazonListedItems_args)
-
 
66436
        return this.equals((getAllAmazonListedItems_args)that);
-
 
66437
      return false;
-
 
66438
    }
-
 
66439
 
-
 
66440
    public boolean equals(getAllAmazonListedItems_args that) {
-
 
66441
      if (that == null)
-
 
66442
        return false;
-
 
66443
 
-
 
66444
      return true;
-
 
66445
    }
-
 
66446
 
-
 
66447
    @Override
-
 
66448
    public int hashCode() {
-
 
66449
      return 0;
-
 
66450
    }
-
 
66451
 
-
 
66452
    public int compareTo(getAllAmazonListedItems_args other) {
-
 
66453
      if (!getClass().equals(other.getClass())) {
-
 
66454
        return getClass().getName().compareTo(other.getClass().getName());
-
 
66455
      }
-
 
66456
 
-
 
66457
      int lastComparison = 0;
-
 
66458
      getAllAmazonListedItems_args typedOther = (getAllAmazonListedItems_args)other;
-
 
66459
 
-
 
66460
      return 0;
-
 
66461
    }
-
 
66462
 
-
 
66463
    public _Fields fieldForId(int fieldId) {
-
 
66464
      return _Fields.findByThriftId(fieldId);
-
 
66465
    }
-
 
66466
 
-
 
66467
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
66468
      org.apache.thrift.protocol.TField field;
-
 
66469
      iprot.readStructBegin();
-
 
66470
      while (true)
-
 
66471
      {
-
 
66472
        field = iprot.readFieldBegin();
-
 
66473
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
66474
          break;
-
 
66475
        }
-
 
66476
        switch (field.id) {
-
 
66477
          default:
-
 
66478
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66479
        }
-
 
66480
        iprot.readFieldEnd();
-
 
66481
      }
-
 
66482
      iprot.readStructEnd();
-
 
66483
      validate();
-
 
66484
    }
-
 
66485
 
-
 
66486
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
66487
      validate();
-
 
66488
 
-
 
66489
      oprot.writeStructBegin(STRUCT_DESC);
-
 
66490
      oprot.writeFieldStop();
-
 
66491
      oprot.writeStructEnd();
-
 
66492
    }
-
 
66493
 
-
 
66494
    @Override
-
 
66495
    public String toString() {
-
 
66496
      StringBuilder sb = new StringBuilder("getAllAmazonListedItems_args(");
-
 
66497
      boolean first = true;
-
 
66498
 
-
 
66499
      sb.append(")");
-
 
66500
      return sb.toString();
-
 
66501
    }
-
 
66502
 
-
 
66503
    public void validate() throws org.apache.thrift.TException {
-
 
66504
      // check for required fields
-
 
66505
    }
-
 
66506
 
-
 
66507
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
66508
      try {
-
 
66509
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
66510
      } catch (org.apache.thrift.TException te) {
-
 
66511
        throw new java.io.IOException(te);
-
 
66512
      }
-
 
66513
    }
-
 
66514
 
-
 
66515
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
66516
      try {
-
 
66517
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
66518
      } catch (org.apache.thrift.TException te) {
-
 
66519
        throw new java.io.IOException(te);
-
 
66520
      }
-
 
66521
    }
-
 
66522
 
-
 
66523
  }
-
 
66524
 
-
 
66525
  public static class getAllAmazonListedItems_result implements org.apache.thrift.TBase<getAllAmazonListedItems_result, getAllAmazonListedItems_result._Fields>, java.io.Serializable, Cloneable   {
-
 
66526
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllAmazonListedItems_result");
-
 
66527
 
-
 
66528
    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);
-
 
66529
 
-
 
66530
    private List<Amazonlisted> success; // required
-
 
66531
 
-
 
66532
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
66533
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
66534
      SUCCESS((short)0, "success");
-
 
66535
 
-
 
66536
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
66537
 
-
 
66538
      static {
-
 
66539
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
66540
          byName.put(field.getFieldName(), field);
-
 
66541
        }
-
 
66542
      }
-
 
66543
 
-
 
66544
      /**
-
 
66545
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
66546
       */
-
 
66547
      public static _Fields findByThriftId(int fieldId) {
-
 
66548
        switch(fieldId) {
-
 
66549
          case 0: // SUCCESS
-
 
66550
            return SUCCESS;
-
 
66551
          default:
-
 
66552
            return null;
-
 
66553
        }
-
 
66554
      }
-
 
66555
 
-
 
66556
      /**
-
 
66557
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
66558
       * if it is not found.
-
 
66559
       */
-
 
66560
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
66561
        _Fields fields = findByThriftId(fieldId);
-
 
66562
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
66563
        return fields;
-
 
66564
      }
-
 
66565
 
-
 
66566
      /**
-
 
66567
       * Find the _Fields constant that matches name, or null if its not found.
-
 
66568
       */
-
 
66569
      public static _Fields findByName(String name) {
-
 
66570
        return byName.get(name);
-
 
66571
      }
-
 
66572
 
-
 
66573
      private final short _thriftId;
-
 
66574
      private final String _fieldName;
-
 
66575
 
-
 
66576
      _Fields(short thriftId, String fieldName) {
-
 
66577
        _thriftId = thriftId;
-
 
66578
        _fieldName = fieldName;
-
 
66579
      }
-
 
66580
 
-
 
66581
      public short getThriftFieldId() {
-
 
66582
        return _thriftId;
-
 
66583
      }
-
 
66584
 
-
 
66585
      public String getFieldName() {
-
 
66586
        return _fieldName;
-
 
66587
      }
-
 
66588
    }
-
 
66589
 
-
 
66590
    // isset id assignments
-
 
66591
 
-
 
66592
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
66593
    static {
-
 
66594
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
66595
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
66596
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
66597
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class))));
-
 
66598
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
66599
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllAmazonListedItems_result.class, metaDataMap);
-
 
66600
    }
-
 
66601
 
-
 
66602
    public getAllAmazonListedItems_result() {
-
 
66603
    }
-
 
66604
 
-
 
66605
    public getAllAmazonListedItems_result(
-
 
66606
      List<Amazonlisted> success)
-
 
66607
    {
-
 
66608
      this();
-
 
66609
      this.success = success;
-
 
66610
    }
-
 
66611
 
-
 
66612
    /**
-
 
66613
     * Performs a deep copy on <i>other</i>.
-
 
66614
     */
-
 
66615
    public getAllAmazonListedItems_result(getAllAmazonListedItems_result other) {
-
 
66616
      if (other.isSetSuccess()) {
-
 
66617
        List<Amazonlisted> __this__success = new ArrayList<Amazonlisted>();
-
 
66618
        for (Amazonlisted other_element : other.success) {
-
 
66619
          __this__success.add(new Amazonlisted(other_element));
-
 
66620
        }
-
 
66621
        this.success = __this__success;
-
 
66622
      }
-
 
66623
    }
-
 
66624
 
-
 
66625
    public getAllAmazonListedItems_result deepCopy() {
-
 
66626
      return new getAllAmazonListedItems_result(this);
-
 
66627
    }
-
 
66628
 
-
 
66629
    @Override
-
 
66630
    public void clear() {
-
 
66631
      this.success = null;
-
 
66632
    }
-
 
66633
 
-
 
66634
    public int getSuccessSize() {
-
 
66635
      return (this.success == null) ? 0 : this.success.size();
-
 
66636
    }
-
 
66637
 
-
 
66638
    public java.util.Iterator<Amazonlisted> getSuccessIterator() {
-
 
66639
      return (this.success == null) ? null : this.success.iterator();
-
 
66640
    }
-
 
66641
 
-
 
66642
    public void addToSuccess(Amazonlisted elem) {
-
 
66643
      if (this.success == null) {
-
 
66644
        this.success = new ArrayList<Amazonlisted>();
-
 
66645
      }
-
 
66646
      this.success.add(elem);
-
 
66647
    }
-
 
66648
 
-
 
66649
    public List<Amazonlisted> getSuccess() {
-
 
66650
      return this.success;
-
 
66651
    }
-
 
66652
 
-
 
66653
    public void setSuccess(List<Amazonlisted> success) {
-
 
66654
      this.success = success;
-
 
66655
    }
-
 
66656
 
-
 
66657
    public void unsetSuccess() {
-
 
66658
      this.success = null;
-
 
66659
    }
-
 
66660
 
-
 
66661
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
66662
    public boolean isSetSuccess() {
-
 
66663
      return this.success != null;
-
 
66664
    }
-
 
66665
 
-
 
66666
    public void setSuccessIsSet(boolean value) {
-
 
66667
      if (!value) {
-
 
66668
        this.success = null;
-
 
66669
      }
-
 
66670
    }
-
 
66671
 
-
 
66672
    public void setFieldValue(_Fields field, Object value) {
-
 
66673
      switch (field) {
-
 
66674
      case SUCCESS:
-
 
66675
        if (value == null) {
-
 
66676
          unsetSuccess();
-
 
66677
        } else {
-
 
66678
          setSuccess((List<Amazonlisted>)value);
-
 
66679
        }
-
 
66680
        break;
-
 
66681
 
-
 
66682
      }
-
 
66683
    }
-
 
66684
 
-
 
66685
    public Object getFieldValue(_Fields field) {
-
 
66686
      switch (field) {
-
 
66687
      case SUCCESS:
-
 
66688
        return getSuccess();
-
 
66689
 
-
 
66690
      }
-
 
66691
      throw new IllegalStateException();
-
 
66692
    }
-
 
66693
 
-
 
66694
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
66695
    public boolean isSet(_Fields field) {
-
 
66696
      if (field == null) {
-
 
66697
        throw new IllegalArgumentException();
-
 
66698
      }
-
 
66699
 
-
 
66700
      switch (field) {
-
 
66701
      case SUCCESS:
-
 
66702
        return isSetSuccess();
-
 
66703
      }
-
 
66704
      throw new IllegalStateException();
-
 
66705
    }
-
 
66706
 
-
 
66707
    @Override
-
 
66708
    public boolean equals(Object that) {
-
 
66709
      if (that == null)
-
 
66710
        return false;
-
 
66711
      if (that instanceof getAllAmazonListedItems_result)
-
 
66712
        return this.equals((getAllAmazonListedItems_result)that);
-
 
66713
      return false;
-
 
66714
    }
-
 
66715
 
-
 
66716
    public boolean equals(getAllAmazonListedItems_result that) {
-
 
66717
      if (that == null)
-
 
66718
        return false;
-
 
66719
 
-
 
66720
      boolean this_present_success = true && this.isSetSuccess();
-
 
66721
      boolean that_present_success = true && that.isSetSuccess();
-
 
66722
      if (this_present_success || that_present_success) {
-
 
66723
        if (!(this_present_success && that_present_success))
-
 
66724
          return false;
-
 
66725
        if (!this.success.equals(that.success))
-
 
66726
          return false;
-
 
66727
      }
-
 
66728
 
-
 
66729
      return true;
-
 
66730
    }
-
 
66731
 
-
 
66732
    @Override
-
 
66733
    public int hashCode() {
-
 
66734
      return 0;
-
 
66735
    }
-
 
66736
 
-
 
66737
    public int compareTo(getAllAmazonListedItems_result other) {
-
 
66738
      if (!getClass().equals(other.getClass())) {
-
 
66739
        return getClass().getName().compareTo(other.getClass().getName());
-
 
66740
      }
-
 
66741
 
-
 
66742
      int lastComparison = 0;
-
 
66743
      getAllAmazonListedItems_result typedOther = (getAllAmazonListedItems_result)other;
-
 
66744
 
-
 
66745
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
66746
      if (lastComparison != 0) {
-
 
66747
        return lastComparison;
-
 
66748
      }
-
 
66749
      if (isSetSuccess()) {
-
 
66750
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
66751
        if (lastComparison != 0) {
-
 
66752
          return lastComparison;
-
 
66753
        }
-
 
66754
      }
-
 
66755
      return 0;
-
 
66756
    }
-
 
66757
 
-
 
66758
    public _Fields fieldForId(int fieldId) {
-
 
66759
      return _Fields.findByThriftId(fieldId);
-
 
66760
    }
-
 
66761
 
-
 
66762
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
66763
      org.apache.thrift.protocol.TField field;
-
 
66764
      iprot.readStructBegin();
-
 
66765
      while (true)
-
 
66766
      {
-
 
66767
        field = iprot.readFieldBegin();
-
 
66768
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
66769
          break;
-
 
66770
        }
-
 
66771
        switch (field.id) {
-
 
66772
          case 0: // SUCCESS
-
 
66773
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
66774
              {
-
 
66775
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
-
 
66776
                this.success = new ArrayList<Amazonlisted>(_list175.size);
-
 
66777
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
-
 
66778
                {
-
 
66779
                  Amazonlisted _elem177; // required
-
 
66780
                  _elem177 = new Amazonlisted();
-
 
66781
                  _elem177.read(iprot);
-
 
66782
                  this.success.add(_elem177);
-
 
66783
                }
-
 
66784
                iprot.readListEnd();
-
 
66785
              }
-
 
66786
            } else { 
-
 
66787
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66788
            }
-
 
66789
            break;
-
 
66790
          default:
-
 
66791
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66792
        }
-
 
66793
        iprot.readFieldEnd();
-
 
66794
      }
-
 
66795
      iprot.readStructEnd();
-
 
66796
      validate();
-
 
66797
    }
-
 
66798
 
-
 
66799
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
66800
      oprot.writeStructBegin(STRUCT_DESC);
-
 
66801
 
-
 
66802
      if (this.isSetSuccess()) {
-
 
66803
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
66804
        {
-
 
66805
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
66806
          for (Amazonlisted _iter178 : this.success)
-
 
66807
          {
-
 
66808
            _iter178.write(oprot);
-
 
66809
          }
-
 
66810
          oprot.writeListEnd();
-
 
66811
        }
-
 
66812
        oprot.writeFieldEnd();
-
 
66813
      }
-
 
66814
      oprot.writeFieldStop();
-
 
66815
      oprot.writeStructEnd();
-
 
66816
    }
-
 
66817
 
-
 
66818
    @Override
-
 
66819
    public String toString() {
-
 
66820
      StringBuilder sb = new StringBuilder("getAllAmazonListedItems_result(");
-
 
66821
      boolean first = true;
-
 
66822
 
-
 
66823
      sb.append("success:");
-
 
66824
      if (this.success == null) {
-
 
66825
        sb.append("null");
-
 
66826
      } else {
-
 
66827
        sb.append(this.success);
-
 
66828
      }
-
 
66829
      first = false;
-
 
66830
      sb.append(")");
-
 
66831
      return sb.toString();
-
 
66832
    }
-
 
66833
 
-
 
66834
    public void validate() throws org.apache.thrift.TException {
-
 
66835
      // check for required fields
-
 
66836
    }
-
 
66837
 
-
 
66838
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
66839
      try {
-
 
66840
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
66841
      } catch (org.apache.thrift.TException te) {
-
 
66842
        throw new java.io.IOException(te);
-
 
66843
      }
-
 
66844
    }
-
 
66845
 
-
 
66846
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
66847
      try {
-
 
66848
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
66849
      } catch (org.apache.thrift.TException te) {
-
 
66850
        throw new java.io.IOException(te);
-
 
66851
      }
-
 
66852
    }
-
 
66853
 
-
 
66854
  }
-
 
66855
 
-
 
66856
  public static class getAmazonItemDetails_args implements org.apache.thrift.TBase<getAmazonItemDetails_args, getAmazonItemDetails_args._Fields>, java.io.Serializable, Cloneable   {
-
 
66857
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonItemDetails_args");
-
 
66858
 
-
 
66859
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
66860
 
-
 
66861
    private long itemId; // required
-
 
66862
 
-
 
66863
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
66864
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
66865
      ITEM_ID((short)1, "itemId");
-
 
66866
 
-
 
66867
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
66868
 
-
 
66869
      static {
-
 
66870
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
66871
          byName.put(field.getFieldName(), field);
-
 
66872
        }
-
 
66873
      }
-
 
66874
 
-
 
66875
      /**
-
 
66876
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
66877
       */
-
 
66878
      public static _Fields findByThriftId(int fieldId) {
-
 
66879
        switch(fieldId) {
-
 
66880
          case 1: // ITEM_ID
-
 
66881
            return ITEM_ID;
-
 
66882
          default:
-
 
66883
            return null;
-
 
66884
        }
-
 
66885
      }
-
 
66886
 
-
 
66887
      /**
-
 
66888
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
66889
       * if it is not found.
-
 
66890
       */
-
 
66891
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
66892
        _Fields fields = findByThriftId(fieldId);
-
 
66893
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
66894
        return fields;
-
 
66895
      }
-
 
66896
 
-
 
66897
      /**
-
 
66898
       * Find the _Fields constant that matches name, or null if its not found.
-
 
66899
       */
-
 
66900
      public static _Fields findByName(String name) {
-
 
66901
        return byName.get(name);
-
 
66902
      }
-
 
66903
 
-
 
66904
      private final short _thriftId;
-
 
66905
      private final String _fieldName;
-
 
66906
 
-
 
66907
      _Fields(short thriftId, String fieldName) {
-
 
66908
        _thriftId = thriftId;
-
 
66909
        _fieldName = fieldName;
-
 
66910
      }
-
 
66911
 
-
 
66912
      public short getThriftFieldId() {
-
 
66913
        return _thriftId;
-
 
66914
      }
-
 
66915
 
-
 
66916
      public String getFieldName() {
-
 
66917
        return _fieldName;
-
 
66918
      }
-
 
66919
    }
-
 
66920
 
-
 
66921
    // isset id assignments
-
 
66922
    private static final int __ITEMID_ISSET_ID = 0;
-
 
66923
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
66924
 
-
 
66925
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
66926
    static {
-
 
66927
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
66928
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
66929
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
66930
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
66931
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonItemDetails_args.class, metaDataMap);
-
 
66932
    }
-
 
66933
 
-
 
66934
    public getAmazonItemDetails_args() {
-
 
66935
    }
-
 
66936
 
-
 
66937
    public getAmazonItemDetails_args(
-
 
66938
      long itemId)
-
 
66939
    {
-
 
66940
      this();
-
 
66941
      this.itemId = itemId;
-
 
66942
      setItemIdIsSet(true);
-
 
66943
    }
-
 
66944
 
-
 
66945
    /**
-
 
66946
     * Performs a deep copy on <i>other</i>.
-
 
66947
     */
-
 
66948
    public getAmazonItemDetails_args(getAmazonItemDetails_args other) {
-
 
66949
      __isset_bit_vector.clear();
-
 
66950
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
66951
      this.itemId = other.itemId;
-
 
66952
    }
-
 
66953
 
-
 
66954
    public getAmazonItemDetails_args deepCopy() {
-
 
66955
      return new getAmazonItemDetails_args(this);
-
 
66956
    }
-
 
66957
 
-
 
66958
    @Override
-
 
66959
    public void clear() {
-
 
66960
      setItemIdIsSet(false);
-
 
66961
      this.itemId = 0;
-
 
66962
    }
-
 
66963
 
-
 
66964
    public long getItemId() {
-
 
66965
      return this.itemId;
-
 
66966
    }
-
 
66967
 
-
 
66968
    public void setItemId(long itemId) {
-
 
66969
      this.itemId = itemId;
-
 
66970
      setItemIdIsSet(true);
-
 
66971
    }
-
 
66972
 
-
 
66973
    public void unsetItemId() {
-
 
66974
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
66975
    }
-
 
66976
 
-
 
66977
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
66978
    public boolean isSetItemId() {
-
 
66979
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
66980
    }
-
 
66981
 
-
 
66982
    public void setItemIdIsSet(boolean value) {
-
 
66983
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
66984
    }
-
 
66985
 
-
 
66986
    public void setFieldValue(_Fields field, Object value) {
-
 
66987
      switch (field) {
-
 
66988
      case ITEM_ID:
-
 
66989
        if (value == null) {
-
 
66990
          unsetItemId();
-
 
66991
        } else {
-
 
66992
          setItemId((Long)value);
-
 
66993
        }
-
 
66994
        break;
-
 
66995
 
-
 
66996
      }
-
 
66997
    }
-
 
66998
 
-
 
66999
    public Object getFieldValue(_Fields field) {
-
 
67000
      switch (field) {
-
 
67001
      case ITEM_ID:
-
 
67002
        return Long.valueOf(getItemId());
-
 
67003
 
-
 
67004
      }
-
 
67005
      throw new IllegalStateException();
-
 
67006
    }
-
 
67007
 
-
 
67008
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
67009
    public boolean isSet(_Fields field) {
-
 
67010
      if (field == null) {
-
 
67011
        throw new IllegalArgumentException();
-
 
67012
      }
-
 
67013
 
-
 
67014
      switch (field) {
-
 
67015
      case ITEM_ID:
-
 
67016
        return isSetItemId();
-
 
67017
      }
-
 
67018
      throw new IllegalStateException();
-
 
67019
    }
-
 
67020
 
-
 
67021
    @Override
-
 
67022
    public boolean equals(Object that) {
-
 
67023
      if (that == null)
-
 
67024
        return false;
-
 
67025
      if (that instanceof getAmazonItemDetails_args)
-
 
67026
        return this.equals((getAmazonItemDetails_args)that);
-
 
67027
      return false;
-
 
67028
    }
-
 
67029
 
-
 
67030
    public boolean equals(getAmazonItemDetails_args that) {
-
 
67031
      if (that == null)
-
 
67032
        return false;
-
 
67033
 
-
 
67034
      boolean this_present_itemId = true;
-
 
67035
      boolean that_present_itemId = true;
-
 
67036
      if (this_present_itemId || that_present_itemId) {
-
 
67037
        if (!(this_present_itemId && that_present_itemId))
-
 
67038
          return false;
-
 
67039
        if (this.itemId != that.itemId)
-
 
67040
          return false;
-
 
67041
      }
-
 
67042
 
-
 
67043
      return true;
-
 
67044
    }
-
 
67045
 
-
 
67046
    @Override
-
 
67047
    public int hashCode() {
-
 
67048
      return 0;
-
 
67049
    }
-
 
67050
 
-
 
67051
    public int compareTo(getAmazonItemDetails_args other) {
-
 
67052
      if (!getClass().equals(other.getClass())) {
-
 
67053
        return getClass().getName().compareTo(other.getClass().getName());
-
 
67054
      }
-
 
67055
 
-
 
67056
      int lastComparison = 0;
-
 
67057
      getAmazonItemDetails_args typedOther = (getAmazonItemDetails_args)other;
-
 
67058
 
-
 
67059
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
67060
      if (lastComparison != 0) {
-
 
67061
        return lastComparison;
-
 
67062
      }
-
 
67063
      if (isSetItemId()) {
-
 
67064
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
67065
        if (lastComparison != 0) {
-
 
67066
          return lastComparison;
-
 
67067
        }
-
 
67068
      }
-
 
67069
      return 0;
-
 
67070
    }
-
 
67071
 
-
 
67072
    public _Fields fieldForId(int fieldId) {
-
 
67073
      return _Fields.findByThriftId(fieldId);
-
 
67074
    }
-
 
67075
 
-
 
67076
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
67077
      org.apache.thrift.protocol.TField field;
-
 
67078
      iprot.readStructBegin();
-
 
67079
      while (true)
-
 
67080
      {
-
 
67081
        field = iprot.readFieldBegin();
-
 
67082
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
67083
          break;
-
 
67084
        }
-
 
67085
        switch (field.id) {
-
 
67086
          case 1: // ITEM_ID
-
 
67087
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
67088
              this.itemId = iprot.readI64();
-
 
67089
              setItemIdIsSet(true);
-
 
67090
            } else { 
-
 
67091
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
67092
            }
-
 
67093
            break;
-
 
67094
          default:
-
 
67095
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
67096
        }
-
 
67097
        iprot.readFieldEnd();
-
 
67098
      }
-
 
67099
      iprot.readStructEnd();
-
 
67100
      validate();
-
 
67101
    }
-
 
67102
 
-
 
67103
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
67104
      validate();
-
 
67105
 
-
 
67106
      oprot.writeStructBegin(STRUCT_DESC);
-
 
67107
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
67108
      oprot.writeI64(this.itemId);
-
 
67109
      oprot.writeFieldEnd();
-
 
67110
      oprot.writeFieldStop();
-
 
67111
      oprot.writeStructEnd();
-
 
67112
    }
-
 
67113
 
-
 
67114
    @Override
-
 
67115
    public String toString() {
-
 
67116
      StringBuilder sb = new StringBuilder("getAmazonItemDetails_args(");
-
 
67117
      boolean first = true;
-
 
67118
 
-
 
67119
      sb.append("itemId:");
-
 
67120
      sb.append(this.itemId);
-
 
67121
      first = false;
-
 
67122
      sb.append(")");
-
 
67123
      return sb.toString();
-
 
67124
    }
-
 
67125
 
-
 
67126
    public void validate() throws org.apache.thrift.TException {
-
 
67127
      // check for required fields
-
 
67128
    }
-
 
67129
 
-
 
67130
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
67131
      try {
-
 
67132
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
67133
      } catch (org.apache.thrift.TException te) {
-
 
67134
        throw new java.io.IOException(te);
-
 
67135
      }
-
 
67136
    }
-
 
67137
 
-
 
67138
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
67139
      try {
-
 
67140
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
67141
        __isset_bit_vector = new BitSet(1);
-
 
67142
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
67143
      } catch (org.apache.thrift.TException te) {
-
 
67144
        throw new java.io.IOException(te);
-
 
67145
      }
-
 
67146
    }
-
 
67147
 
-
 
67148
  }
-
 
67149
 
-
 
67150
  public static class getAmazonItemDetails_result implements org.apache.thrift.TBase<getAmazonItemDetails_result, getAmazonItemDetails_result._Fields>, java.io.Serializable, Cloneable   {
-
 
67151
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonItemDetails_result");
-
 
67152
 
-
 
67153
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
67154
 
-
 
67155
    private Amazonlisted success; // required
-
 
67156
 
-
 
67157
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
67158
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
67159
      SUCCESS((short)0, "success");
-
 
67160
 
-
 
67161
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
67162
 
-
 
67163
      static {
-
 
67164
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
67165
          byName.put(field.getFieldName(), field);
-
 
67166
        }
-
 
67167
      }
-
 
67168
 
-
 
67169
      /**
-
 
67170
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
67171
       */
-
 
67172
      public static _Fields findByThriftId(int fieldId) {
-
 
67173
        switch(fieldId) {
-
 
67174
          case 0: // SUCCESS
-
 
67175
            return SUCCESS;
-
 
67176
          default:
-
 
67177
            return null;
-
 
67178
        }
-
 
67179
      }
-
 
67180
 
-
 
67181
      /**
-
 
67182
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
67183
       * if it is not found.
-
 
67184
       */
-
 
67185
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
67186
        _Fields fields = findByThriftId(fieldId);
-
 
67187
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
67188
        return fields;
-
 
67189
      }
-
 
67190
 
-
 
67191
      /**
-
 
67192
       * Find the _Fields constant that matches name, or null if its not found.
-
 
67193
       */
-
 
67194
      public static _Fields findByName(String name) {
-
 
67195
        return byName.get(name);
-
 
67196
      }
-
 
67197
 
-
 
67198
      private final short _thriftId;
-
 
67199
      private final String _fieldName;
-
 
67200
 
-
 
67201
      _Fields(short thriftId, String fieldName) {
-
 
67202
        _thriftId = thriftId;
-
 
67203
        _fieldName = fieldName;
-
 
67204
      }
-
 
67205
 
-
 
67206
      public short getThriftFieldId() {
-
 
67207
        return _thriftId;
-
 
67208
      }
-
 
67209
 
-
 
67210
      public String getFieldName() {
-
 
67211
        return _fieldName;
-
 
67212
      }
-
 
67213
    }
-
 
67214
 
-
 
67215
    // isset id assignments
-
 
67216
 
-
 
67217
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
67218
    static {
-
 
67219
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
67220
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67221
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class)));
-
 
67222
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
67223
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonItemDetails_result.class, metaDataMap);
-
 
67224
    }
-
 
67225
 
-
 
67226
    public getAmazonItemDetails_result() {
-
 
67227
    }
-
 
67228
 
-
 
67229
    public getAmazonItemDetails_result(
-
 
67230
      Amazonlisted success)
-
 
67231
    {
-
 
67232
      this();
-
 
67233
      this.success = success;
-
 
67234
    }
-
 
67235
 
-
 
67236
    /**
-
 
67237
     * Performs a deep copy on <i>other</i>.
-
 
67238
     */
-
 
67239
    public getAmazonItemDetails_result(getAmazonItemDetails_result other) {
-
 
67240
      if (other.isSetSuccess()) {
-
 
67241
        this.success = new Amazonlisted(other.success);
-
 
67242
      }
-
 
67243
    }
-
 
67244
 
-
 
67245
    public getAmazonItemDetails_result deepCopy() {
-
 
67246
      return new getAmazonItemDetails_result(this);
-
 
67247
    }
-
 
67248
 
-
 
67249
    @Override
-
 
67250
    public void clear() {
-
 
67251
      this.success = null;
-
 
67252
    }
-
 
67253
 
-
 
67254
    public Amazonlisted getSuccess() {
-
 
67255
      return this.success;
-
 
67256
    }
-
 
67257
 
-
 
67258
    public void setSuccess(Amazonlisted success) {
-
 
67259
      this.success = success;
-
 
67260
    }
-
 
67261
 
-
 
67262
    public void unsetSuccess() {
-
 
67263
      this.success = null;
-
 
67264
    }
-
 
67265
 
-
 
67266
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
67267
    public boolean isSetSuccess() {
-
 
67268
      return this.success != null;
-
 
67269
    }
-
 
67270
 
-
 
67271
    public void setSuccessIsSet(boolean value) {
-
 
67272
      if (!value) {
-
 
67273
        this.success = null;
-
 
67274
      }
-
 
67275
    }
-
 
67276
 
-
 
67277
    public void setFieldValue(_Fields field, Object value) {
-
 
67278
      switch (field) {
-
 
67279
      case SUCCESS:
-
 
67280
        if (value == null) {
-
 
67281
          unsetSuccess();
-
 
67282
        } else {
-
 
67283
          setSuccess((Amazonlisted)value);
-
 
67284
        }
-
 
67285
        break;
-
 
67286
 
-
 
67287
      }
-
 
67288
    }
-
 
67289
 
-
 
67290
    public Object getFieldValue(_Fields field) {
-
 
67291
      switch (field) {
-
 
67292
      case SUCCESS:
-
 
67293
        return getSuccess();
-
 
67294
 
-
 
67295
      }
-
 
67296
      throw new IllegalStateException();
-
 
67297
    }
-
 
67298
 
-
 
67299
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
67300
    public boolean isSet(_Fields field) {
-
 
67301
      if (field == null) {
-
 
67302
        throw new IllegalArgumentException();
-
 
67303
      }
-
 
67304
 
-
 
67305
      switch (field) {
-
 
67306
      case SUCCESS:
-
 
67307
        return isSetSuccess();
-
 
67308
      }
-
 
67309
      throw new IllegalStateException();
-
 
67310
    }
-
 
67311
 
-
 
67312
    @Override
-
 
67313
    public boolean equals(Object that) {
-
 
67314
      if (that == null)
-
 
67315
        return false;
-
 
67316
      if (that instanceof getAmazonItemDetails_result)
-
 
67317
        return this.equals((getAmazonItemDetails_result)that);
-
 
67318
      return false;
-
 
67319
    }
-
 
67320
 
-
 
67321
    public boolean equals(getAmazonItemDetails_result that) {
-
 
67322
      if (that == null)
-
 
67323
        return false;
-
 
67324
 
-
 
67325
      boolean this_present_success = true && this.isSetSuccess();
-
 
67326
      boolean that_present_success = true && that.isSetSuccess();
-
 
67327
      if (this_present_success || that_present_success) {
-
 
67328
        if (!(this_present_success && that_present_success))
-
 
67329
          return false;
-
 
67330
        if (!this.success.equals(that.success))
-
 
67331
          return false;
-
 
67332
      }
-
 
67333
 
-
 
67334
      return true;
-
 
67335
    }
-
 
67336
 
-
 
67337
    @Override
-
 
67338
    public int hashCode() {
-
 
67339
      return 0;
-
 
67340
    }
-
 
67341
 
-
 
67342
    public int compareTo(getAmazonItemDetails_result other) {
-
 
67343
      if (!getClass().equals(other.getClass())) {
-
 
67344
        return getClass().getName().compareTo(other.getClass().getName());
-
 
67345
      }
-
 
67346
 
-
 
67347
      int lastComparison = 0;
-
 
67348
      getAmazonItemDetails_result typedOther = (getAmazonItemDetails_result)other;
-
 
67349
 
-
 
67350
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
67351
      if (lastComparison != 0) {
-
 
67352
        return lastComparison;
-
 
67353
      }
-
 
67354
      if (isSetSuccess()) {
-
 
67355
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
67356
        if (lastComparison != 0) {
-
 
67357
          return lastComparison;
-
 
67358
        }
-
 
67359
      }
-
 
67360
      return 0;
-
 
67361
    }
-
 
67362
 
-
 
67363
    public _Fields fieldForId(int fieldId) {
-
 
67364
      return _Fields.findByThriftId(fieldId);
-
 
67365
    }
-
 
67366
 
-
 
67367
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
67368
      org.apache.thrift.protocol.TField field;
-
 
67369
      iprot.readStructBegin();
-
 
67370
      while (true)
-
 
67371
      {
-
 
67372
        field = iprot.readFieldBegin();
-
 
67373
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
67374
          break;
-
 
67375
        }
-
 
67376
        switch (field.id) {
-
 
67377
          case 0: // SUCCESS
-
 
67378
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
67379
              this.success = new Amazonlisted();
-
 
67380
              this.success.read(iprot);
-
 
67381
            } else { 
-
 
67382
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
67383
            }
-
 
67384
            break;
-
 
67385
          default:
-
 
67386
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
67387
        }
-
 
67388
        iprot.readFieldEnd();
-
 
67389
      }
-
 
67390
      iprot.readStructEnd();
-
 
67391
      validate();
-
 
67392
    }
-
 
67393
 
-
 
67394
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
67395
      oprot.writeStructBegin(STRUCT_DESC);
-
 
67396
 
-
 
67397
      if (this.isSetSuccess()) {
-
 
67398
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
67399
        this.success.write(oprot);
-
 
67400
        oprot.writeFieldEnd();
-
 
67401
      }
-
 
67402
      oprot.writeFieldStop();
-
 
67403
      oprot.writeStructEnd();
-
 
67404
    }
-
 
67405
 
-
 
67406
    @Override
-
 
67407
    public String toString() {
-
 
67408
      StringBuilder sb = new StringBuilder("getAmazonItemDetails_result(");
-
 
67409
      boolean first = true;
-
 
67410
 
-
 
67411
      sb.append("success:");
-
 
67412
      if (this.success == null) {
-
 
67413
        sb.append("null");
-
 
67414
      } else {
-
 
67415
        sb.append(this.success);
-
 
67416
      }
-
 
67417
      first = false;
-
 
67418
      sb.append(")");
-
 
67419
      return sb.toString();
-
 
67420
    }
-
 
67421
 
-
 
67422
    public void validate() throws org.apache.thrift.TException {
-
 
67423
      // check for required fields
-
 
67424
    }
-
 
67425
 
-
 
67426
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
67427
      try {
-
 
67428
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
67429
      } catch (org.apache.thrift.TException te) {
-
 
67430
        throw new java.io.IOException(te);
-
 
67431
      }
-
 
67432
    }
-
 
67433
 
-
 
67434
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
67435
      try {
-
 
67436
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
67437
      } catch (org.apache.thrift.TException te) {
-
 
67438
        throw new java.io.IOException(te);
-
 
67439
      }
-
 
67440
    }
-
 
67441
 
-
 
67442
  }
-
 
67443
 
-
 
67444
  public static class updateAmazonItemDetails_args implements org.apache.thrift.TBase<updateAmazonItemDetails_args, updateAmazonItemDetails_args._Fields>, java.io.Serializable, Cloneable   {
-
 
67445
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonItemDetails_args");
-
 
67446
 
-
 
67447
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
67448
    private static final org.apache.thrift.protocol.TField FBA_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("fbaPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
-
 
67449
    private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
-
 
67450
    private static final org.apache.thrift.protocol.TField IS_FBA_FIELD_DESC = new org.apache.thrift.protocol.TField("isFba", org.apache.thrift.protocol.TType.BOOL, (short)4);
-
 
67451
    private static final org.apache.thrift.protocol.TField IS_NON_FBA_FIELD_DESC = new org.apache.thrift.protocol.TField("isNonFba", org.apache.thrift.protocol.TType.BOOL, (short)5);
-
 
67452
    private static final org.apache.thrift.protocol.TField IS_INVENTORY_OVERRIDE_FIELD_DESC = new org.apache.thrift.protocol.TField("isInventoryOverride", org.apache.thrift.protocol.TType.BOOL, (short)6);
-
 
67453
 
-
 
67454
    private long itemId; // required
-
 
67455
    private double fbaPrice; // required
-
 
67456
    private double sellingPrice; // required
-
 
67457
    private boolean isFba; // required
-
 
67458
    private boolean isNonFba; // required
-
 
67459
    private boolean isInventoryOverride; // required
-
 
67460
 
-
 
67461
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
67462
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
67463
      ITEM_ID((short)1, "itemId"),
-
 
67464
      FBA_PRICE((short)2, "fbaPrice"),
-
 
67465
      SELLING_PRICE((short)3, "sellingPrice"),
-
 
67466
      IS_FBA((short)4, "isFba"),
-
 
67467
      IS_NON_FBA((short)5, "isNonFba"),
-
 
67468
      IS_INVENTORY_OVERRIDE((short)6, "isInventoryOverride");
-
 
67469
 
-
 
67470
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
67471
 
-
 
67472
      static {
-
 
67473
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
67474
          byName.put(field.getFieldName(), field);
-
 
67475
        }
-
 
67476
      }
-
 
67477
 
-
 
67478
      /**
-
 
67479
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
67480
       */
-
 
67481
      public static _Fields findByThriftId(int fieldId) {
-
 
67482
        switch(fieldId) {
-
 
67483
          case 1: // ITEM_ID
-
 
67484
            return ITEM_ID;
-
 
67485
          case 2: // FBA_PRICE
-
 
67486
            return FBA_PRICE;
-
 
67487
          case 3: // SELLING_PRICE
-
 
67488
            return SELLING_PRICE;
-
 
67489
          case 4: // IS_FBA
-
 
67490
            return IS_FBA;
-
 
67491
          case 5: // IS_NON_FBA
-
 
67492
            return IS_NON_FBA;
-
 
67493
          case 6: // IS_INVENTORY_OVERRIDE
-
 
67494
            return IS_INVENTORY_OVERRIDE;
-
 
67495
          default:
-
 
67496
            return null;
-
 
67497
        }
-
 
67498
      }
-
 
67499
 
-
 
67500
      /**
-
 
67501
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
67502
       * if it is not found.
-
 
67503
       */
-
 
67504
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
67505
        _Fields fields = findByThriftId(fieldId);
-
 
67506
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
67507
        return fields;
-
 
67508
      }
-
 
67509
 
-
 
67510
      /**
-
 
67511
       * Find the _Fields constant that matches name, or null if its not found.
-
 
67512
       */
-
 
67513
      public static _Fields findByName(String name) {
-
 
67514
        return byName.get(name);
-
 
67515
      }
-
 
67516
 
-
 
67517
      private final short _thriftId;
-
 
67518
      private final String _fieldName;
-
 
67519
 
-
 
67520
      _Fields(short thriftId, String fieldName) {
-
 
67521
        _thriftId = thriftId;
-
 
67522
        _fieldName = fieldName;
-
 
67523
      }
-
 
67524
 
-
 
67525
      public short getThriftFieldId() {
-
 
67526
        return _thriftId;
-
 
67527
      }
-
 
67528
 
-
 
67529
      public String getFieldName() {
-
 
67530
        return _fieldName;
-
 
67531
      }
-
 
67532
    }
-
 
67533
 
-
 
67534
    // isset id assignments
-
 
67535
    private static final int __ITEMID_ISSET_ID = 0;
-
 
67536
    private static final int __FBAPRICE_ISSET_ID = 1;
-
 
67537
    private static final int __SELLINGPRICE_ISSET_ID = 2;
-
 
67538
    private static final int __ISFBA_ISSET_ID = 3;
-
 
67539
    private static final int __ISNONFBA_ISSET_ID = 4;
-
 
67540
    private static final int __ISINVENTORYOVERRIDE_ISSET_ID = 5;
-
 
67541
    private BitSet __isset_bit_vector = new BitSet(6);
-
 
67542
 
-
 
67543
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
67544
    static {
-
 
67545
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
67546
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67547
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
67548
      tmpMap.put(_Fields.FBA_PRICE, new org.apache.thrift.meta_data.FieldMetaData("fbaPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67549
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
67550
      tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67551
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
67552
      tmpMap.put(_Fields.IS_FBA, new org.apache.thrift.meta_data.FieldMetaData("isFba", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67553
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
67554
      tmpMap.put(_Fields.IS_NON_FBA, new org.apache.thrift.meta_data.FieldMetaData("isNonFba", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67555
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
67556
      tmpMap.put(_Fields.IS_INVENTORY_OVERRIDE, new org.apache.thrift.meta_data.FieldMetaData("isInventoryOverride", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67557
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
67558
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
67559
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonItemDetails_args.class, metaDataMap);
-
 
67560
    }
-
 
67561
 
-
 
67562
    public updateAmazonItemDetails_args() {
-
 
67563
    }
-
 
67564
 
-
 
67565
    public updateAmazonItemDetails_args(
-
 
67566
      long itemId,
-
 
67567
      double fbaPrice,
-
 
67568
      double sellingPrice,
-
 
67569
      boolean isFba,
-
 
67570
      boolean isNonFba,
-
 
67571
      boolean isInventoryOverride)
-
 
67572
    {
-
 
67573
      this();
-
 
67574
      this.itemId = itemId;
-
 
67575
      setItemIdIsSet(true);
-
 
67576
      this.fbaPrice = fbaPrice;
-
 
67577
      setFbaPriceIsSet(true);
-
 
67578
      this.sellingPrice = sellingPrice;
-
 
67579
      setSellingPriceIsSet(true);
-
 
67580
      this.isFba = isFba;
-
 
67581
      setIsFbaIsSet(true);
-
 
67582
      this.isNonFba = isNonFba;
-
 
67583
      setIsNonFbaIsSet(true);
-
 
67584
      this.isInventoryOverride = isInventoryOverride;
-
 
67585
      setIsInventoryOverrideIsSet(true);
-
 
67586
    }
-
 
67587
 
-
 
67588
    /**
-
 
67589
     * Performs a deep copy on <i>other</i>.
-
 
67590
     */
-
 
67591
    public updateAmazonItemDetails_args(updateAmazonItemDetails_args other) {
-
 
67592
      __isset_bit_vector.clear();
-
 
67593
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
67594
      this.itemId = other.itemId;
-
 
67595
      this.fbaPrice = other.fbaPrice;
-
 
67596
      this.sellingPrice = other.sellingPrice;
-
 
67597
      this.isFba = other.isFba;
-
 
67598
      this.isNonFba = other.isNonFba;
-
 
67599
      this.isInventoryOverride = other.isInventoryOverride;
-
 
67600
    }
-
 
67601
 
-
 
67602
    public updateAmazonItemDetails_args deepCopy() {
-
 
67603
      return new updateAmazonItemDetails_args(this);
-
 
67604
    }
-
 
67605
 
-
 
67606
    @Override
-
 
67607
    public void clear() {
-
 
67608
      setItemIdIsSet(false);
-
 
67609
      this.itemId = 0;
-
 
67610
      setFbaPriceIsSet(false);
-
 
67611
      this.fbaPrice = 0.0;
-
 
67612
      setSellingPriceIsSet(false);
-
 
67613
      this.sellingPrice = 0.0;
-
 
67614
      setIsFbaIsSet(false);
-
 
67615
      this.isFba = false;
-
 
67616
      setIsNonFbaIsSet(false);
-
 
67617
      this.isNonFba = false;
-
 
67618
      setIsInventoryOverrideIsSet(false);
-
 
67619
      this.isInventoryOverride = false;
-
 
67620
    }
-
 
67621
 
-
 
67622
    public long getItemId() {
-
 
67623
      return this.itemId;
-
 
67624
    }
-
 
67625
 
-
 
67626
    public void setItemId(long itemId) {
-
 
67627
      this.itemId = itemId;
-
 
67628
      setItemIdIsSet(true);
-
 
67629
    }
-
 
67630
 
-
 
67631
    public void unsetItemId() {
-
 
67632
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
67633
    }
-
 
67634
 
-
 
67635
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
67636
    public boolean isSetItemId() {
-
 
67637
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
67638
    }
-
 
67639
 
-
 
67640
    public void setItemIdIsSet(boolean value) {
-
 
67641
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
67642
    }
-
 
67643
 
-
 
67644
    public double getFbaPrice() {
-
 
67645
      return this.fbaPrice;
-
 
67646
    }
-
 
67647
 
-
 
67648
    public void setFbaPrice(double fbaPrice) {
-
 
67649
      this.fbaPrice = fbaPrice;
-
 
67650
      setFbaPriceIsSet(true);
-
 
67651
    }
-
 
67652
 
-
 
67653
    public void unsetFbaPrice() {
-
 
67654
      __isset_bit_vector.clear(__FBAPRICE_ISSET_ID);
-
 
67655
    }
-
 
67656
 
-
 
67657
    /** Returns true if field fbaPrice is set (has been assigned a value) and false otherwise */
-
 
67658
    public boolean isSetFbaPrice() {
-
 
67659
      return __isset_bit_vector.get(__FBAPRICE_ISSET_ID);
-
 
67660
    }
-
 
67661
 
-
 
67662
    public void setFbaPriceIsSet(boolean value) {
-
 
67663
      __isset_bit_vector.set(__FBAPRICE_ISSET_ID, value);
-
 
67664
    }
-
 
67665
 
-
 
67666
    public double getSellingPrice() {
-
 
67667
      return this.sellingPrice;
-
 
67668
    }
-
 
67669
 
-
 
67670
    public void setSellingPrice(double sellingPrice) {
-
 
67671
      this.sellingPrice = sellingPrice;
-
 
67672
      setSellingPriceIsSet(true);
-
 
67673
    }
-
 
67674
 
-
 
67675
    public void unsetSellingPrice() {
-
 
67676
      __isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
-
 
67677
    }
-
 
67678
 
-
 
67679
    /** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
-
 
67680
    public boolean isSetSellingPrice() {
-
 
67681
      return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
-
 
67682
    }
-
 
67683
 
-
 
67684
    public void setSellingPriceIsSet(boolean value) {
-
 
67685
      __isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
-
 
67686
    }
-
 
67687
 
-
 
67688
    public boolean isIsFba() {
-
 
67689
      return this.isFba;
-
 
67690
    }
-
 
67691
 
-
 
67692
    public void setIsFba(boolean isFba) {
-
 
67693
      this.isFba = isFba;
-
 
67694
      setIsFbaIsSet(true);
-
 
67695
    }
-
 
67696
 
-
 
67697
    public void unsetIsFba() {
-
 
67698
      __isset_bit_vector.clear(__ISFBA_ISSET_ID);
-
 
67699
    }
-
 
67700
 
-
 
67701
    /** Returns true if field isFba is set (has been assigned a value) and false otherwise */
-
 
67702
    public boolean isSetIsFba() {
-
 
67703
      return __isset_bit_vector.get(__ISFBA_ISSET_ID);
-
 
67704
    }
-
 
67705
 
-
 
67706
    public void setIsFbaIsSet(boolean value) {
-
 
67707
      __isset_bit_vector.set(__ISFBA_ISSET_ID, value);
-
 
67708
    }
-
 
67709
 
-
 
67710
    public boolean isIsNonFba() {
-
 
67711
      return this.isNonFba;
-
 
67712
    }
-
 
67713
 
-
 
67714
    public void setIsNonFba(boolean isNonFba) {
-
 
67715
      this.isNonFba = isNonFba;
-
 
67716
      setIsNonFbaIsSet(true);
-
 
67717
    }
-
 
67718
 
-
 
67719
    public void unsetIsNonFba() {
-
 
67720
      __isset_bit_vector.clear(__ISNONFBA_ISSET_ID);
-
 
67721
    }
-
 
67722
 
-
 
67723
    /** Returns true if field isNonFba is set (has been assigned a value) and false otherwise */
-
 
67724
    public boolean isSetIsNonFba() {
-
 
67725
      return __isset_bit_vector.get(__ISNONFBA_ISSET_ID);
-
 
67726
    }
-
 
67727
 
-
 
67728
    public void setIsNonFbaIsSet(boolean value) {
-
 
67729
      __isset_bit_vector.set(__ISNONFBA_ISSET_ID, value);
-
 
67730
    }
-
 
67731
 
-
 
67732
    public boolean isIsInventoryOverride() {
-
 
67733
      return this.isInventoryOverride;
-
 
67734
    }
-
 
67735
 
-
 
67736
    public void setIsInventoryOverride(boolean isInventoryOverride) {
-
 
67737
      this.isInventoryOverride = isInventoryOverride;
-
 
67738
      setIsInventoryOverrideIsSet(true);
-
 
67739
    }
-
 
67740
 
-
 
67741
    public void unsetIsInventoryOverride() {
-
 
67742
      __isset_bit_vector.clear(__ISINVENTORYOVERRIDE_ISSET_ID);
-
 
67743
    }
-
 
67744
 
-
 
67745
    /** Returns true if field isInventoryOverride is set (has been assigned a value) and false otherwise */
-
 
67746
    public boolean isSetIsInventoryOverride() {
-
 
67747
      return __isset_bit_vector.get(__ISINVENTORYOVERRIDE_ISSET_ID);
-
 
67748
    }
-
 
67749
 
-
 
67750
    public void setIsInventoryOverrideIsSet(boolean value) {
-
 
67751
      __isset_bit_vector.set(__ISINVENTORYOVERRIDE_ISSET_ID, value);
-
 
67752
    }
-
 
67753
 
-
 
67754
    public void setFieldValue(_Fields field, Object value) {
-
 
67755
      switch (field) {
-
 
67756
      case ITEM_ID:
-
 
67757
        if (value == null) {
-
 
67758
          unsetItemId();
-
 
67759
        } else {
-
 
67760
          setItemId((Long)value);
-
 
67761
        }
-
 
67762
        break;
-
 
67763
 
-
 
67764
      case FBA_PRICE:
-
 
67765
        if (value == null) {
-
 
67766
          unsetFbaPrice();
-
 
67767
        } else {
-
 
67768
          setFbaPrice((Double)value);
-
 
67769
        }
-
 
67770
        break;
-
 
67771
 
-
 
67772
      case SELLING_PRICE:
-
 
67773
        if (value == null) {
-
 
67774
          unsetSellingPrice();
-
 
67775
        } else {
-
 
67776
          setSellingPrice((Double)value);
-
 
67777
        }
-
 
67778
        break;
-
 
67779
 
-
 
67780
      case IS_FBA:
-
 
67781
        if (value == null) {
-
 
67782
          unsetIsFba();
-
 
67783
        } else {
-
 
67784
          setIsFba((Boolean)value);
-
 
67785
        }
-
 
67786
        break;
-
 
67787
 
-
 
67788
      case IS_NON_FBA:
-
 
67789
        if (value == null) {
-
 
67790
          unsetIsNonFba();
-
 
67791
        } else {
-
 
67792
          setIsNonFba((Boolean)value);
-
 
67793
        }
-
 
67794
        break;
-
 
67795
 
-
 
67796
      case IS_INVENTORY_OVERRIDE:
-
 
67797
        if (value == null) {
-
 
67798
          unsetIsInventoryOverride();
-
 
67799
        } else {
-
 
67800
          setIsInventoryOverride((Boolean)value);
-
 
67801
        }
-
 
67802
        break;
-
 
67803
 
-
 
67804
      }
-
 
67805
    }
-
 
67806
 
-
 
67807
    public Object getFieldValue(_Fields field) {
-
 
67808
      switch (field) {
-
 
67809
      case ITEM_ID:
-
 
67810
        return Long.valueOf(getItemId());
-
 
67811
 
-
 
67812
      case FBA_PRICE:
-
 
67813
        return Double.valueOf(getFbaPrice());
-
 
67814
 
-
 
67815
      case SELLING_PRICE:
-
 
67816
        return Double.valueOf(getSellingPrice());
-
 
67817
 
-
 
67818
      case IS_FBA:
-
 
67819
        return Boolean.valueOf(isIsFba());
-
 
67820
 
-
 
67821
      case IS_NON_FBA:
-
 
67822
        return Boolean.valueOf(isIsNonFba());
-
 
67823
 
-
 
67824
      case IS_INVENTORY_OVERRIDE:
-
 
67825
        return Boolean.valueOf(isIsInventoryOverride());
-
 
67826
 
-
 
67827
      }
-
 
67828
      throw new IllegalStateException();
-
 
67829
    }
-
 
67830
 
-
 
67831
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
67832
    public boolean isSet(_Fields field) {
-
 
67833
      if (field == null) {
-
 
67834
        throw new IllegalArgumentException();
-
 
67835
      }
-
 
67836
 
-
 
67837
      switch (field) {
-
 
67838
      case ITEM_ID:
-
 
67839
        return isSetItemId();
-
 
67840
      case FBA_PRICE:
-
 
67841
        return isSetFbaPrice();
-
 
67842
      case SELLING_PRICE:
-
 
67843
        return isSetSellingPrice();
-
 
67844
      case IS_FBA:
-
 
67845
        return isSetIsFba();
-
 
67846
      case IS_NON_FBA:
-
 
67847
        return isSetIsNonFba();
-
 
67848
      case IS_INVENTORY_OVERRIDE:
-
 
67849
        return isSetIsInventoryOverride();
-
 
67850
      }
-
 
67851
      throw new IllegalStateException();
-
 
67852
    }
-
 
67853
 
-
 
67854
    @Override
-
 
67855
    public boolean equals(Object that) {
-
 
67856
      if (that == null)
-
 
67857
        return false;
-
 
67858
      if (that instanceof updateAmazonItemDetails_args)
-
 
67859
        return this.equals((updateAmazonItemDetails_args)that);
-
 
67860
      return false;
-
 
67861
    }
-
 
67862
 
-
 
67863
    public boolean equals(updateAmazonItemDetails_args that) {
-
 
67864
      if (that == null)
-
 
67865
        return false;
-
 
67866
 
-
 
67867
      boolean this_present_itemId = true;
-
 
67868
      boolean that_present_itemId = true;
-
 
67869
      if (this_present_itemId || that_present_itemId) {
-
 
67870
        if (!(this_present_itemId && that_present_itemId))
-
 
67871
          return false;
-
 
67872
        if (this.itemId != that.itemId)
-
 
67873
          return false;
-
 
67874
      }
-
 
67875
 
-
 
67876
      boolean this_present_fbaPrice = true;
-
 
67877
      boolean that_present_fbaPrice = true;
-
 
67878
      if (this_present_fbaPrice || that_present_fbaPrice) {
-
 
67879
        if (!(this_present_fbaPrice && that_present_fbaPrice))
-
 
67880
          return false;
-
 
67881
        if (this.fbaPrice != that.fbaPrice)
-
 
67882
          return false;
-
 
67883
      }
-
 
67884
 
-
 
67885
      boolean this_present_sellingPrice = true;
-
 
67886
      boolean that_present_sellingPrice = true;
-
 
67887
      if (this_present_sellingPrice || that_present_sellingPrice) {
-
 
67888
        if (!(this_present_sellingPrice && that_present_sellingPrice))
-
 
67889
          return false;
-
 
67890
        if (this.sellingPrice != that.sellingPrice)
-
 
67891
          return false;
-
 
67892
      }
-
 
67893
 
-
 
67894
      boolean this_present_isFba = true;
-
 
67895
      boolean that_present_isFba = true;
-
 
67896
      if (this_present_isFba || that_present_isFba) {
-
 
67897
        if (!(this_present_isFba && that_present_isFba))
-
 
67898
          return false;
-
 
67899
        if (this.isFba != that.isFba)
-
 
67900
          return false;
-
 
67901
      }
-
 
67902
 
-
 
67903
      boolean this_present_isNonFba = true;
-
 
67904
      boolean that_present_isNonFba = true;
-
 
67905
      if (this_present_isNonFba || that_present_isNonFba) {
-
 
67906
        if (!(this_present_isNonFba && that_present_isNonFba))
-
 
67907
          return false;
-
 
67908
        if (this.isNonFba != that.isNonFba)
-
 
67909
          return false;
-
 
67910
      }
-
 
67911
 
-
 
67912
      boolean this_present_isInventoryOverride = true;
-
 
67913
      boolean that_present_isInventoryOverride = true;
-
 
67914
      if (this_present_isInventoryOverride || that_present_isInventoryOverride) {
-
 
67915
        if (!(this_present_isInventoryOverride && that_present_isInventoryOverride))
-
 
67916
          return false;
-
 
67917
        if (this.isInventoryOverride != that.isInventoryOverride)
-
 
67918
          return false;
-
 
67919
      }
-
 
67920
 
-
 
67921
      return true;
-
 
67922
    }
-
 
67923
 
-
 
67924
    @Override
-
 
67925
    public int hashCode() {
-
 
67926
      return 0;
-
 
67927
    }
-
 
67928
 
-
 
67929
    public int compareTo(updateAmazonItemDetails_args other) {
-
 
67930
      if (!getClass().equals(other.getClass())) {
-
 
67931
        return getClass().getName().compareTo(other.getClass().getName());
-
 
67932
      }
-
 
67933
 
-
 
67934
      int lastComparison = 0;
-
 
67935
      updateAmazonItemDetails_args typedOther = (updateAmazonItemDetails_args)other;
-
 
67936
 
-
 
67937
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
67938
      if (lastComparison != 0) {
-
 
67939
        return lastComparison;
-
 
67940
      }
-
 
67941
      if (isSetItemId()) {
-
 
67942
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
67943
        if (lastComparison != 0) {
-
 
67944
          return lastComparison;
-
 
67945
        }
-
 
67946
      }
-
 
67947
      lastComparison = Boolean.valueOf(isSetFbaPrice()).compareTo(typedOther.isSetFbaPrice());
-
 
67948
      if (lastComparison != 0) {
-
 
67949
        return lastComparison;
-
 
67950
      }
-
 
67951
      if (isSetFbaPrice()) {
-
 
67952
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fbaPrice, typedOther.fbaPrice);
-
 
67953
        if (lastComparison != 0) {
-
 
67954
          return lastComparison;
-
 
67955
        }
-
 
67956
      }
-
 
67957
      lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
-
 
67958
      if (lastComparison != 0) {
-
 
67959
        return lastComparison;
-
 
67960
      }
-
 
67961
      if (isSetSellingPrice()) {
-
 
67962
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
-
 
67963
        if (lastComparison != 0) {
-
 
67964
          return lastComparison;
-
 
67965
        }
-
 
67966
      }
-
 
67967
      lastComparison = Boolean.valueOf(isSetIsFba()).compareTo(typedOther.isSetIsFba());
-
 
67968
      if (lastComparison != 0) {
-
 
67969
        return lastComparison;
-
 
67970
      }
-
 
67971
      if (isSetIsFba()) {
-
 
67972
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isFba, typedOther.isFba);
-
 
67973
        if (lastComparison != 0) {
-
 
67974
          return lastComparison;
-
 
67975
        }
-
 
67976
      }
-
 
67977
      lastComparison = Boolean.valueOf(isSetIsNonFba()).compareTo(typedOther.isSetIsNonFba());
-
 
67978
      if (lastComparison != 0) {
-
 
67979
        return lastComparison;
-
 
67980
      }
-
 
67981
      if (isSetIsNonFba()) {
-
 
67982
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isNonFba, typedOther.isNonFba);
-
 
67983
        if (lastComparison != 0) {
-
 
67984
          return lastComparison;
-
 
67985
        }
-
 
67986
      }
-
 
67987
      lastComparison = Boolean.valueOf(isSetIsInventoryOverride()).compareTo(typedOther.isSetIsInventoryOverride());
-
 
67988
      if (lastComparison != 0) {
-
 
67989
        return lastComparison;
-
 
67990
      }
-
 
67991
      if (isSetIsInventoryOverride()) {
-
 
67992
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isInventoryOverride, typedOther.isInventoryOverride);
-
 
67993
        if (lastComparison != 0) {
-
 
67994
          return lastComparison;
-
 
67995
        }
-
 
67996
      }
-
 
67997
      return 0;
-
 
67998
    }
-
 
67999
 
-
 
68000
    public _Fields fieldForId(int fieldId) {
-
 
68001
      return _Fields.findByThriftId(fieldId);
-
 
68002
    }
-
 
68003
 
-
 
68004
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68005
      org.apache.thrift.protocol.TField field;
-
 
68006
      iprot.readStructBegin();
-
 
68007
      while (true)
-
 
68008
      {
-
 
68009
        field = iprot.readFieldBegin();
-
 
68010
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68011
          break;
-
 
68012
        }
-
 
68013
        switch (field.id) {
-
 
68014
          case 1: // ITEM_ID
-
 
68015
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
68016
              this.itemId = iprot.readI64();
-
 
68017
              setItemIdIsSet(true);
-
 
68018
            } else { 
-
 
68019
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68020
            }
-
 
68021
            break;
-
 
68022
          case 2: // FBA_PRICE
-
 
68023
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
68024
              this.fbaPrice = iprot.readDouble();
-
 
68025
              setFbaPriceIsSet(true);
-
 
68026
            } else { 
-
 
68027
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68028
            }
-
 
68029
            break;
-
 
68030
          case 3: // SELLING_PRICE
-
 
68031
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
68032
              this.sellingPrice = iprot.readDouble();
-
 
68033
              setSellingPriceIsSet(true);
-
 
68034
            } else { 
-
 
68035
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68036
            }
-
 
68037
            break;
-
 
68038
          case 4: // IS_FBA
-
 
68039
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
68040
              this.isFba = iprot.readBool();
-
 
68041
              setIsFbaIsSet(true);
-
 
68042
            } else { 
-
 
68043
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68044
            }
-
 
68045
            break;
-
 
68046
          case 5: // IS_NON_FBA
-
 
68047
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
68048
              this.isNonFba = iprot.readBool();
-
 
68049
              setIsNonFbaIsSet(true);
-
 
68050
            } else { 
-
 
68051
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68052
            }
-
 
68053
            break;
-
 
68054
          case 6: // IS_INVENTORY_OVERRIDE
-
 
68055
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
68056
              this.isInventoryOverride = iprot.readBool();
-
 
68057
              setIsInventoryOverrideIsSet(true);
-
 
68058
            } else { 
-
 
68059
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68060
            }
-
 
68061
            break;
-
 
68062
          default:
-
 
68063
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68064
        }
-
 
68065
        iprot.readFieldEnd();
-
 
68066
      }
-
 
68067
      iprot.readStructEnd();
-
 
68068
      validate();
-
 
68069
    }
-
 
68070
 
-
 
68071
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68072
      validate();
-
 
68073
 
-
 
68074
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68075
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
68076
      oprot.writeI64(this.itemId);
-
 
68077
      oprot.writeFieldEnd();
-
 
68078
      oprot.writeFieldBegin(FBA_PRICE_FIELD_DESC);
-
 
68079
      oprot.writeDouble(this.fbaPrice);
-
 
68080
      oprot.writeFieldEnd();
-
 
68081
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
-
 
68082
      oprot.writeDouble(this.sellingPrice);
-
 
68083
      oprot.writeFieldEnd();
-
 
68084
      oprot.writeFieldBegin(IS_FBA_FIELD_DESC);
-
 
68085
      oprot.writeBool(this.isFba);
-
 
68086
      oprot.writeFieldEnd();
-
 
68087
      oprot.writeFieldBegin(IS_NON_FBA_FIELD_DESC);
-
 
68088
      oprot.writeBool(this.isNonFba);
-
 
68089
      oprot.writeFieldEnd();
-
 
68090
      oprot.writeFieldBegin(IS_INVENTORY_OVERRIDE_FIELD_DESC);
-
 
68091
      oprot.writeBool(this.isInventoryOverride);
-
 
68092
      oprot.writeFieldEnd();
-
 
68093
      oprot.writeFieldStop();
-
 
68094
      oprot.writeStructEnd();
-
 
68095
    }
-
 
68096
 
-
 
68097
    @Override
-
 
68098
    public String toString() {
-
 
68099
      StringBuilder sb = new StringBuilder("updateAmazonItemDetails_args(");
-
 
68100
      boolean first = true;
-
 
68101
 
-
 
68102
      sb.append("itemId:");
-
 
68103
      sb.append(this.itemId);
-
 
68104
      first = false;
-
 
68105
      if (!first) sb.append(", ");
-
 
68106
      sb.append("fbaPrice:");
-
 
68107
      sb.append(this.fbaPrice);
-
 
68108
      first = false;
-
 
68109
      if (!first) sb.append(", ");
-
 
68110
      sb.append("sellingPrice:");
-
 
68111
      sb.append(this.sellingPrice);
-
 
68112
      first = false;
-
 
68113
      if (!first) sb.append(", ");
-
 
68114
      sb.append("isFba:");
-
 
68115
      sb.append(this.isFba);
-
 
68116
      first = false;
-
 
68117
      if (!first) sb.append(", ");
-
 
68118
      sb.append("isNonFba:");
-
 
68119
      sb.append(this.isNonFba);
-
 
68120
      first = false;
-
 
68121
      if (!first) sb.append(", ");
-
 
68122
      sb.append("isInventoryOverride:");
-
 
68123
      sb.append(this.isInventoryOverride);
-
 
68124
      first = false;
-
 
68125
      sb.append(")");
-
 
68126
      return sb.toString();
-
 
68127
    }
-
 
68128
 
-
 
68129
    public void validate() throws org.apache.thrift.TException {
-
 
68130
      // check for required fields
-
 
68131
    }
-
 
68132
 
-
 
68133
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68134
      try {
-
 
68135
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68136
      } catch (org.apache.thrift.TException te) {
-
 
68137
        throw new java.io.IOException(te);
-
 
68138
      }
-
 
68139
    }
-
 
68140
 
-
 
68141
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68142
      try {
-
 
68143
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68144
        __isset_bit_vector = new BitSet(1);
-
 
68145
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68146
      } catch (org.apache.thrift.TException te) {
-
 
68147
        throw new java.io.IOException(te);
-
 
68148
      }
-
 
68149
    }
-
 
68150
 
-
 
68151
  }
-
 
68152
 
-
 
68153
  public static class updateAmazonItemDetails_result implements org.apache.thrift.TBase<updateAmazonItemDetails_result, updateAmazonItemDetails_result._Fields>, java.io.Serializable, Cloneable   {
-
 
68154
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonItemDetails_result");
-
 
68155
 
-
 
68156
 
-
 
68157
 
-
 
68158
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68159
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68160
;
-
 
68161
 
-
 
68162
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68163
 
-
 
68164
      static {
-
 
68165
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68166
          byName.put(field.getFieldName(), field);
-
 
68167
        }
-
 
68168
      }
-
 
68169
 
-
 
68170
      /**
-
 
68171
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68172
       */
-
 
68173
      public static _Fields findByThriftId(int fieldId) {
-
 
68174
        switch(fieldId) {
-
 
68175
          default:
-
 
68176
            return null;
-
 
68177
        }
-
 
68178
      }
-
 
68179
 
-
 
68180
      /**
-
 
68181
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68182
       * if it is not found.
-
 
68183
       */
-
 
68184
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68185
        _Fields fields = findByThriftId(fieldId);
-
 
68186
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68187
        return fields;
-
 
68188
      }
-
 
68189
 
-
 
68190
      /**
-
 
68191
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68192
       */
-
 
68193
      public static _Fields findByName(String name) {
-
 
68194
        return byName.get(name);
-
 
68195
      }
-
 
68196
 
-
 
68197
      private final short _thriftId;
-
 
68198
      private final String _fieldName;
-
 
68199
 
-
 
68200
      _Fields(short thriftId, String fieldName) {
-
 
68201
        _thriftId = thriftId;
-
 
68202
        _fieldName = fieldName;
-
 
68203
      }
-
 
68204
 
-
 
68205
      public short getThriftFieldId() {
-
 
68206
        return _thriftId;
-
 
68207
      }
-
 
68208
 
-
 
68209
      public String getFieldName() {
-
 
68210
        return _fieldName;
-
 
68211
      }
-
 
68212
    }
-
 
68213
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68214
    static {
-
 
68215
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68216
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
68217
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonItemDetails_result.class, metaDataMap);
-
 
68218
    }
-
 
68219
 
-
 
68220
    public updateAmazonItemDetails_result() {
-
 
68221
    }
-
 
68222
 
-
 
68223
    /**
-
 
68224
     * Performs a deep copy on <i>other</i>.
-
 
68225
     */
-
 
68226
    public updateAmazonItemDetails_result(updateAmazonItemDetails_result other) {
-
 
68227
    }
-
 
68228
 
-
 
68229
    public updateAmazonItemDetails_result deepCopy() {
-
 
68230
      return new updateAmazonItemDetails_result(this);
-
 
68231
    }
-
 
68232
 
-
 
68233
    @Override
-
 
68234
    public void clear() {
-
 
68235
    }
-
 
68236
 
-
 
68237
    public void setFieldValue(_Fields field, Object value) {
-
 
68238
      switch (field) {
-
 
68239
      }
-
 
68240
    }
-
 
68241
 
-
 
68242
    public Object getFieldValue(_Fields field) {
-
 
68243
      switch (field) {
-
 
68244
      }
-
 
68245
      throw new IllegalStateException();
-
 
68246
    }
-
 
68247
 
-
 
68248
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
68249
    public boolean isSet(_Fields field) {
-
 
68250
      if (field == null) {
-
 
68251
        throw new IllegalArgumentException();
-
 
68252
      }
-
 
68253
 
-
 
68254
      switch (field) {
-
 
68255
      }
-
 
68256
      throw new IllegalStateException();
-
 
68257
    }
-
 
68258
 
-
 
68259
    @Override
-
 
68260
    public boolean equals(Object that) {
-
 
68261
      if (that == null)
-
 
68262
        return false;
-
 
68263
      if (that instanceof updateAmazonItemDetails_result)
-
 
68264
        return this.equals((updateAmazonItemDetails_result)that);
-
 
68265
      return false;
-
 
68266
    }
-
 
68267
 
-
 
68268
    public boolean equals(updateAmazonItemDetails_result that) {
-
 
68269
      if (that == null)
-
 
68270
        return false;
-
 
68271
 
-
 
68272
      return true;
-
 
68273
    }
-
 
68274
 
-
 
68275
    @Override
-
 
68276
    public int hashCode() {
-
 
68277
      return 0;
-
 
68278
    }
-
 
68279
 
-
 
68280
    public int compareTo(updateAmazonItemDetails_result other) {
-
 
68281
      if (!getClass().equals(other.getClass())) {
-
 
68282
        return getClass().getName().compareTo(other.getClass().getName());
-
 
68283
      }
-
 
68284
 
-
 
68285
      int lastComparison = 0;
-
 
68286
      updateAmazonItemDetails_result typedOther = (updateAmazonItemDetails_result)other;
-
 
68287
 
-
 
68288
      return 0;
-
 
68289
    }
-
 
68290
 
-
 
68291
    public _Fields fieldForId(int fieldId) {
-
 
68292
      return _Fields.findByThriftId(fieldId);
-
 
68293
    }
-
 
68294
 
-
 
68295
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68296
      org.apache.thrift.protocol.TField field;
-
 
68297
      iprot.readStructBegin();
-
 
68298
      while (true)
-
 
68299
      {
-
 
68300
        field = iprot.readFieldBegin();
-
 
68301
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68302
          break;
-
 
68303
        }
-
 
68304
        switch (field.id) {
-
 
68305
          default:
-
 
68306
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68307
        }
-
 
68308
        iprot.readFieldEnd();
-
 
68309
      }
-
 
68310
      iprot.readStructEnd();
-
 
68311
      validate();
-
 
68312
    }
-
 
68313
 
-
 
68314
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68315
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68316
 
-
 
68317
      oprot.writeFieldStop();
-
 
68318
      oprot.writeStructEnd();
-
 
68319
    }
-
 
68320
 
-
 
68321
    @Override
-
 
68322
    public String toString() {
-
 
68323
      StringBuilder sb = new StringBuilder("updateAmazonItemDetails_result(");
-
 
68324
      boolean first = true;
-
 
68325
 
-
 
68326
      sb.append(")");
-
 
68327
      return sb.toString();
-
 
68328
    }
-
 
68329
 
-
 
68330
    public void validate() throws org.apache.thrift.TException {
-
 
68331
      // check for required fields
-
 
68332
    }
-
 
68333
 
-
 
68334
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68335
      try {
-
 
68336
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68337
      } catch (org.apache.thrift.TException te) {
-
 
68338
        throw new java.io.IOException(te);
-
 
68339
      }
-
 
68340
    }
-
 
68341
 
-
 
68342
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68343
      try {
-
 
68344
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68345
      } catch (org.apache.thrift.TException te) {
-
 
68346
        throw new java.io.IOException(te);
-
 
68347
      }
-
 
68348
    }
-
 
68349
 
-
 
68350
  }
-
 
68351
 
-
 
68352
  public static class addAmazonItem_args implements org.apache.thrift.TBase<addAmazonItem_args, addAmazonItem_args._Fields>, java.io.Serializable, Cloneable   {
-
 
68353
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addAmazonItem_args");
-
 
68354
 
-
 
68355
    private static final org.apache.thrift.protocol.TField AMAZONLISTED_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonlisted", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
68356
 
-
 
68357
    private Amazonlisted amazonlisted; // required
-
 
68358
 
-
 
68359
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68360
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68361
      AMAZONLISTED((short)1, "amazonlisted");
-
 
68362
 
-
 
68363
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68364
 
-
 
68365
      static {
-
 
68366
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68367
          byName.put(field.getFieldName(), field);
-
 
68368
        }
-
 
68369
      }
-
 
68370
 
-
 
68371
      /**
-
 
68372
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68373
       */
-
 
68374
      public static _Fields findByThriftId(int fieldId) {
-
 
68375
        switch(fieldId) {
-
 
68376
          case 1: // AMAZONLISTED
-
 
68377
            return AMAZONLISTED;
-
 
68378
          default:
-
 
68379
            return null;
-
 
68380
        }
-
 
68381
      }
-
 
68382
 
-
 
68383
      /**
-
 
68384
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68385
       * if it is not found.
-
 
68386
       */
-
 
68387
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68388
        _Fields fields = findByThriftId(fieldId);
-
 
68389
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68390
        return fields;
-
 
68391
      }
-
 
68392
 
-
 
68393
      /**
-
 
68394
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68395
       */
-
 
68396
      public static _Fields findByName(String name) {
-
 
68397
        return byName.get(name);
-
 
68398
      }
-
 
68399
 
-
 
68400
      private final short _thriftId;
-
 
68401
      private final String _fieldName;
-
 
68402
 
-
 
68403
      _Fields(short thriftId, String fieldName) {
-
 
68404
        _thriftId = thriftId;
-
 
68405
        _fieldName = fieldName;
-
 
68406
      }
-
 
68407
 
-
 
68408
      public short getThriftFieldId() {
-
 
68409
        return _thriftId;
-
 
68410
      }
-
 
68411
 
-
 
68412
      public String getFieldName() {
-
 
68413
        return _fieldName;
-
 
68414
      }
-
 
68415
    }
-
 
68416
 
-
 
68417
    // isset id assignments
-
 
68418
 
-
 
68419
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68420
    static {
-
 
68421
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68422
      tmpMap.put(_Fields.AMAZONLISTED, new org.apache.thrift.meta_data.FieldMetaData("amazonlisted", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68423
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class)));
-
 
68424
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
68425
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addAmazonItem_args.class, metaDataMap);
-
 
68426
    }
-
 
68427
 
-
 
68428
    public addAmazonItem_args() {
-
 
68429
    }
-
 
68430
 
-
 
68431
    public addAmazonItem_args(
-
 
68432
      Amazonlisted amazonlisted)
-
 
68433
    {
-
 
68434
      this();
-
 
68435
      this.amazonlisted = amazonlisted;
-
 
68436
    }
-
 
68437
 
-
 
68438
    /**
-
 
68439
     * Performs a deep copy on <i>other</i>.
-
 
68440
     */
-
 
68441
    public addAmazonItem_args(addAmazonItem_args other) {
-
 
68442
      if (other.isSetAmazonlisted()) {
-
 
68443
        this.amazonlisted = new Amazonlisted(other.amazonlisted);
-
 
68444
      }
-
 
68445
    }
-
 
68446
 
-
 
68447
    public addAmazonItem_args deepCopy() {
-
 
68448
      return new addAmazonItem_args(this);
-
 
68449
    }
-
 
68450
 
-
 
68451
    @Override
-
 
68452
    public void clear() {
-
 
68453
      this.amazonlisted = null;
-
 
68454
    }
-
 
68455
 
-
 
68456
    public Amazonlisted getAmazonlisted() {
-
 
68457
      return this.amazonlisted;
-
 
68458
    }
-
 
68459
 
-
 
68460
    public void setAmazonlisted(Amazonlisted amazonlisted) {
-
 
68461
      this.amazonlisted = amazonlisted;
-
 
68462
    }
-
 
68463
 
-
 
68464
    public void unsetAmazonlisted() {
-
 
68465
      this.amazonlisted = null;
-
 
68466
    }
-
 
68467
 
-
 
68468
    /** Returns true if field amazonlisted is set (has been assigned a value) and false otherwise */
-
 
68469
    public boolean isSetAmazonlisted() {
-
 
68470
      return this.amazonlisted != null;
-
 
68471
    }
-
 
68472
 
-
 
68473
    public void setAmazonlistedIsSet(boolean value) {
-
 
68474
      if (!value) {
-
 
68475
        this.amazonlisted = null;
-
 
68476
      }
-
 
68477
    }
-
 
68478
 
-
 
68479
    public void setFieldValue(_Fields field, Object value) {
-
 
68480
      switch (field) {
-
 
68481
      case AMAZONLISTED:
-
 
68482
        if (value == null) {
-
 
68483
          unsetAmazonlisted();
-
 
68484
        } else {
-
 
68485
          setAmazonlisted((Amazonlisted)value);
-
 
68486
        }
-
 
68487
        break;
-
 
68488
 
-
 
68489
      }
-
 
68490
    }
-
 
68491
 
-
 
68492
    public Object getFieldValue(_Fields field) {
-
 
68493
      switch (field) {
-
 
68494
      case AMAZONLISTED:
-
 
68495
        return getAmazonlisted();
-
 
68496
 
-
 
68497
      }
-
 
68498
      throw new IllegalStateException();
-
 
68499
    }
-
 
68500
 
-
 
68501
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
68502
    public boolean isSet(_Fields field) {
-
 
68503
      if (field == null) {
-
 
68504
        throw new IllegalArgumentException();
-
 
68505
      }
-
 
68506
 
-
 
68507
      switch (field) {
-
 
68508
      case AMAZONLISTED:
-
 
68509
        return isSetAmazonlisted();
-
 
68510
      }
-
 
68511
      throw new IllegalStateException();
-
 
68512
    }
-
 
68513
 
-
 
68514
    @Override
-
 
68515
    public boolean equals(Object that) {
-
 
68516
      if (that == null)
-
 
68517
        return false;
-
 
68518
      if (that instanceof addAmazonItem_args)
-
 
68519
        return this.equals((addAmazonItem_args)that);
-
 
68520
      return false;
-
 
68521
    }
-
 
68522
 
-
 
68523
    public boolean equals(addAmazonItem_args that) {
-
 
68524
      if (that == null)
-
 
68525
        return false;
-
 
68526
 
-
 
68527
      boolean this_present_amazonlisted = true && this.isSetAmazonlisted();
-
 
68528
      boolean that_present_amazonlisted = true && that.isSetAmazonlisted();
-
 
68529
      if (this_present_amazonlisted || that_present_amazonlisted) {
-
 
68530
        if (!(this_present_amazonlisted && that_present_amazonlisted))
-
 
68531
          return false;
-
 
68532
        if (!this.amazonlisted.equals(that.amazonlisted))
-
 
68533
          return false;
-
 
68534
      }
-
 
68535
 
-
 
68536
      return true;
-
 
68537
    }
-
 
68538
 
-
 
68539
    @Override
-
 
68540
    public int hashCode() {
-
 
68541
      return 0;
-
 
68542
    }
-
 
68543
 
-
 
68544
    public int compareTo(addAmazonItem_args other) {
-
 
68545
      if (!getClass().equals(other.getClass())) {
-
 
68546
        return getClass().getName().compareTo(other.getClass().getName());
-
 
68547
      }
-
 
68548
 
-
 
68549
      int lastComparison = 0;
-
 
68550
      addAmazonItem_args typedOther = (addAmazonItem_args)other;
-
 
68551
 
-
 
68552
      lastComparison = Boolean.valueOf(isSetAmazonlisted()).compareTo(typedOther.isSetAmazonlisted());
-
 
68553
      if (lastComparison != 0) {
-
 
68554
        return lastComparison;
-
 
68555
      }
-
 
68556
      if (isSetAmazonlisted()) {
-
 
68557
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonlisted, typedOther.amazonlisted);
-
 
68558
        if (lastComparison != 0) {
-
 
68559
          return lastComparison;
-
 
68560
        }
-
 
68561
      }
-
 
68562
      return 0;
-
 
68563
    }
-
 
68564
 
-
 
68565
    public _Fields fieldForId(int fieldId) {
-
 
68566
      return _Fields.findByThriftId(fieldId);
-
 
68567
    }
-
 
68568
 
-
 
68569
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68570
      org.apache.thrift.protocol.TField field;
-
 
68571
      iprot.readStructBegin();
-
 
68572
      while (true)
-
 
68573
      {
-
 
68574
        field = iprot.readFieldBegin();
-
 
68575
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68576
          break;
-
 
68577
        }
-
 
68578
        switch (field.id) {
-
 
68579
          case 1: // AMAZONLISTED
-
 
68580
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
68581
              this.amazonlisted = new Amazonlisted();
-
 
68582
              this.amazonlisted.read(iprot);
-
 
68583
            } else { 
-
 
68584
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68585
            }
-
 
68586
            break;
-
 
68587
          default:
-
 
68588
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68589
        }
-
 
68590
        iprot.readFieldEnd();
-
 
68591
      }
-
 
68592
      iprot.readStructEnd();
-
 
68593
      validate();
-
 
68594
    }
-
 
68595
 
-
 
68596
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68597
      validate();
-
 
68598
 
-
 
68599
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68600
      if (this.amazonlisted != null) {
-
 
68601
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
-
 
68602
        this.amazonlisted.write(oprot);
-
 
68603
        oprot.writeFieldEnd();
-
 
68604
      }
-
 
68605
      oprot.writeFieldStop();
-
 
68606
      oprot.writeStructEnd();
-
 
68607
    }
-
 
68608
 
-
 
68609
    @Override
-
 
68610
    public String toString() {
-
 
68611
      StringBuilder sb = new StringBuilder("addAmazonItem_args(");
-
 
68612
      boolean first = true;
-
 
68613
 
-
 
68614
      sb.append("amazonlisted:");
-
 
68615
      if (this.amazonlisted == null) {
-
 
68616
        sb.append("null");
-
 
68617
      } else {
-
 
68618
        sb.append(this.amazonlisted);
-
 
68619
      }
-
 
68620
      first = false;
-
 
68621
      sb.append(")");
-
 
68622
      return sb.toString();
-
 
68623
    }
-
 
68624
 
-
 
68625
    public void validate() throws org.apache.thrift.TException {
-
 
68626
      // check for required fields
-
 
68627
    }
-
 
68628
 
-
 
68629
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68630
      try {
-
 
68631
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68632
      } catch (org.apache.thrift.TException te) {
-
 
68633
        throw new java.io.IOException(te);
-
 
68634
      }
-
 
68635
    }
-
 
68636
 
-
 
68637
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68638
      try {
-
 
68639
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68640
      } catch (org.apache.thrift.TException te) {
-
 
68641
        throw new java.io.IOException(te);
-
 
68642
      }
-
 
68643
    }
-
 
68644
 
-
 
68645
  }
-
 
68646
 
-
 
68647
  public static class addAmazonItem_result implements org.apache.thrift.TBase<addAmazonItem_result, addAmazonItem_result._Fields>, java.io.Serializable, Cloneable   {
-
 
68648
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addAmazonItem_result");
-
 
68649
 
-
 
68650
 
-
 
68651
 
-
 
68652
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68653
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68654
;
-
 
68655
 
-
 
68656
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68657
 
-
 
68658
      static {
-
 
68659
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68660
          byName.put(field.getFieldName(), field);
-
 
68661
        }
-
 
68662
      }
-
 
68663
 
-
 
68664
      /**
-
 
68665
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68666
       */
-
 
68667
      public static _Fields findByThriftId(int fieldId) {
-
 
68668
        switch(fieldId) {
-
 
68669
          default:
-
 
68670
            return null;
-
 
68671
        }
-
 
68672
      }
-
 
68673
 
-
 
68674
      /**
-
 
68675
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68676
       * if it is not found.
-
 
68677
       */
-
 
68678
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68679
        _Fields fields = findByThriftId(fieldId);
-
 
68680
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68681
        return fields;
-
 
68682
      }
-
 
68683
 
-
 
68684
      /**
-
 
68685
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68686
       */
-
 
68687
      public static _Fields findByName(String name) {
-
 
68688
        return byName.get(name);
-
 
68689
      }
-
 
68690
 
-
 
68691
      private final short _thriftId;
-
 
68692
      private final String _fieldName;
-
 
68693
 
-
 
68694
      _Fields(short thriftId, String fieldName) {
-
 
68695
        _thriftId = thriftId;
-
 
68696
        _fieldName = fieldName;
-
 
68697
      }
-
 
68698
 
-
 
68699
      public short getThriftFieldId() {
-
 
68700
        return _thriftId;
-
 
68701
      }
-
 
68702
 
-
 
68703
      public String getFieldName() {
-
 
68704
        return _fieldName;
-
 
68705
      }
-
 
68706
    }
-
 
68707
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68708
    static {
-
 
68709
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68710
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
68711
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addAmazonItem_result.class, metaDataMap);
-
 
68712
    }
-
 
68713
 
-
 
68714
    public addAmazonItem_result() {
-
 
68715
    }
-
 
68716
 
-
 
68717
    /**
-
 
68718
     * Performs a deep copy on <i>other</i>.
-
 
68719
     */
-
 
68720
    public addAmazonItem_result(addAmazonItem_result other) {
-
 
68721
    }
-
 
68722
 
-
 
68723
    public addAmazonItem_result deepCopy() {
-
 
68724
      return new addAmazonItem_result(this);
-
 
68725
    }
-
 
68726
 
-
 
68727
    @Override
-
 
68728
    public void clear() {
-
 
68729
    }
-
 
68730
 
-
 
68731
    public void setFieldValue(_Fields field, Object value) {
-
 
68732
      switch (field) {
-
 
68733
      }
-
 
68734
    }
-
 
68735
 
-
 
68736
    public Object getFieldValue(_Fields field) {
-
 
68737
      switch (field) {
-
 
68738
      }
-
 
68739
      throw new IllegalStateException();
-
 
68740
    }
-
 
68741
 
-
 
68742
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
68743
    public boolean isSet(_Fields field) {
-
 
68744
      if (field == null) {
-
 
68745
        throw new IllegalArgumentException();
-
 
68746
      }
-
 
68747
 
-
 
68748
      switch (field) {
-
 
68749
      }
-
 
68750
      throw new IllegalStateException();
-
 
68751
    }
-
 
68752
 
-
 
68753
    @Override
-
 
68754
    public boolean equals(Object that) {
-
 
68755
      if (that == null)
-
 
68756
        return false;
-
 
68757
      if (that instanceof addAmazonItem_result)
-
 
68758
        return this.equals((addAmazonItem_result)that);
-
 
68759
      return false;
-
 
68760
    }
-
 
68761
 
-
 
68762
    public boolean equals(addAmazonItem_result that) {
-
 
68763
      if (that == null)
-
 
68764
        return false;
-
 
68765
 
-
 
68766
      return true;
-
 
68767
    }
-
 
68768
 
-
 
68769
    @Override
-
 
68770
    public int hashCode() {
-
 
68771
      return 0;
-
 
68772
    }
-
 
68773
 
-
 
68774
    public int compareTo(addAmazonItem_result other) {
-
 
68775
      if (!getClass().equals(other.getClass())) {
-
 
68776
        return getClass().getName().compareTo(other.getClass().getName());
-
 
68777
      }
-
 
68778
 
-
 
68779
      int lastComparison = 0;
-
 
68780
      addAmazonItem_result typedOther = (addAmazonItem_result)other;
-
 
68781
 
-
 
68782
      return 0;
-
 
68783
    }
-
 
68784
 
-
 
68785
    public _Fields fieldForId(int fieldId) {
-
 
68786
      return _Fields.findByThriftId(fieldId);
-
 
68787
    }
-
 
68788
 
-
 
68789
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68790
      org.apache.thrift.protocol.TField field;
-
 
68791
      iprot.readStructBegin();
-
 
68792
      while (true)
-
 
68793
      {
-
 
68794
        field = iprot.readFieldBegin();
-
 
68795
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68796
          break;
-
 
68797
        }
-
 
68798
        switch (field.id) {
-
 
68799
          default:
-
 
68800
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68801
        }
-
 
68802
        iprot.readFieldEnd();
-
 
68803
      }
-
 
68804
      iprot.readStructEnd();
-
 
68805
      validate();
-
 
68806
    }
-
 
68807
 
-
 
68808
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68809
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68810
 
-
 
68811
      oprot.writeFieldStop();
-
 
68812
      oprot.writeStructEnd();
-
 
68813
    }
-
 
68814
 
-
 
68815
    @Override
-
 
68816
    public String toString() {
-
 
68817
      StringBuilder sb = new StringBuilder("addAmazonItem_result(");
-
 
68818
      boolean first = true;
-
 
68819
 
-
 
68820
      sb.append(")");
-
 
68821
      return sb.toString();
-
 
68822
    }
65988
 
68823
 
65989
    public void validate() throws org.apache.thrift.TException {
68824
    public void validate() throws org.apache.thrift.TException {
65990
      // check for required fields
68825
      // check for required fields
65991
    }
68826
    }
65992
 
68827