Subversion Repositories SmartDukaan

Rev

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

Rev 7291 Rev 7306
Line 388... Line 388...
388
 
388
 
389
    public Map<String,BrandInfo> getBrandInfo() throws org.apache.thrift.TException;
389
    public Map<String,BrandInfo> getBrandInfo() throws org.apache.thrift.TException;
390
 
390
 
391
    public StorePricing getStorePricing(long itemId) throws org.apache.thrift.TException;
391
    public StorePricing getStorePricing(long itemId) throws org.apache.thrift.TException;
392
 
392
 
-
 
393
    public List<StorePricing> getStorePricings(List<Long> itemIds) throws org.apache.thrift.TException;
-
 
394
 
393
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException;
395
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException;
394
 
396
 
395
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
397
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
396
 
398
 
397
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
399
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
Line 582... Line 584...
582
 
584
 
583
    public void getBrandInfo(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBrandInfo_call> resultHandler) throws org.apache.thrift.TException;
585
    public void getBrandInfo(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBrandInfo_call> resultHandler) throws org.apache.thrift.TException;
584
 
586
 
585
    public void getStorePricing(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricing_call> resultHandler) throws org.apache.thrift.TException;
587
    public void getStorePricing(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricing_call> resultHandler) throws org.apache.thrift.TException;
586
 
588
 
-
 
589
    public void getStorePricings(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricings_call> resultHandler) throws org.apache.thrift.TException;
-
 
590
 
587
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateStorePricing_call> resultHandler) throws org.apache.thrift.TException;
591
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateStorePricing_call> resultHandler) throws org.apache.thrift.TException;
588
 
592
 
589
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
593
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
590
 
594
 
591
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
595
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
Line 2741... Line 2745...
2741
        return result.success;
2745
        return result.success;
2742
      }
2746
      }
2743
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
2747
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
2744
    }
2748
    }
2745
 
2749
 
-
 
2750
    public List<StorePricing> getStorePricings(List<Long> itemIds) throws org.apache.thrift.TException
-
 
2751
    {
-
 
2752
      send_getStorePricings(itemIds);
-
 
2753
      return recv_getStorePricings();
-
 
2754
    }
-
 
2755
 
-
 
2756
    public void send_getStorePricings(List<Long> itemIds) throws org.apache.thrift.TException
-
 
2757
    {
-
 
2758
      getStorePricings_args args = new getStorePricings_args();
-
 
2759
      args.setItemIds(itemIds);
-
 
2760
      sendBase("getStorePricings", args);
-
 
2761
    }
-
 
2762
 
-
 
2763
    public List<StorePricing> recv_getStorePricings() throws org.apache.thrift.TException
-
 
2764
    {
-
 
2765
      getStorePricings_result result = new getStorePricings_result();
-
 
2766
      receiveBase(result, "getStorePricings");
-
 
2767
      if (result.isSetSuccess()) {
-
 
2768
        return result.success;
-
 
2769
      }
-
 
2770
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
-
 
2771
    }
-
 
2772
 
2746
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException
2773
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException
2747
    {
2774
    {
2748
      send_updateStorePricing(sp);
2775
      send_updateStorePricing(sp);
2749
      recv_updateStorePricing();
2776
      recv_updateStorePricing();
2750
    }
2777
    }
Line 5836... Line 5863...
5836
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5863
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5837
        return (new Client(prot)).recv_getStorePricing();
5864
        return (new Client(prot)).recv_getStorePricing();
5838
      }
5865
      }
5839
    }
5866
    }
5840
 
5867
 
-
 
5868
    public void getStorePricings(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<getStorePricings_call> resultHandler) throws org.apache.thrift.TException {
-
 
5869
      checkReady();
-
 
5870
      getStorePricings_call method_call = new getStorePricings_call(itemIds, resultHandler, this, ___protocolFactory, ___transport);
-
 
5871
      this.___currentMethod = method_call;
-
 
5872
      ___manager.call(method_call);
-
 
5873
    }
-
 
5874
 
-
 
5875
    public static class getStorePricings_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5876
      private List<Long> itemIds;
-
 
5877
      public getStorePricings_call(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<getStorePricings_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 {
-
 
5878
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5879
        this.itemIds = itemIds;
-
 
5880
      }
-
 
5881
 
-
 
5882
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5883
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getStorePricings", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5884
        getStorePricings_args args = new getStorePricings_args();
-
 
5885
        args.setItemIds(itemIds);
-
 
5886
        args.write(prot);
-
 
5887
        prot.writeMessageEnd();
-
 
5888
      }
-
 
5889
 
-
 
5890
      public List<StorePricing> getResult() throws org.apache.thrift.TException {
-
 
5891
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5892
          throw new IllegalStateException("Method call not finished!");
-
 
5893
        }
-
 
5894
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5895
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5896
        return (new Client(prot)).recv_getStorePricings();
-
 
5897
      }
-
 
5898
    }
-
 
5899
 
5841
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<updateStorePricing_call> resultHandler) throws org.apache.thrift.TException {
5900
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<updateStorePricing_call> resultHandler) throws org.apache.thrift.TException {
5842
      checkReady();
5901
      checkReady();
5843
      updateStorePricing_call method_call = new updateStorePricing_call(sp, resultHandler, this, ___protocolFactory, ___transport);
5902
      updateStorePricing_call method_call = new updateStorePricing_call(sp, resultHandler, this, ___protocolFactory, ___transport);
5844
      this.___currentMethod = method_call;
5903
      this.___currentMethod = method_call;
5845
      ___manager.call(method_call);
5904
      ___manager.call(method_call);
Line 6195... Line 6254...
6195
      processMap.put("getFreebieForItem", new getFreebieForItem());
6254
      processMap.put("getFreebieForItem", new getFreebieForItem());
6196
      processMap.put("addOrUpdateFreebieForItem", new addOrUpdateFreebieForItem());
6255
      processMap.put("addOrUpdateFreebieForItem", new addOrUpdateFreebieForItem());
6197
      processMap.put("addOrUpdateBrandInfo", new addOrUpdateBrandInfo());
6256
      processMap.put("addOrUpdateBrandInfo", new addOrUpdateBrandInfo());
6198
      processMap.put("getBrandInfo", new getBrandInfo());
6257
      processMap.put("getBrandInfo", new getBrandInfo());
6199
      processMap.put("getStorePricing", new getStorePricing());
6258
      processMap.put("getStorePricing", new getStorePricing());
-
 
6259
      processMap.put("getStorePricings", new getStorePricings());
6200
      processMap.put("updateStorePricing", new updateStorePricing());
6260
      processMap.put("updateStorePricing", new updateStorePricing());
6201
      processMap.put("getAllAmazonListedItems", new getAllAmazonListedItems());
6261
      processMap.put("getAllAmazonListedItems", new getAllAmazonListedItems());
6202
      processMap.put("getAmazonItemDetails", new getAmazonItemDetails());
6262
      processMap.put("getAmazonItemDetails", new getAmazonItemDetails());
6203
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
6263
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
6204
      processMap.put("addAmazonItem", new addAmazonItem());
6264
      processMap.put("addAmazonItem", new addAmazonItem());
Line 7773... Line 7833...
7773
        result.success = iface.getStorePricing(args.itemId);
7833
        result.success = iface.getStorePricing(args.itemId);
7774
        return result;
7834
        return result;
7775
      }
7835
      }
7776
    }
7836
    }
7777
 
7837
 
-
 
7838
    private static class getStorePricings<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getStorePricings_args> {
-
 
7839
      public getStorePricings() {
-
 
7840
        super("getStorePricings");
-
 
7841
      }
-
 
7842
 
-
 
7843
      protected getStorePricings_args getEmptyArgsInstance() {
-
 
7844
        return new getStorePricings_args();
-
 
7845
      }
-
 
7846
 
-
 
7847
      protected getStorePricings_result getResult(I iface, getStorePricings_args args) throws org.apache.thrift.TException {
-
 
7848
        getStorePricings_result result = new getStorePricings_result();
-
 
7849
        result.success = iface.getStorePricings(args.itemIds);
-
 
7850
        return result;
-
 
7851
      }
-
 
7852
    }
-
 
7853
 
7778
    private static class updateStorePricing<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateStorePricing_args> {
7854
    private static class updateStorePricing<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateStorePricing_args> {
7779
      public updateStorePricing() {
7855
      public updateStorePricing() {
7780
        super("updateStorePricing");
7856
        super("updateStorePricing");
7781
      }
7857
      }
7782
 
7858
 
Line 66042... Line 66118...
66042
      }
66118
      }
66043
    }
66119
    }
66044
 
66120
 
66045
  }
66121
  }
66046
 
66122
 
-
 
66123
  public static class getStorePricings_args implements org.apache.thrift.TBase<getStorePricings_args, getStorePricings_args._Fields>, java.io.Serializable, Cloneable   {
-
 
66124
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStorePricings_args");
-
 
66125
 
-
 
66126
    private static final org.apache.thrift.protocol.TField ITEM_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemIds", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
66127
 
-
 
66128
    private List<Long> itemIds; // required
-
 
66129
 
-
 
66130
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
66131
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
66132
      ITEM_IDS((short)1, "itemIds");
-
 
66133
 
-
 
66134
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
66135
 
-
 
66136
      static {
-
 
66137
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
66138
          byName.put(field.getFieldName(), field);
-
 
66139
        }
-
 
66140
      }
-
 
66141
 
-
 
66142
      /**
-
 
66143
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
66144
       */
-
 
66145
      public static _Fields findByThriftId(int fieldId) {
-
 
66146
        switch(fieldId) {
-
 
66147
          case 1: // ITEM_IDS
-
 
66148
            return ITEM_IDS;
-
 
66149
          default:
-
 
66150
            return null;
-
 
66151
        }
-
 
66152
      }
-
 
66153
 
-
 
66154
      /**
-
 
66155
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
66156
       * if it is not found.
-
 
66157
       */
-
 
66158
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
66159
        _Fields fields = findByThriftId(fieldId);
-
 
66160
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
66161
        return fields;
-
 
66162
      }
-
 
66163
 
-
 
66164
      /**
-
 
66165
       * Find the _Fields constant that matches name, or null if its not found.
-
 
66166
       */
-
 
66167
      public static _Fields findByName(String name) {
-
 
66168
        return byName.get(name);
-
 
66169
      }
-
 
66170
 
-
 
66171
      private final short _thriftId;
-
 
66172
      private final String _fieldName;
-
 
66173
 
-
 
66174
      _Fields(short thriftId, String fieldName) {
-
 
66175
        _thriftId = thriftId;
-
 
66176
        _fieldName = fieldName;
-
 
66177
      }
-
 
66178
 
-
 
66179
      public short getThriftFieldId() {
-
 
66180
        return _thriftId;
-
 
66181
      }
-
 
66182
 
-
 
66183
      public String getFieldName() {
-
 
66184
        return _fieldName;
-
 
66185
      }
-
 
66186
    }
-
 
66187
 
-
 
66188
    // isset id assignments
-
 
66189
 
-
 
66190
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
66191
    static {
-
 
66192
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
66193
      tmpMap.put(_Fields.ITEM_IDS, new org.apache.thrift.meta_data.FieldMetaData("itemIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
66194
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
66195
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
66196
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
66197
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStorePricings_args.class, metaDataMap);
-
 
66198
    }
-
 
66199
 
-
 
66200
    public getStorePricings_args() {
-
 
66201
    }
-
 
66202
 
-
 
66203
    public getStorePricings_args(
-
 
66204
      List<Long> itemIds)
-
 
66205
    {
-
 
66206
      this();
-
 
66207
      this.itemIds = itemIds;
-
 
66208
    }
-
 
66209
 
-
 
66210
    /**
-
 
66211
     * Performs a deep copy on <i>other</i>.
-
 
66212
     */
-
 
66213
    public getStorePricings_args(getStorePricings_args other) {
-
 
66214
      if (other.isSetItemIds()) {
-
 
66215
        List<Long> __this__itemIds = new ArrayList<Long>();
-
 
66216
        for (Long other_element : other.itemIds) {
-
 
66217
          __this__itemIds.add(other_element);
-
 
66218
        }
-
 
66219
        this.itemIds = __this__itemIds;
-
 
66220
      }
-
 
66221
    }
-
 
66222
 
-
 
66223
    public getStorePricings_args deepCopy() {
-
 
66224
      return new getStorePricings_args(this);
-
 
66225
    }
-
 
66226
 
-
 
66227
    @Override
-
 
66228
    public void clear() {
-
 
66229
      this.itemIds = null;
-
 
66230
    }
-
 
66231
 
-
 
66232
    public int getItemIdsSize() {
-
 
66233
      return (this.itemIds == null) ? 0 : this.itemIds.size();
-
 
66234
    }
-
 
66235
 
-
 
66236
    public java.util.Iterator<Long> getItemIdsIterator() {
-
 
66237
      return (this.itemIds == null) ? null : this.itemIds.iterator();
-
 
66238
    }
-
 
66239
 
-
 
66240
    public void addToItemIds(long elem) {
-
 
66241
      if (this.itemIds == null) {
-
 
66242
        this.itemIds = new ArrayList<Long>();
-
 
66243
      }
-
 
66244
      this.itemIds.add(elem);
-
 
66245
    }
-
 
66246
 
-
 
66247
    public List<Long> getItemIds() {
-
 
66248
      return this.itemIds;
-
 
66249
    }
-
 
66250
 
-
 
66251
    public void setItemIds(List<Long> itemIds) {
-
 
66252
      this.itemIds = itemIds;
-
 
66253
    }
-
 
66254
 
-
 
66255
    public void unsetItemIds() {
-
 
66256
      this.itemIds = null;
-
 
66257
    }
-
 
66258
 
-
 
66259
    /** Returns true if field itemIds is set (has been assigned a value) and false otherwise */
-
 
66260
    public boolean isSetItemIds() {
-
 
66261
      return this.itemIds != null;
-
 
66262
    }
-
 
66263
 
-
 
66264
    public void setItemIdsIsSet(boolean value) {
-
 
66265
      if (!value) {
-
 
66266
        this.itemIds = null;
-
 
66267
      }
-
 
66268
    }
-
 
66269
 
-
 
66270
    public void setFieldValue(_Fields field, Object value) {
-
 
66271
      switch (field) {
-
 
66272
      case ITEM_IDS:
-
 
66273
        if (value == null) {
-
 
66274
          unsetItemIds();
-
 
66275
        } else {
-
 
66276
          setItemIds((List<Long>)value);
-
 
66277
        }
-
 
66278
        break;
-
 
66279
 
-
 
66280
      }
-
 
66281
    }
-
 
66282
 
-
 
66283
    public Object getFieldValue(_Fields field) {
-
 
66284
      switch (field) {
-
 
66285
      case ITEM_IDS:
-
 
66286
        return getItemIds();
-
 
66287
 
-
 
66288
      }
-
 
66289
      throw new IllegalStateException();
-
 
66290
    }
-
 
66291
 
-
 
66292
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
66293
    public boolean isSet(_Fields field) {
-
 
66294
      if (field == null) {
-
 
66295
        throw new IllegalArgumentException();
-
 
66296
      }
-
 
66297
 
-
 
66298
      switch (field) {
-
 
66299
      case ITEM_IDS:
-
 
66300
        return isSetItemIds();
-
 
66301
      }
-
 
66302
      throw new IllegalStateException();
-
 
66303
    }
-
 
66304
 
-
 
66305
    @Override
-
 
66306
    public boolean equals(Object that) {
-
 
66307
      if (that == null)
-
 
66308
        return false;
-
 
66309
      if (that instanceof getStorePricings_args)
-
 
66310
        return this.equals((getStorePricings_args)that);
-
 
66311
      return false;
-
 
66312
    }
-
 
66313
 
-
 
66314
    public boolean equals(getStorePricings_args that) {
-
 
66315
      if (that == null)
-
 
66316
        return false;
-
 
66317
 
-
 
66318
      boolean this_present_itemIds = true && this.isSetItemIds();
-
 
66319
      boolean that_present_itemIds = true && that.isSetItemIds();
-
 
66320
      if (this_present_itemIds || that_present_itemIds) {
-
 
66321
        if (!(this_present_itemIds && that_present_itemIds))
-
 
66322
          return false;
-
 
66323
        if (!this.itemIds.equals(that.itemIds))
-
 
66324
          return false;
-
 
66325
      }
-
 
66326
 
-
 
66327
      return true;
-
 
66328
    }
-
 
66329
 
-
 
66330
    @Override
-
 
66331
    public int hashCode() {
-
 
66332
      return 0;
-
 
66333
    }
-
 
66334
 
-
 
66335
    public int compareTo(getStorePricings_args other) {
-
 
66336
      if (!getClass().equals(other.getClass())) {
-
 
66337
        return getClass().getName().compareTo(other.getClass().getName());
-
 
66338
      }
-
 
66339
 
-
 
66340
      int lastComparison = 0;
-
 
66341
      getStorePricings_args typedOther = (getStorePricings_args)other;
-
 
66342
 
-
 
66343
      lastComparison = Boolean.valueOf(isSetItemIds()).compareTo(typedOther.isSetItemIds());
-
 
66344
      if (lastComparison != 0) {
-
 
66345
        return lastComparison;
-
 
66346
      }
-
 
66347
      if (isSetItemIds()) {
-
 
66348
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemIds, typedOther.itemIds);
-
 
66349
        if (lastComparison != 0) {
-
 
66350
          return lastComparison;
-
 
66351
        }
-
 
66352
      }
-
 
66353
      return 0;
-
 
66354
    }
-
 
66355
 
-
 
66356
    public _Fields fieldForId(int fieldId) {
-
 
66357
      return _Fields.findByThriftId(fieldId);
-
 
66358
    }
-
 
66359
 
-
 
66360
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
66361
      org.apache.thrift.protocol.TField field;
-
 
66362
      iprot.readStructBegin();
-
 
66363
      while (true)
-
 
66364
      {
-
 
66365
        field = iprot.readFieldBegin();
-
 
66366
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
66367
          break;
-
 
66368
        }
-
 
66369
        switch (field.id) {
-
 
66370
          case 1: // ITEM_IDS
-
 
66371
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
66372
              {
-
 
66373
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
-
 
66374
                this.itemIds = new ArrayList<Long>(_list175.size);
-
 
66375
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
-
 
66376
                {
-
 
66377
                  long _elem177; // required
-
 
66378
                  _elem177 = iprot.readI64();
-
 
66379
                  this.itemIds.add(_elem177);
-
 
66380
                }
-
 
66381
                iprot.readListEnd();
-
 
66382
              }
-
 
66383
            } else { 
-
 
66384
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66385
            }
-
 
66386
            break;
-
 
66387
          default:
-
 
66388
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66389
        }
-
 
66390
        iprot.readFieldEnd();
-
 
66391
      }
-
 
66392
      iprot.readStructEnd();
-
 
66393
      validate();
-
 
66394
    }
-
 
66395
 
-
 
66396
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
66397
      validate();
-
 
66398
 
-
 
66399
      oprot.writeStructBegin(STRUCT_DESC);
-
 
66400
      if (this.itemIds != null) {
-
 
66401
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
-
 
66402
        {
-
 
66403
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
-
 
66404
          for (long _iter178 : this.itemIds)
-
 
66405
          {
-
 
66406
            oprot.writeI64(_iter178);
-
 
66407
          }
-
 
66408
          oprot.writeListEnd();
-
 
66409
        }
-
 
66410
        oprot.writeFieldEnd();
-
 
66411
      }
-
 
66412
      oprot.writeFieldStop();
-
 
66413
      oprot.writeStructEnd();
-
 
66414
    }
-
 
66415
 
-
 
66416
    @Override
-
 
66417
    public String toString() {
-
 
66418
      StringBuilder sb = new StringBuilder("getStorePricings_args(");
-
 
66419
      boolean first = true;
-
 
66420
 
-
 
66421
      sb.append("itemIds:");
-
 
66422
      if (this.itemIds == null) {
-
 
66423
        sb.append("null");
-
 
66424
      } else {
-
 
66425
        sb.append(this.itemIds);
-
 
66426
      }
-
 
66427
      first = false;
-
 
66428
      sb.append(")");
-
 
66429
      return sb.toString();
-
 
66430
    }
-
 
66431
 
-
 
66432
    public void validate() throws org.apache.thrift.TException {
-
 
66433
      // check for required fields
-
 
66434
    }
-
 
66435
 
-
 
66436
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
66437
      try {
-
 
66438
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
66439
      } catch (org.apache.thrift.TException te) {
-
 
66440
        throw new java.io.IOException(te);
-
 
66441
      }
-
 
66442
    }
-
 
66443
 
-
 
66444
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
66445
      try {
-
 
66446
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
66447
      } catch (org.apache.thrift.TException te) {
-
 
66448
        throw new java.io.IOException(te);
-
 
66449
      }
-
 
66450
    }
-
 
66451
 
-
 
66452
  }
-
 
66453
 
-
 
66454
  public static class getStorePricings_result implements org.apache.thrift.TBase<getStorePricings_result, getStorePricings_result._Fields>, java.io.Serializable, Cloneable   {
-
 
66455
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStorePricings_result");
-
 
66456
 
-
 
66457
    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);
-
 
66458
 
-
 
66459
    private List<StorePricing> success; // required
-
 
66460
 
-
 
66461
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
66462
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
66463
      SUCCESS((short)0, "success");
-
 
66464
 
-
 
66465
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
66466
 
-
 
66467
      static {
-
 
66468
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
66469
          byName.put(field.getFieldName(), field);
-
 
66470
        }
-
 
66471
      }
-
 
66472
 
-
 
66473
      /**
-
 
66474
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
66475
       */
-
 
66476
      public static _Fields findByThriftId(int fieldId) {
-
 
66477
        switch(fieldId) {
-
 
66478
          case 0: // SUCCESS
-
 
66479
            return SUCCESS;
-
 
66480
          default:
-
 
66481
            return null;
-
 
66482
        }
-
 
66483
      }
-
 
66484
 
-
 
66485
      /**
-
 
66486
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
66487
       * if it is not found.
-
 
66488
       */
-
 
66489
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
66490
        _Fields fields = findByThriftId(fieldId);
-
 
66491
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
66492
        return fields;
-
 
66493
      }
-
 
66494
 
-
 
66495
      /**
-
 
66496
       * Find the _Fields constant that matches name, or null if its not found.
-
 
66497
       */
-
 
66498
      public static _Fields findByName(String name) {
-
 
66499
        return byName.get(name);
-
 
66500
      }
-
 
66501
 
-
 
66502
      private final short _thriftId;
-
 
66503
      private final String _fieldName;
-
 
66504
 
-
 
66505
      _Fields(short thriftId, String fieldName) {
-
 
66506
        _thriftId = thriftId;
-
 
66507
        _fieldName = fieldName;
-
 
66508
      }
-
 
66509
 
-
 
66510
      public short getThriftFieldId() {
-
 
66511
        return _thriftId;
-
 
66512
      }
-
 
66513
 
-
 
66514
      public String getFieldName() {
-
 
66515
        return _fieldName;
-
 
66516
      }
-
 
66517
    }
-
 
66518
 
-
 
66519
    // isset id assignments
-
 
66520
 
-
 
66521
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
66522
    static {
-
 
66523
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
66524
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
66525
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
66526
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StorePricing.class))));
-
 
66527
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
66528
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStorePricings_result.class, metaDataMap);
-
 
66529
    }
-
 
66530
 
-
 
66531
    public getStorePricings_result() {
-
 
66532
    }
-
 
66533
 
-
 
66534
    public getStorePricings_result(
-
 
66535
      List<StorePricing> success)
-
 
66536
    {
-
 
66537
      this();
-
 
66538
      this.success = success;
-
 
66539
    }
-
 
66540
 
-
 
66541
    /**
-
 
66542
     * Performs a deep copy on <i>other</i>.
-
 
66543
     */
-
 
66544
    public getStorePricings_result(getStorePricings_result other) {
-
 
66545
      if (other.isSetSuccess()) {
-
 
66546
        List<StorePricing> __this__success = new ArrayList<StorePricing>();
-
 
66547
        for (StorePricing other_element : other.success) {
-
 
66548
          __this__success.add(new StorePricing(other_element));
-
 
66549
        }
-
 
66550
        this.success = __this__success;
-
 
66551
      }
-
 
66552
    }
-
 
66553
 
-
 
66554
    public getStorePricings_result deepCopy() {
-
 
66555
      return new getStorePricings_result(this);
-
 
66556
    }
-
 
66557
 
-
 
66558
    @Override
-
 
66559
    public void clear() {
-
 
66560
      this.success = null;
-
 
66561
    }
-
 
66562
 
-
 
66563
    public int getSuccessSize() {
-
 
66564
      return (this.success == null) ? 0 : this.success.size();
-
 
66565
    }
-
 
66566
 
-
 
66567
    public java.util.Iterator<StorePricing> getSuccessIterator() {
-
 
66568
      return (this.success == null) ? null : this.success.iterator();
-
 
66569
    }
-
 
66570
 
-
 
66571
    public void addToSuccess(StorePricing elem) {
-
 
66572
      if (this.success == null) {
-
 
66573
        this.success = new ArrayList<StorePricing>();
-
 
66574
      }
-
 
66575
      this.success.add(elem);
-
 
66576
    }
-
 
66577
 
-
 
66578
    public List<StorePricing> getSuccess() {
-
 
66579
      return this.success;
-
 
66580
    }
-
 
66581
 
-
 
66582
    public void setSuccess(List<StorePricing> success) {
-
 
66583
      this.success = success;
-
 
66584
    }
-
 
66585
 
-
 
66586
    public void unsetSuccess() {
-
 
66587
      this.success = null;
-
 
66588
    }
-
 
66589
 
-
 
66590
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
66591
    public boolean isSetSuccess() {
-
 
66592
      return this.success != null;
-
 
66593
    }
-
 
66594
 
-
 
66595
    public void setSuccessIsSet(boolean value) {
-
 
66596
      if (!value) {
-
 
66597
        this.success = null;
-
 
66598
      }
-
 
66599
    }
-
 
66600
 
-
 
66601
    public void setFieldValue(_Fields field, Object value) {
-
 
66602
      switch (field) {
-
 
66603
      case SUCCESS:
-
 
66604
        if (value == null) {
-
 
66605
          unsetSuccess();
-
 
66606
        } else {
-
 
66607
          setSuccess((List<StorePricing>)value);
-
 
66608
        }
-
 
66609
        break;
-
 
66610
 
-
 
66611
      }
-
 
66612
    }
-
 
66613
 
-
 
66614
    public Object getFieldValue(_Fields field) {
-
 
66615
      switch (field) {
-
 
66616
      case SUCCESS:
-
 
66617
        return getSuccess();
-
 
66618
 
-
 
66619
      }
-
 
66620
      throw new IllegalStateException();
-
 
66621
    }
-
 
66622
 
-
 
66623
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
66624
    public boolean isSet(_Fields field) {
-
 
66625
      if (field == null) {
-
 
66626
        throw new IllegalArgumentException();
-
 
66627
      }
-
 
66628
 
-
 
66629
      switch (field) {
-
 
66630
      case SUCCESS:
-
 
66631
        return isSetSuccess();
-
 
66632
      }
-
 
66633
      throw new IllegalStateException();
-
 
66634
    }
-
 
66635
 
-
 
66636
    @Override
-
 
66637
    public boolean equals(Object that) {
-
 
66638
      if (that == null)
-
 
66639
        return false;
-
 
66640
      if (that instanceof getStorePricings_result)
-
 
66641
        return this.equals((getStorePricings_result)that);
-
 
66642
      return false;
-
 
66643
    }
-
 
66644
 
-
 
66645
    public boolean equals(getStorePricings_result that) {
-
 
66646
      if (that == null)
-
 
66647
        return false;
-
 
66648
 
-
 
66649
      boolean this_present_success = true && this.isSetSuccess();
-
 
66650
      boolean that_present_success = true && that.isSetSuccess();
-
 
66651
      if (this_present_success || that_present_success) {
-
 
66652
        if (!(this_present_success && that_present_success))
-
 
66653
          return false;
-
 
66654
        if (!this.success.equals(that.success))
-
 
66655
          return false;
-
 
66656
      }
-
 
66657
 
-
 
66658
      return true;
-
 
66659
    }
-
 
66660
 
-
 
66661
    @Override
-
 
66662
    public int hashCode() {
-
 
66663
      return 0;
-
 
66664
    }
-
 
66665
 
-
 
66666
    public int compareTo(getStorePricings_result other) {
-
 
66667
      if (!getClass().equals(other.getClass())) {
-
 
66668
        return getClass().getName().compareTo(other.getClass().getName());
-
 
66669
      }
-
 
66670
 
-
 
66671
      int lastComparison = 0;
-
 
66672
      getStorePricings_result typedOther = (getStorePricings_result)other;
-
 
66673
 
-
 
66674
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
66675
      if (lastComparison != 0) {
-
 
66676
        return lastComparison;
-
 
66677
      }
-
 
66678
      if (isSetSuccess()) {
-
 
66679
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
66680
        if (lastComparison != 0) {
-
 
66681
          return lastComparison;
-
 
66682
        }
-
 
66683
      }
-
 
66684
      return 0;
-
 
66685
    }
-
 
66686
 
-
 
66687
    public _Fields fieldForId(int fieldId) {
-
 
66688
      return _Fields.findByThriftId(fieldId);
-
 
66689
    }
-
 
66690
 
-
 
66691
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
66692
      org.apache.thrift.protocol.TField field;
-
 
66693
      iprot.readStructBegin();
-
 
66694
      while (true)
-
 
66695
      {
-
 
66696
        field = iprot.readFieldBegin();
-
 
66697
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
66698
          break;
-
 
66699
        }
-
 
66700
        switch (field.id) {
-
 
66701
          case 0: // SUCCESS
-
 
66702
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
66703
              {
-
 
66704
                org.apache.thrift.protocol.TList _list179 = iprot.readListBegin();
-
 
66705
                this.success = new ArrayList<StorePricing>(_list179.size);
-
 
66706
                for (int _i180 = 0; _i180 < _list179.size; ++_i180)
-
 
66707
                {
-
 
66708
                  StorePricing _elem181; // required
-
 
66709
                  _elem181 = new StorePricing();
-
 
66710
                  _elem181.read(iprot);
-
 
66711
                  this.success.add(_elem181);
-
 
66712
                }
-
 
66713
                iprot.readListEnd();
-
 
66714
              }
-
 
66715
            } else { 
-
 
66716
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66717
            }
-
 
66718
            break;
-
 
66719
          default:
-
 
66720
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
66721
        }
-
 
66722
        iprot.readFieldEnd();
-
 
66723
      }
-
 
66724
      iprot.readStructEnd();
-
 
66725
      validate();
-
 
66726
    }
-
 
66727
 
-
 
66728
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
66729
      oprot.writeStructBegin(STRUCT_DESC);
-
 
66730
 
-
 
66731
      if (this.isSetSuccess()) {
-
 
66732
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
66733
        {
-
 
66734
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
66735
          for (StorePricing _iter182 : this.success)
-
 
66736
          {
-
 
66737
            _iter182.write(oprot);
-
 
66738
          }
-
 
66739
          oprot.writeListEnd();
-
 
66740
        }
-
 
66741
        oprot.writeFieldEnd();
-
 
66742
      }
-
 
66743
      oprot.writeFieldStop();
-
 
66744
      oprot.writeStructEnd();
-
 
66745
    }
-
 
66746
 
-
 
66747
    @Override
-
 
66748
    public String toString() {
-
 
66749
      StringBuilder sb = new StringBuilder("getStorePricings_result(");
-
 
66750
      boolean first = true;
-
 
66751
 
-
 
66752
      sb.append("success:");
-
 
66753
      if (this.success == null) {
-
 
66754
        sb.append("null");
-
 
66755
      } else {
-
 
66756
        sb.append(this.success);
-
 
66757
      }
-
 
66758
      first = false;
-
 
66759
      sb.append(")");
-
 
66760
      return sb.toString();
-
 
66761
    }
-
 
66762
 
-
 
66763
    public void validate() throws org.apache.thrift.TException {
-
 
66764
      // check for required fields
-
 
66765
    }
-
 
66766
 
-
 
66767
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
66768
      try {
-
 
66769
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
66770
      } catch (org.apache.thrift.TException te) {
-
 
66771
        throw new java.io.IOException(te);
-
 
66772
      }
-
 
66773
    }
-
 
66774
 
-
 
66775
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
66776
      try {
-
 
66777
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
66778
      } catch (org.apache.thrift.TException te) {
-
 
66779
        throw new java.io.IOException(te);
-
 
66780
      }
-
 
66781
    }
-
 
66782
 
-
 
66783
  }
-
 
66784
 
66047
  public static class updateStorePricing_args implements org.apache.thrift.TBase<updateStorePricing_args, updateStorePricing_args._Fields>, java.io.Serializable, Cloneable   {
66785
  public static class updateStorePricing_args implements org.apache.thrift.TBase<updateStorePricing_args, updateStorePricing_args._Fields>, java.io.Serializable, Cloneable   {
66048
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateStorePricing_args");
66786
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateStorePricing_args");
66049
 
66787
 
66050
    private static final org.apache.thrift.protocol.TField SP_FIELD_DESC = new org.apache.thrift.protocol.TField("sp", org.apache.thrift.protocol.TType.STRUCT, (short)1);
66788
    private static final org.apache.thrift.protocol.TField SP_FIELD_DESC = new org.apache.thrift.protocol.TField("sp", org.apache.thrift.protocol.TType.STRUCT, (short)1);
66051
 
66789
 
Line 66986... Line 67724...
66986
        }
67724
        }
66987
        switch (field.id) {
67725
        switch (field.id) {
66988
          case 0: // SUCCESS
67726
          case 0: // SUCCESS
66989
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67727
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66990
              {
67728
              {
66991
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
67729
                org.apache.thrift.protocol.TList _list183 = iprot.readListBegin();
66992
                this.success = new ArrayList<Amazonlisted>(_list175.size);
67730
                this.success = new ArrayList<Amazonlisted>(_list183.size);
66993
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
67731
                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
66994
                {
67732
                {
66995
                  Amazonlisted _elem177; // required
67733
                  Amazonlisted _elem185; // required
66996
                  _elem177 = new Amazonlisted();
67734
                  _elem185 = new Amazonlisted();
66997
                  _elem177.read(iprot);
67735
                  _elem185.read(iprot);
66998
                  this.success.add(_elem177);
67736
                  this.success.add(_elem185);
66999
                }
67737
                }
67000
                iprot.readListEnd();
67738
                iprot.readListEnd();
67001
              }
67739
              }
67002
            } else { 
67740
            } else { 
67003
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67741
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67017... Line 67755...
67017
 
67755
 
67018
      if (this.isSetSuccess()) {
67756
      if (this.isSetSuccess()) {
67019
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67757
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67020
        {
67758
        {
67021
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67759
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67022
          for (Amazonlisted _iter178 : this.success)
67760
          for (Amazonlisted _iter186 : this.success)
67023
          {
67761
          {
67024
            _iter178.write(oprot);
67762
            _iter186.write(oprot);
67025
          }
67763
          }
67026
          oprot.writeListEnd();
67764
          oprot.writeListEnd();
67027
        }
67765
        }
67028
        oprot.writeFieldEnd();
67766
        oprot.writeFieldEnd();
67029
      }
67767
      }
Line 69507... Line 70245...
69507
        }
70245
        }
69508
        switch (field.id) {
70246
        switch (field.id) {
69509
          case 0: // SUCCESS
70247
          case 0: // SUCCESS
69510
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70248
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69511
              {
70249
              {
69512
                org.apache.thrift.protocol.TList _list179 = iprot.readListBegin();
70250
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
69513
                this.success = new ArrayList<Item>(_list179.size);
70251
                this.success = new ArrayList<Item>(_list187.size);
69514
                for (int _i180 = 0; _i180 < _list179.size; ++_i180)
70252
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
69515
                {
70253
                {
69516
                  Item _elem181; // required
70254
                  Item _elem189; // required
69517
                  _elem181 = new Item();
70255
                  _elem189 = new Item();
69518
                  _elem181.read(iprot);
70256
                  _elem189.read(iprot);
69519
                  this.success.add(_elem181);
70257
                  this.success.add(_elem189);
69520
                }
70258
                }
69521
                iprot.readListEnd();
70259
                iprot.readListEnd();
69522
              }
70260
              }
69523
            } else { 
70261
            } else { 
69524
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70262
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69538... Line 70276...
69538
 
70276
 
69539
      if (this.isSetSuccess()) {
70277
      if (this.isSetSuccess()) {
69540
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70278
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69541
        {
70279
        {
69542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70280
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69543
          for (Item _iter182 : this.success)
70281
          for (Item _iter190 : this.success)
69544
          {
70282
          {
69545
            _iter182.write(oprot);
70283
            _iter190.write(oprot);
69546
          }
70284
          }
69547
          oprot.writeListEnd();
70285
          oprot.writeListEnd();
69548
        }
70286
        }
69549
        oprot.writeFieldEnd();
70287
        oprot.writeFieldEnd();
69550
      }
70288
      }
Line 70038... Line 70776...
70038
        }
70776
        }
70039
        switch (field.id) {
70777
        switch (field.id) {
70040
          case 0: // SUCCESS
70778
          case 0: // SUCCESS
70041
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70779
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70042
              {
70780
              {
70043
                org.apache.thrift.protocol.TList _list183 = iprot.readListBegin();
70781
                org.apache.thrift.protocol.TList _list191 = iprot.readListBegin();
70044
                this.success = new ArrayList<Amazonlisted>(_list183.size);
70782
                this.success = new ArrayList<Amazonlisted>(_list191.size);
70045
                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
70783
                for (int _i192 = 0; _i192 < _list191.size; ++_i192)
70046
                {
70784
                {
70047
                  Amazonlisted _elem185; // required
70785
                  Amazonlisted _elem193; // required
70048
                  _elem185 = new Amazonlisted();
70786
                  _elem193 = new Amazonlisted();
70049
                  _elem185.read(iprot);
70787
                  _elem193.read(iprot);
70050
                  this.success.add(_elem185);
70788
                  this.success.add(_elem193);
70051
                }
70789
                }
70052
                iprot.readListEnd();
70790
                iprot.readListEnd();
70053
              }
70791
              }
70054
            } else { 
70792
            } else { 
70055
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70793
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70069... Line 70807...
70069
 
70807
 
70070
      if (this.isSetSuccess()) {
70808
      if (this.isSetSuccess()) {
70071
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70809
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70072
        {
70810
        {
70073
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70811
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70074
          for (Amazonlisted _iter186 : this.success)
70812
          for (Amazonlisted _iter194 : this.success)
70075
          {
70813
          {
70076
            _iter186.write(oprot);
70814
            _iter194.write(oprot);
70077
          }
70815
          }
70078
          oprot.writeListEnd();
70816
          oprot.writeListEnd();
70079
        }
70817
        }
70080
        oprot.writeFieldEnd();
70818
        oprot.writeFieldEnd();
70081
      }
70819
      }
Line 70569... Line 71307...
70569
        }
71307
        }
70570
        switch (field.id) {
71308
        switch (field.id) {
70571
          case 0: // SUCCESS
71309
          case 0: // SUCCESS
70572
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71310
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70573
              {
71311
              {
70574
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
71312
                org.apache.thrift.protocol.TList _list195 = iprot.readListBegin();
70575
                this.success = new ArrayList<Amazonlisted>(_list187.size);
71313
                this.success = new ArrayList<Amazonlisted>(_list195.size);
70576
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
71314
                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
70577
                {
71315
                {
70578
                  Amazonlisted _elem189; // required
71316
                  Amazonlisted _elem197; // required
70579
                  _elem189 = new Amazonlisted();
71317
                  _elem197 = new Amazonlisted();
70580
                  _elem189.read(iprot);
71318
                  _elem197.read(iprot);
70581
                  this.success.add(_elem189);
71319
                  this.success.add(_elem197);
70582
                }
71320
                }
70583
                iprot.readListEnd();
71321
                iprot.readListEnd();
70584
              }
71322
              }
70585
            } else { 
71323
            } else { 
70586
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71324
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 70600... Line 71338...
70600
 
71338
 
70601
      if (this.isSetSuccess()) {
71339
      if (this.isSetSuccess()) {
70602
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71340
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70603
        {
71341
        {
70604
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71342
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70605
          for (Amazonlisted _iter190 : this.success)
71343
          for (Amazonlisted _iter198 : this.success)
70606
          {
71344
          {
70607
            _iter190.write(oprot);
71345
            _iter198.write(oprot);
70608
          }
71346
          }
70609
          oprot.writeListEnd();
71347
          oprot.writeListEnd();
70610
        }
71348
        }
70611
        oprot.writeFieldEnd();
71349
        oprot.writeFieldEnd();
70612
      }
71350
      }