Subversion Repositories SmartDukaan

Rev

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

Rev 8182 Rev 8379
Line 429... Line 429...
429
 
429
 
430
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException;
430
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException;
431
 
431
 
432
    public boolean updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException;
432
    public boolean updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException;
433
 
433
 
-
 
434
    public List<Amazonlisted> getAllItemstoListOnFba() throws org.apache.thrift.TException;
-
 
435
 
-
 
436
    public List<Amazonlisted> getAllItemstoListOnNonFba() throws org.apache.thrift.TException;
-
 
437
 
434
  }
438
  }
435
 
439
 
436
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
440
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
437
 
441
 
438
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
442
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 647... Line 651...
647
 
651
 
648
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
652
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
649
 
653
 
650
    public void updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonAttributesInBulk_call> resultHandler) throws org.apache.thrift.TException;
654
    public void updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonAttributesInBulk_call> resultHandler) throws org.apache.thrift.TException;
651
 
655
 
-
 
656
    public void getAllItemstoListOnFba(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemstoListOnFba_call> resultHandler) throws org.apache.thrift.TException;
-
 
657
 
-
 
658
    public void getAllItemstoListOnNonFba(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemstoListOnNonFba_call> resultHandler) throws org.apache.thrift.TException;
-
 
659
 
652
  }
660
  }
653
 
661
 
654
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
662
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
655
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
663
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
656
      public Factory() {}
664
      public Factory() {}
Line 3238... Line 3246...
3238
        return result.success;
3246
        return result.success;
3239
      }
3247
      }
3240
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
3248
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
3241
    }
3249
    }
3242
 
3250
 
-
 
3251
    public List<Amazonlisted> getAllItemstoListOnFba() throws org.apache.thrift.TException
-
 
3252
    {
-
 
3253
      send_getAllItemstoListOnFba();
-
 
3254
      return recv_getAllItemstoListOnFba();
-
 
3255
    }
-
 
3256
 
-
 
3257
    public void send_getAllItemstoListOnFba() throws org.apache.thrift.TException
-
 
3258
    {
-
 
3259
      getAllItemstoListOnFba_args args = new getAllItemstoListOnFba_args();
-
 
3260
      sendBase("getAllItemstoListOnFba", args);
-
 
3261
    }
-
 
3262
 
-
 
3263
    public List<Amazonlisted> recv_getAllItemstoListOnFba() throws org.apache.thrift.TException
-
 
3264
    {
-
 
3265
      getAllItemstoListOnFba_result result = new getAllItemstoListOnFba_result();
-
 
3266
      receiveBase(result, "getAllItemstoListOnFba");
-
 
3267
      if (result.isSetSuccess()) {
-
 
3268
        return result.success;
-
 
3269
      }
-
 
3270
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
-
 
3271
    }
-
 
3272
 
-
 
3273
    public List<Amazonlisted> getAllItemstoListOnNonFba() throws org.apache.thrift.TException
-
 
3274
    {
-
 
3275
      send_getAllItemstoListOnNonFba();
-
 
3276
      return recv_getAllItemstoListOnNonFba();
-
 
3277
    }
-
 
3278
 
-
 
3279
    public void send_getAllItemstoListOnNonFba() throws org.apache.thrift.TException
-
 
3280
    {
-
 
3281
      getAllItemstoListOnNonFba_args args = new getAllItemstoListOnNonFba_args();
-
 
3282
      sendBase("getAllItemstoListOnNonFba", args);
-
 
3283
    }
-
 
3284
 
-
 
3285
    public List<Amazonlisted> recv_getAllItemstoListOnNonFba() throws org.apache.thrift.TException
-
 
3286
    {
-
 
3287
      getAllItemstoListOnNonFba_result result = new getAllItemstoListOnNonFba_result();
-
 
3288
      receiveBase(result, "getAllItemstoListOnNonFba");
-
 
3289
      if (result.isSetSuccess()) {
-
 
3290
        return result.success;
-
 
3291
      }
-
 
3292
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
-
 
3293
    }
-
 
3294
 
3243
  }
3295
  }
3244
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3296
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3245
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3297
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3246
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3298
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3247
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3299
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 6806... Line 6858...
6806
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6858
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6807
        return (new Client(prot)).recv_updateAmazonAttributesInBulk();
6859
        return (new Client(prot)).recv_updateAmazonAttributesInBulk();
6808
      }
6860
      }
6809
    }
6861
    }
6810
 
6862
 
-
 
6863
    public void getAllItemstoListOnFba(org.apache.thrift.async.AsyncMethodCallback<getAllItemstoListOnFba_call> resultHandler) throws org.apache.thrift.TException {
-
 
6864
      checkReady();
-
 
6865
      getAllItemstoListOnFba_call method_call = new getAllItemstoListOnFba_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
6866
      this.___currentMethod = method_call;
-
 
6867
      ___manager.call(method_call);
-
 
6868
    }
-
 
6869
 
-
 
6870
    public static class getAllItemstoListOnFba_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6871
      public getAllItemstoListOnFba_call(org.apache.thrift.async.AsyncMethodCallback<getAllItemstoListOnFba_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 {
-
 
6872
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6873
      }
-
 
6874
 
-
 
6875
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6876
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllItemstoListOnFba", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6877
        getAllItemstoListOnFba_args args = new getAllItemstoListOnFba_args();
-
 
6878
        args.write(prot);
-
 
6879
        prot.writeMessageEnd();
-
 
6880
      }
-
 
6881
 
-
 
6882
      public List<Amazonlisted> getResult() throws org.apache.thrift.TException {
-
 
6883
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6884
          throw new IllegalStateException("Method call not finished!");
-
 
6885
        }
-
 
6886
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6887
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6888
        return (new Client(prot)).recv_getAllItemstoListOnFba();
-
 
6889
      }
-
 
6890
    }
-
 
6891
 
-
 
6892
    public void getAllItemstoListOnNonFba(org.apache.thrift.async.AsyncMethodCallback<getAllItemstoListOnNonFba_call> resultHandler) throws org.apache.thrift.TException {
-
 
6893
      checkReady();
-
 
6894
      getAllItemstoListOnNonFba_call method_call = new getAllItemstoListOnNonFba_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
6895
      this.___currentMethod = method_call;
-
 
6896
      ___manager.call(method_call);
-
 
6897
    }
-
 
6898
 
-
 
6899
    public static class getAllItemstoListOnNonFba_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6900
      public getAllItemstoListOnNonFba_call(org.apache.thrift.async.AsyncMethodCallback<getAllItemstoListOnNonFba_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 {
-
 
6901
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6902
      }
-
 
6903
 
-
 
6904
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6905
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllItemstoListOnNonFba", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6906
        getAllItemstoListOnNonFba_args args = new getAllItemstoListOnNonFba_args();
-
 
6907
        args.write(prot);
-
 
6908
        prot.writeMessageEnd();
-
 
6909
      }
-
 
6910
 
-
 
6911
      public List<Amazonlisted> getResult() throws org.apache.thrift.TException {
-
 
6912
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6913
          throw new IllegalStateException("Method call not finished!");
-
 
6914
        }
-
 
6915
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6916
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6917
        return (new Client(prot)).recv_getAllItemstoListOnNonFba();
-
 
6918
      }
-
 
6919
    }
-
 
6920
 
6811
  }
6921
  }
6812
 
6922
 
6813
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6923
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6814
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6924
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6815
    public Processor(I iface) {
6925
    public Processor(I iface) {
Line 6926... Line 7036...
6926
      processMap.put("addEbayItem", new addEbayItem());
7036
      processMap.put("addEbayItem", new addEbayItem());
6927
      processMap.put("getEbayItem", new getEbayItem());
7037
      processMap.put("getEbayItem", new getEbayItem());
6928
      processMap.put("updateEbayItem", new updateEbayItem());
7038
      processMap.put("updateEbayItem", new updateEbayItem());
6929
      processMap.put("getAmazonListedItems", new getAmazonListedItems());
7039
      processMap.put("getAmazonListedItems", new getAmazonListedItems());
6930
      processMap.put("updateAmazonAttributesInBulk", new updateAmazonAttributesInBulk());
7040
      processMap.put("updateAmazonAttributesInBulk", new updateAmazonAttributesInBulk());
-
 
7041
      processMap.put("getAllItemstoListOnFba", new getAllItemstoListOnFba());
-
 
7042
      processMap.put("getAllItemstoListOnNonFba", new getAllItemstoListOnNonFba());
6931
      return processMap;
7043
      return processMap;
6932
    }
7044
    }
6933
 
7045
 
6934
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
7046
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6935
      public addItem() {
7047
      public addItem() {
Line 8827... Line 8939...
8827
        result.setSuccessIsSet(true);
8939
        result.setSuccessIsSet(true);
8828
        return result;
8940
        return result;
8829
      }
8941
      }
8830
    }
8942
    }
8831
 
8943
 
-
 
8944
    private static class getAllItemstoListOnFba<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllItemstoListOnFba_args> {
-
 
8945
      public getAllItemstoListOnFba() {
-
 
8946
        super("getAllItemstoListOnFba");
-
 
8947
      }
-
 
8948
 
-
 
8949
      protected getAllItemstoListOnFba_args getEmptyArgsInstance() {
-
 
8950
        return new getAllItemstoListOnFba_args();
-
 
8951
      }
-
 
8952
 
-
 
8953
      protected getAllItemstoListOnFba_result getResult(I iface, getAllItemstoListOnFba_args args) throws org.apache.thrift.TException {
-
 
8954
        getAllItemstoListOnFba_result result = new getAllItemstoListOnFba_result();
-
 
8955
        result.success = iface.getAllItemstoListOnFba();
-
 
8956
        return result;
-
 
8957
      }
-
 
8958
    }
-
 
8959
 
-
 
8960
    private static class getAllItemstoListOnNonFba<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllItemstoListOnNonFba_args> {
-
 
8961
      public getAllItemstoListOnNonFba() {
-
 
8962
        super("getAllItemstoListOnNonFba");
-
 
8963
      }
-
 
8964
 
-
 
8965
      protected getAllItemstoListOnNonFba_args getEmptyArgsInstance() {
-
 
8966
        return new getAllItemstoListOnNonFba_args();
-
 
8967
      }
-
 
8968
 
-
 
8969
      protected getAllItemstoListOnNonFba_result getResult(I iface, getAllItemstoListOnNonFba_args args) throws org.apache.thrift.TException {
-
 
8970
        getAllItemstoListOnNonFba_result result = new getAllItemstoListOnNonFba_result();
-
 
8971
        result.success = iface.getAllItemstoListOnNonFba();
-
 
8972
        return result;
-
 
8973
      }
-
 
8974
    }
-
 
8975
 
8832
  }
8976
  }
8833
 
8977
 
8834
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8978
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8835
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8979
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8836
 
8980
 
Line 78888... Line 79032...
78888
      first = false;
79032
      first = false;
78889
      sb.append(")");
79033
      sb.append(")");
78890
      return sb.toString();
79034
      return sb.toString();
78891
    }
79035
    }
78892
 
79036
 
-
 
79037
    public void validate() throws org.apache.thrift.TException {
-
 
79038
      // check for required fields
-
 
79039
    }
-
 
79040
 
-
 
79041
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
79042
      try {
-
 
79043
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
79044
      } catch (org.apache.thrift.TException te) {
-
 
79045
        throw new java.io.IOException(te);
-
 
79046
      }
-
 
79047
    }
-
 
79048
 
-
 
79049
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
79050
      try {
-
 
79051
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
79052
      } catch (org.apache.thrift.TException te) {
-
 
79053
        throw new java.io.IOException(te);
-
 
79054
      }
-
 
79055
    }
-
 
79056
 
-
 
79057
  }
-
 
79058
 
-
 
79059
  public static class getAllItemstoListOnFba_args implements org.apache.thrift.TBase<getAllItemstoListOnFba_args, getAllItemstoListOnFba_args._Fields>, java.io.Serializable, Cloneable   {
-
 
79060
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllItemstoListOnFba_args");
-
 
79061
 
-
 
79062
 
-
 
79063
 
-
 
79064
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
79065
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
79066
;
-
 
79067
 
-
 
79068
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
79069
 
-
 
79070
      static {
-
 
79071
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
79072
          byName.put(field.getFieldName(), field);
-
 
79073
        }
-
 
79074
      }
-
 
79075
 
-
 
79076
      /**
-
 
79077
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
79078
       */
-
 
79079
      public static _Fields findByThriftId(int fieldId) {
-
 
79080
        switch(fieldId) {
-
 
79081
          default:
-
 
79082
            return null;
-
 
79083
        }
-
 
79084
      }
-
 
79085
 
-
 
79086
      /**
-
 
79087
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
79088
       * if it is not found.
-
 
79089
       */
-
 
79090
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
79091
        _Fields fields = findByThriftId(fieldId);
-
 
79092
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
79093
        return fields;
-
 
79094
      }
-
 
79095
 
-
 
79096
      /**
-
 
79097
       * Find the _Fields constant that matches name, or null if its not found.
-
 
79098
       */
-
 
79099
      public static _Fields findByName(String name) {
-
 
79100
        return byName.get(name);
-
 
79101
      }
-
 
79102
 
-
 
79103
      private final short _thriftId;
-
 
79104
      private final String _fieldName;
-
 
79105
 
-
 
79106
      _Fields(short thriftId, String fieldName) {
-
 
79107
        _thriftId = thriftId;
-
 
79108
        _fieldName = fieldName;
-
 
79109
      }
-
 
79110
 
-
 
79111
      public short getThriftFieldId() {
-
 
79112
        return _thriftId;
-
 
79113
      }
-
 
79114
 
-
 
79115
      public String getFieldName() {
-
 
79116
        return _fieldName;
-
 
79117
      }
-
 
79118
    }
-
 
79119
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
79120
    static {
-
 
79121
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
79122
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
79123
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllItemstoListOnFba_args.class, metaDataMap);
-
 
79124
    }
-
 
79125
 
-
 
79126
    public getAllItemstoListOnFba_args() {
-
 
79127
    }
-
 
79128
 
-
 
79129
    /**
-
 
79130
     * Performs a deep copy on <i>other</i>.
-
 
79131
     */
-
 
79132
    public getAllItemstoListOnFba_args(getAllItemstoListOnFba_args other) {
-
 
79133
    }
-
 
79134
 
-
 
79135
    public getAllItemstoListOnFba_args deepCopy() {
-
 
79136
      return new getAllItemstoListOnFba_args(this);
-
 
79137
    }
-
 
79138
 
-
 
79139
    @Override
-
 
79140
    public void clear() {
-
 
79141
    }
-
 
79142
 
-
 
79143
    public void setFieldValue(_Fields field, Object value) {
-
 
79144
      switch (field) {
-
 
79145
      }
-
 
79146
    }
-
 
79147
 
-
 
79148
    public Object getFieldValue(_Fields field) {
-
 
79149
      switch (field) {
-
 
79150
      }
-
 
79151
      throw new IllegalStateException();
-
 
79152
    }
-
 
79153
 
-
 
79154
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
79155
    public boolean isSet(_Fields field) {
-
 
79156
      if (field == null) {
-
 
79157
        throw new IllegalArgumentException();
-
 
79158
      }
-
 
79159
 
-
 
79160
      switch (field) {
-
 
79161
      }
-
 
79162
      throw new IllegalStateException();
-
 
79163
    }
-
 
79164
 
-
 
79165
    @Override
-
 
79166
    public boolean equals(Object that) {
-
 
79167
      if (that == null)
-
 
79168
        return false;
-
 
79169
      if (that instanceof getAllItemstoListOnFba_args)
-
 
79170
        return this.equals((getAllItemstoListOnFba_args)that);
-
 
79171
      return false;
-
 
79172
    }
-
 
79173
 
-
 
79174
    public boolean equals(getAllItemstoListOnFba_args that) {
-
 
79175
      if (that == null)
-
 
79176
        return false;
-
 
79177
 
-
 
79178
      return true;
-
 
79179
    }
-
 
79180
 
-
 
79181
    @Override
-
 
79182
    public int hashCode() {
-
 
79183
      return 0;
-
 
79184
    }
-
 
79185
 
-
 
79186
    public int compareTo(getAllItemstoListOnFba_args other) {
-
 
79187
      if (!getClass().equals(other.getClass())) {
-
 
79188
        return getClass().getName().compareTo(other.getClass().getName());
-
 
79189
      }
-
 
79190
 
-
 
79191
      int lastComparison = 0;
-
 
79192
      getAllItemstoListOnFba_args typedOther = (getAllItemstoListOnFba_args)other;
-
 
79193
 
-
 
79194
      return 0;
-
 
79195
    }
-
 
79196
 
-
 
79197
    public _Fields fieldForId(int fieldId) {
-
 
79198
      return _Fields.findByThriftId(fieldId);
-
 
79199
    }
-
 
79200
 
-
 
79201
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
79202
      org.apache.thrift.protocol.TField field;
-
 
79203
      iprot.readStructBegin();
-
 
79204
      while (true)
-
 
79205
      {
-
 
79206
        field = iprot.readFieldBegin();
-
 
79207
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
79208
          break;
-
 
79209
        }
-
 
79210
        switch (field.id) {
-
 
79211
          default:
-
 
79212
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79213
        }
-
 
79214
        iprot.readFieldEnd();
-
 
79215
      }
-
 
79216
      iprot.readStructEnd();
-
 
79217
      validate();
-
 
79218
    }
-
 
79219
 
-
 
79220
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
79221
      validate();
-
 
79222
 
-
 
79223
      oprot.writeStructBegin(STRUCT_DESC);
-
 
79224
      oprot.writeFieldStop();
-
 
79225
      oprot.writeStructEnd();
-
 
79226
    }
-
 
79227
 
-
 
79228
    @Override
-
 
79229
    public String toString() {
-
 
79230
      StringBuilder sb = new StringBuilder("getAllItemstoListOnFba_args(");
-
 
79231
      boolean first = true;
-
 
79232
 
-
 
79233
      sb.append(")");
-
 
79234
      return sb.toString();
-
 
79235
    }
-
 
79236
 
-
 
79237
    public void validate() throws org.apache.thrift.TException {
-
 
79238
      // check for required fields
-
 
79239
    }
-
 
79240
 
-
 
79241
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
79242
      try {
-
 
79243
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
79244
      } catch (org.apache.thrift.TException te) {
-
 
79245
        throw new java.io.IOException(te);
-
 
79246
      }
-
 
79247
    }
-
 
79248
 
-
 
79249
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
79250
      try {
-
 
79251
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
79252
      } catch (org.apache.thrift.TException te) {
-
 
79253
        throw new java.io.IOException(te);
-
 
79254
      }
-
 
79255
    }
-
 
79256
 
-
 
79257
  }
-
 
79258
 
-
 
79259
  public static class getAllItemstoListOnFba_result implements org.apache.thrift.TBase<getAllItemstoListOnFba_result, getAllItemstoListOnFba_result._Fields>, java.io.Serializable, Cloneable   {
-
 
79260
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllItemstoListOnFba_result");
-
 
79261
 
-
 
79262
    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);
-
 
79263
 
-
 
79264
    private List<Amazonlisted> success; // required
-
 
79265
 
-
 
79266
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
79267
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
79268
      SUCCESS((short)0, "success");
-
 
79269
 
-
 
79270
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
79271
 
-
 
79272
      static {
-
 
79273
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
79274
          byName.put(field.getFieldName(), field);
-
 
79275
        }
-
 
79276
      }
-
 
79277
 
-
 
79278
      /**
-
 
79279
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
79280
       */
-
 
79281
      public static _Fields findByThriftId(int fieldId) {
-
 
79282
        switch(fieldId) {
-
 
79283
          case 0: // SUCCESS
-
 
79284
            return SUCCESS;
-
 
79285
          default:
-
 
79286
            return null;
-
 
79287
        }
-
 
79288
      }
-
 
79289
 
-
 
79290
      /**
-
 
79291
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
79292
       * if it is not found.
-
 
79293
       */
-
 
79294
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
79295
        _Fields fields = findByThriftId(fieldId);
-
 
79296
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
79297
        return fields;
-
 
79298
      }
-
 
79299
 
-
 
79300
      /**
-
 
79301
       * Find the _Fields constant that matches name, or null if its not found.
-
 
79302
       */
-
 
79303
      public static _Fields findByName(String name) {
-
 
79304
        return byName.get(name);
-
 
79305
      }
-
 
79306
 
-
 
79307
      private final short _thriftId;
-
 
79308
      private final String _fieldName;
-
 
79309
 
-
 
79310
      _Fields(short thriftId, String fieldName) {
-
 
79311
        _thriftId = thriftId;
-
 
79312
        _fieldName = fieldName;
-
 
79313
      }
-
 
79314
 
-
 
79315
      public short getThriftFieldId() {
-
 
79316
        return _thriftId;
-
 
79317
      }
-
 
79318
 
-
 
79319
      public String getFieldName() {
-
 
79320
        return _fieldName;
-
 
79321
      }
-
 
79322
    }
-
 
79323
 
-
 
79324
    // isset id assignments
-
 
79325
 
-
 
79326
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
79327
    static {
-
 
79328
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
79329
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
79330
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
79331
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class))));
-
 
79332
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
79333
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllItemstoListOnFba_result.class, metaDataMap);
-
 
79334
    }
-
 
79335
 
-
 
79336
    public getAllItemstoListOnFba_result() {
-
 
79337
    }
-
 
79338
 
-
 
79339
    public getAllItemstoListOnFba_result(
-
 
79340
      List<Amazonlisted> success)
-
 
79341
    {
-
 
79342
      this();
-
 
79343
      this.success = success;
-
 
79344
    }
-
 
79345
 
-
 
79346
    /**
-
 
79347
     * Performs a deep copy on <i>other</i>.
-
 
79348
     */
-
 
79349
    public getAllItemstoListOnFba_result(getAllItemstoListOnFba_result other) {
-
 
79350
      if (other.isSetSuccess()) {
-
 
79351
        List<Amazonlisted> __this__success = new ArrayList<Amazonlisted>();
-
 
79352
        for (Amazonlisted other_element : other.success) {
-
 
79353
          __this__success.add(new Amazonlisted(other_element));
-
 
79354
        }
-
 
79355
        this.success = __this__success;
-
 
79356
      }
-
 
79357
    }
-
 
79358
 
-
 
79359
    public getAllItemstoListOnFba_result deepCopy() {
-
 
79360
      return new getAllItemstoListOnFba_result(this);
-
 
79361
    }
-
 
79362
 
-
 
79363
    @Override
-
 
79364
    public void clear() {
-
 
79365
      this.success = null;
-
 
79366
    }
-
 
79367
 
-
 
79368
    public int getSuccessSize() {
-
 
79369
      return (this.success == null) ? 0 : this.success.size();
-
 
79370
    }
-
 
79371
 
-
 
79372
    public java.util.Iterator<Amazonlisted> getSuccessIterator() {
-
 
79373
      return (this.success == null) ? null : this.success.iterator();
-
 
79374
    }
-
 
79375
 
-
 
79376
    public void addToSuccess(Amazonlisted elem) {
-
 
79377
      if (this.success == null) {
-
 
79378
        this.success = new ArrayList<Amazonlisted>();
-
 
79379
      }
-
 
79380
      this.success.add(elem);
-
 
79381
    }
-
 
79382
 
-
 
79383
    public List<Amazonlisted> getSuccess() {
-
 
79384
      return this.success;
-
 
79385
    }
-
 
79386
 
-
 
79387
    public void setSuccess(List<Amazonlisted> success) {
-
 
79388
      this.success = success;
-
 
79389
    }
-
 
79390
 
-
 
79391
    public void unsetSuccess() {
-
 
79392
      this.success = null;
-
 
79393
    }
-
 
79394
 
-
 
79395
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
79396
    public boolean isSetSuccess() {
-
 
79397
      return this.success != null;
-
 
79398
    }
-
 
79399
 
-
 
79400
    public void setSuccessIsSet(boolean value) {
-
 
79401
      if (!value) {
-
 
79402
        this.success = null;
-
 
79403
      }
-
 
79404
    }
-
 
79405
 
-
 
79406
    public void setFieldValue(_Fields field, Object value) {
-
 
79407
      switch (field) {
-
 
79408
      case SUCCESS:
-
 
79409
        if (value == null) {
-
 
79410
          unsetSuccess();
-
 
79411
        } else {
-
 
79412
          setSuccess((List<Amazonlisted>)value);
-
 
79413
        }
-
 
79414
        break;
-
 
79415
 
-
 
79416
      }
-
 
79417
    }
-
 
79418
 
-
 
79419
    public Object getFieldValue(_Fields field) {
-
 
79420
      switch (field) {
-
 
79421
      case SUCCESS:
-
 
79422
        return getSuccess();
-
 
79423
 
-
 
79424
      }
-
 
79425
      throw new IllegalStateException();
-
 
79426
    }
-
 
79427
 
-
 
79428
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
79429
    public boolean isSet(_Fields field) {
-
 
79430
      if (field == null) {
-
 
79431
        throw new IllegalArgumentException();
-
 
79432
      }
-
 
79433
 
-
 
79434
      switch (field) {
-
 
79435
      case SUCCESS:
-
 
79436
        return isSetSuccess();
-
 
79437
      }
-
 
79438
      throw new IllegalStateException();
-
 
79439
    }
-
 
79440
 
-
 
79441
    @Override
-
 
79442
    public boolean equals(Object that) {
-
 
79443
      if (that == null)
-
 
79444
        return false;
-
 
79445
      if (that instanceof getAllItemstoListOnFba_result)
-
 
79446
        return this.equals((getAllItemstoListOnFba_result)that);
-
 
79447
      return false;
-
 
79448
    }
-
 
79449
 
-
 
79450
    public boolean equals(getAllItemstoListOnFba_result that) {
-
 
79451
      if (that == null)
-
 
79452
        return false;
-
 
79453
 
-
 
79454
      boolean this_present_success = true && this.isSetSuccess();
-
 
79455
      boolean that_present_success = true && that.isSetSuccess();
-
 
79456
      if (this_present_success || that_present_success) {
-
 
79457
        if (!(this_present_success && that_present_success))
-
 
79458
          return false;
-
 
79459
        if (!this.success.equals(that.success))
-
 
79460
          return false;
-
 
79461
      }
-
 
79462
 
-
 
79463
      return true;
-
 
79464
    }
-
 
79465
 
-
 
79466
    @Override
-
 
79467
    public int hashCode() {
-
 
79468
      return 0;
-
 
79469
    }
-
 
79470
 
-
 
79471
    public int compareTo(getAllItemstoListOnFba_result other) {
-
 
79472
      if (!getClass().equals(other.getClass())) {
-
 
79473
        return getClass().getName().compareTo(other.getClass().getName());
-
 
79474
      }
-
 
79475
 
-
 
79476
      int lastComparison = 0;
-
 
79477
      getAllItemstoListOnFba_result typedOther = (getAllItemstoListOnFba_result)other;
-
 
79478
 
-
 
79479
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
79480
      if (lastComparison != 0) {
-
 
79481
        return lastComparison;
-
 
79482
      }
-
 
79483
      if (isSetSuccess()) {
-
 
79484
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
79485
        if (lastComparison != 0) {
-
 
79486
          return lastComparison;
-
 
79487
        }
-
 
79488
      }
-
 
79489
      return 0;
-
 
79490
    }
-
 
79491
 
-
 
79492
    public _Fields fieldForId(int fieldId) {
-
 
79493
      return _Fields.findByThriftId(fieldId);
-
 
79494
    }
-
 
79495
 
-
 
79496
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
79497
      org.apache.thrift.protocol.TField field;
-
 
79498
      iprot.readStructBegin();
-
 
79499
      while (true)
-
 
79500
      {
-
 
79501
        field = iprot.readFieldBegin();
-
 
79502
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
79503
          break;
-
 
79504
        }
-
 
79505
        switch (field.id) {
-
 
79506
          case 0: // SUCCESS
-
 
79507
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
79508
              {
-
 
79509
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
-
 
79510
                this.success = new ArrayList<Amazonlisted>(_list225.size);
-
 
79511
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
-
 
79512
                {
-
 
79513
                  Amazonlisted _elem227; // required
-
 
79514
                  _elem227 = new Amazonlisted();
-
 
79515
                  _elem227.read(iprot);
-
 
79516
                  this.success.add(_elem227);
-
 
79517
                }
-
 
79518
                iprot.readListEnd();
-
 
79519
              }
-
 
79520
            } else { 
-
 
79521
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79522
            }
-
 
79523
            break;
-
 
79524
          default:
-
 
79525
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79526
        }
-
 
79527
        iprot.readFieldEnd();
-
 
79528
      }
-
 
79529
      iprot.readStructEnd();
-
 
79530
      validate();
-
 
79531
    }
-
 
79532
 
-
 
79533
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
79534
      oprot.writeStructBegin(STRUCT_DESC);
-
 
79535
 
-
 
79536
      if (this.isSetSuccess()) {
-
 
79537
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
79538
        {
-
 
79539
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
79540
          for (Amazonlisted _iter228 : this.success)
-
 
79541
          {
-
 
79542
            _iter228.write(oprot);
-
 
79543
          }
-
 
79544
          oprot.writeListEnd();
-
 
79545
        }
-
 
79546
        oprot.writeFieldEnd();
-
 
79547
      }
-
 
79548
      oprot.writeFieldStop();
-
 
79549
      oprot.writeStructEnd();
-
 
79550
    }
-
 
79551
 
-
 
79552
    @Override
-
 
79553
    public String toString() {
-
 
79554
      StringBuilder sb = new StringBuilder("getAllItemstoListOnFba_result(");
-
 
79555
      boolean first = true;
-
 
79556
 
-
 
79557
      sb.append("success:");
-
 
79558
      if (this.success == null) {
-
 
79559
        sb.append("null");
-
 
79560
      } else {
-
 
79561
        sb.append(this.success);
-
 
79562
      }
-
 
79563
      first = false;
-
 
79564
      sb.append(")");
-
 
79565
      return sb.toString();
-
 
79566
    }
-
 
79567
 
-
 
79568
    public void validate() throws org.apache.thrift.TException {
-
 
79569
      // check for required fields
-
 
79570
    }
-
 
79571
 
-
 
79572
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
79573
      try {
-
 
79574
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
79575
      } catch (org.apache.thrift.TException te) {
-
 
79576
        throw new java.io.IOException(te);
-
 
79577
      }
-
 
79578
    }
-
 
79579
 
-
 
79580
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
79581
      try {
-
 
79582
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
79583
      } catch (org.apache.thrift.TException te) {
-
 
79584
        throw new java.io.IOException(te);
-
 
79585
      }
-
 
79586
    }
-
 
79587
 
-
 
79588
  }
-
 
79589
 
-
 
79590
  public static class getAllItemstoListOnNonFba_args implements org.apache.thrift.TBase<getAllItemstoListOnNonFba_args, getAllItemstoListOnNonFba_args._Fields>, java.io.Serializable, Cloneable   {
-
 
79591
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllItemstoListOnNonFba_args");
-
 
79592
 
-
 
79593
 
-
 
79594
 
-
 
79595
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
79596
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
79597
;
-
 
79598
 
-
 
79599
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
79600
 
-
 
79601
      static {
-
 
79602
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
79603
          byName.put(field.getFieldName(), field);
-
 
79604
        }
-
 
79605
      }
-
 
79606
 
-
 
79607
      /**
-
 
79608
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
79609
       */
-
 
79610
      public static _Fields findByThriftId(int fieldId) {
-
 
79611
        switch(fieldId) {
-
 
79612
          default:
-
 
79613
            return null;
-
 
79614
        }
-
 
79615
      }
-
 
79616
 
-
 
79617
      /**
-
 
79618
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
79619
       * if it is not found.
-
 
79620
       */
-
 
79621
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
79622
        _Fields fields = findByThriftId(fieldId);
-
 
79623
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
79624
        return fields;
-
 
79625
      }
-
 
79626
 
-
 
79627
      /**
-
 
79628
       * Find the _Fields constant that matches name, or null if its not found.
-
 
79629
       */
-
 
79630
      public static _Fields findByName(String name) {
-
 
79631
        return byName.get(name);
-
 
79632
      }
-
 
79633
 
-
 
79634
      private final short _thriftId;
-
 
79635
      private final String _fieldName;
-
 
79636
 
-
 
79637
      _Fields(short thriftId, String fieldName) {
-
 
79638
        _thriftId = thriftId;
-
 
79639
        _fieldName = fieldName;
-
 
79640
      }
-
 
79641
 
-
 
79642
      public short getThriftFieldId() {
-
 
79643
        return _thriftId;
-
 
79644
      }
-
 
79645
 
-
 
79646
      public String getFieldName() {
-
 
79647
        return _fieldName;
-
 
79648
      }
-
 
79649
    }
-
 
79650
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
79651
    static {
-
 
79652
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
79653
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
79654
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllItemstoListOnNonFba_args.class, metaDataMap);
-
 
79655
    }
-
 
79656
 
-
 
79657
    public getAllItemstoListOnNonFba_args() {
-
 
79658
    }
-
 
79659
 
-
 
79660
    /**
-
 
79661
     * Performs a deep copy on <i>other</i>.
-
 
79662
     */
-
 
79663
    public getAllItemstoListOnNonFba_args(getAllItemstoListOnNonFba_args other) {
-
 
79664
    }
-
 
79665
 
-
 
79666
    public getAllItemstoListOnNonFba_args deepCopy() {
-
 
79667
      return new getAllItemstoListOnNonFba_args(this);
-
 
79668
    }
-
 
79669
 
-
 
79670
    @Override
-
 
79671
    public void clear() {
-
 
79672
    }
-
 
79673
 
-
 
79674
    public void setFieldValue(_Fields field, Object value) {
-
 
79675
      switch (field) {
-
 
79676
      }
-
 
79677
    }
-
 
79678
 
-
 
79679
    public Object getFieldValue(_Fields field) {
-
 
79680
      switch (field) {
-
 
79681
      }
-
 
79682
      throw new IllegalStateException();
-
 
79683
    }
-
 
79684
 
-
 
79685
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
79686
    public boolean isSet(_Fields field) {
-
 
79687
      if (field == null) {
-
 
79688
        throw new IllegalArgumentException();
-
 
79689
      }
-
 
79690
 
-
 
79691
      switch (field) {
-
 
79692
      }
-
 
79693
      throw new IllegalStateException();
-
 
79694
    }
-
 
79695
 
-
 
79696
    @Override
-
 
79697
    public boolean equals(Object that) {
-
 
79698
      if (that == null)
-
 
79699
        return false;
-
 
79700
      if (that instanceof getAllItemstoListOnNonFba_args)
-
 
79701
        return this.equals((getAllItemstoListOnNonFba_args)that);
-
 
79702
      return false;
-
 
79703
    }
-
 
79704
 
-
 
79705
    public boolean equals(getAllItemstoListOnNonFba_args that) {
-
 
79706
      if (that == null)
-
 
79707
        return false;
-
 
79708
 
-
 
79709
      return true;
-
 
79710
    }
-
 
79711
 
-
 
79712
    @Override
-
 
79713
    public int hashCode() {
-
 
79714
      return 0;
-
 
79715
    }
-
 
79716
 
-
 
79717
    public int compareTo(getAllItemstoListOnNonFba_args other) {
-
 
79718
      if (!getClass().equals(other.getClass())) {
-
 
79719
        return getClass().getName().compareTo(other.getClass().getName());
-
 
79720
      }
-
 
79721
 
-
 
79722
      int lastComparison = 0;
-
 
79723
      getAllItemstoListOnNonFba_args typedOther = (getAllItemstoListOnNonFba_args)other;
-
 
79724
 
-
 
79725
      return 0;
-
 
79726
    }
-
 
79727
 
-
 
79728
    public _Fields fieldForId(int fieldId) {
-
 
79729
      return _Fields.findByThriftId(fieldId);
-
 
79730
    }
-
 
79731
 
-
 
79732
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
79733
      org.apache.thrift.protocol.TField field;
-
 
79734
      iprot.readStructBegin();
-
 
79735
      while (true)
-
 
79736
      {
-
 
79737
        field = iprot.readFieldBegin();
-
 
79738
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
79739
          break;
-
 
79740
        }
-
 
79741
        switch (field.id) {
-
 
79742
          default:
-
 
79743
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79744
        }
-
 
79745
        iprot.readFieldEnd();
-
 
79746
      }
-
 
79747
      iprot.readStructEnd();
-
 
79748
      validate();
-
 
79749
    }
-
 
79750
 
-
 
79751
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
79752
      validate();
-
 
79753
 
-
 
79754
      oprot.writeStructBegin(STRUCT_DESC);
-
 
79755
      oprot.writeFieldStop();
-
 
79756
      oprot.writeStructEnd();
-
 
79757
    }
-
 
79758
 
-
 
79759
    @Override
-
 
79760
    public String toString() {
-
 
79761
      StringBuilder sb = new StringBuilder("getAllItemstoListOnNonFba_args(");
-
 
79762
      boolean first = true;
-
 
79763
 
-
 
79764
      sb.append(")");
-
 
79765
      return sb.toString();
-
 
79766
    }
-
 
79767
 
-
 
79768
    public void validate() throws org.apache.thrift.TException {
-
 
79769
      // check for required fields
-
 
79770
    }
-
 
79771
 
-
 
79772
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
79773
      try {
-
 
79774
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
79775
      } catch (org.apache.thrift.TException te) {
-
 
79776
        throw new java.io.IOException(te);
-
 
79777
      }
-
 
79778
    }
-
 
79779
 
-
 
79780
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
79781
      try {
-
 
79782
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
79783
      } catch (org.apache.thrift.TException te) {
-
 
79784
        throw new java.io.IOException(te);
-
 
79785
      }
-
 
79786
    }
-
 
79787
 
-
 
79788
  }
-
 
79789
 
-
 
79790
  public static class getAllItemstoListOnNonFba_result implements org.apache.thrift.TBase<getAllItemstoListOnNonFba_result, getAllItemstoListOnNonFba_result._Fields>, java.io.Serializable, Cloneable   {
-
 
79791
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllItemstoListOnNonFba_result");
-
 
79792
 
-
 
79793
    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);
-
 
79794
 
-
 
79795
    private List<Amazonlisted> success; // required
-
 
79796
 
-
 
79797
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
79798
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
79799
      SUCCESS((short)0, "success");
-
 
79800
 
-
 
79801
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
79802
 
-
 
79803
      static {
-
 
79804
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
79805
          byName.put(field.getFieldName(), field);
-
 
79806
        }
-
 
79807
      }
-
 
79808
 
-
 
79809
      /**
-
 
79810
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
79811
       */
-
 
79812
      public static _Fields findByThriftId(int fieldId) {
-
 
79813
        switch(fieldId) {
-
 
79814
          case 0: // SUCCESS
-
 
79815
            return SUCCESS;
-
 
79816
          default:
-
 
79817
            return null;
-
 
79818
        }
-
 
79819
      }
-
 
79820
 
-
 
79821
      /**
-
 
79822
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
79823
       * if it is not found.
-
 
79824
       */
-
 
79825
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
79826
        _Fields fields = findByThriftId(fieldId);
-
 
79827
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
79828
        return fields;
-
 
79829
      }
-
 
79830
 
-
 
79831
      /**
-
 
79832
       * Find the _Fields constant that matches name, or null if its not found.
-
 
79833
       */
-
 
79834
      public static _Fields findByName(String name) {
-
 
79835
        return byName.get(name);
-
 
79836
      }
-
 
79837
 
-
 
79838
      private final short _thriftId;
-
 
79839
      private final String _fieldName;
-
 
79840
 
-
 
79841
      _Fields(short thriftId, String fieldName) {
-
 
79842
        _thriftId = thriftId;
-
 
79843
        _fieldName = fieldName;
-
 
79844
      }
-
 
79845
 
-
 
79846
      public short getThriftFieldId() {
-
 
79847
        return _thriftId;
-
 
79848
      }
-
 
79849
 
-
 
79850
      public String getFieldName() {
-
 
79851
        return _fieldName;
-
 
79852
      }
-
 
79853
    }
-
 
79854
 
-
 
79855
    // isset id assignments
-
 
79856
 
-
 
79857
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
79858
    static {
-
 
79859
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
79860
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
79861
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
79862
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class))));
-
 
79863
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
79864
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllItemstoListOnNonFba_result.class, metaDataMap);
-
 
79865
    }
-
 
79866
 
-
 
79867
    public getAllItemstoListOnNonFba_result() {
-
 
79868
    }
-
 
79869
 
-
 
79870
    public getAllItemstoListOnNonFba_result(
-
 
79871
      List<Amazonlisted> success)
-
 
79872
    {
-
 
79873
      this();
-
 
79874
      this.success = success;
-
 
79875
    }
-
 
79876
 
-
 
79877
    /**
-
 
79878
     * Performs a deep copy on <i>other</i>.
-
 
79879
     */
-
 
79880
    public getAllItemstoListOnNonFba_result(getAllItemstoListOnNonFba_result other) {
-
 
79881
      if (other.isSetSuccess()) {
-
 
79882
        List<Amazonlisted> __this__success = new ArrayList<Amazonlisted>();
-
 
79883
        for (Amazonlisted other_element : other.success) {
-
 
79884
          __this__success.add(new Amazonlisted(other_element));
-
 
79885
        }
-
 
79886
        this.success = __this__success;
-
 
79887
      }
-
 
79888
    }
-
 
79889
 
-
 
79890
    public getAllItemstoListOnNonFba_result deepCopy() {
-
 
79891
      return new getAllItemstoListOnNonFba_result(this);
-
 
79892
    }
-
 
79893
 
-
 
79894
    @Override
-
 
79895
    public void clear() {
-
 
79896
      this.success = null;
-
 
79897
    }
-
 
79898
 
-
 
79899
    public int getSuccessSize() {
-
 
79900
      return (this.success == null) ? 0 : this.success.size();
-
 
79901
    }
-
 
79902
 
-
 
79903
    public java.util.Iterator<Amazonlisted> getSuccessIterator() {
-
 
79904
      return (this.success == null) ? null : this.success.iterator();
-
 
79905
    }
-
 
79906
 
-
 
79907
    public void addToSuccess(Amazonlisted elem) {
-
 
79908
      if (this.success == null) {
-
 
79909
        this.success = new ArrayList<Amazonlisted>();
-
 
79910
      }
-
 
79911
      this.success.add(elem);
-
 
79912
    }
-
 
79913
 
-
 
79914
    public List<Amazonlisted> getSuccess() {
-
 
79915
      return this.success;
-
 
79916
    }
-
 
79917
 
-
 
79918
    public void setSuccess(List<Amazonlisted> success) {
-
 
79919
      this.success = success;
-
 
79920
    }
-
 
79921
 
-
 
79922
    public void unsetSuccess() {
-
 
79923
      this.success = null;
-
 
79924
    }
-
 
79925
 
-
 
79926
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
79927
    public boolean isSetSuccess() {
-
 
79928
      return this.success != null;
-
 
79929
    }
-
 
79930
 
-
 
79931
    public void setSuccessIsSet(boolean value) {
-
 
79932
      if (!value) {
-
 
79933
        this.success = null;
-
 
79934
      }
-
 
79935
    }
-
 
79936
 
-
 
79937
    public void setFieldValue(_Fields field, Object value) {
-
 
79938
      switch (field) {
-
 
79939
      case SUCCESS:
-
 
79940
        if (value == null) {
-
 
79941
          unsetSuccess();
-
 
79942
        } else {
-
 
79943
          setSuccess((List<Amazonlisted>)value);
-
 
79944
        }
-
 
79945
        break;
-
 
79946
 
-
 
79947
      }
-
 
79948
    }
-
 
79949
 
-
 
79950
    public Object getFieldValue(_Fields field) {
-
 
79951
      switch (field) {
-
 
79952
      case SUCCESS:
-
 
79953
        return getSuccess();
-
 
79954
 
-
 
79955
      }
-
 
79956
      throw new IllegalStateException();
-
 
79957
    }
-
 
79958
 
-
 
79959
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
79960
    public boolean isSet(_Fields field) {
-
 
79961
      if (field == null) {
-
 
79962
        throw new IllegalArgumentException();
-
 
79963
      }
-
 
79964
 
-
 
79965
      switch (field) {
-
 
79966
      case SUCCESS:
-
 
79967
        return isSetSuccess();
-
 
79968
      }
-
 
79969
      throw new IllegalStateException();
-
 
79970
    }
-
 
79971
 
-
 
79972
    @Override
-
 
79973
    public boolean equals(Object that) {
-
 
79974
      if (that == null)
-
 
79975
        return false;
-
 
79976
      if (that instanceof getAllItemstoListOnNonFba_result)
-
 
79977
        return this.equals((getAllItemstoListOnNonFba_result)that);
-
 
79978
      return false;
-
 
79979
    }
-
 
79980
 
-
 
79981
    public boolean equals(getAllItemstoListOnNonFba_result that) {
-
 
79982
      if (that == null)
-
 
79983
        return false;
-
 
79984
 
-
 
79985
      boolean this_present_success = true && this.isSetSuccess();
-
 
79986
      boolean that_present_success = true && that.isSetSuccess();
-
 
79987
      if (this_present_success || that_present_success) {
-
 
79988
        if (!(this_present_success && that_present_success))
-
 
79989
          return false;
-
 
79990
        if (!this.success.equals(that.success))
-
 
79991
          return false;
-
 
79992
      }
-
 
79993
 
-
 
79994
      return true;
-
 
79995
    }
-
 
79996
 
-
 
79997
    @Override
-
 
79998
    public int hashCode() {
-
 
79999
      return 0;
-
 
80000
    }
-
 
80001
 
-
 
80002
    public int compareTo(getAllItemstoListOnNonFba_result other) {
-
 
80003
      if (!getClass().equals(other.getClass())) {
-
 
80004
        return getClass().getName().compareTo(other.getClass().getName());
-
 
80005
      }
-
 
80006
 
-
 
80007
      int lastComparison = 0;
-
 
80008
      getAllItemstoListOnNonFba_result typedOther = (getAllItemstoListOnNonFba_result)other;
-
 
80009
 
-
 
80010
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
80011
      if (lastComparison != 0) {
-
 
80012
        return lastComparison;
-
 
80013
      }
-
 
80014
      if (isSetSuccess()) {
-
 
80015
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
80016
        if (lastComparison != 0) {
-
 
80017
          return lastComparison;
-
 
80018
        }
-
 
80019
      }
-
 
80020
      return 0;
-
 
80021
    }
-
 
80022
 
-
 
80023
    public _Fields fieldForId(int fieldId) {
-
 
80024
      return _Fields.findByThriftId(fieldId);
-
 
80025
    }
-
 
80026
 
-
 
80027
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
80028
      org.apache.thrift.protocol.TField field;
-
 
80029
      iprot.readStructBegin();
-
 
80030
      while (true)
-
 
80031
      {
-
 
80032
        field = iprot.readFieldBegin();
-
 
80033
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
80034
          break;
-
 
80035
        }
-
 
80036
        switch (field.id) {
-
 
80037
          case 0: // SUCCESS
-
 
80038
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
80039
              {
-
 
80040
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
-
 
80041
                this.success = new ArrayList<Amazonlisted>(_list229.size);
-
 
80042
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
-
 
80043
                {
-
 
80044
                  Amazonlisted _elem231; // required
-
 
80045
                  _elem231 = new Amazonlisted();
-
 
80046
                  _elem231.read(iprot);
-
 
80047
                  this.success.add(_elem231);
-
 
80048
                }
-
 
80049
                iprot.readListEnd();
-
 
80050
              }
-
 
80051
            } else { 
-
 
80052
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
80053
            }
-
 
80054
            break;
-
 
80055
          default:
-
 
80056
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
80057
        }
-
 
80058
        iprot.readFieldEnd();
-
 
80059
      }
-
 
80060
      iprot.readStructEnd();
-
 
80061
      validate();
-
 
80062
    }
-
 
80063
 
-
 
80064
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
80065
      oprot.writeStructBegin(STRUCT_DESC);
-
 
80066
 
-
 
80067
      if (this.isSetSuccess()) {
-
 
80068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
80069
        {
-
 
80070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
80071
          for (Amazonlisted _iter232 : this.success)
-
 
80072
          {
-
 
80073
            _iter232.write(oprot);
-
 
80074
          }
-
 
80075
          oprot.writeListEnd();
-
 
80076
        }
-
 
80077
        oprot.writeFieldEnd();
-
 
80078
      }
-
 
80079
      oprot.writeFieldStop();
-
 
80080
      oprot.writeStructEnd();
-
 
80081
    }
-
 
80082
 
-
 
80083
    @Override
-
 
80084
    public String toString() {
-
 
80085
      StringBuilder sb = new StringBuilder("getAllItemstoListOnNonFba_result(");
-
 
80086
      boolean first = true;
-
 
80087
 
-
 
80088
      sb.append("success:");
-
 
80089
      if (this.success == null) {
-
 
80090
        sb.append("null");
-
 
80091
      } else {
-
 
80092
        sb.append(this.success);
-
 
80093
      }
-
 
80094
      first = false;
-
 
80095
      sb.append(")");
-
 
80096
      return sb.toString();
-
 
80097
    }
-
 
80098
 
78893
    public void validate() throws org.apache.thrift.TException {
80099
    public void validate() throws org.apache.thrift.TException {
78894
      // check for required fields
80100
      // check for required fields
78895
    }
80101
    }
78896
 
80102
 
78897
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
80103
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {