Subversion Repositories SmartDukaan

Rev

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

Rev 9724 Rev 9776
Line 498... Line 498...
498
 
498
 
499
    public MarketplaceItems getMarketplacedetailsForItem(long itemId, long sourceId) throws org.apache.thrift.TException;
499
    public MarketplaceItems getMarketplacedetailsForItem(long itemId, long sourceId) throws org.apache.thrift.TException;
500
 
500
 
501
    public boolean updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem) throws org.apache.thrift.TException;
501
    public boolean updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem) throws org.apache.thrift.TException;
502
 
502
 
-
 
503
    public List<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(long source) throws org.apache.thrift.TException;
-
 
504
 
-
 
505
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp) throws org.apache.thrift.TException;
-
 
506
 
503
  }
507
  }
504
 
508
 
505
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
509
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
506
 
510
 
507
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
511
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 780... Line 784...
780
 
784
 
781
    public void getMarketplacedetailsForItem(long itemId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMarketplacedetailsForItem_call> resultHandler) throws org.apache.thrift.TException;
785
    public void getMarketplacedetailsForItem(long itemId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMarketplacedetailsForItem_call> resultHandler) throws org.apache.thrift.TException;
782
 
786
 
783
    public void updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMarketplaceAttributesForItem_call> resultHandler) throws org.apache.thrift.TException;
787
    public void updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMarketplaceAttributesForItem_call> resultHandler) throws org.apache.thrift.TException;
784
 
788
 
-
 
789
    public void getMarketPlaceItemsForPriceUpdate(long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMarketPlaceItemsForPriceUpdate_call> resultHandler) throws org.apache.thrift.TException;
-
 
790
 
-
 
791
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMarketPlacePriceUpdateStatus_call> resultHandler) throws org.apache.thrift.TException;
-
 
792
 
785
  }
793
  }
786
 
794
 
787
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
795
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
788
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
796
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
789
      public Factory() {}
797
      public Factory() {}
Line 4104... Line 4112...
4104
        return result.success;
4112
        return result.success;
4105
      }
4113
      }
4106
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
4114
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
4107
    }
4115
    }
4108
 
4116
 
-
 
4117
    public List<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(long source) throws org.apache.thrift.TException
-
 
4118
    {
-
 
4119
      send_getMarketPlaceItemsForPriceUpdate(source);
-
 
4120
      return recv_getMarketPlaceItemsForPriceUpdate();
-
 
4121
    }
-
 
4122
 
-
 
4123
    public void send_getMarketPlaceItemsForPriceUpdate(long source) throws org.apache.thrift.TException
-
 
4124
    {
-
 
4125
      getMarketPlaceItemsForPriceUpdate_args args = new getMarketPlaceItemsForPriceUpdate_args();
-
 
4126
      args.setSource(source);
-
 
4127
      sendBase("getMarketPlaceItemsForPriceUpdate", args);
-
 
4128
    }
-
 
4129
 
-
 
4130
    public List<MarketPlaceItemPrice> recv_getMarketPlaceItemsForPriceUpdate() throws org.apache.thrift.TException
-
 
4131
    {
-
 
4132
      getMarketPlaceItemsForPriceUpdate_result result = new getMarketPlaceItemsForPriceUpdate_result();
-
 
4133
      receiveBase(result, "getMarketPlaceItemsForPriceUpdate");
-
 
4134
      if (result.isSetSuccess()) {
-
 
4135
        return result.success;
-
 
4136
      }
-
 
4137
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
-
 
4138
    }
-
 
4139
 
-
 
4140
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp) throws org.apache.thrift.TException
-
 
4141
    {
-
 
4142
      send_updateMarketPlacePriceUpdateStatus(skulist, timestamp);
-
 
4143
      recv_updateMarketPlacePriceUpdateStatus();
-
 
4144
    }
-
 
4145
 
-
 
4146
    public void send_updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp) throws org.apache.thrift.TException
-
 
4147
    {
-
 
4148
      updateMarketPlacePriceUpdateStatus_args args = new updateMarketPlacePriceUpdateStatus_args();
-
 
4149
      args.setSkulist(skulist);
-
 
4150
      args.setTimestamp(timestamp);
-
 
4151
      sendBase("updateMarketPlacePriceUpdateStatus", args);
-
 
4152
    }
-
 
4153
 
-
 
4154
    public void recv_updateMarketPlacePriceUpdateStatus() throws org.apache.thrift.TException
-
 
4155
    {
-
 
4156
      updateMarketPlacePriceUpdateStatus_result result = new updateMarketPlacePriceUpdateStatus_result();
-
 
4157
      receiveBase(result, "updateMarketPlacePriceUpdateStatus");
-
 
4158
      return;
-
 
4159
    }
-
 
4160
 
4109
  }
4161
  }
4110
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4162
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4111
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4163
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4112
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4164
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4113
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
4165
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 8687... Line 8739...
8687
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8739
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8688
        return (new Client(prot)).recv_updateMarketplaceAttributesForItem();
8740
        return (new Client(prot)).recv_updateMarketplaceAttributesForItem();
8689
      }
8741
      }
8690
    }
8742
    }
8691
 
8743
 
-
 
8744
    public void getMarketPlaceItemsForPriceUpdate(long source, org.apache.thrift.async.AsyncMethodCallback<getMarketPlaceItemsForPriceUpdate_call> resultHandler) throws org.apache.thrift.TException {
-
 
8745
      checkReady();
-
 
8746
      getMarketPlaceItemsForPriceUpdate_call method_call = new getMarketPlaceItemsForPriceUpdate_call(source, resultHandler, this, ___protocolFactory, ___transport);
-
 
8747
      this.___currentMethod = method_call;
-
 
8748
      ___manager.call(method_call);
-
 
8749
    }
-
 
8750
 
-
 
8751
    public static class getMarketPlaceItemsForPriceUpdate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8752
      private long source;
-
 
8753
      public getMarketPlaceItemsForPriceUpdate_call(long source, org.apache.thrift.async.AsyncMethodCallback<getMarketPlaceItemsForPriceUpdate_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 {
-
 
8754
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8755
        this.source = source;
-
 
8756
      }
-
 
8757
 
-
 
8758
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8759
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getMarketPlaceItemsForPriceUpdate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8760
        getMarketPlaceItemsForPriceUpdate_args args = new getMarketPlaceItemsForPriceUpdate_args();
-
 
8761
        args.setSource(source);
-
 
8762
        args.write(prot);
-
 
8763
        prot.writeMessageEnd();
-
 
8764
      }
-
 
8765
 
-
 
8766
      public List<MarketPlaceItemPrice> getResult() throws org.apache.thrift.TException {
-
 
8767
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8768
          throw new IllegalStateException("Method call not finished!");
-
 
8769
        }
-
 
8770
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8771
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8772
        return (new Client(prot)).recv_getMarketPlaceItemsForPriceUpdate();
-
 
8773
      }
-
 
8774
    }
-
 
8775
 
-
 
8776
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, org.apache.thrift.async.AsyncMethodCallback<updateMarketPlacePriceUpdateStatus_call> resultHandler) throws org.apache.thrift.TException {
-
 
8777
      checkReady();
-
 
8778
      updateMarketPlacePriceUpdateStatus_call method_call = new updateMarketPlacePriceUpdateStatus_call(skulist, timestamp, resultHandler, this, ___protocolFactory, ___transport);
-
 
8779
      this.___currentMethod = method_call;
-
 
8780
      ___manager.call(method_call);
-
 
8781
    }
-
 
8782
 
-
 
8783
    public static class updateMarketPlacePriceUpdateStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8784
      private List<Long> skulist;
-
 
8785
      private long timestamp;
-
 
8786
      public updateMarketPlacePriceUpdateStatus_call(List<Long> skulist, long timestamp, org.apache.thrift.async.AsyncMethodCallback<updateMarketPlacePriceUpdateStatus_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 {
-
 
8787
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8788
        this.skulist = skulist;
-
 
8789
        this.timestamp = timestamp;
-
 
8790
      }
-
 
8791
 
-
 
8792
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8793
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateMarketPlacePriceUpdateStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8794
        updateMarketPlacePriceUpdateStatus_args args = new updateMarketPlacePriceUpdateStatus_args();
-
 
8795
        args.setSkulist(skulist);
-
 
8796
        args.setTimestamp(timestamp);
-
 
8797
        args.write(prot);
-
 
8798
        prot.writeMessageEnd();
-
 
8799
      }
-
 
8800
 
-
 
8801
      public void getResult() throws org.apache.thrift.TException {
-
 
8802
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8803
          throw new IllegalStateException("Method call not finished!");
-
 
8804
        }
-
 
8805
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8806
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8807
        (new Client(prot)).recv_updateMarketPlacePriceUpdateStatus();
-
 
8808
      }
-
 
8809
    }
-
 
8810
 
8692
  }
8811
  }
8693
 
8812
 
8694
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8813
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8695
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8814
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8696
    public Processor(I iface) {
8815
    public Processor(I iface) {
Line 8839... Line 8958...
8839
      processMap.put("updateProductFeedSubmit", new updateProductFeedSubmit());
8958
      processMap.put("updateProductFeedSubmit", new updateProductFeedSubmit());
8840
      processMap.put("deleteProductFeedSubmit", new deleteProductFeedSubmit());
8959
      processMap.put("deleteProductFeedSubmit", new deleteProductFeedSubmit());
8841
      processMap.put("getAllProductFeedSubmit", new getAllProductFeedSubmit());
8960
      processMap.put("getAllProductFeedSubmit", new getAllProductFeedSubmit());
8842
      processMap.put("getMarketplacedetailsForItem", new getMarketplacedetailsForItem());
8961
      processMap.put("getMarketplacedetailsForItem", new getMarketplacedetailsForItem());
8843
      processMap.put("updateMarketplaceAttributesForItem", new updateMarketplaceAttributesForItem());
8962
      processMap.put("updateMarketplaceAttributesForItem", new updateMarketplaceAttributesForItem());
-
 
8963
      processMap.put("getMarketPlaceItemsForPriceUpdate", new getMarketPlaceItemsForPriceUpdate());
-
 
8964
      processMap.put("updateMarketPlacePriceUpdateStatus", new updateMarketPlacePriceUpdateStatus());
8844
      return processMap;
8965
      return processMap;
8845
    }
8966
    }
8846
 
8967
 
8847
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
8968
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
8848
      public addItem() {
8969
      public addItem() {
Line 11283... Line 11404...
11283
        result.setSuccessIsSet(true);
11404
        result.setSuccessIsSet(true);
11284
        return result;
11405
        return result;
11285
      }
11406
      }
11286
    }
11407
    }
11287
 
11408
 
-
 
11409
    private static class getMarketPlaceItemsForPriceUpdate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getMarketPlaceItemsForPriceUpdate_args> {
-
 
11410
      public getMarketPlaceItemsForPriceUpdate() {
-
 
11411
        super("getMarketPlaceItemsForPriceUpdate");
-
 
11412
      }
-
 
11413
 
-
 
11414
      protected getMarketPlaceItemsForPriceUpdate_args getEmptyArgsInstance() {
-
 
11415
        return new getMarketPlaceItemsForPriceUpdate_args();
-
 
11416
      }
-
 
11417
 
-
 
11418
      protected getMarketPlaceItemsForPriceUpdate_result getResult(I iface, getMarketPlaceItemsForPriceUpdate_args args) throws org.apache.thrift.TException {
-
 
11419
        getMarketPlaceItemsForPriceUpdate_result result = new getMarketPlaceItemsForPriceUpdate_result();
-
 
11420
        result.success = iface.getMarketPlaceItemsForPriceUpdate(args.source);
-
 
11421
        return result;
-
 
11422
      }
-
 
11423
    }
-
 
11424
 
-
 
11425
    private static class updateMarketPlacePriceUpdateStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateMarketPlacePriceUpdateStatus_args> {
-
 
11426
      public updateMarketPlacePriceUpdateStatus() {
-
 
11427
        super("updateMarketPlacePriceUpdateStatus");
-
 
11428
      }
-
 
11429
 
-
 
11430
      protected updateMarketPlacePriceUpdateStatus_args getEmptyArgsInstance() {
-
 
11431
        return new updateMarketPlacePriceUpdateStatus_args();
-
 
11432
      }
-
 
11433
 
-
 
11434
      protected updateMarketPlacePriceUpdateStatus_result getResult(I iface, updateMarketPlacePriceUpdateStatus_args args) throws org.apache.thrift.TException {
-
 
11435
        updateMarketPlacePriceUpdateStatus_result result = new updateMarketPlacePriceUpdateStatus_result();
-
 
11436
        iface.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp);
-
 
11437
        return result;
-
 
11438
      }
-
 
11439
    }
-
 
11440
 
11288
  }
11441
  }
11289
 
11442
 
11290
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
11443
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
11291
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
11444
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
11292
 
11445
 
Line 100589... Line 100742...
100589
      sb.append(")");
100742
      sb.append(")");
100590
      return sb.toString();
100743
      return sb.toString();
100591
    }
100744
    }
100592
 
100745
 
100593
    public void validate() throws org.apache.thrift.TException {
100746
    public void validate() throws org.apache.thrift.TException {
-
 
100747
      // check for required fields
-
 
100748
    }
-
 
100749
 
-
 
100750
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
100751
      try {
-
 
100752
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
100753
      } catch (org.apache.thrift.TException te) {
-
 
100754
        throw new java.io.IOException(te);
-
 
100755
      }
-
 
100756
    }
-
 
100757
 
-
 
100758
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
100759
      try {
-
 
100760
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
100761
      } catch (org.apache.thrift.TException te) {
-
 
100762
        throw new java.io.IOException(te);
-
 
100763
      }
-
 
100764
    }
-
 
100765
 
-
 
100766
  }
-
 
100767
 
-
 
100768
  public static class getMarketPlaceItemsForPriceUpdate_args implements org.apache.thrift.TBase<getMarketPlaceItemsForPriceUpdate_args, getMarketPlaceItemsForPriceUpdate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
100769
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMarketPlaceItemsForPriceUpdate_args");
-
 
100770
 
-
 
100771
    private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("source", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
100772
 
-
 
100773
    private long source; // required
-
 
100774
 
-
 
100775
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
100776
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
100777
      SOURCE((short)1, "source");
-
 
100778
 
-
 
100779
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
100780
 
-
 
100781
      static {
-
 
100782
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
100783
          byName.put(field.getFieldName(), field);
-
 
100784
        }
-
 
100785
      }
-
 
100786
 
-
 
100787
      /**
-
 
100788
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
100789
       */
-
 
100790
      public static _Fields findByThriftId(int fieldId) {
-
 
100791
        switch(fieldId) {
-
 
100792
          case 1: // SOURCE
-
 
100793
            return SOURCE;
-
 
100794
          default:
-
 
100795
            return null;
-
 
100796
        }
-
 
100797
      }
-
 
100798
 
-
 
100799
      /**
-
 
100800
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
100801
       * if it is not found.
-
 
100802
       */
-
 
100803
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
100804
        _Fields fields = findByThriftId(fieldId);
-
 
100805
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
100806
        return fields;
-
 
100807
      }
-
 
100808
 
-
 
100809
      /**
-
 
100810
       * Find the _Fields constant that matches name, or null if its not found.
-
 
100811
       */
-
 
100812
      public static _Fields findByName(String name) {
-
 
100813
        return byName.get(name);
-
 
100814
      }
-
 
100815
 
-
 
100816
      private final short _thriftId;
-
 
100817
      private final String _fieldName;
-
 
100818
 
-
 
100819
      _Fields(short thriftId, String fieldName) {
-
 
100820
        _thriftId = thriftId;
-
 
100821
        _fieldName = fieldName;
-
 
100822
      }
-
 
100823
 
-
 
100824
      public short getThriftFieldId() {
-
 
100825
        return _thriftId;
-
 
100826
      }
-
 
100827
 
-
 
100828
      public String getFieldName() {
-
 
100829
        return _fieldName;
-
 
100830
      }
-
 
100831
    }
-
 
100832
 
-
 
100833
    // isset id assignments
-
 
100834
    private static final int __SOURCE_ISSET_ID = 0;
-
 
100835
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
100836
 
-
 
100837
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
100838
    static {
-
 
100839
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
100840
      tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
100841
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
100842
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
100843
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMarketPlaceItemsForPriceUpdate_args.class, metaDataMap);
-
 
100844
    }
-
 
100845
 
-
 
100846
    public getMarketPlaceItemsForPriceUpdate_args() {
-
 
100847
    }
-
 
100848
 
-
 
100849
    public getMarketPlaceItemsForPriceUpdate_args(
-
 
100850
      long source)
-
 
100851
    {
-
 
100852
      this();
-
 
100853
      this.source = source;
-
 
100854
      setSourceIsSet(true);
-
 
100855
    }
-
 
100856
 
-
 
100857
    /**
-
 
100858
     * Performs a deep copy on <i>other</i>.
-
 
100859
     */
-
 
100860
    public getMarketPlaceItemsForPriceUpdate_args(getMarketPlaceItemsForPriceUpdate_args other) {
-
 
100861
      __isset_bit_vector.clear();
-
 
100862
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
100863
      this.source = other.source;
-
 
100864
    }
-
 
100865
 
-
 
100866
    public getMarketPlaceItemsForPriceUpdate_args deepCopy() {
-
 
100867
      return new getMarketPlaceItemsForPriceUpdate_args(this);
-
 
100868
    }
-
 
100869
 
-
 
100870
    @Override
-
 
100871
    public void clear() {
-
 
100872
      setSourceIsSet(false);
-
 
100873
      this.source = 0;
-
 
100874
    }
-
 
100875
 
-
 
100876
    public long getSource() {
-
 
100877
      return this.source;
-
 
100878
    }
-
 
100879
 
-
 
100880
    public void setSource(long source) {
-
 
100881
      this.source = source;
-
 
100882
      setSourceIsSet(true);
-
 
100883
    }
-
 
100884
 
-
 
100885
    public void unsetSource() {
-
 
100886
      __isset_bit_vector.clear(__SOURCE_ISSET_ID);
-
 
100887
    }
-
 
100888
 
-
 
100889
    /** Returns true if field source is set (has been assigned a value) and false otherwise */
-
 
100890
    public boolean isSetSource() {
-
 
100891
      return __isset_bit_vector.get(__SOURCE_ISSET_ID);
-
 
100892
    }
-
 
100893
 
-
 
100894
    public void setSourceIsSet(boolean value) {
-
 
100895
      __isset_bit_vector.set(__SOURCE_ISSET_ID, value);
-
 
100896
    }
-
 
100897
 
-
 
100898
    public void setFieldValue(_Fields field, Object value) {
-
 
100899
      switch (field) {
-
 
100900
      case SOURCE:
-
 
100901
        if (value == null) {
-
 
100902
          unsetSource();
-
 
100903
        } else {
-
 
100904
          setSource((Long)value);
-
 
100905
        }
-
 
100906
        break;
-
 
100907
 
-
 
100908
      }
-
 
100909
    }
-
 
100910
 
-
 
100911
    public Object getFieldValue(_Fields field) {
-
 
100912
      switch (field) {
-
 
100913
      case SOURCE:
-
 
100914
        return Long.valueOf(getSource());
-
 
100915
 
-
 
100916
      }
-
 
100917
      throw new IllegalStateException();
-
 
100918
    }
-
 
100919
 
-
 
100920
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
100921
    public boolean isSet(_Fields field) {
-
 
100922
      if (field == null) {
-
 
100923
        throw new IllegalArgumentException();
-
 
100924
      }
-
 
100925
 
-
 
100926
      switch (field) {
-
 
100927
      case SOURCE:
-
 
100928
        return isSetSource();
-
 
100929
      }
-
 
100930
      throw new IllegalStateException();
-
 
100931
    }
-
 
100932
 
-
 
100933
    @Override
-
 
100934
    public boolean equals(Object that) {
-
 
100935
      if (that == null)
-
 
100936
        return false;
-
 
100937
      if (that instanceof getMarketPlaceItemsForPriceUpdate_args)
-
 
100938
        return this.equals((getMarketPlaceItemsForPriceUpdate_args)that);
-
 
100939
      return false;
-
 
100940
    }
-
 
100941
 
-
 
100942
    public boolean equals(getMarketPlaceItemsForPriceUpdate_args that) {
-
 
100943
      if (that == null)
-
 
100944
        return false;
-
 
100945
 
-
 
100946
      boolean this_present_source = true;
-
 
100947
      boolean that_present_source = true;
-
 
100948
      if (this_present_source || that_present_source) {
-
 
100949
        if (!(this_present_source && that_present_source))
-
 
100950
          return false;
-
 
100951
        if (this.source != that.source)
-
 
100952
          return false;
-
 
100953
      }
-
 
100954
 
-
 
100955
      return true;
-
 
100956
    }
-
 
100957
 
-
 
100958
    @Override
-
 
100959
    public int hashCode() {
-
 
100960
      return 0;
-
 
100961
    }
-
 
100962
 
-
 
100963
    public int compareTo(getMarketPlaceItemsForPriceUpdate_args other) {
-
 
100964
      if (!getClass().equals(other.getClass())) {
-
 
100965
        return getClass().getName().compareTo(other.getClass().getName());
-
 
100966
      }
-
 
100967
 
-
 
100968
      int lastComparison = 0;
-
 
100969
      getMarketPlaceItemsForPriceUpdate_args typedOther = (getMarketPlaceItemsForPriceUpdate_args)other;
-
 
100970
 
-
 
100971
      lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource());
-
 
100972
      if (lastComparison != 0) {
-
 
100973
        return lastComparison;
-
 
100974
      }
-
 
100975
      if (isSetSource()) {
-
 
100976
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, typedOther.source);
-
 
100977
        if (lastComparison != 0) {
-
 
100978
          return lastComparison;
-
 
100979
        }
-
 
100980
      }
-
 
100981
      return 0;
-
 
100982
    }
-
 
100983
 
-
 
100984
    public _Fields fieldForId(int fieldId) {
-
 
100985
      return _Fields.findByThriftId(fieldId);
-
 
100986
    }
-
 
100987
 
-
 
100988
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
100989
      org.apache.thrift.protocol.TField field;
-
 
100990
      iprot.readStructBegin();
-
 
100991
      while (true)
-
 
100992
      {
-
 
100993
        field = iprot.readFieldBegin();
-
 
100994
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
100995
          break;
-
 
100996
        }
-
 
100997
        switch (field.id) {
-
 
100998
          case 1: // SOURCE
-
 
100999
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
101000
              this.source = iprot.readI64();
-
 
101001
              setSourceIsSet(true);
-
 
101002
            } else { 
-
 
101003
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101004
            }
-
 
101005
            break;
-
 
101006
          default:
-
 
101007
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101008
        }
-
 
101009
        iprot.readFieldEnd();
-
 
101010
      }
-
 
101011
      iprot.readStructEnd();
-
 
101012
      validate();
-
 
101013
    }
-
 
101014
 
-
 
101015
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
101016
      validate();
-
 
101017
 
-
 
101018
      oprot.writeStructBegin(STRUCT_DESC);
-
 
101019
      oprot.writeFieldBegin(SOURCE_FIELD_DESC);
-
 
101020
      oprot.writeI64(this.source);
-
 
101021
      oprot.writeFieldEnd();
-
 
101022
      oprot.writeFieldStop();
-
 
101023
      oprot.writeStructEnd();
-
 
101024
    }
-
 
101025
 
-
 
101026
    @Override
-
 
101027
    public String toString() {
-
 
101028
      StringBuilder sb = new StringBuilder("getMarketPlaceItemsForPriceUpdate_args(");
-
 
101029
      boolean first = true;
-
 
101030
 
-
 
101031
      sb.append("source:");
-
 
101032
      sb.append(this.source);
-
 
101033
      first = false;
-
 
101034
      sb.append(")");
-
 
101035
      return sb.toString();
-
 
101036
    }
-
 
101037
 
-
 
101038
    public void validate() throws org.apache.thrift.TException {
-
 
101039
      // check for required fields
-
 
101040
    }
-
 
101041
 
-
 
101042
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
101043
      try {
-
 
101044
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
101045
      } catch (org.apache.thrift.TException te) {
-
 
101046
        throw new java.io.IOException(te);
-
 
101047
      }
-
 
101048
    }
-
 
101049
 
-
 
101050
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
101051
      try {
-
 
101052
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
101053
        __isset_bit_vector = new BitSet(1);
-
 
101054
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
101055
      } catch (org.apache.thrift.TException te) {
-
 
101056
        throw new java.io.IOException(te);
-
 
101057
      }
-
 
101058
    }
-
 
101059
 
-
 
101060
  }
-
 
101061
 
-
 
101062
  public static class getMarketPlaceItemsForPriceUpdate_result implements org.apache.thrift.TBase<getMarketPlaceItemsForPriceUpdate_result, getMarketPlaceItemsForPriceUpdate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
101063
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMarketPlaceItemsForPriceUpdate_result");
-
 
101064
 
-
 
101065
    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);
-
 
101066
 
-
 
101067
    private List<MarketPlaceItemPrice> success; // required
-
 
101068
 
-
 
101069
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
101070
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
101071
      SUCCESS((short)0, "success");
-
 
101072
 
-
 
101073
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
101074
 
-
 
101075
      static {
-
 
101076
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
101077
          byName.put(field.getFieldName(), field);
-
 
101078
        }
-
 
101079
      }
-
 
101080
 
-
 
101081
      /**
-
 
101082
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
101083
       */
-
 
101084
      public static _Fields findByThriftId(int fieldId) {
-
 
101085
        switch(fieldId) {
-
 
101086
          case 0: // SUCCESS
-
 
101087
            return SUCCESS;
-
 
101088
          default:
-
 
101089
            return null;
-
 
101090
        }
-
 
101091
      }
-
 
101092
 
-
 
101093
      /**
-
 
101094
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
101095
       * if it is not found.
-
 
101096
       */
-
 
101097
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
101098
        _Fields fields = findByThriftId(fieldId);
-
 
101099
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
101100
        return fields;
-
 
101101
      }
-
 
101102
 
-
 
101103
      /**
-
 
101104
       * Find the _Fields constant that matches name, or null if its not found.
-
 
101105
       */
-
 
101106
      public static _Fields findByName(String name) {
-
 
101107
        return byName.get(name);
-
 
101108
      }
-
 
101109
 
-
 
101110
      private final short _thriftId;
-
 
101111
      private final String _fieldName;
-
 
101112
 
-
 
101113
      _Fields(short thriftId, String fieldName) {
-
 
101114
        _thriftId = thriftId;
-
 
101115
        _fieldName = fieldName;
-
 
101116
      }
-
 
101117
 
-
 
101118
      public short getThriftFieldId() {
-
 
101119
        return _thriftId;
-
 
101120
      }
-
 
101121
 
-
 
101122
      public String getFieldName() {
-
 
101123
        return _fieldName;
-
 
101124
      }
-
 
101125
    }
-
 
101126
 
-
 
101127
    // isset id assignments
-
 
101128
 
-
 
101129
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
101130
    static {
-
 
101131
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
101132
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101133
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
101134
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MarketPlaceItemPrice.class))));
-
 
101135
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
101136
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMarketPlaceItemsForPriceUpdate_result.class, metaDataMap);
-
 
101137
    }
-
 
101138
 
-
 
101139
    public getMarketPlaceItemsForPriceUpdate_result() {
-
 
101140
    }
-
 
101141
 
-
 
101142
    public getMarketPlaceItemsForPriceUpdate_result(
-
 
101143
      List<MarketPlaceItemPrice> success)
-
 
101144
    {
-
 
101145
      this();
-
 
101146
      this.success = success;
-
 
101147
    }
-
 
101148
 
-
 
101149
    /**
-
 
101150
     * Performs a deep copy on <i>other</i>.
-
 
101151
     */
-
 
101152
    public getMarketPlaceItemsForPriceUpdate_result(getMarketPlaceItemsForPriceUpdate_result other) {
-
 
101153
      if (other.isSetSuccess()) {
-
 
101154
        List<MarketPlaceItemPrice> __this__success = new ArrayList<MarketPlaceItemPrice>();
-
 
101155
        for (MarketPlaceItemPrice other_element : other.success) {
-
 
101156
          __this__success.add(new MarketPlaceItemPrice(other_element));
-
 
101157
        }
-
 
101158
        this.success = __this__success;
-
 
101159
      }
-
 
101160
    }
-
 
101161
 
-
 
101162
    public getMarketPlaceItemsForPriceUpdate_result deepCopy() {
-
 
101163
      return new getMarketPlaceItemsForPriceUpdate_result(this);
-
 
101164
    }
-
 
101165
 
-
 
101166
    @Override
-
 
101167
    public void clear() {
-
 
101168
      this.success = null;
-
 
101169
    }
-
 
101170
 
-
 
101171
    public int getSuccessSize() {
-
 
101172
      return (this.success == null) ? 0 : this.success.size();
-
 
101173
    }
-
 
101174
 
-
 
101175
    public java.util.Iterator<MarketPlaceItemPrice> getSuccessIterator() {
-
 
101176
      return (this.success == null) ? null : this.success.iterator();
-
 
101177
    }
-
 
101178
 
-
 
101179
    public void addToSuccess(MarketPlaceItemPrice elem) {
-
 
101180
      if (this.success == null) {
-
 
101181
        this.success = new ArrayList<MarketPlaceItemPrice>();
-
 
101182
      }
-
 
101183
      this.success.add(elem);
-
 
101184
    }
-
 
101185
 
-
 
101186
    public List<MarketPlaceItemPrice> getSuccess() {
-
 
101187
      return this.success;
-
 
101188
    }
-
 
101189
 
-
 
101190
    public void setSuccess(List<MarketPlaceItemPrice> success) {
-
 
101191
      this.success = success;
-
 
101192
    }
-
 
101193
 
-
 
101194
    public void unsetSuccess() {
-
 
101195
      this.success = null;
-
 
101196
    }
-
 
101197
 
-
 
101198
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
101199
    public boolean isSetSuccess() {
-
 
101200
      return this.success != null;
-
 
101201
    }
-
 
101202
 
-
 
101203
    public void setSuccessIsSet(boolean value) {
-
 
101204
      if (!value) {
-
 
101205
        this.success = null;
-
 
101206
      }
-
 
101207
    }
-
 
101208
 
-
 
101209
    public void setFieldValue(_Fields field, Object value) {
-
 
101210
      switch (field) {
-
 
101211
      case SUCCESS:
-
 
101212
        if (value == null) {
-
 
101213
          unsetSuccess();
-
 
101214
        } else {
-
 
101215
          setSuccess((List<MarketPlaceItemPrice>)value);
-
 
101216
        }
-
 
101217
        break;
-
 
101218
 
-
 
101219
      }
-
 
101220
    }
-
 
101221
 
-
 
101222
    public Object getFieldValue(_Fields field) {
-
 
101223
      switch (field) {
-
 
101224
      case SUCCESS:
-
 
101225
        return getSuccess();
-
 
101226
 
-
 
101227
      }
-
 
101228
      throw new IllegalStateException();
-
 
101229
    }
-
 
101230
 
-
 
101231
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
101232
    public boolean isSet(_Fields field) {
-
 
101233
      if (field == null) {
-
 
101234
        throw new IllegalArgumentException();
-
 
101235
      }
-
 
101236
 
-
 
101237
      switch (field) {
-
 
101238
      case SUCCESS:
-
 
101239
        return isSetSuccess();
-
 
101240
      }
-
 
101241
      throw new IllegalStateException();
-
 
101242
    }
-
 
101243
 
-
 
101244
    @Override
-
 
101245
    public boolean equals(Object that) {
-
 
101246
      if (that == null)
-
 
101247
        return false;
-
 
101248
      if (that instanceof getMarketPlaceItemsForPriceUpdate_result)
-
 
101249
        return this.equals((getMarketPlaceItemsForPriceUpdate_result)that);
-
 
101250
      return false;
-
 
101251
    }
-
 
101252
 
-
 
101253
    public boolean equals(getMarketPlaceItemsForPriceUpdate_result that) {
-
 
101254
      if (that == null)
-
 
101255
        return false;
-
 
101256
 
-
 
101257
      boolean this_present_success = true && this.isSetSuccess();
-
 
101258
      boolean that_present_success = true && that.isSetSuccess();
-
 
101259
      if (this_present_success || that_present_success) {
-
 
101260
        if (!(this_present_success && that_present_success))
-
 
101261
          return false;
-
 
101262
        if (!this.success.equals(that.success))
-
 
101263
          return false;
-
 
101264
      }
-
 
101265
 
-
 
101266
      return true;
-
 
101267
    }
-
 
101268
 
-
 
101269
    @Override
-
 
101270
    public int hashCode() {
-
 
101271
      return 0;
-
 
101272
    }
-
 
101273
 
-
 
101274
    public int compareTo(getMarketPlaceItemsForPriceUpdate_result other) {
-
 
101275
      if (!getClass().equals(other.getClass())) {
-
 
101276
        return getClass().getName().compareTo(other.getClass().getName());
-
 
101277
      }
-
 
101278
 
-
 
101279
      int lastComparison = 0;
-
 
101280
      getMarketPlaceItemsForPriceUpdate_result typedOther = (getMarketPlaceItemsForPriceUpdate_result)other;
-
 
101281
 
-
 
101282
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
101283
      if (lastComparison != 0) {
-
 
101284
        return lastComparison;
-
 
101285
      }
-
 
101286
      if (isSetSuccess()) {
-
 
101287
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
101288
        if (lastComparison != 0) {
-
 
101289
          return lastComparison;
-
 
101290
        }
-
 
101291
      }
-
 
101292
      return 0;
-
 
101293
    }
-
 
101294
 
-
 
101295
    public _Fields fieldForId(int fieldId) {
-
 
101296
      return _Fields.findByThriftId(fieldId);
-
 
101297
    }
-
 
101298
 
-
 
101299
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
101300
      org.apache.thrift.protocol.TField field;
-
 
101301
      iprot.readStructBegin();
-
 
101302
      while (true)
-
 
101303
      {
-
 
101304
        field = iprot.readFieldBegin();
-
 
101305
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
101306
          break;
-
 
101307
        }
-
 
101308
        switch (field.id) {
-
 
101309
          case 0: // SUCCESS
-
 
101310
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
101311
              {
-
 
101312
                org.apache.thrift.protocol.TList _list316 = iprot.readListBegin();
-
 
101313
                this.success = new ArrayList<MarketPlaceItemPrice>(_list316.size);
-
 
101314
                for (int _i317 = 0; _i317 < _list316.size; ++_i317)
-
 
101315
                {
-
 
101316
                  MarketPlaceItemPrice _elem318; // required
-
 
101317
                  _elem318 = new MarketPlaceItemPrice();
-
 
101318
                  _elem318.read(iprot);
-
 
101319
                  this.success.add(_elem318);
-
 
101320
                }
-
 
101321
                iprot.readListEnd();
-
 
101322
              }
-
 
101323
            } else { 
-
 
101324
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101325
            }
-
 
101326
            break;
-
 
101327
          default:
-
 
101328
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101329
        }
-
 
101330
        iprot.readFieldEnd();
-
 
101331
      }
-
 
101332
      iprot.readStructEnd();
-
 
101333
      validate();
-
 
101334
    }
-
 
101335
 
-
 
101336
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
101337
      oprot.writeStructBegin(STRUCT_DESC);
-
 
101338
 
-
 
101339
      if (this.isSetSuccess()) {
-
 
101340
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
101341
        {
-
 
101342
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
101343
          for (MarketPlaceItemPrice _iter319 : this.success)
-
 
101344
          {
-
 
101345
            _iter319.write(oprot);
-
 
101346
          }
-
 
101347
          oprot.writeListEnd();
-
 
101348
        }
-
 
101349
        oprot.writeFieldEnd();
-
 
101350
      }
-
 
101351
      oprot.writeFieldStop();
-
 
101352
      oprot.writeStructEnd();
-
 
101353
    }
-
 
101354
 
-
 
101355
    @Override
-
 
101356
    public String toString() {
-
 
101357
      StringBuilder sb = new StringBuilder("getMarketPlaceItemsForPriceUpdate_result(");
-
 
101358
      boolean first = true;
-
 
101359
 
-
 
101360
      sb.append("success:");
-
 
101361
      if (this.success == null) {
-
 
101362
        sb.append("null");
-
 
101363
      } else {
-
 
101364
        sb.append(this.success);
-
 
101365
      }
-
 
101366
      first = false;
-
 
101367
      sb.append(")");
-
 
101368
      return sb.toString();
-
 
101369
    }
-
 
101370
 
-
 
101371
    public void validate() throws org.apache.thrift.TException {
-
 
101372
      // check for required fields
-
 
101373
    }
-
 
101374
 
-
 
101375
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
101376
      try {
-
 
101377
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
101378
      } catch (org.apache.thrift.TException te) {
-
 
101379
        throw new java.io.IOException(te);
-
 
101380
      }
-
 
101381
    }
-
 
101382
 
-
 
101383
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
101384
      try {
-
 
101385
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
101386
      } catch (org.apache.thrift.TException te) {
-
 
101387
        throw new java.io.IOException(te);
-
 
101388
      }
-
 
101389
    }
-
 
101390
 
-
 
101391
  }
-
 
101392
 
-
 
101393
  public static class updateMarketPlacePriceUpdateStatus_args implements org.apache.thrift.TBase<updateMarketPlacePriceUpdateStatus_args, updateMarketPlacePriceUpdateStatus_args._Fields>, java.io.Serializable, Cloneable   {
-
 
101394
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateMarketPlacePriceUpdateStatus_args");
-
 
101395
 
-
 
101396
    private static final org.apache.thrift.protocol.TField SKULIST_FIELD_DESC = new org.apache.thrift.protocol.TField("skulist", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
101397
    private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
101398
 
-
 
101399
    private List<Long> skulist; // required
-
 
101400
    private long timestamp; // required
-
 
101401
 
-
 
101402
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
101403
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
101404
      SKULIST((short)1, "skulist"),
-
 
101405
      TIMESTAMP((short)2, "timestamp");
-
 
101406
 
-
 
101407
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
101408
 
-
 
101409
      static {
-
 
101410
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
101411
          byName.put(field.getFieldName(), field);
-
 
101412
        }
-
 
101413
      }
-
 
101414
 
-
 
101415
      /**
-
 
101416
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
101417
       */
-
 
101418
      public static _Fields findByThriftId(int fieldId) {
-
 
101419
        switch(fieldId) {
-
 
101420
          case 1: // SKULIST
-
 
101421
            return SKULIST;
-
 
101422
          case 2: // TIMESTAMP
-
 
101423
            return TIMESTAMP;
-
 
101424
          default:
-
 
101425
            return null;
-
 
101426
        }
-
 
101427
      }
-
 
101428
 
-
 
101429
      /**
-
 
101430
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
101431
       * if it is not found.
-
 
101432
       */
-
 
101433
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
101434
        _Fields fields = findByThriftId(fieldId);
-
 
101435
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
101436
        return fields;
-
 
101437
      }
-
 
101438
 
-
 
101439
      /**
-
 
101440
       * Find the _Fields constant that matches name, or null if its not found.
-
 
101441
       */
-
 
101442
      public static _Fields findByName(String name) {
-
 
101443
        return byName.get(name);
-
 
101444
      }
-
 
101445
 
-
 
101446
      private final short _thriftId;
-
 
101447
      private final String _fieldName;
-
 
101448
 
-
 
101449
      _Fields(short thriftId, String fieldName) {
-
 
101450
        _thriftId = thriftId;
-
 
101451
        _fieldName = fieldName;
-
 
101452
      }
-
 
101453
 
-
 
101454
      public short getThriftFieldId() {
-
 
101455
        return _thriftId;
-
 
101456
      }
-
 
101457
 
-
 
101458
      public String getFieldName() {
-
 
101459
        return _fieldName;
-
 
101460
      }
-
 
101461
    }
-
 
101462
 
-
 
101463
    // isset id assignments
-
 
101464
    private static final int __TIMESTAMP_ISSET_ID = 0;
-
 
101465
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
101466
 
-
 
101467
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
101468
    static {
-
 
101469
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
101470
      tmpMap.put(_Fields.SKULIST, new org.apache.thrift.meta_data.FieldMetaData("skulist", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101471
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
101472
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
101473
      tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
101474
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
101475
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
101476
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateMarketPlacePriceUpdateStatus_args.class, metaDataMap);
-
 
101477
    }
-
 
101478
 
-
 
101479
    public updateMarketPlacePriceUpdateStatus_args() {
-
 
101480
    }
-
 
101481
 
-
 
101482
    public updateMarketPlacePriceUpdateStatus_args(
-
 
101483
      List<Long> skulist,
-
 
101484
      long timestamp)
-
 
101485
    {
-
 
101486
      this();
-
 
101487
      this.skulist = skulist;
-
 
101488
      this.timestamp = timestamp;
-
 
101489
      setTimestampIsSet(true);
-
 
101490
    }
-
 
101491
 
-
 
101492
    /**
-
 
101493
     * Performs a deep copy on <i>other</i>.
-
 
101494
     */
-
 
101495
    public updateMarketPlacePriceUpdateStatus_args(updateMarketPlacePriceUpdateStatus_args other) {
-
 
101496
      __isset_bit_vector.clear();
-
 
101497
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
101498
      if (other.isSetSkulist()) {
-
 
101499
        List<Long> __this__skulist = new ArrayList<Long>();
-
 
101500
        for (Long other_element : other.skulist) {
-
 
101501
          __this__skulist.add(other_element);
-
 
101502
        }
-
 
101503
        this.skulist = __this__skulist;
-
 
101504
      }
-
 
101505
      this.timestamp = other.timestamp;
-
 
101506
    }
-
 
101507
 
-
 
101508
    public updateMarketPlacePriceUpdateStatus_args deepCopy() {
-
 
101509
      return new updateMarketPlacePriceUpdateStatus_args(this);
-
 
101510
    }
-
 
101511
 
-
 
101512
    @Override
-
 
101513
    public void clear() {
-
 
101514
      this.skulist = null;
-
 
101515
      setTimestampIsSet(false);
-
 
101516
      this.timestamp = 0;
-
 
101517
    }
-
 
101518
 
-
 
101519
    public int getSkulistSize() {
-
 
101520
      return (this.skulist == null) ? 0 : this.skulist.size();
-
 
101521
    }
-
 
101522
 
-
 
101523
    public java.util.Iterator<Long> getSkulistIterator() {
-
 
101524
      return (this.skulist == null) ? null : this.skulist.iterator();
-
 
101525
    }
-
 
101526
 
-
 
101527
    public void addToSkulist(long elem) {
-
 
101528
      if (this.skulist == null) {
-
 
101529
        this.skulist = new ArrayList<Long>();
-
 
101530
      }
-
 
101531
      this.skulist.add(elem);
-
 
101532
    }
-
 
101533
 
-
 
101534
    public List<Long> getSkulist() {
-
 
101535
      return this.skulist;
-
 
101536
    }
-
 
101537
 
-
 
101538
    public void setSkulist(List<Long> skulist) {
-
 
101539
      this.skulist = skulist;
-
 
101540
    }
-
 
101541
 
-
 
101542
    public void unsetSkulist() {
-
 
101543
      this.skulist = null;
-
 
101544
    }
-
 
101545
 
-
 
101546
    /** Returns true if field skulist is set (has been assigned a value) and false otherwise */
-
 
101547
    public boolean isSetSkulist() {
-
 
101548
      return this.skulist != null;
-
 
101549
    }
-
 
101550
 
-
 
101551
    public void setSkulistIsSet(boolean value) {
-
 
101552
      if (!value) {
-
 
101553
        this.skulist = null;
-
 
101554
      }
-
 
101555
    }
-
 
101556
 
-
 
101557
    public long getTimestamp() {
-
 
101558
      return this.timestamp;
-
 
101559
    }
-
 
101560
 
-
 
101561
    public void setTimestamp(long timestamp) {
-
 
101562
      this.timestamp = timestamp;
-
 
101563
      setTimestampIsSet(true);
-
 
101564
    }
-
 
101565
 
-
 
101566
    public void unsetTimestamp() {
-
 
101567
      __isset_bit_vector.clear(__TIMESTAMP_ISSET_ID);
-
 
101568
    }
-
 
101569
 
-
 
101570
    /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */
-
 
101571
    public boolean isSetTimestamp() {
-
 
101572
      return __isset_bit_vector.get(__TIMESTAMP_ISSET_ID);
-
 
101573
    }
-
 
101574
 
-
 
101575
    public void setTimestampIsSet(boolean value) {
-
 
101576
      __isset_bit_vector.set(__TIMESTAMP_ISSET_ID, value);
-
 
101577
    }
-
 
101578
 
-
 
101579
    public void setFieldValue(_Fields field, Object value) {
-
 
101580
      switch (field) {
-
 
101581
      case SKULIST:
-
 
101582
        if (value == null) {
-
 
101583
          unsetSkulist();
-
 
101584
        } else {
-
 
101585
          setSkulist((List<Long>)value);
-
 
101586
        }
-
 
101587
        break;
-
 
101588
 
-
 
101589
      case TIMESTAMP:
-
 
101590
        if (value == null) {
-
 
101591
          unsetTimestamp();
-
 
101592
        } else {
-
 
101593
          setTimestamp((Long)value);
-
 
101594
        }
-
 
101595
        break;
-
 
101596
 
-
 
101597
      }
-
 
101598
    }
-
 
101599
 
-
 
101600
    public Object getFieldValue(_Fields field) {
-
 
101601
      switch (field) {
-
 
101602
      case SKULIST:
-
 
101603
        return getSkulist();
-
 
101604
 
-
 
101605
      case TIMESTAMP:
-
 
101606
        return Long.valueOf(getTimestamp());
-
 
101607
 
-
 
101608
      }
-
 
101609
      throw new IllegalStateException();
-
 
101610
    }
-
 
101611
 
-
 
101612
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
101613
    public boolean isSet(_Fields field) {
-
 
101614
      if (field == null) {
-
 
101615
        throw new IllegalArgumentException();
-
 
101616
      }
-
 
101617
 
-
 
101618
      switch (field) {
-
 
101619
      case SKULIST:
-
 
101620
        return isSetSkulist();
-
 
101621
      case TIMESTAMP:
-
 
101622
        return isSetTimestamp();
-
 
101623
      }
-
 
101624
      throw new IllegalStateException();
-
 
101625
    }
-
 
101626
 
-
 
101627
    @Override
-
 
101628
    public boolean equals(Object that) {
-
 
101629
      if (that == null)
-
 
101630
        return false;
-
 
101631
      if (that instanceof updateMarketPlacePriceUpdateStatus_args)
-
 
101632
        return this.equals((updateMarketPlacePriceUpdateStatus_args)that);
-
 
101633
      return false;
-
 
101634
    }
-
 
101635
 
-
 
101636
    public boolean equals(updateMarketPlacePriceUpdateStatus_args that) {
-
 
101637
      if (that == null)
-
 
101638
        return false;
-
 
101639
 
-
 
101640
      boolean this_present_skulist = true && this.isSetSkulist();
-
 
101641
      boolean that_present_skulist = true && that.isSetSkulist();
-
 
101642
      if (this_present_skulist || that_present_skulist) {
-
 
101643
        if (!(this_present_skulist && that_present_skulist))
-
 
101644
          return false;
-
 
101645
        if (!this.skulist.equals(that.skulist))
-
 
101646
          return false;
-
 
101647
      }
-
 
101648
 
-
 
101649
      boolean this_present_timestamp = true;
-
 
101650
      boolean that_present_timestamp = true;
-
 
101651
      if (this_present_timestamp || that_present_timestamp) {
-
 
101652
        if (!(this_present_timestamp && that_present_timestamp))
-
 
101653
          return false;
-
 
101654
        if (this.timestamp != that.timestamp)
-
 
101655
          return false;
-
 
101656
      }
-
 
101657
 
-
 
101658
      return true;
-
 
101659
    }
-
 
101660
 
-
 
101661
    @Override
-
 
101662
    public int hashCode() {
-
 
101663
      return 0;
-
 
101664
    }
-
 
101665
 
-
 
101666
    public int compareTo(updateMarketPlacePriceUpdateStatus_args other) {
-
 
101667
      if (!getClass().equals(other.getClass())) {
-
 
101668
        return getClass().getName().compareTo(other.getClass().getName());
-
 
101669
      }
-
 
101670
 
-
 
101671
      int lastComparison = 0;
-
 
101672
      updateMarketPlacePriceUpdateStatus_args typedOther = (updateMarketPlacePriceUpdateStatus_args)other;
-
 
101673
 
-
 
101674
      lastComparison = Boolean.valueOf(isSetSkulist()).compareTo(typedOther.isSetSkulist());
-
 
101675
      if (lastComparison != 0) {
-
 
101676
        return lastComparison;
-
 
101677
      }
-
 
101678
      if (isSetSkulist()) {
-
 
101679
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skulist, typedOther.skulist);
-
 
101680
        if (lastComparison != 0) {
-
 
101681
          return lastComparison;
-
 
101682
        }
-
 
101683
      }
-
 
101684
      lastComparison = Boolean.valueOf(isSetTimestamp()).compareTo(typedOther.isSetTimestamp());
-
 
101685
      if (lastComparison != 0) {
-
 
101686
        return lastComparison;
-
 
101687
      }
-
 
101688
      if (isSetTimestamp()) {
-
 
101689
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, typedOther.timestamp);
-
 
101690
        if (lastComparison != 0) {
-
 
101691
          return lastComparison;
-
 
101692
        }
-
 
101693
      }
-
 
101694
      return 0;
-
 
101695
    }
-
 
101696
 
-
 
101697
    public _Fields fieldForId(int fieldId) {
-
 
101698
      return _Fields.findByThriftId(fieldId);
-
 
101699
    }
-
 
101700
 
-
 
101701
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
101702
      org.apache.thrift.protocol.TField field;
-
 
101703
      iprot.readStructBegin();
-
 
101704
      while (true)
-
 
101705
      {
-
 
101706
        field = iprot.readFieldBegin();
-
 
101707
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
101708
          break;
-
 
101709
        }
-
 
101710
        switch (field.id) {
-
 
101711
          case 1: // SKULIST
-
 
101712
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
101713
              {
-
 
101714
                org.apache.thrift.protocol.TList _list320 = iprot.readListBegin();
-
 
101715
                this.skulist = new ArrayList<Long>(_list320.size);
-
 
101716
                for (int _i321 = 0; _i321 < _list320.size; ++_i321)
-
 
101717
                {
-
 
101718
                  long _elem322; // required
-
 
101719
                  _elem322 = iprot.readI64();
-
 
101720
                  this.skulist.add(_elem322);
-
 
101721
                }
-
 
101722
                iprot.readListEnd();
-
 
101723
              }
-
 
101724
            } else { 
-
 
101725
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101726
            }
-
 
101727
            break;
-
 
101728
          case 2: // TIMESTAMP
-
 
101729
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
101730
              this.timestamp = iprot.readI64();
-
 
101731
              setTimestampIsSet(true);
-
 
101732
            } else { 
-
 
101733
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101734
            }
-
 
101735
            break;
-
 
101736
          default:
-
 
101737
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101738
        }
-
 
101739
        iprot.readFieldEnd();
-
 
101740
      }
-
 
101741
      iprot.readStructEnd();
-
 
101742
      validate();
-
 
101743
    }
-
 
101744
 
-
 
101745
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
101746
      validate();
-
 
101747
 
-
 
101748
      oprot.writeStructBegin(STRUCT_DESC);
-
 
101749
      if (this.skulist != null) {
-
 
101750
        oprot.writeFieldBegin(SKULIST_FIELD_DESC);
-
 
101751
        {
-
 
101752
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.skulist.size()));
-
 
101753
          for (long _iter323 : this.skulist)
-
 
101754
          {
-
 
101755
            oprot.writeI64(_iter323);
-
 
101756
          }
-
 
101757
          oprot.writeListEnd();
-
 
101758
        }
-
 
101759
        oprot.writeFieldEnd();
-
 
101760
      }
-
 
101761
      oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
-
 
101762
      oprot.writeI64(this.timestamp);
-
 
101763
      oprot.writeFieldEnd();
-
 
101764
      oprot.writeFieldStop();
-
 
101765
      oprot.writeStructEnd();
-
 
101766
    }
-
 
101767
 
-
 
101768
    @Override
-
 
101769
    public String toString() {
-
 
101770
      StringBuilder sb = new StringBuilder("updateMarketPlacePriceUpdateStatus_args(");
-
 
101771
      boolean first = true;
-
 
101772
 
-
 
101773
      sb.append("skulist:");
-
 
101774
      if (this.skulist == null) {
-
 
101775
        sb.append("null");
-
 
101776
      } else {
-
 
101777
        sb.append(this.skulist);
-
 
101778
      }
-
 
101779
      first = false;
-
 
101780
      if (!first) sb.append(", ");
-
 
101781
      sb.append("timestamp:");
-
 
101782
      sb.append(this.timestamp);
-
 
101783
      first = false;
-
 
101784
      sb.append(")");
-
 
101785
      return sb.toString();
-
 
101786
    }
-
 
101787
 
-
 
101788
    public void validate() throws org.apache.thrift.TException {
-
 
101789
      // check for required fields
-
 
101790
    }
-
 
101791
 
-
 
101792
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
101793
      try {
-
 
101794
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
101795
      } catch (org.apache.thrift.TException te) {
-
 
101796
        throw new java.io.IOException(te);
-
 
101797
      }
-
 
101798
    }
-
 
101799
 
-
 
101800
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
101801
      try {
-
 
101802
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
101803
        __isset_bit_vector = new BitSet(1);
-
 
101804
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
101805
      } catch (org.apache.thrift.TException te) {
-
 
101806
        throw new java.io.IOException(te);
-
 
101807
      }
-
 
101808
    }
-
 
101809
 
-
 
101810
  }
-
 
101811
 
-
 
101812
  public static class updateMarketPlacePriceUpdateStatus_result implements org.apache.thrift.TBase<updateMarketPlacePriceUpdateStatus_result, updateMarketPlacePriceUpdateStatus_result._Fields>, java.io.Serializable, Cloneable   {
-
 
101813
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateMarketPlacePriceUpdateStatus_result");
-
 
101814
 
-
 
101815
 
-
 
101816
 
-
 
101817
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
101818
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
101819
;
-
 
101820
 
-
 
101821
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
101822
 
-
 
101823
      static {
-
 
101824
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
101825
          byName.put(field.getFieldName(), field);
-
 
101826
        }
-
 
101827
      }
-
 
101828
 
-
 
101829
      /**
-
 
101830
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
101831
       */
-
 
101832
      public static _Fields findByThriftId(int fieldId) {
-
 
101833
        switch(fieldId) {
-
 
101834
          default:
-
 
101835
            return null;
-
 
101836
        }
-
 
101837
      }
-
 
101838
 
-
 
101839
      /**
-
 
101840
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
101841
       * if it is not found.
-
 
101842
       */
-
 
101843
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
101844
        _Fields fields = findByThriftId(fieldId);
-
 
101845
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
101846
        return fields;
-
 
101847
      }
-
 
101848
 
-
 
101849
      /**
-
 
101850
       * Find the _Fields constant that matches name, or null if its not found.
-
 
101851
       */
-
 
101852
      public static _Fields findByName(String name) {
-
 
101853
        return byName.get(name);
-
 
101854
      }
-
 
101855
 
-
 
101856
      private final short _thriftId;
-
 
101857
      private final String _fieldName;
-
 
101858
 
-
 
101859
      _Fields(short thriftId, String fieldName) {
-
 
101860
        _thriftId = thriftId;
-
 
101861
        _fieldName = fieldName;
-
 
101862
      }
-
 
101863
 
-
 
101864
      public short getThriftFieldId() {
-
 
101865
        return _thriftId;
-
 
101866
      }
-
 
101867
 
-
 
101868
      public String getFieldName() {
-
 
101869
        return _fieldName;
-
 
101870
      }
-
 
101871
    }
-
 
101872
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
101873
    static {
-
 
101874
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
101875
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
101876
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateMarketPlacePriceUpdateStatus_result.class, metaDataMap);
-
 
101877
    }
-
 
101878
 
-
 
101879
    public updateMarketPlacePriceUpdateStatus_result() {
-
 
101880
    }
-
 
101881
 
-
 
101882
    /**
-
 
101883
     * Performs a deep copy on <i>other</i>.
-
 
101884
     */
-
 
101885
    public updateMarketPlacePriceUpdateStatus_result(updateMarketPlacePriceUpdateStatus_result other) {
-
 
101886
    }
-
 
101887
 
-
 
101888
    public updateMarketPlacePriceUpdateStatus_result deepCopy() {
-
 
101889
      return new updateMarketPlacePriceUpdateStatus_result(this);
-
 
101890
    }
-
 
101891
 
-
 
101892
    @Override
-
 
101893
    public void clear() {
-
 
101894
    }
-
 
101895
 
-
 
101896
    public void setFieldValue(_Fields field, Object value) {
-
 
101897
      switch (field) {
-
 
101898
      }
-
 
101899
    }
-
 
101900
 
-
 
101901
    public Object getFieldValue(_Fields field) {
-
 
101902
      switch (field) {
-
 
101903
      }
-
 
101904
      throw new IllegalStateException();
-
 
101905
    }
-
 
101906
 
-
 
101907
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
101908
    public boolean isSet(_Fields field) {
-
 
101909
      if (field == null) {
-
 
101910
        throw new IllegalArgumentException();
-
 
101911
      }
-
 
101912
 
-
 
101913
      switch (field) {
-
 
101914
      }
-
 
101915
      throw new IllegalStateException();
-
 
101916
    }
-
 
101917
 
-
 
101918
    @Override
-
 
101919
    public boolean equals(Object that) {
-
 
101920
      if (that == null)
-
 
101921
        return false;
-
 
101922
      if (that instanceof updateMarketPlacePriceUpdateStatus_result)
-
 
101923
        return this.equals((updateMarketPlacePriceUpdateStatus_result)that);
-
 
101924
      return false;
-
 
101925
    }
-
 
101926
 
-
 
101927
    public boolean equals(updateMarketPlacePriceUpdateStatus_result that) {
-
 
101928
      if (that == null)
-
 
101929
        return false;
-
 
101930
 
-
 
101931
      return true;
-
 
101932
    }
-
 
101933
 
-
 
101934
    @Override
-
 
101935
    public int hashCode() {
-
 
101936
      return 0;
-
 
101937
    }
-
 
101938
 
-
 
101939
    public int compareTo(updateMarketPlacePriceUpdateStatus_result other) {
-
 
101940
      if (!getClass().equals(other.getClass())) {
-
 
101941
        return getClass().getName().compareTo(other.getClass().getName());
-
 
101942
      }
-
 
101943
 
-
 
101944
      int lastComparison = 0;
-
 
101945
      updateMarketPlacePriceUpdateStatus_result typedOther = (updateMarketPlacePriceUpdateStatus_result)other;
-
 
101946
 
-
 
101947
      return 0;
-
 
101948
    }
-
 
101949
 
-
 
101950
    public _Fields fieldForId(int fieldId) {
-
 
101951
      return _Fields.findByThriftId(fieldId);
-
 
101952
    }
-
 
101953
 
-
 
101954
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
101955
      org.apache.thrift.protocol.TField field;
-
 
101956
      iprot.readStructBegin();
-
 
101957
      while (true)
-
 
101958
      {
-
 
101959
        field = iprot.readFieldBegin();
-
 
101960
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
101961
          break;
-
 
101962
        }
-
 
101963
        switch (field.id) {
-
 
101964
          default:
-
 
101965
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
101966
        }
-
 
101967
        iprot.readFieldEnd();
-
 
101968
      }
-
 
101969
      iprot.readStructEnd();
-
 
101970
      validate();
-
 
101971
    }
-
 
101972
 
-
 
101973
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
101974
      oprot.writeStructBegin(STRUCT_DESC);
-
 
101975
 
-
 
101976
      oprot.writeFieldStop();
-
 
101977
      oprot.writeStructEnd();
-
 
101978
    }
-
 
101979
 
-
 
101980
    @Override
-
 
101981
    public String toString() {
-
 
101982
      StringBuilder sb = new StringBuilder("updateMarketPlacePriceUpdateStatus_result(");
-
 
101983
      boolean first = true;
-
 
101984
 
-
 
101985
      sb.append(")");
-
 
101986
      return sb.toString();
-
 
101987
    }
-
 
101988
 
-
 
101989
    public void validate() throws org.apache.thrift.TException {
100594
      // check for required fields
101990
      // check for required fields
100595
    }
101991
    }
100596
 
101992
 
100597
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
101993
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
100598
      try {
101994
      try {