Subversion Repositories SmartDukaan

Rev

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

Rev 7281 Rev 7291
Line 398... Line 398...
398
 
398
 
399
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride) throws org.apache.thrift.TException;
399
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride) throws org.apache.thrift.TException;
400
 
400
 
401
    public void addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException;
401
    public void addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException;
402
 
402
 
-
 
403
    public List<Item> getAsinItems() throws org.apache.thrift.TException;
-
 
404
 
-
 
405
    public List<Amazonlisted> getAllFbaListedItems() throws org.apache.thrift.TException;
-
 
406
 
-
 
407
    public List<Amazonlisted> getAllNonFbaListedItems() throws org.apache.thrift.TException;
-
 
408
 
403
  }
409
  }
404
 
410
 
405
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
411
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
406
 
412
 
407
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
413
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 586... Line 592...
586
 
592
 
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;
593
    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
 
594
 
589
    public void addAmazonItem(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmazonItem_call> resultHandler) throws org.apache.thrift.TException;
595
    public void addAmazonItem(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmazonItem_call> resultHandler) throws org.apache.thrift.TException;
590
 
596
 
-
 
597
    public void getAsinItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAsinItems_call> resultHandler) throws org.apache.thrift.TException;
-
 
598
 
-
 
599
    public void getAllFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
-
 
600
 
-
 
601
    public void getAllNonFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllNonFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
-
 
602
 
591
  }
603
  }
592
 
604
 
593
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
605
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
594
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
606
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
595
      public Factory() {}
607
      public Factory() {}
Line 2839... Line 2851...
2839
      addAmazonItem_result result = new addAmazonItem_result();
2851
      addAmazonItem_result result = new addAmazonItem_result();
2840
      receiveBase(result, "addAmazonItem");
2852
      receiveBase(result, "addAmazonItem");
2841
      return;
2853
      return;
2842
    }
2854
    }
2843
 
2855
 
-
 
2856
    public List<Item> getAsinItems() throws org.apache.thrift.TException
-
 
2857
    {
-
 
2858
      send_getAsinItems();
-
 
2859
      return recv_getAsinItems();
-
 
2860
    }
-
 
2861
 
-
 
2862
    public void send_getAsinItems() throws org.apache.thrift.TException
-
 
2863
    {
-
 
2864
      getAsinItems_args args = new getAsinItems_args();
-
 
2865
      sendBase("getAsinItems", args);
-
 
2866
    }
-
 
2867
 
-
 
2868
    public List<Item> recv_getAsinItems() throws org.apache.thrift.TException
-
 
2869
    {
-
 
2870
      getAsinItems_result result = new getAsinItems_result();
-
 
2871
      receiveBase(result, "getAsinItems");
-
 
2872
      if (result.isSetSuccess()) {
-
 
2873
        return result.success;
-
 
2874
      }
-
 
2875
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
-
 
2876
    }
-
 
2877
 
-
 
2878
    public List<Amazonlisted> getAllFbaListedItems() throws org.apache.thrift.TException
-
 
2879
    {
-
 
2880
      send_getAllFbaListedItems();
-
 
2881
      return recv_getAllFbaListedItems();
-
 
2882
    }
-
 
2883
 
-
 
2884
    public void send_getAllFbaListedItems() throws org.apache.thrift.TException
-
 
2885
    {
-
 
2886
      getAllFbaListedItems_args args = new getAllFbaListedItems_args();
-
 
2887
      sendBase("getAllFbaListedItems", args);
-
 
2888
    }
-
 
2889
 
-
 
2890
    public List<Amazonlisted> recv_getAllFbaListedItems() throws org.apache.thrift.TException
-
 
2891
    {
-
 
2892
      getAllFbaListedItems_result result = new getAllFbaListedItems_result();
-
 
2893
      receiveBase(result, "getAllFbaListedItems");
-
 
2894
      if (result.isSetSuccess()) {
-
 
2895
        return result.success;
-
 
2896
      }
-
 
2897
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
-
 
2898
    }
-
 
2899
 
-
 
2900
    public List<Amazonlisted> getAllNonFbaListedItems() throws org.apache.thrift.TException
-
 
2901
    {
-
 
2902
      send_getAllNonFbaListedItems();
-
 
2903
      return recv_getAllNonFbaListedItems();
-
 
2904
    }
-
 
2905
 
-
 
2906
    public void send_getAllNonFbaListedItems() throws org.apache.thrift.TException
-
 
2907
    {
-
 
2908
      getAllNonFbaListedItems_args args = new getAllNonFbaListedItems_args();
-
 
2909
      sendBase("getAllNonFbaListedItems", args);
-
 
2910
    }
-
 
2911
 
-
 
2912
    public List<Amazonlisted> recv_getAllNonFbaListedItems() throws org.apache.thrift.TException
-
 
2913
    {
-
 
2914
      getAllNonFbaListedItems_result result = new getAllNonFbaListedItems_result();
-
 
2915
      receiveBase(result, "getAllNonFbaListedItems");
-
 
2916
      if (result.isSetSuccess()) {
-
 
2917
        return result.success;
-
 
2918
      }
-
 
2919
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
-
 
2920
    }
-
 
2921
 
2844
  }
2922
  }
2845
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2923
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2846
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2924
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2847
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2925
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2848
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2926
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 5930... Line 6008...
5930
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6008
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5931
        (new Client(prot)).recv_addAmazonItem();
6009
        (new Client(prot)).recv_addAmazonItem();
5932
      }
6010
      }
5933
    }
6011
    }
5934
 
6012
 
-
 
6013
    public void getAsinItems(org.apache.thrift.async.AsyncMethodCallback<getAsinItems_call> resultHandler) throws org.apache.thrift.TException {
-
 
6014
      checkReady();
-
 
6015
      getAsinItems_call method_call = new getAsinItems_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
6016
      this.___currentMethod = method_call;
-
 
6017
      ___manager.call(method_call);
-
 
6018
    }
-
 
6019
 
-
 
6020
    public static class getAsinItems_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6021
      public getAsinItems_call(org.apache.thrift.async.AsyncMethodCallback<getAsinItems_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 {
-
 
6022
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6023
      }
-
 
6024
 
-
 
6025
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6026
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAsinItems", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6027
        getAsinItems_args args = new getAsinItems_args();
-
 
6028
        args.write(prot);
-
 
6029
        prot.writeMessageEnd();
-
 
6030
      }
-
 
6031
 
-
 
6032
      public List<Item> getResult() throws org.apache.thrift.TException {
-
 
6033
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6034
          throw new IllegalStateException("Method call not finished!");
-
 
6035
        }
-
 
6036
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6037
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6038
        return (new Client(prot)).recv_getAsinItems();
-
 
6039
      }
-
 
6040
    }
-
 
6041
 
-
 
6042
    public void getAllFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<getAllFbaListedItems_call> resultHandler) throws org.apache.thrift.TException {
-
 
6043
      checkReady();
-
 
6044
      getAllFbaListedItems_call method_call = new getAllFbaListedItems_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
6045
      this.___currentMethod = method_call;
-
 
6046
      ___manager.call(method_call);
-
 
6047
    }
-
 
6048
 
-
 
6049
    public static class getAllFbaListedItems_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6050
      public getAllFbaListedItems_call(org.apache.thrift.async.AsyncMethodCallback<getAllFbaListedItems_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 {
-
 
6051
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6052
      }
-
 
6053
 
-
 
6054
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6055
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllFbaListedItems", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6056
        getAllFbaListedItems_args args = new getAllFbaListedItems_args();
-
 
6057
        args.write(prot);
-
 
6058
        prot.writeMessageEnd();
-
 
6059
      }
-
 
6060
 
-
 
6061
      public List<Amazonlisted> getResult() throws org.apache.thrift.TException {
-
 
6062
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6063
          throw new IllegalStateException("Method call not finished!");
-
 
6064
        }
-
 
6065
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6066
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6067
        return (new Client(prot)).recv_getAllFbaListedItems();
-
 
6068
      }
-
 
6069
    }
-
 
6070
 
-
 
6071
    public void getAllNonFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<getAllNonFbaListedItems_call> resultHandler) throws org.apache.thrift.TException {
-
 
6072
      checkReady();
-
 
6073
      getAllNonFbaListedItems_call method_call = new getAllNonFbaListedItems_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
6074
      this.___currentMethod = method_call;
-
 
6075
      ___manager.call(method_call);
-
 
6076
    }
-
 
6077
 
-
 
6078
    public static class getAllNonFbaListedItems_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6079
      public getAllNonFbaListedItems_call(org.apache.thrift.async.AsyncMethodCallback<getAllNonFbaListedItems_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 {
-
 
6080
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6081
      }
-
 
6082
 
-
 
6083
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6084
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllNonFbaListedItems", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6085
        getAllNonFbaListedItems_args args = new getAllNonFbaListedItems_args();
-
 
6086
        args.write(prot);
-
 
6087
        prot.writeMessageEnd();
-
 
6088
      }
-
 
6089
 
-
 
6090
      public List<Amazonlisted> getResult() throws org.apache.thrift.TException {
-
 
6091
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6092
          throw new IllegalStateException("Method call not finished!");
-
 
6093
        }
-
 
6094
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6095
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6096
        return (new Client(prot)).recv_getAllNonFbaListedItems();
-
 
6097
      }
-
 
6098
    }
-
 
6099
 
5935
  }
6100
  }
5936
 
6101
 
5937
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6102
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
5938
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6103
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
5939
    public Processor(I iface) {
6104
    public Processor(I iface) {
Line 6035... Line 6200...
6035
      processMap.put("updateStorePricing", new updateStorePricing());
6200
      processMap.put("updateStorePricing", new updateStorePricing());
6036
      processMap.put("getAllAmazonListedItems", new getAllAmazonListedItems());
6201
      processMap.put("getAllAmazonListedItems", new getAllAmazonListedItems());
6037
      processMap.put("getAmazonItemDetails", new getAmazonItemDetails());
6202
      processMap.put("getAmazonItemDetails", new getAmazonItemDetails());
6038
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
6203
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
6039
      processMap.put("addAmazonItem", new addAmazonItem());
6204
      processMap.put("addAmazonItem", new addAmazonItem());
-
 
6205
      processMap.put("getAsinItems", new getAsinItems());
-
 
6206
      processMap.put("getAllFbaListedItems", new getAllFbaListedItems());
-
 
6207
      processMap.put("getAllNonFbaListedItems", new getAllNonFbaListedItems());
6040
      return processMap;
6208
      return processMap;
6041
    }
6209
    }
6042
 
6210
 
6043
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6211
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6044
      public addItem() {
6212
      public addItem() {
Line 7685... Line 7853...
7685
        iface.addAmazonItem(args.amazonlisted);
7853
        iface.addAmazonItem(args.amazonlisted);
7686
        return result;
7854
        return result;
7687
      }
7855
      }
7688
    }
7856
    }
7689
 
7857
 
-
 
7858
    private static class getAsinItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAsinItems_args> {
-
 
7859
      public getAsinItems() {
-
 
7860
        super("getAsinItems");
-
 
7861
      }
-
 
7862
 
-
 
7863
      protected getAsinItems_args getEmptyArgsInstance() {
-
 
7864
        return new getAsinItems_args();
-
 
7865
      }
-
 
7866
 
-
 
7867
      protected getAsinItems_result getResult(I iface, getAsinItems_args args) throws org.apache.thrift.TException {
-
 
7868
        getAsinItems_result result = new getAsinItems_result();
-
 
7869
        result.success = iface.getAsinItems();
-
 
7870
        return result;
-
 
7871
      }
-
 
7872
    }
-
 
7873
 
-
 
7874
    private static class getAllFbaListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllFbaListedItems_args> {
-
 
7875
      public getAllFbaListedItems() {
-
 
7876
        super("getAllFbaListedItems");
-
 
7877
      }
-
 
7878
 
-
 
7879
      protected getAllFbaListedItems_args getEmptyArgsInstance() {
-
 
7880
        return new getAllFbaListedItems_args();
-
 
7881
      }
-
 
7882
 
-
 
7883
      protected getAllFbaListedItems_result getResult(I iface, getAllFbaListedItems_args args) throws org.apache.thrift.TException {
-
 
7884
        getAllFbaListedItems_result result = new getAllFbaListedItems_result();
-
 
7885
        result.success = iface.getAllFbaListedItems();
-
 
7886
        return result;
-
 
7887
      }
-
 
7888
    }
-
 
7889
 
-
 
7890
    private static class getAllNonFbaListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllNonFbaListedItems_args> {
-
 
7891
      public getAllNonFbaListedItems() {
-
 
7892
        super("getAllNonFbaListedItems");
-
 
7893
      }
-
 
7894
 
-
 
7895
      protected getAllNonFbaListedItems_args getEmptyArgsInstance() {
-
 
7896
        return new getAllNonFbaListedItems_args();
-
 
7897
      }
-
 
7898
 
-
 
7899
      protected getAllNonFbaListedItems_result getResult(I iface, getAllNonFbaListedItems_args args) throws org.apache.thrift.TException {
-
 
7900
        getAllNonFbaListedItems_result result = new getAllNonFbaListedItems_result();
-
 
7901
        result.success = iface.getAllNonFbaListedItems();
-
 
7902
        return result;
-
 
7903
      }
-
 
7904
    }
-
 
7905
 
7690
  }
7906
  }
7691
 
7907
 
7692
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
7908
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
7693
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
7909
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
7694
 
7910
 
Line 68820... Line 69036...
68820
      sb.append(")");
69036
      sb.append(")");
68821
      return sb.toString();
69037
      return sb.toString();
68822
    }
69038
    }
68823
 
69039
 
68824
    public void validate() throws org.apache.thrift.TException {
69040
    public void validate() throws org.apache.thrift.TException {
-
 
69041
      // check for required fields
-
 
69042
    }
-
 
69043
 
-
 
69044
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69045
      try {
-
 
69046
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69047
      } catch (org.apache.thrift.TException te) {
-
 
69048
        throw new java.io.IOException(te);
-
 
69049
      }
-
 
69050
    }
-
 
69051
 
-
 
69052
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69053
      try {
-
 
69054
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69055
      } catch (org.apache.thrift.TException te) {
-
 
69056
        throw new java.io.IOException(te);
-
 
69057
      }
-
 
69058
    }
-
 
69059
 
-
 
69060
  }
-
 
69061
 
-
 
69062
  public static class getAsinItems_args implements org.apache.thrift.TBase<getAsinItems_args, getAsinItems_args._Fields>, java.io.Serializable, Cloneable   {
-
 
69063
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAsinItems_args");
-
 
69064
 
-
 
69065
 
-
 
69066
 
-
 
69067
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69068
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69069
;
-
 
69070
 
-
 
69071
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69072
 
-
 
69073
      static {
-
 
69074
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69075
          byName.put(field.getFieldName(), field);
-
 
69076
        }
-
 
69077
      }
-
 
69078
 
-
 
69079
      /**
-
 
69080
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69081
       */
-
 
69082
      public static _Fields findByThriftId(int fieldId) {
-
 
69083
        switch(fieldId) {
-
 
69084
          default:
-
 
69085
            return null;
-
 
69086
        }
-
 
69087
      }
-
 
69088
 
-
 
69089
      /**
-
 
69090
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69091
       * if it is not found.
-
 
69092
       */
-
 
69093
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69094
        _Fields fields = findByThriftId(fieldId);
-
 
69095
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69096
        return fields;
-
 
69097
      }
-
 
69098
 
-
 
69099
      /**
-
 
69100
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69101
       */
-
 
69102
      public static _Fields findByName(String name) {
-
 
69103
        return byName.get(name);
-
 
69104
      }
-
 
69105
 
-
 
69106
      private final short _thriftId;
-
 
69107
      private final String _fieldName;
-
 
69108
 
-
 
69109
      _Fields(short thriftId, String fieldName) {
-
 
69110
        _thriftId = thriftId;
-
 
69111
        _fieldName = fieldName;
-
 
69112
      }
-
 
69113
 
-
 
69114
      public short getThriftFieldId() {
-
 
69115
        return _thriftId;
-
 
69116
      }
-
 
69117
 
-
 
69118
      public String getFieldName() {
-
 
69119
        return _fieldName;
-
 
69120
      }
-
 
69121
    }
-
 
69122
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69123
    static {
-
 
69124
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69125
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69126
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAsinItems_args.class, metaDataMap);
-
 
69127
    }
-
 
69128
 
-
 
69129
    public getAsinItems_args() {
-
 
69130
    }
-
 
69131
 
-
 
69132
    /**
-
 
69133
     * Performs a deep copy on <i>other</i>.
-
 
69134
     */
-
 
69135
    public getAsinItems_args(getAsinItems_args other) {
-
 
69136
    }
-
 
69137
 
-
 
69138
    public getAsinItems_args deepCopy() {
-
 
69139
      return new getAsinItems_args(this);
-
 
69140
    }
-
 
69141
 
-
 
69142
    @Override
-
 
69143
    public void clear() {
-
 
69144
    }
-
 
69145
 
-
 
69146
    public void setFieldValue(_Fields field, Object value) {
-
 
69147
      switch (field) {
-
 
69148
      }
-
 
69149
    }
-
 
69150
 
-
 
69151
    public Object getFieldValue(_Fields field) {
-
 
69152
      switch (field) {
-
 
69153
      }
-
 
69154
      throw new IllegalStateException();
-
 
69155
    }
-
 
69156
 
-
 
69157
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69158
    public boolean isSet(_Fields field) {
-
 
69159
      if (field == null) {
-
 
69160
        throw new IllegalArgumentException();
-
 
69161
      }
-
 
69162
 
-
 
69163
      switch (field) {
-
 
69164
      }
-
 
69165
      throw new IllegalStateException();
-
 
69166
    }
-
 
69167
 
-
 
69168
    @Override
-
 
69169
    public boolean equals(Object that) {
-
 
69170
      if (that == null)
-
 
69171
        return false;
-
 
69172
      if (that instanceof getAsinItems_args)
-
 
69173
        return this.equals((getAsinItems_args)that);
-
 
69174
      return false;
-
 
69175
    }
-
 
69176
 
-
 
69177
    public boolean equals(getAsinItems_args that) {
-
 
69178
      if (that == null)
-
 
69179
        return false;
-
 
69180
 
-
 
69181
      return true;
-
 
69182
    }
-
 
69183
 
-
 
69184
    @Override
-
 
69185
    public int hashCode() {
-
 
69186
      return 0;
-
 
69187
    }
-
 
69188
 
-
 
69189
    public int compareTo(getAsinItems_args other) {
-
 
69190
      if (!getClass().equals(other.getClass())) {
-
 
69191
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69192
      }
-
 
69193
 
-
 
69194
      int lastComparison = 0;
-
 
69195
      getAsinItems_args typedOther = (getAsinItems_args)other;
-
 
69196
 
-
 
69197
      return 0;
-
 
69198
    }
-
 
69199
 
-
 
69200
    public _Fields fieldForId(int fieldId) {
-
 
69201
      return _Fields.findByThriftId(fieldId);
-
 
69202
    }
-
 
69203
 
-
 
69204
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69205
      org.apache.thrift.protocol.TField field;
-
 
69206
      iprot.readStructBegin();
-
 
69207
      while (true)
-
 
69208
      {
-
 
69209
        field = iprot.readFieldBegin();
-
 
69210
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69211
          break;
-
 
69212
        }
-
 
69213
        switch (field.id) {
-
 
69214
          default:
-
 
69215
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69216
        }
-
 
69217
        iprot.readFieldEnd();
-
 
69218
      }
-
 
69219
      iprot.readStructEnd();
-
 
69220
      validate();
-
 
69221
    }
-
 
69222
 
-
 
69223
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69224
      validate();
-
 
69225
 
-
 
69226
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69227
      oprot.writeFieldStop();
-
 
69228
      oprot.writeStructEnd();
-
 
69229
    }
-
 
69230
 
-
 
69231
    @Override
-
 
69232
    public String toString() {
-
 
69233
      StringBuilder sb = new StringBuilder("getAsinItems_args(");
-
 
69234
      boolean first = true;
-
 
69235
 
-
 
69236
      sb.append(")");
-
 
69237
      return sb.toString();
-
 
69238
    }
-
 
69239
 
-
 
69240
    public void validate() throws org.apache.thrift.TException {
-
 
69241
      // check for required fields
-
 
69242
    }
-
 
69243
 
-
 
69244
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69245
      try {
-
 
69246
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69247
      } catch (org.apache.thrift.TException te) {
-
 
69248
        throw new java.io.IOException(te);
-
 
69249
      }
-
 
69250
    }
-
 
69251
 
-
 
69252
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69253
      try {
-
 
69254
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69255
      } catch (org.apache.thrift.TException te) {
-
 
69256
        throw new java.io.IOException(te);
-
 
69257
      }
-
 
69258
    }
-
 
69259
 
-
 
69260
  }
-
 
69261
 
-
 
69262
  public static class getAsinItems_result implements org.apache.thrift.TBase<getAsinItems_result, getAsinItems_result._Fields>, java.io.Serializable, Cloneable   {
-
 
69263
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAsinItems_result");
-
 
69264
 
-
 
69265
    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);
-
 
69266
 
-
 
69267
    private List<Item> success; // required
-
 
69268
 
-
 
69269
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69270
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69271
      SUCCESS((short)0, "success");
-
 
69272
 
-
 
69273
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69274
 
-
 
69275
      static {
-
 
69276
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69277
          byName.put(field.getFieldName(), field);
-
 
69278
        }
-
 
69279
      }
-
 
69280
 
-
 
69281
      /**
-
 
69282
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69283
       */
-
 
69284
      public static _Fields findByThriftId(int fieldId) {
-
 
69285
        switch(fieldId) {
-
 
69286
          case 0: // SUCCESS
-
 
69287
            return SUCCESS;
-
 
69288
          default:
-
 
69289
            return null;
-
 
69290
        }
-
 
69291
      }
-
 
69292
 
-
 
69293
      /**
-
 
69294
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69295
       * if it is not found.
-
 
69296
       */
-
 
69297
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69298
        _Fields fields = findByThriftId(fieldId);
-
 
69299
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69300
        return fields;
-
 
69301
      }
-
 
69302
 
-
 
69303
      /**
-
 
69304
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69305
       */
-
 
69306
      public static _Fields findByName(String name) {
-
 
69307
        return byName.get(name);
-
 
69308
      }
-
 
69309
 
-
 
69310
      private final short _thriftId;
-
 
69311
      private final String _fieldName;
-
 
69312
 
-
 
69313
      _Fields(short thriftId, String fieldName) {
-
 
69314
        _thriftId = thriftId;
-
 
69315
        _fieldName = fieldName;
-
 
69316
      }
-
 
69317
 
-
 
69318
      public short getThriftFieldId() {
-
 
69319
        return _thriftId;
-
 
69320
      }
-
 
69321
 
-
 
69322
      public String getFieldName() {
-
 
69323
        return _fieldName;
-
 
69324
      }
-
 
69325
    }
-
 
69326
 
-
 
69327
    // isset id assignments
-
 
69328
 
-
 
69329
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69330
    static {
-
 
69331
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69332
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69333
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
69334
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Item.class))));
-
 
69335
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69336
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAsinItems_result.class, metaDataMap);
-
 
69337
    }
-
 
69338
 
-
 
69339
    public getAsinItems_result() {
-
 
69340
    }
-
 
69341
 
-
 
69342
    public getAsinItems_result(
-
 
69343
      List<Item> success)
-
 
69344
    {
-
 
69345
      this();
-
 
69346
      this.success = success;
-
 
69347
    }
-
 
69348
 
-
 
69349
    /**
-
 
69350
     * Performs a deep copy on <i>other</i>.
-
 
69351
     */
-
 
69352
    public getAsinItems_result(getAsinItems_result other) {
-
 
69353
      if (other.isSetSuccess()) {
-
 
69354
        List<Item> __this__success = new ArrayList<Item>();
-
 
69355
        for (Item other_element : other.success) {
-
 
69356
          __this__success.add(new Item(other_element));
-
 
69357
        }
-
 
69358
        this.success = __this__success;
-
 
69359
      }
-
 
69360
    }
-
 
69361
 
-
 
69362
    public getAsinItems_result deepCopy() {
-
 
69363
      return new getAsinItems_result(this);
-
 
69364
    }
-
 
69365
 
-
 
69366
    @Override
-
 
69367
    public void clear() {
-
 
69368
      this.success = null;
-
 
69369
    }
-
 
69370
 
-
 
69371
    public int getSuccessSize() {
-
 
69372
      return (this.success == null) ? 0 : this.success.size();
-
 
69373
    }
-
 
69374
 
-
 
69375
    public java.util.Iterator<Item> getSuccessIterator() {
-
 
69376
      return (this.success == null) ? null : this.success.iterator();
-
 
69377
    }
-
 
69378
 
-
 
69379
    public void addToSuccess(Item elem) {
-
 
69380
      if (this.success == null) {
-
 
69381
        this.success = new ArrayList<Item>();
-
 
69382
      }
-
 
69383
      this.success.add(elem);
-
 
69384
    }
-
 
69385
 
-
 
69386
    public List<Item> getSuccess() {
-
 
69387
      return this.success;
-
 
69388
    }
-
 
69389
 
-
 
69390
    public void setSuccess(List<Item> success) {
-
 
69391
      this.success = success;
-
 
69392
    }
-
 
69393
 
-
 
69394
    public void unsetSuccess() {
-
 
69395
      this.success = null;
-
 
69396
    }
-
 
69397
 
-
 
69398
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
69399
    public boolean isSetSuccess() {
-
 
69400
      return this.success != null;
-
 
69401
    }
-
 
69402
 
-
 
69403
    public void setSuccessIsSet(boolean value) {
-
 
69404
      if (!value) {
-
 
69405
        this.success = null;
-
 
69406
      }
-
 
69407
    }
-
 
69408
 
-
 
69409
    public void setFieldValue(_Fields field, Object value) {
-
 
69410
      switch (field) {
-
 
69411
      case SUCCESS:
-
 
69412
        if (value == null) {
-
 
69413
          unsetSuccess();
-
 
69414
        } else {
-
 
69415
          setSuccess((List<Item>)value);
-
 
69416
        }
-
 
69417
        break;
-
 
69418
 
-
 
69419
      }
-
 
69420
    }
-
 
69421
 
-
 
69422
    public Object getFieldValue(_Fields field) {
-
 
69423
      switch (field) {
-
 
69424
      case SUCCESS:
-
 
69425
        return getSuccess();
-
 
69426
 
-
 
69427
      }
-
 
69428
      throw new IllegalStateException();
-
 
69429
    }
-
 
69430
 
-
 
69431
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69432
    public boolean isSet(_Fields field) {
-
 
69433
      if (field == null) {
-
 
69434
        throw new IllegalArgumentException();
-
 
69435
      }
-
 
69436
 
-
 
69437
      switch (field) {
-
 
69438
      case SUCCESS:
-
 
69439
        return isSetSuccess();
-
 
69440
      }
-
 
69441
      throw new IllegalStateException();
-
 
69442
    }
-
 
69443
 
-
 
69444
    @Override
-
 
69445
    public boolean equals(Object that) {
-
 
69446
      if (that == null)
-
 
69447
        return false;
-
 
69448
      if (that instanceof getAsinItems_result)
-
 
69449
        return this.equals((getAsinItems_result)that);
-
 
69450
      return false;
-
 
69451
    }
-
 
69452
 
-
 
69453
    public boolean equals(getAsinItems_result that) {
-
 
69454
      if (that == null)
-
 
69455
        return false;
-
 
69456
 
-
 
69457
      boolean this_present_success = true && this.isSetSuccess();
-
 
69458
      boolean that_present_success = true && that.isSetSuccess();
-
 
69459
      if (this_present_success || that_present_success) {
-
 
69460
        if (!(this_present_success && that_present_success))
-
 
69461
          return false;
-
 
69462
        if (!this.success.equals(that.success))
-
 
69463
          return false;
-
 
69464
      }
-
 
69465
 
-
 
69466
      return true;
-
 
69467
    }
-
 
69468
 
-
 
69469
    @Override
-
 
69470
    public int hashCode() {
-
 
69471
      return 0;
-
 
69472
    }
-
 
69473
 
-
 
69474
    public int compareTo(getAsinItems_result other) {
-
 
69475
      if (!getClass().equals(other.getClass())) {
-
 
69476
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69477
      }
-
 
69478
 
-
 
69479
      int lastComparison = 0;
-
 
69480
      getAsinItems_result typedOther = (getAsinItems_result)other;
-
 
69481
 
-
 
69482
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
69483
      if (lastComparison != 0) {
-
 
69484
        return lastComparison;
-
 
69485
      }
-
 
69486
      if (isSetSuccess()) {
-
 
69487
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
69488
        if (lastComparison != 0) {
-
 
69489
          return lastComparison;
-
 
69490
        }
-
 
69491
      }
-
 
69492
      return 0;
-
 
69493
    }
-
 
69494
 
-
 
69495
    public _Fields fieldForId(int fieldId) {
-
 
69496
      return _Fields.findByThriftId(fieldId);
-
 
69497
    }
-
 
69498
 
-
 
69499
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69500
      org.apache.thrift.protocol.TField field;
-
 
69501
      iprot.readStructBegin();
-
 
69502
      while (true)
-
 
69503
      {
-
 
69504
        field = iprot.readFieldBegin();
-
 
69505
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69506
          break;
-
 
69507
        }
-
 
69508
        switch (field.id) {
-
 
69509
          case 0: // SUCCESS
-
 
69510
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
69511
              {
-
 
69512
                org.apache.thrift.protocol.TList _list179 = iprot.readListBegin();
-
 
69513
                this.success = new ArrayList<Item>(_list179.size);
-
 
69514
                for (int _i180 = 0; _i180 < _list179.size; ++_i180)
-
 
69515
                {
-
 
69516
                  Item _elem181; // required
-
 
69517
                  _elem181 = new Item();
-
 
69518
                  _elem181.read(iprot);
-
 
69519
                  this.success.add(_elem181);
-
 
69520
                }
-
 
69521
                iprot.readListEnd();
-
 
69522
              }
-
 
69523
            } else { 
-
 
69524
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69525
            }
-
 
69526
            break;
-
 
69527
          default:
-
 
69528
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69529
        }
-
 
69530
        iprot.readFieldEnd();
-
 
69531
      }
-
 
69532
      iprot.readStructEnd();
-
 
69533
      validate();
-
 
69534
    }
-
 
69535
 
-
 
69536
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69537
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69538
 
-
 
69539
      if (this.isSetSuccess()) {
-
 
69540
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
69541
        {
-
 
69542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
69543
          for (Item _iter182 : this.success)
-
 
69544
          {
-
 
69545
            _iter182.write(oprot);
-
 
69546
          }
-
 
69547
          oprot.writeListEnd();
-
 
69548
        }
-
 
69549
        oprot.writeFieldEnd();
-
 
69550
      }
-
 
69551
      oprot.writeFieldStop();
-
 
69552
      oprot.writeStructEnd();
-
 
69553
    }
-
 
69554
 
-
 
69555
    @Override
-
 
69556
    public String toString() {
-
 
69557
      StringBuilder sb = new StringBuilder("getAsinItems_result(");
-
 
69558
      boolean first = true;
-
 
69559
 
-
 
69560
      sb.append("success:");
-
 
69561
      if (this.success == null) {
-
 
69562
        sb.append("null");
-
 
69563
      } else {
-
 
69564
        sb.append(this.success);
-
 
69565
      }
-
 
69566
      first = false;
-
 
69567
      sb.append(")");
-
 
69568
      return sb.toString();
-
 
69569
    }
-
 
69570
 
-
 
69571
    public void validate() throws org.apache.thrift.TException {
-
 
69572
      // check for required fields
-
 
69573
    }
-
 
69574
 
-
 
69575
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69576
      try {
-
 
69577
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69578
      } catch (org.apache.thrift.TException te) {
-
 
69579
        throw new java.io.IOException(te);
-
 
69580
      }
-
 
69581
    }
-
 
69582
 
-
 
69583
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69584
      try {
-
 
69585
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69586
      } catch (org.apache.thrift.TException te) {
-
 
69587
        throw new java.io.IOException(te);
-
 
69588
      }
-
 
69589
    }
-
 
69590
 
-
 
69591
  }
-
 
69592
 
-
 
69593
  public static class getAllFbaListedItems_args implements org.apache.thrift.TBase<getAllFbaListedItems_args, getAllFbaListedItems_args._Fields>, java.io.Serializable, Cloneable   {
-
 
69594
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllFbaListedItems_args");
-
 
69595
 
-
 
69596
 
-
 
69597
 
-
 
69598
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69599
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69600
;
-
 
69601
 
-
 
69602
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69603
 
-
 
69604
      static {
-
 
69605
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69606
          byName.put(field.getFieldName(), field);
-
 
69607
        }
-
 
69608
      }
-
 
69609
 
-
 
69610
      /**
-
 
69611
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69612
       */
-
 
69613
      public static _Fields findByThriftId(int fieldId) {
-
 
69614
        switch(fieldId) {
-
 
69615
          default:
-
 
69616
            return null;
-
 
69617
        }
-
 
69618
      }
-
 
69619
 
-
 
69620
      /**
-
 
69621
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69622
       * if it is not found.
-
 
69623
       */
-
 
69624
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69625
        _Fields fields = findByThriftId(fieldId);
-
 
69626
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69627
        return fields;
-
 
69628
      }
-
 
69629
 
-
 
69630
      /**
-
 
69631
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69632
       */
-
 
69633
      public static _Fields findByName(String name) {
-
 
69634
        return byName.get(name);
-
 
69635
      }
-
 
69636
 
-
 
69637
      private final short _thriftId;
-
 
69638
      private final String _fieldName;
-
 
69639
 
-
 
69640
      _Fields(short thriftId, String fieldName) {
-
 
69641
        _thriftId = thriftId;
-
 
69642
        _fieldName = fieldName;
-
 
69643
      }
-
 
69644
 
-
 
69645
      public short getThriftFieldId() {
-
 
69646
        return _thriftId;
-
 
69647
      }
-
 
69648
 
-
 
69649
      public String getFieldName() {
-
 
69650
        return _fieldName;
-
 
69651
      }
-
 
69652
    }
-
 
69653
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69654
    static {
-
 
69655
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69656
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69657
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllFbaListedItems_args.class, metaDataMap);
-
 
69658
    }
-
 
69659
 
-
 
69660
    public getAllFbaListedItems_args() {
-
 
69661
    }
-
 
69662
 
-
 
69663
    /**
-
 
69664
     * Performs a deep copy on <i>other</i>.
-
 
69665
     */
-
 
69666
    public getAllFbaListedItems_args(getAllFbaListedItems_args other) {
-
 
69667
    }
-
 
69668
 
-
 
69669
    public getAllFbaListedItems_args deepCopy() {
-
 
69670
      return new getAllFbaListedItems_args(this);
-
 
69671
    }
-
 
69672
 
-
 
69673
    @Override
-
 
69674
    public void clear() {
-
 
69675
    }
-
 
69676
 
-
 
69677
    public void setFieldValue(_Fields field, Object value) {
-
 
69678
      switch (field) {
-
 
69679
      }
-
 
69680
    }
-
 
69681
 
-
 
69682
    public Object getFieldValue(_Fields field) {
-
 
69683
      switch (field) {
-
 
69684
      }
-
 
69685
      throw new IllegalStateException();
-
 
69686
    }
-
 
69687
 
-
 
69688
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69689
    public boolean isSet(_Fields field) {
-
 
69690
      if (field == null) {
-
 
69691
        throw new IllegalArgumentException();
-
 
69692
      }
-
 
69693
 
-
 
69694
      switch (field) {
-
 
69695
      }
-
 
69696
      throw new IllegalStateException();
-
 
69697
    }
-
 
69698
 
-
 
69699
    @Override
-
 
69700
    public boolean equals(Object that) {
-
 
69701
      if (that == null)
-
 
69702
        return false;
-
 
69703
      if (that instanceof getAllFbaListedItems_args)
-
 
69704
        return this.equals((getAllFbaListedItems_args)that);
-
 
69705
      return false;
-
 
69706
    }
-
 
69707
 
-
 
69708
    public boolean equals(getAllFbaListedItems_args that) {
-
 
69709
      if (that == null)
-
 
69710
        return false;
-
 
69711
 
-
 
69712
      return true;
-
 
69713
    }
-
 
69714
 
-
 
69715
    @Override
-
 
69716
    public int hashCode() {
-
 
69717
      return 0;
-
 
69718
    }
-
 
69719
 
-
 
69720
    public int compareTo(getAllFbaListedItems_args other) {
-
 
69721
      if (!getClass().equals(other.getClass())) {
-
 
69722
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69723
      }
-
 
69724
 
-
 
69725
      int lastComparison = 0;
-
 
69726
      getAllFbaListedItems_args typedOther = (getAllFbaListedItems_args)other;
-
 
69727
 
-
 
69728
      return 0;
-
 
69729
    }
-
 
69730
 
-
 
69731
    public _Fields fieldForId(int fieldId) {
-
 
69732
      return _Fields.findByThriftId(fieldId);
-
 
69733
    }
-
 
69734
 
-
 
69735
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69736
      org.apache.thrift.protocol.TField field;
-
 
69737
      iprot.readStructBegin();
-
 
69738
      while (true)
-
 
69739
      {
-
 
69740
        field = iprot.readFieldBegin();
-
 
69741
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69742
          break;
-
 
69743
        }
-
 
69744
        switch (field.id) {
-
 
69745
          default:
-
 
69746
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69747
        }
-
 
69748
        iprot.readFieldEnd();
-
 
69749
      }
-
 
69750
      iprot.readStructEnd();
-
 
69751
      validate();
-
 
69752
    }
-
 
69753
 
-
 
69754
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69755
      validate();
-
 
69756
 
-
 
69757
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69758
      oprot.writeFieldStop();
-
 
69759
      oprot.writeStructEnd();
-
 
69760
    }
-
 
69761
 
-
 
69762
    @Override
-
 
69763
    public String toString() {
-
 
69764
      StringBuilder sb = new StringBuilder("getAllFbaListedItems_args(");
-
 
69765
      boolean first = true;
-
 
69766
 
-
 
69767
      sb.append(")");
-
 
69768
      return sb.toString();
-
 
69769
    }
-
 
69770
 
-
 
69771
    public void validate() throws org.apache.thrift.TException {
-
 
69772
      // check for required fields
-
 
69773
    }
-
 
69774
 
-
 
69775
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69776
      try {
-
 
69777
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69778
      } catch (org.apache.thrift.TException te) {
-
 
69779
        throw new java.io.IOException(te);
-
 
69780
      }
-
 
69781
    }
-
 
69782
 
-
 
69783
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69784
      try {
-
 
69785
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69786
      } catch (org.apache.thrift.TException te) {
-
 
69787
        throw new java.io.IOException(te);
-
 
69788
      }
-
 
69789
    }
-
 
69790
 
-
 
69791
  }
-
 
69792
 
-
 
69793
  public static class getAllFbaListedItems_result implements org.apache.thrift.TBase<getAllFbaListedItems_result, getAllFbaListedItems_result._Fields>, java.io.Serializable, Cloneable   {
-
 
69794
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllFbaListedItems_result");
-
 
69795
 
-
 
69796
    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);
-
 
69797
 
-
 
69798
    private List<Amazonlisted> success; // required
-
 
69799
 
-
 
69800
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69801
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69802
      SUCCESS((short)0, "success");
-
 
69803
 
-
 
69804
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69805
 
-
 
69806
      static {
-
 
69807
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69808
          byName.put(field.getFieldName(), field);
-
 
69809
        }
-
 
69810
      }
-
 
69811
 
-
 
69812
      /**
-
 
69813
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69814
       */
-
 
69815
      public static _Fields findByThriftId(int fieldId) {
-
 
69816
        switch(fieldId) {
-
 
69817
          case 0: // SUCCESS
-
 
69818
            return SUCCESS;
-
 
69819
          default:
-
 
69820
            return null;
-
 
69821
        }
-
 
69822
      }
-
 
69823
 
-
 
69824
      /**
-
 
69825
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69826
       * if it is not found.
-
 
69827
       */
-
 
69828
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69829
        _Fields fields = findByThriftId(fieldId);
-
 
69830
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69831
        return fields;
-
 
69832
      }
-
 
69833
 
-
 
69834
      /**
-
 
69835
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69836
       */
-
 
69837
      public static _Fields findByName(String name) {
-
 
69838
        return byName.get(name);
-
 
69839
      }
-
 
69840
 
-
 
69841
      private final short _thriftId;
-
 
69842
      private final String _fieldName;
-
 
69843
 
-
 
69844
      _Fields(short thriftId, String fieldName) {
-
 
69845
        _thriftId = thriftId;
-
 
69846
        _fieldName = fieldName;
-
 
69847
      }
-
 
69848
 
-
 
69849
      public short getThriftFieldId() {
-
 
69850
        return _thriftId;
-
 
69851
      }
-
 
69852
 
-
 
69853
      public String getFieldName() {
-
 
69854
        return _fieldName;
-
 
69855
      }
-
 
69856
    }
-
 
69857
 
-
 
69858
    // isset id assignments
-
 
69859
 
-
 
69860
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69861
    static {
-
 
69862
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69863
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69864
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
69865
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class))));
-
 
69866
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69867
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllFbaListedItems_result.class, metaDataMap);
-
 
69868
    }
-
 
69869
 
-
 
69870
    public getAllFbaListedItems_result() {
-
 
69871
    }
-
 
69872
 
-
 
69873
    public getAllFbaListedItems_result(
-
 
69874
      List<Amazonlisted> success)
-
 
69875
    {
-
 
69876
      this();
-
 
69877
      this.success = success;
-
 
69878
    }
-
 
69879
 
-
 
69880
    /**
-
 
69881
     * Performs a deep copy on <i>other</i>.
-
 
69882
     */
-
 
69883
    public getAllFbaListedItems_result(getAllFbaListedItems_result other) {
-
 
69884
      if (other.isSetSuccess()) {
-
 
69885
        List<Amazonlisted> __this__success = new ArrayList<Amazonlisted>();
-
 
69886
        for (Amazonlisted other_element : other.success) {
-
 
69887
          __this__success.add(new Amazonlisted(other_element));
-
 
69888
        }
-
 
69889
        this.success = __this__success;
-
 
69890
      }
-
 
69891
    }
-
 
69892
 
-
 
69893
    public getAllFbaListedItems_result deepCopy() {
-
 
69894
      return new getAllFbaListedItems_result(this);
-
 
69895
    }
-
 
69896
 
-
 
69897
    @Override
-
 
69898
    public void clear() {
-
 
69899
      this.success = null;
-
 
69900
    }
-
 
69901
 
-
 
69902
    public int getSuccessSize() {
-
 
69903
      return (this.success == null) ? 0 : this.success.size();
-
 
69904
    }
-
 
69905
 
-
 
69906
    public java.util.Iterator<Amazonlisted> getSuccessIterator() {
-
 
69907
      return (this.success == null) ? null : this.success.iterator();
-
 
69908
    }
-
 
69909
 
-
 
69910
    public void addToSuccess(Amazonlisted elem) {
-
 
69911
      if (this.success == null) {
-
 
69912
        this.success = new ArrayList<Amazonlisted>();
-
 
69913
      }
-
 
69914
      this.success.add(elem);
-
 
69915
    }
-
 
69916
 
-
 
69917
    public List<Amazonlisted> getSuccess() {
-
 
69918
      return this.success;
-
 
69919
    }
-
 
69920
 
-
 
69921
    public void setSuccess(List<Amazonlisted> success) {
-
 
69922
      this.success = success;
-
 
69923
    }
-
 
69924
 
-
 
69925
    public void unsetSuccess() {
-
 
69926
      this.success = null;
-
 
69927
    }
-
 
69928
 
-
 
69929
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
69930
    public boolean isSetSuccess() {
-
 
69931
      return this.success != null;
-
 
69932
    }
-
 
69933
 
-
 
69934
    public void setSuccessIsSet(boolean value) {
-
 
69935
      if (!value) {
-
 
69936
        this.success = null;
-
 
69937
      }
-
 
69938
    }
-
 
69939
 
-
 
69940
    public void setFieldValue(_Fields field, Object value) {
-
 
69941
      switch (field) {
-
 
69942
      case SUCCESS:
-
 
69943
        if (value == null) {
-
 
69944
          unsetSuccess();
-
 
69945
        } else {
-
 
69946
          setSuccess((List<Amazonlisted>)value);
-
 
69947
        }
-
 
69948
        break;
-
 
69949
 
-
 
69950
      }
-
 
69951
    }
-
 
69952
 
-
 
69953
    public Object getFieldValue(_Fields field) {
-
 
69954
      switch (field) {
-
 
69955
      case SUCCESS:
-
 
69956
        return getSuccess();
-
 
69957
 
-
 
69958
      }
-
 
69959
      throw new IllegalStateException();
-
 
69960
    }
-
 
69961
 
-
 
69962
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69963
    public boolean isSet(_Fields field) {
-
 
69964
      if (field == null) {
-
 
69965
        throw new IllegalArgumentException();
-
 
69966
      }
-
 
69967
 
-
 
69968
      switch (field) {
-
 
69969
      case SUCCESS:
-
 
69970
        return isSetSuccess();
-
 
69971
      }
-
 
69972
      throw new IllegalStateException();
-
 
69973
    }
-
 
69974
 
-
 
69975
    @Override
-
 
69976
    public boolean equals(Object that) {
-
 
69977
      if (that == null)
-
 
69978
        return false;
-
 
69979
      if (that instanceof getAllFbaListedItems_result)
-
 
69980
        return this.equals((getAllFbaListedItems_result)that);
-
 
69981
      return false;
-
 
69982
    }
-
 
69983
 
-
 
69984
    public boolean equals(getAllFbaListedItems_result that) {
-
 
69985
      if (that == null)
-
 
69986
        return false;
-
 
69987
 
-
 
69988
      boolean this_present_success = true && this.isSetSuccess();
-
 
69989
      boolean that_present_success = true && that.isSetSuccess();
-
 
69990
      if (this_present_success || that_present_success) {
-
 
69991
        if (!(this_present_success && that_present_success))
-
 
69992
          return false;
-
 
69993
        if (!this.success.equals(that.success))
-
 
69994
          return false;
-
 
69995
      }
-
 
69996
 
-
 
69997
      return true;
-
 
69998
    }
-
 
69999
 
-
 
70000
    @Override
-
 
70001
    public int hashCode() {
-
 
70002
      return 0;
-
 
70003
    }
-
 
70004
 
-
 
70005
    public int compareTo(getAllFbaListedItems_result other) {
-
 
70006
      if (!getClass().equals(other.getClass())) {
-
 
70007
        return getClass().getName().compareTo(other.getClass().getName());
-
 
70008
      }
-
 
70009
 
-
 
70010
      int lastComparison = 0;
-
 
70011
      getAllFbaListedItems_result typedOther = (getAllFbaListedItems_result)other;
-
 
70012
 
-
 
70013
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
70014
      if (lastComparison != 0) {
-
 
70015
        return lastComparison;
-
 
70016
      }
-
 
70017
      if (isSetSuccess()) {
-
 
70018
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
70019
        if (lastComparison != 0) {
-
 
70020
          return lastComparison;
-
 
70021
        }
-
 
70022
      }
-
 
70023
      return 0;
-
 
70024
    }
-
 
70025
 
-
 
70026
    public _Fields fieldForId(int fieldId) {
-
 
70027
      return _Fields.findByThriftId(fieldId);
-
 
70028
    }
-
 
70029
 
-
 
70030
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
70031
      org.apache.thrift.protocol.TField field;
-
 
70032
      iprot.readStructBegin();
-
 
70033
      while (true)
-
 
70034
      {
-
 
70035
        field = iprot.readFieldBegin();
-
 
70036
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
70037
          break;
-
 
70038
        }
-
 
70039
        switch (field.id) {
-
 
70040
          case 0: // SUCCESS
-
 
70041
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
70042
              {
-
 
70043
                org.apache.thrift.protocol.TList _list183 = iprot.readListBegin();
-
 
70044
                this.success = new ArrayList<Amazonlisted>(_list183.size);
-
 
70045
                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
-
 
70046
                {
-
 
70047
                  Amazonlisted _elem185; // required
-
 
70048
                  _elem185 = new Amazonlisted();
-
 
70049
                  _elem185.read(iprot);
-
 
70050
                  this.success.add(_elem185);
-
 
70051
                }
-
 
70052
                iprot.readListEnd();
-
 
70053
              }
-
 
70054
            } else { 
-
 
70055
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70056
            }
-
 
70057
            break;
-
 
70058
          default:
-
 
70059
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70060
        }
-
 
70061
        iprot.readFieldEnd();
-
 
70062
      }
-
 
70063
      iprot.readStructEnd();
-
 
70064
      validate();
-
 
70065
    }
-
 
70066
 
-
 
70067
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
70068
      oprot.writeStructBegin(STRUCT_DESC);
-
 
70069
 
-
 
70070
      if (this.isSetSuccess()) {
-
 
70071
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
70072
        {
-
 
70073
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
70074
          for (Amazonlisted _iter186 : this.success)
-
 
70075
          {
-
 
70076
            _iter186.write(oprot);
-
 
70077
          }
-
 
70078
          oprot.writeListEnd();
-
 
70079
        }
-
 
70080
        oprot.writeFieldEnd();
-
 
70081
      }
-
 
70082
      oprot.writeFieldStop();
-
 
70083
      oprot.writeStructEnd();
-
 
70084
    }
-
 
70085
 
-
 
70086
    @Override
-
 
70087
    public String toString() {
-
 
70088
      StringBuilder sb = new StringBuilder("getAllFbaListedItems_result(");
-
 
70089
      boolean first = true;
-
 
70090
 
-
 
70091
      sb.append("success:");
-
 
70092
      if (this.success == null) {
-
 
70093
        sb.append("null");
-
 
70094
      } else {
-
 
70095
        sb.append(this.success);
-
 
70096
      }
-
 
70097
      first = false;
-
 
70098
      sb.append(")");
-
 
70099
      return sb.toString();
-
 
70100
    }
-
 
70101
 
-
 
70102
    public void validate() throws org.apache.thrift.TException {
-
 
70103
      // check for required fields
-
 
70104
    }
-
 
70105
 
-
 
70106
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
70107
      try {
-
 
70108
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
70109
      } catch (org.apache.thrift.TException te) {
-
 
70110
        throw new java.io.IOException(te);
-
 
70111
      }
-
 
70112
    }
-
 
70113
 
-
 
70114
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
70115
      try {
-
 
70116
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
70117
      } catch (org.apache.thrift.TException te) {
-
 
70118
        throw new java.io.IOException(te);
-
 
70119
      }
-
 
70120
    }
-
 
70121
 
-
 
70122
  }
-
 
70123
 
-
 
70124
  public static class getAllNonFbaListedItems_args implements org.apache.thrift.TBase<getAllNonFbaListedItems_args, getAllNonFbaListedItems_args._Fields>, java.io.Serializable, Cloneable   {
-
 
70125
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllNonFbaListedItems_args");
-
 
70126
 
-
 
70127
 
-
 
70128
 
-
 
70129
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
70130
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
70131
;
-
 
70132
 
-
 
70133
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
70134
 
-
 
70135
      static {
-
 
70136
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
70137
          byName.put(field.getFieldName(), field);
-
 
70138
        }
-
 
70139
      }
-
 
70140
 
-
 
70141
      /**
-
 
70142
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
70143
       */
-
 
70144
      public static _Fields findByThriftId(int fieldId) {
-
 
70145
        switch(fieldId) {
-
 
70146
          default:
-
 
70147
            return null;
-
 
70148
        }
-
 
70149
      }
-
 
70150
 
-
 
70151
      /**
-
 
70152
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
70153
       * if it is not found.
-
 
70154
       */
-
 
70155
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
70156
        _Fields fields = findByThriftId(fieldId);
-
 
70157
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
70158
        return fields;
-
 
70159
      }
-
 
70160
 
-
 
70161
      /**
-
 
70162
       * Find the _Fields constant that matches name, or null if its not found.
-
 
70163
       */
-
 
70164
      public static _Fields findByName(String name) {
-
 
70165
        return byName.get(name);
-
 
70166
      }
-
 
70167
 
-
 
70168
      private final short _thriftId;
-
 
70169
      private final String _fieldName;
-
 
70170
 
-
 
70171
      _Fields(short thriftId, String fieldName) {
-
 
70172
        _thriftId = thriftId;
-
 
70173
        _fieldName = fieldName;
-
 
70174
      }
-
 
70175
 
-
 
70176
      public short getThriftFieldId() {
-
 
70177
        return _thriftId;
-
 
70178
      }
-
 
70179
 
-
 
70180
      public String getFieldName() {
-
 
70181
        return _fieldName;
-
 
70182
      }
-
 
70183
    }
-
 
70184
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
70185
    static {
-
 
70186
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
70187
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
70188
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllNonFbaListedItems_args.class, metaDataMap);
-
 
70189
    }
-
 
70190
 
-
 
70191
    public getAllNonFbaListedItems_args() {
-
 
70192
    }
-
 
70193
 
-
 
70194
    /**
-
 
70195
     * Performs a deep copy on <i>other</i>.
-
 
70196
     */
-
 
70197
    public getAllNonFbaListedItems_args(getAllNonFbaListedItems_args other) {
-
 
70198
    }
-
 
70199
 
-
 
70200
    public getAllNonFbaListedItems_args deepCopy() {
-
 
70201
      return new getAllNonFbaListedItems_args(this);
-
 
70202
    }
-
 
70203
 
-
 
70204
    @Override
-
 
70205
    public void clear() {
-
 
70206
    }
-
 
70207
 
-
 
70208
    public void setFieldValue(_Fields field, Object value) {
-
 
70209
      switch (field) {
-
 
70210
      }
-
 
70211
    }
-
 
70212
 
-
 
70213
    public Object getFieldValue(_Fields field) {
-
 
70214
      switch (field) {
-
 
70215
      }
-
 
70216
      throw new IllegalStateException();
-
 
70217
    }
-
 
70218
 
-
 
70219
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
70220
    public boolean isSet(_Fields field) {
-
 
70221
      if (field == null) {
-
 
70222
        throw new IllegalArgumentException();
-
 
70223
      }
-
 
70224
 
-
 
70225
      switch (field) {
-
 
70226
      }
-
 
70227
      throw new IllegalStateException();
-
 
70228
    }
-
 
70229
 
-
 
70230
    @Override
-
 
70231
    public boolean equals(Object that) {
-
 
70232
      if (that == null)
-
 
70233
        return false;
-
 
70234
      if (that instanceof getAllNonFbaListedItems_args)
-
 
70235
        return this.equals((getAllNonFbaListedItems_args)that);
-
 
70236
      return false;
-
 
70237
    }
-
 
70238
 
-
 
70239
    public boolean equals(getAllNonFbaListedItems_args that) {
-
 
70240
      if (that == null)
-
 
70241
        return false;
-
 
70242
 
-
 
70243
      return true;
-
 
70244
    }
-
 
70245
 
-
 
70246
    @Override
-
 
70247
    public int hashCode() {
-
 
70248
      return 0;
-
 
70249
    }
-
 
70250
 
-
 
70251
    public int compareTo(getAllNonFbaListedItems_args other) {
-
 
70252
      if (!getClass().equals(other.getClass())) {
-
 
70253
        return getClass().getName().compareTo(other.getClass().getName());
-
 
70254
      }
-
 
70255
 
-
 
70256
      int lastComparison = 0;
-
 
70257
      getAllNonFbaListedItems_args typedOther = (getAllNonFbaListedItems_args)other;
-
 
70258
 
-
 
70259
      return 0;
-
 
70260
    }
-
 
70261
 
-
 
70262
    public _Fields fieldForId(int fieldId) {
-
 
70263
      return _Fields.findByThriftId(fieldId);
-
 
70264
    }
-
 
70265
 
-
 
70266
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
70267
      org.apache.thrift.protocol.TField field;
-
 
70268
      iprot.readStructBegin();
-
 
70269
      while (true)
-
 
70270
      {
-
 
70271
        field = iprot.readFieldBegin();
-
 
70272
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
70273
          break;
-
 
70274
        }
-
 
70275
        switch (field.id) {
-
 
70276
          default:
-
 
70277
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70278
        }
-
 
70279
        iprot.readFieldEnd();
-
 
70280
      }
-
 
70281
      iprot.readStructEnd();
-
 
70282
      validate();
-
 
70283
    }
-
 
70284
 
-
 
70285
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
70286
      validate();
-
 
70287
 
-
 
70288
      oprot.writeStructBegin(STRUCT_DESC);
-
 
70289
      oprot.writeFieldStop();
-
 
70290
      oprot.writeStructEnd();
-
 
70291
    }
-
 
70292
 
-
 
70293
    @Override
-
 
70294
    public String toString() {
-
 
70295
      StringBuilder sb = new StringBuilder("getAllNonFbaListedItems_args(");
-
 
70296
      boolean first = true;
-
 
70297
 
-
 
70298
      sb.append(")");
-
 
70299
      return sb.toString();
-
 
70300
    }
-
 
70301
 
-
 
70302
    public void validate() throws org.apache.thrift.TException {
-
 
70303
      // check for required fields
-
 
70304
    }
-
 
70305
 
-
 
70306
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
70307
      try {
-
 
70308
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
70309
      } catch (org.apache.thrift.TException te) {
-
 
70310
        throw new java.io.IOException(te);
-
 
70311
      }
-
 
70312
    }
-
 
70313
 
-
 
70314
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
70315
      try {
-
 
70316
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
70317
      } catch (org.apache.thrift.TException te) {
-
 
70318
        throw new java.io.IOException(te);
-
 
70319
      }
-
 
70320
    }
-
 
70321
 
-
 
70322
  }
-
 
70323
 
-
 
70324
  public static class getAllNonFbaListedItems_result implements org.apache.thrift.TBase<getAllNonFbaListedItems_result, getAllNonFbaListedItems_result._Fields>, java.io.Serializable, Cloneable   {
-
 
70325
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllNonFbaListedItems_result");
-
 
70326
 
-
 
70327
    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);
-
 
70328
 
-
 
70329
    private List<Amazonlisted> success; // required
-
 
70330
 
-
 
70331
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
70332
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
70333
      SUCCESS((short)0, "success");
-
 
70334
 
-
 
70335
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
70336
 
-
 
70337
      static {
-
 
70338
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
70339
          byName.put(field.getFieldName(), field);
-
 
70340
        }
-
 
70341
      }
-
 
70342
 
-
 
70343
      /**
-
 
70344
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
70345
       */
-
 
70346
      public static _Fields findByThriftId(int fieldId) {
-
 
70347
        switch(fieldId) {
-
 
70348
          case 0: // SUCCESS
-
 
70349
            return SUCCESS;
-
 
70350
          default:
-
 
70351
            return null;
-
 
70352
        }
-
 
70353
      }
-
 
70354
 
-
 
70355
      /**
-
 
70356
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
70357
       * if it is not found.
-
 
70358
       */
-
 
70359
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
70360
        _Fields fields = findByThriftId(fieldId);
-
 
70361
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
70362
        return fields;
-
 
70363
      }
-
 
70364
 
-
 
70365
      /**
-
 
70366
       * Find the _Fields constant that matches name, or null if its not found.
-
 
70367
       */
-
 
70368
      public static _Fields findByName(String name) {
-
 
70369
        return byName.get(name);
-
 
70370
      }
-
 
70371
 
-
 
70372
      private final short _thriftId;
-
 
70373
      private final String _fieldName;
-
 
70374
 
-
 
70375
      _Fields(short thriftId, String fieldName) {
-
 
70376
        _thriftId = thriftId;
-
 
70377
        _fieldName = fieldName;
-
 
70378
      }
-
 
70379
 
-
 
70380
      public short getThriftFieldId() {
-
 
70381
        return _thriftId;
-
 
70382
      }
-
 
70383
 
-
 
70384
      public String getFieldName() {
-
 
70385
        return _fieldName;
-
 
70386
      }
-
 
70387
    }
-
 
70388
 
-
 
70389
    // isset id assignments
-
 
70390
 
-
 
70391
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
70392
    static {
-
 
70393
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
70394
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70395
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
70396
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class))));
-
 
70397
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
70398
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllNonFbaListedItems_result.class, metaDataMap);
-
 
70399
    }
-
 
70400
 
-
 
70401
    public getAllNonFbaListedItems_result() {
-
 
70402
    }
-
 
70403
 
-
 
70404
    public getAllNonFbaListedItems_result(
-
 
70405
      List<Amazonlisted> success)
-
 
70406
    {
-
 
70407
      this();
-
 
70408
      this.success = success;
-
 
70409
    }
-
 
70410
 
-
 
70411
    /**
-
 
70412
     * Performs a deep copy on <i>other</i>.
-
 
70413
     */
-
 
70414
    public getAllNonFbaListedItems_result(getAllNonFbaListedItems_result other) {
-
 
70415
      if (other.isSetSuccess()) {
-
 
70416
        List<Amazonlisted> __this__success = new ArrayList<Amazonlisted>();
-
 
70417
        for (Amazonlisted other_element : other.success) {
-
 
70418
          __this__success.add(new Amazonlisted(other_element));
-
 
70419
        }
-
 
70420
        this.success = __this__success;
-
 
70421
      }
-
 
70422
    }
-
 
70423
 
-
 
70424
    public getAllNonFbaListedItems_result deepCopy() {
-
 
70425
      return new getAllNonFbaListedItems_result(this);
-
 
70426
    }
-
 
70427
 
-
 
70428
    @Override
-
 
70429
    public void clear() {
-
 
70430
      this.success = null;
-
 
70431
    }
-
 
70432
 
-
 
70433
    public int getSuccessSize() {
-
 
70434
      return (this.success == null) ? 0 : this.success.size();
-
 
70435
    }
-
 
70436
 
-
 
70437
    public java.util.Iterator<Amazonlisted> getSuccessIterator() {
-
 
70438
      return (this.success == null) ? null : this.success.iterator();
-
 
70439
    }
-
 
70440
 
-
 
70441
    public void addToSuccess(Amazonlisted elem) {
-
 
70442
      if (this.success == null) {
-
 
70443
        this.success = new ArrayList<Amazonlisted>();
-
 
70444
      }
-
 
70445
      this.success.add(elem);
-
 
70446
    }
-
 
70447
 
-
 
70448
    public List<Amazonlisted> getSuccess() {
-
 
70449
      return this.success;
-
 
70450
    }
-
 
70451
 
-
 
70452
    public void setSuccess(List<Amazonlisted> success) {
-
 
70453
      this.success = success;
-
 
70454
    }
-
 
70455
 
-
 
70456
    public void unsetSuccess() {
-
 
70457
      this.success = null;
-
 
70458
    }
-
 
70459
 
-
 
70460
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
70461
    public boolean isSetSuccess() {
-
 
70462
      return this.success != null;
-
 
70463
    }
-
 
70464
 
-
 
70465
    public void setSuccessIsSet(boolean value) {
-
 
70466
      if (!value) {
-
 
70467
        this.success = null;
-
 
70468
      }
-
 
70469
    }
-
 
70470
 
-
 
70471
    public void setFieldValue(_Fields field, Object value) {
-
 
70472
      switch (field) {
-
 
70473
      case SUCCESS:
-
 
70474
        if (value == null) {
-
 
70475
          unsetSuccess();
-
 
70476
        } else {
-
 
70477
          setSuccess((List<Amazonlisted>)value);
-
 
70478
        }
-
 
70479
        break;
-
 
70480
 
-
 
70481
      }
-
 
70482
    }
-
 
70483
 
-
 
70484
    public Object getFieldValue(_Fields field) {
-
 
70485
      switch (field) {
-
 
70486
      case SUCCESS:
-
 
70487
        return getSuccess();
-
 
70488
 
-
 
70489
      }
-
 
70490
      throw new IllegalStateException();
-
 
70491
    }
-
 
70492
 
-
 
70493
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
70494
    public boolean isSet(_Fields field) {
-
 
70495
      if (field == null) {
-
 
70496
        throw new IllegalArgumentException();
-
 
70497
      }
-
 
70498
 
-
 
70499
      switch (field) {
-
 
70500
      case SUCCESS:
-
 
70501
        return isSetSuccess();
-
 
70502
      }
-
 
70503
      throw new IllegalStateException();
-
 
70504
    }
-
 
70505
 
-
 
70506
    @Override
-
 
70507
    public boolean equals(Object that) {
-
 
70508
      if (that == null)
-
 
70509
        return false;
-
 
70510
      if (that instanceof getAllNonFbaListedItems_result)
-
 
70511
        return this.equals((getAllNonFbaListedItems_result)that);
-
 
70512
      return false;
-
 
70513
    }
-
 
70514
 
-
 
70515
    public boolean equals(getAllNonFbaListedItems_result that) {
-
 
70516
      if (that == null)
-
 
70517
        return false;
-
 
70518
 
-
 
70519
      boolean this_present_success = true && this.isSetSuccess();
-
 
70520
      boolean that_present_success = true && that.isSetSuccess();
-
 
70521
      if (this_present_success || that_present_success) {
-
 
70522
        if (!(this_present_success && that_present_success))
-
 
70523
          return false;
-
 
70524
        if (!this.success.equals(that.success))
-
 
70525
          return false;
-
 
70526
      }
-
 
70527
 
-
 
70528
      return true;
-
 
70529
    }
-
 
70530
 
-
 
70531
    @Override
-
 
70532
    public int hashCode() {
-
 
70533
      return 0;
-
 
70534
    }
-
 
70535
 
-
 
70536
    public int compareTo(getAllNonFbaListedItems_result other) {
-
 
70537
      if (!getClass().equals(other.getClass())) {
-
 
70538
        return getClass().getName().compareTo(other.getClass().getName());
-
 
70539
      }
-
 
70540
 
-
 
70541
      int lastComparison = 0;
-
 
70542
      getAllNonFbaListedItems_result typedOther = (getAllNonFbaListedItems_result)other;
-
 
70543
 
-
 
70544
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
70545
      if (lastComparison != 0) {
-
 
70546
        return lastComparison;
-
 
70547
      }
-
 
70548
      if (isSetSuccess()) {
-
 
70549
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
70550
        if (lastComparison != 0) {
-
 
70551
          return lastComparison;
-
 
70552
        }
-
 
70553
      }
-
 
70554
      return 0;
-
 
70555
    }
-
 
70556
 
-
 
70557
    public _Fields fieldForId(int fieldId) {
-
 
70558
      return _Fields.findByThriftId(fieldId);
-
 
70559
    }
-
 
70560
 
-
 
70561
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
70562
      org.apache.thrift.protocol.TField field;
-
 
70563
      iprot.readStructBegin();
-
 
70564
      while (true)
-
 
70565
      {
-
 
70566
        field = iprot.readFieldBegin();
-
 
70567
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
70568
          break;
-
 
70569
        }
-
 
70570
        switch (field.id) {
-
 
70571
          case 0: // SUCCESS
-
 
70572
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
70573
              {
-
 
70574
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
-
 
70575
                this.success = new ArrayList<Amazonlisted>(_list187.size);
-
 
70576
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
-
 
70577
                {
-
 
70578
                  Amazonlisted _elem189; // required
-
 
70579
                  _elem189 = new Amazonlisted();
-
 
70580
                  _elem189.read(iprot);
-
 
70581
                  this.success.add(_elem189);
-
 
70582
                }
-
 
70583
                iprot.readListEnd();
-
 
70584
              }
-
 
70585
            } else { 
-
 
70586
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70587
            }
-
 
70588
            break;
-
 
70589
          default:
-
 
70590
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70591
        }
-
 
70592
        iprot.readFieldEnd();
-
 
70593
      }
-
 
70594
      iprot.readStructEnd();
-
 
70595
      validate();
-
 
70596
    }
-
 
70597
 
-
 
70598
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
70599
      oprot.writeStructBegin(STRUCT_DESC);
-
 
70600
 
-
 
70601
      if (this.isSetSuccess()) {
-
 
70602
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
70603
        {
-
 
70604
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
70605
          for (Amazonlisted _iter190 : this.success)
-
 
70606
          {
-
 
70607
            _iter190.write(oprot);
-
 
70608
          }
-
 
70609
          oprot.writeListEnd();
-
 
70610
        }
-
 
70611
        oprot.writeFieldEnd();
-
 
70612
      }
-
 
70613
      oprot.writeFieldStop();
-
 
70614
      oprot.writeStructEnd();
-
 
70615
    }
-
 
70616
 
-
 
70617
    @Override
-
 
70618
    public String toString() {
-
 
70619
      StringBuilder sb = new StringBuilder("getAllNonFbaListedItems_result(");
-
 
70620
      boolean first = true;
-
 
70621
 
-
 
70622
      sb.append("success:");
-
 
70623
      if (this.success == null) {
-
 
70624
        sb.append("null");
-
 
70625
      } else {
-
 
70626
        sb.append(this.success);
-
 
70627
      }
-
 
70628
      first = false;
-
 
70629
      sb.append(")");
-
 
70630
      return sb.toString();
-
 
70631
    }
-
 
70632
 
-
 
70633
    public void validate() throws org.apache.thrift.TException {
68825
      // check for required fields
70634
      // check for required fields
68826
    }
70635
    }
68827
 
70636
 
68828
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
70637
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
68829
      try {
70638
      try {